content
stringlengths 1
1.04M
| input_ids
sequencelengths 1
774k
| ratio_char_token
float64 0.38
22.9
| token_count
int64 1
774k
|
---|---|---|---|
#!/usr/bin/env python
import numpy as np
import matplotlib.pyplot as plt
data = np.genfromtxt('example-log.csv', delimiter = ',', skip_header = 4, names = ['t', 'T'])
plt.plot(data['t'] / 1e3, data['T'])
plt.ylabel('T/°C')
plt.xlabel('t/s')
plt.show()
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
198,
7890,
796,
45941,
13,
5235,
6738,
14116,
10786,
20688,
12,
6404,
13,
40664,
3256,
46728,
2676,
796,
46083,
3256,
14267,
62,
25677,
796,
604,
11,
3891,
796,
37250,
83,
3256,
705,
51,
6,
12962,
198,
198,
489,
83,
13,
29487,
7,
7890,
17816,
83,
20520,
1220,
352,
68,
18,
11,
1366,
17816,
51,
6,
12962,
198,
489,
83,
13,
2645,
9608,
10786,
51,
14,
7200,
34,
11537,
198,
489,
83,
13,
87,
18242,
10786,
83,
14,
82,
11537,
198,
489,
83,
13,
12860,
3419,
198
] | 2.256637 | 113 |
from collections import defaultdict
from pycoingecko import CoinGeckoAPI
from net_worth_tracker.utils import euro_per_dollar
| [
6738,
17268,
1330,
4277,
11600,
198,
198,
6738,
12972,
1073,
11912,
37549,
1330,
16312,
10082,
37549,
17614,
198,
198,
6738,
2010,
62,
9268,
62,
2213,
10735,
13,
26791,
1330,
11063,
62,
525,
62,
22569,
628,
628
] | 3.611111 | 36 |
from __future__ import absolute_import
from __future__ import print_function
import argparse
import os
import sys
from mimic3benchmark.subject import read_stays, read_diagnoses, read_events, get_events_for_stay, add_hours_elpased_to_events
from mimic3benchmark.subject import convert_events_to_timeseries, get_first_valid_from_timeseries
from mimic3benchmark.preprocessing import read_itemid_to_variable_map, map_itemids_to_variables, read_variable_ranges, clean_events
from mimic3benchmark.preprocessing import transform_gender, transform_ethnicity, assemble_episodic_data
parser = argparse.ArgumentParser(description='Extract episodes from per-subject data.')
parser.add_argument('subjects_root_path', type=str, help='Directory containing subject sub-directories.')
parser.add_argument('--variable_map_file', type=str,
default=os.path.join(os.path.dirname(__file__), '../resources/itemid_to_variable_map.csv'),
help='CSV containing ITEMID-to-VARIABLE map.')
parser.add_argument('--reference_range_file', type=str,
default=os.path.join(os.path.dirname(__file__), '../resources/variable_ranges.csv'),
help='CSV containing reference ranges for VARIABLEs.')
parser.add_argument('--verbose', '-v', type=int, help='Level of verbosity in output.', default=1)
args, _ = parser.parse_known_args()
var_map = read_itemid_to_variable_map(args.variable_map_file)
variables = var_map.VARIABLE.unique()
for subject_dir in os.listdir(args.subjects_root_path):
dn = os.path.join(args.subjects_root_path, subject_dir)
try:
subject_id = int(subject_dir)
if not os.path.isdir(dn):
raise Exception
except:
continue
sys.stdout.write('Subject {}: '.format(subject_id))
sys.stdout.flush()
try:
sys.stdout.write('reading...')
sys.stdout.flush()
stays = read_stays(os.path.join(args.subjects_root_path, subject_dir))
diagnoses = read_diagnoses(os.path.join(args.subjects_root_path, subject_dir))
events = read_events(os.path.join(args.subjects_root_path, subject_dir))
except:
sys.stdout.write('error reading from disk!\n')
continue
else:
sys.stdout.write('got {0} stays, {1} diagnoses, {2} events...'.format(stays.shape[0], diagnoses.shape[0], events.shape[0]))
sys.stdout.flush()
episodic_data = assemble_episodic_data(stays, diagnoses)
sys.stdout.write('cleaning and converting to time series...')
sys.stdout.flush()
events = map_itemids_to_variables(events, var_map)
events = clean_events(events)
if events.shape[0] == 0:
sys.stdout.write('no valid events!\n')
continue
timeseries = convert_events_to_timeseries(events, variables=variables)
sys.stdout.write('extracting separate episodes...')
sys.stdout.flush()
for i in range(stays.shape[0]):
stay_id = stays.ICUSTAY_ID.iloc[i]
sys.stdout.write(' {}'.format(stay_id))
sys.stdout.flush()
intime = stays.INTIME.iloc[i]
outtime = stays.OUTTIME.iloc[i]
episode = get_events_for_stay(timeseries, stay_id, intime, outtime)
if episode.shape[0] == 0:
sys.stdout.write(' (no data!)')
sys.stdout.flush()
continue
episode = add_hours_elpased_to_events(episode, intime).set_index('HOURS').sort_index(axis=0)
episodic_data.Weight.loc[stay_id] = get_first_valid_from_timeseries(episode, 'Weight')
episodic_data.Height.loc[stay_id] = get_first_valid_from_timeseries(episode, 'Height')
episodic_data.loc[episodic_data.index==stay_id].to_csv(os.path.join(args.subjects_root_path, subject_dir, 'episode{}.csv'.format(i+1)), index_label='Icustay')
columns = list(episode.columns)
columns_sorted = sorted(columns, key=(lambda x: "" if x == "Hours" else x))
episode = episode[columns_sorted]
episode.to_csv(os.path.join(args.subjects_root_path, subject_dir, 'episode{}_timeseries.csv'.format(i+1)), index_label='Hours')
sys.stdout.write(' DONE!\n')
| [
6738,
11593,
37443,
834,
1330,
4112,
62,
11748,
198,
6738,
11593,
37443,
834,
1330,
3601,
62,
8818,
198,
198,
11748,
1822,
29572,
198,
198,
11748,
28686,
198,
11748,
25064,
198,
198,
6738,
26332,
18,
26968,
4102,
13,
32796,
1330,
1100,
62,
301,
592,
11,
1100,
62,
47356,
4629,
11,
1100,
62,
31534,
11,
651,
62,
31534,
62,
1640,
62,
31712,
11,
751,
62,
24425,
62,
417,
79,
839,
62,
1462,
62,
31534,
198,
6738,
26332,
18,
26968,
4102,
13,
32796,
1330,
10385,
62,
31534,
62,
1462,
62,
22355,
10640,
11,
651,
62,
11085,
62,
12102,
62,
6738,
62,
22355,
10640,
198,
6738,
26332,
18,
26968,
4102,
13,
3866,
36948,
1330,
1100,
62,
9186,
312,
62,
1462,
62,
45286,
62,
8899,
11,
3975,
62,
9186,
2340,
62,
1462,
62,
25641,
2977,
11,
1100,
62,
45286,
62,
81,
6231,
11,
3424,
62,
31534,
198,
6738,
26332,
18,
26968,
4102,
13,
3866,
36948,
1330,
6121,
62,
8388,
11,
6121,
62,
38546,
414,
11,
25432,
62,
538,
271,
29512,
62,
7890,
628,
198,
48610,
796,
1822,
29572,
13,
28100,
1713,
46677,
7,
11213,
11639,
11627,
974,
8640,
422,
583,
12,
32796,
1366,
2637,
8,
198,
48610,
13,
2860,
62,
49140,
10786,
32796,
82,
62,
15763,
62,
6978,
3256,
2099,
28,
2536,
11,
1037,
11639,
43055,
7268,
2426,
850,
12,
12942,
1749,
2637,
8,
198,
48610,
13,
2860,
62,
49140,
10786,
438,
45286,
62,
8899,
62,
7753,
3256,
2099,
28,
2536,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4277,
28,
418,
13,
6978,
13,
22179,
7,
418,
13,
6978,
13,
15908,
3672,
7,
834,
7753,
834,
828,
705,
40720,
37540,
14,
9186,
312,
62,
1462,
62,
45286,
62,
8899,
13,
40664,
33809,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
11639,
7902,
53,
7268,
7283,
3620,
2389,
12,
1462,
12,
53,
1503,
3539,
19146,
3975,
2637,
8,
198,
48610,
13,
2860,
62,
49140,
10786,
438,
35790,
62,
9521,
62,
7753,
3256,
2099,
28,
2536,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4277,
28,
418,
13,
6978,
13,
22179,
7,
418,
13,
6978,
13,
15908,
3672,
7,
834,
7753,
834,
828,
705,
40720,
37540,
14,
45286,
62,
81,
6231,
13,
40664,
33809,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
11639,
7902,
53,
7268,
4941,
16069,
329,
569,
1503,
3539,
19146,
82,
2637,
8,
198,
48610,
13,
2860,
62,
49140,
10786,
438,
19011,
577,
3256,
705,
12,
85,
3256,
2099,
28,
600,
11,
1037,
11639,
4971,
286,
15942,
16579,
287,
5072,
2637,
11,
4277,
28,
16,
8,
198,
22046,
11,
4808,
796,
30751,
13,
29572,
62,
4002,
62,
22046,
3419,
198,
198,
7785,
62,
8899,
796,
1100,
62,
9186,
312,
62,
1462,
62,
45286,
62,
8899,
7,
22046,
13,
45286,
62,
8899,
62,
7753,
8,
198,
25641,
2977,
796,
1401,
62,
8899,
13,
53,
1503,
3539,
19146,
13,
34642,
3419,
198,
198,
1640,
2426,
62,
15908,
287,
28686,
13,
4868,
15908,
7,
22046,
13,
32796,
82,
62,
15763,
62,
6978,
2599,
198,
220,
220,
220,
288,
77,
796,
28686,
13,
6978,
13,
22179,
7,
22046,
13,
32796,
82,
62,
15763,
62,
6978,
11,
2426,
62,
15908,
8,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2426,
62,
312,
796,
493,
7,
32796,
62,
15908,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
28686,
13,
6978,
13,
9409,
343,
7,
32656,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
35528,
198,
220,
220,
220,
2845,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
25064,
13,
19282,
448,
13,
13564,
10786,
19776,
23884,
25,
45302,
18982,
7,
32796,
62,
312,
4008,
198,
220,
220,
220,
25064,
13,
19282,
448,
13,
25925,
3419,
628,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
19282,
448,
13,
13564,
10786,
25782,
986,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
19282,
448,
13,
25925,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
14768,
796,
1100,
62,
301,
592,
7,
418,
13,
6978,
13,
22179,
7,
22046,
13,
32796,
82,
62,
15763,
62,
6978,
11,
2426,
62,
15908,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
40567,
796,
1100,
62,
47356,
4629,
7,
418,
13,
6978,
13,
22179,
7,
22046,
13,
32796,
82,
62,
15763,
62,
6978,
11,
2426,
62,
15908,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2995,
796,
1100,
62,
31534,
7,
418,
13,
6978,
13,
22179,
7,
22046,
13,
32796,
82,
62,
15763,
62,
6978,
11,
2426,
62,
15908,
4008,
198,
220,
220,
220,
2845,
25,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
19282,
448,
13,
13564,
10786,
18224,
3555,
422,
11898,
0,
59,
77,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
19282,
448,
13,
13564,
10786,
23442,
1391,
15,
92,
14768,
11,
1391,
16,
92,
40567,
11,
1391,
17,
92,
2995,
986,
4458,
18982,
7,
301,
592,
13,
43358,
58,
15,
4357,
40567,
13,
43358,
58,
15,
4357,
2995,
13,
43358,
58,
15,
60,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
19282,
448,
13,
25925,
3419,
628,
220,
220,
220,
48177,
29512,
62,
7890,
796,
25432,
62,
538,
271,
29512,
62,
7890,
7,
301,
592,
11,
40567,
8,
628,
220,
220,
220,
25064,
13,
19282,
448,
13,
13564,
10786,
2375,
7574,
290,
23202,
284,
640,
2168,
986,
11537,
198,
220,
220,
220,
25064,
13,
19282,
448,
13,
25925,
3419,
198,
220,
220,
220,
2995,
796,
3975,
62,
9186,
2340,
62,
1462,
62,
25641,
2977,
7,
31534,
11,
1401,
62,
8899,
8,
198,
220,
220,
220,
2995,
796,
3424,
62,
31534,
7,
31534,
8,
198,
220,
220,
220,
611,
2995,
13,
43358,
58,
15,
60,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
19282,
448,
13,
13564,
10786,
3919,
4938,
2995,
0,
59,
77,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
1661,
10640,
796,
10385,
62,
31534,
62,
1462,
62,
22355,
10640,
7,
31534,
11,
9633,
28,
25641,
2977,
8,
628,
220,
220,
220,
25064,
13,
19282,
448,
13,
13564,
10786,
2302,
974,
278,
4553,
8640,
986,
11537,
198,
220,
220,
220,
25064,
13,
19282,
448,
13,
25925,
3419,
628,
220,
220,
220,
329,
1312,
287,
2837,
7,
301,
592,
13,
43358,
58,
15,
60,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
2652,
62,
312,
796,
14768,
13,
2149,
7759,
4792,
62,
2389,
13,
346,
420,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
19282,
448,
13,
13564,
10786,
23884,
4458,
18982,
7,
31712,
62,
312,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
19282,
448,
13,
25925,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
493,
524,
796,
14768,
13,
12394,
12789,
13,
346,
420,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
503,
2435,
796,
14768,
13,
12425,
34694,
13,
346,
420,
58,
72,
60,
628,
220,
220,
220,
220,
220,
220,
220,
4471,
796,
651,
62,
31534,
62,
1640,
62,
31712,
7,
22355,
10640,
11,
2652,
62,
312,
11,
493,
524,
11,
503,
2435,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
4471,
13,
43358,
58,
15,
60,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
19282,
448,
13,
13564,
10786,
357,
3919,
1366,
8133,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
19282,
448,
13,
25925,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
628,
220,
220,
220,
220,
220,
220,
220,
4471,
796,
751,
62,
24425,
62,
417,
79,
839,
62,
1462,
62,
31534,
7,
38668,
11,
493,
524,
737,
2617,
62,
9630,
10786,
46685,
6998,
27691,
30619,
62,
9630,
7,
22704,
28,
15,
8,
198,
220,
220,
220,
220,
220,
220,
220,
48177,
29512,
62,
7890,
13,
25844,
13,
17946,
58,
31712,
62,
312,
60,
796,
651,
62,
11085,
62,
12102,
62,
6738,
62,
22355,
10640,
7,
38668,
11,
705,
25844,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
48177,
29512,
62,
7890,
13,
23106,
13,
17946,
58,
31712,
62,
312,
60,
796,
651,
62,
11085,
62,
12102,
62,
6738,
62,
22355,
10640,
7,
38668,
11,
705,
23106,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
48177,
29512,
62,
7890,
13,
17946,
58,
538,
271,
29512,
62,
7890,
13,
9630,
855,
31712,
62,
312,
4083,
1462,
62,
40664,
7,
418,
13,
6978,
13,
22179,
7,
22046,
13,
32796,
82,
62,
15763,
62,
6978,
11,
2426,
62,
15908,
11,
705,
38668,
90,
27422,
40664,
4458,
18982,
7,
72,
10,
16,
36911,
6376,
62,
18242,
11639,
40,
66,
436,
323,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
15180,
796,
1351,
7,
38668,
13,
28665,
82,
8,
198,
220,
220,
220,
220,
220,
220,
220,
15180,
62,
82,
9741,
796,
23243,
7,
28665,
82,
11,
1994,
16193,
50033,
2124,
25,
13538,
611,
2124,
6624,
366,
39792,
1,
2073,
2124,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
4471,
796,
4471,
58,
28665,
82,
62,
82,
9741,
60,
198,
220,
220,
220,
220,
220,
220,
220,
4471,
13,
1462,
62,
40664,
7,
418,
13,
6978,
13,
22179,
7,
22046,
13,
32796,
82,
62,
15763,
62,
6978,
11,
2426,
62,
15908,
11,
705,
38668,
90,
92,
62,
22355,
10640,
13,
40664,
4458,
18982,
7,
72,
10,
16,
36911,
6376,
62,
18242,
11639,
39792,
11537,
198,
220,
220,
220,
25064,
13,
19282,
448,
13,
13564,
10786,
360,
11651,
0,
59,
77,
11537,
198
] | 2.470836 | 1,663 |
""" Main module to start the catsleep tool """
import os
import sys
from catsleep.cat import catsleep as ct
def start_catsleep():
""" Starting point of catsleep """
catsp = ct.CatSleep()
catsp.catsleep_control()
if __name__ == '__main__':
start_catsleep()
| [
37811,
8774,
8265,
284,
923,
262,
11875,
8892,
2891,
37227,
198,
198,
11748,
28686,
198,
11748,
25064,
198,
198,
6738,
11875,
8892,
13,
9246,
1330,
11875,
8892,
355,
269,
83,
198,
198,
4299,
923,
62,
24619,
8892,
33529,
198,
220,
220,
220,
37227,
17962,
966,
286,
11875,
8892,
37227,
628,
220,
220,
220,
11875,
79,
796,
269,
83,
13,
21979,
40555,
3419,
198,
220,
220,
220,
11875,
79,
13,
24619,
8892,
62,
13716,
3419,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
923,
62,
24619,
8892,
3419,
198
] | 2.895833 | 96 |
###################################################################
# Copyright (c) 2016 by TAOS Technologies, Inc.
# All rights reserved.
#
# This file is proprietary and confidential to TAOS Technologies.
# No part of this file may be reproduced, stored, transmitted,
# disclosed or used in any form or by any means other than as
# expressly provided by the written permission from Jianhui Tao
#
###################################################################
# -*- coding: utf-8 -*-
import sys
import os
import time
import datetime
import inspect
import psutil
import shutil
import pandas as pd
from util.log import *
tdSql = TDSql() | [
171,
119,
123,
29113,
29113,
21017,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15069,
357,
66,
8,
1584,
416,
21664,
2640,
21852,
11,
3457,
13,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1439,
2489,
10395,
13,
198,
2,
198,
2,
220,
770,
2393,
318,
20622,
290,
15279,
284,
21664,
2640,
21852,
13,
198,
2,
220,
1400,
636,
286,
428,
2393,
743,
307,
31759,
11,
8574,
11,
18307,
11,
198,
2,
220,
16404,
393,
973,
287,
597,
1296,
393,
416,
597,
1724,
584,
621,
355,
198,
2,
220,
27462,
2810,
416,
262,
3194,
7170,
422,
40922,
71,
9019,
32120,
198,
2,
198,
29113,
29113,
21017,
198,
198,
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
198,
11748,
25064,
198,
11748,
28686,
198,
11748,
640,
198,
11748,
4818,
8079,
198,
11748,
10104,
198,
11748,
26692,
22602,
198,
11748,
4423,
346,
198,
11748,
19798,
292,
355,
279,
67,
198,
6738,
7736,
13,
6404,
1330,
1635,
198,
198,
8671,
50,
13976,
796,
309,
5258,
13976,
3419
] | 3.606383 | 188 |
# Generated by Django 2.2.4 on 2020-04-04 15:19
from django.db import migrations, models
import django.db.models.deletion
| [
2,
2980,
515,
416,
37770,
362,
13,
17,
13,
19,
319,
12131,
12,
3023,
12,
3023,
1315,
25,
1129,
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.818182 | 44 |
from __future__ import unicode_literals
import nose
from django.core.files.uploadedfile import SimpleUploadedFile
from kgb import SpyAgency
from reviewboard.admin.import_utils import has_module
from reviewboard.diffviewer.diffutils import (get_original_file,
get_patched_file,
patch)
from reviewboard.diffviewer.forms import UploadDiffForm
from reviewboard.scmtools.models import Repository, Tool
from reviewboard.testing import TestCase
class UploadDiffFormTests(SpyAgency, TestCase):
"""Unit tests for UploadDiffForm."""
fixtures = ['test_scmtools']
def test_create(self):
"""Testing UploadDiffForm.create"""
diff_file = SimpleUploadedFile('diff', self.DEFAULT_GIT_FILEDIFF_DATA,
content_type='text/x-patch')
repository = self.create_repository(tool_name='Test')
self.spy_on(repository.get_file_exists,
call_fake=lambda *args, **kwargs: True)
form = UploadDiffForm(
repository=repository,
data={
'basedir': '/',
'base_commit_id': '1234',
},
files={
'path': diff_file,
})
self.assertTrue(form.is_valid())
diffset = form.create(diff_file)
self.assertEqual(diffset.files.count(), 1)
self.assertEqual(diffset.basedir, '/')
self.assertEqual(diffset.base_commit_id, '1234')
def test_create_filters_parent_diffs(self):
"""Testing UploadDiffForm.create filters parent diff files"""
saw_file_exists = {}
parent_diff_1 = (
b'diff --git a/README b/README\n'
b'index d6613f4..5b50865 100644\n'
b'--- README\n'
b'+++ README\n'
b'@@ -2 +2 @@\n'
b'-blah..\n'
b'+blah blah\n'
)
parent_diff_2 = (
b'diff --git a/UNUSED b/UNUSED\n'
b'index 1234567..5b50866 100644\n'
b'--- UNUSED\n'
b'+++ UNUSED\n'
b'@@ -1,1 +1,1 @@\n'
b'-foo\n'
b'+bar\n'
)
parent_diff = parent_diff_1 + parent_diff_2
diff_file = SimpleUploadedFile('diff', self.DEFAULT_GIT_FILEDIFF_DATA,
content_type='text/x-patch')
parent_diff_file = SimpleUploadedFile('parent_diff', parent_diff,
content_type='text/x-patch')
repository = self.create_repository(tool_name='Test')
self.spy_on(repository.get_file_exists, call_fake=get_file_exists)
form = UploadDiffForm(
repository=repository,
data={
'basedir': '/',
},
files={
'path': diff_file,
'parent_diff_path': parent_diff_file,
})
self.assertTrue(form.is_valid())
diffset = form.create(diff_file, parent_diff_file)
self.assertEqual(diffset.files.count(), 1)
filediff = diffset.files.get()
self.assertEqual(filediff.diff, self.DEFAULT_GIT_FILEDIFF_DATA)
self.assertEqual(filediff.parent_diff, parent_diff_1)
self.assertIn(('/README', 'd6613f4'), saw_file_exists)
self.assertNotIn(('/UNUSED', '1234567'), saw_file_exists)
self.assertEqual(len(saw_file_exists), 1)
def test_create_with_parser_get_orig_commit_id(self):
"""Testing UploadDiffForm.create uses correct base revision returned
by DiffParser.get_orig_commit_id
"""
diff = (
b'# Node ID a6fc203fee9091ff9739c9c00cd4a6694e023f48\n'
b'# Parent 7c4735ef51a7c665b5654f1a111ae430ce84ebbd\n'
b'diff --git a/doc/readme b/doc/readme\n'
b'--- a/doc/readme\n'
b'+++ b/doc/readme\n'
b'@@ -1,3 +1,3 @@\n'
b' Hello\n'
b'-\n'
b'+...\n'
b' goodbye\n'
)
parent_diff = (
b'# Node ID 7c4735ef51a7c665b5654f1a111ae430ce84ebbd\n'
b'# Parent 661e5dd3c4938ecbe8f77e2fdfa905d70485f94c\n'
b'diff --git a/doc/newfile b/doc/newfile\n'
b'new file mode 100644\n'
b'--- /dev/null\n'
b'+++ b/doc/newfile\n'
b'@@ -0,0 +1,1 @@\n'
b'+Lorem ipsum\n'
)
if not has_module('mercurial'):
raise nose.SkipTest("Hg is not installed")
diff_file = SimpleUploadedFile('diff', diff,
content_type='text/x-patch')
parent_diff_file = SimpleUploadedFile('parent_diff', parent_diff,
content_type='text/x-patch')
repository = Repository.objects.create(
name='Test HG',
path='scmtools/testdata/hg_repo',
tool=Tool.objects.get(name='Mercurial'))
form = UploadDiffForm(
repository=repository,
files={
'path': diff_file,
'parent_diff_path': parent_diff_file,
})
self.assertTrue(form.is_valid())
diffset = form.create(diff_file, parent_diff_file)
self.assertEqual(diffset.files.count(), 1)
filediff = diffset.files.get()
self.assertEqual(filediff.source_revision,
'661e5dd3c4938ecbe8f77e2fdfa905d70485f94c')
def test_create_with_parent_filediff_with_move_and_no_change(self):
"""Testing UploadDiffForm.create with a parent diff consisting only
of a move/rename without content change
"""
revisions = [
b'93e6b3e8944c48737cb11a1e52b046fa30aea7a9',
b'4839fc480f47ca59cf05a9c39410ea744d1e17a2',
]
parent_diff = SimpleUploadedFile(
'parent_diff',
(b'diff --git a/foo b/bar\n'
b'similarity index 100%%\n'
b'rename from foo\n'
b'rename to bar\n'),
content_type='text/x-patch')
diff = SimpleUploadedFile(
'diff',
(b'diff --git a/bar b/bar\n'
b'index %s..%s 100644\n'
b'--- a/bar\n'
b'+++ b/bar\n'
b'@@ -1,2 +1,3 @@\n'
b' Foo\n'
b'+Bar\n') % (revisions[0], revisions[1]),
content_type='text/x-patch')
repository = self.create_repository(tool_name='Test')
self.spy_on(repository.get_file_exists,
call_fake=lambda *args, **kwargs: True)
# We will only be making one call to get_file and we can fake it out.
self.spy_on(repository.get_file,
call_fake=lambda *args, **kwargs: b'Foo\n')
self.spy_on(patch)
form = UploadDiffForm(
repository=repository,
data={
'basedir': '/',
},
files={
'path': diff,
'parent_diff_path': parent_diff,
})
self.assertTrue(form.is_valid())
diffset = form.create(diff, parent_diff)
self.assertEqual(diffset.files.count(), 1)
f = diffset.files.get()
self.assertEqual(f.source_revision, revisions[0])
self.assertEqual(f.dest_detail, revisions[1])
# We shouldn't call out to patch because the parent diff is just a
# rename.
original_file = get_original_file(f, None, ['ascii'])
self.assertEqual(original_file, b'Foo\n')
self.assertFalse(patch.spy.called)
patched_file = get_patched_file(original_file, f, None)
self.assertEqual(patched_file, b'Foo\nBar\n')
self.assertTrue(patch.spy.called)
def test_create_with_parent_filediff_with_move_and_change(self):
"""Testing UploadDiffForm.create with a parent diff consisting of a
move/rename with content change
"""
revisions = [
b'93e6b3e8944c48737cb11a1e52b046fa30aea7a9',
b'4839fc480f47ca59cf05a9c39410ea744d1e17a2',
b'04861c126cfebd7e7cb93045ab0bff4a7acc4cf2',
]
parent_diff = SimpleUploadedFile(
'parent_diff',
(b'diff --git a/foo b/bar\n'
b'similarity index 55%%\n'
b'rename from foo\n'
b'rename to bar\n'
b'index %s..%s 100644\n'
b'--- a/foo\n'
b'+++ b/bar\n'
b'@@ -1,2 +1,3 @@\n'
b' Foo\n'
b'+Bar\n') % (revisions[0], revisions[1]),
content_type='text/x-patch')
diff = SimpleUploadedFile(
'diff',
(b'diff --git a/bar b/bar\n'
b'index %s..%s 100644\n'
b'--- a/bar\n'
b'+++ b/bar\n'
b'@@ -1,3 +1,4 @@\n'
b' Foo\n'
b' Bar\n'
b'+Baz\n') % (revisions[1], revisions[2]),
content_type='text/x-patch')
repository = self.create_repository(tool_name='Test')
self.spy_on(repository.get_file_exists,
call_fake=lambda *args, **kwargs: True)
# We will only be making one call to get_file and we can fake it out.
self.spy_on(repository.get_file,
call_fake=lambda *args, **kwargs: b'Foo\n')
self.spy_on(patch)
form = UploadDiffForm(
repository=repository,
data={
'basedir': '/',
},
files={
'path': diff,
'parent_diff_path': parent_diff,
})
self.assertTrue(form.is_valid())
diffset = form.create(diff, parent_diff)
self.assertEqual(diffset.files.count(), 1)
f = diffset.files.get()
self.assertEqual(f.source_revision, revisions[0])
self.assertEqual(f.dest_detail, revisions[2])
original_file = get_original_file(f, None, ['ascii'])
self.assertEqual(original_file, b'Foo\nBar\n')
self.assertTrue(patch.spy.called)
patched_file = get_patched_file(original_file, f, None)
self.assertEqual(patched_file, b'Foo\nBar\nBaz\n')
self.assertEqual(len(patch.spy.calls), 2)
| [
6738,
11593,
37443,
834,
1330,
28000,
1098,
62,
17201,
874,
198,
198,
11748,
9686,
198,
6738,
42625,
14208,
13,
7295,
13,
16624,
13,
25850,
276,
7753,
1330,
17427,
41592,
276,
8979,
198,
6738,
14211,
65,
1330,
23688,
32,
4949,
198,
198,
6738,
2423,
3526,
13,
28482,
13,
11748,
62,
26791,
1330,
468,
62,
21412,
198,
6738,
2423,
3526,
13,
26069,
1177,
263,
13,
26069,
26791,
1330,
357,
1136,
62,
14986,
62,
7753,
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,
651,
62,
8071,
1740,
62,
7753,
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,
8529,
8,
198,
6738,
2423,
3526,
13,
26069,
1177,
263,
13,
23914,
1330,
36803,
28813,
8479,
198,
6738,
2423,
3526,
13,
1416,
16762,
10141,
13,
27530,
1330,
1432,
13264,
11,
16984,
198,
6738,
2423,
3526,
13,
33407,
1330,
6208,
20448,
628,
198,
4871,
36803,
28813,
8479,
51,
3558,
7,
4561,
88,
32,
4949,
11,
6208,
20448,
2599,
198,
220,
220,
220,
37227,
26453,
5254,
329,
36803,
28813,
8479,
526,
15931,
628,
220,
220,
220,
34609,
796,
37250,
9288,
62,
1416,
16762,
10141,
20520,
628,
220,
220,
220,
825,
1332,
62,
17953,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
44154,
36803,
28813,
8479,
13,
17953,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
814,
62,
7753,
796,
17427,
41592,
276,
8979,
10786,
26069,
3256,
2116,
13,
7206,
38865,
62,
38,
2043,
62,
46700,
1961,
29267,
62,
26947,
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,
2695,
62,
4906,
11639,
5239,
14,
87,
12,
17147,
11537,
628,
220,
220,
220,
220,
220,
220,
220,
16099,
796,
2116,
13,
17953,
62,
260,
1930,
37765,
7,
25981,
62,
3672,
11639,
14402,
11537,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2777,
88,
62,
261,
7,
260,
1930,
37765,
13,
1136,
62,
7753,
62,
1069,
1023,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
869,
62,
30706,
28,
50033,
1635,
22046,
11,
12429,
46265,
22046,
25,
6407,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1296,
796,
36803,
28813,
8479,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16099,
28,
260,
1930,
37765,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
34758,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
3106,
343,
10354,
31051,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8692,
62,
41509,
62,
312,
10354,
705,
1065,
2682,
3256,
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,
3696,
34758,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6978,
10354,
814,
62,
7753,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
32092,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
17821,
7,
687,
13,
271,
62,
12102,
28955,
628,
220,
220,
220,
220,
220,
220,
220,
814,
2617,
796,
1296,
13,
17953,
7,
26069,
62,
7753,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
26069,
2617,
13,
16624,
13,
9127,
22784,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
26069,
2617,
13,
3106,
343,
11,
31051,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
26069,
2617,
13,
8692,
62,
41509,
62,
312,
11,
705,
1065,
2682,
11537,
628,
220,
220,
220,
825,
1332,
62,
17953,
62,
10379,
1010,
62,
8000,
62,
67,
10203,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
44154,
36803,
28813,
8479,
13,
17953,
16628,
2560,
814,
3696,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
2497,
62,
7753,
62,
1069,
1023,
796,
23884,
628,
220,
220,
220,
220,
220,
220,
220,
2560,
62,
26069,
62,
16,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
1549,
733,
1377,
18300,
257,
14,
15675,
11682,
275,
14,
15675,
11682,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
9630,
288,
2791,
1485,
69,
19,
492,
20,
65,
33042,
2996,
1802,
29173,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
6329,
20832,
11682,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
45340,
20832,
11682,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
12404,
532,
17,
1343,
17,
25248,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
29001,
2436,
993,
492,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
10,
2436,
993,
33367,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2560,
62,
26069,
62,
17,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
1549,
733,
1377,
18300,
257,
14,
4944,
2937,
1961,
275,
14,
4944,
2937,
1961,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
9630,
17031,
2231,
3134,
492,
20,
65,
33042,
2791,
1802,
29173,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
6329,
4725,
2937,
1961,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
45340,
4725,
2937,
1961,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
12404,
532,
16,
11,
16,
1343,
16,
11,
16,
25248,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
29001,
21943,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
10,
5657,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2560,
62,
26069,
796,
2560,
62,
26069,
62,
16,
1343,
2560,
62,
26069,
62,
17,
628,
220,
220,
220,
220,
220,
220,
220,
814,
62,
7753,
796,
17427,
41592,
276,
8979,
10786,
26069,
3256,
2116,
13,
7206,
38865,
62,
38,
2043,
62,
46700,
1961,
29267,
62,
26947,
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,
2695,
62,
4906,
11639,
5239,
14,
87,
12,
17147,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2560,
62,
26069,
62,
7753,
796,
17427,
41592,
276,
8979,
10786,
8000,
62,
26069,
3256,
2560,
62,
26069,
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,
2695,
62,
4906,
11639,
5239,
14,
87,
12,
17147,
11537,
628,
220,
220,
220,
220,
220,
220,
220,
16099,
796,
2116,
13,
17953,
62,
260,
1930,
37765,
7,
25981,
62,
3672,
11639,
14402,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2777,
88,
62,
261,
7,
260,
1930,
37765,
13,
1136,
62,
7753,
62,
1069,
1023,
11,
869,
62,
30706,
28,
1136,
62,
7753,
62,
1069,
1023,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1296,
796,
36803,
28813,
8479,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16099,
28,
260,
1930,
37765,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
34758,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
3106,
343,
10354,
31051,
3256,
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,
3696,
34758,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6978,
10354,
814,
62,
7753,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8000,
62,
26069,
62,
6978,
10354,
2560,
62,
26069,
62,
7753,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
32092,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
17821,
7,
687,
13,
271,
62,
12102,
28955,
628,
220,
220,
220,
220,
220,
220,
220,
814,
2617,
796,
1296,
13,
17953,
7,
26069,
62,
7753,
11,
2560,
62,
26069,
62,
7753,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
26069,
2617,
13,
16624,
13,
9127,
22784,
352,
8,
628,
220,
220,
220,
220,
220,
220,
220,
5717,
733,
796,
814,
2617,
13,
16624,
13,
1136,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
69,
3902,
733,
13,
26069,
11,
2116,
13,
7206,
38865,
62,
38,
2043,
62,
46700,
1961,
29267,
62,
26947,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
69,
3902,
733,
13,
8000,
62,
26069,
11,
2560,
62,
26069,
62,
16,
8,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
818,
7,
10786,
14,
15675,
11682,
3256,
705,
67,
2791,
1485,
69,
19,
33809,
2497,
62,
7753,
62,
1069,
1023,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
3673,
818,
7,
10786,
14,
4944,
2937,
1961,
3256,
705,
10163,
2231,
3134,
33809,
2497,
62,
7753,
62,
1069,
1023,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
11925,
7,
43439,
62,
7753,
62,
1069,
1023,
828,
352,
8,
628,
220,
220,
220,
825,
1332,
62,
17953,
62,
4480,
62,
48610,
62,
1136,
62,
11612,
62,
41509,
62,
312,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
44154,
36803,
28813,
8479,
13,
17953,
3544,
3376,
2779,
18440,
4504,
198,
220,
220,
220,
220,
220,
220,
220,
416,
10631,
46677,
13,
1136,
62,
11612,
62,
41509,
62,
312,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
814,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
2,
19081,
4522,
257,
21,
16072,
22416,
39071,
44675,
16,
487,
5607,
2670,
66,
24,
66,
405,
10210,
19,
64,
2791,
5824,
68,
45310,
69,
2780,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
2,
16774,
220,
767,
66,
2857,
2327,
891,
4349,
64,
22,
66,
36879,
65,
20,
39111,
69,
16,
64,
16243,
3609,
31794,
344,
5705,
1765,
17457,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
1549,
733,
1377,
18300,
257,
14,
15390,
14,
961,
1326,
275,
14,
15390,
14,
961,
1326,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
6329,
257,
14,
15390,
14,
961,
1326,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
45340,
275,
14,
15390,
14,
961,
1326,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
12404,
532,
16,
11,
18,
1343,
16,
11,
18,
25248,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
18435,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
29001,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
10,
986,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
24829,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
2560,
62,
26069,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
2,
19081,
4522,
767,
66,
2857,
2327,
891,
4349,
64,
22,
66,
36879,
65,
20,
39111,
69,
16,
64,
16243,
3609,
31794,
344,
5705,
1765,
17457,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
2,
16774,
220,
718,
5333,
68,
20,
1860,
18,
66,
2920,
2548,
721,
1350,
23,
69,
3324,
68,
17,
69,
7568,
64,
44928,
67,
2154,
32642,
69,
5824,
66,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
1549,
733,
1377,
18300,
257,
14,
15390,
14,
3605,
7753,
275,
14,
15390,
14,
3605,
7753,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
3605,
2393,
4235,
1802,
29173,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
6329,
1220,
7959,
14,
8423,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
45340,
275,
14,
15390,
14,
3605,
7753,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
12404,
532,
15,
11,
15,
1343,
16,
11,
16,
25248,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
10,
43,
29625,
220,
2419,
388,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
611,
407,
468,
62,
21412,
10786,
647,
22019,
498,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
9686,
13,
50232,
14402,
7203,
39,
70,
318,
407,
6589,
4943,
628,
220,
220,
220,
220,
220,
220,
220,
814,
62,
7753,
796,
17427,
41592,
276,
8979,
10786,
26069,
3256,
814,
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,
2695,
62,
4906,
11639,
5239,
14,
87,
12,
17147,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2560,
62,
26069,
62,
7753,
796,
17427,
41592,
276,
8979,
10786,
8000,
62,
26069,
3256,
2560,
62,
26069,
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,
2695,
62,
4906,
11639,
5239,
14,
87,
12,
17147,
11537,
628,
220,
220,
220,
220,
220,
220,
220,
16099,
796,
1432,
13264,
13,
48205,
13,
17953,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1438,
11639,
14402,
48698,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3108,
11639,
1416,
16762,
10141,
14,
9288,
7890,
14,
71,
70,
62,
260,
7501,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2891,
28,
25391,
13,
48205,
13,
1136,
7,
3672,
11639,
42981,
333,
498,
6,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
1296,
796,
36803,
28813,
8479,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16099,
28,
260,
1930,
37765,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3696,
34758,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6978,
10354,
814,
62,
7753,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8000,
62,
26069,
62,
6978,
10354,
2560,
62,
26069,
62,
7753,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
32092,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
17821,
7,
687,
13,
271,
62,
12102,
28955,
628,
220,
220,
220,
220,
220,
220,
220,
814,
2617,
796,
1296,
13,
17953,
7,
26069,
62,
7753,
11,
2560,
62,
26069,
62,
7753,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
26069,
2617,
13,
16624,
13,
9127,
22784,
352,
8,
628,
220,
220,
220,
220,
220,
220,
220,
5717,
733,
796,
814,
2617,
13,
16624,
13,
1136,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
69,
3902,
733,
13,
10459,
62,
260,
10178,
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,
705,
47159,
68,
20,
1860,
18,
66,
2920,
2548,
721,
1350,
23,
69,
3324,
68,
17,
69,
7568,
64,
44928,
67,
2154,
32642,
69,
5824,
66,
11537,
628,
220,
220,
220,
825,
1332,
62,
17953,
62,
4480,
62,
8000,
62,
69,
3902,
733,
62,
4480,
62,
21084,
62,
392,
62,
3919,
62,
3803,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
44154,
36803,
28813,
8479,
13,
17953,
351,
257,
2560,
814,
17747,
691,
198,
220,
220,
220,
220,
220,
220,
220,
286,
257,
1445,
14,
918,
480,
1231,
2695,
1487,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
33315,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
6052,
68,
21,
65,
18,
68,
4531,
2598,
66,
35133,
2718,
21101,
1157,
64,
16,
68,
4309,
65,
45438,
13331,
1270,
44705,
22,
64,
24,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
2780,
2670,
16072,
22148,
69,
2857,
6888,
3270,
12993,
2713,
64,
24,
66,
2670,
33289,
18213,
22,
2598,
67,
16,
68,
1558,
64,
17,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
2361,
628,
220,
220,
220,
220,
220,
220,
220,
2560,
62,
26069,
796,
17427,
41592,
276,
8979,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8000,
62,
26069,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
65,
1549,
733,
1377,
18300,
257,
14,
21943,
275,
14,
5657,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
338,
49941,
414,
6376,
1802,
16626,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
821,
3672,
422,
22944,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
821,
3672,
284,
2318,
59,
77,
33809,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2695,
62,
4906,
11639,
5239,
14,
87,
12,
17147,
11537,
628,
220,
220,
220,
220,
220,
220,
220,
814,
796,
17427,
41592,
276,
8979,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26069,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
65,
1549,
733,
1377,
18300,
257,
14,
5657,
275,
14,
5657,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
9630,
4064,
82,
492,
4,
82,
1802,
29173,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
6329,
257,
14,
5657,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
45340,
275,
14,
5657,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
12404,
532,
16,
11,
17,
1343,
16,
11,
18,
25248,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
36080,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
10,
10374,
59,
77,
11537,
4064,
357,
18218,
3279,
58,
15,
4357,
33315,
58,
16,
46570,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2695,
62,
4906,
11639,
5239,
14,
87,
12,
17147,
11537,
628,
220,
220,
220,
220,
220,
220,
220,
16099,
796,
2116,
13,
17953,
62,
260,
1930,
37765,
7,
25981,
62,
3672,
11639,
14402,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2777,
88,
62,
261,
7,
260,
1930,
37765,
13,
1136,
62,
7753,
62,
1069,
1023,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
869,
62,
30706,
28,
50033,
1635,
22046,
11,
12429,
46265,
22046,
25,
6407,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
775,
481,
691,
307,
1642,
530,
869,
284,
651,
62,
7753,
290,
356,
460,
8390,
340,
503,
13,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2777,
88,
62,
261,
7,
260,
1930,
37765,
13,
1136,
62,
7753,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
869,
62,
30706,
28,
50033,
1635,
22046,
11,
12429,
46265,
22046,
25,
275,
6,
37,
2238,
59,
77,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2777,
88,
62,
261,
7,
17147,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1296,
796,
36803,
28813,
8479,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16099,
28,
260,
1930,
37765,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
34758,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
3106,
343,
10354,
31051,
3256,
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,
3696,
34758,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6978,
10354,
814,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8000,
62,
26069,
62,
6978,
10354,
2560,
62,
26069,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
32092,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
17821,
7,
687,
13,
271,
62,
12102,
28955,
628,
220,
220,
220,
220,
220,
220,
220,
814,
2617,
796,
1296,
13,
17953,
7,
26069,
11,
2560,
62,
26069,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
26069,
2617,
13,
16624,
13,
9127,
22784,
352,
8,
628,
220,
220,
220,
220,
220,
220,
220,
277,
796,
814,
2617,
13,
16624,
13,
1136,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
69,
13,
10459,
62,
260,
10178,
11,
33315,
58,
15,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
69,
13,
16520,
62,
49170,
11,
33315,
58,
16,
12962,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
775,
6584,
470,
869,
503,
284,
8529,
780,
262,
2560,
814,
318,
655,
257,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
36265,
13,
198,
220,
220,
220,
220,
220,
220,
220,
2656,
62,
7753,
796,
651,
62,
14986,
62,
7753,
7,
69,
11,
6045,
11,
37250,
292,
979,
72,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
14986,
62,
7753,
11,
275,
6,
37,
2238,
59,
77,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
25101,
7,
17147,
13,
2777,
88,
13,
7174,
8,
628,
220,
220,
220,
220,
220,
220,
220,
39378,
62,
7753,
796,
651,
62,
8071,
1740,
62,
7753,
7,
14986,
62,
7753,
11,
277,
11,
6045,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
8071,
1740,
62,
7753,
11,
275,
6,
37,
2238,
59,
77,
10374,
59,
77,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
17821,
7,
17147,
13,
2777,
88,
13,
7174,
8,
628,
220,
220,
220,
825,
1332,
62,
17953,
62,
4480,
62,
8000,
62,
69,
3902,
733,
62,
4480,
62,
21084,
62,
392,
62,
3803,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
44154,
36803,
28813,
8479,
13,
17953,
351,
257,
2560,
814,
17747,
286,
257,
198,
220,
220,
220,
220,
220,
220,
220,
1445,
14,
918,
480,
351,
2695,
1487,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
33315,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
6052,
68,
21,
65,
18,
68,
4531,
2598,
66,
35133,
2718,
21101,
1157,
64,
16,
68,
4309,
65,
45438,
13331,
1270,
44705,
22,
64,
24,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
2780,
2670,
16072,
22148,
69,
2857,
6888,
3270,
12993,
2713,
64,
24,
66,
2670,
33289,
18213,
22,
2598,
67,
16,
68,
1558,
64,
17,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
47202,
5333,
66,
19420,
12993,
1765,
67,
22,
68,
22,
21101,
45418,
2231,
397,
15,
65,
487,
19,
64,
22,
4134,
19,
12993,
17,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
2361,
628,
220,
220,
220,
220,
220,
220,
220,
2560,
62,
26069,
796,
17427,
41592,
276,
8979,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8000,
62,
26069,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
65,
1549,
733,
1377,
18300,
257,
14,
21943,
275,
14,
5657,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
338,
49941,
414,
6376,
5996,
16626,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
821,
3672,
422,
22944,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
821,
3672,
284,
2318,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
9630,
4064,
82,
492,
4,
82,
1802,
29173,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
6329,
257,
14,
21943,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
45340,
275,
14,
5657,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
12404,
532,
16,
11,
17,
1343,
16,
11,
18,
25248,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
36080,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
10,
10374,
59,
77,
11537,
4064,
357,
18218,
3279,
58,
15,
4357,
33315,
58,
16,
46570,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2695,
62,
4906,
11639,
5239,
14,
87,
12,
17147,
11537,
628,
220,
220,
220,
220,
220,
220,
220,
814,
796,
17427,
41592,
276,
8979,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26069,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
65,
1549,
733,
1377,
18300,
257,
14,
5657,
275,
14,
5657,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
9630,
4064,
82,
492,
4,
82,
1802,
29173,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
6329,
257,
14,
5657,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
45340,
275,
14,
5657,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
12404,
532,
16,
11,
18,
1343,
16,
11,
19,
25248,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
36080,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
2409,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
6,
10,
33,
1031,
59,
77,
11537,
4064,
357,
18218,
3279,
58,
16,
4357,
33315,
58,
17,
46570,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2695,
62,
4906,
11639,
5239,
14,
87,
12,
17147,
11537,
628,
220,
220,
220,
220,
220,
220,
220,
16099,
796,
2116,
13,
17953,
62,
260,
1930,
37765,
7,
25981,
62,
3672,
11639,
14402,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2777,
88,
62,
261,
7,
260,
1930,
37765,
13,
1136,
62,
7753,
62,
1069,
1023,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
869,
62,
30706,
28,
50033,
1635,
22046,
11,
12429,
46265,
22046,
25,
6407,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
775,
481,
691,
307,
1642,
530,
869,
284,
651,
62,
7753,
290,
356,
460,
8390,
340,
503,
13,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2777,
88,
62,
261,
7,
260,
1930,
37765,
13,
1136,
62,
7753,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
869,
62,
30706,
28,
50033,
1635,
22046,
11,
12429,
46265,
22046,
25,
275,
6,
37,
2238,
59,
77,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2777,
88,
62,
261,
7,
17147,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1296,
796,
36803,
28813,
8479,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16099,
28,
260,
1930,
37765,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
34758,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
3106,
343,
10354,
31051,
3256,
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,
3696,
34758,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6978,
10354,
814,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8000,
62,
26069,
62,
6978,
10354,
2560,
62,
26069,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
32092,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
17821,
7,
687,
13,
271,
62,
12102,
28955,
628,
220,
220,
220,
220,
220,
220,
220,
814,
2617,
796,
1296,
13,
17953,
7,
26069,
11,
2560,
62,
26069,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
26069,
2617,
13,
16624,
13,
9127,
22784,
352,
8,
628,
220,
220,
220,
220,
220,
220,
220,
277,
796,
814,
2617,
13,
16624,
13,
1136,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
69,
13,
10459,
62,
260,
10178,
11,
33315,
58,
15,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
69,
13,
16520,
62,
49170,
11,
33315,
58,
17,
12962,
628,
220,
220,
220,
220,
220,
220,
220,
2656,
62,
7753,
796,
651,
62,
14986,
62,
7753,
7,
69,
11,
6045,
11,
37250,
292,
979,
72,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
14986,
62,
7753,
11,
275,
6,
37,
2238,
59,
77,
10374,
59,
77,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
17821,
7,
17147,
13,
2777,
88,
13,
7174,
8,
628,
220,
220,
220,
220,
220,
220,
220,
39378,
62,
7753,
796,
651,
62,
8071,
1740,
62,
7753,
7,
14986,
62,
7753,
11,
277,
11,
6045,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
8071,
1740,
62,
7753,
11,
275,
6,
37,
2238,
59,
77,
10374,
59,
77,
33,
1031,
59,
77,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
30493,
36,
13255,
7,
11925,
7,
17147,
13,
2777,
88,
13,
66,
5691,
828,
362,
8,
198
] | 1.846278 | 5,562 |
from django.contrib.auth.models import Permission
from graphene import ID, ClientIDMutation, Field, ResolveInfo, String
from graphql import GraphQLError
from graphql_jwt.decorators import login_required, permission_required, staff_member_required
from graphql_relay import from_global_id
from .models import Article, Publication, Reporter
from .types import ArticleNode, PublicationNode, ReporterNode
# Reporter
# ^^^^^^^^
class UpdateReporter(ClientIDMutation):
"""
A reporter can only update his/her own details if he/she has `Can change reporter` permission
"""
reporter = Field(ReporterNode)
@classmethod
@permission_required('starter.change_reporter')
# Publication
# ^^^^^^^^^^^
# Article
# ^^^^^^^
| [
6738,
42625,
14208,
13,
3642,
822,
13,
18439,
13,
27530,
1330,
2448,
3411,
198,
6738,
42463,
1330,
4522,
11,
20985,
2389,
44,
7094,
11,
7663,
11,
1874,
6442,
12360,
11,
10903,
198,
6738,
4823,
13976,
1330,
29681,
48,
2538,
81,
1472,
198,
6738,
4823,
13976,
62,
73,
46569,
13,
12501,
273,
2024,
1330,
17594,
62,
35827,
11,
7170,
62,
35827,
11,
3085,
62,
19522,
62,
35827,
198,
6738,
4823,
13976,
62,
2411,
323,
1330,
422,
62,
20541,
62,
312,
198,
198,
6738,
764,
27530,
1330,
10172,
11,
45065,
11,
25869,
198,
6738,
764,
19199,
1330,
10172,
19667,
11,
45065,
19667,
11,
25869,
19667,
628,
198,
2,
25869,
198,
2,
10563,
39397,
18237,
61,
628,
198,
4871,
10133,
6207,
4337,
7,
11792,
2389,
44,
7094,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
317,
9095,
460,
691,
4296,
465,
14,
372,
898,
3307,
611,
339,
14,
7091,
468,
4600,
6090,
1487,
9095,
63,
7170,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
9095,
796,
7663,
7,
6207,
4337,
19667,
8,
628,
220,
220,
220,
2488,
4871,
24396,
198,
220,
220,
220,
2488,
525,
3411,
62,
35827,
10786,
12339,
13,
3803,
62,
260,
26634,
11537,
628,
198,
198,
2,
45065,
198,
2,
10563,
39397,
39397,
18237,
628,
628,
198,
2,
10172,
198,
2,
10563,
39397,
18237,
628,
198
] | 3.39726 | 219 |
import unittest
from TestUtils import TestChecker
from AST import *
from StaticError import *
| [
11748,
555,
715,
395,
198,
6738,
6208,
18274,
4487,
1330,
6208,
9787,
263,
198,
6738,
29273,
1330,
1635,
198,
6738,
36125,
12331,
1330,
1635,
628,
628,
198
] | 3.62963 | 27 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Implements grpc modules"""
import time
import grpc
import service.service_pb2 as bot_pb
from service import service_pb2_grpc
from EshebaBot.esheba import EshebaBot
from concurrent.futures import ThreadPoolExecutor
# end class
def run_server():
'''Runs the grpc server'''
port = '5000'
server = grpc.server(ThreadPoolExecutor(max_workers=10))
service_pb2_grpc.add_BotServiceServicer_to_server(BotService(), server)
server.add_insecure_port('[::]:' + port)
server.start()
print('Server running at http://localhost:%s' % port)
while True:
time.sleep(100)
# end white
input('Press enter to stop the server...')
server.stop(True)
# end def
if __name__ == '__main__':
run_server()
# end if
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
37811,
3546,
1154,
902,
1036,
14751,
13103,
37811,
198,
11748,
640,
198,
11748,
1036,
14751,
198,
11748,
2139,
13,
15271,
62,
40842,
17,
355,
10214,
62,
40842,
198,
6738,
2139,
1330,
2139,
62,
40842,
17,
62,
2164,
14751,
198,
6738,
412,
7091,
7012,
20630,
13,
274,
258,
7012,
1330,
412,
7091,
7012,
20630,
198,
6738,
24580,
13,
69,
315,
942,
1330,
14122,
27201,
23002,
38409,
198,
2,
886,
1398,
628,
198,
4299,
1057,
62,
15388,
33529,
198,
220,
220,
220,
705,
7061,
10987,
82,
262,
1036,
14751,
4382,
7061,
6,
198,
220,
220,
220,
2493,
796,
705,
27641,
6,
198,
220,
220,
220,
4382,
796,
1036,
14751,
13,
15388,
7,
16818,
27201,
23002,
38409,
7,
9806,
62,
22896,
28,
940,
4008,
198,
220,
220,
220,
2139,
62,
40842,
17,
62,
2164,
14751,
13,
2860,
62,
20630,
16177,
11838,
16647,
62,
1462,
62,
15388,
7,
20630,
16177,
22784,
4382,
8,
198,
220,
220,
220,
4382,
13,
2860,
62,
259,
22390,
62,
634,
10786,
58,
3712,
5974,
6,
1343,
2493,
8,
198,
220,
220,
220,
4382,
13,
9688,
3419,
198,
220,
220,
220,
3601,
10786,
10697,
2491,
379,
2638,
1378,
36750,
25,
4,
82,
6,
4064,
2493,
8,
198,
220,
220,
220,
981,
6407,
25,
198,
220,
220,
220,
220,
220,
220,
220,
640,
13,
42832,
7,
3064,
8,
198,
220,
220,
220,
1303,
886,
2330,
198,
220,
220,
220,
5128,
10786,
13800,
3802,
284,
2245,
262,
4382,
986,
11537,
198,
220,
220,
220,
4382,
13,
11338,
7,
17821,
8,
198,
2,
886,
825,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
1057,
62,
15388,
3419,
198,
2,
886,
611,
198
] | 2.64 | 300 |
#!/usr/bin/env python
"""
date2dec : Converts calendar dates into decimal dates.
This module was written by Arndt Piayda and then enhanced and
maintained by Matthias Cuntz while at Department of Computational
Hydrosystems, Helmholtz Centre for Environmental Research - UFZ,
Leipzig, Germany, and continued by Matthias Cuntz while at Institut
National de Recherche pour l'Agriculture, l'Alimentation et
l'Environnement (INRAE), Nancy, France.
Copyright (c) 2010-2020 Matthias Cuntz - mc (at) macu (dot) de
Released under the MIT License; see LICENSE file for details.
* Written Jun 2010 by Arndt Piayda
* Input can be scalar, list, array, or mix of it, Feb 2012, Matthias Cuntz
* Changed checks, added calendars decimal and decimal360, Feb 2012, Matthias Cuntz
* Changed units of proleptic_gregorian calendar from days since 0001-01-01 00:00:00 to days since 0001-01-00 00:00:00, Dec 2010, Matthias Cuntz
* Deal with Excel leap year error, Feb 2013, Matthias Cuntz
* Ported to Python 3, Feb 2013, Matthias Cuntz
* ascii/eng without time defaults to 00:00:00, Jul 2013, Matthias Cuntz
* Excel starts at 1 not at 0 on 01 January 1900 or 1904, Oct 2013, Matthias Cuntz
* Bug: 01.01.0001 was substracted if Julian calendar even with units given, Oct 2013, Matthias Cuntz
* Removed remnant of time treatment before time check in eng keyword, Nov 2013, Matthias Cuntz
* Adapted to new netCDF4/netcdftime (>= v1.0) and datetime (>= Python v2.7.9), Jun 2015, Matthias Cuntz
* Call date2num with list instead of single netCDF4.datetime objects, Oct 2015, Matthias Cuntz
* mo for months always integer, Oct 2016, Matthias Cuntz
* 00, 01, etc. for integers not accepted by Python 3, removed from examples and code, Nov 2016, Matthias Cuntz
* Using numpy docstring format, May 2020, Matthias Cuntz
* Succeed eng by en keyword as in ascii2ascii and dec2date, Jul 2020, Matthias Cuntz
* proleptic_gregorian instead of gregorian calendar for Excel dates, Jul 2020, Matthias Cuntz
.. moduleauthor:: Matthias Cuntz, Arndt Piayda
The following functions are provided
.. autosummary::
date2dec
"""
from __future__ import division, absolute_import, print_function
import numpy as np
__all__ = ['date2dec']
def date2dec(calendar = 'standard', units=None,
excelerr = True, yr=1,
mo=1, dy=1, hr=0, mi=0, sc=0,
ascii=None, en=None, eng=None):
"""
Convert scalar and array_like with calendar dates into decimal
dates. Supported calendar formats are standard, gregorian, julian,
proleptic_gregorian, excel1900, excel1904, 365_day, noleap, 366_day,
all_leap, 360_day, decimal, or decimal360.
Input is year, month day, hour, minute, second or a combination of them.
Input as date string is possible.
Output is decimal date with day as unit.
Parameters
----------
yr : array_like, optional
years (default: 1)
mo : array_like, optional
month (default: 1)
dy : array_like, optional
days (default: 1)
hr : array_like, optional
hours (default: 0)
mi : array_like, optional
minutes (default: 0)
sc : array_like, optional
seconds (default: 0)
ascii : array_like, optional
strings of the format 'dd.mm.yyyy hh:mm:ss'.
Missing hour, minutes and/or seconds are set
to their default values (0).
`ascii` overwrites all other keywords.
`ascii` and `eng` are mutually exclusive.
en : array_like, optional
strings of the format 'yyyy-mm-dd hh:mm:ss'.
Missing hour, minutes and/or seconds are set
to their default values (0).
`en` overwrites all other keywords.
`en` and `ascii` are mutually exclusive.
eng : array_like, optional
Same as en: obsolete.
calendar : str, optional
Calendar of output dates (default: 'standard').
Possible values are:
'standard', 'gregorian' = julian calendar from
01.01.-4712 12:00:00 (BC) until 05.03.1583 00:00:00 and
gregorian calendar from 15.03.1583 00:00:00 until now.
Missing 10 days do not exsist.
'julian' = julian calendar from 01.01.-4712 12:00:00 (BC)
until now.
'proleptic_gregorian' = gregorian calendar from
01.01.0001 00:00:00 until now.
'excel1900' = Excel dates with origin at
01.01.1900 00:00:00.
'excel1904' = Excel 1904 (Lotus) format.
Same as excel1904 but with origin at
01.01.1904 00:00:00.
'365_day', 'noleap' = 365 days format,
i.e. common years only (no leap years)
with origin at 01.01.0001 00:00:00.
'366_day', 'all_leap' = 366 days format,
i.e. leap years only (no common years)
with origin at 01.01.0001 00:00:00.
'360_day' = 360 days format,
i.e. years with only 360 days (30 days per month)
with origin at 01.01.0001 00:00:00.
'decimal' = decimal year instead of decimal days.
'decimal360' = decimal year with a year of 360 days, i.e. 12 month with 30 days each.
units : str, optional
User set units of output dates. Must be a
string in the format 'days since yyyy-mm-dd hh:mm:ss'.
Default values are set automatically depending on `calendar`.
excelerr : bool, optional
In Excel, the year 1900 is normally considered a leap year,
which it was not. By default, this error is taken into account
if `calendar=='excel1900'` (default: True).
1900 is not considered a leap year if `excelerr==False`.
Returns
-------
array_like
array_like with decimal dates. The type of output will be the same as the input type.
Notes
-----
Most versions of `datetime` do not support negative years,
i.e. Julian days < 1721423.5 = 01.01.0001 00:00:00.
There is an issue in `netcdftime` version < 0.9.5 in proleptic_gregorian for dates before year 301:
dec2date(date2dec(ascii='01.01.0300 00:00:00', calendar='proleptic_gregorian'), calendar='proleptic_gregorian')
[300, 1, 2, 0, 0, 0]
dec2date(date2dec(ascii='01.01.0301 00:00:00', calendar='proleptic_gregorian'), calendar='proleptic_gregorian')
[301, 1, 1, 0, 0, 0]
List input is only supported up to 2 dimensions.
Requires `netcdftime.py` from module `netcdftime` available at:
http://netcdf4-python.googlecode.com
Examples
--------
# Some implementations of datetime do not support negative years
>>> import datetime
>>> if datetime.MINYEAR > 0:
... print('The minimum year in your datetime implementation is ', datetime.MINYEAR)
... print('i.e. it does not support negative years (BC).')
The minimum year in your datetime implementation is 1
i.e. it does not support negative years (BC).
>>> if datetime.MINYEAR > 0:
... year = np.array([2000, 1810, 1630, 1510, 1271, 619, 2, 1])
... else:
... year = np.array([2000, 1810, 1630, 1510, 1271, 619, -1579, -4712])
>>> month = np.array([1, 4, 7, 9, 3, 8, 8, 1])
>>> day = np.array([5, 24, 15, 20, 18, 27, 23, 1])
>>> hour = np.array([12, 16, 10, 14, 19, 11, 20, 12])
>>> minute = np.array([30, 15, 20, 35, 41, 8, 3, 0])
>>> second = np.array([15, 10, 40, 50, 34, 37, 41, 0])
>>> decimal = date2dec(calendar = 'standard', yr=year, mo=month, dy=day, hr=hour, mi=minute, sc=second)
>>> nn = year.size
>>> print('{:.14e} {:.14e} {:.14e} {:.14e}'.format(*decimal[:nn//2]))
2.45154902100695e+06 2.38226217719907e+06 2.31660093101852e+06 2.27284810821759e+06
>>> print('{:.14e} {:.14e}'.format(*decimal[nn//2:nn-2]))
2.18536732053241e+06 1.94738596431713e+06
>>> decimal = date2dec(calendar='standard', yr=year, mo=6, dy=15, hr=12, mi=minute, sc=second)
>>> print('{:.14e} {:.14e} {:.14e} {:.14e}'.format(*decimal[:nn//2]))
2.45171102100695e+06 2.38231401053241e+06 2.31657101435185e+06 2.27275102488426e+06
>>> print('{:.14e} {:.14e}'.format(*decimal[nn//2:nn-2]))
2.18545602886574e+06 1.94731300598380e+06
# ascii input
>>> if datetime.MINYEAR > 0:
... a = np.array(['05.01.2000 12:30:15', '24.04.1810 16:15:10', '15.07.1630 10:20:40', '20.09.1510 14:35:50',
... '18.03.1271 19:41:34', '27.08. 619 11:08:37', '23.08.0002 20:03:41', '01.01.0001 12:00:00'])
... else:
... a = np.array(['05.01.2000 12:30:15', '24.04.1810 16:15:10', '15.07.1630 10:20:40', '20.09.1510 14:35:50',
... '18.03.1271 19:41:34', '27.08. 619 11:08:37', '23.08.-1579 20:03:41', '01.01.-4712 12:00:00'])
>>> decimal = date2dec(calendar='standard', ascii=a)
>>> nn = a.size
>>> print('{:.14e} {:.14e} {:.14e} {:.14e}'.format(*decimal[:nn//2]))
2.45154902100695e+06 2.38226217719907e+06 2.31660093101852e+06 2.27284810821759e+06
>>> print('{:.14e} {:.14e}'.format(*decimal[nn//2:nn-2]))
2.18536732053241e+06 1.94738596431713e+06
# calendar = 'julian'
>>> decimal = date2dec(calendar='julian', ascii=a)
>>> print('{:.14e} {:.14e} {:.14e} {:.14e}'.format(*decimal[:nn//2]))
2.45156202100695e+06 2.38227417719907e+06 2.31661093101852e+06 2.27284810821759e+06
>>> print('{:.14e} {:.14e}'.format(*decimal[nn//2:nn-2]))
2.18536732053241e+06 1.94738596431713e+06
# calendar = 'proleptic_gregorian'
>>> decimal = date2dec(calendar='proleptic_gregorian', ascii=a)
>>> print('{:.7f} {:.7f} {:.7f} {:.7f}'.format(*decimal[:nn//2]))
730123.5210069 660836.6771991 595175.4310185 551412.6082176
>>> print('{:.7f} {:.7f}'.format(*decimal[nn//2:nn-2]))
463934.8205324 225957.4643171
# calendar = 'excel1900' WITH excelerr=True -> 1900 considered as leap year
>>> d = np.array(['05.01.2000 12:30:15', '27.05.1950 16:25:10', '13.08.1910 10:40:55',
... '01.03.1900 00:00:00', '29.02.1900 00:00:00', '28.02.1900 00:00:00',
... '01.01.1900 00:00:00'])
>>> decimal = date2dec(calendar='excel1900', ascii=d)
>>> nn = d.size
>>> print('{:.7f} {:.7f} {:.7f}'.format(*decimal[:nn//2]))
36530.5210069 18410.6841435 3878.4450810
>>> print('{:.1f} {:.1f} {:.1f} {:.1f}'.format(*decimal[nn//2:]))
61.0 60.0 59.0 1.0
# calendar = 'excel1900' WITH excelerr = False -> 1900 is NO leap year
>>> decimal = date2dec(calendar='excel1900', ascii=d, excelerr=False)
>>> print('{:.7f} {:.7f} {:.7f}'.format(*decimal[:nn//2]))
36529.5210069 18409.6841435 3877.4450810
>>> print('{:.1f} {:.1f} {:.1f} {:.1f}'.format(*decimal[nn//2:]))
60.0 60.0 59.0 1.0
# calendar = 'excel1904'
>>> decimal = date2dec(calendar='excel1904', ascii=d[:nn//2])
>>> print('{:.7f} {:.7f} {:.7f}'.format(*decimal[:nn//2]))
35069.5210069 16949.6841435 2417.4450810
# calendar = '365_day'
>>> g = np.array(['18.08.1972 12:30:15', '25.10.0986 12:30:15', '28.11.0493 22:20:40', '01.01.0001 00:00:00'])
>>> decimal = date2dec(calendar='365_day', ascii=g)
>>> nn = g.size
>>> print('{:.7f} {:.7f} {:.7f} {:.7f}'.format(*decimal[:nn]))
719644.5210069 359822.5210069 179911.9310185 0.0000000
# calendar = '366_day'
>>> decimal = date2dec(calendar='366_day', ascii=g)
>>> print('{:.7f} {:.7f} {:.7f} {:.7f}'.format(*decimal[:nn]))
721616.5210069 360808.5210069 180404.9310185 0.0000000
# 360_day does not work with netcdftime.py version equal or below 0.9.2
# calendar = '360_day'
>>> decimal = date2dec(calendar='360_day', ascii=g)
>>> print('{:.7f} {:.7f} {:.7f} {:.7f}'.format(*decimal[:nn]))
709787.5210069 354894.5210069 177447.9310185 0.0000000
>>> print('{:.7f}'.format(date2dec(yr=1992, mo=1, dy=26, hr=2, mi=0, sc=0, calendar='decimal')))
1992.0685337
>>> print('{:.7f}'.format(date2dec(ascii='26.01.1992 02:00', calendar='decimal360')))
1992.0696759
>>> print('{:.7f} {:.7f}'.format(*date2dec(ascii=['26.01.1992 02:00','26.01.1992 02:00'], calendar='decimal360')))
1992.0696759 1992.0696759
>>> print('{:.7f} {:.7f}'.format(*date2dec(yr=[1992,1992], mo=1, dy=26, hr=2, mi=0, sc=0, calendar='decimal360')))
1992.0696759 1992.0696759
>>> print('{:.7f} {:.7f}'.format(*date2dec(yr=np.array([1992,1992]), mo=1, dy=26, hr=2, mi=0, sc=0, calendar='decimal360')))
1992.0696759 1992.0696759
>>> decimal = date2dec(ascii=[['26.01.1992 02:00','26.01.1992 02:00'],
... ['26.01.1992 02:00','26.01.1992 02:00'],
... ['26.01.1992 02:00','26.01.1992 02:00']],
... calendar='decimal360')
>>> print('{:.7f} {:.7f}'.format(*decimal[0]))
1992.0696759 1992.0696759
>>> print('{:.7f} {:.7f}'.format(*decimal[2]))
1992.0696759 1992.0696759
>>> print((date2dec(ascii='01.03.2003 00:00:00') - date2dec(ascii='01.03.2003')) == 0.)
True
# en
>>> decimal = date2dec(en='1992-01-26 02:00', calendar='decimal360')
>>> print('{:.7f}'.format(decimal))
1992.0696759
>>> decimal = date2dec(eng='1992-01-26 02:00', calendar='decimal360')
>>> print('{:.7f}'.format(decimal))
1992.0696759
History
-------
Written Arndt Piayda, Jun 2010
Modified Matthias Cuntz, Feb 2012 - All input can be scalar, list or array, also a mix
- Changed checks for easier extension
- decimal, decimal360
Matthias Cuntz, Dec 2012 - change unit of proleptic_gregorian
from 'days since 0001-01-01 00:00:00'
to 'days since 0001-01-00 00:00:00'
Matthias Cuntz, Feb 2013 - solved Excel leap year problem.
Matthias Cuntz, Feb 2013 - ported to Python 3
Matthias Cuntz, Jul 2013 - ascii/eng without time defaults to 00:00:00
Matthias Cuntz, Oct 2013 - Excel starts at 1 not at 0
Matthias Cuntz, Oct 2013 - units bugs, e.g. 01.01.0001 was substracted if Julian calendar even with units
Matthias Cuntz, Nov 2013 - removed remnant of time treatment before time check in eng keyword
Matthias Cuntz, Jun 2015 - adapted to new netCDF4/netcdftime (>= v1.0) and datetime (>= Python v2.7.9)
Matthias Cuntz, Oct 2015 - call date2num with list instead of single netCDF4.datetime objects
Matthias Cuntz, Oct 2016 - netcdftime provided even with netCDF4 > 1.0.0; make mo for months always integer
Matthias Cuntz, Nov 2016 - 00, 01, etc. for integers not accepted by Python3
Matthias Cuntz, May 2020 - numpy docstring format
Matthias Cuntz, Jul 2020 - en for eng
Matthias Cuntz, Jul 2020 - use proleptic_gregorian for Excel dates
Matthias Cuntz, May 2021 - rm np.int and np.float
- (almost) flake8 compatible
"""
#
# Checks
calendars = ['standard', 'gregorian', 'julian', 'proleptic_gregorian',
'excel1900', 'excel1904', '365_day', 'noleap', '366_day',
'all_leap', '360_day', 'decimal', 'decimal360']
# add little epsilon to julian dates for better reconversion
muleps = np.finfo(float).eps
try:
import cftime as nt
if (nt.__version__ <= '1.0.4'):
muleps = 0. # before 1.0.5, cftime used eps
except:
import netCDF4 as nt
try:
tst = nt.date2num
tst = nt.datetime
except:
try:
import netcdftime as nt
if ((nt.__version__ <= '0.9.2') & (calendar == '360_day')):
raise ValueError(
"date2dec error: Your version of netcdftime.py is equal"
" or below 0.9.2. The 360_day calendar does not work with"
" arrays here. Please download a newer one.")
except:
raise ImportError('Could not determine netcdf time library.')
#
calendar = calendar.lower()
if (calendar not in calendars):
raise ValueError(
"date2dec error: Wrong calendar!" +
" Choose: " + ''.join([i + ' ' for i in calendars]))
# obsolete eng
if (eng is not None):
if (en is not None):
raise ValueError("date2dec error: 'eng' was succeeded by 'en'. Only one can be given.")
else:
en = eng
# if ascii input is given by user, other input will be neglected
# calculation of input size and shape
if (ascii is not None) and (en is not None):
raise ValueError("date2dec error: 'ascii' and 'en' mutually exclusive")
if (ascii is not None):
islist = type(ascii) != type(np.array(ascii))
isarr = np.ndim(ascii)
if (islist & (isarr > 2)):
raise ValueError("date2dec error: ascii input is list > 2D; Use array input")
if isarr == 0:
ascii = np.array([ascii])
else:
ascii = np.array(ascii)
insize = ascii.size
outsize = insize
outshape = ascii.shape
asciifl = ascii.flatten()
timeobj = np.zeros(insize, dtype=object)
# slicing of ascii strings to implement in datetime object. missing times
# will be set to 0.
yr = np.zeros(insize, dtype=int)
mo = np.zeros(insize, dtype=int)
dy = np.zeros(insize, dtype=int)
hr = np.zeros(insize, dtype=int)
mi = np.zeros(insize, dtype=int)
sc = np.zeros(insize, dtype=int)
for i in range(insize):
aa = asciifl[i].split('.')
dy[i] = int(aa[0])
mo[i] = int(aa[1])
tail = aa[2].split()
yr[i] = int(tail[0])
if len(tail) > 1:
tim = tail[1].split(':')
hr[i] = int(tim[0])
if len(tim) > 1:
mi[i] = int(tim[1])
else:
mi[i] = 0
if len(tim) > 2:
sc[i] = int(tim[2])
else:
sc[i] = 0
else:
hr[i] = 0
mi[i] = 0
sc[i] = 0
if ((yr[i] == 1900) & (mo[i] == 2) & (dy[i] == 29)):
timeobj[i] = nt.datetime(yr[i], 3, 1, hr[i], mi[i], sc[i])
else:
timeobj[i] = nt.datetime(yr[i], mo[i], dy[i], hr[i], mi[i],
sc[i])
if (en is not None):
islist = type(en) != type(np.array(en))
isarr = np.ndim(en)
if isarr == 0:
en = np.array([en])
else:
en = np.array(en)
if (islist & (isarr > 2)):
raise ValueError("date2dec error: en input is list > 2D; Use array input")
en = np.array(en)
insize = en.size
outsize = insize
outshape = en.shape
enfl = en.flatten()
timeobj = np.zeros(insize, dtype=object)
# slicing of en strings to implement in datetime object. missing times
# will be set to 0.
yr = np.zeros(insize, dtype=int)
mo = np.zeros(insize, dtype=int)
dy = np.zeros(insize, dtype=int)
hr = np.zeros(insize, dtype=int)
mi = np.zeros(insize, dtype=int)
sc = np.zeros(insize, dtype=int)
for i in range(insize):
ee = enfl[i].split('-')
yr[i] = int(ee[0])
mo[i] = int(ee[1])
tail = ee[2].split()
dy[i] = int(tail[0])
if len(tail) > 1:
tim = tail[1].split(':')
hr[i] = int(tim[0])
if len(tim) > 1:
mi[i] = int(tim[1])
else:
mi[i] = 0
if len(tim) > 2:
sc[i] = int(tim[2])
else:
sc[i] = 0
else:
hr[i] = 0
mi[i] = 0
sc[i] = 0
if ((yr[i] == 1900) & (mo[i] == 2) & (dy[i] == 29)):
timeobj[i] = nt.datetime(yr[i], 3, 1, hr[i], mi[i], sc[i])
else:
timeobj[i] = nt.datetime(yr[i], mo[i], dy[i], hr[i], mi[i],
sc[i])
# if no ascii input, other inputs will be concidered
# calculation of input sizes, shapes and number of axis
if (ascii is None) and (en is None):
isnlist1 = type(yr) == type(np.array(yr))
isarr1 = np.ndim(yr)
if isarr1 == 0:
yr = np.array([yr])
else:
yr = np.array(yr)
isnlist2 = type(mo) == type(np.array(mo))
isarr2 = np.ndim(mo)
if isarr2 == 0:
mo = np.array([mo], dtype=int)
else:
mo = np.array(mo, dtype=int)
isnlist3 = type(dy) == type(np.array(dy))
isarr3 = np.ndim(dy)
if isarr3 == 0:
dy = np.array([dy])
else:
dy = np.array(dy)
isnlist4 = type(hr) == type(np.array(hr))
isarr4 = np.ndim(hr)
if isarr4 == 0:
hr = np.array([hr])
else:
hr = np.array(hr)
isnlist5 = type(mi) == type(np.array(mi))
isarr5 = np.ndim(mi)
if isarr5 == 0:
mi = np.array([mi])
else:
mi = np.array(mi)
isnlist6 = type(sc) == type(np.array(sc))
isarr6 = np.ndim(sc)
if isarr6 == 0:
sc = np.array([sc])
else:
sc = np.array(sc)
islist = not (isnlist1 | isnlist2 | isnlist3 | isnlist4 | isnlist5 |
isnlist6)
isarr = isarr1 + isarr2 + isarr3 + isarr4 + isarr5 + isarr6
shapes = [np.shape(yr), np.shape(mo), np.shape(dy), np.shape(hr),
np.shape(mi), np.shape(sc)]
nyr = np.size(yr)
nmo = np.size(mo)
ndy = np.size(dy)
nhr = np.size(hr)
nmi = np.size(mi)
nsc = np.size(sc)
sizes = [nyr, nmo, ndy, nhr, nmi, nsc]
nmax = np.amax(sizes)
ii = np.argmax(sizes)
outshape = shapes[ii]
if (islist & (np.size(outshape) > 2)):
raise ValueError("date2dec error: input is list > 2D; Use array input.")
if nyr < nmax:
if nyr == 1:
yr = np.ones(outshape, dtype=int) * yr
else:
raise ValueError("date2dec error: size of yr != max input or 1.")
if nmo < nmax:
if nmo == 1:
mo = np.ones(outshape, dtype=int) * mo
else:
raise ValueError("date2dec error: size of mo != max input or 1.")
if ndy < nmax:
if ndy == 1:
dy = np.ones(outshape, dtype=int) * dy
else:
raise ValueError("date2dec error: size of dy != max input or 1.")
if nhr < nmax:
if nhr == 1:
hr = np.ones(outshape, dtype=int) * hr
else:
raise ValueError("date2dec error: size of hr != max input or 1.")
if nmi < nmax:
if nmi == 1:
mi = np.ones(outshape, dtype=int) * mi
else:
raise ValueError("date2dec error: size of mi != max input or 1.")
if nsc < nmax:
if nsc == 1:
sc = np.ones(outshape, dtype=int) * sc
else:
raise ValueError("date2dec error: size of sc != max input or 1.")
indate = [yr, mo, dy, hr, mi, sc]
insize = [np.size(i) for i in indate]
inshape = [np.shape(i) for i in indate]
dimnum = [len(i) for i in inshape]
# calculation of maximum input size and maximum number of axis for
# reshaping the output
indate = [i.flatten() for i in indate]
outsize = max(insize)
timeobj = np.zeros(outsize, dtype=object)
# datetime object is constructed
for i in range(outsize):
iyr = int(indate[0][i])
imo = int(indate[1][i])
idy = int(indate[2][i])
ihr = int(indate[3][i])
imi = int(indate[4][i])
isc = int(indate[5][i])
if ((iyr == 1900) & (imo == 2) & (idy == 29)):
timeobj[i] = nt.datetime(iyr, 3, 1, ihr, imi, isc)
else:
timeobj[i] = nt.datetime(iyr, imo, idy, ihr, imi, isc)
# depending on chosen calendar and optional set of the time units
# decimal date is calculated
output = np.zeros(outsize)
try:
t0 = nt.datetime(1582, 10, 4, 23, 59, 59, 999999)
except:
t0 = nt.datetime(1582, 10, 4, 23, 59, 59)
t1 = nt.datetime(1582, 10, 15, 0, 0, 0)
is121 = True if (min(timeobj) <= t0) and (max(timeobj) >= t1) else False
if (calendar == 'standard') or (calendar == 'gregorian'):
if not units:
units = 'days since 0001-01-01 12:00:00'
dec0 = 1721424
else:
dec0 = 0
if is121 and (nt.__version__ < '1.2.2'):
for ii, tt in enumerate(timeobj):
output[ii] = nt.date2num(tt, units,
calendar='gregorian') + dec0
else:
output = nt.date2num(timeobj, units,
calendar='gregorian').astype(float) + dec0
output += np.abs(output) * muleps
elif calendar == 'julian':
if not units:
units = 'days since 0001-01-01 12:00:00'
dec0 = 1721424
else:
dec0 = 0
if is121 and (nt.__version__ < '1.2.2'):
for ii, tt in enumerate(timeobj):
output[ii] = nt.date2num(tt, units,
calendar='julian') + dec0
else:
output = nt.date2num(timeobj, units,
calendar='julian').astype(float) + dec0
output += np.abs(output) * muleps
elif calendar == 'proleptic_gregorian':
if not units:
units = 'days since 0001-01-01 00:00:00'
if is121 and (nt.__version__ < '1.2.2'):
for ii, tt in enumerate(timeobj):
output[ii] = nt.date2num(tt, units,
calendar='proleptic_gregorian')
else:
output = nt.date2num(timeobj, units,
calendar='proleptic_gregorian').astype(float)
output += np.abs(output) * muleps
elif calendar == 'excel1900':
doerr = False
if not units:
units = 'days since 1899-12-31 00:00:00'
if excelerr:
doerr = True
if is121 and (nt.__version__ < '1.2.2'):
for ii, tt in enumerate(timeobj):
output[ii] = nt.date2num(tt, units,
calendar='proleptic_gregorian')
else:
output = nt.date2num(timeobj, units,
calendar='proleptic_gregorian').astype(float)
if doerr:
output = np.where(output >= 60., output + 1., output)
# date2num treats 29.02.1900 as 01.03.1990,
# i.e. is the same decimal number
if np.any((output >= 61.) & (output < 62.)):
for i in range(outsize):
# if (timeobj[i].year==1900) & (timeobj[i].month==2) &
# (timeobj[i].day==29):
# output[i] -= 1.
if (yr[i] == 1900) & (mo[i] == 2) & (dy[i] == 29):
output[i] -= 1.
output += np.abs(output) * muleps
elif calendar == 'excel1904':
if not units:
units = 'days since 1903-12-31 00:00:00'
if is121 and (nt.__version__ < '1.2.2'):
for ii, tt in enumerate(timeobj):
output[ii] = nt.date2num(tt, units,
calendar='proleptic_gregorian')
else:
output = nt.date2num(timeobj, units,
calendar='proleptic_gregorian').astype(float)
output += np.abs(output) * muleps
elif (calendar == '365_day') or (calendar == 'noleap'):
if not units:
units = 'days since 0001-01-01 00:00:00'
if is121 and (nt.__version__ < '1.2.2'):
for ii, tt in enumerate(timeobj):
output[ii] = nt.date2num(tt, units, calendar='365_day')
else:
output = nt.date2num(timeobj, units,
calendar='365_day').astype(float)
output += np.abs(output) * muleps
elif (calendar == '366_day') or (calendar == 'all_leap'):
if not units:
units = 'days since 0001-01-01 00:00:00'
if is121 and (nt.__version__ < '1.2.2'):
for ii, tt in enumerate(timeobj):
output[ii] = nt.date2num(tt, units, calendar='366_day')
else:
output = nt.date2num(timeobj, units,
calendar='366_day').astype(float)
output += np.abs(output) * muleps
elif calendar == '360_day':
if not units:
units = 'days since 0001-01-01 00:00:00'
if is121 and (nt.__version__ < '1.2.2'):
for ii, tt in enumerate(timeobj):
output[ii] = nt.date2num(tt, units, calendar='360_day')
else:
output = nt.date2num(timeobj, units,
calendar='360_day').astype(float)
output += np.abs(output) * muleps
elif calendar == 'decimal':
ntime = np.size(yr)
leap = np.array((((yr % 4) == 0) & ((yr % 100) != 0)) |
((yr % 400) == 0)).astype(int)
tdy = np.array(dy, dtype=float)
diy = np.array([ [-9, 0, 31, 59, 90, 120, 151, 181, 212,
243, 273, 304, 334, 365],
[-9, 0, 31, 60, 91, 121, 152, 182, 213,
244, 274, 305, 335, 366] ])
for i in range(ntime):
tdy[i] = tdy[i] + np.array(diy[leap[i], mo[i]], dtype=float)
days_year = 365.
output = ( np.array(yr, dtype=float) +
((tdy - 1.) * 24. + np.array(hr, dtype=float) +
np.array(mi, dtype=float) / 60. +
np.array(sc, dtype=float) / 3600.) /
((days_year + np.array(leap, dtype=float)) * 24.) )
# for numerical stability, i.e. back and forth transforms
output += 1e-08 # 1/3 sec
elif calendar == 'decimal360':
ntime = np.size(yr)
tdy = np.array(dy, dtype=float)
diy = np.array([-9, 0, 30, 60, 90, 120, 150, 180, 210, 240, 270,
300, 330, 360])
for i in range(ntime):
tdy[i] = tdy[i] + np.array(diy[mo[i]], dtype=float)
days_year = 360.
output = ( np.array(yr, dtype=float) +
((tdy - 1.) * 24. + np.array(hr, dtype=float) +
np.array(mi, dtype=float) / 60. +
np.array(sc, dtype=float) / 3600.) /
(days_year * 24.) )
# for numerical stability, i.e. back and forth transforms
output += 1e-08 # 1/3 sec
else:
raise ValueError("date2dec error: calendar not implemented; should have been catched before.")
# return of reshaped output
output = np.reshape(output, outshape)
if isarr == 0:
output = float(output)
else:
if islist:
ns = np.size(outshape)
if ns == 1:
output = [i for i in output]
else:
loutput = [ i for i in output[:, 0]]
for i in range(np.size(output[:, 0])):
loutput[i] = list(np.squeeze(output[i, :]))
output = loutput
return output
if __name__ == '__main__':
import doctest
doctest.testmod(optionflags=doctest.NORMALIZE_WHITESPACE)
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
37811,
198,
4475,
17,
12501,
1058,
1482,
24040,
11845,
9667,
656,
32465,
9667,
13,
198,
198,
1212,
8265,
373,
3194,
416,
943,
358,
83,
13993,
323,
6814,
290,
788,
13105,
290,
198,
76,
2913,
1328,
416,
45524,
4448,
327,
2797,
89,
981,
379,
2732,
286,
22476,
864,
198,
40436,
305,
10057,
82,
11,
28351,
3937,
22877,
9072,
329,
13272,
4992,
532,
471,
37,
57,
11,
198,
3123,
541,
38262,
11,
4486,
11,
290,
3767,
416,
45524,
4448,
327,
2797,
89,
981,
379,
37931,
315,
198,
16186,
390,
3311,
372,
2395,
12797,
300,
6,
10262,
1173,
6456,
11,
300,
6,
2348,
3681,
341,
2123,
198,
75,
6,
4834,
2268,
77,
972,
357,
1268,
3861,
36,
828,
18496,
11,
4881,
13,
198,
198,
15269,
357,
66,
8,
3050,
12,
42334,
45524,
4448,
327,
2797,
89,
532,
36650,
357,
265,
8,
8352,
84,
357,
26518,
8,
390,
198,
45037,
739,
262,
17168,
13789,
26,
766,
38559,
24290,
2393,
329,
3307,
13,
198,
198,
9,
22503,
7653,
3050,
416,
943,
358,
83,
13993,
323,
6814,
198,
9,
23412,
460,
307,
16578,
283,
11,
1351,
11,
7177,
11,
393,
5022,
286,
340,
11,
3158,
2321,
11,
45524,
4448,
327,
2797,
89,
198,
9,
32068,
8794,
11,
2087,
50215,
32465,
290,
32465,
15277,
11,
3158,
2321,
11,
45524,
4448,
327,
2797,
89,
198,
9,
32068,
4991,
286,
386,
293,
17459,
62,
9903,
22618,
11845,
422,
1528,
1201,
3571,
486,
12,
486,
12,
486,
3571,
25,
405,
25,
405,
284,
1528,
1201,
3571,
486,
12,
486,
12,
405,
3571,
25,
405,
25,
405,
11,
4280,
3050,
11,
45524,
4448,
327,
2797,
89,
198,
9,
15138,
351,
24134,
16470,
614,
4049,
11,
3158,
2211,
11,
45524,
4448,
327,
2797,
89,
198,
9,
4347,
276,
284,
11361,
513,
11,
3158,
2211,
11,
45524,
4448,
327,
2797,
89,
198,
9,
355,
979,
72,
14,
1516,
1231,
640,
26235,
284,
3571,
25,
405,
25,
405,
11,
5979,
2211,
11,
45524,
4448,
327,
2797,
89,
198,
9,
24134,
4940,
379,
352,
407,
379,
657,
319,
5534,
3269,
21489,
393,
43785,
11,
2556,
2211,
11,
45524,
4448,
327,
2797,
89,
198,
9,
15217,
25,
5534,
13,
486,
13,
18005,
373,
3293,
20216,
611,
18322,
11845,
772,
351,
4991,
1813,
11,
2556,
2211,
11,
45524,
4448,
327,
2797,
89,
198,
9,
28252,
49332,
286,
640,
3513,
878,
640,
2198,
287,
1786,
21179,
11,
5267,
2211,
11,
45524,
4448,
327,
2797,
89,
198,
9,
30019,
276,
284,
649,
2010,
34,
8068,
19,
14,
3262,
10210,
31387,
45160,
28,
410,
16,
13,
15,
8,
290,
4818,
8079,
45160,
28,
11361,
410,
17,
13,
22,
13,
24,
828,
7653,
1853,
11,
45524,
4448,
327,
2797,
89,
198,
9,
4889,
3128,
17,
22510,
351,
1351,
2427,
286,
2060,
2010,
34,
8068,
19,
13,
19608,
8079,
5563,
11,
2556,
1853,
11,
45524,
4448,
327,
2797,
89,
198,
9,
6941,
329,
1933,
1464,
18253,
11,
2556,
1584,
11,
45524,
4448,
327,
2797,
89,
198,
9,
3571,
11,
5534,
11,
3503,
13,
329,
37014,
407,
6292,
416,
11361,
513,
11,
4615,
422,
6096,
290,
2438,
11,
5267,
1584,
11,
45524,
4448,
327,
2797,
89,
198,
9,
8554,
299,
32152,
2205,
8841,
5794,
11,
1737,
12131,
11,
45524,
4448,
327,
2797,
89,
198,
9,
47352,
2707,
1786,
416,
551,
21179,
355,
287,
355,
979,
72,
17,
292,
979,
72,
290,
875,
17,
4475,
11,
5979,
12131,
11,
45524,
4448,
327,
2797,
89,
198,
9,
386,
293,
17459,
62,
9903,
22618,
2427,
286,
308,
2301,
22618,
11845,
329,
24134,
9667,
11,
5979,
12131,
11,
45524,
4448,
327,
2797,
89,
198,
198,
492,
8265,
9800,
3712,
45524,
4448,
327,
2797,
89,
11,
943,
358,
83,
13993,
323,
6814,
198,
198,
464,
1708,
5499,
389,
2810,
198,
198,
492,
44619,
388,
6874,
3712,
198,
220,
220,
3128,
17,
12501,
198,
37811,
198,
6738,
11593,
37443,
834,
1330,
7297,
11,
4112,
62,
11748,
11,
3601,
62,
8818,
198,
11748,
299,
32152,
355,
45941,
628,
198,
834,
439,
834,
796,
37250,
4475,
17,
12501,
20520,
628,
198,
4299,
3128,
17,
12501,
7,
9948,
9239,
796,
705,
20307,
3256,
4991,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
409,
7015,
81,
796,
6407,
11,
42635,
28,
16,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6941,
28,
16,
11,
20268,
28,
16,
11,
39436,
28,
15,
11,
21504,
28,
15,
11,
629,
28,
15,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
355,
979,
72,
28,
14202,
11,
551,
28,
14202,
11,
1786,
28,
14202,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
38240,
16578,
283,
290,
7177,
62,
2339,
351,
11845,
9667,
656,
32465,
198,
220,
220,
220,
9667,
13,
36848,
11845,
17519,
389,
3210,
11,
308,
2301,
22618,
11,
474,
377,
666,
11,
198,
220,
220,
220,
386,
293,
17459,
62,
9903,
22618,
11,
27336,
48104,
11,
27336,
1129,
3023,
11,
21268,
62,
820,
11,
645,
293,
499,
11,
44856,
62,
820,
11,
198,
220,
220,
220,
477,
62,
293,
499,
11,
11470,
62,
820,
11,
32465,
11,
393,
32465,
15277,
13,
628,
220,
220,
220,
23412,
318,
614,
11,
1227,
1110,
11,
1711,
11,
5664,
11,
1218,
393,
257,
6087,
286,
606,
13,
198,
220,
220,
220,
23412,
355,
3128,
4731,
318,
1744,
13,
628,
220,
220,
220,
25235,
318,
32465,
3128,
351,
1110,
355,
4326,
13,
628,
220,
220,
220,
40117,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
42635,
1058,
7177,
62,
2339,
11,
11902,
198,
220,
220,
220,
220,
220,
220,
220,
812,
357,
12286,
25,
352,
8,
198,
220,
220,
220,
6941,
1058,
7177,
62,
2339,
11,
11902,
198,
220,
220,
220,
220,
220,
220,
220,
1227,
357,
12286,
25,
352,
8,
198,
220,
220,
220,
20268,
1058,
7177,
62,
2339,
11,
11902,
198,
220,
220,
220,
220,
220,
220,
220,
1528,
357,
12286,
25,
352,
8,
198,
220,
220,
220,
39436,
1058,
7177,
62,
2339,
11,
11902,
198,
220,
220,
220,
220,
220,
220,
220,
2250,
357,
12286,
25,
657,
8,
198,
220,
220,
220,
21504,
1058,
7177,
62,
2339,
11,
11902,
198,
220,
220,
220,
220,
220,
220,
220,
2431,
357,
12286,
25,
657,
8,
198,
220,
220,
220,
629,
1058,
7177,
62,
2339,
11,
11902,
198,
220,
220,
220,
220,
220,
220,
220,
4201,
357,
12286,
25,
657,
8,
198,
220,
220,
220,
355,
979,
72,
1058,
7177,
62,
2339,
11,
11902,
198,
220,
220,
220,
220,
220,
220,
220,
13042,
286,
262,
5794,
705,
1860,
13,
3020,
13,
22556,
22556,
289,
71,
25,
3020,
25,
824,
4458,
198,
220,
220,
220,
220,
220,
220,
220,
25639,
1711,
11,
2431,
290,
14,
273,
4201,
389,
900,
198,
220,
220,
220,
220,
220,
220,
220,
284,
511,
4277,
3815,
357,
15,
737,
628,
220,
220,
220,
220,
220,
220,
220,
4600,
292,
979,
72,
63,
6993,
23156,
477,
584,
26286,
13,
628,
220,
220,
220,
220,
220,
220,
220,
4600,
292,
979,
72,
63,
290,
4600,
1516,
63,
389,
26519,
8568,
13,
198,
220,
220,
220,
551,
1058,
7177,
62,
2339,
11,
11902,
198,
220,
220,
220,
220,
220,
220,
220,
13042,
286,
262,
5794,
705,
22556,
22556,
12,
3020,
12,
1860,
289,
71,
25,
3020,
25,
824,
4458,
198,
220,
220,
220,
220,
220,
220,
220,
25639,
1711,
11,
2431,
290,
14,
273,
4201,
389,
900,
198,
220,
220,
220,
220,
220,
220,
220,
284,
511,
4277,
3815,
357,
15,
737,
628,
220,
220,
220,
220,
220,
220,
220,
4600,
268,
63,
6993,
23156,
477,
584,
26286,
13,
628,
220,
220,
220,
220,
220,
220,
220,
4600,
268,
63,
290,
4600,
292,
979,
72,
63,
389,
26519,
8568,
13,
198,
220,
220,
220,
1786,
1058,
7177,
62,
2339,
11,
11902,
198,
220,
220,
220,
220,
220,
220,
220,
16766,
355,
551,
25,
26533,
13,
198,
220,
220,
220,
11845,
1058,
965,
11,
11902,
198,
220,
220,
220,
220,
220,
220,
220,
26506,
286,
5072,
9667,
357,
12286,
25,
705,
20307,
27691,
628,
220,
220,
220,
220,
220,
220,
220,
33671,
3815,
389,
25,
628,
220,
220,
220,
220,
220,
220,
220,
705,
20307,
3256,
705,
9903,
22618,
6,
796,
474,
377,
666,
11845,
422,
198,
220,
220,
220,
220,
220,
220,
220,
5534,
13,
486,
7874,
2857,
1065,
1105,
25,
405,
25,
405,
357,
2749,
8,
1566,
8870,
13,
3070,
13,
1314,
5999,
3571,
25,
405,
25,
405,
290,
198,
220,
220,
220,
220,
220,
220,
220,
308,
2301,
22618,
11845,
422,
1315,
13,
3070,
13,
1314,
5999,
3571,
25,
405,
25,
405,
1566,
783,
13,
198,
220,
220,
220,
220,
220,
220,
220,
25639,
838,
1528,
466,
407,
409,
82,
396,
13,
628,
220,
220,
220,
220,
220,
220,
220,
705,
73,
377,
666,
6,
796,
474,
377,
666,
11845,
422,
5534,
13,
486,
7874,
2857,
1065,
1105,
25,
405,
25,
405,
357,
2749,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
1566,
783,
13,
628,
220,
220,
220,
220,
220,
220,
220,
705,
1676,
293,
17459,
62,
9903,
22618,
6,
796,
308,
2301,
22618,
11845,
422,
198,
220,
220,
220,
220,
220,
220,
220,
5534,
13,
486,
13,
18005,
3571,
25,
405,
25,
405,
1566,
783,
13,
628,
220,
220,
220,
220,
220,
220,
220,
705,
1069,
5276,
48104,
6,
796,
24134,
9667,
351,
8159,
379,
198,
220,
220,
220,
220,
220,
220,
220,
5534,
13,
486,
13,
48104,
3571,
25,
405,
25,
405,
13,
628,
220,
220,
220,
220,
220,
220,
220,
705,
1069,
5276,
1129,
3023,
6,
796,
24134,
43785,
357,
48601,
385,
8,
5794,
13,
198,
220,
220,
220,
220,
220,
220,
220,
16766,
355,
27336,
1129,
3023,
475,
351,
8159,
379,
198,
220,
220,
220,
220,
220,
220,
220,
5534,
13,
486,
13,
1129,
3023,
3571,
25,
405,
25,
405,
13,
628,
220,
220,
220,
220,
220,
220,
220,
705,
24760,
62,
820,
3256,
705,
77,
2305,
499,
6,
796,
21268,
1528,
5794,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1312,
13,
68,
13,
2219,
812,
691,
357,
3919,
16470,
812,
8,
198,
220,
220,
220,
220,
220,
220,
220,
351,
8159,
379,
5534,
13,
486,
13,
18005,
3571,
25,
405,
25,
405,
13,
628,
220,
220,
220,
220,
220,
220,
220,
705,
32459,
62,
820,
3256,
705,
439,
62,
293,
499,
6,
796,
44856,
1528,
5794,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1312,
13,
68,
13,
16470,
812,
691,
357,
3919,
2219,
812,
8,
198,
220,
220,
220,
220,
220,
220,
220,
351,
8159,
379,
5534,
13,
486,
13,
18005,
3571,
25,
405,
25,
405,
13,
628,
220,
220,
220,
220,
220,
220,
220,
705,
15277,
62,
820,
6,
796,
11470,
1528,
5794,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1312,
13,
68,
13,
812,
351,
691,
11470,
1528,
357,
1270,
1528,
583,
1227,
8,
198,
220,
220,
220,
220,
220,
220,
220,
351,
8159,
379,
5534,
13,
486,
13,
18005,
3571,
25,
405,
25,
405,
13,
628,
220,
220,
220,
220,
220,
220,
220,
705,
12501,
4402,
6,
796,
32465,
614,
2427,
286,
32465,
1528,
13,
628,
220,
220,
220,
220,
220,
220,
220,
705,
12501,
4402,
15277,
6,
796,
32465,
614,
351,
257,
614,
286,
11470,
1528,
11,
1312,
13,
68,
13,
1105,
1227,
351,
1542,
1528,
1123,
13,
198,
220,
220,
220,
4991,
1058,
965,
11,
11902,
198,
220,
220,
220,
220,
220,
220,
220,
11787,
900,
4991,
286,
5072,
9667,
13,
12039,
307,
257,
198,
220,
220,
220,
220,
220,
220,
220,
4731,
287,
262,
5794,
705,
12545,
1201,
331,
22556,
88,
12,
3020,
12,
1860,
289,
71,
25,
3020,
25,
824,
4458,
198,
220,
220,
220,
220,
220,
220,
220,
15161,
3815,
389,
900,
6338,
6906,
319,
4600,
9948,
9239,
44646,
198,
220,
220,
220,
409,
7015,
81,
1058,
20512,
11,
11902,
198,
220,
220,
220,
220,
220,
220,
554,
24134,
11,
262,
614,
21489,
318,
7685,
3177,
257,
16470,
614,
11,
198,
220,
220,
220,
220,
220,
220,
543,
340,
373,
407,
13,
2750,
4277,
11,
428,
4049,
318,
2077,
656,
1848,
198,
220,
220,
220,
220,
220,
220,
611,
4600,
9948,
9239,
855,
6,
1069,
5276,
48104,
6,
63,
357,
12286,
25,
6407,
737,
628,
220,
220,
220,
220,
220,
220,
21489,
318,
407,
3177,
257,
16470,
614,
611,
4600,
1069,
7015,
81,
855,
25101,
44646,
628,
220,
220,
220,
16409,
198,
220,
220,
220,
35656,
198,
220,
220,
220,
7177,
62,
2339,
198,
220,
220,
220,
220,
220,
220,
7177,
62,
2339,
351,
32465,
9667,
13,
383,
2099,
286,
5072,
481,
307,
262,
976,
355,
262,
5128,
2099,
13,
628,
220,
220,
220,
11822,
198,
220,
220,
220,
37404,
198,
220,
220,
220,
4042,
6300,
286,
4600,
19608,
8079,
63,
466,
407,
1104,
4633,
812,
11,
198,
220,
220,
220,
1312,
13,
68,
13,
18322,
1528,
1279,
1596,
22291,
1954,
13,
20,
796,
5534,
13,
486,
13,
18005,
3571,
25,
405,
25,
405,
13,
628,
220,
220,
220,
1318,
318,
281,
2071,
287,
4600,
3262,
10210,
31387,
63,
2196,
1279,
657,
13,
24,
13,
20,
287,
386,
293,
17459,
62,
9903,
22618,
329,
9667,
878,
614,
25643,
25,
198,
220,
220,
220,
875,
17,
4475,
7,
4475,
17,
12501,
7,
292,
979,
72,
11639,
486,
13,
486,
13,
3070,
405,
3571,
25,
405,
25,
405,
3256,
11845,
11639,
1676,
293,
17459,
62,
9903,
22618,
33809,
11845,
11639,
1676,
293,
17459,
62,
9903,
22618,
11537,
198,
220,
220,
220,
685,
6200,
11,
352,
11,
362,
11,
657,
11,
657,
11,
657,
60,
198,
220,
220,
220,
875,
17,
4475,
7,
4475,
17,
12501,
7,
292,
979,
72,
11639,
486,
13,
486,
13,
3070,
486,
3571,
25,
405,
25,
405,
3256,
11845,
11639,
1676,
293,
17459,
62,
9903,
22618,
33809,
11845,
11639,
1676,
293,
17459,
62,
9903,
22618,
11537,
198,
220,
220,
220,
685,
18938,
11,
352,
11,
352,
11,
657,
11,
657,
11,
657,
60,
628,
220,
220,
220,
7343,
5128,
318,
691,
4855,
510,
284,
362,
15225,
13,
628,
220,
220,
220,
26848,
4600,
3262,
10210,
31387,
13,
9078,
63,
422,
8265,
4600,
3262,
10210,
31387,
63,
1695,
379,
25,
198,
220,
220,
220,
2638,
1378,
3262,
66,
7568,
19,
12,
29412,
13,
13297,
8189,
13,
785,
628,
220,
220,
220,
21066,
198,
220,
220,
220,
24200,
198,
220,
220,
220,
1303,
2773,
25504,
286,
4818,
8079,
466,
407,
1104,
4633,
812,
198,
220,
220,
220,
13163,
1330,
4818,
8079,
198,
220,
220,
220,
13163,
611,
4818,
8079,
13,
23678,
56,
17133,
1875,
657,
25,
198,
220,
220,
220,
2644,
220,
220,
220,
220,
3601,
10786,
464,
5288,
614,
287,
534,
4818,
8079,
7822,
318,
46083,
4818,
8079,
13,
23678,
56,
17133,
8,
198,
220,
220,
220,
2644,
220,
220,
220,
220,
3601,
10786,
72,
13,
68,
13,
340,
857,
407,
1104,
4633,
812,
357,
2749,
737,
11537,
198,
220,
220,
220,
383,
5288,
614,
287,
534,
4818,
8079,
7822,
318,
220,
352,
198,
220,
220,
220,
1312,
13,
68,
13,
340,
857,
407,
1104,
4633,
812,
357,
2749,
737,
628,
220,
220,
220,
13163,
611,
4818,
8079,
13,
23678,
56,
17133,
1875,
657,
25,
198,
220,
220,
220,
2644,
220,
220,
220,
220,
614,
220,
220,
796,
45941,
13,
18747,
26933,
11024,
11,
1248,
940,
11,
1467,
1270,
11,
1315,
940,
11,
1105,
4869,
11,
718,
1129,
11,
362,
11,
352,
12962,
198,
220,
220,
220,
2644,
2073,
25,
198,
220,
220,
220,
2644,
220,
220,
220,
220,
614,
220,
220,
796,
45941,
13,
18747,
26933,
11024,
11,
1248,
940,
11,
1467,
1270,
11,
1315,
940,
11,
1105,
4869,
11,
718,
1129,
11,
532,
1314,
3720,
11,
532,
2857,
1065,
12962,
198,
220,
220,
220,
13163,
1227,
220,
796,
45941,
13,
18747,
26933,
16,
11,
604,
11,
767,
11,
860,
11,
513,
11,
807,
11,
807,
11,
352,
12962,
198,
220,
220,
220,
13163,
1110,
220,
220,
220,
796,
45941,
13,
18747,
26933,
20,
11,
1987,
11,
1315,
11,
1160,
11,
1248,
11,
2681,
11,
2242,
11,
352,
12962,
198,
220,
220,
220,
13163,
1711,
220,
220,
796,
45941,
13,
18747,
26933,
1065,
11,
1467,
11,
838,
11,
1478,
11,
678,
11,
1367,
11,
1160,
11,
1105,
12962,
198,
220,
220,
220,
13163,
5664,
796,
45941,
13,
18747,
26933,
1270,
11,
1315,
11,
1160,
11,
3439,
11,
6073,
11,
807,
11,
513,
11,
657,
12962,
198,
220,
220,
220,
13163,
1218,
796,
45941,
13,
18747,
26933,
1314,
11,
838,
11,
2319,
11,
2026,
11,
4974,
11,
5214,
11,
6073,
11,
657,
12962,
198,
220,
220,
220,
13163,
32465,
796,
3128,
17,
12501,
7,
9948,
9239,
796,
705,
20307,
3256,
42635,
28,
1941,
11,
6941,
28,
8424,
11,
20268,
28,
820,
11,
39436,
28,
9769,
11,
21504,
28,
11374,
11,
629,
28,
12227,
8,
198,
220,
220,
220,
13163,
299,
77,
796,
614,
13,
7857,
198,
220,
220,
220,
13163,
3601,
10786,
90,
25,
13,
1415,
68,
92,
46110,
13,
1415,
68,
92,
46110,
13,
1415,
68,
92,
46110,
13,
1415,
68,
92,
4458,
18982,
46491,
12501,
4402,
58,
25,
20471,
1003,
17,
60,
4008,
198,
220,
220,
220,
362,
13,
2231,
1314,
31503,
2481,
405,
37381,
68,
10,
3312,
362,
13,
2548,
1828,
5237,
22413,
19104,
2998,
68,
10,
3312,
362,
13,
33400,
8054,
24,
3132,
29159,
4309,
68,
10,
3312,
362,
13,
1983,
2078,
2780,
940,
6469,
1558,
3270,
68,
10,
3312,
198,
220,
220,
220,
13163,
3601,
10786,
90,
25,
13,
1415,
68,
92,
46110,
13,
1415,
68,
92,
4458,
18982,
46491,
12501,
4402,
58,
20471,
1003,
17,
25,
20471,
12,
17,
60,
4008,
198,
220,
220,
220,
362,
13,
21652,
2623,
4790,
1238,
4310,
28872,
68,
10,
3312,
352,
13,
24,
2857,
2548,
3270,
2414,
34125,
1485,
68,
10,
3312,
198,
220,
220,
220,
13163,
32465,
796,
3128,
17,
12501,
7,
9948,
9239,
11639,
20307,
3256,
42635,
28,
1941,
11,
6941,
28,
21,
11,
20268,
28,
1314,
11,
39436,
28,
1065,
11,
21504,
28,
11374,
11,
629,
28,
12227,
8,
198,
220,
220,
220,
13163,
3601,
10786,
90,
25,
13,
1415,
68,
92,
46110,
13,
1415,
68,
92,
46110,
13,
1415,
68,
92,
46110,
13,
1415,
68,
92,
4458,
18982,
46491,
12501,
4402,
58,
25,
20471,
1003,
17,
60,
4008,
198,
220,
220,
220,
362,
13,
2231,
1558,
11442,
2481,
405,
37381,
68,
10,
3312,
362,
13,
2548,
1954,
1415,
486,
2713,
18,
28872,
68,
10,
3312,
362,
13,
33400,
3553,
8784,
40064,
21652,
68,
10,
3312,
362,
13,
1983,
23195,
35500,
40353,
2075,
68,
10,
3312,
198,
220,
220,
220,
13163,
3601,
10786,
90,
25,
13,
1415,
68,
92,
46110,
13,
1415,
68,
92,
4458,
18982,
46491,
12501,
4402,
58,
20471,
1003,
17,
25,
20471,
12,
17,
60,
4008,
198,
220,
220,
220,
362,
13,
21652,
2231,
1899,
25270,
2996,
4524,
68,
10,
3312,
352,
13,
24,
2857,
25838,
405,
3270,
5999,
1795,
68,
10,
3312,
628,
220,
220,
220,
1303,
355,
979,
72,
5128,
198,
220,
220,
220,
13163,
611,
4818,
8079,
13,
23678,
56,
17133,
1875,
657,
25,
198,
220,
220,
220,
2644,
220,
220,
220,
220,
257,
796,
45941,
13,
18747,
7,
17816,
2713,
13,
486,
13,
11024,
1105,
25,
1270,
25,
1314,
3256,
705,
1731,
13,
3023,
13,
1507,
940,
1467,
25,
1314,
25,
940,
3256,
705,
1314,
13,
2998,
13,
1433,
1270,
838,
25,
1238,
25,
1821,
3256,
705,
1238,
13,
2931,
13,
1314,
940,
1478,
25,
2327,
25,
1120,
3256,
198,
220,
220,
220,
2644,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1507,
13,
3070,
13,
1065,
4869,
678,
25,
3901,
25,
2682,
3256,
705,
1983,
13,
2919,
13,
718,
1129,
1367,
25,
2919,
25,
2718,
3256,
705,
1954,
13,
2919,
13,
34215,
1160,
25,
3070,
25,
3901,
3256,
705,
486,
13,
486,
13,
18005,
1105,
25,
405,
25,
405,
6,
12962,
198,
220,
220,
220,
2644,
2073,
25,
198,
220,
220,
220,
2644,
220,
220,
220,
220,
257,
796,
45941,
13,
18747,
7,
17816,
2713,
13,
486,
13,
11024,
1105,
25,
1270,
25,
1314,
3256,
705,
1731,
13,
3023,
13,
1507,
940,
1467,
25,
1314,
25,
940,
3256,
705,
1314,
13,
2998,
13,
1433,
1270,
838,
25,
1238,
25,
1821,
3256,
220,
705,
1238,
13,
2931,
13,
1314,
940,
1478,
25,
2327,
25,
1120,
3256,
198,
220,
220,
220,
2644,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1507,
13,
3070,
13,
1065,
4869,
678,
25,
3901,
25,
2682,
3256,
705,
1983,
13,
2919,
13,
718,
1129,
1367,
25,
2919,
25,
2718,
3256,
705,
1954,
13,
2919,
7874,
1314,
3720,
1160,
25,
3070,
25,
3901,
3256,
705,
486,
13,
486,
7874,
2857,
1065,
1105,
25,
405,
25,
405,
6,
12962,
198,
220,
220,
220,
13163,
32465,
796,
3128,
17,
12501,
7,
9948,
9239,
11639,
20307,
3256,
355,
979,
72,
28,
64,
8,
198,
220,
220,
220,
13163,
299,
77,
796,
257,
13,
7857,
198,
220,
220,
220,
13163,
3601,
10786,
90,
25,
13,
1415,
68,
92,
46110,
13,
1415,
68,
92,
46110,
13,
1415,
68,
92,
46110,
13,
1415,
68,
92,
4458,
18982,
46491,
12501,
4402,
58,
25,
20471,
1003,
17,
60,
4008,
198,
220,
220,
220,
362,
13,
2231,
1314,
31503,
2481,
405,
37381,
68,
10,
3312,
362,
13,
2548,
1828,
5237,
22413,
19104,
2998,
68,
10,
3312,
362,
13,
33400,
8054,
24,
3132,
29159,
4309,
68,
10,
3312,
362,
13,
1983,
2078,
2780,
940,
6469,
1558,
3270,
68,
10,
3312,
198,
220,
220,
220,
13163,
3601,
10786,
90,
25,
13,
1415,
68,
92,
46110,
13,
1415,
68,
92,
4458,
18982,
46491,
12501,
4402,
58,
20471,
1003,
17,
25,
20471,
12,
17,
60,
4008,
198,
220,
220,
220,
362,
13,
21652,
2623,
4790,
1238,
4310,
28872,
68,
10,
3312,
352,
13,
24,
2857,
2548,
3270,
2414,
34125,
1485,
68,
10,
3312,
628,
220,
220,
220,
1303,
11845,
796,
705,
73,
377,
666,
6,
198,
220,
220,
220,
13163,
32465,
796,
3128,
17,
12501,
7,
9948,
9239,
11639,
73,
377,
666,
3256,
355,
979,
72,
28,
64,
8,
198,
220,
220,
220,
13163,
3601,
10786,
90,
25,
13,
1415,
68,
92,
46110,
13,
1415,
68,
92,
46110,
13,
1415,
68,
92,
46110,
13,
1415,
68,
92,
4458,
18982,
46491,
12501,
4402,
58,
25,
20471,
1003,
17,
60,
4008,
198,
220,
220,
220,
362,
13,
2231,
21599,
1238,
2481,
405,
37381,
68,
10,
3312,
362,
13,
2548,
1828,
4524,
22413,
19104,
2998,
68,
10,
3312,
362,
13,
18,
23055,
14454,
3132,
29159,
4309,
68,
10,
3312,
362,
13,
1983,
2078,
2780,
940,
6469,
1558,
3270,
68,
10,
3312,
198,
220,
220,
220,
13163,
3601,
10786,
90,
25,
13,
1415,
68,
92,
46110,
13,
1415,
68,
92,
4458,
18982,
46491,
12501,
4402,
58,
20471,
1003,
17,
25,
20471,
12,
17,
60,
4008,
198,
220,
220,
220,
362,
13,
21652,
2623,
4790,
1238,
4310,
28872,
68,
10,
3312,
352,
13,
24,
2857,
2548,
3270,
2414,
34125,
1485,
68,
10,
3312,
628,
220,
220,
220,
1303,
11845,
796,
705,
1676,
293,
17459,
62,
9903,
22618,
6,
198,
220,
220,
220,
13163,
32465,
796,
3128,
17,
12501,
7,
9948,
9239,
11639,
1676,
293,
17459,
62,
9903,
22618,
3256,
355,
979,
72,
28,
64,
8,
198,
220,
220,
220,
13163,
3601,
10786,
90,
25,
13,
22,
69,
92,
46110,
13,
22,
69,
92,
46110,
13,
22,
69,
92,
46110,
13,
22,
69,
92,
4458,
18982,
46491,
12501,
4402,
58,
25,
20471,
1003,
17,
60,
4008,
198,
220,
220,
220,
8854,
486,
1954,
13,
20,
2481,
405,
3388,
718,
28688,
2623,
13,
40179,
24529,
642,
3865,
17430,
13,
50080,
486,
5332,
5996,
1415,
1065,
13,
1899,
6469,
24096,
198,
220,
220,
220,
13163,
3601,
10786,
90,
25,
13,
22,
69,
92,
46110,
13,
22,
69,
92,
4458,
18982,
46491,
12501,
4402,
58,
20471,
1003,
17,
25,
20471,
12,
17,
60,
4008,
198,
220,
220,
220,
6337,
2670,
2682,
13,
41739,
4310,
1731,
18500,
24,
3553,
13,
19,
41813,
27192,
628,
220,
220,
220,
1303,
11845,
796,
705,
1069,
5276,
48104,
6,
13315,
409,
7015,
81,
28,
17821,
4613,
21489,
3177,
355,
16470,
614,
198,
220,
220,
220,
13163,
288,
796,
45941,
13,
18747,
7,
17816,
2713,
13,
486,
13,
11024,
1105,
25,
1270,
25,
1314,
3256,
705,
1983,
13,
2713,
13,
42751,
1467,
25,
1495,
25,
940,
3256,
705,
1485,
13,
2919,
13,
1129,
940,
838,
25,
1821,
25,
2816,
3256,
198,
220,
220,
220,
2644,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
486,
13,
3070,
13,
48104,
3571,
25,
405,
25,
405,
3256,
705,
1959,
13,
2999,
13,
48104,
3571,
25,
405,
25,
405,
3256,
705,
2078,
13,
2999,
13,
48104,
3571,
25,
405,
25,
405,
3256,
198,
220,
220,
220,
2644,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
486,
13,
486,
13,
48104,
3571,
25,
405,
25,
405,
6,
12962,
198,
220,
220,
220,
13163,
32465,
796,
3128,
17,
12501,
7,
9948,
9239,
11639,
1069,
5276,
48104,
3256,
355,
979,
72,
28,
67,
8,
198,
220,
220,
220,
13163,
299,
77,
796,
288,
13,
7857,
198,
220,
220,
220,
13163,
3601,
10786,
90,
25,
13,
22,
69,
92,
46110,
13,
22,
69,
92,
46110,
13,
22,
69,
92,
4458,
18982,
46491,
12501,
4402,
58,
25,
20471,
1003,
17,
60,
4008,
198,
220,
220,
220,
21268,
1270,
13,
20,
2481,
405,
3388,
28598,
940,
13,
3104,
37309,
2327,
4353,
3695,
13,
2598,
33042,
940,
198,
220,
220,
220,
13163,
3601,
10786,
90,
25,
13,
16,
69,
92,
46110,
13,
16,
69,
92,
46110,
13,
16,
69,
92,
46110,
13,
16,
69,
92,
4458,
18982,
46491,
12501,
4402,
58,
20471,
1003,
17,
47715,
4008,
198,
220,
220,
220,
8454,
13,
15,
3126,
13,
15,
7863,
13,
15,
352,
13,
15,
628,
220,
220,
220,
1303,
11845,
796,
705,
1069,
5276,
48104,
6,
13315,
409,
7015,
81,
796,
10352,
4613,
21489,
318,
8005,
16470,
614,
198,
220,
220,
220,
13163,
32465,
796,
3128,
17,
12501,
7,
9948,
9239,
11639,
1069,
5276,
48104,
3256,
355,
979,
72,
28,
67,
11,
409,
7015,
81,
28,
25101,
8,
198,
220,
220,
220,
13163,
3601,
10786,
90,
25,
13,
22,
69,
92,
46110,
13,
22,
69,
92,
46110,
13,
22,
69,
92,
4458,
18982,
46491,
12501,
4402,
58,
25,
20471,
1003,
17,
60,
4008,
198,
220,
220,
220,
21268,
1959,
13,
20,
2481,
405,
3388,
1248,
29416,
13,
3104,
37309,
2327,
4353,
3324,
13,
2598,
33042,
940,
198,
220,
220,
220,
13163,
3601,
10786,
90,
25,
13,
16,
69,
92,
46110,
13,
16,
69,
92,
46110,
13,
16,
69,
92,
46110,
13,
16,
69,
92,
4458,
18982,
46491,
12501,
4402,
58,
20471,
1003,
17,
47715,
4008,
198,
220,
220,
220,
3126,
13,
15,
3126,
13,
15,
7863,
13,
15,
352,
13,
15,
628,
220,
220,
220,
1303,
11845,
796,
705,
1069,
5276,
1129,
3023,
6,
198,
220,
220,
220,
13163,
32465,
796,
3128,
17,
12501,
7,
9948,
9239,
11639,
1069,
5276,
1129,
3023,
3256,
355,
979,
72,
28,
67,
58,
25,
20471,
1003,
17,
12962,
198,
220,
220,
220,
13163,
3601,
10786,
90,
25,
13,
22,
69,
92,
46110,
13,
22,
69,
92,
46110,
13,
22,
69,
92,
4458,
18982,
46491,
12501,
4402,
58,
25,
20471,
1003,
17,
60,
4008,
198,
220,
220,
220,
13803,
3388,
13,
20,
2481,
405,
3388,
27191,
2920,
13,
3104,
37309,
2327,
1987,
1558,
13,
2598,
33042,
940,
628,
220,
220,
220,
1303,
11845,
796,
705,
24760,
62,
820,
6,
198,
220,
220,
220,
13163,
308,
796,
45941,
13,
18747,
7,
17816,
1507,
13,
2919,
13,
41023,
1105,
25,
1270,
25,
1314,
3256,
705,
1495,
13,
940,
13,
2931,
4521,
1105,
25,
1270,
25,
1314,
3256,
705,
2078,
13,
1157,
13,
15,
43134,
2534,
25,
1238,
25,
1821,
3256,
705,
486,
13,
486,
13,
18005,
3571,
25,
405,
25,
405,
6,
12962,
198,
220,
220,
220,
13163,
32465,
796,
3128,
17,
12501,
7,
9948,
9239,
11639,
24760,
62,
820,
3256,
355,
979,
72,
28,
70,
8,
198,
220,
220,
220,
13163,
299,
77,
796,
308,
13,
7857,
198,
220,
220,
220,
13163,
3601,
10786,
90,
25,
13,
22,
69,
92,
46110,
13,
22,
69,
92,
46110,
13,
22,
69,
92,
46110,
13,
22,
69,
92,
4458,
18982,
46491,
12501,
4402,
58,
25,
20471,
60,
4008,
198,
220,
220,
220,
767,
1129,
29173,
13,
20,
2481,
405,
3388,
513,
41292,
1828,
13,
20,
2481,
405,
3388,
1596,
2079,
1157,
13,
24,
3132,
486,
5332,
657,
13,
24598,
628,
220,
220,
220,
1303,
11845,
796,
705,
32459,
62,
820,
6,
198,
220,
220,
220,
13163,
32465,
796,
3128,
17,
12501,
7,
9948,
9239,
11639,
32459,
62,
820,
3256,
355,
979,
72,
28,
70,
8,
198,
220,
220,
220,
13163,
3601,
10786,
90,
25,
13,
22,
69,
92,
46110,
13,
22,
69,
92,
46110,
13,
22,
69,
92,
46110,
13,
22,
69,
92,
4458,
18982,
46491,
12501,
4402,
58,
25,
20471,
60,
4008,
198,
220,
220,
220,
7724,
1433,
1433,
13,
20,
2481,
405,
3388,
11470,
28362,
13,
20,
2481,
405,
3388,
11546,
26429,
13,
24,
3132,
486,
5332,
657,
13,
24598,
628,
220,
220,
220,
1303,
11470,
62,
820,
857,
407,
670,
351,
2010,
10210,
31387,
13,
9078,
2196,
4961,
393,
2174,
657,
13,
24,
13,
17,
198,
220,
220,
220,
1303,
11845,
796,
705,
15277,
62,
820,
6,
198,
220,
220,
220,
13163,
32465,
796,
3128,
17,
12501,
7,
9948,
9239,
11639,
15277,
62,
820,
3256,
355,
979,
72,
28,
70,
8,
198,
220,
220,
220,
13163,
3601,
10786,
90,
25,
13,
22,
69,
92,
46110,
13,
22,
69,
92,
46110,
13,
22,
69,
92,
46110,
13,
22,
69,
92,
4458,
18982,
46491,
12501,
4402,
58,
25,
20471,
60,
4008,
198,
220,
220,
220,
767,
2931,
41019,
13,
20,
2481,
405,
3388,
3439,
2780,
5824,
13,
20,
2481,
405,
3388,
26607,
34825,
13,
24,
3132,
486,
5332,
657,
13,
24598,
628,
220,
220,
220,
13163,
3601,
10786,
90,
25,
13,
22,
69,
92,
4458,
18982,
7,
4475,
17,
12501,
7,
2417,
28,
23847,
11,
6941,
28,
16,
11,
20268,
28,
2075,
11,
39436,
28,
17,
11,
21504,
28,
15,
11,
629,
28,
15,
11,
11845,
11639,
12501,
4402,
6,
22305,
198,
220,
220,
220,
9768,
13,
15,
35978,
31496,
198,
220,
220,
220,
13163,
3601,
10786,
90,
25,
13,
22,
69,
92,
4458,
18982,
7,
4475,
17,
12501,
7,
292,
979,
72,
11639,
2075,
13,
486,
13,
23847,
7816,
25,
405,
3256,
11845,
11639,
12501,
4402,
15277,
6,
22305,
198,
220,
220,
220,
9768,
13,
3312,
4846,
38314,
198,
220,
220,
220,
13163,
3601,
10786,
90,
25,
13,
22,
69,
92,
46110,
13,
22,
69,
92,
4458,
18982,
46491,
4475,
17,
12501,
7,
292,
979,
72,
28,
17816,
2075,
13,
486,
13,
23847,
7816,
25,
405,
41707,
2075,
13,
486,
13,
23847,
7816,
25,
405,
6,
4357,
11845,
11639,
12501,
4402,
15277,
6,
22305,
198,
220,
220,
220,
9768,
13,
3312,
4846,
38314,
9768,
13,
3312,
4846,
38314,
198,
220,
220,
220,
13163,
3601,
10786,
90,
25,
13,
22,
69,
92,
46110,
13,
22,
69,
92,
4458,
18982,
46491,
4475,
17,
12501,
7,
2417,
41888,
23847,
11,
23847,
4357,
6941,
28,
16,
11,
20268,
28,
2075,
11,
39436,
28,
17,
11,
21504,
28,
15,
11,
629,
28,
15,
11,
11845,
11639,
12501,
4402,
15277,
6,
22305,
198,
220,
220,
220,
9768,
13,
3312,
4846,
38314,
9768,
13,
3312,
4846,
38314,
198,
220,
220,
220,
13163,
3601,
10786,
90,
25,
13,
22,
69,
92,
46110,
13,
22,
69,
92,
4458,
18982,
46491,
4475,
17,
12501,
7,
2417,
28,
37659,
13,
18747,
26933,
23847,
11,
23847,
46570,
6941,
28,
16,
11,
20268,
28,
2075,
11,
39436,
28,
17,
11,
21504,
28,
15,
11,
629,
28,
15,
11,
11845,
11639,
12501,
4402,
15277,
6,
22305,
198,
220,
220,
220,
9768,
13,
3312,
4846,
38314,
9768,
13,
3312,
4846,
38314,
198,
220,
220,
220,
13163,
32465,
796,
3128,
17,
12501,
7,
292,
979,
72,
41888,
17816,
2075,
13,
486,
13,
23847,
7816,
25,
405,
41707,
2075,
13,
486,
13,
23847,
7816,
25,
405,
6,
4357,
198,
220,
220,
220,
2644,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37250,
2075,
13,
486,
13,
23847,
7816,
25,
405,
41707,
2075,
13,
486,
13,
23847,
7816,
25,
405,
6,
4357,
198,
220,
220,
220,
2644,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37250,
2075,
13,
486,
13,
23847,
7816,
25,
405,
41707,
2075,
13,
486,
13,
23847,
7816,
25,
405,
20520,
4357,
198,
220,
220,
220,
2644,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11845,
11639,
12501,
4402,
15277,
11537,
198,
220,
220,
220,
13163,
3601,
10786,
90,
25,
13,
22,
69,
92,
46110,
13,
22,
69,
92,
4458,
18982,
46491,
12501,
4402,
58,
15,
60,
4008,
198,
220,
220,
220,
9768,
13,
3312,
4846,
38314,
9768,
13,
3312,
4846,
38314,
198,
220,
220,
220,
13163,
3601,
10786,
90,
25,
13,
22,
69,
92,
46110,
13,
22,
69,
92,
4458,
18982,
46491,
12501,
4402,
58,
17,
60,
4008,
198,
220,
220,
220,
9768,
13,
3312,
4846,
38314,
9768,
13,
3312,
4846,
38314,
198,
220,
220,
220,
13163,
3601,
19510,
4475,
17,
12501,
7,
292,
979,
72,
11639,
486,
13,
3070,
13,
16088,
3571,
25,
405,
25,
405,
11537,
532,
3128,
17,
12501,
7,
292,
979,
72,
11639,
486,
13,
3070,
13,
16088,
6,
4008,
6624,
657,
2014,
198,
220,
220,
220,
6407,
628,
220,
220,
220,
1303,
551,
198,
220,
220,
220,
13163,
32465,
796,
3128,
17,
12501,
7,
268,
11639,
23847,
12,
486,
12,
2075,
7816,
25,
405,
3256,
11845,
11639,
12501,
4402,
15277,
11537,
198,
220,
220,
220,
13163,
3601,
10786,
90,
25,
13,
22,
69,
92,
4458,
18982,
7,
12501,
4402,
4008,
198,
220,
220,
220,
9768,
13,
3312,
4846,
38314,
198,
220,
220,
220,
13163,
32465,
796,
3128,
17,
12501,
7,
1516,
11639,
23847,
12,
486,
12,
2075,
7816,
25,
405,
3256,
11845,
11639,
12501,
4402,
15277,
11537,
198,
220,
220,
220,
13163,
3601,
10786,
90,
25,
13,
22,
69,
92,
4458,
18982,
7,
12501,
4402,
4008,
198,
220,
220,
220,
9768,
13,
3312,
4846,
38314,
628,
220,
220,
220,
7443,
198,
220,
220,
220,
35656,
198,
220,
220,
220,
22503,
220,
943,
358,
83,
13993,
323,
6814,
11,
7653,
3050,
198,
220,
220,
220,
40499,
45524,
4448,
327,
2797,
89,
11,
3158,
2321,
532,
1439,
5128,
460,
307,
16578,
283,
11,
1351,
393,
7177,
11,
635,
257,
5022,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
32068,
8794,
329,
4577,
7552,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
32465,
11,
32465,
15277,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45524,
4448,
327,
2797,
89,
11,
4280,
2321,
532,
1487,
4326,
286,
386,
293,
17459,
62,
9903,
22618,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
422,
705,
12545,
1201,
3571,
486,
12,
486,
12,
486,
3571,
25,
405,
25,
405,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
284,
220,
220,
705,
12545,
1201,
3571,
486,
12,
486,
12,
405,
3571,
25,
405,
25,
405,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45524,
4448,
327,
2797,
89,
11,
3158,
2211,
532,
16019,
24134,
16470,
614,
1917,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45524,
4448,
327,
2797,
89,
11,
3158,
2211,
532,
49702,
284,
11361,
513,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45524,
4448,
327,
2797,
89,
11,
5979,
2211,
532,
355,
979,
72,
14,
1516,
1231,
640,
26235,
284,
3571,
25,
405,
25,
405,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45524,
4448,
327,
2797,
89,
11,
2556,
2211,
532,
24134,
4940,
379,
352,
407,
379,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45524,
4448,
327,
2797,
89,
11,
2556,
2211,
532,
4991,
11316,
11,
304,
13,
70,
13,
5534,
13,
486,
13,
18005,
373,
3293,
20216,
611,
18322,
11845,
772,
351,
4991,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45524,
4448,
327,
2797,
89,
11,
5267,
2211,
532,
4615,
49332,
286,
640,
3513,
878,
640,
2198,
287,
1786,
21179,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45524,
4448,
327,
2797,
89,
11,
7653,
1853,
532,
16573,
284,
649,
2010,
34,
8068,
19,
14,
3262,
10210,
31387,
45160,
28,
410,
16,
13,
15,
8,
290,
4818,
8079,
45160,
28,
11361,
410,
17,
13,
22,
13,
24,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45524,
4448,
327,
2797,
89,
11,
2556,
1853,
532,
869,
3128,
17,
22510,
351,
1351,
2427,
286,
2060,
2010,
34,
8068,
19,
13,
19608,
8079,
5563,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45524,
4448,
327,
2797,
89,
11,
2556,
1584,
532,
2010,
10210,
31387,
2810,
772,
351,
2010,
34,
8068,
19,
1875,
352,
13,
15,
13,
15,
26,
787,
6941,
329,
1933,
1464,
18253,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45524,
4448,
327,
2797,
89,
11,
5267,
1584,
532,
3571,
11,
5534,
11,
3503,
13,
329,
37014,
407,
6292,
416,
11361,
18,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45524,
4448,
327,
2797,
89,
11,
1737,
12131,
532,
299,
32152,
2205,
8841,
5794,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45524,
4448,
327,
2797,
89,
11,
5979,
12131,
532,
551,
329,
1786,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45524,
4448,
327,
2797,
89,
11,
5979,
12131,
532,
779,
386,
293,
17459,
62,
9903,
22618,
329,
24134,
9667,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45524,
4448,
327,
2797,
89,
11,
1737,
33448,
532,
42721,
45941,
13,
600,
290,
45941,
13,
22468,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
357,
28177,
8,
781,
539,
23,
11670,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
1303,
47719,
198,
220,
220,
220,
50215,
796,
37250,
20307,
3256,
705,
9903,
22618,
3256,
705,
73,
377,
666,
3256,
705,
1676,
293,
17459,
62,
9903,
22618,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1069,
5276,
48104,
3256,
705,
1069,
5276,
1129,
3023,
3256,
705,
24760,
62,
820,
3256,
705,
77,
2305,
499,
3256,
705,
32459,
62,
820,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
439,
62,
293,
499,
3256,
705,
15277,
62,
820,
3256,
705,
12501,
4402,
3256,
705,
12501,
4402,
15277,
20520,
198,
220,
220,
220,
1303,
751,
1310,
304,
862,
33576,
284,
474,
377,
666,
9667,
329,
1365,
8195,
9641,
198,
220,
220,
220,
285,
2261,
862,
796,
45941,
13,
69,
10951,
7,
22468,
737,
25386,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1330,
269,
31387,
355,
299,
83,
198,
220,
220,
220,
220,
220,
220,
220,
611,
357,
429,
13,
834,
9641,
834,
19841,
705,
16,
13,
15,
13,
19,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
285,
2261,
862,
796,
657,
13,
220,
1303,
878,
352,
13,
15,
13,
20,
11,
269,
31387,
973,
304,
862,
198,
220,
220,
220,
2845,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1330,
2010,
34,
8068,
19,
355,
299,
83,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
256,
301,
796,
299,
83,
13,
4475,
17,
22510,
198,
220,
220,
220,
220,
220,
220,
220,
256,
301,
796,
299,
83,
13,
19608,
8079,
198,
220,
220,
220,
2845,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1330,
2010,
10210,
31387,
355,
299,
83,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
14808,
429,
13,
834,
9641,
834,
19841,
705,
15,
13,
24,
13,
17,
11537,
1222,
357,
9948,
9239,
6624,
705,
15277,
62,
820,
11537,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
11052,
12331,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
4475,
17,
12501,
4049,
25,
3406,
2196,
286,
2010,
10210,
31387,
13,
9078,
318,
4961,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
393,
2174,
657,
13,
24,
13,
17,
13,
383,
11470,
62,
820,
11845,
857,
407,
670,
351,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
26515,
994,
13,
4222,
4321,
257,
15064,
530,
19570,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
17267,
12331,
10786,
23722,
407,
5004,
2010,
66,
7568,
640,
5888,
2637,
8,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
11845,
796,
11845,
13,
21037,
3419,
198,
220,
220,
220,
611,
357,
9948,
9239,
407,
287,
50215,
2599,
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,
4475,
17,
12501,
4049,
25,
28843,
11845,
2474,
1343,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
17489,
25,
366,
1343,
705,
4458,
22179,
26933,
72,
1343,
705,
705,
329,
1312,
287,
50215,
60,
4008,
198,
220,
220,
220,
1303,
26533,
1786,
198,
220,
220,
220,
611,
357,
1516,
318,
407,
6045,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
611,
357,
268,
318,
407,
6045,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
11052,
12331,
7203,
4475,
17,
12501,
4049,
25,
705,
1516,
6,
373,
14131,
416,
705,
268,
4458,
5514,
530,
460,
307,
1813,
19570,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
551,
796,
1786,
198,
220,
220,
220,
1303,
611,
355,
979,
72,
5128,
318,
1813,
416,
2836,
11,
584,
5128,
481,
307,
24007,
198,
220,
220,
220,
1303,
17952,
286,
5128,
2546,
290,
5485,
198,
220,
220,
220,
611,
357,
292,
979,
72,
318,
407,
6045,
8,
290,
357,
268,
318,
407,
6045,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
11052,
12331,
7203,
4475,
17,
12501,
4049,
25,
705,
292,
979,
72,
6,
290,
705,
268,
6,
26519,
8568,
4943,
198,
220,
220,
220,
611,
357,
292,
979,
72,
318,
407,
6045,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
318,
4868,
796,
2099,
7,
292,
979,
72,
8,
14512,
2099,
7,
37659,
13,
18747,
7,
292,
979,
72,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
318,
3258,
796,
45941,
13,
358,
320,
7,
292,
979,
72,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
357,
3044,
396,
1222,
357,
271,
3258,
1875,
362,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
11052,
12331,
7203,
4475,
17,
12501,
4049,
25,
355,
979,
72,
5128,
318,
1351,
1875,
362,
35,
26,
5765,
7177,
5128,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
3258,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
355,
979,
72,
796,
45941,
13,
18747,
26933,
292,
979,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
355,
979,
72,
796,
45941,
13,
18747,
7,
292,
979,
72,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1035,
1096,
220,
220,
796,
355,
979,
72,
13,
7857,
198,
220,
220,
220,
220,
220,
220,
220,
503,
7857,
220,
796,
1035,
1096,
198,
220,
220,
220,
220,
220,
220,
220,
503,
43358,
796,
355,
979,
72,
13,
43358,
198,
220,
220,
220,
220,
220,
220,
220,
355,
979,
361,
75,
220,
796,
355,
979,
72,
13,
2704,
41769,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
640,
26801,
220,
796,
45941,
13,
9107,
418,
7,
1040,
1096,
11,
288,
4906,
28,
15252,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
49289,
286,
355,
979,
72,
13042,
284,
3494,
287,
4818,
8079,
2134,
13,
4814,
1661,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
481,
307,
900,
284,
657,
13,
198,
220,
220,
220,
220,
220,
220,
220,
42635,
796,
45941,
13,
9107,
418,
7,
1040,
1096,
11,
288,
4906,
28,
600,
8,
198,
220,
220,
220,
220,
220,
220,
220,
6941,
796,
45941,
13,
9107,
418,
7,
1040,
1096,
11,
288,
4906,
28,
600,
8,
198,
220,
220,
220,
220,
220,
220,
220,
20268,
796,
45941,
13,
9107,
418,
7,
1040,
1096,
11,
288,
4906,
28,
600,
8,
198,
220,
220,
220,
220,
220,
220,
220,
39436,
796,
45941,
13,
9107,
418,
7,
1040,
1096,
11,
288,
4906,
28,
600,
8,
198,
220,
220,
220,
220,
220,
220,
220,
21504,
796,
45941,
13,
9107,
418,
7,
1040,
1096,
11,
288,
4906,
28,
600,
8,
198,
220,
220,
220,
220,
220,
220,
220,
629,
796,
45941,
13,
9107,
418,
7,
1040,
1096,
11,
288,
4906,
28,
600,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
2837,
7,
1040,
1096,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
64,
220,
220,
220,
220,
220,
796,
355,
979,
361,
75,
58,
72,
4083,
35312,
10786,
2637,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20268,
58,
72,
60,
220,
220,
796,
493,
7,
7252,
58,
15,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6941,
58,
72,
60,
220,
220,
796,
493,
7,
7252,
58,
16,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7894,
220,
220,
220,
796,
257,
64,
58,
17,
4083,
35312,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42635,
58,
72,
60,
220,
220,
796,
493,
7,
13199,
58,
15,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
13199,
8,
1875,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4628,
220,
220,
220,
220,
796,
7894,
58,
16,
4083,
35312,
7,
10354,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
39436,
58,
72,
60,
220,
220,
796,
493,
7,
16514,
58,
15,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
16514,
8,
1875,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21504,
58,
72,
60,
796,
493,
7,
16514,
58,
16,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21504,
58,
72,
60,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
16514,
8,
1875,
362,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
629,
58,
72,
60,
796,
493,
7,
16514,
58,
17,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
629,
58,
72,
60,
796,
657,
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,
39436,
58,
72,
60,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21504,
58,
72,
60,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
629,
58,
72,
60,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
14808,
2417,
58,
72,
60,
6624,
21489,
8,
1222,
357,
5908,
58,
72,
60,
6624,
362,
8,
1222,
357,
9892,
58,
72,
60,
6624,
2808,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
640,
26801,
58,
72,
60,
796,
299,
83,
13,
19608,
8079,
7,
2417,
58,
72,
4357,
513,
11,
352,
11,
39436,
58,
72,
4357,
21504,
58,
72,
4357,
629,
58,
72,
12962,
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,
640,
26801,
58,
72,
60,
796,
299,
83,
13,
19608,
8079,
7,
2417,
58,
72,
4357,
6941,
58,
72,
4357,
20268,
58,
72,
4357,
39436,
58,
72,
4357,
21504,
58,
72,
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,
629,
58,
72,
12962,
198,
220,
220,
220,
611,
357,
268,
318,
407,
6045,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
318,
4868,
796,
2099,
7,
268,
8,
14512,
2099,
7,
37659,
13,
18747,
7,
268,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
318,
3258,
220,
796,
45941,
13,
358,
320,
7,
268,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
3258,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
551,
796,
45941,
13,
18747,
26933,
268,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
551,
796,
45941,
13,
18747,
7,
268,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
357,
3044,
396,
1222,
357,
271,
3258,
1875,
362,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
11052,
12331,
7203,
4475,
17,
12501,
4049,
25,
551,
5128,
318,
1351,
1875,
362,
35,
26,
5765,
7177,
5128,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
551,
796,
45941,
13,
18747,
7,
268,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1035,
1096,
220,
220,
796,
551,
13,
7857,
198,
220,
220,
220,
220,
220,
220,
220,
503,
7857,
220,
796,
1035,
1096,
198,
220,
220,
220,
220,
220,
220,
220,
503,
43358,
796,
551,
13,
43358,
198,
220,
220,
220,
220,
220,
220,
220,
551,
2704,
220,
220,
220,
220,
796,
551,
13,
2704,
41769,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
640,
26801,
220,
796,
45941,
13,
9107,
418,
7,
1040,
1096,
11,
288,
4906,
28,
15252,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
49289,
286,
551,
13042,
284,
3494,
287,
4818,
8079,
2134,
13,
4814,
1661,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
481,
307,
900,
284,
657,
13,
198,
220,
220,
220,
220,
220,
220,
220,
42635,
796,
45941,
13,
9107,
418,
7,
1040,
1096,
11,
288,
4906,
28,
600,
8,
198,
220,
220,
220,
220,
220,
220,
220,
6941,
796,
45941,
13,
9107,
418,
7,
1040,
1096,
11,
288,
4906,
28,
600,
8,
198,
220,
220,
220,
220,
220,
220,
220,
20268,
796,
45941,
13,
9107,
418,
7,
1040,
1096,
11,
288,
4906,
28,
600,
8,
198,
220,
220,
220,
220,
220,
220,
220,
39436,
796,
45941,
13,
9107,
418,
7,
1040,
1096,
11,
288,
4906,
28,
600,
8,
198,
220,
220,
220,
220,
220,
220,
220,
21504,
796,
45941,
13,
9107,
418,
7,
1040,
1096,
11,
288,
4906,
28,
600,
8,
198,
220,
220,
220,
220,
220,
220,
220,
629,
796,
45941,
13,
9107,
418,
7,
1040,
1096,
11,
288,
4906,
28,
600,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
2837,
7,
1040,
1096,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
304,
68,
220,
220,
220,
220,
220,
796,
551,
2704,
58,
72,
4083,
35312,
10786,
12,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42635,
58,
72,
60,
220,
220,
796,
493,
7,
1453,
58,
15,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6941,
58,
72,
60,
220,
220,
796,
493,
7,
1453,
58,
16,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7894,
220,
220,
220,
796,
304,
68,
58,
17,
4083,
35312,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20268,
58,
72,
60,
220,
220,
796,
493,
7,
13199,
58,
15,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
13199,
8,
1875,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4628,
220,
220,
220,
220,
796,
7894,
58,
16,
4083,
35312,
7,
10354,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
39436,
58,
72,
60,
220,
220,
796,
493,
7,
16514,
58,
15,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
16514,
8,
1875,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21504,
58,
72,
60,
796,
493,
7,
16514,
58,
16,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21504,
58,
72,
60,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
16514,
8,
1875,
362,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
629,
58,
72,
60,
796,
493,
7,
16514,
58,
17,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
629,
58,
72,
60,
796,
657,
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,
39436,
58,
72,
60,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21504,
58,
72,
60,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
629,
58,
72,
60,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
14808,
2417,
58,
72,
60,
6624,
21489,
8,
1222,
357,
5908,
58,
72,
60,
6624,
362,
8,
1222,
357,
9892,
58,
72,
60,
6624,
2808,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
640,
26801,
58,
72,
60,
796,
299,
83,
13,
19608,
8079,
7,
2417,
58,
72,
4357,
513,
11,
352,
11,
39436,
58,
72,
4357,
21504,
58,
72,
4357,
629,
58,
72,
12962,
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,
640,
26801,
58,
72,
60,
796,
299,
83,
13,
19608,
8079,
7,
2417,
58,
72,
4357,
6941,
58,
72,
4357,
20268,
58,
72,
4357,
39436,
58,
72,
4357,
21504,
58,
72,
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,
629,
58,
72,
12962,
198,
220,
220,
220,
1303,
611,
645,
355,
979,
72,
5128,
11,
584,
17311,
481,
307,
1673,
3089,
198,
220,
220,
220,
1303,
17952,
286,
5128,
10620,
11,
15268,
290,
1271,
286,
16488,
198,
220,
220,
220,
611,
357,
292,
979,
72,
318,
6045,
8,
290,
357,
268,
318,
6045,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
2125,
4868,
16,
796,
2099,
7,
2417,
8,
6624,
2099,
7,
37659,
13,
18747,
7,
2417,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
318,
3258,
16,
220,
220,
796,
45941,
13,
358,
320,
7,
2417,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
3258,
16,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42635,
796,
45941,
13,
18747,
26933,
2417,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42635,
796,
45941,
13,
18747,
7,
2417,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2125,
4868,
17,
796,
2099,
7,
5908,
8,
6624,
2099,
7,
37659,
13,
18747,
7,
5908,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
318,
3258,
17,
220,
220,
796,
45941,
13,
358,
320,
7,
5908,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
3258,
17,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6941,
796,
45941,
13,
18747,
26933,
5908,
4357,
288,
4906,
28,
600,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6941,
796,
45941,
13,
18747,
7,
5908,
11,
288,
4906,
28,
600,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2125,
4868,
18,
796,
2099,
7,
9892,
8,
6624,
2099,
7,
37659,
13,
18747,
7,
9892,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
318,
3258,
18,
220,
220,
796,
45941,
13,
358,
320,
7,
9892,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
3258,
18,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20268,
796,
45941,
13,
18747,
26933,
9892,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20268,
796,
45941,
13,
18747,
7,
9892,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2125,
4868,
19,
796,
2099,
7,
11840,
8,
6624,
2099,
7,
37659,
13,
18747,
7,
11840,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
318,
3258,
19,
220,
220,
796,
45941,
13,
358,
320,
7,
11840,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
3258,
19,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
39436,
796,
45941,
13,
18747,
26933,
11840,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
39436,
796,
45941,
13,
18747,
7,
11840,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2125,
4868,
20,
796,
2099,
7,
11632,
8,
6624,
2099,
7,
37659,
13,
18747,
7,
11632,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
318,
3258,
20,
220,
220,
796,
45941,
13,
358,
320,
7,
11632,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
3258,
20,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21504,
796,
45941,
13,
18747,
26933,
11632,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21504,
796,
45941,
13,
18747,
7,
11632,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2125,
4868,
21,
796,
2099,
7,
1416,
8,
6624,
2099,
7,
37659,
13,
18747,
7,
1416,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
318,
3258,
21,
220,
220,
796,
45941,
13,
358,
320,
7,
1416,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
3258,
21,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
629,
796,
45941,
13,
18747,
26933,
1416,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
629,
796,
45941,
13,
18747,
7,
1416,
8,
198,
220,
220,
220,
220,
220,
220,
220,
318,
4868,
796,
407,
357,
271,
77,
4868,
16,
930,
2125,
4868,
17,
930,
2125,
4868,
18,
930,
2125,
4868,
19,
930,
2125,
4868,
20,
930,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2125,
4868,
21,
8,
198,
220,
220,
220,
220,
220,
220,
220,
318,
3258,
220,
796,
318,
3258,
16,
1343,
318,
3258,
17,
1343,
318,
3258,
18,
1343,
318,
3258,
19,
1343,
318,
3258,
20,
1343,
318,
3258,
21,
198,
220,
220,
220,
220,
220,
220,
220,
15268,
796,
685,
37659,
13,
43358,
7,
2417,
828,
45941,
13,
43358,
7,
5908,
828,
45941,
13,
43358,
7,
9892,
828,
45941,
13,
43358,
7,
11840,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45941,
13,
43358,
7,
11632,
828,
45941,
13,
43358,
7,
1416,
15437,
198,
220,
220,
220,
220,
220,
220,
220,
299,
2417,
220,
220,
220,
796,
45941,
13,
7857,
7,
2417,
8,
198,
220,
220,
220,
220,
220,
220,
220,
299,
5908,
220,
220,
220,
796,
45941,
13,
7857,
7,
5908,
8,
198,
220,
220,
220,
220,
220,
220,
220,
299,
9892,
220,
220,
220,
796,
45941,
13,
7857,
7,
9892,
8,
198,
220,
220,
220,
220,
220,
220,
220,
299,
11840,
220,
220,
220,
796,
45941,
13,
7857,
7,
11840,
8,
198,
220,
220,
220,
220,
220,
220,
220,
299,
11632,
220,
220,
220,
796,
45941,
13,
7857,
7,
11632,
8,
198,
220,
220,
220,
220,
220,
220,
220,
299,
1416,
220,
220,
220,
796,
45941,
13,
7857,
7,
1416,
8,
198,
220,
220,
220,
220,
220,
220,
220,
10620,
220,
796,
685,
77,
2417,
11,
299,
5908,
11,
299,
9892,
11,
299,
11840,
11,
299,
11632,
11,
299,
1416,
60,
198,
220,
220,
220,
220,
220,
220,
220,
299,
9806,
220,
220,
796,
45941,
13,
321,
897,
7,
82,
4340,
8,
198,
220,
220,
220,
220,
220,
220,
220,
21065,
220,
220,
220,
220,
796,
45941,
13,
853,
9806,
7,
82,
4340,
8,
198,
220,
220,
220,
220,
220,
220,
220,
503,
43358,
796,
15268,
58,
4178,
60,
198,
220,
220,
220,
220,
220,
220,
220,
611,
357,
3044,
396,
1222,
357,
37659,
13,
7857,
7,
448,
43358,
8,
1875,
362,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
11052,
12331,
7203,
4475,
17,
12501,
4049,
25,
5128,
318,
1351,
1875,
362,
35,
26,
5765,
7177,
5128,
19570,
198,
220,
220,
220,
220,
220,
220,
220,
611,
299,
2417,
1279,
299,
9806,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
299,
2417,
6624,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42635,
220,
796,
45941,
13,
1952,
7,
448,
43358,
11,
288,
4906,
28,
600,
8,
1635,
42635,
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,
5298,
11052,
12331,
7203,
4475,
17,
12501,
4049,
25,
2546,
286,
42635,
14512,
3509,
5128,
393,
352,
19570,
198,
220,
220,
220,
220,
220,
220,
220,
611,
299,
5908,
1279,
299,
9806,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
299,
5908,
6624,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6941,
220,
796,
45941,
13,
1952,
7,
448,
43358,
11,
288,
4906,
28,
600,
8,
1635,
6941,
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,
5298,
11052,
12331,
7203,
4475,
17,
12501,
4049,
25,
2546,
286,
6941,
14512,
3509,
5128,
393,
352,
19570,
198,
220,
220,
220,
220,
220,
220,
220,
611,
299,
9892,
1279,
299,
9806,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
299,
9892,
6624,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20268,
220,
796,
45941,
13,
1952,
7,
448,
43358,
11,
288,
4906,
28,
600,
8,
1635,
20268,
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,
5298,
11052,
12331,
7203,
4475,
17,
12501,
4049,
25,
2546,
286,
20268,
14512,
3509,
5128,
393,
352,
19570,
198,
220,
220,
220,
220,
220,
220,
220,
611,
299,
11840,
1279,
299,
9806,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
299,
11840,
6624,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
39436,
220,
796,
45941,
13,
1952,
7,
448,
43358,
11,
288,
4906,
28,
600,
8,
1635,
39436,
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,
5298,
11052,
12331,
7203,
4475,
17,
12501,
4049,
25,
2546,
286,
39436,
14512,
3509,
5128,
393,
352,
19570,
198,
220,
220,
220,
220,
220,
220,
220,
611,
299,
11632,
1279,
299,
9806,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
299,
11632,
6624,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21504,
220,
796,
45941,
13,
1952,
7,
448,
43358,
11,
288,
4906,
28,
600,
8,
1635,
21504,
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,
5298,
11052,
12331,
7203,
4475,
17,
12501,
4049,
25,
2546,
286,
21504,
14512,
3509,
5128,
393,
352,
19570,
198,
220,
220,
220,
220,
220,
220,
220,
611,
299,
1416,
1279,
299,
9806,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
299,
1416,
6624,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
629,
220,
796,
45941,
13,
1952,
7,
448,
43358,
11,
288,
4906,
28,
600,
8,
1635,
629,
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,
5298,
11052,
12331,
7203,
4475,
17,
12501,
4049,
25,
2546,
286,
629,
14512,
3509,
5128,
393,
352,
19570,
198,
220,
220,
220,
220,
220,
220,
220,
773,
378,
220,
796,
685,
2417,
11,
6941,
11,
20268,
11,
39436,
11,
21504,
11,
629,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1035,
1096,
220,
796,
685,
37659,
13,
7857,
7,
72,
8,
329,
1312,
287,
773,
378,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1035,
71,
1758,
796,
685,
37659,
13,
43358,
7,
72,
8,
329,
1312,
287,
773,
378,
60,
198,
220,
220,
220,
220,
220,
220,
220,
5391,
22510,
220,
796,
685,
11925,
7,
72,
8,
329,
1312,
287,
1035,
71,
1758,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
17952,
286,
5415,
5128,
2546,
290,
5415,
1271,
286,
16488,
329,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
27179,
9269,
262,
5072,
198,
220,
220,
220,
220,
220,
220,
220,
773,
378,
220,
796,
685,
72,
13,
2704,
41769,
3419,
329,
1312,
287,
773,
378,
60,
198,
220,
220,
220,
220,
220,
220,
220,
503,
7857,
796,
3509,
7,
1040,
1096,
8,
198,
220,
220,
220,
220,
220,
220,
220,
640,
26801,
796,
45941,
13,
9107,
418,
7,
5269,
1096,
11,
288,
4906,
28,
15252,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
4818,
8079,
2134,
318,
12006,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
2837,
7,
5269,
1096,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
2417,
796,
493,
7,
521,
378,
58,
15,
7131,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
545,
78,
796,
493,
7,
521,
378,
58,
16,
7131,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4686,
88,
796,
493,
7,
521,
378,
58,
17,
7131,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1312,
11840,
796,
493,
7,
521,
378,
58,
18,
7131,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
545,
72,
796,
493,
7,
521,
378,
58,
19,
7131,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
318,
66,
796,
493,
7,
521,
378,
58,
20,
7131,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
14808,
72,
2417,
6624,
21489,
8,
1222,
357,
25147,
6624,
362,
8,
1222,
357,
19325,
6624,
2808,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
640,
26801,
58,
72,
60,
796,
299,
83,
13,
19608,
8079,
7,
72,
2417,
11,
513,
11,
352,
11,
1312,
11840,
11,
545,
72,
11,
318,
66,
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,
640,
26801,
58,
72,
60,
796,
299,
83,
13,
19608,
8079,
7,
72,
2417,
11,
545,
78,
11,
4686,
88,
11,
1312,
11840,
11,
545,
72,
11,
318,
66,
8,
198,
220,
220,
220,
1303,
6906,
319,
7147,
11845,
290,
11902,
900,
286,
262,
640,
4991,
198,
220,
220,
220,
1303,
32465,
3128,
318,
10488,
198,
220,
220,
220,
5072,
796,
45941,
13,
9107,
418,
7,
5269,
1096,
8,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
256,
15,
796,
299,
83,
13,
19608,
8079,
7,
1314,
6469,
11,
838,
11,
604,
11,
2242,
11,
7863,
11,
7863,
11,
36006,
17032,
8,
198,
220,
220,
220,
2845,
25,
198,
220,
220,
220,
220,
220,
220,
220,
256,
15,
796,
299,
83,
13,
19608,
8079,
7,
1314,
6469,
11,
838,
11,
604,
11,
2242,
11,
7863,
11,
7863,
8,
198,
220,
220,
220,
256,
16,
220,
220,
220,
796,
299,
83,
13,
19608,
8079,
7,
1314,
6469,
11,
838,
11,
1315,
11,
657,
11,
657,
11,
657,
8,
198,
220,
220,
220,
318,
19244,
796,
6407,
611,
357,
1084,
7,
2435,
26801,
8,
19841,
256,
15,
8,
290,
357,
9806,
7,
2435,
26801,
8,
18189,
256,
16,
8,
2073,
10352,
198,
220,
220,
220,
611,
357,
9948,
9239,
6624,
705,
20307,
11537,
393,
357,
9948,
9239,
6624,
705,
9903,
22618,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
4991,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4991,
796,
705,
12545,
1201,
3571,
486,
12,
486,
12,
486,
1105,
25,
405,
25,
405,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
875,
15,
796,
1596,
22291,
1731,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
875,
15,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
19244,
290,
357,
429,
13,
834,
9641,
834,
1279,
705,
16,
13,
17,
13,
17,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
21065,
11,
256,
83,
287,
27056,
378,
7,
2435,
26801,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
58,
4178,
60,
796,
299,
83,
13,
4475,
17,
22510,
7,
926,
11,
4991,
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,
11845,
11639,
9903,
22618,
11537,
1343,
875,
15,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
796,
299,
83,
13,
4475,
17,
22510,
7,
2435,
26801,
11,
4991,
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,
11845,
11639,
9903,
22618,
27691,
459,
2981,
7,
22468,
8,
1343,
875,
15,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
15853,
45941,
13,
8937,
7,
22915,
8,
1635,
285,
2261,
862,
198,
220,
220,
220,
1288,
361,
11845,
6624,
705,
73,
377,
666,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
4991,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4991,
796,
705,
12545,
1201,
3571,
486,
12,
486,
12,
486,
1105,
25,
405,
25,
405,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
875,
15,
796,
1596,
22291,
1731,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
875,
15,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
19244,
290,
357,
429,
13,
834,
9641,
834,
1279,
705,
16,
13,
17,
13,
17,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
21065,
11,
256,
83,
287,
27056,
378,
7,
2435,
26801,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
58,
4178,
60,
796,
299,
83,
13,
4475,
17,
22510,
7,
926,
11,
4991,
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,
11845,
11639,
73,
377,
666,
11537,
1343,
875,
15,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
796,
299,
83,
13,
4475,
17,
22510,
7,
2435,
26801,
11,
4991,
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,
11845,
11639,
73,
377,
666,
27691,
459,
2981,
7,
22468,
8,
1343,
875,
15,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
15853,
45941,
13,
8937,
7,
22915,
8,
1635,
285,
2261,
862,
198,
220,
220,
220,
1288,
361,
11845,
6624,
705,
1676,
293,
17459,
62,
9903,
22618,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
4991,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4991,
796,
705,
12545,
1201,
3571,
486,
12,
486,
12,
486,
3571,
25,
405,
25,
405,
6,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
19244,
290,
357,
429,
13,
834,
9641,
834,
1279,
705,
16,
13,
17,
13,
17,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
21065,
11,
256,
83,
287,
27056,
378,
7,
2435,
26801,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
58,
4178,
60,
796,
299,
83,
13,
4475,
17,
22510,
7,
926,
11,
4991,
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,
11845,
11639,
1676,
293,
17459,
62,
9903,
22618,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
796,
299,
83,
13,
4475,
17,
22510,
7,
2435,
26801,
11,
4991,
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,
11845,
11639,
1676,
293,
17459,
62,
9903,
22618,
27691,
459,
2981,
7,
22468,
8,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
15853,
45941,
13,
8937,
7,
22915,
8,
1635,
285,
2261,
862,
198,
220,
220,
220,
1288,
361,
11845,
6624,
705,
1069,
5276,
48104,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
466,
8056,
796,
10352,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
4991,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4991,
796,
705,
12545,
1201,
47465,
12,
1065,
12,
3132,
3571,
25,
405,
25,
405,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
409,
7015,
81,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
466,
8056,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
19244,
290,
357,
429,
13,
834,
9641,
834,
1279,
705,
16,
13,
17,
13,
17,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
21065,
11,
256,
83,
287,
27056,
378,
7,
2435,
26801,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
58,
4178,
60,
796,
299,
83,
13,
4475,
17,
22510,
7,
926,
11,
4991,
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,
11845,
11639,
1676,
293,
17459,
62,
9903,
22618,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
796,
299,
83,
13,
4475,
17,
22510,
7,
2435,
26801,
11,
4991,
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,
11845,
11639,
1676,
293,
17459,
62,
9903,
22618,
27691,
459,
2981,
7,
22468,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
466,
8056,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
796,
45941,
13,
3003,
7,
22915,
18189,
3126,
1539,
5072,
1343,
352,
1539,
5072,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3128,
17,
22510,
18432,
2808,
13,
2999,
13,
48104,
355,
5534,
13,
3070,
13,
19891,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1312,
13,
68,
13,
318,
262,
976,
32465,
1271,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
45941,
13,
1092,
19510,
22915,
18189,
8454,
2014,
1222,
357,
22915,
1279,
8190,
2014,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
2837,
7,
5269,
1096,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
611,
357,
2435,
26801,
58,
72,
4083,
1941,
855,
48104,
8,
1222,
357,
2435,
26801,
58,
72,
4083,
8424,
855,
17,
8,
1222,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
357,
2435,
26801,
58,
72,
4083,
820,
855,
1959,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
5072,
58,
72,
60,
48185,
352,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
357,
2417,
58,
72,
60,
6624,
21489,
8,
1222,
357,
5908,
58,
72,
60,
6624,
362,
8,
1222,
357,
9892,
58,
72,
60,
6624,
2808,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
58,
72,
60,
48185,
352,
13,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
15853,
45941,
13,
8937,
7,
22915,
8,
1635,
285,
2261,
862,
198,
220,
220,
220,
1288,
361,
11845,
6624,
705,
1069,
5276,
1129,
3023,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
4991,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4991,
796,
705,
12545,
1201,
41625,
12,
1065,
12,
3132,
3571,
25,
405,
25,
405,
6,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
19244,
290,
357,
429,
13,
834,
9641,
834,
1279,
705,
16,
13,
17,
13,
17,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
21065,
11,
256,
83,
287,
27056,
378,
7,
2435,
26801,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
58,
4178,
60,
796,
299,
83,
13,
4475,
17,
22510,
7,
926,
11,
4991,
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,
11845,
11639,
1676,
293,
17459,
62,
9903,
22618,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
796,
299,
83,
13,
4475,
17,
22510,
7,
2435,
26801,
11,
4991,
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,
11845,
11639,
1676,
293,
17459,
62,
9903,
22618,
27691,
459,
2981,
7,
22468,
8,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
15853,
45941,
13,
8937,
7,
22915,
8,
1635,
285,
2261,
862,
198,
220,
220,
220,
1288,
361,
357,
9948,
9239,
6624,
705,
24760,
62,
820,
11537,
393,
357,
9948,
9239,
6624,
705,
77,
2305,
499,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
4991,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4991,
796,
705,
12545,
1201,
3571,
486,
12,
486,
12,
486,
3571,
25,
405,
25,
405,
6,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
19244,
290,
357,
429,
13,
834,
9641,
834,
1279,
705,
16,
13,
17,
13,
17,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
21065,
11,
256,
83,
287,
27056,
378,
7,
2435,
26801,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
58,
4178,
60,
796,
299,
83,
13,
4475,
17,
22510,
7,
926,
11,
4991,
11,
11845,
11639,
24760,
62,
820,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
796,
299,
83,
13,
4475,
17,
22510,
7,
2435,
26801,
11,
4991,
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,
11845,
11639,
24760,
62,
820,
27691,
459,
2981,
7,
22468,
8,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
15853,
45941,
13,
8937,
7,
22915,
8,
1635,
285,
2261,
862,
198,
220,
220,
220,
1288,
361,
357,
9948,
9239,
6624,
705,
32459,
62,
820,
11537,
393,
357,
9948,
9239,
6624,
705,
439,
62,
293,
499,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
4991,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4991,
796,
705,
12545,
1201,
3571,
486,
12,
486,
12,
486,
3571,
25,
405,
25,
405,
6,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
19244,
290,
357,
429,
13,
834,
9641,
834,
1279,
705,
16,
13,
17,
13,
17,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
21065,
11,
256,
83,
287,
27056,
378,
7,
2435,
26801,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
58,
4178,
60,
796,
299,
83,
13,
4475,
17,
22510,
7,
926,
11,
4991,
11,
11845,
11639,
32459,
62,
820,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
796,
299,
83,
13,
4475,
17,
22510,
7,
2435,
26801,
11,
4991,
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,
11845,
11639,
32459,
62,
820,
27691,
459,
2981,
7,
22468,
8,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
15853,
45941,
13,
8937,
7,
22915,
8,
1635,
285,
2261,
862,
198,
220,
220,
220,
1288,
361,
11845,
6624,
705,
15277,
62,
820,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
4991,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4991,
796,
705,
12545,
1201,
3571,
486,
12,
486,
12,
486,
3571,
25,
405,
25,
405,
6,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
19244,
290,
357,
429,
13,
834,
9641,
834,
1279,
705,
16,
13,
17,
13,
17,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
21065,
11,
256,
83,
287,
27056,
378,
7,
2435,
26801,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
58,
4178,
60,
796,
299,
83,
13,
4475,
17,
22510,
7,
926,
11,
4991,
11,
11845,
11639,
15277,
62,
820,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
796,
299,
83,
13,
4475,
17,
22510,
7,
2435,
26801,
11,
4991,
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,
11845,
11639,
15277,
62,
820,
27691,
459,
2981,
7,
22468,
8,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
15853,
45941,
13,
8937,
7,
22915,
8,
1635,
285,
2261,
862,
198,
220,
220,
220,
1288,
361,
11845,
6624,
705,
12501,
4402,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
299,
2435,
796,
45941,
13,
7857,
7,
2417,
8,
198,
220,
220,
220,
220,
220,
220,
220,
16470,
220,
796,
45941,
13,
18747,
19510,
19510,
2417,
4064,
604,
8,
6624,
657,
8,
1222,
14808,
2417,
4064,
1802,
8,
14512,
657,
4008,
930,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14808,
2417,
4064,
7337,
8,
6624,
657,
29720,
459,
2981,
7,
600,
8,
198,
220,
220,
220,
220,
220,
220,
220,
256,
9892,
220,
220,
796,
45941,
13,
18747,
7,
9892,
11,
288,
4906,
28,
22468,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2566,
88,
220,
220,
796,
45941,
13,
18747,
26933,
25915,
24,
11,
657,
11,
3261,
11,
7863,
11,
220,
4101,
11,
7982,
11,
25326,
11,
30110,
11,
23679,
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,
35989,
11,
38549,
11,
31672,
11,
42819,
11,
21268,
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,
25915,
24,
11,
657,
11,
3261,
11,
3126,
11,
220,
10495,
11,
20416,
11,
24848,
11,
28581,
11,
28658,
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,
35264,
11,
39768,
11,
32747,
11,
37144,
11,
44856,
60,
33761,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
2837,
7,
429,
524,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
256,
9892,
58,
72,
60,
796,
256,
9892,
58,
72,
60,
1343,
45941,
13,
18747,
7,
67,
7745,
58,
293,
499,
58,
72,
4357,
6941,
58,
72,
60,
4357,
288,
4906,
28,
22468,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1528,
62,
1941,
796,
21268,
13,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
220,
220,
220,
796,
357,
45941,
13,
18747,
7,
2417,
11,
288,
4906,
28,
22468,
8,
1343,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14808,
8671,
88,
532,
352,
2014,
1635,
1987,
13,
1343,
45941,
13,
18747,
7,
11840,
11,
288,
4906,
28,
22468,
8,
1343,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45941,
13,
18747,
7,
11632,
11,
288,
4906,
28,
22468,
8,
1220,
3126,
13,
1343,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45941,
13,
18747,
7,
1416,
11,
288,
4906,
28,
22468,
8,
1220,
4570,
405,
2014,
1220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14808,
12545,
62,
1941,
1343,
45941,
13,
18747,
7,
293,
499,
11,
288,
4906,
28,
22468,
4008,
1635,
1987,
2014,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
329,
29052,
10159,
11,
1312,
13,
68,
13,
736,
290,
6071,
31408,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
15853,
352,
68,
12,
2919,
220,
1303,
352,
14,
18,
792,
198,
220,
220,
220,
1288,
361,
11845,
6624,
705,
12501,
4402,
15277,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
299,
2435,
796,
45941,
13,
7857,
7,
2417,
8,
198,
220,
220,
220,
220,
220,
220,
220,
256,
9892,
220,
220,
796,
45941,
13,
18747,
7,
9892,
11,
288,
4906,
28,
22468,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2566,
88,
220,
220,
796,
45941,
13,
18747,
26933,
12,
24,
11,
220,
657,
11,
1542,
11,
3126,
11,
4101,
11,
7982,
11,
6640,
11,
11546,
11,
20064,
11,
14956,
11,
20479,
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,
5867,
11,
25508,
11,
11470,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
2837,
7,
429,
524,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
256,
9892,
58,
72,
60,
796,
256,
9892,
58,
72,
60,
1343,
45941,
13,
18747,
7,
67,
7745,
58,
5908,
58,
72,
60,
4357,
288,
4906,
28,
22468,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1528,
62,
1941,
796,
11470,
13,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
220,
220,
220,
796,
357,
45941,
13,
18747,
7,
2417,
11,
288,
4906,
28,
22468,
8,
1343,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14808,
8671,
88,
532,
352,
2014,
1635,
1987,
13,
1343,
45941,
13,
18747,
7,
11840,
11,
288,
4906,
28,
22468,
8,
1343,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45941,
13,
18747,
7,
11632,
11,
288,
4906,
28,
22468,
8,
1220,
3126,
13,
1343,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45941,
13,
18747,
7,
1416,
11,
288,
4906,
28,
22468,
8,
1220,
4570,
405,
2014,
1220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
12545,
62,
1941,
1635,
1987,
2014,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
329,
29052,
10159,
11,
1312,
13,
68,
13,
736,
290,
6071,
31408,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
15853,
352,
68,
12,
2919,
220,
1303,
352,
14,
18,
792,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
11052,
12331,
7203,
4475,
17,
12501,
4049,
25,
11845,
407,
9177,
26,
815,
423,
587,
3797,
1740,
878,
19570,
628,
220,
220,
220,
1303,
1441,
286,
27179,
5813,
5072,
198,
220,
220,
220,
5072,
796,
45941,
13,
3447,
1758,
7,
22915,
11,
503,
43358,
8,
198,
220,
220,
220,
611,
318,
3258,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
796,
12178,
7,
22915,
8,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
4868,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
36545,
796,
45941,
13,
7857,
7,
448,
43358,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
36545,
6624,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
796,
685,
72,
329,
1312,
287,
5072,
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,
300,
22915,
796,
685,
1312,
329,
1312,
287,
5072,
58,
45299,
657,
11907,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
2837,
7,
37659,
13,
7857,
7,
22915,
58,
45299,
657,
12962,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
300,
22915,
58,
72,
60,
796,
1351,
7,
37659,
13,
16485,
1453,
2736,
7,
22915,
58,
72,
11,
1058,
60,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5072,
796,
300,
22915,
628,
220,
220,
220,
1441,
5072,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
1330,
10412,
395,
198,
220,
220,
220,
10412,
395,
13,
9288,
4666,
7,
18076,
33152,
28,
4598,
310,
395,
13,
35510,
42126,
35400,
62,
12418,
2043,
1546,
47,
11598,
8,
198
] | 1.978679 | 16,181 |
from __future__ import print_function
import sys
| [
6738,
11593,
37443,
834,
1330,
3601,
62,
8818,
198,
198,
11748,
25064,
628,
628,
198
] | 3.6 | 15 |
from datetime import datetime
MINUTES_IN_DAY = 60 * 24
SECONDS_IN_MINUTE = 60
class Slice(object):
"""
A period of time with a start and an end
"""
DT_FMT = "%Y-%m-%d %H:%M"
@property
@property
@property
@property
| [
6738,
4818,
8079,
1330,
4818,
8079,
198,
198,
23678,
3843,
1546,
62,
1268,
62,
26442,
796,
3126,
1635,
1987,
198,
23683,
1340,
5258,
62,
1268,
62,
23678,
37780,
796,
3126,
198,
198,
4871,
3454,
501,
7,
15252,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
317,
2278,
286,
640,
351,
257,
923,
290,
281,
886,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
24311,
62,
37,
13752,
796,
36521,
56,
12,
4,
76,
12,
4,
67,
4064,
39,
25,
4,
44,
1,
628,
220,
220,
220,
2488,
26745,
628,
220,
220,
220,
2488,
26745,
628,
220,
220,
220,
2488,
26745,
628,
220,
220,
220,
2488,
26745,
198
] | 2.290909 | 110 |
"""
Copyright (C) 2016 Interactive Brokers LLC. All rights reserved. This code is
subject to the terms and conditions of the IB API Non-Commercial License or the
IB API Commercial License, as applicable.
"""
"""
Simple enum implementation
"""
| [
37811,
198,
15269,
357,
34,
8,
1584,
21365,
2806,
15949,
11419,
13,
1439,
2489,
10395,
13,
220,
770,
2438,
318,
198,
32796,
284,
262,
2846,
290,
3403,
286,
262,
34782,
7824,
8504,
12,
48401,
13789,
393,
262,
198,
34782,
7824,
22724,
13789,
11,
355,
9723,
13,
220,
198,
37811,
628,
198,
37811,
220,
198,
220,
220,
220,
17427,
33829,
7822,
198,
37811,
628,
628
] | 4 | 64 |
# -*- coding: utf-8 -*-
# @Time : 2021-12-03 1:12 p.m.
# @Author : young wang
# @FileName: geoCorrection.py
# @Software: PyCharm
import pydicom
import numpy as np
from OssiviewBufferReader import OssiviewBufferReader
from os.path import join, isfile
from pydicom.uid import generate_uid
import os
from matplotlib import pyplot as plt
from scipy.interpolate import griddata
def load_from_oct_file(oct_file):
"""
read .oct file uising OssiviewBufferReader
export an array in the shape of [512,512,330]
the aarry contains pixel intensity data(20log) in float16 format
"""
obr = OssiviewBufferReader(oct_file)
data_fp16 = np.squeeze(obr.data)
data = imag2uint(data_fp16)
clean_data = clean(data)
return clean_data
def imag2uint(data):
"""
convert pixel data from the 255 range to unit16 range(0-65535)
"""
# remove the low and high bounds of the pixel intensity data points
# 45 and 130dB are heuristically chosen
data = np.clip(data, 50, np.max(data))
# pixel intensity normalization
# for detail, please see wiki page
# https://en.wikipedia.org/wiki/Normalization_(image_processing)
# 446 is the maximum pixel in the MRI template
data = (data - np.min(data)) * 446 / (np.max(data) - np.min(data))
return np.uint16(np.around(data, 0))
def oct_to_dicom(oct_file,PatientName, seriesdescription,
dicom_folder, dicom_prefix):
"""
convert pixel array [512,512,330] to DICOM format
using MRI template, this template will be deprecated
in the future once OCT template is received
"""
data = load_from_oct_file(oct_file)
dss = []
template_file = '../template data/template.dcm'
ds = pydicom.dcmread(template_file)
# SeriesInstanceUID refers to each series, and should be
# unqie for each sesssion, and generate_uid() provides an unique
# identifier
ds.SeriesInstanceUID = generate_uid()
all_files_exist = False
# looping through all 330 slice of images with [512(row) x 512(column)]
for i in range(data.shape[2]):
# UID used for indexing slices
ds.SOPInstanceUID = generate_uid()
# update row and column numbers to be 512
ds.Rows = data.shape[0]
ds.Columns = data.shape[1]
# define the bottom(assuming the middle plane to be zero,
# that -165 * 30um(axial resolution) = -4.95 mm)
# DICOM assumes physical dimension to be in mm unit
bottom = -4.95
# elevate the z by its axial resolution at a time
z = bottom + (i * 0.03)
# update meta properties
ds.PixelSpacing = [0.02, 0.02] # pixel spacing in x, y planes [mm]
ds.SliceThickness = 0.03 # slice thickness in axial(z) direction [mm]
ds.SpacingBetweenSlices = 0.03 # slice spacing in axial(z) direction [mm]
ds.SliceLocation = '%0.2f' % z # slice location in axial(z) direction
ds.InstanceNumber = '%0d' % (i + 1,) # instance number, 330 in total
ds.ImagePositionPatient = [z, 0, 0] # patient physical location
ds.Manufacturer = 'Audioptics Medical Inc'
ds.InstitutionName = 'Audioptics Medical'
ds.InstitutionAddress = '1344 Summer St., #55, Halifax, NS, Canada'
ds.StudyDescription = 'Example DICOM export'
ds.StationName = 'Unit 1'
ds.SeriesDescription = seriesdescription
ds.PhysiciansOfRecord = ''
ds.PerformingPhysicianName = ''
ds.InstitutionalDepartmentName = ''
ds.ManufacturerModelName = 'Mark II'
ds.PatientName = PatientName
ds.PatientBirthDate = '20201123'
ds.PatientAddress = ''
# setting the dynamic range with WindowCenter and WindowWidth
# lowest_visible_value = window_center — window_width / 2
# highest_visible_value = window_center + window_width / 2
ds.WindowCenter = '248'
ds.WindowWidth = '396'
# # set highest and lowest pixel values
ds.LargestImagePixelValue = 446
ds.SmallestImagePixelValue = 50
dicom_file = join(dicom_folder, "%s%05d.dcm" % (dicom_prefix, i))
pixel_data = data[:, :, i]
pixel_data[pixel_data <= 50] = 0
ds.PixelData = pixel_data.tobytes()
ds.save_as(dicom_file)
dss.append(ds)
all_files_exist = all_files_exist and isfile(dicom_file)
return all_files_exist
if __name__ == '__main__':
oct_files = []
directory = '/Users/youngwang/Desktop/GeoCorrection'
import glob
for filepath in glob.iglob(r'/Users/youngwang/Desktop/GeoCorrection/*.oct'):
oct_files.append(filepath)
oct_files.sort()
raw_data = load_from_oct_file(oct_files[0])
test_slice = np.rot90(raw_data[256,:,:])
plt.imshow(test_slice)
plt.show()
#
import polarTransform
#
# # imagec = plt.imread('/Users/youngwang/Desktop/a109560e-fa1e-4bb2-916b-d5a851de7051.jpeg')
# # image=np.mean(imagec,axis=2)
#
# opening_angle= 10 #deg
# polarImage, ptSettings = polarTransform.convertToCartesianImage(test_slice.T,
# initialRadius=0,
# finalRadius=330,
# initialAngle= -opening_angle*np.pi/360,
# finalAngle= opening_angle*np.pi/360,
# imageSize=(512,330))
#
# fig,ax = plt.subplots(1,2)
# ax[0].imshow(test_slice.T)
# ax[1].imshow(polarImage.T)
# # #
# plt.show()
# #
opening_angle = 10 # deg
polarImage, ptSettings = polarTransform.convertToCartesianImage(test_slice.T,
initialRadius=0,
finalRadius=660,
initialAngle=-opening_angle * np.pi / 360,
finalAngle=opening_angle * np.pi / 360,
)
fig, ax = plt.subplots(1, 2)
ax[0].imshow(test_slice.T)
ax[1].imshow(polarImage.T)
plt.show()
# #
# # plt.show()
#
# # dicom_prefix = 'Phantom'
# # seriesdescription = 'Corrected'
# #
# # export_path = '/Users/youngwang/Desktop/GeoCorrection/After'
# #
# # if not os.path.exists(export_path):
# # os.mkdir(export_path)
# # else:
# # pass
# #
# # PatientName = 'Phantom'
# # oct_to_dicom(oct_file = oct_files[0],PatientName = PatientName,
# # seriesdescription = seriesdescription,
# # dicom_folder =export_path,
# # dicom_prefix = dicom_prefix)
# #
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
2,
2488,
7575,
220,
220,
220,
1058,
33448,
12,
1065,
12,
3070,
352,
25,
1065,
279,
13,
76,
13,
198,
2,
2488,
13838,
220,
1058,
1862,
266,
648,
198,
2,
2488,
8979,
5376,
25,
40087,
43267,
13,
9078,
198,
2,
2488,
25423,
25,
9485,
1925,
1670,
628,
198,
11748,
279,
5173,
291,
296,
198,
11748,
299,
32152,
355,
45941,
198,
6738,
45397,
452,
769,
28632,
33634,
1330,
45397,
452,
769,
28632,
33634,
198,
6738,
28686,
13,
6978,
1330,
4654,
11,
318,
7753,
198,
6738,
279,
5173,
291,
296,
13,
27112,
1330,
7716,
62,
27112,
198,
11748,
28686,
198,
6738,
2603,
29487,
8019,
1330,
12972,
29487,
355,
458,
83,
198,
6738,
629,
541,
88,
13,
3849,
16104,
378,
1330,
1036,
1638,
1045,
628,
198,
198,
4299,
3440,
62,
6738,
62,
38441,
62,
7753,
7,
38441,
62,
7753,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1100,
764,
38441,
2393,
334,
1710,
45397,
452,
769,
28632,
33634,
198,
220,
220,
220,
10784,
281,
7177,
287,
262,
5485,
286,
685,
25836,
11,
25836,
11,
26073,
60,
198,
220,
220,
220,
262,
257,
6532,
4909,
17465,
12245,
1366,
7,
1238,
6404,
8,
287,
12178,
1433,
5794,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
909,
81,
796,
45397,
452,
769,
28632,
33634,
7,
38441,
62,
7753,
8,
198,
220,
220,
220,
1366,
62,
46428,
1433,
796,
45941,
13,
16485,
1453,
2736,
7,
672,
81,
13,
7890,
8,
628,
220,
220,
220,
1366,
796,
3590,
17,
28611,
7,
7890,
62,
46428,
1433,
8,
628,
220,
220,
220,
3424,
62,
7890,
796,
3424,
7,
7890,
8,
198,
220,
220,
220,
1441,
3424,
62,
7890,
628,
198,
4299,
3590,
17,
28611,
7,
7890,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
10385,
17465,
1366,
422,
262,
14280,
2837,
284,
4326,
1433,
2837,
7,
15,
12,
35916,
2327,
8,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
1303,
4781,
262,
1877,
290,
1029,
22303,
286,
262,
17465,
12245,
1366,
2173,
198,
220,
220,
220,
1303,
4153,
290,
11323,
36077,
389,
339,
333,
16772,
7147,
198,
220,
220,
220,
1366,
796,
45941,
13,
15036,
7,
7890,
11,
2026,
11,
45941,
13,
9806,
7,
7890,
4008,
198,
220,
220,
220,
1303,
17465,
12245,
3487,
1634,
198,
220,
220,
220,
1303,
329,
3703,
11,
3387,
766,
22719,
2443,
198,
220,
220,
220,
1303,
3740,
1378,
268,
13,
31266,
13,
2398,
14,
15466,
14,
26447,
1634,
41052,
9060,
62,
36948,
8,
198,
220,
220,
220,
1303,
604,
3510,
318,
262,
5415,
17465,
287,
262,
30278,
11055,
198,
220,
220,
220,
1366,
796,
357,
7890,
532,
45941,
13,
1084,
7,
7890,
4008,
1635,
604,
3510,
1220,
357,
37659,
13,
9806,
7,
7890,
8,
532,
45941,
13,
1084,
7,
7890,
4008,
628,
220,
220,
220,
1441,
45941,
13,
28611,
1433,
7,
37659,
13,
14145,
7,
7890,
11,
657,
4008,
628,
198,
198,
4299,
19318,
62,
1462,
62,
67,
291,
296,
7,
38441,
62,
7753,
11,
12130,
1153,
5376,
11,
2168,
11213,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
291,
296,
62,
43551,
11,
288,
291,
296,
62,
40290,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
10385,
17465,
7177,
685,
25836,
11,
25836,
11,
26073,
60,
284,
360,
2149,
2662,
5794,
198,
220,
220,
220,
1262,
30278,
11055,
11,
428,
11055,
481,
307,
39224,
198,
220,
220,
220,
287,
262,
2003,
1752,
42256,
11055,
318,
2722,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1366,
796,
3440,
62,
6738,
62,
38441,
62,
7753,
7,
38441,
62,
7753,
8,
628,
220,
220,
220,
288,
824,
796,
17635,
628,
220,
220,
220,
11055,
62,
7753,
796,
705,
40720,
28243,
1366,
14,
28243,
13,
67,
11215,
6,
198,
220,
220,
220,
288,
82,
796,
279,
5173,
291,
296,
13,
67,
11215,
961,
7,
28243,
62,
7753,
8,
628,
220,
220,
220,
1303,
7171,
33384,
27586,
10229,
284,
1123,
2168,
11,
290,
815,
307,
198,
220,
220,
220,
1303,
555,
80,
494,
329,
1123,
264,
408,
82,
295,
11,
290,
7716,
62,
27112,
3419,
3769,
281,
3748,
198,
220,
220,
220,
1303,
27421,
198,
220,
220,
220,
288,
82,
13,
27996,
33384,
27586,
796,
7716,
62,
27112,
3419,
628,
220,
220,
220,
477,
62,
16624,
62,
38476,
796,
10352,
628,
220,
220,
220,
1303,
9052,
278,
832,
477,
25508,
16416,
286,
4263,
351,
685,
25836,
7,
808,
8,
2124,
22243,
7,
28665,
15437,
198,
220,
220,
220,
329,
1312,
287,
2837,
7,
7890,
13,
43358,
58,
17,
60,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
25105,
973,
329,
6376,
278,
24314,
198,
220,
220,
220,
220,
220,
220,
220,
288,
82,
13,
50,
3185,
33384,
27586,
796,
7716,
62,
27112,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
4296,
5752,
290,
5721,
3146,
284,
307,
22243,
198,
220,
220,
220,
220,
220,
220,
220,
288,
82,
13,
49,
1666,
796,
1366,
13,
43358,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
288,
82,
13,
39470,
82,
796,
1366,
13,
43358,
58,
16,
60,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
8160,
262,
4220,
7,
32935,
262,
3504,
6614,
284,
307,
6632,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
326,
532,
20986,
1635,
1542,
388,
7,
897,
498,
6323,
8,
796,
532,
19,
13,
3865,
8085,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
360,
2149,
2662,
18533,
3518,
15793,
284,
307,
287,
8085,
4326,
198,
220,
220,
220,
220,
220,
220,
220,
4220,
796,
532,
19,
13,
3865,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
36830,
262,
1976,
416,
663,
7877,
498,
6323,
379,
257,
640,
198,
220,
220,
220,
220,
220,
220,
220,
1976,
796,
4220,
1343,
357,
72,
1635,
657,
13,
3070,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
4296,
13634,
6608,
198,
220,
220,
220,
220,
220,
220,
220,
288,
82,
13,
40809,
4561,
4092,
796,
685,
15,
13,
2999,
11,
657,
13,
2999,
60,
220,
1303,
17465,
31050,
287,
2124,
11,
331,
13016,
685,
3020,
60,
198,
220,
220,
220,
220,
220,
220,
220,
288,
82,
13,
11122,
501,
817,
624,
1108,
796,
657,
13,
3070,
220,
1303,
16416,
20735,
287,
7877,
498,
7,
89,
8,
4571,
685,
3020,
60,
198,
220,
220,
220,
220,
220,
220,
220,
288,
82,
13,
4561,
4092,
25262,
50,
677,
274,
796,
657,
13,
3070,
220,
1303,
16416,
31050,
287,
7877,
498,
7,
89,
8,
4571,
685,
3020,
60,
198,
220,
220,
220,
220,
220,
220,
220,
288,
82,
13,
11122,
501,
14749,
796,
705,
4,
15,
13,
17,
69,
6,
4064,
1976,
220,
1303,
16416,
4067,
287,
7877,
498,
7,
89,
8,
4571,
198,
220,
220,
220,
220,
220,
220,
220,
288,
82,
13,
33384,
15057,
796,
705,
4,
15,
67,
6,
4064,
357,
72,
1343,
352,
35751,
220,
1303,
4554,
1271,
11,
25508,
287,
2472,
198,
220,
220,
220,
220,
220,
220,
220,
288,
82,
13,
5159,
26545,
12130,
1153,
796,
685,
89,
11,
657,
11,
657,
60,
220,
1303,
5827,
3518,
4067,
198,
220,
220,
220,
220,
220,
220,
220,
288,
82,
13,
44445,
15051,
796,
705,
16353,
72,
8738,
873,
8366,
3457,
6,
198,
220,
220,
220,
220,
220,
220,
220,
288,
82,
13,
6310,
2738,
5376,
796,
705,
16353,
72,
8738,
873,
8366,
6,
198,
220,
220,
220,
220,
220,
220,
220,
288,
82,
13,
6310,
2738,
20231,
796,
705,
1485,
2598,
10216,
520,
1539,
1303,
2816,
11,
34438,
11,
10896,
11,
3340,
6,
198,
220,
220,
220,
220,
220,
220,
220,
288,
82,
13,
39841,
11828,
796,
705,
16281,
360,
2149,
2662,
10784,
6,
198,
220,
220,
220,
220,
220,
220,
220,
288,
82,
13,
12367,
5376,
796,
705,
26453,
352,
6,
198,
220,
220,
220,
220,
220,
220,
220,
288,
82,
13,
27996,
11828,
796,
2168,
11213,
198,
220,
220,
220,
220,
220,
220,
220,
288,
82,
13,
43215,
5106,
5189,
23739,
796,
10148,
198,
220,
220,
220,
220,
220,
220,
220,
288,
82,
13,
5990,
15464,
43215,
6749,
5376,
796,
10148,
198,
220,
220,
220,
220,
220,
220,
220,
288,
82,
13,
6310,
5677,
36261,
5376,
796,
10148,
198,
220,
220,
220,
220,
220,
220,
220,
288,
82,
13,
44445,
15051,
17633,
5376,
796,
705,
9704,
2873,
6,
198,
220,
220,
220,
220,
220,
220,
220,
288,
82,
13,
12130,
1153,
5376,
796,
35550,
5376,
198,
220,
220,
220,
220,
220,
220,
220,
288,
82,
13,
12130,
1153,
38480,
10430,
796,
705,
1238,
1264,
10163,
6,
198,
220,
220,
220,
220,
220,
220,
220,
288,
82,
13,
12130,
1153,
20231,
796,
10148,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
4634,
262,
8925,
2837,
351,
26580,
23656,
290,
26580,
30916,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
9016,
62,
23504,
62,
8367,
796,
4324,
62,
16159,
851,
4324,
62,
10394,
1220,
362,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
4511,
62,
23504,
62,
8367,
796,
4324,
62,
16159,
1343,
4324,
62,
10394,
1220,
362,
628,
220,
220,
220,
220,
220,
220,
220,
288,
82,
13,
27703,
23656,
796,
705,
23045,
6,
198,
220,
220,
220,
220,
220,
220,
220,
288,
82,
13,
27703,
30916,
796,
705,
34107,
6,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1303,
900,
4511,
290,
9016,
17465,
3815,
198,
220,
220,
220,
220,
220,
220,
220,
288,
82,
13,
43,
853,
395,
5159,
40809,
11395,
796,
604,
3510,
198,
220,
220,
220,
220,
220,
220,
220,
288,
82,
13,
18712,
395,
5159,
40809,
11395,
796,
2026,
198,
220,
220,
220,
220,
220,
220,
220,
288,
291,
296,
62,
7753,
796,
4654,
7,
67,
291,
296,
62,
43551,
11,
36521,
82,
4,
2713,
67,
13,
67,
11215,
1,
4064,
357,
67,
291,
296,
62,
40290,
11,
1312,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
17465,
62,
7890,
796,
1366,
58,
45299,
1058,
11,
1312,
60,
198,
220,
220,
220,
220,
220,
220,
220,
17465,
62,
7890,
58,
32515,
62,
7890,
19841,
2026,
60,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
288,
82,
13,
40809,
6601,
796,
17465,
62,
7890,
13,
83,
26730,
4879,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
288,
82,
13,
21928,
62,
292,
7,
67,
291,
296,
62,
7753,
8,
198,
220,
220,
220,
220,
220,
220,
220,
288,
824,
13,
33295,
7,
9310,
8,
198,
220,
220,
220,
220,
220,
220,
220,
477,
62,
16624,
62,
38476,
796,
477,
62,
16624,
62,
38476,
290,
318,
7753,
7,
67,
291,
296,
62,
7753,
8,
198,
220,
220,
220,
1441,
477,
62,
16624,
62,
38476,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
628,
220,
220,
220,
19318,
62,
16624,
796,
17635,
198,
220,
220,
220,
8619,
796,
31051,
14490,
14,
35465,
47562,
14,
36881,
14,
10082,
78,
43267,
6,
198,
220,
220,
220,
1330,
15095,
628,
220,
220,
220,
329,
2393,
6978,
287,
15095,
13,
38686,
672,
7,
81,
26488,
14490,
14,
35465,
47562,
14,
36881,
14,
10082,
78,
43267,
15211,
13,
38441,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
19318,
62,
16624,
13,
33295,
7,
7753,
6978,
8,
628,
220,
220,
220,
19318,
62,
16624,
13,
30619,
3419,
628,
220,
220,
220,
8246,
62,
7890,
796,
3440,
62,
6738,
62,
38441,
62,
7753,
7,
38441,
62,
16624,
58,
15,
12962,
628,
220,
220,
220,
1332,
62,
48369,
796,
45941,
13,
10599,
3829,
7,
1831,
62,
7890,
58,
11645,
11,
45299,
25,
12962,
198,
220,
220,
220,
458,
83,
13,
320,
12860,
7,
9288,
62,
48369,
8,
628,
220,
220,
220,
458,
83,
13,
12860,
3419,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
1330,
13559,
41762,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
1303,
1303,
2939,
66,
796,
458,
83,
13,
320,
961,
10786,
14,
14490,
14,
35465,
47562,
14,
36881,
14,
64,
940,
3865,
1899,
68,
12,
13331,
16,
68,
12,
19,
11848,
17,
12,
48894,
65,
12,
67,
20,
64,
23,
4349,
2934,
2154,
4349,
13,
73,
22071,
11537,
198,
220,
220,
220,
1303,
1303,
2939,
28,
37659,
13,
32604,
7,
9060,
66,
11,
22704,
28,
17,
8,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
1303,
4756,
62,
9248,
28,
838,
1303,
13500,
198,
220,
220,
220,
1303,
13559,
5159,
11,
42975,
26232,
796,
13559,
41762,
13,
1102,
1851,
2514,
43476,
35610,
5159,
7,
9288,
62,
48369,
13,
51,
11,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4238,
15546,
3754,
28,
15,
11,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2457,
15546,
3754,
28,
26073,
11,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4238,
13450,
293,
28,
532,
29443,
62,
9248,
9,
37659,
13,
14415,
14,
15277,
11,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2457,
13450,
293,
28,
4756,
62,
9248,
9,
37659,
13,
14415,
14,
15277,
11,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2939,
10699,
16193,
25836,
11,
26073,
4008,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
1303,
2336,
11,
897,
796,
458,
83,
13,
7266,
489,
1747,
7,
16,
11,
17,
8,
198,
220,
220,
220,
1303,
7877,
58,
15,
4083,
320,
12860,
7,
9288,
62,
48369,
13,
51,
8,
198,
220,
220,
220,
1303,
7877,
58,
16,
4083,
320,
12860,
7,
79,
6192,
5159,
13,
51,
8,
198,
220,
220,
220,
1303,
1303,
1303,
198,
220,
220,
220,
1303,
458,
83,
13,
12860,
3419,
198,
220,
220,
220,
1303,
1303,
198,
220,
220,
220,
4756,
62,
9248,
796,
838,
220,
1303,
3396,
198,
220,
220,
220,
13559,
5159,
11,
42975,
26232,
796,
13559,
41762,
13,
1102,
1851,
2514,
43476,
35610,
5159,
7,
9288,
62,
48369,
13,
51,
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,
4238,
15546,
3754,
28,
15,
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,
2457,
15546,
3754,
28,
39885,
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,
4238,
13450,
293,
10779,
29443,
62,
9248,
1635,
45941,
13,
14415,
1220,
11470,
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,
2457,
13450,
293,
28,
29443,
62,
9248,
1635,
45941,
13,
14415,
1220,
11470,
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,
1267,
628,
220,
220,
220,
2336,
11,
7877,
796,
458,
83,
13,
7266,
489,
1747,
7,
16,
11,
362,
8,
198,
220,
220,
220,
7877,
58,
15,
4083,
320,
12860,
7,
9288,
62,
48369,
13,
51,
8,
198,
220,
220,
220,
7877,
58,
16,
4083,
320,
12860,
7,
79,
6192,
5159,
13,
51,
8,
198,
220,
220,
220,
458,
83,
13,
12860,
3419,
198,
220,
220,
220,
1303,
1303,
198,
220,
220,
220,
1303,
1303,
458,
83,
13,
12860,
3419,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
1303,
1303,
288,
291,
296,
62,
40290,
796,
705,
2725,
11456,
6,
198,
220,
220,
220,
1303,
1303,
2168,
11213,
796,
705,
42779,
276,
6,
198,
220,
220,
220,
1303,
1303,
198,
220,
220,
220,
1303,
1303,
10784,
62,
6978,
796,
31051,
14490,
14,
35465,
47562,
14,
36881,
14,
10082,
78,
43267,
14,
3260,
6,
198,
220,
220,
220,
1303,
1303,
198,
220,
220,
220,
1303,
1303,
611,
407,
28686,
13,
6978,
13,
1069,
1023,
7,
39344,
62,
6978,
2599,
198,
220,
220,
220,
1303,
1303,
220,
220,
220,
220,
28686,
13,
28015,
15908,
7,
39344,
62,
6978,
8,
198,
220,
220,
220,
1303,
1303,
2073,
25,
198,
220,
220,
220,
1303,
1303,
220,
220,
220,
220,
1208,
198,
220,
220,
220,
1303,
1303,
198,
220,
220,
220,
1303,
1303,
35550,
5376,
796,
705,
2725,
11456,
6,
198,
220,
220,
220,
1303,
1303,
19318,
62,
1462,
62,
67,
291,
296,
7,
38441,
62,
7753,
796,
19318,
62,
16624,
58,
15,
4357,
12130,
1153,
5376,
796,
35550,
5376,
11,
198,
220,
220,
220,
1303,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2168,
11213,
796,
2168,
11213,
11,
198,
220,
220,
220,
1303,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
291,
296,
62,
43551,
796,
39344,
62,
6978,
11,
198,
220,
220,
220,
1303,
1303,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
291,
296,
62,
40290,
796,
288,
291,
296,
62,
40290,
8,
198,
220,
220,
220,
1303,
1303,
198
] | 2.103822 | 3,323 |
# -*- coding: utf-8 -*-
# *****************************************************************************
# NICOS, the Networked Instrument Control System of the MLZ
# Copyright (c) 2009-2021 by the NICOS contributors (see AUTHORS)
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# Module authors:
# Georg Brandl <[email protected]>
#
# *****************************************************************************
"""
Python interface to the _pyctl module, to control the execution of Python
code via a C trace function.
"""
import threading
import traceback
from nicos.protocols.daemon import STATUS_INBREAK, STATUS_RUNNING
try:
from nicospyctl.pyctl import ControlStop, Controller as _Controller
except ImportError:
ControlStop = BaseException
__all__ = ['LINENO_ALL', 'LINENO_TOPLEVEL', 'LINENO_NAME',
'Controller', 'ControlStop']
# defines from the C module
LINENO_ALL = 0 # trace all line numbers
LINENO_TOPLEVEL = 1 # trace only line numbers in toplevel frame
LINENO_NAME = 2 # trace only line numbers in frames with the
# filename given by break_only_in_filename
class Controller(_Controller):
"""
The Controller object allows to execute Python code in a controlled
environment using the Python tracing mechanism (using a C trace function
instead of a Python one for speed).
The running code can therefore be halted and stopped from another thread.
Additionally, the currently executed line and Python frame can be observed.
Halting works by calling a custom function ("break function") from the trace
function -- until this function returns the execution is halted.
Stopping works by throwing an exception from the trace function into the
frame executing code, where it should be allowed to propagate to the
toplevel and exit excecution. The exception (ControlStop) inherits from
BaseException. This works nicely together with "finally:" clauses, but
requires that bare "except:" clauses are replaced by "except Exception:".
There are various options to control breaking behavior. By default, a break
can occur everywhere. "break_only_in_toplevel" limits breaking so that a
break can only occur between two lines of code in the toplevel code.
"break_only_in_filename" works similar, but if it is set, breaks can occur
in all frames whose code has the given filename. Using this, breakpoints in
non-toplevel code are implemented.
Using an "observer" callable, changes in the line number and execution need
not be polled: each time the status or line number changes, the observer is
called as observer(status, lineno).
The external interface is usually used like this:
In the executing thread:
* instantiate the Controller object
* call set_observer() to add an observer
* call start()/start_exec()
In the controlling thread:
* when halting is wanted, call set_break()
* when continuing is wanted, call set_continue()
* when stopping is wanted, call set_stop()
Signature of the C class:
Controller(breakfunc, # break function
break_only_in_toplevel=False, # see above
break_only_in_filename=None, # see above
lineno_behavior) # which line numbers to trace
Methods of the C class:
- start(callable): start execution, calling the given callable as toplevel
- start_exec(code, globals[, locals]): start execution of the given code
object with the global and local scopes
- set_break(arg): request a break, the breakfunc will be called at the
next trace function run, the arg is given to the breakfunc; a not-None
arg is supposed to mean "stop"
- set_stop(arg): request a stop, the arg will be used as an intializer
argument to the ControlStop exception
- set_observer(observer): attach an observer to the instance
Attributes of the C class:
- status: execution status
- currentframe: current execution frame
- toplevelframe: first and topmost execution frame
- lineno: current line number (in which frame, see lineno_behavior)
"""
def _breakfunc(self, frame, arg):
"""Called when execution has been halted."""
flag = self.wait_for_continue()
if flag is not None:
self.set_stop(flag)
def wait_for_continue(self):
"""Called from the break func: wait for set_continue() to be called."""
self.__continue.wait()
self.__continue.clear()
return self.__continue_arg
def set_continue(self, arg):
"""Allow continuation of a halted execution."""
self.__continue_arg = arg
self.__continue.set()
def stop(self, arg):
"""Called from outside: stop execution."""
if arg is None:
arg = 'stop method called'
# if execution is running, we set a stop flag ourselves
if self.status == STATUS_RUNNING:
self.set_stop(arg)
# else we let wait_for_continue() return the arg, and the breakfunc
# must call set_stop()
elif self.status == STATUS_INBREAK:
self.set_continue(arg)
def get_stacktrace(self, limit=None):
"""Return a stacktrace of the currently executed code."""
frame = self.currentframe
if frame is None:
return None
return ''.join(traceback.format_stack(frame, limit)[2:])
| [
2,
220,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
2,
41906,
17174,
4557,
35625,
198,
2,
45593,
2640,
11,
262,
7311,
276,
42410,
6779,
4482,
286,
262,
10373,
57,
198,
2,
15069,
357,
66,
8,
3717,
12,
1238,
2481,
416,
262,
45593,
2640,
20420,
357,
3826,
37195,
20673,
8,
198,
2,
198,
2,
770,
1430,
318,
1479,
3788,
26,
345,
460,
17678,
4163,
340,
290,
14,
273,
13096,
340,
739,
198,
2,
262,
2846,
286,
262,
22961,
3611,
5094,
13789,
355,
3199,
416,
262,
3232,
10442,
198,
2,
5693,
26,
2035,
2196,
362,
286,
262,
13789,
11,
393,
357,
265,
534,
3038,
8,
597,
1568,
198,
2,
2196,
13,
198,
2,
198,
2,
770,
1430,
318,
9387,
287,
262,
2911,
326,
340,
481,
307,
4465,
11,
475,
42881,
198,
2,
15529,
34764,
56,
26,
1231,
772,
262,
17142,
18215,
286,
34482,
3398,
1565,
5603,
25382,
393,
376,
46144,
198,
2,
7473,
317,
16652,
2149,
37232,
33079,
48933,
13,
220,
4091,
262,
22961,
3611,
5094,
13789,
329,
517,
198,
2,
3307,
13,
198,
2,
198,
2,
921,
815,
423,
2722,
257,
4866,
286,
262,
22961,
3611,
5094,
13789,
1863,
351,
198,
2,
428,
1430,
26,
611,
407,
11,
3551,
284,
262,
3232,
10442,
5693,
11,
3457,
1539,
198,
2,
7863,
10857,
8474,
11,
26264,
25508,
11,
6182,
11,
8779,
220,
7816,
16243,
12,
12952,
22,
220,
4916,
198,
2,
198,
2,
19937,
7035,
25,
198,
2,
220,
220,
6850,
13512,
75,
1279,
70,
13,
17938,
75,
31,
69,
89,
12,
73,
2731,
488,
13,
2934,
29,
198,
2,
198,
2,
41906,
17174,
4557,
35625,
198,
198,
37811,
198,
37906,
7071,
284,
262,
4808,
9078,
34168,
8265,
11,
284,
1630,
262,
9706,
286,
11361,
198,
8189,
2884,
257,
327,
12854,
2163,
13,
198,
37811,
198,
11748,
4704,
278,
198,
11748,
12854,
1891,
198,
198,
6738,
9200,
418,
13,
11235,
4668,
82,
13,
6814,
7966,
1330,
15486,
2937,
62,
1268,
40438,
10206,
11,
15486,
2937,
62,
49,
4944,
15871,
198,
198,
28311,
25,
198,
220,
220,
220,
422,
9200,
2117,
88,
34168,
13,
9078,
34168,
1330,
6779,
19485,
11,
22741,
355,
4808,
22130,
198,
16341,
17267,
12331,
25,
198,
220,
220,
220,
6779,
19485,
796,
7308,
16922,
198,
198,
834,
439,
834,
796,
37250,
34509,
1677,
46,
62,
7036,
3256,
705,
34509,
1677,
46,
62,
51,
34354,
18697,
3256,
705,
34509,
1677,
46,
62,
20608,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
22130,
3256,
705,
15988,
19485,
20520,
198,
198,
2,
15738,
422,
262,
327,
8265,
198,
34509,
1677,
46,
62,
7036,
220,
220,
220,
220,
220,
796,
657,
220,
220,
1303,
12854,
477,
1627,
3146,
198,
34509,
1677,
46,
62,
51,
34354,
18697,
796,
352,
220,
220,
1303,
12854,
691,
1627,
3146,
287,
284,
1154,
626,
5739,
198,
34509,
1677,
46,
62,
20608,
220,
220,
220,
220,
796,
362,
220,
220,
1303,
12854,
691,
1627,
3146,
287,
13431,
351,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
29472,
1813,
416,
2270,
62,
8807,
62,
259,
62,
34345,
628,
198,
4871,
22741,
28264,
22130,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
383,
22741,
2134,
3578,
284,
12260,
11361,
2438,
287,
257,
6856,
198,
220,
220,
220,
2858,
1262,
262,
11361,
35328,
9030,
357,
3500,
257,
327,
12854,
2163,
198,
220,
220,
220,
2427,
286,
257,
11361,
530,
329,
2866,
737,
628,
220,
220,
220,
383,
2491,
2438,
460,
4361,
307,
27771,
290,
5025,
422,
1194,
4704,
13,
198,
220,
220,
220,
12032,
11,
262,
3058,
10945,
1627,
290,
11361,
5739,
460,
307,
6515,
13,
628,
220,
220,
220,
11023,
889,
2499,
416,
4585,
257,
2183,
2163,
5855,
9032,
2163,
4943,
422,
262,
12854,
198,
220,
220,
220,
2163,
1377,
1566,
428,
2163,
5860,
262,
9706,
318,
27771,
13,
628,
220,
220,
220,
22025,
2105,
2499,
416,
9644,
281,
6631,
422,
262,
12854,
2163,
656,
262,
198,
220,
220,
220,
5739,
23710,
2438,
11,
810,
340,
815,
307,
3142,
284,
47933,
284,
262,
198,
220,
220,
220,
284,
1154,
626,
290,
8420,
43748,
66,
1009,
13,
220,
383,
6631,
357,
15988,
19485,
8,
10639,
896,
422,
198,
220,
220,
220,
7308,
16922,
13,
220,
770,
2499,
16576,
1978,
351,
366,
69,
3289,
11097,
31485,
11,
475,
198,
220,
220,
220,
4433,
326,
6247,
366,
16341,
11097,
31485,
389,
6928,
416,
366,
16341,
35528,
25,
1911,
628,
220,
220,
220,
1318,
389,
2972,
3689,
284,
1630,
7163,
4069,
13,
220,
2750,
4277,
11,
257,
2270,
198,
220,
220,
220,
460,
3051,
8347,
13,
220,
366,
9032,
62,
8807,
62,
259,
62,
83,
643,
626,
1,
7095,
7163,
523,
326,
257,
198,
220,
220,
220,
2270,
460,
691,
3051,
1022,
734,
3951,
286,
2438,
287,
262,
284,
1154,
626,
2438,
13,
198,
220,
220,
220,
366,
9032,
62,
8807,
62,
259,
62,
34345,
1,
2499,
2092,
11,
475,
611,
340,
318,
900,
11,
9457,
460,
3051,
198,
220,
220,
220,
287,
477,
13431,
3025,
2438,
468,
262,
1813,
29472,
13,
220,
8554,
428,
11,
2270,
13033,
287,
198,
220,
220,
220,
1729,
12,
83,
643,
626,
2438,
389,
9177,
13,
628,
220,
220,
220,
8554,
281,
366,
672,
15388,
1,
869,
540,
11,
2458,
287,
262,
1627,
1271,
290,
9706,
761,
198,
220,
220,
220,
407,
307,
37698,
25,
1123,
640,
262,
3722,
393,
1627,
1271,
2458,
11,
262,
22890,
318,
198,
220,
220,
220,
1444,
355,
22890,
7,
13376,
11,
9493,
23397,
737,
628,
220,
220,
220,
383,
7097,
7071,
318,
3221,
973,
588,
428,
25,
628,
220,
220,
220,
554,
262,
23710,
4704,
25,
198,
220,
220,
220,
1635,
9113,
9386,
262,
22741,
2134,
198,
220,
220,
220,
1635,
869,
900,
62,
672,
15388,
3419,
284,
751,
281,
22890,
198,
220,
220,
220,
1635,
869,
923,
3419,
14,
9688,
62,
18558,
3419,
628,
220,
220,
220,
554,
262,
12755,
4704,
25,
198,
220,
220,
220,
1635,
618,
45588,
318,
2227,
11,
869,
900,
62,
9032,
3419,
198,
220,
220,
220,
1635,
618,
8282,
318,
2227,
11,
869,
900,
62,
43043,
3419,
198,
220,
220,
220,
1635,
618,
12225,
318,
2227,
11,
869,
900,
62,
11338,
3419,
628,
220,
220,
220,
34894,
286,
262,
327,
1398,
25,
628,
220,
220,
220,
22741,
7,
9032,
20786,
11,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2270,
2163,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
62,
8807,
62,
259,
62,
83,
643,
626,
28,
25101,
11,
220,
1303,
766,
2029,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
62,
8807,
62,
259,
62,
34345,
28,
14202,
11,
220,
220,
1303,
766,
2029,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9493,
23397,
62,
46571,
8,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
543,
1627,
3146,
284,
12854,
628,
220,
220,
220,
25458,
286,
262,
327,
1398,
25,
628,
220,
220,
220,
532,
923,
7,
13345,
540,
2599,
923,
9706,
11,
4585,
262,
1813,
869,
540,
355,
284,
1154,
626,
198,
220,
220,
220,
532,
923,
62,
18558,
7,
8189,
11,
15095,
874,
58,
11,
17205,
60,
2599,
923,
9706,
286,
262,
1813,
2438,
198,
220,
220,
220,
220,
220,
2134,
351,
262,
3298,
290,
1957,
629,
13920,
198,
220,
220,
220,
532,
900,
62,
9032,
7,
853,
2599,
2581,
257,
2270,
11,
262,
2270,
20786,
481,
307,
1444,
379,
262,
198,
220,
220,
220,
220,
220,
1306,
12854,
2163,
1057,
11,
262,
1822,
318,
1813,
284,
262,
2270,
20786,
26,
257,
407,
12,
14202,
198,
220,
220,
220,
220,
220,
1822,
318,
4385,
284,
1612,
366,
11338,
1,
198,
220,
220,
220,
532,
900,
62,
11338,
7,
853,
2599,
2581,
257,
2245,
11,
262,
1822,
481,
307,
973,
355,
281,
493,
498,
7509,
198,
220,
220,
220,
220,
220,
4578,
284,
262,
6779,
19485,
6631,
198,
220,
220,
220,
532,
900,
62,
672,
15388,
7,
672,
15388,
2599,
10199,
281,
22890,
284,
262,
4554,
628,
220,
220,
220,
49213,
286,
262,
327,
1398,
25,
628,
220,
220,
220,
532,
3722,
25,
9706,
3722,
198,
220,
220,
220,
532,
1459,
14535,
25,
1459,
9706,
5739,
198,
220,
220,
220,
532,
284,
1154,
626,
14535,
25,
717,
290,
1353,
1712,
9706,
5739,
198,
220,
220,
220,
532,
9493,
23397,
25,
1459,
1627,
1271,
357,
259,
543,
5739,
11,
766,
9493,
23397,
62,
46571,
8,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
825,
4808,
9032,
20786,
7,
944,
11,
5739,
11,
1822,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
34,
4262,
618,
9706,
468,
587,
27771,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
6056,
796,
2116,
13,
17077,
62,
1640,
62,
43043,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
611,
6056,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2617,
62,
11338,
7,
32109,
8,
628,
220,
220,
220,
825,
4043,
62,
1640,
62,
43043,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
34,
4262,
422,
262,
2270,
25439,
25,
4043,
329,
900,
62,
43043,
3419,
284,
307,
1444,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
43043,
13,
17077,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
43043,
13,
20063,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
834,
43043,
62,
853,
628,
220,
220,
220,
825,
900,
62,
43043,
7,
944,
11,
1822,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
35265,
24659,
286,
257,
27771,
9706,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
43043,
62,
853,
796,
1822,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
43043,
13,
2617,
3419,
628,
220,
220,
220,
825,
2245,
7,
944,
11,
1822,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
34,
4262,
422,
2354,
25,
2245,
9706,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1822,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1822,
796,
705,
11338,
2446,
1444,
6,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
611,
9706,
318,
2491,
11,
356,
900,
257,
2245,
6056,
6731,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
13376,
6624,
15486,
2937,
62,
49,
4944,
15871,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2617,
62,
11338,
7,
853,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2073,
356,
1309,
4043,
62,
1640,
62,
43043,
3419,
1441,
262,
1822,
11,
290,
262,
2270,
20786,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1276,
869,
900,
62,
11338,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
2116,
13,
13376,
6624,
15486,
2937,
62,
1268,
40438,
10206,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2617,
62,
43043,
7,
853,
8,
628,
220,
220,
220,
825,
651,
62,
25558,
40546,
7,
944,
11,
4179,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
257,
8931,
40546,
286,
262,
3058,
10945,
2438,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
5739,
796,
2116,
13,
14421,
14535,
198,
220,
220,
220,
220,
220,
220,
220,
611,
5739,
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,
1441,
705,
4458,
22179,
7,
40546,
1891,
13,
18982,
62,
25558,
7,
14535,
11,
4179,
38381,
17,
25,
12962,
198
] | 3.111392 | 1,975 |
import numpy as np
import pandas as pd
import spacy
# %% Load spaCy model
nlp = spacy.load("en_core_web_lg")
# %% Load cleaned data
df = pd.read_csv('./data/interim/Corpus_Cleaned.csv')
# %% Extract document vectors
df['Vector'] = df.loc[:, 'Top1':'Top25'].apply(lambda x: nlp(' '.join([str(s) for s in x])).vector, axis=1)
matrix = np.zeros((len(df), df['Vector'][0].shape[0]))
for i, r in df.iterrows():
matrix[i, ] = r['Vector']
# %% Prepare file with so many columns as in Doc2Vec vectors plus one more (for a label)
df_out = pd.DataFrame(data=matrix)
df_out['Class'] = df['Class']
df_out.to_csv(path_or_buf='./data/processed/GloVe.csv', index=False) | [
11748,
299,
32152,
355,
45941,
198,
11748,
19798,
292,
355,
279,
67,
198,
11748,
599,
1590,
198,
198,
2,
43313,
8778,
41900,
20418,
2746,
198,
21283,
79,
796,
599,
1590,
13,
2220,
7203,
268,
62,
7295,
62,
12384,
62,
75,
70,
4943,
198,
198,
2,
43313,
8778,
20750,
1366,
198,
7568,
796,
279,
67,
13,
961,
62,
40664,
7,
4458,
14,
7890,
14,
3849,
320,
14,
45680,
385,
62,
32657,
276,
13,
40664,
11537,
198,
198,
2,
43313,
29677,
3188,
30104,
198,
7568,
17816,
38469,
20520,
796,
47764,
13,
17946,
58,
45299,
705,
9126,
16,
10354,
6,
9126,
1495,
6,
4083,
39014,
7,
50033,
2124,
25,
299,
34431,
10786,
45302,
22179,
26933,
2536,
7,
82,
8,
329,
264,
287,
2124,
12962,
737,
31364,
11,
16488,
28,
16,
8,
198,
6759,
8609,
796,
45941,
13,
9107,
418,
19510,
11925,
7,
7568,
828,
47764,
17816,
38469,
6,
7131,
15,
4083,
43358,
58,
15,
60,
4008,
198,
1640,
1312,
11,
374,
287,
47764,
13,
2676,
8516,
33529,
198,
220,
220,
220,
17593,
58,
72,
11,
2361,
796,
374,
17816,
38469,
20520,
198,
198,
2,
43313,
43426,
2393,
351,
523,
867,
15180,
355,
287,
14432,
17,
53,
721,
30104,
5556,
530,
517,
357,
1640,
257,
6167,
8,
198,
7568,
62,
448,
796,
279,
67,
13,
6601,
19778,
7,
7890,
28,
6759,
8609,
8,
198,
7568,
62,
448,
17816,
9487,
20520,
796,
47764,
17816,
9487,
20520,
198,
7568,
62,
448,
13,
1462,
62,
40664,
7,
6978,
62,
273,
62,
29325,
28,
4458,
14,
7890,
14,
14681,
276,
14,
38,
5439,
26979,
13,
40664,
3256,
6376,
28,
25101,
8
] | 2.51711 | 263 |
import numpy as np
import scipy.sparse as sparse
from typing import Any
from torch.utils.checkpoint import checkpoint
import torch
import torch.nn as nn
import torch.nn.functional as F
from torch_scatter import scatter_max
from .. import register_model, BaseModel
from cogdl.utils import mul_edge_softmax, spmm, get_activation
from cogdl.trainers.deepergcn_trainer import DeeperGCNTrainer
class DeepGCNLayer(nn.Module):
"""
Implementation of DeeperGCN in paper `"DeeperGCN: All You Need to Train Deeper GCNs"` <https://arxiv.org/abs/2006.07739>
Parameters
-----------
in_feat : int
Size of each input sample
out_feat : int
Size of each output sample
conv : class
Base convolution layer.
connection : str
Residual connection type, `res` or `res+`.
activation : str
dropout : float
checkpoint_grad : bool
"""
@register_model("deepergcn")
| [
11748,
299,
32152,
355,
45941,
198,
11748,
629,
541,
88,
13,
82,
29572,
355,
29877,
198,
6738,
19720,
1330,
4377,
198,
6738,
28034,
13,
26791,
13,
9122,
4122,
1330,
26954,
198,
198,
11748,
28034,
198,
11748,
28034,
13,
20471,
355,
299,
77,
198,
11748,
28034,
13,
20471,
13,
45124,
355,
376,
198,
198,
6738,
28034,
62,
1416,
1436,
1330,
41058,
62,
9806,
198,
198,
6738,
11485,
1330,
7881,
62,
19849,
11,
7308,
17633,
198,
6738,
43072,
25404,
13,
26791,
1330,
35971,
62,
14907,
62,
4215,
9806,
11,
599,
3020,
11,
651,
62,
48545,
198,
6738,
43072,
25404,
13,
27432,
364,
13,
67,
41278,
70,
31522,
62,
2213,
10613,
1330,
1024,
5723,
15916,
45,
2898,
10613,
628,
198,
198,
4871,
10766,
15916,
32572,
2794,
7,
20471,
13,
26796,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
46333,
286,
1024,
5723,
15916,
45,
287,
3348,
4600,
1,
35,
41278,
15916,
45,
25,
1439,
921,
10664,
284,
16835,
1024,
5723,
20145,
47503,
1,
63,
1279,
5450,
1378,
283,
87,
452,
13,
2398,
14,
8937,
14,
13330,
13,
2998,
22,
2670,
29,
628,
220,
220,
220,
220,
220,
220,
220,
40117,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
6329,
198,
220,
220,
220,
220,
220,
220,
220,
287,
62,
27594,
1058,
493,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12849,
286,
1123,
5128,
6291,
198,
220,
220,
220,
220,
220,
220,
220,
503,
62,
27594,
1058,
493,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12849,
286,
1123,
5072,
6291,
198,
220,
220,
220,
220,
220,
220,
220,
3063,
1058,
1398,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7308,
3063,
2122,
7679,
13,
198,
220,
220,
220,
220,
220,
220,
220,
4637,
1058,
965,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1874,
312,
723,
4637,
2099,
11,
4600,
411,
63,
393,
4600,
411,
10,
44646,
198,
220,
220,
220,
220,
220,
220,
220,
14916,
1058,
965,
198,
220,
220,
220,
220,
220,
220,
220,
4268,
448,
1058,
12178,
198,
220,
220,
220,
220,
220,
220,
220,
26954,
62,
9744,
1058,
20512,
198,
220,
220,
220,
37227,
628,
198,
31,
30238,
62,
19849,
7203,
67,
41278,
70,
31522,
4943,
198
] | 2.568063 | 382 |
# This code is part of Qiskit.
#
# (C) Copyright IBM 2020.
#
# This code is licensed under the Apache License, Version 2.0. You may
# obtain a copy of this license in the LICENSE.txt file in the root directory
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
#
# Any modifications or derivative works of this code must retain this
# copyright notice, and modified files need to carry a notice indicating
# that they have been altered from the originals.
"""Runtime REST adapter."""
import logging
from typing import Dict, Any, Union, Optional
import json
from concurrent import futures
from .base import RestAdapterBase
from ..session import RetrySession
from ...runtime.utils import RuntimeEncoder
logger = logging.getLogger(__name__)
class Runtime(RestAdapterBase):
"""Rest adapter for Runtime base endpoints."""
URL_MAP = {
'programs': '/programs',
'jobs': '/jobs',
'logout': '/logout'
}
def program(self, program_id: str) -> 'Program':
"""Return an adapter for the program.
Args:
program_id: ID of the program.
Returns:
The program adapter.
"""
return Program(self.session, program_id)
def program_job(self, job_id: str) -> 'ProgramJob':
"""Return an adapter for the job.
Args:
job_id: Job ID.
Returns:
The program job adapter.
"""
return ProgramJob(self.session, job_id)
def list_programs(self, limit: int = None, skip: int = None) -> Dict[str, Any]:
"""Return a list of runtime programs.
Args:
limit: The number of programs to return.
skip: The number of programs to skip.
Returns:
A list of runtime programs.
"""
url = self.get_url('programs')
payload: Dict[str, int] = {}
if limit:
payload['limit'] = limit
if skip:
payload['offset'] = skip
return self.session.get(url, params=payload).json()
def create_program(
self,
program_data: str,
name: str,
description: str,
max_execution_time: int,
is_public: Optional[bool] = False,
spec: Optional[Dict] = None
) -> Dict:
"""Upload a new program.
Args:
program_data: Program data (base64 encoded).
name: Name of the program.
description: Program description.
max_execution_time: Maximum execution time.
is_public: Whether the program should be public.
spec: Backend requirements, parameters, interim results, return values, etc.
Returns:
JSON response.
"""
url = self.get_url('programs')
payload = {'name': name,
'data': program_data,
'cost': max_execution_time,
'description': description,
'is_public': is_public}
if spec is not None:
payload['spec'] = spec
data = json.dumps(payload)
return self.session.post(url, data=data).json()
def program_run(
self,
program_id: str,
hub: str,
group: str,
project: str,
backend_name: str,
params: Dict,
image: str,
log_level: Optional[str] = None
) -> Dict:
"""Execute the program.
Args:
program_id: Program ID.
hub: Hub to be used.
group: Group to be used.
project: Project to be used.
backend_name: Name of the backend.
params: Program parameters.
image: Runtime image.
log_level: Log level to use.
Returns:
JSON response.
"""
url = self.get_url('jobs')
payload = {
'program_id': program_id,
'hub': hub,
'group': group,
'project': project,
'backend': backend_name,
'params': params,
'runtime': image
}
if log_level:
payload["log_level"] = log_level
data = json.dumps(payload, cls=RuntimeEncoder)
return self.session.post(url, data=data).json()
def jobs_get(
self,
limit: int = None,
skip: int = None,
pending: bool = None,
program_id: str = None
) -> Dict:
"""Get a list of job data.
Args:
limit: Number of results to return.
skip: Number of results to skip.
pending: Returns 'QUEUED' and 'RUNNING' jobs if True,
returns 'DONE', 'CANCELLED' and 'ERROR' jobs if False.
program_id: Filter by Program ID.
Returns:
JSON response.
"""
url = self.get_url('jobs')
payload: Dict[str, Union[int, str]] = {}
if limit:
payload['limit'] = limit
if skip:
payload['offset'] = skip
if pending is not None:
payload['pending'] = 'true' if pending else 'false'
if program_id:
payload['program'] = program_id
return self.session.get(url, params=payload).json()
def logout(self) -> None:
"""Clear authorization cache."""
url = self.get_url('logout')
self.session.post(url)
class Program(RestAdapterBase):
"""Rest adapter for program related endpoints."""
URL_MAP = {
'self': '',
'data': '/data',
'run': '/jobs',
'private': '/private',
'public': '/public'
}
_executor = futures.ThreadPoolExecutor()
def __init__(self, session: RetrySession, program_id: str, url_prefix: str = '') -> None:
"""Job constructor.
Args:
session: Session to be used in the adapter.
program_id: ID of the runtime program.
url_prefix: Prefix to use in the URL.
"""
super().__init__(session, '{}/programs/{}'.format(url_prefix, program_id))
def get(self) -> Dict[str, Any]:
"""Return program information.
Returns:
JSON response.
"""
url = self.get_url('self')
return self.session.get(url).json()
def make_public(self) -> None:
"""Sets a runtime program's visibility to public."""
url = self.get_url('public')
self.session.put(url)
def make_private(self) -> None:
"""Sets a runtime program's visibility to private."""
url = self.get_url('private')
self.session.put(url)
def delete(self) -> None:
"""Delete this program.
Returns:
JSON response.
"""
url = self.get_url('self')
self.session.delete(url)
def update_data(self, program_data: str) -> None:
"""Update program data.
Args:
program_data: Program data (base64 encoded).
"""
url = self.get_url("data")
self.session.put(url, data=program_data,
headers={'Content-Type': 'application/octet-stream'})
def update_metadata(
self,
name: str = None,
description: str = None,
max_execution_time: int = None,
spec: Optional[Dict] = None
) -> None:
"""Update program metadata.
Args:
name: Name of the program.
description: Program description.
max_execution_time: Maximum execution time.
spec: Backend requirements, parameters, interim results, return values, etc.
"""
url = self.get_url("self")
payload: Dict = {}
if name:
payload["name"] = name
if description:
payload["description"] = description
if max_execution_time:
payload["cost"] = max_execution_time
if spec:
payload["spec"] = spec
self.session.patch(url, json=payload)
class ProgramJob(RestAdapterBase):
"""Rest adapter for program job related endpoints."""
URL_MAP = {
'self': '',
'results': '/results',
'cancel': '/cancel',
'logs': '/logs'
}
def __init__(
self,
session: RetrySession,
job_id: str,
url_prefix: str = ''
) -> None:
"""ProgramJob constructor.
Args:
session: Session to be used in the adapter.
job_id: ID of the program job.
url_prefix: Prefix to use in the URL.
"""
super().__init__(session, '{}/jobs/{}'.format(
url_prefix, job_id))
def get(self) -> Dict:
"""Return program job information.
Returns:
JSON response.
"""
return self.session.get(self.get_url('self')).json()
def delete(self) -> None:
"""Delete program job."""
self.session.delete(self.get_url('self'))
def results(self) -> str:
"""Return program job results.
Returns:
Job results.
"""
response = self.session.get(self.get_url('results'))
return response.text
def cancel(self) -> None:
"""Cancel the job."""
self.session.post(self.get_url('cancel'))
def logs(self) -> str:
"""Retrieve job logs.
Returns:
Job logs.
"""
return self.session.get(self.get_url('logs')).text
| [
2,
770,
2438,
318,
636,
286,
1195,
1984,
270,
13,
198,
2,
198,
2,
357,
34,
8,
15069,
19764,
12131,
13,
198,
2,
198,
2,
770,
2438,
318,
11971,
739,
262,
24843,
13789,
11,
10628,
362,
13,
15,
13,
921,
743,
198,
2,
7330,
257,
4866,
286,
428,
5964,
287,
262,
38559,
24290,
13,
14116,
2393,
287,
262,
6808,
8619,
198,
2,
286,
428,
2723,
5509,
393,
379,
2638,
1378,
2503,
13,
43073,
13,
2398,
14,
677,
4541,
14,
43,
2149,
24290,
12,
17,
13,
15,
13,
198,
2,
198,
2,
4377,
19008,
393,
27255,
2499,
286,
428,
2438,
1276,
12377,
428,
198,
2,
6634,
4003,
11,
290,
9518,
3696,
761,
284,
3283,
257,
4003,
12739,
198,
2,
326,
484,
423,
587,
14294,
422,
262,
47324,
13,
198,
198,
37811,
41006,
30617,
21302,
526,
15931,
198,
198,
11748,
18931,
198,
6738,
19720,
1330,
360,
713,
11,
4377,
11,
4479,
11,
32233,
198,
11748,
33918,
198,
6738,
24580,
1330,
25650,
198,
198,
6738,
764,
8692,
1330,
8324,
47307,
14881,
198,
6738,
11485,
29891,
1330,
4990,
563,
36044,
198,
6738,
2644,
43282,
13,
26791,
1330,
43160,
27195,
12342,
198,
198,
6404,
1362,
796,
18931,
13,
1136,
11187,
1362,
7,
834,
3672,
834,
8,
628,
198,
4871,
43160,
7,
19452,
47307,
14881,
2599,
198,
220,
220,
220,
37227,
19452,
21302,
329,
43160,
2779,
886,
13033,
526,
15931,
628,
220,
220,
220,
10289,
62,
33767,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
23065,
82,
10354,
31051,
23065,
82,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
43863,
10354,
31051,
43863,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
6404,
448,
10354,
31051,
6404,
448,
6,
198,
220,
220,
220,
1782,
628,
220,
220,
220,
825,
1430,
7,
944,
11,
1430,
62,
312,
25,
965,
8,
4613,
705,
15167,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
281,
21302,
329,
262,
1430,
13,
628,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1430,
62,
312,
25,
4522,
286,
262,
1430,
13,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
1430,
21302,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
6118,
7,
944,
13,
29891,
11,
1430,
62,
312,
8,
628,
220,
220,
220,
825,
1430,
62,
21858,
7,
944,
11,
1693,
62,
312,
25,
965,
8,
4613,
705,
15167,
33308,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
281,
21302,
329,
262,
1693,
13,
628,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1693,
62,
312,
25,
15768,
4522,
13,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
1430,
1693,
21302,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
6118,
33308,
7,
944,
13,
29891,
11,
1693,
62,
312,
8,
628,
220,
220,
220,
825,
1351,
62,
23065,
82,
7,
944,
11,
4179,
25,
493,
796,
6045,
11,
14267,
25,
493,
796,
6045,
8,
4613,
360,
713,
58,
2536,
11,
4377,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
257,
1351,
286,
19124,
4056,
13,
628,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4179,
25,
383,
1271,
286,
4056,
284,
1441,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14267,
25,
383,
1271,
286,
4056,
284,
14267,
13,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
317,
1351,
286,
19124,
4056,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
19016,
796,
2116,
13,
1136,
62,
6371,
10786,
23065,
82,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
21437,
25,
360,
713,
58,
2536,
11,
493,
60,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
611,
4179,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21437,
17816,
32374,
20520,
796,
4179,
198,
220,
220,
220,
220,
220,
220,
220,
611,
14267,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21437,
17816,
28968,
20520,
796,
14267,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
29891,
13,
1136,
7,
6371,
11,
42287,
28,
15577,
2220,
737,
17752,
3419,
628,
220,
220,
220,
825,
2251,
62,
23065,
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,
1430,
62,
7890,
25,
965,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1438,
25,
965,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6764,
25,
965,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3509,
62,
18558,
1009,
62,
2435,
25,
493,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
318,
62,
11377,
25,
32233,
58,
30388,
60,
796,
10352,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1020,
25,
32233,
58,
35,
713,
60,
796,
6045,
198,
220,
220,
220,
1267,
4613,
360,
713,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
41592,
257,
649,
1430,
13,
628,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1430,
62,
7890,
25,
6118,
1366,
357,
8692,
2414,
30240,
737,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1438,
25,
6530,
286,
262,
1430,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6764,
25,
6118,
6764,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3509,
62,
18558,
1009,
62,
2435,
25,
22246,
9706,
640,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
318,
62,
11377,
25,
10127,
262,
1430,
815,
307,
1171,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1020,
25,
5157,
437,
5359,
11,
10007,
11,
19303,
2482,
11,
1441,
3815,
11,
3503,
13,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19449,
2882,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
19016,
796,
2116,
13,
1136,
62,
6371,
10786,
23065,
82,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
21437,
796,
1391,
6,
3672,
10354,
1438,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7890,
10354,
1430,
62,
7890,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
15805,
10354,
3509,
62,
18558,
1009,
62,
2435,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
11213,
10354,
6764,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
271,
62,
11377,
10354,
318,
62,
11377,
92,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1020,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21437,
17816,
16684,
20520,
796,
1020,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
796,
33918,
13,
67,
8142,
7,
15577,
2220,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
29891,
13,
7353,
7,
6371,
11,
1366,
28,
7890,
737,
17752,
3419,
628,
220,
220,
220,
825,
1430,
62,
5143,
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,
1430,
62,
312,
25,
965,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12575,
25,
965,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1448,
25,
965,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1628,
25,
965,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
30203,
62,
3672,
25,
965,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42287,
25,
360,
713,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2939,
25,
965,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2604,
62,
5715,
25,
32233,
58,
2536,
60,
796,
6045,
198,
220,
220,
220,
1267,
4613,
360,
713,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
23002,
1133,
262,
1430,
13,
628,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1430,
62,
312,
25,
6118,
4522,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12575,
25,
14699,
284,
307,
973,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1448,
25,
4912,
284,
307,
973,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1628,
25,
4935,
284,
307,
973,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
30203,
62,
3672,
25,
6530,
286,
262,
30203,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42287,
25,
6118,
10007,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2939,
25,
43160,
2939,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2604,
62,
5715,
25,
5972,
1241,
284,
779,
13,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19449,
2882,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
19016,
796,
2116,
13,
1136,
62,
6371,
10786,
43863,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
21437,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23065,
62,
312,
10354,
1430,
62,
312,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
40140,
10354,
12575,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8094,
10354,
1448,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
16302,
10354,
1628,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1891,
437,
10354,
30203,
62,
3672,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
37266,
10354,
42287,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
43282,
10354,
2939,
198,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2604,
62,
5715,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21437,
14692,
6404,
62,
5715,
8973,
796,
2604,
62,
5715,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
796,
33918,
13,
67,
8142,
7,
15577,
2220,
11,
537,
82,
28,
41006,
27195,
12342,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
29891,
13,
7353,
7,
6371,
11,
1366,
28,
7890,
737,
17752,
3419,
628,
220,
220,
220,
825,
3946,
62,
1136,
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,
4179,
25,
493,
796,
6045,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14267,
25,
493,
796,
6045,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13310,
25,
20512,
796,
6045,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1430,
62,
312,
25,
965,
796,
6045,
198,
220,
220,
220,
1267,
4613,
360,
713,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3855,
257,
1351,
286,
1693,
1366,
13,
628,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4179,
25,
7913,
286,
2482,
284,
1441,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14267,
25,
7913,
286,
2482,
284,
14267,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13310,
25,
16409,
705,
48,
8924,
52,
1961,
6,
290,
705,
49,
4944,
15871,
6,
3946,
611,
6407,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5860,
705,
35,
11651,
3256,
705,
34,
19240,
3069,
1961,
6,
290,
705,
24908,
6,
3946,
611,
10352,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1430,
62,
312,
25,
25853,
416,
6118,
4522,
13,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19449,
2882,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
19016,
796,
2116,
13,
1136,
62,
6371,
10786,
43863,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
21437,
25,
360,
713,
58,
2536,
11,
4479,
58,
600,
11,
965,
11907,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
611,
4179,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21437,
17816,
32374,
20520,
796,
4179,
198,
220,
220,
220,
220,
220,
220,
220,
611,
14267,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21437,
17816,
28968,
20520,
796,
14267,
198,
220,
220,
220,
220,
220,
220,
220,
611,
13310,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21437,
17816,
79,
1571,
20520,
796,
705,
7942,
6,
611,
13310,
2073,
705,
9562,
6,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1430,
62,
312,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21437,
17816,
23065,
20520,
796,
1430,
62,
312,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
29891,
13,
1136,
7,
6371,
11,
42287,
28,
15577,
2220,
737,
17752,
3419,
628,
220,
220,
220,
825,
2604,
448,
7,
944,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
19856,
19601,
12940,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
19016,
796,
2116,
13,
1136,
62,
6371,
10786,
6404,
448,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
29891,
13,
7353,
7,
6371,
8,
628,
198,
4871,
6118,
7,
19452,
47307,
14881,
2599,
198,
220,
220,
220,
37227,
19452,
21302,
329,
1430,
3519,
886,
13033,
526,
15931,
628,
220,
220,
220,
10289,
62,
33767,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
944,
10354,
705,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7890,
10354,
31051,
7890,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
5143,
10354,
31051,
43863,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
19734,
10354,
31051,
19734,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
11377,
10354,
31051,
11377,
6,
198,
220,
220,
220,
1782,
628,
220,
220,
220,
4808,
18558,
38409,
796,
25650,
13,
16818,
27201,
23002,
38409,
3419,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
6246,
25,
4990,
563,
36044,
11,
1430,
62,
312,
25,
965,
11,
19016,
62,
40290,
25,
965,
796,
10148,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
33308,
23772,
13,
628,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6246,
25,
23575,
284,
307,
973,
287,
262,
21302,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1430,
62,
312,
25,
4522,
286,
262,
19124,
1430,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19016,
62,
40290,
25,
3771,
13049,
284,
779,
287,
262,
10289,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2208,
22446,
834,
15003,
834,
7,
29891,
11,
705,
90,
92,
14,
23065,
82,
14,
90,
92,
4458,
18982,
7,
6371,
62,
40290,
11,
1430,
62,
312,
4008,
628,
220,
220,
220,
825,
651,
7,
944,
8,
4613,
360,
713,
58,
2536,
11,
4377,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
1430,
1321,
13,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19449,
2882,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
19016,
796,
2116,
13,
1136,
62,
6371,
10786,
944,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
29891,
13,
1136,
7,
6371,
737,
17752,
3419,
628,
220,
220,
220,
825,
787,
62,
11377,
7,
944,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
50,
1039,
257,
19124,
1430,
338,
20742,
284,
1171,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
19016,
796,
2116,
13,
1136,
62,
6371,
10786,
11377,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
29891,
13,
1996,
7,
6371,
8,
628,
220,
220,
220,
825,
787,
62,
19734,
7,
944,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
50,
1039,
257,
19124,
1430,
338,
20742,
284,
2839,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
19016,
796,
2116,
13,
1136,
62,
6371,
10786,
19734,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
29891,
13,
1996,
7,
6371,
8,
628,
220,
220,
220,
825,
12233,
7,
944,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
38727,
428,
1430,
13,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19449,
2882,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
19016,
796,
2116,
13,
1136,
62,
6371,
10786,
944,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
29891,
13,
33678,
7,
6371,
8,
628,
220,
220,
220,
825,
4296,
62,
7890,
7,
944,
11,
1430,
62,
7890,
25,
965,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
10260,
1430,
1366,
13,
628,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1430,
62,
7890,
25,
6118,
1366,
357,
8692,
2414,
30240,
737,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
19016,
796,
2116,
13,
1136,
62,
6371,
7203,
7890,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
29891,
13,
1996,
7,
6371,
11,
1366,
28,
23065,
62,
7890,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24697,
34758,
6,
19746,
12,
6030,
10354,
705,
31438,
14,
38441,
316,
12,
5532,
6,
30072,
628,
220,
220,
220,
825,
4296,
62,
38993,
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,
1438,
25,
965,
796,
6045,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6764,
25,
965,
796,
6045,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3509,
62,
18558,
1009,
62,
2435,
25,
493,
796,
6045,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1020,
25,
32233,
58,
35,
713,
60,
796,
6045,
198,
220,
220,
220,
1267,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
10260,
1430,
20150,
13,
628,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1438,
25,
6530,
286,
262,
1430,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6764,
25,
6118,
6764,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3509,
62,
18558,
1009,
62,
2435,
25,
22246,
9706,
640,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1020,
25,
5157,
437,
5359,
11,
10007,
11,
19303,
2482,
11,
1441,
3815,
11,
3503,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
19016,
796,
2116,
13,
1136,
62,
6371,
7203,
944,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
21437,
25,
360,
713,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1438,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21437,
14692,
3672,
8973,
796,
1438,
198,
220,
220,
220,
220,
220,
220,
220,
611,
6764,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21437,
14692,
11213,
8973,
796,
6764,
198,
220,
220,
220,
220,
220,
220,
220,
611,
3509,
62,
18558,
1009,
62,
2435,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21437,
14692,
15805,
8973,
796,
3509,
62,
18558,
1009,
62,
2435,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1020,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
21437,
14692,
16684,
8973,
796,
1020,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
29891,
13,
17147,
7,
6371,
11,
33918,
28,
15577,
2220,
8,
628,
198,
4871,
6118,
33308,
7,
19452,
47307,
14881,
2599,
198,
220,
220,
220,
37227,
19452,
21302,
329,
1430,
1693,
3519,
886,
13033,
526,
15931,
628,
220,
220,
220,
10289,
62,
33767,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
944,
10354,
705,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
43420,
10354,
31051,
43420,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
66,
21130,
10354,
31051,
66,
21130,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
6404,
82,
10354,
31051,
6404,
82,
6,
198,
220,
220,
220,
1782,
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,
6246,
25,
4990,
563,
36044,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1693,
62,
312,
25,
965,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19016,
62,
40290,
25,
965,
796,
10148,
198,
220,
220,
220,
1267,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
15167,
33308,
23772,
13,
628,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6246,
25,
23575,
284,
307,
973,
287,
262,
21302,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1693,
62,
312,
25,
4522,
286,
262,
1430,
1693,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19016,
62,
40290,
25,
3771,
13049,
284,
779,
287,
262,
10289,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2208,
22446,
834,
15003,
834,
7,
29891,
11,
705,
90,
92,
14,
43863,
14,
90,
92,
4458,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19016,
62,
40290,
11,
1693,
62,
312,
4008,
628,
220,
220,
220,
825,
651,
7,
944,
8,
4613,
360,
713,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
1430,
1693,
1321,
13,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19449,
2882,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
29891,
13,
1136,
7,
944,
13,
1136,
62,
6371,
10786,
944,
11537,
737,
17752,
3419,
628,
220,
220,
220,
825,
12233,
7,
944,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
38727,
1430,
1693,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
29891,
13,
33678,
7,
944,
13,
1136,
62,
6371,
10786,
944,
6,
4008,
628,
220,
220,
220,
825,
2482,
7,
944,
8,
4613,
965,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
1430,
1693,
2482,
13,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15768,
2482,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2882,
796,
2116,
13,
29891,
13,
1136,
7,
944,
13,
1136,
62,
6371,
10786,
43420,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2882,
13,
5239,
628,
220,
220,
220,
825,
14241,
7,
944,
8,
4613,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
34,
21130,
262,
1693,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
29891,
13,
7353,
7,
944,
13,
1136,
62,
6371,
10786,
66,
21130,
6,
4008,
628,
220,
220,
220,
825,
17259,
7,
944,
8,
4613,
965,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
9781,
30227,
1693,
17259,
13,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15768,
17259,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
29891,
13,
1136,
7,
944,
13,
1136,
62,
6371,
10786,
6404,
82,
11537,
737,
5239,
198
] | 2.158432 | 4,412 |
# uncompyle6 version 3.7.4
# Python bytecode 3.7 (3394)
# Decompiled from: Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)]
# Embedded file name: T:\InGame\Gameplay\Scripts\Server\sims\outfits\outfit_picker_interactions.py
# Compiled at: 2017-06-14 00:32:50
# Size of source mod 2**32: 16347 bytes
import operator
from business.business_enums import BusinessEmployeeType
from filters.tunable import TunableSimFilter
from interactions import ParticipantType
from interactions.base.picker_interaction import PickerSuperInteraction
from interactions.context import QueueInsertStrategy
from interactions.utils.tunable import TunableContinuation
from sims.outfits.outfit_enums import OutfitCategory, TODDLER_PROHIBITED_OUTFIT_CATEGORIES
from sims.sim_info_types import Gender
from sims4.localization import TunableLocalizedStringFactory
from sims4.tuning.tunable import TunableEnumEntry, TunableVariant, HasTunableSingletonFactory, AutoFactoryInit, OptionalTunable, TunableList
from sims4.tuning.tunable_base import GroupNames
from sims4.utils import flexmethod
from ui.ui_dialog_picker import TunableUiOutfitPickerSnippet, OutfitPickerRow, UiSimPicker, SimPickerRow
import services | [
2,
34318,
2349,
21,
2196,
513,
13,
22,
13,
19,
198,
2,
11361,
18022,
8189,
513,
13,
22,
357,
2091,
5824,
8,
198,
2,
4280,
3361,
3902,
422,
25,
11361,
513,
13,
22,
13,
24,
357,
31499,
14,
85,
18,
13,
22,
13,
24,
25,
1485,
66,
24,
2857,
2857,
66,
22,
11,
2447,
1596,
12131,
11,
1248,
25,
3365,
25,
1507,
8,
685,
5653,
34,
410,
13,
48104,
5598,
1643,
357,
28075,
2414,
15437,
198,
2,
13302,
47238,
2393,
1438,
25,
309,
7479,
818,
8777,
59,
43241,
59,
7391,
82,
59,
10697,
59,
82,
12078,
59,
448,
21013,
59,
448,
11147,
62,
79,
15799,
62,
3849,
4658,
13,
9078,
198,
2,
3082,
3902,
379,
25,
2177,
12,
3312,
12,
1415,
3571,
25,
2624,
25,
1120,
198,
2,
12849,
286,
2723,
953,
362,
1174,
2624,
25,
1467,
30995,
9881,
198,
11748,
10088,
198,
6738,
1597,
13,
22680,
62,
268,
5700,
1330,
7320,
29733,
1453,
6030,
198,
6738,
16628,
13,
28286,
540,
1330,
13932,
540,
8890,
22417,
198,
6738,
12213,
1330,
29880,
6030,
198,
6738,
12213,
13,
8692,
13,
79,
15799,
62,
3849,
2673,
1330,
12346,
263,
12442,
9492,
2673,
198,
6738,
12213,
13,
22866,
1330,
4670,
518,
44402,
13290,
4338,
198,
6738,
12213,
13,
26791,
13,
28286,
540,
1330,
13932,
540,
17875,
2288,
198,
6738,
985,
82,
13,
448,
21013,
13,
448,
11147,
62,
268,
5700,
1330,
3806,
11147,
27313,
11,
16926,
19260,
1137,
62,
4805,
12096,
9865,
22061,
62,
2606,
10234,
2043,
62,
34,
6158,
38,
1581,
11015,
198,
6738,
985,
82,
13,
14323,
62,
10951,
62,
19199,
1330,
20247,
198,
6738,
985,
82,
19,
13,
12001,
1634,
1330,
13932,
540,
14565,
1143,
10100,
22810,
198,
6738,
985,
82,
19,
13,
28286,
278,
13,
28286,
540,
1330,
13932,
540,
4834,
388,
30150,
11,
13932,
540,
23907,
415,
11,
7875,
51,
403,
540,
29974,
10565,
22810,
11,
11160,
22810,
31768,
11,
32233,
51,
403,
540,
11,
13932,
540,
8053,
198,
6738,
985,
82,
19,
13,
28286,
278,
13,
28286,
540,
62,
8692,
1330,
4912,
36690,
198,
6738,
985,
82,
19,
13,
26791,
1330,
7059,
24396,
198,
6738,
334,
72,
13,
9019,
62,
38969,
519,
62,
79,
15799,
1330,
13932,
540,
52,
72,
7975,
11147,
47,
15799,
16501,
3974,
316,
11,
3806,
11147,
47,
15799,
25166,
11,
471,
72,
8890,
47,
15799,
11,
3184,
47,
15799,
25166,
198,
11748,
2594
] | 3.128535 | 389 |
class PathData:
"""
data structure contain open api scheme (sub scheme) and the variable define in the parents of the current scheme
"""
def __init__(self, scheme: dict, args: dict):
"""
:param scheme: open api scheme (sub scheme)
:param args: the variable define in the parents of the current scheme
"""
self.scheme: dict = scheme
self.args: dict = args
class SchemePath:
"""
this class should assist complex path calculations
"""
#TODO relative Path in the scheme
def getPath(self, scheme: dict, args:dict={}):
"""
calculate the path of self.path in the open api scheme
:param scheme: the open api scheme
:param args: the variable define in the path
:return: PathData | list[PathData] or None
if the path point to list return list[PathData]
if the path point to specific element return PathData
else if the epath not exist return None
"""
self.__result = []
if(self.path.endswith('%')):
self.__result_is_value = True
self.path = self.path[:-1]
path_items = self.path.split(".")
self.__getPathRec(path_items, scheme, args)#TODO handle errors
if len(self.__result) > 0:
return self.__result if self.__result_is_list else self.__result[0]
return None
def __getPathRec(self, path: list, scheme: dict, args:dict={}):
"""
recursive function used by getPath
:param path: list of element in the path
:param scheme: the current sub scheme of the open api
:param args: the variable define in the path
:return:
"""
while len(path) > 0:
if scheme is None:
return
if isinstance(scheme,list):
for sub_scheme in scheme:
sub_path = path.copy()
self.__result_is_list = True
self.__getPathRec(sub_path,sub_scheme,args)
return
item:str = path.pop(0)
if isinstance(scheme,str) and len(path) == 0 and item.startswith("#"):
sub_args = args.copy()
sub_args[item[1:]] = scheme
self.__result.append(PathData(None, sub_args))
return
if(item.startswith("#")):#variable definition
var = item[1:]
for item in scheme.keys():
sub_path = path.copy()
sub_args = args.copy()
sub_args[var] = item
self.__result_is_list = True
self.__getPathRec(sub_path,scheme[item],sub_args)
return
if(item.startswith("$")):#var Value
item = args[item[1:]]
if(item in scheme):
scheme = scheme[item]
else:
return
if(isinstance(scheme,list) and not self.__result_is_value):
self.__result_is_list = True
for item in scheme:
self.__result.append(PathData(item, args))
else:
self.__result.append(PathData(scheme, args)) | [
4871,
10644,
6601,
25,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1366,
4645,
3994,
1280,
40391,
7791,
357,
7266,
7791,
8,
290,
262,
7885,
8160,
287,
262,
3397,
286,
262,
1459,
7791,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
7791,
25,
8633,
11,
26498,
25,
8633,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
7791,
25,
1280,
40391,
7791,
357,
7266,
7791,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
26498,
25,
262,
7885,
8160,
287,
262,
3397,
286,
262,
1459,
7791,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15952,
1326,
25,
8633,
796,
7791,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
22046,
25,
8633,
796,
26498,
628,
198,
4871,
32448,
15235,
25,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
428,
1398,
815,
3342,
3716,
3108,
16765,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1303,
51,
3727,
46,
3585,
10644,
287,
262,
7791,
198,
220,
220,
220,
825,
651,
15235,
7,
944,
11,
7791,
25,
8633,
11,
26498,
25,
11600,
34758,
92,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
15284,
262,
3108,
286,
2116,
13,
6978,
287,
262,
1280,
40391,
7791,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
7791,
25,
262,
1280,
40391,
7791,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
26498,
25,
262,
7885,
8160,
287,
262,
3108,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
220,
10644,
6601,
930,
1351,
58,
15235,
6601,
60,
393,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
611,
262,
3108,
966,
284,
1351,
1441,
1351,
58,
15235,
6601,
60,
198,
220,
220,
220,
220,
220,
220,
220,
611,
262,
3108,
966,
284,
2176,
5002,
1441,
10644,
6601,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
611,
262,
2462,
776,
407,
2152,
1441,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
20274,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
611,
7,
944,
13,
6978,
13,
437,
2032,
342,
10786,
4,
11537,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
20274,
62,
271,
62,
8367,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
6978,
796,
2116,
13,
6978,
58,
21912,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
3108,
62,
23814,
796,
2116,
13,
6978,
13,
35312,
7203,
19570,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
1136,
15235,
6690,
7,
6978,
62,
23814,
11,
7791,
11,
26498,
8,
2,
51,
3727,
46,
5412,
8563,
198,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
944,
13,
834,
20274,
8,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
834,
20274,
611,
2116,
13,
834,
20274,
62,
271,
62,
4868,
2073,
2116,
13,
834,
20274,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
6045,
628,
220,
220,
220,
825,
11593,
1136,
15235,
6690,
7,
944,
11,
3108,
25,
1351,
11,
7791,
25,
8633,
11,
26498,
25,
11600,
34758,
92,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
45115,
2163,
973,
416,
651,
15235,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
3108,
25,
1351,
286,
5002,
287,
262,
3108,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
7791,
25,
262,
1459,
850,
7791,
286,
262,
1280,
40391,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
26498,
25,
262,
7885,
8160,
287,
262,
3108,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
7783,
25,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
981,
18896,
7,
6978,
8,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
7791,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
318,
39098,
7,
15952,
1326,
11,
4868,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
850,
62,
15952,
1326,
287,
7791,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
850,
62,
6978,
796,
3108,
13,
30073,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
20274,
62,
271,
62,
4868,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
1136,
15235,
6690,
7,
7266,
62,
6978,
11,
7266,
62,
15952,
1326,
11,
22046,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2378,
25,
2536,
796,
3108,
13,
12924,
7,
15,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
318,
39098,
7,
15952,
1326,
11,
2536,
8,
290,
18896,
7,
6978,
8,
6624,
657,
220,
290,
2378,
13,
9688,
2032,
342,
7203,
2,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
850,
62,
22046,
796,
26498,
13,
30073,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
850,
62,
22046,
58,
9186,
58,
16,
25,
11907,
796,
7791,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
20274,
13,
33295,
7,
15235,
6601,
7,
14202,
11,
850,
62,
22046,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
7,
9186,
13,
9688,
2032,
342,
7203,
2,
4943,
2599,
2,
45286,
6770,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1401,
796,
2378,
58,
16,
47715,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
2378,
287,
7791,
13,
13083,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
850,
62,
6978,
796,
3108,
13,
30073,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
850,
62,
22046,
796,
26498,
13,
30073,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
850,
62,
22046,
58,
7785,
60,
796,
2378,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
20274,
62,
271,
62,
4868,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
1136,
15235,
6690,
7,
7266,
62,
6978,
11,
15952,
1326,
58,
9186,
4357,
7266,
62,
22046,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
7,
9186,
13,
9688,
2032,
342,
7203,
3,
4943,
2599,
2,
7785,
11052,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2378,
796,
26498,
58,
9186,
58,
16,
25,
11907,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
7,
9186,
287,
7791,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7791,
796,
7791,
58,
9186,
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,
1441,
628,
220,
220,
220,
220,
220,
220,
220,
611,
7,
271,
39098,
7,
15952,
1326,
11,
4868,
8,
290,
407,
2116,
13,
834,
20274,
62,
271,
62,
8367,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
20274,
62,
271,
62,
4868,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
2378,
287,
7791,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
20274,
13,
33295,
7,
15235,
6601,
7,
9186,
11,
26498,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
20274,
13,
33295,
7,
15235,
6601,
7,
15952,
1326,
11,
26498,
4008
] | 2.085659 | 1,541 |
"""
This file deals with preprocessing the images for the featurizer.
It gives the user 3 options:
1. Upload a CSV with URL pointers.
2. Upload an image directory with no CSV. The featurizer will generate a CSV automatically.
3. Upload a CSV with an image directory. The CSV will contain pointers to image in the directory.
The integrated function is the preprocess_data function, which takes in the input and
generates a 4D tensor containing the vectorized representations of the image to be featurized.
"""
from PIL import Image, ImageFile
import logging
import os
try:
from urllib import urlretrieve
except ImportError:
from urllib.request import urlretrieve
import re
ImageFile.LOAD_TRUNCATED_IMAGES = True
Image.DEBUG = 0
import numpy as np # noqa: E402
import pandas as pd # noqa: E402
import trafaret as t # noqa: E402
import keras.applications as ka # noqa: E402
from keras.preprocessing.image import load_img, img_to_array # noqa: E402
##############################################
# FUNCTIONS FOR BUILDING LIST OF IMAGE PATHS #
##############################################
# Dictionary for preprocessing algorithms
# Unnecessary 'size' entry, but leaving in case of future use...
preprocessing_dict = {
'squeezenet': {
'preprocess': ka.imagenet_utils.preprocess_input,
'size': (227, 227)
},
'vgg16': {
'preprocess': ka.vgg16.preprocess_input,
'size': (224, 224)
},
'vgg19': {
'preprocess': ka.vgg19.preprocess_input,
'size': (224, 224)
},
'resnet50': {
'preprocess': ka.resnet50.preprocess_input,
'size': (224, 224)
},
'inceptionv3': {
'preprocess': ka.inception_v3.preprocess_input,
'size': (299, 299)
},
'xception': {
'preprocess': ka.xception.preprocess_input,
'size': (299, 299)
},
}
def _create_df_with_image_paths(list_of_images, image_column_header):
"""
Take in a list of image names, and return a DataFrame where each
image name is a new row.
Parameters:
----------
list_of_images: list of str
Full paths to images in a directory
image_column_header : str
The name of the header for the column of image paths
Returns:
-------
df : pandas.DataFrame
The dataframe containing the full list of image names.
"""
df = pd.DataFrame(list_of_images, columns=[image_column_header])
return df
def natural_key(string_):
"""See http://www.codinghorror.com/blog/archives/001018.html"""
return [int(s) if s.isdigit() else s for s in re.split(r'(\d+)', string_)]
def _find_directory_image_paths(image_directory):
"""
Take in a directory and parse which files in it are valid images for
loading into the featurizer.
List ordering explanation for directory-only featurization:
The list will be sorted in order to create a deterministic file order for
the generated csv, regardless of filesystem ordering. The CSV will then be
used as the canonical order for all data preprocessing, featurizing, and
eventually writing the features back into the csv.
Parameters:
----------
image_directory : str
The filepath to the directory containing the images
Returns:
-------
list_of_images : list of str
A sorted list of full paths to each valid image contained in the directory
"""
image_list = os.listdir(image_directory)
valid = ['JPEG', 'BMP', 'PNG']
list_of_images = []
for fichier in image_list:
try:
if Image.open(image_directory + fichier).format in valid:
list_of_images.append(fichier)
Image.close()
except Exception:
pass
return sorted(list_of_images, key=natural_key)
def _find_csv_image_paths(csv_path, image_column_header):
"""
Find the image paths in a csv without an image directory.
List ordering explanation for csv-included featurization:
The list does not need to be sorted, as it is already in a set order in the csv.
The csv will be used as the canonical order for all data preprocessing,
featurizing, and eventually writing the features back into the csv.
Parameters:
----------
csv_path : str
Full path to the csv
image_column_header : str
Name of the column containing the image paths
Returns:
-------
list_of_images: list of str
Full paths to each valid image contained in the csv
"""
# Create the dataframe from the csv
df = pd.read_csv(csv_path, error_bad_lines=False)
# -------------- #
# ERROR CHECKING #
# Raise an error if the image column header isn't in the dataframe
if image_column_header not in df.columns:
raise ValueError('image_column_header error: {} does not exist as a '
'column in the csv file.'.format(image_column_header))
# -------------- #
# Create the list of image paths from the column in the dataframe
list_of_images = df[image_column_header].tolist()
return list_of_images, df
def _find_combined_image_paths(image_path, csv_path, image_column_header):
"""
Find the image paths of a csv combined with a directory: take only the overlap
to avoid errors.
List ordering explanation for csv-included featurization:
See docstring for _find_csv_image_paths() method.
Parameters:
----------
image_path : str
Full path to the provided image directory
csv_path : str
Full path to the provided csv
image_column_header : str
Name of the column in the csv containing image paths
Returns:
-------
list_of_images: list of str
Full paths to each valid image contained in both the csv and directory
"""
# Find the list of image paths in the csv
csv_list, df = _find_csv_image_paths(csv_path, image_column_header)
# Find the list of image paths in the directory
directory_list = _find_directory_image_paths(image_path)
list_of_images = []
# Create the list of image paths by finding the overlap between the two,
# keeping the order in the csv
for path in csv_list:
if path in directory_list:
list_of_images.append(path)
# If the image is in the csv but not the directory, input an empty string
# as a placeholder. This image will eventually get vectorized to zeros.
else:
list_of_images.append('')
# -------------- #
# ERROR CHECKING #
# Raise error if there are no shared images between the csv and the directory
if all(path == '' for path in list_of_images):
raise ValueError('Something is wrong. There are no shared images in the'
' csv and the image directory. Check formatting or files.')
# -------------- #
return list_of_images, df
def _image_paths_finder(image_path, csv_path, image_column_header):
"""
Given an image column header, and either a csv path or an image directory,
find the list of image paths. If just a csv, it's pulled from the column.
If it's just a directory, it's pulled from the directory. If it's both,
the list is checked from the overlap between the directory and the csv.
Parameters:
----------
image_path : str
Path to the image directory, if it exists
csv_path : str
Path to the csv, if it exists
image_column_header : str
Name of column header holding image information
Returns:
-------
list_of_images : list of str
a list of the paths to all the images being featurized
"""
# CASE 1: They only give an image directory with no CSV
if csv_path == '':
# Find list of images from the image directory
list_of_images = _find_directory_image_paths(image_path)
# Create the new csv in a folder called 'featurizer_csv/'
df = _create_df_with_image_paths(list_of_images,
image_column_header=image_column_header)
# CASE 2: They only give a CSV with no directory
elif image_path == '':
# Create the list_of_images from the csv
list_of_images, df = _find_csv_image_paths(csv_path, image_column_header)
logging.info('Found image paths from csv.')
# CASE 3: They give both a CSV and a directory
else:
list_of_images, df = _find_combined_image_paths(image_path, csv_path, image_column_header)
logging.info('Found image paths that overlap between both the directory and the csv.\n')
return list_of_images, df
#####################################
# FUNCTION FOR IMAGE VECTORIZATION #
####################################
def _convert_single_image(image_source, model_str, image_path, target_size=(299, 299),
grayscale=False):
"""
Take in a path to an image (either by URL or in a native directory)
and convert the image to a preprocessed 4D numpy array, ready to be plugged
into the featurizer.
Parameters:
----------
image_source : str
Flag for either url or directory source for image
model_str : str
Name of the model converting the image
image_path : str
Either the URL or the full path to the image
target size : tuple of ints
The desired size of the image
grayscale : bool
Boolean indicating whether the image is grayscale or not
Returns:
-------
image_array : np.ndarray
a numpy array that represents the loaded and preprocessed image
"""
# Retrieve the image, either from a given url or from a directory
try:
if image_source == 'url':
image_file = urlretrieve(image_path)[0]
elif image_source == 'directory':
image_file = image_path
# If the image can't be retrieved, return a zeros vector of the appropriate size
except (IOError, ValueError):
# The channel dimension for a missing image is 3 if not grayscale, or 1 if grayscale
im_size = target_size + (3 - 2 * grayscale,)
logging.error('ERROR: Could not load/convert image to numpy array: {}'.format(image_path))
return np.zeros(im_size)
# Load the image, and convert it to a numpy array with the target size
image = load_img(image_file, target_size=target_size, grayscale=grayscale)
image_array = img_to_array(image)
# Expand the dimension for keras preprocessing, and preprocess the data
# according to the InceptionV3 training that they performed.
image_array = np.expand_dims(image_array, axis=0)
image_array = preprocessing_dict[model_str]['preprocess'](image_array)
# Return the image array
return image_array
################################################
# FUNCTION FOR END-TO-END DATA PREPROCESSING #
################################################
@t.guard(image_column_header=t.String(allow_blank=False),
model_str=t.String(allow_blank=False),
list_of_images=t.List(t.String(allow_blank=True)),
image_path=t.String(allow_blank=True),
csv_path=t.String(allow_blank=True),
target_size=t.Tuple(t.Int, t.Int),
grayscale=t.Bool)
def preprocess_data(image_column_header,
model_str,
list_of_images,
image_path='',
csv_path='',
target_size=(299, 299),
grayscale=False):
"""
Receive the data (some combination of image directory + csv), find
the list of valid images, and then convert each to an array and adds
them to the full batch.
Parameters:
----------
image_path : str
The path to the image directory, if it is being passed
csv_path : str
The path to the csv, if it is being passed
image_column_header : str
The name of the column that contains the image paths in the csv
target_size : tuple of ints
The size that the images will be scaled to
grayscale : bool
Boolean indicating whether the images are grayscale or not
Returns:
-------
image_data : np.ndarray
a 4D numpy tensor containing the (full or batched) vectorized images,
ready to be pushed through the featurizer
list_of_images : list of str
the list of image paths in the same order as the batches
of the numpy tensor. This will allow us to add the
features to the correct row of the csv.
"""
# -------------- #
# ERROR CHECKING #
# -------------- #
# If there is no image directory or csv, then something is wrong.
if image_path == '' and csv_path == '':
raise ValueError('Need to load either an image directory or a CSV with'
' URLs, if no image directory included.')
# Raise an error if the image_path doesn't point to a directory
if image_path and not os.path.isdir(image_path):
raise TypeError('image_path must lead to a directory if '
'it is initialized. It is where the images are stored.')
if model_str not in preprocessing_dict.keys():
raise ValueError('model_str must be one the following: {}'.format(preprocessing_dict.keys))
# ------------------------------------------------------ #
# BUILDING IMAGE PATH LIST #
num_images = len(list_of_images)
image_source = _find_image_source(image_path)
# Set number of grayscale channels (3 if color, 1 if grayscale)
channels = 3 - (2 * grayscale)
# Initialize the full batch
image_data = np.ones((num_images, target_size[0], target_size[1], channels))
# Create the full image tensor
logging.info('Converting images.')
image_dict = {}
index = 0
# Iterate through each image in the list of image names
for image in list_of_images:
# If the image is in the csv, but not in the directory, set it to all zeros
# This allows the featurizer to correctly append features when there is
# mismatch between the csv and the directory. Otherwise it would lose rows
if image == '':
image_data[index, :, :, :] = 0
index += 1
continue
# If the image has already been vectorized before, just copy that slice
if image in image_dict:
image_data[index, :, :, :] = image_data[image_dict[image], :, :, :]
# Otherwise, vectorize the image
else:
# Add the index to the dictionary to check in the future
image_dict[image] = index
# Append the image path to the image name. If there's none, nothing will change
image = '{}{}'.format(image_path, image)
# Place the vectorized image into the image data
image_data[index, :, :, :] = _convert_single_image(image_source, model_str, image,
target_size=target_size,
grayscale=grayscale)
# Progress report at set intervals
if num_images < 1000:
report_step = 100
elif num_images < 5000:
report_step = 500
else:
report_step = 1000
if not index % report_step:
logging.info('Converted {} images in batch. Only {} images left to go.'.format(
index, num_images - index))
index += 1
return image_data, list_of_images
| [
37811,
198,
1212,
2393,
7529,
351,
662,
36948,
262,
4263,
329,
262,
2218,
333,
7509,
13,
198,
198,
1026,
3607,
262,
2836,
513,
3689,
25,
198,
16,
13,
36803,
257,
44189,
351,
10289,
32007,
13,
198,
17,
13,
36803,
281,
2939,
8619,
351,
645,
44189,
13,
383,
2218,
333,
7509,
481,
7716,
257,
44189,
6338,
13,
198,
18,
13,
36803,
257,
44189,
351,
281,
2939,
8619,
13,
383,
44189,
481,
3994,
32007,
284,
2939,
287,
262,
8619,
13,
198,
198,
464,
11521,
2163,
318,
262,
662,
14681,
62,
7890,
2163,
11,
543,
2753,
287,
262,
5128,
290,
198,
8612,
689,
257,
604,
35,
11192,
273,
7268,
262,
15879,
1143,
24612,
286,
262,
2939,
284,
307,
2218,
44796,
13,
198,
37811,
198,
198,
6738,
350,
4146,
1330,
7412,
11,
7412,
8979,
198,
11748,
18931,
198,
11748,
28686,
198,
28311,
25,
198,
220,
220,
220,
422,
2956,
297,
571,
1330,
19016,
1186,
30227,
198,
16341,
17267,
12331,
25,
198,
220,
220,
220,
422,
2956,
297,
571,
13,
25927,
1330,
19016,
1186,
30227,
198,
11748,
302,
198,
198,
5159,
8979,
13,
35613,
62,
5446,
4944,
34,
11617,
62,
3955,
25552,
796,
6407,
198,
5159,
13,
30531,
796,
657,
198,
198,
11748,
299,
32152,
355,
45941,
220,
1303,
645,
20402,
25,
412,
32531,
198,
11748,
19798,
292,
355,
279,
67,
220,
1303,
645,
20402,
25,
412,
32531,
198,
11748,
1291,
69,
8984,
355,
256,
220,
1303,
645,
20402,
25,
412,
32531,
198,
11748,
41927,
292,
13,
1324,
677,
602,
355,
38387,
220,
1303,
645,
20402,
25,
412,
32531,
198,
6738,
41927,
292,
13,
3866,
36948,
13,
9060,
1330,
3440,
62,
9600,
11,
33705,
62,
1462,
62,
18747,
220,
1303,
645,
20402,
25,
412,
32531,
198,
198,
29113,
7804,
4242,
2235,
198,
2,
29397,
4177,
11053,
7473,
20571,
26761,
2751,
39498,
3963,
8959,
11879,
28748,
7998,
1303,
198,
29113,
7804,
4242,
2235,
198,
198,
2,
28261,
329,
662,
36948,
16113,
198,
2,
791,
49986,
705,
7857,
6,
5726,
11,
475,
4305,
287,
1339,
286,
2003,
779,
986,
198,
3866,
36948,
62,
11600,
796,
1391,
198,
220,
220,
220,
705,
16485,
1453,
4801,
316,
10354,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
3866,
14681,
10354,
38387,
13,
320,
11286,
316,
62,
26791,
13,
3866,
14681,
62,
15414,
11,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7857,
10354,
357,
24403,
11,
30989,
8,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
705,
85,
1130,
1433,
10354,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
3866,
14681,
10354,
38387,
13,
85,
1130,
1433,
13,
3866,
14681,
62,
15414,
11,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7857,
10354,
357,
24137,
11,
26063,
8,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
705,
85,
1130,
1129,
10354,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
3866,
14681,
10354,
38387,
13,
85,
1130,
1129,
13,
3866,
14681,
62,
15414,
11,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7857,
10354,
357,
24137,
11,
26063,
8,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
705,
411,
3262,
1120,
10354,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
3866,
14681,
10354,
38387,
13,
411,
3262,
1120,
13,
3866,
14681,
62,
15414,
11,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7857,
10354,
357,
24137,
11,
26063,
8,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
705,
924,
1159,
85,
18,
10354,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
3866,
14681,
10354,
38387,
13,
924,
1159,
62,
85,
18,
13,
3866,
14681,
62,
15414,
11,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7857,
10354,
357,
22579,
11,
31011,
8,
198,
220,
220,
220,
8964,
628,
220,
220,
220,
705,
87,
4516,
10354,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
3866,
14681,
10354,
38387,
13,
87,
4516,
13,
3866,
14681,
62,
15414,
11,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7857,
10354,
357,
22579,
11,
31011,
8,
198,
220,
220,
220,
8964,
198,
92,
628,
198,
4299,
4808,
17953,
62,
7568,
62,
4480,
62,
9060,
62,
6978,
82,
7,
4868,
62,
1659,
62,
17566,
11,
2939,
62,
28665,
62,
25677,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
7214,
287,
257,
1351,
286,
2939,
3891,
11,
290,
1441,
257,
6060,
19778,
810,
1123,
198,
220,
220,
220,
2939,
1438,
318,
257,
649,
5752,
13,
628,
220,
220,
220,
40117,
25,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
1351,
62,
1659,
62,
17566,
25,
1351,
286,
965,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6462,
13532,
284,
4263,
287,
257,
8619,
628,
220,
220,
220,
220,
220,
220,
220,
2939,
62,
28665,
62,
25677,
1058,
965,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
1438,
286,
262,
13639,
329,
262,
5721,
286,
2939,
13532,
628,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
47764,
1058,
19798,
292,
13,
6601,
19778,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
1366,
14535,
7268,
262,
1336,
1351,
286,
2939,
3891,
13,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
47764,
796,
279,
67,
13,
6601,
19778,
7,
4868,
62,
1659,
62,
17566,
11,
15180,
41888,
9060,
62,
28665,
62,
25677,
12962,
198,
220,
220,
220,
1441,
47764,
628,
198,
4299,
3288,
62,
2539,
7,
8841,
62,
2599,
198,
220,
220,
220,
37227,
6214,
2638,
1378,
2503,
13,
66,
7656,
17899,
1472,
13,
785,
14,
14036,
14,
48814,
14,
8298,
29159,
13,
6494,
37811,
198,
220,
220,
220,
1441,
685,
600,
7,
82,
8,
611,
264,
13,
9409,
328,
270,
3419,
2073,
264,
329,
264,
287,
302,
13,
35312,
7,
81,
6,
38016,
67,
28988,
3256,
4731,
62,
15437,
628,
198,
4299,
4808,
19796,
62,
34945,
62,
9060,
62,
6978,
82,
7,
9060,
62,
34945,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
7214,
287,
257,
8619,
290,
21136,
543,
3696,
287,
340,
389,
4938,
4263,
329,
198,
220,
220,
220,
11046,
656,
262,
2218,
333,
7509,
13,
628,
220,
220,
220,
7343,
16216,
7468,
329,
8619,
12,
8807,
2218,
333,
1634,
25,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1351,
481,
307,
23243,
287,
1502,
284,
2251,
257,
2206,
49228,
2393,
1502,
329,
198,
220,
220,
220,
220,
220,
220,
220,
262,
7560,
269,
21370,
11,
7692,
286,
29905,
16216,
13,
383,
44189,
481,
788,
307,
198,
220,
220,
220,
220,
220,
220,
220,
973,
355,
262,
40091,
1502,
329,
477,
1366,
662,
36948,
11,
2218,
333,
2890,
11,
290,
198,
220,
220,
220,
220,
220,
220,
220,
4191,
3597,
262,
3033,
736,
656,
262,
269,
21370,
13,
628,
220,
220,
220,
40117,
25,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
2939,
62,
34945,
1058,
965,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
2393,
6978,
284,
262,
8619,
7268,
262,
4263,
628,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
1351,
62,
1659,
62,
17566,
1058,
1351,
286,
965,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
317,
23243,
1351,
286,
1336,
13532,
284,
1123,
4938,
2939,
7763,
287,
262,
8619,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
2939,
62,
4868,
796,
28686,
13,
4868,
15908,
7,
9060,
62,
34945,
8,
628,
220,
220,
220,
4938,
796,
37250,
12889,
7156,
3256,
705,
33,
7378,
3256,
705,
47,
10503,
20520,
198,
220,
220,
220,
1351,
62,
1659,
62,
17566,
796,
17635,
628,
220,
220,
220,
329,
277,
488,
959,
287,
2939,
62,
4868,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
7412,
13,
9654,
7,
9060,
62,
34945,
1343,
277,
488,
959,
737,
18982,
287,
4938,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1351,
62,
1659,
62,
17566,
13,
33295,
7,
69,
488,
959,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7412,
13,
19836,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
35528,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
1441,
23243,
7,
4868,
62,
1659,
62,
17566,
11,
1994,
28,
11802,
62,
2539,
8,
628,
198,
4299,
4808,
19796,
62,
40664,
62,
9060,
62,
6978,
82,
7,
40664,
62,
6978,
11,
2939,
62,
28665,
62,
25677,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
9938,
262,
2939,
13532,
287,
257,
269,
21370,
1231,
281,
2939,
8619,
13,
628,
220,
220,
220,
7343,
16216,
7468,
329,
269,
21370,
12,
259,
10341,
2218,
333,
1634,
25,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1351,
857,
407,
761,
284,
307,
23243,
11,
355,
340,
318,
1541,
287,
257,
900,
1502,
287,
262,
269,
21370,
13,
198,
220,
220,
220,
220,
220,
220,
220,
383,
269,
21370,
481,
307,
973,
355,
262,
40091,
1502,
329,
477,
1366,
662,
36948,
11,
198,
220,
220,
220,
220,
220,
220,
220,
2218,
333,
2890,
11,
290,
4191,
3597,
262,
3033,
736,
656,
262,
269,
21370,
13,
628,
198,
220,
220,
220,
40117,
25,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
269,
21370,
62,
6978,
1058,
965,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6462,
3108,
284,
262,
269,
21370,
628,
220,
220,
220,
220,
220,
220,
220,
2939,
62,
28665,
62,
25677,
1058,
965,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6530,
286,
262,
5721,
7268,
262,
2939,
13532,
628,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
1351,
62,
1659,
62,
17566,
25,
1351,
286,
965,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6462,
13532,
284,
1123,
4938,
2939,
7763,
287,
262,
269,
21370,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
1303,
13610,
262,
1366,
14535,
422,
262,
269,
21370,
198,
220,
220,
220,
47764,
796,
279,
67,
13,
961,
62,
40664,
7,
40664,
62,
6978,
11,
4049,
62,
14774,
62,
6615,
28,
25101,
8,
628,
220,
220,
220,
1303,
220,
26171,
1303,
198,
220,
220,
220,
1303,
33854,
5870,
25171,
2751,
1303,
198,
220,
220,
220,
1303,
35123,
281,
4049,
611,
262,
2939,
5721,
13639,
2125,
470,
287,
262,
1366,
14535,
198,
220,
220,
220,
611,
2939,
62,
28665,
62,
25677,
407,
287,
47764,
13,
28665,
82,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
11052,
12331,
10786,
9060,
62,
28665,
62,
25677,
4049,
25,
23884,
857,
407,
2152,
355,
257,
705,
198,
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,
28665,
287,
262,
269,
21370,
2393,
2637,
13,
18982,
7,
9060,
62,
28665,
62,
25677,
4008,
198,
220,
220,
220,
1303,
220,
26171,
1303,
628,
220,
220,
220,
1303,
13610,
262,
1351,
286,
2939,
13532,
422,
262,
5721,
287,
262,
1366,
14535,
198,
220,
220,
220,
1351,
62,
1659,
62,
17566,
796,
47764,
58,
9060,
62,
28665,
62,
25677,
4083,
83,
349,
396,
3419,
628,
220,
220,
220,
1441,
1351,
62,
1659,
62,
17566,
11,
47764,
628,
198,
4299,
4808,
19796,
62,
24011,
1389,
62,
9060,
62,
6978,
82,
7,
9060,
62,
6978,
11,
269,
21370,
62,
6978,
11,
2939,
62,
28665,
62,
25677,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
9938,
262,
2939,
13532,
286,
257,
269,
21370,
5929,
351,
257,
8619,
25,
1011,
691,
262,
21721,
198,
220,
220,
220,
284,
3368,
8563,
13,
628,
220,
220,
220,
7343,
16216,
7468,
329,
269,
21370,
12,
259,
10341,
2218,
333,
1634,
25,
198,
220,
220,
220,
220,
220,
220,
220,
4091,
2205,
8841,
329,
4808,
19796,
62,
40664,
62,
9060,
62,
6978,
82,
3419,
2446,
13,
628,
220,
220,
220,
40117,
25,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
2939,
62,
6978,
1058,
965,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6462,
3108,
284,
262,
2810,
2939,
8619,
628,
220,
220,
220,
220,
220,
220,
220,
269,
21370,
62,
6978,
1058,
965,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6462,
3108,
284,
262,
2810,
269,
21370,
628,
220,
220,
220,
220,
220,
220,
220,
2939,
62,
28665,
62,
25677,
1058,
965,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6530,
286,
262,
5721,
287,
262,
269,
21370,
7268,
2939,
13532,
628,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
1351,
62,
1659,
62,
17566,
25,
1351,
286,
965,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6462,
13532,
284,
1123,
4938,
2939,
7763,
287,
1111,
262,
269,
21370,
290,
8619,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
1303,
9938,
262,
1351,
286,
2939,
13532,
287,
262,
269,
21370,
198,
220,
220,
220,
269,
21370,
62,
4868,
11,
47764,
796,
4808,
19796,
62,
40664,
62,
9060,
62,
6978,
82,
7,
40664,
62,
6978,
11,
2939,
62,
28665,
62,
25677,
8,
628,
220,
220,
220,
1303,
9938,
262,
1351,
286,
2939,
13532,
287,
262,
8619,
198,
220,
220,
220,
8619,
62,
4868,
796,
4808,
19796,
62,
34945,
62,
9060,
62,
6978,
82,
7,
9060,
62,
6978,
8,
628,
220,
220,
220,
1351,
62,
1659,
62,
17566,
796,
17635,
628,
220,
220,
220,
1303,
13610,
262,
1351,
286,
2939,
13532,
416,
4917,
262,
21721,
1022,
262,
734,
11,
198,
220,
220,
220,
1303,
5291,
262,
1502,
287,
262,
269,
21370,
198,
220,
220,
220,
329,
3108,
287,
269,
21370,
62,
4868,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
3108,
287,
8619,
62,
4868,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1351,
62,
1659,
62,
17566,
13,
33295,
7,
6978,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1002,
262,
2939,
318,
287,
262,
269,
21370,
475,
407,
262,
8619,
11,
5128,
281,
6565,
4731,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
355,
257,
46076,
13,
770,
2939,
481,
4191,
651,
15879,
1143,
284,
1976,
27498,
13,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1351,
62,
1659,
62,
17566,
13,
33295,
7,
7061,
8,
628,
220,
220,
220,
1303,
220,
26171,
1303,
198,
220,
220,
220,
1303,
33854,
5870,
25171,
2751,
1303,
628,
220,
220,
220,
1303,
35123,
4049,
611,
612,
389,
645,
4888,
4263,
1022,
262,
269,
21370,
290,
262,
8619,
198,
220,
220,
220,
611,
477,
7,
6978,
6624,
10148,
329,
3108,
287,
1351,
62,
1659,
62,
17566,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
11052,
12331,
10786,
22210,
318,
2642,
13,
1318,
389,
645,
4888,
4263,
287,
262,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
269,
21370,
290,
262,
2939,
8619,
13,
6822,
33313,
393,
3696,
2637,
8,
198,
220,
220,
220,
1303,
220,
26171,
1303,
628,
220,
220,
220,
1441,
1351,
62,
1659,
62,
17566,
11,
47764,
628,
198,
4299,
4808,
9060,
62,
6978,
82,
62,
22805,
7,
9060,
62,
6978,
11,
269,
21370,
62,
6978,
11,
2939,
62,
28665,
62,
25677,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
11259,
281,
2939,
5721,
13639,
11,
290,
2035,
257,
269,
21370,
3108,
393,
281,
2939,
8619,
11,
198,
220,
220,
220,
1064,
262,
1351,
286,
2939,
13532,
13,
1002,
655,
257,
269,
21370,
11,
340,
338,
5954,
422,
262,
5721,
13,
198,
220,
220,
220,
1002,
340,
338,
655,
257,
8619,
11,
340,
338,
5954,
422,
262,
8619,
13,
1002,
340,
338,
1111,
11,
198,
220,
220,
220,
262,
1351,
318,
10667,
422,
262,
21721,
1022,
262,
8619,
290,
262,
269,
21370,
13,
628,
220,
220,
220,
40117,
25,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
2939,
62,
6978,
1058,
965,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10644,
284,
262,
2939,
8619,
11,
611,
340,
7160,
628,
220,
220,
220,
220,
220,
220,
220,
269,
21370,
62,
6978,
1058,
965,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10644,
284,
262,
269,
21370,
11,
611,
340,
7160,
628,
220,
220,
220,
220,
220,
220,
220,
2939,
62,
28665,
62,
25677,
1058,
965,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6530,
286,
5721,
13639,
4769,
2939,
1321,
628,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
1351,
62,
1659,
62,
17566,
1058,
1351,
286,
965,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
220,
1351,
286,
262,
13532,
284,
477,
262,
4263,
852,
2218,
44796,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
1303,
42001,
352,
25,
1119,
691,
1577,
281,
2939,
8619,
351,
645,
44189,
198,
220,
220,
220,
611,
269,
21370,
62,
6978,
6624,
10148,
25,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
9938,
1351,
286,
4263,
422,
262,
2939,
8619,
198,
220,
220,
220,
220,
220,
220,
220,
1351,
62,
1659,
62,
17566,
796,
4808,
19796,
62,
34945,
62,
9060,
62,
6978,
82,
7,
9060,
62,
6978,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
13610,
262,
649,
269,
21370,
287,
257,
9483,
1444,
705,
5036,
2541,
7509,
62,
40664,
14,
6,
198,
220,
220,
220,
220,
220,
220,
220,
47764,
796,
4808,
17953,
62,
7568,
62,
4480,
62,
9060,
62,
6978,
82,
7,
4868,
62,
1659,
62,
17566,
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,
2939,
62,
28665,
62,
25677,
28,
9060,
62,
28665,
62,
25677,
8,
628,
220,
220,
220,
1303,
42001,
362,
25,
1119,
691,
1577,
257,
44189,
351,
645,
8619,
198,
220,
220,
220,
1288,
361,
2939,
62,
6978,
6624,
10148,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
13610,
262,
1351,
62,
1659,
62,
17566,
422,
262,
269,
21370,
198,
220,
220,
220,
220,
220,
220,
220,
1351,
62,
1659,
62,
17566,
11,
47764,
796,
4808,
19796,
62,
40664,
62,
9060,
62,
6978,
82,
7,
40664,
62,
6978,
11,
2939,
62,
28665,
62,
25677,
8,
198,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
10951,
10786,
21077,
2939,
13532,
422,
269,
21370,
2637,
8,
628,
220,
220,
220,
1303,
42001,
513,
25,
1119,
1577,
1111,
257,
44189,
290,
257,
8619,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1351,
62,
1659,
62,
17566,
11,
47764,
796,
4808,
19796,
62,
24011,
1389,
62,
9060,
62,
6978,
82,
7,
9060,
62,
6978,
11,
269,
21370,
62,
6978,
11,
2939,
62,
28665,
62,
25677,
8,
198,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
10951,
10786,
21077,
2939,
13532,
326,
21721,
1022,
1111,
262,
8619,
290,
262,
269,
21370,
13,
59,
77,
11537,
628,
220,
220,
220,
1441,
1351,
62,
1659,
62,
17566,
11,
47764,
628,
198,
29113,
4242,
2,
198,
2,
29397,
4177,
2849,
7473,
8959,
11879,
569,
9782,
1581,
14887,
6234,
1303,
198,
29113,
4242,
198,
198,
4299,
4808,
1102,
1851,
62,
29762,
62,
9060,
7,
9060,
62,
10459,
11,
2746,
62,
2536,
11,
2939,
62,
6978,
11,
2496,
62,
7857,
16193,
22579,
11,
31011,
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,
1036,
592,
38765,
28,
25101,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
7214,
287,
257,
3108,
284,
281,
2939,
357,
31336,
416,
10289,
393,
287,
257,
6868,
8619,
8,
198,
220,
220,
220,
290,
10385,
262,
2939,
284,
257,
662,
14681,
276,
604,
35,
299,
32152,
7177,
11,
3492,
284,
307,
30601,
198,
220,
220,
220,
656,
262,
2218,
333,
7509,
13,
628,
220,
220,
220,
40117,
25,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
2939,
62,
10459,
1058,
965,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19762,
329,
2035,
19016,
393,
8619,
2723,
329,
2939,
628,
220,
220,
220,
220,
220,
220,
220,
2746,
62,
2536,
1058,
965,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6530,
286,
262,
2746,
23202,
262,
2939,
628,
220,
220,
220,
220,
220,
220,
220,
2939,
62,
6978,
1058,
965,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15467,
262,
10289,
393,
262,
1336,
3108,
284,
262,
2939,
628,
220,
220,
220,
220,
220,
220,
220,
2496,
2546,
1058,
46545,
286,
493,
82,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
10348,
2546,
286,
262,
2939,
628,
220,
220,
220,
220,
220,
220,
220,
1036,
592,
38765,
1058,
20512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
41146,
12739,
1771,
262,
2939,
318,
1036,
592,
38765,
393,
407,
628,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
2939,
62,
18747,
1058,
45941,
13,
358,
18747,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
299,
32152,
7177,
326,
6870,
262,
9639,
290,
662,
14681,
276,
2939,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
1303,
4990,
30227,
262,
2939,
11,
2035,
422,
257,
1813,
19016,
393,
422,
257,
8619,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2939,
62,
10459,
6624,
705,
6371,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2939,
62,
7753,
796,
19016,
1186,
30227,
7,
9060,
62,
6978,
38381,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
2939,
62,
10459,
6624,
705,
34945,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2939,
62,
7753,
796,
2939,
62,
6978,
628,
220,
220,
220,
1303,
1002,
262,
2939,
460,
470,
307,
29517,
11,
1441,
257,
1976,
27498,
15879,
286,
262,
5035,
2546,
198,
220,
220,
220,
2845,
357,
9399,
12331,
11,
11052,
12331,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
383,
6518,
15793,
329,
257,
4814,
2939,
318,
513,
611,
407,
1036,
592,
38765,
11,
393,
352,
611,
1036,
592,
38765,
198,
220,
220,
220,
220,
220,
220,
220,
545,
62,
7857,
796,
2496,
62,
7857,
1343,
357,
18,
532,
362,
1635,
1036,
592,
38765,
35751,
198,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
18224,
10786,
24908,
25,
10347,
407,
3440,
14,
1102,
1851,
2939,
284,
299,
32152,
7177,
25,
23884,
4458,
18982,
7,
9060,
62,
6978,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
45941,
13,
9107,
418,
7,
320,
62,
7857,
8,
628,
220,
220,
220,
1303,
8778,
262,
2939,
11,
290,
10385,
340,
284,
257,
299,
32152,
7177,
351,
262,
2496,
2546,
198,
220,
220,
220,
2939,
796,
3440,
62,
9600,
7,
9060,
62,
7753,
11,
2496,
62,
7857,
28,
16793,
62,
7857,
11,
1036,
592,
38765,
28,
2164,
592,
38765,
8,
198,
220,
220,
220,
2939,
62,
18747,
796,
33705,
62,
1462,
62,
18747,
7,
9060,
8,
628,
220,
220,
220,
1303,
49368,
262,
15793,
329,
41927,
292,
662,
36948,
11,
290,
662,
14681,
262,
1366,
198,
220,
220,
220,
1303,
1864,
284,
262,
554,
4516,
53,
18,
3047,
326,
484,
6157,
13,
198,
220,
220,
220,
2939,
62,
18747,
796,
45941,
13,
11201,
392,
62,
67,
12078,
7,
9060,
62,
18747,
11,
16488,
28,
15,
8,
198,
220,
220,
220,
2939,
62,
18747,
796,
662,
36948,
62,
11600,
58,
19849,
62,
2536,
7131,
6,
3866,
14681,
6,
16151,
9060,
62,
18747,
8,
628,
220,
220,
220,
1303,
8229,
262,
2939,
7177,
198,
220,
220,
220,
1441,
2939,
62,
18747,
628,
198,
29113,
14468,
198,
2,
220,
29397,
4177,
2849,
7473,
23578,
12,
10468,
12,
10619,
42865,
22814,
4805,
4503,
7597,
2751,
220,
1303,
198,
29113,
14468,
628,
198,
31,
83,
13,
14864,
7,
9060,
62,
28665,
62,
25677,
28,
83,
13,
10100,
7,
12154,
62,
27190,
28,
25101,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
2746,
62,
2536,
28,
83,
13,
10100,
7,
12154,
62,
27190,
28,
25101,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
1351,
62,
1659,
62,
17566,
28,
83,
13,
8053,
7,
83,
13,
10100,
7,
12154,
62,
27190,
28,
17821,
36911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
2939,
62,
6978,
28,
83,
13,
10100,
7,
12154,
62,
27190,
28,
17821,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
269,
21370,
62,
6978,
28,
83,
13,
10100,
7,
12154,
62,
27190,
28,
17821,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
2496,
62,
7857,
28,
83,
13,
51,
29291,
7,
83,
13,
5317,
11,
256,
13,
5317,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
1036,
592,
38765,
28,
83,
13,
33,
970,
8,
198,
4299,
662,
14681,
62,
7890,
7,
9060,
62,
28665,
62,
25677,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2746,
62,
2536,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1351,
62,
1659,
62,
17566,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2939,
62,
6978,
11639,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
21370,
62,
6978,
11639,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2496,
62,
7857,
16193,
22579,
11,
31011,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1036,
592,
38765,
28,
25101,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
797,
15164,
262,
1366,
357,
11246,
6087,
286,
2939,
8619,
1343,
269,
21370,
828,
1064,
198,
220,
220,
220,
262,
1351,
286,
4938,
4263,
11,
290,
788,
10385,
1123,
284,
281,
7177,
290,
6673,
198,
220,
220,
220,
606,
284,
262,
1336,
15458,
13,
628,
220,
220,
220,
40117,
25,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
2939,
62,
6978,
1058,
965,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
3108,
284,
262,
2939,
8619,
11,
611,
340,
318,
852,
3804,
628,
220,
220,
220,
220,
220,
220,
220,
269,
21370,
62,
6978,
1058,
965,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
3108,
284,
262,
269,
21370,
11,
611,
340,
318,
852,
3804,
628,
220,
220,
220,
220,
220,
220,
220,
2939,
62,
28665,
62,
25677,
1058,
965,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
1438,
286,
262,
5721,
326,
4909,
262,
2939,
13532,
287,
262,
269,
21370,
628,
220,
220,
220,
220,
220,
220,
220,
2496,
62,
7857,
1058,
46545,
286,
493,
82,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
2546,
326,
262,
4263,
481,
307,
27464,
284,
628,
220,
220,
220,
220,
220,
220,
220,
1036,
592,
38765,
1058,
20512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
41146,
12739,
1771,
262,
4263,
389,
1036,
592,
38765,
393,
407,
628,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
2939,
62,
7890,
1058,
45941,
13,
358,
18747,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
604,
35,
299,
32152,
11192,
273,
7268,
262,
357,
12853,
393,
7365,
1740,
8,
15879,
1143,
4263,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3492,
284,
307,
7121,
832,
262,
2218,
333,
7509,
628,
220,
220,
220,
220,
220,
220,
220,
1351,
62,
1659,
62,
17566,
1058,
1351,
286,
965,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
262,
1351,
286,
2939,
13532,
287,
262,
976,
1502,
355,
262,
37830,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
286,
262,
299,
32152,
11192,
273,
13,
770,
481,
1249,
514,
284,
751,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3033,
284,
262,
3376,
5752,
286,
262,
269,
21370,
13,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
1303,
220,
26171,
1303,
198,
220,
220,
220,
1303,
33854,
5870,
25171,
2751,
1303,
198,
220,
220,
220,
1303,
220,
26171,
1303,
628,
220,
220,
220,
1303,
1002,
612,
318,
645,
2939,
8619,
393,
269,
21370,
11,
788,
1223,
318,
2642,
13,
198,
220,
220,
220,
611,
2939,
62,
6978,
6624,
10148,
290,
269,
21370,
62,
6978,
6624,
10148,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
11052,
12331,
10786,
23037,
284,
3440,
2035,
281,
2939,
8619,
393,
257,
44189,
351,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
32336,
11,
611,
645,
2939,
8619,
3017,
2637,
8,
198,
220,
220,
220,
1303,
35123,
281,
4049,
611,
262,
2939,
62,
6978,
1595,
470,
966,
284,
257,
8619,
198,
220,
220,
220,
611,
2939,
62,
6978,
290,
407,
28686,
13,
6978,
13,
9409,
343,
7,
9060,
62,
6978,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
5994,
12331,
10786,
9060,
62,
6978,
1276,
1085,
284,
257,
8619,
611,
705,
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,
270,
318,
23224,
13,
632,
318,
810,
262,
4263,
389,
8574,
2637,
8,
628,
220,
220,
220,
611,
2746,
62,
2536,
407,
287,
662,
36948,
62,
11600,
13,
13083,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
11052,
12331,
10786,
19849,
62,
2536,
1276,
307,
530,
262,
1708,
25,
23884,
4458,
18982,
7,
3866,
36948,
62,
11600,
13,
13083,
4008,
198,
220,
220,
220,
1303,
20368,
19351,
438,
1303,
628,
220,
220,
220,
1303,
20571,
26761,
2751,
8959,
11879,
46490,
39498,
1303,
198,
220,
220,
220,
997,
62,
17566,
796,
18896,
7,
4868,
62,
1659,
62,
17566,
8,
628,
220,
220,
220,
2939,
62,
10459,
796,
4808,
19796,
62,
9060,
62,
10459,
7,
9060,
62,
6978,
8,
628,
220,
220,
220,
1303,
5345,
1271,
286,
1036,
592,
38765,
9619,
357,
18,
611,
3124,
11,
352,
611,
1036,
592,
38765,
8,
198,
220,
220,
220,
9619,
796,
513,
532,
357,
17,
1635,
1036,
592,
38765,
8,
628,
220,
220,
220,
1303,
20768,
1096,
262,
1336,
15458,
198,
220,
220,
220,
2939,
62,
7890,
796,
45941,
13,
1952,
19510,
22510,
62,
17566,
11,
2496,
62,
7857,
58,
15,
4357,
2496,
62,
7857,
58,
16,
4357,
9619,
4008,
628,
220,
220,
220,
1303,
13610,
262,
1336,
2939,
11192,
273,
198,
220,
220,
220,
18931,
13,
10951,
10786,
3103,
48820,
4263,
2637,
8,
628,
220,
220,
220,
2939,
62,
11600,
796,
23884,
628,
220,
220,
220,
6376,
796,
657,
628,
220,
220,
220,
1303,
40806,
378,
832,
1123,
2939,
287,
262,
1351,
286,
2939,
3891,
198,
220,
220,
220,
329,
2939,
287,
1351,
62,
1659,
62,
17566,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1002,
262,
2939,
318,
287,
262,
269,
21370,
11,
475,
407,
287,
262,
8619,
11,
900,
340,
284,
477,
1976,
27498,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
770,
3578,
262,
2218,
333,
7509,
284,
9380,
24443,
3033,
618,
612,
318,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
46318,
1022,
262,
269,
21370,
290,
262,
8619,
13,
15323,
340,
561,
4425,
15274,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2939,
6624,
10148,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2939,
62,
7890,
58,
9630,
11,
1058,
11,
1058,
11,
1058,
60,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6376,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
1002,
262,
2939,
468,
1541,
587,
15879,
1143,
878,
11,
655,
4866,
326,
16416,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2939,
287,
2939,
62,
11600,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2939,
62,
7890,
58,
9630,
11,
1058,
11,
1058,
11,
1058,
60,
796,
2939,
62,
7890,
58,
9060,
62,
11600,
58,
9060,
4357,
1058,
11,
1058,
11,
1058,
60,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
15323,
11,
15879,
1096,
262,
2939,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3060,
262,
6376,
284,
262,
22155,
284,
2198,
287,
262,
2003,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2939,
62,
11600,
58,
9060,
60,
796,
6376,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2034,
437,
262,
2939,
3108,
284,
262,
2939,
1438,
13,
1002,
612,
338,
4844,
11,
2147,
481,
1487,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2939,
796,
705,
90,
18477,
92,
4458,
18982,
7,
9060,
62,
6978,
11,
2939,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
8474,
262,
15879,
1143,
2939,
656,
262,
2939,
1366,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2939,
62,
7890,
58,
9630,
11,
1058,
11,
1058,
11,
1058,
60,
796,
4808,
1102,
1851,
62,
29762,
62,
9060,
7,
9060,
62,
10459,
11,
2746,
62,
2536,
11,
2939,
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,
2496,
62,
7857,
28,
16793,
62,
7857,
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,
1036,
592,
38765,
28,
2164,
592,
38765,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
18387,
989,
379,
900,
20016,
198,
220,
220,
220,
220,
220,
220,
220,
611,
997,
62,
17566,
1279,
8576,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
989,
62,
9662,
796,
1802,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
997,
62,
17566,
1279,
23336,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
989,
62,
9662,
796,
5323,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
989,
62,
9662,
796,
8576,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
6376,
4064,
989,
62,
9662,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
18931,
13,
10951,
10786,
3103,
13658,
23884,
4263,
287,
15458,
13,
5514,
23884,
4263,
1364,
284,
467,
2637,
13,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6376,
11,
997,
62,
17566,
532,
6376,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
6376,
15853,
352,
628,
220,
220,
220,
1441,
2939,
62,
7890,
11,
1351,
62,
1659,
62,
17566,
198
] | 2.598162 | 6,092 |
class Rule:
"""Represents a single production rule of a grammar.
Rules are usually written using some sort of BNF-like notation,
for example, 'list ::= list item' would be a valid rule. A rule
always has a single non-terminal symbol on the left and a list
(possibly empty) of arbitrary symbols on the right. The above rule
would be constructed as follows.
>>> r = Rule('list', ('list', 'item'))
>>> print(r)
'list' = 'list', 'item';
The symbols can be arbitrary objects, not just strings. They must,
however, be hashable. (Hashability is not enforced by the Rule class
directly.)
>>> print(Rule(0, (1, 2)))
0 = 1, 2;
Occasionaly, you must pass a one-tuple.
>>> print(Rule('root', ('list',)))
'root' = 'list';
Note that terminal and non-terminal symbols are written
using the same syntax -- the differentiation only occurs
at the grammar level. The symbols standing on the left side of some rule
are considered non-terminal.
A rule can have no symbols on the right, such rules produce empty strings.
>>> print(Rule('e', ()))
'e' = ;
The left and right symbols can be accessed via 'left' and 'right' members.
>>> r.left, r.right
('list', ('list', 'item'))
A rule can have an associated semantic action. The action is not interpreted in any
way, but can be used to carry additional information in the rule. The default is None.
>>> repr(r.action)
'None'
A custom semantic action is associated in constructor.
>>> def concat_list(self, list, item):
... list.append(item)
... return list
>>> r = Rule('list', ('list', 'item'), action=concat_list)
>>> r.action(None, [], 1)
[1]
"""
def __init__(self, left, right, action=None):
"""
Constructs a rule from the left symbol, an iterable of right symbols
and an associated semantic action.
"""
self.left = left
self.right = tuple(right)
self.action = action
def __str__(self):
"""
>>> print(Rule('a', ('b', 'c')))
'a' = 'b', 'c';
>>> print(Rule('a', ()))
'a' = ;
>>> def _custom_action(ctx): pass
>>> print(Rule('a', (), _custom_action))
'a' = ; {_custom_action}
>>> print(Rule('a', (), lambda x: x))
'a' = ; {<lambda>}
"""
r = [repr(self.left), ' = ', ', '.join(repr(symbol) for symbol in self.right), ';']
if self.action is not None:
r.extend((' {', getattr(self.action, '__name__', ''), '}'))
return ''.join(r)
def __repr__(self):
"""
>>> print(repr(Rule('a', ('b', 'c'))))
Rule('a', ('b', 'c'))
>>> print(repr(Rule('a', ())))
Rule('a', ())
>>> def _my_action(ctx): return None
>>> print(repr(Rule('a', (), action=_my_action))) # doctest: +ELLIPSIS
Rule('a', (), <function _my_action...>)
>>> print(repr(Rule('a', (), action=lambda x: x))) # doctest: +ELLIPSIS
Rule('a', (), <function <lambda>...>)
"""
if self.action is not None:
args = (self.left, self.right, self.action)
else:
args = (self.left, self.right)
return 'Rule(%s)' % ', '.join((repr(arg) for arg in args))
| [
4871,
14330,
25,
198,
220,
220,
220,
37227,
6207,
6629,
257,
2060,
3227,
3896,
286,
257,
23491,
13,
198,
220,
220,
220,
220,
198,
220,
220,
220,
14252,
389,
3221,
3194,
1262,
617,
3297,
286,
347,
21870,
12,
2339,
33274,
11,
198,
220,
220,
220,
329,
1672,
11,
705,
4868,
7904,
28,
1351,
2378,
6,
561,
307,
257,
4938,
3896,
13,
317,
3896,
198,
220,
220,
220,
1464,
468,
257,
2060,
1729,
12,
23705,
282,
6194,
319,
262,
1364,
290,
257,
1351,
198,
220,
220,
220,
357,
39363,
6565,
8,
286,
14977,
14354,
319,
262,
826,
13,
383,
2029,
3896,
198,
220,
220,
220,
561,
307,
12006,
355,
5679,
13,
198,
220,
220,
220,
220,
198,
220,
220,
220,
13163,
374,
796,
14330,
10786,
4868,
3256,
19203,
4868,
3256,
705,
9186,
6,
4008,
198,
220,
220,
220,
13163,
3601,
7,
81,
8,
198,
220,
220,
220,
705,
4868,
6,
796,
705,
4868,
3256,
705,
9186,
17020,
198,
220,
220,
220,
220,
198,
220,
220,
220,
383,
14354,
460,
307,
14977,
5563,
11,
407,
655,
13042,
13,
1119,
1276,
11,
198,
220,
220,
220,
2158,
11,
307,
12234,
540,
13,
357,
26257,
1799,
318,
407,
20326,
416,
262,
14330,
1398,
198,
220,
220,
220,
3264,
2014,
198,
220,
220,
220,
220,
198,
220,
220,
220,
13163,
3601,
7,
31929,
7,
15,
11,
357,
16,
11,
362,
22305,
198,
220,
220,
220,
657,
796,
352,
11,
362,
26,
198,
220,
220,
220,
220,
198,
220,
220,
220,
10775,
292,
1538,
88,
11,
345,
1276,
1208,
257,
530,
12,
83,
29291,
13,
198,
220,
220,
220,
220,
198,
220,
220,
220,
13163,
3601,
7,
31929,
10786,
15763,
3256,
19203,
4868,
3256,
22305,
198,
220,
220,
220,
705,
15763,
6,
796,
705,
4868,
17020,
198,
220,
220,
220,
220,
198,
220,
220,
220,
5740,
326,
12094,
290,
1729,
12,
23705,
282,
14354,
389,
3194,
198,
220,
220,
220,
1262,
262,
976,
15582,
1377,
262,
32488,
691,
8833,
198,
220,
220,
220,
379,
262,
23491,
1241,
13,
383,
14354,
5055,
319,
262,
1364,
1735,
286,
617,
3896,
198,
220,
220,
220,
389,
3177,
1729,
12,
23705,
282,
13,
198,
220,
220,
220,
220,
198,
220,
220,
220,
317,
3896,
460,
423,
645,
14354,
319,
262,
826,
11,
884,
3173,
4439,
6565,
13042,
13,
198,
220,
220,
220,
220,
198,
220,
220,
220,
13163,
3601,
7,
31929,
10786,
68,
3256,
357,
22305,
198,
220,
220,
220,
705,
68,
6,
796,
2162,
198,
220,
220,
220,
220,
198,
220,
220,
220,
383,
1364,
290,
826,
14354,
460,
307,
17535,
2884,
705,
9464,
6,
290,
705,
3506,
6,
1866,
13,
198,
220,
220,
220,
220,
198,
220,
220,
220,
13163,
374,
13,
9464,
11,
374,
13,
3506,
198,
220,
220,
220,
19203,
4868,
3256,
19203,
4868,
3256,
705,
9186,
6,
4008,
198,
220,
220,
220,
220,
198,
220,
220,
220,
317,
3896,
460,
423,
281,
3917,
37865,
2223,
13,
383,
2223,
318,
407,
16173,
287,
597,
198,
220,
220,
220,
835,
11,
475,
460,
307,
973,
284,
3283,
3224,
1321,
287,
262,
3896,
13,
383,
4277,
318,
6045,
13,
198,
220,
220,
220,
220,
198,
220,
220,
220,
13163,
41575,
7,
81,
13,
2673,
8,
198,
220,
220,
220,
705,
14202,
6,
198,
220,
220,
220,
220,
198,
220,
220,
220,
317,
2183,
37865,
2223,
318,
3917,
287,
23772,
13,
198,
220,
220,
220,
220,
198,
220,
220,
220,
13163,
825,
1673,
265,
62,
4868,
7,
944,
11,
1351,
11,
2378,
2599,
198,
220,
220,
220,
2644,
220,
220,
220,
220,
1351,
13,
33295,
7,
9186,
8,
198,
220,
220,
220,
2644,
220,
220,
220,
220,
1441,
1351,
198,
220,
220,
220,
13163,
374,
796,
14330,
10786,
4868,
3256,
19203,
4868,
3256,
705,
9186,
33809,
2223,
28,
1102,
9246,
62,
4868,
8,
198,
220,
220,
220,
13163,
374,
13,
2673,
7,
14202,
11,
685,
4357,
352,
8,
198,
220,
220,
220,
685,
16,
60,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
1364,
11,
826,
11,
2223,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
28407,
82,
257,
3896,
422,
262,
1364,
6194,
11,
281,
11629,
540,
286,
826,
14354,
198,
220,
220,
220,
220,
220,
220,
220,
290,
281,
3917,
37865,
2223,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9464,
796,
1364,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
3506,
796,
46545,
7,
3506,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2673,
796,
2223,
628,
220,
220,
220,
825,
11593,
2536,
834,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
13163,
3601,
7,
31929,
10786,
64,
3256,
19203,
65,
3256,
705,
66,
6,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
705,
64,
6,
796,
705,
65,
3256,
705,
66,
17020,
198,
220,
220,
220,
220,
220,
220,
220,
13163,
3601,
7,
31929,
10786,
64,
3256,
357,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
705,
64,
6,
796,
2162,
198,
220,
220,
220,
220,
220,
220,
220,
13163,
825,
4808,
23144,
62,
2673,
7,
49464,
2599,
1208,
198,
220,
220,
220,
220,
220,
220,
220,
13163,
3601,
7,
31929,
10786,
64,
3256,
29994,
4808,
23144,
62,
2673,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
705,
64,
6,
796,
2162,
1391,
62,
23144,
62,
2673,
92,
198,
220,
220,
220,
220,
220,
220,
220,
13163,
3601,
7,
31929,
10786,
64,
3256,
29994,
37456,
2124,
25,
2124,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
705,
64,
6,
796,
2162,
1391,
27,
50033,
29,
92,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
374,
796,
685,
260,
1050,
7,
944,
13,
9464,
828,
705,
796,
46083,
46083,
45302,
22179,
7,
260,
1050,
7,
1837,
23650,
8,
329,
6194,
287,
2116,
13,
3506,
828,
705,
26,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
2673,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
374,
13,
2302,
437,
7,
10786,
1391,
3256,
651,
35226,
7,
944,
13,
2673,
11,
705,
834,
3672,
834,
3256,
10148,
828,
705,
92,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
705,
4458,
22179,
7,
81,
8,
628,
220,
220,
220,
825,
11593,
260,
1050,
834,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
13163,
3601,
7,
260,
1050,
7,
31929,
10786,
64,
3256,
19203,
65,
3256,
705,
66,
6,
35514,
198,
220,
220,
220,
220,
220,
220,
220,
14330,
10786,
64,
3256,
19203,
65,
3256,
705,
66,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
13163,
3601,
7,
260,
1050,
7,
31929,
10786,
64,
3256,
32865,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
14330,
10786,
64,
3256,
32865,
198,
220,
220,
220,
220,
220,
220,
220,
13163,
825,
4808,
1820,
62,
2673,
7,
49464,
2599,
1441,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
13163,
3601,
7,
260,
1050,
7,
31929,
10786,
64,
3256,
29994,
2223,
28,
62,
1820,
62,
2673,
22305,
1303,
10412,
395,
25,
1343,
23304,
47643,
1797,
198,
220,
220,
220,
220,
220,
220,
220,
14330,
10786,
64,
3256,
29994,
1279,
8818,
4808,
1820,
62,
2673,
986,
43734,
198,
220,
220,
220,
220,
220,
220,
220,
13163,
3601,
7,
260,
1050,
7,
31929,
10786,
64,
3256,
29994,
2223,
28,
50033,
2124,
25,
2124,
22305,
1303,
10412,
395,
25,
1343,
23304,
47643,
1797,
198,
220,
220,
220,
220,
220,
220,
220,
14330,
10786,
64,
3256,
29994,
1279,
8818,
1279,
50033,
29,
986,
43734,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
2673,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
796,
357,
944,
13,
9464,
11,
2116,
13,
3506,
11,
2116,
13,
2673,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
796,
357,
944,
13,
9464,
11,
2116,
13,
3506,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
705,
31929,
7,
4,
82,
33047,
4064,
46083,
45302,
22179,
19510,
260,
1050,
7,
853,
8,
329,
1822,
287,
26498,
4008,
198
] | 2.391519 | 1,415 |
"""
Use previous output catalogs to investigate correct and incorrect images
"""
import logging
import os
import json
import pandas as pd
import numpy as np
from astropy.io import fits
from PIL import Image
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
import seaborn as sns
from tidalclassifier.utils import custom_image_utils
from tidalclassifier.cnn.individual_cnn.meta_CNN import define_parameters
def visualise_error_by_class(df, save_loc):
"""Show performance on each pure tidal class based on predictions
Args:
df (pd.DataFrame): rows of galaxies, cols of picture_id, FEAT, true_label, and prediction
save_loc (str): path to save performance figure
"""
for n in range(len(df)):
df.at[n, 'log_loss'] = log_loss(df.iloc[n]['true_label'], df.iloc[n]['prediction'])
df.at[n, 'abs_error'] = absolute_error(df.iloc[n]['true_label'], df.iloc[n]['prediction'])
single_tidal_feature = {'L', 'M', 'A', 'S', 'F'}
fig, ((ax1, ax2), (ax3, ax4)) = plt.subplots(nrows=2, ncols=2, figsize=(16, 6))
ax1 = sns.boxplot(x="FEAT", y="log_loss", data=df[df['FEAT'].isin(single_tidal_feature)], ax=ax1)
ax1.set_xlabel('Tidal Class')
ax1.set_ylabel('Log Binary Cross-Entropy')
ax2 = sns.violinplot(x="FEAT", y="log_loss", data=df[df['FEAT'].isin(single_tidal_feature)], inner="stick", ax=ax2)
ax2.set_xlabel('Tidal Class')
ax2.set_ylabel('Log Binary Cross-Entropy')
ax3 = sns.boxplot(x="FEAT", y="abs_error", data=df[df['FEAT'].isin(single_tidal_feature)], ax=ax3)
ax3.set_xlabel('Tidal Class')
ax3.set_ylabel('Absolute Error')
ax3.set_ylim([0, 1])
ax4 = sns.violinplot(x="FEAT", y="abs_error", data=df[df['FEAT'].isin(single_tidal_feature)], inner="stick", ax=ax4)
ax4.set_xlabel('Tidal Class')
ax4.set_ylabel('Absolute Error')
ax4.set_ylim([0, 1])
plt.tight_layout()
plt.savefig(save_loc)
if __name__ == '__main__':
get_performance('/Data/repos/tidalclassifier/results/cnn_runs/oxford_first_run_80_epochs')
| [
37811,
198,
11041,
2180,
5072,
18388,
82,
284,
9161,
3376,
290,
11491,
4263,
198,
37811,
198,
11748,
18931,
198,
11748,
28686,
198,
11748,
33918,
198,
198,
11748,
19798,
292,
355,
279,
67,
220,
198,
11748,
299,
32152,
355,
45941,
198,
6738,
6468,
28338,
13,
952,
1330,
11414,
198,
6738,
350,
4146,
1330,
7412,
198,
11748,
2603,
29487,
8019,
198,
6759,
29487,
8019,
13,
1904,
10786,
46384,
11537,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
11748,
384,
397,
1211,
355,
3013,
82,
198,
198,
6738,
40738,
4871,
7483,
13,
26791,
1330,
2183,
62,
9060,
62,
26791,
198,
6738,
40738,
4871,
7483,
13,
66,
20471,
13,
43129,
62,
66,
20471,
13,
28961,
62,
18474,
1330,
8160,
62,
17143,
7307,
628,
628,
198,
4299,
5874,
786,
62,
18224,
62,
1525,
62,
4871,
7,
7568,
11,
3613,
62,
17946,
2599,
198,
220,
220,
220,
37227,
15307,
2854,
319,
1123,
5899,
40738,
1398,
1912,
319,
16277,
198,
220,
220,
220,
220,
198,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
47764,
357,
30094,
13,
6601,
19778,
2599,
15274,
286,
27982,
11,
951,
82,
286,
4286,
62,
312,
11,
18630,
1404,
11,
2081,
62,
18242,
11,
290,
17724,
198,
220,
220,
220,
220,
220,
220,
220,
3613,
62,
17946,
357,
2536,
2599,
3108,
284,
3613,
2854,
3785,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
329,
299,
287,
2837,
7,
11925,
7,
7568,
8,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
47764,
13,
265,
58,
77,
11,
705,
6404,
62,
22462,
20520,
796,
2604,
62,
22462,
7,
7568,
13,
346,
420,
58,
77,
7131,
6,
7942,
62,
18242,
6,
4357,
47764,
13,
346,
420,
58,
77,
7131,
6,
28764,
2867,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
47764,
13,
265,
58,
77,
11,
705,
8937,
62,
18224,
20520,
796,
4112,
62,
18224,
7,
7568,
13,
346,
420,
58,
77,
7131,
6,
7942,
62,
18242,
6,
4357,
47764,
13,
346,
420,
58,
77,
7131,
6,
28764,
2867,
6,
12962,
628,
220,
220,
220,
2060,
62,
83,
11624,
62,
30053,
796,
1391,
6,
43,
3256,
705,
44,
3256,
705,
32,
3256,
705,
50,
3256,
705,
37,
6,
92,
198,
220,
220,
220,
2336,
11,
14808,
897,
16,
11,
7877,
17,
828,
357,
897,
18,
11,
7877,
19,
4008,
796,
458,
83,
13,
7266,
489,
1747,
7,
77,
8516,
28,
17,
11,
299,
4033,
82,
28,
17,
11,
2336,
7857,
16193,
1433,
11,
718,
4008,
628,
220,
220,
220,
7877,
16,
796,
3013,
82,
13,
3524,
29487,
7,
87,
2625,
15112,
1404,
1600,
331,
2625,
6404,
62,
22462,
1600,
1366,
28,
7568,
58,
7568,
17816,
15112,
1404,
6,
4083,
45763,
7,
29762,
62,
83,
11624,
62,
30053,
8,
4357,
7877,
28,
897,
16,
8,
198,
220,
220,
220,
7877,
16,
13,
2617,
62,
87,
18242,
10786,
51,
11624,
5016,
11537,
198,
220,
220,
220,
7877,
16,
13,
2617,
62,
2645,
9608,
10786,
11187,
45755,
6372,
12,
14539,
28338,
11537,
628,
220,
220,
220,
7877,
17,
796,
3013,
82,
13,
17069,
259,
29487,
7,
87,
2625,
15112,
1404,
1600,
331,
2625,
6404,
62,
22462,
1600,
1366,
28,
7568,
58,
7568,
17816,
15112,
1404,
6,
4083,
45763,
7,
29762,
62,
83,
11624,
62,
30053,
8,
4357,
8434,
2625,
13915,
1600,
7877,
28,
897,
17,
8,
198,
220,
220,
220,
7877,
17,
13,
2617,
62,
87,
18242,
10786,
51,
11624,
5016,
11537,
198,
220,
220,
220,
7877,
17,
13,
2617,
62,
2645,
9608,
10786,
11187,
45755,
6372,
12,
14539,
28338,
11537,
628,
220,
220,
220,
7877,
18,
796,
3013,
82,
13,
3524,
29487,
7,
87,
2625,
15112,
1404,
1600,
331,
2625,
8937,
62,
18224,
1600,
1366,
28,
7568,
58,
7568,
17816,
15112,
1404,
6,
4083,
45763,
7,
29762,
62,
83,
11624,
62,
30053,
8,
4357,
7877,
28,
897,
18,
8,
198,
220,
220,
220,
7877,
18,
13,
2617,
62,
87,
18242,
10786,
51,
11624,
5016,
11537,
198,
220,
220,
220,
7877,
18,
13,
2617,
62,
2645,
9608,
10786,
24849,
3552,
13047,
11537,
198,
220,
220,
220,
7877,
18,
13,
2617,
62,
88,
2475,
26933,
15,
11,
352,
12962,
628,
220,
220,
220,
7877,
19,
796,
3013,
82,
13,
17069,
259,
29487,
7,
87,
2625,
15112,
1404,
1600,
331,
2625,
8937,
62,
18224,
1600,
1366,
28,
7568,
58,
7568,
17816,
15112,
1404,
6,
4083,
45763,
7,
29762,
62,
83,
11624,
62,
30053,
8,
4357,
8434,
2625,
13915,
1600,
7877,
28,
897,
19,
8,
198,
220,
220,
220,
7877,
19,
13,
2617,
62,
87,
18242,
10786,
51,
11624,
5016,
11537,
198,
220,
220,
220,
7877,
19,
13,
2617,
62,
2645,
9608,
10786,
24849,
3552,
13047,
11537,
198,
220,
220,
220,
7877,
19,
13,
2617,
62,
88,
2475,
26933,
15,
11,
352,
12962,
628,
220,
220,
220,
458,
83,
13,
33464,
62,
39786,
3419,
198,
220,
220,
220,
458,
83,
13,
21928,
5647,
7,
21928,
62,
17946,
8,
628,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
651,
62,
26585,
10786,
14,
6601,
14,
260,
1930,
14,
83,
11624,
4871,
7483,
14,
43420,
14,
66,
20471,
62,
48381,
14,
1140,
3841,
62,
11085,
62,
5143,
62,
1795,
62,
538,
5374,
82,
11537,
198
] | 2.390498 | 863 |
'''
1. complete the missing data
2. convert the continous feature into discrete feature
3. one-hot encondes the discrete feature generated by the continous feature
4. one-hot encode all discrete feature
'''
import csv
import numpy as np
from numpy import fabs, random
from numpy.lib.function_base import percentile, sort_complex
from numpy.lib.shape_base import split
import pandas as pd
from BoostingTrees import process_training_data
MISSING_DATA = ['?']
CONTINUOUS_ATTR = ['fnlwgt']
INTEGER_ATTR = ['age', 'education.num', 'hours.per.week', 'capital.gain', 'capital.loss']
# process the missing data of the data
# mode, median and average
# write the data into csv file
# get the discrete rules
# transform the data from continous to discrete ones
if __name__ == '__main__':
training_data = pd.read_csv('./Data/train_final_full.csv', na_values=MISSING_DATA)
test_data = pd.read_csv('./Data/test_final.csv', na_values=MISSING_DATA)
processor = dProcessor(training_data, test_data) | [
7061,
6,
198,
16,
13,
1844,
262,
4814,
1366,
198,
17,
13,
10385,
262,
1261,
516,
3895,
656,
28810,
3895,
198,
18,
13,
530,
12,
8940,
2207,
623,
274,
262,
28810,
3895,
7560,
416,
262,
1261,
516,
3895,
198,
19,
13,
530,
12,
8940,
37773,
477,
28810,
3895,
198,
7061,
6,
198,
198,
11748,
269,
21370,
198,
11748,
299,
32152,
355,
45941,
198,
6738,
299,
32152,
1330,
7843,
82,
11,
4738,
198,
6738,
299,
32152,
13,
8019,
13,
8818,
62,
8692,
1330,
37894,
11,
3297,
62,
41887,
198,
6738,
299,
32152,
13,
8019,
13,
43358,
62,
8692,
1330,
6626,
198,
11748,
19798,
292,
355,
279,
67,
198,
198,
6738,
19835,
278,
51,
6037,
1330,
1429,
62,
34409,
62,
7890,
628,
198,
198,
44,
16744,
2751,
62,
26947,
796,
37250,
8348,
60,
198,
37815,
1268,
52,
20958,
62,
1404,
5446,
796,
37250,
69,
21283,
86,
13655,
20520,
198,
12394,
7156,
1137,
62,
1404,
5446,
796,
37250,
496,
3256,
705,
40796,
13,
22510,
3256,
705,
24425,
13,
525,
13,
10464,
3256,
705,
27544,
13,
48544,
3256,
705,
27544,
13,
22462,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
1429,
262,
4814,
1366,
286,
262,
1366,
198,
220,
220,
220,
1303,
4235,
11,
14288,
290,
2811,
628,
198,
220,
220,
220,
1303,
3551,
262,
1366,
656,
269,
21370,
2393,
220,
628,
220,
220,
220,
1303,
651,
262,
28810,
3173,
628,
628,
220,
220,
220,
1303,
6121,
262,
1366,
422,
1261,
516,
284,
28810,
3392,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
3047,
62,
7890,
796,
279,
67,
13,
961,
62,
40664,
7,
4458,
14,
6601,
14,
27432,
62,
20311,
62,
12853,
13,
40664,
3256,
12385,
62,
27160,
28,
44,
16744,
2751,
62,
26947,
8,
198,
220,
220,
220,
1332,
62,
7890,
796,
279,
67,
13,
961,
62,
40664,
7,
4458,
14,
6601,
14,
9288,
62,
20311,
13,
40664,
3256,
12385,
62,
27160,
28,
44,
16744,
2751,
62,
26947,
8,
198,
220,
220,
220,
12649,
796,
288,
18709,
273,
7,
34409,
62,
7890,
11,
1332,
62,
7890,
8
] | 2.935211 | 355 |
import sys
#operator precedence table
Precedence = {
'|' : 0, #NFA Union Operator
'.' : 1, #NFA Concat Operator
'?' : 2, #NFA zero or one Operator
'*' : 2, #NFA Closure Operator
'+' : 2 #NFA one or more Operator
}
| [
11748,
25064,
198,
198,
2,
46616,
38177,
3084,
198,
198,
6719,
771,
594,
796,
1391,
198,
197,
6,
91,
6,
1058,
657,
11,
1303,
45,
7708,
4479,
35946,
198,
197,
6,
2637,
1058,
352,
11,
1303,
45,
7708,
1482,
9246,
35946,
198,
197,
6,
8348,
1058,
362,
11,
1303,
45,
7708,
6632,
393,
530,
35946,
198,
197,
6,
9,
6,
1058,
362,
11,
1303,
45,
7708,
1012,
4567,
35946,
198,
197,
6,
10,
6,
1058,
362,
220,
1303,
45,
7708,
530,
393,
517,
35946,
198,
92,
628
] | 2.563218 | 87 |
import converter
import tkinter as tk
from tkinter import messagebox as tkm
import tkinter.font as tkf
if __name__ == '__main__':
# 创建主窗口
window = tk.Tk()
window.title('B站 AV/BV号转换器')
window.geometry('450x300')
window.iconbitmap('BVid2Aid.ico')
window.resizable(width=False, height=False)
# 常量&变量
font_main = tkf.Font(family="Lucida Grande", size=20)
var_input = tk.StringVar()
var_result = tk.StringVar()
# 顶部LOGO图片
canvas = tk.Canvas(window, height=200, width=450)
image_file = tk.PhotoImage(file='welcome.gif')
image = canvas.create_image(0, 0, anchor='nw', image=image_file)
canvas.pack(side=tk.TOP)
# 输入
tk.Label(window, text='AV/BVid: ', font=font_main).place(x=30, y=150)
entry_input = tk.Entry(window, textvariable=var_input,
width=16, highlightcolor='red', highlightthickness=1, font=font_main)
entry_input.place(x=160, y=150)
entry_input.bind("<Return>", lambda x: convert())
# 输出
tk.Label(window, text='Result: ', font=font_main).place(x=30, y=190)
output_result = tk.Entry(window, textvariable=var_result, state='readonly',
width=16, highlightcolor='red', highlightthickness=1, font=font_main)
output_result.place(x=160, y=190)
# 转换按钮
btn_login = tk.Button(window, text='Convert', command=convert, font=font_main)
btn_login.place(relx=0.5, y=260, relwidth=0.3, anchor=tk.CENTER)
window.mainloop()
| [
11748,
38394,
198,
11748,
256,
74,
3849,
355,
256,
74,
198,
6738,
256,
74,
3849,
1330,
3275,
3524,
355,
256,
13276,
198,
11748,
256,
74,
3849,
13,
10331,
355,
256,
74,
69,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
628,
198,
220,
220,
220,
1303,
10263,
230,
249,
161,
119,
118,
10310,
119,
163,
103,
245,
20998,
96,
198,
220,
220,
220,
4324,
796,
256,
74,
13,
51,
74,
3419,
198,
220,
220,
220,
4324,
13,
7839,
10786,
33,
44165,
247,
14661,
14,
33,
53,
20998,
115,
164,
121,
105,
162,
235,
95,
161,
247,
101,
11537,
198,
220,
220,
220,
4324,
13,
469,
15748,
10786,
17885,
87,
6200,
11537,
198,
220,
220,
220,
4324,
13,
4749,
2545,
8899,
10786,
33,
53,
312,
17,
44245,
13,
3713,
11537,
198,
220,
220,
220,
4324,
13,
411,
13821,
7,
10394,
28,
25101,
11,
6001,
28,
25101,
8,
628,
220,
220,
220,
1303,
10263,
116,
116,
34932,
237,
5,
20998,
246,
34932,
237,
198,
220,
220,
220,
10369,
62,
12417,
796,
256,
74,
69,
13,
23252,
7,
17989,
2625,
22946,
3755,
29073,
1600,
2546,
28,
1238,
8,
198,
220,
220,
220,
1401,
62,
15414,
796,
256,
74,
13,
10100,
19852,
3419,
198,
220,
220,
220,
1401,
62,
20274,
796,
256,
74,
13,
10100,
19852,
3419,
628,
220,
220,
220,
1303,
16268,
94,
114,
32849,
101,
25294,
46,
32368,
122,
31965,
229,
198,
220,
220,
220,
21978,
796,
256,
74,
13,
6090,
11017,
7,
17497,
11,
6001,
28,
2167,
11,
9647,
28,
17885,
8,
198,
220,
220,
220,
2939,
62,
7753,
796,
256,
74,
13,
6191,
5159,
7,
7753,
11639,
86,
9571,
13,
27908,
11537,
198,
220,
220,
220,
2939,
796,
21978,
13,
17953,
62,
9060,
7,
15,
11,
657,
11,
18021,
11639,
47516,
3256,
2939,
28,
9060,
62,
7753,
8,
198,
220,
220,
220,
21978,
13,
8002,
7,
1589,
28,
30488,
13,
35222,
8,
628,
220,
220,
220,
1303,
5525,
122,
241,
17739,
98,
198,
220,
220,
220,
256,
74,
13,
33986,
7,
17497,
11,
2420,
11639,
10116,
14,
33,
53,
312,
25,
46083,
10369,
28,
10331,
62,
12417,
737,
5372,
7,
87,
28,
1270,
11,
331,
28,
8628,
8,
198,
220,
220,
220,
5726,
62,
15414,
796,
256,
74,
13,
30150,
7,
17497,
11,
2420,
45286,
28,
7785,
62,
15414,
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,
9647,
28,
1433,
11,
7238,
8043,
11639,
445,
3256,
7238,
400,
624,
1108,
28,
16,
11,
10369,
28,
10331,
62,
12417,
8,
198,
220,
220,
220,
5726,
62,
15414,
13,
5372,
7,
87,
28,
14198,
11,
331,
28,
8628,
8,
198,
220,
220,
220,
5726,
62,
15414,
13,
21653,
7203,
27,
13615,
29,
1600,
37456,
2124,
25,
10385,
28955,
628,
220,
220,
220,
1303,
5525,
122,
241,
49035,
118,
198,
220,
220,
220,
256,
74,
13,
33986,
7,
17497,
11,
2420,
11639,
23004,
25,
46083,
10369,
28,
10331,
62,
12417,
737,
5372,
7,
87,
28,
1270,
11,
331,
28,
19782,
8,
198,
220,
220,
220,
5072,
62,
20274,
796,
256,
74,
13,
30150,
7,
17497,
11,
2420,
45286,
28,
7785,
62,
20274,
11,
1181,
11639,
961,
8807,
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,
9647,
28,
1433,
11,
7238,
8043,
11639,
445,
3256,
7238,
400,
624,
1108,
28,
16,
11,
10369,
28,
10331,
62,
12417,
8,
198,
220,
220,
220,
5072,
62,
20274,
13,
5372,
7,
87,
28,
14198,
11,
331,
28,
19782,
8,
628,
220,
220,
220,
1303,
5525,
121,
105,
162,
235,
95,
162,
234,
231,
165,
240,
106,
198,
220,
220,
220,
275,
34106,
62,
38235,
796,
256,
74,
13,
21864,
7,
17497,
11,
2420,
11639,
3103,
1851,
3256,
3141,
28,
1102,
1851,
11,
10369,
28,
10331,
62,
12417,
8,
198,
220,
220,
220,
275,
34106,
62,
38235,
13,
5372,
7,
2411,
87,
28,
15,
13,
20,
11,
331,
28,
21719,
11,
823,
10394,
28,
15,
13,
18,
11,
18021,
28,
30488,
13,
43960,
1137,
8,
628,
220,
220,
220,
4324,
13,
12417,
26268,
3419,
198
] | 2.113798 | 703 |
import requests
from usecases.screen.exceptions import UnknownResponseFormat
STATUS_OK = "OK"
STATUS_FAILED = "KO"
INFORMATION_MISSING = "N/A"
| [
11748,
7007,
198,
198,
6738,
779,
33964,
13,
9612,
13,
1069,
11755,
1330,
16185,
31077,
26227,
198,
198,
35744,
2937,
62,
11380,
796,
366,
11380,
1,
198,
35744,
2937,
62,
7708,
4146,
1961,
796,
366,
22328,
1,
198,
1268,
35036,
62,
44,
16744,
2751,
796,
366,
45,
14,
32,
1,
628
] | 2.862745 | 51 |
import os
import uproot3 as uproot
import torch
import torch.nn as nn
import numpy as np
from torch.utils.data import Dataset, DataLoader, Sampler
from datetime import datetime
from tqdm import tqdm
data_dir = 'data/'
node_features_list = ['trk_d0', 'trk_z0', 'trk_phi', 'trk_ctgtheta', 'trk_pt', 'trk_charge']
jet_features_list = ['jet_pt', 'jet_eta', 'jet_phi', 'jet_M']
node_features_list_real_data = ['Track_dxy', 'Track_dz', 'Track_phi', 'Track_eta', 'Track_pt', 'Track_charge']
jet_features_list_real_data = ['Jet_pt', 'Jet_eta', 'Jet_phi', 'Jet_mass']
track_vertex_key = b'trk_vtx_index'
track_vertex_key_real_data = b'Jet_SV_multi'
jet_flav_key = b'jet_flav'
jet_flav_key_real_data = b'Jet_hadronFlavour'
| [
11748,
28686,
198,
11748,
510,
15763,
18,
355,
510,
15763,
198,
11748,
28034,
198,
11748,
28034,
13,
20471,
355,
299,
77,
198,
11748,
299,
32152,
355,
45941,
198,
6738,
28034,
13,
26791,
13,
7890,
1330,
16092,
292,
316,
11,
6060,
17401,
11,
3409,
20053,
198,
6738,
4818,
8079,
1330,
4818,
8079,
198,
6738,
256,
80,
36020,
1330,
256,
80,
36020,
198,
198,
7890,
62,
15908,
796,
705,
7890,
14,
6,
198,
17440,
62,
40890,
62,
4868,
796,
37250,
2213,
74,
62,
67,
15,
3256,
705,
2213,
74,
62,
89,
15,
3256,
705,
2213,
74,
62,
34846,
3256,
705,
2213,
74,
62,
310,
70,
1169,
8326,
3256,
705,
2213,
74,
62,
457,
3256,
705,
2213,
74,
62,
10136,
20520,
198,
31173,
62,
40890,
62,
4868,
796,
37250,
31173,
62,
457,
3256,
705,
31173,
62,
17167,
3256,
705,
31173,
62,
34846,
3256,
705,
31173,
62,
44,
20520,
198,
198,
17440,
62,
40890,
62,
4868,
62,
5305,
62,
7890,
796,
37250,
24802,
62,
67,
5431,
3256,
705,
24802,
62,
67,
89,
3256,
705,
24802,
62,
34846,
3256,
705,
24802,
62,
17167,
3256,
705,
24802,
62,
457,
3256,
705,
24802,
62,
10136,
20520,
198,
31173,
62,
40890,
62,
4868,
62,
5305,
62,
7890,
796,
37250,
42273,
62,
457,
3256,
705,
42273,
62,
17167,
3256,
705,
42273,
62,
34846,
3256,
705,
42273,
62,
22208,
20520,
198,
198,
11659,
62,
332,
16886,
62,
2539,
796,
275,
470,
81,
74,
62,
85,
17602,
62,
9630,
6,
198,
11659,
62,
332,
16886,
62,
2539,
62,
5305,
62,
7890,
796,
275,
6,
42273,
62,
50,
53,
62,
41684,
6,
198,
198,
31173,
62,
2704,
615,
62,
2539,
796,
275,
6,
31173,
62,
2704,
615,
6,
198,
31173,
62,
2704,
615,
62,
2539,
62,
5305,
62,
7890,
796,
275,
6,
42273,
62,
18108,
1313,
7414,
29023,
6,
628,
628,
198
] | 2.403333 | 300 |
# Adapted from: https://github.com/rxn4chemistry/rxnfp/blob/master/nbs/10_results_uspto_1k_tpl.ipynb
import pickle
import click
import tensorflow as tf
from tensorflow import keras
from tensorflow.keras import layers
from sklearn.neural_network import MLPClassifier
import numpy as np
from pathlib import Path
from typing import Optional
from collections import Counter
from pycm import ConfusionMatrix
from sklearn.preprocessing import LabelEncoder
def get_pred(
train_X: np.array, train_y: np.array, eval_X: np.array, n_classes: int
) -> list:
"""
Get predictaions using a simple MLP.
"""
model = keras.models.Sequential(
[
keras.layers.Dense(1664, input_dim=len(train_X[0]), activation=tf.nn.tanh),
keras.layers.Dense(n_classes, activation=tf.nn.softmax),
]
)
model.compile(
loss="sparse_categorical_crossentropy",
optimizer=keras.optimizers.Adam(learning_rate=0.0001),
metrics=["accuracy"],
)
model.fit(
train_X,
train_y,
epochs=10,
batch_size=64,
)
return np.argmax(model.predict(eval_X), axis=-1)
def get_cache_confusion_matrix(
name: str, actual_vector: list, predict_vector: list
) -> ConfusionMatrix:
"""
Make confusion matrix and save it.
"""
cm = ConfusionMatrix(actual_vector=actual_vector, predict_vector=predict_vector)
cm.save_html(name)
with open(f"{name}.pickle", "wb") as f:
pickle.dump(cm, f)
return cm
@click.command()
@click.argument("input_train_filepath", type=click.Path(exists=True))
@click.argument("input_test_filepath", type=click.Path(exists=True))
if __name__ == "__main__":
main()
| [
2,
30019,
276,
422,
25,
3740,
1378,
12567,
13,
785,
14,
40914,
77,
19,
15245,
4592,
14,
40914,
77,
46428,
14,
2436,
672,
14,
9866,
14,
77,
1443,
14,
940,
62,
43420,
62,
385,
457,
78,
62,
16,
74,
62,
83,
489,
13,
541,
2047,
65,
198,
198,
11748,
2298,
293,
198,
11748,
3904,
198,
11748,
11192,
273,
11125,
355,
48700,
198,
6738,
11192,
273,
11125,
1330,
41927,
292,
198,
6738,
11192,
273,
11125,
13,
6122,
292,
1330,
11685,
198,
6738,
1341,
35720,
13,
710,
1523,
62,
27349,
1330,
10373,
47,
9487,
7483,
198,
11748,
299,
32152,
355,
45941,
198,
6738,
3108,
8019,
1330,
10644,
198,
6738,
19720,
1330,
32233,
198,
6738,
17268,
1330,
15034,
198,
6738,
12972,
11215,
1330,
7326,
4241,
46912,
198,
6738,
1341,
35720,
13,
3866,
36948,
1330,
36052,
27195,
12342,
628,
198,
4299,
651,
62,
28764,
7,
198,
220,
220,
220,
4512,
62,
55,
25,
45941,
13,
18747,
11,
4512,
62,
88,
25,
45941,
13,
18747,
11,
5418,
62,
55,
25,
45941,
13,
18747,
11,
299,
62,
37724,
25,
493,
198,
8,
4613,
1351,
25,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3497,
4331,
64,
507,
1262,
257,
2829,
10373,
47,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
2746,
796,
41927,
292,
13,
27530,
13,
44015,
1843,
7,
198,
220,
220,
220,
220,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
41927,
292,
13,
75,
6962,
13,
35,
1072,
7,
1433,
2414,
11,
5128,
62,
27740,
28,
11925,
7,
27432,
62,
55,
58,
15,
46570,
14916,
28,
27110,
13,
20471,
13,
38006,
71,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
41927,
292,
13,
75,
6962,
13,
35,
1072,
7,
77,
62,
37724,
11,
14916,
28,
27110,
13,
20471,
13,
4215,
9806,
828,
198,
220,
220,
220,
220,
220,
220,
220,
2361,
198,
220,
220,
220,
1267,
628,
220,
220,
220,
2746,
13,
5589,
576,
7,
198,
220,
220,
220,
220,
220,
220,
220,
2994,
2625,
82,
29572,
62,
66,
2397,
12409,
62,
19692,
298,
28338,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
6436,
7509,
28,
6122,
292,
13,
40085,
11341,
13,
23159,
7,
40684,
62,
4873,
28,
15,
13,
18005,
828,
198,
220,
220,
220,
220,
220,
220,
220,
20731,
28,
14692,
4134,
23843,
33116,
198,
220,
220,
220,
1267,
628,
220,
220,
220,
2746,
13,
11147,
7,
198,
220,
220,
220,
220,
220,
220,
220,
4512,
62,
55,
11,
198,
220,
220,
220,
220,
220,
220,
220,
4512,
62,
88,
11,
198,
220,
220,
220,
220,
220,
220,
220,
36835,
82,
28,
940,
11,
198,
220,
220,
220,
220,
220,
220,
220,
15458,
62,
7857,
28,
2414,
11,
198,
220,
220,
220,
1267,
628,
220,
220,
220,
1441,
45941,
13,
853,
9806,
7,
19849,
13,
79,
17407,
7,
18206,
62,
55,
828,
16488,
10779,
16,
8,
628,
198,
4299,
651,
62,
23870,
62,
10414,
4241,
62,
6759,
8609,
7,
198,
220,
220,
220,
1438,
25,
965,
11,
4036,
62,
31364,
25,
1351,
11,
4331,
62,
31364,
25,
1351,
198,
8,
4613,
7326,
4241,
46912,
25,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
6889,
10802,
17593,
290,
3613,
340,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
12067,
796,
7326,
4241,
46912,
7,
50039,
62,
31364,
28,
50039,
62,
31364,
11,
4331,
62,
31364,
28,
79,
17407,
62,
31364,
8,
198,
220,
220,
220,
12067,
13,
21928,
62,
6494,
7,
3672,
8,
198,
220,
220,
220,
351,
1280,
7,
69,
1,
90,
3672,
27422,
27729,
293,
1600,
366,
39346,
4943,
355,
277,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2298,
293,
13,
39455,
7,
11215,
11,
277,
8,
198,
220,
220,
220,
1441,
12067,
628,
198,
31,
12976,
13,
21812,
3419,
198,
31,
12976,
13,
49140,
7203,
15414,
62,
27432,
62,
7753,
6978,
1600,
2099,
28,
12976,
13,
15235,
7,
1069,
1023,
28,
17821,
4008,
198,
31,
12976,
13,
49140,
7203,
15414,
62,
9288,
62,
7753,
6978,
1600,
2099,
28,
12976,
13,
15235,
7,
1069,
1023,
28,
17821,
4008,
628,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
1388,
3419,
198
] | 2.444921 | 699 |
from django.conf.urls import url, include
urlpatterns = [
url(r'', include("iiif_api_services.urls")),
]
| [
6738,
42625,
14208,
13,
10414,
13,
6371,
82,
1330,
19016,
11,
2291,
628,
198,
6371,
33279,
82,
796,
685,
198,
197,
6371,
7,
81,
6,
3256,
2291,
7203,
4178,
361,
62,
15042,
62,
30416,
13,
6371,
82,
4943,
828,
198,
60,
198
] | 2.571429 | 42 |
import os
import logging
import requests
import json
from string import Formatter, Template
from datetime import datetime
import satsearch.utils as utils
import satsearch.config as config
import traceback
logger = logging.getLogger(__name__)
class Scenes(object):
""" A collection of Scene objects """
def __init__(self, scenes, properties={}):
""" Initialize with a list of Scene objects """
self.scenes = sorted(scenes, key=lambda s: s.date)
self.properties = properties
for p in properties:
if isinstance(properties[p], str):
try:
_p = json.loads(properties[p])
self.properties[p] = _p
except:
self.properties[p] = properties[p]
# check if FeatureCollection and get just first Feature
if p == 'intersects':
if self.properties[p]['type'] == 'FeatureCollection':
self.properties[p] = self.properties[p]['features'][0]
self.collections
def __len__(self):
""" Number of scenes """
return len(self.scenes)
def dates(self):
""" Get sorted list of dates for all scenes """
return sorted(list(set([s.date for s in self.scenes])))
def collections(self):
""" Get collection records for this list of scenes """
return self.collections
def bbox(self):
""" Get bounding box of search """
if 'intersects' in self.properties:
coords = self.properties['intersects']['geometry']['coordinates']
lats = [c[1] for c in coords[0]]
lons = [c[0] for c in coords[0]]
return [min(lons), min(lats), max(lons), max(lats)]
else:
return []
def platforms(self, date=None):
""" List of all available sensors across scenes """
if date is None:
return list(set([s['eo:platform'] for s in self.scenes]))
else:
return list(set([s['eo:platform'] for s in self.scenes if s.date == date]))
def print_scenes(self, params=[]):
""" Print summary of all scenes """
if len(params) == 0:
params = ['date', 'id']
txt = 'Scenes (%s):\n' % len(self.scenes)
txt += ''.join(['{:<20}'.format(p) for p in params]) + '\n'
for s in self.scenes:
# NOTE - the string conversion is because .date returns a datetime obj
txt += ''.join(['{:<20}'.format(str(s[p])) for p in params]) + '\n'
print(txt)
def text_calendar(self):
""" Get calendar for dates """
date_labels = {}
dates = self.dates()
if len(dates) == 0:
return ''
for d in self.dates():
sensors = self.platforms(d)
if len(sensors) > 1:
date_labels[d] = 'Multiple'
else:
date_labels[d] = sensors[0]
return utils.get_text_calendar(date_labels)
def save(self, filename):
""" Save scene metadata """
with open(filename, 'w') as f:
f.write(json.dumps(self.geojson()))
def geojson(self):
""" Get all metadata as GeoJSON """
features = [s.feature for s in self.scenes]
return {
'type': 'FeatureCollection',
'features': features,
'properties': self.properties
}
@classmethod
def load(cls, filename):
""" Load a collections class from a GeoJSON file of metadata """
with open(filename) as f:
geoj = json.loads(f.read())
scenes = [Scene(feature) for feature in geoj['features']]
return Scenes(scenes, properties=geoj.get('properties', {}))
def filter(self, key, values):
""" Filter scenes on key matching value """
scenes = []
for val in values:
scenes += list(filter(lambda x: x[key] == val, self.scenes))
self.scenes = scenes
| [
11748,
28686,
198,
11748,
18931,
198,
11748,
7007,
198,
11748,
33918,
198,
6738,
4731,
1330,
5178,
1436,
11,
37350,
198,
6738,
4818,
8079,
1330,
4818,
8079,
198,
11748,
3332,
12947,
13,
26791,
355,
3384,
4487,
198,
11748,
3332,
12947,
13,
11250,
355,
4566,
198,
11748,
12854,
1891,
628,
198,
6404,
1362,
796,
18931,
13,
1136,
11187,
1362,
7,
834,
3672,
834,
8,
628,
628,
198,
4871,
49525,
7,
15252,
2599,
198,
220,
220,
220,
37227,
317,
4947,
286,
28315,
5563,
37227,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
8188,
11,
6608,
34758,
92,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
20768,
1096,
351,
257,
1351,
286,
28315,
5563,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
28123,
796,
23243,
7,
28123,
11,
1994,
28,
50033,
264,
25,
264,
13,
4475,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
48310,
796,
6608,
198,
220,
220,
220,
220,
220,
220,
220,
329,
279,
287,
6608,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
318,
39098,
7,
48310,
58,
79,
4357,
965,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
79,
796,
33918,
13,
46030,
7,
48310,
58,
79,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
48310,
58,
79,
60,
796,
4808,
79,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
48310,
58,
79,
60,
796,
6608,
58,
79,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2198,
611,
27018,
36307,
290,
651,
655,
717,
27018,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
279,
6624,
705,
3849,
8831,
82,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
48310,
58,
79,
7131,
6,
4906,
20520,
6624,
705,
38816,
36307,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
48310,
58,
79,
60,
796,
2116,
13,
48310,
58,
79,
7131,
6,
40890,
6,
7131,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
4033,
26448,
628,
220,
220,
220,
825,
11593,
11925,
834,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
7913,
286,
8188,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
18896,
7,
944,
13,
28123,
8,
628,
220,
220,
220,
825,
9667,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3497,
23243,
1351,
286,
9667,
329,
477,
8188,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
23243,
7,
4868,
7,
2617,
26933,
82,
13,
4475,
329,
264,
287,
2116,
13,
28123,
60,
22305,
628,
220,
220,
220,
825,
17268,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3497,
4947,
4406,
329,
428,
1351,
286,
8188,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
4033,
26448,
628,
220,
220,
220,
825,
275,
3524,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3497,
5421,
278,
3091,
286,
2989,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
705,
3849,
8831,
82,
6,
287,
2116,
13,
48310,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
763,
3669,
796,
2116,
13,
48310,
17816,
3849,
8831,
82,
6,
7131,
6,
469,
15748,
6,
7131,
6,
37652,
17540,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
300,
1381,
796,
685,
66,
58,
16,
60,
329,
269,
287,
763,
3669,
58,
15,
11907,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
300,
684,
796,
685,
66,
58,
15,
60,
329,
269,
287,
763,
3669,
58,
15,
11907,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
685,
1084,
7,
75,
684,
828,
949,
7,
75,
1381,
828,
3509,
7,
75,
684,
828,
3509,
7,
75,
1381,
15437,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
17635,
628,
220,
220,
220,
825,
9554,
7,
944,
11,
3128,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
7343,
286,
477,
1695,
15736,
1973,
8188,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
3128,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
1351,
7,
2617,
26933,
82,
17816,
68,
78,
25,
24254,
20520,
329,
264,
287,
2116,
13,
28123,
60,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
1351,
7,
2617,
26933,
82,
17816,
68,
78,
25,
24254,
20520,
329,
264,
287,
2116,
13,
28123,
611,
264,
13,
4475,
6624,
3128,
60,
4008,
628,
220,
220,
220,
825,
3601,
62,
28123,
7,
944,
11,
42287,
28,
21737,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
12578,
10638,
286,
477,
8188,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
37266,
8,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
42287,
796,
37250,
4475,
3256,
705,
312,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
256,
742,
796,
705,
3351,
18719,
37633,
82,
2599,
59,
77,
6,
4064,
18896,
7,
944,
13,
28123,
8,
198,
220,
220,
220,
220,
220,
220,
220,
256,
742,
15853,
705,
4458,
22179,
7,
17816,
90,
25,
27,
1238,
92,
4458,
18982,
7,
79,
8,
329,
279,
287,
42287,
12962,
1343,
705,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
329,
264,
287,
2116,
13,
28123,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
24550,
532,
262,
4731,
11315,
318,
780,
764,
4475,
5860,
257,
4818,
8079,
26181,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
256,
742,
15853,
705,
4458,
22179,
7,
17816,
90,
25,
27,
1238,
92,
4458,
18982,
7,
2536,
7,
82,
58,
79,
60,
4008,
329,
279,
287,
42287,
12962,
1343,
705,
59,
77,
6,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
14116,
8,
628,
220,
220,
220,
825,
2420,
62,
9948,
9239,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3497,
11845,
329,
9667,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3128,
62,
23912,
1424,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
9667,
796,
2116,
13,
19581,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
19581,
8,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
10148,
198,
220,
220,
220,
220,
220,
220,
220,
329,
288,
287,
2116,
13,
19581,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15736,
796,
2116,
13,
24254,
82,
7,
67,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
82,
641,
669,
8,
1875,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3128,
62,
23912,
1424,
58,
67,
60,
796,
705,
31217,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3128,
62,
23912,
1424,
58,
67,
60,
796,
15736,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
3384,
4487,
13,
1136,
62,
5239,
62,
9948,
9239,
7,
4475,
62,
23912,
1424,
8,
628,
220,
220,
220,
825,
3613,
7,
944,
11,
29472,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
12793,
3715,
20150,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
351,
1280,
7,
34345,
11,
705,
86,
11537,
355,
277,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
13,
13564,
7,
17752,
13,
67,
8142,
7,
944,
13,
469,
13210,
1559,
3419,
4008,
628,
220,
220,
220,
825,
4903,
13210,
1559,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3497,
477,
20150,
355,
32960,
40386,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3033,
796,
685,
82,
13,
30053,
329,
264,
287,
2116,
13,
28123,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
4906,
10354,
705,
38816,
36307,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
40890,
10354,
3033,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
48310,
10354,
2116,
13,
48310,
198,
220,
220,
220,
220,
220,
220,
220,
1782,
628,
220,
220,
220,
2488,
4871,
24396,
198,
220,
220,
220,
825,
3440,
7,
565,
82,
11,
29472,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
8778,
257,
17268,
1398,
422,
257,
32960,
40386,
2393,
286,
20150,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
351,
1280,
7,
34345,
8,
355,
277,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4903,
13210,
796,
33918,
13,
46030,
7,
69,
13,
961,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
8188,
796,
685,
36542,
7,
30053,
8,
329,
3895,
287,
4903,
13210,
17816,
40890,
6,
11907,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
49525,
7,
28123,
11,
6608,
28,
469,
13210,
13,
1136,
10786,
48310,
3256,
23884,
4008,
628,
220,
220,
220,
825,
8106,
7,
944,
11,
1994,
11,
3815,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
25853,
8188,
319,
1994,
12336,
1988,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
8188,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1188,
287,
3815,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8188,
15853,
1351,
7,
24455,
7,
50033,
2124,
25,
2124,
58,
2539,
60,
6624,
1188,
11,
2116,
13,
28123,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
28123,
796,
8188,
198
] | 2.249434 | 1,768 |
#!/usr/bin/env python
import json
from vc3master.task import VC3Task
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
198,
11748,
33918,
198,
198,
6738,
410,
66,
18,
9866,
13,
35943,
1330,
26706,
18,
25714,
628,
220,
220,
220,
220,
220,
220,
220,
220,
628
] | 2.342857 | 35 |
import asyncio
from fastapi_mail import FastMail, MessageSchema
from app.core.celery_app import celery_app
from app.core.config import settings
@celery_app.task
| [
11748,
30351,
952,
198,
198,
6738,
3049,
15042,
62,
4529,
1330,
12549,
25804,
11,
16000,
27054,
2611,
198,
198,
6738,
598,
13,
7295,
13,
7015,
88,
62,
1324,
1330,
18725,
1924,
62,
1324,
198,
6738,
598,
13,
7295,
13,
11250,
1330,
6460,
628,
198,
31,
7015,
88,
62,
1324,
13,
35943,
198
] | 3.173077 | 52 |
"""
62 / 62 test cases passed.
Runtime: 32 ms
Memory Usage: 15 MB
"""
| [
37811,
198,
5237,
1220,
8190,
1332,
2663,
3804,
13,
198,
41006,
25,
3933,
13845,
198,
30871,
29566,
25,
1315,
10771,
198,
37811,
198
] | 3.043478 | 23 |
#!/usr/bin/env python3
# encoding: utf-8
#
# Copyright (c) 2009 Doug Hellmann All rights reserved.
#
"""
"""
# flake8: noqa
#end_pymotw_header
import gettext
gettext.install(
'example',
'locale',
names=['ngettext'],
)
print(_('This message is in the script.'))
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
18,
198,
2,
21004,
25,
3384,
69,
12,
23,
198,
2,
198,
2,
15069,
357,
66,
8,
3717,
15115,
5783,
9038,
1439,
2489,
10395,
13,
198,
2,
198,
37811,
198,
37811,
198,
2,
781,
539,
23,
25,
645,
20402,
198,
198,
2,
437,
62,
79,
4948,
313,
86,
62,
25677,
198,
11748,
651,
5239,
198,
198,
1136,
5239,
13,
17350,
7,
198,
220,
220,
220,
705,
20688,
3256,
198,
220,
220,
220,
705,
17946,
1000,
3256,
198,
220,
220,
220,
3891,
28,
17816,
782,
316,
5239,
6,
4357,
198,
8,
198,
198,
4798,
28264,
10786,
1212,
3275,
318,
287,
262,
4226,
2637,
4008,
198
] | 2.464286 | 112 |
from setuptools import setup, find_packages
setup(
name="spaceship",
version="0.8.2",
packages=find_packages(),
install_requires=[
'netifaces'
],
url = 'https://github.com/antoan-angelov/spaceship/',
author="Antoan Angelov",
author_email="[email protected]",
description="Python utility for chat and streaming files across machines in the same network",
license="MIT",
keywords="spaceship python terminal chat stream files same network",
classifiers=[
"Development Status :: 4 - Beta",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Communications :: Chat",
"Topic :: Utilities",
"Programming Language :: Python :: 3.4",
"Operating System :: POSIX :: Linux",
"Natural Language :: English",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License"
],
entry_points={
'console_scripts': [
'spaceship = spaceship.__main__:main'
]
}
) | [
6738,
900,
37623,
10141,
1330,
9058,
11,
1064,
62,
43789,
198,
198,
40406,
7,
198,
220,
220,
220,
1438,
2625,
2777,
2114,
1056,
1600,
198,
220,
220,
220,
2196,
2625,
15,
13,
23,
13,
17,
1600,
198,
220,
220,
220,
10392,
28,
19796,
62,
43789,
22784,
198,
220,
220,
220,
2721,
62,
47911,
41888,
198,
220,
220,
220,
220,
220,
220,
220,
705,
3262,
361,
2114,
6,
198,
220,
220,
220,
16589,
198,
220,
220,
220,
19016,
796,
705,
5450,
1378,
12567,
13,
785,
14,
14723,
272,
12,
8368,
709,
14,
2777,
2114,
1056,
14,
3256,
198,
220,
220,
220,
1772,
2625,
13217,
24611,
3905,
709,
1600,
198,
220,
220,
220,
1772,
62,
12888,
2625,
14723,
272,
13,
8368,
709,
10,
2777,
2114,
1056,
31,
14816,
13,
785,
1600,
198,
220,
220,
220,
6764,
2625,
37906,
10361,
329,
8537,
290,
11305,
3696,
1973,
8217,
287,
262,
976,
3127,
1600,
198,
220,
220,
220,
5964,
2625,
36393,
1600,
198,
220,
220,
220,
26286,
2625,
2777,
2114,
1056,
21015,
12094,
8537,
4269,
3696,
976,
3127,
1600,
198,
220,
220,
220,
1398,
13350,
41888,
198,
220,
220,
220,
220,
220,
220,
220,
366,
41206,
12678,
7904,
604,
532,
17993,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
33221,
7904,
10442,
7712,
7904,
46267,
7904,
11361,
3401,
5028,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
33221,
7904,
14620,
7904,
24101,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
33221,
7904,
41086,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
15167,
2229,
15417,
7904,
11361,
7904,
513,
13,
19,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
18843,
803,
4482,
7904,
28069,
10426,
7904,
7020,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
35364,
15417,
7904,
3594,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
31441,
7904,
24371,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5317,
1631,
7591,
1240,
7904,
5268,
18987,
14,
36881,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5317,
1631,
7591,
1240,
7904,
34152,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
34156,
7904,
7294,
40,
20010,
1079,
7904,
17168,
13789,
1,
198,
220,
220,
220,
16589,
198,
220,
220,
220,
5726,
62,
13033,
34758,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
41947,
62,
46521,
10354,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
2777,
2114,
1056,
796,
40663,
13,
834,
12417,
834,
25,
12417,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2361,
198,
220,
220,
220,
220,
220,
1782,
198,
8
] | 2.626424 | 439 |
# simplest case: takes a single line and convert it to binary
import sys
import re
# 15 bit addresses
predefined_symbols = {
'THAT': '000000000000100',
'R14': '000000000001110',
'R15': '000000000001111',
'R12': '000000000001100',
'R13': '000000000001101',
'R10': '000000000001010',
'R11': '000000000001011',
'KBD': '110000000000000',
'R4': '000000000000100',
'R5': '000000000000101',
'R6': '000000000000110',
'R7': '000000000000111',
'R0': '000000000000000',
'R1': '000000000000001',
'R2': '000000000000010',
'R3': '000000000000011',
'SCREEN': '100000000000000',
'R8': '000000000001000',
'R9': '000000000001001',
'THIS': '000000000000011',
'SP': '000000000000000',
'ARG': '000000000000010',
'LCL': '000000000000001'
}
comp_map = {
"0": "0101010",
"1": "0111111",
"-1": "0111010",
"D": "0001100",
"A": "0110000",
"!D": "0001101",
"!A": "0110001",
"-D": "0001111",
"-A": "0110011",
"D+1": "0011111",
"A+1": "0110111",
"D-1": "0001110",
"A-1": "0110010",
"D+A": "0000010",
"D-A": "0010011",
"A-D": "0000111",
"D&A": "0000000",
"D|A": "0010101",
"M": "1110000",
"!M": "1110001",
"-M": "1110011",
"M+1": "1110111",
"M-1": "1110010",
"D+M": "1000010",
"D-M": "1010011",
"M-D": "1000111",
"D&M": "1000000",
"D|M": "1010101"
}
dest_map = {
"": "000",
"M": "001",
"D": "010",
"MD": "011",
"A": "100",
"AM": "101",
"AD": "110",
"AMD": "111"
}
jump_map = {
"": "000",
"JGT": "001",
"JEQ": "010",
"JGE": "011",
"JLT": "100",
"JNE": "101",
"JLE": "110",
"JMP": "111"
}
if __name__ == '__main__':
if len(sys.argv) < 3:
raise Exception("You need to supply a hack asm file and target")
file_name = sys.argv[1]
target_name = sys.argv[2]
output = assemble(file_name)
with open(target_name, "w") as f:
f.write(output)
| [
2,
24043,
1339,
25,
2753,
257,
2060,
1627,
290,
10385,
340,
284,
13934,
198,
11748,
25064,
198,
11748,
302,
198,
198,
2,
1315,
1643,
9405,
198,
28764,
18156,
62,
1837,
2022,
10220,
796,
1391,
198,
220,
220,
220,
705,
4221,
1404,
10354,
705,
8269,
2388,
3064,
3256,
198,
220,
220,
220,
705,
49,
1415,
10354,
705,
8269,
18005,
11442,
3256,
198,
220,
220,
220,
705,
49,
1314,
10354,
705,
8269,
18005,
16243,
3256,
198,
220,
220,
220,
705,
49,
1065,
10354,
705,
8269,
18005,
3064,
3256,
198,
220,
220,
220,
705,
49,
1485,
10354,
705,
8269,
18005,
8784,
3256,
198,
220,
220,
220,
705,
49,
940,
10354,
705,
8269,
18005,
20943,
3256,
198,
220,
220,
220,
705,
49,
1157,
10354,
705,
8269,
18005,
28555,
3256,
198,
220,
220,
220,
705,
42,
14529,
10354,
705,
1157,
8269,
20483,
3256,
198,
220,
220,
220,
705,
49,
19,
10354,
705,
8269,
2388,
3064,
3256,
198,
220,
220,
220,
705,
49,
20,
10354,
705,
8269,
2388,
8784,
3256,
198,
220,
220,
220,
705,
49,
21,
10354,
705,
8269,
2388,
11442,
3256,
198,
220,
220,
220,
705,
49,
22,
10354,
705,
8269,
2388,
16243,
3256,
198,
220,
220,
220,
705,
49,
15,
10354,
705,
8269,
24598,
3256,
198,
220,
220,
220,
705,
49,
16,
10354,
705,
8269,
2388,
8298,
3256,
198,
220,
220,
220,
705,
49,
17,
10354,
705,
8269,
2388,
20943,
3256,
198,
220,
220,
220,
705,
49,
18,
10354,
705,
8269,
2388,
28555,
3256,
198,
220,
220,
220,
705,
6173,
2200,
1677,
10354,
705,
16,
8269,
10535,
3256,
198,
220,
220,
220,
705,
49,
23,
10354,
705,
8269,
18005,
830,
3256,
198,
220,
220,
220,
705,
49,
24,
10354,
705,
8269,
18005,
8298,
3256,
198,
220,
220,
220,
705,
43559,
10354,
705,
8269,
2388,
28555,
3256,
198,
220,
220,
220,
705,
4303,
10354,
705,
8269,
24598,
3256,
198,
220,
220,
220,
705,
1503,
38,
10354,
705,
8269,
2388,
20943,
3256,
198,
220,
220,
220,
705,
43,
5097,
10354,
705,
8269,
2388,
8298,
6,
198,
92,
198,
5589,
62,
8899,
796,
1391,
198,
220,
220,
220,
366,
15,
1298,
366,
486,
486,
20943,
1600,
198,
220,
220,
220,
366,
16,
1298,
366,
486,
1157,
16243,
1600,
198,
220,
220,
220,
27444,
16,
1298,
366,
486,
1157,
20943,
1600,
198,
220,
220,
220,
366,
35,
1298,
366,
18005,
3064,
1600,
198,
220,
220,
220,
366,
32,
1298,
366,
28555,
2388,
1600,
198,
220,
220,
220,
366,
0,
35,
1298,
366,
18005,
8784,
1600,
198,
220,
220,
220,
366,
0,
32,
1298,
366,
486,
3064,
486,
1600,
198,
220,
220,
220,
27444,
35,
1298,
366,
18005,
16243,
1600,
198,
220,
220,
220,
27444,
32,
1298,
366,
486,
3064,
1157,
1600,
198,
220,
220,
220,
366,
35,
10,
16,
1298,
366,
405,
1157,
16243,
1600,
198,
220,
220,
220,
366,
32,
10,
16,
1298,
366,
486,
8784,
1157,
1600,
198,
220,
220,
220,
366,
35,
12,
16,
1298,
366,
18005,
11442,
1600,
198,
220,
220,
220,
366,
32,
12,
16,
1298,
366,
486,
3064,
940,
1600,
198,
220,
220,
220,
366,
35,
10,
32,
1298,
366,
2388,
20943,
1600,
198,
220,
220,
220,
366,
35,
12,
32,
1298,
366,
405,
3064,
1157,
1600,
198,
220,
220,
220,
366,
32,
12,
35,
1298,
366,
2388,
16243,
1600,
198,
220,
220,
220,
366,
35,
5,
32,
1298,
366,
24598,
1600,
198,
220,
220,
220,
366,
35,
91,
32,
1298,
366,
8298,
486,
486,
1600,
628,
220,
220,
220,
366,
44,
1298,
366,
16243,
2388,
1600,
198,
220,
220,
220,
366,
0,
44,
1298,
366,
1157,
3064,
486,
1600,
198,
220,
220,
220,
27444,
44,
1298,
366,
1157,
3064,
1157,
1600,
198,
220,
220,
220,
366,
44,
10,
16,
1298,
366,
1157,
8784,
1157,
1600,
198,
220,
220,
220,
366,
44,
12,
16,
1298,
366,
1157,
3064,
940,
1600,
198,
220,
220,
220,
366,
35,
10,
44,
1298,
366,
49388,
940,
1600,
198,
220,
220,
220,
366,
35,
12,
44,
1298,
366,
8784,
405,
1157,
1600,
198,
220,
220,
220,
366,
44,
12,
35,
1298,
366,
3064,
486,
1157,
1600,
198,
220,
220,
220,
366,
35,
5,
44,
1298,
366,
16,
10535,
1600,
198,
220,
220,
220,
366,
35,
91,
44,
1298,
366,
8784,
486,
486,
1,
198,
92,
198,
16520,
62,
8899,
796,
1391,
198,
220,
220,
220,
366,
1298,
366,
830,
1600,
198,
220,
220,
220,
366,
44,
1298,
366,
8298,
1600,
198,
220,
220,
220,
366,
35,
1298,
366,
20943,
1600,
198,
220,
220,
220,
366,
12740,
1298,
366,
28555,
1600,
198,
220,
220,
220,
366,
32,
1298,
366,
3064,
1600,
198,
220,
220,
220,
366,
2390,
1298,
366,
8784,
1600,
198,
220,
220,
220,
366,
2885,
1298,
366,
11442,
1600,
198,
220,
220,
220,
366,
28075,
1298,
366,
16243,
1,
198,
92,
198,
43327,
62,
8899,
796,
1391,
198,
220,
220,
220,
366,
1298,
366,
830,
1600,
198,
220,
220,
220,
366,
41,
19555,
1298,
366,
8298,
1600,
198,
220,
220,
220,
366,
41,
36,
48,
1298,
366,
20943,
1600,
198,
220,
220,
220,
366,
41,
8264,
1298,
366,
28555,
1600,
198,
220,
220,
220,
366,
41,
27734,
1298,
366,
3064,
1600,
198,
220,
220,
220,
366,
41,
12161,
1298,
366,
8784,
1600,
198,
220,
220,
220,
366,
41,
2538,
1298,
366,
11442,
1600,
198,
220,
220,
220,
366,
41,
7378,
1298,
366,
16243,
1,
198,
92,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
220,
198,
220,
220,
220,
611,
18896,
7,
17597,
13,
853,
85,
8,
1279,
513,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
35528,
7203,
1639,
761,
284,
5127,
257,
8156,
355,
76,
2393,
290,
2496,
4943,
198,
220,
220,
220,
2393,
62,
3672,
796,
25064,
13,
853,
85,
58,
16,
60,
198,
220,
220,
220,
2496,
62,
3672,
796,
25064,
13,
853,
85,
58,
17,
60,
198,
220,
220,
220,
5072,
796,
25432,
7,
7753,
62,
3672,
8,
198,
220,
220,
220,
351,
1280,
7,
16793,
62,
3672,
11,
366,
86,
4943,
355,
277,
25,
198,
220,
220,
220,
220,
220,
220,
220,
277,
13,
13564,
7,
22915,
8,
198
] | 1.99503 | 1,006 |
# 使用import方式进行导入时,只能跟包名或模块名称
# import 包名
import calc2
# import 模块名
import package.module_a
# import 包名+取别名
import package.module_b as mb
# from 包名 import 模块名
# 使用from...import方式可以导入包、模块、函数、变量
from package import module_a
print(package.module_a.a)
print(mb.b)
print(module_a.a)
print(calc2.add(10, 20))
| [
2,
220,
45635,
18796,
101,
11748,
43095,
28156,
237,
32573,
249,
26193,
234,
43380,
120,
17739,
98,
33768,
114,
171,
120,
234,
20998,
103,
47797,
121,
164,
115,
253,
44293,
227,
28938,
235,
22755,
244,
162,
101,
94,
161,
251,
245,
28938,
235,
163,
100,
108,
198,
2,
1330,
10263,
234,
227,
28938,
235,
198,
11748,
42302,
17,
198,
2,
1330,
10545,
101,
94,
161,
251,
245,
28938,
235,
198,
11748,
5301,
13,
21412,
62,
64,
198,
2,
1330,
10263,
234,
227,
28938,
235,
10,
20998,
244,
26344,
104,
28938,
235,
198,
11748,
5301,
13,
21412,
62,
65,
355,
285,
65,
198,
2,
422,
10263,
234,
227,
28938,
235,
1330,
10545,
101,
94,
161,
251,
245,
28938,
235,
198,
2,
220,
45635,
18796,
101,
6738,
986,
11748,
43095,
28156,
237,
20998,
107,
20015,
98,
43380,
120,
17739,
98,
44293,
227,
23513,
162,
101,
94,
161,
251,
245,
23513,
49035,
121,
46763,
108,
23513,
20998,
246,
34932,
237,
198,
6738,
5301,
1330,
8265,
62,
64,
198,
198,
4798,
7,
26495,
13,
21412,
62,
64,
13,
64,
8,
198,
4798,
7,
2022,
13,
65,
8,
198,
4798,
7,
21412,
62,
64,
13,
64,
8,
198,
4798,
7,
9948,
66,
17,
13,
2860,
7,
940,
11,
1160,
4008,
198
] | 1.470874 | 206 |
import functools
import time
from django.db import connection, reset_queries
from django.utils.deprecation import MiddlewareMixin
| [
11748,
1257,
310,
10141,
198,
11748,
640,
198,
198,
6738,
42625,
14208,
13,
9945,
1330,
4637,
11,
13259,
62,
421,
10640,
198,
6738,
42625,
14208,
13,
26791,
13,
10378,
8344,
341,
1330,
6046,
1574,
35608,
259,
198
] | 3.540541 | 37 |
# Copyright 2021 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function, division, absolute_import
from numba import types
from numba.core.typing.npydecl import register_number_classes, parse_dtype, parse_shape
from numba.core.typing.templates import (
AttributeTemplate,
ConcreteTemplate,
AbstractTemplate,
CallableTemplate,
signature,
Registry,
)
import numba_dppy, numba_dppy as dppy
from numba_dppy import target
from numba_dppy.dppy_array_type import DPPYArray
registry = Registry()
intrinsic = registry.register
intrinsic_attr = registry.register_attr
intrinsic_global = registry.register_global
# register_number_classes(intrinsic_global)
@intrinsic
@intrinsic
@intrinsic
@intrinsic
@intrinsic
@intrinsic
@intrinsic
@intrinsic
@intrinsic
@intrinsic
# dppy.atomic submodule -------------------------------------------------------
@intrinsic
@intrinsic
@intrinsic_attr
intrinsic_global(dppy.atomic.add, types.Function(Ocl_atomic_add))
intrinsic_global(dppy.atomic.sub, types.Function(Ocl_atomic_sub))
# dppy.local submodule -------------------------------------------------------
@intrinsic
@intrinsic_attr
# OpenCL module --------------------------------------------------------------
@intrinsic_attr
# intrinsic
# intrinsic_global(dppy, types.Module(dppy))
| [
2,
15069,
33448,
8180,
10501,
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,
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,
11593,
37443,
834,
1330,
3601,
62,
8818,
11,
7297,
11,
4112,
62,
11748,
198,
6738,
997,
7012,
1330,
3858,
198,
6738,
997,
7012,
13,
7295,
13,
774,
13886,
13,
77,
9078,
32446,
1330,
7881,
62,
17618,
62,
37724,
11,
21136,
62,
67,
4906,
11,
21136,
62,
43358,
198,
6738,
997,
7012,
13,
7295,
13,
774,
13886,
13,
11498,
17041,
1330,
357,
198,
220,
220,
220,
3460,
4163,
30800,
11,
198,
220,
220,
220,
1482,
38669,
30800,
11,
198,
220,
220,
220,
27741,
30800,
11,
198,
220,
220,
220,
4889,
540,
30800,
11,
198,
220,
220,
220,
9877,
11,
198,
220,
220,
220,
33432,
11,
198,
8,
198,
11748,
997,
7012,
62,
67,
14097,
11,
997,
7012,
62,
67,
14097,
355,
288,
14097,
198,
6738,
997,
7012,
62,
67,
14097,
1330,
2496,
198,
6738,
997,
7012,
62,
67,
14097,
13,
67,
14097,
62,
18747,
62,
4906,
1330,
360,
10246,
56,
19182,
198,
198,
2301,
4592,
796,
33432,
3419,
198,
600,
81,
1040,
291,
796,
20478,
13,
30238,
198,
600,
81,
1040,
291,
62,
35226,
796,
20478,
13,
30238,
62,
35226,
198,
600,
81,
1040,
291,
62,
20541,
796,
20478,
13,
30238,
62,
20541,
198,
198,
2,
7881,
62,
17618,
62,
37724,
7,
600,
81,
1040,
291,
62,
20541,
8,
628,
198,
31,
600,
81,
1040,
291,
628,
198,
31,
600,
81,
1040,
291,
628,
198,
31,
600,
81,
1040,
291,
628,
198,
31,
600,
81,
1040,
291,
628,
198,
31,
600,
81,
1040,
291,
628,
198,
31,
600,
81,
1040,
291,
628,
198,
31,
600,
81,
1040,
291,
628,
198,
31,
600,
81,
1040,
291,
628,
198,
31,
600,
81,
1040,
291,
628,
198,
31,
600,
81,
1040,
291,
628,
198,
2,
288,
14097,
13,
47116,
850,
21412,
20368,
19351,
6329,
628,
198,
31,
600,
81,
1040,
291,
628,
198,
31,
600,
81,
1040,
291,
628,
198,
31,
600,
81,
1040,
291,
62,
35226,
628,
198,
600,
81,
1040,
291,
62,
20541,
7,
67,
14097,
13,
47116,
13,
2860,
11,
3858,
13,
22203,
7,
46,
565,
62,
47116,
62,
2860,
4008,
198,
600,
81,
1040,
291,
62,
20541,
7,
67,
14097,
13,
47116,
13,
7266,
11,
3858,
13,
22203,
7,
46,
565,
62,
47116,
62,
7266,
4008,
198,
198,
2,
288,
14097,
13,
12001,
850,
21412,
20368,
19351,
6329,
628,
198,
31,
600,
81,
1040,
291,
628,
198,
31,
600,
81,
1040,
291,
62,
35226,
628,
198,
2,
4946,
5097,
8265,
20368,
1783,
26171,
628,
198,
31,
600,
81,
1040,
291,
62,
35226,
628,
198,
2,
28327,
198,
198,
2,
28327,
62,
20541,
7,
67,
14097,
11,
3858,
13,
26796,
7,
67,
14097,
4008,
198
] | 3.215385 | 585 |
#!/usr/bin/env python
try:
from setuptools import setup, find_packages
except ImportError:
raise RuntimeError('setuptools is required')
DESCRIPTION = ('pvops is a python library for the analysis of ' +
'field collected operational data for photovoltaic systems.')
LONG_DESCRIPTION = """
pvops is a python package for PV operators & researchers. It is
a collection of functions for working with text-based data
from photovoltaic power systems. The library includes functions for
processing text data as well as fusion of the text information with
time series data for visualization of contextual details for data
analysis.
Documentation: https://pvops.readthedocs.io/en/latest/index.html
Source code: https://github.com/sandialabs/pvOps
"""
DISTNAME = 'pvops'
MAINTAINER = "Thushara Gunda"
MAINTAINER_EMAIL = '[email protected]'
LICENSE = 'Revised BSD'
URL = 'https://github.com/sandialabs/pvops'
TESTS_REQUIRE = [
'pytest',
]
INSTALL_REQUIRES = [
'numpy >= 1.15.0',
'pandas >= 0.23.0',
'scipy >= 1.2.0',
'scikit-learn',
'nltk',
'datefinder',
'matplotlib',
'seaborn',
'plotly',
'gensim',
'networkx',
'pvlib',
'pvanalytics',
'timezonefinder'
]
DOCS_REQUIRE = [
'sphinx == 2.2.0'
]
EXTRAS_REQUIRE = {
'optional': ['ruptures'],
'test': TESTS_REQUIRE,
'doc': DOCS_REQUIRE
}
EXTRAS_REQUIRE['all'] = sorted(set(sum(EXTRAS_REQUIRE.values(), [])))
SETUP_REQUIRES = ['setuptools_scm']
CLASSIFIERS = [
'Development Status :: 2 - Pre-Alpha',
'Operating System :: OS Independent',
'Intended Audience :: Science/Research',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering'
]
PACKAGES = find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"])
setup(
name=DISTNAME,
use_scm_version=True,
packages=PACKAGES,
install_requires=INSTALL_REQUIRES,
extras_require=EXTRAS_REQUIRE,
tests_require=TESTS_REQUIRE,
setup_requires=SETUP_REQUIRES,
ext_modules=[],
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
license=LICENSE,
classifiers=CLASSIFIERS,
url=URL
)
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
198,
28311,
25,
198,
220,
220,
220,
422,
900,
37623,
10141,
1330,
9058,
11,
1064,
62,
43789,
198,
16341,
17267,
12331,
25,
198,
220,
220,
220,
5298,
43160,
12331,
10786,
2617,
37623,
10141,
318,
2672,
11537,
198,
198,
30910,
40165,
796,
19203,
79,
85,
2840,
318,
257,
21015,
5888,
329,
262,
3781,
286,
705,
1343,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
3245,
7723,
13919,
1366,
329,
2825,
709,
5978,
18452,
3341,
2637,
8,
198,
198,
43,
18494,
62,
30910,
40165,
796,
37227,
198,
79,
85,
2840,
318,
257,
21015,
5301,
329,
31392,
12879,
1222,
4837,
13,
632,
318,
198,
64,
4947,
286,
5499,
329,
1762,
351,
2420,
12,
3106,
1366,
198,
6738,
2825,
709,
5978,
18452,
1176,
3341,
13,
383,
5888,
3407,
5499,
329,
198,
36948,
2420,
1366,
355,
880,
355,
21748,
286,
262,
2420,
1321,
351,
198,
2435,
2168,
1366,
329,
32704,
286,
38356,
3307,
329,
1366,
198,
20930,
13,
220,
198,
198,
24941,
341,
25,
3740,
1378,
79,
85,
2840,
13,
961,
83,
704,
420,
82,
13,
952,
14,
268,
14,
42861,
14,
9630,
13,
6494,
198,
198,
7416,
2438,
25,
3740,
1378,
12567,
13,
785,
14,
38142,
498,
8937,
14,
79,
85,
41472,
198,
198,
37811,
198,
198,
35,
8808,
20608,
796,
705,
79,
85,
2840,
6,
198,
5673,
1268,
30339,
1137,
796,
366,
817,
1530,
3301,
23323,
64,
1,
198,
5673,
1268,
30339,
1137,
62,
27630,
4146,
796,
705,
25297,
46535,
31,
38142,
544,
13,
9567,
6,
198,
43,
2149,
24290,
796,
705,
18009,
1417,
347,
10305,
6,
198,
21886,
796,
705,
5450,
1378,
12567,
13,
785,
14,
38142,
498,
8937,
14,
79,
85,
2840,
6,
198,
198,
51,
1546,
4694,
62,
2200,
49128,
796,
685,
198,
220,
220,
220,
705,
9078,
9288,
3256,
198,
60,
198,
198,
38604,
7036,
62,
2200,
10917,
4663,
1546,
796,
685,
198,
220,
220,
220,
705,
77,
32152,
18189,
352,
13,
1314,
13,
15,
3256,
198,
220,
220,
220,
705,
79,
392,
292,
18189,
657,
13,
1954,
13,
15,
3256,
198,
220,
220,
220,
705,
1416,
541,
88,
18189,
352,
13,
17,
13,
15,
3256,
198,
220,
220,
220,
705,
36216,
15813,
12,
35720,
3256,
198,
220,
220,
220,
705,
77,
2528,
74,
3256,
198,
220,
220,
220,
705,
4475,
22805,
3256,
198,
220,
220,
220,
705,
6759,
29487,
8019,
3256,
198,
220,
220,
220,
705,
325,
397,
1211,
3256,
198,
220,
220,
220,
705,
29487,
306,
3256,
198,
220,
220,
220,
705,
70,
641,
320,
3256,
198,
220,
220,
220,
705,
27349,
87,
3256,
198,
220,
220,
220,
705,
79,
85,
8019,
3256,
198,
220,
220,
220,
705,
79,
10438,
3400,
14094,
3256,
198,
220,
220,
220,
705,
2435,
11340,
22805,
6,
198,
60,
198,
198,
38715,
50,
62,
2200,
49128,
796,
685,
198,
220,
220,
220,
705,
82,
746,
28413,
6624,
362,
13,
17,
13,
15,
6,
198,
60,
198,
198,
6369,
5446,
1921,
62,
2200,
49128,
796,
1391,
198,
220,
220,
220,
705,
25968,
10354,
37250,
3622,
942,
6,
4357,
198,
220,
220,
220,
705,
9288,
10354,
309,
1546,
4694,
62,
2200,
49128,
11,
198,
220,
220,
220,
705,
15390,
10354,
37760,
50,
62,
2200,
49128,
198,
92,
198,
198,
6369,
5446,
1921,
62,
2200,
49128,
17816,
439,
20520,
796,
23243,
7,
2617,
7,
16345,
7,
6369,
5446,
1921,
62,
2200,
49128,
13,
27160,
22784,
17635,
22305,
198,
198,
28480,
8577,
62,
2200,
10917,
4663,
1546,
796,
37250,
2617,
37623,
10141,
62,
1416,
76,
20520,
198,
198,
31631,
5064,
40,
4877,
796,
685,
198,
220,
220,
220,
705,
41206,
12678,
7904,
362,
532,
3771,
12,
38077,
3256,
198,
220,
220,
220,
705,
18843,
803,
4482,
7904,
7294,
13362,
3256,
198,
220,
220,
220,
705,
5317,
1631,
7591,
1240,
7904,
5800,
14,
25104,
3256,
198,
220,
220,
220,
705,
15167,
2229,
15417,
7904,
11361,
7904,
513,
3256,
198,
220,
220,
220,
705,
33221,
7904,
22060,
14,
13798,
1586,
6,
198,
60,
198,
198,
47,
8120,
25552,
796,
1064,
62,
43789,
7,
1069,
9152,
28,
14692,
24620,
41989,
1600,
366,
24620,
41989,
15885,
1600,
366,
41989,
15885,
1600,
366,
41989,
8973,
8,
198,
198,
40406,
7,
198,
220,
220,
220,
1438,
28,
35,
8808,
20608,
11,
198,
220,
220,
220,
779,
62,
1416,
76,
62,
9641,
28,
17821,
11,
198,
220,
220,
220,
10392,
28,
47,
8120,
25552,
11,
198,
220,
220,
220,
2721,
62,
47911,
28,
38604,
7036,
62,
2200,
10917,
4663,
1546,
11,
198,
220,
220,
220,
33849,
62,
46115,
28,
6369,
5446,
1921,
62,
2200,
49128,
11,
198,
220,
220,
220,
5254,
62,
46115,
28,
51,
1546,
4694,
62,
2200,
49128,
11,
198,
220,
220,
220,
9058,
62,
47911,
28,
28480,
8577,
62,
2200,
10917,
4663,
1546,
11,
198,
220,
220,
220,
1070,
62,
18170,
41888,
4357,
198,
220,
220,
220,
6764,
28,
30910,
40165,
11,
198,
220,
220,
220,
890,
62,
11213,
28,
43,
18494,
62,
30910,
40165,
11,
198,
220,
220,
220,
5529,
263,
28,
5673,
1268,
30339,
1137,
11,
198,
220,
220,
220,
5529,
263,
62,
12888,
28,
5673,
1268,
30339,
1137,
62,
27630,
4146,
11,
198,
220,
220,
220,
5964,
28,
43,
2149,
24290,
11,
198,
220,
220,
220,
1398,
13350,
28,
31631,
5064,
40,
4877,
11,
198,
220,
220,
220,
19016,
28,
21886,
198,
8,
198
] | 2.527149 | 884 |
from __future__ import print_function
import os
import sys
import getopt
from os import path
from textwrap import dedent
from retrying import retry
from awsudo.config import CredentialResolver
from awsudo.main import cleanEnvironment
from boto.iam.connection import IAMConnection
from boto.exception import BotoServerError
ACCESS_KEY_DOCS = 'http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html'
try:
from configparser import RawConfigParser
except ImportError:
from ConfigParser import RawConfigParser
@retry(
stop_max_delay=60*1000,
wait_exponential_multiplier=250,
wait_exponential_max=10*1000,
retry_on_exception=lambda e: isinstance(e, BotoServerError))
def deactivateKey(iam, oldKey, userName):
"""Set the given key as inactive.
I'll retry a few times if necessary because AWS's API is eventually
consistent, and it can take a few seconds for new access keys to start
working.
"""
iam.update_access_key(oldKey, 'Inactive', userName)
def deleteOldKeys(iam, currentKeyId, userName):
"""Delete all keys except the currentKeyId.
I'll only delete inactive keys. If I find any that are active, I'll abort
the program.
We must delete old keys because each user can have a maximum of two.
"""
response = iam.get_all_access_keys(userName)['list_access_keys_response']
allKeys = response['list_access_keys_result']['access_key_metadata']
oldKeys = [k for k in allKeys if k['access_key_id'] != currentKeyId]
if len(oldKeys) == len(allKeys):
abort(
"Very odd: current key %s is not listed" %
(currentKeyId,)
)
for key in oldKeys:
if key['status'] == 'Active':
abort(dedent('''
%s is still active: will not automatically delete it.
Please delete it manually if it is safe to do so.
%s
''' % (key['access_key_id'], ACCESS_KEY_DOCS)).strip())
for key in oldKeys:
iam.delete_access_key(key['access_key_id'], user_name=userName)
if __name__ == '__main__':
main()
| [
6738,
11593,
37443,
834,
1330,
3601,
62,
8818,
198,
198,
11748,
28686,
198,
11748,
25064,
198,
11748,
651,
8738,
198,
6738,
28686,
1330,
3108,
198,
6738,
2420,
37150,
1330,
4648,
298,
198,
6738,
1005,
14992,
1330,
1005,
563,
198,
6738,
3253,
24032,
13,
11250,
1330,
327,
445,
1843,
4965,
14375,
198,
6738,
3253,
24032,
13,
12417,
1330,
3424,
31441,
198,
6738,
275,
2069,
13,
1789,
13,
38659,
1330,
314,
2390,
32048,
198,
6738,
275,
2069,
13,
1069,
4516,
1330,
347,
2069,
10697,
12331,
198,
198,
26861,
7597,
62,
20373,
62,
38715,
50,
796,
705,
4023,
1378,
31628,
13,
8356,
13,
33103,
13,
785,
14,
40,
2390,
14,
42861,
14,
12982,
47889,
14,
312,
62,
66,
445,
14817,
62,
15526,
12,
13083,
13,
6494,
6,
198,
198,
28311,
25,
198,
220,
220,
220,
422,
4566,
48610,
1330,
16089,
16934,
46677,
198,
16341,
17267,
12331,
25,
198,
220,
220,
220,
422,
17056,
46677,
1330,
16089,
16934,
46677,
628,
628,
628,
198,
198,
31,
1186,
563,
7,
198,
220,
220,
220,
2245,
62,
9806,
62,
40850,
28,
1899,
9,
12825,
11,
198,
220,
220,
220,
4043,
62,
11201,
35470,
62,
47945,
959,
28,
9031,
11,
198,
220,
220,
220,
4043,
62,
11201,
35470,
62,
9806,
28,
940,
9,
12825,
11,
198,
220,
220,
220,
1005,
563,
62,
261,
62,
1069,
4516,
28,
50033,
304,
25,
318,
39098,
7,
68,
11,
347,
2069,
10697,
12331,
4008,
198,
4299,
390,
39022,
9218,
7,
1789,
11,
1468,
9218,
11,
2836,
5376,
2599,
198,
220,
220,
220,
37227,
7248,
262,
1813,
1994,
355,
28621,
13,
628,
220,
220,
220,
314,
1183,
1005,
563,
257,
1178,
1661,
611,
3306,
780,
30865,
338,
7824,
318,
4191,
198,
220,
220,
220,
6414,
11,
290,
340,
460,
1011,
257,
1178,
4201,
329,
649,
1895,
8251,
284,
923,
198,
220,
220,
220,
1762,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1312,
321,
13,
19119,
62,
15526,
62,
2539,
7,
727,
9218,
11,
705,
818,
5275,
3256,
2836,
5376,
8,
628,
198,
198,
4299,
12233,
19620,
40729,
7,
1789,
11,
1459,
9218,
7390,
11,
2836,
5376,
2599,
198,
220,
220,
220,
37227,
38727,
477,
8251,
2845,
262,
1459,
9218,
7390,
13,
628,
220,
220,
220,
314,
1183,
691,
12233,
28621,
8251,
13,
1002,
314,
1064,
597,
326,
389,
4075,
11,
314,
1183,
15614,
198,
220,
220,
220,
262,
1430,
13,
628,
220,
220,
220,
775,
1276,
12233,
1468,
8251,
780,
1123,
2836,
460,
423,
257,
5415,
286,
734,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
2882,
796,
1312,
321,
13,
1136,
62,
439,
62,
15526,
62,
13083,
7,
7220,
5376,
8,
17816,
4868,
62,
15526,
62,
13083,
62,
26209,
20520,
198,
220,
220,
220,
477,
40729,
796,
2882,
17816,
4868,
62,
15526,
62,
13083,
62,
20274,
6,
7131,
6,
15526,
62,
2539,
62,
38993,
20520,
198,
220,
220,
220,
1468,
40729,
796,
685,
74,
329,
479,
287,
477,
40729,
611,
479,
17816,
15526,
62,
2539,
62,
312,
20520,
14512,
1459,
9218,
7390,
60,
628,
220,
220,
220,
611,
18896,
7,
727,
40729,
8,
6624,
18896,
7,
439,
40729,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
15614,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
16371,
5629,
25,
1459,
1994,
4064,
82,
318,
407,
5610,
1,
4064,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
14421,
9218,
7390,
35751,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
329,
1994,
287,
1468,
40729,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1994,
17816,
13376,
20520,
6624,
705,
13739,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15614,
7,
9395,
298,
7,
7061,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4064,
82,
318,
991,
4075,
25,
481,
407,
6338,
12233,
340,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4222,
12233,
340,
14500,
611,
340,
318,
3338,
284,
466,
523,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4064,
82,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7061,
4064,
357,
2539,
17816,
15526,
62,
2539,
62,
312,
6,
4357,
15859,
7597,
62,
20373,
62,
38715,
50,
29720,
36311,
28955,
628,
220,
220,
220,
329,
1994,
287,
1468,
40729,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1312,
321,
13,
33678,
62,
15526,
62,
2539,
7,
2539,
17816,
15526,
62,
2539,
62,
312,
6,
4357,
2836,
62,
3672,
28,
7220,
5376,
8,
628,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
1388,
3419,
198
] | 2.712452 | 779 |
import os
import sys
import subprocess
import traceback
import pexpect
if False:
# This is just needed so mypy will work; it's never executed.
from typing import Optional # NOQA
MY_DIR = os.path.abspath(os.path.dirname(__file__))
SAUCE_CONNECT_SH_PATH = os.path.join(MY_DIR, 'sauce_connect.sh')
LOAD_SAUCE_CONNECT = 'source {}'.format(SAUCE_CONNECT_SH_PATH)
PROMPT = "BASH IS READY > "
TIMEOUT = 30 # In seconds.
if __name__ == '__main__':
if len(sys.argv) <= 2:
print("usage: {} <command>".format(sys.argv[0]))
sys.exit(maybe_run_with_tunnel(sys.argv[1:]))
| [
11748,
28686,
198,
11748,
25064,
198,
11748,
850,
14681,
198,
11748,
12854,
1891,
198,
11748,
613,
87,
806,
198,
198,
361,
10352,
25,
198,
220,
220,
220,
1303,
770,
318,
655,
2622,
523,
616,
9078,
481,
670,
26,
340,
338,
1239,
10945,
13,
198,
220,
220,
220,
422,
19720,
1330,
32233,
220,
1303,
8005,
48,
32,
198,
198,
26708,
62,
34720,
796,
28686,
13,
6978,
13,
397,
2777,
776,
7,
418,
13,
6978,
13,
15908,
3672,
7,
834,
7753,
834,
4008,
198,
198,
4090,
52,
5222,
62,
10943,
48842,
62,
9693,
62,
34219,
796,
28686,
13,
6978,
13,
22179,
7,
26708,
62,
34720,
11,
705,
82,
559,
344,
62,
8443,
13,
1477,
11537,
198,
198,
35613,
62,
4090,
52,
5222,
62,
10943,
48842,
796,
705,
10459,
23884,
4458,
18982,
7,
4090,
52,
5222,
62,
10943,
48842,
62,
9693,
62,
34219,
8,
198,
198,
4805,
2662,
11571,
796,
366,
33,
11211,
3180,
20832,
56,
1875,
366,
198,
198,
34694,
12425,
796,
1542,
220,
1303,
554,
4201,
13,
628,
628,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
611,
18896,
7,
17597,
13,
853,
85,
8,
19841,
362,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
26060,
25,
23884,
1279,
21812,
29,
1911,
18982,
7,
17597,
13,
853,
85,
58,
15,
60,
4008,
628,
220,
220,
220,
25064,
13,
37023,
7,
25991,
62,
5143,
62,
4480,
62,
28286,
4954,
7,
17597,
13,
853,
85,
58,
16,
47715,
4008,
198
] | 2.407258 | 248 |
from __future__ import absolute_import, division, print_function
from six.moves import range
# -*- Mode: Python; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 8 -*-
#
# LIBTBX_SET_DISPATCHER_NAME cctbx.xfel.stripe_experiment
#
# Given an LCLS experiment results directory and a trial, group results by
# run group and then distrbute each run group's results into subgroups and run
# dials.combine_experiments (optionally with clustering and selecting clusters).
#
from dials.util import show_mail_on_error
from libtbx.phil import parse
from libtbx.utils import Sorry
from libtbx import easy_run
from xfel.util.dials_file_matcher import match_dials_files
from xfel.util.mp import mp_phil_str as multiprocessing_str
from xfel.util.mp import get_submit_command_chooser
import sys
import os, math
import six
multiprocessing_override_str = '''
mp {
use_mpi = False
}
'''
striping_str = '''
striping {
results_dir = None
.type = path
.help = "LCLS results directory containint runs starting with r."
rungroup = None
.type = int
.multiple = True
.help = "Selected rungroups to stripe. If None, all rungroups are accepted."
run = None
.type = str
.multiple = True
.help = "Selected runs to stripe. If None, all runs are accepted."
trial = None
.type = int
.help = "Trial identifier for an XFEL GUI formatted processing trial."
stripe = False
.type = bool
.help = "Enable to select results evenly spaced across each rungroup"
"(stripes) as opposed to contiguous chunks."
chunk_size = 1000
.type = float
.help = "Maximum number of images per chunk or stripe."
respect_rungroup_barriers = True
.type = bool
.help = "Enforce separation by rungroup at time of striping (default)."
"Turn off to allow multiple rungroups to share a detector model."
dry_run = False
.type = bool
.help = "Only set up jobs but do not execute them"
output_folder = None
.type = path
.help = "Path for output data. If None, use current directory"
}
'''
combining_str = '''
combine_experiments {
clustering {
dendrogram = False
.type = bool
.help = "Overrides any multiprocessing parameters to allow interactive"
.help = "run. Clustering dendrograms can only be displayed in this mode."
}
keep_integrated = False
.type = bool
.help = "Combine refined.expt and integrated.refl files."
.help = "If False, ignore integrated.refl files in favor of"
.help = "indexed.refl files in preparation for reintegrating."
include scope dials.command_line.combine_experiments.phil_scope
}
'''
combining_override_str = '''
combine_experiments {
output {
experiments_filename = FILENAME_combined.expt
reflections_filename = FILENAME_combined.refl
delete_shoeboxes = False
}
reference_from_experiment {
detector = 0
}
clustering {
use = True
}
}
'''
# future feature: filter experiments by rmsd after combining/clustering
filtering_str = '''
filtering {
enable = False
}
'''
refinement_str = '''
refinement {
include scope dials.command_line.refine.phil_scope
input {
experiments = None
reflections = None
}
}
'''
refinement_override_str = '''
refinement {
output {
experiments = FILENAME_refined_CLUSTER.expt
reflections = FILENAME_refined_CLUSTER.refl
include_unused_reflections = False
log = FILENAME_refine_CLUSTER.log
debug_log = FILENAME_refine_CLUSTER.debug.log
}
refinement {
parameterisation {
auto_reduction {
action = remove
}
beam {
fix = all
}
}
refinery {
engine = SparseLevMar
}
reflections {
outlier {
algorithm = sauter_poon
minimum_number_of_reflections = 3
separate_experiments = False
separate_panels = False
}
}
}
input {
experiments = FILENAME_combined_CLUSTER.expt
reflections = FILENAME_combined_CLUSTER.refl
}
}
'''
recompute_mosaicity_str = '''
recompute_mosaicity {
include scope xfel.command_line.recompute_mosaicity.phil_scope
input {
experiments = None
reflections = None
}
}
'''
recompute_mosaicity_override_str = '''
recompute_mosaicity {
input {
experiments = FILENAME_refined_CLUSTER.expt
reflections = FILENAME_refined_CLUSTER.refl
}
output {
experiments = FILENAME_refined_CLUSTER.expt
reflections = FILENAME_refined_CLUSTER.refl
}
}
'''
# reintegration after dials refinement
reintegration_str = '''
reintegration {
enable = True
include scope xfel.merging.command_line.mpi_integrate.phil_scope
input {
experiments = None
reflections = None
}
}
'''
reintegration_override_str = '''
reintegration{
dispatch {
step_list = input balance integrate
}
output {
prefix = FILENAME_reintegrated_CLUSTER
save_experiments_and_reflections = True
}
input {
path = .
experiments_suffix = FILENAME_refined_CLUSTER.expt
reflections_suffix = FILENAME_refined_CLUSTER.refl
}
}
'''
# split results and coerce to integration pickle for merging
postprocessing_str = '''
postprocessing {
enable = True
include scope xfel.command_line.frame_extractor.phil_scope
}
'''
postprocessing_override_str = """
postprocessing {
input {
experiments = FILENAME_reintegrated_CLUSTER*.expt
reflections = FILENAME_reintegrated_CLUSTER*.refl
}
output {
filename = FILENAME_CLUSTER_ITER_extracted.refl
dirname = %s
}
}
"""
master_defaults_str = multiprocessing_str + striping_str + combining_str + filtering_str + \
refinement_str + recompute_mosaicity_str + reintegration_str + postprocessing_str
# initialize a master scope from the multiprocessing phil string
master_defaults_scope = parse(master_defaults_str, process_includes=True)
# update master scope with customized and local phil scopes
phil_scope = master_defaults_scope.fetch(parse(postprocessing_override_str, process_includes=True))
phil_scope = phil_scope.fetch(parse(reintegration_override_str, process_includes=True))
phil_scope = phil_scope.fetch(parse(recompute_mosaicity_override_str, process_includes=True))
phil_scope = phil_scope.fetch(parse(refinement_override_str, process_includes=True))
phil_scope = phil_scope.fetch(parse(combining_override_str, process_includes=True))
phil_scope = phil_scope.fetch(parse(multiprocessing_override_str, process_includes=True))
helpstring = """cctbx.xfel.stripe_experiment: parallel processing of an XFEL UI-generated trial.
usage: cctbx.xfel.stripe_experiment striping.results_dir=/path/to/results striping.trial=000
for interactive unit cell clustering, use combine_experiments.clustering.dendrogram=True
"""
def script_to_expand_over_clusters(clustered_json_name,
phil_template_name, command, location):
"""
Write a bash script to find results of a clustering step and produce customized
phils and commands to run with each of them. For example, run the command
dials.refine ...cluster8.expt ...cluster8.refl ...cluster8.phil followed by
dials.refine ...cluster9.expt ...cluster9.refl ...cluster9.phil.
clustered_json_name, clustered_refl_name and phil_template_name must each
contain an asterisk, and substitution in phil_template itself will occur at
each instance of CLUSTER.
"""
clj_part_first, clj_part_last = clustered_json_name.split("CLUSTER")
clustered_template_name = clj_part_first + "*" + clj_part_last
ph_part_first, ph_part_last = phil_template_name.split("CLUSTER")
bash_str = '''
#! /bin/sh
for file in `ls {clname}`
do export cluster=`echo $file | sed "s:{cljfirst}::; s:{cljlast}::"`
export philname="{phfirst}${cluster}{phlast}"
export outname=`echo $philname | sed "s:.phil:.out:"`
sed "s:CLUSTER:${cluster}:g" {phtempl} > $philname
{command} $philname > $outname
done
'''.format(clname=clustered_template_name, phtempl=phil_template_name,
cljfirst=clj_part_first, cljlast=clj_part_last,
phfirst=ph_part_first, phlast=ph_part_last,
command=command, cluster="{cluster}")
bash_name = "generator".join([ph_part_first, ph_part_last]).split(".phil")[0] + ".sh"
with open(os.path.join(location, bash_name), "wb") as script:
script.write(bash_str)
return bash_name
if __name__ == "__main__":
import sys
if "-h" in sys.argv[1:] or "--help" in sys.argv[1:]:
print(helpstring)
exit()
if "-c" in sys.argv[1:]:
expert_level = int(sys.argv[sys.argv.index("-e") + 1]) if "-e" in sys.argv[1:] else 0
attr_level = int(sys.argv[sys.argv.index("-a") + 1]) if "-a" in sys.argv[1:] else 0
phil_scope.show(expert_level=expert_level, attributes_level=attr_level)
with open("striping_defaults.phil", "wb") as defaults:
defaults.write(phil_scope.as_str())
exit()
with show_mail_on_error():
script = Script()
script.run()
| [
6738,
11593,
37443,
834,
1330,
4112,
62,
11748,
11,
7297,
11,
3601,
62,
8818,
198,
6738,
2237,
13,
76,
5241,
1330,
2837,
198,
2,
532,
9,
12,
10363,
25,
11361,
26,
269,
12,
35487,
12,
28968,
25,
362,
26,
33793,
12,
8658,
82,
12,
14171,
25,
18038,
26,
7400,
12,
10394,
25,
807,
532,
9,
12,
198,
2,
198,
2,
45651,
22737,
55,
62,
28480,
62,
26288,
47,
11417,
1137,
62,
20608,
269,
310,
65,
87,
13,
26152,
417,
13,
33565,
431,
62,
23100,
3681,
198,
2,
198,
2,
11259,
281,
406,
5097,
50,
6306,
2482,
8619,
290,
257,
4473,
11,
1448,
2482,
416,
198,
2,
1057,
1448,
290,
788,
1233,
26145,
1133,
1123,
1057,
1448,
338,
2482,
656,
850,
24432,
290,
1057,
198,
2,
5980,
82,
13,
24011,
500,
62,
23100,
6800,
357,
18076,
453,
351,
32966,
1586,
290,
17246,
23163,
737,
198,
2,
198,
6738,
5980,
82,
13,
22602,
1330,
905,
62,
4529,
62,
261,
62,
18224,
198,
6738,
9195,
83,
65,
87,
13,
28864,
1330,
21136,
198,
6738,
9195,
83,
65,
87,
13,
26791,
1330,
19061,
198,
6738,
9195,
83,
65,
87,
1330,
2562,
62,
5143,
198,
6738,
2124,
69,
417,
13,
22602,
13,
67,
8231,
62,
7753,
62,
6759,
2044,
1330,
2872,
62,
67,
8231,
62,
16624,
198,
6738,
2124,
69,
417,
13,
22602,
13,
3149,
1330,
29034,
62,
28864,
62,
2536,
355,
18540,
305,
919,
278,
62,
2536,
198,
6738,
2124,
69,
417,
13,
22602,
13,
3149,
1330,
651,
62,
46002,
62,
21812,
62,
6679,
13416,
198,
11748,
25064,
198,
198,
11748,
28686,
11,
10688,
198,
11748,
2237,
198,
198,
16680,
541,
305,
919,
278,
62,
2502,
13154,
62,
2536,
796,
705,
7061,
198,
3149,
1391,
198,
220,
779,
62,
3149,
72,
796,
10352,
198,
92,
198,
7061,
6,
198,
198,
36311,
278,
62,
2536,
796,
705,
7061,
198,
36311,
278,
1391,
198,
220,
2482,
62,
15908,
796,
6045,
198,
220,
220,
220,
764,
4906,
796,
3108,
198,
220,
220,
220,
764,
16794,
796,
366,
43,
5097,
50,
2482,
8619,
3994,
600,
4539,
3599,
351,
374,
526,
198,
220,
1057,
8094,
796,
6045,
198,
220,
220,
220,
764,
4906,
796,
493,
198,
220,
220,
220,
764,
48101,
796,
6407,
198,
220,
220,
220,
764,
16794,
796,
366,
4653,
12609,
1057,
24432,
284,
39858,
13,
1002,
6045,
11,
477,
1057,
24432,
389,
6292,
526,
198,
220,
1057,
796,
6045,
198,
220,
220,
220,
764,
4906,
796,
965,
198,
220,
220,
220,
764,
48101,
796,
6407,
198,
220,
220,
220,
764,
16794,
796,
366,
4653,
12609,
4539,
284,
39858,
13,
1002,
6045,
11,
477,
4539,
389,
6292,
526,
198,
220,
4473,
796,
6045,
198,
220,
220,
220,
764,
4906,
796,
493,
198,
220,
220,
220,
764,
16794,
796,
366,
51,
4454,
27421,
329,
281,
1395,
37,
3698,
25757,
39559,
7587,
4473,
526,
198,
220,
39858,
796,
10352,
198,
220,
220,
220,
764,
4906,
796,
20512,
198,
220,
220,
220,
764,
16794,
796,
366,
36695,
284,
2922,
2482,
21894,
38980,
1973,
1123,
1057,
8094,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
30629,
36311,
274,
8,
355,
6886,
284,
48627,
22716,
526,
198,
220,
16058,
62,
7857,
796,
8576,
198,
220,
220,
220,
764,
4906,
796,
12178,
198,
220,
220,
220,
764,
16794,
796,
366,
40541,
1271,
286,
4263,
583,
16058,
393,
39858,
526,
198,
220,
2461,
62,
81,
2150,
3233,
62,
5657,
8910,
796,
6407,
198,
220,
220,
220,
764,
4906,
796,
20512,
198,
220,
220,
220,
764,
16794,
796,
366,
4834,
3174,
14139,
416,
1057,
8094,
379,
640,
286,
10283,
278,
357,
12286,
21387,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
17278,
572,
284,
1249,
3294,
1057,
24432,
284,
2648,
257,
31029,
2746,
526,
198,
220,
5894,
62,
5143,
796,
10352,
198,
220,
220,
220,
764,
4906,
796,
20512,
198,
220,
220,
220,
764,
16794,
796,
366,
10049,
900,
510,
3946,
475,
466,
407,
12260,
606,
1,
198,
220,
5072,
62,
43551,
796,
6045,
198,
220,
220,
220,
764,
4906,
796,
3108,
198,
220,
220,
220,
764,
16794,
796,
366,
15235,
329,
5072,
1366,
13,
1002,
6045,
11,
779,
1459,
8619,
1,
198,
92,
198,
7061,
6,
198,
198,
24011,
3191,
62,
2536,
796,
705,
7061,
198,
24011,
500,
62,
23100,
6800,
1391,
198,
220,
32966,
1586,
1391,
198,
220,
220,
220,
288,
437,
39529,
796,
10352,
198,
220,
220,
220,
220,
220,
764,
4906,
796,
20512,
198,
220,
220,
220,
220,
220,
764,
16794,
796,
366,
5886,
81,
1460,
597,
18540,
305,
919,
278,
10007,
284,
1249,
14333,
1,
198,
220,
220,
220,
220,
220,
764,
16794,
796,
366,
5143,
13,
1012,
436,
1586,
288,
437,
3828,
9474,
460,
691,
307,
9066,
287,
428,
4235,
526,
198,
220,
220,
220,
1782,
198,
220,
1394,
62,
18908,
4111,
796,
10352,
198,
220,
220,
220,
764,
4906,
796,
20512,
198,
220,
220,
220,
764,
16794,
796,
366,
20575,
500,
20449,
13,
1069,
457,
290,
11521,
13,
260,
2704,
3696,
526,
198,
220,
220,
220,
764,
16794,
796,
366,
1532,
10352,
11,
8856,
11521,
13,
260,
2704,
3696,
287,
2661,
286,
1,
198,
220,
220,
220,
764,
16794,
796,
366,
9630,
276,
13,
260,
2704,
3696,
287,
11824,
329,
302,
18908,
8821,
526,
198,
220,
2291,
8354,
5980,
82,
13,
21812,
62,
1370,
13,
24011,
500,
62,
23100,
6800,
13,
28864,
62,
29982,
198,
92,
198,
7061,
6,
198,
198,
24011,
3191,
62,
2502,
13154,
62,
2536,
796,
705,
7061,
198,
24011,
500,
62,
23100,
6800,
1391,
198,
220,
5072,
1391,
198,
220,
220,
220,
10256,
62,
34345,
796,
34020,
1677,
10067,
62,
24011,
1389,
13,
1069,
457,
198,
220,
220,
220,
35066,
62,
34345,
796,
34020,
1677,
10067,
62,
24011,
1389,
13,
260,
2704,
198,
220,
220,
220,
12233,
62,
1477,
78,
1765,
1140,
274,
796,
10352,
198,
220,
1782,
198,
220,
4941,
62,
6738,
62,
23100,
3681,
1391,
198,
220,
220,
220,
31029,
796,
657,
198,
220,
1782,
198,
220,
32966,
1586,
1391,
198,
220,
220,
220,
779,
796,
6407,
198,
220,
1782,
198,
92,
198,
7061,
6,
198,
198,
2,
2003,
3895,
25,
8106,
10256,
416,
374,
907,
67,
706,
19771,
14,
565,
436,
1586,
198,
10379,
20212,
62,
2536,
796,
705,
7061,
198,
10379,
20212,
1391,
198,
220,
7139,
796,
10352,
198,
92,
198,
7061,
6,
198,
198,
5420,
21828,
62,
2536,
796,
705,
7061,
198,
5420,
21828,
1391,
198,
220,
2291,
8354,
5980,
82,
13,
21812,
62,
1370,
13,
5420,
500,
13,
28864,
62,
29982,
198,
220,
5128,
1391,
198,
220,
220,
220,
10256,
796,
6045,
198,
220,
220,
220,
35066,
796,
6045,
198,
220,
1782,
198,
92,
198,
7061,
6,
198,
198,
5420,
21828,
62,
2502,
13154,
62,
2536,
796,
705,
7061,
198,
5420,
21828,
1391,
198,
220,
5072,
1391,
198,
220,
220,
220,
10256,
796,
34020,
1677,
10067,
62,
5420,
1389,
62,
5097,
7759,
1137,
13,
1069,
457,
198,
220,
220,
220,
35066,
796,
34020,
1677,
10067,
62,
5420,
1389,
62,
5097,
7759,
1137,
13,
260,
2704,
198,
220,
220,
220,
2291,
62,
403,
1484,
62,
5420,
26448,
796,
10352,
198,
220,
220,
220,
2604,
796,
34020,
1677,
10067,
62,
5420,
500,
62,
5097,
7759,
1137,
13,
6404,
198,
220,
220,
220,
14257,
62,
6404,
796,
34020,
1677,
10067,
62,
5420,
500,
62,
5097,
7759,
1137,
13,
24442,
13,
6404,
198,
220,
1782,
198,
220,
47517,
1391,
198,
220,
220,
220,
11507,
5612,
1391,
198,
220,
220,
220,
220,
220,
8295,
62,
445,
8110,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
2223,
796,
4781,
198,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
15584,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
4259,
796,
477,
198,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
44133,
1391,
198,
220,
220,
220,
220,
220,
3113,
796,
1338,
17208,
32163,
7676,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
35066,
1391,
198,
220,
220,
220,
220,
220,
503,
2505,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
11862,
796,
473,
11894,
62,
26743,
198,
220,
220,
220,
220,
220,
220,
220,
5288,
62,
17618,
62,
1659,
62,
5420,
26448,
796,
513,
198,
220,
220,
220,
220,
220,
220,
220,
4553,
62,
23100,
6800,
796,
10352,
198,
220,
220,
220,
220,
220,
220,
220,
4553,
62,
6839,
1424,
796,
10352,
198,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
1782,
198,
220,
1782,
198,
220,
5128,
1391,
198,
220,
220,
220,
10256,
796,
34020,
1677,
10067,
62,
24011,
1389,
62,
5097,
7759,
1137,
13,
1069,
457,
198,
220,
220,
220,
35066,
796,
34020,
1677,
10067,
62,
24011,
1389,
62,
5097,
7759,
1137,
13,
260,
2704,
198,
220,
1782,
198,
92,
198,
7061,
6,
198,
198,
260,
5589,
1133,
62,
76,
8546,
8467,
62,
2536,
796,
705,
7061,
198,
260,
5589,
1133,
62,
76,
8546,
8467,
1391,
198,
220,
2291,
8354,
2124,
69,
417,
13,
21812,
62,
1370,
13,
260,
5589,
1133,
62,
76,
8546,
8467,
13,
28864,
62,
29982,
198,
220,
5128,
1391,
198,
220,
220,
220,
10256,
796,
6045,
198,
220,
220,
220,
35066,
796,
6045,
198,
220,
1782,
198,
92,
198,
7061,
6,
198,
198,
260,
5589,
1133,
62,
76,
8546,
8467,
62,
2502,
13154,
62,
2536,
796,
705,
7061,
198,
260,
5589,
1133,
62,
76,
8546,
8467,
1391,
198,
220,
5128,
1391,
198,
220,
220,
220,
10256,
796,
34020,
1677,
10067,
62,
5420,
1389,
62,
5097,
7759,
1137,
13,
1069,
457,
198,
220,
220,
220,
35066,
796,
34020,
1677,
10067,
62,
5420,
1389,
62,
5097,
7759,
1137,
13,
260,
2704,
198,
220,
1782,
198,
220,
5072,
1391,
198,
220,
220,
220,
10256,
796,
34020,
1677,
10067,
62,
5420,
1389,
62,
5097,
7759,
1137,
13,
1069,
457,
198,
220,
220,
220,
35066,
796,
34020,
1677,
10067,
62,
5420,
1389,
62,
5097,
7759,
1137,
13,
260,
2704,
198,
220,
1782,
198,
92,
198,
7061,
6,
628,
198,
2,
302,
18908,
1358,
706,
5980,
82,
47517,
198,
260,
18908,
1358,
62,
2536,
796,
705,
7061,
198,
260,
18908,
1358,
1391,
198,
220,
7139,
796,
6407,
198,
220,
2291,
8354,
2124,
69,
417,
13,
647,
2667,
13,
21812,
62,
1370,
13,
3149,
72,
62,
18908,
4873,
13,
28864,
62,
29982,
198,
220,
5128,
1391,
198,
220,
220,
220,
10256,
796,
6045,
198,
220,
220,
220,
35066,
796,
6045,
198,
220,
1782,
198,
92,
198,
7061,
6,
198,
198,
260,
18908,
1358,
62,
2502,
13154,
62,
2536,
796,
705,
7061,
198,
260,
18908,
1358,
90,
198,
220,
27965,
1391,
198,
220,
220,
220,
2239,
62,
4868,
796,
5128,
5236,
19386,
198,
220,
1782,
198,
220,
5072,
1391,
198,
220,
220,
220,
21231,
796,
34020,
1677,
10067,
62,
260,
18908,
4111,
62,
5097,
7759,
1137,
198,
220,
220,
220,
3613,
62,
23100,
6800,
62,
392,
62,
5420,
26448,
796,
6407,
198,
220,
1782,
198,
220,
5128,
1391,
198,
220,
220,
220,
3108,
796,
764,
198,
220,
220,
220,
10256,
62,
37333,
844,
796,
34020,
1677,
10067,
62,
5420,
1389,
62,
5097,
7759,
1137,
13,
1069,
457,
198,
220,
220,
220,
35066,
62,
37333,
844,
796,
34020,
1677,
10067,
62,
5420,
1389,
62,
5097,
7759,
1137,
13,
260,
2704,
198,
220,
1782,
198,
92,
198,
7061,
6,
198,
198,
2,
6626,
2482,
290,
31255,
344,
284,
11812,
2298,
293,
329,
35981,
198,
7353,
36948,
62,
2536,
796,
705,
7061,
198,
7353,
36948,
1391,
198,
220,
7139,
796,
6407,
198,
220,
2291,
8354,
2124,
69,
417,
13,
21812,
62,
1370,
13,
14535,
62,
2302,
40450,
13,
28864,
62,
29982,
198,
92,
198,
7061,
6,
198,
198,
7353,
36948,
62,
2502,
13154,
62,
2536,
796,
37227,
198,
7353,
36948,
1391,
198,
220,
5128,
1391,
198,
220,
220,
220,
10256,
796,
34020,
1677,
10067,
62,
260,
18908,
4111,
62,
5097,
7759,
1137,
24620,
1069,
457,
198,
220,
220,
220,
35066,
796,
34020,
1677,
10067,
62,
260,
18908,
4111,
62,
5097,
7759,
1137,
24620,
260,
2704,
198,
220,
1782,
198,
220,
5072,
1391,
198,
220,
220,
220,
29472,
796,
34020,
1677,
10067,
62,
5097,
7759,
1137,
62,
2043,
1137,
62,
2302,
20216,
13,
260,
2704,
198,
220,
220,
220,
26672,
3672,
796,
4064,
82,
198,
220,
1782,
198,
92,
198,
37811,
198,
198,
9866,
62,
12286,
82,
62,
2536,
796,
18540,
305,
919,
278,
62,
2536,
1343,
10283,
278,
62,
2536,
1343,
19771,
62,
2536,
1343,
25431,
62,
2536,
1343,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
47517,
62,
2536,
1343,
48765,
1133,
62,
76,
8546,
8467,
62,
2536,
1343,
302,
18908,
1358,
62,
2536,
1343,
1281,
36948,
62,
2536,
198,
198,
2,
41216,
257,
4958,
8354,
422,
262,
18540,
305,
919,
278,
5206,
4731,
198,
9866,
62,
12286,
82,
62,
29982,
796,
21136,
7,
9866,
62,
12286,
82,
62,
2536,
11,
1429,
62,
42813,
28,
17821,
8,
198,
2,
4296,
4958,
8354,
351,
27658,
290,
1957,
5206,
629,
13920,
198,
28864,
62,
29982,
796,
4958,
62,
12286,
82,
62,
29982,
13,
69,
7569,
7,
29572,
7,
7353,
36948,
62,
2502,
13154,
62,
2536,
11,
1429,
62,
42813,
28,
17821,
4008,
198,
28864,
62,
29982,
796,
5206,
62,
29982,
13,
69,
7569,
7,
29572,
7,
260,
18908,
1358,
62,
2502,
13154,
62,
2536,
11,
1429,
62,
42813,
28,
17821,
4008,
198,
28864,
62,
29982,
796,
5206,
62,
29982,
13,
69,
7569,
7,
29572,
7,
260,
5589,
1133,
62,
76,
8546,
8467,
62,
2502,
13154,
62,
2536,
11,
1429,
62,
42813,
28,
17821,
4008,
198,
28864,
62,
29982,
796,
5206,
62,
29982,
13,
69,
7569,
7,
29572,
7,
5420,
21828,
62,
2502,
13154,
62,
2536,
11,
1429,
62,
42813,
28,
17821,
4008,
198,
28864,
62,
29982,
796,
5206,
62,
29982,
13,
69,
7569,
7,
29572,
7,
24011,
3191,
62,
2502,
13154,
62,
2536,
11,
1429,
62,
42813,
28,
17821,
4008,
198,
28864,
62,
29982,
796,
5206,
62,
29982,
13,
69,
7569,
7,
29572,
7,
16680,
541,
305,
919,
278,
62,
2502,
13154,
62,
2536,
11,
1429,
62,
42813,
28,
17821,
4008,
198,
198,
16794,
8841,
796,
37227,
66,
310,
65,
87,
13,
26152,
417,
13,
33565,
431,
62,
23100,
3681,
25,
10730,
7587,
286,
281,
1395,
37,
3698,
12454,
12,
27568,
4473,
13,
198,
198,
26060,
25,
269,
310,
65,
87,
13,
26152,
417,
13,
33565,
431,
62,
23100,
3681,
10283,
278,
13,
43420,
62,
15908,
33223,
6978,
14,
1462,
14,
43420,
10283,
278,
13,
45994,
28,
830,
198,
198,
1640,
14333,
4326,
2685,
32966,
1586,
11,
779,
12082,
62,
23100,
6800,
13,
565,
436,
1586,
13,
67,
437,
39529,
28,
17821,
198,
37811,
198,
198,
4299,
4226,
62,
1462,
62,
11201,
392,
62,
2502,
62,
565,
13654,
7,
565,
436,
1068,
62,
17752,
62,
3672,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5206,
62,
28243,
62,
3672,
11,
3141,
11,
4067,
2599,
198,
220,
37227,
198,
220,
19430,
257,
27334,
4226,
284,
1064,
2482,
286,
257,
32966,
1586,
2239,
290,
4439,
27658,
198,
220,
872,
4487,
290,
9729,
284,
1057,
351,
1123,
286,
606,
13,
1114,
1672,
11,
1057,
262,
3141,
198,
220,
5980,
82,
13,
5420,
500,
2644,
565,
5819,
23,
13,
1069,
457,
2644,
565,
5819,
23,
13,
260,
2704,
2644,
565,
5819,
23,
13,
28864,
3940,
416,
198,
220,
5980,
82,
13,
5420,
500,
2644,
565,
5819,
24,
13,
1069,
457,
2644,
565,
5819,
24,
13,
260,
2704,
2644,
565,
5819,
24,
13,
28864,
13,
198,
220,
49480,
62,
17752,
62,
3672,
11,
49480,
62,
260,
2704,
62,
3672,
290,
5206,
62,
28243,
62,
3672,
1276,
1123,
198,
220,
3994,
281,
18503,
1984,
11,
290,
32097,
287,
5206,
62,
28243,
2346,
481,
3051,
379,
198,
220,
1123,
4554,
286,
7852,
7759,
1137,
13,
198,
220,
37227,
198,
220,
537,
73,
62,
3911,
62,
11085,
11,
537,
73,
62,
3911,
62,
12957,
796,
49480,
62,
17752,
62,
3672,
13,
35312,
7203,
5097,
7759,
1137,
4943,
198,
220,
49480,
62,
28243,
62,
3672,
796,
537,
73,
62,
3911,
62,
11085,
1343,
366,
9,
1,
1343,
537,
73,
62,
3911,
62,
12957,
198,
220,
872,
62,
3911,
62,
11085,
11,
872,
62,
3911,
62,
12957,
796,
5206,
62,
28243,
62,
3672,
13,
35312,
7203,
5097,
7759,
1137,
4943,
628,
220,
27334,
62,
2536,
796,
705,
7061,
198,
2,
0,
1220,
8800,
14,
1477,
198,
198,
1640,
2393,
287,
4600,
7278,
1391,
565,
3672,
92,
63,
198,
220,
466,
10784,
13946,
28,
63,
30328,
720,
7753,
930,
10081,
366,
82,
29164,
565,
73,
11085,
92,
3712,
26,
264,
29164,
565,
73,
12957,
92,
3712,
1,
63,
198,
220,
10784,
5206,
3672,
2625,
90,
746,
11085,
92,
38892,
565,
5819,
18477,
746,
12957,
36786,
198,
220,
10784,
503,
3672,
28,
63,
30328,
720,
28864,
3672,
930,
10081,
366,
82,
25,
13,
28864,
25,
13,
448,
11097,
63,
198,
220,
10081,
366,
82,
25,
5097,
7759,
1137,
25,
38892,
565,
5819,
38362,
70,
1,
1391,
746,
11498,
489,
92,
1875,
720,
28864,
3672,
198,
220,
1391,
21812,
92,
720,
28864,
3672,
1875,
720,
448,
3672,
198,
28060,
198,
7061,
4458,
18982,
7,
565,
3672,
28,
565,
436,
1068,
62,
28243,
62,
3672,
11,
872,
11498,
489,
28,
28864,
62,
28243,
62,
3672,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
537,
73,
11085,
28,
565,
73,
62,
3911,
62,
11085,
11,
537,
73,
12957,
28,
565,
73,
62,
3911,
62,
12957,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
872,
11085,
28,
746,
62,
3911,
62,
11085,
11,
872,
12957,
28,
746,
62,
3911,
62,
12957,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3141,
28,
21812,
11,
13946,
2625,
90,
565,
5819,
92,
4943,
628,
220,
27334,
62,
3672,
796,
366,
8612,
1352,
1911,
22179,
26933,
746,
62,
3911,
62,
11085,
11,
872,
62,
3911,
62,
12957,
35944,
35312,
7,
1911,
28864,
4943,
58,
15,
60,
1343,
27071,
1477,
1,
198,
220,
351,
1280,
7,
418,
13,
6978,
13,
22179,
7,
24886,
11,
27334,
62,
3672,
828,
366,
39346,
4943,
355,
4226,
25,
198,
220,
220,
220,
4226,
13,
13564,
7,
41757,
62,
2536,
8,
198,
220,
1441,
27334,
62,
3672,
198,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
1330,
25064,
198,
220,
611,
27444,
71,
1,
287,
25064,
13,
853,
85,
58,
16,
47715,
393,
366,
438,
16794,
1,
287,
25064,
13,
853,
85,
58,
16,
25,
5974,
198,
220,
220,
220,
3601,
7,
16794,
8841,
8,
198,
220,
220,
220,
8420,
3419,
198,
220,
611,
27444,
66,
1,
287,
25064,
13,
853,
85,
58,
16,
25,
5974,
198,
220,
220,
220,
5887,
62,
5715,
796,
493,
7,
17597,
13,
853,
85,
58,
17597,
13,
853,
85,
13,
9630,
7203,
12,
68,
4943,
1343,
352,
12962,
611,
27444,
68,
1,
287,
25064,
13,
853,
85,
58,
16,
47715,
2073,
657,
198,
220,
220,
220,
708,
81,
62,
5715,
796,
493,
7,
17597,
13,
853,
85,
58,
17597,
13,
853,
85,
13,
9630,
7203,
12,
64,
4943,
1343,
352,
12962,
611,
27444,
64,
1,
287,
25064,
13,
853,
85,
58,
16,
47715,
2073,
657,
198,
220,
220,
220,
5206,
62,
29982,
13,
12860,
7,
1069,
11766,
62,
5715,
28,
1069,
11766,
62,
5715,
11,
12608,
62,
5715,
28,
35226,
62,
5715,
8,
198,
220,
220,
220,
351,
1280,
7203,
36311,
278,
62,
12286,
82,
13,
28864,
1600,
366,
39346,
4943,
355,
26235,
25,
198,
220,
220,
220,
220,
220,
26235,
13,
13564,
7,
28864,
62,
29982,
13,
292,
62,
2536,
28955,
198,
220,
220,
220,
8420,
3419,
198,
220,
351,
905,
62,
4529,
62,
261,
62,
18224,
33529,
198,
220,
220,
220,
4226,
796,
12327,
3419,
198,
220,
220,
220,
4226,
13,
5143,
3419,
198
] | 2.697328 | 3,294 |
from django.conf.urls import url
from todos.views import TodoListCreateAPIView, TodoDetailAPIView
urlpatterns = [
url(r'^$', TodoListCreateAPIView.as_view(), name="list"),
url(r'^(?P<pk>[0-9]+)/$', TodoDetailAPIView.as_view(), name="detail"),
] | [
6738,
42625,
14208,
13,
10414,
13,
6371,
82,
1330,
19016,
198,
6738,
284,
37427,
13,
33571,
1330,
309,
24313,
8053,
16447,
2969,
3824,
769,
11,
309,
24313,
11242,
603,
2969,
3824,
769,
198,
198,
6371,
33279,
82,
796,
685,
198,
220,
220,
220,
19016,
7,
81,
6,
61,
3,
3256,
309,
24313,
8053,
16447,
2969,
3824,
769,
13,
292,
62,
1177,
22784,
1438,
2625,
4868,
12340,
198,
220,
220,
220,
19016,
7,
81,
6,
61,
7,
30,
47,
27,
79,
74,
36937,
15,
12,
24,
48688,
20679,
3,
3256,
309,
24313,
11242,
603,
2969,
3824,
769,
13,
292,
62,
1177,
22784,
1438,
2625,
49170,
12340,
198,
60
] | 2.364486 | 107 |
from typing import Optional
from fastapi_camelcase import CamelModel
from .common._unit_validators import dB_unit_check_validator, power_unit_validator
from .signals.frequency import Frequency
class GainFrequency(Gain):
"""[Gain at a single frequency]
Arguments:
f {Frequency} -- Single Frequency
gain {Gain} -- Gain in dB
"""
f: Frequency
class GainTransfer(CamelModel):
"""[Input Power vs. Output Power Base Model]
Arguments:
input_power {Power} -- Input power in dBm
output_power {Power} -- Output power in dBm
"""
input_power: Power
output_power: Power
gain: Optional[Gain]
class GainTransferFrequency(GainTransfer):
"""[Input Power vs. Output Power at a single frequency]
Arguments:
f {Frequency} -- Single Frequency
input_power {Power} -- Input power in dBm
output_power {Power} -- Output power in dBm
"""
f: Frequency
| [
6738,
19720,
1330,
32233,
198,
198,
6738,
3049,
15042,
62,
66,
17983,
7442,
1330,
43281,
17633,
198,
198,
6738,
764,
11321,
13557,
20850,
62,
12102,
2024,
1330,
30221,
62,
20850,
62,
9122,
62,
12102,
1352,
11,
1176,
62,
20850,
62,
12102,
1352,
198,
6738,
764,
12683,
874,
13,
35324,
1330,
31902,
628,
628,
198,
4871,
21686,
37,
28707,
7,
38,
391,
2599,
198,
220,
220,
220,
13538,
17912,
38,
391,
379,
257,
2060,
8373,
60,
628,
220,
220,
220,
20559,
2886,
25,
198,
220,
220,
220,
220,
220,
220,
220,
277,
1391,
37,
28707,
92,
1377,
14206,
31902,
198,
220,
220,
220,
220,
220,
220,
220,
4461,
1391,
38,
391,
92,
1377,
21686,
287,
30221,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
277,
25,
31902,
628,
198,
4871,
21686,
43260,
7,
34,
17983,
17633,
2599,
198,
220,
220,
220,
13538,
17912,
20560,
4333,
3691,
13,
25235,
4333,
7308,
9104,
60,
628,
220,
220,
220,
20559,
2886,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
6477,
1391,
13434,
92,
1377,
23412,
1176,
287,
30221,
76,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
6477,
1391,
13434,
92,
1377,
25235,
1176,
287,
30221,
76,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
5128,
62,
6477,
25,
4333,
198,
220,
220,
220,
5072,
62,
6477,
25,
4333,
198,
220,
220,
220,
4461,
25,
32233,
58,
38,
391,
60,
628,
198,
4871,
21686,
43260,
37,
28707,
7,
38,
391,
43260,
2599,
198,
220,
220,
220,
13538,
17912,
20560,
4333,
3691,
13,
25235,
4333,
379,
257,
2060,
8373,
60,
628,
220,
220,
220,
20559,
2886,
25,
198,
220,
220,
220,
220,
220,
220,
220,
277,
1391,
37,
28707,
92,
1377,
14206,
31902,
198,
220,
220,
220,
220,
220,
220,
220,
5128,
62,
6477,
1391,
13434,
92,
1377,
23412,
1176,
287,
30221,
76,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
62,
6477,
1391,
13434,
92,
1377,
25235,
1176,
287,
30221,
76,
628,
220,
220,
220,
37227,
628,
220,
220,
220,
277,
25,
31902,
198
] | 2.822485 | 338 |
# DATA TYPES, NUMBERS, OPERATIONS, TYPE CONVERSION, f-Strings
# 1. Data Types
# a. String
# pulling out an element from the string = subscripting
# the index starts from 0 to length-1
print("Hello"[3])
# b. Integer
# large integers can be separated with _
print(199_000) # show 199000, but it makes it more readable for us
# c. Float = floating point number
print(3.41231231)
# d. Boolean = True or False
print(True)
# 2. Type Error, Type Checking, Type Conversion
# Type Error -> when we give the wrong type to the function
print(type("aPPLE")) # CHECK THE TYPE OF THE VALUE/VARIABLE
# TYPE CASTING -> CONVERT INTO ANOTHER VALUE
num_str = str(100)
print("My Wishful Score is "+ num_str)
# DATA TYPE EXERCISE
two_digit_number = input("Type a two digit number: ")
if len(two_digit_number)!=2:
print("Invalid input")
print(int(two_digit_number[0]) + int(two_digit_number[1]))
# 3. Mathematical Operators
# '-' Substraction
# '*' Multiplication
# '**' Exponent
# '/' Division -> float result
# '//' Division -> number result
# '%' Modulus
# Priorities -> (), **, * / , + -
# MATHEMATICAL OPERATOR EXERCISE -> BMI CALCULATOR
# Count Body Mass Index with formula = weight/(height^2)
weight = float(input("Input your Weight (kg): "))
height = float(input("Input your Height (m): "))
print("Your BMI index (simplified) is "+ str(int(weight/(height**2))))
# Number Manipulation and F Strings
print(round(10/3,2)) # round function -> how many decimal places
# shorthand => symbol + '='
# f-string
score = 86
print(f'Your score is {score}')
# MATHEMATICAL MANIPULATION EXERCISE -> LIFE IN WEEKS
# Count how many days, weeks, and months left if you live until 90
age = int(input("What is your current age? "))
days = (90-age)*365
weeks = (90-age)*52
months = (90-age)*12
print(f"You have {days} days, {weeks} weeks, and {months} months left.") | [
2,
42865,
24412,
47,
1546,
11,
36871,
33,
4877,
11,
43521,
18421,
11,
41876,
7102,
43717,
11,
277,
12,
13290,
654,
198,
198,
2,
352,
13,
6060,
24897,
198,
198,
2,
257,
13,
10903,
198,
2,
10427,
503,
281,
5002,
422,
262,
4731,
796,
32891,
278,
198,
2,
262,
6376,
4940,
422,
657,
284,
4129,
12,
16,
198,
198,
4798,
7203,
15496,
17912,
18,
12962,
198,
198,
2,
275,
13,
34142,
198,
198,
2,
1588,
37014,
460,
307,
11266,
351,
4808,
198,
4798,
7,
19104,
62,
830,
8,
1303,
905,
1594,
830,
11,
475,
340,
1838,
340,
517,
31744,
329,
514,
198,
198,
2,
269,
13,
48436,
796,
12462,
966,
1271,
198,
198,
4798,
7,
18,
13,
19,
10163,
1065,
3132,
8,
198,
198,
2,
288,
13,
41146,
796,
6407,
393,
10352,
198,
198,
4798,
7,
17821,
8,
198,
198,
2,
362,
13,
5994,
13047,
11,
5994,
39432,
11,
5994,
44101,
198,
198,
2,
5994,
13047,
4613,
618,
356,
1577,
262,
2642,
2099,
284,
262,
2163,
198,
198,
4798,
7,
4906,
7203,
64,
10246,
2538,
48774,
1303,
5870,
25171,
3336,
41876,
3963,
3336,
26173,
8924,
14,
53,
1503,
3539,
19146,
198,
198,
2,
41876,
327,
11262,
2751,
4613,
7102,
15858,
39319,
3537,
31858,
26173,
8924,
198,
198,
22510,
62,
2536,
796,
965,
7,
3064,
8,
198,
4798,
7203,
3666,
23447,
913,
15178,
318,
43825,
997,
62,
2536,
8,
198,
198,
2,
42865,
41876,
7788,
47691,
24352,
198,
11545,
62,
27003,
62,
17618,
796,
5128,
7203,
6030,
257,
734,
16839,
1271,
25,
366,
8,
198,
361,
18896,
7,
11545,
62,
27003,
62,
17618,
31520,
28,
17,
25,
198,
220,
220,
220,
3601,
7203,
44651,
5128,
4943,
198,
4798,
7,
600,
7,
11545,
62,
27003,
62,
17618,
58,
15,
12962,
1343,
493,
7,
11545,
62,
27003,
62,
17618,
58,
16,
60,
4008,
198,
198,
2,
513,
13,
30535,
605,
6564,
2024,
198,
2,
705,
19355,
24944,
7861,
198,
2,
705,
9,
6,
15237,
489,
3299,
198,
2,
705,
1174,
6,
5518,
3471,
198,
2,
31051,
6,
7458,
4613,
12178,
1255,
198,
2,
705,
1003,
6,
7458,
4613,
1271,
1255,
198,
2,
705,
4,
6,
3401,
23515,
198,
2,
14481,
871,
4613,
29994,
12429,
11,
1635,
1220,
837,
1343,
532,
198,
198,
2,
337,
12599,
3620,
1404,
20151,
43521,
25633,
7788,
47691,
24352,
4613,
22456,
33290,
34,
6239,
25633,
198,
2,
2764,
12290,
5674,
12901,
351,
10451,
796,
3463,
29006,
17015,
61,
17,
8,
198,
198,
6551,
796,
12178,
7,
15414,
7203,
20560,
534,
14331,
357,
10025,
2599,
366,
4008,
198,
17015,
796,
12178,
7,
15414,
7203,
20560,
534,
27280,
357,
76,
2599,
366,
4008,
198,
4798,
7203,
7120,
22456,
6376,
357,
14323,
489,
1431,
8,
318,
43825,
965,
7,
600,
7,
6551,
29006,
17015,
1174,
17,
35514,
198,
198,
2,
7913,
35045,
1741,
290,
376,
4285,
654,
198,
4798,
7,
744,
7,
940,
14,
18,
11,
17,
4008,
1303,
2835,
2163,
4613,
703,
867,
32465,
4113,
198,
2,
45883,
5218,
6194,
1343,
705,
11639,
198,
198,
2,
277,
12,
8841,
198,
198,
26675,
796,
9849,
198,
4798,
7,
69,
6,
7120,
4776,
318,
1391,
26675,
92,
11537,
198,
198,
2,
337,
12599,
3620,
1404,
20151,
17254,
4061,
6239,
6234,
7788,
47691,
24352,
4613,
36821,
3268,
370,
6500,
27015,
198,
2,
2764,
703,
867,
1528,
11,
2745,
11,
290,
1933,
1364,
611,
345,
2107,
1566,
4101,
220,
198,
198,
496,
796,
493,
7,
15414,
7203,
2061,
318,
534,
1459,
2479,
30,
366,
4008,
198,
12545,
796,
357,
3829,
12,
496,
27493,
24760,
198,
732,
2573,
796,
357,
3829,
12,
496,
27493,
4309,
198,
41537,
796,
357,
3829,
12,
496,
27493,
1065,
198,
4798,
7,
69,
1,
1639,
423,
1391,
12545,
92,
1528,
11,
1391,
732,
2573,
92,
2745,
11,
290,
1391,
41537,
92,
1933,
1364,
19570
] | 2.985554 | 623 |
# Generated by Django 2.0.7 on 2018-08-14 12:53
from django.db import migrations, models
| [
2,
2980,
515,
416,
37770,
362,
13,
15,
13,
22,
319,
2864,
12,
2919,
12,
1415,
1105,
25,
4310,
198,
198,
6738,
42625,
14208,
13,
9945,
1330,
15720,
602,
11,
4981,
628
] | 2.84375 | 32 |
#!/usr/bin/python
# Standard library imports
from datetime import datetime
from optparse import OptionParser
import os
import sys
import time
from xml.sax.saxutils import escape as h
# Some global variables
svn_sep = "------------------------------------------------------------------------"
cvs_sep = "----------------------------"
# Event to hold all of the separate events as we parse them from the logs.
def parse_args(argv):
""" Parses command line arguments and returns an options object
along with any extra arguments.
"""
p = OptionParser()
p.add_option("-s", "--svn-log", dest="svn_log",
metavar="<log file>",
help="input svn log to convert to standard event xml")
p.add_option("-c", "--cvs-log", dest="cvs_log",
metavar="<log file>",
help="input cvs log to convert to standard event xml")
p.add_option("-g", "--git-log", dest="git_log",
metavar="<log file>",
help="input git log to convert to standard event xml")
p.add_option("-v", "--vss-log", dest="vss_log",
metavar="<log file>",
help="input vss report to convert to standard event xml")
p.add_option("-t", "--starteam-log", dest="starteam_log",
metavar="<log file>",
help="input starteam log to convert to standard event xml")
p.add_option("-w", "--wikiswarm-log", dest="wikiswarm_log",
metavar="<log file>",
help="input wikiswarm log to convert to standard event xml")
p.add_option("-m", "--mercurial-log", dest="mercurial_log",
metavar="<log file>",
help="input mercurial log to convert to standard event xml")
p.add_option( "-d", "--darcs-log", dest="darcs_log",
metavar="<log file>",
help="input darcs log to convert to standard event xml")
p.add_option( "-o", "--output-log", dest="output_log",
metavar="<log file>",
help="specify standard log output file")
p.add_option( "-p", "--perforce-path", dest="perforce_path",
metavar="<log file>",
help="get data from perforce and save it to standard event xml")
(options, args) = p.parse_args(argv)
return (options, args)
def main():
""" Calls the parse_args function based on the
command-line inputs and handles parsed arguments.
"""
(opts, args) = parse_args(sys.argv)
# Handle parsed options.
if opts.svn_log or opts.git_log:
# Grab the correct log file based on what was specified.
log_file = opts.svn_log
if opts.git_log:
print "Parsing Git log..."
log_file = opts.git_log
else:
print "Parsing SVN log..."
# Check to be sure the specified log path exists.
if os.path.exists(log_file):
# Iterate through log file lines to parse out the revision history, adding Event
# entries to a list as we go.
commits = 0
event_list = []
file_handle = open(log_file, 'r')
line = file_handle.readline()
while len(line) > 0:
# The svn_sep indicates a new revision history to parse.
if line.startswith(svn_sep):
# Extract author and date from revision line. Here is a sample revision line:
# r9 | michael.ogawa | 2008-06-19 10:23:25 -0500 (Thu, 19 Jun 2008) | 3 lines.
rev_line = file_handle.readline()
# The last line of the file is an svn_sep line, so if we try to retreive the
# revision line and get an empty string, we know we are at the end of the file
# and can break out of the loop.
# "" is EOF condition
if rev_line == "":
break;
rev_parts = rev_line.split(' | ')
# line containing committer info is malformed
if len(rev_parts) < 4:
continue
author = rev_parts[1]
date_parts = rev_parts[2].split(" ")
date = date_parts[0] + " " + date_parts[1]
date = time.strptime(date, '%Y-%m-%d %H:%M:%S')
date = int(time.mktime(date))*1000
# Skip the 'Changed paths:' line and start reading in the changed filenames.
nextLine = file_handle.readline()
# malformed log
if nextLine.lower()[:14] != "changed paths:":
continue;
commits += 1
path = file_handle.readline()
while len(path) > 1:
ch_path = None
if opts.svn_log:
ch_path = path[5:].split(" (from")[0].replace("\n", "")
else:
# git uses quotes if filename contains unprintable characters
ch_path = path[2:].replace("\n", "").replace("\"", "")
event_list.append(Event(ch_path, date, author))
path = file_handle.readline()
line = file_handle.readline()
file_handle.close()
print "Parsed %i commits" % ( commits )
# Generate standard event xml file from event_list.
create_event_xml(event_list, log_file, opts.output_log)
else:
print "Please specify an existing path."
if opts.cvs_log:
log_file = opts.cvs_log
print "Parsing CVS log..."
# Check to be sure the specified log path exists.
if os.path.exists(log_file):
event_list = []
filename = ""
file_handle = open(log_file, 'r')
line = file_handle.readline()
while len(line) > 0:
# The cvs_sep indicates a new revision history to parse.
if line.startswith(cvs_sep):
#Read the revision number
rev_line = file_handle.readline()
# Extract author and date from revision line.
rev_line = file_handle.readline()
if(rev_line.lower().find("date:") == 0):
rev_parts = rev_line.split('; ')
date_parts = rev_parts[0].split(": ")
date_no_tz = ' '.join(date_parts[1].split(' ')[0:2]).strip()
for fmts in ['%Y-%m-%d %H:%M:%S', '%Y/%m/%d %H:%M:%S']:
try:
date = time.strptime(date_no_tz, fmts)
except:
pass
else:
break
date = int(time.mktime(date))*1000
author = rev_parts[1].split(": ")[1]
event_list.append(Event(filename, date, author))
line = file_handle.readline()
if(str(line) == ""):
break
elif(line.lower().find("rcs file: ") >= 0):
rev_line = line.split(": ");
filename = rev_line[1].strip().split(',')[0]
file_handle.close()
# Generate standard event xml file from event_list.
create_event_xml(event_list, log_file, opts.output_log)
else:
print "Please specify an existing path."
if opts.vss_log:
log_file = opts.vss_log
print "Parsing VSS log..."
if os.path.exists(log_file):
event_list = []
file_handle = open(log_file, 'r')
filename = ""
author = ""
mdy = ""
t = ""
# The VSS report can have multiple lines for each entry, where the values
# are continued within a column range.
for line in file_handle.readlines():
if line.startswith(' '):
# Handle a continuation line
filename += line[0:20].strip()
author += line[22:31].strip()
else:
if mdy:
filename = filename.replace("$", "")
date = datetime.strptime(mdy + ' ' + t[:-1]+t[-1].upper()+'M', "%m/%d/%y %I:%M%p")
date = int(time.mktime(date.timetuple())*1000)
event_list.append(Event(filename, date, author.lower()))
filename = line[0:20].strip()
author = line[21:31].strip()
mdy = line[32:40].strip()
t = line[42:48].strip()
create_event_xml(event_list, log_file, opts.output_log)
if opts.starteam_log:
log_file = opts.starteam_log
print "Parsing starteam log..."
if os.path.exists(log_file):
import re
event_list = []
file_handle = open(log_file, 'r')
folder = None
filename = None
# The Starteam log can have multiple lines for each entry
for line in file_handle.readlines():
m = re.compile("^Folder: (\w*) \(working dir: (.*)\)$").match(line)
if m:
folder = m.group(2)
#print "parsing folder %s @ %s" % (m.group(1), folder)
continue
m = re.compile("^History for: (.*)$").match(line)
if m:
filename = m.group(1)
#print "parsing file %s" % filename
continue
m = re.compile("^Author: (.*) Date: (.*) \w+$").match(line)
if m:
author = m.group(1)
date = datetime.strptime(m.group(2), "%m/%d/%y %I:%M:%S %p")
date = int(time.mktime(date.timetuple())*1000)
event_list.append(Event(os.path.join(folder, filename), date, author))
#print "%s check in at %s" % (author, date)
continue
create_event_xml(event_list, log_file, opts.output_log)
if opts.wikiswarm_log:
log_file = opts.wikiswarm_log
print "Parsing wikiswarm log..."
# Check to be sure the specified log path exists.
if os.path.exists(log_file):
event_list = []
file_handle = open(log_file, 'r')
line = file_handle.readline()
for rev_line in file_handle.readlines():
if rev_line is '':
continue
rev_parts = rev_line.split('|')
#rev_id = rev_parts[0].strip()# Don't really need this, it's mainly for the ouputter
filename = rev_parts[1].strip()
author = rev_parts[2].strip()
date = rev_parts[3].strip()+'000' # Padd to convert seconds into milliseconds
event_list.append(Event(filename, date, author))
continue
# Generate standard event xml file from event_list.
create_event_xml(event_list, log_file, opts.output_log)
if opts.mercurial_log:
# author: Stefan Scherfke
# contact: stefan.scherfke at uni-oldenburg.de
log_file = opts.mercurial_log
print "Parsing mercurial log..."
if os.path.exists(log_file):
event_list = []
file_handle = open(log_file, 'r')
state = 0
user = ''
date = ''
files = []
for line in file_handle.readlines():
if state == 0:
author = line[:-1]
state += 1
elif state == 1:
date = line[:line.find('.')] + '000'
state += 1
elif state == 2:
files = line[:-1].split(' ')
for filename in files:
event_list.append(Event(filename, date, author.lower()))
state += 1
elif state == 3:
state = 0
else:
print 'Error: undifined state'
create_event_xml(event_list, log_file, opts.output_log)
if opts.darcs_log:
log_file = opts.darcs_log
print "Parsing darcs log..."
if os.path.exists(log_file):
event_list = []
file_handle = open(log_file, 'r')
user = ''
date = ''
for line in file_handle.readlines():
line = line.rstrip()
if len(line) == 0:
continue
elif line[0] != ' ':
date = line[:29].strip()
author = line[30:].strip()
if date[7:9] == ' ':
date = date.replace(' ', ' 0')
date = int(time.mktime(time.strptime(date, '%a %b %d %H:%M:%S %Z %Y')))*1000
parts = author.split('<')
if len(parts) == 2:
author = parts[0].strip()
elif line[0] == ' ' and len(line) > 4:
if line[4:8] == 'M ./' or line[4:8] == 'A ./' or line[4:8] == 'R ./':
filename = line.lstrip('MAR ./')
filename = filename.rstrip(' +-123456789')
event_list.append(Event(filename, date, author))
continue
else:
continue
else:
continue
create_event_xml(event_list, log_file, opts.output_log)
if opts.perforce_path:
import re
print "Parsing perforce log..."
event_list = []
changelists = run_marshal('p4 -G changelists "' + opts.perforce_path + '"')
file_key_re = re.compile("^depotFile")
for changelist in changelists:
files = run_marshal('p4 -G describe -s "' + changelist['change'] + '"')
for file in files:
for key_name, file_name in file.iteritems():
if file_key_re.match(key_name):
event_list.append(Event(file_name, int(changelist['time'] + '000'), changelist['user']))
create_event_xml(event_list, 'depot', opts.output_log)
def create_event_xml(events, base_log, output_log=None):
""" Write out the final XML output log file based on an input
list of events and input log files.
"""
# By default, the generated xml file will be the same name as the input log file
# but with an '.xml' extension.
log_file_path = os.path.abspath(base_log)
dest_dir = os.path.dirname(log_file_path)
log_file_base = os.path.basename(log_file_path)
xml_filename = os.path.splitext(log_file_base)[0] + '.xml'
xml_path = os.path.join(dest_dir, xml_filename)
# If the user specified an output log file, then use that.
if output_log:
xml_path = output_log
print "Generating XML from %i events..." % ( len( events ) )
# Create new empty xml file.
xml_handle = open(xml_path, 'w')
xml_handle.write('<?xml version="1.0"?>\n')
xml_handle.write('<file_events>\n')
# Make sure the events are sorted in ascending order by date, then
# write the events into the xml file.
events.sort()
for event in events:
try:
xml_handle.write('<event date="%s" filename="%s" author="%s" />\n' % \
(event.date, h(event.filename), h(event.author)))
except:
print "Error when writing this file: " + str(event)
xml_handle.write('</file_events>\n')
xml_handle.close()
if __name__ == "__main__":
""" Main entry point."""
main()
| [
2,
48443,
14629,
14,
8800,
14,
29412,
198,
2,
8997,
5888,
17944,
198,
6738,
4818,
8079,
1330,
4818,
8079,
198,
6738,
2172,
29572,
1330,
16018,
46677,
198,
11748,
28686,
198,
11748,
25064,
198,
11748,
640,
198,
6738,
35555,
13,
82,
897,
13,
82,
897,
26791,
1330,
6654,
355,
289,
198,
198,
2,
2773,
3298,
9633,
198,
21370,
77,
62,
325,
79,
796,
366,
10097,
982,
1,
198,
66,
14259,
62,
325,
79,
796,
366,
1783,
10541,
1,
198,
198,
2,
8558,
284,
1745,
477,
286,
262,
4553,
2995,
355,
356,
21136,
606,
422,
262,
17259,
13,
198,
220,
220,
220,
220,
198,
4299,
21136,
62,
22046,
7,
853,
85,
2599,
198,
220,
220,
220,
37227,
23042,
274,
3141,
1627,
7159,
290,
5860,
281,
3689,
2134,
198,
220,
220,
220,
1863,
351,
597,
3131,
7159,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
279,
796,
16018,
46677,
3419,
198,
220,
220,
220,
220,
198,
220,
220,
220,
279,
13,
2860,
62,
18076,
7203,
12,
82,
1600,
366,
438,
21370,
77,
12,
6404,
1600,
2244,
2625,
21370,
77,
62,
6404,
1600,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1138,
615,
283,
2625,
27,
6404,
2393,
29,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
1037,
2625,
15414,
38487,
77,
2604,
284,
10385,
284,
3210,
1785,
35555,
4943,
628,
220,
220,
220,
279,
13,
2860,
62,
18076,
7203,
12,
66,
1600,
366,
438,
66,
14259,
12,
6404,
1600,
2244,
2625,
66,
14259,
62,
6404,
1600,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1138,
615,
283,
2625,
27,
6404,
2393,
29,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
1037,
2625,
15414,
269,
14259,
2604,
284,
10385,
284,
3210,
1785,
35555,
4943,
628,
220,
220,
220,
279,
13,
2860,
62,
18076,
7203,
12,
70,
1600,
366,
438,
18300,
12,
6404,
1600,
2244,
2625,
18300,
62,
6404,
1600,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1138,
615,
283,
2625,
27,
6404,
2393,
29,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
1037,
2625,
15414,
17606,
2604,
284,
10385,
284,
3210,
1785,
35555,
4943,
198,
220,
220,
220,
220,
198,
220,
220,
220,
279,
13,
2860,
62,
18076,
7203,
12,
85,
1600,
366,
438,
85,
824,
12,
6404,
1600,
2244,
2625,
85,
824,
62,
6404,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
1138,
615,
283,
2625,
27,
6404,
2393,
29,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
1037,
2625,
15414,
410,
824,
989,
284,
10385,
284,
3210,
1785,
35555,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
279,
13,
2860,
62,
18076,
7203,
12,
83,
1600,
366,
438,
9688,
68,
321,
12,
6404,
1600,
2244,
2625,
9688,
68,
321,
62,
6404,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
1138,
615,
283,
2625,
27,
6404,
2393,
29,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
1037,
2625,
15414,
923,
68,
321,
2604,
284,
10385,
284,
3210,
1785,
35555,
4943,
628,
220,
220,
220,
279,
13,
2860,
62,
18076,
7203,
12,
86,
1600,
366,
438,
20763,
271,
31975,
12,
6404,
1600,
2244,
2625,
20763,
271,
31975,
62,
6404,
1600,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1138,
615,
283,
2625,
27,
6404,
2393,
29,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
1037,
2625,
15414,
47145,
271,
31975,
2604,
284,
10385,
284,
3210,
1785,
35555,
4943,
628,
220,
220,
220,
279,
13,
2860,
62,
18076,
7203,
12,
76,
1600,
366,
438,
647,
22019,
498,
12,
6404,
1600,
2244,
2625,
647,
22019,
498,
62,
6404,
1600,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1138,
615,
283,
2625,
27,
6404,
2393,
29,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
1037,
2625,
15414,
11991,
333,
498,
2604,
284,
10385,
284,
3210,
1785,
35555,
4943,
628,
220,
220,
220,
279,
13,
2860,
62,
18076,
7,
27444,
67,
1600,
366,
438,
67,
5605,
82,
12,
6404,
1600,
2244,
2625,
67,
5605,
82,
62,
6404,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
1138,
615,
283,
2625,
27,
6404,
2393,
29,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
1037,
2625,
15414,
288,
5605,
82,
2604,
284,
10385,
284,
3210,
1785,
35555,
4943,
628,
220,
220,
220,
279,
13,
2860,
62,
18076,
7,
27444,
78,
1600,
366,
438,
22915,
12,
6404,
1600,
2244,
2625,
22915,
62,
6404,
1600,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1138,
615,
283,
2625,
27,
6404,
2393,
29,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
1037,
2625,
16684,
1958,
3210,
2604,
5072,
2393,
4943,
628,
220,
220,
220,
279,
13,
2860,
62,
18076,
7,
27444,
79,
1600,
366,
438,
525,
3174,
12,
6978,
1600,
2244,
2625,
525,
3174,
62,
6978,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
1138,
615,
283,
2625,
27,
6404,
2393,
29,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
1037,
2625,
1136,
1366,
422,
583,
3174,
290,
3613,
340,
284,
3210,
1785,
35555,
4943,
628,
220,
220,
220,
357,
25811,
11,
26498,
8,
796,
279,
13,
29572,
62,
22046,
7,
853,
85,
8,
628,
220,
220,
220,
1441,
357,
25811,
11,
26498,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
198,
4299,
1388,
33529,
198,
220,
220,
220,
37227,
27592,
262,
21136,
62,
22046,
2163,
1912,
319,
262,
220,
198,
220,
220,
220,
3141,
12,
1370,
17311,
290,
17105,
44267,
7159,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
357,
404,
912,
11,
26498,
8,
796,
21136,
62,
22046,
7,
17597,
13,
853,
85,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
33141,
44267,
3689,
13,
198,
220,
220,
220,
611,
2172,
82,
13,
21370,
77,
62,
6404,
393,
2172,
82,
13,
18300,
62,
6404,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
25339,
262,
3376,
2604,
2393,
1912,
319,
644,
373,
7368,
13,
198,
220,
220,
220,
220,
220,
220,
220,
2604,
62,
7753,
796,
2172,
82,
13,
21370,
77,
62,
6404,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2172,
82,
13,
18300,
62,
6404,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
47,
945,
278,
15151,
2604,
9313,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2604,
62,
7753,
796,
2172,
82,
13,
18300,
62,
6404,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
47,
945,
278,
20546,
45,
2604,
9313,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
6822,
284,
307,
1654,
262,
7368,
2604,
3108,
7160,
13,
198,
220,
220,
220,
220,
220,
220,
220,
611,
28686,
13,
6978,
13,
1069,
1023,
7,
6404,
62,
7753,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
40806,
378,
832,
2604,
2393,
3951,
284,
21136,
503,
262,
18440,
2106,
11,
4375,
8558,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
12784,
284,
257,
1351,
355,
356,
467,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
23463,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1785,
62,
4868,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
62,
28144,
796,
1280,
7,
6404,
62,
7753,
11,
220,
705,
81,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1627,
796,
2393,
62,
28144,
13,
961,
1370,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
981,
18896,
7,
1370,
8,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
383,
38487,
77,
62,
325,
79,
9217,
257,
649,
18440,
2106,
284,
21136,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1627,
13,
9688,
2032,
342,
7,
21370,
77,
62,
325,
79,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
29677,
1772,
290,
3128,
422,
18440,
1627,
13,
220,
3423,
318,
257,
6291,
18440,
1627,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
374,
24,
930,
285,
40302,
13,
519,
6909,
930,
3648,
12,
3312,
12,
1129,
838,
25,
1954,
25,
1495,
532,
2713,
405,
357,
39902,
11,
678,
7653,
3648,
8,
930,
513,
3951,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2710,
62,
1370,
796,
2393,
62,
28144,
13,
961,
1370,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
383,
938,
1627,
286,
262,
2393,
318,
281,
38487,
77,
62,
325,
79,
1627,
11,
523,
611,
356,
1949,
284,
1005,
260,
425,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
18440,
1627,
290,
651,
281,
6565,
4731,
11,
356,
760,
356,
389,
379,
262,
886,
286,
262,
2393,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
290,
460,
2270,
503,
286,
262,
9052,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
13538,
318,
412,
19238,
4006,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2710,
62,
1370,
6624,
366,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
26,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2710,
62,
42632,
796,
2710,
62,
1370,
13,
35312,
10786,
930,
705,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1627,
7268,
725,
1967,
7508,
318,
6428,
12214,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
18218,
62,
42632,
8,
1279,
604,
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,
2555,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1772,
796,
2710,
62,
42632,
58,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3128,
62,
42632,
796,
2710,
62,
42632,
58,
17,
4083,
35312,
7203,
366,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3128,
796,
3128,
62,
42632,
58,
15,
60,
1343,
366,
366,
1343,
3128,
62,
42632,
58,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3128,
796,
640,
13,
2536,
457,
524,
7,
4475,
11,
705,
4,
56,
12,
4,
76,
12,
4,
67,
4064,
39,
25,
4,
44,
25,
4,
50,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3128,
796,
493,
7,
2435,
13,
28015,
2435,
7,
4475,
4008,
9,
12825,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
32214,
262,
705,
31813,
13532,
32105,
1627,
290,
923,
3555,
287,
262,
3421,
1226,
268,
1047,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1306,
13949,
796,
2393,
62,
28144,
13,
961,
1370,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
6428,
12214,
2604,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1306,
13949,
13,
21037,
3419,
58,
25,
1415,
60,
14512,
366,
40985,
13532,
25,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
26,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
23463,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3108,
796,
2393,
62,
28144,
13,
961,
1370,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
981,
18896,
7,
6978,
8,
1875,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
442,
62,
6978,
796,
6045,
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,
2172,
82,
13,
21370,
77,
62,
6404,
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,
442,
62,
6978,
796,
3108,
58,
20,
25,
4083,
35312,
7203,
357,
6738,
4943,
58,
15,
4083,
33491,
7203,
59,
77,
1600,
366,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
17606,
3544,
13386,
611,
29472,
4909,
555,
4798,
540,
3435,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
442,
62,
6978,
796,
3108,
58,
17,
25,
4083,
33491,
7203,
59,
77,
1600,
366,
11074,
33491,
7203,
7879,
1600,
366,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1785,
62,
4868,
13,
33295,
7,
9237,
7,
354,
62,
6978,
11,
3128,
11,
1772,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3108,
796,
2393,
62,
28144,
13,
961,
1370,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1627,
796,
2393,
62,
28144,
13,
961,
1370,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
62,
28144,
13,
19836,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
47,
945,
276,
4064,
72,
23463,
1,
4064,
357,
23463,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2980,
378,
3210,
1785,
35555,
2393,
422,
1785,
62,
4868,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2251,
62,
15596,
62,
19875,
7,
15596,
62,
4868,
11,
2604,
62,
7753,
11,
2172,
82,
13,
22915,
62,
6404,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
5492,
11986,
281,
4683,
3108,
526,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
611,
2172,
82,
13,
66,
14259,
62,
6404,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2604,
62,
7753,
796,
2172,
82,
13,
66,
14259,
62,
6404,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
47,
945,
278,
327,
20304,
2604,
9313,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
6822,
284,
307,
1654,
262,
7368,
2604,
3108,
7160,
13,
198,
220,
220,
220,
220,
220,
220,
220,
611,
28686,
13,
6978,
13,
1069,
1023,
7,
6404,
62,
7753,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1785,
62,
4868,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
29472,
796,
13538,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
62,
28144,
796,
1280,
7,
6404,
62,
7753,
11,
220,
705,
81,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1627,
796,
2393,
62,
28144,
13,
961,
1370,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
981,
18896,
7,
1370,
8,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
383,
269,
14259,
62,
325,
79,
9217,
257,
649,
18440,
2106,
284,
21136,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1627,
13,
9688,
2032,
342,
7,
66,
14259,
62,
325,
79,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
5569,
262,
18440,
1271,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2710,
62,
1370,
796,
2393,
62,
28144,
13,
961,
1370,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
29677,
1772,
290,
3128,
422,
18440,
1627,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2710,
62,
1370,
796,
2393,
62,
28144,
13,
961,
1370,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
7,
18218,
62,
1370,
13,
21037,
22446,
19796,
7203,
4475,
25,
4943,
6624,
657,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2710,
62,
42632,
796,
2710,
62,
1370,
13,
35312,
10786,
26,
220,
705,
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,
3128,
62,
42632,
796,
2710,
62,
42632,
58,
15,
4083,
35312,
7,
1298,
366,
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,
3128,
62,
3919,
62,
22877,
220,
796,
705,
45302,
22179,
7,
4475,
62,
42632,
58,
16,
4083,
35312,
10786,
705,
38381,
15,
25,
17,
35944,
36311,
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,
329,
277,
76,
912,
287,
37250,
4,
56,
12,
4,
76,
12,
4,
67,
4064,
39,
25,
4,
44,
25,
4,
50,
3256,
705,
4,
56,
14,
4,
76,
14,
4,
67,
4064,
39,
25,
4,
44,
25,
4,
50,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
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,
220,
220,
220,
220,
3128,
796,
640,
13,
2536,
457,
524,
7,
4475,
62,
3919,
62,
22877,
11,
277,
76,
912,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1208,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3128,
796,
493,
7,
2435,
13,
28015,
2435,
7,
4475,
4008,
9,
12825,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1772,
796,
2710,
62,
42632,
58,
16,
4083,
35312,
7,
1298,
366,
38381,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1785,
62,
4868,
13,
33295,
7,
9237,
7,
34345,
11,
3128,
11,
1772,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1627,
796,
2393,
62,
28144,
13,
961,
1370,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
7,
2536,
7,
1370,
8,
6624,
13538,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
7,
1370,
13,
21037,
22446,
19796,
7203,
6015,
82,
2393,
25,
366,
8,
18189,
657,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2710,
62,
1370,
796,
1627,
13,
35312,
7,
1298,
366,
1776,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
29472,
796,
2710,
62,
1370,
58,
16,
4083,
36311,
22446,
35312,
7,
3256,
11537,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
62,
28144,
13,
19836,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2980,
378,
3210,
1785,
35555,
2393,
422,
1785,
62,
4868,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2251,
62,
15596,
62,
19875,
7,
15596,
62,
4868,
11,
2604,
62,
7753,
11,
2172,
82,
13,
22915,
62,
6404,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
5492,
11986,
281,
4683,
3108,
526,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
611,
2172,
82,
13,
85,
824,
62,
6404,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2604,
62,
7753,
796,
2172,
82,
13,
85,
824,
62,
6404,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
47,
945,
278,
569,
5432,
2604,
9313,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
611,
28686,
13,
6978,
13,
1069,
1023,
7,
6404,
62,
7753,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1785,
62,
4868,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
62,
28144,
796,
1280,
7,
6404,
62,
7753,
11,
705,
81,
11537,
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,
29472,
796,
13538,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1772,
796,
13538,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
285,
9892,
796,
13538,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
256,
796,
13538,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
383,
569,
5432,
989,
460,
423,
3294,
3951,
329,
1123,
5726,
11,
810,
262,
3815,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
389,
3767,
1626,
257,
5721,
2837,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1627,
287,
2393,
62,
28144,
13,
961,
6615,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1627,
13,
9688,
2032,
342,
10786,
705,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
33141,
257,
24659,
1627,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
29472,
15853,
1627,
58,
15,
25,
1238,
4083,
36311,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1772,
15853,
1627,
58,
1828,
25,
3132,
4083,
36311,
3419,
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,
611,
285,
9892,
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,
29472,
796,
29472,
13,
33491,
7203,
3,
1600,
366,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3128,
796,
4818,
8079,
13,
2536,
457,
524,
7,
9132,
88,
1343,
705,
705,
1343,
256,
58,
21912,
16,
48688,
83,
58,
12,
16,
4083,
45828,
3419,
10,
6,
44,
3256,
36521,
76,
14,
4,
67,
14,
4,
88,
4064,
40,
25,
4,
44,
4,
79,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3128,
796,
493,
7,
2435,
13,
28015,
2435,
7,
4475,
13,
16514,
316,
29291,
3419,
27493,
12825,
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,
1785,
62,
4868,
13,
33295,
7,
9237,
7,
34345,
11,
3128,
11,
1772,
13,
21037,
3419,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
29472,
796,
1627,
58,
15,
25,
1238,
4083,
36311,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1772,
796,
1627,
58,
2481,
25,
3132,
4083,
36311,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
285,
9892,
796,
1627,
58,
2624,
25,
1821,
4083,
36311,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
256,
796,
1627,
58,
3682,
25,
2780,
4083,
36311,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2251,
62,
15596,
62,
19875,
7,
15596,
62,
4868,
11,
2604,
62,
7753,
11,
2172,
82,
13,
22915,
62,
6404,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
611,
2172,
82,
13,
9688,
68,
321,
62,
6404,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2604,
62,
7753,
796,
2172,
82,
13,
9688,
68,
321,
62,
6404,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
47,
945,
278,
923,
68,
321,
2604,
9313,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
611,
28686,
13,
6978,
13,
1069,
1023,
7,
6404,
62,
7753,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1330,
302,
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,
1785,
62,
4868,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
62,
28144,
796,
1280,
7,
6404,
62,
7753,
11,
705,
81,
11537,
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,
9483,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
29472,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
383,
7253,
68,
321,
2604,
460,
423,
3294,
3951,
329,
1123,
5726,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1627,
287,
2393,
62,
28144,
13,
961,
6615,
33529,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
285,
796,
302,
13,
5589,
576,
7203,
61,
41092,
25,
357,
59,
86,
28104,
220,
16792,
16090,
26672,
25,
357,
15885,
19415,
8,
3,
11074,
15699,
7,
1370,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
285,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9483,
796,
285,
13,
8094,
7,
17,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4798,
366,
79,
945,
278,
9483,
4064,
82,
2488,
4064,
82,
1,
4064,
357,
76,
13,
8094,
7,
16,
828,
9483,
8,
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,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
285,
796,
302,
13,
5589,
576,
7203,
61,
18122,
329,
25,
357,
15885,
8,
3,
11074,
15699,
7,
1370,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
285,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
29472,
796,
285,
13,
8094,
7,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4798,
366,
79,
945,
278,
2393,
4064,
82,
1,
4064,
29472,
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,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
285,
796,
302,
13,
5589,
576,
7203,
61,
13838,
25,
357,
15885,
8,
7536,
25,
357,
15885,
8,
3467,
86,
10,
3,
11074,
15699,
7,
1370,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
285,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1772,
796,
285,
13,
8094,
7,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3128,
796,
4818,
8079,
13,
2536,
457,
524,
7,
76,
13,
8094,
7,
17,
828,
36521,
76,
14,
4,
67,
14,
4,
88,
4064,
40,
25,
4,
44,
25,
4,
50,
4064,
79,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3128,
796,
493,
7,
2435,
13,
28015,
2435,
7,
4475,
13,
16514,
316,
29291,
3419,
27493,
12825,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1785,
62,
4868,
13,
33295,
7,
9237,
7,
418,
13,
6978,
13,
22179,
7,
43551,
11,
29472,
828,
3128,
11,
1772,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4798,
36521,
82,
2198,
287,
379,
4064,
82,
1,
4064,
357,
9800,
11,
3128,
8,
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,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2251,
62,
15596,
62,
19875,
7,
15596,
62,
4868,
11,
2604,
62,
7753,
11,
2172,
82,
13,
22915,
62,
6404,
8,
628,
220,
220,
220,
611,
2172,
82,
13,
20763,
271,
31975,
62,
6404,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2604,
62,
7753,
796,
2172,
82,
13,
20763,
271,
31975,
62,
6404,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
47,
945,
278,
47145,
271,
31975,
2604,
9313,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
6822,
284,
307,
1654,
262,
7368,
2604,
3108,
7160,
13,
198,
220,
220,
220,
220,
220,
220,
220,
611,
28686,
13,
6978,
13,
1069,
1023,
7,
6404,
62,
7753,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1785,
62,
4868,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
62,
28144,
796,
1280,
7,
6404,
62,
7753,
11,
705,
81,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1627,
796,
2393,
62,
28144,
13,
961,
1370,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
2710,
62,
1370,
287,
2393,
62,
28144,
13,
961,
6615,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2710,
62,
1370,
318,
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,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2710,
62,
42632,
796,
2710,
62,
1370,
13,
35312,
10786,
91,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
18218,
62,
312,
220,
220,
220,
796,
2710,
62,
42632,
58,
15,
4083,
36311,
3419,
2,
2094,
470,
1107,
761,
428,
11,
340,
338,
8384,
329,
262,
267,
929,
10381,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
29472,
220,
796,
2710,
62,
42632,
58,
16,
4083,
36311,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1772,
220,
220,
220,
796,
2710,
62,
42632,
58,
17,
4083,
36311,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3128,
220,
220,
220,
220,
220,
796,
2710,
62,
42632,
58,
18,
4083,
36311,
3419,
10,
6,
830,
6,
1303,
350,
2860,
284,
10385,
4201,
656,
38694,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1785,
62,
4868,
13,
33295,
7,
9237,
7,
34345,
11,
3128,
11,
1772,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2980,
378,
3210,
1785,
35555,
2393,
422,
1785,
62,
4868,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2251,
62,
15596,
62,
19875,
7,
15596,
62,
4868,
11,
2604,
62,
7753,
11,
2172,
82,
13,
22915,
62,
6404,
8,
628,
220,
220,
220,
611,
2172,
82,
13,
647,
22019,
498,
62,
6404,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1772,
25,
28842,
47956,
69,
365,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
2800,
25,
336,
891,
272,
13,
1416,
372,
69,
365,
379,
555,
72,
12,
727,
37036,
13,
2934,
198,
220,
220,
220,
220,
220,
220,
220,
2604,
62,
7753,
796,
2172,
82,
13,
647,
22019,
498,
62,
6404,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
47,
945,
278,
11991,
333,
498,
2604,
9313,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
611,
28686,
13,
6978,
13,
1069,
1023,
7,
6404,
62,
7753,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1785,
62,
4868,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
62,
28144,
796,
1280,
7,
6404,
62,
7753,
11,
705,
81,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1181,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2836,
796,
10148,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3128,
796,
10148,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3696,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1627,
287,
2393,
62,
28144,
13,
961,
6615,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1181,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1772,
796,
1627,
58,
21912,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1181,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
1181,
6624,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3128,
796,
1627,
58,
25,
1370,
13,
19796,
10786,
2637,
15437,
1343,
705,
830,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1181,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
1181,
6624,
362,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3696,
796,
1627,
58,
21912,
16,
4083,
35312,
10786,
705,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
29472,
287,
3696,
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,
1785,
62,
4868,
13,
33295,
7,
9237,
7,
34345,
11,
3128,
11,
1772,
13,
21037,
3419,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1181,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
1181,
6624,
513,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1181,
796,
657,
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,
3601,
705,
12331,
25,
3318,
361,
1389,
1181,
6,
628,
220,
220,
220,
220,
220,
220,
220,
2251,
62,
15596,
62,
19875,
7,
15596,
62,
4868,
11,
2604,
62,
7753,
11,
2172,
82,
13,
22915,
62,
6404,
8,
628,
220,
220,
220,
611,
2172,
82,
13,
67,
5605,
82,
62,
6404,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2604,
62,
7753,
796,
2172,
82,
13,
67,
5605,
82,
62,
6404,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
47,
945,
278,
288,
5605,
82,
2604,
9313,
628,
220,
220,
220,
220,
220,
220,
220,
611,
28686,
13,
6978,
13,
1069,
1023,
7,
6404,
62,
7753,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1785,
62,
4868,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2393,
62,
28144,
796,
1280,
7,
6404,
62,
7753,
11,
705,
81,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2836,
796,
10148,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3128,
796,
10148,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1627,
287,
2393,
62,
28144,
13,
961,
6615,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1627,
796,
1627,
13,
81,
36311,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
1370,
8,
6624,
657,
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,
1288,
361,
1627,
58,
15,
60,
14512,
705,
705,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3128,
796,
1627,
58,
25,
1959,
4083,
36311,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1772,
796,
1627,
58,
1270,
25,
4083,
36311,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
3128,
58,
22,
25,
24,
60,
6624,
705,
220,
705,
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,
3128,
796,
3128,
13,
33491,
10786,
220,
46083,
705,
657,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3128,
796,
493,
7,
2435,
13,
28015,
2435,
7,
2435,
13,
2536,
457,
524,
7,
4475,
11,
705,
4,
64,
4064,
65,
4064,
67,
4064,
39,
25,
4,
44,
25,
4,
50,
4064,
57,
4064,
56,
6,
22305,
9,
12825,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3354,
796,
1772,
13,
35312,
10786,
27,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
42632,
8,
6624,
362,
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,
1772,
796,
3354,
58,
15,
4083,
36311,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
1627,
58,
15,
60,
6624,
705,
705,
290,
18896,
7,
1370,
8,
1875,
604,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1627,
58,
19,
25,
23,
60,
6624,
705,
44,
24457,
6,
393,
1627,
58,
19,
25,
23,
60,
6624,
705,
32,
24457,
6,
393,
1627,
58,
19,
25,
23,
60,
6624,
705,
49,
24457,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
29472,
796,
1627,
13,
75,
36311,
10786,
40569,
24457,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
29472,
796,
29472,
13,
81,
36311,
10786,
1343,
12,
10163,
2231,
3134,
4531,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1785,
62,
4868,
13,
33295,
7,
9237,
7,
34345,
11,
3128,
11,
1772,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
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,
2555,
628,
220,
220,
220,
220,
220,
220,
220,
2251,
62,
15596,
62,
19875,
7,
15596,
62,
4868,
11,
2604,
62,
7753,
11,
2172,
82,
13,
22915,
62,
6404,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
611,
2172,
82,
13,
525,
3174,
62,
6978,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1330,
302,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
47,
945,
278,
583,
3174,
2604,
9313,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1785,
62,
4868,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
1488,
417,
1023,
796,
1057,
62,
76,
5406,
282,
10786,
79,
19,
532,
38,
1488,
417,
1023,
24018,
1343,
2172,
82,
13,
525,
3174,
62,
6978,
1343,
705,
1,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2393,
62,
2539,
62,
260,
796,
302,
13,
5589,
576,
7203,
61,
10378,
313,
8979,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1488,
46331,
287,
1488,
417,
1023,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3696,
796,
1057,
62,
76,
5406,
282,
10786,
79,
19,
532,
38,
6901,
532,
82,
24018,
1343,
1488,
46331,
17816,
3803,
20520,
1343,
705,
1,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
2393,
287,
3696,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1994,
62,
3672,
11,
2393,
62,
3672,
287,
2393,
13,
2676,
23814,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2393,
62,
2539,
62,
260,
13,
15699,
7,
2539,
62,
3672,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1785,
62,
4868,
13,
33295,
7,
9237,
7,
7753,
62,
3672,
11,
493,
7,
354,
8368,
396,
17816,
2435,
20520,
1343,
705,
830,
33809,
1488,
46331,
17816,
7220,
20520,
4008,
628,
198,
220,
220,
220,
220,
220,
220,
220,
2251,
62,
15596,
62,
19875,
7,
15596,
62,
4868,
11,
705,
10378,
313,
3256,
2172,
82,
13,
22915,
62,
6404,
8,
628,
198,
4299,
2251,
62,
15596,
62,
19875,
7,
31534,
11,
2779,
62,
6404,
11,
5072,
62,
6404,
28,
14202,
2599,
198,
220,
220,
220,
37227,
19430,
503,
262,
2457,
23735,
5072,
2604,
2393,
1912,
319,
281,
5128,
198,
220,
220,
220,
1351,
286,
2995,
290,
5128,
2604,
3696,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1303,
2750,
4277,
11,
262,
7560,
35555,
2393,
481,
307,
262,
976,
1438,
355,
262,
5128,
2604,
2393,
198,
220,
220,
220,
1303,
475,
351,
281,
45302,
19875,
6,
7552,
13,
198,
220,
220,
220,
2604,
62,
7753,
62,
6978,
796,
28686,
13,
6978,
13,
397,
2777,
776,
7,
8692,
62,
6404,
8,
198,
220,
220,
220,
2244,
62,
15908,
796,
28686,
13,
6978,
13,
15908,
3672,
7,
6404,
62,
7753,
62,
6978,
8,
198,
220,
220,
220,
2604,
62,
7753,
62,
8692,
796,
28686,
13,
6978,
13,
12093,
12453,
7,
6404,
62,
7753,
62,
6978,
8,
198,
220,
220,
220,
35555,
62,
34345,
796,
28686,
13,
6978,
13,
22018,
578,
742,
7,
6404,
62,
7753,
62,
8692,
38381,
15,
60,
1343,
45302,
19875,
6,
198,
220,
220,
220,
35555,
62,
6978,
796,
28686,
13,
6978,
13,
22179,
7,
16520,
62,
15908,
11,
35555,
62,
34345,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
1002,
262,
2836,
7368,
281,
5072,
2604,
2393,
11,
788,
779,
326,
13,
198,
220,
220,
220,
611,
5072,
62,
6404,
25,
198,
220,
220,
220,
220,
220,
220,
220,
35555,
62,
6978,
796,
5072,
62,
6404,
628,
220,
220,
220,
3601,
366,
8645,
803,
23735,
422,
4064,
72,
2995,
9313,
4064,
357,
18896,
7,
2995,
1267,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
1303,
13610,
649,
6565,
35555,
2393,
13,
198,
220,
220,
220,
35555,
62,
28144,
796,
1280,
7,
19875,
62,
6978,
11,
220,
705,
86,
11537,
198,
220,
220,
220,
35555,
62,
28144,
13,
13564,
10786,
47934,
19875,
2196,
2625,
16,
13,
15,
13984,
29,
59,
77,
11537,
198,
220,
220,
220,
35555,
62,
28144,
13,
13564,
10786,
27,
7753,
62,
31534,
29,
59,
77,
11537,
198,
220,
220,
220,
1303,
6889,
1654,
262,
2995,
389,
23243,
287,
41988,
1502,
416,
3128,
11,
788,
198,
220,
220,
220,
1303,
3551,
262,
2995,
656,
262,
35555,
2393,
13,
198,
220,
220,
220,
2995,
13,
30619,
3419,
198,
220,
220,
220,
329,
1785,
287,
2995,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
35555,
62,
28144,
13,
13564,
10786,
27,
15596,
3128,
2625,
4,
82,
1,
29472,
2625,
4,
82,
1,
1772,
2625,
4,
82,
1,
11037,
59,
77,
6,
4064,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
15596,
13,
4475,
11,
289,
7,
15596,
13,
34345,
828,
289,
7,
15596,
13,
9800,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
12331,
618,
3597,
428,
2393,
25,
366,
1343,
965,
7,
15596,
8,
198,
220,
220,
220,
35555,
62,
28144,
13,
13564,
10786,
3556,
7753,
62,
31534,
29,
59,
77,
11537,
198,
220,
220,
220,
35555,
62,
28144,
13,
19836,
3419,
198,
220,
220,
220,
220,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
37227,
8774,
5726,
966,
526,
15931,
198,
220,
220,
220,
1388,
3419,
198,
220,
220,
220,
198
] | 1.858954 | 8,834 |
"""Packaging settings."""
import sys
import os
from codecs import open
from subprocess import call
from setuptools import Command, find_packages, setup
from pf9 import __version__
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
# set env_vars for python intpretor that was used for install
py_env = sys.prefix
os.environ["EXPRESS_CLI_PYTHON"] = str(sys.executable)
os.environ["EXPRESS_CLI_VENV"] = str(py_env)
os.environ["EXPRESS_CLI_VENV_ACTIVATE"] = "{}/bin/activate".format(py_env)
# The above values should be written to a config file in ~/pf9/bin/
# sym links to the venv/activate and entry points should be created there
# User's PATH should be updated to include ~/pf9/bin/ with entry in ~/.bashrc or ~/.bash_profile
class RunTests(Command):
"""Run all tests."""
description = 'run tests'
user_options = []
def run(self):
"""Run all tests!"""
errno = call('py.test')
raise SystemExit(errno)
setup(
name='express-cli',
version=__version__,
description='Platform9 CLI.',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
url='https://github.com/platform9/express-cli',
author='Jeremy Brooks',
author_email='[email protected]',
license='Apache 2.0',
classifiers=[
'Intended Audience :: System Administrators',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Developers',
'Topic :: Utilities',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
],
include_package_data=True,
zip_safe=False,
keywords='cli',
packages=find_packages(exclude=['docs', 'tests*']),
install_requires=['click==7.1.2',
'cryptography==3.2.1',
'prettytable',
'requests',
'netifaces',
'colorama',
'urllib3',
'paramiko',
'fabric',
'invoke',
'ansible==2.9.13',
'analytics-python'
],
extras_require={
'test': ['coverage', 'pytest', 'pytest-cov', 'mock'],
},
entry_points={
'console_scripts': [
'express=pf9.express:cli',
],
},
cmdclass={'test': RunTests},
)
| [
37811,
11869,
3039,
6460,
526,
15931,
198,
198,
11748,
25064,
198,
11748,
28686,
198,
6738,
40481,
82,
1330,
1280,
198,
6738,
850,
14681,
1330,
869,
198,
198,
6738,
900,
37623,
10141,
1330,
9455,
11,
1064,
62,
43789,
11,
9058,
198,
198,
6738,
279,
69,
24,
1330,
11593,
9641,
834,
198,
198,
6738,
28686,
1330,
3108,
198,
5661,
62,
34945,
796,
3108,
13,
397,
2777,
776,
7,
6978,
13,
15908,
3672,
7,
834,
7753,
834,
4008,
198,
4480,
1280,
7,
6978,
13,
22179,
7,
5661,
62,
34945,
11,
705,
15675,
11682,
13,
9132,
33809,
21004,
11639,
40477,
12,
23,
11537,
355,
277,
25,
198,
220,
220,
220,
890,
62,
11213,
796,
277,
13,
961,
3419,
198,
198,
2,
900,
17365,
62,
85,
945,
329,
21015,
493,
5310,
273,
326,
373,
973,
329,
2721,
198,
9078,
62,
24330,
796,
25064,
13,
40290,
198,
418,
13,
268,
2268,
14692,
6369,
32761,
62,
5097,
40,
62,
47,
56,
4221,
1340,
8973,
796,
965,
7,
17597,
13,
18558,
18187,
8,
220,
198,
418,
13,
268,
2268,
14692,
6369,
32761,
62,
5097,
40,
62,
28290,
53,
8973,
796,
965,
7,
9078,
62,
24330,
8,
220,
198,
418,
13,
268,
2268,
14692,
6369,
32761,
62,
5097,
40,
62,
28290,
53,
62,
10659,
3824,
6158,
8973,
796,
45144,
92,
14,
8800,
14,
39022,
1911,
18982,
7,
9078,
62,
24330,
8,
198,
198,
2,
383,
2029,
3815,
815,
307,
3194,
284,
257,
4566,
2393,
287,
47795,
79,
69,
24,
14,
8800,
14,
198,
2,
5659,
6117,
284,
262,
8710,
85,
14,
39022,
290,
5726,
2173,
815,
307,
2727,
612,
198,
2,
11787,
338,
46490,
815,
307,
6153,
284,
2291,
47795,
79,
69,
24,
14,
8800,
14,
351,
5726,
287,
39763,
41757,
6015,
393,
39763,
41757,
62,
13317,
628,
198,
4871,
5660,
51,
3558,
7,
21575,
2599,
198,
220,
220,
220,
37227,
10987,
477,
5254,
526,
15931,
198,
220,
220,
220,
6764,
796,
705,
5143,
5254,
6,
198,
220,
220,
220,
2836,
62,
25811,
796,
17635,
628,
220,
220,
220,
825,
1057,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
10987,
477,
5254,
2474,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
11454,
3919,
796,
869,
10786,
9078,
13,
9288,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
4482,
30337,
7,
8056,
3919,
8,
628,
198,
40406,
7,
198,
220,
220,
220,
1438,
11639,
42712,
12,
44506,
3256,
198,
220,
220,
220,
2196,
28,
834,
9641,
834,
11,
198,
220,
220,
220,
6764,
11639,
37148,
24,
43749,
2637,
11,
198,
220,
220,
220,
890,
62,
11213,
28,
9654,
10786,
15675,
11682,
13,
9132,
27691,
961,
22784,
198,
220,
220,
220,
890,
62,
11213,
62,
11299,
62,
4906,
11639,
5239,
14,
4102,
2902,
3256,
198,
220,
220,
220,
19016,
11639,
5450,
1378,
12567,
13,
785,
14,
24254,
24,
14,
42712,
12,
44506,
3256,
198,
220,
220,
220,
1772,
11639,
35623,
17704,
3256,
198,
220,
220,
220,
1772,
62,
12888,
11639,
73,
567,
1820,
31,
24254,
24,
13,
785,
3256,
198,
220,
220,
220,
5964,
11639,
25189,
4891,
362,
13,
15,
3256,
198,
220,
220,
220,
1398,
13350,
41888,
198,
220,
220,
220,
220,
220,
220,
220,
705,
5317,
1631,
7591,
1240,
7904,
4482,
6813,
18942,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
5317,
1631,
7591,
1240,
7904,
5268,
18987,
14,
36881,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
5317,
1631,
7591,
1240,
7904,
34152,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
33221,
7904,
41086,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
34156,
7904,
7294,
40,
20010,
1079,
7904,
24843,
10442,
13789,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
35364,
15417,
7904,
3594,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
18843,
803,
4482,
7904,
7294,
13362,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
15167,
2229,
15417,
7904,
11361,
7904,
362,
13,
22,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
15167,
2229,
15417,
7904,
11361,
7904,
513,
13,
20,
3256,
198,
220,
220,
220,
16589,
198,
220,
220,
220,
2291,
62,
26495,
62,
7890,
28,
17821,
11,
198,
220,
220,
220,
19974,
62,
21230,
28,
25101,
11,
198,
220,
220,
220,
26286,
11639,
44506,
3256,
198,
220,
220,
220,
10392,
28,
19796,
62,
43789,
7,
1069,
9152,
28,
17816,
31628,
3256,
705,
41989,
9,
20520,
828,
198,
220,
220,
220,
2721,
62,
47911,
28,
17816,
12976,
855,
22,
13,
16,
13,
17,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
29609,
4867,
855,
18,
13,
17,
13,
16,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
37784,
11487,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8897,
3558,
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,
361,
2114,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8043,
1689,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
333,
297,
571,
18,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
17143,
12125,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
36434,
1173,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
37669,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
504,
856,
855,
17,
13,
24,
13,
1485,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
38200,
14094,
12,
29412,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
33849,
62,
46115,
34758,
198,
220,
220,
220,
220,
220,
220,
220,
705,
9288,
10354,
37250,
1073,
1857,
3256,
705,
9078,
9288,
3256,
705,
9078,
9288,
12,
66,
709,
3256,
705,
76,
735,
6,
4357,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
5726,
62,
13033,
34758,
198,
220,
220,
220,
220,
220,
220,
220,
705,
41947,
62,
46521,
10354,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
42712,
28,
79,
69,
24,
13,
42712,
25,
44506,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
23991,
4871,
34758,
6,
9288,
10354,
5660,
51,
3558,
5512,
198,
8,
198
] | 2.262226 | 1,186 |
memo = {0:0, 1:1}
if __name__ == "__main__":
print(f"\n0: {fib(0)}")
print(f"\n1: {fib(1)}")
print(f"\n5: {fib(5)}")
print(f"\n10: {fib(10)}")
#for k,v in memo.items(): print(f"{k}: {v}")
| [
11883,
78,
796,
1391,
15,
25,
15,
11,
352,
25,
16,
92,
628,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
3601,
7,
69,
1,
59,
77,
15,
25,
1391,
69,
571,
7,
15,
38165,
4943,
198,
220,
220,
220,
3601,
7,
69,
1,
59,
77,
16,
25,
1391,
69,
571,
7,
16,
38165,
4943,
198,
220,
220,
220,
3601,
7,
69,
1,
59,
77,
20,
25,
1391,
69,
571,
7,
20,
38165,
4943,
198,
220,
220,
220,
3601,
7,
69,
1,
59,
77,
940,
25,
1391,
69,
571,
7,
940,
38165,
4943,
628,
220,
220,
220,
1303,
1640,
479,
11,
85,
287,
16155,
13,
23814,
33529,
3601,
7,
69,
1,
90,
74,
38362,
1391,
85,
92,
4943,
220,
198
] | 1.669291 | 127 |
# badges.py
#
# Application responds to users in the scene and updates the user avatar with name and badge updates.
import argparse
import yaml
from arena import *
from gstable import GoogleSheetTable
DFT_CONFIG_FILENAME = './config.yaml'
ACTUSERS = {} # actual users by camera id
config = {}
data = []
# parse args and config
init_args()
# establish shared Sheets auth
gst = GoogleSheetTable()
# establish shared ARENA auth
kwargs = {}
if 'namespace' in config['arena']:
kwargs["namespace"] = config['arena']['namespace']
scene = Scene(
host=config['arena']['host'],
realm=config['arena']['realm'],
scene=config['arena']['scenename'],
on_msg_callback=scene_callback,
user_join_callback=user_join_callback,
user_left_callback=user_left_callback,
**kwargs)
# TODO: launch separate threads for each scene
scene.run_tasks()
| [
2,
37583,
13,
9078,
198,
2,
198,
2,
15678,
20067,
284,
2985,
287,
262,
3715,
290,
5992,
262,
2836,
30919,
351,
1438,
290,
23009,
5992,
13,
198,
11748,
1822,
29572,
198,
198,
11748,
331,
43695,
198,
6738,
13478,
1330,
1635,
198,
198,
6738,
308,
31284,
1330,
3012,
3347,
316,
10962,
198,
198,
8068,
51,
62,
10943,
16254,
62,
46700,
1677,
10067,
796,
705,
19571,
11250,
13,
88,
43695,
6,
198,
10659,
2937,
4877,
796,
23884,
220,
1303,
4036,
2985,
416,
4676,
4686,
198,
11250,
796,
23884,
198,
7890,
796,
17635,
628,
628,
628,
198,
198,
2,
21136,
26498,
290,
4566,
198,
15003,
62,
22046,
3419,
198,
2,
4474,
4888,
1375,
1039,
6284,
198,
70,
301,
796,
3012,
3347,
316,
10962,
3419,
198,
198,
2,
4474,
4888,
5923,
45510,
6284,
198,
46265,
22046,
796,
23884,
198,
361,
705,
14933,
10223,
6,
287,
4566,
17816,
533,
2616,
6,
5974,
198,
220,
220,
220,
479,
86,
22046,
14692,
14933,
10223,
8973,
796,
4566,
17816,
533,
2616,
6,
7131,
6,
14933,
10223,
20520,
198,
29734,
796,
28315,
7,
198,
220,
220,
220,
2583,
28,
11250,
17816,
533,
2616,
6,
7131,
6,
4774,
6,
4357,
198,
220,
220,
220,
13360,
28,
11250,
17816,
533,
2616,
6,
7131,
6,
5305,
76,
6,
4357,
198,
220,
220,
220,
3715,
28,
11250,
17816,
533,
2616,
6,
7131,
6,
1416,
268,
12453,
6,
4357,
198,
220,
220,
220,
319,
62,
19662,
62,
47423,
28,
29734,
62,
47423,
11,
198,
220,
220,
220,
2836,
62,
22179,
62,
47423,
28,
7220,
62,
22179,
62,
47423,
11,
198,
220,
220,
220,
2836,
62,
9464,
62,
47423,
28,
7220,
62,
9464,
62,
47423,
11,
198,
220,
220,
220,
12429,
46265,
22046,
8,
198,
198,
2,
16926,
46,
25,
4219,
4553,
14390,
329,
1123,
3715,
198,
198,
29734,
13,
5143,
62,
83,
6791,
3419,
198
] | 2.880399 | 301 |
# -*- coding: utf-8 -*-
"""
legit.cli
~~~~~~~~~
This module povides the CLI interface to legit.
"""
import os
import sys
from subprocess import call
from time import sleep
import clint.resources
from clint import args
from clint.eng import join as eng_join
from clint.textui import colored, puts, columns
from .core import __version__
from .settings import settings
from .helpers import is_lin, is_osx, is_win
from .scm import *
# --------
# Dispatch
# --------
def main():
"""Primary Legit command dispatch."""
command = Command.lookup(args.get(0))
if command:
arg = args.get(0)
args.remove(arg)
command.__call__(args)
sys.exit()
elif args.contains(('-h', '--help')):
display_help()
sys.exit(1)
elif args.contains(('-v', '--version')):
display_version()
sys.exit(1)
else:
if settings.git_transparency:
# Send everything to git
git_args = list(sys.argv)
if settings.git_transparency is True:
settings.git_transparency = os.environ.get("GIT_PYTHON_GIT_EXECUTABLE", 'git')
git_args[0] = settings.git_transparency
sys.exit(call(' '.join(git_args), shell=True))
else:
show_error(colored.red('Unknown command {0}'.format(args.get(0))))
display_info()
sys.exit(1)
# -------
# Helpers
# -------
def status_log(func, message, *args, **kwargs):
"""Executes a callable with a header message."""
print message
log = func(*args, **kwargs)
if log:
out = []
for line in log.split('\n'):
if not line.startswith('#'):
out.append(line)
print black('\n'.join(out))
def switch_to(branch):
"""Runs the cmd_switch command with given branch arg."""
switch_args = args.copy
switch_args._args = [branch]
return cmd_switch(switch_args)
# --------
# Commands
# --------
def cmd_switch(args):
"""Legit Switch command."""
to_branch = args.get(0)
to_branch = fuzzy_match_branch(to_branch)
if not to_branch:
print 'Please specify a branch to switch to:'
display_available_branches()
sys.exit()
if repo.is_dirty():
status_log(stash_it, 'Saving local changes.')
status_log(checkout_branch, 'Switching to {0}.'.format(
colored.yellow(to_branch)), to_branch)
if unstash_index():
status_log(unstash_it, 'Restoring local changes.')
def cmd_sync(args):
"""Stashes unstaged changes, Fetches remote data, Performs smart
pull+merge, Pushes local commits up, and Unstashes changes.
Defaults to current branch.
"""
if args.get(0):
# Optional branch specifier.
branch = fuzzy_match_branch(args.get(0))
if branch:
is_external = True
original_branch = repo.head.ref.name
else:
print "{0} doesn't exist. Use a branch that does.".format(
colored.yellow(args.get(0)))
sys.exit(1)
else:
# Sync current branch.
branch = repo.head.ref.name
is_external = False
if branch in get_branch_names(local=False):
if is_external:
switch_to(branch)
if repo.is_dirty():
status_log(stash_it, 'Saving local changes.', sync=True)
status_log(smart_pull, 'Pulling commits from the server.')
status_log(push, 'Pushing commits to the server.', branch)
if unstash_index(sync=True):
status_log(unstash_it, 'Restoring local changes.', sync=True)
if is_external:
switch_to(original_branch)
else:
print '{0} has not been published yet.'.format(
colored.yellow(branch))
sys.exit(1)
#############################
##### CozyGit functions #####
#############################
def cmd_update(args):
"""Stashes unstaged changes, does a pull no-ff and Unstashes changes.
Defaults to current branch.
"""
# check if the branch exists and is pushed to the central repo
if args.get(0):
# Optional branch specifier.
branch = fuzzy_match_branch(args.get(0))
if branch:
is_external = True
original_branch = repo.head.ref.name
else:
print "{0} doesn't exist. Use a branch that does.".format(
colored.yellow(args.get(0)))
sys.exit(1)
else:
# Sync current branch.
branch = repo.head.ref.name
is_external = False
if branch in get_branch_names(local=False):
if is_external:
switch_to(branch)
if repo.is_dirty():
status_log(stash_it, 'Saving local changes.', sync=True)
status_log(pull_noff, 'Pulling commits from the server.')
if unstash_index(sync=True):
status_log(unstash_it, 'Restoring local changes.', sync=True)
if is_external:
switch_to(original_branch)
else:
print '{0} has not been published yet.'.format(
colored.yellow(branch))
sys.exit(1)
def cmd_merge_master(args):
"""Stashes unstaged changes, merge current branch with master
and Unstashes changes.
Defaults to current branch.
"""
if args.get(0):
# Optional branch specifier.
branch = fuzzy_match_branch(args.get(0))
if branch:
is_external = True
original_branch = repo.head.ref.name
else:
print "{0} doesn't exist. Use a branch that does.".format(
colored.yellow(args.get(0)))
sys.exit(1)
else:
print 'please specify a branch name'
sys.exit(1)
if repo.is_dirty():
status_log(stash_it, 'Saving local changes.', sync=True)
switch_to("master")
status_log(merge_noff , 'Merging master with the branch', branch_name=branch)
if unstash_index(sync=True):
status_log(unstash_it, 'Restoring local changes.', sync=True)
switch_to(branch)
def cmd_dev_merge(args):
"""Stashes unstaged changes, updates developement,
merge it with current branch and Unstashes changes.
Defaults to current branch.
"""
# get the branch's name
branch = repo.head.ref.name
if branch in get_branch_names(local=False):
# stash changes if needed
if repo.is_dirty():
status_log(stash_it, 'Saving local changes.', sync=True)
# update development
status_log(update_branch,'Updating development',branch_name='development')
# switch to original branch
switch_to(branch)
# merge development in the branch
status_log(merge_noff, 'Merging development in the branch', branch_name="development")
# unstash the changes
if unstash_index(sync=True):
status_log(unstash_it, 'Restoring local changes.', sync=True)
else:
print branch + ' has not been published yet.'.format(
colored.yellow(branch))
sys.exit(1)
def cmd_merge_close(args):
"""merge current branch in dev and close it
Defaults to current branch.
"""
b = repo.head.ref.name
branch = b
if repo.is_dirty():
print 'you have unpushed changes, please commit/checkout and push them before deleting the branch'
elif b=='development':
print 'you cannot delete the branch "development" with this function'
elif b=='master':
print 'you cannont delete the branch "master"'
else:
switch_to("development")
status_log(merge_noff, 'Merging current branch in dev',branch_name=branch)
status_log(close_branch, 'Closing current branch',branch_name=branch)
##################################################
##### See at the end for the rest of CozyGit #####
##################################################
def cmd_sprout(args):
"""Creates a new branch of given name from given branch.
Defaults to current branch.
"""
off_branch = args.get(0)
new_branch = args.get(1)
if new_branch is None:
new_branch = off_branch
off_branch = repo.head.ref.name
else:
off_branch = fuzzy_match_branch(off_branch)
if not off_branch:
print 'Please specify branch to sprout:'
display_available_branches()
sys.exit()
branch_names = get_branch_names()
if off_branch not in branch_names:
print "{0} doesn't exist. Use a branch that does.".format(
colored.yellow(off_branch))
sys.exit(1)
if new_branch in branch_names:
print "{0} already exists. Use a unique name.".format(
colored.yellow(new_branch))
sys.exit(1)
if repo.is_dirty():
status_log(stash_it, 'Saving local changes.')
status_log(sprout_branch, 'Branching {0} to {1}.'.format(
colored.yellow(off_branch), colored.yellow(new_branch)),
off_branch, new_branch)
def cmd_graft(args):
"""Merges an unpublished branch into the given branch, then deletes it."""
branch = fuzzy_match_branch(args.get(0))
into_branch = args.get(1)
if not branch:
print 'Please specify a branch to graft:'
display_available_branches()
sys.exit()
if not into_branch:
into_branch = repo.head.ref.name
else:
into_branch = fuzzy_match_branch(into_branch)
branch_names = get_branch_names(local=True, remote_branches=False)
remote_branch_names = get_branch_names(local=False, remote_branches=True)
if branch not in branch_names:
print "{0} doesn't exist. Use a branch that does.".format(
colored.yellow(branch))
sys.exit(1)
if branch in remote_branch_names:
print "{0} is published. To graft it, unpublish it first.".format(
colored.yellow(branch))
sys.exit(1)
if into_branch not in branch_names:
print "{0} doesn't exist. Use a branch that does.".format(
colored.yellow(into_branch))
sys.exit(1)
# Go to new branch.
switch_to(into_branch)
status_log(graft_branch, 'Grafting {0} into {1}.'.format(
colored.yellow(branch), colored.yellow(into_branch)), branch)
def cmd_publish(args):
"""Pushes an unpublished branch to a remote repository."""
branch = fuzzy_match_branch(args.get(0))
if not branch:
branch = repo.head.ref.name
display_available_branches()
print "Branch {0} not found, using current branch {1}".format(colored.red(args.get(0)),colored.yellow(branch))
branch_names = get_branch_names(local=False)
if branch in branch_names:
print "{0} is already published. Use a branch that isn't.".format(
colored.yellow(branch))
sys.exit(1)
status_log(publish_branch, 'Publishing {0}.'.format(
colored.yellow(branch)), branch)
def cmd_unpublish(args):
"""Removes a published branch from the remote repository."""
branch = fuzzy_match_branch(args.get(0))
if not branch:
print 'Please specify a branch to unpublish:'
display_available_branches()
sys.exit()
branch_names = get_branch_names(local=False)
if branch not in branch_names:
print "{0} isn't published. Use a branch that is.".format(
colored.yellow(branch))
sys.exit(1)
status_log(unpublish_branch, 'Unpublishing {0}.'.format(
colored.yellow(branch)), branch)
def cmd_harvest(args):
"""Syncs a branch with given branch. Defaults to current."""
from_branch = fuzzy_match_branch(args.get(0))
to_branch = fuzzy_match_branch(args.get(1))
if not from_branch:
print 'Please specify a branch to harvest commits from:'
display_available_branches()
sys.exit()
if to_branch:
original_branch = repo.head.ref.name
is_external = True
else:
is_external = False
branch_names = get_branch_names(local=True, remote_branches=False)
if from_branch not in branch_names:
print "{0} isn't an available branch. Use a branch that is.".format(
colored.yellow(from_branch))
sys.exit(1)
if is_external:
switch_to(to_branch)
if repo.is_dirty():
status_log(stash_it, 'Saving local changes.')
status_log(smart_merge, 'Grafting commits from {0}.'.format(
colored.yellow(from_branch)), from_branch, allow_rebase=False)
if is_external:
switch_to(original_branch)
if unstash_index():
status_log(unstash_it, 'Restoring local changes.')
#
def cmd_branches(args):
"""Displays available branches."""
display_available_branches()
def cmd_settings(args):
"""Opens legit settings in editor."""
path = clint.resources.user.open('config.ini').name
print 'Legit Settings:\n'
for (option, _, description) in settings.config_defaults:
print columns([colored.yellow(option), 25], [description, None])
print '\nSee {0} for more details.'.format(settings.config_url)
sleep(0.35)
if is_osx:
editor = os.environ.get('EDITOR') or os.environ.get('VISUAL') or 'open'
os.system("{0} '{1}'".format(editor, path))
elif is_lin:
editor = os.environ.get('EDITOR') or os.environ.get('VISUAL') or 'pico'
os.system("{0} '{1}'".format(editor, path))
elif is_win:
os.system("'{0}'".format(path))
else:
print "Edit '{0}' to manage Legit settings.\n".format(path)
sys.exit()
####################################################################
##### Edit this function to be able to install the new aliases #####
##### Syntax : #####
##### '\'!cozygit <cmd name> <"$@" if cmd take an arg>\'' #####
####################################################################
def cmd_install(args):
"""Installs legit git aliases."""
aliases = {
'branches': '\'!cozygit branches\'',
'graft': '\'!cozygit graft "$@"\'',
'harvest': '\'!cozygit harvest "$@"\'',
'publish': '\'!cozygit publish "$@"\'',
'unpublish': '\'!cozygit unpublish "$@"\'',
'sprout': '\'!cozygit sprout "$@"\'',
'sync': '\'!cozygit sync "$@"\'',
'switch': '\'!cozygit switch "$@"\'',
'update': '\'!cozygit update "$@"\'',
'mergemaster': '\'!cozygit mergemaster\'',
'devmerge': '\'!cozygit devmerge\'',
'newbranch': '\'!cozygit newbranch "$@"\'',
'mergeclose': '\'!cozygit mergeclose\''
}
print 'The following git aliases have been installed:\n'
for (ak, av) in aliases.items():
os.system('git config --global --replace-all alias.{0} {1}'.format(ak, av))
print columns(['', 1], [colored.yellow('git ' + ak), 14], [av, None])
sys.exit()
def cmd_help(args):
"""Display help for individual commands."""
command = args.get(0)
help(command)
# -----
# Views
# -----
def display_available_branches():
"""Displays available branches."""
branches = get_branches()
branch_col = len(max([b.name for b in branches], key=len)) + 1
for branch in branches:
try:
branch_is_selected = (branch.name == repo.head.ref.name)
except TypeError:
branch_is_selected = False
marker = '*' if branch_is_selected else ' '
color = colored.green if branch_is_selected else colored.yellow
pub = '(published)' if branch.is_published else '(unpublished)'
print columns(
[colored.red(marker), 2],
[color(branch.name), branch_col],
[black(pub), 14]
)
def display_info():
"""Displays Legit informatics."""
puts('{0}. {1}\n'.format(
colored.red('legit'),
black(u'A Kenneth Reitz Project™')
))
puts('Usage: {0}'.format(colored.blue('legit <command>')))
puts('Commands:\n')
for command in Command.all_commands():
usage = command.usage or command.name
help = command.help or ''
puts('{0:40} {1}'.format(
colored.green(usage),
first_sentence(help)))
def display_help():
"""Displays Legit help."""
display_info()
def display_version():
"""Displays Legit version/release."""
puts('{0} v{1}'.format(
colored.yellow('legit'),
__version__
))
settings.abort_handler = handle_abort
def_cmd(
name='branches',
fn=cmd_branches,
usage='branches',
help='Get a nice pretty list of branches.')
def_cmd(
name='graft',
short=['gr'],
fn=cmd_graft,
usage='graft <branch> <into-branch>',
help=('Merges specified branch into the second branch, and removes it. '
'You can only graft unpublished branches.'))
def_cmd(
name='harvest',
short=['ha', 'hv', 'har'],
usage='harvest [<branch>] <into-branch>',
help=('Auto-Merge/Rebase of specified branch changes into the second '
'branch.'),
fn=cmd_harvest)
def_cmd(
name='help',
short=['h'],
fn=cmd_help,
usage='help <command>',
help='Display help for legit command.')
def_cmd(
name='install',
fn=cmd_install,
usage='install',
help='Installs legit git aliases.')
def_cmd(
name='publish',
short=['pub'],
fn=cmd_publish,
usage='publish <branch>',
help='Publishes specified branch to the remote.')
def_cmd(
name='settings',
fn=cmd_settings,
usage='settings',
help='Opens legit settings in a text editor.')
def_cmd(
name='sprout',
short=['sp'],
fn=cmd_sprout,
usage='sprout [<branch>] <new-branch>',
help=('Creates a new branch off of the specified branch. Defaults to '
'current branch. Switches to it immediately.'))
def_cmd(
name='switch',
short=['sw'],
fn=cmd_switch,
usage='switch <branch>',
help=('Switches to specified branch. Automatically stashes and unstashes '
'any changes.'))
def_cmd(
name='sync',
short=['sy'],
fn=cmd_sync,
usage='sync <branch>',
help=('Syncronizes the given branch. Defaults to current branch. Stash, '
'Fetch, Auto-Merge/Rebase, Push, and Unstash.'))
def_cmd(
name='unpublish',
short=['unp'],
fn=cmd_unpublish,
usage='unpublish <branch>',
help='Removes specified branch from the remote.')
###########################################
##### Definition of CozyGit's command #####
###########################################
def_cmd(
name='update',
short=['updt'],
fn=cmd_update,
usage='update <branch>',
help='Pull the changes of the branch from the server. By default it executes on current branch')
def_cmd(
name='mergemaster',
short=['mmstr'],
fn=cmd_merge_master,
usage='mergemaster',
help='Merge current branch in master')
def_cmd(
name='devmerge',
short=['dmrg'],
fn=cmd_dev_merge,
usage='devmerge',
help='Update dev and merge it in current branch')
def_cmd(
name='mergeclose',
short=['mcls'],
fn=cmd_merge_close,
usage='mergeclose',
help='Merge current branch in dev and close it')
def_cmd(
name='newbranch',
short=['nbrch'],
fn=cmd_new_branch,
usage='newbranch <branch>',
help='Create a new branch, push it to the server and link both branches')
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
198,
37811,
198,
1455,
270,
13,
44506,
198,
15116,
93,
198,
198,
1212,
8265,
279,
709,
1460,
262,
43749,
7071,
284,
6984,
13,
198,
37811,
198,
198,
11748,
28686,
198,
11748,
25064,
198,
6738,
850,
14681,
1330,
869,
198,
6738,
640,
1330,
3993,
198,
198,
11748,
537,
600,
13,
37540,
198,
6738,
537,
600,
1330,
26498,
198,
6738,
537,
600,
13,
1516,
1330,
4654,
355,
1786,
62,
22179,
198,
6738,
537,
600,
13,
5239,
9019,
1330,
16396,
11,
7584,
11,
15180,
198,
198,
6738,
764,
7295,
1330,
11593,
9641,
834,
198,
6738,
764,
33692,
1330,
6460,
198,
6738,
764,
16794,
364,
1330,
318,
62,
2815,
11,
318,
62,
418,
87,
11,
318,
62,
5404,
198,
6738,
764,
1416,
76,
1330,
1635,
628,
198,
2,
24200,
198,
2,
35934,
198,
2,
24200,
198,
198,
4299,
1388,
33529,
198,
220,
220,
220,
37227,
35170,
3564,
270,
3141,
27965,
526,
15931,
628,
220,
220,
220,
3141,
796,
9455,
13,
5460,
929,
7,
22046,
13,
1136,
7,
15,
4008,
198,
220,
220,
220,
611,
3141,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1822,
796,
26498,
13,
1136,
7,
15,
8,
198,
220,
220,
220,
220,
220,
220,
220,
26498,
13,
28956,
7,
853,
8,
628,
220,
220,
220,
220,
220,
220,
220,
3141,
13,
834,
13345,
834,
7,
22046,
8,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
3419,
628,
220,
220,
220,
1288,
361,
26498,
13,
3642,
1299,
7,
10786,
12,
71,
3256,
705,
438,
16794,
11537,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
3359,
62,
16794,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
16,
8,
628,
220,
220,
220,
1288,
361,
26498,
13,
3642,
1299,
7,
10786,
12,
85,
3256,
705,
438,
9641,
11537,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
3359,
62,
9641,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
16,
8,
628,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
6460,
13,
18300,
62,
7645,
11944,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
16290,
2279,
284,
17606,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17606,
62,
22046,
796,
1351,
7,
17597,
13,
853,
85,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
6460,
13,
18300,
62,
7645,
11944,
318,
6407,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6460,
13,
18300,
62,
7645,
11944,
796,
28686,
13,
268,
2268,
13,
1136,
7203,
38,
2043,
62,
47,
56,
4221,
1340,
62,
38,
2043,
62,
6369,
2943,
3843,
17534,
1600,
705,
18300,
11537,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17606,
62,
22046,
58,
15,
60,
796,
6460,
13,
18300,
62,
7645,
11944,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
13345,
10786,
45302,
22179,
7,
18300,
62,
22046,
828,
7582,
28,
17821,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
905,
62,
18224,
7,
25717,
13,
445,
10786,
20035,
3141,
1391,
15,
92,
4458,
18982,
7,
22046,
13,
1136,
7,
15,
35514,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3359,
62,
10951,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
16,
8,
628,
198,
198,
2,
35656,
198,
2,
10478,
364,
198,
2,
35656,
198,
198,
4299,
3722,
62,
6404,
7,
20786,
11,
3275,
11,
1635,
22046,
11,
12429,
46265,
22046,
2599,
198,
220,
220,
220,
37227,
23002,
1769,
257,
869,
540,
351,
257,
13639,
3275,
526,
15931,
628,
220,
220,
220,
3601,
3275,
198,
220,
220,
220,
2604,
796,
25439,
46491,
22046,
11,
12429,
46265,
22046,
8,
628,
220,
220,
220,
611,
2604,
25,
198,
220,
220,
220,
220,
220,
220,
220,
503,
796,
17635,
628,
220,
220,
220,
220,
220,
220,
220,
329,
1627,
287,
2604,
13,
35312,
10786,
59,
77,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
1627,
13,
9688,
2032,
342,
10786,
2,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
503,
13,
33295,
7,
1370,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
2042,
10786,
59,
77,
4458,
22179,
7,
448,
4008,
628,
198,
4299,
5078,
62,
1462,
7,
1671,
3702,
2599,
198,
220,
220,
220,
37227,
10987,
82,
262,
23991,
62,
31943,
3141,
351,
1813,
8478,
1822,
526,
15931,
628,
220,
220,
220,
5078,
62,
22046,
796,
26498,
13,
30073,
198,
220,
220,
220,
5078,
62,
22046,
13557,
22046,
796,
685,
1671,
3702,
60,
628,
220,
220,
220,
1441,
23991,
62,
31943,
7,
31943,
62,
22046,
8,
198,
198,
2,
24200,
198,
2,
49505,
198,
2,
24200,
198,
198,
4299,
23991,
62,
31943,
7,
22046,
2599,
198,
220,
220,
220,
37227,
11484,
270,
14645,
3141,
526,
15931,
628,
220,
220,
220,
284,
62,
1671,
3702,
796,
26498,
13,
1136,
7,
15,
8,
198,
220,
220,
220,
284,
62,
1671,
3702,
796,
34669,
62,
15699,
62,
1671,
3702,
7,
1462,
62,
1671,
3702,
8,
628,
220,
220,
220,
611,
407,
284,
62,
1671,
3702,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
705,
5492,
11986,
257,
8478,
284,
5078,
284,
32105,
198,
220,
220,
220,
220,
220,
220,
220,
3359,
62,
15182,
62,
1671,
12140,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
3419,
198,
220,
220,
220,
220,
198,
220,
220,
220,
611,
29924,
13,
271,
62,
49075,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
3722,
62,
6404,
7,
301,
1077,
62,
270,
11,
705,
50,
2703,
1957,
2458,
2637,
8,
628,
220,
220,
220,
3722,
62,
6404,
7,
9122,
448,
62,
1671,
3702,
11,
705,
10462,
19811,
284,
1391,
15,
92,
2637,
13,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
16396,
13,
36022,
7,
1462,
62,
1671,
3702,
36911,
284,
62,
1671,
3702,
8,
628,
220,
220,
220,
611,
15014,
1077,
62,
9630,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
3722,
62,
6404,
7,
403,
301,
1077,
62,
270,
11,
705,
19452,
3255,
1957,
2458,
2637,
8,
628,
198,
4299,
23991,
62,
27261,
7,
22046,
2599,
198,
220,
220,
220,
37227,
1273,
7465,
15014,
1886,
2458,
11,
44649,
2052,
6569,
1366,
11,
2448,
23914,
4451,
198,
220,
220,
220,
2834,
10,
647,
469,
11,
350,
17237,
1957,
23463,
510,
11,
290,
791,
301,
7465,
2458,
13,
628,
220,
220,
220,
2896,
13185,
284,
1459,
8478,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
611,
26498,
13,
1136,
7,
15,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
32233,
8478,
1020,
7483,
13,
198,
220,
220,
220,
220,
220,
220,
220,
8478,
796,
34669,
62,
15699,
62,
1671,
3702,
7,
22046,
13,
1136,
7,
15,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
611,
8478,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
318,
62,
22615,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2656,
62,
1671,
3702,
796,
29924,
13,
2256,
13,
5420,
13,
3672,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
45144,
15,
92,
1595,
470,
2152,
13,
5765,
257,
8478,
326,
857,
526,
13,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16396,
13,
36022,
7,
22046,
13,
1136,
7,
15,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
16,
8,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
35908,
1459,
8478,
13,
198,
220,
220,
220,
220,
220,
220,
220,
8478,
796,
29924,
13,
2256,
13,
5420,
13,
3672,
198,
220,
220,
220,
220,
220,
220,
220,
318,
62,
22615,
796,
10352,
628,
220,
220,
220,
611,
8478,
287,
651,
62,
1671,
3702,
62,
14933,
7,
12001,
28,
25101,
2599,
628,
220,
220,
220,
220,
220,
220,
220,
611,
318,
62,
22615,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5078,
62,
1462,
7,
1671,
3702,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
29924,
13,
271,
62,
49075,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3722,
62,
6404,
7,
301,
1077,
62,
270,
11,
705,
50,
2703,
1957,
2458,
2637,
11,
17510,
28,
17821,
8,
628,
220,
220,
220,
220,
220,
220,
220,
3722,
62,
6404,
7,
27004,
62,
31216,
11,
705,
42940,
278,
23463,
422,
262,
4382,
2637,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3722,
62,
6404,
7,
14689,
11,
705,
47,
8023,
23463,
284,
262,
4382,
2637,
11,
8478,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
15014,
1077,
62,
9630,
7,
27261,
28,
17821,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3722,
62,
6404,
7,
403,
301,
1077,
62,
270,
11,
705,
19452,
3255,
1957,
2458,
2637,
11,
17510,
28,
17821,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
318,
62,
22615,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5078,
62,
1462,
7,
14986,
62,
1671,
3702,
8,
628,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
705,
90,
15,
92,
468,
407,
587,
3199,
1865,
2637,
13,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16396,
13,
36022,
7,
1671,
3702,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
16,
8,
628,
198,
14468,
7804,
4242,
2,
198,
4242,
2,
1766,
7357,
38,
270,
5499,
46424,
198,
14468,
7804,
4242,
2,
198,
198,
4299,
23991,
62,
19119,
7,
22046,
2599,
628,
220,
220,
220,
37227,
1273,
7465,
15014,
1886,
2458,
11,
857,
257,
2834,
645,
12,
487,
220,
290,
791,
301,
7465,
2458,
13,
628,
220,
220,
220,
2896,
13185,
284,
1459,
8478,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
1303,
2198,
611,
262,
8478,
7160,
290,
318,
7121,
284,
262,
4318,
29924,
198,
220,
220,
220,
611,
26498,
13,
1136,
7,
15,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
32233,
8478,
1020,
7483,
13,
198,
220,
220,
220,
220,
220,
220,
220,
8478,
796,
34669,
62,
15699,
62,
1671,
3702,
7,
22046,
13,
1136,
7,
15,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
611,
8478,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
318,
62,
22615,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2656,
62,
1671,
3702,
796,
29924,
13,
2256,
13,
5420,
13,
3672,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
45144,
15,
92,
1595,
470,
2152,
13,
5765,
257,
8478,
326,
857,
526,
13,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16396,
13,
36022,
7,
22046,
13,
1136,
7,
15,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
16,
8,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
35908,
1459,
8478,
13,
198,
220,
220,
220,
220,
220,
220,
220,
8478,
796,
29924,
13,
2256,
13,
5420,
13,
3672,
198,
220,
220,
220,
220,
220,
220,
220,
318,
62,
22615,
796,
10352,
628,
220,
220,
220,
611,
8478,
287,
651,
62,
1671,
3702,
62,
14933,
7,
12001,
28,
25101,
2599,
628,
220,
220,
220,
220,
220,
220,
220,
611,
318,
62,
22615,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5078,
62,
1462,
7,
1671,
3702,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
29924,
13,
271,
62,
49075,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3722,
62,
6404,
7,
301,
1077,
62,
270,
11,
705,
50,
2703,
1957,
2458,
2637,
11,
17510,
28,
17821,
8,
628,
220,
220,
220,
220,
220,
220,
220,
3722,
62,
6404,
7,
31216,
62,
77,
2364,
11,
705,
42940,
278,
23463,
422,
262,
4382,
2637,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
15014,
1077,
62,
9630,
7,
27261,
28,
17821,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3722,
62,
6404,
7,
403,
301,
1077,
62,
270,
11,
705,
19452,
3255,
1957,
2458,
2637,
11,
17510,
28,
17821,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
318,
62,
22615,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5078,
62,
1462,
7,
14986,
62,
1671,
3702,
8,
628,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
705,
90,
15,
92,
468,
407,
587,
3199,
1865,
2637,
13,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16396,
13,
36022,
7,
1671,
3702,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
16,
8,
198,
198,
4299,
23991,
62,
647,
469,
62,
9866,
7,
22046,
2599,
628,
220,
220,
220,
37227,
1273,
7465,
15014,
1886,
2458,
11,
20121,
1459,
8478,
351,
4958,
220,
220,
198,
220,
220,
220,
290,
791,
301,
7465,
2458,
13,
628,
220,
220,
220,
2896,
13185,
284,
1459,
8478,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
611,
26498,
13,
1136,
7,
15,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
32233,
8478,
1020,
7483,
13,
198,
220,
220,
220,
220,
220,
220,
220,
8478,
796,
34669,
62,
15699,
62,
1671,
3702,
7,
22046,
13,
1136,
7,
15,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
611,
8478,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
318,
62,
22615,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2656,
62,
1671,
3702,
796,
29924,
13,
2256,
13,
5420,
13,
3672,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
45144,
15,
92,
1595,
470,
2152,
13,
5765,
257,
8478,
326,
857,
526,
13,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16396,
13,
36022,
7,
22046,
13,
1136,
7,
15,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
16,
8,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
705,
29688,
11986,
257,
8478,
1438,
6,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
611,
29924,
13,
271,
62,
49075,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
3722,
62,
6404,
7,
301,
1077,
62,
270,
11,
705,
50,
2703,
1957,
2458,
2637,
11,
17510,
28,
17821,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
5078,
62,
1462,
7203,
9866,
4943,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
3722,
62,
6404,
7,
647,
469,
62,
77,
2364,
837,
705,
13102,
2667,
4958,
351,
262,
8478,
3256,
8478,
62,
3672,
28,
1671,
3702,
8,
628,
220,
220,
220,
611,
15014,
1077,
62,
9630,
7,
27261,
28,
17821,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
3722,
62,
6404,
7,
403,
301,
1077,
62,
270,
11,
705,
19452,
3255,
1957,
2458,
2637,
11,
17510,
28,
17821,
8,
628,
220,
220,
220,
5078,
62,
1462,
7,
1671,
3702,
8,
198,
198,
4299,
23991,
62,
7959,
62,
647,
469,
7,
22046,
2599,
198,
220,
220,
220,
37227,
1273,
7465,
15014,
1886,
2458,
11,
5992,
1205,
972,
11,
220,
198,
220,
220,
220,
20121,
340,
351,
1459,
8478,
290,
791,
301,
7465,
2458,
13,
628,
220,
220,
220,
2896,
13185,
284,
1459,
8478,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1303,
651,
262,
8478,
338,
1438,
198,
220,
220,
220,
8478,
796,
29924,
13,
2256,
13,
5420,
13,
3672,
198,
220,
220,
220,
220,
198,
220,
220,
220,
611,
8478,
287,
651,
62,
1671,
3702,
62,
14933,
7,
12001,
28,
25101,
2599,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
38305,
2458,
611,
2622,
198,
220,
220,
220,
220,
220,
220,
220,
611,
29924,
13,
271,
62,
49075,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3722,
62,
6404,
7,
301,
1077,
62,
270,
11,
705,
50,
2703,
1957,
2458,
2637,
11,
17510,
28,
17821,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
4296,
2478,
198,
220,
220,
220,
220,
220,
220,
220,
3722,
62,
6404,
7,
19119,
62,
1671,
3702,
4032,
4933,
38734,
2478,
3256,
1671,
3702,
62,
3672,
11639,
31267,
11537,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
5078,
284,
2656,
8478,
198,
220,
220,
220,
220,
220,
220,
220,
5078,
62,
1462,
7,
1671,
3702,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
20121,
2478,
287,
262,
8478,
198,
220,
220,
220,
220,
220,
220,
220,
3722,
62,
6404,
7,
647,
469,
62,
77,
2364,
11,
705,
13102,
2667,
2478,
287,
262,
8478,
3256,
8478,
62,
3672,
2625,
31267,
4943,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
15014,
1077,
262,
2458,
198,
220,
220,
220,
220,
220,
220,
220,
611,
15014,
1077,
62,
9630,
7,
27261,
28,
17821,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3722,
62,
6404,
7,
403,
301,
1077,
62,
270,
11,
705,
19452,
3255,
1957,
2458,
2637,
11,
17510,
28,
17821,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
8478,
1343,
705,
468,
407,
587,
3199,
1865,
2637,
13,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16396,
13,
36022,
7,
1671,
3702,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
16,
8,
198,
198,
4299,
23991,
62,
647,
469,
62,
19836,
7,
22046,
2599,
198,
220,
220,
220,
37227,
647,
469,
1459,
8478,
287,
1614,
290,
1969,
340,
198,
220,
220,
220,
2896,
13185,
284,
1459,
8478,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
275,
796,
29924,
13,
2256,
13,
5420,
13,
3672,
220,
220,
220,
198,
220,
220,
220,
8478,
796,
275,
628,
220,
220,
220,
611,
29924,
13,
271,
62,
49075,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
705,
5832,
423,
8593,
7474,
2458,
11,
3387,
4589,
14,
9122,
448,
290,
4574,
606,
878,
34817,
262,
8478,
6,
198,
220,
220,
220,
1288,
361,
275,
855,
6,
31267,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
705,
5832,
2314,
12233,
262,
8478,
366,
31267,
1,
351,
428,
2163,
6,
198,
220,
220,
220,
1288,
361,
275,
855,
6,
9866,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
705,
5832,
6463,
756,
12233,
262,
8478,
366,
9866,
30543,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5078,
62,
1462,
7203,
31267,
4943,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
3722,
62,
6404,
7,
647,
469,
62,
77,
2364,
11,
705,
13102,
2667,
1459,
8478,
287,
1614,
3256,
1671,
3702,
62,
3672,
28,
1671,
3702,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3722,
62,
6404,
7,
19836,
62,
1671,
3702,
11,
705,
2601,
2752,
1459,
8478,
3256,
1671,
3702,
62,
3672,
28,
1671,
3702,
8,
198,
220,
220,
220,
220,
198,
198,
29113,
14468,
2235,
198,
4242,
2,
4091,
379,
262,
886,
329,
262,
1334,
286,
1766,
7357,
38,
270,
46424,
198,
29113,
14468,
2235,
628,
198,
4299,
23991,
62,
34975,
448,
7,
22046,
2599,
198,
220,
220,
220,
37227,
16719,
274,
257,
649,
8478,
286,
1813,
1438,
422,
1813,
8478,
13,
198,
220,
220,
220,
2896,
13185,
284,
1459,
8478,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
572,
62,
1671,
3702,
796,
26498,
13,
1136,
7,
15,
8,
198,
220,
220,
220,
649,
62,
1671,
3702,
796,
26498,
13,
1136,
7,
16,
8,
628,
220,
220,
220,
611,
649,
62,
1671,
3702,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
649,
62,
1671,
3702,
796,
572,
62,
1671,
3702,
198,
220,
220,
220,
220,
220,
220,
220,
572,
62,
1671,
3702,
796,
29924,
13,
2256,
13,
5420,
13,
3672,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
572,
62,
1671,
3702,
796,
34669,
62,
15699,
62,
1671,
3702,
7,
2364,
62,
1671,
3702,
8,
628,
220,
220,
220,
611,
407,
572,
62,
1671,
3702,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
705,
5492,
11986,
8478,
284,
7500,
448,
32105,
198,
220,
220,
220,
220,
220,
220,
220,
3359,
62,
15182,
62,
1671,
12140,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
3419,
628,
220,
220,
220,
8478,
62,
14933,
796,
651,
62,
1671,
3702,
62,
14933,
3419,
628,
220,
220,
220,
611,
572,
62,
1671,
3702,
407,
287,
8478,
62,
14933,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
45144,
15,
92,
1595,
470,
2152,
13,
5765,
257,
8478,
326,
857,
526,
13,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16396,
13,
36022,
7,
2364,
62,
1671,
3702,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
16,
8,
628,
220,
220,
220,
611,
649,
62,
1671,
3702,
287,
8478,
62,
14933,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
45144,
15,
92,
1541,
7160,
13,
5765,
257,
3748,
1438,
526,
13,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16396,
13,
36022,
7,
3605,
62,
1671,
3702,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
16,
8,
628,
198,
220,
220,
220,
611,
29924,
13,
271,
62,
49075,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
3722,
62,
6404,
7,
301,
1077,
62,
270,
11,
705,
50,
2703,
1957,
2458,
2637,
8,
628,
220,
220,
220,
3722,
62,
6404,
7,
34975,
448,
62,
1671,
3702,
11,
705,
33,
2596,
10813,
1391,
15,
92,
284,
1391,
16,
92,
2637,
13,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
16396,
13,
36022,
7,
2364,
62,
1671,
3702,
828,
16396,
13,
36022,
7,
3605,
62,
1671,
3702,
36911,
198,
220,
220,
220,
220,
220,
220,
220,
572,
62,
1671,
3702,
11,
649,
62,
1671,
3702,
8,
628,
198,
4299,
23991,
62,
70,
1617,
7,
22046,
2599,
198,
220,
220,
220,
37227,
13102,
3212,
281,
42686,
8478,
656,
262,
1813,
8478,
11,
788,
28128,
274,
340,
526,
15931,
628,
220,
220,
220,
8478,
796,
34669,
62,
15699,
62,
1671,
3702,
7,
22046,
13,
1136,
7,
15,
4008,
198,
220,
220,
220,
656,
62,
1671,
3702,
796,
26498,
13,
1136,
7,
16,
8,
628,
220,
220,
220,
611,
407,
8478,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
705,
5492,
11986,
257,
8478,
284,
38455,
32105,
198,
220,
220,
220,
220,
220,
220,
220,
3359,
62,
15182,
62,
1671,
12140,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
3419,
628,
220,
220,
220,
611,
407,
656,
62,
1671,
3702,
25,
198,
220,
220,
220,
220,
220,
220,
220,
656,
62,
1671,
3702,
796,
29924,
13,
2256,
13,
5420,
13,
3672,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
656,
62,
1671,
3702,
796,
34669,
62,
15699,
62,
1671,
3702,
7,
20424,
62,
1671,
3702,
8,
628,
220,
220,
220,
8478,
62,
14933,
796,
651,
62,
1671,
3702,
62,
14933,
7,
12001,
28,
17821,
11,
6569,
62,
1671,
12140,
28,
25101,
8,
198,
220,
220,
220,
6569,
62,
1671,
3702,
62,
14933,
796,
651,
62,
1671,
3702,
62,
14933,
7,
12001,
28,
25101,
11,
6569,
62,
1671,
12140,
28,
17821,
8,
628,
220,
220,
220,
611,
8478,
407,
287,
8478,
62,
14933,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
45144,
15,
92,
1595,
470,
2152,
13,
5765,
257,
8478,
326,
857,
526,
13,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16396,
13,
36022,
7,
1671,
3702,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
16,
8,
628,
220,
220,
220,
611,
8478,
287,
6569,
62,
1671,
3702,
62,
14933,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
45144,
15,
92,
318,
3199,
13,
1675,
38455,
340,
11,
8593,
549,
1836,
340,
717,
526,
13,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16396,
13,
36022,
7,
1671,
3702,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
16,
8,
628,
220,
220,
220,
611,
656,
62,
1671,
3702,
407,
287,
8478,
62,
14933,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
45144,
15,
92,
1595,
470,
2152,
13,
5765,
257,
8478,
326,
857,
526,
13,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16396,
13,
36022,
7,
20424,
62,
1671,
3702,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
16,
8,
628,
220,
220,
220,
1303,
1514,
284,
649,
8478,
13,
198,
220,
220,
220,
5078,
62,
1462,
7,
20424,
62,
1671,
3702,
8,
628,
220,
220,
220,
3722,
62,
6404,
7,
70,
1617,
62,
1671,
3702,
11,
705,
38,
1617,
278,
1391,
15,
92,
656,
1391,
16,
92,
2637,
13,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
16396,
13,
36022,
7,
1671,
3702,
828,
16396,
13,
36022,
7,
20424,
62,
1671,
3702,
36911,
8478,
8,
628,
198,
4299,
23991,
62,
12984,
1836,
7,
22046,
2599,
198,
220,
220,
220,
37227,
47,
17237,
281,
42686,
8478,
284,
257,
6569,
16099,
526,
15931,
628,
220,
220,
220,
8478,
796,
34669,
62,
15699,
62,
1671,
3702,
7,
22046,
13,
1136,
7,
15,
4008,
628,
220,
220,
220,
611,
407,
8478,
25,
198,
220,
220,
220,
220,
220,
220,
220,
8478,
796,
29924,
13,
2256,
13,
5420,
13,
3672,
198,
220,
220,
220,
220,
220,
220,
220,
3359,
62,
15182,
62,
1671,
12140,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
33,
25642,
1391,
15,
92,
407,
1043,
11,
1262,
1459,
8478,
1391,
16,
92,
1911,
18982,
7,
25717,
13,
445,
7,
22046,
13,
1136,
7,
15,
36911,
25717,
13,
36022,
7,
1671,
3702,
4008,
628,
220,
220,
220,
8478,
62,
14933,
796,
651,
62,
1671,
3702,
62,
14933,
7,
12001,
28,
25101,
8,
628,
220,
220,
220,
611,
8478,
287,
8478,
62,
14933,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
45144,
15,
92,
318,
1541,
3199,
13,
5765,
257,
8478,
326,
2125,
470,
526,
13,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16396,
13,
36022,
7,
1671,
3702,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
16,
8,
628,
220,
220,
220,
3722,
62,
6404,
7,
12984,
1836,
62,
1671,
3702,
11,
705,
14876,
20020,
1391,
15,
92,
2637,
13,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
16396,
13,
36022,
7,
1671,
3702,
36911,
8478,
8,
628,
198,
198,
4299,
23991,
62,
403,
12984,
1836,
7,
22046,
2599,
198,
220,
220,
220,
37227,
8413,
5241,
257,
3199,
8478,
422,
262,
6569,
16099,
526,
15931,
628,
220,
220,
220,
8478,
796,
34669,
62,
15699,
62,
1671,
3702,
7,
22046,
13,
1136,
7,
15,
4008,
628,
220,
220,
220,
611,
407,
8478,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
705,
5492,
11986,
257,
8478,
284,
8593,
549,
1836,
32105,
198,
220,
220,
220,
220,
220,
220,
220,
3359,
62,
15182,
62,
1671,
12140,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
3419,
628,
220,
220,
220,
8478,
62,
14933,
796,
651,
62,
1671,
3702,
62,
14933,
7,
12001,
28,
25101,
8,
628,
220,
220,
220,
611,
8478,
407,
287,
8478,
62,
14933,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
45144,
15,
92,
2125,
470,
3199,
13,
5765,
257,
8478,
326,
318,
526,
13,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16396,
13,
36022,
7,
1671,
3702,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
16,
8,
628,
220,
220,
220,
3722,
62,
6404,
7,
403,
12984,
1836,
62,
1671,
3702,
11,
705,
3118,
12984,
20020,
1391,
15,
92,
2637,
13,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
16396,
13,
36022,
7,
1671,
3702,
36911,
8478,
8,
628,
198,
4299,
23991,
62,
9869,
4223,
7,
22046,
2599,
198,
220,
220,
220,
37227,
29934,
6359,
257,
8478,
351,
1813,
8478,
13,
2896,
13185,
284,
1459,
526,
15931,
628,
220,
220,
220,
422,
62,
1671,
3702,
796,
34669,
62,
15699,
62,
1671,
3702,
7,
22046,
13,
1136,
7,
15,
4008,
198,
220,
220,
220,
284,
62,
1671,
3702,
796,
34669,
62,
15699,
62,
1671,
3702,
7,
22046,
13,
1136,
7,
16,
4008,
628,
220,
220,
220,
611,
407,
422,
62,
1671,
3702,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
705,
5492,
11986,
257,
8478,
284,
13222,
23463,
422,
32105,
198,
220,
220,
220,
220,
220,
220,
220,
3359,
62,
15182,
62,
1671,
12140,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
3419,
628,
220,
220,
220,
611,
284,
62,
1671,
3702,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2656,
62,
1671,
3702,
796,
29924,
13,
2256,
13,
5420,
13,
3672,
198,
220,
220,
220,
220,
220,
220,
220,
318,
62,
22615,
796,
6407,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
318,
62,
22615,
796,
10352,
628,
220,
220,
220,
8478,
62,
14933,
796,
651,
62,
1671,
3702,
62,
14933,
7,
12001,
28,
17821,
11,
6569,
62,
1671,
12140,
28,
25101,
8,
628,
220,
220,
220,
611,
422,
62,
1671,
3702,
407,
287,
8478,
62,
14933,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
45144,
15,
92,
2125,
470,
281,
1695,
8478,
13,
5765,
257,
8478,
326,
318,
526,
13,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16396,
13,
36022,
7,
6738,
62,
1671,
3702,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
16,
8,
628,
220,
220,
220,
611,
318,
62,
22615,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5078,
62,
1462,
7,
1462,
62,
1671,
3702,
8,
628,
220,
220,
220,
611,
29924,
13,
271,
62,
49075,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
3722,
62,
6404,
7,
301,
1077,
62,
270,
11,
705,
50,
2703,
1957,
2458,
2637,
8,
628,
220,
220,
220,
3722,
62,
6404,
7,
27004,
62,
647,
469,
11,
705,
38,
1617,
278,
23463,
422,
1391,
15,
92,
2637,
13,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
16396,
13,
36022,
7,
6738,
62,
1671,
3702,
36911,
422,
62,
1671,
3702,
11,
1249,
62,
260,
8692,
28,
25101,
8,
628,
220,
220,
220,
611,
318,
62,
22615,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5078,
62,
1462,
7,
14986,
62,
1671,
3702,
8,
628,
220,
220,
220,
611,
15014,
1077,
62,
9630,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
3722,
62,
6404,
7,
403,
301,
1077,
62,
270,
11,
705,
19452,
3255,
1957,
2458,
2637,
8,
628,
198,
2,
198,
198,
4299,
23991,
62,
1671,
12140,
7,
22046,
2599,
198,
220,
220,
220,
37227,
7279,
26024,
1695,
13737,
526,
15931,
628,
220,
220,
220,
3359,
62,
15182,
62,
1671,
12140,
3419,
628,
198,
4299,
23991,
62,
33692,
7,
22046,
2599,
198,
220,
220,
220,
37227,
18257,
641,
6984,
6460,
287,
5464,
526,
15931,
628,
220,
220,
220,
3108,
796,
537,
600,
13,
37540,
13,
7220,
13,
9654,
10786,
11250,
13,
5362,
27691,
3672,
628,
198,
220,
220,
220,
3601,
705,
11484,
270,
16163,
7479,
77,
6,
628,
220,
220,
220,
329,
357,
18076,
11,
4808,
11,
6764,
8,
287,
6460,
13,
11250,
62,
12286,
82,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
15180,
26933,
25717,
13,
36022,
7,
18076,
828,
1679,
4357,
685,
11213,
11,
6045,
12962,
628,
198,
220,
220,
220,
3601,
705,
59,
77,
6214,
1391,
15,
92,
329,
517,
3307,
2637,
13,
18982,
7,
33692,
13,
11250,
62,
6371,
8,
628,
220,
220,
220,
3993,
7,
15,
13,
2327,
8,
628,
220,
220,
220,
611,
318,
62,
418,
87,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5464,
796,
28686,
13,
268,
2268,
13,
1136,
10786,
24706,
1581,
11537,
393,
28686,
13,
268,
2268,
13,
1136,
10786,
29817,
25620,
11537,
393,
705,
9654,
6,
198,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
10057,
7203,
90,
15,
92,
705,
90,
16,
92,
6,
1911,
18982,
7,
35352,
11,
3108,
4008,
198,
220,
220,
220,
1288,
361,
318,
62,
2815,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5464,
796,
28686,
13,
268,
2268,
13,
1136,
10786,
24706,
1581,
11537,
393,
28686,
13,
268,
2268,
13,
1136,
10786,
29817,
25620,
11537,
393,
705,
79,
3713,
6,
198,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
10057,
7203,
90,
15,
92,
705,
90,
16,
92,
6,
1911,
18982,
7,
35352,
11,
3108,
4008,
198,
220,
220,
220,
1288,
361,
318,
62,
5404,
25,
198,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
10057,
7203,
6,
90,
15,
92,
6,
1911,
18982,
7,
6978,
4008,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
366,
18378,
705,
90,
15,
92,
6,
284,
6687,
3564,
270,
6460,
13,
59,
77,
1911,
18982,
7,
6978,
8,
628,
220,
220,
220,
25064,
13,
37023,
3419,
628,
198,
29113,
29113,
4242,
198,
4242,
2,
5312,
428,
2163,
284,
307,
1498,
284,
2721,
262,
649,
47217,
46424,
198,
4242,
2,
26375,
897,
1058,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
46424,
198,
4242,
2,
705,
43054,
0,
1073,
7357,
18300,
1279,
28758,
1438,
29,
1279,
1,
3,
31,
1,
611,
23991,
1011,
281,
1822,
29,
59,
7061,
220,
220,
220,
220,
220,
46424,
198,
29113,
29113,
4242,
198,
198,
4299,
23991,
62,
17350,
7,
22046,
2599,
198,
220,
220,
220,
37227,
6310,
5691,
6984,
17606,
47217,
526,
15931,
628,
220,
220,
220,
47217,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
1671,
12140,
10354,
705,
43054,
0,
1073,
7357,
18300,
13737,
43054,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
70,
1617,
10354,
705,
43054,
0,
1073,
7357,
18300,
38455,
17971,
31,
1,
43054,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
9869,
4223,
10354,
705,
43054,
0,
1073,
7357,
18300,
13222,
17971,
31,
1,
43054,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
12984,
1836,
10354,
705,
43054,
0,
1073,
7357,
18300,
7715,
17971,
31,
1,
43054,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
403,
12984,
1836,
10354,
705,
43054,
0,
1073,
7357,
18300,
8593,
549,
1836,
17971,
31,
1,
43054,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
34975,
448,
10354,
705,
43054,
0,
1073,
7357,
18300,
7500,
448,
17971,
31,
1,
43054,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
27261,
10354,
705,
43054,
0,
1073,
7357,
18300,
17510,
17971,
31,
1,
43054,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
31943,
10354,
705,
43054,
0,
1073,
7357,
18300,
5078,
17971,
31,
1,
43054,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
19119,
10354,
705,
43054,
0,
1073,
7357,
18300,
4296,
17971,
31,
1,
43054,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
647,
24090,
1603,
10354,
705,
43054,
0,
1073,
7357,
18300,
4017,
24090,
1603,
43054,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7959,
647,
469,
10354,
705,
43054,
0,
1073,
7357,
18300,
1614,
647,
469,
43054,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
3605,
1671,
3702,
10354,
705,
43054,
0,
1073,
7357,
18300,
649,
1671,
3702,
17971,
31,
1,
43054,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
647,
469,
19836,
10354,
705,
43054,
0,
1073,
7357,
18300,
20121,
19836,
59,
7061,
198,
220,
220,
220,
1782,
628,
220,
220,
220,
3601,
705,
464,
1708,
17606,
47217,
423,
587,
6589,
7479,
77,
6,
628,
220,
220,
220,
329,
357,
461,
11,
1196,
8,
287,
47217,
13,
23814,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
28686,
13,
10057,
10786,
18300,
4566,
1377,
20541,
1377,
33491,
12,
439,
16144,
13,
90,
15,
92,
1391,
16,
92,
4458,
18982,
7,
461,
11,
1196,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
15180,
7,
17816,
3256,
352,
4357,
685,
25717,
13,
36022,
10786,
18300,
705,
1343,
47594,
828,
1478,
4357,
685,
615,
11,
6045,
12962,
628,
220,
220,
220,
25064,
13,
37023,
3419,
628,
198,
4299,
23991,
62,
16794,
7,
22046,
2599,
198,
220,
220,
220,
37227,
23114,
1037,
329,
1981,
9729,
526,
15931,
198,
220,
220,
220,
3141,
796,
26498,
13,
1136,
7,
15,
8,
198,
220,
220,
220,
1037,
7,
21812,
8,
198,
198,
2,
37404,
198,
2,
29978,
198,
2,
37404,
628,
198,
4299,
3359,
62,
15182,
62,
1671,
12140,
33529,
198,
220,
220,
220,
37227,
7279,
26024,
1695,
13737,
526,
15931,
628,
220,
220,
220,
13737,
796,
651,
62,
1671,
12140,
3419,
628,
220,
220,
220,
8478,
62,
4033,
796,
18896,
7,
9806,
26933,
65,
13,
3672,
329,
275,
287,
13737,
4357,
1994,
28,
11925,
4008,
1343,
352,
628,
220,
220,
220,
329,
8478,
287,
13737,
25,
628,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8478,
62,
271,
62,
34213,
796,
357,
1671,
3702,
13,
3672,
6624,
29924,
13,
2256,
13,
5420,
13,
3672,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
5994,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8478,
62,
271,
62,
34213,
796,
10352,
628,
220,
220,
220,
220,
220,
220,
220,
18364,
796,
705,
9,
6,
611,
8478,
62,
271,
62,
34213,
2073,
705,
705,
198,
220,
220,
220,
220,
220,
220,
220,
3124,
796,
16396,
13,
14809,
611,
8478,
62,
271,
62,
34213,
2073,
16396,
13,
36022,
198,
220,
220,
220,
220,
220,
220,
220,
2240,
796,
29513,
30271,
33047,
611,
8478,
13,
271,
62,
30271,
2073,
29513,
403,
30271,
33047,
628,
220,
220,
220,
220,
220,
220,
220,
3601,
15180,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
25717,
13,
445,
7,
4102,
263,
828,
362,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
8043,
7,
1671,
3702,
13,
3672,
828,
8478,
62,
4033,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
13424,
7,
12984,
828,
1478,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
198,
4299,
3359,
62,
10951,
33529,
198,
220,
220,
220,
37227,
7279,
26024,
3564,
270,
4175,
23372,
526,
15931,
628,
220,
220,
220,
7584,
10786,
90,
15,
27422,
1391,
16,
32239,
77,
4458,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
16396,
13,
445,
10786,
1455,
270,
33809,
198,
220,
220,
220,
220,
220,
220,
220,
2042,
7,
84,
6,
32,
23632,
797,
4224,
4935,
8151,
11537,
198,
220,
220,
220,
15306,
628,
220,
220,
220,
7584,
10786,
28350,
25,
1391,
15,
92,
4458,
18982,
7,
25717,
13,
17585,
10786,
1455,
270,
1279,
21812,
29,
6,
22305,
198,
220,
220,
220,
7584,
10786,
6935,
1746,
7479,
77,
11537,
198,
220,
220,
220,
329,
3141,
287,
9455,
13,
439,
62,
9503,
1746,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
8748,
796,
3141,
13,
26060,
393,
3141,
13,
3672,
198,
220,
220,
220,
220,
220,
220,
220,
1037,
796,
3141,
13,
16794,
393,
10148,
198,
220,
220,
220,
220,
220,
220,
220,
7584,
10786,
90,
15,
25,
1821,
92,
1391,
16,
92,
4458,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16396,
13,
14809,
7,
26060,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
717,
62,
34086,
594,
7,
16794,
22305,
628,
198,
198,
4299,
3359,
62,
16794,
33529,
198,
220,
220,
220,
37227,
7279,
26024,
3564,
270,
1037,
526,
15931,
628,
220,
220,
220,
3359,
62,
10951,
3419,
628,
198,
4299,
3359,
62,
9641,
33529,
198,
220,
220,
220,
37227,
7279,
26024,
3564,
270,
2196,
14,
20979,
526,
15931,
628,
198,
220,
220,
220,
7584,
10786,
90,
15,
92,
410,
90,
16,
92,
4458,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
16396,
13,
36022,
10786,
1455,
270,
33809,
198,
220,
220,
220,
220,
220,
220,
220,
11593,
9641,
834,
198,
220,
220,
220,
15306,
628,
198,
198,
33692,
13,
397,
419,
62,
30281,
796,
5412,
62,
397,
419,
628,
628,
198,
4299,
62,
28758,
7,
198,
220,
220,
220,
1438,
11639,
1671,
12140,
3256,
198,
220,
220,
220,
24714,
28,
28758,
62,
1671,
12140,
11,
198,
220,
220,
220,
8748,
11639,
1671,
12140,
3256,
198,
220,
220,
220,
1037,
11639,
3855,
257,
3621,
2495,
1351,
286,
13737,
2637,
8,
198,
198,
4299,
62,
28758,
7,
198,
220,
220,
220,
1438,
11639,
70,
1617,
3256,
198,
220,
220,
220,
1790,
28,
17816,
2164,
6,
4357,
198,
220,
220,
220,
24714,
28,
28758,
62,
70,
1617,
11,
198,
220,
220,
220,
8748,
11639,
70,
1617,
1279,
1671,
3702,
29,
1279,
20424,
12,
1671,
3702,
29,
3256,
198,
220,
220,
220,
1037,
28,
10786,
13102,
3212,
7368,
8478,
656,
262,
1218,
8478,
11,
290,
20694,
340,
13,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1639,
460,
691,
38455,
42686,
13737,
2637,
4008,
198,
198,
4299,
62,
28758,
7,
198,
220,
220,
220,
1438,
11639,
9869,
4223,
3256,
198,
220,
220,
220,
1790,
28,
17816,
3099,
3256,
705,
71,
85,
3256,
705,
9869,
6,
4357,
198,
220,
220,
220,
8748,
11639,
9869,
4223,
685,
27,
1671,
3702,
37981,
1279,
20424,
12,
1671,
3702,
29,
3256,
198,
220,
220,
220,
1037,
28,
10786,
27722,
12,
13102,
469,
14,
28951,
589,
286,
7368,
8478,
2458,
656,
262,
1218,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1671,
3702,
2637,
828,
198,
220,
220,
220,
24714,
28,
28758,
62,
9869,
4223,
8,
198,
198,
4299,
62,
28758,
7,
198,
220,
220,
220,
1438,
11639,
16794,
3256,
198,
220,
220,
220,
1790,
28,
17816,
71,
6,
4357,
198,
220,
220,
220,
24714,
28,
28758,
62,
16794,
11,
198,
220,
220,
220,
8748,
11639,
16794,
1279,
21812,
29,
3256,
198,
220,
220,
220,
1037,
11639,
23114,
1037,
329,
6984,
3141,
2637,
8,
198,
198,
4299,
62,
28758,
7,
198,
220,
220,
220,
1438,
11639,
17350,
3256,
198,
220,
220,
220,
24714,
28,
28758,
62,
17350,
11,
198,
220,
220,
220,
8748,
11639,
17350,
3256,
198,
220,
220,
220,
1037,
11639,
6310,
5691,
6984,
17606,
47217,
2637,
8,
198,
198,
4299,
62,
28758,
7,
198,
220,
220,
220,
1438,
11639,
12984,
1836,
3256,
198,
220,
220,
220,
1790,
28,
17816,
12984,
6,
4357,
198,
220,
220,
220,
24714,
28,
28758,
62,
12984,
1836,
11,
198,
220,
220,
220,
8748,
11639,
12984,
1836,
1279,
1671,
3702,
29,
3256,
198,
220,
220,
220,
1037,
11639,
14876,
19724,
7368,
8478,
284,
262,
6569,
2637,
8,
198,
198,
4299,
62,
28758,
7,
198,
220,
220,
220,
1438,
11639,
33692,
3256,
198,
220,
220,
220,
24714,
28,
28758,
62,
33692,
11,
198,
220,
220,
220,
8748,
11639,
33692,
3256,
198,
220,
220,
220,
1037,
11639,
18257,
641,
6984,
6460,
287,
257,
2420,
5464,
2637,
8,
198,
198,
4299,
62,
28758,
7,
198,
220,
220,
220,
1438,
11639,
34975,
448,
3256,
198,
220,
220,
220,
1790,
28,
17816,
2777,
6,
4357,
198,
220,
220,
220,
24714,
28,
28758,
62,
34975,
448,
11,
198,
220,
220,
220,
8748,
11639,
34975,
448,
685,
27,
1671,
3702,
37981,
1279,
3605,
12,
1671,
3702,
29,
3256,
198,
220,
220,
220,
1037,
28,
10786,
16719,
274,
257,
649,
8478,
572,
286,
262,
7368,
8478,
13,
2896,
13185,
284,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
14421,
8478,
13,
2451,
9249,
284,
340,
3393,
2637,
4008,
198,
198,
4299,
62,
28758,
7,
198,
220,
220,
220,
1438,
11639,
31943,
3256,
198,
220,
220,
220,
1790,
28,
17816,
2032,
6,
4357,
198,
220,
220,
220,
24714,
28,
28758,
62,
31943,
11,
198,
220,
220,
220,
8748,
11639,
31943,
1279,
1671,
3702,
29,
3256,
198,
220,
220,
220,
1037,
28,
10786,
10462,
9249,
284,
7368,
8478,
13,
17406,
4142,
336,
7465,
290,
15014,
7465,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1092,
2458,
2637,
4008,
198,
198,
4299,
62,
28758,
7,
198,
220,
220,
220,
1438,
11639,
27261,
3256,
198,
220,
220,
220,
1790,
28,
17816,
1837,
6,
4357,
198,
220,
220,
220,
24714,
28,
28758,
62,
27261,
11,
198,
220,
220,
220,
8748,
11639,
27261,
1279,
1671,
3702,
29,
3256,
198,
220,
220,
220,
1037,
28,
10786,
28985,
1313,
4340,
262,
1813,
8478,
13,
2896,
13185,
284,
1459,
8478,
13,
520,
1077,
11,
705,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
37,
7569,
11,
11160,
12,
13102,
469,
14,
28951,
589,
11,
23691,
11,
290,
791,
301,
1077,
2637,
4008,
198,
198,
4299,
62,
28758,
7,
198,
220,
220,
220,
1438,
11639,
403,
12984,
1836,
3256,
198,
220,
220,
220,
1790,
28,
17816,
403,
79,
6,
4357,
198,
220,
220,
220,
24714,
28,
28758,
62,
403,
12984,
1836,
11,
198,
220,
220,
220,
8748,
11639,
403,
12984,
1836,
1279,
1671,
3702,
29,
3256,
198,
220,
220,
220,
1037,
11639,
8413,
5241,
7368,
8478,
422,
262,
6569,
2637,
8,
198,
198,
29113,
7804,
21017,
198,
4242,
2,
30396,
286,
1766,
7357,
38,
270,
338,
3141,
46424,
198,
29113,
7804,
21017,
198,
198,
4299,
62,
28758,
7,
198,
220,
220,
220,
1438,
11639,
19119,
3256,
198,
220,
220,
220,
1790,
28,
17816,
929,
28664,
6,
4357,
198,
220,
220,
220,
24714,
28,
28758,
62,
19119,
11,
198,
220,
220,
220,
8748,
11639,
19119,
1279,
1671,
3702,
29,
3256,
198,
220,
220,
220,
1037,
11639,
42940,
262,
2458,
286,
262,
8478,
422,
262,
4382,
13,
2750,
4277,
340,
42985,
319,
1459,
8478,
11537,
198,
198,
4299,
62,
28758,
7,
198,
220,
220,
220,
1438,
11639,
647,
24090,
1603,
3256,
198,
220,
220,
220,
1790,
28,
17816,
3020,
2536,
6,
4357,
198,
220,
220,
220,
24714,
28,
28758,
62,
647,
469,
62,
9866,
11,
198,
220,
220,
220,
8748,
11639,
647,
24090,
1603,
3256,
198,
220,
220,
220,
1037,
11639,
13102,
469,
1459,
8478,
287,
4958,
11537,
198,
198,
4299,
62,
28758,
7,
198,
220,
220,
220,
1438,
11639,
7959,
647,
469,
3256,
198,
220,
220,
220,
1790,
28,
17816,
36020,
41345,
6,
4357,
198,
220,
220,
220,
24714,
28,
28758,
62,
7959,
62,
647,
469,
11,
198,
220,
220,
220,
8748,
11639,
7959,
647,
469,
3256,
198,
220,
220,
220,
1037,
11639,
10260,
1614,
290,
20121,
340,
287,
1459,
8478,
11537,
198,
198,
4299,
62,
28758,
7,
198,
220,
220,
220,
1438,
11639,
647,
469,
19836,
3256,
198,
220,
220,
220,
1790,
28,
17816,
76,
565,
82,
6,
4357,
198,
220,
220,
220,
24714,
28,
28758,
62,
647,
469,
62,
19836,
11,
198,
220,
220,
220,
8748,
11639,
647,
469,
19836,
3256,
198,
220,
220,
220,
1037,
11639,
13102,
469,
1459,
8478,
287,
1614,
290,
1969,
340,
11537,
198,
198,
4299,
62,
28758,
7,
198,
220,
220,
220,
1438,
11639,
3605,
1671,
3702,
3256,
198,
220,
220,
220,
1790,
28,
17816,
77,
1671,
354,
6,
4357,
198,
220,
220,
220,
24714,
28,
28758,
62,
3605,
62,
1671,
3702,
11,
198,
220,
220,
220,
8748,
11639,
3605,
1671,
3702,
1279,
1671,
3702,
29,
3256,
198,
220,
220,
220,
1037,
11639,
16447,
257,
649,
8478,
11,
4574,
340,
284,
262,
4382,
290,
2792,
1111,
13737,
11537,
198
] | 2.37555 | 8,180 |
#!/usr/bin/env python
import sys
import netsnmp
import re
import memcache
import datetime
import MySQLdb
import time
if __name__ == '__main__':
mc = memcache.Client(['10.30.22.49:11216'], debug=0)
timestamp = int(time.time())
# year = datetime.datetime.now().strftime("%y")
# month = datetime.datetime.now().strftime("%m")
# day = datetime.datetime.now().strftime("%d")
# hour = datetime.datetime.now().strftime("%H")
# minute = datetime.datetime.now().strftime("%M")
serverlist = open("server.lst")
for line in serverlist.readlines():
community_string = line.strip().split(" ")[-1]
ip = line.strip().split(" ")[0]
getsnmpinfo(ip, community_string)
serverlist.close()
sys.exit(0)
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
11748,
25064,
198,
11748,
31720,
77,
3149,
198,
11748,
302,
198,
11748,
1066,
23870,
198,
11748,
4818,
8079,
198,
11748,
33476,
9945,
198,
11748,
640,
628,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
36650,
796,
1066,
23870,
13,
11792,
7,
17816,
940,
13,
1270,
13,
1828,
13,
2920,
25,
14686,
1433,
6,
4357,
14257,
28,
15,
8,
198,
220,
220,
220,
41033,
796,
493,
7,
2435,
13,
2435,
28955,
198,
220,
220,
220,
1303,
614,
796,
4818,
8079,
13,
19608,
8079,
13,
2197,
22446,
2536,
31387,
7203,
4,
88,
4943,
198,
220,
220,
220,
1303,
1227,
796,
4818,
8079,
13,
19608,
8079,
13,
2197,
22446,
2536,
31387,
7203,
4,
76,
4943,
198,
220,
220,
220,
1303,
1110,
796,
4818,
8079,
13,
19608,
8079,
13,
2197,
22446,
2536,
31387,
7203,
4,
67,
4943,
198,
220,
220,
220,
1303,
1711,
796,
4818,
8079,
13,
19608,
8079,
13,
2197,
22446,
2536,
31387,
7203,
4,
39,
4943,
198,
220,
220,
220,
1303,
5664,
796,
4818,
8079,
13,
19608,
8079,
13,
2197,
22446,
2536,
31387,
7203,
4,
44,
4943,
628,
220,
220,
220,
4382,
4868,
796,
1280,
7203,
15388,
13,
75,
301,
4943,
198,
220,
220,
220,
329,
1627,
287,
4382,
4868,
13,
961,
6615,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
2055,
62,
8841,
796,
1627,
13,
36311,
22446,
35312,
7203,
366,
38381,
12,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
20966,
796,
1627,
13,
36311,
22446,
35312,
7203,
366,
38381,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
3011,
77,
3149,
10951,
7,
541,
11,
2055,
62,
8841,
8,
198,
220,
220,
220,
4382,
4868,
13,
19836,
3419,
198,
220,
220,
220,
25064,
13,
37023,
7,
15,
8,
198
] | 2.498339 | 301 |
import numpy as np
import numpy.testing as npt
import test_utils as tu
| [
11748,
299,
32152,
355,
45941,
198,
11748,
299,
32152,
13,
33407,
355,
299,
457,
198,
11748,
1332,
62,
26791,
355,
12777,
628
] | 3.272727 | 22 |
#!/usr/bin/env python
"""Non-Pedantic Time
=================
.. moduleauthor:: Thomas Grenfell Smith <[email protected]>
Python's :mod:`datetime` module has many uses, but it has a difficulty: you
can't do any arithmetic with :class:`datetime.time`. Only with
:class:`datetime.datetime`. Now, there are good reasons for this: "What time
will it be, 24 hours from now" has a lot of corner cases, including daylight
savings time, leap seconds, historical timezone changes, and so on. But
sometimes you really *do* need the simple case. Sometimes the perfect is the
enemy of the good. And that's why you have this module. This module will allow
you to cocoon yourself in the comforting illusion that, in 24 hours, it will be
the same time as it is right now.
And what freedom this illusion gives you! You can add a
:class:`datetime.timedelta` object to an :mod:`nptime` object, and it works! It
will cycle around 24 hours, like modular arithmetic. You can ask "what time
comes 1 day and 36 minutes after 12:24 pm?" and it will let you know: 1:00 pm.
How lovely!
>>> from nptime import nptime
>>> from datetime import timedelta, date, datetime
>>> afternoon = nptime(12, 24) + timedelta(days=1, minutes=36)
>>> afternoon
nptime(13, 0)
>>> str(afternoon)
'13:00:00'
Maybe we're talking about the afternoon of Guido van Rossum's birthday. Lucky,
we can combine ``nptime`` objects with ``date`` objects:
>>> datetime.combine(date(1956, 1, 31), afternoon)
datetime.datetime(1956, 1, 31, 13, 0, 0)
You can also ask "How long is it between 9:00 AM and 5:00 PM? It sure
feels like a million years!"
>>> workday = nptime(hour=17) - nptime(hour=9)
>>> workday
datetime.timedelta(0, 28800)
>>> print workday
8:00:00
Nope, only 8 hours, how strange. Anyway, please use this module. It will
be convenient. But don't use it when talking about concrete time, time in
a particular place, or anything like that. In fact, it doesn't even notice
:class:`datetime.tzinfo` objects right now. Good luck.
.. note::
You can find the newest version at https://github.com/tgs/nptime . You can
find online documentation at http://tgs.github.com/nptime/ . The package
is available for download from PyPi: `easy_install nptime`
"""
from datetime import *
class nptime(time):
"""nptime - a non-pedantic time object
Inherits from :class:`datetime.time`. You can't do arithmetic with that
class, but with ``nptime`` you can:
* Add a :class:`datetime.timedelta` to an :class:`nptime` (commutative),
resulting in another ``nptime``
* Subtract a ``timedelta`` from an ``nptime``, resulting in a
``timedelta``
* Subtract an ``nptime`` from another ``nptime``, resulting in a
``timedelta``
You can use the class methods :func:`from_timedelta` and :func:`from_time`
to construct an ``nptime`` from those ``datetime`` classes. You can use the
:func:`to_timedelta` instance method to construct a ``timedelta`` from an
``nptime``.
I can't figure out a reason you'd want to add two times together without
using ``timedelta`` objects, but if someone requests that, I'm happy to
include it.
``nptime`` is `naive` about time zones. I think this is the only way that
makes sense, since days are only 24 hours long in an abstract sense. But
if you want to see a different system, pull requests are welcome..."""
_std_date = date(year=1000, month=1, day=1)
@classmethod
def from_time(cls, other):
"""Construct an :class:`nptime` object from a :class:`datetime.time`
.. note::
This *ignores* the :class:`datetime.tzinfo` that may be part
of the ``time`` object.
"""
return cls(other.hour, other.minute, other.second, other.microsecond)
@classmethod
def from_timedelta(cls, other):
"""Construct an :class:`nptime` object from a :class:`datetime.timedelta`.
The ``timedelta`` is taken to be the amount of time since midnight."""
return cls() + other
def to_timedelta(self):
"""Construct a :class:`timedelta` object from an :class:`nptime`. The
timedelta gives the number of seconds (and microseconds) since
midnight."""
return timedelta(hours=self.hour, minutes=self.minute,
seconds=self.second, microseconds=self.microsecond)
def __add__(self, other):
"""Add nptime and timedelta, returning an nptime"""
self_dt = datetime.combine(self._std_date, self)
sum = self_dt + other
return nptime.from_time(sum.time())
def __radd__(self, other):
"""Add timedelta and nptime"""
return self + other
def __sub__(self, other):
"""Subtract timedelta or nptime from nptime, returning a timedelta"""
if isinstance(other, self.__class__):
diff = self.to_timedelta() - other.to_timedelta()
else:
diff = self.to_timedelta() - other
return diff
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
37811,
15419,
12,
43468,
5109,
3862,
198,
4770,
28,
198,
198,
492,
8265,
9800,
3712,
5658,
19674,
23299,
4176,
1279,
400,
296,
32910,
31,
14816,
13,
785,
29,
198,
198,
37906,
338,
1058,
4666,
25,
63,
19608,
8079,
63,
8265,
468,
867,
3544,
11,
475,
340,
468,
257,
8722,
25,
345,
198,
5171,
470,
466,
597,
34768,
351,
1058,
4871,
25,
63,
19608,
8079,
13,
2435,
44646,
220,
5514,
351,
198,
25,
4871,
25,
63,
19608,
8079,
13,
19608,
8079,
44646,
220,
2735,
11,
612,
389,
922,
3840,
329,
428,
25,
220,
366,
2061,
640,
198,
10594,
340,
307,
11,
1987,
2250,
422,
783,
1,
468,
257,
1256,
286,
5228,
2663,
11,
1390,
26010,
198,
39308,
654,
640,
11,
16470,
4201,
11,
6754,
640,
11340,
2458,
11,
290,
523,
319,
13,
220,
887,
198,
29810,
345,
1107,
1635,
4598,
9,
761,
262,
2829,
1339,
13,
220,
8975,
262,
2818,
318,
262,
198,
46970,
286,
262,
922,
13,
220,
843,
326,
338,
1521,
345,
423,
428,
8265,
13,
220,
770,
8265,
481,
1249,
198,
5832,
284,
8954,
2049,
3511,
287,
262,
34228,
17878,
326,
11,
287,
1987,
2250,
11,
340,
481,
307,
198,
1169,
976,
640,
355,
340,
318,
826,
783,
13,
198,
198,
1870,
644,
4925,
428,
17878,
3607,
345,
0,
220,
921,
460,
751,
257,
198,
25,
4871,
25,
63,
19608,
8079,
13,
16514,
276,
12514,
63,
2134,
284,
281,
1058,
4666,
25,
63,
77,
457,
524,
63,
2134,
11,
290,
340,
2499,
0,
632,
198,
10594,
6772,
1088,
1987,
2250,
11,
588,
26507,
34768,
13,
220,
921,
460,
1265,
366,
10919,
640,
198,
8988,
352,
1110,
290,
4570,
2431,
706,
1105,
25,
1731,
9114,
1701,
290,
340,
481,
1309,
345,
760,
25,
352,
25,
405,
9114,
13,
198,
2437,
14081,
0,
198,
198,
33409,
422,
299,
457,
524,
1330,
299,
457,
524,
198,
33409,
422,
4818,
8079,
1330,
28805,
12514,
11,
3128,
11,
4818,
8079,
198,
33409,
6672,
796,
299,
457,
524,
7,
1065,
11,
1987,
8,
1343,
28805,
12514,
7,
12545,
28,
16,
11,
2431,
28,
2623,
8,
198,
33409,
6672,
198,
77,
457,
524,
7,
1485,
11,
657,
8,
198,
33409,
965,
7,
8499,
6357,
8,
198,
6,
1485,
25,
405,
25,
405,
6,
198,
198,
13300,
356,
821,
3375,
546,
262,
6672,
286,
1962,
17305,
5719,
9847,
388,
338,
10955,
13,
220,
27963,
11,
198,
732,
460,
12082,
7559,
77,
457,
524,
15506,
5563,
351,
7559,
4475,
15506,
5563,
25,
198,
198,
33409,
4818,
8079,
13,
24011,
500,
7,
4475,
7,
1129,
3980,
11,
352,
11,
3261,
828,
6672,
8,
198,
19608,
8079,
13,
19608,
8079,
7,
1129,
3980,
11,
352,
11,
3261,
11,
1511,
11,
657,
11,
657,
8,
198,
198,
1639,
460,
635,
1265,
366,
2437,
890,
318,
340,
1022,
860,
25,
405,
3001,
290,
642,
25,
405,
3122,
30,
220,
632,
1654,
198,
5036,
1424,
588,
257,
1510,
812,
2474,
198,
198,
33409,
670,
820,
796,
299,
457,
524,
7,
9769,
28,
1558,
8,
532,
299,
457,
524,
7,
9769,
28,
24,
8,
198,
33409,
670,
820,
198,
19608,
8079,
13,
16514,
276,
12514,
7,
15,
11,
2579,
7410,
8,
198,
33409,
3601,
670,
820,
198,
23,
25,
405,
25,
405,
198,
198,
45,
3008,
11,
691,
807,
2250,
11,
703,
6283,
13,
220,
21836,
11,
3387,
779,
428,
8265,
13,
220,
632,
481,
198,
1350,
11282,
13,
220,
887,
836,
470,
779,
340,
618,
3375,
546,
10017,
640,
11,
640,
287,
198,
64,
1948,
1295,
11,
393,
1997,
588,
326,
13,
220,
554,
1109,
11,
340,
1595,
470,
772,
4003,
198,
25,
4871,
25,
63,
19608,
8079,
13,
22877,
10951,
63,
5563,
826,
783,
13,
220,
4599,
8458,
13,
198,
198,
492,
3465,
3712,
198,
220,
220,
220,
921,
460,
1064,
262,
15530,
2196,
379,
3740,
1378,
12567,
13,
785,
14,
83,
14542,
14,
77,
457,
524,
764,
220,
921,
460,
198,
220,
220,
220,
1064,
2691,
10314,
379,
2638,
1378,
83,
14542,
13,
12567,
13,
785,
14,
77,
457,
524,
14,
764,
220,
383,
5301,
198,
220,
220,
220,
318,
1695,
329,
4321,
422,
9485,
38729,
25,
220,
4600,
38171,
62,
17350,
299,
457,
524,
63,
198,
198,
37811,
198,
198,
6738,
4818,
8079,
1330,
1635,
628,
198,
4871,
299,
457,
524,
7,
2435,
2599,
198,
220,
220,
220,
37227,
77,
457,
524,
532,
257,
1729,
12,
9124,
5109,
640,
2134,
628,
220,
220,
220,
47025,
896,
422,
1058,
4871,
25,
63,
19608,
8079,
13,
2435,
44646,
220,
921,
460,
470,
466,
34768,
351,
326,
198,
220,
220,
220,
1398,
11,
475,
351,
7559,
77,
457,
524,
15506,
345,
460,
25,
628,
220,
220,
220,
1635,
3060,
257,
1058,
4871,
25,
63,
19608,
8079,
13,
16514,
276,
12514,
63,
284,
281,
1058,
4871,
25,
63,
77,
457,
524,
63,
357,
9503,
315,
876,
828,
198,
220,
220,
220,
220,
220,
220,
220,
7186,
287,
1194,
7559,
77,
457,
524,
15506,
198,
220,
220,
220,
1635,
3834,
83,
974,
257,
7559,
16514,
276,
12514,
15506,
422,
281,
7559,
77,
457,
524,
15506,
11,
7186,
287,
257,
220,
198,
220,
220,
220,
220,
220,
220,
220,
7559,
16514,
276,
12514,
15506,
198,
220,
220,
220,
1635,
3834,
83,
974,
281,
7559,
77,
457,
524,
15506,
422,
1194,
7559,
77,
457,
524,
15506,
11,
7186,
287,
257,
220,
198,
220,
220,
220,
220,
220,
220,
220,
7559,
16514,
276,
12514,
15506,
628,
220,
220,
220,
921,
460,
779,
262,
1398,
5050,
1058,
20786,
25,
63,
6738,
62,
16514,
276,
12514,
63,
290,
1058,
20786,
25,
63,
6738,
62,
2435,
63,
198,
220,
220,
220,
284,
5678,
281,
7559,
77,
457,
524,
15506,
422,
883,
7559,
19608,
8079,
15506,
6097,
13,
220,
921,
460,
779,
262,
198,
220,
220,
220,
1058,
20786,
25,
63,
1462,
62,
16514,
276,
12514,
63,
4554,
2446,
284,
5678,
257,
7559,
16514,
276,
12514,
15506,
422,
281,
198,
220,
220,
220,
7559,
77,
457,
524,
15506,
13,
628,
220,
220,
220,
314,
460,
470,
3785,
503,
257,
1738,
345,
1549,
765,
284,
751,
734,
1661,
1978,
1231,
198,
220,
220,
220,
1262,
7559,
16514,
276,
12514,
15506,
5563,
11,
475,
611,
2130,
7007,
326,
11,
314,
1101,
3772,
284,
198,
220,
220,
220,
2291,
340,
13,
628,
220,
220,
220,
7559,
77,
457,
524,
15506,
318,
4600,
2616,
425,
63,
546,
640,
14123,
13,
220,
314,
892,
428,
318,
262,
691,
835,
326,
198,
220,
220,
220,
1838,
2565,
11,
1201,
1528,
389,
691,
1987,
2250,
890,
287,
281,
12531,
2565,
13,
220,
887,
198,
220,
220,
220,
611,
345,
765,
284,
766,
257,
1180,
1080,
11,
2834,
7007,
389,
7062,
9313,
15931,
628,
220,
220,
220,
4808,
19282,
62,
4475,
796,
3128,
7,
1941,
28,
12825,
11,
1227,
28,
16,
11,
1110,
28,
16,
8,
628,
220,
220,
220,
2488,
4871,
24396,
198,
220,
220,
220,
825,
422,
62,
2435,
7,
565,
82,
11,
584,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
42316,
281,
1058,
4871,
25,
63,
77,
457,
524,
63,
2134,
422,
257,
1058,
4871,
25,
63,
19608,
8079,
13,
2435,
63,
628,
220,
220,
220,
220,
220,
220,
220,
11485,
3465,
3712,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
770,
1635,
570,
2850,
9,
262,
1058,
4871,
25,
63,
19608,
8079,
13,
22877,
10951,
63,
326,
743,
307,
636,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
286,
262,
7559,
2435,
15506,
2134,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
537,
82,
7,
847,
13,
9769,
11,
584,
13,
11374,
11,
584,
13,
12227,
11,
584,
13,
24055,
12227,
8,
628,
220,
220,
220,
2488,
4871,
24396,
198,
220,
220,
220,
825,
422,
62,
16514,
276,
12514,
7,
565,
82,
11,
584,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
42316,
281,
1058,
4871,
25,
63,
77,
457,
524,
63,
2134,
422,
257,
1058,
4871,
25,
63,
19608,
8079,
13,
16514,
276,
12514,
44646,
628,
220,
220,
220,
220,
220,
220,
220,
383,
7559,
16514,
276,
12514,
15506,
318,
2077,
284,
307,
262,
2033,
286,
640,
1201,
15896,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
537,
82,
3419,
1343,
584,
628,
220,
220,
220,
825,
284,
62,
16514,
276,
12514,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
42316,
257,
1058,
4871,
25,
63,
16514,
276,
12514,
63,
2134,
422,
281,
1058,
4871,
25,
63,
77,
457,
524,
44646,
220,
383,
198,
220,
220,
220,
220,
220,
220,
220,
28805,
12514,
3607,
262,
1271,
286,
4201,
357,
392,
4580,
43012,
8,
1201,
198,
220,
220,
220,
220,
220,
220,
220,
15896,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
28805,
12514,
7,
24425,
28,
944,
13,
9769,
11,
2431,
28,
944,
13,
11374,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4201,
28,
944,
13,
12227,
11,
4580,
43012,
28,
944,
13,
24055,
12227,
8,
628,
220,
220,
220,
825,
11593,
2860,
834,
7,
944,
11,
584,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
4550,
299,
457,
524,
290,
28805,
12514,
11,
8024,
281,
299,
457,
524,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
62,
28664,
796,
4818,
8079,
13,
24011,
500,
7,
944,
13557,
19282,
62,
4475,
11,
2116,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2160,
796,
2116,
62,
28664,
1343,
584,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
299,
457,
524,
13,
6738,
62,
2435,
7,
16345,
13,
2435,
28955,
628,
220,
220,
220,
825,
11593,
81,
2860,
834,
7,
944,
11,
584,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
4550,
28805,
12514,
290,
299,
457,
524,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
1343,
584,
628,
220,
220,
220,
825,
11593,
7266,
834,
7,
944,
11,
584,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
7004,
83,
974,
28805,
12514,
393,
299,
457,
524,
422,
299,
457,
524,
11,
8024,
257,
28805,
12514,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
39098,
7,
847,
11,
2116,
13,
834,
4871,
834,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
814,
796,
2116,
13,
1462,
62,
16514,
276,
12514,
3419,
532,
584,
13,
1462,
62,
16514,
276,
12514,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
814,
796,
2116,
13,
1462,
62,
16514,
276,
12514,
3419,
532,
584,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
814,
628,
628,
198
] | 2.802241 | 1,785 |
#!/usr/bin/env python
# coding=utf-8
'''
Author: BATU1579
Date: 2021-08-11 15:20:04
LastEditors: BATU1579
LastEditTime: 2021-08-16 22:33:54
Description: file content
'''
import logging
import library.const as g
from time import sleep
# 加载不同浏览器的驱动
if g.BROWSER == "edge":
# edge驱动设置
from msedge.selenium_tools import Edge as Driver
from library.webdriver_manager.microsoft import EdgeChromiumDriverManager as Manager
from msedge.selenium_tools import EdgeOptions
options = EdgeOptions()
options.use_chromium = True
options.add_experimental_option("excludeSwitches", ["enable-logging"]) # 不显示日志
elif g.BROWSER == "chrome":
# chrome驱动设置
from selenium.webdriver import Chrome as Driver
from library.webdriver_manager.chrome import ChromeDriverManager as Manager
from selenium.webdriver import ChromeOptions
options = ChromeOptions()
options.add_experimental_option("excludeSwitches", ["enable-logging"]) # 不显示日志
elif g.BROWSER == "firefox":
# firefox驱动设置
from selenium.webdriver import Firefox as Driver
from library.webdriver_manager.firefox import GeckoDriverManager as Manager
from selenium.webdriver import FirefoxOptions
options = FirefoxOptions()
set_github_token()
else:
g.LOG.error("暂不支持 %s 浏览器" % g.BROWSER)
exit()
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
2,
19617,
28,
40477,
12,
23,
198,
7061,
6,
198,
13838,
25,
37421,
52,
1314,
3720,
198,
10430,
25,
33448,
12,
2919,
12,
1157,
1315,
25,
1238,
25,
3023,
198,
5956,
18378,
669,
25,
37421,
52,
1314,
3720,
198,
5956,
18378,
7575,
25,
33448,
12,
2919,
12,
1433,
2534,
25,
2091,
25,
4051,
198,
11828,
25,
2393,
2695,
198,
7061,
6,
198,
11748,
18931,
198,
11748,
5888,
13,
9979,
355,
308,
198,
6738,
640,
1330,
3993,
628,
198,
198,
2,
10263,
232,
254,
164,
121,
121,
38834,
28938,
234,
38184,
237,
164,
100,
230,
161,
247,
101,
21410,
165,
102,
109,
27950,
101,
198,
361,
308,
13,
11473,
22845,
1137,
6624,
366,
14907,
1298,
198,
220,
220,
220,
1303,
5743,
165,
102,
109,
27950,
101,
164,
106,
122,
163,
121,
106,
198,
220,
220,
220,
422,
13845,
14907,
13,
741,
47477,
62,
31391,
1330,
13113,
355,
12434,
198,
220,
220,
220,
422,
5888,
13,
12384,
26230,
62,
37153,
13,
40485,
1330,
13113,
1925,
398,
1505,
32103,
13511,
355,
9142,
198,
220,
220,
220,
422,
13845,
14907,
13,
741,
47477,
62,
31391,
1330,
13113,
29046,
198,
220,
220,
220,
3689,
796,
13113,
29046,
3419,
198,
220,
220,
220,
3689,
13,
1904,
62,
28663,
1505,
796,
6407,
198,
220,
220,
220,
3689,
13,
2860,
62,
23100,
9134,
62,
18076,
7203,
1069,
9152,
10462,
9249,
1600,
14631,
21633,
12,
6404,
2667,
8973,
8,
220,
1303,
220,
38834,
23626,
122,
163,
97,
118,
33768,
98,
33232,
245,
198,
198,
417,
361,
308,
13,
11473,
22845,
1137,
6624,
366,
46659,
1298,
198,
220,
220,
220,
1303,
32030,
165,
102,
109,
27950,
101,
164,
106,
122,
163,
121,
106,
198,
220,
220,
220,
422,
384,
11925,
1505,
13,
12384,
26230,
1330,
13282,
355,
12434,
198,
220,
220,
220,
422,
5888,
13,
12384,
26230,
62,
37153,
13,
46659,
1330,
13282,
32103,
13511,
355,
9142,
198,
220,
220,
220,
422,
384,
11925,
1505,
13,
12384,
26230,
1330,
13282,
29046,
198,
220,
220,
220,
3689,
796,
13282,
29046,
3419,
198,
220,
220,
220,
3689,
13,
2860,
62,
23100,
9134,
62,
18076,
7203,
1069,
9152,
10462,
9249,
1600,
14631,
21633,
12,
6404,
2667,
8973,
8,
220,
1303,
220,
38834,
23626,
122,
163,
97,
118,
33768,
98,
33232,
245,
198,
198,
417,
361,
308,
13,
11473,
22845,
1137,
6624,
366,
6495,
12792,
1298,
198,
220,
220,
220,
1303,
2046,
12792,
165,
102,
109,
27950,
101,
164,
106,
122,
163,
121,
106,
198,
220,
220,
220,
422,
384,
11925,
1505,
13,
12384,
26230,
1330,
16802,
355,
12434,
198,
220,
220,
220,
422,
5888,
13,
12384,
26230,
62,
37153,
13,
6495,
12792,
1330,
2269,
37549,
32103,
13511,
355,
9142,
198,
220,
220,
220,
422,
384,
11925,
1505,
13,
12384,
26230,
1330,
16802,
29046,
198,
220,
220,
220,
3689,
796,
16802,
29046,
3419,
198,
220,
220,
220,
900,
62,
12567,
62,
30001,
3419,
198,
198,
17772,
25,
198,
220,
220,
220,
308,
13,
25294,
13,
18224,
7203,
162,
248,
224,
38834,
162,
242,
107,
162,
234,
223,
4064,
82,
10545,
113,
237,
164,
100,
230,
161,
247,
101,
1,
4064,
308,
13,
11473,
22845,
1137,
8,
198,
220,
220,
220,
8420,
3419,
628,
628
] | 2.485822 | 529 |
import os
import sys
import glob
import re
from kivy.lang import Builder
from kivy.event import EventDispatcher
def resource_path():
"""
PyInstaller対策。
"""
if hasattr(sys, '_MEIPASS'):
return os.path.join(sys._MEIPASS)
return os.path.join(os.path.dirname(os.path.abspath(__file__)))
def load_style(dir_path):
"""
指定したディレクトリに存在するkvファイルを読み込む
"""
style_files = glob.glob(dir_path)
for style in style_files:
Builder.load_file(style)
def register_event(handler):
"""
'on_'で始まるメソッドを探してイベントとして登録する
__init__メソッドに付けるデコレータ
"""
excludes = [
'on_opacity',
'on_touch_down',
'on_touch_move',
'on_touch_up'
]
return wrapper
| [
11748,
28686,
201,
198,
11748,
25064,
201,
198,
11748,
15095,
201,
198,
11748,
302,
201,
198,
6738,
479,
452,
88,
13,
17204,
1330,
35869,
201,
198,
6738,
479,
452,
88,
13,
15596,
1330,
8558,
7279,
8071,
2044,
201,
198,
201,
198,
201,
198,
4299,
8271,
62,
6978,
33529,
201,
198,
220,
220,
220,
37227,
201,
198,
220,
220,
220,
9485,
15798,
263,
43380,
122,
163,
255,
244,
16764,
201,
198,
220,
220,
220,
37227,
201,
198,
220,
220,
220,
611,
468,
35226,
7,
17597,
11,
705,
62,
11682,
4061,
10705,
6,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
28686,
13,
6978,
13,
22179,
7,
17597,
13557,
11682,
4061,
10705,
8,
201,
198,
220,
220,
220,
1441,
28686,
13,
6978,
13,
22179,
7,
418,
13,
6978,
13,
15908,
3672,
7,
418,
13,
6978,
13,
397,
2777,
776,
7,
834,
7753,
834,
22305,
201,
198,
201,
198,
201,
198,
4299,
3440,
62,
7635,
7,
15908,
62,
6978,
2599,
201,
198,
220,
220,
220,
37227,
201,
198,
220,
220,
220,
10545,
234,
229,
22522,
248,
22180,
25224,
40629,
24186,
14099,
13298,
12675,
28618,
27764,
246,
28839,
101,
33623,
25748,
74,
85,
41939,
11482,
9202,
31758,
45739,
255,
2515,
123,
164,
122,
120,
1792,
222,
201,
198,
220,
220,
220,
37227,
201,
198,
220,
220,
220,
3918,
62,
16624,
796,
15095,
13,
4743,
672,
7,
15908,
62,
6978,
8,
201,
198,
220,
220,
220,
329,
3918,
287,
3918,
62,
16624,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
35869,
13,
2220,
62,
7753,
7,
7635,
8,
201,
198,
201,
198,
201,
198,
4299,
7881,
62,
15596,
7,
30281,
2599,
201,
198,
220,
220,
220,
37227,
201,
198,
220,
220,
220,
705,
261,
62,
6,
30640,
34650,
233,
30159,
25748,
26998,
47559,
45435,
31758,
162,
236,
95,
22180,
28134,
11482,
35604,
6527,
13298,
30201,
22180,
28134,
163,
247,
119,
165,
234,
110,
33623,
25748,
201,
198,
220,
220,
220,
11593,
15003,
834,
26998,
47559,
45435,
28618,
20015,
246,
2515,
239,
25748,
21959,
24679,
24186,
6312,
23376,
201,
198,
220,
220,
220,
37227,
201,
198,
220,
220,
220,
36833,
796,
685,
201,
198,
220,
220,
220,
220,
220,
220,
220,
705,
261,
62,
404,
4355,
3256,
201,
198,
220,
220,
220,
220,
220,
220,
220,
705,
261,
62,
29332,
62,
2902,
3256,
201,
198,
220,
220,
220,
220,
220,
220,
220,
705,
261,
62,
29332,
62,
21084,
3256,
201,
198,
220,
220,
220,
220,
220,
220,
220,
705,
261,
62,
29332,
62,
929,
6,
201,
198,
220,
220,
220,
2361,
201,
198,
201,
198,
220,
220,
220,
1441,
29908,
201,
198,
201,
198
] | 1.785219 | 433 |
import os
import sys
import boto
from nose.tools import assert_in, assert_not_in, raises
from moto import mock_s3
from radula import RadulaProxy, _parse_args, Radula, RadulaError
TEST_BUCKET = "tests"
here = os.path.dirname(os.path.realpath(__file__))
TEST_FILE = os.path.join(here, "testdata.txt")
REMOTE_FILE = os.path.join(TEST_BUCKET, os.path.basename(TEST_FILE))
PRIMARY_USER = 'test-user'
ALT_USER = 'alt-user'
aws_url = "http://acs.amazonaws.com/groups/global"
aws_auth = aws_url + "/AuthenticatedUsers"
aws_all = aws_url + "/AllUsers"
@mock_s3
@mock_s3
@mock_s3
@raises(RadulaError)
@mock_s3
@mock_s3
| [
11748,
28686,
198,
11748,
25064,
198,
198,
11748,
275,
2069,
198,
6738,
9686,
13,
31391,
1330,
6818,
62,
259,
11,
6818,
62,
1662,
62,
259,
11,
12073,
198,
6738,
285,
2069,
1330,
15290,
62,
82,
18,
198,
6738,
2511,
4712,
1330,
5325,
4712,
44148,
11,
4808,
29572,
62,
22046,
11,
5325,
4712,
11,
5325,
4712,
12331,
628,
198,
51,
6465,
62,
33,
16696,
2767,
796,
366,
41989,
1,
198,
1456,
796,
28686,
13,
6978,
13,
15908,
3672,
7,
418,
13,
6978,
13,
5305,
6978,
7,
834,
7753,
834,
4008,
198,
51,
6465,
62,
25664,
796,
28686,
13,
6978,
13,
22179,
7,
1456,
11,
366,
9288,
7890,
13,
14116,
4943,
198,
40726,
23051,
62,
25664,
796,
28686,
13,
6978,
13,
22179,
7,
51,
6465,
62,
33,
16696,
2767,
11,
28686,
13,
6978,
13,
12093,
12453,
7,
51,
6465,
62,
25664,
4008,
198,
4805,
3955,
13153,
62,
29904,
796,
705,
9288,
12,
7220,
6,
198,
31429,
62,
29904,
796,
705,
2501,
12,
7220,
6,
198,
198,
8356,
62,
6371,
796,
366,
4023,
1378,
16436,
13,
33103,
8356,
13,
785,
14,
24432,
14,
20541,
1,
198,
8356,
62,
18439,
796,
3253,
82,
62,
6371,
1343,
12813,
47649,
3474,
14490,
1,
198,
8356,
62,
439,
796,
3253,
82,
62,
6371,
1343,
12813,
3237,
14490,
1,
628,
198,
198,
31,
76,
735,
62,
82,
18,
628,
198,
198,
31,
76,
735,
62,
82,
18,
628,
198,
198,
31,
76,
735,
62,
82,
18,
198,
31,
430,
2696,
7,
15546,
4712,
12331,
8,
628,
198,
198,
31,
76,
735,
62,
82,
18,
628,
198,
198,
31,
76,
735,
62,
82,
18,
198
] | 2.360902 | 266 |
# coding=utf-8
# Copyright 2021 The Trax Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Lint as: python3
"""Policy network training tasks.
Policy tasks encapsulate the training process of a policy network into a simple,
replaceable component. To implement a policy-based Agent using policy tasks:
1. Subclass the base Agent class.
2. In __init__(), initialize the policy training and evaluation tasks, and
a trax.supervised.training.Loop instance using them.
3. In train_epoch(), call the Loop to train the network.
4. In policy(), call network_policy() defined in this module.
"""
import numpy as np
from trax import layers as tl
from trax.fastmath import numpy as jnp
from trax.rl import distributions
from trax.supervised import training
class PolicyTrainTask(training.TrainTask):
"""Task for policy training.
Trains the policy based on action advantages.
"""
def __init__(
self,
trajectory_batch_stream,
optimizer,
lr_schedule,
policy_distribution,
advantage_estimator,
value_fn,
weight_fn=(lambda x: x),
advantage_normalization=True,
advantage_normalization_epsilon=1e-5,
head_selector=(),
):
"""Initializes PolicyTrainTask.
Args:
trajectory_batch_stream: Generator of trax.rl.task.TimeStepBatch.
optimizer: Optimizer for network training.
lr_schedule: Learning rate schedule for network training.
policy_distribution: Distribution over actions.
advantage_estimator: Function
(rewards, returns, values, dones) -> advantages, created by one of the
functions from trax.rl.advantages.
value_fn: Function TimeStepBatch -> array (batch_size, seq_len)
calculating the baseline for advantage calculation. Can be used to
implement actor-critic algorithms, by substituting a call to the value
network as value_fn.
weight_fn: Function float -> float to apply to advantages. Examples:
- A2C: weight_fn = id
- AWR: weight_fn = exp
- behavioral cloning: weight_fn(_) = 1
advantage_normalization: Whether to normalize advantages.
advantage_normalization_epsilon: Epsilon to use then normalizing
advantages.
head_selector: Layer to apply to the network output to select the value
head. Only needed in multitask training. By default, use a no-op layer,
signified by an empty sequence of layers, ().
"""
self.trajectory_batch_stream = trajectory_batch_stream
self._value_fn = value_fn
self._advantage_estimator = advantage_estimator
self._weight_fn = weight_fn
self._advantage_normalization = advantage_normalization
self._advantage_normalization_epsilon = advantage_normalization_epsilon
self.policy_distribution = policy_distribution
labeled_data = map(self.policy_batch, trajectory_batch_stream)
sample_batch = self.policy_batch(
next(trajectory_batch_stream), shape_only=True
)
loss_layer = distributions.LogLoss(distribution=policy_distribution)
loss_layer = tl.Serial(head_selector, loss_layer)
super().__init__(
labeled_data, loss_layer, optimizer,
sample_batch=sample_batch,
lr_schedule=lr_schedule,
loss_name='policy_loss',
)
def calculate_weights(self, advantages):
"""Calculates advantage-based weights for log loss in policy training."""
if self._advantage_normalization:
# Normalize advantages.
advantages -= jnp.mean(advantages)
advantage_std = jnp.std(advantages)
advantages /= advantage_std + self._advantage_normalization_epsilon
weights = self._weight_fn(advantages)
assert weights.shape == advantages.shape
return weights
def policy_batch(self, trajectory_batch, shape_only=False):
"""Computes a policy training batch based on a trajectory batch.
Args:
trajectory_batch: trax.rl.task.TimeStepBatch with a batch of trajectory
slices. Elements should have shape (batch_size, seq_len, ...).
shape_only: Whether to return dummy zero arrays of correct shape. Useful
for initializing models.
Returns:
Triple (observations, actions, weights), where weights are the
advantage-based weights for the policy loss. Shapes:
- observations: (batch_size, seq_len) + observation_shape
- actions: (batch_size, seq_len) + action_shape
- weights: (batch_size, seq_len)
"""
advantages = self.calculate_advantages(
trajectory_batch, shape_only=shape_only
)
(observations, actions, mask) = self.trim_batch(
trajectory_batch, advantages
)
weights = self.calculate_weights(advantages) * mask / jnp.sum(mask)
return (observations, actions, weights)
class PolicyEvalTask(training.EvalTask):
"""Task for policy evaluation."""
def __init__(self, train_task, n_eval_batches=1, head_selector=()):
"""Initializes PolicyEvalTask.
Args:
train_task: PolicyTrainTask used to train the policy network.
n_eval_batches: Number of batches per evaluation.
head_selector: Layer to apply to the network output to select the value
head. Only needed in multitask training.
"""
self._train_task = train_task
self._policy_dist = train_task.policy_distribution
labeled_data = map(self._eval_batch, train_task.trajectory_batch_stream)
sample_batch = self._eval_batch(
next(train_task.trajectory_batch_stream), shape_only=True
)
# TODO(pkozakowski): Implement more metrics.
metrics = {
'policy_entropy': self.entropy_metric,
}
metrics.update(self.advantage_metrics)
metrics.update(self.weight_metrics)
metrics = {
name: tl.Serial(head_selector, metric)
for (name, metric) in metrics.items()
}
(metric_names, metric_layers) = zip(*metrics.items())
# Select the appropriate head for evaluation.
super().__init__(
labeled_data, metric_layers,
sample_batch=sample_batch,
metric_names=metric_names,
n_eval_batches=n_eval_batches,
)
@property
@property
@property
| [
2,
19617,
28,
40477,
12,
23,
198,
2,
15069,
33448,
383,
4759,
87,
46665,
13,
198,
2,
198,
2,
49962,
739,
262,
24843,
13789,
11,
10628,
362,
13,
15,
357,
1169,
366,
34156,
15341,
198,
2,
345,
743,
407,
779,
428,
2393,
2845,
287,
11846,
351,
262,
13789,
13,
198,
2,
921,
743,
7330,
257,
4866,
286,
262,
13789,
379,
198,
2,
198,
2,
220,
220,
220,
220,
2638,
1378,
2503,
13,
43073,
13,
2398,
14,
677,
4541,
14,
43,
2149,
24290,
12,
17,
13,
15,
198,
2,
198,
2,
17486,
2672,
416,
9723,
1099,
393,
4987,
284,
287,
3597,
11,
3788,
198,
2,
9387,
739,
262,
13789,
318,
9387,
319,
281,
366,
1921,
3180,
1,
29809,
1797,
11,
198,
2,
42881,
34764,
11015,
6375,
7102,
49828,
11053,
3963,
15529,
509,
12115,
11,
2035,
4911,
393,
17142,
13,
198,
2,
4091,
262,
13789,
329,
262,
2176,
3303,
15030,
21627,
290,
198,
2,
11247,
739,
262,
13789,
13,
198,
198,
2,
406,
600,
355,
25,
21015,
18,
198,
37811,
36727,
3127,
3047,
8861,
13,
198,
198,
36727,
8861,
32652,
5039,
262,
3047,
1429,
286,
257,
2450,
3127,
656,
257,
2829,
11,
198,
33491,
540,
7515,
13,
1675,
3494,
257,
2450,
12,
3106,
15906,
1262,
2450,
8861,
25,
628,
220,
352,
13,
3834,
4871,
262,
2779,
15906,
1398,
13,
198,
220,
362,
13,
554,
11593,
15003,
834,
22784,
41216,
262,
2450,
3047,
290,
12660,
8861,
11,
290,
198,
220,
220,
220,
220,
257,
1291,
87,
13,
16668,
16149,
13,
34409,
13,
39516,
4554,
1262,
606,
13,
198,
220,
513,
13,
554,
4512,
62,
538,
5374,
22784,
869,
262,
26304,
284,
4512,
262,
3127,
13,
198,
220,
604,
13,
554,
2450,
22784,
869,
3127,
62,
30586,
3419,
5447,
287,
428,
8265,
13,
198,
37811,
198,
198,
11748,
299,
32152,
355,
45941,
198,
198,
6738,
1291,
87,
1330,
11685,
355,
256,
75,
198,
6738,
1291,
87,
13,
7217,
11018,
1330,
299,
32152,
355,
474,
37659,
198,
6738,
1291,
87,
13,
45895,
1330,
24570,
198,
6738,
1291,
87,
13,
16668,
16149,
1330,
3047,
628,
198,
4871,
7820,
44077,
25714,
7,
34409,
13,
44077,
25714,
2599,
198,
220,
37227,
25714,
329,
2450,
3047,
13,
628,
220,
833,
1299,
262,
2450,
1912,
319,
2223,
13391,
13,
198,
220,
37227,
628,
220,
825,
11593,
15003,
834,
7,
198,
220,
220,
220,
220,
220,
2116,
11,
198,
220,
220,
220,
220,
220,
22942,
62,
43501,
62,
5532,
11,
198,
220,
220,
220,
220,
220,
6436,
7509,
11,
198,
220,
220,
220,
220,
220,
300,
81,
62,
15952,
5950,
11,
198,
220,
220,
220,
220,
220,
2450,
62,
17080,
3890,
11,
198,
220,
220,
220,
220,
220,
4621,
62,
395,
320,
1352,
11,
198,
220,
220,
220,
220,
220,
1988,
62,
22184,
11,
198,
220,
220,
220,
220,
220,
3463,
62,
22184,
16193,
50033,
2124,
25,
2124,
828,
198,
220,
220,
220,
220,
220,
4621,
62,
11265,
1634,
28,
17821,
11,
198,
220,
220,
220,
220,
220,
4621,
62,
11265,
1634,
62,
538,
18217,
261,
28,
16,
68,
12,
20,
11,
198,
220,
220,
220,
220,
220,
1182,
62,
19738,
273,
16193,
828,
198,
220,
15179,
198,
220,
220,
220,
37227,
24243,
4340,
7820,
44077,
25714,
13,
628,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
22942,
62,
43501,
62,
5532,
25,
35986,
286,
1291,
87,
13,
45895,
13,
35943,
13,
7575,
8600,
33,
963,
13,
198,
220,
220,
220,
220,
220,
6436,
7509,
25,
30011,
7509,
329,
3127,
3047,
13,
198,
220,
220,
220,
220,
220,
300,
81,
62,
15952,
5950,
25,
18252,
2494,
7269,
329,
3127,
3047,
13,
198,
220,
220,
220,
220,
220,
2450,
62,
17080,
3890,
25,
27484,
625,
4028,
13,
198,
220,
220,
220,
220,
220,
4621,
62,
395,
320,
1352,
25,
15553,
198,
220,
220,
220,
220,
220,
220,
220,
357,
260,
2017,
11,
5860,
11,
3815,
11,
836,
274,
8,
4613,
13391,
11,
2727,
416,
530,
286,
262,
198,
220,
220,
220,
220,
220,
220,
220,
5499,
422,
1291,
87,
13,
45895,
13,
13461,
1095,
13,
198,
220,
220,
220,
220,
220,
1988,
62,
22184,
25,
15553,
3862,
8600,
33,
963,
4613,
7177,
357,
43501,
62,
7857,
11,
33756,
62,
11925,
8,
198,
220,
220,
220,
220,
220,
220,
220,
26019,
262,
14805,
329,
4621,
17952,
13,
1680,
307,
973,
284,
198,
220,
220,
220,
220,
220,
220,
220,
3494,
8674,
12,
22213,
291,
16113,
11,
416,
21436,
15129,
257,
869,
284,
262,
1988,
198,
220,
220,
220,
220,
220,
220,
220,
3127,
355,
1988,
62,
22184,
13,
198,
220,
220,
220,
220,
220,
3463,
62,
22184,
25,
15553,
12178,
4613,
12178,
284,
4174,
284,
13391,
13,
21066,
25,
198,
220,
220,
220,
220,
220,
220,
220,
532,
317,
17,
34,
25,
3463,
62,
22184,
796,
4686,
198,
220,
220,
220,
220,
220,
220,
220,
532,
14356,
49,
25,
3463,
62,
22184,
796,
1033,
198,
220,
220,
220,
220,
220,
220,
220,
532,
17211,
45973,
25,
3463,
62,
22184,
28264,
8,
796,
352,
198,
220,
220,
220,
220,
220,
4621,
62,
11265,
1634,
25,
10127,
284,
3487,
1096,
13391,
13,
198,
220,
220,
220,
220,
220,
4621,
62,
11265,
1634,
62,
538,
18217,
261,
25,
43427,
33576,
284,
779,
788,
3487,
2890,
198,
220,
220,
220,
220,
220,
220,
220,
13391,
13,
198,
220,
220,
220,
220,
220,
1182,
62,
19738,
273,
25,
34398,
284,
4174,
284,
262,
3127,
5072,
284,
2922,
262,
1988,
198,
220,
220,
220,
220,
220,
220,
220,
1182,
13,
5514,
2622,
287,
41785,
2093,
3047,
13,
2750,
4277,
11,
779,
257,
645,
12,
404,
7679,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1051,
1431,
416,
281,
6565,
8379,
286,
11685,
11,
27972,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
2116,
13,
9535,
752,
652,
62,
43501,
62,
5532,
796,
22942,
62,
43501,
62,
5532,
198,
220,
220,
220,
2116,
13557,
8367,
62,
22184,
796,
1988,
62,
22184,
198,
220,
220,
220,
2116,
13557,
13461,
496,
62,
395,
320,
1352,
796,
4621,
62,
395,
320,
1352,
198,
220,
220,
220,
2116,
13557,
6551,
62,
22184,
796,
3463,
62,
22184,
198,
220,
220,
220,
2116,
13557,
13461,
496,
62,
11265,
1634,
796,
4621,
62,
11265,
1634,
198,
220,
220,
220,
2116,
13557,
13461,
496,
62,
11265,
1634,
62,
538,
18217,
261,
796,
4621,
62,
11265,
1634,
62,
538,
18217,
261,
198,
220,
220,
220,
2116,
13,
30586,
62,
17080,
3890,
796,
2450,
62,
17080,
3890,
628,
220,
220,
220,
15494,
62,
7890,
796,
3975,
7,
944,
13,
30586,
62,
43501,
11,
22942,
62,
43501,
62,
5532,
8,
198,
220,
220,
220,
6291,
62,
43501,
796,
2116,
13,
30586,
62,
43501,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1306,
7,
9535,
752,
652,
62,
43501,
62,
5532,
828,
5485,
62,
8807,
28,
17821,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
2994,
62,
29289,
796,
24570,
13,
11187,
43,
793,
7,
17080,
3890,
28,
30586,
62,
17080,
3890,
8,
198,
220,
220,
220,
2994,
62,
29289,
796,
256,
75,
13,
32634,
7,
2256,
62,
19738,
273,
11,
2994,
62,
29289,
8,
198,
220,
220,
220,
2208,
22446,
834,
15003,
834,
7,
198,
220,
220,
220,
220,
220,
220,
220,
15494,
62,
7890,
11,
2994,
62,
29289,
11,
6436,
7509,
11,
198,
220,
220,
220,
220,
220,
220,
220,
6291,
62,
43501,
28,
39873,
62,
43501,
11,
198,
220,
220,
220,
220,
220,
220,
220,
300,
81,
62,
15952,
5950,
28,
14050,
62,
15952,
5950,
11,
198,
220,
220,
220,
220,
220,
220,
220,
2994,
62,
3672,
11639,
30586,
62,
22462,
3256,
198,
220,
220,
220,
1267,
628,
220,
825,
15284,
62,
43775,
7,
944,
11,
13391,
2599,
198,
220,
220,
220,
37227,
9771,
3129,
689,
4621,
12,
3106,
19590,
329,
2604,
2994,
287,
2450,
3047,
526,
15931,
198,
220,
220,
220,
611,
2116,
13557,
13461,
496,
62,
11265,
1634,
25,
198,
220,
220,
220,
220,
220,
1303,
14435,
1096,
13391,
13,
198,
220,
220,
220,
220,
220,
13391,
48185,
474,
37659,
13,
32604,
7,
13461,
1095,
8,
198,
220,
220,
220,
220,
220,
4621,
62,
19282,
796,
474,
37659,
13,
19282,
7,
13461,
1095,
8,
198,
220,
220,
220,
220,
220,
13391,
1220,
28,
4621,
62,
19282,
1343,
2116,
13557,
13461,
496,
62,
11265,
1634,
62,
538,
18217,
261,
198,
220,
220,
220,
19590,
796,
2116,
13557,
6551,
62,
22184,
7,
13461,
1095,
8,
198,
220,
220,
220,
6818,
19590,
13,
43358,
6624,
13391,
13,
43358,
198,
220,
220,
220,
1441,
19590,
628,
220,
825,
2450,
62,
43501,
7,
944,
11,
22942,
62,
43501,
11,
5485,
62,
8807,
28,
25101,
2599,
198,
220,
220,
220,
37227,
7293,
1769,
257,
2450,
3047,
15458,
1912,
319,
257,
22942,
15458,
13,
628,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
22942,
62,
43501,
25,
1291,
87,
13,
45895,
13,
35943,
13,
7575,
8600,
33,
963,
351,
257,
15458,
286,
22942,
198,
220,
220,
220,
220,
220,
220,
220,
24314,
13,
26632,
815,
423,
5485,
357,
43501,
62,
7857,
11,
33756,
62,
11925,
11,
2644,
737,
198,
220,
220,
220,
220,
220,
5485,
62,
8807,
25,
10127,
284,
1441,
31548,
6632,
26515,
286,
3376,
5485,
13,
49511,
198,
220,
220,
220,
220,
220,
220,
220,
329,
4238,
2890,
4981,
13,
628,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
19817,
357,
672,
3168,
602,
11,
4028,
11,
19590,
828,
810,
19590,
389,
262,
198,
220,
220,
220,
220,
220,
4621,
12,
3106,
19590,
329,
262,
2450,
2994,
13,
911,
7916,
25,
198,
220,
220,
220,
220,
220,
532,
13050,
25,
357,
43501,
62,
7857,
11,
33756,
62,
11925,
8,
1343,
13432,
62,
43358,
198,
220,
220,
220,
220,
220,
532,
4028,
25,
357,
43501,
62,
7857,
11,
33756,
62,
11925,
8,
1343,
2223,
62,
43358,
198,
220,
220,
220,
220,
220,
532,
19590,
25,
357,
43501,
62,
7857,
11,
33756,
62,
11925,
8,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
13391,
796,
2116,
13,
9948,
3129,
378,
62,
13461,
1095,
7,
198,
220,
220,
220,
220,
220,
220,
220,
22942,
62,
43501,
11,
5485,
62,
8807,
28,
43358,
62,
8807,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
357,
672,
3168,
602,
11,
4028,
11,
9335,
8,
796,
2116,
13,
2213,
320,
62,
43501,
7,
198,
220,
220,
220,
220,
220,
220,
220,
22942,
62,
43501,
11,
13391,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
19590,
796,
2116,
13,
9948,
3129,
378,
62,
43775,
7,
13461,
1095,
8,
1635,
9335,
1220,
474,
37659,
13,
16345,
7,
27932,
8,
198,
220,
220,
220,
1441,
357,
672,
3168,
602,
11,
4028,
11,
19590,
8,
628,
198,
4871,
7820,
36,
2100,
25714,
7,
34409,
13,
36,
2100,
25714,
2599,
198,
220,
37227,
25714,
329,
2450,
12660,
526,
15931,
628,
220,
825,
11593,
15003,
834,
7,
944,
11,
4512,
62,
35943,
11,
299,
62,
18206,
62,
8664,
2052,
28,
16,
11,
1182,
62,
19738,
273,
28,
3419,
2599,
198,
220,
220,
220,
37227,
24243,
4340,
7820,
36,
2100,
25714,
13,
628,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
4512,
62,
35943,
25,
7820,
44077,
25714,
973,
284,
4512,
262,
2450,
3127,
13,
198,
220,
220,
220,
220,
220,
299,
62,
18206,
62,
8664,
2052,
25,
7913,
286,
37830,
583,
12660,
13,
198,
220,
220,
220,
220,
220,
1182,
62,
19738,
273,
25,
34398,
284,
4174,
284,
262,
3127,
5072,
284,
2922,
262,
1988,
198,
220,
220,
220,
220,
220,
220,
220,
1182,
13,
5514,
2622,
287,
41785,
2093,
3047,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
2116,
13557,
27432,
62,
35943,
796,
4512,
62,
35943,
198,
220,
220,
220,
2116,
13557,
30586,
62,
17080,
796,
4512,
62,
35943,
13,
30586,
62,
17080,
3890,
198,
220,
220,
220,
15494,
62,
7890,
796,
3975,
7,
944,
13557,
18206,
62,
43501,
11,
4512,
62,
35943,
13,
9535,
752,
652,
62,
43501,
62,
5532,
8,
198,
220,
220,
220,
6291,
62,
43501,
796,
2116,
13557,
18206,
62,
43501,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1306,
7,
27432,
62,
35943,
13,
9535,
752,
652,
62,
43501,
62,
5532,
828,
5485,
62,
8807,
28,
17821,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
1303,
16926,
46,
7,
79,
7204,
89,
461,
12079,
2599,
48282,
517,
20731,
13,
198,
220,
220,
220,
20731,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
30586,
62,
298,
28338,
10354,
2116,
13,
298,
28338,
62,
4164,
1173,
11,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
20731,
13,
19119,
7,
944,
13,
13461,
496,
62,
4164,
10466,
8,
198,
220,
220,
220,
20731,
13,
19119,
7,
944,
13,
6551,
62,
4164,
10466,
8,
198,
220,
220,
220,
20731,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
1438,
25,
256,
75,
13,
32634,
7,
2256,
62,
19738,
273,
11,
18663,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
357,
3672,
11,
18663,
8,
287,
20731,
13,
23814,
3419,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
357,
4164,
1173,
62,
14933,
11,
18663,
62,
75,
6962,
8,
796,
19974,
46491,
4164,
10466,
13,
23814,
28955,
198,
220,
220,
220,
1303,
9683,
262,
5035,
1182,
329,
12660,
13,
198,
220,
220,
220,
2208,
22446,
834,
15003,
834,
7,
198,
220,
220,
220,
220,
220,
220,
220,
15494,
62,
7890,
11,
18663,
62,
75,
6962,
11,
198,
220,
220,
220,
220,
220,
220,
220,
6291,
62,
43501,
28,
39873,
62,
43501,
11,
198,
220,
220,
220,
220,
220,
220,
220,
18663,
62,
14933,
28,
4164,
1173,
62,
14933,
11,
198,
220,
220,
220,
220,
220,
220,
220,
299,
62,
18206,
62,
8664,
2052,
28,
77,
62,
18206,
62,
8664,
2052,
11,
198,
220,
220,
220,
1267,
628,
220,
2488,
26745,
628,
220,
2488,
26745,
628,
220,
2488,
26745,
198
] | 2.895197 | 2,290 |
import datetime as dt
import BitcoinNewsProcessor as bitcoin_news
import pandas as pd
from matplotlib import pyplot as plt
from sklearn import linear_model
from sklearn.metrics import mean_absolute_error, explained_variance_score
from sklearn.model_selection import train_test_split
from sklearn.preprocessing import Imputer
# read data
path = "/Users/shankarganesh/files/bitcoin/bitcoin_dataset.csv"
data = pd.read_csv(path, parse_dates=["Date"])
# get the news dataframe - shape : sentiment_date, sentiment
news_df = bitcoin_news.get_sentiment_by_date()
# merge with left join - left on index, right on sentiment_date
data = data.reset_index()
merge_df = pd.DataFrame(pd.merge(data, news_df, how='left', left_on='Date', right_on='sentiment_date'))
# sentiment not available for all dates. Replacing missing sentiments with neutral 0
merge_df['sentiment'].fillna(0, inplace=True)
# init imputer for handling missing values
imputer = Imputer()
# extract date out of merge, since date cannot be imputed
date_df = pd.DataFrame(pd.to_datetime(merge_df['Date']))
merge_df = merge_df.drop(['Date', 'sentiment_date'], axis=1)
# get all columns, so that col headers can be added after imputing
cols = merge_df.columns
# fill missing values
merge_df = pd.DataFrame(imputer.fit_transform(merge_df), columns=cols)
# add date back to the mix
merge_df = merge_df.assign(Date=date_df['Date'].map(dt.datetime.toordinal))
# prediction target
y = pd.DataFrame(merge_df.btc_market_price)
# predictors - removed sentiment date since it's already present in the index of original data
X = merge_df[merge_df.columns.difference(['btc_market_price', 'sentiment_date'])]
# split into train and test data
train_X, val_X, train_y, val_y = train_test_split(X, y, random_state=0)
# print evaluation metrics
evaluate_performance(train_X, val_X, train_y, val_y)
| [
11748,
4818,
8079,
355,
288,
83,
198,
198,
11748,
6185,
9980,
18709,
273,
355,
8550,
62,
10827,
198,
11748,
19798,
292,
355,
279,
67,
198,
6738,
2603,
29487,
8019,
1330,
12972,
29487,
355,
458,
83,
198,
6738,
1341,
35720,
1330,
14174,
62,
19849,
198,
6738,
1341,
35720,
13,
4164,
10466,
1330,
1612,
62,
48546,
62,
18224,
11,
4893,
62,
25641,
590,
62,
26675,
198,
6738,
1341,
35720,
13,
19849,
62,
49283,
1330,
4512,
62,
9288,
62,
35312,
198,
6738,
1341,
35720,
13,
3866,
36948,
1330,
1846,
10549,
198,
198,
2,
1100,
1366,
198,
6978,
796,
12813,
14490,
14,
1477,
962,
853,
272,
5069,
14,
16624,
14,
35395,
14,
35395,
62,
19608,
292,
316,
13,
40664,
1,
198,
7890,
796,
279,
67,
13,
961,
62,
40664,
7,
6978,
11,
21136,
62,
19581,
28,
14692,
10430,
8973,
8,
198,
198,
2,
651,
262,
1705,
1366,
14535,
532,
5485,
1058,
15598,
62,
4475,
11,
15598,
198,
10827,
62,
7568,
796,
8550,
62,
10827,
13,
1136,
62,
34086,
3681,
62,
1525,
62,
4475,
3419,
198,
198,
2,
20121,
351,
1364,
4654,
532,
1364,
319,
6376,
11,
826,
319,
15598,
62,
4475,
198,
7890,
796,
1366,
13,
42503,
62,
9630,
3419,
198,
647,
469,
62,
7568,
796,
279,
67,
13,
6601,
19778,
7,
30094,
13,
647,
469,
7,
7890,
11,
1705,
62,
7568,
11,
703,
11639,
9464,
3256,
1364,
62,
261,
11639,
10430,
3256,
826,
62,
261,
11639,
34086,
3681,
62,
4475,
6,
4008,
198,
198,
2,
15598,
407,
1695,
329,
477,
9667,
13,
18407,
4092,
4814,
26930,
351,
8500,
657,
198,
647,
469,
62,
7568,
17816,
34086,
3681,
6,
4083,
20797,
2616,
7,
15,
11,
287,
5372,
28,
17821,
8,
198,
198,
2,
2315,
848,
11894,
329,
9041,
4814,
3815,
198,
320,
10549,
796,
1846,
10549,
3419,
198,
198,
2,
7925,
3128,
503,
286,
20121,
11,
1201,
3128,
2314,
307,
848,
7241,
198,
4475,
62,
7568,
796,
279,
67,
13,
6601,
19778,
7,
30094,
13,
1462,
62,
19608,
8079,
7,
647,
469,
62,
7568,
17816,
10430,
20520,
4008,
198,
647,
469,
62,
7568,
796,
20121,
62,
7568,
13,
14781,
7,
17816,
10430,
3256,
705,
34086,
3681,
62,
4475,
6,
4357,
16488,
28,
16,
8,
198,
198,
2,
651,
477,
15180,
11,
523,
326,
951,
24697,
460,
307,
2087,
706,
848,
15129,
198,
4033,
82,
796,
20121,
62,
7568,
13,
28665,
82,
198,
198,
2,
6070,
4814,
3815,
198,
647,
469,
62,
7568,
796,
279,
67,
13,
6601,
19778,
7,
320,
10549,
13,
11147,
62,
35636,
7,
647,
469,
62,
7568,
828,
15180,
28,
4033,
82,
8,
198,
198,
2,
751,
3128,
736,
284,
262,
5022,
198,
647,
469,
62,
7568,
796,
20121,
62,
7568,
13,
562,
570,
7,
10430,
28,
4475,
62,
7568,
17816,
10430,
6,
4083,
8899,
7,
28664,
13,
19608,
8079,
13,
1462,
585,
1292,
4008,
198,
198,
2,
17724,
2496,
198,
88,
796,
279,
67,
13,
6601,
19778,
7,
647,
469,
62,
7568,
13,
18347,
66,
62,
10728,
62,
20888,
8,
198,
198,
2,
4331,
669,
532,
4615,
15598,
3128,
1201,
340,
338,
1541,
1944,
287,
262,
6376,
286,
2656,
1366,
198,
55,
796,
20121,
62,
7568,
58,
647,
469,
62,
7568,
13,
28665,
82,
13,
26069,
1945,
7,
17816,
18347,
66,
62,
10728,
62,
20888,
3256,
705,
34086,
3681,
62,
4475,
6,
12962,
60,
198,
198,
2,
6626,
656,
4512,
290,
1332,
1366,
198,
27432,
62,
55,
11,
1188,
62,
55,
11,
4512,
62,
88,
11,
1188,
62,
88,
796,
4512,
62,
9288,
62,
35312,
7,
55,
11,
331,
11,
4738,
62,
5219,
28,
15,
8,
628,
198,
198,
2,
3601,
12660,
20731,
198,
49786,
62,
26585,
7,
27432,
62,
55,
11,
1188,
62,
55,
11,
4512,
62,
88,
11,
1188,
62,
88,
8,
198
] | 3.006504 | 615 |
import tensorflow as tf
import numpy as np
import os
import csv
from tensorflow.python.framework import ops
import warnings
from sklearn.model_selection import train_test_split
import loadCleanup
warnings.filterwarnings("ignore")
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
ops.reset_default_graph()
tf.flags.DEFINE_boolean("allow_soft_placement", True, "Allow device soft device placement")
tf.flags.DEFINE_boolean("log_device_placement", False, "Log placement of ops on devices")
tf.flags.DEFINE_string("checkpointDir", "layer3min16reg1", "Checkpoint directory")
FLAGS = tf.flags.FLAGS
train, unknown = loadCleanup.getTrainTestDFs()
Y = loadCleanup.getValueColumn()
Y = np.array(Y.values).reshape((-1, 1))
trainX, testX, trainY, testY = train_test_split(train, Y, test_size=0.3, random_state=43)
out_dir = os.path.abspath(os.path.join(os.path.curdir, "runs", FLAGS.checkpointDir, "checkpoints"))
checkpoint_file = tf.train.latest_checkpoint(out_dir)
graph = tf.Graph()
with graph.as_default():
session_conf = tf.ConfigProto(
allow_soft_placement=FLAGS.allow_soft_placement,
log_device_placement=FLAGS.log_device_placement)
sess = tf.Session(config=session_conf)
with sess.as_default():
# Load the saved meta graph and restore variables
saver = tf.train.import_meta_graph("{}.meta".format(checkpoint_file))
saver.restore(sess, checkpoint_file)
w1 = graph.get_operation_by_name("W1").outputs[0]
w2 = graph.get_operation_by_name("W2").outputs[0]
wOut = graph.get_operation_by_name("WOut").outputs[0]
b1 = graph.get_operation_by_name("b1").outputs[0]
b2 = graph.get_operation_by_name("b2").outputs[0]
bOut = graph.get_operation_by_name("bOut").outputs[0]
l1 = tf.nn.relu(tf.nn.xw_plus_b(tf.convert_to_tensor(unknown, dtype=tf.float32), w1, b1), name="l1")
l2 = tf.nn.relu(tf.nn.xw_plus_b(l1, w2, b2), name="l2")
pred = tf.nn.xw_plus_b(l2, wOut, bOut, name="prediction")
predictions = sess.run(pred)
# predictions = np.column_stack((sess.run(pred)))
out_path = os.path.join(os.path.curdir, "submit.csv")
print("Saving evaluation to {0}".format(out_path))
with open(out_path, 'w') as f:
csv.writer(f).writerows(predictions)
| [
11748,
11192,
273,
11125,
355,
48700,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
28686,
198,
198,
11748,
269,
21370,
198,
6738,
11192,
273,
11125,
13,
29412,
13,
30604,
1330,
39628,
198,
11748,
14601,
198,
198,
6738,
1341,
35720,
13,
19849,
62,
49283,
1330,
4512,
62,
9288,
62,
35312,
198,
198,
11748,
3440,
32657,
929,
198,
198,
40539,
654,
13,
24455,
40539,
654,
7203,
46430,
4943,
198,
418,
13,
268,
2268,
17816,
10234,
62,
8697,
47,
62,
23678,
62,
25294,
62,
2538,
18697,
20520,
796,
705,
18,
6,
198,
2840,
13,
42503,
62,
12286,
62,
34960,
3419,
198,
198,
27110,
13,
33152,
13,
7206,
29940,
62,
2127,
21052,
7203,
12154,
62,
4215,
62,
489,
5592,
1600,
6407,
11,
366,
35265,
3335,
2705,
3335,
13127,
4943,
198,
27110,
13,
33152,
13,
7206,
29940,
62,
2127,
21052,
7203,
6404,
62,
25202,
62,
489,
5592,
1600,
10352,
11,
366,
11187,
13127,
286,
39628,
319,
4410,
4943,
198,
198,
27110,
13,
33152,
13,
7206,
29940,
62,
8841,
7203,
9122,
4122,
35277,
1600,
366,
29289,
18,
1084,
1433,
2301,
16,
1600,
366,
9787,
4122,
8619,
4943,
198,
38948,
50,
796,
48700,
13,
33152,
13,
38948,
50,
198,
198,
27432,
11,
6439,
796,
3440,
32657,
929,
13,
1136,
44077,
14402,
8068,
82,
3419,
198,
56,
796,
3440,
32657,
929,
13,
1136,
11395,
39470,
3419,
198,
56,
796,
45941,
13,
18747,
7,
56,
13,
27160,
737,
3447,
1758,
19510,
12,
16,
11,
352,
4008,
198,
27432,
55,
11,
1332,
55,
11,
4512,
56,
11,
1332,
56,
796,
4512,
62,
9288,
62,
35312,
7,
27432,
11,
575,
11,
1332,
62,
7857,
28,
15,
13,
18,
11,
4738,
62,
5219,
28,
3559,
8,
198,
198,
448,
62,
15908,
796,
28686,
13,
6978,
13,
397,
2777,
776,
7,
418,
13,
6978,
13,
22179,
7,
418,
13,
6978,
13,
66,
2799,
343,
11,
366,
48381,
1600,
9977,
4760,
50,
13,
9122,
4122,
35277,
11,
366,
9122,
13033,
48774,
198,
9122,
4122,
62,
7753,
796,
48700,
13,
27432,
13,
42861,
62,
9122,
4122,
7,
448,
62,
15908,
8,
198,
34960,
796,
48700,
13,
37065,
3419,
198,
4480,
4823,
13,
292,
62,
12286,
33529,
198,
220,
220,
220,
6246,
62,
10414,
796,
48700,
13,
16934,
2964,
1462,
7,
198,
220,
220,
220,
220,
220,
1249,
62,
4215,
62,
489,
5592,
28,
38948,
50,
13,
12154,
62,
4215,
62,
489,
5592,
11,
198,
220,
220,
220,
220,
220,
2604,
62,
25202,
62,
489,
5592,
28,
38948,
50,
13,
6404,
62,
25202,
62,
489,
5592,
8,
198,
220,
220,
220,
264,
408,
796,
48700,
13,
36044,
7,
11250,
28,
29891,
62,
10414,
8,
198,
220,
220,
220,
351,
264,
408,
13,
292,
62,
12286,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
8778,
262,
7448,
13634,
4823,
290,
11169,
9633,
198,
220,
220,
220,
220,
220,
220,
220,
473,
332,
796,
48700,
13,
27432,
13,
11748,
62,
28961,
62,
34960,
7203,
90,
27422,
28961,
1911,
18982,
7,
9122,
4122,
62,
7753,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
473,
332,
13,
2118,
382,
7,
82,
408,
11,
26954,
62,
7753,
8,
628,
220,
220,
220,
220,
220,
220,
220,
266,
16,
796,
4823,
13,
1136,
62,
27184,
62,
1525,
62,
3672,
7203,
54,
16,
11074,
22915,
82,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
266,
17,
796,
4823,
13,
1136,
62,
27184,
62,
1525,
62,
3672,
7203,
54,
17,
11074,
22915,
82,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
266,
7975,
796,
4823,
13,
1136,
62,
27184,
62,
1525,
62,
3672,
7203,
54,
7975,
11074,
22915,
82,
58,
15,
60,
628,
220,
220,
220,
220,
220,
220,
220,
275,
16,
796,
4823,
13,
1136,
62,
27184,
62,
1525,
62,
3672,
7203,
65,
16,
11074,
22915,
82,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
275,
17,
796,
4823,
13,
1136,
62,
27184,
62,
1525,
62,
3672,
7203,
65,
17,
11074,
22915,
82,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
275,
7975,
796,
4823,
13,
1136,
62,
27184,
62,
1525,
62,
3672,
7203,
65,
7975,
11074,
22915,
82,
58,
15,
60,
628,
220,
220,
220,
220,
220,
220,
220,
300,
16,
796,
48700,
13,
20471,
13,
260,
2290,
7,
27110,
13,
20471,
13,
87,
86,
62,
9541,
62,
65,
7,
27110,
13,
1102,
1851,
62,
1462,
62,
83,
22854,
7,
34680,
11,
288,
4906,
28,
27110,
13,
22468,
2624,
828,
266,
16,
11,
275,
16,
828,
1438,
2625,
75,
16,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
300,
17,
796,
48700,
13,
20471,
13,
260,
2290,
7,
27110,
13,
20471,
13,
87,
86,
62,
9541,
62,
65,
7,
75,
16,
11,
266,
17,
11,
275,
17,
828,
1438,
2625,
75,
17,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
2747,
796,
48700,
13,
20471,
13,
87,
86,
62,
9541,
62,
65,
7,
75,
17,
11,
266,
7975,
11,
275,
7975,
11,
1438,
2625,
28764,
2867,
4943,
628,
220,
220,
220,
220,
220,
220,
220,
16277,
796,
264,
408,
13,
5143,
7,
28764,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
16277,
796,
45941,
13,
28665,
62,
25558,
19510,
82,
408,
13,
5143,
7,
28764,
22305,
628,
220,
220,
220,
220,
220,
220,
220,
503,
62,
6978,
796,
28686,
13,
6978,
13,
22179,
7,
418,
13,
6978,
13,
66,
2799,
343,
11,
366,
46002,
13,
40664,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
50,
2703,
12660,
284,
1391,
15,
92,
1911,
18982,
7,
448,
62,
6978,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
351,
1280,
7,
448,
62,
6978,
11,
705,
86,
11537,
355,
277,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
269,
21370,
13,
16002,
7,
69,
737,
16002,
1666,
7,
28764,
9278,
8,
198
] | 2.386528 | 965 |
from datetime import timedelta as dt
import numpy as np
import matplotlib.pyplot as plt
from irise import convert, grid
from irise.diagnostics import rossby_waves
from myscripts.models.um import case_studies
def main(cubes, xbins, ybins, xlabel, ylabel, **kwargs):
"""
"""
# Load variables
thetapv2 = convert.calc('air_potential_temperature', cubes,
levels=('ertel_potential_vorticity', [2]))[0]
z_bl = convert.calc('atmosphere_boundary_layer_thickness', cubes)
# Create a ridge trough mask
theta_b = rossby_waves.nae_map(grid.get_datetime(thetapv2)[0])
dtheta = thetapv2.data - theta_b.data
# Calculate the pdf for ridges/troughs vs bl height
colourplot(z_bl.data.flatten(), dtheta.flatten(), xbins, ybins, **kwargs)
# Calculate the individual pdf for bl height
lineplot(z_bl.data, xbins, xlabel)
# Calculate the individual pdf for ridges/troughs
lineplot(dtheta, ybins, ylabel)
plt.show()
if __name__ == '__main__':
forecast = case_studies.iop5()
cubes = forecast.set_lead_time(dt(hours=36))
xbins = np.linspace(0, 4000, 9)
xlabel = 'Boundary Layer Height (m)'
ybins = np.linspace(-50, 50, 21)
ylabel = r'$\theta - \theta_b$ (K)'
main(cubes, xbins, ybins, xlabel, ylabel, vmin=0, vmax=10, cmap='plasma')
| [
6738,
4818,
8079,
1330,
28805,
12514,
355,
288,
83,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
6738,
4173,
786,
1330,
10385,
11,
10706,
198,
6738,
4173,
786,
13,
47356,
34558,
1330,
686,
824,
1525,
62,
32569,
198,
6738,
616,
46521,
13,
27530,
13,
388,
1330,
1339,
62,
19149,
444,
628,
198,
4299,
1388,
7,
66,
29080,
11,
2124,
65,
1040,
11,
331,
65,
1040,
11,
2124,
18242,
11,
331,
18242,
11,
12429,
46265,
22046,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1303,
8778,
9633,
198,
220,
220,
220,
262,
44335,
85,
17,
796,
10385,
13,
9948,
66,
10786,
958,
62,
13059,
1843,
62,
11498,
21069,
3256,
34896,
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,
2974,
28,
10786,
861,
417,
62,
13059,
1843,
62,
85,
419,
8467,
3256,
685,
17,
60,
4008,
58,
15,
60,
198,
220,
220,
220,
1976,
62,
2436,
796,
10385,
13,
9948,
66,
10786,
265,
6384,
1456,
62,
7784,
560,
62,
29289,
62,
400,
624,
1108,
3256,
34896,
8,
628,
220,
220,
220,
1303,
13610,
257,
32525,
45047,
9335,
198,
220,
220,
220,
262,
8326,
62,
65,
796,
686,
824,
1525,
62,
32569,
13,
2616,
68,
62,
8899,
7,
25928,
13,
1136,
62,
19608,
8079,
7,
1169,
44335,
85,
17,
38381,
15,
12962,
198,
220,
220,
220,
288,
1169,
8326,
796,
262,
44335,
85,
17,
13,
7890,
532,
262,
8326,
62,
65,
13,
7890,
628,
220,
220,
220,
1303,
27131,
378,
262,
37124,
329,
5755,
3212,
14,
83,
740,
82,
3691,
698,
6001,
198,
220,
220,
220,
9568,
29487,
7,
89,
62,
2436,
13,
7890,
13,
2704,
41769,
22784,
288,
1169,
8326,
13,
2704,
41769,
22784,
2124,
65,
1040,
11,
331,
65,
1040,
11,
12429,
46265,
22046,
8,
628,
220,
220,
220,
1303,
27131,
378,
262,
1981,
37124,
329,
698,
6001,
198,
220,
220,
220,
1627,
29487,
7,
89,
62,
2436,
13,
7890,
11,
2124,
65,
1040,
11,
2124,
18242,
8,
628,
220,
220,
220,
1303,
27131,
378,
262,
1981,
37124,
329,
5755,
3212,
14,
83,
740,
82,
198,
220,
220,
220,
1627,
29487,
7,
67,
1169,
8326,
11,
331,
65,
1040,
11,
331,
18242,
8,
628,
220,
220,
220,
458,
83,
13,
12860,
3419,
628,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
11092,
796,
1339,
62,
19149,
444,
13,
14922,
20,
3419,
198,
220,
220,
220,
34896,
796,
11092,
13,
2617,
62,
28230,
62,
2435,
7,
28664,
7,
24425,
28,
2623,
4008,
198,
220,
220,
220,
2124,
65,
1040,
796,
45941,
13,
21602,
10223,
7,
15,
11,
30123,
11,
860,
8,
198,
220,
220,
220,
2124,
18242,
796,
705,
49646,
560,
34398,
27280,
357,
76,
33047,
198,
220,
220,
220,
331,
65,
1040,
796,
45941,
13,
21602,
10223,
32590,
1120,
11,
2026,
11,
2310,
8,
198,
220,
220,
220,
331,
18242,
796,
374,
6,
3,
59,
1169,
8326,
532,
3467,
1169,
8326,
62,
65,
3,
357,
42,
33047,
198,
220,
220,
220,
1388,
7,
66,
29080,
11,
2124,
65,
1040,
11,
331,
65,
1040,
11,
2124,
18242,
11,
331,
18242,
11,
410,
1084,
28,
15,
11,
410,
9806,
28,
940,
11,
269,
8899,
11639,
489,
11797,
11537,
198
] | 2.371886 | 562 |
from itertools import *
X = []
X.extend(list(map(int,input().split())))
X.extend(list(map(int,input().split())))
X.extend(list(map(int,input().split())))
Ans = 81
for P in permutations(range(1,10)):
if sum(P[0:3]) == 15 and sum(P[3:6]) == 15 and sum(P[0::3]) == 15 and sum(P[1::3]) == 15 and P[0] + P[4] + P[8] == 15 and (P[2] + P[4] + P[6] == 15):
Ans = min(Ans, sum(abs(P[i] - X[i]) for i in range(0,9)))
print(Ans)
| [
6738,
340,
861,
10141,
1330,
1635,
198,
198,
55,
796,
17635,
198,
55,
13,
2302,
437,
7,
4868,
7,
8899,
7,
600,
11,
15414,
22446,
35312,
3419,
22305,
198,
55,
13,
2302,
437,
7,
4868,
7,
8899,
7,
600,
11,
15414,
22446,
35312,
3419,
22305,
198,
55,
13,
2302,
437,
7,
4868,
7,
8899,
7,
600,
11,
15414,
22446,
35312,
3419,
22305,
198,
198,
2025,
82,
796,
9773,
198,
1640,
350,
287,
9943,
32855,
7,
9521,
7,
16,
11,
940,
8,
2599,
198,
220,
220,
220,
611,
2160,
7,
47,
58,
15,
25,
18,
12962,
6624,
1315,
290,
2160,
7,
47,
58,
18,
25,
21,
12962,
6624,
1315,
290,
2160,
7,
47,
58,
15,
3712,
18,
12962,
6624,
1315,
290,
2160,
7,
47,
58,
16,
3712,
18,
12962,
6624,
1315,
290,
350,
58,
15,
60,
1343,
350,
58,
19,
60,
1343,
350,
58,
23,
60,
6624,
1315,
290,
357,
47,
58,
17,
60,
1343,
350,
58,
19,
60,
1343,
350,
58,
21,
60,
6624,
1315,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
28038,
796,
949,
7,
2025,
82,
11,
2160,
7,
8937,
7,
47,
58,
72,
60,
532,
1395,
58,
72,
12962,
329,
1312,
287,
2837,
7,
15,
11,
24,
22305,
198,
4798,
7,
2025,
82,
8,
198
] | 2.057143 | 210 |
##############################################################################
# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory.
#
# This file is part of Spack.
# Created by Todd Gamblin, [email protected], All rights reserved.
# LLNL-CODE-647188
#
# For details, see https://github.com/spack/spack
# Please also see the NOTICE and LICENSE files for our notice and the LGPL.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License (as
# published by the Free Software Foundation) version 2.1, February 1999.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
# conditions of the GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
##############################################################################
import sys
from spack import *
from distutils.dir_util import copy_tree
class Git(AutotoolsPackage):
"""Git is a free and open source distributed version control
system designed to handle everything from small to very large
projects with speed and efficiency.
"""
homepage = "http://git-scm.com"
url = "https://github.com/git/git/archive/v2.12.0.tar.gz"
# In order to add new versions here, add a new list entry with:
# * version: {version}
# * md5: the md5sum of the v{version}.tar.gz
# * md5_manpages: the md5sum of the corresponding manpage from
# https://www.kernel.org/pub/software/scm/git/git-manpages-{version}.tar.xz
releases = [
{
'version': '2.14.1',
'md5': 'e965a37b3d277f2e7e78f5b04de28e2a',
'md5_manpages': 'da2e75ea3972b9e93fb47023e3bf1401',
},
{
'version': '2.13.0',
'md5': 'd0f14da0ef1d22f1ce7f7876fadcb39f',
'md5_manpages': 'fda8d6d5314eb5a47e315405830f9970',
},
{
'version': '2.12.2',
'md5': 'f1a50c09ce8b5dd197f3c6c6d5ea8e75',
'md5_manpages': '9358777e9a67e57427b03884c82311bd',
},
{
'version': '2.12.1',
'md5': 'a05c614c80ecd41e50699f1562e1130c',
'md5_manpages': '8dfba0c9f51c6c23fb135d136c061c78',
},
{
'version': '2.12.0',
'md5': '11a440ce0ed02098adf554c797facfd3',
'md5_manpages': '4d11e05068231e37d7e42935e9cc43a1',
},
{
'version': '2.11.1',
'md5': '2cf960f19e56f27248816809ae896794',
'md5_manpages': 'ade1e458a34a89d03dda9a6de85976bd',
},
{
'version': '2.11.0',
'md5': 'c63fb83b86431af96f8e9722ebb3ca01',
'md5_manpages': '72718851626e5b2267877cc2194a1ac9',
},
{
'version': '2.9.3',
'md5': 'b0edfc0f3cb046aec7ed68a4b7282a75',
'md5_manpages': '337165a3b2bbe4814c73075cb6854ca2',
},
{
'version': '2.9.2',
'md5': '3ff8a9b30fd5c99a02e6d6585ab543fc',
'md5_manpages': 'c4f415b4fc94cf75a1deb651ba769594',
},
{
'version': '2.9.1',
'md5': 'a5d806743a992300b45f734d1667ddd2',
'md5_manpages': '2aa797ff70c704a563c910e04c0f620a',
},
{
'version': '2.9.0',
'md5': 'bf33a13c2adc05bc9d654c415332bc65',
'md5_manpages': 'c840c968062251b768ba9852fd29054c',
},
{
'version': '2.8.4',
'md5': '86afb10254c3803894c9863fb5896bb6',
'md5_manpages': '8340e772d60ccd04a5da88fa9c976dad',
},
{
'version': '2.8.3',
'md5': '0e19f31f96f9364fd247b8dc737dacfd',
'md5_manpages': '553827e1b6c422ecc485499c1a1ae28d',
},
{
'version': '2.8.2',
'md5': '3d55550880af98f6e35c7f1d7c5aecfe',
'md5_manpages': '33330463af27eb1238cbc2b4ca100b3a',
},
{
'version': '2.8.1',
'md5': '1308448d95afa41a4135903f22262fc8',
'md5_manpages': '87bc202c6f6ae32c1c46c2dda3134ed1',
},
{
'version': '2.8.0',
'md5': 'eca687e46e9750121638f258cff8317b',
'md5_manpages': 'd67a7db0f363e8c3b2960cd84ad0373f',
},
{
'version': '2.7.3',
'md5': 'fa1c008b56618c355a32ba4a678305f6',
'md5_manpages': '97a525cca7fe38ff6bd7aaa4f0438896',
},
{
'version': '2.7.1',
'md5': 'bf0706b433a8dedd27a63a72f9a66060',
'md5_manpages': '19881ca231f73dec91fb456d74943950',
},
]
for release in releases:
version(release['version'], release['md5'])
resource(
name='git-manpages',
url="https://www.kernel.org/pub/software/scm/git/git-manpages-{0}.tar.xz".format(
release['version']),
md5=release['md5_manpages'],
placement='git-manpages',
when='@{0}'.format(release['version']))
depends_on('curl')
depends_on('expat')
depends_on('gettext')
depends_on('libiconv')
depends_on('openssl')
depends_on('pcre', when='@:2.13')
depends_on('pcre+jit', when='@2.14:')
depends_on('perl')
depends_on('zlib')
depends_on('autoconf', type='build')
depends_on('automake', type='build')
depends_on('libtool', type='build')
depends_on('m4', type='build')
@run_after('configure')
@run_after('install')
@run_after('install')
| [
29113,
29113,
7804,
4242,
2235,
198,
2,
15069,
357,
66,
8,
2211,
12,
5539,
11,
13914,
45036,
3549,
2351,
4765,
11,
11419,
13,
198,
2,
21522,
771,
379,
262,
13914,
45036,
3549,
2351,
18643,
13,
198,
2,
198,
2,
770,
2393,
318,
636,
286,
1338,
441,
13,
198,
2,
15622,
416,
14377,
14014,
2436,
259,
11,
256,
28483,
2436,
259,
31,
297,
21283,
13,
9567,
11,
1439,
2489,
10395,
13,
198,
2,
27140,
32572,
12,
34,
16820,
12,
33981,
20356,
198,
2,
198,
2,
1114,
3307,
11,
766,
3740,
1378,
12567,
13,
785,
14,
2777,
441,
14,
2777,
441,
198,
2,
4222,
635,
766,
262,
28536,
290,
38559,
24290,
3696,
329,
674,
4003,
290,
262,
17370,
6489,
13,
198,
2,
198,
2,
770,
1430,
318,
1479,
3788,
26,
345,
460,
17678,
4163,
340,
290,
14,
273,
13096,
198,
2,
340,
739,
262,
2846,
286,
262,
22961,
12892,
263,
3611,
5094,
13789,
357,
292,
198,
2,
3199,
416,
262,
3232,
10442,
5693,
8,
2196,
362,
13,
16,
11,
3945,
7358,
13,
198,
2,
198,
2,
770,
1430,
318,
9387,
287,
262,
2911,
326,
340,
481,
307,
4465,
11,
475,
198,
2,
42881,
15529,
34764,
56,
26,
1231,
772,
262,
8959,
49094,
34764,
56,
3963,
198,
2,
34482,
3398,
1565,
5603,
25382,
393,
376,
46144,
7473,
317,
16652,
2149,
37232,
33079,
48933,
13,
4091,
262,
2846,
290,
198,
2,
3403,
286,
262,
22961,
12892,
263,
3611,
5094,
13789,
329,
517,
3307,
13,
198,
2,
198,
2,
921,
815,
423,
2722,
257,
4866,
286,
262,
22961,
12892,
263,
3611,
5094,
198,
2,
13789,
1863,
351,
428,
1430,
26,
611,
407,
11,
3551,
284,
262,
3232,
10442,
198,
2,
5693,
11,
3457,
1539,
7863,
10857,
8474,
11,
26264,
25508,
11,
6182,
11,
8779,
7816,
16243,
12,
12952,
22,
4916,
198,
29113,
29113,
7804,
4242,
2235,
198,
11748,
25064,
198,
6738,
599,
441,
1330,
1635,
198,
6738,
1233,
26791,
13,
15908,
62,
22602,
1330,
4866,
62,
21048,
628,
198,
4871,
15151,
7,
16541,
313,
10141,
27813,
2599,
198,
220,
220,
220,
37227,
38,
270,
318,
257,
1479,
290,
1280,
2723,
9387,
2196,
1630,
198,
220,
220,
220,
1080,
3562,
284,
5412,
2279,
422,
1402,
284,
845,
1588,
198,
220,
220,
220,
4493,
351,
2866,
290,
9332,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
34940,
796,
366,
4023,
1378,
18300,
12,
1416,
76,
13,
785,
1,
198,
220,
220,
220,
19016,
220,
220,
220,
220,
220,
796,
366,
5450,
1378,
12567,
13,
785,
14,
18300,
14,
18300,
14,
17474,
14,
85,
17,
13,
1065,
13,
15,
13,
18870,
13,
34586,
1,
628,
220,
220,
220,
1303,
554,
1502,
284,
751,
649,
6300,
994,
11,
751,
257,
649,
1351,
5726,
351,
25,
198,
220,
220,
220,
1303,
1635,
2196,
25,
1391,
9641,
92,
198,
220,
220,
220,
1303,
1635,
45243,
20,
25,
262,
45243,
20,
16345,
286,
262,
410,
90,
9641,
27422,
18870,
13,
34586,
198,
220,
220,
220,
1303,
1635,
45243,
20,
62,
805,
31126,
25,
262,
45243,
20,
16345,
286,
262,
11188,
582,
7700,
422,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
220,
220,
3740,
1378,
2503,
13,
33885,
13,
2398,
14,
12984,
14,
43776,
14,
1416,
76,
14,
18300,
14,
18300,
12,
805,
31126,
12,
90,
9641,
27422,
18870,
13,
87,
89,
628,
220,
220,
220,
10050,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9641,
10354,
705,
17,
13,
1415,
13,
16,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
10354,
705,
68,
24,
2996,
64,
2718,
65,
18,
67,
27019,
69,
17,
68,
22,
68,
3695,
69,
20,
65,
3023,
2934,
2078,
68,
17,
64,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
62,
805,
31126,
10354,
705,
6814,
17,
68,
2425,
18213,
2670,
4761,
65,
24,
68,
6052,
21855,
27790,
1954,
68,
18,
19881,
1415,
486,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9641,
10354,
705,
17,
13,
1485,
13,
15,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
10354,
705,
67,
15,
69,
1415,
6814,
15,
891,
16,
67,
1828,
69,
16,
344,
22,
69,
3695,
4304,
69,
324,
21101,
2670,
69,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
62,
805,
31126,
10354,
705,
69,
6814,
23,
67,
21,
67,
4310,
1415,
1765,
20,
64,
2857,
68,
27936,
1821,
3365,
1270,
69,
2079,
2154,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9641,
10354,
705,
17,
13,
1065,
13,
17,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
10354,
705,
69,
16,
64,
1120,
66,
2931,
344,
23,
65,
20,
1860,
24991,
69,
18,
66,
21,
66,
21,
67,
20,
18213,
23,
68,
2425,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
62,
805,
31126,
10354,
705,
24,
31128,
29331,
68,
24,
64,
3134,
68,
3553,
42363,
65,
15,
2548,
5705,
66,
23,
1954,
1157,
17457,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9641,
10354,
705,
17,
13,
1065,
13,
16,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
10354,
705,
64,
2713,
66,
46841,
66,
1795,
21142,
3901,
68,
35638,
2079,
69,
1314,
5237,
68,
1157,
1270,
66,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
62,
805,
31126,
10354,
705,
23,
7568,
7012,
15,
66,
24,
69,
4349,
66,
21,
66,
1954,
21855,
17059,
67,
20809,
66,
3312,
16,
66,
3695,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9641,
10354,
705,
17,
13,
1065,
13,
15,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
10354,
705,
1157,
64,
25644,
344,
15,
276,
33618,
4089,
324,
69,
44218,
66,
44673,
38942,
16344,
18,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
62,
805,
31126,
10354,
705,
19,
67,
1157,
68,
28669,
3104,
25667,
68,
2718,
67,
22,
68,
11785,
2327,
68,
24,
535,
3559,
64,
16,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9641,
10354,
705,
17,
13,
1157,
13,
16,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
10354,
705,
17,
12993,
39277,
69,
1129,
68,
3980,
69,
1983,
1731,
3459,
1433,
34583,
3609,
4531,
3134,
5824,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
62,
805,
31126,
10354,
705,
671,
16,
68,
29334,
64,
2682,
64,
4531,
67,
3070,
1860,
64,
24,
64,
21,
2934,
23,
3270,
4304,
17457,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9641,
10354,
705,
17,
13,
1157,
13,
15,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
10354,
705,
66,
5066,
21855,
5999,
65,
39570,
3132,
1878,
4846,
69,
23,
68,
5607,
1828,
1765,
65,
18,
6888,
486,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
62,
805,
31126,
10354,
705,
47760,
1507,
5332,
1433,
2075,
68,
20,
65,
1828,
30924,
3324,
535,
17,
22913,
64,
16,
330,
24,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9641,
10354,
705,
17,
13,
24,
13,
18,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
10354,
705,
65,
15,
276,
16072,
15,
69,
18,
21101,
45438,
64,
721,
22,
276,
3104,
64,
19,
65,
22,
32568,
64,
2425,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
62,
805,
31126,
10354,
705,
31496,
20986,
64,
18,
65,
17,
65,
1350,
2780,
1415,
66,
43916,
2425,
21101,
3104,
4051,
6888,
17,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9641,
10354,
705,
17,
13,
24,
13,
17,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
10354,
705,
18,
487,
23,
64,
24,
65,
1270,
16344,
20,
66,
2079,
64,
2999,
68,
21,
67,
2996,
5332,
397,
20,
3559,
16072,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
62,
805,
31126,
10354,
705,
66,
19,
69,
35038,
65,
19,
16072,
5824,
12993,
2425,
64,
16,
11275,
40639,
7012,
22,
3388,
46438,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9641,
10354,
705,
17,
13,
24,
13,
16,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
10354,
705,
64,
20,
67,
1795,
3134,
3559,
64,
2079,
1954,
405,
65,
2231,
69,
22,
2682,
67,
1433,
3134,
1860,
67,
17,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
62,
805,
31126,
10354,
705,
17,
7252,
44673,
487,
2154,
66,
32869,
64,
46572,
66,
43234,
68,
3023,
66,
15,
69,
38850,
64,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9641,
10354,
705,
17,
13,
24,
13,
15,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
10354,
705,
19881,
2091,
64,
1485,
66,
17,
324,
66,
2713,
15630,
24,
67,
39111,
66,
35038,
32148,
15630,
2996,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
62,
805,
31126,
10354,
705,
66,
40675,
66,
4846,
1795,
5237,
28072,
65,
30610,
7012,
4089,
4309,
16344,
1959,
2713,
19,
66,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9641,
10354,
705,
17,
13,
23,
13,
19,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
10354,
705,
4521,
1878,
65,
940,
24970,
66,
23734,
2548,
5824,
66,
4089,
5066,
21855,
3365,
4846,
11848,
21,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
62,
805,
31126,
10354,
705,
5999,
1821,
68,
43571,
67,
1899,
535,
67,
3023,
64,
20,
6814,
3459,
13331,
24,
66,
24,
4304,
47984,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9641,
10354,
705,
17,
13,
23,
13,
18,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
10354,
705,
15,
68,
1129,
69,
3132,
69,
4846,
69,
6052,
2414,
16344,
23753,
65,
23,
17896,
22,
2718,
67,
330,
16344,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
62,
805,
31126,
10354,
705,
2816,
2548,
1983,
68,
16,
65,
21,
66,
44361,
68,
535,
2780,
4051,
2079,
66,
16,
64,
16,
3609,
2078,
67,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9641,
10354,
705,
17,
13,
23,
13,
17,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
10354,
705,
18,
67,
2816,
22730,
41655,
1878,
4089,
69,
21,
68,
2327,
66,
22,
69,
16,
67,
22,
66,
20,
64,
721,
5036,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
62,
805,
31126,
10354,
705,
20370,
1270,
38380,
1878,
1983,
1765,
1065,
2548,
66,
15630,
17,
65,
19,
6888,
3064,
65,
18,
64,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9641,
10354,
705,
17,
13,
23,
13,
16,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
10354,
705,
12952,
23,
31115,
67,
3865,
28485,
3901,
64,
44103,
3270,
3070,
69,
1828,
29119,
16072,
23,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
62,
805,
31126,
10354,
705,
5774,
15630,
19004,
66,
21,
69,
21,
3609,
2624,
66,
16,
66,
3510,
66,
17,
1860,
64,
18,
19880,
276,
16,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9641,
10354,
705,
17,
13,
23,
13,
15,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
10354,
705,
31047,
39925,
68,
3510,
68,
42716,
486,
20666,
2548,
69,
25600,
66,
487,
5999,
1558,
65,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
62,
805,
31126,
10354,
705,
67,
3134,
64,
22,
9945,
15,
69,
35447,
68,
23,
66,
18,
65,
1959,
1899,
10210,
5705,
324,
15,
34770,
69,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9641,
10354,
705,
17,
13,
22,
13,
18,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
10354,
705,
13331,
16,
66,
25257,
65,
20,
2791,
1507,
66,
28567,
64,
2624,
7012,
19,
64,
30924,
22515,
69,
21,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
62,
805,
31126,
10354,
705,
5607,
64,
39088,
13227,
22,
5036,
2548,
487,
21,
17457,
22,
46071,
19,
69,
3023,
2548,
48712,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9641,
10354,
705,
17,
13,
22,
13,
16,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
10354,
705,
19881,
15,
35402,
65,
42117,
64,
23,
67,
6048,
1983,
64,
5066,
64,
4761,
69,
24,
64,
39885,
1899,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9132,
20,
62,
805,
31126,
10354,
705,
26709,
16,
6888,
25667,
69,
4790,
12501,
6420,
21855,
29228,
67,
22,
39449,
2670,
1120,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
2361,
628,
220,
220,
220,
329,
2650,
287,
10050,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2196,
7,
20979,
17816,
9641,
6,
4357,
2650,
17816,
9132,
20,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
8271,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1438,
11639,
18300,
12,
805,
31126,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19016,
2625,
5450,
1378,
2503,
13,
33885,
13,
2398,
14,
12984,
14,
43776,
14,
1416,
76,
14,
18300,
14,
18300,
12,
805,
31126,
12,
90,
15,
27422,
18870,
13,
87,
89,
1911,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2650,
17816,
9641,
20520,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45243,
20,
28,
20979,
17816,
9132,
20,
62,
805,
31126,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13127,
11639,
18300,
12,
805,
31126,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
618,
11639,
31,
90,
15,
92,
4458,
18982,
7,
20979,
17816,
9641,
20520,
4008,
628,
220,
220,
220,
8338,
62,
261,
10786,
66,
6371,
11537,
198,
220,
220,
220,
8338,
62,
261,
10786,
1069,
8071,
11537,
198,
220,
220,
220,
8338,
62,
261,
10786,
1136,
5239,
11537,
198,
220,
220,
220,
8338,
62,
261,
10786,
8019,
4749,
85,
11537,
198,
220,
220,
220,
8338,
62,
261,
10786,
44813,
6649,
11537,
198,
220,
220,
220,
8338,
62,
261,
10786,
79,
7513,
3256,
618,
11639,
31,
25,
17,
13,
1485,
11537,
198,
220,
220,
220,
8338,
62,
261,
10786,
79,
7513,
10,
45051,
3256,
618,
11639,
31,
17,
13,
1415,
25,
11537,
198,
220,
220,
220,
8338,
62,
261,
10786,
525,
75,
11537,
198,
220,
220,
220,
8338,
62,
261,
10786,
89,
8019,
11537,
628,
220,
220,
220,
8338,
62,
261,
10786,
2306,
36221,
69,
3256,
2099,
11639,
11249,
11537,
198,
220,
220,
220,
8338,
62,
261,
10786,
2306,
296,
539,
3256,
2099,
11639,
11249,
11537,
198,
220,
220,
220,
8338,
62,
261,
10786,
8019,
25981,
3256,
220,
2099,
11639,
11249,
11537,
198,
220,
220,
220,
8338,
62,
261,
10786,
76,
19,
3256,
220,
220,
220,
220,
220,
220,
2099,
11639,
11249,
11537,
628,
220,
220,
220,
2488,
5143,
62,
8499,
10786,
11250,
495,
11537,
628,
220,
220,
220,
2488,
5143,
62,
8499,
10786,
17350,
11537,
628,
220,
220,
220,
2488,
5143,
62,
8499,
10786,
17350,
11537,
198
] | 1.926094 | 3,085 |
import fasttext
import os
| [
11748,
3049,
5239,
198,
11748,
28686,
198
] | 3.714286 | 7 |
import logging
from discord import RawReactionActionEvent as ReactionEvent
from discord.ext import commands
from discord.utils import get
from cationbot.core.bot import Bot
from cationbot.core.env import env
class AutoRole(commands.Cog):
"""Add/Remove the tech/misc roles."""
@commands.Cog.listener()
async def on_raw_reaction_add(self, event: ReactionEvent):
"""Handle the event to add a role to member."""
await self._toggle(event)
@commands.Cog.listener()
async def on_raw_reaction_remove(self, event: ReactionEvent):
"""Handle the event to remove a role from member."""
await self._toggle(event)
| [
11748,
18931,
198,
198,
6738,
36446,
1330,
16089,
3041,
2673,
12502,
9237,
355,
39912,
9237,
198,
6738,
36446,
13,
2302,
1330,
9729,
198,
6738,
36446,
13,
26791,
1330,
651,
198,
198,
6738,
269,
341,
13645,
13,
7295,
13,
13645,
1330,
18579,
198,
6738,
269,
341,
13645,
13,
7295,
13,
24330,
1330,
17365,
628,
198,
4871,
11160,
47445,
7,
9503,
1746,
13,
34,
519,
2599,
198,
220,
220,
220,
37227,
4550,
14,
27914,
262,
7261,
14,
44374,
9176,
526,
15931,
628,
220,
220,
220,
2488,
9503,
1746,
13,
34,
519,
13,
4868,
877,
3419,
198,
220,
220,
220,
30351,
825,
319,
62,
1831,
62,
260,
2673,
62,
2860,
7,
944,
11,
1785,
25,
39912,
9237,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
37508,
262,
1785,
284,
751,
257,
2597,
284,
2888,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
25507,
2116,
13557,
44256,
7,
15596,
8,
628,
220,
220,
220,
2488,
9503,
1746,
13,
34,
519,
13,
4868,
877,
3419,
198,
220,
220,
220,
30351,
825,
319,
62,
1831,
62,
260,
2673,
62,
28956,
7,
944,
11,
1785,
25,
39912,
9237,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
37508,
262,
1785,
284,
4781,
257,
2597,
422,
2888,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
25507,
2116,
13557,
44256,
7,
15596,
8,
628
] | 2.968468 | 222 |
#!/usr/bin/env python3
import os
import gzip
import sys
filename_vcf = sys.argv[1]
gnomAD_list = dict()
dirname_gnomAD = os.path.join(os.path.dirname(os.path.realpath(__file__)),
'..', 'data')
for tmp_filename in os.listdir(dirname_gnomAD):
if not tmp_filename.endswith('vcf.gz'):
continue
if tmp_filename.find('gnomad') < 0:
continue
filename_gnomAD = os.path.join(dirname_gnomAD, tmp_filename)
f_gnomAD = gzip.open(filename_gnomAD, 'rt')
sys.stderr.write('Read %s\n' % filename_gnomAD)
for line in f_gnomAD:
tokens = line.strip().split("\t")
for tmp_alt in tokens[4].split(','):
var_id = '%s:%s:%s-%s' % (tokens[0], tokens[1], tokens[3], tmp_alt)
var_name = tokens[2]
gnomAD_list[var_id] = var_name
f_gnomAD.close()
f_vcf = open(filename_vcf, 'r')
if filename_vcf.endswith('.gz'):
f_vcf = gzip.open(filename_vcf, 'rt')
count_total = 0
count_filtered = 0
filename_out = filename_vcf.replace('.vcf', '+NoGnomAD.vcf')
if filename_vcf.endswith('.gz'):
filename_out = filename_vcf.replace('.vcf.gz', '+NoGnomAD.vcf')
f_out = open(filename_out, 'w')
for line in f_vcf:
if line.startswith('#'):
f_out.write("%s\n" % line.strip())
continue
tokens = line.strip().split("\t")
tmp_ref = tokens[3]
tmp_alt = tokens[4]
tmp_var_id = '%s:%s:%s-%s' % (tokens[0], tokens[1], tokens[3], tokens[4])
count_total += 1
if tokens[0].startswith('Mm'):
continue
if tmp_var_id not in gnomAD_list:
count_filtered += 1
f_out.write("%s\n" % line.strip())
f_out.close()
sys.stderr.write('Total Vars: %d\n' % count_total)
sys.stderr.write('Filtered Vars: %d\n' % count_filtered)
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
18,
198,
11748,
28686,
198,
11748,
308,
13344,
198,
11748,
25064,
198,
198,
34345,
62,
85,
12993,
796,
25064,
13,
853,
85,
58,
16,
60,
198,
198,
4593,
296,
2885,
62,
4868,
796,
8633,
3419,
198,
198,
15908,
3672,
62,
4593,
296,
2885,
796,
28686,
13,
6978,
13,
22179,
7,
418,
13,
6978,
13,
15908,
3672,
7,
418,
13,
6978,
13,
5305,
6978,
7,
834,
7753,
834,
36911,
198,
220,
220,
220,
220,
220,
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,
492,
3256,
705,
7890,
11537,
198,
198,
1640,
45218,
62,
34345,
287,
28686,
13,
4868,
15908,
7,
15908,
3672,
62,
4593,
296,
2885,
2599,
198,
220,
220,
220,
611,
407,
45218,
62,
34345,
13,
437,
2032,
342,
10786,
85,
12993,
13,
34586,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
611,
45218,
62,
34345,
13,
19796,
10786,
4593,
296,
324,
11537,
1279,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2555,
628,
220,
220,
220,
29472,
62,
4593,
296,
2885,
796,
28686,
13,
6978,
13,
22179,
7,
15908,
3672,
62,
4593,
296,
2885,
11,
45218,
62,
34345,
8,
198,
220,
220,
220,
277,
62,
4593,
296,
2885,
796,
308,
13344,
13,
9654,
7,
34345,
62,
4593,
296,
2885,
11,
705,
17034,
11537,
198,
220,
220,
220,
25064,
13,
301,
1082,
81,
13,
13564,
10786,
5569,
4064,
82,
59,
77,
6,
4064,
29472,
62,
4593,
296,
2885,
8,
198,
220,
220,
220,
329,
1627,
287,
277,
62,
4593,
296,
2885,
25,
198,
220,
220,
220,
220,
220,
220,
220,
16326,
796,
1627,
13,
36311,
22446,
35312,
7203,
59,
83,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
329,
45218,
62,
2501,
287,
16326,
58,
19,
4083,
35312,
7,
41707,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1401,
62,
312,
796,
705,
4,
82,
25,
4,
82,
25,
4,
82,
12,
4,
82,
6,
4064,
357,
83,
482,
641,
58,
15,
4357,
16326,
58,
16,
4357,
16326,
58,
18,
4357,
45218,
62,
2501,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1401,
62,
3672,
796,
16326,
58,
17,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19967,
296,
2885,
62,
4868,
58,
7785,
62,
312,
60,
796,
1401,
62,
3672,
198,
220,
220,
220,
277,
62,
4593,
296,
2885,
13,
19836,
3419,
198,
198,
69,
62,
85,
12993,
796,
1280,
7,
34345,
62,
85,
12993,
11,
705,
81,
11537,
198,
361,
29472,
62,
85,
12993,
13,
437,
2032,
342,
7,
4458,
34586,
6,
2599,
198,
220,
220,
220,
277,
62,
85,
12993,
796,
308,
13344,
13,
9654,
7,
34345,
62,
85,
12993,
11,
705,
17034,
11537,
198,
198,
9127,
62,
23350,
796,
657,
198,
9127,
62,
10379,
4400,
796,
657,
198,
34345,
62,
448,
796,
29472,
62,
85,
12993,
13,
33491,
7,
4458,
85,
12993,
3256,
705,
10,
2949,
38,
26601,
2885,
13,
85,
12993,
11537,
198,
361,
29472,
62,
85,
12993,
13,
437,
2032,
342,
7,
4458,
34586,
6,
2599,
198,
220,
220,
220,
29472,
62,
448,
796,
29472,
62,
85,
12993,
13,
33491,
7,
4458,
85,
12993,
13,
34586,
3256,
705,
10,
2949,
38,
26601,
2885,
13,
85,
12993,
11537,
198,
198,
69,
62,
448,
796,
1280,
7,
34345,
62,
448,
11,
705,
86,
11537,
198,
1640,
1627,
287,
277,
62,
85,
12993,
25,
198,
220,
220,
220,
611,
1627,
13,
9688,
2032,
342,
10786,
2,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
277,
62,
448,
13,
13564,
7203,
4,
82,
59,
77,
1,
4064,
1627,
13,
36311,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
2555,
628,
220,
220,
220,
16326,
796,
1627,
13,
36311,
22446,
35312,
7203,
59,
83,
4943,
198,
220,
220,
220,
45218,
62,
5420,
796,
16326,
58,
18,
60,
198,
220,
220,
220,
45218,
62,
2501,
796,
16326,
58,
19,
60,
198,
220,
220,
220,
45218,
62,
7785,
62,
312,
796,
705,
4,
82,
25,
4,
82,
25,
4,
82,
12,
4,
82,
6,
4064,
357,
83,
482,
641,
58,
15,
4357,
16326,
58,
16,
4357,
16326,
58,
18,
4357,
16326,
58,
19,
12962,
198,
220,
220,
220,
954,
62,
23350,
15853,
352,
628,
220,
220,
220,
611,
16326,
58,
15,
4083,
9688,
2032,
342,
10786,
44,
76,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
2555,
628,
220,
220,
220,
611,
45218,
62,
7785,
62,
312,
407,
287,
19967,
296,
2885,
62,
4868,
25,
198,
220,
220,
220,
220,
220,
220,
220,
954,
62,
10379,
4400,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
277,
62,
448,
13,
13564,
7203,
4,
82,
59,
77,
1,
4064,
1627,
13,
36311,
28955,
198,
69,
62,
448,
13,
19836,
3419,
198,
198,
17597,
13,
301,
1082,
81,
13,
13564,
10786,
14957,
569,
945,
25,
4064,
67,
59,
77,
6,
4064,
954,
62,
23350,
8,
198,
17597,
13,
301,
1082,
81,
13,
13564,
10786,
11928,
4400,
569,
945,
25,
4064,
67,
59,
77,
6,
4064,
954,
62,
10379,
4400,
8,
198
] | 2.046296 | 864 |
with open("day04.txt") as f:
data = [line for line in f]
identity = lambda s: s
anagram = lambda s: "".join(sorted(s))
print("2017 day 4 part 1: %d" % count_good_passwords(data, identity))
print("2017 day 4 part 2: %d" % count_good_passwords(data, anagram))
| [
198,
4480,
1280,
7203,
820,
3023,
13,
14116,
4943,
355,
277,
25,
198,
220,
220,
220,
1366,
796,
685,
1370,
329,
1627,
287,
277,
60,
198,
220,
220,
220,
5369,
796,
37456,
264,
25,
264,
198,
220,
220,
220,
281,
6713,
796,
37456,
264,
25,
366,
1911,
22179,
7,
82,
9741,
7,
82,
4008,
198,
220,
220,
220,
3601,
7203,
5539,
1110,
604,
636,
352,
25,
4064,
67,
1,
4064,
954,
62,
11274,
62,
6603,
10879,
7,
7890,
11,
5369,
4008,
198,
220,
220,
220,
3601,
7203,
5539,
1110,
604,
636,
362,
25,
4064,
67,
1,
4064,
954,
62,
11274,
62,
6603,
10879,
7,
7890,
11,
281,
6713,
4008,
198
] | 2.536364 | 110 |
import os
from flask import Flask, got_request_exception
from flask_jwt_extended.exceptions import JWTExtendedException
from jwt.exceptions import PyJWTError
from werkzeug.exceptions import HTTPException
from sqlalchemy.exc import OperationalError
from .apis import urls
from .config.celery_config import CeleryConfig
from .config.default_config import DefaultConfig
from .exceptions.service_exception import ServiceException
from .exceptions.system_exception import SystemException
from .extensions import (
cache, celery, cors, db, jwt_manager, migrate, # noqa
redis_store, swagger,
)
from .logger import log, init as log_init
_default_instance_path = '%(instance_path)s/instance' % \
{'instance_path': os.path.dirname(os.path.realpath(__file__))}
| [
11748,
28686,
198,
198,
6738,
42903,
1330,
46947,
11,
1392,
62,
25927,
62,
1069,
4516,
198,
6738,
42903,
62,
73,
46569,
62,
2302,
1631,
13,
1069,
11755,
1330,
449,
54,
9328,
742,
1631,
16922,
198,
6738,
474,
46569,
13,
1069,
11755,
1330,
9485,
41,
39386,
12331,
198,
6738,
266,
9587,
2736,
1018,
13,
1069,
11755,
1330,
14626,
16922,
198,
6738,
44161,
282,
26599,
13,
41194,
1330,
6564,
864,
12331,
198,
198,
6738,
764,
499,
271,
1330,
2956,
7278,
198,
6738,
764,
11250,
13,
7015,
88,
62,
11250,
1330,
15248,
1924,
16934,
198,
6738,
764,
11250,
13,
12286,
62,
11250,
1330,
15161,
16934,
198,
6738,
764,
1069,
11755,
13,
15271,
62,
1069,
4516,
1330,
4809,
16922,
198,
6738,
764,
1069,
11755,
13,
10057,
62,
1069,
4516,
1330,
4482,
16922,
198,
6738,
764,
2302,
5736,
1330,
357,
198,
220,
220,
220,
12940,
11,
18725,
1924,
11,
269,
669,
11,
20613,
11,
474,
46569,
62,
37153,
11,
32492,
11,
220,
1303,
645,
20402,
198,
220,
220,
220,
2266,
271,
62,
8095,
11,
1509,
7928,
11,
198,
8,
198,
6738,
764,
6404,
1362,
1330,
2604,
11,
2315,
355,
2604,
62,
15003,
198,
198,
62,
12286,
62,
39098,
62,
6978,
796,
705,
4,
7,
39098,
62,
6978,
8,
82,
14,
39098,
6,
4064,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1391,
6,
39098,
62,
6978,
10354,
28686,
13,
6978,
13,
15908,
3672,
7,
418,
13,
6978,
13,
5305,
6978,
7,
834,
7753,
834,
4008,
92,
628,
628,
628,
628
] | 3.019011 | 263 |
from setuptools import setup
setup(
name='k8s-deploy-external-dns',
version='1.0.0',
packages=['provider'],
url='',
license='',
author='Filippo Ferrazini',
author_email='[email protected]',
description=''
)
| [
6738,
900,
37623,
10141,
1330,
9058,
198,
198,
40406,
7,
198,
197,
3672,
11639,
74,
23,
82,
12,
2934,
1420,
12,
22615,
12,
67,
5907,
3256,
198,
197,
9641,
11639,
16,
13,
15,
13,
15,
3256,
198,
197,
43789,
28,
17816,
15234,
1304,
6,
4357,
198,
197,
6371,
11639,
3256,
198,
197,
43085,
11639,
3256,
198,
197,
9800,
11639,
37,
8908,
78,
12880,
3247,
5362,
3256,
198,
197,
9800,
62,
12888,
11639,
69,
8908,
78,
13,
2232,
3247,
5362,
31,
14816,
13,
785,
3256,
198,
197,
11213,
28,
7061,
198,
8,
198
] | 2.456522 | 92 |
import torch
from ..builder import BBOX_ASSIGNERS
from ..iou_calculators import build_iou_calculator
from .assign_result import AssignResult
from .base_assigner import BaseAssigner
from ...bbox.iou_calculators.iou2d_calculator import bbox_overlaps
@BBOX_ASSIGNERS.register_module()
class ATSSCostAssignerCenterAllTopk(BaseAssigner):
"""Assign a corresponding gt bbox or background to each bbox.
Each proposals will be assigned with `0` or a positive integer
indicating the ground truth index.
- 0: negative sample, no assigned gt
- positive integer: positive sample, index (1-based) of assigned gt
Args:
topk (float): number of bbox selected in each level
"""
# https://github.com/sfzhang15/ATSS/blob/master/atss_core/modeling/rpn/atss/loss.py
def assign(self,
bboxes,
num_level_bboxes,
cls_scores,
bbox_preds, # NOTE prediction instead of pre-defined
bbox_coder, # NOTE bbox_coder
gt_bboxes,
gt_bboxes_ignore=None,
gt_labels=None):
"""Assign gt to bboxes.
The assignment is done in following steps
1. compute iou between all bbox (bbox of all pyramid levels) and gt
2. compute center distance between all bbox and gt
3. on each pyramid level, for each gt, select k bbox whose center
are closest to the gt center, so we total select k*l bbox as
candidates for each gt
4. get corresponding iou for the these candidates, and compute the
mean and std, set mean + std as the iou threshold
5. select these candidates whose iou are greater than or equal to
the threshold as postive
6. limit the positive sample's center in gt
Args:
bboxes (Tensor): Bounding boxes to be assigned, shape(n, 4).
num_level_bboxes (List): num of bboxes in each level
gt_bboxes (Tensor): Groundtruth boxes, shape (k, 4).
gt_bboxes_ignore (Tensor, optional): Ground truth bboxes that are
labelled as `ignored`, e.g., crowd boxes in COCO.
gt_labels (Tensor, optional): Label of gt_bboxes, shape (k, ).
Returns:
:obj:`AssignResult`: The assign result.
"""
INF = 100000000
bboxes = bboxes[:, :4]
bbox_preds = bbox_preds.detach()
cls_scores = cls_scores.detach()
num_gt, num_bboxes, num_bbox_preds = gt_bboxes.size(0), bboxes.size(0), bbox_preds.size(0)
assert num_bboxes == num_bbox_preds
# assign 0 by default
assigned_gt_inds = cls_scores.new_full((num_bboxes, ),
0,
dtype=torch.long)
if num_gt == 0 or num_bboxes == 0:
# No ground truth or boxes, return empty assignment
max_overlaps = cls_scores.new_zeros((num_bboxes, ))
if num_gt == 0:
# No truth, assign everything to background
assigned_gt_inds[:] = 0
if gt_labels is None:
assigned_labels = None
else:
assigned_labels = cls_scores.new_full((num_bboxes, ),
-1,
dtype=torch.long)
return AssignResult(num_gt, assigned_gt_inds, max_overlaps, labels=assigned_labels)
if (self.ignore_iof_thr > 0 and gt_bboxes_ignore is not None
and gt_bboxes_ignore.numel() > 0 and bboxes.numel() > 0):
ignore_overlaps = self.iou_calculator(
bboxes, gt_bboxes_ignore, mode='iof')
ignore_max_overlaps, _ = ignore_overlaps.max(dim=1)
ignore_idxs = ignore_max_overlaps > self.ignore_iof_thr
assigned_gt_inds[ignore_idxs] = -1
assert True==False
bbox_repeat = bboxes.unsqueeze(1).repeat(1, num_gt, 1).view(-1, 4)
bbox_preds_repeat = bbox_preds.unsqueeze(1).repeat(1, num_gt, 1)
gt_bboxes_repeat = gt_bboxes.unsqueeze(0).repeat(num_bbox_preds, 1, 1)
bbox_preds_decode = bbox_coder.decode(bbox_repeat, bbox_preds_repeat.view(-1,4)).view(num_bbox_preds, num_gt, 4)
gt_bboxes_decode = gt_bboxes_repeat
bbox_preds_encode = bbox_preds_repeat
gt_bboxes_encode = bbox_coder.encode(bbox_repeat, gt_bboxes_repeat.view(-1,4)).view(num_bbox_preds, num_gt, 4)
bbox_preds_x = (bbox_preds_decode[:, :, 0] + bbox_preds_decode[:, :, 2]) * 0.5
bbox_preds_y = (bbox_preds_decode[:, :, 1] + bbox_preds_decode[:, :, 3]) * 0.5
bbox_preds_center = torch.stack([bbox_preds_x, bbox_preds_y], dim=-1)
bboxes_repeat = bboxes.unsqueeze(1).repeat(1, num_gt, 1)
bboxes_x = (bboxes_repeat[:, :, 0] + bboxes_repeat[:, :, 2]) * 0.5
bboxes_y = (bboxes_repeat[:, :, 1] + bboxes_repeat[:, :, 3]) * 0.5
bboxes_w = (bboxes_repeat[:, :, 2] - bboxes_repeat[:, :, 0])
bboxes_h = (bboxes_repeat[:, :, 3] - bboxes_repeat[:, :, 1])
bboxes_center = torch.stack([bboxes_x, bboxes_y], dim=-1)
bboxes_wh = torch.stack([bboxes_w, bboxes_h], dim=-1)
gt_center_x = (gt_bboxes_decode[:, :, 0] + gt_bboxes_decode[:, :, 2]) * 0.5
gt_center_y = (gt_bboxes_decode[:, :, 1] + gt_bboxes_decode[:, :, 3]) * 0.5
gt_center = torch.stack([gt_center_x, gt_center_y], dim=-1)
# cls_cost只对每个gt取对应的gt_label进行计算
cls_scores_repeat = cls_scores[:, gt_labels].sigmoid()
# giou loss
cost_bbox_num = bbox_overlaps(bbox_preds_decode, gt_bboxes_decode, mode='giou', is_aligned=True, eps=1e-7)
cost_bbox_num = 1 - cost_bbox_num
# l1 loss
cost_bbox2_num = torch.abs(bbox_preds_encode - gt_bboxes_encode) * 0.5
cost_bbox2_num = cost_bbox2_num.mean(dim=2)
# focal loss
gamma = 2.0
cost_cls_num = 0.5 * ((1 - cls_scores_repeat) ** gamma) * (-(cls_scores_repeat + 1e-8).log())
# print('cost_bbox_num :', cost_bbox_num)
# print('cost_bbox2_num :', cost_bbox2_num)
# print('cost_cls_num :', cost_cls_num)
assert cost_bbox2_num.shape == cost_cls_num.shape
assert torch.all(cost_bbox_num >= 0)
assert torch.all(cost_bbox2_num >= 0)
assert torch.all(cost_cls_num >= 0)
overlaps = cost_bbox_num + cost_bbox2_num + cost_cls_num
anchor_distance_cost = torch.abs(bbox_preds_center - bboxes_center) * 0.5
# NOTE:对anchor_distance_cost进行归一化(按bbox的wh大小分别对xy归一化)
anchor_distance_cost = anchor_distance_cost / (bboxes_wh / 8)
# print('anchor_distance_cost :', anchor_distance_cost)
# 计算L2距离
anchor_distance_cost = pow(anchor_distance_cost[:, :, 0], 2) + pow(anchor_distance_cost[:, :, 1], 2)
anchor_distance_cost = pow(anchor_distance_cost, 0.5)
anchor_distance_ratio = (0.5 * anchor_distance_cost + torch.full_like(anchor_distance_cost, 1))
assert torch.all(anchor_distance_ratio >= 0)
overlaps = overlaps * anchor_distance_ratio
# print('anchor_distance_ratio :', anchor_distance_ratio)
# NOTE: 确保predicted和anchor的shape,并在索引时一一对应,因为overlap是根据predicted排序的,而assign的时候是根据overlap的顺序assign给anchor
assert overlaps.shape[0] == assigned_gt_inds.shape[0]
overlaps_thr_per_gt = overlaps.topk(self.topk, dim=0, largest=False)[0][self.topk - 1]
is_pos = overlaps <= overlaps_thr_per_gt[None, :]
bboxes_cx = (bboxes[:, 0] + bboxes[:, 2]) / 2.0
bboxes_cy = (bboxes[:, 1] + bboxes[:, 3]) / 2.0
# limit the positive sample's center in gt
ep_bboxes_cx = bboxes_cx.view(-1, 1).expand(
num_bboxes, num_gt).contiguous()
ep_bboxes_cy = bboxes_cy.view(-1, 1).expand(
num_bboxes, num_gt).contiguous()
# calculate the left, top, right, bottom distance between positive
# bbox center and gt side
l_ = ep_bboxes_cx - gt_bboxes[:, 0]
t_ = ep_bboxes_cy - gt_bboxes[:, 1]
r_ = gt_bboxes[:, 2] - ep_bboxes_cx
b_ = gt_bboxes[:, 3] - ep_bboxes_cy
is_in_gts = torch.stack([l_, t_, r_, b_], dim=1).min(dim=1)[0] > 0.01
is_pos = is_pos & is_in_gts
overlaps_inf = torch.full_like(overlaps,
INF).contiguous().view(-1)
index = is_pos.view(-1)
overlaps_inf[index] = overlaps.contiguous().view(-1)[index]
overlaps_inf = overlaps_inf.view(-1, num_gt)
# NOTE: 第一次assign,用于计算第一次的rank
max_overlaps, argmax_overlaps = overlaps_inf.min(dim=1)
assigned_gt_inds[
max_overlaps != INF] = argmax_overlaps[max_overlaps != INF] + 1
# get the cost ranks of bboxes
ranked_values, indices = overlaps_inf.topk(k=num_bboxes, dim=0, largest=False)
assert torch.all(ranked_values >= 0)
ranked_values = ranked_values % INF
ranks = torch.full_like(overlaps_inf ,-1).contiguous()
for i in range(num_gt):
ranks[indices[:, i], i] = torch.arange(num_bboxes).type_as(overlaps_inf)
assert torch.all(ranks != -1)
sort_dim0 = torch.where(assigned_gt_inds > 0)[0]
conflict_num = (overlaps_inf != INF).sum(dim=1)
conflict_sort_dim0 = (conflict_num > 1) # 有冲突的anchor的dim0索引
sort_dim1 = torch.full_like(assigned_gt_inds, -1)
sort_dim1[sort_dim0] = argmax_overlaps[sort_dim0]
# NOTE: 如果一个anchor分配给多个gt,取rank最高的那个gt
if len(conflict_sort_dim0) > 0 :
ranks_inf = torch.full_like(ranks, INF).contiguous().view(-1)
overlaps_conflict = torch.full_like(overlaps_inf, -INF)
overlaps_conflict[conflict_sort_dim0] = overlaps_inf[conflict_sort_dim0]
dim0, dim1 = torch.where(overlaps_conflict > 0)
index = dim0 * num_gt + dim1
ranks_inf[index] = ranks.view(-1)[index]
ranks_inf = ranks_inf.view(num_bboxes, num_gt)
_, conflict_valid_dim1 = torch.min(ranks_inf, dim=1)
sort_dim1[conflict_sort_dim0] = conflict_valid_dim1[conflict_sort_dim0]
sort_dim1 = sort_dim1[sort_dim0]
assert torch.all(sort_dim1 != -1)
assert sort_dim0.shape == sort_dim1.shape
# NOTE: 第二次assign,根据rank排序后得到
assigned_gt_inds[sort_dim0] = sort_dim1 + 1
max_overlaps[sort_dim0] = overlaps_inf[sort_dim0, sort_dim1]
if gt_labels is not None:
assigned_labels = assigned_gt_inds.new_full((num_bboxes, ), -1)
pos_inds = torch.nonzero(
assigned_gt_inds > 0, as_tuple=False).squeeze()
if pos_inds.numel() > 0:
assigned_labels[pos_inds] = gt_labels[
assigned_gt_inds[pos_inds] - 1]
else:
assigned_labels = None
return AssignResult(num_gt, assigned_gt_inds, max_overlaps, labels=assigned_labels)
| [
11748,
28034,
198,
198,
6738,
11485,
38272,
1330,
347,
39758,
62,
10705,
16284,
4877,
198,
6738,
11485,
72,
280,
62,
9948,
3129,
2024,
1330,
1382,
62,
72,
280,
62,
9948,
3129,
1352,
198,
6738,
764,
562,
570,
62,
20274,
1330,
2195,
570,
23004,
198,
6738,
764,
8692,
62,
562,
570,
263,
1330,
7308,
8021,
570,
263,
198,
6738,
2644,
65,
3524,
13,
72,
280,
62,
9948,
3129,
2024,
13,
72,
280,
17,
67,
62,
9948,
3129,
1352,
1330,
275,
3524,
62,
2502,
75,
1686,
198,
198,
31,
33,
39758,
62,
10705,
16284,
4877,
13,
30238,
62,
21412,
3419,
198,
4871,
317,
4694,
6173,
455,
8021,
570,
263,
23656,
3237,
9126,
74,
7,
14881,
8021,
570,
263,
2599,
198,
220,
220,
220,
37227,
8021,
570,
257,
11188,
308,
83,
275,
3524,
393,
4469,
284,
1123,
275,
3524,
13,
628,
220,
220,
220,
5501,
11628,
481,
307,
8686,
351,
4600,
15,
63,
393,
257,
3967,
18253,
198,
220,
220,
220,
12739,
262,
2323,
3872,
6376,
13,
628,
220,
220,
220,
532,
657,
25,
4633,
6291,
11,
645,
8686,
308,
83,
198,
220,
220,
220,
532,
3967,
18253,
25,
3967,
6291,
11,
6376,
357,
16,
12,
3106,
8,
286,
8686,
308,
83,
628,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1353,
74,
357,
22468,
2599,
1271,
286,
275,
3524,
6163,
287,
1123,
1241,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
1303,
3740,
1378,
12567,
13,
785,
14,
28202,
23548,
648,
1314,
14,
1404,
5432,
14,
2436,
672,
14,
9866,
14,
265,
824,
62,
7295,
14,
4666,
10809,
14,
81,
21999,
14,
265,
824,
14,
22462,
13,
9078,
628,
220,
220,
220,
825,
8333,
7,
944,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
29305,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
997,
62,
5715,
62,
65,
29305,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
537,
82,
62,
1416,
2850,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
3524,
62,
28764,
82,
11,
220,
1303,
24550,
17724,
2427,
286,
662,
12,
23211,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
3524,
62,
66,
12342,
11,
220,
1303,
24550,
275,
3524,
62,
66,
12342,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
308,
83,
62,
65,
29305,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
308,
83,
62,
65,
29305,
62,
46430,
28,
14202,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
308,
83,
62,
23912,
1424,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
8021,
570,
308,
83,
284,
275,
29305,
13,
628,
220,
220,
220,
220,
220,
220,
220,
383,
16237,
318,
1760,
287,
1708,
4831,
628,
220,
220,
220,
220,
220,
220,
220,
352,
13,
24061,
1312,
280,
1022,
477,
275,
3524,
357,
65,
3524,
286,
477,
27944,
2974,
8,
290,
308,
83,
198,
220,
220,
220,
220,
220,
220,
220,
362,
13,
24061,
3641,
5253,
1022,
477,
275,
3524,
290,
308,
83,
198,
220,
220,
220,
220,
220,
220,
220,
513,
13,
319,
1123,
27944,
1241,
11,
329,
1123,
308,
83,
11,
2922,
479,
275,
3524,
3025,
3641,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
389,
11706,
284,
262,
308,
83,
3641,
11,
523,
356,
2472,
2922,
479,
9,
75,
275,
3524,
355,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5871,
329,
1123,
308,
83,
198,
220,
220,
220,
220,
220,
220,
220,
604,
13,
651,
11188,
1312,
280,
329,
262,
777,
5871,
11,
290,
24061,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1612,
290,
14367,
11,
900,
1612,
1343,
14367,
355,
262,
1312,
280,
11387,
198,
220,
220,
220,
220,
220,
220,
220,
642,
13,
2922,
777,
5871,
3025,
1312,
280,
389,
3744,
621,
393,
4961,
284,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
262,
11387,
355,
1281,
425,
198,
220,
220,
220,
220,
220,
220,
220,
718,
13,
4179,
262,
3967,
6291,
338,
3641,
287,
308,
83,
628,
198,
220,
220,
220,
220,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
29305,
357,
51,
22854,
2599,
347,
9969,
10559,
284,
307,
8686,
11,
5485,
7,
77,
11,
604,
737,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
997,
62,
5715,
62,
65,
29305,
357,
8053,
2599,
997,
286,
275,
29305,
287,
1123,
1241,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
308,
83,
62,
65,
29305,
357,
51,
22854,
2599,
13706,
35310,
10559,
11,
5485,
357,
74,
11,
604,
737,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
308,
83,
62,
65,
29305,
62,
46430,
357,
51,
22854,
11,
11902,
2599,
13706,
3872,
275,
29305,
326,
389,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
30538,
355,
4600,
570,
1850,
47671,
304,
13,
70,
1539,
4315,
10559,
287,
327,
4503,
46,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
308,
83,
62,
23912,
1424,
357,
51,
22854,
11,
11902,
2599,
36052,
286,
308,
83,
62,
65,
29305,
11,
5485,
357,
74,
11,
6739,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1058,
26801,
25,
63,
8021,
570,
23004,
63,
25,
383,
8333,
1255,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
45594,
796,
1802,
10535,
198,
220,
220,
220,
220,
220,
220,
220,
275,
29305,
796,
275,
29305,
58,
45299,
1058,
19,
60,
198,
220,
220,
220,
220,
220,
220,
220,
275,
3524,
62,
28764,
82,
796,
275,
3524,
62,
28764,
82,
13,
15255,
620,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
537,
82,
62,
1416,
2850,
796,
537,
82,
62,
1416,
2850,
13,
15255,
620,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
997,
62,
13655,
11,
997,
62,
65,
29305,
11,
997,
62,
65,
3524,
62,
28764,
82,
796,
308,
83,
62,
65,
29305,
13,
7857,
7,
15,
828,
275,
29305,
13,
7857,
7,
15,
828,
275,
3524,
62,
28764,
82,
13,
7857,
7,
15,
8,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
997,
62,
65,
29305,
6624,
997,
62,
65,
3524,
62,
28764,
82,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
8333,
657,
416,
4277,
198,
220,
220,
220,
220,
220,
220,
220,
8686,
62,
13655,
62,
521,
82,
796,
537,
82,
62,
1416,
2850,
13,
3605,
62,
12853,
19510,
22510,
62,
65,
29305,
11,
10612,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
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,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
4906,
28,
13165,
354,
13,
6511,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
997,
62,
13655,
6624,
657,
393,
997,
62,
65,
29305,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1400,
2323,
3872,
393,
10559,
11,
1441,
6565,
16237,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3509,
62,
2502,
75,
1686,
796,
537,
82,
62,
1416,
2850,
13,
3605,
62,
9107,
418,
19510,
22510,
62,
65,
29305,
11,
15306,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
997,
62,
13655,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1400,
3872,
11,
8333,
2279,
284,
4469,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8686,
62,
13655,
62,
521,
82,
58,
47715,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
308,
83,
62,
23912,
1424,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8686,
62,
23912,
1424,
796,
6045,
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,
8686,
62,
23912,
1424,
796,
537,
82,
62,
1416,
2850,
13,
3605,
62,
12853,
19510,
22510,
62,
65,
29305,
11,
10612,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
16,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
288,
4906,
28,
13165,
354,
13,
6511,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2195,
570,
23004,
7,
22510,
62,
13655,
11,
8686,
62,
13655,
62,
521,
82,
11,
3509,
62,
2502,
75,
1686,
11,
14722,
28,
562,
3916,
62,
23912,
1424,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
357,
944,
13,
46430,
62,
952,
69,
62,
400,
81,
1875,
657,
290,
308,
83,
62,
65,
29305,
62,
46430,
318,
407,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
290,
308,
83,
62,
65,
29305,
62,
46430,
13,
22510,
417,
3419,
1875,
657,
290,
275,
29305,
13,
22510,
417,
3419,
1875,
657,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8856,
62,
2502,
75,
1686,
796,
2116,
13,
72,
280,
62,
9948,
3129,
1352,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
29305,
11,
308,
83,
62,
65,
29305,
62,
46430,
11,
4235,
11639,
952,
69,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8856,
62,
9806,
62,
2502,
75,
1686,
11,
4808,
796,
8856,
62,
2502,
75,
1686,
13,
9806,
7,
27740,
28,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8856,
62,
312,
34223,
796,
8856,
62,
9806,
62,
2502,
75,
1686,
1875,
2116,
13,
46430,
62,
952,
69,
62,
400,
81,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8686,
62,
13655,
62,
521,
82,
58,
46430,
62,
312,
34223,
60,
796,
532,
16,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
6407,
855,
25101,
628,
198,
220,
220,
220,
220,
220,
220,
220,
275,
3524,
62,
44754,
796,
275,
29305,
13,
13271,
421,
1453,
2736,
7,
16,
737,
44754,
7,
16,
11,
997,
62,
13655,
11,
352,
737,
1177,
32590,
16,
11,
604,
8,
198,
220,
220,
220,
220,
220,
220,
220,
275,
3524,
62,
28764,
82,
62,
44754,
796,
275,
3524,
62,
28764,
82,
13,
13271,
421,
1453,
2736,
7,
16,
737,
44754,
7,
16,
11,
997,
62,
13655,
11,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
308,
83,
62,
65,
29305,
62,
44754,
796,
308,
83,
62,
65,
29305,
13,
13271,
421,
1453,
2736,
7,
15,
737,
44754,
7,
22510,
62,
65,
3524,
62,
28764,
82,
11,
352,
11,
352,
8,
628,
220,
220,
220,
220,
220,
220,
220,
275,
3524,
62,
28764,
82,
62,
12501,
1098,
796,
275,
3524,
62,
66,
12342,
13,
12501,
1098,
7,
65,
3524,
62,
44754,
11,
275,
3524,
62,
28764,
82,
62,
44754,
13,
1177,
32590,
16,
11,
19,
29720,
1177,
7,
22510,
62,
65,
3524,
62,
28764,
82,
11,
997,
62,
13655,
11,
604,
8,
198,
220,
220,
220,
220,
220,
220,
220,
308,
83,
62,
65,
29305,
62,
12501,
1098,
796,
308,
83,
62,
65,
29305,
62,
44754,
198,
220,
220,
220,
220,
220,
220,
220,
275,
3524,
62,
28764,
82,
62,
268,
8189,
796,
275,
3524,
62,
28764,
82,
62,
44754,
198,
220,
220,
220,
220,
220,
220,
220,
308,
83,
62,
65,
29305,
62,
268,
8189,
796,
275,
3524,
62,
66,
12342,
13,
268,
8189,
7,
65,
3524,
62,
44754,
11,
308,
83,
62,
65,
29305,
62,
44754,
13,
1177,
32590,
16,
11,
19,
29720,
1177,
7,
22510,
62,
65,
3524,
62,
28764,
82,
11,
997,
62,
13655,
11,
604,
8,
628,
220,
220,
220,
220,
220,
220,
220,
275,
3524,
62,
28764,
82,
62,
87,
796,
357,
65,
3524,
62,
28764,
82,
62,
12501,
1098,
58,
45299,
1058,
11,
657,
60,
1343,
275,
3524,
62,
28764,
82,
62,
12501,
1098,
58,
45299,
1058,
11,
362,
12962,
1635,
657,
13,
20,
198,
220,
220,
220,
220,
220,
220,
220,
275,
3524,
62,
28764,
82,
62,
88,
796,
357,
65,
3524,
62,
28764,
82,
62,
12501,
1098,
58,
45299,
1058,
11,
352,
60,
1343,
275,
3524,
62,
28764,
82,
62,
12501,
1098,
58,
45299,
1058,
11,
513,
12962,
1635,
657,
13,
20,
198,
220,
220,
220,
220,
220,
220,
220,
275,
3524,
62,
28764,
82,
62,
16159,
796,
28034,
13,
25558,
26933,
65,
3524,
62,
28764,
82,
62,
87,
11,
275,
3524,
62,
28764,
82,
62,
88,
4357,
5391,
10779,
16,
8,
628,
220,
220,
220,
220,
220,
220,
220,
275,
29305,
62,
44754,
796,
275,
29305,
13,
13271,
421,
1453,
2736,
7,
16,
737,
44754,
7,
16,
11,
997,
62,
13655,
11,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
275,
29305,
62,
87,
796,
357,
65,
29305,
62,
44754,
58,
45299,
1058,
11,
657,
60,
1343,
275,
29305,
62,
44754,
58,
45299,
1058,
11,
362,
12962,
1635,
657,
13,
20,
198,
220,
220,
220,
220,
220,
220,
220,
275,
29305,
62,
88,
796,
357,
65,
29305,
62,
44754,
58,
45299,
1058,
11,
352,
60,
1343,
275,
29305,
62,
44754,
58,
45299,
1058,
11,
513,
12962,
1635,
657,
13,
20,
198,
220,
220,
220,
220,
220,
220,
220,
275,
29305,
62,
86,
796,
357,
65,
29305,
62,
44754,
58,
45299,
1058,
11,
362,
60,
532,
275,
29305,
62,
44754,
58,
45299,
1058,
11,
657,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
275,
29305,
62,
71,
796,
357,
65,
29305,
62,
44754,
58,
45299,
1058,
11,
513,
60,
532,
275,
29305,
62,
44754,
58,
45299,
1058,
11,
352,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
275,
29305,
62,
16159,
796,
28034,
13,
25558,
26933,
65,
29305,
62,
87,
11,
275,
29305,
62,
88,
4357,
5391,
10779,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
275,
29305,
62,
1929,
796,
28034,
13,
25558,
26933,
65,
29305,
62,
86,
11,
275,
29305,
62,
71,
4357,
5391,
10779,
16,
8,
628,
220,
220,
220,
220,
220,
220,
220,
308,
83,
62,
16159,
62,
87,
796,
357,
13655,
62,
65,
29305,
62,
12501,
1098,
58,
45299,
1058,
11,
657,
60,
1343,
308,
83,
62,
65,
29305,
62,
12501,
1098,
58,
45299,
1058,
11,
362,
12962,
1635,
657,
13,
20,
198,
220,
220,
220,
220,
220,
220,
220,
308,
83,
62,
16159,
62,
88,
796,
357,
13655,
62,
65,
29305,
62,
12501,
1098,
58,
45299,
1058,
11,
352,
60,
1343,
308,
83,
62,
65,
29305,
62,
12501,
1098,
58,
45299,
1058,
11,
513,
12962,
1635,
657,
13,
20,
198,
220,
220,
220,
220,
220,
220,
220,
308,
83,
62,
16159,
796,
28034,
13,
25558,
26933,
13655,
62,
16159,
62,
87,
11,
308,
83,
62,
16159,
62,
88,
4357,
5391,
10779,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
537,
82,
62,
15805,
20998,
103,
43380,
117,
162,
107,
237,
10310,
103,
13655,
20998,
244,
43380,
117,
41753,
242,
21410,
13655,
62,
18242,
32573,
249,
26193,
234,
164,
106,
94,
163,
106,
245,
198,
220,
220,
220,
220,
220,
220,
220,
537,
82,
62,
1416,
2850,
62,
44754,
796,
537,
82,
62,
1416,
2850,
58,
45299,
308,
83,
62,
23912,
1424,
4083,
82,
17225,
1868,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
308,
72,
280,
2994,
198,
220,
220,
220,
220,
220,
220,
220,
1575,
62,
65,
3524,
62,
22510,
796,
275,
3524,
62,
2502,
75,
1686,
7,
65,
3524,
62,
28764,
82,
62,
12501,
1098,
11,
308,
83,
62,
65,
29305,
62,
12501,
1098,
11,
4235,
11639,
12397,
280,
3256,
318,
62,
41634,
28,
17821,
11,
304,
862,
28,
16,
68,
12,
22,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1575,
62,
65,
3524,
62,
22510,
796,
352,
532,
1575,
62,
65,
3524,
62,
22510,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
300,
16,
2994,
198,
220,
220,
220,
220,
220,
220,
220,
1575,
62,
65,
3524,
17,
62,
22510,
796,
28034,
13,
8937,
7,
65,
3524,
62,
28764,
82,
62,
268,
8189,
532,
308,
83,
62,
65,
29305,
62,
268,
8189,
8,
1635,
657,
13,
20,
198,
220,
220,
220,
220,
220,
220,
220,
1575,
62,
65,
3524,
17,
62,
22510,
796,
1575,
62,
65,
3524,
17,
62,
22510,
13,
32604,
7,
27740,
28,
17,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
25397,
2994,
198,
220,
220,
220,
220,
220,
220,
220,
34236,
796,
362,
13,
15,
198,
220,
220,
220,
220,
220,
220,
220,
1575,
62,
565,
82,
62,
22510,
796,
657,
13,
20,
1635,
14808,
16,
532,
537,
82,
62,
1416,
2850,
62,
44754,
8,
12429,
34236,
8,
1635,
13841,
7,
565,
82,
62,
1416,
2850,
62,
44754,
1343,
352,
68,
12,
23,
737,
6404,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3601,
10786,
15805,
62,
65,
3524,
62,
22510,
1058,
3256,
1575,
62,
65,
3524,
62,
22510,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3601,
10786,
15805,
62,
65,
3524,
17,
62,
22510,
1058,
3256,
1575,
62,
65,
3524,
17,
62,
22510,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3601,
10786,
15805,
62,
565,
82,
62,
22510,
1058,
3256,
1575,
62,
565,
82,
62,
22510,
8,
628,
220,
220,
220,
220,
220,
220,
220,
6818,
1575,
62,
65,
3524,
17,
62,
22510,
13,
43358,
6624,
1575,
62,
565,
82,
62,
22510,
13,
43358,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
28034,
13,
439,
7,
15805,
62,
65,
3524,
62,
22510,
18189,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
28034,
13,
439,
7,
15805,
62,
65,
3524,
17,
62,
22510,
18189,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
28034,
13,
439,
7,
15805,
62,
565,
82,
62,
22510,
18189,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
12893,
1686,
796,
1575,
62,
65,
3524,
62,
22510,
1343,
1575,
62,
65,
3524,
17,
62,
22510,
1343,
1575,
62,
565,
82,
62,
22510,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
18021,
62,
30246,
62,
15805,
796,
28034,
13,
8937,
7,
65,
3524,
62,
28764,
82,
62,
16159,
532,
275,
29305,
62,
16159,
8,
1635,
657,
13,
20,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
24550,
25,
43380,
117,
3702,
273,
62,
30246,
62,
15805,
32573,
249,
26193,
234,
37605,
240,
31660,
44293,
244,
171,
120,
230,
162,
234,
231,
65,
3524,
21410,
1929,
32014,
22887,
237,
26344,
228,
26344,
104,
43380,
117,
5431,
37605,
240,
31660,
44293,
244,
171,
120,
231,
198,
220,
220,
220,
220,
220,
220,
220,
18021,
62,
30246,
62,
15805,
796,
18021,
62,
30246,
62,
15805,
1220,
357,
65,
29305,
62,
1929,
1220,
807,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3601,
10786,
3702,
273,
62,
30246,
62,
15805,
1058,
3256,
18021,
62,
30246,
62,
15805,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
5525,
106,
94,
163,
106,
245,
43,
17,
164,
115,
251,
163,
99,
119,
198,
220,
220,
220,
220,
220,
220,
220,
18021,
62,
30246,
62,
15805,
796,
7182,
7,
3702,
273,
62,
30246,
62,
15805,
58,
45299,
1058,
11,
657,
4357,
362,
8,
1343,
7182,
7,
3702,
273,
62,
30246,
62,
15805,
58,
45299,
1058,
11,
352,
4357,
362,
8,
198,
220,
220,
220,
220,
220,
220,
220,
18021,
62,
30246,
62,
15805,
796,
7182,
7,
3702,
273,
62,
30246,
62,
15805,
11,
657,
13,
20,
8,
628,
220,
220,
220,
220,
220,
220,
220,
18021,
62,
30246,
62,
10366,
952,
796,
357,
15,
13,
20,
1635,
18021,
62,
30246,
62,
15805,
1343,
28034,
13,
12853,
62,
2339,
7,
3702,
273,
62,
30246,
62,
15805,
11,
352,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
28034,
13,
439,
7,
3702,
273,
62,
30246,
62,
10366,
952,
18189,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
12893,
1686,
796,
12893,
1686,
1635,
18021,
62,
30246,
62,
10366,
952,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
3601,
10786,
3702,
273,
62,
30246,
62,
10366,
952,
1058,
3256,
18021,
62,
30246,
62,
10366,
952,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
24550,
25,
13328,
94,
106,
46479,
251,
28764,
5722,
161,
240,
234,
3702,
273,
21410,
43358,
171,
120,
234,
33176,
114,
28839,
101,
163,
112,
95,
28156,
243,
33768,
114,
31660,
31660,
43380,
117,
41753,
242,
171,
120,
234,
32368,
254,
10310,
118,
2502,
37796,
42468,
43718,
117,
162,
235,
106,
28764,
5722,
162,
236,
240,
41753,
237,
21410,
171,
120,
234,
32003,
234,
562,
570,
21410,
33768,
114,
161,
222,
247,
42468,
43718,
117,
162,
235,
106,
2502,
37796,
21410,
165,
94,
118,
41753,
237,
562,
570,
163,
119,
247,
3702,
273,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
12893,
1686,
13,
43358,
58,
15,
60,
6624,
8686,
62,
13655,
62,
521,
82,
13,
43358,
58,
15,
60,
628,
220,
220,
220,
220,
220,
220,
220,
12893,
1686,
62,
400,
81,
62,
525,
62,
13655,
796,
12893,
1686,
13,
4852,
74,
7,
944,
13,
4852,
74,
11,
5391,
28,
15,
11,
4387,
28,
25101,
38381,
15,
7131,
944,
13,
4852,
74,
532,
352,
60,
198,
220,
220,
220,
220,
220,
220,
220,
318,
62,
1930,
796,
12893,
1686,
19841,
12893,
1686,
62,
400,
81,
62,
525,
62,
13655,
58,
14202,
11,
1058,
60,
628,
220,
220,
220,
220,
220,
220,
220,
275,
29305,
62,
66,
87,
796,
357,
65,
29305,
58,
45299,
657,
60,
1343,
275,
29305,
58,
45299,
362,
12962,
1220,
362,
13,
15,
198,
220,
220,
220,
220,
220,
220,
220,
275,
29305,
62,
948,
796,
357,
65,
29305,
58,
45299,
352,
60,
1343,
275,
29305,
58,
45299,
513,
12962,
1220,
362,
13,
15,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
4179,
262,
3967,
6291,
338,
3641,
287,
308,
83,
198,
220,
220,
220,
220,
220,
220,
220,
2462,
62,
65,
29305,
62,
66,
87,
796,
275,
29305,
62,
66,
87,
13,
1177,
32590,
16,
11,
352,
737,
11201,
392,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
997,
62,
65,
29305,
11,
997,
62,
13655,
737,
3642,
29709,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2462,
62,
65,
29305,
62,
948,
796,
275,
29305,
62,
948,
13,
1177,
32590,
16,
11,
352,
737,
11201,
392,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
997,
62,
65,
29305,
11,
997,
62,
13655,
737,
3642,
29709,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
15284,
262,
1364,
11,
1353,
11,
826,
11,
4220,
5253,
1022,
3967,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
275,
3524,
3641,
290,
308,
83,
1735,
198,
220,
220,
220,
220,
220,
220,
220,
300,
62,
796,
2462,
62,
65,
29305,
62,
66,
87,
532,
308,
83,
62,
65,
29305,
58,
45299,
657,
60,
198,
220,
220,
220,
220,
220,
220,
220,
256,
62,
796,
2462,
62,
65,
29305,
62,
948,
532,
308,
83,
62,
65,
29305,
58,
45299,
352,
60,
198,
220,
220,
220,
220,
220,
220,
220,
374,
62,
796,
308,
83,
62,
65,
29305,
58,
45299,
362,
60,
532,
2462,
62,
65,
29305,
62,
66,
87,
198,
220,
220,
220,
220,
220,
220,
220,
275,
62,
796,
308,
83,
62,
65,
29305,
58,
45299,
513,
60,
532,
2462,
62,
65,
29305,
62,
948,
198,
220,
220,
220,
220,
220,
220,
220,
318,
62,
259,
62,
70,
912,
796,
28034,
13,
25558,
26933,
75,
62,
11,
256,
62,
11,
374,
62,
11,
275,
62,
4357,
5391,
28,
16,
737,
1084,
7,
27740,
28,
16,
38381,
15,
60,
1875,
657,
13,
486,
198,
220,
220,
220,
220,
220,
220,
220,
318,
62,
1930,
796,
318,
62,
1930,
1222,
318,
62,
259,
62,
70,
912,
628,
220,
220,
220,
220,
220,
220,
220,
12893,
1686,
62,
10745,
796,
28034,
13,
12853,
62,
2339,
7,
2502,
75,
1686,
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,
45594,
737,
3642,
29709,
22446,
1177,
32590,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
6376,
796,
318,
62,
1930,
13,
1177,
32590,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
12893,
1686,
62,
10745,
58,
9630,
60,
796,
12893,
1686,
13,
3642,
29709,
22446,
1177,
32590,
16,
38381,
9630,
60,
198,
220,
220,
220,
220,
220,
220,
220,
12893,
1686,
62,
10745,
796,
12893,
1686,
62,
10745,
13,
1177,
32590,
16,
11,
997,
62,
13655,
8,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
24550,
25,
13328,
105,
105,
31660,
162,
105,
94,
562,
570,
171,
120,
234,
18796,
101,
12859,
236,
164,
106,
94,
163,
106,
245,
163,
105,
105,
31660,
162,
105,
94,
21410,
43027,
198,
220,
220,
220,
220,
220,
220,
220,
3509,
62,
2502,
75,
1686,
11,
1822,
9806,
62,
2502,
75,
1686,
796,
12893,
1686,
62,
10745,
13,
1084,
7,
27740,
28,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
8686,
62,
13655,
62,
521,
82,
58,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3509,
62,
2502,
75,
1686,
14512,
45594,
60,
796,
1822,
9806,
62,
2502,
75,
1686,
58,
9806,
62,
2502,
75,
1686,
14512,
45594,
60,
1343,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
651,
262,
1575,
9803,
286,
275,
29305,
198,
220,
220,
220,
220,
220,
220,
220,
10307,
62,
27160,
11,
36525,
796,
12893,
1686,
62,
10745,
13,
4852,
74,
7,
74,
28,
22510,
62,
65,
29305,
11,
5391,
28,
15,
11,
4387,
28,
25101,
8,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
28034,
13,
439,
7,
28282,
62,
27160,
18189,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
10307,
62,
27160,
796,
10307,
62,
27160,
4064,
45594,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
9803,
796,
28034,
13,
12853,
62,
2339,
7,
2502,
75,
1686,
62,
10745,
837,
12,
16,
737,
3642,
29709,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
2837,
7,
22510,
62,
13655,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9803,
58,
521,
1063,
58,
45299,
1312,
4357,
1312,
60,
796,
28034,
13,
283,
858,
7,
22510,
62,
65,
29305,
737,
4906,
62,
292,
7,
2502,
75,
1686,
62,
10745,
8,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
28034,
13,
439,
7,
81,
2283,
14512,
532,
16,
8,
628,
220,
220,
220,
220,
220,
220,
220,
3297,
62,
27740,
15,
796,
28034,
13,
3003,
7,
562,
3916,
62,
13655,
62,
521,
82,
1875,
657,
38381,
15,
60,
628,
220,
220,
220,
220,
220,
220,
220,
5358,
62,
22510,
796,
357,
2502,
75,
1686,
62,
10745,
14512,
45594,
737,
16345,
7,
27740,
28,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
5358,
62,
30619,
62,
27740,
15,
796,
357,
10414,
13758,
62,
22510,
1875,
352,
8,
220,
1303,
42164,
231,
37863,
110,
163,
103,
223,
21410,
3702,
273,
21410,
27740,
15,
163,
112,
95,
28156,
243,
198,
220,
220,
220,
220,
220,
220,
220,
3297,
62,
27740,
16,
796,
28034,
13,
12853,
62,
2339,
7,
562,
3916,
62,
13655,
62,
521,
82,
11,
532,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3297,
62,
27740,
16,
58,
30619,
62,
27740,
15,
60,
796,
1822,
9806,
62,
2502,
75,
1686,
58,
30619,
62,
27740,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
24550,
25,
10263,
99,
224,
162,
252,
250,
31660,
10310,
103,
3702,
273,
26344,
228,
165,
227,
235,
163,
119,
247,
13783,
248,
10310,
103,
13655,
171,
120,
234,
20998,
244,
43027,
17312,
222,
165,
45865,
21410,
165,
224,
96,
10310,
103,
13655,
198,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
10414,
13758,
62,
30619,
62,
27740,
15,
8,
1875,
657,
1058,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9803,
62,
10745,
796,
28034,
13,
12853,
62,
2339,
7,
81,
2283,
11,
45594,
737,
3642,
29709,
22446,
1177,
32590,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12893,
1686,
62,
10414,
13758,
796,
28034,
13,
12853,
62,
2339,
7,
2502,
75,
1686,
62,
10745,
11,
532,
1268,
37,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12893,
1686,
62,
10414,
13758,
58,
10414,
13758,
62,
30619,
62,
27740,
15,
60,
796,
12893,
1686,
62,
10745,
58,
10414,
13758,
62,
30619,
62,
27740,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5391,
15,
11,
5391,
16,
796,
28034,
13,
3003,
7,
2502,
75,
1686,
62,
10414,
13758,
1875,
657,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6376,
796,
5391,
15,
1635,
997,
62,
13655,
1343,
5391,
16,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9803,
62,
10745,
58,
9630,
60,
796,
9803,
13,
1177,
32590,
16,
38381,
9630,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9803,
62,
10745,
796,
9803,
62,
10745,
13,
1177,
7,
22510,
62,
65,
29305,
11,
997,
62,
13655,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
11,
5358,
62,
12102,
62,
27740,
16,
796,
28034,
13,
1084,
7,
81,
2283,
62,
10745,
11,
5391,
28,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3297,
62,
27740,
16,
58,
10414,
13758,
62,
30619,
62,
27740,
15,
60,
796,
5358,
62,
12102,
62,
27740,
16,
58,
10414,
13758,
62,
30619,
62,
27740,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
3297,
62,
27740,
16,
796,
3297,
62,
27740,
16,
58,
30619,
62,
27740,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
28034,
13,
439,
7,
30619,
62,
27740,
16,
14512,
532,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
3297,
62,
27740,
15,
13,
43358,
6624,
3297,
62,
27740,
16,
13,
43358,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
24550,
25,
13328,
105,
105,
12859,
234,
162,
105,
94,
562,
570,
171,
120,
234,
43718,
117,
162,
235,
106,
43027,
162,
236,
240,
41753,
237,
28938,
236,
36181,
245,
26344,
108,
198,
220,
220,
220,
220,
220,
220,
220,
8686,
62,
13655,
62,
521,
82,
58,
30619,
62,
27740,
15,
60,
796,
3297,
62,
27740,
16,
1343,
352,
198,
220,
220,
220,
220,
220,
220,
220,
3509,
62,
2502,
75,
1686,
58,
30619,
62,
27740,
15,
60,
796,
12893,
1686,
62,
10745,
58,
30619,
62,
27740,
15,
11,
3297,
62,
27740,
16,
60,
628,
220,
220,
220,
220,
220,
220,
220,
611,
308,
83,
62,
23912,
1424,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8686,
62,
23912,
1424,
796,
8686,
62,
13655,
62,
521,
82,
13,
3605,
62,
12853,
19510,
22510,
62,
65,
29305,
11,
10612,
532,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1426,
62,
521,
82,
796,
28034,
13,
13159,
22570,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8686,
62,
13655,
62,
521,
82,
1875,
657,
11,
355,
62,
83,
29291,
28,
25101,
737,
16485,
1453,
2736,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1426,
62,
521,
82,
13,
22510,
417,
3419,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8686,
62,
23912,
1424,
58,
1930,
62,
521,
82,
60,
796,
308,
83,
62,
23912,
1424,
58,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8686,
62,
13655,
62,
521,
82,
58,
1930,
62,
521,
82,
60,
532,
352,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8686,
62,
23912,
1424,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2195,
570,
23004,
7,
22510,
62,
13655,
11,
8686,
62,
13655,
62,
521,
82,
11,
3509,
62,
2502,
75,
1686,
11,
14722,
28,
562,
3916,
62,
23912,
1424,
8,
198
] | 1.932343 | 5,720 |
#Programa Principal
escreva('Gustavo Guanabará')
escreva('Curso de Python no YouTube')
escreva('CeV') | [
198,
198,
2,
15167,
64,
32641,
198,
3798,
260,
6862,
10786,
38,
436,
615,
78,
42305,
397,
283,
6557,
11537,
198,
3798,
260,
6862,
10786,
26628,
568,
390,
11361,
645,
7444,
11537,
198,
3798,
260,
6862,
10786,
34,
68,
53,
11537
] | 2.512195 | 41 |
from application import app
from application import decorators
from flask import Blueprint, render_template
from flask import request, session, redirect, url_for
from run import gt
from config import BOT_TOKEN
from push_notifications import notification
import gorbin_tools2
page = Blueprint('reg', __name__,
template_folder='templates')
@page.route('/reg', methods = ['GET', 'POST'])
def reg():
'''
Registration function
'''
if 'login' in session:
#If such user already logged in, then redirect him to home page
return redirect(url_for('home.home'))
if request.method == "POST":
#get information from registarion form
result = request.form
with app.app_context():
#check if such login and email already taken or not
if (not gt.check_login(result['login'])) and (not gt.check_email(result['email'])):
#if not, then add information about new user in database
if result['login'] == 'user':
return render_template("reg.html",
error_flag=True,
error_message='This login is already taken')
gt.add_user(login = result['login'],
pas = gorbin_tools2.hash(result['password']),
email = result['email'])
if BOT_TOKEN:
notification(user = result['login'], type_message = 'user', users = gt.get_telegrams())
#log in user in session
session['login'] = result['login']
session['current_password'] = gorbin_tools2.hash(result['password'])
#redirect to home page
return redirect(url_for('home.home'))
else:
# if current login taken
if gt.check_login(result['login']):
#print error msg
return render_template("reg.html",
error_flag = True,
error_message = 'This login is already taken')
#if current email taken
elif gt.check_email(result['email']):
#print error msg
return render_template("reg.html",
error_flag = True,
error_message = 'This email is already taken')
return render_template("reg.html", error_flag = False)
| [
6738,
3586,
1330,
598,
198,
6738,
3586,
1330,
11705,
2024,
198,
6738,
42903,
1330,
39932,
11,
8543,
62,
28243,
198,
6738,
42903,
1330,
2581,
11,
6246,
11,
18941,
11,
19016,
62,
1640,
198,
6738,
1057,
1330,
308,
83,
198,
6738,
4566,
1330,
347,
2394,
62,
10468,
43959,
198,
6738,
4574,
62,
1662,
6637,
1330,
14483,
198,
11748,
30344,
8800,
62,
31391,
17,
198,
7700,
796,
39932,
10786,
2301,
3256,
11593,
3672,
834,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11055,
62,
43551,
11639,
11498,
17041,
11537,
198,
198,
31,
7700,
13,
38629,
10786,
14,
2301,
3256,
5050,
796,
37250,
18851,
3256,
705,
32782,
6,
12962,
198,
4299,
842,
33529,
198,
197,
7061,
6,
198,
197,
47133,
2163,
198,
197,
7061,
6,
198,
197,
361,
705,
38235,
6,
287,
6246,
25,
198,
197,
197,
2,
1532,
884,
2836,
1541,
18832,
287,
11,
788,
18941,
683,
284,
1363,
2443,
198,
197,
197,
7783,
18941,
7,
6371,
62,
1640,
10786,
11195,
13,
11195,
6,
4008,
628,
197,
361,
2581,
13,
24396,
6624,
366,
32782,
1298,
198,
197,
197,
2,
1136,
1321,
422,
4214,
283,
295,
1296,
198,
197,
197,
20274,
796,
2581,
13,
687,
198,
197,
197,
4480,
598,
13,
1324,
62,
22866,
33529,
198,
197,
197,
197,
2,
9122,
611,
884,
17594,
290,
3053,
1541,
2077,
393,
407,
198,
197,
197,
197,
361,
357,
1662,
308,
83,
13,
9122,
62,
38235,
7,
20274,
17816,
38235,
20520,
4008,
290,
357,
1662,
308,
83,
13,
9122,
62,
12888,
7,
20274,
17816,
12888,
6,
12962,
2599,
198,
197,
197,
197,
197,
2,
361,
407,
11,
788,
751,
1321,
546,
649,
2836,
287,
6831,
198,
197,
197,
197,
197,
361,
1255,
17816,
38235,
20520,
6624,
705,
7220,
10354,
198,
197,
197,
197,
197,
197,
7783,
8543,
62,
28243,
7203,
2301,
13,
6494,
1600,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
18224,
62,
32109,
28,
17821,
11,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
18224,
62,
20500,
11639,
1212,
17594,
318,
1541,
2077,
11537,
198,
197,
197,
197,
197,
13655,
13,
2860,
62,
7220,
7,
38235,
796,
1255,
17816,
38235,
6,
4357,
198,
197,
197,
197,
197,
197,
197,
197,
44429,
796,
30344,
8800,
62,
31391,
17,
13,
17831,
7,
20274,
17816,
28712,
20520,
828,
198,
197,
197,
197,
197,
197,
197,
197,
12888,
796,
1255,
17816,
12888,
6,
12962,
198,
197,
197,
197,
197,
361,
347,
2394,
62,
10468,
43959,
25,
198,
197,
197,
197,
197,
197,
1662,
2649,
7,
7220,
796,
1255,
17816,
38235,
6,
4357,
2099,
62,
20500,
796,
705,
7220,
3256,
2985,
796,
308,
83,
13,
1136,
62,
660,
1455,
9474,
28955,
198,
197,
197,
197,
197,
2,
6404,
287,
2836,
287,
6246,
198,
197,
197,
197,
197,
29891,
17816,
38235,
20520,
796,
1255,
17816,
38235,
20520,
198,
197,
197,
197,
197,
29891,
17816,
14421,
62,
28712,
20520,
796,
30344,
8800,
62,
31391,
17,
13,
17831,
7,
20274,
17816,
28712,
6,
12962,
198,
197,
197,
197,
197,
2,
445,
1060,
284,
1363,
2443,
198,
197,
197,
197,
197,
7783,
18941,
7,
6371,
62,
1640,
10786,
11195,
13,
11195,
6,
4008,
198,
197,
197,
197,
17772,
25,
198,
197,
197,
197,
197,
2,
611,
1459,
17594,
2077,
198,
197,
197,
197,
197,
361,
308,
83,
13,
9122,
62,
38235,
7,
20274,
17816,
38235,
20520,
2599,
198,
197,
197,
197,
197,
197,
2,
4798,
4049,
31456,
198,
197,
197,
197,
197,
197,
7783,
8543,
62,
28243,
7203,
2301,
13,
6494,
1600,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
18224,
62,
32109,
796,
6407,
11,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
18224,
62,
20500,
796,
705,
1212,
17594,
318,
1541,
2077,
11537,
198,
197,
197,
197,
197,
2,
361,
1459,
3053,
2077,
198,
197,
197,
197,
197,
417,
361,
308,
83,
13,
9122,
62,
12888,
7,
20274,
17816,
12888,
20520,
2599,
198,
197,
197,
197,
197,
197,
2,
4798,
4049,
31456,
198,
197,
197,
197,
197,
197,
7783,
8543,
62,
28243,
7203,
2301,
13,
6494,
1600,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
18224,
62,
32109,
796,
6407,
11,
198,
197,
197,
197,
197,
197,
197,
197,
197,
197,
18224,
62,
20500,
796,
705,
1212,
3053,
318,
1541,
2077,
11537,
628,
197,
7783,
8543,
62,
28243,
7203,
2301,
13,
6494,
1600,
4049,
62,
32109,
796,
10352,
8,
198
] | 2.725543 | 736 |
#A generator is a programming object that produces (that is, generates) a sequence of values
if __name__ == '__main__':
main() | [
2,
32,
17301,
318,
257,
8300,
2134,
326,
11073,
357,
5562,
318,
11,
18616,
8,
257,
8379,
286,
3815,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
1388,
3419
] | 3.540541 | 37 |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from os.path import join, dirname, abspath
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
18,
198,
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
198,
6738,
28686,
13,
6978,
1330,
4654,
11,
26672,
3672,
11,
2352,
6978,
628
] | 2.421053 | 38 |
import matplotlib.pyplot as plt
from matplotlib import rcParams
import numpy as np
| [
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
6738,
2603,
29487,
8019,
1330,
48321,
10044,
4105,
198,
11748,
299,
32152,
355,
45941,
198
] | 3.192308 | 26 |
from ocp_resources.resource import NamespacedResource
| [
6738,
267,
13155,
62,
37540,
13,
31092,
1330,
28531,
32416,
26198,
628
] | 4.583333 | 12 |
import pygame
import sys
from pygame.sprite import Group
from pygame.sprite import Sprite
class Settings():
"""A class that stores all settings."""
def __init__(self):
"""Initialize the game's settings."""
# Screen settings
self.screen_width = 1200
self.screen_height = 800
self.bg_color = (230, 230, 230)
class Star(Sprite):
"""A class to represent a single star."""
def __init__(self, settings, screen):
"""Initialize star and set its starting position."""
super().__init__()
self.settings = settings
self.screen = screen
# load star image and set its rect attribute.
self.image = pygame.image.load('images/star.bmp')
self.rect = self.image.get_rect()
# Start each new star near the top left of the screen.
self.rect.x = self.rect.width
self.rect.y = self.rect.height
def blitme(self):
"""Draw the start at its current location."""
self.screen.blit(self.image, self.rect)
def check_keydown_events(event, settings, screen):
"""Respond to key presses."""
if event.key == pygame.K_q:
sys.exit()
def check_keyup_events(event):
"""Respond to key releases."""
pass
def check_events(settings, screen):
"""Respond to key presses and mouse events."""
for event in pygame.event.get():
if event.type == pygame.QUIT:
sys.exit()
elif event.type == pygame.KEYDOWN:
check_keydown_events(event, settings, screen)
elif event.type == pygame.KEYUP:
check_keyup_events(event)
def update_screen(settings, screen, stars):
"""Update images on the screen and flip to the new screen."""
# Redraw the screen during each pass through the loop.
screen.fill(settings.bg_color)
# Redraw all stars.
stars.draw(screen)
# Make the most recently drawn screen visible.
pygame.display.flip()
def get_number_rows(settings, star_height):
"""Determine the number of rows of stars that fit on the screen."""
avaiable_space_y = (settings.screen_height - star_height)
number_rows = int(avaiable_space_y / (2 * star_height))
return number_rows
def get_number_stars_x(settings, star_width):
"""Determine the number of stars that fit in a row."""
avaiable_space_x = settings.screen_width - star_width
number_stars_x = int(avaiable_space_x / (2 * star_width))
return number_stars_x
def create_star(settings, screen, stars, star_number, row_number):
"""Create a star and place it in the row."""
star = Star(settings, screen)
star_width = star.rect.width
star_height = star.rect.height
star.x = star_width + 2 * star_width * star_number
star.rect.x = star.x
star.rect.y = star_height + 2 * star_height * row_number
stars.add(star)
def create_stars(settings, screen, stars):
"""Create a full group of stars."""
# Create a star and find the number of stars in a row.
star = Star(settings, screen)
number_stars_x = get_number_stars_x(settings, star.rect.width)
number_rows = get_number_rows(settings, star.rect.height)
# Create group of stars.
for row_number in range(number_rows):
for star_number in range(number_stars_x):
create_star(settings, screen, stars, star_number, row_number)
def run():
"""Initialize pygame, settings and screen objects."""
pygame.init()
settings = Settings()
screen = pygame.display.set_mode(
(settings.screen_width, settings.screen_height))
pygame.display.set_caption('Stars')
# Make a group to store stars.
stars = Group()
# Create group of start.
create_stars(settings, screen, stars)
# Main loop
while True:
check_events(settings, screen)
update_screen(settings, screen, stars)
run()
| [
198,
11748,
12972,
6057,
198,
11748,
25064,
198,
198,
6738,
12972,
6057,
13,
34975,
578,
1330,
4912,
198,
6738,
12972,
6057,
13,
34975,
578,
1330,
33132,
628,
198,
4871,
16163,
33529,
198,
220,
220,
220,
37227,
32,
1398,
326,
7000,
477,
6460,
526,
15931,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
24243,
1096,
262,
983,
338,
6460,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
15216,
6460,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9612,
62,
10394,
796,
24938,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9612,
62,
17015,
796,
10460,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
35904,
62,
8043,
796,
357,
19214,
11,
18395,
11,
18395,
8,
628,
198,
4871,
2907,
7,
38454,
578,
2599,
198,
220,
220,
220,
37227,
32,
1398,
284,
2380,
257,
2060,
3491,
526,
15931,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
6460,
11,
3159,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
24243,
1096,
3491,
290,
900,
663,
3599,
2292,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
2208,
22446,
834,
15003,
834,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
33692,
796,
6460,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9612,
796,
3159,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
3440,
3491,
2939,
290,
900,
663,
13621,
11688,
13,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9060,
796,
12972,
6057,
13,
9060,
13,
2220,
10786,
17566,
14,
7364,
13,
65,
3149,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2554,
796,
2116,
13,
9060,
13,
1136,
62,
2554,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
7253,
1123,
649,
3491,
1474,
262,
1353,
1364,
286,
262,
3159,
13,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2554,
13,
87,
796,
2116,
13,
2554,
13,
10394,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2554,
13,
88,
796,
2116,
13,
2554,
13,
17015,
628,
220,
220,
220,
825,
698,
270,
1326,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
25302,
262,
923,
379,
663,
1459,
4067,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9612,
13,
2436,
270,
7,
944,
13,
9060,
11,
2116,
13,
2554,
8,
628,
198,
4299,
2198,
62,
2539,
2902,
62,
31534,
7,
15596,
11,
6460,
11,
3159,
2599,
198,
220,
220,
220,
37227,
19309,
623,
284,
1994,
31048,
526,
15931,
198,
220,
220,
220,
611,
1785,
13,
2539,
6624,
12972,
6057,
13,
42,
62,
80,
25,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
3419,
628,
198,
4299,
2198,
62,
2539,
929,
62,
31534,
7,
15596,
2599,
198,
220,
220,
220,
37227,
19309,
623,
284,
1994,
10050,
526,
15931,
198,
220,
220,
220,
1208,
628,
198,
4299,
2198,
62,
31534,
7,
33692,
11,
3159,
2599,
198,
220,
220,
220,
37227,
19309,
623,
284,
1994,
31048,
290,
10211,
2995,
526,
15931,
198,
220,
220,
220,
329,
1785,
287,
12972,
6057,
13,
15596,
13,
1136,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1785,
13,
4906,
6624,
12972,
6057,
13,
10917,
2043,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
1785,
13,
4906,
6624,
12972,
6057,
13,
20373,
41925,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2198,
62,
2539,
2902,
62,
31534,
7,
15596,
11,
6460,
11,
3159,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
1785,
13,
4906,
6624,
12972,
6057,
13,
20373,
8577,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2198,
62,
2539,
929,
62,
31534,
7,
15596,
8,
628,
198,
4299,
4296,
62,
9612,
7,
33692,
11,
3159,
11,
5788,
2599,
198,
220,
220,
220,
37227,
10260,
4263,
319,
262,
3159,
290,
14283,
284,
262,
649,
3159,
526,
15931,
198,
220,
220,
220,
1303,
2297,
1831,
262,
3159,
1141,
1123,
1208,
832,
262,
9052,
13,
198,
220,
220,
220,
3159,
13,
20797,
7,
33692,
13,
35904,
62,
8043,
8,
198,
220,
220,
220,
1303,
2297,
1831,
477,
5788,
13,
198,
220,
220,
220,
5788,
13,
19334,
7,
9612,
8,
628,
220,
220,
220,
1303,
6889,
262,
749,
2904,
7428,
3159,
7424,
13,
198,
220,
220,
220,
12972,
6057,
13,
13812,
13,
2704,
541,
3419,
628,
198,
4299,
651,
62,
17618,
62,
8516,
7,
33692,
11,
3491,
62,
17015,
2599,
198,
220,
220,
220,
37227,
35,
2357,
3810,
262,
1271,
286,
15274,
286,
5788,
326,
4197,
319,
262,
3159,
526,
15931,
198,
220,
220,
220,
1196,
1872,
540,
62,
13200,
62,
88,
796,
357,
33692,
13,
9612,
62,
17015,
532,
3491,
62,
17015,
8,
198,
220,
220,
220,
1271,
62,
8516,
796,
493,
7,
615,
1872,
540,
62,
13200,
62,
88,
1220,
357,
17,
1635,
3491,
62,
17015,
4008,
198,
220,
220,
220,
1441,
1271,
62,
8516,
628,
198,
4299,
651,
62,
17618,
62,
30783,
62,
87,
7,
33692,
11,
3491,
62,
10394,
2599,
198,
220,
220,
220,
37227,
35,
2357,
3810,
262,
1271,
286,
5788,
326,
4197,
287,
257,
5752,
526,
15931,
198,
220,
220,
220,
1196,
1872,
540,
62,
13200,
62,
87,
796,
6460,
13,
9612,
62,
10394,
532,
3491,
62,
10394,
198,
220,
220,
220,
1271,
62,
30783,
62,
87,
796,
493,
7,
615,
1872,
540,
62,
13200,
62,
87,
1220,
357,
17,
1635,
3491,
62,
10394,
4008,
198,
220,
220,
220,
1441,
1271,
62,
30783,
62,
87,
628,
198,
4299,
2251,
62,
7364,
7,
33692,
11,
3159,
11,
5788,
11,
3491,
62,
17618,
11,
5752,
62,
17618,
2599,
198,
220,
220,
220,
37227,
16447,
257,
3491,
290,
1295,
340,
287,
262,
5752,
526,
15931,
198,
220,
220,
220,
3491,
796,
2907,
7,
33692,
11,
3159,
8,
198,
220,
220,
220,
3491,
62,
10394,
796,
3491,
13,
2554,
13,
10394,
198,
220,
220,
220,
3491,
62,
17015,
796,
3491,
13,
2554,
13,
17015,
198,
220,
220,
220,
3491,
13,
87,
796,
3491,
62,
10394,
1343,
362,
1635,
3491,
62,
10394,
1635,
3491,
62,
17618,
198,
220,
220,
220,
3491,
13,
2554,
13,
87,
796,
3491,
13,
87,
198,
220,
220,
220,
3491,
13,
2554,
13,
88,
796,
3491,
62,
17015,
1343,
362,
1635,
3491,
62,
17015,
1635,
5752,
62,
17618,
198,
220,
220,
220,
5788,
13,
2860,
7,
7364,
8,
628,
198,
4299,
2251,
62,
30783,
7,
33692,
11,
3159,
11,
5788,
2599,
198,
220,
220,
220,
37227,
16447,
257,
1336,
1448,
286,
5788,
526,
15931,
198,
220,
220,
220,
1303,
13610,
257,
3491,
290,
1064,
262,
1271,
286,
5788,
287,
257,
5752,
13,
198,
220,
220,
220,
3491,
796,
2907,
7,
33692,
11,
3159,
8,
198,
220,
220,
220,
1271,
62,
30783,
62,
87,
796,
651,
62,
17618,
62,
30783,
62,
87,
7,
33692,
11,
3491,
13,
2554,
13,
10394,
8,
198,
220,
220,
220,
1271,
62,
8516,
796,
651,
62,
17618,
62,
8516,
7,
33692,
11,
3491,
13,
2554,
13,
17015,
8,
628,
220,
220,
220,
1303,
13610,
1448,
286,
5788,
13,
198,
220,
220,
220,
329,
5752,
62,
17618,
287,
2837,
7,
17618,
62,
8516,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
329,
3491,
62,
17618,
287,
2837,
7,
17618,
62,
30783,
62,
87,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2251,
62,
7364,
7,
33692,
11,
3159,
11,
5788,
11,
3491,
62,
17618,
11,
5752,
62,
17618,
8,
628,
198,
4299,
1057,
33529,
198,
220,
220,
220,
37227,
24243,
1096,
12972,
6057,
11,
6460,
290,
3159,
5563,
526,
15931,
198,
220,
220,
220,
12972,
6057,
13,
15003,
3419,
198,
220,
220,
220,
6460,
796,
16163,
3419,
198,
220,
220,
220,
3159,
796,
12972,
6057,
13,
13812,
13,
2617,
62,
14171,
7,
198,
220,
220,
220,
220,
220,
220,
220,
357,
33692,
13,
9612,
62,
10394,
11,
6460,
13,
9612,
62,
17015,
4008,
198,
220,
220,
220,
12972,
6057,
13,
13812,
13,
2617,
62,
6888,
1159,
10786,
29366,
11537,
628,
220,
220,
220,
1303,
6889,
257,
1448,
284,
3650,
5788,
13,
198,
220,
220,
220,
5788,
796,
4912,
3419,
628,
220,
220,
220,
1303,
13610,
1448,
286,
923,
13,
198,
220,
220,
220,
2251,
62,
30783,
7,
33692,
11,
3159,
11,
5788,
8,
628,
220,
220,
220,
1303,
8774,
9052,
198,
220,
220,
220,
981,
6407,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2198,
62,
31534,
7,
33692,
11,
3159,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4296,
62,
9612,
7,
33692,
11,
3159,
11,
5788,
8,
628,
198,
5143,
3419,
198
] | 2.657713 | 1,452 |
from dataclasses import dataclass
from datetime import datetime
from typing import Optional
@dataclass
| [
6738,
4818,
330,
28958,
1330,
4818,
330,
31172,
198,
6738,
4818,
8079,
1330,
4818,
8079,
198,
6738,
19720,
1330,
32233,
628,
198,
31,
19608,
330,
31172,
198
] | 3.888889 | 27 |
"""
时间:2020/9/22
作者:lurui
功能:k8s集群GPU节点打标签
"""
import os
import sys
basedir = os.path.abspath('.')
a = sys.argv[1]
b = sys.argv[2]
start_label_gpu(a, b)
| [
37811,
198,
33768,
114,
29785,
112,
171,
120,
248,
42334,
14,
24,
14,
1828,
198,
43291,
38519,
171,
120,
248,
75,
333,
9019,
198,
27950,
253,
47797,
121,
171,
120,
248,
74,
23,
82,
37239,
228,
163,
122,
97,
33346,
164,
232,
224,
163,
224,
117,
33699,
241,
43718,
229,
163,
255,
122,
198,
37811,
198,
11748,
28686,
198,
11748,
25064,
198,
198,
3106,
343,
796,
28686,
13,
6978,
13,
397,
2777,
776,
10786,
2637,
8,
628,
198,
198,
64,
796,
25064,
13,
853,
85,
58,
16,
60,
198,
65,
796,
25064,
13,
853,
85,
58,
17,
60,
198,
9688,
62,
18242,
62,
46999,
7,
64,
11,
275,
8,
198
] | 1.427273 | 110 |
# -*- coding: utf-8 -*-
"""
`USGS Emergency Data Distribution Network`_ services
.. _USGS Emergency Data Distribution Network: http://eddn.usgs.gov/
"""
from .core import decode, get_data
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
37811,
198,
220,
220,
220,
4600,
2937,
14313,
18154,
6060,
27484,
7311,
63,
62,
2594,
628,
198,
220,
220,
220,
11485,
4808,
2937,
14313,
18154,
6060,
27484,
7311,
25,
2638,
1378,
6048,
77,
13,
385,
14542,
13,
9567,
14,
198,
37811,
198,
6738,
764,
7295,
1330,
36899,
11,
651,
62,
7890,
198
] | 3 | 66 |
import itertools
from typing import Tuple, Union
import matplotlib.pyplot as plt
import numpy as np
import seaborn as sns
| [
11748,
340,
861,
10141,
198,
6738,
19720,
1330,
309,
29291,
11,
4479,
198,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
384,
397,
1211,
355,
3013,
82,
628,
628
] | 3.15 | 40 |
from __future__ import print_function
import argparse
import time
import json
import grpc
import helloworld_pb2
import helloworld_pb2_grpc
service_config_json = json.dumps({
"methodConfig": [{
"name": [{
"service": "helloworld.Greeter",
"method": "SayHello"
}],
"retryPolicy": {
"maxAttempts": 5,
"initialBackoff": "1s",
"maxBackoff": "10s",
"backoffMultiplier": 2,
"retryableStatusCodes": ["UNAVAILABLE"],
},
}]
})
if __name__ == '__main__':
parser = argparse.ArgumentParser(description='grpc test tool command')
parser.add_argument('-i', '--ip', type=str,
help='grpc server ip', required=True)
parser.add_argument('-p', '--port', type=str,
help='grpc server port', required=True)
parser.add_argument('-n', '--host_name', type=str,
help='grpc server host name', required=True)
args = parser.parse_args()
run(args.ip, args.port, args.host_name)
| [
6738,
11593,
37443,
834,
1330,
3601,
62,
8818,
198,
198,
11748,
1822,
29572,
198,
11748,
640,
198,
11748,
33918,
198,
198,
11748,
1036,
14751,
198,
11748,
5968,
322,
1764,
62,
40842,
17,
198,
11748,
5968,
322,
1764,
62,
40842,
17,
62,
2164,
14751,
198,
198,
15271,
62,
11250,
62,
17752,
796,
33918,
13,
67,
8142,
15090,
198,
220,
220,
220,
366,
24396,
16934,
1298,
685,
90,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3672,
1298,
685,
90,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
15271,
1298,
366,
12758,
322,
1764,
13,
43887,
2357,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
24396,
1298,
366,
25515,
15496,
1,
198,
220,
220,
220,
220,
220,
220,
220,
1782,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
1186,
563,
36727,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
9806,
48452,
1298,
642,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
36733,
7282,
2364,
1298,
366,
16,
82,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
9806,
7282,
2364,
1298,
366,
940,
82,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
1891,
2364,
15205,
24705,
959,
1298,
362,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
1186,
563,
540,
19580,
34,
4147,
1298,
14631,
52,
4535,
11731,
4146,
17534,
33116,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
1782,
60,
198,
30072,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
30751,
796,
1822,
29572,
13,
28100,
1713,
46677,
7,
11213,
11639,
2164,
14751,
1332,
2891,
3141,
11537,
198,
220,
30751,
13,
2860,
62,
49140,
10786,
12,
72,
3256,
705,
438,
541,
3256,
2099,
28,
2536,
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,
2164,
14751,
4382,
20966,
3256,
2672,
28,
17821,
8,
198,
220,
30751,
13,
2860,
62,
49140,
10786,
12,
79,
3256,
705,
438,
634,
3256,
2099,
28,
2536,
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,
2164,
14751,
4382,
2493,
3256,
2672,
28,
17821,
8,
198,
220,
30751,
13,
2860,
62,
49140,
10786,
12,
77,
3256,
705,
438,
4774,
62,
3672,
3256,
2099,
28,
2536,
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,
2164,
14751,
4382,
2583,
1438,
3256,
2672,
28,
17821,
8,
198,
220,
26498,
796,
30751,
13,
29572,
62,
22046,
3419,
198,
220,
1057,
7,
22046,
13,
541,
11,
26498,
13,
634,
11,
26498,
13,
4774,
62,
3672,
8,
198
] | 2.151329 | 489 |
from .api import AdflyApi
__all__ = ['AdflyApi']
| [
6738,
764,
15042,
1330,
1215,
12254,
32,
14415,
198,
198,
834,
439,
834,
796,
37250,
2782,
12254,
32,
14415,
20520,
198
] | 2.380952 | 21 |
from __main__ import (
app,
session,
redirect,
render_template,
request,
jsonify,
uuid4,
USERS,
)
from json import (
dumps,
) # https://stackoverflow.com/questions/11994325/how-to-divide-flask-app-into-multiple-py-files
### LOGIN ###
@app.route("/login")
@app.route("/login", methods=["POST"])
### LOGIN end ###
### REGISTER ###
@app.route("/register")
@app.route("/register", methods=["POST"])
### REGISTER end ###
@app.route("/logout")
| [
6738,
11593,
12417,
834,
1330,
357,
198,
220,
220,
220,
598,
11,
198,
220,
220,
220,
6246,
11,
198,
220,
220,
220,
18941,
11,
198,
220,
220,
220,
8543,
62,
28243,
11,
198,
220,
220,
220,
2581,
11,
198,
220,
220,
220,
33918,
1958,
11,
198,
220,
220,
220,
334,
27112,
19,
11,
198,
220,
220,
220,
1294,
4877,
11,
198,
8,
198,
6738,
33918,
1330,
357,
198,
220,
220,
220,
45514,
11,
198,
8,
220,
1303,
3740,
1378,
25558,
2502,
11125,
13,
785,
14,
6138,
507,
14,
16315,
24,
3559,
1495,
14,
4919,
12,
1462,
12,
7146,
485,
12,
2704,
2093,
12,
1324,
12,
20424,
12,
48101,
12,
9078,
12,
16624,
198,
198,
21017,
41605,
1268,
44386,
198,
31,
1324,
13,
38629,
7203,
14,
38235,
4943,
628,
198,
31,
1324,
13,
38629,
7203,
14,
38235,
1600,
5050,
28,
14692,
32782,
8973,
8,
628,
198,
21017,
41605,
1268,
886,
44386,
628,
198,
21017,
23337,
41517,
44386,
198,
31,
1324,
13,
38629,
7203,
14,
30238,
4943,
628,
198,
31,
1324,
13,
38629,
7203,
14,
30238,
1600,
5050,
28,
14692,
32782,
8973,
8,
628,
198,
21017,
23337,
41517,
886,
44386,
628,
198,
31,
1324,
13,
38629,
7203,
14,
6404,
448,
4943,
198
] | 2.44 | 200 |
"""
A queue is a data structure whose primary purpose is to store and
return elements in First In First Out order.
1. [X] Implement the Queue class using an array as the underlying storage structure.
Make sure the Queue tests pass.
2. [X] Re-implement the Queue class, this time using the linked list implementation
as the underlying storage structure.
Make sure the Queue tests pass.
3. [X] What is the difference between using an array vs. a linked list when
implementing a Queue?
Major difference is, arrays are index-based data structure and each element of the array is associated with an index. With a linked list, it relies on pointers; each node has the data and then pointers to both previous and next elements. You use binary or linear searches to traverse arrays; linear to traverse linked lists. Arrays are directly or randomly accessed and you can access any element in them; queues are accessed via first pointer only.
Stretch: [X] What if you could only use instances of your Stack class to implement the Queue? What would that look like?
You'd need one for one direction and one for the opposite direction.
[X] How many Stacks would you need?
Two
[X] Try it!
doubly linked list?
"""
from singly_linked_list import LinkedList
| [
37811,
198,
32,
16834,
318,
257,
1366,
4645,
3025,
4165,
4007,
318,
284,
3650,
290,
198,
7783,
4847,
287,
3274,
554,
3274,
3806,
1502,
13,
220,
198,
16,
13,
685,
55,
60,
48282,
262,
4670,
518,
1398,
1262,
281,
7177,
355,
262,
10238,
6143,
4645,
13,
198,
220,
220,
6889,
1654,
262,
4670,
518,
5254,
1208,
13,
198,
17,
13,
685,
55,
60,
797,
12,
320,
26908,
262,
4670,
518,
1398,
11,
428,
640,
1262,
262,
6692,
1351,
7822,
198,
220,
220,
355,
262,
10238,
6143,
4645,
13,
198,
220,
220,
6889,
1654,
262,
4670,
518,
5254,
1208,
13,
198,
18,
13,
685,
55,
60,
1867,
318,
262,
3580,
1022,
1262,
281,
7177,
3691,
13,
257,
6692,
1351,
618,
220,
198,
220,
220,
15427,
257,
4670,
518,
30,
198,
220,
220,
8386,
3580,
318,
11,
26515,
389,
6376,
12,
3106,
1366,
4645,
290,
1123,
5002,
286,
262,
7177,
318,
3917,
351,
281,
6376,
13,
220,
2080,
257,
6692,
1351,
11,
340,
16507,
319,
32007,
26,
1123,
10139,
468,
262,
1366,
290,
788,
32007,
284,
1111,
2180,
290,
1306,
4847,
13,
220,
921,
779,
13934,
393,
14174,
15455,
284,
38138,
26515,
26,
14174,
284,
38138,
6692,
8341,
13,
220,
943,
20477,
389,
3264,
393,
15456,
17535,
290,
345,
460,
1895,
597,
5002,
287,
606,
26,
43359,
389,
17535,
2884,
717,
17562,
691,
13,
198,
220,
220,
220,
198,
39181,
25,
685,
55,
60,
1867,
611,
345,
714,
691,
779,
10245,
286,
534,
23881,
1398,
284,
3494,
262,
4670,
518,
30,
220,
1867,
561,
326,
804,
588,
30,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
921,
1549,
761,
530,
329,
530,
4571,
290,
530,
329,
262,
6697,
4571,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
685,
55,
60,
1374,
867,
520,
4595,
561,
345,
761,
30,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
4930,
198,
220,
220,
220,
220,
220,
220,
220,
220,
685,
55,
60,
9993,
340,
0,
198,
220,
220,
220,
220,
220,
220,
220,
220,
3385,
306,
6692,
1351,
30,
198,
37811,
198,
198,
6738,
1702,
306,
62,
25614,
62,
4868,
1330,
7502,
276,
8053,
628
] | 3.69382 | 356 |
from django.apps import AppConfig
| [
6738,
42625,
14208,
13,
18211,
1330,
2034,
16934,
628
] | 3.888889 | 9 |
"""
Follow up for N-Queens problem.
Now, instead outputting board configurations, return the total number of distinct solutions.
"""
# @return an integer
# First remember this is diff to a normal cheesboard,
# placing a n*n chess board
# input 1, expect 1 but not 8
# Keep in mind the way to use self.ret as global
| [
37811,
198,
7155,
510,
329,
399,
12,
15681,
641,
1917,
13,
198,
198,
3844,
11,
2427,
5072,
889,
3096,
25412,
11,
1441,
262,
2472,
1271,
286,
7310,
8136,
13,
198,
37811,
198,
220,
220,
220,
1303,
2488,
7783,
281,
18253,
628,
220,
220,
220,
1303,
3274,
3505,
428,
318,
814,
284,
257,
3487,
27384,
3526,
11,
198,
220,
220,
220,
1303,
12560,
257,
299,
9,
77,
19780,
3096,
198,
220,
220,
220,
1303,
5128,
352,
11,
1607,
352,
475,
407,
807,
198,
220,
220,
220,
1303,
9175,
287,
2000,
262,
835,
284,
779,
2116,
13,
1186,
355,
3298,
198
] | 3.40404 | 99 |
"""Contains all classes related to the Character Bazaar sections in Tibia.com"""
import datetime
import logging
import re
import urllib.parse
from typing import Dict, List, Optional
import bs4
from tibiapy import InvalidContent, Sex, Vocation, abc
from tibiapy.abc import BaseCharacter
from tibiapy.enums import (AuctionOrder, AuctionOrderBy, AuctionSearchType, AuctionStatus, BattlEyeTypeFilter,
BazaarType, BidType, PvpTypeFilter, SkillFilter, VocationAuctionFilter)
from tibiapy.utils import (convert_line_breaks, get_tibia_url, parse_form_data, parse_integer, parse_pagination,
parse_tibia_datetime, parse_tibiacom_content, try_enum)
__all__ = (
"AchievementEntry",
"Auction",
"AuctionFilters",
"CharacterBazaar",
"CharmEntry",
"BestiaryEntry",
"BlessingEntry",
"DisplayItem",
"DisplayMount",
"DisplayOutfit",
"DisplayFamiliar",
"ItemSummary",
"AuctionEntry",
"Outfits",
"OutfitImage",
"Mounts",
"Familiars",
"SalesArgument",
"SkillEntry",
)
results_pattern = re.compile(r'Results: (\d+)')
char_info_regex = re.compile(r'Level: (\d+) \| Vocation: ([\w\s]+)\| (\w+) \| World: (\w+)')
id_addon_regex = re.compile(r'(\d+)_(\d)\.gif')
id_regex = re.compile(r'(\d+).(?:gif|png)')
description_regex = re.compile(r'"(?:an?\s)?([^"]+)"')
amount_regex = re.compile(r'([\d,]+)x')
log = logging.getLogger("tibiapy")
class AchievementEntry(abc.Serializable):
"""An unlocked achievement by the character.
Attributes
----------
name: :class:`str`
The name of the achievement.
secret: :class:`bool`
Whether the achievement is secret or not.
"""
__slots__ = (
"name",
"secret",
)
class AuctionFilters(abc.Serializable):
"""The auction filters available in the auctions section.
All attributes are optional.
Attributes
----------
world: :class:`str`
The character's world to show characters for.
pvp_type: :class:`PvpTypeFilter`
The PvP type of the character's worlds to show.
battleye: :class:`BattlEyeTypeFilter`
The type of BattlEye protection of the character's worlds to show.
vocation: :class:`VocationAuctionFilter`
The character vocation to show results for.
min_level: :class:`int`
The minimum level to display.
max_level: :class:`int`
The maximum level to display.
skill: :class:`SkillFilter`
The skill to filter by its level range.
min_skill_level: :class:`int`
The minimum skill level of the selected :attr:`skill` to display.
max_skill_level: :class:`int`
The maximum skill level of the selected :attr:`skill` to display.
search_string: :class:`str`
The search term to filter out auctions.
search_type: :class:`AuctionSearchType`
The type of search to use. Defines the behaviour of :py:attr:`search_string`.
available_worlds: :class:`list` of :class:`str`
The list of available worlds to select to filter.
"""
__slots__ = (
"world",
"pvp_type",
"battleye",
"vocation",
"min_level",
"max_level",
"skill",
"min_skill_level",
"max_skill_level",
"order_by",
"order",
"search_string",
"search_type",
"available_worlds",
)
@property
def query_params(self):
""":class:`dict`: The query parameters representing this filter."""
params = {
"filter_profession": self.vocation.value if self.vocation else None,
"filter_levelrangefrom": self.min_level,
"filter_levelrangeto": self.max_level,
"filter_world": self.world,
"filter_worldpvptype": self.pvp_type.value if self.pvp_type else None,
"filter_worldbattleyestate": self.battleye.value if self.battleye else None,
"filter_skillid": self.skill.value if self.skill else None,
"filter_skillrangefrom": self.min_skill_level,
"filter_skillrangeto": self.max_skill_level,
"order_column": self.order_by.value if self.order_by else None,
"order_direction": self.order.value if self.order else None,
"searchstring": self.search_string,
"searchtype": self.search_type.value if self.search_type else None,
}
return {k: v for k, v in params.items() if v is not None}
@classmethod
def _parse_filter_table(cls, table):
"""Parse the filters table to extract its values.
Parameters
----------
table: :class:`bs4.Tag`
The table containing the filters.
Returns
-------
:class:`AuctionFilters`
The currently applied filters.
"""
filters = AuctionFilters()
forms = table.find_all("form")
data = parse_form_data(forms[0], include_options=True)
data_search = parse_form_data(forms[1], include_options=True)
filters.world = data["filter_world"]
filters.available_worlds = [w for w in data.get("__options__", {}).get("filter_world", []) if "(" not in w]
filters.pvp_type = try_enum(PvpTypeFilter, parse_integer(data.get("filter_worldpvptype"), None))
filters.battleye = try_enum(BattlEyeTypeFilter, parse_integer(data.get("filter_worldbattleyestate"), None))
filters.vocation = try_enum(VocationAuctionFilter, parse_integer(data.get("filter_profession"), None))
filters.min_level = parse_integer(data.get("filter_levelrangefrom"), None)
filters.max_level = parse_integer(data.get("filter_levelrangeto"), None)
filters.skill = try_enum(SkillFilter, parse_integer(data.get("filter_skillid"), None))
filters.min_skill_level = parse_integer(data.get("filter_skillrangefrom"), None)
filters.max_skill_level = parse_integer(data.get("filter_skillrangeto"), None)
filters.order_by = try_enum(AuctionOrderBy, parse_integer(data.get("order_column"), None))
filters.order = try_enum(AuctionOrder, parse_integer(data.get("order_direction"), None))
filters.search_string = data_search.get("searchstring")
filters.search_type = try_enum(AuctionSearchType, parse_integer(data_search.get("searchtype"), None))
return filters
class BestiaryEntry(abc.Serializable):
"""The bestiary progress for a specific creature.
Attributes
----------
name: :class:`str`
The name of the creature.
kills: :class:`int`
The number of kills of this creature the player has done.
step: :class:`int`
The current step to unlock this creature the character is in, where 4 is fully unlocked.
"""
__slots__ = (
"name",
"kills",
"step",
)
@property
def completed(self):
""":class:`bool`: Whether the entry is completed or not."""
return self.step == 4
class BlessingEntry(abc.Serializable):
"""A character's blessings.
Attributes
----------
name: :class:`str`
The name of the blessing.
amount: :class:`int`
The amount of blessing charges the character has.
"""
__slots__ = (
"name",
"amount",
)
class CharacterBazaar(abc.Serializable):
"""Represents the char bazaar.
Attributes
----------
page: :class:`int`
The page being currently viewed.
total_pages: :class:`int`
The total number of pages available.
results_count: :class:`int`
The number of auctions listed.
entries: :class:`list` of :class:`AuctionEntry`
The auctions displayed.
type: :class:`BazaarType`
The type of auctions being displayed, either current or auction history.
filters: :class:`AuctionFilters`
The currently set filtering options.
"""
__slots__ = (
"type",
"filters",
"page",
"total_pages",
"results_count",
"entries",
)
# region Properties
@property
def url(self):
""":class:`str`: Get the URL to the bazaar."""
return self.get_auctions_history_url(self.page) if self.type == BazaarType.HISTORY else \
self.get_current_auctions_url(self.page, self.filters)
# endregion
# region Public Methods
@classmethod
def get_current_auctions_url(cls, page=1, filters=None):
"""Get the URL to the list of current auctions in Tibia.com.
Parameters
----------
page: :class:`int`
The page to show the URL for.
filters: :class:`AuctionFilters`
The filtering criteria to use.
Returns
-------
:class:`str`
The URL to the current auctions section in Tibia.com
"""
filters = filters or AuctionFilters()
return get_tibia_url("charactertrade", "currentcharactertrades", currentpage=page, **filters.query_params)
@classmethod
def get_auctions_history_url(cls, page=1, filters=None):
"""Get the URL to the auction history in Tibia.com.
Parameters
----------
page: :class:`int`
The page to show the URL for.
filters: :class:`AuctionFilters`
The filtering criteria to use.
Returns
-------
:class:`str`
The URL to the auction history section in Tibia.com
"""
filters = filters or AuctionFilters()
return get_tibia_url("charactertrade", "pastcharactertrades", currentpage=page, **filters.query_params)
@classmethod
def from_content(cls, content):
"""Get the bazaar's information and list of auctions from Tibia.com.
Parameters
----------
content: :class:`str`
The HTML content of the bazaar section at Tibia.com.
Returns
-------
:class:`CharacterBazaar`
The character bazaar with the entries found.
"""
try:
parsed_content = parse_tibiacom_content(content, builder='html5lib')
content_table = parsed_content.find("div", attrs={"class": "BoxContent"})
tables = content_table.find_all("div", attrs={"class": "TableContainer"})
filter_table = None
if len(tables) == 1:
auctions_table = tables[0]
else:
filter_table, auctions_table, *_ = tables
bazaar = cls()
bazaar.type = BazaarType.CURRENT if filter_table else BazaarType.HISTORY
if filter_table:
bazaar.filters = AuctionFilters._parse_filter_table(filter_table)
page_navigation_row = parsed_content.find("td", attrs={"class": "PageNavigation"})
if page_navigation_row:
bazaar.page, bazaar.total_pages, bazaar.results_count = parse_pagination(page_navigation_row)
auction_rows = auctions_table.find_all("div", attrs={"class": "Auction"})
for auction_row in auction_rows:
auction = AuctionEntry._parse_auction(auction_row)
bazaar.entries.append(auction)
return bazaar
except ValueError as e:
raise InvalidContent("content does not belong to the bazaar at Tibia.com", original=e)
# endregion
class CharmEntry(abc.Serializable):
"""An unlocked charm by the character.
Attributes
----------
name: :class:`str`
The name of the charm.
cost: :class:`int`
The cost of the charm in charm points.
"""
__slots__ = (
"name",
"cost",
)
class DisplayImage(abc.Serializable):
"""An image displayed in the auction.
Attributes
----------
image_url: :class:`str`
The URL to the image.
name: :class:`str`
The element's name.
"""
__slots__ = (
"image_url",
"name",
)
@classmethod
class DisplayItem(abc.Serializable):
"""Represents an item displayed on an auction, or the character's items in the auction detail.
Attributes
----------
image_url: :class:`str`
The URL to the item's image.
name: :class:`str`
The item's name.
description: :class:`str`
The item's description, if any.
count: :class:`int`
The item's count.
item_id: :class:`int`
The item's client id.
"""
__slots__ = (
"image_url",
"name",
"description",
"count",
"item_id",
)
@classmethod
class DisplayMount(DisplayImage):
"""Represents a mount owned or unlocked by the character.
Attributes
----------
image_url: :class:`str`
The URL to the image.
name: :class:`str`
The mount's name.
mount_id: :class:`int`
The internal ID of the mount.
"""
__slots__ = (
"mount_id",
)
@classmethod
class DisplayOutfit(DisplayImage):
"""Represents an outfit owned or unlocked by the character.
Attributes
----------
image_url: :class:`str`
The URL to the image.
name: :class:`str`
The outfit's name.
outfit_id: :class:`int`
The internal ID of the outfit.
addons: :class:`int`
The unlocked or owned addons for this outfit.
"""
__slots__ = (
"outfit_id",
"addons",
)
@classmethod
class DisplayFamiliar(DisplayImage):
"""Represents a familiar owned or unlocked by the character.
Attributes
----------
image_url: :class:`str`
The URL to the image.
name: :class:`str`
The familiar's name.
familiar_id: :class:`int`
The internal ID of the familiar.
"""
__slots__ = (
"familiar_id",
)
@classmethod
class AuctionEntry(BaseCharacter, abc.Serializable):
"""Represents an auction in the list, containing the summary.
Attributes
----------
auction_id: :class:`int`
The internal id of the auction.
name: :class:`str`
The name of the character.
level: :class:`int`
The level of the character.
world: :class:`str`
The world the character is in.
vocation: :class:`Vocation`
The vocation of the character.
sex: :class:`Sex`
The sex of the character.
outfit: :class:`OutfitImage`
The current outfit selected by the user.
displayed_items: :class:`list` of :class:`DisplayItem`
The items selected to be displayed.
sales_arguments: :class:`list` of :class:`SalesArgument`
The sale arguments selected for the auction.
auction_start: :class:`datetime.datetime`
The date when the auction started.
auction_end: :class:`datetime.datetime`
The date when the auction ends.
bid: :class:`int`
The current bid in Tibia Coins.
bid_type: :class:`BidType`
The type of the auction's bid.
status: :class:`AuctionStatus`
The current status of the auction.
"""
__slots__ = (
"auction_id",
"name",
"level",
"world",
"vocation",
"sex",
"outfit",
"displayed_items",
"sales_arguments",
"auction_start",
"auction_end",
"bid",
"bid_type",
"status",
)
# region Properties
@property
def character_url(self):
""":class:`str`: The URL of the character's information page on Tibia.com."""
return BaseCharacter.get_url(self.name)
@property
def url(self):
""":class:`str`: The URL to this auction's detail page on Tibia.com."""
return self.get_url(self.auction_id)
# endregion
# region Public Methods
@classmethod
def get_url(cls, auction_id):
"""Get the URL to the Tibia.com detail page of an auction with a given id.
Parameters
----------
auction_id: :class:`int`
The ID of the auction.
Returns
-------
:class:`str`
The URL to the auction's detail page.
"""
return get_tibia_url("charactertrade", "currentcharactertrades", page="details", auctionid=auction_id)
# endregion
# region Private Methods
@classmethod
def _parse_auction(cls, auction_row, auction_id=0):
"""Parse an auction's table, extracting its data.
Parameters
----------
auction_row: :class:`bs4.Tag`
The row containing the auction's information.
auction_id: :class:`int`
The ID of the auction.
Returns
-------
:class:`AuctionEntry`
The auction contained in the table.
"""
header_container = auction_row.find("div", attrs={"class": "AuctionHeader"})
char_name_container = header_container.find("div", attrs={"class": "AuctionCharacterName"})
char_link = char_name_container.find("a")
if char_link:
url = urllib.parse.urlparse(char_link["href"])
query = urllib.parse.parse_qs(url.query)
auction_id = int(query["auctionid"][0])
name = char_link.text
else:
name = char_name_container.text
auction = cls(name=name, auction_id=auction_id)
char_name_container.replaceWith('')
m = char_info_regex.search(header_container.text)
if m:
auction.level = int(m.group(1))
auction.vocation = try_enum(Vocation, m.group(2).strip())
auction.sex = try_enum(Sex, m.group(3).strip().lower())
auction.world = m.group(4)
outfit_img = auction_row.find("img", {"class": "AuctionOutfitImage"})
m = id_addon_regex.search(outfit_img["src"])
if m:
auction.outfit = OutfitImage(image_url=outfit_img["src"], outfit_id=int(m.group(1)), addons=int(m.group(2)))
item_boxes = auction_row.find_all("div", attrs={"class": "CVIcon"})
for item_box in item_boxes:
item = DisplayItem._parse_image_box(item_box)
if item:
auction.displayed_items.append(item)
dates_containers = auction_row.find("div", {"class": "ShortAuctionData"})
start_date_tag, end_date_tag, *_ = dates_containers.find_all("div", {"class": "ShortAuctionDataValue"})
auction.auction_start = parse_tibia_datetime(start_date_tag.text.replace('\xa0', ' '))
auction.auction_end = parse_tibia_datetime(end_date_tag.text.replace('\xa0', ' '))
bids_container = auction_row.find("div", {"class": "ShortAuctionDataBidRow"})
bid_tag = bids_container.find("div", {"class", "ShortAuctionDataValue"})
bid_type_tag = bids_container.find_all("div", {"class", "ShortAuctionDataLabel"})[0]
bid_type_str = bid_type_tag.text.replace(":", "").strip()
auction.bid_type = try_enum(BidType, bid_type_str)
auction.bid = parse_integer(bid_tag.text)
auction_body_block = auction_row.find("div", {"class", "CurrentBid"})
auction_info_tag = auction_body_block.find("div", {"class": "AuctionInfo"})
status = ""
if auction_info_tag:
convert_line_breaks(auction_info_tag)
status = auction_info_tag.text.replace("\n", " ").replace(" ", " ")
auction.status = try_enum(AuctionStatus, status, AuctionStatus.IN_PROGRESS)
argument_entries = auction_row.find_all("div", {"class": "Entry"})
for entry in argument_entries:
img = entry.find("img")
img_url = img["src"]
category_id = 0
m = id_regex.search(img_url)
if m:
category_id = parse_integer(m.group(1))
auction.sales_arguments.append(SalesArgument(content=entry.text, category_image=img_url,
category_id=category_id))
return auction
# endregion
class Auction(AuctionEntry):
"""The details of an auction.
Attributes
----------
auction_id: :class:`int`
The internal id of the auction.
name: :class:`str`
The name of the character.
level: :class:`int`
The level of the character.
world: :class:`str`
The world the character is in.
vocation: :class:`Vocation`
The vocation of the character.
sex: :class:`Sex`
The sex of the character.
outfit: :class:`OutfitImage`
The current outfit selected by the user.
displayed_items: :class:`list` of :class:`DisplayItem`
The items selected to be displayed.
sales_arguments: :class:`list` of :class:`SalesArgument`
The sale arguments selected for the auction.
auction_start: :class:`datetime.datetime`
The date when the auction started.
auction_end: :class:`datetime.datetime`
The date when the auction ends.
bid: :class:`int`
The current bid in Tibia Coins.
bid_type: :class:`BidType`
The type of the auction's bid.
status: :class:`AuctionStatus`
The current status of the auction.
hit_points: :class:`int`
The hit points of the character.
mana: :class:`int`
The mana points of the character.
capacity: :class:`int`
The character's capacity in ounces.
speed: :class:`int`
The character's speed.
blessings_count: :class:`int`
The number of blessings the character has.
outfits_count: :class:`int`
The number of outfits the character has.
titles_count: :class:`int`
The number of titles the character has.
skills: :class:`list` of :class:`SkillEntry`
The current skills of the character.
creation_date: :class:`datetime.datetime`
The date when the character was created.
experience: :class:`int`
The total experience of the character.
gold: :class:`int`
The total amount of gold the character has.
achievement_points: :class:`int`
The number of achievement points of the character.
regular_world_transfer_available_date: :class:`datetime.datetmie`
The date after regular world transfers will be available to purchase and use.
:obj:`None` indicates it is available immediately.
charm_expansion: :class:`bool`
Whether the character has a charm expansion or not.
available_charm_points: :class:`int`
The amount of charm points the character has available to spend.
spent_charm_points: :class:`int`
The total charm points the character has spent.
prey_wildcards: :class:`int`
The number of Prey Wildcards the character has.
daly_reward_streak: :class:`int`
The current daily reward streak.
permanent_hunting_task_slots: :class:`int`
The number of hunting task slots.
permanent_prey_slots: :class:`int`
The number of prey slots.
hirelings: :class:`int`
The number of hirelings the character has.
hireling_jobs: :class:`int`
The number of hireling jobs the character has.
hireling_outfits: :class:`int`
The number of hireling outfits the character has.
items: :class:`ItemSummary`
The items the character has across inventory, depot and item stash.
store_items: :class:`ItemSummary`
The store items the character has.
mounts: :class:`Mounts`
The mounts the character has unlocked.
store_mounts: :class:`Mounts`
The mounts the character has purchased from the store.
outfits: :class:`Outfits`
The outfits the character has unlocked.
store_outfits: :class:`Outfits`
The outfits the character has purchased from the store.
familiars: :class:`Familiars`
The familiars the character has purchased or unlocked.
blessings: :class:`list` of :class:`BlessingEntry`
The blessings the character has.
imbuements: :class:`list` of :class:`str`
The imbuements the character has unlocked access to.
charms: :class:`list` of :class:`CharmEntry`
The charms the character has unlocked.
completed_cyclopedia_map_areas: :class:`list` of :class:`str`
The cyclopedia map areas that the character has fully discovered.
completed_quest_lines: :class:`list` of :class:`str`
The quest lines the character has fully completed.
titles: :class:`list` of :class:`str`
The titles the character has unlocked.
achievements: :class:`list` of :class:`AchievementEntry`
The achievements the character has unlocked.
bestiary_progress: :class:`list` of :class:`BestiaryEntry`
The bestiary progress of the character.
"""
__slots__ = (
"hit_points",
"mana",
"capacity",
"speed",
"blessings_count",
"mounts_count",
"outfits_count",
"titles_count",
"skills",
"creation_date",
"experience",
"gold",
"achievement_points",
"regular_world_transfer_available_date",
"charm_expansion",
"available_charm_points",
"spent_charm_points",
"daily_reward_streak",
"hunting_task_points",
"permanent_hunting_task_slots",
"permanent_prey_slots",
"prey_wildcards",
"hirelings",
"hireling_jobs",
"hireling_outfits",
"items",
"store_items",
"mounts",
"store_mounts",
"outfits",
"store_outfits",
"familiars",
"blessings",
"imbuements",
"charms",
"completed_cyclopedia_map_areas",
"completed_quest_lines",
"titles",
"achievements",
"bestiary_progress",
)
# region Properties
@property
def completed_bestiary_entries(self):
""":class:`list` of :class:`BestiaryEntry`: Get a list of completed bestiary entries."""
return [e for e in self.bestiary_progress if e.completed]
@property
def regular_world_transfer_available(self):
""":class:`bool`: Whether regular world transfers are available immediately for this character."""
return self.regular_world_transfer_available_date is None
@property
def skills_map(self) -> Dict[str, 'SkillEntry']:
""":class:`dict` of :class:`str`, :class:`SkillEntry`: A mapping of skills by their name."""
return {skill.name: skill for skill in self.skills}
# endregion
# region Public Methods
@classmethod
def from_content(cls, content, auction_id=0, skip_details=False):
"""Parse an auction detail page from Tibia.com and extracts its data.
Parameters
----------
content: :class:`str`
The HTML content of the auction detail page in Tibia.com
auction_id: :class:`int`, optional
The ID of the auction.
It is not possible to extract the ID from the page's content, so it may be passed to assign it manually.
skip_details: :class:`bool`, optional
Whether to skip parsing the entire auction and only parse the information shown in lists. False by default.
This allows fetching basic information like name, level, vocation, world, bid and status, shaving off some
parsing time.
Returns
-------
:class:`Auction`
The auction details if found, :obj:`None` otherwise.
Raises
------
InvalidContent
If the content does not belong to a auction detail's page.
"""
parsed_content = parse_tibiacom_content(content, builder='html5lib' if not skip_details else 'lxml')
auction_row = parsed_content.find("div", attrs={"class": "Auction"})
if not auction_row:
if "internal error" in content:
return None
raise InvalidContent("content does not belong to a auction details page in Tibia.com")
auction = cls._parse_auction(auction_row)
auction.auction_id = auction_id
if skip_details:
return auction
details_tables = cls._parse_tables(parsed_content)
if "General" in details_tables:
auction._parse_general_table(details_tables["General"])
if "ItemSummary" in details_tables:
auction.items = ItemSummary._parse_table(details_tables["ItemSummary"])
if "StoreItemSummary" in details_tables:
auction.store_items = ItemSummary._parse_table(details_tables["StoreItemSummary"])
if "Mounts" in details_tables:
auction.mounts = Mounts._parse_table(details_tables["Mounts"])
if "StoreMounts" in details_tables:
auction.store_mounts = Mounts._parse_table(details_tables["StoreMounts"])
if "Outfits" in details_tables:
auction.outfits = Outfits._parse_table(details_tables["Outfits"])
if "StoreOutfits" in details_tables:
auction.store_outfits = Outfits._parse_table(details_tables["StoreOutfits"])
if "Familiars" in details_tables:
auction.familiars = Familiars._parse_table(details_tables["Familiars"])
if "Blessings" in details_tables:
auction._parse_blessings_table(details_tables["Blessings"])
if "Imbuements" in details_tables:
auction.imbuements = cls._parse_single_column_table(details_tables["Imbuements"])
if "Charms" in details_tables:
auction._parse_charms_table(details_tables["Charms"])
if "CompletedCyclopediaMapAreas" in details_tables:
auction.completed_cyclopedia_map_areas = cls._parse_single_column_table(
details_tables["CompletedCyclopediaMapAreas"])
if "CompletedQuestLines" in details_tables:
auction.completed_quest_lines = cls._parse_single_column_table(details_tables["CompletedQuestLines"])
if "Titles" in details_tables:
auction.titles = cls._parse_single_column_table(details_tables["Titles"])
if "Achievements" in details_tables:
auction._parse_achievements_table(details_tables["Achievements"])
if "BestiaryProgress" in details_tables:
auction._parse_bestiary_table(details_tables["BestiaryProgress"])
return auction
# endregion
# region Private Methods
@classmethod
def _parse_tables(cls, parsed_content) -> Dict[str, bs4.Tag]:
"""Parse the character details tables.
Parameters
----------
parsed_content: :class:`bs4.Tag`
The parsed content of the auction.
Returns
-------
:class:`dict`
A dictionary of the tables, grouped by their id.
"""
details_tables = parsed_content.find_all("div", {"class": "CharacterDetailsBlock"})
return {table["id"]: table for table in details_tables}
@classmethod
def _parse_data_table(cls, table) -> Dict[str, str]:
"""Parse a simple data table into a key value mapping.
Parameters
----------
table: :class:`bs4.Tag`
The table to be parsed.
Returns
-------
:class:`dict`
A mapping containing the table's data.
"""
rows = table.find_all("tr")
data = {}
for row in rows:
name = row.find("span").text
value = row.find("div").text
name = name.lower().strip().replace(" ", "_").replace(":", "")
data[name] = value
return data
def _parse_skills_table(self, table):
"""Parse the skills table.
Parameters
----------
table: :class:`bs4.Tag`
The table containing the character's skill.
"""
rows = table.find_all("tr")
skills = []
for row in rows:
cols = row.find_all("td")
name_c, level_c, progress_c = [c.text for c in cols]
level = int(level_c)
progress = float(progress_c.replace("%", ""))
skills.append(SkillEntry(name=name_c, level=level, progress=progress))
self.skills = skills
def _parse_blessings_table(self, table):
"""Parse the blessings table.
Parameters
----------
table: :class:`bs4.Tag`
The table containing the character's blessings.
"""
table_content = table.find("table", attrs={"class": "TableContent"})
_, *rows = table_content.find_all("tr")
for row in rows:
cols = row.find_all("td")
amount_c, name_c = [c.text for c in cols]
amount = int(amount_c.replace("x", ""))
self.blessings.append(BlessingEntry(name_c, amount))
@classmethod
def _parse_single_column_table(cls, table):
"""Parse a table with a single column into an array.
Parameters
----------
table: :class:`bs4.Tag`
A table with a single column.
Returns
-------
:class:`list` of :class:`str`
A list with the contents of each row.
"""
table_content = table.find_all("table", attrs={"class": "TableContent"})[-1]
_, *rows = table_content.find_all("tr")
ret = []
for row in rows:
col = row.find("td")
text = col.text
if "more entries" in text:
continue
ret.append(text)
return ret
def _parse_charms_table(self, table):
"""Parse the charms table and extracts its information.
Parameters
----------
table: :class:`bs4.Tag`
The table containing the charms.
"""
table_content = table.find("table", attrs={"class": "TableContent"})
_, *rows = table_content.find_all("tr")
for row in rows:
cols = row.find_all("td")
if len(cols) != 2:
continue
cost_c, name_c = [c.text for c in cols]
cost = parse_integer(cost_c.replace("x", ""))
self.charms.append(CharmEntry(name_c, cost))
def _parse_achievements_table(self, table):
"""Parse the achievements table and extracts its information.
Parameters
----------
table: :class:`bs4.Tag`
The table containing the achievements.
"""
table_content = table.find("table", attrs={"class": "TableContent"})
_, *rows = table_content.find_all("tr")
for row in rows:
col = row.find("td")
text = col.text.strip()
if "more entries" in text:
continue
secret = col.find("img") is not None
self.achievements.append(AchievementEntry(text, secret))
def _parse_bestiary_table(self, table):
"""Parse the bestiary table and extracts its information.
Parameters
----------
table: :class:`bs4.Tag`
The table containing the bestiary information.
"""
table_content = table.find("table", attrs={"class": "TableContent"})
_, *rows = table_content.find_all("tr")
for row in rows:
cols = row.find_all("td")
if len(cols) != 3:
continue
step_c, kills_c, name_c = [c.text for c in cols]
kills = parse_integer(kills_c.replace("x", ""))
step = int(step_c)
self.bestiary_progress.append(BestiaryEntry(name_c, kills, step))
@classmethod
def _parse_page_items(cls, content, entry_class):
"""Parse the elements of a page in the items, mounts and outfits.
Attributes
----------
content: :class:`str`
The HTML content in the page.
entry_class:
The class defining the elements.
Returns
-------
The entries contained in the page.
"""
parsed_content = parse_tibiacom_content(content, builder='html5lib')
item_boxes = parsed_content.find_all("div", attrs={"class": "CVIcon"})
entries = []
for item_box in item_boxes:
item = entry_class._parse_image_box(item_box)
if item:
entries.append(item)
return entries
def _parse_general_table(self, table):
"""Parse the general information table and assigns its values.
Parameters
----------
table: :class:`bs4.Tag`
The table with general information.
"""
content_containers = table.find_all("table", {"class": "TableContent"})
general_stats = self._parse_data_table(content_containers[0])
self.hit_points = parse_integer(general_stats.get("hit_points", "0"))
self.mana = parse_integer(general_stats.get("mana", "0"))
self.capacity = parse_integer(general_stats.get("capacity", "0"))
self.speed = parse_integer(general_stats.get("speed", "0"))
self.mounts_count = parse_integer(general_stats.get("mounts", "0"))
self.outfits_count = parse_integer(general_stats.get("outfits", "0"))
self.titles_count = parse_integer(general_stats.get("titles", "0"))
self.blessings_count = parse_integer(re.sub(r"/d+", "", general_stats.get("blessings", "0")))
self._parse_skills_table(content_containers[1])
additional_stats = self._parse_data_table(content_containers[2])
self.creation_date = parse_tibia_datetime(additional_stats.get("creation_date", "").replace("\xa0", " "))
self.experience = parse_integer(additional_stats.get("experience", "0"))
self.gold = parse_integer(additional_stats.get("gold", "0"))
self.achievement_points = parse_integer(additional_stats.get("achievement_points", "0"))
transfer_data = self._parse_data_table(content_containers[3])
transfer_text = transfer_data.get("regular_world_transfer")
if "after" in transfer_text:
date_string = transfer_text.split("after ")[1]
self.regular_world_transfer_available_date = parse_tibia_datetime(date_string)
charms_data = self._parse_data_table(content_containers[4])
self.charm_expansion = "yes" in charms_data.get("charm_expansion", "")
self.available_charm_points = parse_integer(charms_data.get("available_charm_points"))
self.spent_charm_points = parse_integer(charms_data.get("spent_charm_points"))
daily_rewards_data = self._parse_data_table(content_containers[5])
self.daily_reward_streak = parse_integer(daily_rewards_data.popitem()[1])
hunting_data = self._parse_data_table(content_containers[6])
self.hunting_task_points = parse_integer(hunting_data.get("hunting_task_points", ""))
self.permanent_hunting_task_slots = parse_integer(hunting_data.get("permanent_hunting_task_slots", ""))
self.permanent_prey_slots = parse_integer(hunting_data.get("permanent_prey_slots", ""))
self.prey_wildcards = parse_integer(hunting_data.get("prey_wildcards", ""))
hirelings_data = self._parse_data_table(content_containers[7])
self.hirelings = parse_integer(hirelings_data.get("hirelings", ""))
self.hireling_jobs = parse_integer(hirelings_data.get("hireling_jobs", ""))
self.hireling_outfits = parse_integer(hirelings_data.get("hireling_outfits", ""))
# endregion
class OutfitImage(abc.Serializable):
"""The image of the outfit currently being worn by the character.
Attributes
----------
image_url: :class:`str`
The URL of the image.
outfit_id: :class:`int`
The ID of the outfit.
addons: :class:`int`
The addons displayed in the outfit.
"""
__slots__ = (
"image_url",
"outfit_id",
"addons",
)
class PaginatedSummary(abc.Serializable):
"""Represents a paginated summary in the character auction section.
Attributes
----------
page: :class:`int`
The current page being displayed.
total_pages: :class:`int`
The total number of pages.
results: :class:`int`
The total number of results.
entries: :class:`list`
The entries.
fully_fetched: :class:`bool`
Whether the summary was fetched completely, including all other pages.
"""
entry_class = None
__slots__ = (
"page",
"total_pages",
"results",
"fully_fetched",
"entries",
)
# region Public Methods
def get_by_name(self, name):
"""Get an entry by its name.
Parameters
----------
name: :class:`str`
The name of the entry, case insensitive.
Returns
-------
:class:`object`:
The entry matching the name.
"""
return next((e for e in self.entries if e.name.lower() == name.lower()), None)
def search(self, value):
"""Search an entry by its name.
Parameters
----------
value: :class:`str`
The value to look for.
Returns
-------
:class:`list`
A list of entries with names containing the search term.
"""
return [e for e in self.entries if value.lower() in e.name.lower()]
def get_by_id(self, name):
"""Get an entry by its id.
Parameters
----------
name: :class:`str`
The name of the entry, case insensitive.
Returns
-------
:class:`object`:
The entry matching the name.
"""
return NotImplemented
# endregion
# region Private Methods
# endregion
class ItemSummary(PaginatedSummary):
"""Items in a character's inventory and depot.
Attributes
----------
page: :class:`int`
The current page being displayed.
total_pages: :class:`int`
The total number of pages.
results: :class:`int`
The total number of results.
entries: :class:`list` of :class:`DisplayItem`
The character's items.
fully_fetched: :class:`bool`
Whether the summary was fetched completely, including all other pages.
"""
entries: List[DisplayItem]
entry_class = DisplayItem
def get_by_id(self, entry_id):
"""Get an item by its item id.
Parameters
----------
entry_id: :class:`int`
The ID of the item.
Returns
-------
:class:`DisplayItem`
The item matching the id.
"""
return next((e for e in self.entries if e.item_id == entry_id), None)
@classmethod
def _parse_table(cls, table):
"""Parse the item summary table.
Parameters
----------
table: :class:`bs4.Tag`
The table containing the item summary.
Returns
-------
:class:`ItemSummary`
The item summary contained in the table.
"""
summary = cls()
summary._parse_pagination(table)
item_boxes = table.find_all("div", attrs={"class": "CVIcon"})
for item_box in item_boxes:
item = DisplayItem._parse_image_box(item_box)
if item:
summary.entries.append(item)
return summary
class Mounts(PaginatedSummary):
"""The mounts a character has unlocked or purchased.
Attributes
----------
page: :class:`int`
The current page being displayed.
total_pages: :class:`int`
The total number of pages.
results: :class:`int`
The total number of results.
entries: :class:`list` of :class:`DisplayMount`
The character's mounts.
fully_fetched: :class:`bool`
Whether the summary was fetched completely, including all other pages.
"""
entries: List[DisplayMount]
entry_class = DisplayMount
def get_by_id(self, entry_id):
"""Get a mount by its mount id.
Parameters
----------
entry_id: :class:`int`
The ID of the mount.
Returns
-------
:class:`DisplayMount`
The mount matching the id.
"""
return next((e for e in self.entries if e.mount_id == entry_id), None)
@classmethod
class Familiars(PaginatedSummary):
"""The familiars the character has unlocked or purchased.
Attributes
----------
page: :class:`int`
The current page being displayed.
total_pages: :class:`int`
The total number of pages.
results: :class:`int`
The total number of results.
entries: :class:`list` of :class:`DisplayFamiliar`
The familiars the character has unlocked or purchased.
fully_fetched: :class:`bool`
Whether the summary was fetched completely, including all other pages.
"""
entries: List[DisplayFamiliar]
entry_class = DisplayFamiliar
def get_by_id(self, entry_id):
"""Get an outfit by its familiar id.
Parameters
----------
entry_id: :class:`int`
The ID of the outfit.
Returns
-------
:class:`DisplayOutfit`
The outfit matching the id.
"""
return next((e for e in self.entries if e.familiar_id == entry_id), None)
@classmethod
def _parse_table(cls, table):
"""Parse the outfits table.
Parameters
----------
table: :class:`bs4.Tag`
The table containing the character outfits.
Returns
-------
:class:`Outfits`
The outfits contained in the table.
"""
summary = cls()
summary._parse_pagination(table)
item_boxes = table.find_all("div", attrs={"class": "CVIcon"})
for item_box in item_boxes:
item = DisplayFamiliar._parse_image_box(item_box)
if item:
summary.entries.append(item)
return summary
class Outfits(PaginatedSummary):
"""The outfits the character has unlocked or purchased.
Attributes
----------
page: :class:`int`
The current page being displayed.
total_pages: :class:`int`
The total number of pages.
results: :class:`int`
The total number of results.
entries: :class:`list` of :class:`DisplayOutfit`
The outfits the character has unlocked or purchased.
fully_fetched: :class:`bool`
Whether the summary was fetched completely, including all other pages.
"""
entries: List[DisplayOutfit]
entry_class = DisplayOutfit
def get_by_id(self, entry_id):
"""Get an outfit by its outfit id.
Parameters
----------
entry_id: :class:`int`
The ID of the outfit.
Returns
-------
:class:`DisplayOutfit`
The outfit matching the id.
"""
return next((e for e in self.entries if e.outfit_id == entry_id), None)
@classmethod
def _parse_table(cls, table):
"""Parse the outfits table.
Parameters
----------
table: :class:`bs4.Tag`
The table containing the character outfits.
Returns
-------
:class:`Outfits`
The outfits contained in the table.
"""
summary = cls()
summary._parse_pagination(table)
item_boxes = table.find_all("div", attrs={"class": "CVIcon"})
for item_box in item_boxes:
item = DisplayOutfit._parse_image_box(item_box)
if item:
summary.entries.append(item)
return summary
class SalesArgument(abc.Serializable):
"""Represents a sales argument.
Sales arguments can be selected when creating an auction, and allow the user to highlight certain
character features in the auction listing.
Attributes
----------
category_image: :class:`str`
The URL to the category icon.
content: :class:`str`
The content of the sales argument.
"""
__slots__ = (
"category_id",
"category_image",
"content",
)
class SkillEntry(abc.Serializable):
"""Represents the character's skills.
Attributes
----------
name: :class:`name`
The name of the skill.
level: :class:`int`
The current level.
progress: :class:`float`
The percentage of progress for the next level.
"""
__slots__ = (
"name",
"level",
"progress",
)
| [
37811,
4264,
1299,
477,
6097,
3519,
284,
262,
15684,
347,
34485,
9004,
287,
16653,
544,
13,
785,
37811,
198,
11748,
4818,
8079,
198,
11748,
18931,
198,
11748,
302,
198,
11748,
2956,
297,
571,
13,
29572,
198,
6738,
19720,
1330,
360,
713,
11,
7343,
11,
32233,
198,
198,
11748,
275,
82,
19,
198,
198,
6738,
256,
27567,
12826,
1330,
17665,
19746,
11,
14419,
11,
569,
5040,
11,
450,
66,
198,
6738,
256,
27567,
12826,
13,
39305,
1330,
7308,
27275,
198,
6738,
256,
27567,
12826,
13,
268,
5700,
1330,
357,
32,
8110,
18743,
11,
36071,
18743,
3886,
11,
36071,
18243,
6030,
11,
36071,
19580,
11,
12350,
75,
24876,
6030,
22417,
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,
347,
34485,
6030,
11,
43484,
6030,
11,
18367,
79,
6030,
22417,
11,
16023,
22417,
11,
569,
5040,
32,
8110,
22417,
8,
198,
6738,
256,
27567,
12826,
13,
26791,
1330,
357,
1102,
1851,
62,
1370,
62,
30058,
11,
651,
62,
83,
41145,
62,
6371,
11,
21136,
62,
687,
62,
7890,
11,
21136,
62,
41433,
11,
21136,
62,
79,
363,
1883,
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,
21136,
62,
83,
41145,
62,
19608,
8079,
11,
21136,
62,
83,
571,
9607,
296,
62,
11299,
11,
1949,
62,
44709,
8,
198,
198,
834,
439,
834,
796,
357,
198,
220,
220,
220,
366,
32,
24957,
434,
30150,
1600,
198,
220,
220,
220,
366,
32,
8110,
1600,
198,
220,
220,
220,
366,
32,
8110,
11928,
1010,
1600,
198,
220,
220,
220,
366,
27275,
33,
34485,
1600,
198,
220,
220,
220,
366,
1925,
1670,
30150,
1600,
198,
220,
220,
220,
366,
13014,
8042,
30150,
1600,
198,
220,
220,
220,
366,
33,
1203,
278,
30150,
1600,
198,
220,
220,
220,
366,
23114,
7449,
1600,
198,
220,
220,
220,
366,
23114,
35452,
1600,
198,
220,
220,
220,
366,
23114,
7975,
11147,
1600,
198,
220,
220,
220,
366,
23114,
37,
19968,
1600,
198,
220,
220,
220,
366,
7449,
22093,
1600,
198,
220,
220,
220,
366,
32,
8110,
30150,
1600,
198,
220,
220,
220,
366,
7975,
21013,
1600,
198,
220,
220,
220,
366,
7975,
11147,
5159,
1600,
198,
220,
220,
220,
366,
35452,
82,
1600,
198,
220,
220,
220,
366,
37,
321,
2403,
945,
1600,
198,
220,
220,
220,
366,
44490,
28100,
1713,
1600,
198,
220,
220,
220,
366,
35040,
30150,
1600,
198,
8,
198,
198,
43420,
62,
33279,
796,
302,
13,
5589,
576,
7,
81,
6,
25468,
25,
357,
59,
67,
28988,
11537,
198,
10641,
62,
10951,
62,
260,
25636,
796,
302,
13,
5589,
576,
7,
81,
6,
4971,
25,
357,
59,
67,
28988,
3467,
91,
569,
5040,
25,
29565,
59,
86,
59,
82,
48688,
19415,
91,
357,
59,
86,
28988,
3467,
91,
2159,
25,
357,
59,
86,
28988,
11537,
198,
312,
62,
48078,
62,
260,
25636,
796,
302,
13,
5589,
576,
7,
81,
6,
38016,
67,
28988,
62,
38016,
67,
8,
17405,
27908,
11537,
198,
312,
62,
260,
25636,
796,
302,
13,
5589,
576,
7,
81,
6,
38016,
67,
10,
737,
7,
27514,
27908,
91,
11134,
8,
11537,
198,
11213,
62,
260,
25636,
796,
302,
13,
5589,
576,
7,
81,
6,
18109,
27514,
272,
30,
59,
82,
19427,
26933,
61,
8973,
10,
16725,
11537,
198,
17287,
62,
260,
25636,
796,
302,
13,
5589,
576,
7,
81,
6,
26933,
59,
67,
11,
60,
28988,
87,
11537,
198,
198,
6404,
796,
18931,
13,
1136,
11187,
1362,
7203,
83,
27567,
12826,
4943,
628,
198,
4871,
45511,
30150,
7,
39305,
13,
32634,
13821,
2599,
198,
220,
220,
220,
37227,
2025,
14838,
13293,
416,
262,
2095,
13,
628,
220,
220,
220,
49213,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
1438,
25,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1438,
286,
262,
13293,
13,
198,
220,
220,
220,
3200,
25,
1058,
4871,
25,
63,
30388,
63,
198,
220,
220,
220,
220,
220,
220,
220,
10127,
262,
13293,
318,
3200,
393,
407,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
11593,
6649,
1747,
834,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3672,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
21078,
1600,
198,
220,
220,
220,
1267,
628,
198,
4871,
36071,
11928,
1010,
7,
39305,
13,
32634,
13821,
2599,
198,
220,
220,
220,
37227,
464,
14389,
16628,
1695,
287,
262,
48043,
2665,
13,
628,
220,
220,
220,
1439,
12608,
389,
11902,
13,
628,
220,
220,
220,
49213,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
995,
25,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2095,
338,
995,
284,
905,
3435,
329,
13,
198,
220,
220,
220,
279,
36133,
62,
4906,
25,
1058,
4871,
25,
63,
47,
36133,
6030,
22417,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
25576,
2099,
286,
262,
2095,
338,
11621,
284,
905,
13,
198,
220,
220,
220,
6274,
1636,
68,
25,
1058,
4871,
25,
63,
33,
1078,
75,
24876,
6030,
22417,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2099,
286,
12350,
75,
24876,
4800,
286,
262,
2095,
338,
11621,
284,
905,
13,
198,
220,
220,
220,
410,
5040,
25,
1058,
4871,
25,
63,
53,
5040,
32,
8110,
22417,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2095,
410,
5040,
284,
905,
2482,
329,
13,
198,
220,
220,
220,
949,
62,
5715,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
5288,
1241,
284,
3359,
13,
198,
220,
220,
220,
3509,
62,
5715,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
5415,
1241,
284,
3359,
13,
198,
220,
220,
220,
5032,
25,
1058,
4871,
25,
63,
35040,
22417,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
5032,
284,
8106,
416,
663,
1241,
2837,
13,
198,
220,
220,
220,
949,
62,
42401,
62,
5715,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
5288,
5032,
1241,
286,
262,
6163,
1058,
35226,
25,
63,
42401,
63,
284,
3359,
13,
198,
220,
220,
220,
3509,
62,
42401,
62,
5715,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
5415,
5032,
1241,
286,
262,
6163,
1058,
35226,
25,
63,
42401,
63,
284,
3359,
13,
198,
220,
220,
220,
2989,
62,
8841,
25,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2989,
3381,
284,
8106,
503,
48043,
13,
198,
220,
220,
220,
2989,
62,
4906,
25,
1058,
4871,
25,
63,
32,
8110,
18243,
6030,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2099,
286,
2989,
284,
779,
13,
2896,
1127,
262,
9172,
286,
1058,
9078,
25,
35226,
25,
63,
12947,
62,
8841,
44646,
198,
220,
220,
220,
1695,
62,
6894,
82,
25,
1058,
4871,
25,
63,
4868,
63,
286,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1351,
286,
1695,
11621,
284,
2922,
284,
8106,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
11593,
6649,
1747,
834,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
6894,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
79,
36133,
62,
4906,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
65,
1078,
1636,
68,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
85,
5040,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
1084,
62,
5715,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
9806,
62,
5715,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
42401,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
1084,
62,
42401,
62,
5715,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
9806,
62,
42401,
62,
5715,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2875,
62,
1525,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2875,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
12947,
62,
8841,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
12947,
62,
4906,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
15182,
62,
6894,
82,
1600,
198,
220,
220,
220,
1267,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
12405,
62,
37266,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
13538,
1298,
4871,
25,
63,
11600,
63,
25,
383,
12405,
10007,
10200,
428,
8106,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
42287,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
24455,
62,
5577,
2521,
1298,
2116,
13,
85,
5040,
13,
8367,
611,
2116,
13,
85,
5040,
2073,
6045,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
24455,
62,
5715,
9521,
6738,
1298,
2116,
13,
1084,
62,
5715,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
24455,
62,
5715,
36985,
27206,
1298,
2116,
13,
9806,
62,
5715,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
24455,
62,
6894,
1298,
2116,
13,
6894,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
24455,
62,
6894,
79,
85,
457,
2981,
1298,
2116,
13,
79,
36133,
62,
4906,
13,
8367,
611,
2116,
13,
79,
36133,
62,
4906,
2073,
6045,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
24455,
62,
6894,
65,
1078,
1636,
44146,
1298,
2116,
13,
65,
1078,
1636,
68,
13,
8367,
611,
2116,
13,
65,
1078,
1636,
68,
2073,
6045,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
24455,
62,
42401,
312,
1298,
2116,
13,
42401,
13,
8367,
611,
2116,
13,
42401,
2073,
6045,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
24455,
62,
42401,
9521,
6738,
1298,
2116,
13,
1084,
62,
42401,
62,
5715,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
24455,
62,
42401,
36985,
27206,
1298,
2116,
13,
9806,
62,
42401,
62,
5715,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
2875,
62,
28665,
1298,
2116,
13,
2875,
62,
1525,
13,
8367,
611,
2116,
13,
2875,
62,
1525,
2073,
6045,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
2875,
62,
37295,
1298,
2116,
13,
2875,
13,
8367,
611,
2116,
13,
2875,
2073,
6045,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
12947,
8841,
1298,
2116,
13,
12947,
62,
8841,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
12947,
4906,
1298,
2116,
13,
12947,
62,
4906,
13,
8367,
611,
2116,
13,
12947,
62,
4906,
2073,
6045,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1391,
74,
25,
410,
329,
479,
11,
410,
287,
42287,
13,
23814,
3419,
611,
410,
318,
407,
6045,
92,
628,
220,
220,
220,
2488,
4871,
24396,
198,
220,
220,
220,
825,
4808,
29572,
62,
24455,
62,
11487,
7,
565,
82,
11,
3084,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
10044,
325,
262,
16628,
3084,
284,
7925,
663,
3815,
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,
3084,
25,
1058,
4871,
25,
63,
1443,
19,
13,
24835,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
3084,
7268,
262,
16628,
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,
1058,
4871,
25,
63,
32,
8110,
11928,
1010,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
3058,
5625,
16628,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16628,
796,
36071,
11928,
1010,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
5107,
796,
3084,
13,
19796,
62,
439,
7203,
687,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
796,
21136,
62,
687,
62,
7890,
7,
23914,
58,
15,
4357,
2291,
62,
25811,
28,
17821,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
62,
12947,
796,
21136,
62,
687,
62,
7890,
7,
23914,
58,
16,
4357,
2291,
62,
25811,
28,
17821,
8,
198,
220,
220,
220,
220,
220,
220,
220,
16628,
13,
6894,
796,
1366,
14692,
24455,
62,
6894,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
16628,
13,
15182,
62,
6894,
82,
796,
685,
86,
329,
266,
287,
1366,
13,
1136,
7203,
834,
25811,
834,
1600,
23884,
737,
1136,
7203,
24455,
62,
6894,
1600,
685,
12962,
611,
366,
7203,
407,
287,
266,
60,
198,
220,
220,
220,
220,
220,
220,
220,
16628,
13,
79,
36133,
62,
4906,
796,
1949,
62,
44709,
7,
47,
36133,
6030,
22417,
11,
21136,
62,
41433,
7,
7890,
13,
1136,
7203,
24455,
62,
6894,
79,
85,
457,
2981,
12340,
6045,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
16628,
13,
65,
1078,
1636,
68,
796,
1949,
62,
44709,
7,
33,
1078,
75,
24876,
6030,
22417,
11,
21136,
62,
41433,
7,
7890,
13,
1136,
7203,
24455,
62,
6894,
65,
1078,
1636,
44146,
12340,
6045,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
16628,
13,
85,
5040,
796,
1949,
62,
44709,
7,
53,
5040,
32,
8110,
22417,
11,
21136,
62,
41433,
7,
7890,
13,
1136,
7203,
24455,
62,
5577,
2521,
12340,
6045,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
16628,
13,
1084,
62,
5715,
796,
21136,
62,
41433,
7,
7890,
13,
1136,
7203,
24455,
62,
5715,
9521,
6738,
12340,
6045,
8,
198,
220,
220,
220,
220,
220,
220,
220,
16628,
13,
9806,
62,
5715,
796,
21136,
62,
41433,
7,
7890,
13,
1136,
7203,
24455,
62,
5715,
36985,
27206,
12340,
6045,
8,
198,
220,
220,
220,
220,
220,
220,
220,
16628,
13,
42401,
796,
1949,
62,
44709,
7,
35040,
22417,
11,
21136,
62,
41433,
7,
7890,
13,
1136,
7203,
24455,
62,
42401,
312,
12340,
6045,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
16628,
13,
1084,
62,
42401,
62,
5715,
796,
21136,
62,
41433,
7,
7890,
13,
1136,
7203,
24455,
62,
42401,
9521,
6738,
12340,
6045,
8,
198,
220,
220,
220,
220,
220,
220,
220,
16628,
13,
9806,
62,
42401,
62,
5715,
796,
21136,
62,
41433,
7,
7890,
13,
1136,
7203,
24455,
62,
42401,
36985,
27206,
12340,
6045,
8,
198,
220,
220,
220,
220,
220,
220,
220,
16628,
13,
2875,
62,
1525,
796,
1949,
62,
44709,
7,
32,
8110,
18743,
3886,
11,
21136,
62,
41433,
7,
7890,
13,
1136,
7203,
2875,
62,
28665,
12340,
6045,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
16628,
13,
2875,
796,
1949,
62,
44709,
7,
32,
8110,
18743,
11,
21136,
62,
41433,
7,
7890,
13,
1136,
7203,
2875,
62,
37295,
12340,
6045,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
16628,
13,
12947,
62,
8841,
796,
1366,
62,
12947,
13,
1136,
7203,
12947,
8841,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
16628,
13,
12947,
62,
4906,
796,
1949,
62,
44709,
7,
32,
8110,
18243,
6030,
11,
21136,
62,
41433,
7,
7890,
62,
12947,
13,
1136,
7203,
12947,
4906,
12340,
6045,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
16628,
628,
198,
4871,
6705,
8042,
30150,
7,
39305,
13,
32634,
13821,
2599,
198,
220,
220,
220,
37227,
464,
1266,
8042,
4371,
329,
257,
2176,
7185,
13,
628,
220,
220,
220,
49213,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
1438,
25,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1438,
286,
262,
7185,
13,
198,
220,
220,
220,
12847,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1271,
286,
12847,
286,
428,
7185,
262,
2137,
468,
1760,
13,
198,
220,
220,
220,
2239,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1459,
2239,
284,
12116,
428,
7185,
262,
2095,
318,
287,
11,
810,
604,
318,
3938,
14838,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
11593,
6649,
1747,
834,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3672,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
74,
2171,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
9662,
1600,
198,
220,
220,
220,
1267,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
5668,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
13538,
1298,
4871,
25,
63,
30388,
63,
25,
10127,
262,
5726,
318,
5668,
393,
407,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
9662,
6624,
604,
628,
198,
4871,
49964,
30150,
7,
39305,
13,
32634,
13821,
2599,
198,
220,
220,
220,
37227,
32,
2095,
338,
28388,
13,
628,
220,
220,
220,
49213,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
1438,
25,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1438,
286,
262,
20027,
13,
198,
220,
220,
220,
2033,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2033,
286,
20027,
4530,
262,
2095,
468,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
11593,
6649,
1747,
834,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3672,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
17287,
1600,
198,
220,
220,
220,
1267,
628,
198,
4871,
15684,
33,
34485,
7,
39305,
13,
32634,
13821,
2599,
198,
220,
220,
220,
37227,
6207,
6629,
262,
1149,
275,
34485,
13,
628,
220,
220,
220,
49213,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
2443,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2443,
852,
3058,
9569,
13,
198,
220,
220,
220,
2472,
62,
31126,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2472,
1271,
286,
5468,
1695,
13,
198,
220,
220,
220,
2482,
62,
9127,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1271,
286,
48043,
5610,
13,
198,
220,
220,
220,
12784,
25,
1058,
4871,
25,
63,
4868,
63,
286,
1058,
4871,
25,
63,
32,
8110,
30150,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
48043,
9066,
13,
198,
220,
220,
220,
2099,
25,
1058,
4871,
25,
63,
33,
34485,
6030,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2099,
286,
48043,
852,
9066,
11,
2035,
1459,
393,
14389,
2106,
13,
198,
220,
220,
220,
16628,
25,
1058,
4871,
25,
63,
32,
8110,
11928,
1010,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
3058,
900,
25431,
3689,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
11593,
6649,
1747,
834,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
4906,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
10379,
1010,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
7700,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23350,
62,
31126,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
43420,
62,
9127,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
298,
1678,
1600,
198,
220,
220,
220,
1267,
628,
220,
220,
220,
1303,
3814,
24946,
198,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
19016,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
13538,
1298,
4871,
25,
63,
2536,
63,
25,
3497,
262,
10289,
284,
262,
275,
34485,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
1136,
62,
559,
2733,
62,
23569,
62,
6371,
7,
944,
13,
7700,
8,
611,
2116,
13,
4906,
6624,
347,
34485,
6030,
13,
39,
42480,
2073,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
1136,
62,
14421,
62,
559,
2733,
62,
6371,
7,
944,
13,
7700,
11,
2116,
13,
10379,
1010,
8,
198,
220,
220,
220,
1303,
886,
36996,
628,
220,
220,
220,
1303,
3814,
5094,
25458,
198,
220,
220,
220,
2488,
4871,
24396,
198,
220,
220,
220,
825,
651,
62,
14421,
62,
559,
2733,
62,
6371,
7,
565,
82,
11,
2443,
28,
16,
11,
16628,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3855,
262,
10289,
284,
262,
1351,
286,
1459,
48043,
287,
16653,
544,
13,
785,
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,
2443,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
2443,
284,
905,
262,
10289,
329,
13,
198,
220,
220,
220,
220,
220,
220,
220,
16628,
25,
1058,
4871,
25,
63,
32,
8110,
11928,
1010,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
25431,
9987,
284,
779,
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,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
10289,
284,
262,
1459,
48043,
2665,
287,
16653,
544,
13,
785,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16628,
796,
16628,
393,
36071,
11928,
1010,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
651,
62,
83,
41145,
62,
6371,
7203,
10641,
529,
861,
27585,
1600,
366,
14421,
10641,
529,
861,
81,
2367,
1600,
1459,
7700,
28,
7700,
11,
12429,
10379,
1010,
13,
22766,
62,
37266,
8,
628,
220,
220,
220,
2488,
4871,
24396,
198,
220,
220,
220,
825,
651,
62,
559,
2733,
62,
23569,
62,
6371,
7,
565,
82,
11,
2443,
28,
16,
11,
16628,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3855,
262,
10289,
284,
262,
14389,
2106,
287,
16653,
544,
13,
785,
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,
2443,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
2443,
284,
905,
262,
10289,
329,
13,
198,
220,
220,
220,
220,
220,
220,
220,
16628,
25,
1058,
4871,
25,
63,
32,
8110,
11928,
1010,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
25431,
9987,
284,
779,
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,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
10289,
284,
262,
14389,
2106,
2665,
287,
16653,
544,
13,
785,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16628,
796,
16628,
393,
36071,
11928,
1010,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
651,
62,
83,
41145,
62,
6371,
7203,
10641,
529,
861,
27585,
1600,
366,
30119,
10641,
529,
861,
81,
2367,
1600,
1459,
7700,
28,
7700,
11,
12429,
10379,
1010,
13,
22766,
62,
37266,
8,
628,
220,
220,
220,
2488,
4871,
24396,
198,
220,
220,
220,
825,
422,
62,
11299,
7,
565,
82,
11,
2695,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3855,
262,
275,
34485,
338,
1321,
290,
1351,
286,
48043,
422,
16653,
544,
13,
785,
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,
2695,
25,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
11532,
2695,
286,
262,
275,
34485,
2665,
379,
16653,
544,
13,
785,
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,
1058,
4871,
25,
63,
27275,
33,
34485,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
2095,
275,
34485,
351,
262,
12784,
1043,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44267,
62,
11299,
796,
21136,
62,
83,
571,
9607,
296,
62,
11299,
7,
11299,
11,
27098,
11639,
6494,
20,
8019,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2695,
62,
11487,
796,
44267,
62,
11299,
13,
19796,
7203,
7146,
1600,
708,
3808,
28,
4895,
4871,
1298,
366,
14253,
19746,
20662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8893,
796,
2695,
62,
11487,
13,
19796,
62,
439,
7203,
7146,
1600,
708,
3808,
28,
4895,
4871,
1298,
366,
10962,
29869,
20662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8106,
62,
11487,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
83,
2977,
8,
6624,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
48043,
62,
11487,
796,
8893,
58,
15,
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,
8106,
62,
11487,
11,
48043,
62,
11487,
11,
1635,
62,
796,
8893,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
34485,
796,
537,
82,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
34485,
13,
4906,
796,
347,
34485,
6030,
13,
34,
39237,
611,
8106,
62,
11487,
2073,
347,
34485,
6030,
13,
39,
42480,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
8106,
62,
11487,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
34485,
13,
10379,
1010,
796,
36071,
11928,
1010,
13557,
29572,
62,
24455,
62,
11487,
7,
24455,
62,
11487,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2443,
62,
28341,
7065,
62,
808,
796,
44267,
62,
11299,
13,
19796,
7203,
8671,
1600,
708,
3808,
28,
4895,
4871,
1298,
366,
9876,
30575,
7065,
20662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2443,
62,
28341,
7065,
62,
808,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
34485,
13,
7700,
11,
275,
34485,
13,
23350,
62,
31126,
11,
275,
34485,
13,
43420,
62,
9127,
796,
21136,
62,
79,
363,
1883,
7,
7700,
62,
28341,
7065,
62,
808,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14389,
62,
8516,
796,
48043,
62,
11487,
13,
19796,
62,
439,
7203,
7146,
1600,
708,
3808,
28,
4895,
4871,
1298,
366,
32,
8110,
20662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
14389,
62,
808,
287,
14389,
62,
8516,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14389,
796,
36071,
30150,
13557,
29572,
62,
559,
596,
7,
559,
596,
62,
808,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
34485,
13,
298,
1678,
13,
33295,
7,
559,
596,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
275,
34485,
198,
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,
5298,
17665,
19746,
7203,
11299,
857,
407,
5594,
284,
262,
275,
34485,
379,
16653,
544,
13,
785,
1600,
2656,
28,
68,
8,
198,
220,
220,
220,
1303,
886,
36996,
628,
198,
4871,
30225,
30150,
7,
39305,
13,
32634,
13821,
2599,
198,
220,
220,
220,
37227,
2025,
14838,
20024,
416,
262,
2095,
13,
628,
220,
220,
220,
49213,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
1438,
25,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1438,
286,
262,
20024,
13,
198,
220,
220,
220,
1575,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1575,
286,
262,
20024,
287,
20024,
2173,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
11593,
6649,
1747,
834,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3672,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
15805,
1600,
198,
220,
220,
220,
1267,
628,
198,
4871,
16531,
5159,
7,
39305,
13,
32634,
13821,
2599,
198,
220,
220,
220,
37227,
2025,
2939,
9066,
287,
262,
14389,
13,
628,
220,
220,
220,
49213,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
2939,
62,
6371,
25,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
10289,
284,
262,
2939,
13,
198,
220,
220,
220,
1438,
25,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
5002,
338,
1438,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
11593,
6649,
1747,
834,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
9060,
62,
6371,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3672,
1600,
198,
220,
220,
220,
1267,
628,
220,
220,
220,
2488,
4871,
24396,
628,
198,
4871,
16531,
7449,
7,
39305,
13,
32634,
13821,
2599,
198,
220,
220,
220,
37227,
6207,
6629,
281,
2378,
9066,
319,
281,
14389,
11,
393,
262,
2095,
338,
3709,
287,
262,
14389,
3703,
13,
628,
220,
220,
220,
49213,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
2939,
62,
6371,
25,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
10289,
284,
262,
2378,
338,
2939,
13,
198,
220,
220,
220,
1438,
25,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2378,
338,
1438,
13,
198,
220,
220,
220,
6764,
25,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2378,
338,
6764,
11,
611,
597,
13,
198,
220,
220,
220,
954,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2378,
338,
954,
13,
198,
220,
220,
220,
2378,
62,
312,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2378,
338,
5456,
4686,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
11593,
6649,
1747,
834,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
9060,
62,
6371,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3672,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
11213,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
9127,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
9186,
62,
312,
1600,
198,
220,
220,
220,
1267,
628,
220,
220,
220,
2488,
4871,
24396,
628,
198,
4871,
16531,
35452,
7,
23114,
5159,
2599,
198,
220,
220,
220,
37227,
6207,
6629,
257,
3817,
6898,
393,
14838,
416,
262,
2095,
13,
628,
220,
220,
220,
49213,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
2939,
62,
6371,
25,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
10289,
284,
262,
2939,
13,
198,
220,
220,
220,
1438,
25,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
3817,
338,
1438,
13,
198,
220,
220,
220,
3817,
62,
312,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
5387,
4522,
286,
262,
3817,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
11593,
6649,
1747,
834,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
14948,
62,
312,
1600,
198,
220,
220,
220,
1267,
628,
220,
220,
220,
2488,
4871,
24396,
628,
198,
4871,
16531,
7975,
11147,
7,
23114,
5159,
2599,
198,
220,
220,
220,
37227,
6207,
6629,
281,
16313,
6898,
393,
14838,
416,
262,
2095,
13,
628,
220,
220,
220,
49213,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
2939,
62,
6371,
25,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
10289,
284,
262,
2939,
13,
198,
220,
220,
220,
1438,
25,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
16313,
338,
1438,
13,
198,
220,
220,
220,
16313,
62,
312,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
5387,
4522,
286,
262,
16313,
13,
198,
220,
220,
220,
751,
684,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
14838,
393,
6898,
751,
684,
329,
428,
16313,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
11593,
6649,
1747,
834,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
448,
11147,
62,
312,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
39996,
1600,
198,
220,
220,
220,
1267,
628,
220,
220,
220,
2488,
4871,
24396,
628,
198,
4871,
16531,
37,
19968,
7,
23114,
5159,
2599,
198,
220,
220,
220,
37227,
6207,
6629,
257,
5385,
6898,
393,
14838,
416,
262,
2095,
13,
628,
220,
220,
220,
49213,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
2939,
62,
6371,
25,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
10289,
284,
262,
2939,
13,
198,
220,
220,
220,
1438,
25,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
5385,
338,
1438,
13,
198,
220,
220,
220,
5385,
62,
312,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
5387,
4522,
286,
262,
5385,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
11593,
6649,
1747,
834,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
69,
19968,
62,
312,
1600,
198,
220,
220,
220,
1267,
628,
220,
220,
220,
2488,
4871,
24396,
628,
198,
4871,
36071,
30150,
7,
14881,
27275,
11,
450,
66,
13,
32634,
13821,
2599,
198,
220,
220,
220,
37227,
6207,
6629,
281,
14389,
287,
262,
1351,
11,
7268,
262,
10638,
13,
628,
220,
220,
220,
49213,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
14389,
62,
312,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
5387,
4686,
286,
262,
14389,
13,
198,
220,
220,
220,
1438,
25,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1438,
286,
262,
2095,
13,
198,
220,
220,
220,
1241,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1241,
286,
262,
2095,
13,
198,
220,
220,
220,
995,
25,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
995,
262,
2095,
318,
287,
13,
198,
220,
220,
220,
410,
5040,
25,
1058,
4871,
25,
63,
53,
5040,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
410,
5040,
286,
262,
2095,
13,
198,
220,
220,
220,
1714,
25,
1058,
4871,
25,
63,
23398,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1714,
286,
262,
2095,
13,
198,
220,
220,
220,
16313,
25,
1058,
4871,
25,
63,
7975,
11147,
5159,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1459,
16313,
6163,
416,
262,
2836,
13,
198,
220,
220,
220,
9066,
62,
23814,
25,
1058,
4871,
25,
63,
4868,
63,
286,
1058,
4871,
25,
63,
23114,
7449,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
3709,
6163,
284,
307,
9066,
13,
198,
220,
220,
220,
4200,
62,
853,
2886,
25,
1058,
4871,
25,
63,
4868,
63,
286,
1058,
4871,
25,
63,
44490,
28100,
1713,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
5466,
7159,
6163,
329,
262,
14389,
13,
198,
220,
220,
220,
14389,
62,
9688,
25,
1058,
4871,
25,
63,
19608,
8079,
13,
19608,
8079,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
3128,
618,
262,
14389,
2067,
13,
198,
220,
220,
220,
14389,
62,
437,
25,
1058,
4871,
25,
63,
19608,
8079,
13,
19608,
8079,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
3128,
618,
262,
14389,
5645,
13,
198,
220,
220,
220,
8406,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1459,
8406,
287,
16653,
544,
30108,
13,
198,
220,
220,
220,
8406,
62,
4906,
25,
1058,
4871,
25,
63,
33,
312,
6030,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2099,
286,
262,
14389,
338,
8406,
13,
198,
220,
220,
220,
3722,
25,
1058,
4871,
25,
63,
32,
8110,
19580,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1459,
3722,
286,
262,
14389,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
11593,
6649,
1747,
834,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
559,
596,
62,
312,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3672,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5715,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
6894,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
85,
5040,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
8044,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
448,
11147,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
13812,
276,
62,
23814,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
82,
2040,
62,
853,
2886,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
559,
596,
62,
9688,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
559,
596,
62,
437,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
14065,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
14065,
62,
4906,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
13376,
1600,
198,
220,
220,
220,
1267,
628,
220,
220,
220,
1303,
3814,
24946,
198,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
2095,
62,
6371,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
13538,
1298,
4871,
25,
63,
2536,
63,
25,
383,
10289,
286,
262,
2095,
338,
1321,
2443,
319,
16653,
544,
13,
785,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
7308,
27275,
13,
1136,
62,
6371,
7,
944,
13,
3672,
8,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
19016,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
13538,
1298,
4871,
25,
63,
2536,
63,
25,
383,
10289,
284,
428,
14389,
338,
3703,
2443,
319,
16653,
544,
13,
785,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
1136,
62,
6371,
7,
944,
13,
559,
596,
62,
312,
8,
198,
220,
220,
220,
1303,
886,
36996,
628,
220,
220,
220,
1303,
3814,
5094,
25458,
198,
220,
220,
220,
2488,
4871,
24396,
198,
220,
220,
220,
825,
651,
62,
6371,
7,
565,
82,
11,
14389,
62,
312,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3855,
262,
10289,
284,
262,
16653,
544,
13,
785,
3703,
2443,
286,
281,
14389,
351,
257,
1813,
4686,
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,
14389,
62,
312,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
4522,
286,
262,
14389,
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,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
10289,
284,
262,
14389,
338,
3703,
2443,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
651,
62,
83,
41145,
62,
6371,
7203,
10641,
529,
861,
27585,
1600,
366,
14421,
10641,
529,
861,
81,
2367,
1600,
2443,
2625,
36604,
1600,
14389,
312,
28,
559,
596,
62,
312,
8,
198,
220,
220,
220,
1303,
886,
36996,
628,
220,
220,
220,
1303,
3814,
15348,
25458,
198,
220,
220,
220,
2488,
4871,
24396,
198,
220,
220,
220,
825,
4808,
29572,
62,
559,
596,
7,
565,
82,
11,
14389,
62,
808,
11,
14389,
62,
312,
28,
15,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
10044,
325,
281,
14389,
338,
3084,
11,
37895,
663,
1366,
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,
14389,
62,
808,
25,
1058,
4871,
25,
63,
1443,
19,
13,
24835,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
5752,
7268,
262,
14389,
338,
1321,
13,
198,
220,
220,
220,
220,
220,
220,
220,
14389,
62,
312,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
4522,
286,
262,
14389,
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,
1058,
4871,
25,
63,
32,
8110,
30150,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
14389,
7763,
287,
262,
3084,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
13639,
62,
34924,
796,
14389,
62,
808,
13,
19796,
7203,
7146,
1600,
708,
3808,
28,
4895,
4871,
1298,
366,
32,
8110,
39681,
20662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1149,
62,
3672,
62,
34924,
796,
13639,
62,
34924,
13,
19796,
7203,
7146,
1600,
708,
3808,
28,
4895,
4871,
1298,
366,
32,
8110,
27275,
5376,
20662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1149,
62,
8726,
796,
1149,
62,
3672,
62,
34924,
13,
19796,
7203,
64,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1149,
62,
8726,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19016,
796,
2956,
297,
571,
13,
29572,
13,
6371,
29572,
7,
10641,
62,
8726,
14692,
33257,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12405,
796,
2956,
297,
571,
13,
29572,
13,
29572,
62,
48382,
7,
6371,
13,
22766,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14389,
62,
312,
796,
493,
7,
22766,
14692,
559,
596,
312,
1,
7131,
15,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1438,
796,
1149,
62,
8726,
13,
5239,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1438,
796,
1149,
62,
3672,
62,
34924,
13,
5239,
628,
220,
220,
220,
220,
220,
220,
220,
14389,
796,
537,
82,
7,
3672,
28,
3672,
11,
14389,
62,
312,
28,
559,
596,
62,
312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1149,
62,
3672,
62,
34924,
13,
33491,
3152,
7,
7061,
8,
198,
220,
220,
220,
220,
220,
220,
220,
285,
796,
1149,
62,
10951,
62,
260,
25636,
13,
12947,
7,
25677,
62,
34924,
13,
5239,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
285,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14389,
13,
5715,
796,
493,
7,
76,
13,
8094,
7,
16,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14389,
13,
85,
5040,
796,
1949,
62,
44709,
7,
53,
5040,
11,
285,
13,
8094,
7,
17,
737,
36311,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14389,
13,
8044,
796,
1949,
62,
44709,
7,
23398,
11,
285,
13,
8094,
7,
18,
737,
36311,
22446,
21037,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14389,
13,
6894,
796,
285,
13,
8094,
7,
19,
8,
198,
220,
220,
220,
220,
220,
220,
220,
16313,
62,
9600,
796,
14389,
62,
808,
13,
19796,
7203,
9600,
1600,
19779,
4871,
1298,
366,
32,
8110,
7975,
11147,
5159,
20662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
285,
796,
4686,
62,
48078,
62,
260,
25636,
13,
12947,
7,
448,
11147,
62,
9600,
14692,
10677,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
285,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14389,
13,
448,
11147,
796,
3806,
11147,
5159,
7,
9060,
62,
6371,
28,
448,
11147,
62,
9600,
14692,
10677,
33116,
16313,
62,
312,
28,
600,
7,
76,
13,
8094,
7,
16,
36911,
751,
684,
28,
600,
7,
76,
13,
8094,
7,
17,
22305,
198,
220,
220,
220,
220,
220,
220,
220,
2378,
62,
29305,
796,
14389,
62,
808,
13,
19796,
62,
439,
7203,
7146,
1600,
708,
3808,
28,
4895,
4871,
1298,
366,
34,
12861,
1102,
20662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
2378,
62,
3524,
287,
2378,
62,
29305,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2378,
796,
16531,
7449,
13557,
29572,
62,
9060,
62,
3524,
7,
9186,
62,
3524,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2378,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14389,
13,
13812,
276,
62,
23814,
13,
33295,
7,
9186,
8,
198,
220,
220,
220,
220,
220,
220,
220,
9667,
62,
3642,
50221,
796,
14389,
62,
808,
13,
19796,
7203,
7146,
1600,
19779,
4871,
1298,
366,
16438,
32,
8110,
6601,
20662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
923,
62,
4475,
62,
12985,
11,
886,
62,
4475,
62,
12985,
11,
1635,
62,
796,
9667,
62,
3642,
50221,
13,
19796,
62,
439,
7203,
7146,
1600,
19779,
4871,
1298,
366,
16438,
32,
8110,
6601,
11395,
20662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
14389,
13,
559,
596,
62,
9688,
796,
21136,
62,
83,
41145,
62,
19608,
8079,
7,
9688,
62,
4475,
62,
12985,
13,
5239,
13,
33491,
10786,
59,
27865,
15,
3256,
705,
705,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
14389,
13,
559,
596,
62,
437,
796,
21136,
62,
83,
41145,
62,
19608,
8079,
7,
437,
62,
4475,
62,
12985,
13,
5239,
13,
33491,
10786,
59,
27865,
15,
3256,
705,
705,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
27837,
62,
34924,
796,
14389,
62,
808,
13,
19796,
7203,
7146,
1600,
19779,
4871,
1298,
366,
16438,
32,
8110,
6601,
33,
312,
25166,
20662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
8406,
62,
12985,
796,
27837,
62,
34924,
13,
19796,
7203,
7146,
1600,
19779,
4871,
1600,
366,
16438,
32,
8110,
6601,
11395,
20662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
8406,
62,
4906,
62,
12985,
796,
27837,
62,
34924,
13,
19796,
62,
439,
7203,
7146,
1600,
19779,
4871,
1600,
366,
16438,
32,
8110,
6601,
33986,
20662,
38381,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
8406,
62,
4906,
62,
2536,
796,
8406,
62,
4906,
62,
12985,
13,
5239,
13,
33491,
7,
1298,
1600,
366,
11074,
36311,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
14389,
13,
14065,
62,
4906,
796,
1949,
62,
44709,
7,
33,
312,
6030,
11,
8406,
62,
4906,
62,
2536,
8,
198,
220,
220,
220,
220,
220,
220,
220,
14389,
13,
14065,
796,
21136,
62,
41433,
7,
14065,
62,
12985,
13,
5239,
8,
198,
220,
220,
220,
220,
220,
220,
220,
14389,
62,
2618,
62,
9967,
796,
14389,
62,
808,
13,
19796,
7203,
7146,
1600,
19779,
4871,
1600,
366,
11297,
33,
312,
20662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
14389,
62,
10951,
62,
12985,
796,
14389,
62,
2618,
62,
9967,
13,
19796,
7203,
7146,
1600,
19779,
4871,
1298,
366,
32,
8110,
12360,
20662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3722,
796,
13538,
198,
220,
220,
220,
220,
220,
220,
220,
611,
14389,
62,
10951,
62,
12985,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10385,
62,
1370,
62,
30058,
7,
559,
596,
62,
10951,
62,
12985,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3722,
796,
14389,
62,
10951,
62,
12985,
13,
5239,
13,
33491,
7203,
59,
77,
1600,
366,
366,
737,
33491,
7203,
220,
33172,
366,
366,
8,
198,
220,
220,
220,
220,
220,
220,
220,
14389,
13,
13376,
796,
1949,
62,
44709,
7,
32,
8110,
19580,
11,
3722,
11,
36071,
19580,
13,
1268,
62,
4805,
49656,
7597,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4578,
62,
298,
1678,
796,
14389,
62,
808,
13,
19796,
62,
439,
7203,
7146,
1600,
19779,
4871,
1298,
366,
30150,
20662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
5726,
287,
4578,
62,
298,
1678,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
33705,
796,
5726,
13,
19796,
7203,
9600,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
33705,
62,
6371,
796,
33705,
14692,
10677,
8973,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6536,
62,
312,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
285,
796,
4686,
62,
260,
25636,
13,
12947,
7,
9600,
62,
6371,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
285,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6536,
62,
312,
796,
21136,
62,
41433,
7,
76,
13,
8094,
7,
16,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14389,
13,
82,
2040,
62,
853,
2886,
13,
33295,
7,
44490,
28100,
1713,
7,
11299,
28,
13000,
13,
5239,
11,
6536,
62,
9060,
28,
9600,
62,
6371,
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,
6536,
62,
312,
28,
22872,
62,
312,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
14389,
198,
220,
220,
220,
1303,
886,
36996,
628,
198,
4871,
36071,
7,
32,
8110,
30150,
2599,
198,
220,
220,
220,
37227,
464,
3307,
286,
281,
14389,
13,
628,
220,
220,
220,
49213,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
14389,
62,
312,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
5387,
4686,
286,
262,
14389,
13,
198,
220,
220,
220,
1438,
25,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1438,
286,
262,
2095,
13,
198,
220,
220,
220,
1241,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1241,
286,
262,
2095,
13,
198,
220,
220,
220,
995,
25,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
995,
262,
2095,
318,
287,
13,
198,
220,
220,
220,
410,
5040,
25,
1058,
4871,
25,
63,
53,
5040,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
410,
5040,
286,
262,
2095,
13,
198,
220,
220,
220,
1714,
25,
1058,
4871,
25,
63,
23398,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1714,
286,
262,
2095,
13,
198,
220,
220,
220,
16313,
25,
1058,
4871,
25,
63,
7975,
11147,
5159,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1459,
16313,
6163,
416,
262,
2836,
13,
198,
220,
220,
220,
9066,
62,
23814,
25,
1058,
4871,
25,
63,
4868,
63,
286,
1058,
4871,
25,
63,
23114,
7449,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
3709,
6163,
284,
307,
9066,
13,
198,
220,
220,
220,
4200,
62,
853,
2886,
25,
1058,
4871,
25,
63,
4868,
63,
286,
1058,
4871,
25,
63,
44490,
28100,
1713,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
5466,
7159,
6163,
329,
262,
14389,
13,
198,
220,
220,
220,
14389,
62,
9688,
25,
1058,
4871,
25,
63,
19608,
8079,
13,
19608,
8079,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
3128,
618,
262,
14389,
2067,
13,
198,
220,
220,
220,
14389,
62,
437,
25,
1058,
4871,
25,
63,
19608,
8079,
13,
19608,
8079,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
3128,
618,
262,
14389,
5645,
13,
198,
220,
220,
220,
8406,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1459,
8406,
287,
16653,
544,
30108,
13,
198,
220,
220,
220,
8406,
62,
4906,
25,
1058,
4871,
25,
63,
33,
312,
6030,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2099,
286,
262,
14389,
338,
8406,
13,
198,
220,
220,
220,
3722,
25,
1058,
4871,
25,
63,
32,
8110,
19580,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1459,
3722,
286,
262,
14389,
13,
198,
220,
220,
220,
2277,
62,
13033,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2277,
2173,
286,
262,
2095,
13,
198,
220,
220,
220,
13149,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
13149,
2173,
286,
262,
2095,
13,
198,
220,
220,
220,
5339,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2095,
338,
5339,
287,
24405,
13,
198,
220,
220,
220,
2866,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2095,
338,
2866,
13,
198,
220,
220,
220,
28388,
62,
9127,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1271,
286,
28388,
262,
2095,
468,
13,
198,
220,
220,
220,
27655,
62,
9127,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1271,
286,
27655,
262,
2095,
468,
13,
198,
220,
220,
220,
8714,
62,
9127,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1271,
286,
8714,
262,
2095,
468,
13,
198,
220,
220,
220,
4678,
25,
1058,
4871,
25,
63,
4868,
63,
286,
1058,
4871,
25,
63,
35040,
30150,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1459,
4678,
286,
262,
2095,
13,
198,
220,
220,
220,
6282,
62,
4475,
25,
1058,
4871,
25,
63,
19608,
8079,
13,
19608,
8079,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
3128,
618,
262,
2095,
373,
2727,
13,
198,
220,
220,
220,
1998,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2472,
1998,
286,
262,
2095,
13,
198,
220,
220,
220,
3869,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2472,
2033,
286,
3869,
262,
2095,
468,
13,
198,
220,
220,
220,
13293,
62,
13033,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1271,
286,
13293,
2173,
286,
262,
2095,
13,
198,
220,
220,
220,
3218,
62,
6894,
62,
39437,
62,
15182,
62,
4475,
25,
1058,
4871,
25,
63,
19608,
8079,
13,
19608,
316,
44871,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
3128,
706,
3218,
995,
16395,
481,
307,
1695,
284,
5001,
290,
779,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1058,
26801,
25,
63,
14202,
63,
9217,
340,
318,
1695,
3393,
13,
198,
220,
220,
220,
20024,
62,
11201,
5487,
25,
1058,
4871,
25,
63,
30388,
63,
198,
220,
220,
220,
220,
220,
220,
220,
10127,
262,
2095,
468,
257,
20024,
7118,
393,
407,
13,
198,
220,
220,
220,
1695,
62,
354,
1670,
62,
13033,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2033,
286,
20024,
2173,
262,
2095,
468,
1695,
284,
4341,
13,
198,
220,
220,
220,
3377,
62,
354,
1670,
62,
13033,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2472,
20024,
2173,
262,
2095,
468,
3377,
13,
198,
220,
220,
220,
15974,
62,
21992,
27761,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1271,
286,
3771,
88,
6183,
27761,
262,
2095,
468,
13,
198,
220,
220,
220,
288,
3400,
62,
260,
904,
62,
22853,
461,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1459,
4445,
6721,
15113,
13,
198,
220,
220,
220,
7748,
62,
20088,
889,
62,
35943,
62,
6649,
1747,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1271,
286,
10988,
4876,
17314,
13,
198,
220,
220,
220,
7748,
62,
3866,
88,
62,
6649,
1747,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1271,
286,
15974,
17314,
13,
198,
220,
220,
220,
11078,
17783,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1271,
286,
11078,
17783,
262,
2095,
468,
13,
198,
220,
220,
220,
11078,
1359,
62,
43863,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1271,
286,
11078,
1359,
3946,
262,
2095,
468,
13,
198,
220,
220,
220,
11078,
1359,
62,
448,
21013,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1271,
286,
11078,
1359,
27655,
262,
2095,
468,
13,
198,
220,
220,
220,
3709,
25,
1058,
4871,
25,
63,
7449,
22093,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
3709,
262,
2095,
468,
1973,
13184,
11,
43369,
290,
2378,
38305,
13,
198,
220,
220,
220,
3650,
62,
23814,
25,
1058,
4871,
25,
63,
7449,
22093,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
3650,
3709,
262,
2095,
468,
13,
198,
220,
220,
220,
30790,
25,
1058,
4871,
25,
63,
35452,
82,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
30790,
262,
2095,
468,
14838,
13,
198,
220,
220,
220,
3650,
62,
14948,
82,
25,
1058,
4871,
25,
63,
35452,
82,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
30790,
262,
2095,
468,
8155,
422,
262,
3650,
13,
198,
220,
220,
220,
27655,
25,
1058,
4871,
25,
63,
7975,
21013,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
27655,
262,
2095,
468,
14838,
13,
198,
220,
220,
220,
3650,
62,
448,
21013,
25,
1058,
4871,
25,
63,
7975,
21013,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
27655,
262,
2095,
468,
8155,
422,
262,
3650,
13,
198,
220,
220,
220,
1145,
2403,
945,
25,
1058,
4871,
25,
63,
37,
321,
2403,
945,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1145,
2403,
945,
262,
2095,
468,
8155,
393,
14838,
13,
198,
220,
220,
220,
28388,
25,
1058,
4871,
25,
63,
4868,
63,
286,
1058,
4871,
25,
63,
33,
1203,
278,
30150,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
28388,
262,
2095,
468,
13,
198,
220,
220,
220,
545,
11110,
3196,
25,
1058,
4871,
25,
63,
4868,
63,
286,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
545,
11110,
3196,
262,
2095,
468,
14838,
1895,
284,
13,
198,
220,
220,
220,
41700,
25,
1058,
4871,
25,
63,
4868,
63,
286,
1058,
4871,
25,
63,
1925,
1670,
30150,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
41700,
262,
2095,
468,
14838,
13,
198,
220,
220,
220,
5668,
62,
25497,
62,
8899,
62,
533,
292,
25,
1058,
4871,
25,
63,
4868,
63,
286,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
11700,
404,
5507,
3975,
3006,
326,
262,
2095,
468,
3938,
5071,
13,
198,
220,
220,
220,
5668,
62,
6138,
62,
6615,
25,
1058,
4871,
25,
63,
4868,
63,
286,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1235,
3951,
262,
2095,
468,
3938,
5668,
13,
198,
220,
220,
220,
8714,
25,
1058,
4871,
25,
63,
4868,
63,
286,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
8714,
262,
2095,
468,
14838,
13,
198,
220,
220,
220,
16970,
25,
1058,
4871,
25,
63,
4868,
63,
286,
1058,
4871,
25,
63,
32,
24957,
434,
30150,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
16970,
262,
2095,
468,
14838,
13,
198,
220,
220,
220,
1266,
8042,
62,
33723,
25,
1058,
4871,
25,
63,
4868,
63,
286,
1058,
4871,
25,
63,
13014,
8042,
30150,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1266,
8042,
4371,
286,
262,
2095,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
11593,
6649,
1747,
834,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
17945,
62,
13033,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
805,
64,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
42404,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
12287,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
65,
1203,
654,
62,
9127,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
14948,
82,
62,
9127,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
448,
21013,
62,
9127,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
83,
30540,
62,
9127,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
8135,
2171,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
38793,
62,
4475,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23100,
1240,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
24267,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
620,
12311,
434,
62,
13033,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
16338,
62,
6894,
62,
39437,
62,
15182,
62,
4475,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
354,
1670,
62,
11201,
5487,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
15182,
62,
354,
1670,
62,
13033,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2777,
298,
62,
354,
1670,
62,
13033,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
29468,
62,
260,
904,
62,
22853,
461,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
20088,
889,
62,
35943,
62,
13033,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
525,
44172,
62,
20088,
889,
62,
35943,
62,
6649,
1747,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
525,
44172,
62,
3866,
88,
62,
6649,
1747,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3866,
88,
62,
21992,
27761,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
10695,
17783,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
10695,
1359,
62,
43863,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
10695,
1359,
62,
448,
21013,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23814,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
8095,
62,
23814,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
14948,
82,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
8095,
62,
14948,
82,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
448,
21013,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
8095,
62,
448,
21013,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
44769,
2403,
945,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
65,
1203,
654,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
320,
11110,
3196,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
354,
8357,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
785,
16838,
62,
25497,
62,
8899,
62,
533,
292,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
785,
16838,
62,
6138,
62,
6615,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
83,
30540,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
620,
12311,
902,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
13466,
8042,
62,
33723,
1600,
198,
220,
220,
220,
1267,
628,
220,
220,
220,
1303,
3814,
24946,
198,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
5668,
62,
13466,
8042,
62,
298,
1678,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
13538,
1298,
4871,
25,
63,
4868,
63,
286,
1058,
4871,
25,
63,
13014,
8042,
30150,
63,
25,
3497,
257,
1351,
286,
5668,
1266,
8042,
12784,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
685,
68,
329,
304,
287,
2116,
13,
13466,
8042,
62,
33723,
611,
304,
13,
785,
16838,
60,
628,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
3218,
62,
6894,
62,
39437,
62,
15182,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
13538,
1298,
4871,
25,
63,
30388,
63,
25,
10127,
3218,
995,
16395,
389,
1695,
3393,
329,
428,
2095,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
16338,
62,
6894,
62,
39437,
62,
15182,
62,
4475,
318,
6045,
198,
220,
220,
220,
220,
198,
220,
220,
220,
2488,
26745,
198,
220,
220,
220,
825,
4678,
62,
8899,
7,
944,
8,
4613,
360,
713,
58,
2536,
11,
705,
35040,
30150,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
13538,
1298,
4871,
25,
63,
11600,
63,
286,
1058,
4871,
25,
63,
2536,
47671,
1058,
4871,
25,
63,
35040,
30150,
63,
25,
317,
16855,
286,
4678,
416,
511,
1438,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1391,
42401,
13,
3672,
25,
5032,
329,
5032,
287,
2116,
13,
8135,
2171,
92,
198,
220,
220,
220,
1303,
886,
36996,
628,
220,
220,
220,
1303,
3814,
5094,
25458,
198,
220,
220,
220,
2488,
4871,
24396,
198,
220,
220,
220,
825,
422,
62,
11299,
7,
565,
82,
11,
2695,
11,
14389,
62,
312,
28,
15,
11,
14267,
62,
36604,
28,
25101,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
10044,
325,
281,
14389,
3703,
2443,
422,
16653,
544,
13,
785,
290,
32139,
663,
1366,
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,
2695,
25,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
11532,
2695,
286,
262,
14389,
3703,
2443,
287,
16653,
544,
13,
785,
198,
220,
220,
220,
220,
220,
220,
220,
14389,
62,
312,
25,
1058,
4871,
25,
63,
600,
47671,
11902,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
4522,
286,
262,
14389,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
632,
318,
407,
1744,
284,
7925,
262,
4522,
422,
262,
2443,
338,
2695,
11,
523,
340,
743,
307,
3804,
284,
8333,
340,
14500,
13,
198,
220,
220,
220,
220,
220,
220,
220,
14267,
62,
36604,
25,
1058,
4871,
25,
63,
30388,
47671,
11902,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10127,
284,
14267,
32096,
262,
2104,
14389,
290,
691,
21136,
262,
1321,
3402,
287,
8341,
13,
10352,
416,
4277,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
770,
3578,
21207,
278,
4096,
1321,
588,
1438,
11,
1241,
11,
410,
5040,
11,
995,
11,
8406,
290,
3722,
11,
38013,
572,
617,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
32096,
640,
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,
1058,
4871,
25,
63,
32,
8110,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
14389,
3307,
611,
1043,
11,
1058,
26801,
25,
63,
14202,
63,
4306,
13,
628,
220,
220,
220,
220,
220,
220,
220,
7567,
2696,
198,
220,
220,
220,
220,
220,
220,
220,
40103,
198,
220,
220,
220,
220,
220,
220,
220,
17665,
19746,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1002,
262,
2695,
857,
407,
5594,
284,
257,
14389,
3703,
338,
2443,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
44267,
62,
11299,
796,
21136,
62,
83,
571,
9607,
296,
62,
11299,
7,
11299,
11,
27098,
11639,
6494,
20,
8019,
6,
611,
407,
14267,
62,
36604,
2073,
705,
75,
19875,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
14389,
62,
808,
796,
44267,
62,
11299,
13,
19796,
7203,
7146,
1600,
708,
3808,
28,
4895,
4871,
1298,
366,
32,
8110,
20662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
14389,
62,
808,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
366,
32538,
4049,
1,
287,
2695,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
17665,
19746,
7203,
11299,
857,
407,
5594,
284,
257,
14389,
3307,
2443,
287,
16653,
544,
13,
785,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
14389,
796,
537,
82,
13557,
29572,
62,
559,
596,
7,
559,
596,
62,
808,
8,
198,
220,
220,
220,
220,
220,
220,
220,
14389,
13,
559,
596,
62,
312,
796,
14389,
62,
312,
198,
220,
220,
220,
220,
220,
220,
220,
611,
14267,
62,
36604,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
14389,
628,
220,
220,
220,
220,
220,
220,
220,
3307,
62,
83,
2977,
796,
537,
82,
13557,
29572,
62,
83,
2977,
7,
79,
945,
276,
62,
11299,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
366,
12218,
1,
287,
3307,
62,
83,
2977,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14389,
13557,
29572,
62,
24622,
62,
11487,
7,
36604,
62,
83,
2977,
14692,
12218,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
366,
7449,
22093,
1,
287,
3307,
62,
83,
2977,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14389,
13,
23814,
796,
9097,
22093,
13557,
29572,
62,
11487,
7,
36604,
62,
83,
2977,
14692,
7449,
22093,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
366,
22658,
7449,
22093,
1,
287,
3307,
62,
83,
2977,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14389,
13,
8095,
62,
23814,
796,
9097,
22093,
13557,
29572,
62,
11487,
7,
36604,
62,
83,
2977,
14692,
22658,
7449,
22093,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
366,
35452,
82,
1,
287,
3307,
62,
83,
2977,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14389,
13,
14948,
82,
796,
5628,
82,
13557,
29572,
62,
11487,
7,
36604,
62,
83,
2977,
14692,
35452,
82,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
366,
22658,
35452,
82,
1,
287,
3307,
62,
83,
2977,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14389,
13,
8095,
62,
14948,
82,
796,
5628,
82,
13557,
29572,
62,
11487,
7,
36604,
62,
83,
2977,
14692,
22658,
35452,
82,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
366,
7975,
21013,
1,
287,
3307,
62,
83,
2977,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14389,
13,
448,
21013,
796,
3806,
21013,
13557,
29572,
62,
11487,
7,
36604,
62,
83,
2977,
14692,
7975,
21013,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
366,
22658,
7975,
21013,
1,
287,
3307,
62,
83,
2977,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14389,
13,
8095,
62,
448,
21013,
796,
3806,
21013,
13557,
29572,
62,
11487,
7,
36604,
62,
83,
2977,
14692,
22658,
7975,
21013,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
366,
37,
321,
2403,
945,
1,
287,
3307,
62,
83,
2977,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14389,
13,
44769,
2403,
945,
796,
16513,
2403,
945,
13557,
29572,
62,
11487,
7,
36604,
62,
83,
2977,
14692,
37,
321,
2403,
945,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
366,
33,
1203,
654,
1,
287,
3307,
62,
83,
2977,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14389,
13557,
29572,
62,
65,
1203,
654,
62,
11487,
7,
36604,
62,
83,
2977,
14692,
33,
1203,
654,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
366,
40,
2022,
84,
3196,
1,
287,
3307,
62,
83,
2977,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14389,
13,
320,
11110,
3196,
796,
537,
82,
13557,
29572,
62,
29762,
62,
28665,
62,
11487,
7,
36604,
62,
83,
2977,
14692,
40,
2022,
84,
3196,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
366,
1925,
8357,
1,
287,
3307,
62,
83,
2977,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14389,
13557,
29572,
62,
354,
8357,
62,
11487,
7,
36604,
62,
83,
2977,
14692,
1925,
8357,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
366,
43768,
20418,
565,
404,
5507,
13912,
8491,
292,
1,
287,
3307,
62,
83,
2977,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14389,
13,
785,
16838,
62,
25497,
62,
8899,
62,
533,
292,
796,
537,
82,
13557,
29572,
62,
29762,
62,
28665,
62,
11487,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3307,
62,
83,
2977,
14692,
43768,
20418,
565,
404,
5507,
13912,
8491,
292,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
366,
43768,
12166,
43,
1127,
1,
287,
3307,
62,
83,
2977,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14389,
13,
785,
16838,
62,
6138,
62,
6615,
796,
537,
82,
13557,
29572,
62,
29762,
62,
28665,
62,
11487,
7,
36604,
62,
83,
2977,
14692,
43768,
12166,
43,
1127,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
366,
51,
30540,
1,
287,
3307,
62,
83,
2977,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14389,
13,
83,
30540,
796,
537,
82,
13557,
29572,
62,
29762,
62,
28665,
62,
11487,
7,
36604,
62,
83,
2977,
14692,
51,
30540,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
366,
32,
24957,
902,
1,
287,
3307,
62,
83,
2977,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14389,
13557,
29572,
62,
620,
12311,
902,
62,
11487,
7,
36604,
62,
83,
2977,
14692,
32,
24957,
902,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
366,
13014,
8042,
32577,
1,
287,
3307,
62,
83,
2977,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14389,
13557,
29572,
62,
13466,
8042,
62,
11487,
7,
36604,
62,
83,
2977,
14692,
13014,
8042,
32577,
8973,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
14389,
198,
220,
220,
220,
1303,
886,
36996,
628,
220,
220,
220,
1303,
3814,
15348,
25458,
198,
220,
220,
220,
2488,
4871,
24396,
198,
220,
220,
220,
825,
4808,
29572,
62,
83,
2977,
7,
565,
82,
11,
44267,
62,
11299,
8,
4613,
360,
713,
58,
2536,
11,
275,
82,
19,
13,
24835,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
10044,
325,
262,
2095,
3307,
8893,
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,
44267,
62,
11299,
25,
1058,
4871,
25,
63,
1443,
19,
13,
24835,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
44267,
2695,
286,
262,
14389,
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,
1058,
4871,
25,
63,
11600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
317,
22155,
286,
262,
8893,
11,
32824,
416,
511,
4686,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3307,
62,
83,
2977,
796,
44267,
62,
11299,
13,
19796,
62,
439,
7203,
7146,
1600,
19779,
4871,
1298,
366,
27275,
24259,
12235,
20662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1391,
11487,
14692,
312,
1,
5974,
3084,
329,
3084,
287,
3307,
62,
83,
2977,
92,
628,
220,
220,
220,
2488,
4871,
24396,
198,
220,
220,
220,
825,
4808,
29572,
62,
7890,
62,
11487,
7,
565,
82,
11,
3084,
8,
4613,
360,
713,
58,
2536,
11,
965,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
10044,
325,
257,
2829,
1366,
3084,
656,
257,
1994,
1988,
16855,
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,
3084,
25,
1058,
4871,
25,
63,
1443,
19,
13,
24835,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
3084,
284,
307,
44267,
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,
1058,
4871,
25,
63,
11600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
317,
16855,
7268,
262,
3084,
338,
1366,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
15274,
796,
3084,
13,
19796,
62,
439,
7203,
2213,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
329,
5752,
287,
15274,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1438,
796,
5752,
13,
19796,
7203,
12626,
11074,
5239,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
796,
5752,
13,
19796,
7203,
7146,
11074,
5239,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1438,
796,
1438,
13,
21037,
22446,
36311,
22446,
33491,
7203,
33172,
45434,
11074,
33491,
7,
1298,
1600,
366,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
58,
3672,
60,
796,
1988,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1366,
628,
220,
220,
220,
825,
4808,
29572,
62,
8135,
2171,
62,
11487,
7,
944,
11,
3084,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
10044,
325,
262,
4678,
3084,
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,
3084,
25,
1058,
4871,
25,
63,
1443,
19,
13,
24835,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
3084,
7268,
262,
2095,
338,
5032,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
15274,
796,
3084,
13,
19796,
62,
439,
7203,
2213,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
4678,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
329,
5752,
287,
15274,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
951,
82,
796,
5752,
13,
19796,
62,
439,
7203,
8671,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1438,
62,
66,
11,
1241,
62,
66,
11,
4371,
62,
66,
796,
685,
66,
13,
5239,
329,
269,
287,
951,
82,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1241,
796,
493,
7,
5715,
62,
66,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4371,
796,
12178,
7,
33723,
62,
66,
13,
33491,
7203,
4,
1600,
13538,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4678,
13,
33295,
7,
35040,
30150,
7,
3672,
28,
3672,
62,
66,
11,
1241,
28,
5715,
11,
4371,
28,
33723,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
8135,
2171,
796,
4678,
628,
220,
220,
220,
825,
4808,
29572,
62,
65,
1203,
654,
62,
11487,
7,
944,
11,
3084,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
10044,
325,
262,
28388,
3084,
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,
3084,
25,
1058,
4871,
25,
63,
1443,
19,
13,
24835,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
3084,
7268,
262,
2095,
338,
28388,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3084,
62,
11299,
796,
3084,
13,
19796,
7203,
11487,
1600,
708,
3808,
28,
4895,
4871,
1298,
366,
10962,
19746,
20662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4808,
11,
1635,
8516,
796,
3084,
62,
11299,
13,
19796,
62,
439,
7203,
2213,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
329,
5752,
287,
15274,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
951,
82,
796,
5752,
13,
19796,
62,
439,
7203,
8671,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2033,
62,
66,
11,
1438,
62,
66,
796,
685,
66,
13,
5239,
329,
269,
287,
951,
82,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2033,
796,
493,
7,
17287,
62,
66,
13,
33491,
7203,
87,
1600,
13538,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
65,
1203,
654,
13,
33295,
7,
33,
1203,
278,
30150,
7,
3672,
62,
66,
11,
2033,
4008,
628,
220,
220,
220,
2488,
4871,
24396,
198,
220,
220,
220,
825,
4808,
29572,
62,
29762,
62,
28665,
62,
11487,
7,
565,
82,
11,
3084,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
10044,
325,
257,
3084,
351,
257,
2060,
5721,
656,
281,
7177,
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,
3084,
25,
1058,
4871,
25,
63,
1443,
19,
13,
24835,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
317,
3084,
351,
257,
2060,
5721,
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,
1058,
4871,
25,
63,
4868,
63,
286,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
317,
1351,
351,
262,
10154,
286,
1123,
5752,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3084,
62,
11299,
796,
3084,
13,
19796,
62,
439,
7203,
11487,
1600,
708,
3808,
28,
4895,
4871,
1298,
366,
10962,
19746,
20662,
38381,
12,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
4808,
11,
1635,
8516,
796,
3084,
62,
11299,
13,
19796,
62,
439,
7203,
2213,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
1005,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
329,
5752,
287,
15274,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
951,
796,
5752,
13,
19796,
7203,
8671,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2420,
796,
951,
13,
5239,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
366,
3549,
12784,
1,
287,
2420,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1005,
13,
33295,
7,
5239,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1005,
628,
220,
220,
220,
825,
4808,
29572,
62,
354,
8357,
62,
11487,
7,
944,
11,
3084,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
10044,
325,
262,
41700,
3084,
290,
32139,
663,
1321,
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,
3084,
25,
1058,
4871,
25,
63,
1443,
19,
13,
24835,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
3084,
7268,
262,
41700,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3084,
62,
11299,
796,
3084,
13,
19796,
7203,
11487,
1600,
708,
3808,
28,
4895,
4871,
1298,
366,
10962,
19746,
20662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4808,
11,
1635,
8516,
796,
3084,
62,
11299,
13,
19796,
62,
439,
7203,
2213,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
329,
5752,
287,
15274,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
951,
82,
796,
5752,
13,
19796,
62,
439,
7203,
8671,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
4033,
82,
8,
14512,
362,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1575,
62,
66,
11,
1438,
62,
66,
796,
685,
66,
13,
5239,
329,
269,
287,
951,
82,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1575,
796,
21136,
62,
41433,
7,
15805,
62,
66,
13,
33491,
7203,
87,
1600,
13538,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
354,
8357,
13,
33295,
7,
1925,
1670,
30150,
7,
3672,
62,
66,
11,
1575,
4008,
628,
220,
220,
220,
825,
4808,
29572,
62,
620,
12311,
902,
62,
11487,
7,
944,
11,
3084,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
10044,
325,
262,
16970,
3084,
290,
32139,
663,
1321,
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,
3084,
25,
1058,
4871,
25,
63,
1443,
19,
13,
24835,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
3084,
7268,
262,
16970,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3084,
62,
11299,
796,
3084,
13,
19796,
7203,
11487,
1600,
708,
3808,
28,
4895,
4871,
1298,
366,
10962,
19746,
20662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4808,
11,
1635,
8516,
796,
3084,
62,
11299,
13,
19796,
62,
439,
7203,
2213,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
329,
5752,
287,
15274,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
951,
796,
5752,
13,
19796,
7203,
8671,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2420,
796,
951,
13,
5239,
13,
36311,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
366,
3549,
12784,
1,
287,
2420,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3200,
796,
951,
13,
19796,
7203,
9600,
4943,
318,
407,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
620,
12311,
902,
13,
33295,
7,
32,
24957,
434,
30150,
7,
5239,
11,
3200,
4008,
628,
220,
220,
220,
825,
4808,
29572,
62,
13466,
8042,
62,
11487,
7,
944,
11,
3084,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
10044,
325,
262,
1266,
8042,
3084,
290,
32139,
663,
1321,
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,
3084,
25,
1058,
4871,
25,
63,
1443,
19,
13,
24835,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
3084,
7268,
262,
1266,
8042,
1321,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3084,
62,
11299,
796,
3084,
13,
19796,
7203,
11487,
1600,
708,
3808,
28,
4895,
4871,
1298,
366,
10962,
19746,
20662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
4808,
11,
1635,
8516,
796,
3084,
62,
11299,
13,
19796,
62,
439,
7203,
2213,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
329,
5752,
287,
15274,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
951,
82,
796,
5752,
13,
19796,
62,
439,
7203,
8671,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
4033,
82,
8,
14512,
513,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2239,
62,
66,
11,
12847,
62,
66,
11,
1438,
62,
66,
796,
685,
66,
13,
5239,
329,
269,
287,
951,
82,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12847,
796,
21136,
62,
41433,
7,
74,
2171,
62,
66,
13,
33491,
7203,
87,
1600,
13538,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2239,
796,
493,
7,
9662,
62,
66,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
13466,
8042,
62,
33723,
13,
33295,
7,
13014,
8042,
30150,
7,
3672,
62,
66,
11,
12847,
11,
2239,
4008,
628,
220,
220,
220,
2488,
4871,
24396,
198,
220,
220,
220,
825,
4808,
29572,
62,
7700,
62,
23814,
7,
565,
82,
11,
2695,
11,
5726,
62,
4871,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
10044,
325,
262,
4847,
286,
257,
2443,
287,
262,
3709,
11,
30790,
290,
27655,
13,
628,
220,
220,
220,
220,
220,
220,
220,
49213,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
2695,
25,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
11532,
2695,
287,
262,
2443,
13,
198,
220,
220,
220,
220,
220,
220,
220,
5726,
62,
4871,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
1398,
16215,
262,
4847,
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,
220,
220,
220,
220,
383,
12784,
7763,
287,
262,
2443,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
44267,
62,
11299,
796,
21136,
62,
83,
571,
9607,
296,
62,
11299,
7,
11299,
11,
27098,
11639,
6494,
20,
8019,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2378,
62,
29305,
796,
44267,
62,
11299,
13,
19796,
62,
439,
7203,
7146,
1600,
708,
3808,
28,
4895,
4871,
1298,
366,
34,
12861,
1102,
20662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
12784,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
329,
2378,
62,
3524,
287,
2378,
62,
29305,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2378,
796,
5726,
62,
4871,
13557,
29572,
62,
9060,
62,
3524,
7,
9186,
62,
3524,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2378,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12784,
13,
33295,
7,
9186,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
12784,
628,
220,
220,
220,
825,
4808,
29572,
62,
24622,
62,
11487,
7,
944,
11,
3084,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
10044,
325,
262,
2276,
1321,
3084,
290,
46974,
663,
3815,
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,
3084,
25,
1058,
4871,
25,
63,
1443,
19,
13,
24835,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
3084,
351,
2276,
1321,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2695,
62,
3642,
50221,
796,
3084,
13,
19796,
62,
439,
7203,
11487,
1600,
19779,
4871,
1298,
366,
10962,
19746,
20662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2276,
62,
34242,
796,
2116,
13557,
29572,
62,
7890,
62,
11487,
7,
11299,
62,
3642,
50221,
58,
15,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
17945,
62,
13033,
796,
21136,
62,
41433,
7,
24622,
62,
34242,
13,
1136,
7203,
17945,
62,
13033,
1600,
366,
15,
48774,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
805,
64,
796,
21136,
62,
41433,
7,
24622,
62,
34242,
13,
1136,
7203,
805,
64,
1600,
366,
15,
48774,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
42404,
796,
21136,
62,
41433,
7,
24622,
62,
34242,
13,
1136,
7203,
42404,
1600,
366,
15,
48774,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
12287,
796,
21136,
62,
41433,
7,
24622,
62,
34242,
13,
1136,
7203,
12287,
1600,
366,
15,
48774,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
14948,
82,
62,
9127,
796,
21136,
62,
41433,
7,
24622,
62,
34242,
13,
1136,
7203,
14948,
82,
1600,
366,
15,
48774,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
448,
21013,
62,
9127,
796,
21136,
62,
41433,
7,
24622,
62,
34242,
13,
1136,
7203,
448,
21013,
1600,
366,
15,
48774,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
83,
30540,
62,
9127,
796,
21136,
62,
41433,
7,
24622,
62,
34242,
13,
1136,
7203,
83,
30540,
1600,
366,
15,
48774,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
65,
1203,
654,
62,
9127,
796,
21136,
62,
41433,
7,
260,
13,
7266,
7,
81,
1,
14,
67,
10,
1600,
366,
1600,
2276,
62,
34242,
13,
1136,
7203,
65,
1203,
654,
1600,
366,
15,
1,
22305,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
29572,
62,
8135,
2171,
62,
11487,
7,
11299,
62,
3642,
50221,
58,
16,
12962,
628,
220,
220,
220,
220,
220,
220,
220,
3224,
62,
34242,
796,
2116,
13557,
29572,
62,
7890,
62,
11487,
7,
11299,
62,
3642,
50221,
58,
17,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
38793,
62,
4475,
796,
21136,
62,
83,
41145,
62,
19608,
8079,
7,
2860,
1859,
62,
34242,
13,
1136,
7203,
38793,
62,
4475,
1600,
366,
11074,
33491,
7203,
59,
27865,
15,
1600,
366,
366,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
23100,
1240,
796,
21136,
62,
41433,
7,
2860,
1859,
62,
34242,
13,
1136,
7203,
23100,
1240,
1600,
366,
15,
48774,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
24267,
796,
21136,
62,
41433,
7,
2860,
1859,
62,
34242,
13,
1136,
7203,
24267,
1600,
366,
15,
48774,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
620,
12311,
434,
62,
13033,
796,
21136,
62,
41433,
7,
2860,
1859,
62,
34242,
13,
1136,
7203,
620,
12311,
434,
62,
13033,
1600,
366,
15,
48774,
628,
220,
220,
220,
220,
220,
220,
220,
4351,
62,
7890,
796,
2116,
13557,
29572,
62,
7890,
62,
11487,
7,
11299,
62,
3642,
50221,
58,
18,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
4351,
62,
5239,
796,
4351,
62,
7890,
13,
1136,
7203,
16338,
62,
6894,
62,
39437,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
611,
366,
8499,
1,
287,
4351,
62,
5239,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3128,
62,
8841,
796,
4351,
62,
5239,
13,
35312,
7203,
8499,
366,
38381,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
16338,
62,
6894,
62,
39437,
62,
15182,
62,
4475,
796,
21136,
62,
83,
41145,
62,
19608,
8079,
7,
4475,
62,
8841,
8,
628,
220,
220,
220,
220,
220,
220,
220,
41700,
62,
7890,
796,
2116,
13557,
29572,
62,
7890,
62,
11487,
7,
11299,
62,
3642,
50221,
58,
19,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
354,
1670,
62,
11201,
5487,
796,
366,
8505,
1,
287,
41700,
62,
7890,
13,
1136,
7203,
354,
1670,
62,
11201,
5487,
1600,
366,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15182,
62,
354,
1670,
62,
13033,
796,
21136,
62,
41433,
7,
354,
8357,
62,
7890,
13,
1136,
7203,
15182,
62,
354,
1670,
62,
13033,
48774,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
2777,
298,
62,
354,
1670,
62,
13033,
796,
21136,
62,
41433,
7,
354,
8357,
62,
7890,
13,
1136,
7203,
2777,
298,
62,
354,
1670,
62,
13033,
48774,
628,
220,
220,
220,
220,
220,
220,
220,
4445,
62,
260,
2017,
62,
7890,
796,
2116,
13557,
29572,
62,
7890,
62,
11487,
7,
11299,
62,
3642,
50221,
58,
20,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
29468,
62,
260,
904,
62,
22853,
461,
796,
21136,
62,
41433,
7,
29468,
62,
260,
2017,
62,
7890,
13,
12924,
9186,
3419,
58,
16,
12962,
628,
220,
220,
220,
220,
220,
220,
220,
10988,
62,
7890,
796,
2116,
13557,
29572,
62,
7890,
62,
11487,
7,
11299,
62,
3642,
50221,
58,
21,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
20088,
889,
62,
35943,
62,
13033,
796,
21136,
62,
41433,
7,
20088,
889,
62,
7890,
13,
1136,
7203,
20088,
889,
62,
35943,
62,
13033,
1600,
13538,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
525,
44172,
62,
20088,
889,
62,
35943,
62,
6649,
1747,
796,
21136,
62,
41433,
7,
20088,
889,
62,
7890,
13,
1136,
7203,
525,
44172,
62,
20088,
889,
62,
35943,
62,
6649,
1747,
1600,
13538,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
525,
44172,
62,
3866,
88,
62,
6649,
1747,
796,
21136,
62,
41433,
7,
20088,
889,
62,
7890,
13,
1136,
7203,
525,
44172,
62,
3866,
88,
62,
6649,
1747,
1600,
13538,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
3866,
88,
62,
21992,
27761,
796,
21136,
62,
41433,
7,
20088,
889,
62,
7890,
13,
1136,
7203,
3866,
88,
62,
21992,
27761,
1600,
13538,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
11078,
17783,
62,
7890,
796,
2116,
13557,
29572,
62,
7890,
62,
11487,
7,
11299,
62,
3642,
50221,
58,
22,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
10695,
17783,
796,
21136,
62,
41433,
7,
10695,
17783,
62,
7890,
13,
1136,
7203,
10695,
17783,
1600,
13538,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
10695,
1359,
62,
43863,
796,
21136,
62,
41433,
7,
10695,
17783,
62,
7890,
13,
1136,
7203,
10695,
1359,
62,
43863,
1600,
13538,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
10695,
1359,
62,
448,
21013,
796,
21136,
62,
41433,
7,
10695,
17783,
62,
7890,
13,
1136,
7203,
10695,
1359,
62,
448,
21013,
1600,
13538,
4008,
198,
220,
220,
220,
1303,
886,
36996,
628,
198,
4871,
3806,
11147,
5159,
7,
39305,
13,
32634,
13821,
2599,
198,
220,
220,
220,
37227,
464,
2939,
286,
262,
16313,
3058,
852,
12666,
416,
262,
2095,
13,
628,
220,
220,
220,
49213,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
2939,
62,
6371,
25,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
10289,
286,
262,
2939,
13,
198,
220,
220,
220,
16313,
62,
312,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
4522,
286,
262,
16313,
13,
198,
220,
220,
220,
751,
684,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
751,
684,
9066,
287,
262,
16313,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
11593,
6649,
1747,
834,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
9060,
62,
6371,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
448,
11147,
62,
312,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
39996,
1600,
198,
220,
220,
220,
1267,
628,
198,
4871,
31525,
3898,
22093,
7,
39305,
13,
32634,
13821,
2599,
198,
220,
220,
220,
37227,
6207,
6629,
257,
42208,
3898,
10638,
287,
262,
2095,
14389,
2665,
13,
628,
220,
220,
220,
49213,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
2443,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1459,
2443,
852,
9066,
13,
198,
220,
220,
220,
2472,
62,
31126,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2472,
1271,
286,
5468,
13,
198,
220,
220,
220,
2482,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2472,
1271,
286,
2482,
13,
198,
220,
220,
220,
12784,
25,
1058,
4871,
25,
63,
4868,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
12784,
13,
198,
220,
220,
220,
3938,
62,
50012,
25,
1058,
4871,
25,
63,
30388,
63,
198,
220,
220,
220,
220,
220,
220,
220,
10127,
262,
10638,
373,
11351,
1740,
3190,
11,
1390,
477,
584,
5468,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
5726,
62,
4871,
796,
6045,
628,
220,
220,
220,
11593,
6649,
1747,
834,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
7700,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
23350,
62,
31126,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
43420,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2759,
62,
50012,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
298,
1678,
1600,
198,
220,
220,
220,
1267,
628,
220,
220,
220,
1303,
3814,
5094,
25458,
198,
220,
220,
220,
825,
651,
62,
1525,
62,
3672,
7,
944,
11,
1438,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3855,
281,
5726,
416,
663,
1438,
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,
1438,
25,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
1438,
286,
262,
5726,
11,
1339,
41246,
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,
1058,
4871,
25,
63,
15252,
63,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
5726,
12336,
262,
1438,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1306,
19510,
68,
329,
304,
287,
2116,
13,
298,
1678,
611,
304,
13,
3672,
13,
21037,
3419,
6624,
1438,
13,
21037,
3419,
828,
6045,
8,
628,
220,
220,
220,
825,
2989,
7,
944,
11,
1988,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
18243,
281,
5726,
416,
663,
1438,
13,
628,
220,
220,
220,
220,
220,
220,
220,
40117,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
1988,
25,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
1988,
284,
804,
329,
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,
1058,
4871,
25,
63,
4868,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
317,
1351,
286,
12784,
351,
3891,
7268,
262,
2989,
3381,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
685,
68,
329,
304,
287,
2116,
13,
298,
1678,
611,
1988,
13,
21037,
3419,
287,
304,
13,
3672,
13,
21037,
3419,
60,
628,
220,
220,
220,
825,
651,
62,
1525,
62,
312,
7,
944,
11,
1438,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3855,
281,
5726,
416,
663,
4686,
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,
1438,
25,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
1438,
286,
262,
5726,
11,
1339,
41246,
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,
1058,
4871,
25,
63,
15252,
63,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
5726,
12336,
262,
1438,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1892,
3546,
1154,
12061,
198,
220,
220,
220,
1303,
886,
36996,
628,
220,
220,
220,
1303,
3814,
15348,
25458,
198,
220,
220,
220,
1303,
886,
36996,
628,
198,
4871,
9097,
22093,
7,
47,
363,
3898,
22093,
2599,
198,
220,
220,
220,
37227,
23022,
287,
257,
2095,
338,
13184,
290,
43369,
13,
628,
220,
220,
220,
49213,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
2443,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1459,
2443,
852,
9066,
13,
198,
220,
220,
220,
2472,
62,
31126,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2472,
1271,
286,
5468,
13,
198,
220,
220,
220,
2482,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2472,
1271,
286,
2482,
13,
198,
220,
220,
220,
12784,
25,
1058,
4871,
25,
63,
4868,
63,
286,
1058,
4871,
25,
63,
23114,
7449,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2095,
338,
3709,
13,
198,
220,
220,
220,
3938,
62,
50012,
25,
1058,
4871,
25,
63,
30388,
63,
198,
220,
220,
220,
220,
220,
220,
220,
10127,
262,
10638,
373,
11351,
1740,
3190,
11,
1390,
477,
584,
5468,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
12784,
25,
7343,
58,
23114,
7449,
60,
198,
220,
220,
220,
5726,
62,
4871,
796,
16531,
7449,
628,
220,
220,
220,
825,
651,
62,
1525,
62,
312,
7,
944,
11,
5726,
62,
312,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3855,
281,
2378,
416,
663,
2378,
4686,
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,
5726,
62,
312,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
4522,
286,
262,
2378,
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,
1058,
4871,
25,
63,
23114,
7449,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
2378,
12336,
262,
4686,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1306,
19510,
68,
329,
304,
287,
2116,
13,
298,
1678,
611,
304,
13,
9186,
62,
312,
6624,
5726,
62,
312,
828,
6045,
8,
628,
220,
220,
220,
2488,
4871,
24396,
198,
220,
220,
220,
825,
4808,
29572,
62,
11487,
7,
565,
82,
11,
3084,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
10044,
325,
262,
2378,
10638,
3084,
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,
3084,
25,
1058,
4871,
25,
63,
1443,
19,
13,
24835,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
3084,
7268,
262,
2378,
10638,
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,
1058,
4871,
25,
63,
7449,
22093,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
2378,
10638,
7763,
287,
262,
3084,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
10638,
796,
537,
82,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
10638,
13557,
29572,
62,
79,
363,
1883,
7,
11487,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2378,
62,
29305,
796,
3084,
13,
19796,
62,
439,
7203,
7146,
1600,
708,
3808,
28,
4895,
4871,
1298,
366,
34,
12861,
1102,
20662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
2378,
62,
3524,
287,
2378,
62,
29305,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2378,
796,
16531,
7449,
13557,
29572,
62,
9060,
62,
3524,
7,
9186,
62,
3524,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2378,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10638,
13,
298,
1678,
13,
33295,
7,
9186,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
10638,
628,
198,
4871,
5628,
82,
7,
47,
363,
3898,
22093,
2599,
198,
220,
220,
220,
37227,
464,
30790,
257,
2095,
468,
14838,
393,
8155,
13,
628,
220,
220,
220,
49213,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
2443,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1459,
2443,
852,
9066,
13,
198,
220,
220,
220,
2472,
62,
31126,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2472,
1271,
286,
5468,
13,
198,
220,
220,
220,
2482,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2472,
1271,
286,
2482,
13,
198,
220,
220,
220,
12784,
25,
1058,
4871,
25,
63,
4868,
63,
286,
1058,
4871,
25,
63,
23114,
35452,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2095,
338,
30790,
13,
198,
220,
220,
220,
3938,
62,
50012,
25,
1058,
4871,
25,
63,
30388,
63,
198,
220,
220,
220,
220,
220,
220,
220,
10127,
262,
10638,
373,
11351,
1740,
3190,
11,
1390,
477,
584,
5468,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
12784,
25,
7343,
58,
23114,
35452,
60,
198,
220,
220,
220,
5726,
62,
4871,
796,
16531,
35452,
628,
220,
220,
220,
825,
651,
62,
1525,
62,
312,
7,
944,
11,
5726,
62,
312,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3855,
257,
3817,
416,
663,
3817,
4686,
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,
5726,
62,
312,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
4522,
286,
262,
3817,
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,
1058,
4871,
25,
63,
23114,
35452,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
3817,
12336,
262,
4686,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1306,
19510,
68,
329,
304,
287,
2116,
13,
298,
1678,
611,
304,
13,
14948,
62,
312,
6624,
5726,
62,
312,
828,
6045,
8,
628,
220,
220,
220,
2488,
4871,
24396,
628,
198,
4871,
16513,
2403,
945,
7,
47,
363,
3898,
22093,
2599,
198,
220,
220,
220,
37227,
464,
1145,
2403,
945,
262,
2095,
468,
14838,
393,
8155,
13,
628,
220,
220,
220,
49213,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
2443,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1459,
2443,
852,
9066,
13,
198,
220,
220,
220,
2472,
62,
31126,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2472,
1271,
286,
5468,
13,
198,
220,
220,
220,
2482,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2472,
1271,
286,
2482,
13,
198,
220,
220,
220,
12784,
25,
1058,
4871,
25,
63,
4868,
63,
286,
1058,
4871,
25,
63,
23114,
37,
19968,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1145,
2403,
945,
262,
2095,
468,
14838,
393,
8155,
13,
198,
220,
220,
220,
3938,
62,
50012,
25,
1058,
4871,
25,
63,
30388,
63,
198,
220,
220,
220,
220,
220,
220,
220,
10127,
262,
10638,
373,
11351,
1740,
3190,
11,
1390,
477,
584,
5468,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
12784,
25,
7343,
58,
23114,
37,
19968,
60,
198,
220,
220,
220,
5726,
62,
4871,
796,
16531,
37,
19968,
628,
220,
220,
220,
825,
651,
62,
1525,
62,
312,
7,
944,
11,
5726,
62,
312,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3855,
281,
16313,
416,
663,
5385,
4686,
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,
5726,
62,
312,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
4522,
286,
262,
16313,
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,
1058,
4871,
25,
63,
23114,
7975,
11147,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
16313,
12336,
262,
4686,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1306,
19510,
68,
329,
304,
287,
2116,
13,
298,
1678,
611,
304,
13,
69,
19968,
62,
312,
6624,
5726,
62,
312,
828,
6045,
8,
628,
220,
220,
220,
2488,
4871,
24396,
198,
220,
220,
220,
825,
4808,
29572,
62,
11487,
7,
565,
82,
11,
3084,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
10044,
325,
262,
27655,
3084,
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,
3084,
25,
1058,
4871,
25,
63,
1443,
19,
13,
24835,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
3084,
7268,
262,
2095,
27655,
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,
1058,
4871,
25,
63,
7975,
21013,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
27655,
7763,
287,
262,
3084,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
10638,
796,
537,
82,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
10638,
13557,
29572,
62,
79,
363,
1883,
7,
11487,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2378,
62,
29305,
796,
3084,
13,
19796,
62,
439,
7203,
7146,
1600,
708,
3808,
28,
4895,
4871,
1298,
366,
34,
12861,
1102,
20662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
2378,
62,
3524,
287,
2378,
62,
29305,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2378,
796,
16531,
37,
19968,
13557,
29572,
62,
9060,
62,
3524,
7,
9186,
62,
3524,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2378,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10638,
13,
298,
1678,
13,
33295,
7,
9186,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
10638,
628,
198,
4871,
3806,
21013,
7,
47,
363,
3898,
22093,
2599,
198,
220,
220,
220,
37227,
464,
27655,
262,
2095,
468,
14838,
393,
8155,
13,
628,
220,
220,
220,
49213,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
2443,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1459,
2443,
852,
9066,
13,
198,
220,
220,
220,
2472,
62,
31126,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2472,
1271,
286,
5468,
13,
198,
220,
220,
220,
2482,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2472,
1271,
286,
2482,
13,
198,
220,
220,
220,
12784,
25,
1058,
4871,
25,
63,
4868,
63,
286,
1058,
4871,
25,
63,
23114,
7975,
11147,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
27655,
262,
2095,
468,
14838,
393,
8155,
13,
198,
220,
220,
220,
3938,
62,
50012,
25,
1058,
4871,
25,
63,
30388,
63,
198,
220,
220,
220,
220,
220,
220,
220,
10127,
262,
10638,
373,
11351,
1740,
3190,
11,
1390,
477,
584,
5468,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
12784,
25,
7343,
58,
23114,
7975,
11147,
60,
198,
220,
220,
220,
5726,
62,
4871,
796,
16531,
7975,
11147,
628,
220,
220,
220,
825,
651,
62,
1525,
62,
312,
7,
944,
11,
5726,
62,
312,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3855,
281,
16313,
416,
663,
16313,
4686,
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,
5726,
62,
312,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
4522,
286,
262,
16313,
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,
1058,
4871,
25,
63,
23114,
7975,
11147,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
16313,
12336,
262,
4686,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
1306,
19510,
68,
329,
304,
287,
2116,
13,
298,
1678,
611,
304,
13,
448,
11147,
62,
312,
6624,
5726,
62,
312,
828,
6045,
8,
628,
220,
220,
220,
2488,
4871,
24396,
198,
220,
220,
220,
825,
4808,
29572,
62,
11487,
7,
565,
82,
11,
3084,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
10044,
325,
262,
27655,
3084,
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,
3084,
25,
1058,
4871,
25,
63,
1443,
19,
13,
24835,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
3084,
7268,
262,
2095,
27655,
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,
1058,
4871,
25,
63,
7975,
21013,
63,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
27655,
7763,
287,
262,
3084,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
10638,
796,
537,
82,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
10638,
13557,
29572,
62,
79,
363,
1883,
7,
11487,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2378,
62,
29305,
796,
3084,
13,
19796,
62,
439,
7203,
7146,
1600,
708,
3808,
28,
4895,
4871,
1298,
366,
34,
12861,
1102,
20662,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
2378,
62,
3524,
287,
2378,
62,
29305,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2378,
796,
16531,
7975,
11147,
13557,
29572,
62,
9060,
62,
3524,
7,
9186,
62,
3524,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2378,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10638,
13,
298,
1678,
13,
33295,
7,
9186,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
10638,
628,
198,
4871,
17329,
28100,
1713,
7,
39305,
13,
32634,
13821,
2599,
198,
220,
220,
220,
37227,
6207,
6629,
257,
4200,
4578,
13,
628,
220,
220,
220,
17329,
7159,
460,
307,
6163,
618,
4441,
281,
14389,
11,
290,
1249,
262,
2836,
284,
7238,
1728,
198,
220,
220,
220,
2095,
3033,
287,
262,
14389,
13487,
13,
628,
220,
220,
220,
49213,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
6536,
62,
9060,
25,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
10289,
284,
262,
6536,
7196,
13,
198,
220,
220,
220,
2695,
25,
1058,
4871,
25,
63,
2536,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2695,
286,
262,
4200,
4578,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
11593,
6649,
1747,
834,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
22872,
62,
312,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
22872,
62,
9060,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
11299,
1600,
198,
220,
220,
220,
1267,
628,
198,
4871,
16023,
30150,
7,
39305,
13,
32634,
13821,
2599,
198,
220,
220,
220,
37227,
6207,
6629,
262,
2095,
338,
4678,
13,
628,
220,
220,
220,
49213,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
1438,
25,
1058,
4871,
25,
63,
3672,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1438,
286,
262,
5032,
13,
198,
220,
220,
220,
1241,
25,
1058,
4871,
25,
63,
600,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
1459,
1241,
13,
198,
220,
220,
220,
4371,
25,
1058,
4871,
25,
63,
22468,
63,
198,
220,
220,
220,
220,
220,
220,
220,
383,
5873,
286,
4371,
329,
262,
1306,
1241,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
11593,
6649,
1747,
834,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3672,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5715,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
33723,
1600,
198,
220,
220,
220,
1267,
198
] | 2.343844 | 20,614 |
num = list()
pos = 0
while True:
num.append(int(input("Digite um valor: ")))
option = " "
while option not in "SN":
option = str(input("Quer continuar? [S/N]: ")).upper().strip()[0]
if option == "N":
break
print("="*30)
print(f"Você digitou a seguinte lista {num}")
print(f"Foram digitados {len(num)} termos")
if 5 in num:
print("O número 5 está na lista, ", end="")
for pos, n in enumerate(num):
if n == 5:
print(f"{pos}...", end="")
pos += 1
else:
print("\nO número 5 não esta na lista")
num.sort(reverse=True)
print(f"\nA lista em ordem decrescente é {num}")
| [
198,
198,
22510,
796,
1351,
3419,
198,
1930,
796,
657,
198,
4514,
6407,
25,
198,
220,
220,
220,
997,
13,
33295,
7,
600,
7,
15414,
7203,
19511,
578,
23781,
1188,
273,
25,
366,
22305,
628,
220,
220,
220,
3038,
796,
366,
366,
198,
220,
220,
220,
981,
3038,
407,
287,
366,
15571,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
3038,
796,
965,
7,
15414,
7203,
4507,
263,
11143,
283,
30,
685,
50,
14,
45,
5974,
366,
29720,
45828,
22446,
36311,
3419,
58,
15,
60,
198,
220,
220,
220,
611,
3038,
6624,
366,
45,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
2270,
198,
198,
4798,
7203,
2625,
9,
1270,
8,
198,
4798,
7,
69,
1,
53,
420,
25792,
16839,
280,
257,
384,
5162,
600,
68,
1351,
64,
1391,
22510,
92,
4943,
198,
4798,
7,
69,
1,
1890,
321,
16839,
22484,
1391,
11925,
7,
22510,
38165,
3381,
418,
4943,
198,
198,
361,
642,
287,
997,
25,
198,
220,
220,
220,
3601,
7203,
46,
299,
21356,
647,
78,
642,
1556,
6557,
12385,
1351,
64,
11,
33172,
886,
2625,
4943,
198,
220,
220,
220,
329,
1426,
11,
299,
287,
27056,
378,
7,
22510,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
611,
299,
6624,
642,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
69,
1,
90,
1930,
92,
9313,
11,
886,
2625,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
1426,
15853,
352,
198,
17772,
25,
198,
220,
220,
220,
3601,
7203,
59,
77,
46,
299,
21356,
647,
78,
642,
299,
28749,
1556,
64,
12385,
1351,
64,
4943,
198,
198,
22510,
13,
30619,
7,
50188,
28,
17821,
8,
198,
4798,
7,
69,
1,
59,
77,
32,
1351,
64,
795,
2760,
368,
875,
26505,
68,
38251,
1391,
22510,
92,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198
] | 2.107143 | 308 |
"""
Django settings for myproject project.
Generated by 'django-admin startproject' using Django 2.2.
For more information on this file, see
https://docs.djangoproject.com/en/2.2/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.2/ref/settings/
"""
import os
import datetime
import environ
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
root = environ.Path(__file__) - 3
env = environ.Env(DEBUG=(bool, False), ) # set default values and casting
env.read_env(
os.path.join(BASE_DIR,
'myproject/envs/env.%s' % env.str('PROJECT_ENV', 'local'))
) # 在envs文件夹下有env.dev/ env.prod/ env.qa/ env.local文件
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/2.2/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'u5_2uvq7vu#24&4s(d*^96r4=e3!o3qh81m01c#lb@vzzc8f@a'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = env('DEBUG')
ALLOWED_HOSTS = env.list('ALLOWED_HOSTS')
CORS_ORIGIN_WHITELIST = env.list('CORS_ORIGIN_WHITELIST')
# Application definition
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'corsheaders',
'rest_framework',
'rest_framework.authtoken',
'user.apps.UserConfig',
]
MIDDLEWARE = [
'corsheaders.middleware.CorsMiddleware',
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]
ROOT_URLCONF = 'myproject.urls'
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]
WSGI_APPLICATION = 'myproject.wsgi.application'
# Database
# https://docs.djangoproject.com/en/2.2/ref/settings/#databases
DATABASES = {'default': env.db()}
# Password validation
# https://docs.djangoproject.com/en/2.2/ref/settings/#auth-password-validators
AUTH_PASSWORD_VALIDATORS = [
{
'NAME':
'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
},
{
'NAME':
'django.contrib.auth.password_validation.MinimumLengthValidator',
},
{
'NAME':
'django.contrib.auth.password_validation.CommonPasswordValidator',
},
{
'NAME':
'django.contrib.auth.password_validation.NumericPasswordValidator',
},
]
REST_FRAMEWORK = {
# Use Django's standard `django.contrib.auth` permissions,
# or allow read-only access for unauthenticated users.
'DEFAULT_PERMISSION_CLASSES': [],
'DEFAULT_AUTHENTICATION_CLASSES': (
'rest_framework_jwt.authentication.JSONWebTokenAuthentication',
'rest_framework.authentication.SessionAuthentication',
'rest_framework.authentication.BasicAuthentication',
),
'DEFAULT_PAGINATION_CLASS':
'rest_framework.pagination.LimitOffsetPagination',
'PAGE_SIZE':
15,
'DATETIME_FORMAT':
'%Y-%m-%d %H:%M:%S',
'TIME_ZONE':
'Asia/Shanghai',
'EXCEPTION_HANDLER':
'utils.custom_exception_handler.custom_exception_handler',
}
REST_FRAMEWORK_DOCS = {'HIDE_DOCS': False}
JWT_AUTH = {
'JWT_ALLOW_REFRESH': True,
'JWT_EXPIRATION_DELTA': datetime.timedelta(days=30),
}
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'formatters': {
'verbose': {
'format':
'%(levelname)s %(asctime)s %(module)s %(process)d %(thread)d %(message)s'
},
'simple': {
'format': '%(levelname)s %(message)s'
},
},
'handlers': {
'console': {
'level': 'INFO',
'class': 'logging.StreamHandler',
'formatter': 'simple'
},
'file': {
'level': 'INFO',
'class': 'logging.FileHandler',
'filename': '/var/log/myproject_uwsgi.log',
'formatter': 'verbose'
},
},
'loggers': {
'django': {
'handlers': ['console', 'file'],
'level': 'INFO',
'propagate': True,
},
'myproject': {
'handlers': ['console', 'file'],
'level': 'INFO',
'propagate': True,
}
},
}
# Internationalization
# https://docs.djangoproject.com/en/2.2/topics/i18n/
LANGUAGE_CODE = 'en-us'
TIME_ZONE = 'UTC'
USE_I18N = True
USE_L10N = True
USE_TZ = True
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/2.2/howto/static-files/
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, "static")
STATICFILES_DIRS = (os.path.join(BASE_DIR, "web/static"), )
# Absolute filesystem path to the directory that will hold user-uploaded files.
# Example: "/home/media/media.lawrence.com/media/"
MEDIA_ROOT = os.path.join(BASE_DIR, "static/media")
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
# trailing slash.
# Examples: "http://media.lawrence.com/media/", "http://example.com/media/"
MEDIA_URL = '/media/'
| [
37811,
198,
35,
73,
14208,
6460,
329,
616,
16302,
1628,
13,
198,
198,
8645,
515,
416,
705,
28241,
14208,
12,
28482,
923,
16302,
6,
1262,
37770,
362,
13,
17,
13,
198,
198,
1890,
517,
1321,
319,
428,
2393,
11,
766,
198,
5450,
1378,
31628,
13,
28241,
648,
404,
305,
752,
13,
785,
14,
268,
14,
17,
13,
17,
14,
4852,
873,
14,
33692,
14,
198,
198,
1890,
262,
1336,
1351,
286,
6460,
290,
511,
3815,
11,
766,
198,
5450,
1378,
31628,
13,
28241,
648,
404,
305,
752,
13,
785,
14,
268,
14,
17,
13,
17,
14,
5420,
14,
33692,
14,
198,
37811,
198,
198,
11748,
28686,
198,
11748,
4818,
8079,
198,
11748,
551,
2268,
198,
198,
2,
10934,
13532,
2641,
262,
1628,
588,
428,
25,
28686,
13,
6978,
13,
22179,
7,
33,
11159,
62,
34720,
11,
2644,
8,
198,
33,
11159,
62,
34720,
796,
28686,
13,
6978,
13,
15908,
3672,
7,
418,
13,
6978,
13,
15908,
3672,
7,
418,
13,
6978,
13,
397,
2777,
776,
7,
834,
7753,
834,
22305,
198,
198,
15763,
796,
551,
2268,
13,
15235,
7,
834,
7753,
834,
8,
532,
513,
198,
24330,
796,
551,
2268,
13,
4834,
85,
7,
30531,
16193,
30388,
11,
10352,
828,
1267,
220,
1303,
900,
4277,
3815,
290,
13092,
198,
24330,
13,
961,
62,
24330,
7,
198,
220,
220,
220,
28686,
13,
6978,
13,
22179,
7,
33,
11159,
62,
34720,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1820,
16302,
14,
268,
14259,
14,
24330,
13,
4,
82,
6,
4064,
17365,
13,
2536,
10786,
31190,
23680,
62,
1677,
53,
3256,
705,
12001,
6,
4008,
198,
8,
220,
1303,
10263,
250,
101,
268,
14259,
23877,
229,
20015,
114,
13783,
117,
10310,
233,
17312,
231,
24330,
13,
7959,
14,
17365,
13,
1676,
67,
14,
17365,
13,
20402,
14,
17365,
13,
12001,
23877,
229,
20015,
114,
198,
198,
2,
12029,
12,
9688,
2478,
6460,
532,
48092,
4674,
329,
3227,
198,
2,
4091,
3740,
1378,
31628,
13,
28241,
648,
404,
305,
752,
13,
785,
14,
268,
14,
17,
13,
17,
14,
4919,
1462,
14,
2934,
1420,
434,
14,
9122,
4868,
14,
198,
198,
2,
10729,
4261,
9050,
39410,
25,
1394,
262,
3200,
1994,
973,
287,
3227,
3200,
0,
198,
23683,
26087,
62,
20373,
796,
705,
84,
20,
62,
17,
14795,
80,
22,
40939,
2,
1731,
5,
19,
82,
7,
67,
9,
61,
4846,
81,
19,
28,
68,
18,
0,
78,
18,
80,
71,
6659,
76,
486,
66,
2,
23160,
31,
85,
3019,
66,
23,
69,
31,
64,
6,
198,
198,
2,
10729,
4261,
9050,
39410,
25,
836,
470,
1057,
351,
14257,
2900,
319,
287,
3227,
0,
198,
30531,
796,
17365,
10786,
30531,
11537,
198,
198,
7036,
3913,
1961,
62,
39,
10892,
50,
796,
17365,
13,
4868,
10786,
7036,
3913,
1961,
62,
39,
10892,
50,
11537,
198,
198,
34,
20673,
62,
1581,
3528,
1268,
62,
12418,
2043,
3698,
8808,
796,
17365,
13,
4868,
10786,
34,
20673,
62,
1581,
3528,
1268,
62,
12418,
2043,
3698,
8808,
11537,
198,
198,
2,
15678,
6770,
198,
198,
38604,
7036,
1961,
62,
2969,
3705,
796,
685,
198,
220,
220,
220,
705,
28241,
14208,
13,
3642,
822,
13,
28482,
3256,
198,
220,
220,
220,
705,
28241,
14208,
13,
3642,
822,
13,
18439,
3256,
198,
220,
220,
220,
705,
28241,
14208,
13,
3642,
822,
13,
11299,
19199,
3256,
198,
220,
220,
220,
705,
28241,
14208,
13,
3642,
822,
13,
82,
6202,
3256,
198,
220,
220,
220,
705,
28241,
14208,
13,
3642,
822,
13,
37348,
1095,
3256,
198,
220,
220,
220,
705,
28241,
14208,
13,
3642,
822,
13,
12708,
16624,
3256,
198,
220,
220,
220,
705,
66,
669,
50145,
3256,
198,
220,
220,
220,
705,
2118,
62,
30604,
3256,
198,
220,
220,
220,
705,
2118,
62,
30604,
13,
18439,
30001,
3256,
198,
220,
220,
220,
705,
7220,
13,
18211,
13,
12982,
16934,
3256,
198,
60,
198,
198,
44,
2389,
35,
2538,
33746,
796,
685,
198,
220,
220,
220,
705,
66,
669,
50145,
13,
27171,
1574,
13,
34,
669,
34621,
1574,
3256,
198,
220,
220,
220,
705,
28241,
14208,
13,
27171,
1574,
13,
12961,
13,
24074,
34621,
1574,
3256,
198,
220,
220,
220,
705,
28241,
14208,
13,
3642,
822,
13,
82,
6202,
13,
27171,
1574,
13,
36044,
34621,
1574,
3256,
198,
220,
220,
220,
705,
28241,
14208,
13,
27171,
1574,
13,
11321,
13,
17227,
34621,
1574,
3256,
198,
220,
220,
220,
705,
28241,
14208,
13,
27171,
1574,
13,
6359,
41871,
13,
34,
27891,
69,
7680,
34621,
1574,
3256,
198,
220,
220,
220,
705,
28241,
14208,
13,
3642,
822,
13,
18439,
13,
27171,
1574,
13,
47649,
3299,
34621,
1574,
3256,
198,
220,
220,
220,
705,
28241,
14208,
13,
3642,
822,
13,
37348,
1095,
13,
27171,
1574,
13,
12837,
34621,
1574,
3256,
198,
220,
220,
220,
705,
28241,
14208,
13,
27171,
1574,
13,
12976,
73,
5430,
13,
55,
19778,
29046,
34621,
1574,
3256,
198,
60,
198,
198,
13252,
2394,
62,
4261,
5639,
1340,
37,
796,
705,
1820,
16302,
13,
6371,
82,
6,
198,
198,
51,
3620,
6489,
29462,
796,
685,
198,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
31098,
10619,
10354,
705,
28241,
14208,
13,
28243,
13,
1891,
2412,
13,
28241,
14208,
13,
35,
73,
14208,
12966,
17041,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
34720,
50,
10354,
685,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
705,
24805,
62,
34720,
50,
10354,
6407,
11,
198,
220,
220,
220,
220,
220,
220,
220,
705,
3185,
51,
11053,
10354,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
22866,
62,
14681,
669,
10354,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
28241,
14208,
13,
28243,
13,
22866,
62,
14681,
669,
13,
24442,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
28241,
14208,
13,
28243,
13,
22866,
62,
14681,
669,
13,
25927,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
28241,
14208,
13,
3642,
822,
13,
18439,
13,
22866,
62,
14681,
669,
13,
18439,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
28241,
14208,
13,
3642,
822,
13,
37348,
1095,
13,
22866,
62,
14681,
669,
13,
37348,
1095,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
8964,
198,
60,
198,
198,
19416,
18878,
62,
2969,
31484,
6234,
796,
705,
1820,
16302,
13,
18504,
12397,
13,
31438,
6,
198,
198,
2,
24047,
198,
2,
3740,
1378,
31628,
13,
28241,
648,
404,
305,
752,
13,
785,
14,
268,
14,
17,
13,
17,
14,
5420,
14,
33692,
31113,
19608,
18826,
198,
198,
35,
1404,
6242,
1921,
1546,
796,
1391,
6,
12286,
10354,
17365,
13,
9945,
3419,
92,
198,
198,
2,
30275,
21201,
198,
2,
3740,
1378,
31628,
13,
28241,
648,
404,
305,
752,
13,
785,
14,
268,
14,
17,
13,
17,
14,
5420,
14,
33692,
31113,
18439,
12,
28712,
12,
12102,
2024,
198,
198,
32,
24318,
62,
47924,
54,
12532,
62,
23428,
2389,
1404,
20673,
796,
685,
198,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
20608,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
705,
28241,
14208,
13,
3642,
822,
13,
18439,
13,
28712,
62,
12102,
341,
13,
12982,
33682,
18925,
414,
47139,
1352,
3256,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
20608,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
705,
28241,
14208,
13,
3642,
822,
13,
18439,
13,
28712,
62,
12102,
341,
13,
44046,
24539,
47139,
1352,
3256,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
20608,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
705,
28241,
14208,
13,
3642,
822,
13,
18439,
13,
28712,
62,
12102,
341,
13,
17227,
35215,
47139,
1352,
3256,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
20608,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
705,
28241,
14208,
13,
3642,
822,
13,
18439,
13,
28712,
62,
12102,
341,
13,
45,
39223,
35215,
47139,
1352,
3256,
198,
220,
220,
220,
8964,
198,
60,
198,
198,
49,
6465,
62,
10913,
2390,
6217,
14670,
796,
1391,
198,
220,
220,
220,
1303,
5765,
37770,
338,
3210,
4600,
28241,
14208,
13,
3642,
822,
13,
18439,
63,
21627,
11,
198,
220,
220,
220,
1303,
393,
1249,
1100,
12,
8807,
1895,
329,
555,
41299,
3474,
2985,
13,
198,
220,
220,
220,
705,
7206,
38865,
62,
18973,
44,
40373,
62,
31631,
1546,
10354,
685,
4357,
198,
220,
220,
220,
705,
7206,
38865,
62,
32,
24318,
3525,
2149,
6234,
62,
31631,
1546,
10354,
357,
198,
220,
220,
220,
220,
220,
220,
220,
705,
2118,
62,
30604,
62,
73,
46569,
13,
41299,
3299,
13,
40386,
13908,
30642,
47649,
3299,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
2118,
62,
30604,
13,
41299,
3299,
13,
36044,
47649,
3299,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
2118,
62,
30604,
13,
41299,
3299,
13,
26416,
47649,
3299,
3256,
198,
220,
220,
220,
10612,
198,
220,
220,
220,
705,
7206,
38865,
62,
4537,
38,
1268,
6234,
62,
31631,
10354,
198,
220,
220,
220,
705,
2118,
62,
30604,
13,
79,
363,
1883,
13,
39184,
34519,
47,
363,
1883,
3256,
198,
220,
220,
220,
705,
4537,
8264,
62,
33489,
10354,
198,
220,
220,
220,
1315,
11,
198,
220,
220,
220,
705,
35,
1404,
2767,
12789,
62,
21389,
1404,
10354,
198,
220,
220,
220,
705,
4,
56,
12,
4,
76,
12,
4,
67,
4064,
39,
25,
4,
44,
25,
4,
50,
3256,
198,
220,
220,
220,
705,
34694,
62,
57,
11651,
10354,
198,
220,
220,
220,
705,
38555,
14,
2484,
272,
20380,
3256,
198,
220,
220,
220,
705,
6369,
42006,
2849,
62,
39,
6981,
39878,
10354,
198,
220,
220,
220,
705,
26791,
13,
23144,
62,
1069,
4516,
62,
30281,
13,
23144,
62,
1069,
4516,
62,
30281,
3256,
198,
92,
198,
198,
49,
6465,
62,
10913,
2390,
6217,
14670,
62,
38715,
50,
796,
1391,
6,
39,
14114,
62,
38715,
50,
10354,
10352,
92,
198,
198,
41,
39386,
62,
32,
24318,
796,
1391,
198,
220,
220,
220,
705,
41,
39386,
62,
7036,
3913,
62,
2200,
10913,
44011,
10354,
6407,
11,
198,
220,
220,
220,
705,
41,
39386,
62,
49864,
4663,
6234,
62,
35,
3698,
5603,
10354,
4818,
8079,
13,
16514,
276,
12514,
7,
12545,
28,
1270,
828,
198,
92,
198,
198,
25294,
38,
2751,
796,
1391,
198,
220,
220,
220,
705,
9641,
10354,
352,
11,
198,
220,
220,
220,
705,
40223,
62,
25687,
62,
6404,
5355,
10354,
10352,
11,
198,
220,
220,
220,
705,
18982,
1010,
10354,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
19011,
577,
10354,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
18982,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
4,
7,
5715,
3672,
8,
82,
4064,
7,
292,
310,
524,
8,
82,
4064,
7,
21412,
8,
82,
4064,
7,
14681,
8,
67,
4064,
7,
16663,
8,
67,
4064,
7,
20500,
8,
82,
6,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
705,
36439,
10354,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
18982,
10354,
705,
4,
7,
5715,
3672,
8,
82,
4064,
7,
20500,
8,
82,
6,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
705,
4993,
8116,
10354,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
41947,
10354,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
5715,
10354,
705,
10778,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
4871,
10354,
705,
6404,
2667,
13,
12124,
25060,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
687,
1436,
10354,
705,
36439,
6,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
705,
7753,
10354,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
5715,
10354,
705,
10778,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
4871,
10354,
705,
6404,
2667,
13,
8979,
25060,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
34345,
10354,
31051,
7785,
14,
6404,
14,
1820,
16302,
62,
84,
18504,
12397,
13,
6404,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
687,
1436,
10354,
705,
19011,
577,
6,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
8964,
198,
220,
220,
220,
705,
6404,
5355,
10354,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
28241,
14208,
10354,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
4993,
8116,
10354,
37250,
41947,
3256,
705,
7753,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
5715,
10354,
705,
10778,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
22930,
37861,
10354,
6407,
11,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
705,
1820,
16302,
10354,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
4993,
8116,
10354,
37250,
41947,
3256,
705,
7753,
6,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
5715,
10354,
705,
10778,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
22930,
37861,
10354,
6407,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
8964,
198,
92,
198,
198,
2,
4037,
1634,
198,
2,
3740,
1378,
31628,
13,
28241,
648,
404,
305,
752,
13,
785,
14,
268,
14,
17,
13,
17,
14,
4852,
873,
14,
72,
1507,
77,
14,
198,
198,
43,
15567,
52,
11879,
62,
34,
16820,
796,
705,
268,
12,
385,
6,
198,
198,
34694,
62,
57,
11651,
796,
705,
17429,
6,
198,
198,
19108,
62,
40,
1507,
45,
796,
6407,
198,
198,
19108,
62,
43,
940,
45,
796,
6407,
198,
198,
19108,
62,
51,
57,
796,
6407,
198,
198,
2,
36125,
3696,
357,
49155,
11,
11933,
11,
5382,
8,
198,
2,
3740,
1378,
31628,
13,
28241,
648,
404,
305,
752,
13,
785,
14,
268,
14,
17,
13,
17,
14,
4919,
1462,
14,
12708,
12,
16624,
14,
198,
198,
35744,
2149,
62,
21886,
796,
31051,
12708,
14,
6,
198,
198,
35744,
2149,
62,
13252,
2394,
796,
28686,
13,
6978,
13,
22179,
7,
33,
11159,
62,
34720,
11,
366,
12708,
4943,
198,
198,
35744,
2149,
46700,
1546,
62,
34720,
50,
796,
357,
418,
13,
6978,
13,
22179,
7,
33,
11159,
62,
34720,
11,
366,
12384,
14,
12708,
12340,
1267,
198,
198,
2,
36532,
29905,
3108,
284,
262,
8619,
326,
481,
1745,
2836,
12,
25850,
276,
3696,
13,
198,
2,
17934,
25,
12813,
11195,
14,
11431,
14,
11431,
13,
6270,
6784,
13,
785,
14,
11431,
30487,
198,
30733,
3539,
62,
13252,
2394,
796,
28686,
13,
6978,
13,
22179,
7,
33,
11159,
62,
34720,
11,
366,
12708,
14,
11431,
4943,
198,
198,
2,
10289,
326,
17105,
262,
2056,
4983,
422,
26112,
3539,
62,
13252,
2394,
13,
6889,
1654,
284,
779,
257,
198,
2,
25462,
24632,
13,
198,
2,
21066,
25,
366,
4023,
1378,
11431,
13,
6270,
6784,
13,
785,
14,
11431,
14,
1600,
366,
4023,
1378,
20688,
13,
785,
14,
11431,
30487,
198,
30733,
3539,
62,
21886,
796,
31051,
11431,
14,
6,
198
] | 2.232346 | 2,634 |
"""
Evaluate min. no. train examples to edit to flip test prediction.
"""
import os
import sys
import time
import hashlib
import argparse
import resource
from datetime import datetime
import numpy as np
import seaborn as sns
import matplotlib.pyplot as plt
from scipy.stats import sem
from sklearn.metrics import log_loss
here = os.path.abspath(os.path.dirname(__file__))
sys.path.insert(0, here + '/../')
import util
from experiments import util as exp_util
from config import post_args
if __name__ == '__main__':
main(post_args.get_counterfactual_args().parse_args())
| [
37811,
198,
36,
2100,
4985,
949,
13,
645,
13,
4512,
6096,
284,
4370,
284,
14283,
1332,
17724,
13,
198,
37811,
198,
11748,
28686,
198,
11748,
25064,
198,
11748,
640,
198,
11748,
12234,
8019,
198,
11748,
1822,
29572,
198,
11748,
8271,
198,
6738,
4818,
8079,
1330,
4818,
8079,
198,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
384,
397,
1211,
355,
3013,
82,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
6738,
629,
541,
88,
13,
34242,
1330,
5026,
198,
6738,
1341,
35720,
13,
4164,
10466,
1330,
2604,
62,
22462,
198,
198,
1456,
796,
28686,
13,
6978,
13,
397,
2777,
776,
7,
418,
13,
6978,
13,
15908,
3672,
7,
834,
7753,
834,
4008,
198,
17597,
13,
6978,
13,
28463,
7,
15,
11,
994,
1343,
31051,
40720,
11537,
198,
11748,
7736,
198,
6738,
10256,
1330,
7736,
355,
1033,
62,
22602,
198,
6738,
4566,
1330,
1281,
62,
22046,
628,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
1388,
7,
7353,
62,
22046,
13,
1136,
62,
24588,
22584,
723,
62,
22046,
22446,
29572,
62,
22046,
28955,
198
] | 3.135135 | 185 |
#!/usr/bin/env python3
import json
import time
from env import env
from run_common import AWSCli
from run_common import print_message
from run_common import print_session
options, args = dict(), list()
if __name__ == "__main__":
from run_common import parse_args
options, args = parse_args()
################################################################################
#
# start
#
################################################################################
print_session('create sqs')
target_name = None
region = options.get('region')
is_target_exists = False
for settings in env.get('sqs', list()):
if target_name and settings['NAME'] != target_name:
continue
if region and settings['AWS_REGION'] != region:
continue
is_target_exists = True
run_create_queue(settings['NAME'], settings)
if is_target_exists is False:
mm = list()
if target_name:
mm.append(target_name)
if region:
mm.append(region)
mm = ' in '.join(mm)
print(f'sqs: {mm} is not found in config.json')
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
18,
198,
11748,
33918,
198,
11748,
640,
198,
198,
6738,
17365,
1330,
17365,
198,
6738,
1057,
62,
11321,
1330,
30865,
2601,
72,
198,
6738,
1057,
62,
11321,
1330,
3601,
62,
20500,
198,
6738,
1057,
62,
11321,
1330,
3601,
62,
29891,
198,
198,
25811,
11,
26498,
796,
8633,
22784,
1351,
3419,
198,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
422,
1057,
62,
11321,
1330,
21136,
62,
22046,
628,
220,
220,
220,
3689,
11,
26498,
796,
21136,
62,
22046,
3419,
628,
198,
198,
29113,
29113,
14468,
198,
2,
198,
2,
923,
198,
2,
198,
29113,
29113,
14468,
198,
4798,
62,
29891,
10786,
17953,
19862,
82,
11537,
198,
198,
16793,
62,
3672,
796,
6045,
198,
36996,
796,
3689,
13,
1136,
10786,
36996,
11537,
198,
271,
62,
16793,
62,
1069,
1023,
796,
10352,
198,
198,
1640,
6460,
287,
17365,
13,
1136,
10786,
31166,
82,
3256,
1351,
3419,
2599,
198,
220,
220,
220,
611,
2496,
62,
3672,
290,
6460,
17816,
20608,
20520,
14512,
2496,
62,
3672,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2555,
628,
220,
220,
220,
611,
3814,
290,
6460,
17816,
12298,
50,
62,
31553,
2849,
20520,
14512,
3814,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2555,
628,
220,
220,
220,
318,
62,
16793,
62,
1069,
1023,
796,
6407,
628,
220,
220,
220,
1057,
62,
17953,
62,
36560,
7,
33692,
17816,
20608,
6,
4357,
6460,
8,
198,
198,
361,
318,
62,
16793,
62,
1069,
1023,
318,
10352,
25,
198,
220,
220,
220,
8085,
796,
1351,
3419,
198,
220,
220,
220,
611,
2496,
62,
3672,
25,
198,
220,
220,
220,
220,
220,
220,
220,
8085,
13,
33295,
7,
16793,
62,
3672,
8,
198,
220,
220,
220,
611,
3814,
25,
198,
220,
220,
220,
220,
220,
220,
220,
8085,
13,
33295,
7,
36996,
8,
198,
220,
220,
220,
8085,
796,
705,
287,
45302,
22179,
7,
3020,
8,
198,
220,
220,
220,
3601,
7,
69,
338,
48382,
25,
1391,
3020,
92,
318,
407,
1043,
287,
4566,
13,
17752,
11537,
198
] | 3.093023 | 344 |
import Sofa
import particle
# optionnally, script can create a graph...
| [
11748,
1406,
13331,
198,
11748,
18758,
628,
198,
197,
2,
3038,
77,
453,
11,
4226,
460,
2251,
257,
4823,
986,
628,
198
] | 3.5 | 22 |
import abc
import numpy as np
__all__ = ['LeafLineSearcher']
| [
11748,
450,
66,
198,
198,
11748,
299,
32152,
355,
45941,
628,
198,
834,
439,
834,
796,
37250,
3123,
1878,
13949,
50,
50194,
20520,
628,
198
] | 2.64 | 25 |
import pytest
import spacy
from replacy import ReplaceMatcher
nlp = spacy.load("en_core_web_sm")
# They read us the stories they themselves had written.
match_dict = {
"match-1": {
"patterns": [[
{"LOWER": {"IN": ["they", "she"]}},
{"LEMMA": "read", "TEMPLATE_ID": 1},
{"LOWER": "us"},
{"LOWER": "the"},
{"LEMMA": "story", "TEMPLATE_ID": 1},
{"LOWER": {"IN": ["they", "she"]}},
{"LOWER": {"IN": ["themselves", "herself"]}},
{"LEMMA": "have", "OP": "*"},
{"LEMMA": {"IN": ["write", "made"]}},
]],
"suggestions": [
[
{"PATTERN_REF": 0},
{"TEXT": {"IN": ["sing", "give"]}, "FROM_TEMPLATE_ID": 1},
{"PATTERN_REF": 2},
{"TEXT": {"IN": ["a", "the", "some"]}},
{"TEXT": "story", "INFLECTION": "NOUN"},
{"PATTERN_REF": 5, "REPLACY_OP": "UPPER"},
{"PATTERN_REF": 6},
{"TEXT": {"IN": ["write", "made", "create"]}, "INFLECTION": "VBD"},
]
],
"test": {"positive": [], "negative": []},
}
}
outputs = [
"They sang us a stories THEY themselves wrote",
"They sang us a stories THEY themselves made",
"They sang us a stories THEY themselves created",
"They gave us a stories THEY themselves wrote",
"They gave us a stories THEY themselves made",
"They gave us a stories THEY themselves created",
"They sang us the story THEY themselves wrote",
"They sang us the story THEY themselves made",
"They sang us the story THEY themselves created",
"They gave us the story THEY themselves wrote",
"They gave us the story THEY themselves made",
"They gave us the story THEY themselves created",
]
output_default_max_count_1 = [
"They sang us a stories THEY themselves wrote",
"They sang us a story THEY themselves made",
"They gave us a stories THEY themselves made",
"They gave us a story THEY themselves wrote",
"They sang us the stories THEY themselves made",
"They sang us the story THEY themselves wrote",
"They gave us the stories THEY themselves wrote",
"They gave us the story THEY themselves made",
"They sang us some stories THEY themselves created",
"They gave us some story THEY themselves created",
]
r_matcher1 = ReplaceMatcher(
nlp,
match_dict=match_dict,
lm_path="./replacy/resources/test.arpa",
filter_suggestions=True,
)
spans = r_matcher1("They read us the stories they themselves had written.")
suggestions = spans[0]._.suggestions
r_matcher_max_count_1 = ReplaceMatcher(
nlp,
match_dict=match_dict,
lm_path="./replacy/resources/test.arpa",
filter_suggestions=True,
default_max_count=1,
)
spans_max_count_1 = r_matcher_max_count_1(
"They read us the stories they themselves had written."
)
suggestions_max_count_1 = spans_max_count_1[0]._.suggestions
short_match_dict_2_sugg = {
"match-1": {
"patterns": [[
{"LOWER": {"IN": ["they", "she"]}},
{"LEMMA": "read", "TEMPLATE_ID": 1},
]],
"suggestions": [
[
{"PATTERN_REF": 0},
{"FROM_TEMPLATE_ID": 1, "TEXT": {"IN": ["sing", "give"]}},
],
[{"PATTERN_REF": 0}, {"FROM_TEMPLATE_ID": 1, "TEXT": "dance"},],
],
"test": {"negative": [], "positive": []},
}
}
short_match_dict = {
"match-1": {
"patterns": [[
{"LOWER": {"IN": ["they", "she"]}},
{"LEMMA": "read", "TEMPLATE_ID": 1},
]],
"suggestions": [
[
{"PATTERN_REF": 0},
{"FROM_TEMPLATE_ID": 1, "TEXT": {"IN": ["sing", "give"]}},
]
],
"test": {"negative": [], "positive": []},
}
}
| [
11748,
12972,
9288,
198,
11748,
599,
1590,
198,
198,
6738,
2186,
1590,
1330,
40177,
19044,
2044,
198,
198,
21283,
79,
796,
599,
1590,
13,
2220,
7203,
268,
62,
7295,
62,
12384,
62,
5796,
4943,
198,
198,
2,
1119,
1100,
514,
262,
3923,
484,
2405,
550,
3194,
13,
198,
198,
15699,
62,
11600,
796,
1391,
198,
220,
220,
220,
366,
15699,
12,
16,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
33279,
82,
1298,
16410,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19779,
43,
36048,
1298,
19779,
1268,
1298,
14631,
9930,
1600,
366,
7091,
8973,
92,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19779,
2538,
44,
5673,
1298,
366,
961,
1600,
366,
51,
3620,
6489,
6158,
62,
2389,
1298,
352,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19779,
43,
36048,
1298,
366,
385,
25719,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19779,
43,
36048,
1298,
366,
1169,
25719,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19779,
2538,
44,
5673,
1298,
366,
13571,
1600,
366,
51,
3620,
6489,
6158,
62,
2389,
1298,
352,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19779,
43,
36048,
1298,
19779,
1268,
1298,
14631,
9930,
1600,
366,
7091,
8973,
92,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19779,
43,
36048,
1298,
19779,
1268,
1298,
14631,
18855,
2020,
1600,
366,
372,
944,
8973,
92,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19779,
2538,
44,
5673,
1298,
366,
14150,
1600,
366,
3185,
1298,
366,
9,
25719,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19779,
2538,
44,
5673,
1298,
19779,
1268,
1298,
14631,
13564,
1600,
366,
9727,
8973,
92,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
2361,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
47811,
507,
1298,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19779,
47,
1404,
31800,
62,
31688,
1298,
657,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19779,
32541,
1298,
19779,
1268,
1298,
14631,
12215,
1600,
366,
26535,
8973,
5512,
366,
10913,
2662,
62,
51,
3620,
6489,
6158,
62,
2389,
1298,
352,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19779,
47,
1404,
31800,
62,
31688,
1298,
362,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19779,
32541,
1298,
19779,
1268,
1298,
14631,
64,
1600,
366,
1169,
1600,
366,
11246,
8973,
92,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19779,
32541,
1298,
366,
13571,
1600,
366,
1268,
37,
16779,
2849,
1298,
366,
45,
19385,
25719,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19779,
47,
1404,
31800,
62,
31688,
1298,
642,
11,
366,
2200,
6489,
43300,
62,
3185,
1298,
366,
8577,
18973,
25719,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19779,
47,
1404,
31800,
62,
31688,
1298,
718,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19779,
32541,
1298,
19779,
1268,
1298,
14631,
13564,
1600,
366,
9727,
1600,
366,
17953,
8973,
5512,
366,
1268,
37,
16779,
2849,
1298,
366,
53,
14529,
25719,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2361,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
220,
220,
220,
220,
366,
9288,
1298,
19779,
24561,
1298,
685,
4357,
366,
31591,
1298,
17635,
5512,
198,
220,
220,
220,
1782,
198,
92,
198,
198,
22915,
82,
796,
685,
198,
220,
220,
220,
366,
2990,
25889,
514,
257,
3923,
33302,
2405,
2630,
1600,
198,
220,
220,
220,
366,
2990,
25889,
514,
257,
3923,
33302,
2405,
925,
1600,
198,
220,
220,
220,
366,
2990,
25889,
514,
257,
3923,
33302,
2405,
2727,
1600,
198,
220,
220,
220,
366,
2990,
2921,
514,
257,
3923,
33302,
2405,
2630,
1600,
198,
220,
220,
220,
366,
2990,
2921,
514,
257,
3923,
33302,
2405,
925,
1600,
198,
220,
220,
220,
366,
2990,
2921,
514,
257,
3923,
33302,
2405,
2727,
1600,
198,
220,
220,
220,
366,
2990,
25889,
514,
262,
1621,
33302,
2405,
2630,
1600,
198,
220,
220,
220,
366,
2990,
25889,
514,
262,
1621,
33302,
2405,
925,
1600,
198,
220,
220,
220,
366,
2990,
25889,
514,
262,
1621,
33302,
2405,
2727,
1600,
198,
220,
220,
220,
366,
2990,
2921,
514,
262,
1621,
33302,
2405,
2630,
1600,
198,
220,
220,
220,
366,
2990,
2921,
514,
262,
1621,
33302,
2405,
925,
1600,
198,
220,
220,
220,
366,
2990,
2921,
514,
262,
1621,
33302,
2405,
2727,
1600,
198,
60,
198,
198,
22915,
62,
12286,
62,
9806,
62,
9127,
62,
16,
796,
685,
198,
220,
220,
220,
366,
2990,
25889,
514,
257,
3923,
33302,
2405,
2630,
1600,
198,
220,
220,
220,
366,
2990,
25889,
514,
257,
1621,
33302,
2405,
925,
1600,
198,
220,
220,
220,
366,
2990,
2921,
514,
257,
3923,
33302,
2405,
925,
1600,
198,
220,
220,
220,
366,
2990,
2921,
514,
257,
1621,
33302,
2405,
2630,
1600,
198,
220,
220,
220,
366,
2990,
25889,
514,
262,
3923,
33302,
2405,
925,
1600,
198,
220,
220,
220,
366,
2990,
25889,
514,
262,
1621,
33302,
2405,
2630,
1600,
198,
220,
220,
220,
366,
2990,
2921,
514,
262,
3923,
33302,
2405,
2630,
1600,
198,
220,
220,
220,
366,
2990,
2921,
514,
262,
1621,
33302,
2405,
925,
1600,
198,
220,
220,
220,
366,
2990,
25889,
514,
617,
3923,
33302,
2405,
2727,
1600,
198,
220,
220,
220,
366,
2990,
2921,
514,
617,
1621,
33302,
2405,
2727,
1600,
198,
60,
198,
198,
81,
62,
6759,
2044,
16,
796,
40177,
19044,
2044,
7,
198,
220,
220,
220,
299,
34431,
11,
198,
220,
220,
220,
2872,
62,
11600,
28,
15699,
62,
11600,
11,
198,
220,
220,
220,
300,
76,
62,
6978,
28,
1911,
14,
35666,
1590,
14,
37540,
14,
9288,
13,
5117,
64,
1600,
198,
220,
220,
220,
8106,
62,
47811,
507,
28,
17821,
11,
198,
8,
198,
198,
2777,
504,
796,
374,
62,
6759,
2044,
16,
7203,
2990,
1100,
514,
262,
3923,
484,
2405,
550,
3194,
19570,
198,
47811,
507,
796,
32727,
58,
15,
4083,
44807,
47811,
507,
628,
198,
198,
81,
62,
6759,
2044,
62,
9806,
62,
9127,
62,
16,
796,
40177,
19044,
2044,
7,
198,
220,
220,
220,
299,
34431,
11,
198,
220,
220,
220,
2872,
62,
11600,
28,
15699,
62,
11600,
11,
198,
220,
220,
220,
300,
76,
62,
6978,
28,
1911,
14,
35666,
1590,
14,
37540,
14,
9288,
13,
5117,
64,
1600,
198,
220,
220,
220,
8106,
62,
47811,
507,
28,
17821,
11,
198,
220,
220,
220,
4277,
62,
9806,
62,
9127,
28,
16,
11,
198,
8,
198,
198,
2777,
504,
62,
9806,
62,
9127,
62,
16,
796,
374,
62,
6759,
2044,
62,
9806,
62,
9127,
62,
16,
7,
198,
220,
220,
220,
366,
2990,
1100,
514,
262,
3923,
484,
2405,
550,
3194,
526,
198,
8,
198,
47811,
507,
62,
9806,
62,
9127,
62,
16,
796,
32727,
62,
9806,
62,
9127,
62,
16,
58,
15,
4083,
44807,
47811,
507,
628,
198,
198,
19509,
62,
15699,
62,
11600,
62,
17,
62,
82,
6837,
796,
1391,
198,
220,
220,
220,
366,
15699,
12,
16,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
33279,
82,
1298,
16410,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19779,
43,
36048,
1298,
19779,
1268,
1298,
14631,
9930,
1600,
366,
7091,
8973,
92,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19779,
2538,
44,
5673,
1298,
366,
961,
1600,
366,
51,
3620,
6489,
6158,
62,
2389,
1298,
352,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
2361,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
47811,
507,
1298,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19779,
47,
1404,
31800,
62,
31688,
1298,
657,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19779,
10913,
2662,
62,
51,
3620,
6489,
6158,
62,
2389,
1298,
352,
11,
366,
32541,
1298,
19779,
1268,
1298,
14631,
12215,
1600,
366,
26535,
8973,
92,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
4895,
47,
1404,
31800,
62,
31688,
1298,
657,
5512,
19779,
10913,
2662,
62,
51,
3620,
6489,
6158,
62,
2389,
1298,
352,
11,
366,
32541,
1298,
366,
67,
590,
25719,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
220,
220,
220,
220,
366,
9288,
1298,
19779,
31591,
1298,
685,
4357,
366,
24561,
1298,
17635,
5512,
198,
220,
220,
220,
1782,
198,
92,
628,
198,
198,
19509,
62,
15699,
62,
11600,
796,
1391,
198,
220,
220,
220,
366,
15699,
12,
16,
1298,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
33279,
82,
1298,
16410,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19779,
43,
36048,
1298,
19779,
1268,
1298,
14631,
9930,
1600,
366,
7091,
8973,
92,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19779,
2538,
44,
5673,
1298,
366,
961,
1600,
366,
51,
3620,
6489,
6158,
62,
2389,
1298,
352,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
2361,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
47811,
507,
1298,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19779,
47,
1404,
31800,
62,
31688,
1298,
657,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19779,
10913,
2662,
62,
51,
3620,
6489,
6158,
62,
2389,
1298,
352,
11,
366,
32541,
1298,
19779,
1268,
1298,
14631,
12215,
1600,
366,
26535,
8973,
92,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2361,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
220,
220,
220,
220,
366,
9288,
1298,
19779,
31591,
1298,
685,
4357,
366,
24561,
1298,
17635,
5512,
198,
220,
220,
220,
1782,
198,
92,
628
] | 2.200792 | 1,768 |
#!/usr/bin/env python3
"""
Module to compute positive exons in the bloom filter as follos:
- abyss-bloom kmers to get bed coordinates of each transcriptomic kmer in the BF
- bedtools merge to join overlapping consecutive intervals by k-1bases
- awk to throw away too short intervales (to avoid FPs)
- bedtools merge to join overlapping consecutive intervals by k-max_overlap bases
"""
import logging
from subprocess import Popen, PIPE
import pandas as pd
from exfi.io.bed import BED3_COLS, BED3_DTYPES
def process_output(process):
"""Get lines in BED3 format from the output of a Popen.
:param Popen process: Popen object.
"""
bed3 = pd.DataFrame(
data=[
stdout_line.decode().strip().split()
for stdout_line in iter(process.stdout.readline, b'')
],
columns=BED3_COLS
).astype(BED3_DTYPES)
process.stdout.close()
process.wait()
return bed3
def get_fasta(transcriptome_dict, iterable_of_bed):
"""Extract subsequences in trancriptome_fn according to locis.
:param dict transcriptome_dict: FastaDict of the transcriptome
:param iterable iterable_of_bed: iterable of Bed3Records.
"""
for bed in iterable_of_bed:
chromosome, start, end = bed
if chromosome in transcriptome_dict:
seq = transcriptome_dict[chromosome][start:end]
identifier = f"{chromosome}:{start}-{end}"
yield (identifier, seq)
def find_exons(args):
"""Find exons according to the Bloom filter -> BED3
Main pipeline:
- Check every kmer,
- merge if there is an overlap of k-1 bases,
- Throw away too short exons (k + max_fp_bases; FP of the BF),
- merge consecutive exons if they have an ovelap of max_fp_bases
args = {
"kmer": int,
"bloom": str,
"fasta": str,
"max_overlap": int,
"max_fp_bases": int
}
:param dict args: arguments for abyss-bloom kmers, bedtools merge and awk
"""
logging.info("Running the find exons pipeline")
# Prepare the commands
c_kmers = [
"abyss-bloom", "kmers", "--kmer", str(
args["kmer"]), "--verbose", "--bed",
args["bloom"], args["fasta"]
]
c_merge1 = ["bedtools", "merge", "-d", str(-args["kmer"] + 2)]
c_filter = ["awk", "$3 - $2 >= {min_length}".format(
min_length=args["kmer"] + args["max_fp_bases"]
)]
c_merge2 = ["bedtools", "merge", "-d", str(-args["max_overlap"])]
# Run all of them streamlined
p_kmers = Popen(c_kmers, stdout=PIPE)
p_merge1 = Popen(c_merge1, stdin=p_kmers.stdout, stdout=PIPE)
p_filter = Popen(c_filter, stdin=p_merge1.stdout, stdout=PIPE)
p_merge2 = Popen(c_merge2, stdin=p_filter.stdout, stdout=PIPE)
p_kmers.stdout.close()
logging.info('Done')
return process_output(p_merge2)
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
18,
198,
198,
37811,
198,
26796,
284,
24061,
3967,
409,
684,
287,
262,
29955,
8106,
355,
22752,
418,
25,
198,
12,
37678,
12,
2436,
4207,
10571,
364,
284,
651,
3996,
22715,
286,
1123,
14687,
10179,
479,
647,
287,
262,
41646,
198,
12,
3996,
31391,
20121,
284,
4654,
32997,
12785,
20016,
416,
479,
12,
16,
65,
1386,
198,
12,
3253,
74,
284,
3714,
1497,
1165,
1790,
987,
85,
2040,
357,
1462,
3368,
376,
12016,
8,
198,
12,
3996,
31391,
20121,
284,
4654,
32997,
12785,
20016,
416,
479,
12,
9806,
62,
2502,
37796,
12536,
198,
37811,
628,
198,
11748,
18931,
198,
198,
6738,
850,
14681,
1330,
8099,
268,
11,
350,
4061,
36,
198,
198,
11748,
19798,
292,
355,
279,
67,
198,
6738,
409,
12463,
13,
952,
13,
3077,
1330,
347,
1961,
18,
62,
25154,
50,
11,
347,
1961,
18,
62,
35,
9936,
47,
1546,
628,
198,
4299,
1429,
62,
22915,
7,
14681,
2599,
198,
220,
220,
220,
37227,
3855,
3951,
287,
347,
1961,
18,
5794,
422,
262,
5072,
286,
257,
8099,
268,
13,
628,
220,
220,
220,
1058,
17143,
8099,
268,
1429,
25,
8099,
268,
2134,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
3996,
18,
796,
279,
67,
13,
6601,
19778,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1366,
41888,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14367,
448,
62,
1370,
13,
12501,
1098,
22446,
36311,
22446,
35312,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
220,
14367,
448,
62,
1370,
287,
11629,
7,
14681,
13,
19282,
448,
13,
961,
1370,
11,
275,
7061,
8,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
220,
220,
220,
220,
15180,
28,
33,
1961,
18,
62,
25154,
50,
198,
220,
220,
220,
6739,
459,
2981,
7,
33,
1961,
18,
62,
35,
9936,
47,
1546,
8,
628,
220,
220,
220,
1429,
13,
19282,
448,
13,
19836,
3419,
198,
220,
220,
220,
1429,
13,
17077,
3419,
628,
220,
220,
220,
1441,
3996,
18,
628,
198,
4299,
651,
62,
7217,
64,
7,
7645,
6519,
462,
62,
11600,
11,
11629,
540,
62,
1659,
62,
3077,
2599,
198,
220,
220,
220,
37227,
11627,
974,
6399,
3007,
287,
491,
1192,
1968,
462,
62,
22184,
1864,
284,
1179,
271,
13,
628,
220,
220,
220,
1058,
17143,
8633,
14687,
462,
62,
11600,
25,
12549,
64,
35,
713,
286,
262,
14687,
462,
198,
220,
220,
220,
1058,
17143,
11629,
540,
11629,
540,
62,
1659,
62,
3077,
25,
11629,
540,
286,
15585,
18,
6690,
3669,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
329,
3996,
287,
11629,
540,
62,
1659,
62,
3077,
25,
198,
220,
220,
220,
220,
220,
220,
220,
34348,
11,
923,
11,
886,
796,
3996,
198,
220,
220,
220,
220,
220,
220,
220,
611,
34348,
287,
14687,
462,
62,
11600,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
33756,
796,
14687,
462,
62,
11600,
58,
28663,
418,
462,
7131,
9688,
25,
437,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
27421,
796,
277,
1,
90,
28663,
418,
462,
92,
29164,
9688,
92,
12,
90,
437,
36786,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7800,
357,
738,
7483,
11,
33756,
8,
628,
198,
4299,
1064,
62,
1069,
684,
7,
22046,
2599,
198,
220,
220,
220,
37227,
16742,
409,
684,
1864,
284,
262,
11891,
8106,
4613,
347,
1961,
18,
628,
220,
220,
220,
8774,
11523,
25,
198,
220,
220,
220,
532,
6822,
790,
479,
647,
11,
198,
220,
220,
220,
532,
20121,
611,
612,
318,
281,
21721,
286,
479,
12,
16,
12536,
11,
198,
220,
220,
220,
532,
22481,
1497,
1165,
1790,
409,
684,
357,
74,
1343,
3509,
62,
46428,
62,
65,
1386,
26,
31459,
286,
262,
41646,
828,
198,
220,
220,
220,
532,
20121,
12785,
409,
684,
611,
484,
423,
281,
267,
626,
499,
286,
3509,
62,
46428,
62,
65,
1386,
628,
220,
220,
220,
26498,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
366,
74,
647,
1298,
493,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
2436,
4207,
1298,
965,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
7217,
64,
1298,
965,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
9806,
62,
2502,
37796,
1298,
493,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
9806,
62,
46428,
62,
65,
1386,
1298,
493,
198,
220,
220,
220,
1782,
628,
220,
220,
220,
1058,
17143,
8633,
26498,
25,
7159,
329,
37678,
12,
2436,
4207,
10571,
364,
11,
3996,
31391,
20121,
290,
3253,
74,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
18931,
13,
10951,
7203,
28768,
262,
1064,
409,
684,
11523,
4943,
198,
220,
220,
220,
1303,
43426,
262,
9729,
198,
220,
220,
220,
269,
62,
74,
11056,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
366,
3930,
824,
12,
2436,
4207,
1600,
366,
74,
11056,
1600,
366,
438,
74,
647,
1600,
965,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26498,
14692,
74,
647,
8973,
828,
366,
438,
19011,
577,
1600,
366,
438,
3077,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
26498,
14692,
2436,
4207,
33116,
26498,
14692,
7217,
64,
8973,
198,
220,
220,
220,
2361,
198,
220,
220,
220,
269,
62,
647,
469,
16,
796,
14631,
3077,
31391,
1600,
366,
647,
469,
1600,
27444,
67,
1600,
965,
32590,
22046,
14692,
74,
647,
8973,
1343,
362,
15437,
198,
220,
220,
220,
269,
62,
24455,
796,
14631,
19301,
1600,
17971,
18,
532,
720,
17,
18189,
1391,
1084,
62,
13664,
92,
1911,
18982,
7,
198,
220,
220,
220,
220,
220,
220,
220,
949,
62,
13664,
28,
22046,
14692,
74,
647,
8973,
1343,
26498,
14692,
9806,
62,
46428,
62,
65,
1386,
8973,
198,
220,
220,
220,
48600,
198,
220,
220,
220,
269,
62,
647,
469,
17,
796,
14631,
3077,
31391,
1600,
366,
647,
469,
1600,
27444,
67,
1600,
965,
32590,
22046,
14692,
9806,
62,
2502,
37796,
8973,
15437,
198,
220,
220,
220,
1303,
5660,
477,
286,
606,
39673,
198,
220,
220,
220,
279,
62,
74,
11056,
796,
8099,
268,
7,
66,
62,
74,
11056,
11,
14367,
448,
28,
47,
4061,
36,
8,
198,
220,
220,
220,
279,
62,
647,
469,
16,
796,
8099,
268,
7,
66,
62,
647,
469,
16,
11,
14367,
259,
28,
79,
62,
74,
11056,
13,
19282,
448,
11,
14367,
448,
28,
47,
4061,
36,
8,
198,
220,
220,
220,
279,
62,
24455,
796,
8099,
268,
7,
66,
62,
24455,
11,
14367,
259,
28,
79,
62,
647,
469,
16,
13,
19282,
448,
11,
14367,
448,
28,
47,
4061,
36,
8,
198,
220,
220,
220,
279,
62,
647,
469,
17,
796,
8099,
268,
7,
66,
62,
647,
469,
17,
11,
14367,
259,
28,
79,
62,
24455,
13,
19282,
448,
11,
14367,
448,
28,
47,
4061,
36,
8,
198,
220,
220,
220,
279,
62,
74,
11056,
13,
19282,
448,
13,
19836,
3419,
198,
220,
220,
220,
18931,
13,
10951,
10786,
45677,
11537,
198,
220,
220,
220,
1441,
1429,
62,
22915,
7,
79,
62,
647,
469,
17,
8,
198
] | 2.394449 | 1,189 |
from typing import List, Optional
from littlelambocoin.consensus.block_record import BlockRecord
from littlelambocoin.consensus.blockchain_interface import BlockchainInterface
from littlelambocoin.consensus.constants import ConsensusConstants
from littlelambocoin.types.blockchain_format.classgroup import ClassgroupElement
from littlelambocoin.types.blockchain_format.sized_bytes import bytes32
from littlelambocoin.types.end_of_slot_bundle import EndOfSubSlotBundle
from littlelambocoin.util.ints import uint64, uint128
def get_signage_point_vdf_info(
constants: ConsensusConstants,
finished_sub_slots: List[EndOfSubSlotBundle],
overflow: bool,
prev_b: Optional[BlockRecord],
blocks: BlockchainInterface,
sp_total_iters: uint128,
sp_iters: uint64,
):
"""
Returns the following information, for the VDF of the signage point at sp_total_iters.
cc and rc challenge hash
cc and rc input
cc and rc iterations
"""
new_sub_slot: bool = len(finished_sub_slots) > 0
genesis_block: bool = prev_b is None
if new_sub_slot and not overflow:
# Case 1: start from start of this slot. Case of no overflow slots. Also includes genesis block after empty
# slot(s), but not overflowing
rc_vdf_challenge: bytes32 = finished_sub_slots[-1].reward_chain.get_hash()
cc_vdf_challenge = finished_sub_slots[-1].challenge_chain.get_hash()
sp_vdf_iters = sp_iters
cc_vdf_input = ClassgroupElement.get_default_element()
elif new_sub_slot and overflow and len(finished_sub_slots) > 1:
# Case 2: start from start of prev slot. This is a rare case of empty prev slot. Includes genesis block after
# 2 empty slots
rc_vdf_challenge = finished_sub_slots[-2].reward_chain.get_hash()
cc_vdf_challenge = finished_sub_slots[-2].challenge_chain.get_hash()
sp_vdf_iters = sp_iters
cc_vdf_input = ClassgroupElement.get_default_element()
elif genesis_block:
# Case 3: Genesis block case, first challenge
rc_vdf_challenge = constants.GENESIS_CHALLENGE
cc_vdf_challenge = constants.GENESIS_CHALLENGE
sp_vdf_iters = sp_iters
cc_vdf_input = ClassgroupElement.get_default_element()
elif new_sub_slot and overflow and len(finished_sub_slots) == 1:
# Case 4: Starting at prev will put us in the previous, sub-slot, since case 2 handled more empty slots
assert prev_b is not None
curr: BlockRecord = prev_b
while not curr.first_in_sub_slot and curr.total_iters > sp_total_iters:
curr = blocks.block_record(curr.prev_hash)
if curr.total_iters < sp_total_iters:
sp_vdf_iters = uint64(sp_total_iters - curr.total_iters)
cc_vdf_input = curr.challenge_vdf_output
rc_vdf_challenge = curr.reward_infusion_new_challenge
else:
assert curr.finished_reward_slot_hashes is not None
sp_vdf_iters = sp_iters
cc_vdf_input = ClassgroupElement.get_default_element()
rc_vdf_challenge = curr.finished_reward_slot_hashes[-1]
while not curr.first_in_sub_slot:
curr = blocks.block_record(curr.prev_hash)
assert curr.finished_challenge_slot_hashes is not None
cc_vdf_challenge = curr.finished_challenge_slot_hashes[-1]
elif not new_sub_slot and overflow:
# Case 5: prev is in the same sub slot and also overflow. Starting at prev does not skip any sub slots
assert prev_b is not None
curr = prev_b
# Collects the last two finished slots
if curr.first_in_sub_slot:
assert curr.finished_challenge_slot_hashes is not None
assert curr.finished_reward_slot_hashes is not None
found_sub_slots = list(
reversed(
list(
zip(
curr.finished_challenge_slot_hashes,
curr.finished_reward_slot_hashes,
)
)
)
)
else:
found_sub_slots = []
sp_pre_sb: Optional[BlockRecord] = None
while len(found_sub_slots) < 2 and curr.height > 0:
if sp_pre_sb is None and curr.total_iters < sp_total_iters:
sp_pre_sb = curr
curr = blocks.block_record(curr.prev_hash)
if curr.first_in_sub_slot:
assert curr.finished_challenge_slot_hashes is not None
assert curr.finished_reward_slot_hashes is not None
found_sub_slots += list(
reversed(
list(
zip(
curr.finished_challenge_slot_hashes,
curr.finished_reward_slot_hashes,
)
)
)
)
if sp_pre_sb is None and curr.total_iters < sp_total_iters:
sp_pre_sb = curr
if sp_pre_sb is not None:
sp_vdf_iters = uint64(sp_total_iters - sp_pre_sb.total_iters)
cc_vdf_input = sp_pre_sb.challenge_vdf_output
rc_vdf_challenge = sp_pre_sb.reward_infusion_new_challenge
else:
sp_vdf_iters = sp_iters
cc_vdf_input = ClassgroupElement.get_default_element()
rc_vdf_challenge = found_sub_slots[1][1]
cc_vdf_challenge = found_sub_slots[1][0]
elif not new_sub_slot and not overflow:
# Case 6: prev is in the same sub slot. Starting at prev does not skip any sub slots. We do not need
# to go back another sub slot, because it's not overflow, so the VDF to signage point is this sub-slot.
assert prev_b is not None
curr = prev_b
while not curr.first_in_sub_slot and curr.total_iters > sp_total_iters:
curr = blocks.block_record(curr.prev_hash)
if curr.total_iters < sp_total_iters:
sp_vdf_iters = uint64(sp_total_iters - curr.total_iters)
cc_vdf_input = curr.challenge_vdf_output
rc_vdf_challenge = curr.reward_infusion_new_challenge
else:
assert curr.finished_reward_slot_hashes is not None
sp_vdf_iters = sp_iters
cc_vdf_input = ClassgroupElement.get_default_element()
rc_vdf_challenge = curr.finished_reward_slot_hashes[-1]
while not curr.first_in_sub_slot:
curr = blocks.block_record(curr.prev_hash)
assert curr.finished_challenge_slot_hashes is not None
cc_vdf_challenge = curr.finished_challenge_slot_hashes[-1]
else:
# All cases are handled above
assert False
return (
cc_vdf_challenge,
rc_vdf_challenge,
cc_vdf_input,
ClassgroupElement.get_default_element(),
sp_vdf_iters,
sp_vdf_iters,
)
| [
6738,
19720,
1330,
7343,
11,
32233,
198,
198,
6738,
1310,
2543,
65,
25634,
259,
13,
5936,
7314,
13,
9967,
62,
22105,
1330,
9726,
23739,
198,
6738,
1310,
2543,
65,
25634,
259,
13,
5936,
7314,
13,
9967,
7983,
62,
39994,
1330,
29724,
39317,
198,
6738,
1310,
2543,
65,
25634,
259,
13,
5936,
7314,
13,
9979,
1187,
1330,
3515,
7314,
34184,
1187,
198,
6738,
1310,
2543,
65,
25634,
259,
13,
19199,
13,
9967,
7983,
62,
18982,
13,
4871,
8094,
1330,
5016,
8094,
20180,
198,
6738,
1310,
2543,
65,
25634,
259,
13,
19199,
13,
9967,
7983,
62,
18982,
13,
13982,
62,
33661,
1330,
9881,
2624,
198,
6738,
1310,
2543,
65,
25634,
259,
13,
19199,
13,
437,
62,
1659,
62,
43384,
62,
65,
31249,
1330,
5268,
5189,
7004,
38963,
33,
31249,
198,
6738,
1310,
2543,
65,
25634,
259,
13,
22602,
13,
29503,
1330,
20398,
2414,
11,
20398,
12762,
628,
198,
4299,
651,
62,
12683,
496,
62,
4122,
62,
85,
7568,
62,
10951,
7,
198,
220,
220,
220,
38491,
25,
3515,
7314,
34184,
1187,
11,
198,
220,
220,
220,
5201,
62,
7266,
62,
6649,
1747,
25,
7343,
58,
12915,
5189,
7004,
38963,
33,
31249,
4357,
198,
220,
220,
220,
30343,
25,
20512,
11,
198,
220,
220,
220,
8654,
62,
65,
25,
32233,
58,
12235,
23739,
4357,
198,
220,
220,
220,
7021,
25,
29724,
39317,
11,
198,
220,
220,
220,
599,
62,
23350,
62,
270,
364,
25,
20398,
12762,
11,
198,
220,
220,
220,
599,
62,
270,
364,
25,
20398,
2414,
11,
198,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
16409,
262,
1708,
1321,
11,
329,
262,
569,
8068,
286,
262,
46924,
966,
379,
599,
62,
23350,
62,
270,
364,
13,
198,
220,
220,
220,
36624,
290,
48321,
4427,
12234,
198,
220,
220,
220,
36624,
290,
48321,
5128,
198,
220,
220,
220,
36624,
290,
48321,
34820,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
649,
62,
7266,
62,
43384,
25,
20512,
796,
18896,
7,
43952,
62,
7266,
62,
6649,
1747,
8,
1875,
657,
198,
220,
220,
220,
48861,
62,
9967,
25,
20512,
796,
8654,
62,
65,
318,
6045,
628,
220,
220,
220,
611,
649,
62,
7266,
62,
43384,
290,
407,
30343,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
8913,
352,
25,
923,
422,
923,
286,
428,
10852,
13,
8913,
286,
645,
30343,
17314,
13,
4418,
3407,
48861,
2512,
706,
6565,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
10852,
7,
82,
828,
475,
407,
43347,
198,
220,
220,
220,
220,
220,
220,
220,
48321,
62,
85,
7568,
62,
36747,
3540,
25,
9881,
2624,
796,
5201,
62,
7266,
62,
6649,
1747,
58,
12,
16,
4083,
260,
904,
62,
7983,
13,
1136,
62,
17831,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
36624,
62,
85,
7568,
62,
36747,
3540,
796,
5201,
62,
7266,
62,
6649,
1747,
58,
12,
16,
4083,
36747,
3540,
62,
7983,
13,
1136,
62,
17831,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
599,
62,
85,
7568,
62,
270,
364,
796,
599,
62,
270,
364,
198,
220,
220,
220,
220,
220,
220,
220,
36624,
62,
85,
7568,
62,
15414,
796,
5016,
8094,
20180,
13,
1136,
62,
12286,
62,
30854,
3419,
198,
220,
220,
220,
1288,
361,
649,
62,
7266,
62,
43384,
290,
30343,
290,
18896,
7,
43952,
62,
7266,
62,
6649,
1747,
8,
1875,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
8913,
362,
25,
923,
422,
923,
286,
8654,
10852,
13,
770,
318,
257,
4071,
1339,
286,
6565,
8654,
10852,
13,
29581,
48861,
2512,
706,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
362,
6565,
17314,
198,
220,
220,
220,
220,
220,
220,
220,
48321,
62,
85,
7568,
62,
36747,
3540,
796,
5201,
62,
7266,
62,
6649,
1747,
58,
12,
17,
4083,
260,
904,
62,
7983,
13,
1136,
62,
17831,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
36624,
62,
85,
7568,
62,
36747,
3540,
796,
5201,
62,
7266,
62,
6649,
1747,
58,
12,
17,
4083,
36747,
3540,
62,
7983,
13,
1136,
62,
17831,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
599,
62,
85,
7568,
62,
270,
364,
796,
599,
62,
270,
364,
198,
220,
220,
220,
220,
220,
220,
220,
36624,
62,
85,
7568,
62,
15414,
796,
5016,
8094,
20180,
13,
1136,
62,
12286,
62,
30854,
3419,
198,
220,
220,
220,
1288,
361,
48861,
62,
9967,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
8913,
513,
25,
18993,
2512,
1339,
11,
717,
4427,
198,
220,
220,
220,
220,
220,
220,
220,
48321,
62,
85,
7568,
62,
36747,
3540,
796,
38491,
13,
35353,
1546,
1797,
62,
3398,
7036,
1677,
8264,
198,
220,
220,
220,
220,
220,
220,
220,
36624,
62,
85,
7568,
62,
36747,
3540,
796,
38491,
13,
35353,
1546,
1797,
62,
3398,
7036,
1677,
8264,
198,
220,
220,
220,
220,
220,
220,
220,
599,
62,
85,
7568,
62,
270,
364,
796,
599,
62,
270,
364,
198,
220,
220,
220,
220,
220,
220,
220,
36624,
62,
85,
7568,
62,
15414,
796,
5016,
8094,
20180,
13,
1136,
62,
12286,
62,
30854,
3419,
198,
220,
220,
220,
1288,
361,
649,
62,
7266,
62,
43384,
290,
30343,
290,
18896,
7,
43952,
62,
7266,
62,
6649,
1747,
8,
6624,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
8913,
604,
25,
17962,
379,
8654,
481,
1234,
514,
287,
262,
2180,
11,
850,
12,
43384,
11,
1201,
1339,
362,
12118,
517,
6565,
17314,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
8654,
62,
65,
318,
407,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
1090,
81,
25,
9726,
23739,
796,
8654,
62,
65,
198,
220,
220,
220,
220,
220,
220,
220,
981,
407,
1090,
81,
13,
11085,
62,
259,
62,
7266,
62,
43384,
290,
1090,
81,
13,
23350,
62,
270,
364,
1875,
599,
62,
23350,
62,
270,
364,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1090,
81,
796,
7021,
13,
9967,
62,
22105,
7,
22019,
81,
13,
47050,
62,
17831,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1090,
81,
13,
23350,
62,
270,
364,
1279,
599,
62,
23350,
62,
270,
364,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
599,
62,
85,
7568,
62,
270,
364,
796,
20398,
2414,
7,
2777,
62,
23350,
62,
270,
364,
532,
1090,
81,
13,
23350,
62,
270,
364,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
36624,
62,
85,
7568,
62,
15414,
796,
1090,
81,
13,
36747,
3540,
62,
85,
7568,
62,
22915,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
48321,
62,
85,
7568,
62,
36747,
3540,
796,
1090,
81,
13,
260,
904,
62,
10745,
4241,
62,
3605,
62,
36747,
3540,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
1090,
81,
13,
43952,
62,
260,
904,
62,
43384,
62,
71,
7465,
318,
407,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
599,
62,
85,
7568,
62,
270,
364,
796,
599,
62,
270,
364,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
36624,
62,
85,
7568,
62,
15414,
796,
5016,
8094,
20180,
13,
1136,
62,
12286,
62,
30854,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
48321,
62,
85,
7568,
62,
36747,
3540,
796,
1090,
81,
13,
43952,
62,
260,
904,
62,
43384,
62,
71,
7465,
58,
12,
16,
60,
628,
220,
220,
220,
220,
220,
220,
220,
981,
407,
1090,
81,
13,
11085,
62,
259,
62,
7266,
62,
43384,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1090,
81,
796,
7021,
13,
9967,
62,
22105,
7,
22019,
81,
13,
47050,
62,
17831,
8,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
1090,
81,
13,
43952,
62,
36747,
3540,
62,
43384,
62,
71,
7465,
318,
407,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
36624,
62,
85,
7568,
62,
36747,
3540,
796,
1090,
81,
13,
43952,
62,
36747,
3540,
62,
43384,
62,
71,
7465,
58,
12,
16,
60,
198,
220,
220,
220,
1288,
361,
407,
649,
62,
7266,
62,
43384,
290,
30343,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
8913,
642,
25,
8654,
318,
287,
262,
976,
850,
10852,
290,
635,
30343,
13,
17962,
379,
8654,
857,
407,
14267,
597,
850,
17314,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
8654,
62,
65,
318,
407,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
1090,
81,
796,
8654,
62,
65,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
9745,
82,
262,
938,
734,
5201,
17314,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1090,
81,
13,
11085,
62,
259,
62,
7266,
62,
43384,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
1090,
81,
13,
43952,
62,
36747,
3540,
62,
43384,
62,
71,
7465,
318,
407,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
1090,
81,
13,
43952,
62,
260,
904,
62,
43384,
62,
71,
7465,
318,
407,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1043,
62,
7266,
62,
6649,
1747,
796,
1351,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17687,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1351,
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,
19974,
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,
1090,
81,
13,
43952,
62,
36747,
3540,
62,
43384,
62,
71,
7465,
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,
1090,
81,
13,
43952,
62,
260,
904,
62,
43384,
62,
71,
7465,
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,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
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,
1043,
62,
7266,
62,
6649,
1747,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
599,
62,
3866,
62,
36299,
25,
32233,
58,
12235,
23739,
60,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
981,
18896,
7,
9275,
62,
7266,
62,
6649,
1747,
8,
1279,
362,
290,
1090,
81,
13,
17015,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
599,
62,
3866,
62,
36299,
318,
6045,
290,
1090,
81,
13,
23350,
62,
270,
364,
1279,
599,
62,
23350,
62,
270,
364,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
599,
62,
3866,
62,
36299,
796,
1090,
81,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1090,
81,
796,
7021,
13,
9967,
62,
22105,
7,
22019,
81,
13,
47050,
62,
17831,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1090,
81,
13,
11085,
62,
259,
62,
7266,
62,
43384,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
1090,
81,
13,
43952,
62,
36747,
3540,
62,
43384,
62,
71,
7465,
318,
407,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
1090,
81,
13,
43952,
62,
260,
904,
62,
43384,
62,
71,
7465,
318,
407,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1043,
62,
7266,
62,
6649,
1747,
15853,
1351,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17687,
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,
1351,
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,
19974,
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,
1090,
81,
13,
43952,
62,
36747,
3540,
62,
43384,
62,
71,
7465,
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,
1090,
81,
13,
43952,
62,
260,
904,
62,
43384,
62,
71,
7465,
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,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
611,
599,
62,
3866,
62,
36299,
318,
6045,
290,
1090,
81,
13,
23350,
62,
270,
364,
1279,
599,
62,
23350,
62,
270,
364,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
599,
62,
3866,
62,
36299,
796,
1090,
81,
198,
220,
220,
220,
220,
220,
220,
220,
611,
599,
62,
3866,
62,
36299,
318,
407,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
599,
62,
85,
7568,
62,
270,
364,
796,
20398,
2414,
7,
2777,
62,
23350,
62,
270,
364,
532,
599,
62,
3866,
62,
36299,
13,
23350,
62,
270,
364,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
36624,
62,
85,
7568,
62,
15414,
796,
599,
62,
3866,
62,
36299,
13,
36747,
3540,
62,
85,
7568,
62,
22915,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
48321,
62,
85,
7568,
62,
36747,
3540,
796,
599,
62,
3866,
62,
36299,
13,
260,
904,
62,
10745,
4241,
62,
3605,
62,
36747,
3540,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
599,
62,
85,
7568,
62,
270,
364,
796,
599,
62,
270,
364,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
36624,
62,
85,
7568,
62,
15414,
796,
5016,
8094,
20180,
13,
1136,
62,
12286,
62,
30854,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
48321,
62,
85,
7568,
62,
36747,
3540,
796,
1043,
62,
7266,
62,
6649,
1747,
58,
16,
7131,
16,
60,
198,
220,
220,
220,
220,
220,
220,
220,
36624,
62,
85,
7568,
62,
36747,
3540,
796,
1043,
62,
7266,
62,
6649,
1747,
58,
16,
7131,
15,
60,
628,
220,
220,
220,
1288,
361,
407,
649,
62,
7266,
62,
43384,
290,
407,
30343,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
8913,
718,
25,
8654,
318,
287,
262,
976,
850,
10852,
13,
17962,
379,
8654,
857,
407,
14267,
597,
850,
17314,
13,
775,
466,
407,
761,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
284,
467,
736,
1194,
850,
10852,
11,
780,
340,
338,
407,
30343,
11,
523,
262,
569,
8068,
284,
46924,
966,
318,
428,
850,
12,
43384,
13,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
8654,
62,
65,
318,
407,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
1090,
81,
796,
8654,
62,
65,
198,
220,
220,
220,
220,
220,
220,
220,
981,
407,
1090,
81,
13,
11085,
62,
259,
62,
7266,
62,
43384,
290,
1090,
81,
13,
23350,
62,
270,
364,
1875,
599,
62,
23350,
62,
270,
364,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1090,
81,
796,
7021,
13,
9967,
62,
22105,
7,
22019,
81,
13,
47050,
62,
17831,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1090,
81,
13,
23350,
62,
270,
364,
1279,
599,
62,
23350,
62,
270,
364,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
599,
62,
85,
7568,
62,
270,
364,
796,
20398,
2414,
7,
2777,
62,
23350,
62,
270,
364,
532,
1090,
81,
13,
23350,
62,
270,
364,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
36624,
62,
85,
7568,
62,
15414,
796,
1090,
81,
13,
36747,
3540,
62,
85,
7568,
62,
22915,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
48321,
62,
85,
7568,
62,
36747,
3540,
796,
1090,
81,
13,
260,
904,
62,
10745,
4241,
62,
3605,
62,
36747,
3540,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
1090,
81,
13,
43952,
62,
260,
904,
62,
43384,
62,
71,
7465,
318,
407,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
599,
62,
85,
7568,
62,
270,
364,
796,
599,
62,
270,
364,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
36624,
62,
85,
7568,
62,
15414,
796,
5016,
8094,
20180,
13,
1136,
62,
12286,
62,
30854,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
48321,
62,
85,
7568,
62,
36747,
3540,
796,
1090,
81,
13,
43952,
62,
260,
904,
62,
43384,
62,
71,
7465,
58,
12,
16,
60,
628,
220,
220,
220,
220,
220,
220,
220,
981,
407,
1090,
81,
13,
11085,
62,
259,
62,
7266,
62,
43384,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1090,
81,
796,
7021,
13,
9967,
62,
22105,
7,
22019,
81,
13,
47050,
62,
17831,
8,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
1090,
81,
13,
43952,
62,
36747,
3540,
62,
43384,
62,
71,
7465,
318,
407,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
36624,
62,
85,
7568,
62,
36747,
3540,
796,
1090,
81,
13,
43952,
62,
36747,
3540,
62,
43384,
62,
71,
7465,
58,
12,
16,
60,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1439,
2663,
389,
12118,
2029,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
10352,
628,
220,
220,
220,
1441,
357,
198,
220,
220,
220,
220,
220,
220,
220,
36624,
62,
85,
7568,
62,
36747,
3540,
11,
198,
220,
220,
220,
220,
220,
220,
220,
48321,
62,
85,
7568,
62,
36747,
3540,
11,
198,
220,
220,
220,
220,
220,
220,
220,
36624,
62,
85,
7568,
62,
15414,
11,
198,
220,
220,
220,
220,
220,
220,
220,
5016,
8094,
20180,
13,
1136,
62,
12286,
62,
30854,
22784,
198,
220,
220,
220,
220,
220,
220,
220,
599,
62,
85,
7568,
62,
270,
364,
11,
198,
220,
220,
220,
220,
220,
220,
220,
599,
62,
85,
7568,
62,
270,
364,
11,
198,
220,
220,
220,
1267,
198
] | 2.11549 | 3,273 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.