max_stars_repo_path
stringlengths 4
237
| max_stars_repo_name
stringlengths 6
117
| max_stars_count
int64 0
95.2k
| id
stringlengths 1
7
| content
stringlengths 12
593k
| input_ids
sequencelengths 7
549k
|
---|---|---|---|---|---|
findtime/utils.py | MattCCS/FindTime | 0 | 27445 | <filename>findtime/utils.py<gh_stars>0
def day_of_year(dt):
return dt.timetuple().tm_yday
| [
1,
529,
9507,
29958,
2886,
2230,
29914,
13239,
29889,
2272,
29966,
12443,
29918,
303,
1503,
29958,
29900,
13,
13,
1753,
2462,
29918,
974,
29918,
6360,
29898,
6008,
1125,
13,
1678,
736,
11636,
29889,
9346,
24120,
552,
2141,
18276,
29918,
2941,
388,
13,
2
] |
CoV19/base/urls.py | just-ary27/CovBot-revamp | 1 | 166941 | <filename>CoV19/base/urls.py
from django.urls import path,include
from . import views
urlpatterns = [
path('',views.index),
] | [
1,
529,
9507,
29958,
7967,
29963,
29896,
29929,
29914,
3188,
29914,
26045,
29889,
2272,
13,
3166,
9557,
29889,
26045,
1053,
2224,
29892,
2856,
13,
13,
3166,
869,
1053,
8386,
13,
2271,
11037,
29879,
353,
518,
13,
1678,
2224,
877,
742,
7406,
29889,
2248,
511,
13,
29962,
2
] |
groot.py | adit-chandra/project-groot | 0 | 67727 | import sys
import gzip
import bz2
import os
import time
import subprocess
import math
import multiprocessing as mp
from optparse import OptionParser
from utils import *
import AAF
def main():
parser = OptionParser()
parser.add_option("-k", dest="kLen", type=int, default=25,
help="k for reconstruction, default = 25")
parser.add_option("--ks", dest="ksLen", type=int, default=25,
help="k for reads selection, default = 25")
parser.add_option("-n", dest="filter", type=int, default=1,
help="k-mer filtering threshold, default = 1")
parser.add_option("-d", dest="data_dir", default='data',
help="directory containing the data, default = data/")
parser.add_option("--mem", dest="mem_size", type=int, default=4,
help="total memory limit (in GB), default = 4")
parser.add_option("-t", dest="n_threads", type=int, default=1,
help="number of threads to use, default = 1")
parser.add_option("-l", dest="long", action='store_true',
help="use fitch_kmerX_long instead of fitch_kmerX")
(options, args) = parser.parse_args()
n = options.filter
mem_size = options.mem_size
n_threads = options.n_threads
kl = options.kLen
ks = options.ksLen
mem_per_thread = int(options.mem_size / float(n_threads))
data_dir = options.data_dir
if not mem_per_thread:
print('Not enough memory, decrease n_threads or increase mem_size')
sys.exit()
if not os.path.isdir(data_dir):
print('Cannot find data directory {}'.format(data_dir))
sys.exit(2)
# kmer_count
if kl > 25:
if os.system('which kmer_countx > /dev/null'):
kmer_count_bin = './kmer_countx'
if not is_exe(kmer_count_bin):
print('kmer_countx not found!')
sys.exit(1)
else:
kmer_count_bin = 'kmer_countx'
else:
if os.system('which kmer_count > /dev/null'):
kmer_count_bin = './kmer_count'
if not is_exe(kmer_count_bin):
print('kmer_count not found!')
sys.exit(1)
else:
kmer_count_bin = 'kmer_count'
# kmer_merge
if os.system('which kmer_merge > /dev/null'):
filt_bin = './kmer_merge'
if not is_exe(filt_bin):
print('kmer_merge not found!')
sys.exit(1)
else:
filt_bin = 'kmer_merge'
# ReadsSelector
if os.system('which ReadsSelector > /dev/null'):
reads_select_bin = './ReadsSelector'
if not is_exe(filt_bin):
print('ReadsSelector not found!')
sys.exit(1)
else:
reads_select_bin = 'ReadsSelector'
# fitch
if os.system('which fitch_kmerX > /dev/null'):
if options.long:
filtch_bin = './fitch_kmerX_long'
else:
filtch_bin = './fitch_kmerX'
if not is_exe(filtch_bin):
print(filtch_bin + ' not found')
sys.exit()
else:
if options.long:
filtch_bin = 'fitch_kmerX_long'
else:
filtch_bin = 'fitch_kmerX'
selection_dir = '{}_ks{}_pairwise'.format(
os.path.basename(data_dir.rstrip('/')), ks)
if os.path.exists('./' + selection_dir):
command = 'rm -r {}'.format(selection_dir)
os.system(command)
command = 'mkdir {}'.format(selection_dir)
os.system(command)
samples = AAF.aaf_kmer_count(data_dir, ks, n, n_threads, mem_per_thread)
# build distance matrix
sn = len(samples)
dist = [[0] * sn for i in range(sn)]
for i in range(sn):
for j in range(i + 1, sn):
command = []
command.append(
'mkdir {}/{}_{}'.format(selection_dir, samples[i], samples[j]))
command.append(
'{} -k s -c -d 0 -A A -B A {}.pkdat.gz {}.pkdat.gz | cut -f 1 > test.kmer'.format(filt_bin, samples[i], samples[j]))
command.append('{} -k test.kmer -fa 1 -o {}/{}_{}/{} -s {}/{}/*'
.format(reads_select_bin, selection_dir, samples[i], samples[j],
samples[i], data_dir, samples[i]))
command.append('{} -k test.kmer -fa 1 -o {}/{}_{}/{} -s {}/{}/*'
.format(reads_select_bin, selection_dir, samples[i], samples[j],
samples[j], data_dir, samples[j]))
for comm in command:
print(comm)
os.system(comm)
# kmer_count
ntotal = []
command = '{} -l {} -n {} -G {} -o {}_temp.pkdat -f FA -i {}/{}_{}/{}.*'.format(
kmer_count_bin, kl, n, mem_size / 2, samples[i], selection_dir, samples[i], samples[j], samples[i])
output = subprocess.check_output(
command, shell=True, stderr=subprocess.STDOUT)
ntotal.append(float(output.decode('ascii').split()[1]))
command = '{} -l {} -n {} -G {} -o {}_temp.pkdat -f FA -i {}/{}_{}/{}.*'.format(
kmer_count_bin, kl, n, mem_size / 2, samples[j], selection_dir, samples[i], samples[j], samples[j])
output = subprocess.check_output(
command, shell=True, stderr=subprocess.STDOUT)
ntotal.append(float(output.decode('ascii').split()[1]))
# kmer_merge
command = "{} -k s -c -d '0' -a 'T,M,F' {}_temp.pkdat {}_temp.pkdat | wc -l".format(
filt_bin, samples[i], samples[j])
output = subprocess.check_output(
command, shell=True, stderr=subprocess.STDOUT)
nshared = int(output.decode('ascii').split()[0])
if nshared == 0:
distance = 1
else:
distance = (-1.0 / kl) * math.log(nshared / min(ntotal))
dist[j][i] = dist[i][j] = distance
os.system('rm *.pkdat*')
# construct the tree
try:
infile = open('infile', 'w')
except IOError:
print('Cannot open infile for writing')
sys.exit()
infile.write('{} {}'.format(sn, sn))
namedic = {}
for i in range(sn):
lsl = len(samples[i])
if lsl >= 10:
ssl = samples[i][:10]
appendix = 1
while ssl in namedic:
if appendix < 10:
ssl = samples[i][:9] + str(appendix)
elif appendix > 9:
ssl = samples[i][:8] + str(appendix)
appendix += 1
else:
ssl = samples[i] + ' ' * (10 - lsl)
namedic[ssl] = samples[i]
infile.write('\n{}'.format(ssl))
for j in range(sn):
infile.write('\t{}'.format(dist[i][j]))
infile.close()
# fitch_kmer
print('{} building tree'.format(time.strftime("%c")))
if os.path.exists("./outfile"):
os.system("rm -f outfile outtree")
command = 'printf "K\n{}\nY" | {} > /dev/null'.format(int(kl), filtch_bin)
os.system(command)
fh1 = open('outtree', 'rt')
fh2 = open(selection_dir + '.tre', 'wt')
for line in fh1:
for key in namedic:
key_new = key.rstrip() + ":"
if key_new in line:
newline = line.replace(key_new, namedic[key].rstrip() + ":", 1)
line = newline
fh2.write(line)
fh1.close()
fh2.close()
command = 'mv infile {}.dist'.format(selection_dir)
os.system(command)
os.system('rm -f outfile outtree')
print('{} end'.format(time.strftime("%c")))
if __name__ == '__main__':
main()
| [
1,
1053,
10876,
13,
5215,
330,
7554,
13,
5215,
289,
29920,
29906,
13,
5215,
2897,
13,
5215,
931,
13,
5215,
1014,
5014,
13,
5215,
5844,
13,
5215,
6674,
307,
985,
292,
408,
22326,
13,
3166,
3523,
5510,
1053,
10831,
11726,
13,
13,
3166,
3667,
29879,
1053,
334,
13,
5215,
319,
5098,
13,
13,
13,
1753,
1667,
7295,
13,
1678,
13812,
353,
10831,
11726,
580,
13,
1678,
13812,
29889,
1202,
29918,
3385,
703,
29899,
29895,
613,
2731,
543,
29895,
21515,
613,
1134,
29922,
524,
29892,
2322,
29922,
29906,
29945,
29892,
13,
462,
418,
1371,
543,
29895,
363,
17789,
4080,
29892,
2322,
353,
29871,
29906,
29945,
1159,
13,
1678,
13812,
29889,
1202,
29918,
3385,
703,
489,
2039,
613,
2731,
543,
2039,
21515,
613,
1134,
29922,
524,
29892,
2322,
29922,
29906,
29945,
29892,
13,
462,
418,
1371,
543,
29895,
363,
13623,
9262,
29892,
2322,
353,
29871,
29906,
29945,
1159,
13,
1678,
13812,
29889,
1202,
29918,
3385,
703,
29899,
29876,
613,
2731,
543,
4572,
613,
1134,
29922,
524,
29892,
2322,
29922,
29896,
29892,
13,
462,
418,
1371,
543,
29895,
29899,
1050,
21166,
16897,
29892,
2322,
353,
29871,
29896,
1159,
13,
1678,
13812,
29889,
1202,
29918,
3385,
703,
29899,
29881,
613,
2731,
543,
1272,
29918,
3972,
613,
2322,
2433,
1272,
742,
13,
462,
418,
1371,
543,
12322,
6943,
278,
848,
29892,
2322,
353,
848,
29914,
1159,
13,
1678,
13812,
29889,
1202,
29918,
3385,
703,
489,
6954,
613,
2731,
543,
6954,
29918,
2311,
613,
1134,
29922,
524,
29892,
2322,
29922,
29946,
29892,
13,
462,
418,
1371,
543,
7827,
3370,
4046,
313,
262,
19289,
511,
2322,
353,
29871,
29946,
1159,
13,
1678,
13812,
29889,
1202,
29918,
3385,
703,
29899,
29873,
613,
2731,
543,
29876,
29918,
28993,
613,
1134,
29922,
524,
29892,
2322,
29922,
29896,
29892,
13,
462,
418,
1371,
543,
4537,
310,
9717,
304,
671,
29892,
2322,
353,
29871,
29896,
1159,
13,
1678,
13812,
29889,
1202,
29918,
3385,
703,
29899,
29880,
613,
2731,
543,
5426,
613,
3158,
2433,
8899,
29918,
3009,
742,
13,
462,
418,
1371,
543,
1509,
285,
2335,
29918,
29895,
1050,
29990,
29918,
5426,
2012,
310,
285,
2335,
29918,
29895,
1050,
29990,
1159,
13,
13,
1678,
313,
6768,
29892,
6389,
29897,
353,
13812,
29889,
5510,
29918,
5085,
580,
13,
13,
1678,
302,
353,
3987,
29889,
4572,
13,
1678,
2626,
29918,
2311,
353,
3987,
29889,
6954,
29918,
2311,
13,
1678,
302,
29918,
28993,
353,
3987,
29889,
29876,
29918,
28993,
13,
1678,
9489,
353,
3987,
29889,
29895,
21515,
13,
1678,
413,
29879,
353,
3987,
29889,
2039,
21515,
13,
1678,
2626,
29918,
546,
29918,
7097,
353,
938,
29898,
6768,
29889,
6954,
29918,
2311,
847,
5785,
29898,
29876,
29918,
28993,
876,
13,
1678,
848,
29918,
3972,
353,
3987,
29889,
1272,
29918,
3972,
13,
13,
1678,
565,
451,
2626,
29918,
546,
29918,
7097,
29901,
13,
4706,
1596,
877,
3664,
3307,
3370,
29892,
23806,
302,
29918,
28993,
470,
7910,
2626,
29918,
2311,
1495,
13,
4706,
10876,
29889,
13322,
580,
13,
13,
1678,
565,
451,
2897,
29889,
2084,
29889,
275,
3972,
29898,
1272,
29918,
3972,
1125,
13,
4706,
1596,
877,
29089,
1284,
848,
3884,
6571,
4286,
4830,
29898,
1272,
29918,
3972,
876,
13,
4706,
10876,
29889,
13322,
29898,
29906,
29897,
13,
13,
1678,
396,
413,
1050,
29918,
2798,
13,
1678,
565,
9489,
1405,
29871,
29906,
29945,
29901,
13,
4706,
565,
2897,
29889,
5205,
877,
4716,
413,
1050,
29918,
2798,
29916,
1405,
847,
3359,
29914,
4304,
29374,
13,
9651,
413,
1050,
29918,
2798,
29918,
2109,
353,
19283,
29895,
1050,
29918,
2798,
29916,
29915,
13,
9651,
565,
451,
338,
29918,
8097,
29898,
29895,
1050,
29918,
2798,
29918,
2109,
1125,
13,
18884,
1596,
877,
29895,
1050,
29918,
2798,
29916,
451,
1476,
29991,
1495,
13,
18884,
10876,
29889,
13322,
29898,
29896,
29897,
13,
4706,
1683,
29901,
13,
9651,
413,
1050,
29918,
2798,
29918,
2109,
353,
525,
29895,
1050,
29918,
2798,
29916,
29915,
13,
13,
1678,
1683,
29901,
13,
4706,
565,
2897,
29889,
5205,
877,
4716,
413,
1050,
29918,
2798,
1405,
847,
3359,
29914,
4304,
29374,
13,
9651,
413,
1050,
29918,
2798,
29918,
2109,
353,
19283,
29895,
1050,
29918,
2798,
29915,
13,
9651,
565,
451,
338,
29918,
8097,
29898,
29895,
1050,
29918,
2798,
29918,
2109,
1125,
13,
18884,
1596,
877,
29895,
1050,
29918,
2798,
451,
1476,
29991,
1495,
13,
18884,
10876,
29889,
13322,
29898,
29896,
29897,
13,
4706,
1683,
29901,
13,
9651,
413,
1050,
29918,
2798,
29918,
2109,
353,
525,
29895,
1050,
29918,
2798,
29915,
13,
13,
1678,
396,
413,
1050,
29918,
14634,
13,
1678,
565,
2897,
29889,
5205,
877,
4716,
413,
1050,
29918,
14634,
1405,
847,
3359,
29914,
4304,
29374,
13,
4706,
977,
29873,
29918,
2109,
353,
19283,
29895,
1050,
29918,
14634,
29915,
13,
4706,
565,
451,
338,
29918,
8097,
29898,
1777,
29873,
29918,
2109,
1125,
13,
9651,
1596,
877,
29895,
1050,
29918,
14634,
451,
1476,
29991,
1495,
13,
9651,
10876,
29889,
13322,
29898,
29896,
29897,
13,
1678,
1683,
29901,
13,
4706,
977,
29873,
29918,
2109,
353,
525,
29895,
1050,
29918,
14634,
29915,
13,
13,
1678,
396,
7523,
29879,
10378,
13,
1678,
565,
2897,
29889,
5205,
877,
4716,
7523,
29879,
10378,
1405,
847,
3359,
29914,
4304,
29374,
13,
4706,
13623,
29918,
2622,
29918,
2109,
353,
19283,
6359,
29879,
10378,
29915,
13,
4706,
565,
451,
338,
29918,
8097,
29898,
1777,
29873,
29918,
2109,
1125,
13,
9651,
1596,
877,
6359,
29879,
10378,
451,
1476,
29991,
1495,
13,
9651,
10876,
29889,
13322,
29898,
29896,
29897,
13,
1678,
1683,
29901,
13,
4706,
13623,
29918,
2622,
29918,
2109,
353,
525,
6359,
29879,
10378,
29915,
13,
13,
1678,
396,
285,
2335,
13,
1678,
565,
2897,
29889,
5205,
877,
4716,
285,
2335,
29918,
29895,
1050,
29990,
1405,
847,
3359,
29914,
4304,
29374,
13,
4706,
565,
3987,
29889,
5426,
29901,
13,
9651,
977,
29873,
305,
29918,
2109,
353,
19283,
29888,
2335,
29918,
29895,
1050,
29990,
29918,
5426,
29915,
13,
4706,
1683,
29901,
13,
9651,
977,
29873,
305,
29918,
2109,
353,
19283,
29888,
2335,
29918,
29895,
1050,
29990,
29915,
13,
4706,
565,
451,
338,
29918,
8097,
29898,
1777,
29873,
305,
29918,
2109,
1125,
13,
9651,
1596,
29898,
1777,
29873,
305,
29918,
2109,
718,
525,
451,
1476,
1495,
13,
9651,
10876,
29889,
13322,
580,
13,
1678,
1683,
29901,
13,
4706,
565,
3987,
29889,
5426,
29901,
13,
9651,
977,
29873,
305,
29918,
2109,
353,
525,
29888,
2335,
29918,
29895,
1050,
29990,
29918,
5426,
29915,
13,
4706,
1683,
29901,
13,
9651,
977,
29873,
305,
29918,
2109,
353,
525,
29888,
2335,
29918,
29895,
1050,
29990,
29915,
13,
13,
13,
1678,
9262,
29918,
3972,
353,
22372,
2403,
2039,
29912,
2403,
18784,
3538,
4286,
4830,
29898,
13,
4706,
2897,
29889,
2084,
29889,
6500,
3871,
29898,
1272,
29918,
3972,
29889,
29878,
17010,
11219,
1495,
511,
413,
29879,
29897,
13,
13,
1678,
565,
2897,
29889,
2084,
29889,
9933,
877,
6904,
29915,
718,
9262,
29918,
3972,
1125,
13,
4706,
1899,
353,
525,
1758,
448,
29878,
6571,
4286,
4830,
29898,
21731,
29918,
3972,
29897,
13,
4706,
2897,
29889,
5205,
29898,
6519,
29897,
13,
1678,
1899,
353,
525,
11256,
3972,
6571,
4286,
4830,
29898,
21731,
29918,
3972,
29897,
13,
1678,
2897,
29889,
5205,
29898,
6519,
29897,
13,
13,
13,
13,
1678,
11916,
353,
319,
5098,
29889,
29874,
2142,
29918,
29895,
1050,
29918,
2798,
29898,
1272,
29918,
3972,
29892,
413,
29879,
29892,
302,
29892,
302,
29918,
28993,
29892,
2626,
29918,
546,
29918,
7097,
29897,
13,
13,
1678,
396,
2048,
5418,
4636,
13,
1678,
5807,
353,
7431,
29898,
27736,
29897,
13,
1678,
1320,
353,
5519,
29900,
29962,
334,
5807,
363,
474,
297,
3464,
29898,
16586,
4638,
13,
1678,
363,
474,
297,
3464,
29898,
16586,
1125,
13,
4706,
363,
432,
297,
3464,
29898,
29875,
718,
29871,
29896,
29892,
5807,
1125,
13,
9651,
1899,
353,
5159,
13,
9651,
1899,
29889,
4397,
29898,
13,
18884,
525,
11256,
3972,
6571,
19248,
3227,
29913,
4286,
4830,
29898,
21731,
29918,
3972,
29892,
11916,
29961,
29875,
1402,
11916,
29961,
29926,
12622,
13,
9651,
1899,
29889,
4397,
29898,
13,
18884,
525,
8875,
448,
29895,
269,
448,
29883,
448,
29881,
29871,
29900,
448,
29909,
319,
448,
29933,
319,
426,
1836,
20571,
4130,
29889,
18828,
426,
1836,
20571,
4130,
29889,
18828,
891,
5700,
448,
29888,
29871,
29896,
1405,
1243,
29889,
29895,
1050,
4286,
4830,
29898,
1777,
29873,
29918,
2109,
29892,
11916,
29961,
29875,
1402,
11916,
29961,
29926,
12622,
13,
9651,
1899,
29889,
4397,
877,
8875,
448,
29895,
1243,
29889,
29895,
1050,
448,
5444,
29871,
29896,
448,
29877,
6571,
19248,
3227,
6822,
8875,
448,
29879,
6571,
29914,
8875,
5515,
29915,
13,
462,
965,
869,
4830,
29898,
949,
29879,
29918,
2622,
29918,
2109,
29892,
9262,
29918,
3972,
29892,
11916,
29961,
29875,
1402,
11916,
29961,
29926,
1402,
13,
462,
462,
259,
11916,
29961,
29875,
1402,
848,
29918,
3972,
29892,
11916,
29961,
29875,
12622,
13,
9651,
1899,
29889,
4397,
877,
8875,
448,
29895,
1243,
29889,
29895,
1050,
448,
5444,
29871,
29896,
448,
29877,
6571,
19248,
3227,
6822,
8875,
448,
29879,
6571,
29914,
8875,
5515,
29915,
13,
462,
965,
869,
4830,
29898,
949,
29879,
29918,
2622,
29918,
2109,
29892,
9262,
29918,
3972,
29892,
11916,
29961,
29875,
1402,
11916,
29961,
29926,
1402,
13,
462,
462,
259,
11916,
29961,
29926,
1402,
848,
29918,
3972,
29892,
11916,
29961,
29926,
12622,
13,
9651,
363,
844,
297,
1899,
29901,
13,
18884,
1596,
29898,
2055,
29897,
13,
18884,
2897,
29889,
5205,
29898,
2055,
29897,
13,
13,
9651,
396,
413,
1050,
29918,
2798,
13,
9651,
302,
7827,
353,
5159,
13,
9651,
1899,
353,
525,
8875,
448,
29880,
6571,
448,
29876,
6571,
448,
29954,
6571,
448,
29877,
426,
2403,
7382,
29889,
20571,
4130,
448,
29888,
13515,
448,
29875,
6571,
19248,
3227,
6822,
29912,
1836,
29930,
4286,
4830,
29898,
13,
18884,
413,
1050,
29918,
2798,
29918,
2109,
29892,
9489,
29892,
302,
29892,
2626,
29918,
2311,
847,
29871,
29906,
29892,
11916,
29961,
29875,
1402,
9262,
29918,
3972,
29892,
11916,
29961,
29875,
1402,
11916,
29961,
29926,
1402,
11916,
29961,
29875,
2314,
13,
9651,
1962,
353,
1014,
5014,
29889,
3198,
29918,
4905,
29898,
13,
18884,
1899,
29892,
6473,
29922,
5574,
29892,
380,
20405,
29922,
1491,
5014,
29889,
1254,
3970,
2692,
29897,
13,
9651,
302,
7827,
29889,
4397,
29898,
7411,
29898,
4905,
29889,
13808,
877,
294,
18869,
2824,
5451,
580,
29961,
29896,
12622,
13,
9651,
1899,
353,
525,
8875,
448,
29880,
6571,
448,
29876,
6571,
448,
29954,
6571,
448,
29877,
426,
2403,
7382,
29889,
20571,
4130,
448,
29888,
13515,
448,
29875,
6571,
19248,
3227,
6822,
29912,
1836,
29930,
4286,
4830,
29898,
13,
18884,
413,
1050,
29918,
2798,
29918,
2109,
29892,
9489,
29892,
302,
29892,
2626,
29918,
2311,
847,
29871,
29906,
29892,
11916,
29961,
29926,
1402,
9262,
29918,
3972,
29892,
11916,
29961,
29875,
1402,
11916,
29961,
29926,
1402,
11916,
29961,
29926,
2314,
13,
9651,
1962,
353,
1014,
5014,
29889,
3198,
29918,
4905,
29898,
13,
18884,
1899,
29892,
6473,
29922,
5574,
29892,
380,
20405,
29922,
1491,
5014,
29889,
1254,
3970,
2692,
29897,
13,
9651,
302,
7827,
29889,
4397,
29898,
7411,
29898,
4905,
29889,
13808,
877,
294,
18869,
2824,
5451,
580,
29961,
29896,
12622,
13,
13,
9651,
396,
413,
1050,
29918,
14634,
13,
9651,
1899,
353,
376,
8875,
448,
29895,
269,
448,
29883,
448,
29881,
525,
29900,
29915,
448,
29874,
525,
29911,
29892,
29924,
29892,
29943,
29915,
426,
2403,
7382,
29889,
20571,
4130,
426,
2403,
7382,
29889,
20571,
4130,
891,
28678,
448,
29880,
1642,
4830,
29898,
13,
18884,
977,
29873,
29918,
2109,
29892,
11916,
29961,
29875,
1402,
11916,
29961,
29926,
2314,
13,
9651,
1962,
353,
1014,
5014,
29889,
3198,
29918,
4905,
29898,
13,
18884,
1899,
29892,
6473,
29922,
5574,
29892,
380,
20405,
29922,
1491,
5014,
29889,
1254,
3970,
2692,
29897,
13,
9651,
302,
12366,
353,
938,
29898,
4905,
29889,
13808,
877,
294,
18869,
2824,
5451,
580,
29961,
29900,
2314,
13,
9651,
565,
302,
12366,
1275,
29871,
29900,
29901,
13,
18884,
5418,
353,
29871,
29896,
13,
9651,
1683,
29901,
13,
18884,
5418,
353,
8521,
29896,
29889,
29900,
847,
9489,
29897,
334,
5844,
29889,
1188,
29898,
29876,
12366,
847,
1375,
29898,
593,
7288,
876,
13,
9651,
1320,
29961,
29926,
3816,
29875,
29962,
353,
1320,
29961,
29875,
3816,
29926,
29962,
353,
5418,
13,
13,
1678,
2897,
29889,
5205,
877,
1758,
20611,
20571,
4130,
29930,
1495,
13,
13,
1678,
396,
3386,
278,
5447,
13,
1678,
1018,
29901,
13,
4706,
297,
1445,
353,
1722,
877,
262,
1445,
742,
525,
29893,
1495,
13,
1678,
5174,
10663,
2392,
29901,
13,
4706,
1596,
877,
29089,
1722,
297,
1445,
363,
5007,
1495,
13,
4706,
10876,
29889,
13322,
580,
13,
13,
1678,
297,
1445,
29889,
3539,
877,
8875,
6571,
4286,
4830,
29898,
16586,
29892,
5807,
876,
13,
1678,
4257,
293,
353,
6571,
13,
1678,
363,
474,
297,
3464,
29898,
16586,
1125,
13,
4706,
301,
2536,
353,
7431,
29898,
27736,
29961,
29875,
2314,
13,
4706,
565,
301,
2536,
6736,
29871,
29896,
29900,
29901,
13,
9651,
24250,
353,
11916,
29961,
29875,
3816,
29901,
29896,
29900,
29962,
13,
9651,
9773,
861,
353,
29871,
29896,
13,
9651,
1550,
24250,
297,
4257,
293,
29901,
13,
18884,
565,
9773,
861,
529,
29871,
29896,
29900,
29901,
13,
462,
1678,
24250,
353,
11916,
29961,
29875,
3816,
29901,
29929,
29962,
718,
851,
29898,
4397,
861,
29897,
13,
18884,
25342,
9773,
861,
1405,
29871,
29929,
29901,
13,
462,
1678,
24250,
353,
11916,
29961,
29875,
3816,
29901,
29947,
29962,
718,
851,
29898,
4397,
861,
29897,
13,
18884,
9773,
861,
4619,
29871,
29896,
13,
4706,
1683,
29901,
13,
9651,
24250,
353,
11916,
29961,
29875,
29962,
718,
525,
525,
334,
313,
29896,
29900,
448,
301,
2536,
29897,
13,
4706,
4257,
293,
29961,
16265,
29962,
353,
11916,
29961,
29875,
29962,
13,
4706,
297,
1445,
29889,
3539,
28909,
29876,
8875,
4286,
4830,
29898,
16265,
876,
13,
4706,
363,
432,
297,
3464,
29898,
16586,
1125,
13,
9651,
297,
1445,
29889,
3539,
28909,
29873,
8875,
4286,
4830,
29898,
5721,
29961,
29875,
3816,
29926,
12622,
13,
13,
1678,
297,
1445,
29889,
5358,
580,
13,
13,
1678,
396,
285,
2335,
29918,
29895,
1050,
13,
1678,
1596,
877,
8875,
5214,
5447,
4286,
4830,
29898,
2230,
29889,
710,
615,
603,
11702,
29883,
29908,
4961,
13,
1678,
565,
2897,
29889,
2084,
29889,
9933,
703,
6904,
449,
1445,
29908,
1125,
13,
4706,
2897,
29889,
5205,
703,
1758,
448,
29888,
714,
1445,
714,
8336,
1159,
13,
1678,
1899,
353,
525,
8124,
376,
29968,
29905,
29876,
29912,
1012,
29876,
29979,
29908,
891,
6571,
1405,
847,
3359,
29914,
4304,
4286,
4830,
29898,
524,
29898,
6321,
511,
977,
29873,
305,
29918,
2109,
29897,
13,
1678,
2897,
29889,
5205,
29898,
6519,
29897,
13,
1678,
285,
29882,
29896,
353,
1722,
877,
449,
8336,
742,
525,
2273,
1495,
13,
1678,
285,
29882,
29906,
353,
1722,
29898,
21731,
29918,
3972,
718,
15300,
2484,
742,
525,
14554,
1495,
13,
13,
1678,
363,
1196,
297,
285,
29882,
29896,
29901,
13,
4706,
363,
1820,
297,
4257,
293,
29901,
13,
9651,
1820,
29918,
1482,
353,
1820,
29889,
29878,
17010,
580,
718,
376,
6160,
13,
9651,
565,
1820,
29918,
1482,
297,
1196,
29901,
13,
18884,
25899,
353,
1196,
29889,
6506,
29898,
1989,
29918,
1482,
29892,
4257,
293,
29961,
1989,
1822,
29878,
17010,
580,
718,
29242,
613,
29871,
29896,
29897,
13,
18884,
1196,
353,
25899,
13,
4706,
285,
29882,
29906,
29889,
3539,
29898,
1220,
29897,
13,
1678,
285,
29882,
29896,
29889,
5358,
580,
13,
1678,
285,
29882,
29906,
29889,
5358,
580,
13,
1678,
1899,
353,
525,
29324,
297,
1445,
426,
1836,
5721,
4286,
4830,
29898,
21731,
29918,
3972,
29897,
13,
1678,
2897,
29889,
5205,
29898,
6519,
29897,
13,
13,
1678,
2897,
29889,
5205,
877,
1758,
448,
29888,
714,
1445,
714,
8336,
1495,
13,
13,
1678,
1596,
877,
8875,
1095,
4286,
4830,
29898,
2230,
29889,
710,
615,
603,
11702,
29883,
29908,
4961,
13,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
1678,
1667,
580,
13,
2
] |
Scripts/GeMS_MetadataCSDGM2_Arc10.py | mahunterUSGS/GeMS_Tools | 0 | 66485 | """
script to ease construction of CSDGM2-style metadata for an GeMS-style geodatabase.
To use,
Run ValidateDatabase to make sure that the database is complete and there are
no missing DMU, Glossary, or DataSources entries
In ArcCatalog, go to Customize>Options>Metadata and set Metadata Style to
"FGDC CSDGM Metadata". OK and exit.
In ArcCatalog, use the ArcGIS metadata editor to complete the record for the
GeologicMap feature dataset. Save. NOTE THAT whatever errors or you create
in this master metadata record will be faithfully propagated to metadata
records for all parts of the geodatabase!
Run script GeMS_MetadataCSDGM2_Arc10.1.py. This script will:
Export the GeologicMap metadata record in CSDGM2 format
Polish this metadata slightly for use as a master record
For the geodatabase as a whole and for each entity (table, feature dataset,
feature class) in the geodatabase:
Copies the master record.
Adds supplemental information (ArcGIS reports this in Resouce:Details)
about the the GeMS standard and continents of the geodatabase.
Adds a description of the entity taken from the GeMS documentation.
Adds entity-attribute information taken from the GeMS documentation
and the DMU, Glossary, and DataSources tables of the geodatabase.
Writes this XML to a file in the directory that contains the geodatabase.
Imports this XML into the geodatabase as metadata for the appropriate entity.
Look at file <geodatabasename>-metadataLog.txt to see what parts of which metadata
records need to be completed by hand. This will occur wherever you extend the
database schema beyond the schema outlined in the GeMS documentation.
***Note that this script provides for a file that automates description of your
extensions to the GeMS schema so that you need not edit metadata by hand--see
file my_GeMSDefinitions.py in the GeMS Scripts directory.***
Inspect metadata records in ArcCatalog (the Description tab) to see that they are
complete.
Open saved XML files in browser to see that they are appropriate. Scan for duplicate
entries.
You want ISO metadata? Change your Metadata Style and fix records using the
ArcCatalog metadata editor. Export as ISO of your flavor, insofar as ArcCatalog allows.
Let us know how this works.
Usage: prompt>GeMS_MetadataCSDGM2_Arc10.1.py <geodatabase>
<NAME> and <NAME>, US Geological Survey
<EMAIL>, <EMAIL>
"""
# 17 March 2017 Changed NCGMP09 to GeMS, etc.
# 18 April 2017 Added utility functions, local definition-extension file
# 12 August 2017 Modified to recognize GeoMaterial, GeoMaterialConfidence, and GeoMaterialDict.
# Added number of rows in each table to gdb description in SupplementalInfo
#Metadata conversion (ImportMetadata_conversion) is not supported in Pro as of 180926, but is on the roadmap.
import arcpy, sys, os.path, copy, imp, glob
from GeMS_Definition import enumeratedValueDomainFieldList, rangeDomainDict, unrepresentableDomainDict, attribDict, entityDict, GeoMatConfDict
from GeMS_utilityFunctions import *
from xml.dom.minidom import *
versionString = 'GeMS_MetadataCSDGM2_Arc10.py, version of 10 December 2017'
translator = arcpy.GetInstallInfo("desktop")["InstallDir"]+'Metadata/Translator/ARCGIS2FGDC.xml'
debug = False
ncgmp = 'GeMS'
ncgmpFullRef = '"GeMS (Geologic Map Schema)--a standard format for digital publication of geologic maps, version 2.0", available at http://ngmdb.usgs.gov/Info/standards/GeMS/'
eaoverviewCitation = 'Detailed descriptions of entities, attributes, and attribute values are given in metadata for constituent elements of this composite dataset. See also '+ncgmpFullRef+'.'
gdbDesc0a = ' is a composite geodataset that conforms to '+ncgmpFullRef+'. '
gdbDesc0b = ' is part of a composite geodataset that conforms to '+ncgmpFullRef+'. '
gdbDesc2 = 'Metadata records associated with each element within the geodataset contain more detailed descriptions of their purposes, constituent entities, and attributes. '
gdbDesc3 = ('Two shapefile versions of the dataset are also available. The OPEN shapefile version consists '+
'of shapefiles, DBF files, and delimited text files and retains all information in the native '+
'geodatabase, but some programming will likely be necessary to assemble these components into '+
'usable formats. The SIMPLE shapefile version consists only of shapefiles and is easily used, but '+
'lacks some information present in the native geodatabase.')
def __appendOrReplace(rootNode,newNode,nodeTag):
if len(rootNode.getElementsByTagName(nodeTag)) == 0:
rootNode.appendChild(newNode)
else:
rootNode.replaceChild(newNode,rootNode.getElementsByTagName(nodeTag)[0])
def __fieldNameList(fc):
#Returns a list of field names from Field.name in arcpy.ListFields
fldList = arcpy.ListFields(fc)
nameList = []
for fld in fldList:
if not fld.name in ('OBJECTID', 'SHAPE','Shape', 'Shape_Length', 'Shape_Area'):
nameList.append(fld.name)
return nameList
def __findInlineRef(sourceID):
# finds the Inline reference for each DataSource_ID
query = '"DataSources_ID" = \'' + sourceID + '\''
rows = arcpy.SearchCursor(dataSources, query)
row = next(rows)
if not row is None:
#return row.Inline
return row.Source
else:
return ""
def __newElement(dom,tag,text):
nd = dom.createElement(tag)
ndText = dom.createTextNode(text)
nd.appendChild(ndText)
return nd
def __updateAttrDef(fld,dom):
##element tag names are
## attr = Attribute
## attrlabl = Attribute_Label
## attrdef = Attribute_Definition
## attrdefs = Attribute_Definition_Source
labelNodes = dom.getElementsByTagName('attrlabl')
for attrlabl in labelNodes:
if attrlabl.firstChild.data == fld:
attr = attrlabl.parentNode
if fld.find('_ID') > -1:
# substitute generic _ID field for specific
attrdefText = attribDict['_ID']
else:
attrdefText = attribDict[fld]
attrdef = __newElement(dom,'attrdef',attrdefText)
__appendOrReplace(attr,attrdef,'attrdef')
attrdefs = __newElement(dom,'attrdefs',ncgmp)
__appendOrReplace(attr,attrdefs,'attrdefs')
return dom
def __updateEdom(fld, defs, dom):
##element tag names are
## attr = Attribute
## attrdomv = Attribute_Domain_Values
## edom = Enumerated_Domain
## edomv = Enumerated_Domain_Value
## edomd = Enumerated_Domain_Definition
## edomvds = Enumerated_Domain_Value_Definition_Source
labelNodes = dom.getElementsByTagName('attrlabl')
for attrlabl in labelNodes:
if attrlabl.firstChild.data == fld:
attr = attrlabl.parentNode
attrdomv = dom.createElement('attrdomv')
for k in defs.items():
edom = dom.createElement('edom')
edomv = __newElement(dom,'edomv',k[0])
edomvd = __newElement(dom,'edomvd',k[1][0])
edom.appendChild(edomv)
edom.appendChild(edomvd)
if len(k[1][1]) > 0:
edomvds = __newElement(dom,'edomvds',k[1][1])
edom.appendChild(edomvds)
attrdomv.appendChild(edom)
__appendOrReplace(attr,attrdomv,'attrdomv')
return dom
def __updateEntityAttributes(fc, fldList, dom, logFile):
"""For each attribute (field) in fldList,
adds attribute definition and definition source,
classifies as range domain, unrepresentable-value domain or enumerated-value domain, and
for range domains, adds rangemin, rangemax, and units;
for unrepresentable value domains, adds unrepresentable value statement;
for enumerated value domains:
1) Finds all controlled-vocabulary fields in the table sent to it
2) Builds a set of unique terms in each field, ie, the domain
3) Matches each domain value to an entry in the glossary
4) Builds a dictionary of term:(definition, source) items
5) Takes the dictionary items and put them into the metadata
document as Attribute_Domain_Values
Field MapUnit in table DescriptionOfMapUnits is treated as a special case.
"""
cantfindTerm = []
cantfindValue = []
for fld in fldList:
addMsgAndPrint( ' Field: '+ fld)
# if is _ID field or if field definition is available, update definition
if fld.find('_ID') > -1 or fld in attribDict:
dom = __updateAttrDef(fld,dom)
else:
cantfindTerm.append(fld)
#if this is an _ID field
if fld.find('_ID') > -1:
dom = __updateUdom(fld,dom,unrepresentableDomainDict['_ID'])
#if this is another unrepresentable-domain field
if fld in unrepresentableDomainDict:
dom = __updateUdom(fld,dom,unrepresentableDomainDict[fld])
#if this is a defined range-domain field
elif fld in rangeDomainDict:
dom = __updateRdom(fld,dom)
#if this is MapUnit in DMU
elif fld == 'MapUnit' and fc == 'DescriptionOfMapUnits':
dom = __updateUdom(fld,dom,unrepresentableDomainDict['default'])
#if this is a defined Enumerated Value Domain field
elif fld in enumeratedValueDomainFieldList:
valList = []
#create a search cursor on the field
rows = arcpy.SearchCursor(fc,'','', fld)
row = next(rows)
#collect all values/terms in that field
while row:
if not row.getValue(fld) is None:
valList.append(row.getValue(fld))
row = next(rows)
#uniquify the list by converting it to a set object
valList = set(valList)
#create an empty dictionary object to hold the matches between the unique terms
#and their definitions (grabbed from the glossary)
defs = {}
#for each unique term, try to create a search cursor of just one record where the term
#matchs a Term field value from the glossary
if fld == 'MapUnit' and fc != 'DescriptionOfMapUnits':
for t in valList:
query = '"MapUnit" = \'' + t + '\''
rows = arcpy.SearchCursor(DMU, query)
row = next(rows)
#if the searchcursor contains a row
if row:
#create an entry in the dictionary of term:[definition, source] key:value pairs
#this is how we will enumerate through the enumerated_domain section
defs[t] = []
if row.FullName != None:
defs[t].append(row.FullName.encode('utf_8'))
defs[t].append('this report, table DescriptionOfMapUnits')
else:
addMsgAndPrint('MapUnit = '+t+', FullName not defined')
defs[t].append(row.Name.encode('utf_8'))
defs[t].append('this report, table DescriptionOfMapUnits')
else:
if not t in ('',' '): cantfindValue.append([fld,t])
elif fld == 'GeoMaterialConfidence' and fc == 'DescriptionOfMapUnits':
if debug:
addMsgAndPrint('DMU / GeoMaterialsConfidence')
defs = GeoMatConfDict
elif fld == 'GeoMaterial' and fc == 'DescriptionOfMapUnits':
if debug:
addMsgAndPrint('DMU / GeoMaterials!')
for t in valList:
query = '"GeoMaterial" = \'' + t + '\''
if debug:
addMsgAndPrint('query='+query)
rows = arcpy.SearchCursor(gmDict, query)
row = next(rows)
#if the searchcursor contains a row
if row:
if debug:
addMsgAndPrint(row.GeoMaterial+' : '+row.Definition.encode('utf_8'))
#create an entry in the dictionary of term:[definition, source] key:value pairs
#this is how we will enumerate through the enumerated_domain section
defs[t] = []
defs[t].append(row.Definition.encode('utf_8'))
defs[t].append(' GeMS documentation')
else:
addMsgAndPrint('GeoMaterial = '+t+': not defined in GeoMaterialDict')
cantfindValue.append([fld,t])
elif fld.find('SourceID') > -1: # is a source field
for t in valList:
query = '"DataSources_ID" = \'' + t + '\''
rows = arcpy.SearchCursor(dataSources, query)
row = next(rows)
#if the searchcursor contains a row
if row:
#create an entry in the dictionary of term:[definition, source] key:value pairs
#this is how we will enumerate through the enumerated_domain section
defs[t] = []
defs[t].append(row.Source.encode('utf_8'))
defs[t].append('this report, table DataSources')
else:
cantfindValue.append([fld,t])
else:
for t in valList:
query = '"Term" = '+"'"+ t + "'"
if debug:
addMsgAndPrint('query='+query)
rows = arcpy.SearchCursor(gloss, query)
row = next(rows)
#if the searchcursor contains a row
if row:
#create an entry in the dictionary of term:[definition, source] key:value pairs
#this is how we will enumerate through the enumerated_domain section
defs[t] = []
defs[t].append(row.Definition.encode('utf_8'))
defs[t].append(__findInlineRef(row.DefinitionSourceID).encode('utf_8'))
else:
if fld != 'GeoMaterial' and fc != 'GeoMaterialDict':
cantfindValue.append([fld,t])
dom = __updateEdom(fld, defs, dom)
else: #presumed to be an unrepresentable domain
dom = __updateUdom(fld,dom,unrepresentableDomainDict['default'])
if len(cantfindValue) > 0:
logFile.write('Missing enumerated-domain values\n')
logFile.write(' ENTITY TERM VALUE\n')
for term in cantfindValue:
logFile.write(' '+fc+' '+term[0]+' **'+term[1]+'**\n')
if len(cantfindTerm) > 0:
logFile.write('Missing terms\n')
logFile.write(' ENTITY TERM\n')
for term in cantfindTerm:
logFile.write(' '+fc + ' '+term+'\n')
return dom
def __updateRdom(fld,dom):
labelNodes = dom.getElementsByTagName('attrlabl')
for attrlabl in labelNodes:
if attrlabl.firstChild.data == fld:
attr = attrlabl.parentNode
attrdomv = dom.createElement('attrdomv')
rdom = dom.createElement('rdom')
rdommin = __newElement(dom,'rdommin',rangeDomainDict[fld][0])
rdom.appendChild(rdommin)
rdommax = __newElement(dom,'rdommax',rangeDomainDict[fld][1])
rdom.appendChild(rdommax)
attrunit = __newElement(dom,'attrunit',rangeDomainDict[fld][2])
rdom.appendChild(attrunit)
attrdomv.appendChild(rdom)
__appendOrReplace(attr,attrdomv,'attrdomv')
return dom
def __updateUdom(fld,dom,udomTextString):
labelNodes = dom.getElementsByTagName('attrlabl')
for attrlabl in labelNodes:
if attrlabl.firstChild.data == fld:
attr = attrlabl.parentNode
attrdomv = dom.createElement('attrdomv')
udom = __newElement(dom,'udom',udomTextString)
attrdomv.appendChild(udom)
__appendOrReplace(attr,attrdomv,'attrdomv')
return dom
def addSupplinf(dom,supplementaryInfo):
rtNode = dom.getElementsByTagName('descript')[0]
siNode = __newElement(dom,'supplinf',supplementaryInfo)
__appendOrReplace(rtNode,siNode,'supplinf')
return dom
def cleanTitle(dom):
# trims all ": table...", ": feature..." from title
title = dom.getElementsByTagName('title')[0]
titleText = title.firstChild.data
#if debug: addMsgAndPrint(titleText)
for txt in (': feature',': table'):
cn = titleText.find(txt)
if cn > 0:
titleText = titleText[0:cn]
title.firstChild.data = titleText
return dom
def eaoverviewDom(dom,eainfo,eaoverText,edcTxt):
overview = dom.createElement('overview')
eaover = __newElement(dom,'eaover',eaoverText)
overview.appendChild(eaover)
eadetcit = __newElement(dom,'eadetcit',edcTxt)
overview.appendChild(eadetcit)
eainfo.appendChild(overview)
return dom
def purgeChildren(dom,nodeTag):
nodes = dom.getElementsByTagName(nodeTag)
for aNode in nodes:
while len(aNode.childNodes) > 0:
aNode.removeChild(aNode.lastChild)
return dom
def purgeIdenticalSiblings(dom,ndTag,ndTxt):
nodes = dom.getElementsByTagName(ndTag)
parentNodes = []
n = 0
for nd in nodes:
if nd.firstChild.data == ndTxt:
parentNodes.append(nd.parentNode)
n = n+1
for i in range(1,n):
grandparent = parentNodes[i].parentNode
grandparent.removeChild(parentNodes[i])
return dom
def titleSuffix(dom,suffix):
# adds suffix to title text
title = dom.getElementsByTagName('title')[0]
titleText = title.firstChild.data
if titleText.find(suffix) == -1: # titleSuffix isn't already present
title.firstChild.data = titleText+suffix
return dom
def updateTableDom(dom,fc,logFile):
#def __updateTable(domMR,fc,gdbFolder,titleSuffix,logFile,isAnno):
#try to export metadata from fc
desc = arcpy.Describe(fc)
if desc.datasetType == 'FeatureClass' and desc.FeatureType == 'Annotation':
isAnno = True
else: isAnno = False
if fc in entityDict:
hasDesc = True
descText = entityDict[fc]
descSourceText = ncgmp
else:
hasDesc = False
if not isAnno:
descText = '**Need Description of '+fc+'**'
descSourceText = '**Need Description Source**'
logFile.write('No description for entity '+fc+'\n')
logFile.write('No description source for entity '+fc+'\n')
eainfo = dom.getElementsByTagName('eainfo')[0]
# DELETE EXISTING CHILD NODES
while len(eainfo.childNodes) > 0:
eainfo.removeChild(eainfo.lastChild)
if isAnno:
if hasDesc: eaoverText = descText
else: eaoverText = 'annotation feature class'
if hasDesc: edcTxt = descSourceText
else: edcTxt = 'See ESRI documentation for structure of annotation feature classes.'
# add overview to dom
dom = eaoverviewDom(dom,eainfo,eaoverText,edcTxt)
#overview = dom.createElement('overview')
#eaover = __newElement(dom,'eaover',eaoverText)
#overview.appendChild(eaover)
#eadetcit = __newElement(dom,'eadetcit',edcTxt)
#overview.appendChild(eadetcit)
#eainfo.appendChild(overview)
else: # is table or non-Anno feature class
# check for e-a detailed node, add if necessary
if len(eainfo.getElementsByTagName('detailed')) == 0:
#add detailed/enttyp/enttypl nodes
detailed = dom.createElement('detailed')
enttyp = dom.createElement('enttyp')
enttypl = __newElement(dom,'enttypl',fc)
enttypd = __newElement(dom,'enttypd',descText)
enttypds = __newElement(dom,'enttypds',descSourceText)
for nd in enttypl,enttypd,enttypds:
enttyp.appendChild(nd)
detailed.appendChild(enttyp)
eainfo.appendChild(detailed)
##check that each field has a corresponding attr node
#get a list of the field names in the fc
fldNameList = __fieldNameList(fc)
#get list of attributes in this metadata record
# we assume there eainfoNode has only one 'detailed' child
attrlablNodes = eainfo.getElementsByTagName('attrlabl')
attribs = []
detailed = dom.getElementsByTagName('detailed')[0]
for nd in attrlablNodes:
attribs.append(nd.firstChild.data)
for fieldName in fldNameList:
if not fieldName in attribs:
attr = dom.createElement('attr')
attrlabl = __newElement(dom,'attrlabl',fieldName)
attr.appendChild(attrlabl)
detailed.appendChild(attr)
#update the entity description and entity description source
if fc in entityDict or ( fc[0:2] == 'CS' and fc[2:] in entityDict):
enttypl = dom.getElementsByTagName('enttypl')
if len(enttypl) > 0:
enttyp = enttypl[0].parentNode
# entity description node
if fc[0:2] == 'CS':
descriptionText = entityDict[fc[2:]]
else:
descriptionText = entityDict[fc]
newEnttypd = __newElement(dom,'enttypd',descriptionText)
__appendOrReplace(enttyp,newEnttypd,'enttypd')
# entity description source node
newEnttypds = __newElement(dom,'enttypds',ncgmp)
__appendOrReplace(enttyp,newEnttypds,'enttypds')
#update attribute descriptions and value domains
dom = __updateEntityAttributes(fc, fldNameList, dom, logFile)
return dom
def writeDomToFile(workDir,dom,fileName):
if debug:
addMsgAndPrint(arcpy.env.workspace)
addMsgAndPrint('fileName='+fileName)
outf = open(os.path.join(workDir,fileName),'w')
dom.writexml(outf)
outf.close()
def writeGdbDesc(gdb):
desc = 'The geodatabase contains the following elements: '
arcpy.env.workspace = gdb
for aTable in arcpy.ListTables():
desc = desc+'non-spatial table '+ aTable+' ('+str(numberOfRows(aTable))+' rows); '
for anFds in arcpy.ListDatasets():
desc = desc + 'feature dataset '+anFds+' which contains '
fcs = arcpy.ListFeatureClasses('','All',anFds)
if len(fcs) == 1:
desc = desc + 'feature class '+fcs[0]+' ('+str(numberOfRows(fcs[0]))+' features); '
else:
for n in range(0,len(fcs)-1):
desc = desc+'feature class '+fcs[n]+' ('+str(numberOfRows(fcs[n]))+' features), '
lastn = len(fcs)-1
desc = desc+'and feature class '+fcs[lastn]+' ('+str(numberOfRows(fcs[lastn]))+' features); '
desc = desc[:-2]+'. '
return desc
def writeFdsDesc(gdb,fdsName):
if fdsName in entityDict:
desc = entityDict[fdsName] +' It contains the following elements: '
else:
desc = 'Feature dataset '+fdsName+' contains the following elements: '
arcpy.env.workspace = gdb+'/'+fdsName
fcs = arcpy.ListFeatureClasses('','All')
if len(fcs) == 1:
desc = desc + 'feature class '+fcs[0]+' ('+str(numberOfRows(fcs[0]))+' features); '
else:
for n in range(0,len(fcs)-2):
desc = desc+'feature class '+fcs[n]+' ('+str(numberOfRows(fcs[n]))+' features), '
lastn = len(fcs)-1
desc = desc+'and feature class '+fcs[lastn]+' ('+str(numberOfRows(fcs[lastn]))+' features). '
desc = desc[:-2]+'. '
return desc
##############################################################################
inGdb = sys.argv[1]
inGdb = os.path.abspath(inGdb)
workDir = os.path.dirname(inGdb)
gdb = os.path.basename(inGdb)
## supplement entity and field dictionaries from GeMS_Definition
if sys.argv[2] != '#':
if os.path.exists(sys.argv[2]):
myDefs = imp.load_source('module1',sys.argv[2])
myDefs.addDefs()
#forceExit()
######
gloss = os.path.join(inGdb, 'Glossary')
dataSources = os.path.join(inGdb, 'DataSources')
DMU = os.path.join(inGdb, 'DescriptionOfMapUnits')
gmDict = os.path.join(inGdb, 'GeoMaterialDict')
logFileName = inGdb+'-metadataLog.txt'
xmlFileMR = gdb+'-MR.xml'
xmlFileGdb = gdb+'.xml'
# export master record
fXML = workDir+'/'+gdb+ '.xml'
addMsgAndPrint('fXML = '+fXML)
if os.path.exists(fXML):
os.remove(fXML)
gdbObj = inGdb+'/GeologicMap'
if debug:
addMsgAndPrint(' gdbObj = '+gdbObj)
addMsgAndPrint(' translator = '+translator)
addMsgAndPrint(' fXML = '+fXML)
arcpy.ExportMetadata_conversion(gdbObj,translator,fXML)
addMsgAndPrint(' Metadata for GeologicMap exported to file ')
addMsgAndPrint(' '+fXML)
# parse xml to DOM
try:
domMR = xml.dom.minidom.parse(fXML)
addMsgAndPrint(' Master record parsed successfully')
# should then delete xml file
if not debug: os.remove(fXML)
except:
addMsgAndPrint(arcpy.GetMessages())
addMsgAndPrint('Failed to parse '+fXML)
raise arcpy.ExecuteError
sys.exit()
# clean up master record
## purge of eainfo and spdoinfo
for nodeTag in ('eainfo','spdoinfo'):
domMR = purgeChildren(domMR,nodeTag)
## get rid of extra <themekt>ISO 19115 Topic Categories entries
#domMR = purgeIdenticalSiblings(domMR,'themekt','ISO 19115 Topic Categories')
## fix title
domMR = cleanTitle(domMR)
## ensure that there is an eainfo node
try:
eanode = domMR.getElementsByTagName('eainfo')[0]
except:
rtNode = domMR.getElementsByTagName('metadata')[0]
eanode = domMR.createElement('eainfo')
rtNode.appendChild(eanode)
writeDomToFile(workDir,domMR,xmlFileMR)
addMsgAndPrint(' Running mp on master metadata record '+xmlFileMR+':')
if os.path.exists(logFileName):
os.remove(logFileName)
arcpy.USGSMPTranslator_conversion(os.path.join(workDir,xmlFileMR),'#','#','#',logFileName)
for aline in open(logFileName,'r').readlines():
addMsgAndPrint(aline[:-1])
addMsgAndPrint(' ')
logFile = open(logFileName,'a')
# import to geodatabase as whole
arcpy.env.workspace = workDir
supplementaryInfo = gdb+gdbDesc0a+gdbDesc2+gdbDesc3
dom = addSupplinf(domMR,supplementaryInfo)
eainfo = dom.getElementsByTagName('eainfo')[0]
gdbDesc = writeGdbDesc(inGdb) # listing of all tables, feature datasets, feature classes
dom = eaoverviewDom(dom,eainfo,gdbDesc,eaoverviewCitation)
addMsgAndPrint(' Importing XML to metadata for GDB as a whole')
writeDomToFile(workDir,dom,xmlFileGdb)
try:
arcpy.ImportMetadata_conversion(os.path.join(workDir,xmlFileGdb),'FROM_FGDC',inGdb,'ENABLED')
except:
addMsgAndPrint('Failed to import '+os.path.join(workDir,xmlFileGdb))
# import to tables
arcpy.env.workspace = inGdb
tables = arcpy.ListTables()
for aTable in tables:
revisedMetadata = gdb+'-'+aTable+'.xml'
addMsgAndPrint(' Creating XML for '+aTable)
dom = xml.dom.minidom.parse(os.path.join(workDir,xmlFileMR))
dom = titleSuffix(dom,': table '+aTable)
supplementaryInfo = 'Table '+aTable+gdbDesc0b+gdbDesc2
dom = addSupplinf(dom,supplementaryInfo)
dom = updateTableDom(dom,aTable,logFile)
addMsgAndPrint(' Importing XML to metadata for table '+aTable)
writeDomToFile(workDir,dom,revisedMetadata)
try:
arcpy.ImportMetadata_conversion(os.path.join(workDir,revisedMetadata),'FROM_FGDC',inGdb+'/'+aTable,'ENABLED')
except:
addMsgAndPrint('Failed to import '+os.path.join(workDir,revisedMetadata))
# import to feature datasets and constituent feature classes
arcpy.env.workspace = inGdb
fds = arcpy.ListDatasets('','Feature')
for anFds in fds:
revisedMetadata = gdb+'-'+anFds+'.xml'
addMsgAndPrint(' Creating XML for '+anFds)
dom = xml.dom.minidom.parse(os.path.join(workDir,xmlFileMR))
dom = titleSuffix(dom,': feature dataset '+anFds)
supplementaryInfo = 'Feature dataset '+anFds+gdbDesc0b+gdbDesc2
dom = addSupplinf(dom,supplementaryInfo)
if anFds in entityDict:
overText = entityDict[anFds]
overSrc = ncgmpFullRef
elif anFds.find('CrossSection') == 0:
overText = entityDict['CrossSection']
overSrc = ncgmpFullRef
else:
overText = '**Need Description of '+anFds+'**'
overSrc = '**Need Description Source**'
logFile.write('No description for entity '+anFds+'\n')
logFile.write('No description source for entity '+anFds+'\n')
eainfo = dom.getElementsByTagName('eainfo')[0]
dom = eaoverviewDom(dom,eainfo,overText,overSrc)
addMsgAndPrint(' Importing XML to metadata for '+anFds)
writeDomToFile(workDir,dom,revisedMetadata)
arcpy.ImportMetadata_conversion(os.path.join(workDir,revisedMetadata),'FROM_FGDC',inGdb+'/'+anFds,'ENABLED')
fcs = arcpy.ListFeatureClasses('','All',anFds)
del dom
for anFc in fcs:
revisedMetadata = inGdb + '-' + anFc + '.xml'
addMsgAndPrint(' Creating XML for '+anFc)
dom = xml.dom.minidom.parse(os.path.join(workDir,xmlFileMR))
dom = titleSuffix(dom,': feature class '+anFds+'/'+anFc)
supplementaryInfo = 'Feature class '+anFc+gdbDesc0b+gdbDesc2
dom = addSupplinf(dom,supplementaryInfo)
dom = updateTableDom(dom,anFc,logFile)
addMsgAndPrint(' Importing XML to metadata for '+anFc)
writeDomToFile(workDir,dom,revisedMetadata)
arcpy.ImportMetadata_conversion(revisedMetadata,'FROM_FGDC',inGdb+'/'+anFds+'/'+anFc,'ENABLED')
del dom
# clean up empty log files
addMsgAndPrint(' Deleting empty log files')
logfiles = glob.glob(workDir+'/*.log')
for lf in logfiles:
if os.path.getsize(lf) == 0:
addMsgAndPrint(' deleting '+os.path.basename(lf))
os.remove(lf)
addMsgAndPrint('\nBe sure to check file '+os.path.basename(logFileName)+' !')
logFile.close()
| [
1,
9995,
13,
2154,
304,
16326,
7632,
310,
315,
7230,
21576,
29906,
29899,
3293,
15562,
363,
385,
1879,
4345,
29899,
3293,
1737,
397,
3223,
29889,
13,
13,
1762,
671,
29892,
13,
1678,
7525,
15758,
403,
9112,
304,
1207,
1854,
393,
278,
2566,
338,
4866,
322,
727,
526,
13,
539,
694,
4567,
27692,
29965,
29892,
402,
6758,
653,
29892,
470,
3630,
29903,
2863,
9976,
13,
1678,
512,
22711,
29907,
3968,
29892,
748,
304,
8701,
675,
29958,
5856,
29958,
18417,
322,
731,
4737,
7221,
22135,
304,
13,
539,
376,
29943,
29954,
12696,
315,
7230,
21576,
4737,
7221,
1642,
29871,
9280,
322,
6876,
29889,
29871,
13,
1678,
512,
22711,
29907,
3968,
29892,
671,
278,
22711,
29954,
3235,
15562,
6920,
304,
4866,
278,
2407,
363,
278,
13,
539,
1879,
1189,
293,
3388,
4682,
8783,
29889,
16913,
29889,
6058,
29923,
3446,
1299,
6514,
4436,
470,
366,
1653,
13,
539,
297,
445,
5835,
15562,
2407,
674,
367,
10847,
3730,
13089,
630,
304,
15562,
13,
539,
6475,
363,
599,
5633,
310,
278,
1737,
397,
3223,
29991,
13,
1678,
7525,
2471,
1879,
4345,
29918,
18417,
29907,
7230,
21576,
29906,
29918,
1433,
29883,
29896,
29900,
29889,
29896,
29889,
2272,
29889,
910,
2471,
674,
29901,
13,
539,
1222,
637,
278,
1879,
1189,
293,
3388,
15562,
2407,
297,
315,
7230,
21576,
29906,
3402,
13,
539,
19919,
445,
15562,
10029,
363,
671,
408,
263,
5835,
2407,
13,
539,
1152,
278,
1737,
397,
3223,
408,
263,
3353,
322,
363,
1269,
7855,
313,
2371,
29892,
4682,
8783,
29892,
13,
4706,
4682,
770,
29897,
297,
278,
1737,
397,
3223,
29901,
13,
965,
10061,
583,
278,
5835,
2407,
29889,
13,
965,
3462,
29879,
1462,
944,
284,
2472,
313,
1433,
29883,
29954,
3235,
13676,
445,
297,
2538,
283,
346,
29901,
10602,
29897,
13,
795,
1048,
278,
278,
1879,
4345,
3918,
322,
2145,
1237,
310,
278,
1737,
397,
3223,
29889,
29871,
13,
965,
3462,
29879,
263,
6139,
310,
278,
7855,
4586,
515,
278,
1879,
4345,
5106,
29889,
13,
965,
3462,
29879,
7855,
29899,
12715,
2472,
4586,
515,
278,
1879,
4345,
5106,
13,
795,
322,
278,
27692,
29965,
29892,
402,
6758,
653,
29892,
322,
3630,
29903,
2863,
6131,
310,
278,
1737,
397,
3223,
29889,
13,
965,
16849,
267,
445,
6560,
304,
263,
934,
297,
278,
3884,
393,
3743,
278,
1737,
397,
3223,
29889,
13,
965,
1954,
4011,
445,
6560,
964,
278,
1737,
397,
3223,
408,
15562,
363,
278,
8210,
7855,
29889,
13,
1678,
7419,
472,
934,
529,
479,
397,
271,
370,
294,
3871,
29958,
29899,
19635,
3403,
29889,
3945,
304,
1074,
825,
5633,
310,
607,
15562,
13,
418,
6475,
817,
304,
367,
8676,
491,
1361,
29889,
910,
674,
6403,
29693,
366,
10985,
278,
13,
418,
2566,
10938,
8724,
278,
10938,
714,
21354,
297,
278,
1879,
4345,
5106,
29889,
13,
418,
18610,
9842,
393,
445,
2471,
8128,
363,
263,
934,
393,
3345,
1078,
6139,
310,
596,
13,
418,
17752,
304,
278,
1879,
4345,
10938,
577,
393,
366,
817,
451,
3863,
15562,
491,
1361,
489,
4149,
13,
418,
934,
590,
29918,
7999,
4345,
3206,
262,
2187,
29889,
2272,
297,
278,
1879,
4345,
14415,
29879,
3884,
29889,
17435,
29871,
13,
1678,
13377,
1103,
15562,
6475,
297,
22711,
29907,
3968,
313,
1552,
12953,
4434,
29897,
304,
1074,
393,
896,
526,
13,
418,
4866,
29889,
13,
1678,
4673,
7160,
6560,
2066,
297,
4714,
304,
1074,
393,
896,
526,
8210,
29889,
2522,
273,
363,
7929,
13,
418,
9976,
29889,
29871,
13,
13,
3492,
864,
17723,
15562,
29973,
10726,
596,
4737,
7221,
22135,
322,
2329,
6475,
773,
278,
13,
1433,
29883,
29907,
3968,
15562,
6920,
29889,
1222,
637,
408,
17723,
310,
596,
21054,
272,
29892,
297,
578,
15641,
408,
22711,
29907,
3968,
6511,
29889,
13,
12024,
502,
1073,
920,
445,
1736,
29889,
13,
13,
27573,
29901,
9508,
29958,
7999,
4345,
29918,
18417,
29907,
7230,
21576,
29906,
29918,
1433,
29883,
29896,
29900,
29889,
29896,
29889,
2272,
529,
479,
397,
3223,
29958,
13,
13,
29966,
5813,
29958,
322,
529,
5813,
10202,
3148,
1879,
5996,
23218,
13,
29966,
26862,
6227,
10202,
529,
26862,
6227,
29958,
268,
13,
15945,
29908,
13,
29937,
29871,
29896,
29955,
4779,
29871,
29906,
29900,
29896,
29955,
29871,
678,
4618,
405,
11135,
3580,
29900,
29929,
304,
1879,
4345,
29892,
2992,
29889,
13,
29937,
29871,
29896,
29947,
3786,
29871,
29906,
29900,
29896,
29955,
29871,
25601,
19725,
3168,
29892,
1887,
5023,
29899,
17588,
934,
13,
29937,
29871,
29896,
29906,
3111,
29871,
29906,
29900,
29896,
29955,
3382,
2164,
304,
18720,
1879,
29877,
24095,
29892,
1879,
29877,
24095,
16376,
5084,
29892,
322,
1879,
29877,
24095,
21533,
29889,
13,
29937,
268,
25601,
1353,
310,
4206,
297,
1269,
1591,
304,
330,
2585,
6139,
297,
9179,
944,
284,
3401,
13,
13,
29937,
18417,
11301,
313,
17518,
18417,
29918,
535,
3259,
29897,
338,
451,
6969,
297,
1019,
408,
310,
29871,
29896,
29947,
29900,
29929,
29906,
29953,
29892,
541,
338,
373,
278,
6520,
1958,
29889,
13,
13,
5215,
15232,
2272,
29892,
10876,
29892,
2897,
29889,
2084,
29892,
3509,
29892,
2411,
29892,
13149,
13,
3166,
1879,
4345,
29918,
14683,
1053,
22447,
630,
1917,
15951,
3073,
1293,
29892,
3464,
15951,
21533,
29892,
443,
276,
6338,
519,
15951,
21533,
29892,
1098,
1091,
21533,
29892,
7855,
21533,
29892,
1879,
29877,
9782,
16376,
21533,
13,
3166,
1879,
4345,
29918,
329,
1793,
6678,
29879,
1053,
334,
13,
3166,
4903,
29889,
3129,
29889,
1195,
333,
290,
1053,
334,
13,
13,
3259,
1231,
353,
525,
7999,
4345,
29918,
18417,
29907,
7230,
21576,
29906,
29918,
1433,
29883,
29896,
29900,
29889,
2272,
29892,
1873,
310,
29871,
29896,
29900,
5846,
29871,
29906,
29900,
29896,
29955,
29915,
13,
3286,
29880,
1061,
353,
15232,
2272,
29889,
2577,
23271,
3401,
703,
20858,
1159,
3366,
23271,
9170,
3108,
23097,
18417,
29914,
4300,
29880,
1061,
29914,
1718,
11135,
3235,
29906,
29943,
29954,
12696,
29889,
3134,
29915,
13,
13,
8382,
353,
7700,
13,
13,
17608,
29887,
1526,
353,
525,
7999,
4345,
29915,
13,
17608,
29887,
1526,
13658,
5620,
353,
18793,
7999,
4345,
313,
7999,
1189,
293,
7315,
1102,
2603,
17389,
29874,
3918,
3402,
363,
13436,
17745,
310,
1737,
1189,
293,
11053,
29892,
1873,
29871,
29906,
29889,
29900,
613,
3625,
472,
1732,
597,
865,
29885,
2585,
29889,
375,
3174,
29889,
13513,
29914,
3401,
29914,
1689,
3163,
29914,
7999,
4345,
22208,
13,
13,
11248,
957,
1493,
29907,
7018,
353,
525,
29928,
11881,
2342,
1980,
310,
16212,
29892,
8393,
29892,
322,
5352,
1819,
526,
2183,
297,
15562,
363,
10719,
296,
3161,
310,
445,
20842,
8783,
29889,
2823,
884,
525,
29974,
17608,
29887,
1526,
13658,
5620,
29974,
4286,
29915,
13,
13,
29887,
2585,
19617,
29900,
29874,
353,
525,
338,
263,
20842,
1737,
397,
271,
24541,
393,
378,
9514,
304,
525,
29974,
17608,
29887,
1526,
13658,
5620,
29974,
4286,
525,
13,
29887,
2585,
19617,
29900,
29890,
353,
525,
338,
760,
310,
263,
20842,
1737,
397,
271,
24541,
393,
378,
9514,
304,
525,
29974,
17608,
29887,
1526,
13658,
5620,
29974,
4286,
525,
13,
13,
29887,
2585,
19617,
29906,
353,
525,
18417,
6475,
6942,
411,
1269,
1543,
2629,
278,
1737,
397,
271,
24541,
1712,
901,
13173,
2342,
1980,
310,
1009,
11976,
29892,
10719,
296,
16212,
29892,
322,
8393,
29889,
525,
13,
13,
29887,
2585,
19617,
29941,
353,
6702,
13985,
8267,
1445,
6910,
310,
278,
8783,
526,
884,
3625,
29889,
450,
6418,
1430,
8267,
1445,
1873,
11624,
525,
29974,
13,
29915,
974,
8267,
5325,
29892,
6535,
29943,
2066,
29892,
322,
628,
326,
1573,
1426,
2066,
322,
11551,
29879,
599,
2472,
297,
278,
7531,
525,
29974,
13,
29915,
479,
397,
3223,
29892,
541,
777,
8720,
674,
5517,
367,
5181,
304,
24940,
1438,
7117,
964,
525,
29974,
13,
29915,
27979,
21971,
29889,
450,
22717,
3580,
1307,
8267,
1445,
1873,
11624,
871,
310,
8267,
5325,
322,
338,
5948,
1304,
29892,
541,
525,
29974,
13,
29915,
2364,
29879,
777,
2472,
2198,
297,
278,
7531,
1737,
397,
3223,
29889,
1495,
13,
13,
13,
1753,
4770,
4397,
2816,
20083,
29898,
4632,
4247,
29892,
1482,
4247,
29892,
3177,
8176,
1125,
13,
1678,
565,
7431,
29898,
4632,
4247,
29889,
22266,
29269,
29898,
3177,
8176,
876,
1275,
29871,
29900,
29901,
13,
4706,
3876,
4247,
29889,
23850,
29898,
1482,
4247,
29897,
13,
1678,
1683,
29901,
13,
4706,
3876,
4247,
29889,
6506,
5938,
29898,
1482,
4247,
29892,
4632,
4247,
29889,
22266,
29269,
29898,
3177,
8176,
9601,
29900,
2314,
13,
13,
1753,
4770,
2671,
1170,
1293,
29898,
13801,
1125,
13,
1678,
396,
11609,
29879,
263,
1051,
310,
1746,
2983,
515,
8989,
29889,
978,
297,
15232,
2272,
29889,
1293,
14256,
13,
1678,
285,
430,
1293,
353,
15232,
2272,
29889,
1293,
14256,
29898,
13801,
29897,
13,
1678,
1024,
1293,
353,
5159,
13,
1678,
363,
285,
430,
297,
285,
430,
1293,
29901,
13,
4706,
565,
451,
285,
430,
29889,
978,
297,
6702,
14824,
17637,
1367,
742,
525,
7068,
3301,
29923,
3788,
24111,
742,
525,
24111,
29918,
6513,
742,
525,
24111,
29918,
13799,
29374,
13,
9651,
1024,
1293,
29889,
4397,
29898,
29888,
430,
29889,
978,
29897,
268,
13,
1678,
736,
1024,
1293,
13,
13,
1753,
4770,
2886,
797,
1220,
5620,
29898,
4993,
1367,
1125,
13,
1678,
396,
14061,
278,
512,
1220,
3407,
363,
1269,
3630,
4435,
29918,
1367,
13,
1678,
2346,
353,
18793,
1469,
29903,
2863,
29918,
1367,
29908,
353,
320,
4907,
718,
2752,
1367,
718,
11297,
4907,
13,
1678,
4206,
353,
15232,
2272,
29889,
7974,
19890,
29898,
1272,
29903,
2863,
29892,
2346,
29897,
13,
1678,
1948,
353,
2446,
29898,
5727,
29897,
13,
1678,
565,
451,
1948,
338,
6213,
29901,
13,
4706,
396,
2457,
1948,
29889,
797,
1220,
13,
4706,
736,
1948,
29889,
4435,
13,
1678,
1683,
29901,
13,
4706,
736,
5124,
13,
13,
1753,
4770,
1482,
2642,
29898,
3129,
29892,
4039,
29892,
726,
1125,
13,
268,
299,
353,
2432,
29889,
22662,
29898,
4039,
29897,
13,
268,
299,
1626,
353,
2432,
29889,
3258,
1626,
4247,
29898,
726,
29897,
13,
268,
299,
29889,
23850,
29898,
299,
1626,
29897,
13,
1678,
736,
29871,
299,
13,
13,
1753,
4770,
5504,
25098,
3206,
29898,
29888,
430,
29892,
3129,
1125,
13,
1678,
444,
5029,
4055,
2983,
526,
13,
1678,
444,
12421,
632,
353,
23833,
13,
1678,
444,
12421,
8205,
29880,
308,
353,
23833,
29918,
4775,
13,
1678,
444,
12421,
1753,
3986,
353,
23833,
29918,
14683,
13,
1678,
444,
12421,
1753,
29879,
308,
353,
23833,
29918,
14683,
29918,
4435,
13,
1678,
3858,
20284,
353,
2432,
29889,
22266,
29269,
877,
5552,
8205,
29880,
1495,
13,
1678,
363,
12421,
8205,
29880,
297,
3858,
20284,
29901,
13,
4706,
565,
12421,
8205,
29880,
29889,
4102,
5938,
29889,
1272,
1275,
285,
430,
29901,
13,
9651,
12421,
353,
12421,
8205,
29880,
29889,
3560,
4247,
4706,
13,
9651,
565,
285,
430,
29889,
2886,
877,
29918,
1367,
1495,
1405,
448,
29896,
29901,
13,
18884,
396,
23764,
10035,
903,
1367,
1746,
363,
2702,
13,
18884,
12421,
1753,
1626,
353,
1098,
1091,
21533,
1839,
29918,
1367,
2033,
13,
9651,
1683,
29901,
13,
18884,
12421,
1753,
1626,
353,
1098,
1091,
21533,
29961,
29888,
430,
29962,
13,
9651,
12421,
1753,
353,
4770,
1482,
2642,
29898,
3129,
5501,
5552,
1753,
742,
5552,
1753,
1626,
29897,
13,
9651,
4770,
4397,
2816,
20083,
29898,
5552,
29892,
5552,
1753,
5501,
5552,
1753,
1495,
13,
9651,
12421,
1753,
29879,
353,
4770,
1482,
2642,
29898,
3129,
5501,
5552,
1753,
29879,
742,
17608,
29887,
1526,
29897,
13,
9651,
4770,
4397,
2816,
20083,
29898,
5552,
29892,
5552,
1753,
29879,
5501,
5552,
1753,
29879,
1495,
13,
1678,
736,
2432,
13,
13,
1753,
4770,
5504,
29923,
3129,
29898,
29888,
430,
29892,
822,
29879,
29892,
2432,
1125,
13,
1678,
444,
5029,
4055,
2983,
526,
13,
1678,
444,
12421,
632,
353,
23833,
13,
1678,
444,
12421,
3129,
29894,
308,
353,
23833,
29918,
15951,
29918,
9065,
13,
1678,
444,
1226,
290,
632,
353,
1174,
4680,
630,
29918,
15951,
13,
1678,
444,
1226,
290,
29894,
9651,
353,
1174,
4680,
630,
29918,
15951,
29918,
1917,
13,
1678,
444,
1226,
290,
29881,
9651,
353,
1174,
4680,
630,
29918,
15951,
29918,
14683,
13,
1678,
444,
1226,
290,
29894,
6289,
3986,
353,
1174,
4680,
630,
29918,
15951,
29918,
1917,
29918,
14683,
29918,
4435,
13,
1678,
3858,
20284,
353,
2432,
29889,
22266,
29269,
877,
5552,
8205,
29880,
1495,
13,
1678,
363,
12421,
8205,
29880,
297,
3858,
20284,
29901,
13,
4706,
565,
12421,
8205,
29880,
29889,
4102,
5938,
29889,
1272,
1275,
285,
430,
29901,
13,
9651,
12421,
353,
12421,
8205,
29880,
29889,
3560,
4247,
13,
9651,
12421,
3129,
29894,
353,
2432,
29889,
22662,
877,
5552,
3129,
29894,
1495,
13,
9651,
363,
413,
297,
822,
29879,
29889,
7076,
7295,
13,
18884,
1226,
290,
353,
2432,
29889,
22662,
877,
11607,
1495,
13,
18884,
1226,
290,
29894,
353,
4770,
1482,
2642,
29898,
3129,
5501,
11607,
29894,
742,
29895,
29961,
29900,
2314,
13,
18884,
1226,
290,
27491,
353,
4770,
1482,
2642,
29898,
3129,
5501,
11607,
27491,
742,
29895,
29961,
29896,
3816,
29900,
2314,
13,
18884,
1226,
290,
29889,
23850,
29898,
11607,
29894,
29897,
13,
18884,
1226,
290,
29889,
23850,
29898,
11607,
27491,
29897,
13,
18884,
565,
7431,
29898,
29895,
29961,
29896,
3816,
29896,
2314,
1405,
29871,
29900,
29901,
13,
462,
1678,
1226,
290,
29894,
6289,
353,
4770,
1482,
2642,
29898,
3129,
5501,
11607,
29894,
6289,
742,
29895,
29961,
29896,
3816,
29896,
2314,
13,
462,
1678,
1226,
290,
29889,
23850,
29898,
11607,
29894,
6289,
29897,
462,
462,
13,
18884,
12421,
3129,
29894,
29889,
23850,
29898,
11607,
29897,
13,
9651,
4770,
4397,
2816,
20083,
29898,
5552,
29892,
5552,
3129,
29894,
5501,
5552,
3129,
29894,
1495,
13,
1678,
736,
2432,
13,
13,
1753,
4770,
5504,
6691,
15801,
29898,
13801,
29892,
285,
430,
1293,
29892,
2432,
29892,
1480,
2283,
1125,
13,
1678,
9995,
2831,
1269,
5352,
313,
2671,
29897,
297,
285,
430,
1293,
29892,
13,
4706,
12778,
5352,
5023,
322,
5023,
2752,
29892,
13,
4706,
770,
11057,
408,
3464,
5354,
29892,
443,
276,
6338,
519,
29899,
1767,
5354,
470,
22447,
630,
29899,
1767,
5354,
29892,
322,
29871,
13,
9651,
363,
3464,
21904,
29892,
12778,
19120,
331,
262,
29892,
19120,
331,
1165,
29892,
322,
10340,
29936,
13,
9651,
363,
443,
276,
6338,
519,
995,
21904,
29892,
12778,
443,
276,
6338,
519,
995,
3229,
29936,
29871,
13,
9651,
363,
22447,
630,
995,
21904,
29901,
13,
632,
29896,
29897,
10987,
29879,
599,
20704,
29899,
29894,
542,
370,
352,
653,
4235,
297,
278,
1591,
2665,
304,
372,
13,
632,
29906,
29897,
8878,
29879,
263,
731,
310,
5412,
4958,
297,
1269,
1746,
29892,
19282,
29892,
278,
5354,
13,
632,
29941,
29897,
14514,
267,
1269,
5354,
995,
304,
385,
6251,
297,
278,
3144,
2209,
653,
13,
632,
29946,
29897,
8878,
29879,
263,
8600,
310,
1840,
5919,
16553,
29892,
2752,
29897,
4452,
13,
632,
29945,
29897,
323,
6926,
278,
8600,
4452,
322,
1925,
963,
964,
278,
15562,
13,
795,
1842,
408,
23833,
29918,
15951,
29918,
9065,
13,
4706,
8989,
7315,
8325,
297,
1591,
12953,
2776,
3388,
2525,
1169,
338,
14914,
408,
263,
4266,
1206,
29889,
13,
4706,
9995,
13,
1678,
5107,
2886,
14343,
353,
5159,
13,
1678,
5107,
2886,
1917,
353,
5159,
13,
1678,
363,
285,
430,
297,
285,
430,
1293,
29901,
539,
13,
4706,
788,
16190,
2855,
11816,
29898,
525,
418,
8989,
29901,
525,
29974,
285,
430,
29897,
13,
4706,
396,
565,
338,
903,
1367,
1746,
470,
565,
1746,
5023,
338,
3625,
29892,
2767,
5023,
13,
4706,
565,
285,
430,
29889,
2886,
877,
29918,
1367,
1495,
1405,
448,
29896,
470,
285,
430,
297,
1098,
1091,
21533,
29901,
13,
9651,
2432,
353,
4770,
5504,
25098,
3206,
29898,
29888,
430,
29892,
3129,
29897,
13,
4706,
1683,
29901,
13,
9651,
5107,
2886,
14343,
29889,
4397,
29898,
29888,
430,
29897,
13,
4706,
396,
361,
445,
338,
385,
903,
1367,
1746,
13,
4706,
565,
285,
430,
29889,
2886,
877,
29918,
1367,
1495,
1405,
448,
29896,
29901,
13,
9651,
2432,
353,
4770,
5504,
29965,
3129,
29898,
29888,
430,
29892,
3129,
29892,
348,
276,
6338,
519,
15951,
21533,
1839,
29918,
1367,
11287,
13,
4706,
396,
361,
445,
338,
1790,
443,
276,
6338,
519,
29899,
7247,
1746,
13,
4706,
565,
285,
430,
297,
443,
276,
6338,
519,
15951,
21533,
29901,
13,
9651,
2432,
353,
4770,
5504,
29965,
3129,
29898,
29888,
430,
29892,
3129,
29892,
348,
276,
6338,
519,
15951,
21533,
29961,
29888,
430,
2314,
13,
4706,
396,
361,
445,
338,
263,
3342,
3464,
29899,
7247,
1746,
13,
4706,
25342,
285,
430,
297,
3464,
15951,
21533,
29901,
13,
9651,
2432,
353,
4770,
5504,
29934,
3129,
29898,
29888,
430,
29892,
3129,
29897,
13,
4706,
396,
361,
445,
338,
7315,
8325,
297,
27692,
29965,
13,
4706,
25342,
285,
430,
1275,
525,
3388,
8325,
29915,
322,
285,
29883,
1275,
525,
9868,
2776,
3388,
2525,
1169,
2396,
13,
9651,
2432,
353,
4770,
5504,
29965,
3129,
29898,
29888,
430,
29892,
3129,
29892,
348,
276,
6338,
519,
15951,
21533,
1839,
4381,
11287,
13,
4706,
396,
361,
445,
338,
263,
3342,
1174,
4680,
630,
7865,
28460,
1746,
13,
4706,
25342,
285,
430,
297,
22447,
630,
1917,
15951,
3073,
1293,
29901,
13,
9651,
659,
1293,
353,
5159,
13,
9651,
396,
3258,
263,
2740,
10677,
373,
278,
1746,
13,
9651,
4206,
353,
15232,
2272,
29889,
7974,
19890,
29898,
13801,
5501,
3788,
742,
285,
430,
29897,
13,
9651,
1948,
353,
2446,
29898,
5727,
29897,
9651,
13,
9651,
396,
15914,
599,
1819,
29914,
357,
1516,
297,
393,
1746,
13,
9651,
1550,
1948,
29901,
13,
18884,
565,
451,
1948,
29889,
23433,
29898,
29888,
430,
29897,
338,
6213,
29901,
13,
462,
1678,
659,
1293,
29889,
4397,
29898,
798,
29889,
23433,
29898,
29888,
430,
876,
13,
18884,
1948,
353,
2446,
29898,
5727,
29897,
632,
13,
9651,
396,
3909,
339,
1598,
278,
1051,
491,
17415,
372,
304,
263,
731,
1203,
13,
9651,
659,
1293,
353,
731,
29898,
791,
1293,
29897,
13,
9651,
396,
3258,
385,
4069,
8600,
1203,
304,
4808,
278,
7087,
1546,
278,
5412,
4958,
13,
9651,
396,
392,
1009,
15848,
313,
3874,
1327,
287,
515,
278,
3144,
2209,
653,
29897,
13,
9651,
822,
29879,
353,
6571,
13,
9651,
396,
1454,
1269,
5412,
1840,
29892,
1018,
304,
1653,
263,
2740,
10677,
310,
925,
697,
2407,
988,
278,
1840,
13,
9651,
396,
4352,
29879,
263,
11814,
1746,
995,
515,
278,
3144,
2209,
653,
13,
9651,
565,
285,
430,
1275,
525,
3388,
8325,
29915,
322,
285,
29883,
2804,
525,
9868,
2776,
3388,
2525,
1169,
2396,
13,
18884,
363,
260,
297,
659,
1293,
29901,
632,
13,
462,
1678,
2346,
353,
18793,
3388,
8325,
29908,
353,
320,
4907,
718,
260,
718,
11297,
4907,
13,
462,
1678,
4206,
353,
15232,
2272,
29889,
7974,
19890,
29898,
23560,
29965,
29892,
2346,
29897,
13,
462,
1678,
1948,
353,
2446,
29898,
5727,
29897,
13,
462,
1678,
396,
361,
278,
2740,
18127,
3743,
263,
1948,
13,
462,
1678,
565,
1948,
29901,
13,
462,
4706,
396,
3258,
385,
6251,
297,
278,
8600,
310,
1840,
10834,
16553,
29892,
2752,
29962,
1820,
29901,
1767,
11000,
13,
462,
4706,
396,
1366,
338,
920,
591,
674,
26985,
1549,
278,
22447,
630,
29918,
7247,
4004,
13,
462,
4706,
822,
29879,
29961,
29873,
29962,
353,
5159,
13,
462,
4706,
565,
1948,
29889,
13658,
1170,
2804,
6213,
29901,
13,
462,
9651,
822,
29879,
29961,
29873,
1822,
4397,
29898,
798,
29889,
13658,
1170,
29889,
12508,
877,
9420,
29918,
29947,
8785,
13,
462,
9651,
822,
29879,
29961,
29873,
1822,
4397,
877,
1366,
3461,
29892,
1591,
12953,
2776,
3388,
2525,
1169,
1495,
13,
462,
4706,
1683,
29901,
13,
462,
9651,
788,
16190,
2855,
11816,
877,
3388,
8325,
353,
525,
29974,
29873,
29974,
742,
14846,
1170,
451,
3342,
1495,
13,
462,
9651,
822,
29879,
29961,
29873,
1822,
4397,
29898,
798,
29889,
1170,
29889,
12508,
877,
9420,
29918,
29947,
8785,
13,
462,
9651,
822,
29879,
29961,
29873,
1822,
4397,
877,
1366,
3461,
29892,
1591,
12953,
2776,
3388,
2525,
1169,
1495,
13,
462,
1678,
1683,
29901,
13,
462,
4706,
565,
451,
260,
297,
6702,
3788,
525,
1125,
5107,
2886,
1917,
29889,
4397,
4197,
29888,
430,
29892,
29873,
2314,
13,
462,
308,
13,
9651,
25342,
285,
430,
1275,
525,
7999,
29877,
24095,
16376,
5084,
29915,
322,
285,
29883,
1275,
525,
9868,
2776,
3388,
2525,
1169,
2396,
13,
18884,
565,
4744,
29901,
13,
462,
1678,
788,
16190,
2855,
11816,
877,
23560,
29965,
847,
1879,
29877,
24095,
29879,
16376,
5084,
1495,
13,
18884,
822,
29879,
353,
1879,
29877,
9782,
16376,
21533,
13,
9651,
25342,
285,
430,
1275,
525,
7999,
29877,
24095,
29915,
322,
285,
29883,
1275,
525,
9868,
2776,
3388,
2525,
1169,
2396,
13,
18884,
565,
4744,
29901,
13,
462,
1678,
788,
16190,
2855,
11816,
877,
23560,
29965,
847,
1879,
29877,
24095,
29879,
29991,
1495,
13,
18884,
363,
260,
297,
659,
1293,
29901,
13,
462,
1678,
2346,
353,
18793,
7999,
29877,
24095,
29908,
353,
320,
4907,
718,
260,
718,
11297,
4907,
13,
462,
1678,
565,
4744,
29901,
13,
462,
4706,
788,
16190,
2855,
11816,
877,
1972,
2433,
29974,
1972,
29897,
13,
462,
1678,
4206,
353,
15232,
2272,
29889,
7974,
19890,
29898,
29887,
29885,
21533,
29892,
2346,
29897,
13,
462,
1678,
1948,
353,
2446,
29898,
5727,
29897,
13,
462,
1678,
396,
361,
278,
2740,
18127,
3743,
263,
1948,
13,
462,
1678,
565,
1948,
29901,
13,
462,
4706,
565,
4744,
29901,
13,
462,
9651,
788,
16190,
2855,
11816,
29898,
798,
29889,
7999,
29877,
24095,
23097,
584,
525,
29974,
798,
29889,
14683,
29889,
12508,
877,
9420,
29918,
29947,
8785,
13,
462,
4706,
396,
3258,
385,
6251,
297,
278,
8600,
310,
1840,
10834,
16553,
29892,
2752,
29962,
1820,
29901,
1767,
11000,
13,
462,
4706,
396,
1366,
338,
920,
591,
674,
26985,
1549,
278,
22447,
630,
29918,
7247,
4004,
13,
462,
4706,
822,
29879,
29961,
29873,
29962,
353,
5159,
13,
462,
4706,
822,
29879,
29961,
29873,
1822,
4397,
29898,
798,
29889,
14683,
29889,
12508,
877,
9420,
29918,
29947,
8785,
13,
462,
4706,
822,
29879,
29961,
29873,
1822,
4397,
877,
1879,
4345,
5106,
1495,
13,
462,
1678,
1683,
29901,
13,
462,
4706,
788,
16190,
2855,
11816,
877,
7999,
29877,
24095,
353,
525,
29974,
29873,
29974,
2396,
451,
3342,
297,
1879,
29877,
24095,
21533,
1495,
13,
462,
4706,
5107,
2886,
1917,
29889,
4397,
4197,
29888,
430,
29892,
29873,
2314,
4706,
13,
462,
13,
9651,
25342,
285,
430,
29889,
2886,
877,
4435,
1367,
1495,
1405,
448,
29896,
29901,
29871,
396,
338,
263,
2752,
1746,
13,
18884,
363,
260,
297,
659,
1293,
29901,
13,
462,
1678,
2346,
353,
18793,
1469,
29903,
2863,
29918,
1367,
29908,
353,
320,
4907,
718,
260,
718,
11297,
4907,
13,
462,
1678,
4206,
353,
15232,
2272,
29889,
7974,
19890,
29898,
1272,
29903,
2863,
29892,
2346,
29897,
13,
462,
1678,
1948,
353,
2446,
29898,
5727,
29897,
13,
462,
1678,
396,
361,
278,
2740,
18127,
3743,
263,
1948,
13,
462,
1678,
565,
1948,
29901,
13,
462,
4706,
396,
3258,
385,
6251,
297,
278,
8600,
310,
1840,
10834,
16553,
29892,
2752,
29962,
1820,
29901,
1767,
11000,
13,
462,
4706,
396,
1366,
338,
920,
591,
674,
26985,
1549,
278,
22447,
630,
29918,
7247,
4004,
13,
462,
4706,
822,
29879,
29961,
29873,
29962,
353,
5159,
13,
462,
4706,
822,
29879,
29961,
29873,
1822,
4397,
29898,
798,
29889,
4435,
29889,
12508,
877,
9420,
29918,
29947,
8785,
13,
462,
4706,
822,
29879,
29961,
29873,
1822,
4397,
877,
1366,
3461,
29892,
1591,
3630,
29903,
2863,
1495,
13,
462,
1678,
1683,
29901,
13,
462,
4706,
5107,
2886,
1917,
29889,
4397,
4197,
29888,
430,
29892,
29873,
2314,
13,
9651,
1683,
29901,
13,
18884,
363,
260,
297,
659,
1293,
29901,
13,
462,
1678,
2346,
353,
18793,
14343,
29908,
353,
525,
13578,
11838,
29974,
260,
718,
376,
11838,
13,
462,
1678,
565,
4744,
29901,
13,
462,
4706,
788,
16190,
2855,
11816,
877,
1972,
2433,
29974,
1972,
29897,
13,
462,
1678,
4206,
353,
15232,
2272,
29889,
7974,
19890,
29898,
3820,
2209,
29892,
2346,
29897,
13,
462,
1678,
1948,
353,
2446,
29898,
5727,
29897,
13,
462,
1678,
396,
361,
278,
2740,
18127,
3743,
263,
1948,
13,
462,
1678,
565,
1948,
29901,
13,
462,
4706,
396,
3258,
385,
6251,
297,
278,
8600,
310,
1840,
10834,
16553,
29892,
2752,
29962,
1820,
29901,
1767,
11000,
13,
462,
4706,
396,
1366,
338,
920,
591,
674,
26985,
1549,
278,
22447,
630,
29918,
7247,
4004,
13,
462,
4706,
822,
29879,
29961,
29873,
29962,
353,
5159,
13,
462,
4706,
822,
29879,
29961,
29873,
1822,
4397,
29898,
798,
29889,
14683,
29889,
12508,
877,
9420,
29918,
29947,
8785,
13,
462,
4706,
822,
29879,
29961,
29873,
1822,
4397,
22168,
2886,
797,
1220,
5620,
29898,
798,
29889,
14683,
4435,
1367,
467,
12508,
877,
9420,
29918,
29947,
8785,
13,
462,
1678,
1683,
29901,
13,
462,
4706,
565,
285,
430,
2804,
525,
7999,
29877,
24095,
29915,
322,
285,
29883,
2804,
525,
7999,
29877,
24095,
21533,
2396,
13,
462,
9651,
5107,
2886,
1917,
29889,
4397,
4197,
29888,
430,
29892,
29873,
2314,
13,
9651,
2432,
353,
4770,
5504,
29923,
3129,
29898,
29888,
430,
29892,
822,
29879,
29892,
2432,
29897,
13,
4706,
1683,
29901,
29871,
396,
4569,
21571,
304,
367,
385,
443,
276,
6338,
519,
5354,
13,
9651,
2432,
353,
4770,
5504,
29965,
3129,
29898,
29888,
430,
29892,
3129,
29892,
348,
276,
6338,
519,
15951,
21533,
1839,
4381,
11287,
13,
1678,
565,
7431,
29898,
29883,
424,
2886,
1917,
29897,
1405,
29871,
29900,
29901,
13,
4706,
1480,
2283,
29889,
3539,
877,
18552,
292,
22447,
630,
29899,
7247,
1819,
29905,
29876,
1495,
13,
4706,
1480,
2283,
29889,
3539,
877,
29871,
12524,
29911,
11937,
268,
323,
1001,
29924,
268,
12599,
4462,
29905,
29876,
1495,
13,
4706,
363,
1840,
297,
5107,
2886,
1917,
29901,
13,
9651,
1480,
2283,
29889,
3539,
877,
29871,
525,
29974,
13801,
23097,
29871,
525,
29974,
8489,
29961,
29900,
10062,
29915,
3579,
18717,
8489,
29961,
29896,
10062,
29915,
1068,
29905,
29876,
1495,
13,
1678,
565,
7431,
29898,
29883,
424,
2886,
14343,
29897,
1405,
29871,
29900,
29901,
13,
4706,
1480,
2283,
29889,
3539,
877,
18552,
292,
4958,
29905,
29876,
1495,
13,
4706,
1480,
2283,
29889,
3539,
877,
29871,
12524,
29911,
11937,
268,
323,
1001,
29924,
29905,
29876,
1495,
13,
4706,
363,
1840,
297,
5107,
2886,
14343,
29901,
13,
9651,
1480,
2283,
29889,
3539,
877,
29871,
525,
29974,
13801,
718,
525,
29871,
525,
29974,
8489,
29974,
12764,
29876,
1495,
13,
1678,
736,
2432,
13,
13,
1753,
4770,
5504,
29934,
3129,
29898,
29888,
430,
29892,
3129,
1125,
13,
1678,
3858,
20284,
353,
2432,
29889,
22266,
29269,
877,
5552,
8205,
29880,
1495,
13,
1678,
363,
12421,
8205,
29880,
297,
3858,
20284,
29901,
13,
4706,
565,
12421,
8205,
29880,
29889,
4102,
5938,
29889,
1272,
1275,
285,
430,
29901,
13,
9651,
12421,
353,
12421,
8205,
29880,
29889,
3560,
4247,
13,
9651,
12421,
3129,
29894,
353,
2432,
29889,
22662,
877,
5552,
3129,
29894,
1495,
13,
9651,
364,
3129,
353,
2432,
29889,
22662,
877,
29878,
3129,
1495,
13,
9651,
364,
3129,
1195,
353,
4770,
1482,
2642,
29898,
3129,
5501,
29878,
3129,
1195,
742,
3881,
15951,
21533,
29961,
29888,
430,
3816,
29900,
2314,
13,
9651,
364,
3129,
29889,
23850,
29898,
29878,
3129,
1195,
29897,
13,
9651,
364,
3129,
3317,
353,
4770,
1482,
2642,
29898,
3129,
5501,
29878,
3129,
3317,
742,
3881,
15951,
21533,
29961,
29888,
430,
3816,
29896,
2314,
13,
9651,
364,
3129,
29889,
23850,
29898,
29878,
3129,
3317,
29897,
13,
9651,
12421,
5441,
353,
4770,
1482,
2642,
29898,
3129,
5501,
5552,
5441,
742,
3881,
15951,
21533,
29961,
29888,
430,
3816,
29906,
2314,
13,
9651,
364,
3129,
29889,
23850,
29898,
5552,
5441,
29897,
13,
9651,
12421,
3129,
29894,
29889,
23850,
29898,
29878,
3129,
29897,
13,
9651,
4770,
4397,
2816,
20083,
29898,
5552,
29892,
5552,
3129,
29894,
5501,
5552,
3129,
29894,
1495,
13,
9651,
736,
2432,
13,
13,
1753,
4770,
5504,
29965,
3129,
29898,
29888,
430,
29892,
3129,
29892,
566,
290,
1626,
1231,
1125,
13,
1678,
3858,
20284,
353,
2432,
29889,
22266,
29269,
877,
5552,
8205,
29880,
1495,
13,
1678,
363,
12421,
8205,
29880,
297,
3858,
20284,
29901,
13,
4706,
565,
12421,
8205,
29880,
29889,
4102,
5938,
29889,
1272,
1275,
285,
430,
29901,
13,
9651,
12421,
353,
12421,
8205,
29880,
29889,
3560,
4247,
13,
9651,
12421,
3129,
29894,
353,
2432,
29889,
22662,
877,
5552,
3129,
29894,
1495,
13,
9651,
318,
3129,
353,
4770,
1482,
2642,
29898,
3129,
5501,
566,
290,
742,
566,
290,
1626,
1231,
29897,
13,
9651,
12421,
3129,
29894,
29889,
23850,
29898,
566,
290,
29897,
13,
9651,
4770,
4397,
2816,
20083,
29898,
5552,
29892,
5552,
3129,
29894,
5501,
5552,
3129,
29894,
1495,
13,
1678,
736,
2432,
13,
13,
1753,
788,
20182,
1915,
29888,
29898,
3129,
29892,
19303,
944,
653,
3401,
1125,
13,
1678,
364,
29873,
4247,
353,
2432,
29889,
22266,
29269,
877,
2783,
924,
29861,
29900,
29962,
13,
1678,
1354,
4247,
353,
4770,
1482,
2642,
29898,
3129,
5501,
19303,
1915,
29888,
742,
19303,
944,
653,
3401,
29897,
13,
1678,
4770,
4397,
2816,
20083,
29898,
2273,
4247,
29892,
1039,
4247,
5501,
19303,
1915,
29888,
1495,
13,
1678,
736,
2432,
13,
13,
1753,
5941,
7030,
29898,
3129,
1125,
13,
1678,
396,
534,
9893,
599,
29242,
1591,
856,
613,
29242,
29871,
4682,
17794,
515,
3611,
13,
1678,
3611,
353,
2432,
29889,
22266,
29269,
877,
3257,
29861,
29900,
29962,
13,
1678,
3611,
1626,
353,
3611,
29889,
4102,
5938,
29889,
1272,
13,
1678,
396,
361,
4744,
29901,
788,
16190,
2855,
11816,
29898,
3257,
1626,
29897,
13,
1678,
363,
13872,
297,
313,
2396,
4682,
742,
2396,
1591,
29374,
13,
4706,
274,
29876,
353,
3611,
1626,
29889,
2886,
29898,
3945,
29897,
13,
4706,
565,
274,
29876,
1405,
29871,
29900,
29901,
13,
9651,
3611,
1626,
353,
3611,
1626,
29961,
29900,
29901,
18038,
29962,
13,
1678,
3611,
29889,
4102,
5938,
29889,
1272,
353,
3611,
1626,
13,
1678,
736,
2432,
13,
13,
1753,
321,
29874,
957,
1493,
11096,
29898,
3129,
29892,
29872,
475,
1181,
29892,
11248,
957,
1626,
29892,
287,
29883,
29911,
486,
1125,
13,
1678,
975,
1493,
353,
2432,
29889,
22662,
877,
957,
1493,
1495,
13,
1678,
321,
29874,
957,
353,
4770,
1482,
2642,
29898,
3129,
5501,
11248,
957,
742,
11248,
957,
1626,
29897,
13,
1678,
975,
1493,
29889,
23850,
29898,
11248,
957,
29897,
13,
1678,
321,
328,
7070,
277,
353,
4770,
1482,
2642,
29898,
3129,
5501,
1479,
7070,
277,
742,
287,
29883,
29911,
486,
29897,
13,
1678,
975,
1493,
29889,
23850,
29898,
1479,
7070,
277,
29897,
13,
1678,
321,
475,
1181,
29889,
23850,
29898,
957,
1493,
29897,
13,
1678,
736,
2432,
13,
13,
1753,
3708,
479,
19334,
29898,
3129,
29892,
3177,
8176,
1125,
13,
1678,
7573,
353,
2432,
29889,
22266,
29269,
29898,
3177,
8176,
29897,
13,
1678,
363,
263,
4247,
297,
7573,
29901,
13,
4706,
1550,
7431,
29898,
29874,
4247,
29889,
5145,
20284,
29897,
1405,
29871,
29900,
29901,
13,
9651,
263,
4247,
29889,
5992,
5938,
29898,
29874,
4247,
29889,
4230,
5938,
29897,
13,
1678,
736,
2432,
13,
13,
1753,
3708,
479,
7648,
936,
29903,
747,
18964,
29898,
3129,
29892,
299,
8176,
29892,
299,
29911,
486,
1125,
13,
1678,
7573,
353,
2432,
29889,
22266,
29269,
29898,
299,
8176,
29897,
13,
1678,
3847,
20284,
353,
5159,
13,
1678,
302,
353,
29871,
29900,
13,
1678,
363,
29871,
299,
297,
7573,
29901,
13,
4706,
565,
29871,
299,
29889,
4102,
5938,
29889,
1272,
1275,
29871,
299,
29911,
486,
29901,
13,
9651,
3847,
20284,
29889,
4397,
29898,
299,
29889,
3560,
4247,
29897,
13,
9651,
302,
353,
302,
29974,
29896,
13,
1678,
363,
474,
297,
3464,
29898,
29896,
29892,
29876,
1125,
13,
4706,
4595,
3560,
353,
3847,
20284,
29961,
29875,
1822,
3560,
4247,
13,
4706,
4595,
3560,
29889,
5992,
5938,
29898,
3560,
20284,
29961,
29875,
2314,
13,
1678,
736,
2432,
13,
13,
1753,
3611,
29903,
3096,
861,
29898,
3129,
29892,
2146,
600,
861,
1125,
13,
1678,
396,
12778,
25557,
304,
3611,
1426,
13,
1678,
3611,
353,
2432,
29889,
22266,
29269,
877,
3257,
29861,
29900,
29962,
13,
1678,
3611,
1626,
353,
3611,
29889,
4102,
5938,
29889,
1272,
13,
1678,
565,
3611,
1626,
29889,
2886,
29898,
2146,
600,
861,
29897,
1275,
448,
29896,
29901,
29871,
396,
3611,
29903,
3096,
861,
3508,
29915,
29873,
2307,
2198,
13,
4706,
3611,
29889,
4102,
5938,
29889,
1272,
353,
3611,
1626,
29974,
2146,
600,
861,
13,
1678,
736,
2432,
13,
13,
1753,
2767,
3562,
11096,
29898,
3129,
29892,
13801,
29892,
1188,
2283,
1125,
13,
1678,
396,
1753,
4770,
5504,
3562,
29898,
3129,
21055,
29892,
13801,
29892,
29887,
2585,
12924,
29892,
3257,
29903,
3096,
861,
29892,
1188,
2283,
29892,
275,
2744,
1217,
1125,
13,
1678,
396,
2202,
304,
5609,
15562,
515,
285,
29883,
13,
1678,
5153,
353,
15232,
2272,
29889,
4002,
29581,
29898,
13801,
29897,
13,
1678,
565,
5153,
29889,
24713,
1542,
1275,
525,
19132,
2385,
29915,
322,
5153,
29889,
19132,
1542,
1275,
525,
21978,
2396,
13,
4706,
338,
2744,
1217,
353,
5852,
13,
1678,
1683,
29901,
338,
2744,
1217,
353,
7700,
29871,
13,
1678,
565,
285,
29883,
297,
7855,
21533,
29901,
13,
4706,
756,
19617,
353,
5852,
13,
4706,
5153,
1626,
353,
7855,
21533,
29961,
13801,
29962,
13,
4706,
5153,
4435,
1626,
353,
302,
29883,
29887,
1526,
13,
1678,
1683,
29901,
13,
4706,
756,
19617,
353,
7700,
13,
4706,
565,
451,
338,
2744,
1217,
29901,
13,
9651,
5153,
1626,
353,
525,
1068,
8139,
287,
12953,
310,
525,
29974,
13801,
23097,
1068,
29915,
13,
9651,
5153,
4435,
1626,
353,
525,
1068,
8139,
287,
12953,
7562,
1068,
29915,
13,
9651,
1480,
2283,
29889,
3539,
877,
3782,
6139,
363,
7855,
525,
29974,
13801,
29974,
12764,
29876,
1495,
13,
9651,
1480,
2283,
29889,
3539,
877,
3782,
6139,
2752,
363,
7855,
525,
29974,
13801,
29974,
12764,
29876,
1495,
13,
13,
1678,
321,
475,
1181,
353,
2432,
29889,
22266,
29269,
877,
29872,
475,
1181,
29861,
29900,
29962,
13,
1678,
396,
5012,
18476,
8528,
9047,
4214,
5868,
6227,
29928,
11698,
2287,
29903,
13,
1678,
1550,
7431,
29898,
29872,
475,
1181,
29889,
5145,
20284,
29897,
1405,
29871,
29900,
29901,
13,
4706,
321,
475,
1181,
29889,
5992,
5938,
29898,
29872,
475,
1181,
29889,
4230,
5938,
29897,
13,
1678,
565,
338,
2744,
1217,
29901,
13,
4706,
565,
756,
19617,
29901,
321,
29874,
957,
1626,
353,
5153,
1626,
13,
4706,
1683,
29901,
321,
29874,
957,
1626,
353,
525,
18317,
4682,
770,
29915,
13,
4706,
565,
756,
19617,
29901,
1226,
29883,
29911,
486,
353,
5153,
4435,
1626,
13,
4706,
1683,
29901,
1226,
29883,
29911,
486,
353,
525,
13393,
17956,
3960,
5106,
363,
3829,
310,
17195,
4682,
4413,
6169,
13,
4706,
396,
788,
975,
1493,
304,
2432,
13,
4706,
2432,
353,
321,
29874,
957,
1493,
11096,
29898,
3129,
29892,
29872,
475,
1181,
29892,
11248,
957,
1626,
29892,
287,
29883,
29911,
486,
29897,
13,
308,
13,
4706,
396,
957,
1493,
353,
2432,
29889,
22662,
877,
957,
1493,
1495,
13,
4706,
396,
11248,
957,
353,
4770,
1482,
2642,
29898,
3129,
5501,
11248,
957,
742,
11248,
957,
1626,
29897,
13,
4706,
396,
957,
1493,
29889,
23850,
29898,
11248,
957,
29897,
13,
4706,
396,
1479,
7070,
277,
353,
4770,
1482,
2642,
29898,
3129,
5501,
1479,
7070,
277,
742,
287,
29883,
29911,
486,
29897,
13,
4706,
396,
957,
1493,
29889,
23850,
29898,
1479,
7070,
277,
29897,
13,
4706,
396,
29872,
475,
1181,
29889,
23850,
29898,
957,
1493,
29897,
13,
1678,
1683,
29901,
29871,
396,
338,
1591,
470,
1661,
29899,
2744,
1217,
4682,
770,
13,
4706,
396,
1423,
363,
321,
29899,
29874,
13173,
2943,
29892,
788,
565,
5181,
13,
4706,
565,
7431,
29898,
29872,
475,
1181,
29889,
22266,
29269,
877,
29881,
11881,
8785,
1275,
29871,
29900,
29901,
13,
9651,
396,
1202,
13173,
29914,
296,
22449,
29914,
296,
1017,
572,
7573,
13,
9651,
13173,
353,
2432,
29889,
22662,
877,
29881,
11881,
1495,
13,
9651,
875,
22449,
353,
2432,
29889,
22662,
877,
296,
22449,
1495,
13,
9651,
875,
1017,
572,
353,
4770,
1482,
2642,
29898,
3129,
5501,
296,
1017,
572,
742,
13801,
29897,
13,
9651,
875,
1017,
15926,
353,
4770,
1482,
2642,
29898,
3129,
5501,
296,
1017,
15926,
742,
14273,
1626,
29897,
13,
9651,
875,
22449,
6289,
353,
4770,
1482,
2642,
29898,
3129,
5501,
296,
22449,
6289,
742,
14273,
4435,
1626,
29897,
13,
9651,
363,
29871,
299,
297,
875,
1017,
572,
29892,
296,
1017,
15926,
29892,
296,
22449,
6289,
29901,
13,
18884,
875,
22449,
29889,
23850,
29898,
299,
29897,
13,
9651,
13173,
29889,
23850,
29898,
296,
22449,
29897,
13,
9651,
321,
475,
1181,
29889,
23850,
29898,
29881,
11881,
29897,
13,
632,
13,
4706,
444,
3198,
393,
1269,
1746,
756,
263,
6590,
12421,
2943,
13,
4706,
396,
657,
263,
1051,
310,
278,
1746,
2983,
297,
278,
285,
29883,
13,
4706,
285,
430,
1170,
1293,
353,
4770,
2671,
1170,
1293,
29898,
13801,
29897,
268,
13,
4706,
396,
657,
1051,
310,
8393,
297,
445,
15562,
2407,
13,
4706,
396,
29871,
591,
5251,
727,
321,
475,
1181,
4247,
756,
871,
697,
525,
29881,
11881,
29915,
2278,
13,
4706,
12421,
8205,
29880,
20284,
353,
321,
475,
1181,
29889,
22266,
29269,
877,
5552,
8205,
29880,
1495,
13,
4706,
1098,
1091,
29879,
353,
5159,
13,
4706,
13173,
353,
2432,
29889,
22266,
29269,
877,
29881,
11881,
29861,
29900,
29962,
13,
4706,
363,
29871,
299,
297,
12421,
8205,
29880,
20284,
29901,
13,
9651,
1098,
1091,
29879,
29889,
4397,
29898,
299,
29889,
4102,
5938,
29889,
1272,
29897,
13,
4706,
363,
1746,
1170,
297,
285,
430,
1170,
1293,
29901,
13,
9651,
565,
451,
1746,
1170,
297,
1098,
1091,
29879,
29901,
13,
18884,
12421,
353,
2432,
29889,
22662,
877,
5552,
1495,
13,
18884,
12421,
8205,
29880,
353,
4770,
1482,
2642,
29898,
3129,
5501,
5552,
8205,
29880,
742,
2671,
1170,
29897,
13,
18884,
12421,
29889,
23850,
29898,
5552,
8205,
29880,
29897,
13,
18884,
13173,
29889,
23850,
29898,
5552,
29897,
462,
13,
4706,
396,
5504,
278,
7855,
6139,
322,
7855,
6139,
2752,
13,
4706,
565,
285,
29883,
297,
7855,
21533,
470,
313,
285,
29883,
29961,
29900,
29901,
29906,
29962,
1275,
525,
9295,
29915,
322,
285,
29883,
29961,
29906,
17531,
297,
7855,
21533,
1125,
13,
9651,
875,
1017,
572,
353,
2432,
29889,
22266,
29269,
877,
296,
1017,
572,
1495,
13,
9651,
565,
7431,
29898,
296,
1017,
572,
29897,
1405,
29871,
29900,
29901,
13,
18884,
875,
22449,
353,
875,
1017,
572,
29961,
29900,
1822,
3560,
4247,
13,
18884,
396,
7855,
6139,
2943,
13,
18884,
565,
285,
29883,
29961,
29900,
29901,
29906,
29962,
1275,
525,
9295,
2396,
13,
462,
1678,
6139,
1626,
353,
7855,
21533,
29961,
13801,
29961,
29906,
29901,
5262,
13,
18884,
1683,
29901,
13,
462,
1678,
6139,
1626,
353,
7855,
21533,
29961,
13801,
29962,
13,
18884,
716,
5292,
1017,
15926,
353,
4770,
1482,
2642,
29898,
3129,
5501,
296,
1017,
15926,
742,
8216,
1626,
29897,
13,
18884,
4770,
4397,
2816,
20083,
29898,
296,
22449,
29892,
1482,
5292,
1017,
15926,
5501,
296,
1017,
15926,
1495,
13,
18884,
396,
7855,
6139,
2752,
2943,
13,
18884,
716,
5292,
22449,
6289,
353,
4770,
1482,
2642,
29898,
3129,
5501,
296,
22449,
6289,
742,
17608,
29887,
1526,
29897,
13,
18884,
4770,
4397,
2816,
20083,
29898,
296,
22449,
29892,
1482,
5292,
22449,
6289,
5501,
296,
22449,
6289,
1495,
462,
9651,
13,
4706,
396,
5504,
5352,
2342,
1980,
322,
995,
21904,
13,
4706,
2432,
353,
4770,
5504,
6691,
15801,
29898,
13801,
29892,
285,
430,
1170,
1293,
29892,
2432,
29892,
1480,
2283,
29897,
13,
1678,
736,
2432,
13,
13,
1753,
2436,
11096,
1762,
2283,
29898,
1287,
9170,
29892,
3129,
29892,
28926,
1125,
13,
1678,
565,
4744,
29901,
13,
4706,
788,
16190,
2855,
11816,
29898,
5666,
2272,
29889,
6272,
29889,
1287,
3493,
29897,
13,
4706,
788,
16190,
2855,
11816,
877,
28926,
2433,
29974,
28926,
29897,
13,
1678,
714,
29888,
353,
1722,
29898,
359,
29889,
2084,
29889,
7122,
29898,
1287,
9170,
29892,
28926,
511,
29915,
29893,
1495,
13,
1678,
2432,
29889,
3539,
3134,
29898,
449,
29888,
29897,
13,
1678,
714,
29888,
29889,
5358,
580,
13,
13,
1753,
2436,
29954,
2585,
19617,
29898,
29887,
2585,
1125,
13,
1678,
5153,
353,
525,
1576,
1737,
397,
3223,
3743,
278,
1494,
3161,
29901,
525,
13,
1678,
15232,
2272,
29889,
6272,
29889,
1287,
3493,
353,
330,
2585,
13,
1678,
363,
263,
3562,
297,
15232,
2272,
29889,
1293,
24924,
7295,
13,
4706,
5153,
353,
5153,
23097,
5464,
29899,
1028,
15238,
1591,
525,
29974,
263,
3562,
23097,
6702,
29974,
710,
29898,
4537,
2776,
10661,
29898,
29874,
3562,
876,
23097,
4206,
416,
525,
13,
1678,
363,
385,
29943,
6289,
297,
15232,
2272,
29889,
1293,
16390,
294,
1691,
7295,
13,
4706,
5153,
353,
5153,
718,
525,
14394,
8783,
525,
29974,
273,
29943,
6289,
23097,
607,
3743,
525,
13,
4706,
285,
2395,
353,
15232,
2272,
29889,
1293,
19132,
27403,
877,
3788,
3596,
742,
273,
29943,
6289,
29897,
13,
4706,
565,
7431,
29898,
29888,
2395,
29897,
1275,
29871,
29896,
29901,
13,
9651,
5153,
353,
5153,
718,
525,
14394,
770,
525,
29974,
29888,
2395,
29961,
29900,
10062,
29915,
6702,
29974,
710,
29898,
4537,
2776,
10661,
29898,
29888,
2395,
29961,
29900,
12622,
23097,
5680,
416,
29871,
525,
13,
4706,
1683,
29901,
13,
9651,
363,
302,
297,
3464,
29898,
29900,
29892,
2435,
29898,
29888,
2395,
6817,
29896,
1125,
13,
18884,
5153,
353,
5153,
23097,
14394,
770,
525,
29974,
29888,
2395,
29961,
29876,
10062,
29915,
6702,
29974,
710,
29898,
4537,
2776,
10661,
29898,
29888,
2395,
29961,
29876,
12622,
23097,
5680,
511,
525,
13,
9651,
1833,
29876,
353,
7431,
29898,
29888,
2395,
6817,
29896,
13,
9651,
5153,
353,
5153,
23097,
392,
4682,
770,
525,
29974,
29888,
2395,
29961,
4230,
29876,
10062,
29915,
6702,
29974,
710,
29898,
4537,
2776,
10661,
29898,
29888,
2395,
29961,
4230,
29876,
12622,
23097,
5680,
416,
525,
13,
1678,
5153,
353,
5153,
7503,
29899,
29906,
10062,
4286,
525,
13,
1678,
736,
5153,
13,
13,
1753,
2436,
29943,
6289,
19617,
29898,
29887,
2585,
29892,
29888,
6289,
1170,
1125,
13,
1678,
565,
285,
6289,
1170,
297,
7855,
21533,
29901,
13,
4706,
5153,
353,
7855,
21533,
29961,
29888,
6289,
1170,
29962,
718,
29915,
739,
3743,
278,
1494,
3161,
29901,
525,
13,
1678,
1683,
29901,
13,
4706,
5153,
353,
525,
19132,
8783,
525,
29974,
29888,
6289,
1170,
23097,
3743,
278,
1494,
3161,
29901,
525,
13,
1678,
15232,
2272,
29889,
6272,
29889,
1287,
3493,
353,
330,
2585,
23097,
29914,
18717,
29888,
6289,
1170,
13,
13,
1678,
285,
2395,
353,
15232,
2272,
29889,
1293,
19132,
27403,
877,
3788,
3596,
1495,
13,
1678,
565,
7431,
29898,
29888,
2395,
29897,
1275,
29871,
29896,
29901,
13,
4706,
5153,
353,
5153,
718,
525,
14394,
770,
525,
29974,
29888,
2395,
29961,
29900,
10062,
29915,
6702,
29974,
710,
29898,
4537,
2776,
10661,
29898,
29888,
2395,
29961,
29900,
12622,
23097,
5680,
416,
525,
13,
1678,
1683,
29901,
13,
4706,
363,
302,
297,
3464,
29898,
29900,
29892,
2435,
29898,
29888,
2395,
6817,
29906,
1125,
13,
9651,
5153,
353,
5153,
23097,
14394,
770,
525,
29974,
29888,
2395,
29961,
29876,
10062,
29915,
6702,
29974,
710,
29898,
4537,
2776,
10661,
29898,
29888,
2395,
29961,
29876,
12622,
23097,
5680,
511,
525,
13,
4706,
1833,
29876,
353,
7431,
29898,
29888,
2395,
6817,
29896,
13,
4706,
5153,
353,
5153,
23097,
392,
4682,
770,
525,
29974,
29888,
2395,
29961,
4230,
29876,
10062,
29915,
6702,
29974,
710,
29898,
4537,
2776,
10661,
29898,
29888,
2395,
29961,
4230,
29876,
12622,
23097,
5680,
467,
525,
13,
1678,
5153,
353,
5153,
7503,
29899,
29906,
10062,
4286,
525,
13,
1678,
736,
5153,
13,
268,
13,
13383,
13383,
13383,
13383,
7346,
4136,
2277,
13,
262,
29954,
2585,
353,
10876,
29889,
19218,
29961,
29896,
29962,
13,
13,
262,
29954,
2585,
353,
2897,
29889,
2084,
29889,
370,
1028,
493,
29898,
262,
29954,
2585,
29897,
13,
1287,
9170,
353,
2897,
29889,
2084,
29889,
25721,
29898,
262,
29954,
2585,
29897,
13,
29887,
2585,
353,
2897,
29889,
2084,
29889,
6500,
3871,
29898,
262,
29954,
2585,
29897,
13,
13,
13,
2277,
1462,
944,
7855,
322,
1746,
21503,
4314,
515,
1879,
4345,
29918,
14683,
29871,
13,
361,
10876,
29889,
19218,
29961,
29906,
29962,
2804,
16321,
2396,
13,
1678,
565,
2897,
29889,
2084,
29889,
9933,
29898,
9675,
29889,
19218,
29961,
29906,
29962,
1125,
13,
4706,
590,
3206,
29879,
353,
2411,
29889,
1359,
29918,
4993,
877,
5453,
29896,
742,
9675,
29889,
19218,
29961,
29906,
2314,
13,
4706,
590,
3206,
29879,
29889,
1202,
3206,
29879,
580,
13,
29937,
10118,
24365,
580,
13,
4136,
2277,
13,
13,
13,
3820,
2209,
353,
2897,
29889,
2084,
29889,
7122,
29898,
262,
29954,
2585,
29892,
525,
29954,
6758,
653,
1495,
13,
1272,
29903,
2863,
353,
2897,
29889,
2084,
29889,
7122,
29898,
262,
29954,
2585,
29892,
525,
1469,
29903,
2863,
1495,
13,
23560,
29965,
353,
2897,
29889,
2084,
29889,
7122,
29898,
262,
29954,
2585,
29892,
525,
9868,
2776,
3388,
2525,
1169,
1495,
13,
29887,
29885,
21533,
353,
2897,
29889,
2084,
29889,
7122,
29898,
262,
29954,
2585,
29892,
525,
7999,
29877,
24095,
21533,
1495,
13,
1188,
17020,
353,
297,
29954,
2585,
23097,
29899,
19635,
3403,
29889,
3945,
29915,
13,
3134,
2283,
21055,
353,
330,
2585,
23097,
29899,
21055,
29889,
3134,
29915,
13,
3134,
2283,
29954,
2585,
353,
330,
2585,
29974,
4286,
3134,
29915,
13,
13,
29937,
5609,
5835,
2407,
13,
29888,
9165,
353,
664,
9170,
23097,
29914,
18717,
29887,
2585,
29974,
15300,
3134,
29915,
13,
1202,
16190,
2855,
11816,
877,
29888,
9165,
353,
525,
29974,
29888,
9165,
29897,
13,
361,
2897,
29889,
2084,
29889,
9933,
29898,
29888,
9165,
1125,
13,
1678,
2897,
29889,
5992,
29898,
29888,
9165,
29897,
13,
29887,
2585,
9930,
353,
297,
29954,
2585,
23097,
29914,
7999,
1189,
293,
3388,
29915,
13,
361,
4744,
29901,
13,
1678,
788,
16190,
2855,
11816,
877,
29871,
330,
2585,
9930,
353,
525,
29974,
29887,
2585,
9930,
29897,
13,
1678,
788,
16190,
2855,
11816,
877,
29871,
5578,
1061,
353,
525,
29974,
3286,
29880,
1061,
29897,
13,
1678,
788,
16190,
2855,
11816,
877,
29871,
285,
9165,
353,
525,
29974,
29888,
9165,
29897,
13,
5666,
2272,
29889,
26382,
18417,
29918,
535,
3259,
29898,
29887,
2585,
9930,
29892,
3286,
29880,
1061,
29892,
29888,
9165,
29897,
13,
13,
1202,
16190,
2855,
11816,
877,
29871,
4737,
7221,
363,
1879,
1189,
293,
3388,
5609,
287,
304,
934,
25710,
13,
1202,
16190,
2855,
11816,
877,
1678,
525,
29974,
29888,
9165,
29897,
13,
13,
29937,
6088,
4903,
304,
12369,
13,
2202,
29901,
13,
1678,
2432,
21055,
353,
4903,
29889,
3129,
29889,
1195,
333,
290,
29889,
5510,
29898,
29888,
9165,
29897,
13,
1678,
788,
16190,
2855,
11816,
877,
29871,
9082,
2407,
21213,
8472,
1495,
13,
1678,
396,
881,
769,
5217,
4903,
934,
13,
1678,
565,
451,
4744,
29901,
2897,
29889,
5992,
29898,
29888,
9165,
29897,
13,
19499,
29901,
13,
1678,
788,
16190,
2855,
11816,
29898,
5666,
2272,
29889,
2577,
25510,
3101,
13,
1678,
788,
16190,
2855,
11816,
877,
17776,
304,
6088,
525,
29974,
29888,
9165,
29897,
13,
1678,
12020,
15232,
2272,
29889,
12296,
2392,
13,
1678,
10876,
29889,
13322,
580,
13,
13,
29937,
5941,
701,
5835,
2407,
13,
2277,
3708,
479,
310,
321,
475,
1181,
322,
805,
1867,
3888,
13,
1454,
2943,
8176,
297,
6702,
29872,
475,
1181,
3788,
1028,
1867,
3888,
29374,
13,
1678,
2432,
21055,
353,
3708,
479,
19334,
29898,
3129,
21055,
29892,
3177,
8176,
29897,
13,
2277,
679,
8177,
310,
4805,
529,
18193,
1193,
29958,
29096,
29871,
29896,
29929,
29896,
29896,
29945,
7488,
293,
315,
14404,
9976,
13,
29937,
3129,
21055,
353,
3708,
479,
7648,
936,
29903,
747,
18964,
29898,
3129,
21055,
5501,
18193,
1193,
3788,
29096,
29871,
29896,
29929,
29896,
29896,
29945,
7488,
293,
315,
14404,
1495,
13,
2277,
2329,
3611,
13,
3129,
21055,
353,
5941,
7030,
29898,
3129,
21055,
29897,
13,
2277,
29871,
9801,
393,
727,
338,
385,
321,
475,
1181,
2943,
13,
2202,
29901,
13,
1678,
321,
273,
356,
353,
2432,
21055,
29889,
22266,
29269,
877,
29872,
475,
1181,
29861,
29900,
29962,
13,
19499,
29901,
13,
1678,
364,
29873,
4247,
353,
2432,
21055,
29889,
22266,
29269,
877,
19635,
29861,
29900,
29962,
13,
1678,
321,
273,
356,
353,
2432,
21055,
29889,
22662,
877,
29872,
475,
1181,
1495,
13,
1678,
364,
29873,
4247,
29889,
23850,
29898,
29872,
273,
356,
29897,
13,
268,
13,
3539,
11096,
1762,
2283,
29898,
1287,
9170,
29892,
3129,
21055,
29892,
3134,
2283,
21055,
29897,
13,
1202,
16190,
2855,
11816,
877,
29871,
19509,
22326,
373,
5835,
15562,
2407,
525,
29974,
3134,
2283,
21055,
29974,
2396,
1495,
13,
361,
2897,
29889,
2084,
29889,
9933,
29898,
1188,
17020,
1125,
13,
1678,
2897,
29889,
5992,
29898,
1188,
17020,
29897,
13,
5666,
2272,
29889,
3308,
10749,
3580,
4300,
29880,
1061,
29918,
535,
3259,
29898,
359,
29889,
2084,
29889,
7122,
29898,
1287,
9170,
29892,
3134,
2283,
21055,
511,
29915,
29937,
3788,
29937,
3788,
29937,
742,
1188,
17020,
29897,
13,
1454,
394,
457,
297,
1722,
29898,
1188,
17020,
5501,
29878,
2824,
949,
9012,
7295,
13,
1678,
788,
16190,
2855,
11816,
29898,
284,
457,
7503,
29899,
29896,
2314,
13,
1202,
16190,
2855,
11816,
877,
25710,
13,
13,
1188,
2283,
353,
1722,
29898,
1188,
17020,
5501,
29874,
1495,
13,
13,
29937,
1053,
304,
1737,
397,
3223,
408,
3353,
13,
5666,
2272,
29889,
6272,
29889,
1287,
3493,
353,
664,
9170,
13,
19303,
944,
653,
3401,
353,
330,
2585,
29974,
29887,
2585,
19617,
29900,
29874,
29974,
29887,
2585,
19617,
29906,
29974,
29887,
2585,
19617,
29941,
13,
3129,
353,
788,
20182,
1915,
29888,
29898,
3129,
21055,
29892,
19303,
944,
653,
3401,
29897,
13,
13,
29872,
475,
1181,
353,
2432,
29889,
22266,
29269,
877,
29872,
475,
1181,
29861,
29900,
29962,
13,
29887,
2585,
19617,
353,
2436,
29954,
2585,
19617,
29898,
262,
29954,
2585,
29897,
29871,
396,
18028,
310,
599,
6131,
29892,
4682,
20035,
29892,
4682,
4413,
13,
3129,
353,
321,
29874,
957,
1493,
11096,
29898,
3129,
29892,
29872,
475,
1181,
29892,
29887,
2585,
19617,
29892,
11248,
957,
1493,
29907,
7018,
29897,
13,
13,
1202,
16190,
2855,
11816,
877,
29871,
16032,
292,
6560,
304,
15562,
363,
402,
4051,
408,
263,
3353,
1495,
13,
3539,
11096,
1762,
2283,
29898,
1287,
9170,
29892,
3129,
29892,
3134,
2283,
29954,
2585,
29897,
13,
2202,
29901,
13,
1678,
15232,
2272,
29889,
17518,
18417,
29918,
535,
3259,
29898,
359,
29889,
2084,
29889,
7122,
29898,
1287,
9170,
29892,
3134,
2283,
29954,
2585,
511,
29915,
21482,
29918,
29943,
29954,
12696,
742,
262,
29954,
2585,
5501,
1430,
6181,
29928,
1495,
13,
19499,
29901,
13,
1678,
788,
16190,
2855,
11816,
877,
17776,
304,
1053,
525,
29974,
359,
29889,
2084,
29889,
7122,
29898,
1287,
9170,
29892,
3134,
2283,
29954,
2585,
876,
13,
268,
13,
29937,
1053,
304,
6131,
13,
5666,
2272,
29889,
6272,
29889,
1287,
3493,
353,
297,
29954,
2585,
13,
24051,
353,
15232,
2272,
29889,
1293,
24924,
580,
13,
1454,
263,
3562,
297,
6131,
29901,
13,
1678,
337,
11292,
18417,
353,
330,
2585,
23097,
29899,
18717,
29874,
3562,
29974,
4286,
3134,
29915,
13,
1678,
788,
16190,
2855,
11816,
877,
29871,
26221,
6560,
363,
525,
29974,
29874,
3562,
29897,
13,
1678,
2432,
353,
4903,
29889,
3129,
29889,
1195,
333,
290,
29889,
5510,
29898,
359,
29889,
2084,
29889,
7122,
29898,
1287,
9170,
29892,
3134,
2283,
21055,
876,
13,
1678,
2432,
353,
3611,
29903,
3096,
861,
29898,
3129,
29892,
2396,
1591,
525,
29974,
29874,
3562,
29897,
13,
1678,
1462,
944,
653,
3401,
353,
525,
3562,
525,
29974,
29874,
3562,
29974,
29887,
2585,
19617,
29900,
29890,
29974,
29887,
2585,
19617,
29906,
13,
1678,
2432,
353,
788,
20182,
1915,
29888,
29898,
3129,
29892,
19303,
944,
653,
3401,
29897,
268,
13,
1678,
2432,
353,
2767,
3562,
11096,
29898,
3129,
29892,
29874,
3562,
29892,
1188,
2283,
29897,
13,
1678,
788,
16190,
2855,
11816,
877,
29871,
16032,
292,
6560,
304,
15562,
363,
1591,
525,
29974,
29874,
3562,
29897,
13,
1678,
2436,
11096,
1762,
2283,
29898,
1287,
9170,
29892,
3129,
29892,
276,
11292,
18417,
29897,
13,
1678,
1018,
29901,
13,
4706,
15232,
2272,
29889,
17518,
18417,
29918,
535,
3259,
29898,
359,
29889,
2084,
29889,
7122,
29898,
1287,
9170,
29892,
276,
11292,
18417,
511,
29915,
21482,
29918,
29943,
29954,
12696,
742,
262,
29954,
2585,
23097,
29914,
18717,
29874,
3562,
5501,
1430,
6181,
29928,
1495,
13,
1678,
5174,
29901,
13,
4706,
788,
16190,
2855,
11816,
877,
17776,
304,
1053,
525,
29974,
359,
29889,
2084,
29889,
7122,
29898,
1287,
9170,
29892,
276,
11292,
18417,
876,
13,
308,
13,
29937,
1053,
304,
4682,
20035,
322,
10719,
296,
4682,
4413,
13,
5666,
2272,
29889,
6272,
29889,
1287,
3493,
353,
297,
29954,
2585,
13,
29888,
6289,
353,
15232,
2272,
29889,
1293,
16390,
294,
1691,
877,
3788,
19132,
1495,
13,
1454,
385,
29943,
6289,
297,
285,
6289,
29901,
13,
1678,
337,
11292,
18417,
353,
330,
2585,
23097,
29899,
18717,
273,
29943,
6289,
29974,
4286,
3134,
29915,
13,
1678,
788,
16190,
2855,
11816,
877,
29871,
26221,
6560,
363,
525,
29974,
273,
29943,
6289,
29897,
13,
1678,
2432,
353,
4903,
29889,
3129,
29889,
1195,
333,
290,
29889,
5510,
29898,
359,
29889,
2084,
29889,
7122,
29898,
1287,
9170,
29892,
3134,
2283,
21055,
876,
13,
1678,
2432,
353,
3611,
29903,
3096,
861,
29898,
3129,
29892,
2396,
4682,
8783,
525,
29974,
273,
29943,
6289,
29897,
13,
1678,
1462,
944,
653,
3401,
353,
525,
19132,
8783,
525,
29974,
273,
29943,
6289,
29974,
29887,
2585,
19617,
29900,
29890,
29974,
29887,
2585,
19617,
29906,
13,
1678,
2432,
353,
788,
20182,
1915,
29888,
29898,
3129,
29892,
19303,
944,
653,
3401,
29897,
13,
1678,
565,
385,
29943,
6289,
297,
7855,
21533,
29901,
13,
4706,
975,
1626,
353,
7855,
21533,
29961,
273,
29943,
6289,
29962,
13,
4706,
975,
29903,
2214,
353,
302,
29883,
29887,
1526,
13658,
5620,
13,
1678,
25342,
385,
29943,
6289,
29889,
2886,
877,
29907,
2124,
13438,
1495,
1275,
29871,
29900,
29901,
13,
4706,
975,
1626,
353,
7855,
21533,
1839,
29907,
2124,
13438,
2033,
13,
4706,
975,
29903,
2214,
353,
302,
29883,
29887,
1526,
13658,
5620,
13,
1678,
1683,
29901,
13,
4706,
975,
1626,
353,
525,
1068,
8139,
287,
12953,
310,
525,
29974,
273,
29943,
6289,
23097,
1068,
29915,
13,
4706,
975,
29903,
2214,
353,
525,
1068,
8139,
287,
12953,
7562,
1068,
29915,
13,
4706,
1480,
2283,
29889,
3539,
877,
3782,
6139,
363,
7855,
525,
29974,
273,
29943,
6289,
29974,
12764,
29876,
1495,
13,
4706,
1480,
2283,
29889,
3539,
877,
3782,
6139,
2752,
363,
7855,
525,
29974,
273,
29943,
6289,
29974,
12764,
29876,
1495,
13,
1678,
321,
475,
1181,
353,
2432,
29889,
22266,
29269,
877,
29872,
475,
1181,
29861,
29900,
29962,
13,
1678,
2432,
353,
321,
29874,
957,
1493,
11096,
29898,
3129,
29892,
29872,
475,
1181,
29892,
957,
1626,
29892,
957,
29903,
2214,
29897,
13,
1678,
788,
16190,
2855,
11816,
877,
29871,
16032,
292,
6560,
304,
15562,
363,
525,
29974,
273,
29943,
6289,
29897,
13,
1678,
2436,
11096,
1762,
2283,
29898,
1287,
9170,
29892,
3129,
29892,
276,
11292,
18417,
29897,
13,
1678,
15232,
2272,
29889,
17518,
18417,
29918,
535,
3259,
29898,
359,
29889,
2084,
29889,
7122,
29898,
1287,
9170,
29892,
276,
11292,
18417,
511,
29915,
21482,
29918,
29943,
29954,
12696,
742,
262,
29954,
2585,
23097,
29914,
18717,
273,
29943,
6289,
5501,
1430,
6181,
29928,
1495,
1678,
13,
1678,
285,
2395,
353,
15232,
2272,
29889,
1293,
19132,
27403,
877,
3788,
3596,
742,
273,
29943,
6289,
29897,
13,
1678,
628,
2432,
13,
1678,
363,
385,
29943,
29883,
297,
285,
2395,
29901,
13,
4706,
337,
11292,
18417,
353,
297,
29954,
2585,
718,
17411,
29915,
718,
385,
29943,
29883,
718,
15300,
3134,
29915,
13,
4706,
788,
16190,
2855,
11816,
877,
1678,
26221,
6560,
363,
525,
29974,
273,
29943,
29883,
29897,
13,
4706,
2432,
353,
4903,
29889,
3129,
29889,
1195,
333,
290,
29889,
5510,
29898,
359,
29889,
2084,
29889,
7122,
29898,
1287,
9170,
29892,
3134,
2283,
21055,
876,
13,
4706,
2432,
353,
3611,
29903,
3096,
861,
29898,
3129,
29892,
2396,
4682,
770,
525,
29974,
273,
29943,
6289,
23097,
29914,
18717,
273,
29943,
29883,
29897,
13,
4706,
1462,
944,
653,
3401,
353,
525,
19132,
770,
525,
29974,
273,
29943,
29883,
29974,
29887,
2585,
19617,
29900,
29890,
29974,
29887,
2585,
19617,
29906,
13,
4706,
2432,
353,
788,
20182,
1915,
29888,
29898,
3129,
29892,
19303,
944,
653,
3401,
29897,
13,
4706,
2432,
353,
2767,
3562,
11096,
29898,
3129,
29892,
273,
29943,
29883,
29892,
1188,
2283,
29897,
13,
4706,
788,
16190,
2855,
11816,
877,
1678,
16032,
292,
6560,
304,
15562,
363,
525,
29974,
273,
29943,
29883,
29897,
13,
4706,
2436,
11096,
1762,
2283,
29898,
1287,
9170,
29892,
3129,
29892,
276,
11292,
18417,
29897,
13,
4706,
15232,
2272,
29889,
17518,
18417,
29918,
535,
3259,
29898,
276,
11292,
18417,
5501,
21482,
29918,
29943,
29954,
12696,
742,
262,
29954,
2585,
23097,
29914,
18717,
273,
29943,
6289,
23097,
29914,
18717,
273,
29943,
29883,
5501,
1430,
6181,
29928,
1495,
13,
4706,
628,
2432,
13,
13,
29937,
5941,
701,
4069,
1480,
2066,
13,
1202,
16190,
2855,
11816,
877,
1678,
897,
1026,
292,
4069,
1480,
2066,
1495,
13,
1188,
5325,
353,
13149,
29889,
23705,
29898,
1287,
9170,
23097,
5515,
29889,
1188,
1495,
13,
1454,
301,
29888,
297,
1480,
5325,
29901,
13,
1678,
565,
2897,
29889,
2084,
29889,
657,
2311,
29898,
29880,
29888,
29897,
1275,
29871,
29900,
29901,
13,
4706,
788,
16190,
2855,
11816,
877,
418,
21228,
525,
29974,
359,
29889,
2084,
29889,
6500,
3871,
29898,
29880,
29888,
876,
13,
4706,
2897,
29889,
5992,
29898,
29880,
29888,
29897,
13,
308,
13,
13,
1202,
16190,
2855,
11816,
28909,
29876,
3629,
1854,
304,
1423,
934,
525,
29974,
359,
29889,
2084,
29889,
6500,
3871,
29898,
1188,
17020,
7240,
29915,
1738,
1495,
13,
1188,
2283,
29889,
5358,
580,
13,
13,
13,
2
] |
sprite-animation-generator.py | eijiuema/sprite-animation-generator | 0 | 38285 | from collections import defaultdict
from PIL import Image
import operator
image = Image.open("images\\test.png")
pixel_map = image.load()
initial_coordinate = tuple(int(x.strip())
for x in input("Initial coordinates: ").split(','))
pixel_list = []
directions = [(1, 0), (0, -1), (1, -1), (-1, 0), (-1, 1), (0, 1)]
def store_pixel(current_pixel):
if(
current_pixel[0] == image.size[0] or
current_pixel[1] == image.size[1] or
current_pixel[0] < 0 or
current_pixel[1] < 0 or
current_pixel in pixel_list or
pixel_map[current_pixel][3] == 0
):
return
pixel_list.append(current_pixel)
for direction in directions:
store_pixel(tuple(map(operator.add, current_pixel, direction)))
store_pixel(initial_coordinate)
print(pixel_list)
object_image = Image.new('RGBA', image.size, (0, 0, 0, 0))
object_image_pixel_map = object_image.load()
line_image = Image.new('RGBA', (1, len(pixel_list)), (0, 0, 0, 0))
line_image_pixel_map = line_image.load()
for index, pixel in enumerate(pixel_list):
object_image_pixel_map[pixel] = pixel_map[pixel]
line_image_pixel_map[0, index] = pixel_map[pixel]
object_image.save(f"out/{index}.png")
line_image.save(f"out/line.png")
| [
1,
515,
16250,
1053,
2322,
8977,
13,
3166,
349,
6227,
1053,
7084,
13,
5215,
5455,
13,
13,
3027,
353,
7084,
29889,
3150,
703,
8346,
1966,
1688,
29889,
2732,
1159,
13,
13,
29886,
15711,
29918,
1958,
353,
1967,
29889,
1359,
580,
13,
13,
11228,
29918,
29302,
353,
18761,
29898,
524,
29898,
29916,
29889,
17010,
3101,
13,
462,
965,
363,
921,
297,
1881,
703,
15514,
10350,
29901,
376,
467,
5451,
29898,
3788,
876,
13,
13,
29886,
15711,
29918,
1761,
353,
5159,
13,
13,
20146,
1953,
353,
17288,
29896,
29892,
29871,
29900,
511,
313,
29900,
29892,
448,
29896,
511,
313,
29896,
29892,
448,
29896,
511,
8521,
29896,
29892,
29871,
29900,
511,
8521,
29896,
29892,
29871,
29896,
511,
313,
29900,
29892,
29871,
29896,
4638,
13,
13,
13,
1753,
3787,
29918,
29886,
15711,
29898,
3784,
29918,
29886,
15711,
1125,
13,
1678,
565,
29898,
13,
4706,
1857,
29918,
29886,
15711,
29961,
29900,
29962,
1275,
1967,
29889,
2311,
29961,
29900,
29962,
470,
13,
4706,
1857,
29918,
29886,
15711,
29961,
29896,
29962,
1275,
1967,
29889,
2311,
29961,
29896,
29962,
470,
13,
4706,
1857,
29918,
29886,
15711,
29961,
29900,
29962,
529,
29871,
29900,
470,
13,
4706,
1857,
29918,
29886,
15711,
29961,
29896,
29962,
529,
29871,
29900,
470,
13,
4706,
1857,
29918,
29886,
15711,
297,
15526,
29918,
1761,
470,
13,
4706,
15526,
29918,
1958,
29961,
3784,
29918,
29886,
15711,
3816,
29941,
29962,
1275,
29871,
29900,
13,
268,
1125,
13,
4706,
736,
13,
13,
1678,
15526,
29918,
1761,
29889,
4397,
29898,
3784,
29918,
29886,
15711,
29897,
13,
13,
1678,
363,
5305,
297,
18112,
29901,
13,
4706,
3787,
29918,
29886,
15711,
29898,
23583,
29898,
1958,
29898,
6891,
29889,
1202,
29892,
1857,
29918,
29886,
15711,
29892,
5305,
4961,
13,
13,
13,
8899,
29918,
29886,
15711,
29898,
11228,
29918,
29302,
29897,
13,
13,
2158,
29898,
29886,
15711,
29918,
1761,
29897,
13,
13,
3318,
29918,
3027,
353,
7084,
29889,
1482,
877,
29934,
29954,
5688,
742,
1967,
29889,
2311,
29892,
313,
29900,
29892,
29871,
29900,
29892,
29871,
29900,
29892,
29871,
29900,
876,
13,
3318,
29918,
3027,
29918,
29886,
15711,
29918,
1958,
353,
1203,
29918,
3027,
29889,
1359,
580,
13,
13,
1220,
29918,
3027,
353,
7084,
29889,
1482,
877,
29934,
29954,
5688,
742,
313,
29896,
29892,
7431,
29898,
29886,
15711,
29918,
1761,
8243,
313,
29900,
29892,
29871,
29900,
29892,
29871,
29900,
29892,
29871,
29900,
876,
13,
1220,
29918,
3027,
29918,
29886,
15711,
29918,
1958,
353,
1196,
29918,
3027,
29889,
1359,
580,
13,
13,
1454,
2380,
29892,
15526,
297,
26985,
29898,
29886,
15711,
29918,
1761,
1125,
13,
1678,
1203,
29918,
3027,
29918,
29886,
15711,
29918,
1958,
29961,
29886,
15711,
29962,
353,
15526,
29918,
1958,
29961,
29886,
15711,
29962,
13,
1678,
1196,
29918,
3027,
29918,
29886,
15711,
29918,
1958,
29961,
29900,
29892,
2380,
29962,
353,
15526,
29918,
1958,
29961,
29886,
15711,
29962,
13,
1678,
1203,
29918,
3027,
29889,
7620,
29898,
29888,
29908,
449,
19248,
2248,
1836,
2732,
1159,
13,
1220,
29918,
3027,
29889,
7620,
29898,
29888,
29908,
449,
29914,
1220,
29889,
2732,
1159,
13,
2
] |
subsurface/geological_formats/segy_reader.py | andieie/subsurface | 55 | 30690 | from typing import Union
from scipy.spatial.qhull import Delaunay
from shapely.geometry import LineString
from subsurface.structs.base_structures import StructuredData
import numpy as np
try:
import segyio
segyio_imported = True
except ImportError:
segyio_imported = False
def read_in_segy(filepath: str, coords=None) -> StructuredData:
"""Reader for seismic data stored in sgy/segy files
Args:
filepath (str): the path of the sgy/segy file
coords (dict): If data is a numpy array coords provides the values for
the xarray dimension. These dimensions are 'x', 'y' and 'z'
Returns: a StructuredData object with data, the traces with samples written into an xr.Dataset, optionally with
labels defined by coords
"""
segyfile = segyio.open(filepath, ignore_geometry=True)
data = np.asarray([np.copy(tr) for tr in segyfile.trace[:]])
sd = StructuredData.from_numpy(data) # data holds traces * (samples per trace) values
segyfile.close()
return sd
def create_mesh_from_coords(coords: Union[dict, LineString],
zmin: Union[float, int], zmax: Union[float, int] = 0.0):
"""Creates a mesh for plotting StructuredData
Args:
coords (Union[dict, LineString]): the x and y, i.e. latitude and longitude, location of the traces of the seismic profile
zmax (float): the maximum elevation of the seismic profile, by default 0.0
zmin (float): the location in z where the lowest sample was taken
Returns: vertices and faces for creating an UnstructuredData object
"""
if type(coords) == LineString:
linestring = coords
n = len(list(linestring.coords))
coords = np.array([[x[0] for x in list(linestring.coords)],
[y[1] for y in list(linestring.coords)]]).T
else:
n = len(coords['x'])
coords = np.array([coords['x'],
coords['y']]).T
# duplicating the line, once with z=lower and another with z=upper values
vertices = np.zeros((2*n, 3))
vertices[:n, :2] = coords
vertices[:n, 2] = zmin
vertices[n:, :2] = coords
vertices[n:, 2] = zmax
# i+n --- i+n+1
# |\ |
# | \ |
# | \ |
# | \ |
# i --- i+1
tri = Delaunay(vertices[:, [0, 2]])
faces = tri.simplices
return vertices, faces
| [
1,
515,
19229,
1053,
7761,
13,
3166,
4560,
2272,
29889,
1028,
15238,
29889,
29939,
29882,
913,
1053,
360,
3100,
348,
388,
13,
3166,
528,
481,
873,
29889,
19156,
1053,
7407,
1231,
13,
3166,
1014,
7610,
2161,
29889,
4984,
29879,
29889,
3188,
29918,
4984,
1973,
1053,
28771,
2955,
1469,
13,
5215,
12655,
408,
7442,
13,
13,
2202,
29901,
13,
1678,
1053,
2377,
29891,
601,
13,
1678,
2377,
29891,
601,
29918,
5215,
287,
353,
5852,
13,
19499,
16032,
2392,
29901,
13,
1678,
2377,
29891,
601,
29918,
5215,
287,
353,
7700,
13,
13,
13,
1753,
1303,
29918,
262,
29918,
344,
1927,
29898,
1445,
2084,
29901,
851,
29892,
1302,
4339,
29922,
8516,
29897,
1599,
28771,
2955,
1469,
29901,
13,
1678,
9995,
6982,
363,
409,
1608,
293,
848,
6087,
297,
269,
1927,
29914,
344,
1927,
2066,
13,
13,
1678,
826,
3174,
29901,
13,
4706,
934,
2084,
313,
710,
1125,
278,
2224,
310,
278,
269,
1927,
29914,
344,
1927,
934,
13,
4706,
1302,
4339,
313,
8977,
1125,
960,
848,
338,
263,
12655,
1409,
1302,
4339,
8128,
278,
1819,
363,
13,
308,
278,
921,
2378,
9927,
29889,
4525,
13391,
526,
525,
29916,
742,
525,
29891,
29915,
322,
525,
29920,
29915,
13,
13,
1678,
16969,
29901,
263,
28771,
2955,
1469,
1203,
411,
848,
29892,
278,
26695,
411,
11916,
3971,
964,
385,
921,
29878,
29889,
16390,
24541,
29892,
2984,
635,
411,
13,
268,
11073,
3342,
491,
1302,
4339,
13,
13,
1678,
9995,
13,
13,
1678,
2377,
29891,
1445,
353,
2377,
29891,
601,
29889,
3150,
29898,
1445,
2084,
29892,
11455,
29918,
19156,
29922,
5574,
29897,
13,
13,
1678,
848,
353,
7442,
29889,
294,
2378,
4197,
9302,
29889,
8552,
29898,
509,
29897,
363,
534,
297,
2377,
29891,
1445,
29889,
15003,
7503,
24960,
13,
13,
1678,
28972,
353,
28771,
2955,
1469,
29889,
3166,
29918,
23749,
29898,
1272,
29897,
29871,
396,
848,
8640,
26695,
334,
313,
27736,
639,
9637,
29897,
1819,
13,
1678,
2377,
29891,
1445,
29889,
5358,
580,
13,
1678,
736,
28972,
13,
13,
13,
1753,
1653,
29918,
4467,
29882,
29918,
3166,
29918,
1111,
4339,
29898,
1111,
4339,
29901,
7761,
29961,
8977,
29892,
7407,
1231,
1402,
13,
462,
965,
503,
1195,
29901,
7761,
29961,
7411,
29892,
938,
1402,
503,
3317,
29901,
7761,
29961,
7411,
29892,
938,
29962,
353,
29871,
29900,
29889,
29900,
1125,
13,
1678,
9995,
9832,
1078,
263,
27716,
363,
6492,
1259,
28771,
2955,
1469,
13,
13,
1678,
826,
3174,
29901,
13,
4706,
1302,
4339,
313,
19986,
29961,
8977,
29892,
7407,
1231,
29962,
1125,
278,
921,
322,
343,
29892,
474,
29889,
29872,
29889,
26271,
322,
28745,
29892,
4423,
310,
278,
26695,
310,
278,
409,
1608,
293,
8722,
13,
4706,
503,
3317,
313,
7411,
1125,
278,
7472,
11858,
362,
310,
278,
409,
1608,
293,
8722,
29892,
491,
2322,
29871,
29900,
29889,
29900,
13,
4706,
503,
1195,
313,
7411,
1125,
278,
4423,
297,
503,
988,
278,
19604,
4559,
471,
4586,
13,
13,
1678,
16969,
29901,
13791,
322,
17240,
363,
4969,
385,
853,
4984,
2955,
1469,
1203,
13,
13,
1678,
9995,
13,
1678,
565,
1134,
29898,
1111,
4339,
29897,
1275,
7407,
1231,
29901,
13,
4706,
6276,
342,
5393,
353,
1302,
4339,
13,
4706,
302,
353,
7431,
29898,
1761,
29898,
1915,
342,
5393,
29889,
1111,
4339,
876,
13,
4706,
1302,
4339,
353,
7442,
29889,
2378,
4197,
29961,
29916,
29961,
29900,
29962,
363,
921,
297,
1051,
29898,
1915,
342,
5393,
29889,
1111,
4339,
29897,
1402,
13,
462,
965,
518,
29891,
29961,
29896,
29962,
363,
343,
297,
1051,
29898,
1915,
342,
5393,
29889,
1111,
4339,
4638,
14664,
29911,
13,
1678,
1683,
29901,
13,
4706,
302,
353,
7431,
29898,
1111,
4339,
1839,
29916,
11287,
13,
4706,
1302,
4339,
353,
7442,
29889,
2378,
4197,
1111,
4339,
1839,
29916,
7464,
13,
462,
965,
1302,
4339,
1839,
29891,
2033,
14664,
29911,
13,
1678,
396,
5141,
506,
1218,
278,
1196,
29892,
2748,
411,
503,
29922,
13609,
322,
1790,
411,
503,
29922,
21064,
1819,
13,
1678,
13791,
353,
7442,
29889,
3298,
359,
3552,
29906,
29930,
29876,
29892,
29871,
29941,
876,
13,
1678,
13791,
7503,
29876,
29892,
584,
29906,
29962,
353,
1302,
4339,
13,
1678,
13791,
7503,
29876,
29892,
29871,
29906,
29962,
353,
503,
1195,
13,
1678,
13791,
29961,
29876,
29901,
29892,
584,
29906,
29962,
353,
1302,
4339,
13,
1678,
13791,
29961,
29876,
29901,
29892,
29871,
29906,
29962,
353,
503,
3317,
13,
1678,
396,
474,
29974,
29876,
11474,
474,
29974,
29876,
29974,
29896,
13,
1678,
396,
18283,
418,
891,
13,
1678,
396,
891,
320,
268,
891,
13,
1678,
396,
891,
29871,
320,
1678,
891,
13,
1678,
396,
891,
259,
320,
259,
891,
13,
1678,
396,
474,
29871,
11474,
474,
29974,
29896,
13,
13,
1678,
3367,
353,
360,
3100,
348,
388,
29898,
1765,
1575,
7503,
29892,
518,
29900,
29892,
29871,
29906,
24960,
13,
1678,
17240,
353,
3367,
29889,
14739,
29399,
13,
1678,
736,
13791,
29892,
17240,
13,
13,
2
] |
text_studio/pipeline.py | tevnpowers/thesis | 2 | 44015 | <filename>text_studio/pipeline.py
"""Sequence of text processing components.
A text processing pipeline is a sequence of text processing components,
namely text_studio.Annotator and text_studio.Action objects that are
executed in order to produce newly annotated data and/or insights.
"""
from collections import OrderedDict
from text_studio.action import Action
from text_studio.annotator import Annotator
class Pipeline(object):
"""Sequence of text processing components.
A text processing pipeline is a sequence of text processing components,
namely text_studio.Annotator and text_studio.Action objects that are
executed in order to produce newly annotated data and/or insights.
Parameters
-------
id : uuid
Unique identifier for a pipeline in a TextStudio project.
name : string
Display name of the pipeline in a TextStudio project.
components : OrderedDict of text_studio.Annotator and text_studio.Action objects
Ordered components to execute for a pipeline.
Methods
-------
add_component(self, component):
Provide new annotations for an individual data instance.
remove_component(self, id):
Provide new annotations for each data instance in a collection.
execute(self, data, output_path, verbose):
Execute the text processing pipeline on data.
"""
def __init__(self, id, name="", components=None):
self.id = id
self.name = name
self.components = components if components else OrderedDict()
def add_component(self, component):
"""Add a new component to the end of a pipeline.
Parameters
----------
component : text_studio.Action or text_studio.Annotator
The component to add to the pipeline.
"""
self.components[component.id] = component
def remove_component(self, id):
"""Remove a component from the pipeline.
Parameters
----------
id : uuid
The id of the component to remove.
"""
del self.components[id]
def execute(self, data, output_path, verbose=False):
"""Execute the text processing pipeline on data.
Parameters
----------
data : collection of data instances
Input data to be processed by the pipeline.
output_path : string
Location for any output from text_studio.Action objects
in the pipeline.
verbose : bool
True if progress statements should be written to the console.
Returns
----------
data : collection of data instances
The collection of input data instances, that is
potentially modified if there are any Annotator
components in the pipeline.
"""
for id, component in self.components.items():
if verbose:
print("Executing component {}...".format(component.name))
if isinstance(component, Annotator):
data = component.process_batch(data)
elif isinstance(component, Action):
component.process_batch(data, output_path)
return data
| [
1,
529,
9507,
29958,
726,
29918,
12073,
29914,
13096,
5570,
29889,
2272,
13,
15945,
29908,
20529,
310,
1426,
9068,
7117,
29889,
13,
13,
29909,
1426,
9068,
16439,
338,
263,
5665,
310,
1426,
9068,
7117,
29892,
13,
8588,
873,
1426,
29918,
12073,
29889,
2744,
1333,
1061,
322,
1426,
29918,
12073,
29889,
4276,
3618,
393,
526,
13,
4258,
3860,
297,
1797,
304,
7738,
15141,
9732,
630,
848,
322,
29914,
272,
1663,
5861,
29889,
13,
15945,
29908,
13,
3166,
16250,
1053,
8170,
287,
21533,
13,
13,
3166,
1426,
29918,
12073,
29889,
2467,
1053,
9123,
13,
3166,
1426,
29918,
12073,
29889,
6735,
1061,
1053,
530,
1333,
1061,
13,
13,
13,
1990,
349,
23828,
29898,
3318,
1125,
13,
1678,
9995,
20529,
310,
1426,
9068,
7117,
29889,
13,
13,
1678,
319,
1426,
9068,
16439,
338,
263,
5665,
310,
1426,
9068,
7117,
29892,
13,
1678,
18451,
1426,
29918,
12073,
29889,
2744,
1333,
1061,
322,
1426,
29918,
12073,
29889,
4276,
3618,
393,
526,
13,
1678,
8283,
297,
1797,
304,
7738,
15141,
9732,
630,
848,
322,
29914,
272,
1663,
5861,
29889,
13,
13,
1678,
12662,
2699,
13,
1678,
448,
22158,
13,
1678,
1178,
584,
318,
5416,
13,
4706,
853,
1387,
15882,
363,
263,
16439,
297,
263,
3992,
28867,
2060,
29889,
13,
1678,
1024,
584,
1347,
13,
4706,
17440,
1024,
310,
278,
16439,
297,
263,
3992,
28867,
2060,
29889,
13,
1678,
7117,
584,
8170,
287,
21533,
310,
1426,
29918,
12073,
29889,
2744,
1333,
1061,
322,
1426,
29918,
12073,
29889,
4276,
3618,
13,
4706,
8170,
287,
7117,
304,
6222,
363,
263,
16439,
29889,
13,
13,
1678,
8108,
29879,
13,
1678,
448,
22158,
13,
1678,
788,
29918,
9700,
29898,
1311,
29892,
4163,
1125,
13,
4706,
9133,
680,
716,
25495,
363,
385,
5375,
848,
2777,
29889,
13,
1678,
3349,
29918,
9700,
29898,
1311,
29892,
1178,
1125,
13,
4706,
9133,
680,
716,
25495,
363,
1269,
848,
2777,
297,
263,
4333,
29889,
13,
1678,
6222,
29898,
1311,
29892,
848,
29892,
1962,
29918,
2084,
29892,
26952,
1125,
13,
4706,
11080,
1082,
278,
1426,
9068,
16439,
373,
848,
29889,
13,
1678,
9995,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
1178,
29892,
1024,
543,
613,
7117,
29922,
8516,
1125,
13,
4706,
1583,
29889,
333,
353,
1178,
13,
4706,
1583,
29889,
978,
353,
1024,
13,
4706,
1583,
29889,
14036,
353,
7117,
565,
7117,
1683,
8170,
287,
21533,
580,
13,
13,
1678,
822,
788,
29918,
9700,
29898,
1311,
29892,
4163,
1125,
13,
4706,
9995,
2528,
263,
716,
4163,
304,
278,
1095,
310,
263,
16439,
29889,
13,
13,
4706,
12662,
2699,
13,
4706,
448,
1378,
29899,
13,
4706,
4163,
584,
1426,
29918,
12073,
29889,
4276,
470,
1426,
29918,
12073,
29889,
2744,
1333,
1061,
13,
9651,
450,
4163,
304,
788,
304,
278,
16439,
29889,
13,
4706,
9995,
13,
4706,
1583,
29889,
14036,
29961,
9700,
29889,
333,
29962,
353,
4163,
13,
13,
1678,
822,
3349,
29918,
9700,
29898,
1311,
29892,
1178,
1125,
13,
4706,
9995,
15941,
263,
4163,
515,
278,
16439,
29889,
13,
13,
4706,
12662,
2699,
13,
4706,
448,
1378,
29899,
13,
4706,
1178,
584,
318,
5416,
13,
9651,
450,
1178,
310,
278,
4163,
304,
3349,
29889,
13,
4706,
9995,
13,
4706,
628,
1583,
29889,
14036,
29961,
333,
29962,
13,
13,
1678,
822,
6222,
29898,
1311,
29892,
848,
29892,
1962,
29918,
2084,
29892,
26952,
29922,
8824,
1125,
13,
4706,
9995,
12296,
278,
1426,
9068,
16439,
373,
848,
29889,
13,
13,
4706,
12662,
2699,
13,
4706,
448,
1378,
29899,
13,
4706,
848,
584,
4333,
310,
848,
8871,
13,
9651,
10567,
848,
304,
367,
19356,
491,
278,
16439,
29889,
13,
4706,
1962,
29918,
2084,
584,
1347,
13,
9651,
17015,
363,
738,
1962,
515,
1426,
29918,
12073,
29889,
4276,
3618,
13,
9651,
297,
278,
16439,
29889,
13,
4706,
26952,
584,
6120,
13,
9651,
5852,
565,
6728,
9506,
881,
367,
3971,
304,
278,
2991,
29889,
13,
13,
4706,
16969,
13,
4706,
448,
1378,
29899,
13,
4706,
848,
584,
4333,
310,
848,
8871,
13,
9651,
450,
4333,
310,
1881,
848,
8871,
29892,
393,
338,
13,
9651,
19998,
9120,
565,
727,
526,
738,
530,
1333,
1061,
13,
9651,
7117,
297,
278,
16439,
29889,
13,
4706,
9995,
13,
4706,
363,
1178,
29892,
4163,
297,
1583,
29889,
14036,
29889,
7076,
7295,
13,
9651,
565,
26952,
29901,
13,
18884,
1596,
703,
5379,
17068,
4163,
6571,
856,
1642,
4830,
29898,
9700,
29889,
978,
876,
13,
13,
9651,
565,
338,
8758,
29898,
9700,
29892,
530,
1333,
1061,
1125,
13,
18884,
848,
353,
4163,
29889,
5014,
29918,
16175,
29898,
1272,
29897,
13,
9651,
25342,
338,
8758,
29898,
9700,
29892,
9123,
1125,
13,
18884,
4163,
29889,
5014,
29918,
16175,
29898,
1272,
29892,
1962,
29918,
2084,
29897,
13,
4706,
736,
848,
13,
2
] |
src/utils/summarize_data.py | bgerofi/mlperf-deepcam | 16 | 71972 | # The MIT License (MIT)
#
# Copyright (c) 2020 NVIDIA CORPORATION. All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of
# this software and associated documentation files (the "Software"), to deal in
# the Software without restriction, including without limitation the rights to
# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
# the Software, and to permit persons to whom the Software is furnished to do so,
# subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
# FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
import os
import sys
import numpy as np
import h5py as h5
from mpi4py import MPI
#merge function helpers
def merge_all_token(token, comm):
#first, allreduce the counts
n = token[0]
nres = comm.allreduce(token[0])
weight = float(n)/float(nres)
dmeanres = comm.allreduce(weight*token[1], op = MPI.SUM)
dsqmeanres = comm.allreduce(weight*token[2], op = MPI.SUM)
#these guys require a custom reduction because there is no elemwise mean
#so lets just gather them
#min
token_all = comm.allgather(token[3])
dminres = token_all[0]
for tk in token_all[1:]:
dminres = np.minimum(dminres, tk)
#max
token_all = comm.allgather(token[4])
dmaxres = token_all[0]
for tk in token_all[1:]:
dmaxres = np.maximum(dmaxres, tk)
return (nres, dmeanres, dsqmeanres, dminres, dmaxres)
def merge_token(token1, token2):
#extract data
#first
n1 = token1[0]
dmean1 = token1[1]
dsqmean1 = token1[2]
dmin1 = token1[3]
dmax1 = token1[4]
#second
n2 = token2[0]
dmean2 = token2[1]
dsqmean2 = token2[2]
dmin2 = token2[3]
dmax2 = token2[4]
#create new token
nres = n1 + n2
dmeanres = float(n1)/float(nres)*dmean1 + float(n2)/float(nres)*dmean2
dsqmeanres = float(n1)/float(nres)*dsqmean1 + float(n2)/float(nres)*dsqmean2
dminres = np.minimum(dmin1, dmin2)
dmaxres = np.maximum(dmax1, dmax2)
return (nres, dmeanres, dsqmeanres, dminres, dmaxres)
#create data token
def create_token(filename, data_format="nchw", rank = 0):
try:
with h5.File(filename, "r") as f:
arr = f["climate/data"][...]
except:
raise IOError("Cannot open file {} on rank {}".format(filename, rank))
#prep axis for ops
axis = (1,2) if data_format == "nchw" else (0,1)
#how many samples do we have: just 1 here
n = 1
#compute stats
mean = np.mean(arr, axis=axis)
meansq = np.mean(np.square(arr), axis=axis)
minimum = np.amin(arr, axis=axis)
maximum = np.amax(arr, axis=axis)
#result
result = (n, mean, meansq, minimum, maximum)
return result
#global parameters
overwrite = False
data_format = "nhwc"
data_path_prefix = "/data"
#MPI
comm = MPI.COMM_WORLD.Dup()
comm_rank = comm.rank
comm_size = comm.size
#root path
root = os.path.join( data_path_prefix, "train" )
#get files
allfiles = [ os.path.join(root, x) for x in os.listdir(root) \
if x.endswith('.h5') and x.startswith('data-') ]
#split list
numfiles = len(allfiles)
chunksize = int(np.ceil(numfiles / comm_size))
start = chunksize * comm_rank
end = min([start + chunksize, numfiles])
files = allfiles[start:end]
#get first token and then merge recursively
token = create_token(files[0], data_format)
for filename in files[1:]:
token = merge_token(create_token(filename, data_format, comm_rank), token)
#communicate results
token = merge_all_token(token, comm)
#write file on rank 0
if comm_rank == 0:
#save the stuff
with h5.File(os.path.join(data_path_prefix, "stats.h5"), "w") as f:
f["climate/count"]=token[0]
f["climate/mean"]=token[1]
f["climate/sqmean"]=token[2]
f["climate/minval"]=token[3]
f["climate/maxval"]=token[4]
| [
1,
396,
450,
341,
1806,
19245,
313,
26349,
29897,
13,
29937,
13,
29937,
14187,
1266,
313,
29883,
29897,
29871,
29906,
29900,
29906,
29900,
405,
13044,
10764,
315,
1955,
29925,
1955,
8098,
29889,
2178,
10462,
21676,
29889,
13,
29937,
13,
29937,
20894,
2333,
338,
1244,
1609,
16896,
29892,
3889,
310,
8323,
29892,
304,
738,
2022,
4017,
292,
263,
3509,
310,
13,
29937,
445,
7047,
322,
6942,
5106,
2066,
313,
1552,
376,
6295,
14093,
4968,
304,
5376,
297,
13,
29937,
278,
18540,
1728,
24345,
29892,
3704,
1728,
29485,
278,
10462,
304,
13,
29937,
671,
29892,
3509,
29892,
6623,
29892,
10366,
29892,
9805,
29892,
1320,
2666,
29892,
269,
803,
1947,
29892,
322,
29914,
272,
19417,
14591,
310,
13,
29937,
278,
18540,
29892,
322,
304,
14257,
12407,
304,
6029,
278,
18540,
338,
15252,
3276,
304,
437,
577,
29892,
13,
29937,
4967,
304,
278,
1494,
5855,
29901,
13,
29937,
13,
29937,
450,
2038,
3509,
1266,
8369,
322,
445,
10751,
8369,
4091,
367,
5134,
297,
599,
13,
29937,
14591,
470,
23228,
2011,
1080,
310,
278,
18540,
29889,
13,
29937,
13,
29937,
6093,
7791,
7818,
12982,
1525,
8519,
13756,
13044,
3352,
376,
3289,
8519,
613,
399,
1806,
8187,
2692,
399,
1718,
29934,
13566,
29979,
8079,
13764,
29979,
476,
22255,
29892,
8528,
15094,
1799,
6323,
13,
29937,
306,
3580,
5265,
3352,
29892,
2672,
6154,
15789,
4214,
350,
2692,
6058,
27848,
3352,
7495,
6093,
399,
1718,
29934,
13566,
29059,
8079,
341,
1001,
3210,
13566,
2882,
6227,
11937,
29892,
383,
1806,
8186,
1799,
13,
29937,
15842,
319,
349,
8322,
2965,
13309,
1718,
349,
4574,
13152,
1660,
5300,
405,
1164,
1177,
15860,
1177,
1692,
13780,
29889,
2672,
11698,
382,
29963,
3919,
24972,
9818,
6093,
26524,
29950,
24125,
6323,
13,
29937,
315,
4590,
29979,
22789,
3912,
379,
5607,
8032,
29903,
20700,
17705,
6181,
15842,
13764,
29979,
315,
4375,
7833,
29892,
21330,
1529,
1692,
29903,
6323,
438,
29911,
4448,
17705,
2882,
6227,
11937,
29892,
12317,
2544,
4448,
13,
29937,
2672,
13764,
319,
9838,
8079,
8707,
29911,
4717,
1783,
29892,
323,
8476,
6323,
438,
29911,
4448,
22119,
1660,
29892,
9033,
3235,
4214,
3895,
29892,
19474,
8079,
6323,
2672,
13,
29937,
8707,
8186,
9838,
22659,
6093,
7791,
7818,
12982,
1525,
6323,
6093,
501,
1660,
6323,
438,
29911,
4448,
5012,
1964,
4214,
29903,
2672,
6093,
7791,
7818,
12982,
1525,
29889,
13,
13,
5215,
2897,
13,
5215,
10876,
13,
5215,
12655,
408,
7442,
13,
5215,
298,
29945,
2272,
408,
298,
29945,
13,
3166,
286,
1631,
29946,
2272,
1053,
341,
2227,
13,
13,
29937,
14634,
740,
1371,
414,
13,
1753,
10366,
29918,
497,
29918,
6979,
29898,
6979,
29892,
844,
1125,
13,
1678,
396,
4102,
29892,
599,
17469,
278,
18139,
13,
1678,
302,
353,
5993,
29961,
29900,
29962,
13,
1678,
302,
690,
353,
844,
29889,
497,
17469,
29898,
6979,
29961,
29900,
2314,
13,
1678,
7688,
353,
5785,
29898,
29876,
6802,
7411,
29898,
29876,
690,
29897,
13,
1678,
270,
12676,
690,
353,
844,
29889,
497,
17469,
29898,
7915,
29930,
6979,
29961,
29896,
1402,
1015,
353,
341,
2227,
29889,
25021,
29897,
13,
1678,
270,
3044,
12676,
690,
353,
844,
29889,
497,
17469,
29898,
7915,
29930,
6979,
29961,
29906,
1402,
1015,
353,
341,
2227,
29889,
25021,
29897,
13,
1678,
396,
386,
968,
18239,
1996,
263,
2888,
20376,
1363,
727,
338,
694,
21268,
3538,
2099,
13,
1678,
396,
578,
16869,
925,
11705,
963,
13,
1678,
396,
1195,
13,
1678,
5993,
29918,
497,
353,
844,
29889,
497,
29887,
1624,
29898,
6979,
29961,
29941,
2314,
13,
1678,
270,
1195,
690,
353,
5993,
29918,
497,
29961,
29900,
29962,
13,
1678,
363,
18883,
297,
5993,
29918,
497,
29961,
29896,
29901,
5387,
13,
4706,
270,
1195,
690,
353,
7442,
29889,
1195,
12539,
29898,
29881,
1195,
690,
29892,
18883,
29897,
13,
1678,
396,
3317,
13,
1678,
5993,
29918,
497,
353,
844,
29889,
497,
29887,
1624,
29898,
6979,
29961,
29946,
2314,
13,
1678,
270,
3317,
690,
353,
5993,
29918,
497,
29961,
29900,
29962,
13,
1678,
363,
18883,
297,
5993,
29918,
497,
29961,
29896,
29901,
5387,
13,
4706,
270,
3317,
690,
353,
7442,
29889,
27525,
398,
29898,
29881,
3317,
690,
29892,
18883,
29897,
13,
13,
1678,
736,
313,
29876,
690,
29892,
270,
12676,
690,
29892,
270,
3044,
12676,
690,
29892,
270,
1195,
690,
29892,
270,
3317,
690,
29897,
13,
13,
13,
1753,
10366,
29918,
6979,
29898,
6979,
29896,
29892,
5993,
29906,
1125,
13,
1678,
396,
21111,
848,
13,
1678,
396,
4102,
13,
1678,
302,
29896,
353,
5993,
29896,
29961,
29900,
29962,
13,
1678,
270,
12676,
29896,
353,
5993,
29896,
29961,
29896,
29962,
13,
1678,
270,
3044,
12676,
29896,
353,
5993,
29896,
29961,
29906,
29962,
13,
1678,
270,
1195,
29896,
353,
5993,
29896,
29961,
29941,
29962,
13,
1678,
270,
3317,
29896,
353,
5993,
29896,
29961,
29946,
29962,
13,
1678,
396,
7496,
13,
1678,
302,
29906,
353,
5993,
29906,
29961,
29900,
29962,
13,
1678,
270,
12676,
29906,
353,
5993,
29906,
29961,
29896,
29962,
13,
1678,
270,
3044,
12676,
29906,
353,
5993,
29906,
29961,
29906,
29962,
13,
1678,
270,
1195,
29906,
353,
5993,
29906,
29961,
29941,
29962,
13,
1678,
270,
3317,
29906,
353,
5993,
29906,
29961,
29946,
29962,
13,
13,
1678,
396,
3258,
716,
5993,
13,
1678,
302,
690,
353,
302,
29896,
718,
302,
29906,
13,
1678,
270,
12676,
690,
353,
5785,
29898,
29876,
29896,
6802,
7411,
29898,
29876,
690,
11877,
29881,
12676,
29896,
718,
5785,
29898,
29876,
29906,
6802,
7411,
29898,
29876,
690,
11877,
29881,
12676,
29906,
13,
1678,
270,
3044,
12676,
690,
353,
5785,
29898,
29876,
29896,
6802,
7411,
29898,
29876,
690,
11877,
29881,
3044,
12676,
29896,
718,
5785,
29898,
29876,
29906,
6802,
7411,
29898,
29876,
690,
11877,
29881,
3044,
12676,
29906,
13,
1678,
270,
1195,
690,
353,
7442,
29889,
1195,
12539,
29898,
29881,
1195,
29896,
29892,
270,
1195,
29906,
29897,
13,
1678,
270,
3317,
690,
353,
7442,
29889,
27525,
398,
29898,
29881,
3317,
29896,
29892,
270,
3317,
29906,
29897,
13,
13,
1678,
736,
313,
29876,
690,
29892,
270,
12676,
690,
29892,
270,
3044,
12676,
690,
29892,
270,
1195,
690,
29892,
270,
3317,
690,
29897,
13,
13,
13,
29937,
3258,
848,
5993,
13,
1753,
1653,
29918,
6979,
29898,
9507,
29892,
848,
29918,
4830,
543,
29876,
305,
29893,
613,
7115,
353,
29871,
29900,
1125,
13,
13,
1678,
1018,
29901,
13,
4706,
411,
298,
29945,
29889,
2283,
29898,
9507,
29892,
376,
29878,
1159,
408,
285,
29901,
13,
9651,
3948,
353,
285,
3366,
695,
6490,
29914,
1272,
3108,
29961,
17361,
13,
1678,
5174,
29901,
13,
4706,
12020,
10663,
2392,
703,
29089,
1722,
934,
6571,
373,
7115,
6571,
1642,
4830,
29898,
9507,
29892,
7115,
876,
13,
308,
13,
1678,
396,
15287,
9685,
363,
288,
567,
13,
1678,
9685,
353,
313,
29896,
29892,
29906,
29897,
565,
848,
29918,
4830,
1275,
376,
29876,
305,
29893,
29908,
1683,
313,
29900,
29892,
29896,
29897,
13,
13,
1678,
396,
3525,
1784,
11916,
437,
591,
505,
29901,
925,
29871,
29896,
1244,
13,
1678,
302,
353,
29871,
29896,
13,
1678,
396,
26017,
22663,
13,
1678,
2099,
353,
7442,
29889,
12676,
29898,
2749,
29892,
9685,
29922,
8990,
29897,
13,
1678,
2794,
29939,
353,
7442,
29889,
12676,
29898,
9302,
29889,
17619,
29898,
2749,
511,
9685,
29922,
8990,
29897,
13,
1678,
9212,
353,
7442,
29889,
9103,
29898,
2749,
29892,
9685,
29922,
8990,
29897,
13,
1678,
7472,
353,
7442,
29889,
314,
1165,
29898,
2749,
29892,
9685,
29922,
8990,
29897,
13,
13,
1678,
396,
2914,
13,
1678,
1121,
353,
313,
29876,
29892,
2099,
29892,
2794,
29939,
29892,
9212,
29892,
7472,
29897,
13,
268,
13,
1678,
736,
1121,
13,
308,
13,
13,
29937,
10945,
4128,
13,
957,
3539,
353,
7700,
13,
1272,
29918,
4830,
353,
376,
29876,
26828,
29883,
29908,
13,
1272,
29918,
2084,
29918,
13506,
353,
5591,
1272,
29908,
13,
13,
29937,
29924,
2227,
13,
2055,
353,
341,
2227,
29889,
3217,
7428,
29918,
11686,
10249,
29889,
29928,
786,
580,
13,
2055,
29918,
10003,
353,
844,
29889,
10003,
13,
2055,
29918,
2311,
353,
844,
29889,
2311,
13,
13,
13,
29937,
4632,
2224,
13,
4632,
353,
2897,
29889,
2084,
29889,
7122,
29898,
848,
29918,
2084,
29918,
13506,
29892,
376,
14968,
29908,
1723,
13,
13,
29937,
657,
2066,
13,
497,
5325,
353,
518,
2897,
29889,
2084,
29889,
7122,
29898,
4632,
29892,
921,
29897,
29871,
363,
921,
297,
2897,
29889,
1761,
3972,
29898,
4632,
29897,
320,
13,
795,
565,
921,
29889,
1975,
2541,
12839,
29882,
29945,
1495,
322,
921,
29889,
27382,
2541,
877,
1272,
29899,
1495,
4514,
13,
13,
29937,
5451,
1051,
13,
1949,
5325,
353,
7431,
29898,
497,
5325,
29897,
13,
305,
18801,
675,
353,
938,
29898,
9302,
29889,
27696,
29898,
1949,
5325,
847,
844,
29918,
2311,
876,
13,
2962,
353,
521,
18801,
675,
334,
844,
29918,
10003,
13,
355,
353,
1375,
4197,
2962,
718,
521,
18801,
675,
29892,
954,
5325,
2314,
13,
5325,
353,
599,
5325,
29961,
2962,
29901,
355,
29962,
13,
13,
29937,
657,
937,
5993,
322,
769,
10366,
8304,
3598,
13,
6979,
353,
1653,
29918,
6979,
29898,
5325,
29961,
29900,
1402,
848,
29918,
4830,
29897,
13,
1454,
10422,
297,
2066,
29961,
29896,
29901,
5387,
13,
1678,
5993,
353,
10366,
29918,
6979,
29898,
3258,
29918,
6979,
29898,
9507,
29892,
848,
29918,
4830,
29892,
844,
29918,
10003,
511,
5993,
29897,
13,
13,
29937,
27820,
403,
2582,
13,
6979,
353,
10366,
29918,
497,
29918,
6979,
29898,
6979,
29892,
844,
29897,
13,
13,
29937,
3539,
934,
373,
7115,
29871,
29900,
13,
361,
844,
29918,
10003,
1275,
29871,
29900,
29901,
13,
13,
1678,
396,
7620,
278,
6433,
13,
1678,
411,
298,
29945,
29889,
2283,
29898,
359,
29889,
2084,
29889,
7122,
29898,
1272,
29918,
2084,
29918,
13506,
29892,
376,
16202,
29889,
29882,
29945,
4968,
376,
29893,
1159,
408,
285,
29901,
13,
4706,
285,
3366,
695,
6490,
29914,
2798,
3108,
29922,
6979,
29961,
29900,
29962,
13,
4706,
285,
3366,
695,
6490,
29914,
12676,
3108,
29922,
6979,
29961,
29896,
29962,
13,
4706,
285,
3366,
695,
6490,
29914,
3044,
12676,
3108,
29922,
6979,
29961,
29906,
29962,
13,
4706,
285,
3366,
695,
6490,
29914,
1195,
791,
3108,
29922,
6979,
29961,
29941,
29962,
13,
4706,
285,
3366,
695,
6490,
29914,
3317,
791,
3108,
29922,
6979,
29961,
29946,
29962,
13,
13,
2
] |
app/__init__.py | ch0ppy35/pyTed | 0 | 154013 | from flask import Flask
import logging
import os
from logging.handlers import RotatingFileHandler, SMTPHandler
from config import Config
app = Flask(__name__)
app.config.from_object(Config)
if not os.path.exists('logs'):
os.mkdir('logs')
# Normal logging setup
file_handler = RotatingFileHandler('logs/pyted.log', maxBytes=10240, backupCount=10)
file_handler.setFormatter(logging.Formatter('%(asctime)s %(levelname)s: %(message)s [in %(pathname)s:%(lineno)d]'))
file_handler.setLevel(logging.INFO)
app.logger.addHandler(file_handler)
app.logger.setLevel(logging.INFO)
import setup
setup.dbCheck()
app.logger.info('~ pyTed is starting up ~')
from app import routes, errors
from app.chores import cronTasks, tasks, queries, scheduledTasks
from app.tools import database
| [
1,
515,
29784,
1053,
2379,
1278,
13,
5215,
12183,
13,
5215,
2897,
13,
3166,
12183,
29889,
3179,
9306,
1053,
9664,
1218,
2283,
4598,
29892,
13766,
3557,
4598,
13,
3166,
2295,
1053,
12782,
13,
13,
932,
353,
2379,
1278,
22168,
978,
1649,
29897,
13,
932,
29889,
2917,
29889,
3166,
29918,
3318,
29898,
3991,
29897,
13,
13,
361,
451,
2897,
29889,
2084,
29889,
9933,
877,
20756,
29374,
13,
1678,
2897,
29889,
11256,
3972,
877,
20756,
1495,
13,
13,
29937,
21981,
12183,
6230,
13,
1445,
29918,
13789,
353,
9664,
1218,
2283,
4598,
877,
20756,
29914,
2272,
9446,
29889,
1188,
742,
4236,
11207,
29922,
29896,
29900,
29906,
29946,
29900,
29892,
16199,
3981,
29922,
29896,
29900,
29897,
13,
1445,
29918,
13789,
29889,
842,
18522,
29898,
21027,
29889,
18522,
877,
29995,
29898,
294,
312,
603,
29897,
29879,
1273,
29898,
5563,
978,
29897,
29879,
29901,
1273,
29898,
4906,
29897,
29879,
518,
262,
1273,
29898,
2084,
978,
29897,
29879,
16664,
29898,
1915,
8154,
29897,
29881,
29962,
8785,
13,
1445,
29918,
13789,
29889,
842,
10108,
29898,
21027,
29889,
11690,
29897,
13,
932,
29889,
21707,
29889,
1202,
4598,
29898,
1445,
29918,
13789,
29897,
13,
932,
29889,
21707,
29889,
842,
10108,
29898,
21027,
29889,
11690,
29897,
13,
13,
5215,
6230,
13,
13,
14669,
29889,
2585,
5596,
580,
13,
13,
932,
29889,
21707,
29889,
3888,
877,
30022,
11451,
29911,
287,
338,
6257,
701,
3695,
1495,
13,
13,
3166,
623,
1053,
12049,
29892,
4436,
13,
3166,
623,
29889,
305,
2361,
1053,
18863,
26249,
29892,
9595,
29892,
9365,
29892,
21467,
26249,
13,
3166,
623,
29889,
8504,
1053,
2566,
13,
2
] |
gym_pool/envs/utils.py | to314as/gym-pool | 1 | 162502 | <reponame>to314as/gym-pool<filename>gym_pool/envs/utils.py
import functools
import operator
def prod(l):
return functools.reduce(operator.mul, l, 1) | [
1,
529,
276,
1112,
420,
29958,
517,
29941,
29896,
29946,
294,
29914,
29887,
962,
29899,
10109,
29966,
9507,
29958,
29887,
962,
29918,
10109,
29914,
264,
4270,
29914,
13239,
29889,
2272,
13,
5215,
2090,
312,
8789,
13,
5215,
5455,
13,
13,
1753,
11859,
29898,
29880,
1125,
13,
1678,
736,
2090,
312,
8789,
29889,
17469,
29898,
6891,
29889,
16109,
29892,
301,
29892,
29871,
29896,
29897,
2
] |
backend/tests/test_search.py | Davidw1339/GroceryBuddy | 0 | 35458 | <filename>backend/tests/test_search.py
import json
import search
import test_data
import copy
from utils import Error
def test_no_args(client):
'''
Tests search without arguments.
'''
rv = client.get('/search')
response = json.loads(rv.data)
assert response == {'success': False,
'error': Error.MISSING_KEYWORD_UPC.value}
def test_extra_args(client):
'''
Tests search with wrong argument names.
'''
rv = client.get('/search', data=json.dumps({
'extra': 'peilun'
}))
response = json.loads(rv.data)
assert response == {'success': False,
'error': Error.MISSING_KEYWORD_UPC.value}
def test_search_by_upc(client, existing_item):
'''
Tests searching items by UPC.
'''
upc = str(existing_item.upc)
rv = client.get('/search?upc=' + upc)
response = json.loads(rv.data)
first = response[0]
assert first['upc'] == upc
def test_search_by_keyword_lower(client, existing_item):
'''
Tests searching items with a lowercase keyword.
'''
upc = str(existing_item.upc)
name = str(existing_item.name).lower()
rv = client.get('/search?keyword=' + name)
response = json.loads(rv.data)
first = response[0]
assert first['upc'] == upc
def test_search_by_keyword_upper(client, existing_item):
'''
Tests searching items with an uppercase keyword.
'''
upc = str(existing_item.upc)
name = str(existing_item.name).upper()
rv = client.get('/search?keyword=' + name)
response = json.loads(rv.data)
first = response[0]
assert first['upc'] == upc
def test_search_by_keyword_mixed(client, existing_item):
'''
Tests searching items with a mixed case keyword.
'''
upc = str(existing_item.upc)
name = str(existing_item.name).lower()
first = name[:int(len(name) / 2)].upper()
second = name[int(len(name) / 2):]
name = first + second
rv = client.get('/search?keyword=' + name)
response = json.loads(rv.data)
first = response[0]
assert first['upc'] == upc
def test_search_by_keyword_partial(client, existing_item):
'''
Tests searching items with a keyword partially matches.
'''
upc = str(existing_item.upc)
name = str(existing_item.name).lower()
name = name[:int(len(name) / 2)]
rv = client.get('/search?keyword=' + name)
response = json.loads(rv.data)
first = response[0]
assert first['upc'] == upc
def test_search_upc_over_keyword(client):
'''
Tests that UPC is prioritized over keyword
if both are given.
'''
first_item = copy.deepcopy(test_data.valid_items[0])
first_item.save()
first_upc = first_item.upc
first_name = first_item.name
second_item = copy.deepcopy(test_data.valid_items[1])
second_item.save()
second_upc = second_item.upc
second_name = second_item.name
assert first_upc != second_upc
assert not first_name in second_name and not second_name in first_name
rv = client.get(str.format(
'/search?upc={}&keyword={}', first_upc, second_name))
response = json.loads(rv.data)
first_result = response[0]
assert first_result['upc'] == first_upc
def test_invalid_limit(client, existing_item):
'''
Tests searching items with a max limit of 0 results.
'''
name = str(existing_item.name).lower()
rv = client.get('/search?keyword=' + name + '&limit=0')
response = json.loads(rv.data)
assert response == {'success': False,
'error': Error.INVALID_LIMIT.value}
def test_limit(client, db):
'''
Tests searching items with a max limit of results.
'''
keyword = 'test'
limit = 1
matches = []
for i in test_data.valid_items:
if keyword in i.name:
copy.deepcopy(i).save()
matches.append(i)
matches = sorted(matches, key=lambda i: i.upc)
rv = client.get('/search?keyword=' + keyword + '&limit=' + str(limit))
response = json.loads(rv.data)
assert len(response) == limit
assert response[0]['upc'] == matches[0].upc
| [
1,
529,
9507,
29958,
27852,
29914,
21150,
29914,
1688,
29918,
4478,
29889,
2272,
13,
5215,
4390,
13,
5215,
2740,
13,
5215,
1243,
29918,
1272,
13,
5215,
3509,
13,
3166,
3667,
29879,
1053,
4829,
13,
13,
13,
1753,
1243,
29918,
1217,
29918,
5085,
29898,
4645,
1125,
13,
1678,
14550,
13,
1678,
4321,
29879,
2740,
1728,
6273,
29889,
13,
1678,
14550,
13,
1678,
364,
29894,
353,
3132,
29889,
657,
11219,
4478,
1495,
13,
1678,
2933,
353,
4390,
29889,
18132,
29898,
15291,
29889,
1272,
29897,
13,
1678,
4974,
2933,
1275,
11117,
8698,
2396,
7700,
29892,
13,
462,
4706,
525,
2704,
2396,
4829,
29889,
10403,
1799,
4214,
29918,
10818,
17013,
29918,
4897,
29907,
29889,
1767,
29913,
13,
13,
13,
1753,
1243,
29918,
17833,
29918,
5085,
29898,
4645,
1125,
13,
1678,
14550,
13,
1678,
4321,
29879,
2740,
411,
2743,
2980,
2983,
29889,
13,
1678,
14550,
13,
1678,
364,
29894,
353,
3132,
29889,
657,
11219,
4478,
742,
848,
29922,
3126,
29889,
29881,
17204,
3319,
13,
4706,
525,
17833,
2396,
525,
412,
309,
348,
29915,
13,
1678,
500,
876,
13,
1678,
2933,
353,
4390,
29889,
18132,
29898,
15291,
29889,
1272,
29897,
13,
1678,
4974,
2933,
1275,
11117,
8698,
2396,
7700,
29892,
13,
462,
4706,
525,
2704,
2396,
4829,
29889,
10403,
1799,
4214,
29918,
10818,
17013,
29918,
4897,
29907,
29889,
1767,
29913,
13,
13,
13,
1753,
1243,
29918,
4478,
29918,
1609,
29918,
786,
29883,
29898,
4645,
29892,
5923,
29918,
667,
1125,
13,
1678,
14550,
13,
1678,
4321,
29879,
11975,
4452,
491,
501,
9026,
29889,
13,
1678,
14550,
13,
1678,
701,
29883,
353,
851,
29898,
735,
15423,
29918,
667,
29889,
786,
29883,
29897,
13,
13,
1678,
364,
29894,
353,
3132,
29889,
657,
11219,
4478,
29973,
786,
29883,
2433,
718,
701,
29883,
29897,
13,
1678,
2933,
353,
4390,
29889,
18132,
29898,
15291,
29889,
1272,
29897,
13,
1678,
937,
353,
2933,
29961,
29900,
29962,
13,
13,
1678,
4974,
937,
1839,
786,
29883,
2033,
1275,
701,
29883,
13,
13,
13,
1753,
1243,
29918,
4478,
29918,
1609,
29918,
26766,
29918,
13609,
29898,
4645,
29892,
5923,
29918,
667,
1125,
13,
1678,
14550,
13,
1678,
4321,
29879,
11975,
4452,
411,
263,
5224,
4878,
13553,
29889,
13,
1678,
14550,
13,
1678,
701,
29883,
353,
851,
29898,
735,
15423,
29918,
667,
29889,
786,
29883,
29897,
13,
1678,
1024,
353,
851,
29898,
735,
15423,
29918,
667,
29889,
978,
467,
13609,
580,
13,
13,
1678,
364,
29894,
353,
3132,
29889,
657,
11219,
4478,
29973,
26766,
2433,
718,
1024,
29897,
13,
1678,
2933,
353,
4390,
29889,
18132,
29898,
15291,
29889,
1272,
29897,
13,
1678,
937,
353,
2933,
29961,
29900,
29962,
13,
13,
1678,
4974,
937,
1839,
786,
29883,
2033,
1275,
701,
29883,
13,
13,
13,
1753,
1243,
29918,
4478,
29918,
1609,
29918,
26766,
29918,
21064,
29898,
4645,
29892,
5923,
29918,
667,
1125,
13,
1678,
14550,
13,
1678,
4321,
29879,
11975,
4452,
411,
385,
7568,
4878,
13553,
29889,
13,
1678,
14550,
13,
1678,
701,
29883,
353,
851,
29898,
735,
15423,
29918,
667,
29889,
786,
29883,
29897,
13,
1678,
1024,
353,
851,
29898,
735,
15423,
29918,
667,
29889,
978,
467,
21064,
580,
13,
13,
1678,
364,
29894,
353,
3132,
29889,
657,
11219,
4478,
29973,
26766,
2433,
718,
1024,
29897,
13,
1678,
2933,
353,
4390,
29889,
18132,
29898,
15291,
29889,
1272,
29897,
13,
1678,
937,
353,
2933,
29961,
29900,
29962,
13,
13,
1678,
4974,
937,
1839,
786,
29883,
2033,
1275,
701,
29883,
13,
13,
13,
1753,
1243,
29918,
4478,
29918,
1609,
29918,
26766,
29918,
29885,
11925,
29898,
4645,
29892,
5923,
29918,
667,
1125,
13,
1678,
14550,
13,
1678,
4321,
29879,
11975,
4452,
411,
263,
12849,
1206,
13553,
29889,
13,
1678,
14550,
13,
1678,
701,
29883,
353,
851,
29898,
735,
15423,
29918,
667,
29889,
786,
29883,
29897,
13,
1678,
1024,
353,
851,
29898,
735,
15423,
29918,
667,
29889,
978,
467,
13609,
580,
13,
13,
1678,
937,
353,
1024,
7503,
524,
29898,
2435,
29898,
978,
29897,
847,
29871,
29906,
29897,
1822,
21064,
580,
13,
1678,
1473,
353,
1024,
29961,
524,
29898,
2435,
29898,
978,
29897,
847,
29871,
29906,
1125,
29962,
13,
1678,
1024,
353,
937,
718,
1473,
13,
13,
1678,
364,
29894,
353,
3132,
29889,
657,
11219,
4478,
29973,
26766,
2433,
718,
1024,
29897,
13,
1678,
2933,
353,
4390,
29889,
18132,
29898,
15291,
29889,
1272,
29897,
13,
1678,
937,
353,
2933,
29961,
29900,
29962,
13,
13,
1678,
4974,
937,
1839,
786,
29883,
2033,
1275,
701,
29883,
13,
13,
13,
1753,
1243,
29918,
4478,
29918,
1609,
29918,
26766,
29918,
3846,
29898,
4645,
29892,
5923,
29918,
667,
1125,
13,
1678,
14550,
13,
1678,
4321,
29879,
11975,
4452,
411,
263,
13553,
22039,
7087,
29889,
13,
1678,
14550,
13,
1678,
701,
29883,
353,
851,
29898,
735,
15423,
29918,
667,
29889,
786,
29883,
29897,
13,
1678,
1024,
353,
851,
29898,
735,
15423,
29918,
667,
29889,
978,
467,
13609,
580,
13,
13,
1678,
1024,
353,
1024,
7503,
524,
29898,
2435,
29898,
978,
29897,
847,
29871,
29906,
4638,
13,
13,
1678,
364,
29894,
353,
3132,
29889,
657,
11219,
4478,
29973,
26766,
2433,
718,
1024,
29897,
13,
1678,
2933,
353,
4390,
29889,
18132,
29898,
15291,
29889,
1272,
29897,
13,
1678,
937,
353,
2933,
29961,
29900,
29962,
13,
13,
1678,
4974,
937,
1839,
786,
29883,
2033,
1275,
701,
29883,
13,
13,
13,
1753,
1243,
29918,
4478,
29918,
786,
29883,
29918,
957,
29918,
26766,
29898,
4645,
1125,
13,
1678,
14550,
13,
1678,
4321,
29879,
393,
501,
9026,
338,
7536,
277,
1891,
975,
13553,
13,
1678,
565,
1716,
526,
2183,
29889,
13,
1678,
14550,
13,
1678,
937,
29918,
667,
353,
3509,
29889,
24535,
8552,
29898,
1688,
29918,
1272,
29889,
3084,
29918,
7076,
29961,
29900,
2314,
13,
1678,
937,
29918,
667,
29889,
7620,
580,
13,
1678,
937,
29918,
786,
29883,
353,
937,
29918,
667,
29889,
786,
29883,
13,
1678,
937,
29918,
978,
353,
937,
29918,
667,
29889,
978,
13,
13,
1678,
1473,
29918,
667,
353,
3509,
29889,
24535,
8552,
29898,
1688,
29918,
1272,
29889,
3084,
29918,
7076,
29961,
29896,
2314,
13,
1678,
1473,
29918,
667,
29889,
7620,
580,
13,
1678,
1473,
29918,
786,
29883,
353,
1473,
29918,
667,
29889,
786,
29883,
13,
1678,
1473,
29918,
978,
353,
1473,
29918,
667,
29889,
978,
13,
13,
1678,
4974,
937,
29918,
786,
29883,
2804,
1473,
29918,
786,
29883,
13,
1678,
4974,
451,
937,
29918,
978,
297,
1473,
29918,
978,
322,
451,
1473,
29918,
978,
297,
937,
29918,
978,
13,
13,
1678,
364,
29894,
353,
3132,
29889,
657,
29898,
710,
29889,
4830,
29898,
13,
4706,
8207,
4478,
29973,
786,
29883,
3790,
15704,
26766,
3790,
29913,
742,
937,
29918,
786,
29883,
29892,
1473,
29918,
978,
876,
13,
1678,
2933,
353,
4390,
29889,
18132,
29898,
15291,
29889,
1272,
29897,
13,
1678,
937,
29918,
2914,
353,
2933,
29961,
29900,
29962,
13,
13,
1678,
4974,
937,
29918,
2914,
1839,
786,
29883,
2033,
1275,
937,
29918,
786,
29883,
13,
13,
13,
1753,
1243,
29918,
20965,
29918,
13400,
29898,
4645,
29892,
5923,
29918,
667,
1125,
13,
1678,
14550,
13,
1678,
4321,
29879,
11975,
4452,
411,
263,
4236,
4046,
310,
29871,
29900,
2582,
29889,
13,
1678,
14550,
13,
1678,
1024,
353,
851,
29898,
735,
15423,
29918,
667,
29889,
978,
467,
13609,
580,
13,
13,
1678,
364,
29894,
353,
3132,
29889,
657,
11219,
4478,
29973,
26766,
2433,
718,
1024,
718,
525,
29987,
13400,
29922,
29900,
1495,
13,
1678,
2933,
353,
4390,
29889,
18132,
29898,
15291,
29889,
1272,
29897,
13,
1678,
4974,
2933,
1275,
11117,
8698,
2396,
7700,
29892,
13,
462,
4706,
525,
2704,
2396,
4829,
29889,
1177,
26707,
29918,
5265,
26349,
29889,
1767,
29913,
13,
13,
13,
1753,
1243,
29918,
13400,
29898,
4645,
29892,
4833,
1125,
13,
1678,
14550,
13,
1678,
4321,
29879,
11975,
4452,
411,
263,
4236,
4046,
310,
2582,
29889,
13,
1678,
14550,
13,
1678,
13553,
353,
525,
1688,
29915,
13,
1678,
4046,
353,
29871,
29896,
13,
13,
1678,
7087,
353,
5159,
13,
1678,
363,
474,
297,
1243,
29918,
1272,
29889,
3084,
29918,
7076,
29901,
13,
4706,
565,
13553,
297,
474,
29889,
978,
29901,
13,
9651,
3509,
29889,
24535,
8552,
29898,
29875,
467,
7620,
580,
13,
9651,
7087,
29889,
4397,
29898,
29875,
29897,
13,
1678,
7087,
353,
12705,
29898,
20317,
29892,
1820,
29922,
2892,
474,
29901,
474,
29889,
786,
29883,
29897,
13,
13,
1678,
364,
29894,
353,
3132,
29889,
657,
11219,
4478,
29973,
26766,
2433,
718,
13553,
718,
525,
29987,
13400,
2433,
718,
851,
29898,
13400,
876,
13,
1678,
2933,
353,
4390,
29889,
18132,
29898,
15291,
29889,
1272,
29897,
13,
1678,
4974,
7431,
29898,
5327,
29897,
1275,
4046,
13,
1678,
4974,
2933,
29961,
29900,
22322,
786,
29883,
2033,
1275,
7087,
29961,
29900,
1822,
786,
29883,
13,
2
] |
udacity/take_a_break.py | JuanBalceda/python-basics | 0 | 167015 | import webbrowser
import time
# Take a break every hours
num = 0
while num < 3:
print('Begin at: ' + time.ctime())
time.sleep(2*60*60)
webbrowser.open("https://www.youtube.com/watch?v=dlFA0Zq1k2A&list=RDdlFA0Zq1k2A")
num += 1
print('End at: ' + time.ctime())
| [
1,
1053,
591,
1327,
8777,
13,
5215,
931,
13,
13,
29937,
11190,
263,
2867,
1432,
6199,
13,
13,
1949,
353,
29871,
29900,
13,
13,
8000,
954,
529,
29871,
29941,
29901,
13,
1678,
1596,
877,
17946,
472,
29901,
525,
718,
931,
29889,
312,
603,
3101,
13,
1678,
931,
29889,
17059,
29898,
29906,
29930,
29953,
29900,
29930,
29953,
29900,
29897,
13,
1678,
591,
1327,
8777,
29889,
3150,
703,
991,
597,
1636,
29889,
19567,
29889,
510,
29914,
12344,
29973,
29894,
29922,
11671,
4519,
29900,
29999,
29939,
29896,
29895,
29906,
29909,
29987,
1761,
29922,
29934,
29928,
11671,
4519,
29900,
29999,
29939,
29896,
29895,
29906,
29909,
1159,
13,
1678,
954,
4619,
29871,
29896,
13,
13,
2158,
877,
5044,
472,
29901,
525,
718,
931,
29889,
312,
603,
3101,
13,
2
] |
src/preprocessor.py | aaditkamat/dr-ranking-metric | 18 | 75221 | <gh_stars>10-100
import codecs
import yaml
from typing import Tuple, Dict
import numpy as np
import pandas as pd
from scipy import stats
from sklearn.model_selection import train_test_split
import tensorflow as tf
from tensorflow.python.framework import ops
from model import MF
def sigmoid(x: np.ndarray) -> np.ndarray:
"""Calculate sigmoid."""
return 1 / (1 + np.exp(-x))
def transform_rating(ratings: np.ndarray, eps: float = 0.1) -> np.ndarray:
"""Transform ratings into graded relevance information."""
ratings -= 1
return eps + (1.0 - eps) * (2 ** ratings - 1) / (2 ** np.max(ratings) - 1)
def preprocess_movielens(
power: float = 1.0, seed: int = 12345
) -> Dict[str, np.ndarray]:
"""Load and preprocess ML 100K."""
np.random.seed(seed)
with open("../config.yaml", "rb") as f:
config = yaml.safe_load(f)
val_size = config["val_size"]
hyperparams = config["mf_hyperparams"]
with codecs.open(
f"../data/ml-100k/ml-100k.data", "r", "utf-8", errors="ignore"
) as f:
data = pd.read_csv(f, delimiter="\t", header=None).loc[:, :2]
data.rename(columns={0: "user", 1: "item", 2: "rate"}, inplace=True)
data.user, data.item = data.user - 1, data.item - 1
data = data.values
num_users, num_items = data[:, 0].max() + 1, data[:, 1].max() + 1
user_item_ = (
pd.DataFrame(np.zeros((num_users, num_items)))
.stack()
.reset_index()
.values[:, :2]
)
# generate CVR by MF.
ops.reset_default_graph()
sess = tf.Session()
tf.set_random_seed(seed)
model = MF(
num_users=num_users,
num_items=num_items,
dim=hyperparams["dim"],
eta=hyperparams["eta"],
lam=hyperparams["lam"],
)
# initialise all the TF variables
init_op = tf.global_variables_initializer()
sess.run(init_op)
for _ in np.arange(hyperparams["iters"]):
idx = np.random.choice(np.arange(data.shape[0]), size=hyperparams["batch_size"])
_ = sess.run(
model.apply_grads_mse,
feed_dict={
model.users: data[idx, 0],
model.items: data[idx, 1],
model.labels: np.expand_dims(data[idx, 2], 1),
model.pscore: np.ones((hyperparams["batch_size"], 1)),
},
)
cvr = sess.run(
model.preds,
feed_dict={model.users: user_item_[:, 0], model.items: user_item_[:, 1]},
)
cvr = np.clip(cvr.flatten(), 1, 5)
cvr = transform_rating(cvr, eps=0.1)
cv = np.random.binomial(n=1, p=cvr)
# generate CTR by logistic MF.
all_data = (
pd.DataFrame(np.zeros((num_users, num_items)))
.stack()
.reset_index()
.values[:, :2]
)
pos_data = data[:, :2]
unlabeled_data = np.array(
list(set(map(tuple, all_data)) - set(map(tuple, pos_data))), dtype=int
)
data = np.r_[
np.c_[pos_data, np.ones(pos_data.shape[0])],
np.c_[unlabeled_data, np.zeros(unlabeled_data.shape[0])],
]
ops.reset_default_graph()
sess = tf.Session()
tf.set_random_seed(seed)
model = MF(
num_users=num_users,
num_items=num_items,
dim=hyperparams["dim"],
eta=hyperparams["eta"],
lam=hyperparams["lam"],
)
# initialise all the TF variables
init_op = tf.global_variables_initializer()
sess.run(init_op)
for _ in np.arange(hyperparams["iters"]):
idx = np.random.choice(np.arange(data.shape[0]), size=hyperparams["batch_size"])
_ = sess.run(
model.apply_grads_ce,
feed_dict={
model.users: data[idx, 0],
model.items: data[idx, 1],
model.labels: np.expand_dims(data[idx, 2], 1),
model.pscore: np.ones((hyperparams["batch_size"], 1)),
},
)
ctr = sess.run(
model.preds,
feed_dict={model.users: user_item_[:, 0], model.items: user_item_[:, 1]},
)
ctr = sigmoid(ctr.flatten()) ** power
ct = np.random.binomial(n=1, p=ctr)
train_indicator = np.random.binomial(n=1, p=(1.0 - val_size), size=ct.shape[0])
ct_train, ct_val = ct * train_indicator, ct * (1 - train_indicator)
train = np.c_[user_item_, ct_train * cv]
val = np.c_[user_item_, ct_val * cv, ct_val, cv, ctr * val_size, cvr]
test = np.c_[user_item_, ct * cv, ct, cv, ctr, cvr]
return train, val, test
def preprocess_yahoo_coat(
data: str, val_ratio: float = 0.3, seed: int = 12345
) -> Tuple:
"""Load and preprocess Yahoo! R3 and Coat datasets."""
np.random.seed(seed)
with open("../config.yaml", "rb") as f:
hyperparams = yaml.safe_load(f)["mf_hyperparams"]
if data == "yahoo":
cols = {0: "user", 1: "item", 2: "rate"}
with codecs.open(
f"../data/yahoo/train.txt", "r", "utf-8", errors="ignore"
) as f:
train_ = pd.read_csv(f, delimiter="\t", header=None)
train_.rename(columns=cols, inplace=True)
with codecs.open(f"../data/yahoo/test.txt", "r", "utf-8", errors="ignore") as f:
test_ = pd.read_csv(f, delimiter="\t", header=None)
test_.rename(columns=cols, inplace=True)
for data_ in [train_, test_]:
data_.user, data_.item = data_.user - 1, data_.item - 1
elif data == "coat":
cols = {"level_0": "user", "level_1": "item", 2: "rate", 0: "rate"}
with codecs.open(
f"../data/coat/train.ascii", "r", "utf-8", errors="ignore"
) as f:
train_ = pd.read_csv(f, delimiter=" ", header=None)
train_ = train_.stack().reset_index().rename(columns=cols)
train_ = train_[train_.rate != 0].reset_index(drop=True)
with codecs.open(
f"../data/coat/test.ascii", "r", "utf-8", errors="ignore"
) as f:
test_ = pd.read_csv(f, delimiter=" ", header=None)
test_ = test_.stack().reset_index().rename(columns=cols)
test_ = test_[test_.rate != 0].reset_index(drop=True)
# binarize ratings
for data_ in [train_, test_]:
data_.rate = np.array(data_.rate >= 4, dtype=int)
# estimate propensity score by MF
train, test = train_.values, test_.values
pos_train = train_[train_.rate == 1].values
pos_test = test_[test_.rate == 1].values
# preprocess datasets
unique_user_train, user_counts_train = np.unique(
pos_train[:, 0], return_counts=True
)
unique_user_train = unique_user_train[user_counts_train >= 2]
unique_user_test, user_counts_test = np.unique(pos_test[:, 0], return_counts=True)
unique_user_test = unique_user_test[user_counts_test <= 9]
valid_users = np.intersect1d(unique_user_train, unique_user_test)
train = train[np.array([u in valid_users for u in train[:, 0]])]
test = test[np.array([u in valid_users for u in test[:, 0]])]
train[:, 0] = stats.rankdata(train[:, 0], method="dense") - 1
test[:, 0] = stats.rankdata(test[:, 0], method="dense") - 1
num_users, num_items = train[:, 0].max() + 1, train[:, 1].max() + 1
all_data = (
pd.DataFrame(np.zeros((num_users, num_items)))
.stack()
.reset_index()
.values[:, :2]
)
unobs_data = np.array(
list(set(map(tuple, all_data)) - set(map(tuple, train[:, :2])))
)
train = np.r_[
np.c_[train, np.ones(train.shape[0])],
np.c_[unobs_data, np.zeros((unobs_data.shape[0], 2))],
]
train, val = train_test_split(train, test_size=val_ratio, random_state=seed)
unobs_data = np.array(list(set(map(tuple, all_data)) - set(map(tuple, val[:, :2]))))
val = np.r_[val, np.c_[unobs_data, np.zeros((unobs_data.shape[0], 2))]]
# define the matrix factorization model
ops.reset_default_graph()
sess = tf.Session()
tf.set_random_seed(seed)
model = MF(
num_users=num_users,
num_items=num_items,
dim=hyperparams["dim"],
eta=hyperparams["eta"],
lam=hyperparams["lam"],
)
# initialise all the TF variables
init_op = tf.global_variables_initializer()
sess.run(init_op)
for _ in np.arange(hyperparams["iters"]):
idx = np.random.choice(np.arange(val.shape[0]), size=hyperparams["batch_size"])
_ = sess.run(
model.apply_grads_ce,
feed_dict={
model.users: val[idx, 0],
model.items: val[idx, 1],
model.labels: np.expand_dims(val[idx, 3], 1),
model.pscore: np.ones((hyperparams["batch_size"], 1)),
},
)
# obtain dense user-item matrix
ctr_hat = sess.run(
model.preds,
feed_dict={
model.users: val[:, 0].astype(int),
model.items: val[:, 1].astype(int),
},
)
val = np.c_[val, sigmoid(ctr_hat)]
# estimate relevance parameter (gamma) by MF.
ops.reset_default_graph()
sess = tf.Session()
tf.set_random_seed(seed)
model = MF(
num_users=num_users,
num_items=num_items,
dim=hyperparams["dim"],
eta=hyperparams["eta"],
lam=hyperparams["lam"],
)
# observed data
val_obs = val[val[:, 3] == 1]
# initialise all the TF variables
init_op = tf.global_variables_initializer()
sess.run(init_op)
for _ in np.arange(hyperparams["iters"]):
idx = np.random.choice(
np.arange(val_obs.shape[0]), size=hyperparams["batch_size"]
)
_ = sess.run(
model.apply_grads_ce,
feed_dict={
model.users: val_obs[idx, 0],
model.items: val_obs[idx, 1],
model.labels: np.expand_dims(val_obs[idx, 2], 1),
model.pscore: np.expand_dims(val_obs[idx, 4], 1),
},
)
# obtain dense user-item matrix
gamma_hat = sess.run(
model.preds,
feed_dict={
model.users: val[:, 0].astype(int),
model.items: val[:, 1].astype(int),
},
)
val = np.c_[val, sigmoid(gamma_hat)]
# create test data containing all items
all_data = (
pd.DataFrame(np.zeros((num_users, num_items)))
.stack()
.reset_index()
.values[:, :2]
)
unobs_data = np.array(
list(set(map(tuple, all_data)) - set(map(tuple, test[:, :2])))
)
test = np.r_[
np.c_[test, np.ones(test.shape[0])],
np.c_[unobs_data, np.zeros((unobs_data.shape[0], 2))],
]
avg_test_pscore = test[:, -1].mean()
test = np.c_[test, np.ones(test.shape[0]) * avg_test_pscore]
return train, val, test
| [
1,
529,
12443,
29918,
303,
1503,
29958,
29896,
29900,
29899,
29896,
29900,
29900,
13,
5215,
775,
2395,
13,
5215,
343,
8807,
13,
3166,
19229,
1053,
12603,
552,
29892,
360,
919,
13,
13,
5215,
12655,
408,
7442,
13,
5215,
11701,
408,
10518,
13,
3166,
4560,
2272,
1053,
22663,
13,
3166,
2071,
19668,
29889,
4299,
29918,
21731,
1053,
7945,
29918,
1688,
29918,
5451,
13,
5215,
26110,
408,
15886,
13,
3166,
26110,
29889,
4691,
29889,
4468,
1053,
288,
567,
13,
13,
3166,
1904,
1053,
341,
29943,
13,
13,
13,
1753,
4365,
29885,
3398,
29898,
29916,
29901,
7442,
29889,
299,
2378,
29897,
1599,
7442,
29889,
299,
2378,
29901,
13,
1678,
9995,
27065,
403,
4365,
29885,
3398,
1213,
15945,
13,
1678,
736,
29871,
29896,
847,
313,
29896,
718,
7442,
29889,
4548,
6278,
29916,
876,
13,
13,
13,
1753,
4327,
29918,
29741,
29898,
3605,
886,
29901,
7442,
29889,
299,
2378,
29892,
321,
567,
29901,
5785,
353,
29871,
29900,
29889,
29896,
29897,
1599,
7442,
29889,
299,
2378,
29901,
13,
1678,
9995,
13372,
26838,
964,
4656,
287,
29527,
749,
2472,
1213,
15945,
13,
1678,
26838,
22361,
29871,
29896,
13,
1678,
736,
321,
567,
718,
313,
29896,
29889,
29900,
448,
321,
567,
29897,
334,
313,
29906,
3579,
26838,
448,
29871,
29896,
29897,
847,
313,
29906,
3579,
7442,
29889,
3317,
29898,
3605,
886,
29897,
448,
29871,
29896,
29897,
13,
13,
13,
1753,
758,
5014,
29918,
13529,
709,
575,
29898,
13,
1678,
3081,
29901,
5785,
353,
29871,
29896,
29889,
29900,
29892,
16717,
29901,
938,
353,
29871,
29896,
29906,
29941,
29946,
29945,
13,
29897,
1599,
360,
919,
29961,
710,
29892,
7442,
29889,
299,
2378,
5387,
13,
1678,
9995,
5896,
322,
758,
5014,
23158,
29871,
29896,
29900,
29900,
29968,
1213,
15945,
13,
1678,
7442,
29889,
8172,
29889,
26776,
29898,
26776,
29897,
13,
13,
1678,
411,
1722,
703,
6995,
2917,
29889,
25162,
613,
376,
6050,
1159,
408,
285,
29901,
13,
4706,
2295,
353,
343,
8807,
29889,
11177,
29918,
1359,
29898,
29888,
29897,
13,
4706,
659,
29918,
2311,
353,
2295,
3366,
791,
29918,
2311,
3108,
13,
4706,
11266,
7529,
353,
2295,
3366,
29885,
29888,
29918,
24947,
7529,
3108,
13,
13,
1678,
411,
775,
2395,
29889,
3150,
29898,
13,
4706,
285,
29908,
6995,
1272,
29914,
828,
29899,
29896,
29900,
29900,
29895,
29914,
828,
29899,
29896,
29900,
29900,
29895,
29889,
1272,
613,
376,
29878,
613,
376,
9420,
29899,
29947,
613,
4436,
543,
17281,
29908,
13,
1678,
1723,
408,
285,
29901,
13,
4706,
848,
353,
10518,
29889,
949,
29918,
7638,
29898,
29888,
29892,
28552,
543,
29905,
29873,
613,
4839,
29922,
8516,
467,
2029,
7503,
29892,
584,
29906,
29962,
13,
4706,
848,
29889,
1267,
420,
29898,
13099,
3790,
29900,
29901,
376,
1792,
613,
29871,
29896,
29901,
376,
667,
613,
29871,
29906,
29901,
376,
10492,
10758,
297,
6689,
29922,
5574,
29897,
13,
4706,
848,
29889,
1792,
29892,
848,
29889,
667,
353,
848,
29889,
1792,
448,
29871,
29896,
29892,
848,
29889,
667,
448,
29871,
29896,
13,
4706,
848,
353,
848,
29889,
5975,
13,
13,
1678,
954,
29918,
7193,
29892,
954,
29918,
7076,
353,
848,
7503,
29892,
29871,
29900,
1822,
3317,
580,
718,
29871,
29896,
29892,
848,
7503,
29892,
29871,
29896,
1822,
3317,
580,
718,
29871,
29896,
13,
1678,
1404,
29918,
667,
29918,
353,
313,
13,
4706,
10518,
29889,
17271,
29898,
9302,
29889,
3298,
359,
3552,
1949,
29918,
7193,
29892,
954,
29918,
7076,
4961,
13,
4706,
869,
1429,
580,
13,
4706,
869,
12071,
29918,
2248,
580,
13,
4706,
869,
5975,
7503,
29892,
584,
29906,
29962,
13,
1678,
1723,
13,
1678,
396,
5706,
25778,
29934,
491,
341,
29943,
29889,
13,
1678,
288,
567,
29889,
12071,
29918,
4381,
29918,
4262,
580,
13,
1678,
27937,
353,
15886,
29889,
7317,
580,
13,
1678,
15886,
29889,
842,
29918,
8172,
29918,
26776,
29898,
26776,
29897,
13,
1678,
1904,
353,
341,
29943,
29898,
13,
4706,
954,
29918,
7193,
29922,
1949,
29918,
7193,
29892,
13,
4706,
954,
29918,
7076,
29922,
1949,
29918,
7076,
29892,
13,
4706,
3964,
29922,
24947,
7529,
3366,
6229,
12436,
13,
4706,
634,
29874,
29922,
24947,
7529,
3366,
1187,
12436,
13,
4706,
301,
314,
29922,
24947,
7529,
3366,
5288,
12436,
13,
1678,
1723,
13,
1678,
396,
2847,
895,
599,
278,
323,
29943,
3651,
13,
1678,
2069,
29918,
459,
353,
15886,
29889,
10945,
29918,
20897,
29918,
11228,
3950,
580,
13,
1678,
27937,
29889,
3389,
29898,
2344,
29918,
459,
29897,
13,
1678,
363,
903,
297,
7442,
29889,
279,
927,
29898,
24947,
7529,
3366,
277,
414,
3108,
1125,
13,
4706,
22645,
353,
7442,
29889,
8172,
29889,
16957,
29898,
9302,
29889,
279,
927,
29898,
1272,
29889,
12181,
29961,
29900,
11724,
2159,
29922,
24947,
7529,
3366,
16175,
29918,
2311,
20068,
13,
4706,
903,
353,
27937,
29889,
3389,
29898,
13,
9651,
1904,
29889,
7302,
29918,
5105,
29879,
29918,
29885,
344,
29892,
13,
9651,
8343,
29918,
8977,
3790,
13,
18884,
1904,
29889,
7193,
29901,
848,
29961,
13140,
29892,
29871,
29900,
1402,
13,
18884,
1904,
29889,
7076,
29901,
848,
29961,
13140,
29892,
29871,
29896,
1402,
13,
18884,
1904,
29889,
21134,
29901,
7442,
29889,
18837,
29918,
6229,
29879,
29898,
1272,
29961,
13140,
29892,
29871,
29906,
1402,
29871,
29896,
511,
13,
18884,
1904,
29889,
567,
3221,
29901,
7442,
29889,
2873,
3552,
24947,
7529,
3366,
16175,
29918,
2311,
12436,
29871,
29896,
8243,
13,
9651,
2981,
13,
4706,
1723,
13,
1678,
274,
13416,
353,
27937,
29889,
3389,
29898,
13,
4706,
1904,
29889,
11965,
29879,
29892,
13,
4706,
8343,
29918,
8977,
3790,
4299,
29889,
7193,
29901,
1404,
29918,
667,
29918,
7503,
29892,
29871,
29900,
1402,
1904,
29889,
7076,
29901,
1404,
29918,
667,
29918,
7503,
29892,
29871,
29896,
29962,
1118,
13,
1678,
1723,
13,
1678,
274,
13416,
353,
7442,
29889,
24049,
29898,
11023,
29878,
29889,
1579,
8606,
3285,
29871,
29896,
29892,
29871,
29945,
29897,
13,
1678,
274,
13416,
353,
4327,
29918,
29741,
29898,
11023,
29878,
29892,
321,
567,
29922,
29900,
29889,
29896,
29897,
13,
1678,
13850,
353,
7442,
29889,
8172,
29889,
2109,
7615,
29898,
29876,
29922,
29896,
29892,
282,
29922,
11023,
29878,
29897,
13,
13,
1678,
396,
5706,
315,
5659,
491,
1480,
4695,
341,
29943,
29889,
13,
1678,
599,
29918,
1272,
353,
313,
13,
4706,
10518,
29889,
17271,
29898,
9302,
29889,
3298,
359,
3552,
1949,
29918,
7193,
29892,
954,
29918,
7076,
4961,
13,
4706,
869,
1429,
580,
13,
4706,
869,
12071,
29918,
2248,
580,
13,
4706,
869,
5975,
7503,
29892,
584,
29906,
29962,
13,
1678,
1723,
13,
1678,
926,
29918,
1272,
353,
848,
7503,
29892,
584,
29906,
29962,
13,
1678,
443,
29880,
24025,
29918,
1272,
353,
7442,
29889,
2378,
29898,
13,
4706,
1051,
29898,
842,
29898,
1958,
29898,
23583,
29892,
599,
29918,
1272,
876,
448,
731,
29898,
1958,
29898,
23583,
29892,
926,
29918,
1272,
876,
511,
26688,
29922,
524,
13,
1678,
1723,
13,
1678,
848,
353,
7442,
29889,
29878,
29918,
29961,
13,
4706,
7442,
29889,
29883,
29918,
29961,
1066,
29918,
1272,
29892,
7442,
29889,
2873,
29898,
1066,
29918,
1272,
29889,
12181,
29961,
29900,
2314,
1402,
13,
4706,
7442,
29889,
29883,
29918,
29961,
348,
29880,
24025,
29918,
1272,
29892,
7442,
29889,
3298,
359,
29898,
348,
29880,
24025,
29918,
1272,
29889,
12181,
29961,
29900,
2314,
1402,
13,
1678,
4514,
13,
13,
1678,
288,
567,
29889,
12071,
29918,
4381,
29918,
4262,
580,
13,
1678,
27937,
353,
15886,
29889,
7317,
580,
13,
1678,
15886,
29889,
842,
29918,
8172,
29918,
26776,
29898,
26776,
29897,
13,
1678,
1904,
353,
341,
29943,
29898,
13,
4706,
954,
29918,
7193,
29922,
1949,
29918,
7193,
29892,
13,
4706,
954,
29918,
7076,
29922,
1949,
29918,
7076,
29892,
13,
4706,
3964,
29922,
24947,
7529,
3366,
6229,
12436,
13,
4706,
634,
29874,
29922,
24947,
7529,
3366,
1187,
12436,
13,
4706,
301,
314,
29922,
24947,
7529,
3366,
5288,
12436,
13,
1678,
1723,
13,
1678,
396,
2847,
895,
599,
278,
323,
29943,
3651,
13,
1678,
2069,
29918,
459,
353,
15886,
29889,
10945,
29918,
20897,
29918,
11228,
3950,
580,
13,
1678,
27937,
29889,
3389,
29898,
2344,
29918,
459,
29897,
13,
1678,
363,
903,
297,
7442,
29889,
279,
927,
29898,
24947,
7529,
3366,
277,
414,
3108,
1125,
13,
4706,
22645,
353,
7442,
29889,
8172,
29889,
16957,
29898,
9302,
29889,
279,
927,
29898,
1272,
29889,
12181,
29961,
29900,
11724,
2159,
29922,
24947,
7529,
3366,
16175,
29918,
2311,
20068,
13,
4706,
903,
353,
27937,
29889,
3389,
29898,
13,
9651,
1904,
29889,
7302,
29918,
5105,
29879,
29918,
346,
29892,
13,
9651,
8343,
29918,
8977,
3790,
13,
18884,
1904,
29889,
7193,
29901,
848,
29961,
13140,
29892,
29871,
29900,
1402,
13,
18884,
1904,
29889,
7076,
29901,
848,
29961,
13140,
29892,
29871,
29896,
1402,
13,
18884,
1904,
29889,
21134,
29901,
7442,
29889,
18837,
29918,
6229,
29879,
29898,
1272,
29961,
13140,
29892,
29871,
29906,
1402,
29871,
29896,
511,
13,
18884,
1904,
29889,
567,
3221,
29901,
7442,
29889,
2873,
3552,
24947,
7529,
3366,
16175,
29918,
2311,
12436,
29871,
29896,
8243,
13,
9651,
2981,
13,
4706,
1723,
13,
1678,
274,
509,
353,
27937,
29889,
3389,
29898,
13,
4706,
1904,
29889,
11965,
29879,
29892,
13,
4706,
8343,
29918,
8977,
3790,
4299,
29889,
7193,
29901,
1404,
29918,
667,
29918,
7503,
29892,
29871,
29900,
1402,
1904,
29889,
7076,
29901,
1404,
29918,
667,
29918,
7503,
29892,
29871,
29896,
29962,
1118,
13,
1678,
1723,
13,
1678,
274,
509,
353,
4365,
29885,
3398,
29898,
9988,
29889,
1579,
8606,
3101,
3579,
3081,
13,
1678,
274,
29873,
353,
7442,
29889,
8172,
29889,
2109,
7615,
29898,
29876,
29922,
29896,
29892,
282,
29922,
9988,
29897,
13,
13,
1678,
7945,
29918,
513,
20485,
353,
7442,
29889,
8172,
29889,
2109,
7615,
29898,
29876,
29922,
29896,
29892,
282,
7607,
29896,
29889,
29900,
448,
659,
29918,
2311,
511,
2159,
29922,
312,
29889,
12181,
29961,
29900,
2314,
13,
1678,
274,
29873,
29918,
14968,
29892,
274,
29873,
29918,
791,
353,
274,
29873,
334,
7945,
29918,
513,
20485,
29892,
274,
29873,
334,
313,
29896,
448,
7945,
29918,
513,
20485,
29897,
13,
1678,
7945,
353,
7442,
29889,
29883,
29918,
29961,
1792,
29918,
667,
3383,
274,
29873,
29918,
14968,
334,
13850,
29962,
13,
1678,
659,
353,
7442,
29889,
29883,
29918,
29961,
1792,
29918,
667,
3383,
274,
29873,
29918,
791,
334,
13850,
29892,
274,
29873,
29918,
791,
29892,
13850,
29892,
274,
509,
334,
659,
29918,
2311,
29892,
274,
13416,
29962,
13,
1678,
1243,
353,
7442,
29889,
29883,
29918,
29961,
1792,
29918,
667,
3383,
274,
29873,
334,
13850,
29892,
274,
29873,
29892,
13850,
29892,
274,
509,
29892,
274,
13416,
29962,
13,
13,
1678,
736,
7945,
29892,
659,
29892,
1243,
13,
13,
13,
1753,
758,
5014,
29918,
29891,
26779,
29918,
1111,
271,
29898,
13,
1678,
848,
29901,
851,
29892,
659,
29918,
3605,
601,
29901,
5785,
353,
29871,
29900,
29889,
29941,
29892,
16717,
29901,
938,
353,
29871,
29896,
29906,
29941,
29946,
29945,
13,
29897,
1599,
12603,
552,
29901,
13,
1678,
9995,
5896,
322,
758,
5014,
612,
26779,
29991,
390,
29941,
322,
3189,
271,
20035,
1213,
15945,
13,
1678,
7442,
29889,
8172,
29889,
26776,
29898,
26776,
29897,
13,
13,
1678,
411,
1722,
703,
6995,
2917,
29889,
25162,
613,
376,
6050,
1159,
408,
285,
29901,
13,
4706,
11266,
7529,
353,
343,
8807,
29889,
11177,
29918,
1359,
29898,
29888,
29897,
3366,
29885,
29888,
29918,
24947,
7529,
3108,
13,
13,
1678,
565,
848,
1275,
376,
29891,
26779,
1115,
13,
4706,
28730,
353,
426,
29900,
29901,
376,
1792,
613,
29871,
29896,
29901,
376,
667,
613,
29871,
29906,
29901,
376,
10492,
9092,
13,
4706,
411,
775,
2395,
29889,
3150,
29898,
13,
9651,
285,
29908,
6995,
1272,
29914,
29891,
26779,
29914,
14968,
29889,
3945,
613,
376,
29878,
613,
376,
9420,
29899,
29947,
613,
4436,
543,
17281,
29908,
13,
4706,
1723,
408,
285,
29901,
13,
9651,
7945,
29918,
353,
10518,
29889,
949,
29918,
7638,
29898,
29888,
29892,
28552,
543,
29905,
29873,
613,
4839,
29922,
8516,
29897,
13,
9651,
7945,
5396,
1267,
420,
29898,
13099,
29922,
22724,
29892,
297,
6689,
29922,
5574,
29897,
13,
4706,
411,
775,
2395,
29889,
3150,
29898,
29888,
29908,
6995,
1272,
29914,
29891,
26779,
29914,
1688,
29889,
3945,
613,
376,
29878,
613,
376,
9420,
29899,
29947,
613,
4436,
543,
17281,
1159,
408,
285,
29901,
13,
9651,
1243,
29918,
353,
10518,
29889,
949,
29918,
7638,
29898,
29888,
29892,
28552,
543,
29905,
29873,
613,
4839,
29922,
8516,
29897,
13,
9651,
1243,
5396,
1267,
420,
29898,
13099,
29922,
22724,
29892,
297,
6689,
29922,
5574,
29897,
13,
4706,
363,
848,
29918,
297,
518,
14968,
3383,
1243,
29918,
5387,
13,
9651,
848,
5396,
1792,
29892,
848,
5396,
667,
353,
848,
5396,
1792,
448,
29871,
29896,
29892,
848,
5396,
667,
448,
29871,
29896,
13,
1678,
25342,
848,
1275,
376,
1111,
271,
1115,
13,
4706,
28730,
353,
8853,
5563,
29918,
29900,
1115,
376,
1792,
613,
376,
5563,
29918,
29896,
1115,
376,
667,
613,
29871,
29906,
29901,
376,
10492,
613,
29871,
29900,
29901,
376,
10492,
9092,
13,
4706,
411,
775,
2395,
29889,
3150,
29898,
13,
9651,
285,
29908,
6995,
1272,
29914,
1111,
271,
29914,
14968,
29889,
294,
18869,
613,
376,
29878,
613,
376,
9420,
29899,
29947,
613,
4436,
543,
17281,
29908,
13,
4706,
1723,
408,
285,
29901,
13,
9651,
7945,
29918,
353,
10518,
29889,
949,
29918,
7638,
29898,
29888,
29892,
28552,
543,
9162,
4839,
29922,
8516,
29897,
13,
9651,
7945,
29918,
353,
7945,
5396,
1429,
2141,
12071,
29918,
2248,
2141,
1267,
420,
29898,
13099,
29922,
22724,
29897,
13,
9651,
7945,
29918,
353,
7945,
29918,
29961,
14968,
5396,
10492,
2804,
29871,
29900,
1822,
12071,
29918,
2248,
29898,
8865,
29922,
5574,
29897,
13,
4706,
411,
775,
2395,
29889,
3150,
29898,
13,
9651,
285,
29908,
6995,
1272,
29914,
1111,
271,
29914,
1688,
29889,
294,
18869,
613,
376,
29878,
613,
376,
9420,
29899,
29947,
613,
4436,
543,
17281,
29908,
13,
4706,
1723,
408,
285,
29901,
13,
9651,
1243,
29918,
353,
10518,
29889,
949,
29918,
7638,
29898,
29888,
29892,
28552,
543,
9162,
4839,
29922,
8516,
29897,
13,
9651,
1243,
29918,
353,
1243,
5396,
1429,
2141,
12071,
29918,
2248,
2141,
1267,
420,
29898,
13099,
29922,
22724,
29897,
13,
9651,
1243,
29918,
353,
1243,
29918,
29961,
1688,
5396,
10492,
2804,
29871,
29900,
1822,
12071,
29918,
2248,
29898,
8865,
29922,
5574,
29897,
13,
1678,
396,
9016,
279,
675,
26838,
13,
1678,
363,
848,
29918,
297,
518,
14968,
3383,
1243,
29918,
5387,
13,
4706,
848,
5396,
10492,
353,
7442,
29889,
2378,
29898,
1272,
5396,
10492,
6736,
29871,
29946,
29892,
26688,
29922,
524,
29897,
13,
1678,
396,
12678,
3107,
575,
537,
8158,
491,
341,
29943,
13,
1678,
7945,
29892,
1243,
353,
7945,
5396,
5975,
29892,
1243,
5396,
5975,
13,
1678,
926,
29918,
14968,
353,
7945,
29918,
29961,
14968,
5396,
10492,
1275,
29871,
29896,
1822,
5975,
13,
1678,
926,
29918,
1688,
353,
1243,
29918,
29961,
1688,
5396,
10492,
1275,
29871,
29896,
1822,
5975,
13,
1678,
396,
758,
5014,
20035,
13,
1678,
5412,
29918,
1792,
29918,
14968,
29892,
1404,
29918,
2798,
29879,
29918,
14968,
353,
7442,
29889,
13092,
29898,
13,
4706,
926,
29918,
14968,
7503,
29892,
29871,
29900,
1402,
736,
29918,
2798,
29879,
29922,
5574,
13,
1678,
1723,
13,
1678,
5412,
29918,
1792,
29918,
14968,
353,
5412,
29918,
1792,
29918,
14968,
29961,
1792,
29918,
2798,
29879,
29918,
14968,
6736,
29871,
29906,
29962,
13,
1678,
5412,
29918,
1792,
29918,
1688,
29892,
1404,
29918,
2798,
29879,
29918,
1688,
353,
7442,
29889,
13092,
29898,
1066,
29918,
1688,
7503,
29892,
29871,
29900,
1402,
736,
29918,
2798,
29879,
29922,
5574,
29897,
13,
1678,
5412,
29918,
1792,
29918,
1688,
353,
5412,
29918,
1792,
29918,
1688,
29961,
1792,
29918,
2798,
29879,
29918,
1688,
5277,
29871,
29929,
29962,
13,
1678,
2854,
29918,
7193,
353,
7442,
29889,
1639,
8803,
29896,
29881,
29898,
13092,
29918,
1792,
29918,
14968,
29892,
5412,
29918,
1792,
29918,
1688,
29897,
13,
1678,
7945,
353,
7945,
29961,
9302,
29889,
2378,
4197,
29884,
297,
2854,
29918,
7193,
363,
318,
297,
7945,
7503,
29892,
29871,
29900,
24960,
29962,
13,
1678,
1243,
353,
1243,
29961,
9302,
29889,
2378,
4197,
29884,
297,
2854,
29918,
7193,
363,
318,
297,
1243,
7503,
29892,
29871,
29900,
24960,
29962,
13,
1678,
7945,
7503,
29892,
29871,
29900,
29962,
353,
22663,
29889,
10003,
1272,
29898,
14968,
7503,
29892,
29871,
29900,
1402,
1158,
543,
1145,
344,
1159,
448,
29871,
29896,
13,
1678,
1243,
7503,
29892,
29871,
29900,
29962,
353,
22663,
29889,
10003,
1272,
29898,
1688,
7503,
29892,
29871,
29900,
1402,
1158,
543,
1145,
344,
1159,
448,
29871,
29896,
13,
13,
1678,
954,
29918,
7193,
29892,
954,
29918,
7076,
353,
7945,
7503,
29892,
29871,
29900,
1822,
3317,
580,
718,
29871,
29896,
29892,
7945,
7503,
29892,
29871,
29896,
1822,
3317,
580,
718,
29871,
29896,
13,
1678,
599,
29918,
1272,
353,
313,
13,
4706,
10518,
29889,
17271,
29898,
9302,
29889,
3298,
359,
3552,
1949,
29918,
7193,
29892,
954,
29918,
7076,
4961,
13,
4706,
869,
1429,
580,
13,
4706,
869,
12071,
29918,
2248,
580,
13,
4706,
869,
5975,
7503,
29892,
584,
29906,
29962,
13,
1678,
1723,
13,
1678,
443,
26290,
29918,
1272,
353,
7442,
29889,
2378,
29898,
13,
4706,
1051,
29898,
842,
29898,
1958,
29898,
23583,
29892,
599,
29918,
1272,
876,
448,
731,
29898,
1958,
29898,
23583,
29892,
7945,
7503,
29892,
584,
29906,
29962,
4961,
13,
1678,
1723,
13,
1678,
7945,
353,
7442,
29889,
29878,
29918,
29961,
13,
4706,
7442,
29889,
29883,
29918,
29961,
14968,
29892,
7442,
29889,
2873,
29898,
14968,
29889,
12181,
29961,
29900,
2314,
1402,
13,
4706,
7442,
29889,
29883,
29918,
29961,
348,
26290,
29918,
1272,
29892,
7442,
29889,
3298,
359,
3552,
348,
26290,
29918,
1272,
29889,
12181,
29961,
29900,
1402,
29871,
29906,
876,
1402,
13,
1678,
4514,
13,
1678,
7945,
29892,
659,
353,
7945,
29918,
1688,
29918,
5451,
29898,
14968,
29892,
1243,
29918,
2311,
29922,
791,
29918,
3605,
601,
29892,
4036,
29918,
3859,
29922,
26776,
29897,
13,
1678,
443,
26290,
29918,
1272,
353,
7442,
29889,
2378,
29898,
1761,
29898,
842,
29898,
1958,
29898,
23583,
29892,
599,
29918,
1272,
876,
448,
731,
29898,
1958,
29898,
23583,
29892,
659,
7503,
29892,
584,
29906,
12622,
876,
13,
1678,
659,
353,
7442,
29889,
29878,
29918,
29961,
791,
29892,
7442,
29889,
29883,
29918,
29961,
348,
26290,
29918,
1272,
29892,
7442,
29889,
3298,
359,
3552,
348,
26290,
29918,
1272,
29889,
12181,
29961,
29900,
1402,
29871,
29906,
876,
5262,
13,
13,
1678,
396,
4529,
278,
4636,
7329,
2133,
1904,
13,
1678,
288,
567,
29889,
12071,
29918,
4381,
29918,
4262,
580,
13,
1678,
27937,
353,
15886,
29889,
7317,
580,
13,
1678,
15886,
29889,
842,
29918,
8172,
29918,
26776,
29898,
26776,
29897,
13,
1678,
1904,
353,
341,
29943,
29898,
13,
4706,
954,
29918,
7193,
29922,
1949,
29918,
7193,
29892,
13,
4706,
954,
29918,
7076,
29922,
1949,
29918,
7076,
29892,
13,
4706,
3964,
29922,
24947,
7529,
3366,
6229,
12436,
13,
4706,
634,
29874,
29922,
24947,
7529,
3366,
1187,
12436,
13,
4706,
301,
314,
29922,
24947,
7529,
3366,
5288,
12436,
13,
1678,
1723,
13,
1678,
396,
2847,
895,
599,
278,
323,
29943,
3651,
13,
1678,
2069,
29918,
459,
353,
15886,
29889,
10945,
29918,
20897,
29918,
11228,
3950,
580,
13,
1678,
27937,
29889,
3389,
29898,
2344,
29918,
459,
29897,
13,
1678,
363,
903,
297,
7442,
29889,
279,
927,
29898,
24947,
7529,
3366,
277,
414,
3108,
1125,
13,
4706,
22645,
353,
7442,
29889,
8172,
29889,
16957,
29898,
9302,
29889,
279,
927,
29898,
791,
29889,
12181,
29961,
29900,
11724,
2159,
29922,
24947,
7529,
3366,
16175,
29918,
2311,
20068,
13,
4706,
903,
353,
27937,
29889,
3389,
29898,
13,
9651,
1904,
29889,
7302,
29918,
5105,
29879,
29918,
346,
29892,
13,
9651,
8343,
29918,
8977,
3790,
13,
18884,
1904,
29889,
7193,
29901,
659,
29961,
13140,
29892,
29871,
29900,
1402,
13,
18884,
1904,
29889,
7076,
29901,
659,
29961,
13140,
29892,
29871,
29896,
1402,
13,
18884,
1904,
29889,
21134,
29901,
7442,
29889,
18837,
29918,
6229,
29879,
29898,
791,
29961,
13140,
29892,
29871,
29941,
1402,
29871,
29896,
511,
13,
18884,
1904,
29889,
567,
3221,
29901,
7442,
29889,
2873,
3552,
24947,
7529,
3366,
16175,
29918,
2311,
12436,
29871,
29896,
8243,
13,
9651,
2981,
13,
4706,
1723,
13,
1678,
396,
4017,
20619,
1404,
29899,
667,
4636,
13,
1678,
274,
509,
29918,
2455,
353,
27937,
29889,
3389,
29898,
13,
4706,
1904,
29889,
11965,
29879,
29892,
13,
4706,
8343,
29918,
8977,
3790,
13,
9651,
1904,
29889,
7193,
29901,
659,
7503,
29892,
29871,
29900,
1822,
579,
668,
29898,
524,
511,
13,
9651,
1904,
29889,
7076,
29901,
659,
7503,
29892,
29871,
29896,
1822,
579,
668,
29898,
524,
511,
13,
4706,
2981,
13,
1678,
1723,
13,
1678,
659,
353,
7442,
29889,
29883,
29918,
29961,
791,
29892,
4365,
29885,
3398,
29898,
9988,
29918,
2455,
4638,
13,
13,
1678,
396,
12678,
29527,
749,
3443,
313,
4283,
29897,
491,
341,
29943,
29889,
13,
1678,
288,
567,
29889,
12071,
29918,
4381,
29918,
4262,
580,
13,
1678,
27937,
353,
15886,
29889,
7317,
580,
13,
1678,
15886,
29889,
842,
29918,
8172,
29918,
26776,
29898,
26776,
29897,
13,
1678,
1904,
353,
341,
29943,
29898,
13,
4706,
954,
29918,
7193,
29922,
1949,
29918,
7193,
29892,
13,
4706,
954,
29918,
7076,
29922,
1949,
29918,
7076,
29892,
13,
4706,
3964,
29922,
24947,
7529,
3366,
6229,
12436,
13,
4706,
634,
29874,
29922,
24947,
7529,
3366,
1187,
12436,
13,
4706,
301,
314,
29922,
24947,
7529,
3366,
5288,
12436,
13,
1678,
1723,
13,
1678,
396,
8900,
848,
13,
1678,
659,
29918,
26290,
353,
659,
29961,
791,
7503,
29892,
29871,
29941,
29962,
1275,
29871,
29896,
29962,
13,
1678,
396,
2847,
895,
599,
278,
323,
29943,
3651,
13,
1678,
2069,
29918,
459,
353,
15886,
29889,
10945,
29918,
20897,
29918,
11228,
3950,
580,
13,
1678,
27937,
29889,
3389,
29898,
2344,
29918,
459,
29897,
13,
1678,
363,
903,
297,
7442,
29889,
279,
927,
29898,
24947,
7529,
3366,
277,
414,
3108,
1125,
13,
4706,
22645,
353,
7442,
29889,
8172,
29889,
16957,
29898,
13,
9651,
7442,
29889,
279,
927,
29898,
791,
29918,
26290,
29889,
12181,
29961,
29900,
11724,
2159,
29922,
24947,
7529,
3366,
16175,
29918,
2311,
3108,
13,
4706,
1723,
13,
4706,
903,
353,
27937,
29889,
3389,
29898,
13,
9651,
1904,
29889,
7302,
29918,
5105,
29879,
29918,
346,
29892,
13,
9651,
8343,
29918,
8977,
3790,
13,
18884,
1904,
29889,
7193,
29901,
659,
29918,
26290,
29961,
13140,
29892,
29871,
29900,
1402,
13,
18884,
1904,
29889,
7076,
29901,
659,
29918,
26290,
29961,
13140,
29892,
29871,
29896,
1402,
13,
18884,
1904,
29889,
21134,
29901,
7442,
29889,
18837,
29918,
6229,
29879,
29898,
791,
29918,
26290,
29961,
13140,
29892,
29871,
29906,
1402,
29871,
29896,
511,
13,
18884,
1904,
29889,
567,
3221,
29901,
7442,
29889,
18837,
29918,
6229,
29879,
29898,
791,
29918,
26290,
29961,
13140,
29892,
29871,
29946,
1402,
29871,
29896,
511,
13,
9651,
2981,
13,
4706,
1723,
13,
1678,
396,
4017,
20619,
1404,
29899,
667,
4636,
13,
1678,
330,
2735,
29918,
2455,
353,
27937,
29889,
3389,
29898,
13,
4706,
1904,
29889,
11965,
29879,
29892,
13,
4706,
8343,
29918,
8977,
3790,
13,
9651,
1904,
29889,
7193,
29901,
659,
7503,
29892,
29871,
29900,
1822,
579,
668,
29898,
524,
511,
13,
9651,
1904,
29889,
7076,
29901,
659,
7503,
29892,
29871,
29896,
1822,
579,
668,
29898,
524,
511,
13,
4706,
2981,
13,
1678,
1723,
13,
1678,
659,
353,
7442,
29889,
29883,
29918,
29961,
791,
29892,
4365,
29885,
3398,
29898,
4283,
29918,
2455,
4638,
13,
1678,
396,
1653,
1243,
848,
6943,
599,
4452,
13,
1678,
599,
29918,
1272,
353,
313,
13,
4706,
10518,
29889,
17271,
29898,
9302,
29889,
3298,
359,
3552,
1949,
29918,
7193,
29892,
954,
29918,
7076,
4961,
13,
4706,
869,
1429,
580,
13,
4706,
869,
12071,
29918,
2248,
580,
13,
4706,
869,
5975,
7503,
29892,
584,
29906,
29962,
13,
1678,
1723,
13,
1678,
443,
26290,
29918,
1272,
353,
7442,
29889,
2378,
29898,
13,
4706,
1051,
29898,
842,
29898,
1958,
29898,
23583,
29892,
599,
29918,
1272,
876,
448,
731,
29898,
1958,
29898,
23583,
29892,
1243,
7503,
29892,
584,
29906,
29962,
4961,
13,
1678,
1723,
13,
1678,
1243,
353,
7442,
29889,
29878,
29918,
29961,
13,
4706,
7442,
29889,
29883,
29918,
29961,
1688,
29892,
7442,
29889,
2873,
29898,
1688,
29889,
12181,
29961,
29900,
2314,
1402,
13,
4706,
7442,
29889,
29883,
29918,
29961,
348,
26290,
29918,
1272,
29892,
7442,
29889,
3298,
359,
3552,
348,
26290,
29918,
1272,
29889,
12181,
29961,
29900,
1402,
29871,
29906,
876,
1402,
13,
1678,
4514,
13,
1678,
1029,
29887,
29918,
1688,
29918,
567,
3221,
353,
1243,
7503,
29892,
448,
29896,
1822,
12676,
580,
13,
1678,
1243,
353,
7442,
29889,
29883,
29918,
29961,
1688,
29892,
7442,
29889,
2873,
29898,
1688,
29889,
12181,
29961,
29900,
2314,
334,
1029,
29887,
29918,
1688,
29918,
567,
3221,
29962,
13,
13,
1678,
736,
7945,
29892,
659,
29892,
1243,
13,
2
] |
scripts/trials.py | brychanrobot/orrt-star-ros | 3 | 90403 | import subprocess
import time
for obstacles in [5, 10, 15, 20]:
scores = []
for i in range(30):
procs = []
for j in range(4):
time.sleep(0.1) # allow for different random number generation
procs.append(subprocess.Popen(['build/main', '-w', '15' , '-l', '180', '-o', str(obstacles), '--fmt'], stdout=subprocess.PIPE))
for proc in procs:
proc.wait()
try:
line = proc.stdout.readline()
scores.append(float(line))
except ValueError:
print("invalid value: %s" % line)
print('%d completed' % (i * 4))
print("obstacles: %d" % obstacles)
print(scores)
print('finished') | [
1,
1053,
1014,
5014,
13,
5215,
931,
13,
13,
1454,
14979,
23435,
297,
518,
29945,
29892,
29871,
29896,
29900,
29892,
29871,
29896,
29945,
29892,
29871,
29906,
29900,
5387,
13,
13,
12,
1557,
2361,
353,
5159,
13,
13,
12,
1454,
474,
297,
3464,
29898,
29941,
29900,
1125,
13,
12,
12,
771,
2395,
353,
5159,
13,
12,
12,
1454,
432,
297,
3464,
29898,
29946,
1125,
13,
12,
12,
12,
2230,
29889,
17059,
29898,
29900,
29889,
29896,
29897,
396,
2758,
363,
1422,
4036,
1353,
12623,
13,
12,
12,
12,
771,
2395,
29889,
4397,
29898,
1491,
5014,
29889,
29925,
3150,
18959,
4282,
29914,
3396,
742,
17411,
29893,
742,
525,
29896,
29945,
29915,
1919,
17411,
29880,
742,
525,
29896,
29947,
29900,
742,
17411,
29877,
742,
851,
29898,
711,
303,
23435,
511,
525,
489,
23479,
7464,
27591,
29922,
1491,
5014,
29889,
2227,
4162,
876,
13,
13,
12,
12,
1454,
9580,
297,
410,
2395,
29901,
13,
12,
12,
12,
15439,
29889,
10685,
580,
13,
12,
12,
12,
2202,
29901,
13,
12,
12,
12,
12,
1220,
353,
9580,
29889,
25393,
29889,
949,
1220,
580,
13,
12,
12,
12,
12,
1557,
2361,
29889,
4397,
29898,
7411,
29898,
1220,
876,
13,
12,
12,
12,
19499,
7865,
2392,
29901,
13,
12,
12,
12,
12,
2158,
703,
20965,
995,
29901,
1273,
29879,
29908,
1273,
1196,
29897,
13,
12,
12,
13,
12,
12,
2158,
877,
29995,
29881,
8676,
29915,
1273,
313,
29875,
334,
29871,
29946,
876,
13,
13,
12,
2158,
703,
711,
303,
23435,
29901,
1273,
29881,
29908,
1273,
14979,
23435,
29897,
13,
12,
2158,
29898,
1557,
2361,
29897,
13,
13,
2158,
877,
4951,
3276,
1495,
2
] |
tests/integration/test_integration_article.py | pwitab/visma | 5 | 35871 | <reponame>pwitab/visma<filename>tests/integration/test_integration_article.py
import pytest
from visma.api import VismaClientException
from visma.models import Article, ArticleAccountCoding, Unit
class TestCRUDArticle:
@pytest.fixture()
def article(self):
article = Article.objects.all()[0]
yield article
@pytest.fixture()
def coding(self):
coding = ArticleAccountCoding.objects.all()[0]
yield coding
@pytest.fixture()
def unit(self):
unit = Unit.objects.all()[0]
yield unit
def test_list_articles(self):
articles = Article.objects.all()
assert len(articles) is not 0
def test_create_article(self, coding, unit):
# article = Article(number=100, name='test article', coding_id=coding.id, unit_id=unit.id)
# article.save()
# assert article.id is not None
# Since we cannot delete articles we don't want to keep on creating new ones.
pass
def test_read_article(self, article):
read_article = Article.objects.get(article.id)
assert read_article.id == article.id
def test_update_article(self, article):
article.net_price = 50
article.save()
updated_article = Article.objects.get(article.id)
assert updated_article.net_price == 50
updated_article.net_price = 10
updated_article.save()
def test_delete_article(self, article):
# Not allowed
# TODO: raise more explaining exception
with pytest.raises(VismaClientException):
article.delete()
| [
1,
529,
276,
1112,
420,
29958,
29886,
29893,
277,
370,
29914,
1730,
655,
29966,
9507,
29958,
21150,
29914,
27925,
29914,
1688,
29918,
27925,
29918,
7914,
29889,
2272,
13,
5215,
11451,
1688,
13,
13,
3166,
1998,
655,
29889,
2754,
1053,
5741,
655,
4032,
2451,
13,
3166,
1998,
655,
29889,
9794,
1053,
21746,
29892,
21746,
10601,
29907,
3689,
29892,
13223,
13,
13,
13,
1990,
4321,
11341,
15789,
9986,
2512,
29901,
13,
13,
1678,
732,
2272,
1688,
29889,
7241,
15546,
580,
13,
1678,
822,
4274,
29898,
1311,
1125,
13,
4706,
4274,
353,
21746,
29889,
12650,
29889,
497,
580,
29961,
29900,
29962,
13,
4706,
7709,
4274,
13,
13,
1678,
732,
2272,
1688,
29889,
7241,
15546,
580,
13,
1678,
822,
14137,
29898,
1311,
1125,
13,
4706,
14137,
353,
21746,
10601,
29907,
3689,
29889,
12650,
29889,
497,
580,
29961,
29900,
29962,
13,
4706,
7709,
14137,
13,
13,
1678,
732,
2272,
1688,
29889,
7241,
15546,
580,
13,
1678,
822,
5190,
29898,
1311,
1125,
13,
4706,
5190,
353,
13223,
29889,
12650,
29889,
497,
580,
29961,
29900,
29962,
13,
4706,
7709,
5190,
13,
13,
1678,
822,
1243,
29918,
1761,
29918,
18569,
29898,
1311,
1125,
13,
4706,
7456,
353,
21746,
29889,
12650,
29889,
497,
580,
13,
13,
4706,
4974,
7431,
29898,
18569,
29897,
338,
451,
29871,
29900,
13,
13,
1678,
822,
1243,
29918,
3258,
29918,
7914,
29898,
1311,
29892,
14137,
29892,
5190,
1125,
13,
4706,
396,
4274,
353,
21746,
29898,
4537,
29922,
29896,
29900,
29900,
29892,
1024,
2433,
1688,
4274,
742,
14137,
29918,
333,
29922,
29883,
3689,
29889,
333,
29892,
5190,
29918,
333,
29922,
5441,
29889,
333,
29897,
13,
4706,
396,
4274,
29889,
7620,
580,
13,
13,
4706,
396,
4974,
4274,
29889,
333,
338,
451,
6213,
13,
13,
4706,
396,
4001,
591,
2609,
5217,
7456,
591,
1016,
29915,
29873,
864,
304,
3013,
373,
4969,
716,
6743,
29889,
13,
4706,
1209,
13,
13,
1678,
822,
1243,
29918,
949,
29918,
7914,
29898,
1311,
29892,
4274,
1125,
13,
4706,
1303,
29918,
7914,
353,
21746,
29889,
12650,
29889,
657,
29898,
7914,
29889,
333,
29897,
13,
13,
4706,
4974,
1303,
29918,
7914,
29889,
333,
1275,
4274,
29889,
333,
13,
13,
1678,
822,
1243,
29918,
5504,
29918,
7914,
29898,
1311,
29892,
4274,
1125,
13,
4706,
4274,
29889,
1212,
29918,
9175,
353,
29871,
29945,
29900,
13,
4706,
4274,
29889,
7620,
580,
13,
13,
4706,
4784,
29918,
7914,
353,
21746,
29889,
12650,
29889,
657,
29898,
7914,
29889,
333,
29897,
13,
13,
4706,
4974,
4784,
29918,
7914,
29889,
1212,
29918,
9175,
1275,
29871,
29945,
29900,
13,
13,
4706,
4784,
29918,
7914,
29889,
1212,
29918,
9175,
353,
29871,
29896,
29900,
13,
4706,
4784,
29918,
7914,
29889,
7620,
580,
13,
13,
1678,
822,
1243,
29918,
8143,
29918,
7914,
29898,
1311,
29892,
4274,
1125,
13,
4706,
396,
2216,
6068,
13,
4706,
396,
14402,
29901,
12020,
901,
24232,
3682,
13,
4706,
411,
11451,
1688,
29889,
336,
4637,
29898,
6116,
655,
4032,
2451,
1125,
13,
9651,
4274,
29889,
8143,
580,
13,
2
] |
test/test_brute_force_2.py | MikeJongen/nonogram-solver | 0 | 167208 | <gh_stars>0
import sys
import os
import unittest
import nonogram_solver.basic.brute_force_2 as brute_force
class TestBasic(unittest.TestCase):
def test_number_of_solutions(self):
row = brute_force.BruteForceRowSolver2([2, 1], [0] * 5)
no_solutions = row._get_number_of_solutions()
self.assertEqual(no_solutions, 3)
def test_number_of_solutions_large(self):
row = brute_force.BruteForceRowSolver2([1, 1, 1], [0] * 10)
no_solutions = row._get_number_of_solutions()
self.assertEqual(no_solutions, 56)
def test_number_of_solutions_large_2(self):
row = brute_force.BruteForceRowSolver2([2, 1, 1], [0] * 10)
no_solutions = row._get_number_of_solutions()
self.assertEqual(no_solutions, 35)
def test_number_of_solutions_one_clue(self):
row = brute_force.BruteForceRowSolver2([2], [0] * 5)
no_solutions = row._get_number_of_solutions()
self.assertEqual(no_solutions, 4)
def test_number_of_solutions_empty(self):
row = brute_force.BruteForceRowSolver2([], [0] * 5)
no_solutions = row._get_number_of_solutions()
self.assertEqual(no_solutions, 1)
def test_get_all_solutions(self):
row = brute_force.BruteForceRowSolver2([2, 1], [0] * 5)
expected_solutions = [
[1, 1, -1, 1, -1],
[1, 1, -1, -1, 1],
[-1, 1, 1, -1, 1],
]
solutions = row._get_all_solutions()
self.assertEqual(solutions, expected_solutions)
def test_get_all_solutions_one_clue(self):
row = brute_force.BruteForceRowSolver2([3], [0] * 5)
expected_solutions = [
[1, 1, 1, -1, -1],
[-1, 1, 1, 1, -1],
[-1, -1, 1, 1, 1],
]
solutions = row._get_all_solutions()
self.assertEqual(solutions, expected_solutions)
def test_get_all_solutions_two_clues(self):
row = brute_force.BruteForceRowSolver2([3, 4], [0] * 10)
solution = row._get_all_solutions()
expected_solution = [[1, 1, 1, -1, 1, 1, 1, 1, -1, -1],
[1, 1, 1, -1, -1, 1, 1, 1, 1, -1],
[1, 1, 1, -1, -1, -1, 1, 1, 1, 1],
[-1, 1, 1, 1, -1, 1, 1, 1, 1, -1],
[-1, 1, 1, 1, -1, -1, 1, 1, 1, 1],
[-1, -1, 1, 1, 1, -1, 1, 1, 1, 1]]
self.assertEqual(expected_solution, solution)
def test_get_all_solutions_three_clues(self):
row = brute_force.BruteForceRowSolver2([2, 2, 3], [0] * 10)
solution = row._get_all_solutions()
expected_solution = [[1, 1, -1, 1, 1, -1, 1, 1, 1, -1],
[1, 1, -1, 1, 1, -1, -1, 1, 1, 1],
[1, 1, -1, -1, 1, 1, -1, 1, 1, 1],
[-1, 1, 1, -1, 1, 1, -1, 1, 1, 1]]
self.assertEqual(expected_solution, solution)
def test_get_all_solutions_empty(self):
row = brute_force.BruteForceRowSolver2([], [0] * 5)
expected_solutions = [
[-1, -1, -1, -1, -1],
]
solutions = row._get_all_solutions()
self.assertEqual(solutions, expected_solutions)
def test_check_solutions(self):
row = brute_force.BruteForceRowSolver2([2, 1], [1, 0, 0, 0, 0])
valid = row._check_solution([1, 1, 0, 1, 0])
self.assertTrue(valid)
valid = row._check_solution([0, 1, 1, 0, 1])
self.assertFalse(valid)
def test_matching_solutions(self):
row = brute_force.BruteForceRowSolver2([2, 1], [0] * 5)
solution1 = [-1, 1, 1, -1, 1]
solution2 = [1, 1, -1, -1, 1]
expected_solution = [0, 1, 0, -1, 1]
solution = row._get_matching_solution(solution1, solution2)
self.assertEqual(expected_solution, solution)
def test_row_brute_force_empty_values(self):
row = brute_force.BruteForceRowSolver2([2, 1], [0] * 5)
changed = row.solve_brute_force_save_intermediate()
self.assertTrue(changed)
self.assertEqual(row.values, [0, 1, 0, 0, 0])
def test_row_brute_force(self):
row = brute_force.BruteForceRowSolver2([2, 1], [1, 0, 0, 0, 0])
changed = row.solve_brute_force_save_intermediate()
self.assertTrue(changed)
self.assertEqual(row.values, [1, 1, -1, 0, 0])
def test_brute_force(self):
puzzle = brute_force.BruteForceSolver2(file="test/puzzles/stairs.json")
puzzle.solve()
puzzle.update_row_solvers()
puzzle.solve()
puzzle.update_row_solvers()
puzzle.solve()
self.assertTrue(puzzle.is_complete())
self.assertTrue(puzzle.is_correct())
def test_reset(self):
puzzle = brute_force.BruteForceSolver2(file="test/puzzles/stairs.json")
puzzle.solve()
puzzle.update_row_solvers()
puzzle.solve()
puzzle.update_row_solvers()
puzzle.solve()
for axis in puzzle.row_solver:
for row_solver in puzzle.row_solver[axis]:
self.assertTrue(hasattr(row_solver, 'number_of_solutions'))
self.assertTrue(hasattr(row_solver, 'all_solutions'))
puzzle.reset_solution()
for axis in puzzle.row_solver:
for row_solver in puzzle.row_solver[axis]:
self.assertFalse(hasattr(row_solver, 'number_of_solutions'))
self.assertFalse(hasattr(row_solver, 'all_solutions'))
if __name__ == '__main__':
unittest.main()
| [
1,
529,
12443,
29918,
303,
1503,
29958,
29900,
13,
5215,
10876,
13,
5215,
2897,
13,
5215,
443,
27958,
13,
13,
5215,
1661,
13342,
29918,
2929,
369,
29889,
16121,
29889,
1182,
1082,
29918,
10118,
29918,
29906,
408,
1506,
1082,
29918,
10118,
13,
13,
13,
1990,
4321,
16616,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
1678,
822,
1243,
29918,
4537,
29918,
974,
29918,
2929,
17925,
29898,
1311,
1125,
13,
4706,
1948,
353,
1506,
1082,
29918,
10118,
29889,
12432,
1082,
2831,
346,
4301,
13296,
369,
29906,
4197,
29906,
29892,
29871,
29896,
1402,
518,
29900,
29962,
334,
29871,
29945,
29897,
13,
4706,
694,
29918,
2929,
17925,
353,
1948,
3032,
657,
29918,
4537,
29918,
974,
29918,
2929,
17925,
580,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1217,
29918,
2929,
17925,
29892,
29871,
29941,
29897,
13,
13,
1678,
822,
1243,
29918,
4537,
29918,
974,
29918,
2929,
17925,
29918,
16961,
29898,
1311,
1125,
13,
4706,
1948,
353,
1506,
1082,
29918,
10118,
29889,
12432,
1082,
2831,
346,
4301,
13296,
369,
29906,
4197,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
1402,
518,
29900,
29962,
334,
29871,
29896,
29900,
29897,
13,
4706,
694,
29918,
2929,
17925,
353,
1948,
3032,
657,
29918,
4537,
29918,
974,
29918,
2929,
17925,
580,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1217,
29918,
2929,
17925,
29892,
29871,
29945,
29953,
29897,
13,
13,
1678,
822,
1243,
29918,
4537,
29918,
974,
29918,
2929,
17925,
29918,
16961,
29918,
29906,
29898,
1311,
1125,
13,
4706,
1948,
353,
1506,
1082,
29918,
10118,
29889,
12432,
1082,
2831,
346,
4301,
13296,
369,
29906,
4197,
29906,
29892,
29871,
29896,
29892,
29871,
29896,
1402,
518,
29900,
29962,
334,
29871,
29896,
29900,
29897,
13,
4706,
694,
29918,
2929,
17925,
353,
1948,
3032,
657,
29918,
4537,
29918,
974,
29918,
2929,
17925,
580,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1217,
29918,
2929,
17925,
29892,
29871,
29941,
29945,
29897,
13,
13,
1678,
822,
1243,
29918,
4537,
29918,
974,
29918,
2929,
17925,
29918,
650,
29918,
695,
434,
29898,
1311,
1125,
13,
4706,
1948,
353,
1506,
1082,
29918,
10118,
29889,
12432,
1082,
2831,
346,
4301,
13296,
369,
29906,
4197,
29906,
1402,
518,
29900,
29962,
334,
29871,
29945,
29897,
13,
4706,
694,
29918,
2929,
17925,
353,
1948,
3032,
657,
29918,
4537,
29918,
974,
29918,
2929,
17925,
580,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1217,
29918,
2929,
17925,
29892,
29871,
29946,
29897,
13,
13,
1678,
822,
1243,
29918,
4537,
29918,
974,
29918,
2929,
17925,
29918,
6310,
29898,
1311,
1125,
13,
4706,
1948,
353,
1506,
1082,
29918,
10118,
29889,
12432,
1082,
2831,
346,
4301,
13296,
369,
29906,
4197,
1402,
518,
29900,
29962,
334,
29871,
29945,
29897,
13,
4706,
694,
29918,
2929,
17925,
353,
1948,
3032,
657,
29918,
4537,
29918,
974,
29918,
2929,
17925,
580,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1217,
29918,
2929,
17925,
29892,
29871,
29896,
29897,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
497,
29918,
2929,
17925,
29898,
1311,
1125,
13,
4706,
1948,
353,
1506,
1082,
29918,
10118,
29889,
12432,
1082,
2831,
346,
4301,
13296,
369,
29906,
4197,
29906,
29892,
29871,
29896,
1402,
518,
29900,
29962,
334,
29871,
29945,
29897,
13,
4706,
3806,
29918,
2929,
17925,
353,
518,
13,
9651,
518,
29896,
29892,
29871,
29896,
29892,
448,
29896,
29892,
29871,
29896,
29892,
448,
29896,
1402,
13,
9651,
518,
29896,
29892,
29871,
29896,
29892,
448,
29896,
29892,
448,
29896,
29892,
29871,
29896,
1402,
13,
9651,
21069,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
29892,
448,
29896,
29892,
29871,
29896,
1402,
13,
4706,
4514,
13,
4706,
6851,
353,
1948,
3032,
657,
29918,
497,
29918,
2929,
17925,
580,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2929,
17925,
29892,
3806,
29918,
2929,
17925,
29897,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
497,
29918,
2929,
17925,
29918,
650,
29918,
695,
434,
29898,
1311,
1125,
13,
4706,
1948,
353,
1506,
1082,
29918,
10118,
29889,
12432,
1082,
2831,
346,
4301,
13296,
369,
29906,
4197,
29941,
1402,
518,
29900,
29962,
334,
29871,
29945,
29897,
13,
4706,
3806,
29918,
2929,
17925,
353,
518,
13,
9651,
518,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
29892,
448,
29896,
29892,
448,
29896,
1402,
13,
9651,
21069,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
29892,
448,
29896,
1402,
13,
9651,
21069,
29896,
29892,
448,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
1402,
13,
4706,
4514,
13,
4706,
6851,
353,
1948,
3032,
657,
29918,
497,
29918,
2929,
17925,
580,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2929,
17925,
29892,
3806,
29918,
2929,
17925,
29897,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
497,
29918,
2929,
17925,
29918,
10184,
29918,
695,
1041,
29898,
1311,
1125,
13,
4706,
1948,
353,
1506,
1082,
29918,
10118,
29889,
12432,
1082,
2831,
346,
4301,
13296,
369,
29906,
4197,
29941,
29892,
29871,
29946,
1402,
518,
29900,
29962,
334,
29871,
29896,
29900,
29897,
13,
4706,
1650,
353,
1948,
3032,
657,
29918,
497,
29918,
2929,
17925,
580,
13,
4706,
3806,
29918,
2929,
918,
353,
5519,
29896,
29892,
259,
29896,
29892,
29871,
29896,
29892,
448,
29896,
29892,
259,
29896,
29892,
259,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
29892,
448,
29896,
29892,
448,
29896,
1402,
13,
462,
632,
518,
29896,
29892,
259,
29896,
29892,
29871,
29896,
29892,
448,
29896,
29892,
448,
29896,
29892,
259,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
29892,
259,
29896,
29892,
448,
29896,
1402,
13,
462,
632,
518,
29896,
29892,
259,
29896,
29892,
29871,
29896,
29892,
448,
29896,
29892,
448,
29896,
29892,
448,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
29892,
259,
29896,
29892,
259,
29896,
1402,
13,
462,
632,
21069,
29896,
29892,
259,
29896,
29892,
29871,
29896,
29892,
259,
29896,
29892,
448,
29896,
29892,
259,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
29892,
259,
29896,
29892,
448,
29896,
1402,
13,
462,
632,
21069,
29896,
29892,
259,
29896,
29892,
29871,
29896,
29892,
259,
29896,
29892,
448,
29896,
29892,
448,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
29892,
259,
29896,
29892,
259,
29896,
1402,
13,
462,
632,
21069,
29896,
29892,
448,
29896,
29892,
29871,
29896,
29892,
259,
29896,
29892,
259,
29896,
29892,
448,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
29892,
259,
29896,
29892,
259,
29896,
5262,
13,
4706,
1583,
29889,
9294,
9843,
29898,
9684,
29918,
2929,
918,
29892,
1650,
29897,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
497,
29918,
2929,
17925,
29918,
17536,
29918,
695,
1041,
29898,
1311,
1125,
13,
4706,
1948,
353,
1506,
1082,
29918,
10118,
29889,
12432,
1082,
2831,
346,
4301,
13296,
369,
29906,
4197,
29906,
29892,
29871,
29906,
29892,
29871,
29941,
1402,
518,
29900,
29962,
334,
29871,
29896,
29900,
29897,
13,
4706,
1650,
353,
1948,
3032,
657,
29918,
497,
29918,
2929,
17925,
580,
13,
4706,
3806,
29918,
2929,
918,
353,
5519,
29896,
29892,
29871,
29896,
29892,
448,
29896,
29892,
259,
29896,
29892,
29871,
29896,
29892,
448,
29896,
29892,
259,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
29892,
448,
29896,
1402,
13,
462,
632,
518,
29896,
29892,
29871,
29896,
29892,
448,
29896,
29892,
259,
29896,
29892,
29871,
29896,
29892,
448,
29896,
29892,
448,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
29892,
259,
29896,
1402,
13,
462,
632,
518,
29896,
29892,
29871,
29896,
29892,
448,
29896,
29892,
448,
29896,
29892,
29871,
29896,
29892,
259,
29896,
29892,
448,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
29892,
259,
29896,
1402,
13,
462,
632,
21069,
29896,
29892,
29871,
29896,
29892,
259,
29896,
29892,
448,
29896,
29892,
29871,
29896,
29892,
259,
29896,
29892,
448,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
29892,
259,
29896,
5262,
13,
4706,
1583,
29889,
9294,
9843,
29898,
9684,
29918,
2929,
918,
29892,
1650,
29897,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
497,
29918,
2929,
17925,
29918,
6310,
29898,
1311,
1125,
13,
4706,
1948,
353,
1506,
1082,
29918,
10118,
29889,
12432,
1082,
2831,
346,
4301,
13296,
369,
29906,
4197,
1402,
518,
29900,
29962,
334,
29871,
29945,
29897,
13,
4706,
3806,
29918,
2929,
17925,
353,
518,
13,
9651,
21069,
29896,
29892,
448,
29896,
29892,
448,
29896,
29892,
448,
29896,
29892,
448,
29896,
1402,
13,
4706,
4514,
13,
4706,
6851,
353,
1948,
3032,
657,
29918,
497,
29918,
2929,
17925,
580,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2929,
17925,
29892,
3806,
29918,
2929,
17925,
29897,
13,
13,
1678,
822,
1243,
29918,
3198,
29918,
2929,
17925,
29898,
1311,
1125,
13,
4706,
1948,
353,
1506,
1082,
29918,
10118,
29889,
12432,
1082,
2831,
346,
4301,
13296,
369,
29906,
4197,
29906,
29892,
29871,
29896,
1402,
518,
29896,
29892,
29871,
29900,
29892,
29871,
29900,
29892,
29871,
29900,
29892,
29871,
29900,
2314,
13,
4706,
2854,
353,
1948,
3032,
3198,
29918,
2929,
918,
4197,
29896,
29892,
29871,
29896,
29892,
29871,
29900,
29892,
29871,
29896,
29892,
29871,
29900,
2314,
13,
4706,
1583,
29889,
9294,
5574,
29898,
3084,
29897,
13,
4706,
2854,
353,
1948,
3032,
3198,
29918,
2929,
918,
4197,
29900,
29892,
29871,
29896,
29892,
29871,
29896,
29892,
29871,
29900,
29892,
29871,
29896,
2314,
13,
4706,
1583,
29889,
9294,
8824,
29898,
3084,
29897,
13,
13,
1678,
822,
1243,
29918,
4352,
292,
29918,
2929,
17925,
29898,
1311,
1125,
13,
4706,
1948,
353,
1506,
1082,
29918,
10118,
29889,
12432,
1082,
2831,
346,
4301,
13296,
369,
29906,
4197,
29906,
29892,
29871,
29896,
1402,
518,
29900,
29962,
334,
29871,
29945,
29897,
13,
4706,
1650,
29896,
353,
21069,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
29892,
448,
29896,
29892,
29871,
29896,
29962,
13,
4706,
1650,
29906,
353,
518,
29896,
29892,
29871,
29896,
29892,
448,
29896,
29892,
448,
29896,
29892,
29871,
29896,
29962,
13,
4706,
3806,
29918,
2929,
918,
353,
518,
29900,
29892,
29871,
29896,
29892,
29871,
29900,
29892,
448,
29896,
29892,
29871,
29896,
29962,
13,
4706,
1650,
353,
1948,
3032,
657,
29918,
4352,
292,
29918,
2929,
918,
29898,
2929,
918,
29896,
29892,
1650,
29906,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
9684,
29918,
2929,
918,
29892,
1650,
29897,
13,
13,
1678,
822,
1243,
29918,
798,
29918,
1182,
1082,
29918,
10118,
29918,
6310,
29918,
5975,
29898,
1311,
1125,
13,
4706,
1948,
353,
1506,
1082,
29918,
10118,
29889,
12432,
1082,
2831,
346,
4301,
13296,
369,
29906,
4197,
29906,
29892,
29871,
29896,
1402,
518,
29900,
29962,
334,
29871,
29945,
29897,
13,
4706,
3939,
353,
1948,
29889,
2929,
345,
29918,
1182,
1082,
29918,
10118,
29918,
7620,
29918,
1639,
13847,
580,
13,
4706,
1583,
29889,
9294,
5574,
29898,
15033,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
798,
29889,
5975,
29892,
518,
29900,
29892,
29871,
29896,
29892,
29871,
29900,
29892,
29871,
29900,
29892,
29871,
29900,
2314,
13,
13,
1678,
822,
1243,
29918,
798,
29918,
1182,
1082,
29918,
10118,
29898,
1311,
1125,
13,
4706,
1948,
353,
1506,
1082,
29918,
10118,
29889,
12432,
1082,
2831,
346,
4301,
13296,
369,
29906,
4197,
29906,
29892,
29871,
29896,
1402,
518,
29896,
29892,
29871,
29900,
29892,
29871,
29900,
29892,
29871,
29900,
29892,
29871,
29900,
2314,
13,
4706,
3939,
353,
1948,
29889,
2929,
345,
29918,
1182,
1082,
29918,
10118,
29918,
7620,
29918,
1639,
13847,
580,
13,
4706,
1583,
29889,
9294,
5574,
29898,
15033,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
798,
29889,
5975,
29892,
518,
29896,
29892,
29871,
29896,
29892,
448,
29896,
29892,
29871,
29900,
29892,
29871,
29900,
2314,
13,
13,
1678,
822,
1243,
29918,
1182,
1082,
29918,
10118,
29898,
1311,
1125,
13,
4706,
20285,
280,
353,
1506,
1082,
29918,
10118,
29889,
12432,
1082,
2831,
346,
13296,
369,
29906,
29898,
1445,
543,
1688,
29914,
29886,
18813,
793,
29914,
303,
7121,
29889,
3126,
1159,
13,
4706,
20285,
280,
29889,
2929,
345,
580,
13,
4706,
20285,
280,
29889,
5504,
29918,
798,
29918,
2929,
874,
580,
13,
4706,
20285,
280,
29889,
2929,
345,
580,
13,
4706,
20285,
280,
29889,
5504,
29918,
798,
29918,
2929,
874,
580,
13,
4706,
20285,
280,
29889,
2929,
345,
580,
13,
4706,
1583,
29889,
9294,
5574,
29898,
29886,
18813,
280,
29889,
275,
29918,
8835,
3101,
13,
4706,
1583,
29889,
9294,
5574,
29898,
29886,
18813,
280,
29889,
275,
29918,
15728,
3101,
13,
13,
1678,
822,
1243,
29918,
12071,
29898,
1311,
1125,
13,
4706,
20285,
280,
353,
1506,
1082,
29918,
10118,
29889,
12432,
1082,
2831,
346,
13296,
369,
29906,
29898,
1445,
543,
1688,
29914,
29886,
18813,
793,
29914,
303,
7121,
29889,
3126,
1159,
13,
4706,
20285,
280,
29889,
2929,
345,
580,
13,
4706,
20285,
280,
29889,
5504,
29918,
798,
29918,
2929,
874,
580,
13,
4706,
20285,
280,
29889,
2929,
345,
580,
13,
4706,
20285,
280,
29889,
5504,
29918,
798,
29918,
2929,
874,
580,
13,
4706,
20285,
280,
29889,
2929,
345,
580,
13,
4706,
363,
9685,
297,
20285,
280,
29889,
798,
29918,
2929,
369,
29901,
13,
9651,
363,
1948,
29918,
2929,
369,
297,
20285,
280,
29889,
798,
29918,
2929,
369,
29961,
8990,
5387,
13,
18884,
1583,
29889,
9294,
5574,
29898,
5349,
5552,
29898,
798,
29918,
2929,
369,
29892,
525,
4537,
29918,
974,
29918,
2929,
17925,
8785,
13,
18884,
1583,
29889,
9294,
5574,
29898,
5349,
5552,
29898,
798,
29918,
2929,
369,
29892,
525,
497,
29918,
2929,
17925,
8785,
13,
4706,
20285,
280,
29889,
12071,
29918,
2929,
918,
580,
13,
4706,
363,
9685,
297,
20285,
280,
29889,
798,
29918,
2929,
369,
29901,
13,
9651,
363,
1948,
29918,
2929,
369,
297,
20285,
280,
29889,
798,
29918,
2929,
369,
29961,
8990,
5387,
13,
18884,
1583,
29889,
9294,
8824,
29898,
5349,
5552,
29898,
798,
29918,
2929,
369,
29892,
525,
4537,
29918,
974,
29918,
2929,
17925,
8785,
13,
18884,
1583,
29889,
9294,
8824,
29898,
5349,
5552,
29898,
798,
29918,
2929,
369,
29892,
525,
497,
29918,
2929,
17925,
8785,
13,
13,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
1678,
443,
27958,
29889,
3396,
580,
13,
2
] |
tls_parser/change_cipher_spec_protocol.py | nabla-c0d3/tls_parser | 6 | 198391 | <reponame>nabla-c0d3/tls_parser
from tls_parser.record_protocol import TlsRecord, TlsRecordHeader, TlsSubprotocolMessage, TlsRecordTypeByte
from tls_parser.tls_version import TlsVersionEnum
from typing import Tuple
class TlsChangeCipherSpecRecord(TlsRecord):
@classmethod
def from_parameters(cls, tls_version: TlsVersionEnum) -> "TlsChangeCipherSpecRecord":
ccs_message = TlsSubprotocolMessage(b"\x01")
record_header = TlsRecordHeader(TlsRecordTypeByte.CHANGE_CIPHER_SPEC, tls_version, ccs_message.size)
return TlsChangeCipherSpecRecord(record_header, [ccs_message])
@classmethod
def from_bytes(cls, raw_byte: bytes) -> Tuple["TlsChangeCipherSpecRecord", int]:
raise NotImplementedError()
| [
1,
529,
276,
1112,
420,
29958,
8511,
29899,
29883,
29900,
29881,
29941,
29914,
29873,
3137,
29918,
16680,
13,
3166,
260,
3137,
29918,
16680,
29889,
11651,
29918,
20464,
1053,
323,
3137,
9182,
29892,
323,
3137,
9182,
7850,
29892,
323,
3137,
4035,
20464,
3728,
29892,
323,
3137,
9182,
1542,
12901,
13,
3166,
260,
3137,
29918,
16680,
29889,
29873,
3137,
29918,
3259,
1053,
323,
3137,
6594,
16854,
13,
3166,
19229,
1053,
12603,
552,
13,
13,
13,
1990,
323,
3137,
7277,
29907,
29875,
8096,
10299,
9182,
29898,
29911,
3137,
9182,
1125,
13,
1678,
732,
1990,
5696,
13,
1678,
822,
515,
29918,
16744,
29898,
25932,
29892,
260,
3137,
29918,
3259,
29901,
323,
3137,
6594,
16854,
29897,
1599,
376,
29911,
3137,
7277,
29907,
29875,
8096,
10299,
9182,
1115,
13,
4706,
274,
2395,
29918,
4906,
353,
323,
3137,
4035,
20464,
3728,
29898,
29890,
26732,
29916,
29900,
29896,
1159,
13,
4706,
2407,
29918,
6672,
353,
323,
3137,
9182,
7850,
29898,
29911,
3137,
9182,
1542,
12901,
29889,
3210,
24336,
29918,
29907,
5690,
4448,
29918,
29903,
4162,
29907,
29892,
260,
3137,
29918,
3259,
29892,
274,
2395,
29918,
4906,
29889,
2311,
29897,
13,
4706,
736,
323,
3137,
7277,
29907,
29875,
8096,
10299,
9182,
29898,
11651,
29918,
6672,
29892,
518,
617,
29879,
29918,
4906,
2314,
13,
13,
1678,
732,
1990,
5696,
13,
1678,
822,
515,
29918,
13193,
29898,
25932,
29892,
10650,
29918,
10389,
29901,
6262,
29897,
1599,
12603,
552,
3366,
29911,
3137,
7277,
29907,
29875,
8096,
10299,
9182,
613,
938,
5387,
13,
4706,
12020,
2216,
1888,
2037,
287,
2392,
580,
13,
2
] |
cpp/msvc/parse_sln_internal.py | btc-ag/revengtools | 2 | 134968 | <reponame>btc-ag/revengtools
'''
Created on 01.04.2011
@author: SIGIESEC
'''
import logging
import re
import sys
import ntpath
import posixpath
class InternalSolutionFileParser(object):
"""
A parser for Visual Studio 2008 Solution files (.SLN). It parses the dependencies between native
C++ projects only. For C# projects, the dependencies are not contained in the solution file.
"""
def __init__(self, solution_file):
"""
Creates an instance
@param solution_file: An iterator of lines of a VS2008 solution file, typically
a .SLN file opened for reading.
"""
self.__vcprojs = []
self.__project_ids_to_name = dict()
self.__project_dependencies = dict()
self.__logger = logging.getLogger(self.__class__.__module__)
self.__parse(solution_file)
def __parse(self, solution_file):
in_deps = 0
current_project_id = None
for line in solution_file:
line = line.strip()
if line.startswith("Project("):
#print("starts with Project(")
m = re.match(r"Project\(\"{[-A-F0-9]*}\"\) = \"([A-Za-z0-9_.]*)\", \"([^\"].*)\", \"{([-A-F0-9]*)}\"", line)
if m != None:
current_project_name = m.group(1)
current_project_vcproj = m.group(2)
current_project_id = m.group(3)
if current_project_vcproj.endswith('proj'):
#self.__logger.debug("project %s with id %s" % (current_project_name, current_project_id))
self.__project_ids_to_name[current_project_id] = current_project_name
self.__project_dependencies[current_project_id] = set()
self.__vcprojs.append(current_project_vcproj.replace(ntpath.sep, posixpath.sep))
else:
self.__logger.warning("unparsable line %s" % (line,))
elif line.startswith("EndProject"):
current_project_id = None
in_deps = 0
elif line.startswith("ProjectSection(ProjectDependencies)"):
in_deps = 1
elif line.startswith("EndProjectSection"):
in_deps = 0
elif in_deps:
m = re.match(r"{([-A-F0-9]*)} = {[-A-F0-9]*}", line)
if m != None:
depend_project_id = m.group(1)
self.__logger.debug("project %s depends on %s" % (current_project_id,
depend_project_id))
if current_project_id in self.__project_dependencies:
self.__project_dependencies[current_project_id].add(depend_project_id)
else:
self.__logger.warning("unparsable line %s" % (line,))
def vcprojs(self):
return self.__vcprojs
def project_ids_to_name(self):
return self.__project_ids_to_name
def project_id_dependencies(self):
return self.__project_dependencies
@staticmethod
def __is_empty(iterator):
try:
iterator.next()
except StopIteration:
return True
return False
def get_dependencies_iter(self):
ids_sorted_by_name = sorted(self.__project_ids_to_name.keys(), #
lambda x,y: cmp(self.__project_ids_to_name[x], self.__project_ids_to_name[y]))
self.__logger.debug("ids_sorted_by_name = %s", ids_sorted_by_name)
for current_project_id in ids_sorted_by_name:
current_project_name = self.__project_ids_to_name[current_project_id]
self.__logger.debug("project_id = %s, project_name = %s", current_project_id, current_project_name)
if len(self.__project_dependencies[current_project_id]) != 0:
for depend_project_id in sorted(self.__project_dependencies[current_project_id]):
if depend_project_id in self.__project_ids_to_name:
yield (current_project_name,
self.__project_ids_to_name[depend_project_id])
else:
self.__logger.debug("No project with id %s (in project %s)" % (depend_project_id, current_project_name))
else:
self.__logger.debug("Project %s has no outgoing dependencies within the solution file." % (current_project_name))
incoming_dependencies = (project_id for project_id in self.__project_dependencies if current_project_id in self.__project_dependencies[project_id])
if self.__is_empty(incoming_dependencies):
self.__logger.info("Project %s has no dependencies within the solution file. It will not be shown in any further output." % (current_project_name))
if __name__ == "__main__":
if len(sys.argv) == 1:
import doctest
doctest.testmod()
else:
logging.basicConfig(level=logging.DEBUG)
parser = InternalSolutionFileParser(open(sys.argv[1], "r"))
for (source, target) in parser.get_dependencies_iter():
print "%s,%s" % (source, target)
| [
1,
529,
276,
1112,
420,
29958,
3116,
29883,
29899,
351,
29914,
27901,
29887,
8504,
13,
12008,
13,
20399,
373,
29871,
29900,
29896,
29889,
29900,
29946,
29889,
29906,
29900,
29896,
29896,
13,
13,
29992,
8921,
29901,
317,
6259,
8673,
1660,
29907,
13,
12008,
13,
5215,
12183,
13,
5215,
337,
13,
5215,
10876,
13,
5215,
302,
29873,
2084,
13,
5215,
926,
861,
2084,
13,
13,
1990,
512,
1890,
13296,
918,
2283,
11726,
29898,
3318,
1125,
13,
1678,
9995,
13,
1678,
319,
13812,
363,
9249,
7448,
29871,
29906,
29900,
29900,
29947,
24380,
2066,
14544,
12750,
29940,
467,
739,
610,
29879,
267,
278,
9962,
1546,
7531,
13,
1678,
315,
1817,
9279,
871,
29889,
1152,
315,
29937,
9279,
29892,
278,
9962,
526,
451,
11122,
297,
278,
1650,
934,
29889,
268,
13,
1678,
9995,
13,
268,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
1650,
29918,
1445,
1125,
13,
4706,
9995,
13,
4706,
6760,
1078,
385,
2777,
29871,
13,
308,
13,
4706,
732,
3207,
1650,
29918,
1445,
29901,
530,
20380,
310,
3454,
310,
263,
12221,
29906,
29900,
29900,
29947,
1650,
934,
29892,
12234,
29871,
13,
9651,
263,
869,
12750,
29940,
934,
6496,
363,
5183,
29889,
13,
4706,
9995,
13,
4706,
1583,
17255,
7071,
771,
1315,
353,
5159,
13,
4706,
1583,
17255,
4836,
29918,
4841,
29918,
517,
29918,
978,
353,
9657,
580,
13,
4706,
1583,
17255,
4836,
29918,
22594,
353,
9657,
580,
13,
4706,
1583,
17255,
21707,
353,
12183,
29889,
657,
16363,
29898,
1311,
17255,
1990,
1649,
17255,
5453,
1649,
29897,
13,
4706,
1583,
17255,
5510,
29898,
2929,
918,
29918,
1445,
29897,
13,
308,
13,
1678,
822,
4770,
5510,
29898,
1311,
29892,
1650,
29918,
1445,
1125,
13,
4706,
297,
29918,
311,
567,
353,
29871,
29900,
13,
4706,
1857,
29918,
4836,
29918,
333,
353,
6213,
13,
4706,
363,
1196,
297,
1650,
29918,
1445,
29901,
13,
9651,
1196,
353,
1196,
29889,
17010,
580,
13,
9651,
565,
1196,
29889,
27382,
2541,
703,
7653,
703,
1125,
13,
18884,
396,
2158,
703,
27382,
411,
8010,
703,
29897,
13,
18884,
286,
353,
337,
29889,
4352,
29898,
29878,
29908,
7653,
29905,
1194,
29908,
13970,
29899,
29909,
29899,
29943,
29900,
29899,
29929,
14178,
1012,
29908,
7244,
353,
13218,
4197,
29909,
29899,
29999,
29874,
29899,
29920,
29900,
29899,
29929,
5396,
14178,
2144,
613,
13218,
4197,
3823,
16862,
29930,
2144,
613,
13218,
29912,
4197,
29899,
29909,
29899,
29943,
29900,
29899,
29929,
29962,
7528,
1012,
29908,
613,
1196,
29897,
13,
18884,
565,
286,
2804,
6213,
29901,
13,
462,
1678,
1857,
29918,
4836,
29918,
978,
353,
286,
29889,
2972,
29898,
29896,
29897,
13,
462,
1678,
1857,
29918,
4836,
29918,
7071,
20865,
353,
286,
29889,
2972,
29898,
29906,
29897,
13,
462,
1678,
1857,
29918,
4836,
29918,
333,
353,
286,
29889,
2972,
29898,
29941,
29897,
13,
462,
1678,
565,
1857,
29918,
4836,
29918,
7071,
20865,
29889,
1975,
2541,
877,
20865,
29374,
13,
462,
4706,
396,
1311,
17255,
21707,
29889,
8382,
703,
4836,
1273,
29879,
411,
1178,
1273,
29879,
29908,
1273,
313,
3784,
29918,
4836,
29918,
978,
29892,
1857,
29918,
4836,
29918,
333,
876,
13,
462,
4706,
1583,
17255,
4836,
29918,
4841,
29918,
517,
29918,
978,
29961,
3784,
29918,
4836,
29918,
333,
29962,
353,
1857,
29918,
4836,
29918,
978,
13,
462,
4706,
1583,
17255,
4836,
29918,
22594,
29961,
3784,
29918,
4836,
29918,
333,
29962,
353,
731,
580,
13,
462,
4706,
1583,
17255,
7071,
771,
1315,
29889,
4397,
29898,
3784,
29918,
4836,
29918,
7071,
20865,
29889,
6506,
29898,
593,
2084,
29889,
19570,
29892,
926,
861,
2084,
29889,
19570,
876,
13,
18884,
1683,
29901,
13,
462,
1678,
1583,
17255,
21707,
29889,
27392,
703,
348,
862,
29879,
519,
1196,
1273,
29879,
29908,
1273,
313,
1220,
29892,
876,
13,
9651,
25342,
1196,
29889,
27382,
2541,
703,
5044,
7653,
29908,
1125,
13,
18884,
1857,
29918,
4836,
29918,
333,
353,
6213,
13,
18884,
297,
29918,
311,
567,
353,
29871,
29900,
13,
9651,
25342,
1196,
29889,
27382,
2541,
703,
7653,
13438,
29898,
7653,
8498,
7158,
5513,
1125,
13,
18884,
297,
29918,
311,
567,
353,
29871,
29896,
13,
9651,
25342,
1196,
29889,
27382,
2541,
703,
5044,
7653,
13438,
29908,
1125,
13,
18884,
297,
29918,
311,
567,
353,
29871,
29900,
13,
9651,
25342,
297,
29918,
311,
567,
29901,
13,
18884,
286,
353,
337,
29889,
4352,
29898,
29878,
29908,
29912,
4197,
29899,
29909,
29899,
29943,
29900,
29899,
29929,
14178,
2915,
353,
426,
14352,
29909,
29899,
29943,
29900,
29899,
29929,
29962,
4044,
613,
1196,
29897,
13,
18884,
565,
286,
2804,
6213,
29901,
13,
462,
1678,
8839,
29918,
4836,
29918,
333,
353,
286,
29889,
2972,
29898,
29896,
29897,
13,
462,
1678,
1583,
17255,
21707,
29889,
8382,
703,
4836,
1273,
29879,
7111,
373,
1273,
29879,
29908,
1273,
313,
3784,
29918,
4836,
29918,
333,
29892,
29871,
13,
462,
462,
462,
462,
418,
8839,
29918,
4836,
29918,
333,
876,
13,
462,
1678,
565,
1857,
29918,
4836,
29918,
333,
297,
1583,
17255,
4836,
29918,
22594,
29901,
13,
462,
4706,
1583,
17255,
4836,
29918,
22594,
29961,
3784,
29918,
4836,
29918,
333,
1822,
1202,
29898,
2716,
355,
29918,
4836,
29918,
333,
29897,
13,
18884,
1683,
29901,
13,
462,
1678,
1583,
17255,
21707,
29889,
27392,
703,
348,
862,
29879,
519,
1196,
1273,
29879,
29908,
1273,
313,
1220,
29892,
876,
13,
13,
1678,
822,
325,
29883,
771,
1315,
29898,
1311,
1125,
13,
4706,
736,
1583,
17255,
7071,
771,
1315,
13,
268,
13,
1678,
822,
2060,
29918,
4841,
29918,
517,
29918,
978,
29898,
1311,
1125,
13,
4706,
736,
1583,
17255,
4836,
29918,
4841,
29918,
517,
29918,
978,
13,
268,
13,
1678,
822,
2060,
29918,
333,
29918,
22594,
29898,
1311,
1125,
13,
4706,
736,
1583,
17255,
4836,
29918,
22594,
13,
308,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
4770,
275,
29918,
6310,
29898,
17609,
1125,
13,
4706,
1018,
29901,
13,
9651,
20380,
29889,
4622,
580,
13,
4706,
5174,
22303,
13463,
362,
29901,
13,
9651,
736,
5852,
13,
4706,
736,
7700,
13,
268,
13,
1678,
822,
679,
29918,
22594,
29918,
1524,
29898,
1311,
1125,
13,
4706,
18999,
29918,
24582,
29918,
1609,
29918,
978,
353,
12705,
29898,
1311,
17255,
4836,
29918,
4841,
29918,
517,
29918,
978,
29889,
8149,
3285,
396,
13,
462,
462,
308,
14013,
921,
29892,
29891,
29901,
274,
1526,
29898,
1311,
17255,
4836,
29918,
4841,
29918,
517,
29918,
978,
29961,
29916,
1402,
1583,
17255,
4836,
29918,
4841,
29918,
517,
29918,
978,
29961,
29891,
12622,
13,
4706,
1583,
17255,
21707,
29889,
8382,
703,
4841,
29918,
24582,
29918,
1609,
29918,
978,
353,
1273,
29879,
613,
18999,
29918,
24582,
29918,
1609,
29918,
978,
29897,
13,
4706,
363,
1857,
29918,
4836,
29918,
333,
297,
18999,
29918,
24582,
29918,
1609,
29918,
978,
29901,
13,
9651,
1857,
29918,
4836,
29918,
978,
353,
1583,
17255,
4836,
29918,
4841,
29918,
517,
29918,
978,
29961,
3784,
29918,
4836,
29918,
333,
29962,
13,
9651,
1583,
17255,
21707,
29889,
8382,
703,
4836,
29918,
333,
353,
1273,
29879,
29892,
2060,
29918,
978,
353,
1273,
29879,
613,
1857,
29918,
4836,
29918,
333,
29892,
1857,
29918,
4836,
29918,
978,
29897,
13,
9651,
565,
7431,
29898,
1311,
17255,
4836,
29918,
22594,
29961,
3784,
29918,
4836,
29918,
333,
2314,
2804,
29871,
29900,
29901,
13,
18884,
363,
8839,
29918,
4836,
29918,
333,
297,
12705,
29898,
1311,
17255,
4836,
29918,
22594,
29961,
3784,
29918,
4836,
29918,
333,
29962,
1125,
13,
462,
1678,
565,
8839,
29918,
4836,
29918,
333,
297,
1583,
17255,
4836,
29918,
4841,
29918,
517,
29918,
978,
29901,
13,
462,
4706,
7709,
313,
3784,
29918,
4836,
29918,
978,
29892,
13,
462,
1669,
1583,
17255,
4836,
29918,
4841,
29918,
517,
29918,
978,
29961,
2716,
355,
29918,
4836,
29918,
333,
2314,
13,
462,
1678,
1683,
29901,
13,
462,
4706,
1583,
17255,
21707,
29889,
8382,
703,
3782,
2060,
411,
1178,
1273,
29879,
313,
262,
2060,
1273,
29879,
5513,
1273,
313,
2716,
355,
29918,
4836,
29918,
333,
29892,
1857,
29918,
4836,
29918,
978,
876,
13,
9651,
1683,
29901,
13,
18884,
1583,
17255,
21707,
29889,
8382,
703,
7653,
1273,
29879,
756,
694,
714,
17696,
9962,
2629,
278,
1650,
934,
1213,
1273,
313,
3784,
29918,
4836,
29918,
978,
876,
13,
18884,
23235,
29918,
22594,
353,
313,
4836,
29918,
333,
363,
2060,
29918,
333,
297,
1583,
17255,
4836,
29918,
22594,
565,
1857,
29918,
4836,
29918,
333,
297,
1583,
17255,
4836,
29918,
22594,
29961,
4836,
29918,
333,
2314,
13,
18884,
565,
1583,
17255,
275,
29918,
6310,
29898,
262,
11506,
29918,
22594,
1125,
13,
462,
1678,
1583,
17255,
21707,
29889,
3888,
703,
7653,
1273,
29879,
756,
694,
9962,
2629,
278,
1650,
934,
29889,
739,
674,
451,
367,
4318,
297,
738,
4340,
1962,
1213,
1273,
313,
3784,
29918,
4836,
29918,
978,
876,
13,
13,
361,
4770,
978,
1649,
1275,
376,
1649,
3396,
1649,
1115,
13,
1678,
565,
7431,
29898,
9675,
29889,
19218,
29897,
1275,
29871,
29896,
29901,
13,
4706,
1053,
437,
312,
342,
13,
4706,
437,
312,
342,
29889,
1688,
1545,
580,
13,
1678,
1683,
29901,
13,
4706,
12183,
29889,
16121,
3991,
29898,
5563,
29922,
21027,
29889,
18525,
29897,
13,
4706,
13812,
353,
512,
1890,
13296,
918,
2283,
11726,
29898,
3150,
29898,
9675,
29889,
19218,
29961,
29896,
1402,
376,
29878,
5783,
13,
4706,
363,
313,
4993,
29892,
3646,
29897,
297,
13812,
29889,
657,
29918,
22594,
29918,
1524,
7295,
13,
9651,
1596,
11860,
29879,
24163,
29879,
29908,
1273,
313,
4993,
29892,
3646,
29897,
13,
2
] |
sdk/webpubsub/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/aio.py | rsdoherty/azure-sdk-for-python | 207 | 120774 | <gh_stars>100-1000
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
__all__ = ["WebPubSubServiceClient"]
from typing import TYPE_CHECKING
from copy import deepcopy
import azure.core.pipeline as corepipeline
import azure.core.pipeline.policies as corepolicies
import azure.core.pipeline.transport as coretransport
# Temporary location for types that eventually graduate to Azure Core
from .core import rest as corerest
from ._policies import JwtCredentialPolicy
if TYPE_CHECKING:
import azure.core.credentials as corecredentials
from azure.core.pipeline.policies import HTTPPolicy, SansIOHTTPPolicy
from typing import Any, List, cast # pylint: disable=ungrouped-imports
class WebPubSubServiceClient(object):
def __init__(self, endpoint, credential, **kwargs):
# type: (str, corecredentials.AzureKeyCredential, Any) -> None
"""Create a new WebPubSubServiceClient instance
:param endpoint: Endpoint to connect to.
:type endpoint: ~str
:param credential: Credentials to use to connect to endpoint.
:type credential: ~azure.core.credentials.AzureKeyCredential
:keyword api_version: Api version to use when communicating with the service.
:type api_version: str
:keyword user: User to connect as. Optional.
:type user: ~str
"""
self.endpoint = endpoint.rstrip("/")
transport = kwargs.pop("transport", None) or coretransport.RequestsTransport(
**kwargs
)
policies = [
corepolicies.HeadersPolicy(**kwargs),
corepolicies.UserAgentPolicy(**kwargs),
corepolicies.AsyncRetryPolicy(**kwargs),
corepolicies.ProxyPolicy(**kwargs),
corepolicies.CustomHookPolicy(**kwargs),
corepolicies.AsyncRedirectPolicy(**kwargs),
JwtCredentialPolicy(credential, kwargs.get("user", None)),
corepolicies.NetworkTraceLoggingPolicy(**kwargs),
] # type: Any
self._pipeline = corepipeline.AsyncPipeline(
transport,
policies,
) # type: corepipeline.AsyncPipeline
def _format_url(self, url):
# type: (str) -> str
assert self.endpoint[-1] != "/", "My endpoint should not have a trailing slash"
return "/".join([self.endpoint, url.lstrip("/")])
async def send_request(
self, http_request: corerest.HttpRequest, **kwargs: "Any"
) -> corerest.AsyncHttpResponse:
"""Runs the network request through the client's chained policies.
We have helper methods to create requests specific to this service in `azure.messaging.webpubsub.rest`.
Use these helper methods to create the request you pass to this method. See our example below:
>>> from azure.messaging.webpubsub.rest import build_healthapi_get_health_status_request
>>> request = build_healthapi_get_health_status_request(api_version)
<HttpRequest [HEAD], url: '/api/health'>
>>> response = await client.send_request(request)
<AsyncHttpResponse: 200 OK>
For more information on this code flow, see https://aka.ms/azsdk/python/llcwiki
For advanced cases, you can also create your own :class:`~azure.messaging.webpubsub.core.rest.HttpRequest`
and pass it in.
:param http_request: The network request you want to make. Required.
:type http_request: ~azure.messaging.webpubsub.core.rest.HttpRequest
:keyword bool stream_response: Whether the response payload will be streamed. Defaults to False.
:return: The response of your network call. Does not do error handling on your response.
:rtype: ~azure.messaging.webpubsub.core.rest.AsyncHttpResponse
"""
request_copy = deepcopy(http_request)
request_copy.url = self._format_url(request_copy.url)
# can't do AsyncStreamContextManager yet. This client doesn't have a pipeline client,
# AsyncStreamContextManager requires a pipeline client. WIll look more into it
# if kwargs.pop("stream_response", False):
# return corerest._AsyncStreamContextManager(
# client=self._client,
# request=request_copy,
# )
pipeline_response = await self._pipeline.run(
request_copy._internal_request, **kwargs # pylint: disable=protected-access
)
response = corerest.AsyncHttpResponse(
status_code=pipeline_response.http_response.status_code,
request=request_copy,
_internal_response=pipeline_response.http_response,
)
await response.read()
return response
| [
1,
529,
12443,
29918,
303,
1503,
29958,
29896,
29900,
29900,
29899,
29896,
29900,
29900,
29900,
13,
29937,
14137,
29922,
9420,
29899,
29947,
13,
29937,
448,
2683,
2683,
2683,
2683,
1378,
29899,
13,
29937,
14187,
1266,
313,
29883,
29897,
7783,
15025,
29889,
2178,
10462,
21676,
29889,
13,
29937,
10413,
21144,
1090,
278,
341,
1806,
19245,
29889,
2823,
19245,
29889,
3945,
297,
278,
2060,
3876,
363,
19405,
2472,
29889,
13,
29937,
5920,
5759,
491,
7783,
313,
29934,
29897,
11133,
15078,
5920,
3251,
1061,
29889,
13,
29937,
678,
6916,
1122,
4556,
10240,
6030,
322,
674,
367,
5714,
565,
278,
775,
338,
1072,
759,
630,
29889,
13,
29937,
448,
2683,
2683,
2683,
2683,
1378,
29899,
13,
1649,
497,
1649,
353,
6796,
3609,
21076,
4035,
3170,
4032,
3108,
13,
13,
3166,
19229,
1053,
323,
6959,
29918,
3210,
16658,
4214,
13,
3166,
3509,
1053,
6483,
8552,
13,
13,
5215,
15699,
29889,
3221,
29889,
13096,
5570,
408,
7136,
13096,
5570,
13,
5215,
15699,
29889,
3221,
29889,
13096,
5570,
29889,
3733,
293,
583,
408,
7136,
3733,
293,
583,
13,
5215,
15699,
29889,
3221,
29889,
13096,
5570,
29889,
27882,
408,
1034,
18184,
550,
637,
13,
13,
29937,
6789,
1971,
653,
4423,
363,
4072,
393,
10201,
10591,
403,
304,
12634,
10239,
13,
3166,
869,
3221,
1053,
1791,
408,
1034,
261,
342,
13,
13,
3166,
869,
29918,
3733,
293,
583,
1053,
435,
14554,
15507,
2556,
15644,
13,
13,
361,
323,
6959,
29918,
3210,
16658,
4214,
29901,
13,
1678,
1053,
15699,
29889,
3221,
29889,
11944,
9409,
408,
7136,
11944,
9409,
13,
1678,
515,
15699,
29889,
3221,
29889,
13096,
5570,
29889,
3733,
293,
583,
1053,
7331,
15644,
29892,
27677,
5971,
10493,
15644,
13,
1678,
515,
19229,
1053,
3139,
29892,
2391,
29892,
4320,
396,
282,
2904,
524,
29901,
11262,
29922,
348,
2972,
287,
29899,
326,
4011,
13,
13,
13,
1990,
2563,
21076,
4035,
3170,
4032,
29898,
3318,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
16248,
29892,
6625,
2556,
29892,
3579,
19290,
1125,
13,
4706,
396,
1134,
29901,
313,
710,
29892,
7136,
11944,
9409,
29889,
28413,
2558,
15507,
2556,
29892,
3139,
29897,
1599,
6213,
13,
4706,
9995,
4391,
263,
716,
2563,
21076,
4035,
3170,
4032,
2777,
13,
13,
4706,
584,
3207,
16248,
29901,
2796,
3149,
304,
4511,
304,
29889,
13,
4706,
584,
1853,
16248,
29901,
3695,
710,
13,
4706,
584,
3207,
6625,
2556,
29901,
24596,
9409,
304,
671,
304,
4511,
304,
16248,
29889,
13,
4706,
584,
1853,
6625,
2556,
29901,
3695,
17688,
29889,
3221,
29889,
11944,
9409,
29889,
28413,
2558,
15507,
2556,
13,
4706,
584,
26766,
7882,
29918,
3259,
29901,
29749,
1873,
304,
671,
746,
7212,
1218,
411,
278,
2669,
29889,
13,
4706,
584,
1853,
7882,
29918,
3259,
29901,
851,
13,
4706,
584,
26766,
1404,
29901,
4911,
304,
4511,
408,
29889,
28379,
29889,
13,
4706,
584,
1853,
1404,
29901,
3695,
710,
13,
4706,
9995,
13,
4706,
1583,
29889,
29734,
353,
16248,
29889,
29878,
17010,
11974,
1159,
13,
4706,
8608,
353,
9049,
5085,
29889,
7323,
703,
27882,
613,
6213,
29897,
470,
1034,
18184,
550,
637,
29889,
3089,
29879,
27395,
29898,
13,
9651,
3579,
19290,
13,
4706,
1723,
13,
4706,
24833,
353,
518,
13,
9651,
7136,
3733,
293,
583,
29889,
18163,
15644,
29898,
1068,
19290,
511,
13,
9651,
7136,
3733,
293,
583,
29889,
2659,
19661,
15644,
29898,
1068,
19290,
511,
13,
9651,
7136,
3733,
293,
583,
29889,
8123,
8015,
719,
15644,
29898,
1068,
19290,
511,
13,
9651,
7136,
3733,
293,
583,
29889,
14048,
15644,
29898,
1068,
19290,
511,
13,
9651,
7136,
3733,
293,
583,
29889,
7281,
29950,
2550,
15644,
29898,
1068,
19290,
511,
13,
9651,
7136,
3733,
293,
583,
29889,
8123,
24735,
15644,
29898,
1068,
19290,
511,
13,
9651,
435,
14554,
15507,
2556,
15644,
29898,
11944,
2556,
29892,
9049,
5085,
29889,
657,
703,
1792,
613,
6213,
8243,
13,
9651,
7136,
3733,
293,
583,
29889,
13724,
11591,
3403,
3460,
15644,
29898,
1068,
19290,
511,
13,
4706,
4514,
29871,
396,
1134,
29901,
3139,
13,
4706,
1583,
3032,
13096,
5570,
353,
7136,
13096,
5570,
29889,
8123,
29925,
23828,
29898,
13,
9651,
8608,
29892,
13,
9651,
24833,
29892,
13,
4706,
1723,
29871,
396,
1134,
29901,
7136,
13096,
5570,
29889,
8123,
29925,
23828,
13,
13,
1678,
822,
903,
4830,
29918,
2271,
29898,
1311,
29892,
3142,
1125,
13,
4706,
396,
1134,
29901,
313,
710,
29897,
1599,
851,
13,
4706,
4974,
1583,
29889,
29734,
14352,
29896,
29962,
2804,
5591,
613,
376,
3421,
16248,
881,
451,
505,
263,
25053,
24765,
29908,
13,
4706,
736,
5591,
1642,
7122,
4197,
1311,
29889,
29734,
29892,
3142,
29889,
29880,
17010,
11974,
1159,
2314,
13,
13,
1678,
7465,
822,
3638,
29918,
3827,
29898,
13,
4706,
1583,
29892,
1732,
29918,
3827,
29901,
1034,
261,
342,
29889,
26021,
29892,
3579,
19290,
29901,
376,
10773,
29908,
13,
1678,
1723,
1599,
1034,
261,
342,
29889,
8123,
5506,
5103,
29901,
13,
4706,
9995,
6558,
29879,
278,
3564,
2009,
1549,
278,
3132,
29915,
29879,
521,
7114,
24833,
29889,
13,
13,
4706,
1334,
505,
16876,
3519,
304,
1653,
7274,
2702,
304,
445,
2669,
297,
421,
17688,
29889,
12062,
6751,
29889,
2676,
5467,
1491,
29889,
5060,
1412,
13,
4706,
4803,
1438,
16876,
3519,
304,
1653,
278,
2009,
366,
1209,
304,
445,
1158,
29889,
2823,
1749,
1342,
2400,
29901,
13,
13,
4706,
8653,
515,
15699,
29889,
12062,
6751,
29889,
2676,
5467,
1491,
29889,
5060,
1053,
2048,
29918,
354,
4298,
2754,
29918,
657,
29918,
354,
4298,
29918,
4882,
29918,
3827,
13,
4706,
8653,
2009,
353,
2048,
29918,
354,
4298,
2754,
29918,
657,
29918,
354,
4298,
29918,
4882,
29918,
3827,
29898,
2754,
29918,
3259,
29897,
13,
4706,
529,
26021,
518,
23252,
1402,
3142,
29901,
8207,
2754,
29914,
354,
4298,
11041,
13,
4706,
8653,
2933,
353,
7272,
3132,
29889,
6717,
29918,
3827,
29898,
3827,
29897,
13,
4706,
529,
8123,
5506,
5103,
29901,
29871,
29906,
29900,
29900,
9280,
29958,
13,
13,
4706,
1152,
901,
2472,
373,
445,
775,
4972,
29892,
1074,
2045,
597,
8245,
29889,
1516,
29914,
834,
15348,
29914,
4691,
29914,
645,
29883,
4594,
13,
13,
4706,
1152,
12862,
4251,
29892,
366,
508,
884,
1653,
596,
1914,
584,
1990,
18078,
30022,
17688,
29889,
12062,
6751,
29889,
2676,
5467,
1491,
29889,
3221,
29889,
5060,
29889,
26021,
29952,
13,
4706,
322,
1209,
372,
297,
29889,
13,
13,
4706,
584,
3207,
1732,
29918,
3827,
29901,
450,
3564,
2009,
366,
864,
304,
1207,
29889,
830,
5958,
29889,
13,
4706,
584,
1853,
1732,
29918,
3827,
29901,
3695,
17688,
29889,
12062,
6751,
29889,
2676,
5467,
1491,
29889,
3221,
29889,
5060,
29889,
26021,
13,
4706,
584,
26766,
6120,
4840,
29918,
5327,
29901,
26460,
278,
2933,
20092,
674,
367,
4840,
287,
29889,
13109,
29879,
304,
7700,
29889,
13,
4706,
584,
2457,
29901,
450,
2933,
310,
596,
3564,
1246,
29889,
5538,
451,
437,
1059,
11415,
373,
596,
2933,
29889,
13,
4706,
584,
29878,
1853,
29901,
3695,
17688,
29889,
12062,
6751,
29889,
2676,
5467,
1491,
29889,
3221,
29889,
5060,
29889,
8123,
5506,
5103,
13,
4706,
9995,
13,
4706,
2009,
29918,
8552,
353,
6483,
8552,
29898,
1124,
29918,
3827,
29897,
13,
4706,
2009,
29918,
8552,
29889,
2271,
353,
1583,
3032,
4830,
29918,
2271,
29898,
3827,
29918,
8552,
29889,
2271,
29897,
13,
13,
4706,
396,
508,
29915,
29873,
437,
20688,
3835,
2677,
3260,
3447,
29889,
910,
3132,
1838,
29915,
29873,
505,
263,
16439,
3132,
29892,
13,
4706,
396,
20688,
3835,
2677,
3260,
6858,
263,
16439,
3132,
29889,
399,
10002,
1106,
901,
964,
372,
13,
4706,
396,
565,
9049,
5085,
29889,
7323,
703,
5461,
29918,
5327,
613,
7700,
1125,
13,
4706,
396,
268,
736,
1034,
261,
342,
3032,
8123,
3835,
2677,
3260,
29898,
13,
4706,
396,
308,
3132,
29922,
1311,
3032,
4645,
29892,
13,
4706,
396,
308,
2009,
29922,
3827,
29918,
8552,
29892,
13,
4706,
396,
268,
1723,
13,
4706,
16439,
29918,
5327,
353,
7272,
1583,
3032,
13096,
5570,
29889,
3389,
29898,
13,
9651,
2009,
29918,
8552,
3032,
7564,
29918,
3827,
29892,
3579,
19290,
396,
282,
2904,
524,
29901,
11262,
29922,
24681,
29899,
5943,
13,
4706,
1723,
13,
4706,
2933,
353,
1034,
261,
342,
29889,
8123,
5506,
5103,
29898,
13,
9651,
4660,
29918,
401,
29922,
13096,
5570,
29918,
5327,
29889,
1124,
29918,
5327,
29889,
4882,
29918,
401,
29892,
13,
9651,
2009,
29922,
3827,
29918,
8552,
29892,
13,
9651,
903,
7564,
29918,
5327,
29922,
13096,
5570,
29918,
5327,
29889,
1124,
29918,
5327,
29892,
13,
4706,
1723,
13,
4706,
7272,
2933,
29889,
949,
580,
13,
4706,
736,
2933,
13,
2
] |
foobar2020/solutionProblem19.py | franklinvp/foobar | 7 | 186702 | <gh_stars>1-10
This one I had done before
https://github.com/franklinvp/foobar/blob/master/foobar2018/extra_challenge_solar_panels.py
but hadn't tested it against the secret testcases. It passed.
| [
1,
529,
12443,
29918,
303,
1503,
29958,
29896,
29899,
29896,
29900,
13,
4013,
697,
306,
750,
2309,
1434,
13,
13,
1678,
2045,
597,
3292,
29889,
510,
29914,
29888,
10003,
1915,
29894,
29886,
29914,
1181,
22872,
29914,
10054,
29914,
6207,
29914,
1181,
22872,
29906,
29900,
29896,
29947,
29914,
17833,
29918,
305,
11768,
29918,
2929,
279,
29918,
8357,
1379,
29889,
2272,
13,
13,
4187,
27222,
29915,
29873,
9528,
372,
2750,
278,
7035,
1243,
11436,
29889,
739,
4502,
29889,
13,
2
] |
pybond/bond/bond_helpers/observe_files.py | necula01/bond | 8 | 35448 | <reponame>necula01/bond
# Helper functions to observe files and directories
import os
import re
def collect_directory_contents(directory,
file_filter=None,
collect_file_contents=False):
"""
Collect an object reflecting the contents of a directory
:param directory: the directory where to start the traversal
:param file_filter: either a string representing a regular expression on the name of the files
and directories to be included, or a function that given the directory and the filename
returns true or false, whether the directory or file should be included.
:param collect_file_contents: indicates whether to collect the contents of files.
True means to include contents of all files,
:return: a dictionary with keys corresponding to basename of files and subdirectories.
Only files that are allowed by the file_filter are included.
If the file contents is collected then the dictionary contains a list of lines.
"""
# TODO: figure out a more general form for this, perhaps using
# a configurable visitor to define how to visit each file
result = { } # map from file name to file data.
# file data is either None (if the contents is not spied),
# or an array of lines
# Prepare the file filter
file_filter_func = None
if file_filter:
if isinstance(file_filter, basestring):
file_filter_regexp = re.compile(file_filter)
file_filter_func = lambda rel_file: file_filter_regexp.match(rel_file)
else:
# TODO: assert that it is a function
file_filter_func = file_filter
collect_file_contents_func = None
if collect_file_contents:
if isinstance(collect_file_contents, bool):
if collect_file_contents:
collect_file_contents_func = lambda rel_file: True
elif isinstance(collect_file_contents, basestring):
include_file_contents_regexp = re.compile(collect_file_contents)
collect_file_contents_func = lambda rel_file: include_file_contents_regexp.match(rel_file)
else:
# TODO: assert that it is a function
collect_file_contents_func = collect_file_contents
def recurse(rel_subdir, result_data):
name_subdir = os.path.join(directory, rel_subdir)
for basename in os.listdir(name_subdir):
rel_file = os.path.join(rel_subdir, basename)
file = os.path.join(directory, rel_file)
if file_filter_func and not file_filter_func(rel_file):
continue
if os.path.isdir(file):
subresult_data = {}
result_data[basename] = subresult_data
recurse(rel_file, subresult_data)
else:
if collect_file_contents_func and collect_file_contents_func(rel_file):
with open(file, 'r') as f:
lines = f.readlines ()
result_data[basename] = [l.rstrip() for l in lines ]
else:
result_data[basename] = None
recurse('', result)
return result
| [
1,
529,
276,
1112,
420,
29958,
484,
1810,
29874,
29900,
29896,
29914,
29890,
898,
13,
29937,
6162,
546,
3168,
304,
14111,
2066,
322,
17525,
13,
5215,
2897,
13,
5215,
337,
13,
13,
1753,
6314,
29918,
12322,
29918,
10853,
29898,
12322,
29892,
13,
462,
1669,
934,
29918,
4572,
29922,
8516,
29892,
13,
462,
1669,
6314,
29918,
1445,
29918,
10853,
29922,
8824,
1125,
13,
1678,
9995,
13,
1678,
24930,
385,
1203,
9432,
292,
278,
8118,
310,
263,
3884,
13,
1678,
584,
3207,
3884,
29901,
278,
3884,
988,
304,
1369,
278,
13310,
284,
13,
1678,
584,
3207,
934,
29918,
4572,
29901,
2845,
263,
1347,
15783,
263,
4943,
4603,
373,
278,
1024,
310,
278,
2066,
13,
965,
322,
17525,
304,
367,
5134,
29892,
470,
263,
740,
393,
2183,
278,
3884,
322,
278,
10422,
13,
965,
3639,
1565,
470,
2089,
29892,
3692,
278,
3884,
470,
934,
881,
367,
5134,
29889,
13,
1678,
584,
3207,
6314,
29918,
1445,
29918,
10853,
29901,
14088,
3692,
304,
6314,
278,
8118,
310,
2066,
29889,
13,
965,
5852,
2794,
304,
3160,
8118,
310,
599,
2066,
29892,
13,
1678,
584,
2457,
29901,
263,
8600,
411,
6611,
6590,
304,
2362,
3871,
310,
2066,
322,
1014,
11851,
3842,
29889,
13,
3986,
9333,
2066,
393,
526,
6068,
491,
278,
934,
29918,
4572,
526,
5134,
29889,
13,
3986,
960,
278,
934,
8118,
338,
16531,
769,
278,
8600,
3743,
263,
1051,
310,
3454,
29889,
13,
1678,
9995,
13,
1678,
396,
14402,
29901,
4377,
714,
263,
901,
2498,
883,
363,
445,
29892,
6060,
773,
13,
1678,
396,
539,
263,
17127,
519,
27682,
304,
4529,
920,
304,
6493,
1269,
934,
13,
1678,
1121,
353,
426,
500,
29871,
396,
2910,
515,
934,
1024,
304,
934,
848,
29889,
13,
462,
29871,
396,
934,
848,
338,
2845,
6213,
313,
361,
278,
8118,
338,
451,
805,
1000,
511,
13,
462,
29871,
396,
470,
385,
1409,
310,
3454,
13,
1678,
396,
349,
3445,
598,
278,
934,
4175,
13,
1678,
934,
29918,
4572,
29918,
9891,
353,
6213,
13,
1678,
565,
934,
29918,
4572,
29901,
13,
4706,
565,
338,
8758,
29898,
1445,
29918,
4572,
29892,
2362,
342,
5393,
1125,
13,
9651,
934,
29918,
4572,
29918,
13087,
29886,
353,
337,
29889,
12198,
29898,
1445,
29918,
4572,
29897,
13,
9651,
934,
29918,
4572,
29918,
9891,
353,
14013,
1104,
29918,
1445,
29901,
934,
29918,
4572,
29918,
13087,
29886,
29889,
4352,
29898,
2674,
29918,
1445,
29897,
13,
4706,
1683,
29901,
13,
9651,
396,
14402,
29901,
4974,
393,
372,
338,
263,
740,
13,
9651,
934,
29918,
4572,
29918,
9891,
353,
934,
29918,
4572,
13,
13,
1678,
6314,
29918,
1445,
29918,
10853,
29918,
9891,
353,
6213,
13,
1678,
565,
6314,
29918,
1445,
29918,
10853,
29901,
13,
4706,
565,
338,
8758,
29898,
15914,
29918,
1445,
29918,
10853,
29892,
6120,
1125,
13,
9651,
565,
6314,
29918,
1445,
29918,
10853,
29901,
13,
18884,
6314,
29918,
1445,
29918,
10853,
29918,
9891,
353,
14013,
1104,
29918,
1445,
29901,
5852,
13,
13,
4706,
25342,
338,
8758,
29898,
15914,
29918,
1445,
29918,
10853,
29892,
2362,
342,
5393,
1125,
13,
9651,
3160,
29918,
1445,
29918,
10853,
29918,
13087,
29886,
353,
337,
29889,
12198,
29898,
15914,
29918,
1445,
29918,
10853,
29897,
13,
9651,
6314,
29918,
1445,
29918,
10853,
29918,
9891,
353,
14013,
1104,
29918,
1445,
29901,
3160,
29918,
1445,
29918,
10853,
29918,
13087,
29886,
29889,
4352,
29898,
2674,
29918,
1445,
29897,
13,
13,
4706,
1683,
29901,
13,
9651,
396,
14402,
29901,
4974,
393,
372,
338,
263,
740,
13,
9651,
6314,
29918,
1445,
29918,
10853,
29918,
9891,
353,
6314,
29918,
1445,
29918,
10853,
13,
13,
1678,
822,
1162,
332,
344,
29898,
2674,
29918,
1491,
3972,
29892,
1121,
29918,
1272,
1125,
13,
4706,
1024,
29918,
1491,
3972,
353,
2897,
29889,
2084,
29889,
7122,
29898,
12322,
29892,
1104,
29918,
1491,
3972,
29897,
13,
4706,
363,
2362,
3871,
297,
2897,
29889,
1761,
3972,
29898,
978,
29918,
1491,
3972,
1125,
13,
9651,
1104,
29918,
1445,
353,
2897,
29889,
2084,
29889,
7122,
29898,
2674,
29918,
1491,
3972,
29892,
2362,
3871,
29897,
13,
9651,
934,
353,
2897,
29889,
2084,
29889,
7122,
29898,
12322,
29892,
1104,
29918,
1445,
29897,
13,
9651,
565,
934,
29918,
4572,
29918,
9891,
322,
451,
934,
29918,
4572,
29918,
9891,
29898,
2674,
29918,
1445,
1125,
13,
18884,
6773,
13,
13,
9651,
565,
2897,
29889,
2084,
29889,
275,
3972,
29898,
1445,
1125,
13,
18884,
1014,
2914,
29918,
1272,
353,
6571,
13,
18884,
1121,
29918,
1272,
29961,
6500,
3871,
29962,
353,
1014,
2914,
29918,
1272,
13,
18884,
1162,
332,
344,
29898,
2674,
29918,
1445,
29892,
1014,
2914,
29918,
1272,
29897,
13,
9651,
1683,
29901,
13,
18884,
565,
6314,
29918,
1445,
29918,
10853,
29918,
9891,
322,
6314,
29918,
1445,
29918,
10853,
29918,
9891,
29898,
2674,
29918,
1445,
1125,
13,
462,
1678,
411,
1722,
29898,
1445,
29892,
525,
29878,
1495,
408,
285,
29901,
13,
462,
4706,
3454,
353,
285,
29889,
949,
9012,
3861,
13,
462,
1678,
1121,
29918,
1272,
29961,
6500,
3871,
29962,
353,
518,
29880,
29889,
29878,
17010,
580,
363,
301,
297,
3454,
4514,
13,
18884,
1683,
29901,
13,
462,
1678,
1121,
29918,
1272,
29961,
6500,
3871,
29962,
353,
6213,
13,
13,
13,
1678,
1162,
332,
344,
877,
742,
1121,
29897,
13,
1678,
736,
1121,
13,
2
] |
mathgenerator/funcs/fibonacciSeriesFunc.py | furins/mathgenerator | 0 | 53188 | <filename>mathgenerator/funcs/fibonacciSeriesFunc.py
from .__init__ import *
def fibonacciSeriesFunc(minNo=1):
n = random.randint(minNo,20)
def createFibList(n):
l=[]
for i in range(n):
if i<2:
l.append(i)
else:
val = l[i-1]+l[i-2]
l.append(val)
return l
fibList=createFibList(n)
problem = "The Fibonacci Series of the first "+str(n)+" numbers is ?"
solution = fibList
return problem,solution
| [
1,
529,
9507,
29958,
755,
27959,
29914,
7692,
2395,
29914,
29888,
747,
265,
21566,
19204,
14400,
29889,
2272,
13,
3166,
869,
1649,
2344,
1649,
1053,
334,
13,
13,
13,
1753,
18755,
265,
21566,
19204,
14400,
29898,
1195,
3782,
29922,
29896,
1125,
13,
1678,
302,
353,
4036,
29889,
9502,
524,
29898,
1195,
3782,
29892,
29906,
29900,
29897,
13,
13,
1678,
822,
1653,
29943,
747,
1293,
29898,
29876,
1125,
13,
4706,
301,
29922,
2636,
13,
4706,
363,
474,
297,
3464,
29898,
29876,
1125,
13,
9651,
565,
474,
29966,
29906,
29901,
13,
18884,
301,
29889,
4397,
29898,
29875,
29897,
13,
9651,
1683,
29901,
13,
18884,
659,
353,
301,
29961,
29875,
29899,
29896,
10062,
29880,
29961,
29875,
29899,
29906,
29962,
13,
18884,
301,
29889,
4397,
29898,
791,
29897,
13,
4706,
736,
301,
13,
13,
1678,
18755,
1293,
29922,
3258,
29943,
747,
1293,
29898,
29876,
29897,
13,
268,
13,
1678,
1108,
353,
376,
1576,
383,
747,
265,
21566,
10488,
310,
278,
937,
15691,
710,
29898,
29876,
7240,
29908,
3694,
338,
1577,
29908,
13,
1678,
1650,
353,
18755,
1293,
13,
1678,
736,
1108,
29892,
2929,
918,
13,
2
] |
tests/test_gists.py | github3py/github3py | 2 | 129885 | import github3
from github3 import gists
from tests.utils import (BaseCase, load)
class TestGist(BaseCase):
def __init__(self, methodName='runTest'):
super(TestGist, self).__init__(methodName)
self.gist = gists.Gist(load('gist'))
self.api = 'https://api.github.com/gists/3813862'
def setUp(self):
super(TestGist, self).setUp()
self.gist = gists.Gist(self.gist.to_json(), self.g)
def test_str(self):
assert str(self.gist) == str(self.gist.id)
def test_repr(self):
assert repr(self.gist) == '<Gist [{0}]>'.format(self.gist)
def test_create_comment(self):
self.response('gist_comment', 201)
self.post(self.api + '/comments')
self.conf = {'data': {'body': 'bar'}}
self.assertRaises(github3.GitHubError, self.gist.create_comment)
self.login()
assert self.gist.create_comment(None) is None
assert self.gist.create_comment('') is None
self.not_called()
assert isinstance(self.gist.create_comment('bar'),
gists.comment.GistComment)
self.mock_assertions()
def test_delete(self):
self.response('', 204)
self.delete(self.api)
self.conf = {}
self.assertRaises(github3.GitHubError, self.gist.delete)
self.not_called()
self.login()
assert self.gist.delete()
self.mock_assertions()
def test_edit(self):
self.response('gist', 200)
self.patch(self.api)
self.conf = {
'data': {
'description': 'desc',
'files': {'file1': {'content': 'foo bar'}}
}
}
self.assertRaises(github3.GitHubError, self.gist.edit)
self.login()
assert self.gist.edit() is False
self.not_called()
assert self.gist.edit(**self.conf['data'])
self.mock_assertions()
def test_fork(self):
self.response('gist', 201)
self.post(self.api + '/forks')
self.conf = {}
self.assertRaises(github3.GitHubError, self.gist.fork)
self.not_called()
self.login()
assert isinstance(self.gist.fork(), gists.Gist)
self.mock_assertions()
def test_is_public(self):
assert self.gist.is_public() == self.gist.public
def test_is_starred(self):
self.response('', 204)
self.get(self.api + '/star')
self.assertRaises(github3.GitHubError, self.gist.is_starred)
self.not_called()
self.login()
assert self.gist.is_starred()
self.mock_assertions()
def test_iter_comments(self):
self.response('gist_comment', _iter=True)
self.get(self.api + '/comments')
self.conf = {'params': {'per_page': 100}}
c = next(self.gist.iter_comments())
assert isinstance(c, gists.comment.GistComment)
self.mock_assertions()
def test_iter_commits(self):
self.response('gist_history', _iter=True)
self.get(self.api + '/commits')
self.conf = {'params': {'per_page': 100}}
h = next(self.gist.iter_commits())
assert isinstance(h, gists.history.GistHistory)
self.mock_assertions()
def test_iter_files(self):
gist_file = next(self.gist.iter_files())
assert gist_file == self.gist._files[0]
assert isinstance(gist_file, gists.file.GistFile)
assert repr(gist_file).startswith('<Gist File')
def test_iter_forks(self):
self.assertRaises(StopIteration, next, self.gist.iter_forks())
def test_refresh(self):
self.response('gist', 200)
self.get(self.api)
assert self.gist.refresh() is self.gist
self.mock_assertions()
def test_star(self):
self.response('', 204)
self.put(self.api + '/star')
self.conf = {}
self.assertRaises(github3.GitHubError, self.gist.star)
self.not_called()
self.login()
assert self.gist.star()
self.mock_assertions()
def test_unstar(self):
self.response('', 204)
self.delete(self.api + '/star')
self.conf = {}
self.assertRaises(github3.GitHubError, self.gist.unstar)
self.not_called()
self.login()
assert self.gist.unstar()
self.mock_assertions()
# As opposed to creating an all new class for this
def test_history(self):
hist = self.gist.history[0]
self.response('gist', 200)
self.get(hist._api)
assert isinstance(hist, gists.history.GistHistory)
assert isinstance(hist.get_gist(), gists.Gist)
self.mock_assertions()
assert repr(hist).startswith('<Gist History')
def test_equality(self):
g = gists.Gist(load('gist'))
assert self.gist == g
g._uniq = 1
assert self.gist != g
class TestGistComment(BaseCase):
def __init__(self, methodName='runTest'):
super(TestGistComment, self).__init__(methodName)
self.comment = gists.comment.GistComment(load('gist_comment'))
self.api = "https://api.github.com/gists/4321394/comments/655725"
def setUp(self):
super(TestGistComment, self).setUp()
self.comment = gists.comment.GistComment(self.comment.to_json(),
self.g)
def test_equality(self):
c = gists.comment.GistComment(load('gist_comment'))
assert self.comment == c
c._uniq = 1
assert self.comment != c
def test_repr(self):
assert repr(self.comment) != ''
def test_edit(self):
self.response('gist_comment', 200)
self.patch(self.api)
self.conf = {'data': {'body': 'body'}}
self.assertRaises(github3.GitHubError, self.comment.edit)
self.login()
assert self.comment.edit(None) is False
self.not_called()
assert self.comment.edit('body')
self.mock_assertions()
class TestGistHistory(BaseCase):
def __init__(self, methodName='runTest'):
super(TestGistHistory, self).__init__(methodName)
self.hist = gists.history.GistHistory(load('gist_history'))
def test_equality(self):
h = gists.history.GistHistory(load('gist_history'))
assert self.hist == h
h._uniq = 'foo'
assert self.hist != h
| [
1,
1053,
18546,
29941,
13,
3166,
18546,
29941,
1053,
330,
2879,
13,
3166,
6987,
29889,
13239,
1053,
313,
5160,
8259,
29892,
2254,
29897,
13,
13,
13,
1990,
4321,
29954,
391,
29898,
5160,
8259,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
1158,
1170,
2433,
3389,
3057,
29374,
13,
4706,
2428,
29898,
3057,
29954,
391,
29892,
1583,
467,
1649,
2344,
12035,
5696,
1170,
29897,
13,
4706,
1583,
29889,
29887,
391,
353,
330,
2879,
29889,
29954,
391,
29898,
1359,
877,
29887,
391,
8785,
13,
4706,
1583,
29889,
2754,
353,
525,
991,
597,
2754,
29889,
3292,
29889,
510,
29914,
29887,
2879,
29914,
29941,
29947,
29896,
29941,
29947,
29953,
29906,
29915,
13,
13,
1678,
822,
731,
3373,
29898,
1311,
1125,
13,
4706,
2428,
29898,
3057,
29954,
391,
29892,
1583,
467,
842,
3373,
580,
13,
4706,
1583,
29889,
29887,
391,
353,
330,
2879,
29889,
29954,
391,
29898,
1311,
29889,
29887,
391,
29889,
517,
29918,
3126,
3285,
1583,
29889,
29887,
29897,
13,
13,
1678,
822,
1243,
29918,
710,
29898,
1311,
1125,
13,
4706,
4974,
851,
29898,
1311,
29889,
29887,
391,
29897,
1275,
851,
29898,
1311,
29889,
29887,
391,
29889,
333,
29897,
13,
13,
1678,
822,
1243,
29918,
276,
558,
29898,
1311,
1125,
13,
4706,
4974,
2062,
29898,
1311,
29889,
29887,
391,
29897,
1275,
12801,
29954,
391,
15974,
29900,
6525,
29958,
4286,
4830,
29898,
1311,
29889,
29887,
391,
29897,
13,
13,
1678,
822,
1243,
29918,
3258,
29918,
9342,
29898,
1311,
1125,
13,
4706,
1583,
29889,
5327,
877,
29887,
391,
29918,
9342,
742,
29871,
29906,
29900,
29896,
29897,
13,
4706,
1583,
29889,
2490,
29898,
1311,
29889,
2754,
718,
8207,
21032,
1495,
13,
4706,
1583,
29889,
5527,
353,
11117,
1272,
2396,
11117,
2587,
2396,
525,
1646,
29915,
930,
13,
13,
4706,
1583,
29889,
9294,
29934,
1759,
267,
29898,
3292,
29941,
29889,
28712,
16046,
2392,
29892,
1583,
29889,
29887,
391,
29889,
3258,
29918,
9342,
29897,
13,
4706,
1583,
29889,
7507,
580,
13,
13,
4706,
4974,
1583,
29889,
29887,
391,
29889,
3258,
29918,
9342,
29898,
8516,
29897,
338,
6213,
13,
4706,
4974,
1583,
29889,
29887,
391,
29889,
3258,
29918,
9342,
877,
1495,
338,
6213,
13,
4706,
1583,
29889,
1333,
29918,
13998,
580,
13,
4706,
4974,
338,
8758,
29898,
1311,
29889,
29887,
391,
29889,
3258,
29918,
9342,
877,
1646,
5477,
13,
462,
3986,
330,
2879,
29889,
9342,
29889,
29954,
391,
20001,
29897,
13,
4706,
1583,
29889,
17640,
29918,
9294,
1080,
580,
13,
13,
1678,
822,
1243,
29918,
8143,
29898,
1311,
1125,
13,
4706,
1583,
29889,
5327,
877,
742,
29871,
29906,
29900,
29946,
29897,
13,
4706,
1583,
29889,
8143,
29898,
1311,
29889,
2754,
29897,
13,
4706,
1583,
29889,
5527,
353,
6571,
13,
13,
4706,
1583,
29889,
9294,
29934,
1759,
267,
29898,
3292,
29941,
29889,
28712,
16046,
2392,
29892,
1583,
29889,
29887,
391,
29889,
8143,
29897,
13,
13,
4706,
1583,
29889,
1333,
29918,
13998,
580,
13,
4706,
1583,
29889,
7507,
580,
13,
4706,
4974,
1583,
29889,
29887,
391,
29889,
8143,
580,
13,
4706,
1583,
29889,
17640,
29918,
9294,
1080,
580,
13,
13,
1678,
822,
1243,
29918,
5628,
29898,
1311,
1125,
13,
4706,
1583,
29889,
5327,
877,
29887,
391,
742,
29871,
29906,
29900,
29900,
29897,
13,
4706,
1583,
29889,
5041,
29898,
1311,
29889,
2754,
29897,
13,
4706,
1583,
29889,
5527,
353,
426,
13,
9651,
525,
1272,
2396,
426,
13,
18884,
525,
8216,
2396,
525,
14273,
742,
13,
18884,
525,
5325,
2396,
11117,
1445,
29896,
2396,
11117,
3051,
2396,
525,
5431,
2594,
29915,
930,
13,
9651,
500,
13,
4706,
500,
13,
13,
4706,
1583,
29889,
9294,
29934,
1759,
267,
29898,
3292,
29941,
29889,
28712,
16046,
2392,
29892,
1583,
29889,
29887,
391,
29889,
5628,
29897,
13,
13,
4706,
1583,
29889,
7507,
580,
13,
4706,
4974,
1583,
29889,
29887,
391,
29889,
5628,
580,
338,
7700,
13,
4706,
1583,
29889,
1333,
29918,
13998,
580,
13,
13,
4706,
4974,
1583,
29889,
29887,
391,
29889,
5628,
29898,
1068,
1311,
29889,
5527,
1839,
1272,
11287,
13,
4706,
1583,
29889,
17640,
29918,
9294,
1080,
580,
13,
13,
1678,
822,
1243,
29918,
29888,
548,
29898,
1311,
1125,
13,
4706,
1583,
29889,
5327,
877,
29887,
391,
742,
29871,
29906,
29900,
29896,
29897,
13,
4706,
1583,
29889,
2490,
29898,
1311,
29889,
2754,
718,
8207,
29888,
548,
29879,
1495,
13,
4706,
1583,
29889,
5527,
353,
6571,
13,
13,
4706,
1583,
29889,
9294,
29934,
1759,
267,
29898,
3292,
29941,
29889,
28712,
16046,
2392,
29892,
1583,
29889,
29887,
391,
29889,
29888,
548,
29897,
13,
13,
4706,
1583,
29889,
1333,
29918,
13998,
580,
13,
4706,
1583,
29889,
7507,
580,
13,
4706,
4974,
338,
8758,
29898,
1311,
29889,
29887,
391,
29889,
29888,
548,
3285,
330,
2879,
29889,
29954,
391,
29897,
13,
4706,
1583,
29889,
17640,
29918,
9294,
1080,
580,
13,
13,
1678,
822,
1243,
29918,
275,
29918,
3597,
29898,
1311,
1125,
13,
4706,
4974,
1583,
29889,
29887,
391,
29889,
275,
29918,
3597,
580,
1275,
1583,
29889,
29887,
391,
29889,
3597,
13,
13,
1678,
822,
1243,
29918,
275,
29918,
8508,
1127,
29898,
1311,
1125,
13,
4706,
1583,
29889,
5327,
877,
742,
29871,
29906,
29900,
29946,
29897,
13,
4706,
1583,
29889,
657,
29898,
1311,
29889,
2754,
718,
8207,
8508,
1495,
13,
13,
4706,
1583,
29889,
9294,
29934,
1759,
267,
29898,
3292,
29941,
29889,
28712,
16046,
2392,
29892,
1583,
29889,
29887,
391,
29889,
275,
29918,
8508,
1127,
29897,
13,
13,
4706,
1583,
29889,
1333,
29918,
13998,
580,
13,
4706,
1583,
29889,
7507,
580,
13,
4706,
4974,
1583,
29889,
29887,
391,
29889,
275,
29918,
8508,
1127,
580,
13,
4706,
1583,
29889,
17640,
29918,
9294,
1080,
580,
13,
13,
1678,
822,
1243,
29918,
1524,
29918,
21032,
29898,
1311,
1125,
13,
4706,
1583,
29889,
5327,
877,
29887,
391,
29918,
9342,
742,
903,
1524,
29922,
5574,
29897,
13,
4706,
1583,
29889,
657,
29898,
1311,
29889,
2754,
718,
8207,
21032,
1495,
13,
4706,
1583,
29889,
5527,
353,
11117,
7529,
2396,
11117,
546,
29918,
3488,
2396,
29871,
29896,
29900,
29900,
930,
13,
13,
4706,
274,
353,
2446,
29898,
1311,
29889,
29887,
391,
29889,
1524,
29918,
21032,
3101,
13,
13,
4706,
4974,
338,
8758,
29898,
29883,
29892,
330,
2879,
29889,
9342,
29889,
29954,
391,
20001,
29897,
13,
4706,
1583,
29889,
17640,
29918,
9294,
1080,
580,
13,
13,
1678,
822,
1243,
29918,
1524,
29918,
2055,
1169,
29898,
1311,
1125,
13,
4706,
1583,
29889,
5327,
877,
29887,
391,
29918,
18434,
742,
903,
1524,
29922,
5574,
29897,
13,
4706,
1583,
29889,
657,
29898,
1311,
29889,
2754,
718,
8207,
2055,
1169,
1495,
13,
4706,
1583,
29889,
5527,
353,
11117,
7529,
2396,
11117,
546,
29918,
3488,
2396,
29871,
29896,
29900,
29900,
930,
13,
13,
4706,
298,
353,
2446,
29898,
1311,
29889,
29887,
391,
29889,
1524,
29918,
2055,
1169,
3101,
13,
4706,
4974,
338,
8758,
29898,
29882,
29892,
330,
2879,
29889,
18434,
29889,
29954,
391,
20570,
29897,
13,
4706,
1583,
29889,
17640,
29918,
9294,
1080,
580,
13,
13,
1678,
822,
1243,
29918,
1524,
29918,
5325,
29898,
1311,
1125,
13,
4706,
330,
391,
29918,
1445,
353,
2446,
29898,
1311,
29889,
29887,
391,
29889,
1524,
29918,
5325,
3101,
13,
4706,
4974,
330,
391,
29918,
1445,
1275,
1583,
29889,
29887,
391,
3032,
5325,
29961,
29900,
29962,
13,
4706,
4974,
338,
8758,
29898,
29887,
391,
29918,
1445,
29892,
330,
2879,
29889,
1445,
29889,
29954,
391,
2283,
29897,
13,
4706,
4974,
2062,
29898,
29887,
391,
29918,
1445,
467,
27382,
2541,
877,
29966,
29954,
391,
3497,
1495,
13,
13,
1678,
822,
1243,
29918,
1524,
29918,
29888,
548,
29879,
29898,
1311,
1125,
13,
4706,
1583,
29889,
9294,
29934,
1759,
267,
29898,
16329,
13463,
362,
29892,
2446,
29892,
1583,
29889,
29887,
391,
29889,
1524,
29918,
29888,
548,
29879,
3101,
13,
13,
1678,
822,
1243,
29918,
22379,
29898,
1311,
1125,
13,
4706,
1583,
29889,
5327,
877,
29887,
391,
742,
29871,
29906,
29900,
29900,
29897,
13,
4706,
1583,
29889,
657,
29898,
1311,
29889,
2754,
29897,
13,
13,
4706,
4974,
1583,
29889,
29887,
391,
29889,
22379,
580,
338,
1583,
29889,
29887,
391,
13,
4706,
1583,
29889,
17640,
29918,
9294,
1080,
580,
13,
13,
1678,
822,
1243,
29918,
8508,
29898,
1311,
1125,
13,
4706,
1583,
29889,
5327,
877,
742,
29871,
29906,
29900,
29946,
29897,
13,
4706,
1583,
29889,
649,
29898,
1311,
29889,
2754,
718,
8207,
8508,
1495,
13,
4706,
1583,
29889,
5527,
353,
6571,
13,
13,
4706,
1583,
29889,
9294,
29934,
1759,
267,
29898,
3292,
29941,
29889,
28712,
16046,
2392,
29892,
1583,
29889,
29887,
391,
29889,
8508,
29897,
13,
13,
4706,
1583,
29889,
1333,
29918,
13998,
580,
13,
4706,
1583,
29889,
7507,
580,
13,
4706,
4974,
1583,
29889,
29887,
391,
29889,
8508,
580,
13,
4706,
1583,
29889,
17640,
29918,
9294,
1080,
580,
13,
13,
1678,
822,
1243,
29918,
6465,
279,
29898,
1311,
1125,
13,
4706,
1583,
29889,
5327,
877,
742,
29871,
29906,
29900,
29946,
29897,
13,
4706,
1583,
29889,
8143,
29898,
1311,
29889,
2754,
718,
8207,
8508,
1495,
13,
4706,
1583,
29889,
5527,
353,
6571,
13,
13,
4706,
1583,
29889,
9294,
29934,
1759,
267,
29898,
3292,
29941,
29889,
28712,
16046,
2392,
29892,
1583,
29889,
29887,
391,
29889,
6465,
279,
29897,
13,
13,
4706,
1583,
29889,
1333,
29918,
13998,
580,
13,
4706,
1583,
29889,
7507,
580,
13,
4706,
4974,
1583,
29889,
29887,
391,
29889,
6465,
279,
580,
13,
4706,
1583,
29889,
17640,
29918,
9294,
1080,
580,
13,
13,
1678,
396,
1094,
15869,
304,
4969,
385,
599,
716,
770,
363,
445,
13,
1678,
822,
1243,
29918,
18434,
29898,
1311,
1125,
13,
4706,
9825,
353,
1583,
29889,
29887,
391,
29889,
18434,
29961,
29900,
29962,
13,
4706,
1583,
29889,
5327,
877,
29887,
391,
742,
29871,
29906,
29900,
29900,
29897,
13,
4706,
1583,
29889,
657,
29898,
29882,
391,
3032,
2754,
29897,
13,
13,
4706,
4974,
338,
8758,
29898,
29882,
391,
29892,
330,
2879,
29889,
18434,
29889,
29954,
391,
20570,
29897,
13,
4706,
4974,
338,
8758,
29898,
29882,
391,
29889,
657,
29918,
29887,
391,
3285,
330,
2879,
29889,
29954,
391,
29897,
13,
4706,
1583,
29889,
17640,
29918,
9294,
1080,
580,
13,
13,
4706,
4974,
2062,
29898,
29882,
391,
467,
27382,
2541,
877,
29966,
29954,
391,
5298,
1495,
13,
13,
1678,
822,
1243,
29918,
13895,
29898,
1311,
1125,
13,
4706,
330,
353,
330,
2879,
29889,
29954,
391,
29898,
1359,
877,
29887,
391,
8785,
13,
4706,
4974,
1583,
29889,
29887,
391,
1275,
330,
13,
4706,
330,
3032,
3909,
29939,
353,
29871,
29896,
13,
4706,
4974,
1583,
29889,
29887,
391,
2804,
330,
13,
13,
13,
1990,
4321,
29954,
391,
20001,
29898,
5160,
8259,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
1158,
1170,
2433,
3389,
3057,
29374,
13,
4706,
2428,
29898,
3057,
29954,
391,
20001,
29892,
1583,
467,
1649,
2344,
12035,
5696,
1170,
29897,
13,
4706,
1583,
29889,
9342,
353,
330,
2879,
29889,
9342,
29889,
29954,
391,
20001,
29898,
1359,
877,
29887,
391,
29918,
9342,
8785,
13,
4706,
1583,
29889,
2754,
353,
376,
991,
597,
2754,
29889,
3292,
29889,
510,
29914,
29887,
2879,
29914,
29946,
29941,
29906,
29896,
29941,
29929,
29946,
29914,
21032,
29914,
29953,
29945,
29945,
29955,
29906,
29945,
29908,
13,
13,
1678,
822,
731,
3373,
29898,
1311,
1125,
13,
4706,
2428,
29898,
3057,
29954,
391,
20001,
29892,
1583,
467,
842,
3373,
580,
13,
4706,
1583,
29889,
9342,
353,
330,
2879,
29889,
9342,
29889,
29954,
391,
20001,
29898,
1311,
29889,
9342,
29889,
517,
29918,
3126,
3285,
13,
462,
462,
462,
1583,
29889,
29887,
29897,
13,
13,
1678,
822,
1243,
29918,
13895,
29898,
1311,
1125,
13,
4706,
274,
353,
330,
2879,
29889,
9342,
29889,
29954,
391,
20001,
29898,
1359,
877,
29887,
391,
29918,
9342,
8785,
13,
4706,
4974,
1583,
29889,
9342,
1275,
274,
13,
4706,
274,
3032,
3909,
29939,
353,
29871,
29896,
13,
4706,
4974,
1583,
29889,
9342,
2804,
274,
13,
13,
1678,
822,
1243,
29918,
276,
558,
29898,
1311,
1125,
13,
4706,
4974,
2062,
29898,
1311,
29889,
9342,
29897,
2804,
6629,
13,
13,
1678,
822,
1243,
29918,
5628,
29898,
1311,
1125,
13,
4706,
1583,
29889,
5327,
877,
29887,
391,
29918,
9342,
742,
29871,
29906,
29900,
29900,
29897,
13,
4706,
1583,
29889,
5041,
29898,
1311,
29889,
2754,
29897,
13,
4706,
1583,
29889,
5527,
353,
11117,
1272,
2396,
11117,
2587,
2396,
525,
2587,
29915,
930,
13,
13,
4706,
1583,
29889,
9294,
29934,
1759,
267,
29898,
3292,
29941,
29889,
28712,
16046,
2392,
29892,
1583,
29889,
9342,
29889,
5628,
29897,
13,
13,
4706,
1583,
29889,
7507,
580,
13,
4706,
4974,
1583,
29889,
9342,
29889,
5628,
29898,
8516,
29897,
338,
7700,
13,
4706,
1583,
29889,
1333,
29918,
13998,
580,
13,
13,
4706,
4974,
1583,
29889,
9342,
29889,
5628,
877,
2587,
1495,
13,
4706,
1583,
29889,
17640,
29918,
9294,
1080,
580,
13,
13,
13,
1990,
4321,
29954,
391,
20570,
29898,
5160,
8259,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
1158,
1170,
2433,
3389,
3057,
29374,
13,
4706,
2428,
29898,
3057,
29954,
391,
20570,
29892,
1583,
467,
1649,
2344,
12035,
5696,
1170,
29897,
13,
4706,
1583,
29889,
29882,
391,
353,
330,
2879,
29889,
18434,
29889,
29954,
391,
20570,
29898,
1359,
877,
29887,
391,
29918,
18434,
8785,
13,
13,
1678,
822,
1243,
29918,
13895,
29898,
1311,
1125,
13,
4706,
298,
353,
330,
2879,
29889,
18434,
29889,
29954,
391,
20570,
29898,
1359,
877,
29887,
391,
29918,
18434,
8785,
13,
4706,
4974,
1583,
29889,
29882,
391,
1275,
298,
13,
4706,
298,
3032,
3909,
29939,
353,
525,
5431,
29915,
13,
4706,
4974,
1583,
29889,
29882,
391,
2804,
298,
13,
2
] |
src/lib/__init__.py | gfjiangly/RCNet | 0 | 14424 | # -*- encoding:utf-8 -*-
# @Time : 2019/10/23 15:45
# @Author : gfjiang
# @Site :
# @File : __init__.py
# @Software: PyCharm
| [
1,
396,
448,
29930,
29899,
8025,
29901,
9420,
29899,
29947,
448,
29930,
29899,
30004,
13,
29937,
732,
2481,
1678,
584,
29871,
29906,
29900,
29896,
29929,
29914,
29896,
29900,
29914,
29906,
29941,
29871,
29896,
29945,
29901,
29946,
29945,
30004,
13,
29937,
732,
13720,
29871,
584,
330,
29888,
2397,
574,
30004,
13,
29937,
732,
17033,
1678,
584,
6756,
13,
29937,
732,
2283,
1678,
584,
4770,
2344,
26914,
2272,
30004,
13,
29937,
732,
6295,
14093,
29901,
10772,
1451,
2817,
30004,
13,
30004,
13,
2
] |
worker/config.py | projectweekend/3spot | 0 | 74614 | <reponame>projectweekend/3spot
import os
SQS_WAIT_TIME = os.getenv('SQS_WAIT_TIME', 20)
SLEEP_TIME = os.getenv('SLEEP_TIME', 60)
PROD_LOGGER = os.getenv('PROD_LOGGER', False)
SQS_QUEUE_NAME = os.getenv('SQS_QUEUE_NAME', 'song-feed-playlists-to-process')
SQS_REGION = os.getenv('SQS_REGION', 'us-east-1')
SPOTIFY_CLIENT_ID = os.getenv('SPOTIFY_CLIENT_ID')
assert SPOTIFY_CLIENT_ID
SPOTIFY_CLIENT_SECRET = os.getenv('SPOTIFY_CLIENT_SECRET')
assert SPOTIFY_CLIENT_SECRET
ECHO_NEST_API_KEY = os.getenv('ECHO_NEST_API_KEY')
assert ECHO_NEST_API_KEY
| [
1,
529,
276,
1112,
420,
29958,
4836,
18448,
355,
29914,
29941,
17500,
13,
5215,
2897,
13,
13,
13,
29903,
29984,
29903,
29918,
12982,
1806,
29918,
15307,
353,
2897,
29889,
657,
6272,
877,
29903,
29984,
29903,
29918,
12982,
1806,
29918,
15307,
742,
29871,
29906,
29900,
29897,
13,
13,
29903,
1307,
15488,
29918,
15307,
353,
2897,
29889,
657,
6272,
877,
29903,
1307,
15488,
29918,
15307,
742,
29871,
29953,
29900,
29897,
13,
13,
8618,
29928,
29918,
14480,
17070,
353,
2897,
29889,
657,
6272,
877,
8618,
29928,
29918,
14480,
17070,
742,
7700,
29897,
13,
13,
29903,
29984,
29903,
29918,
11144,
4462,
29918,
5813,
353,
2897,
29889,
657,
6272,
877,
29903,
29984,
29903,
29918,
11144,
4462,
29918,
5813,
742,
525,
21453,
29899,
18798,
29899,
1456,
21513,
29899,
517,
29899,
5014,
1495,
13,
13,
29903,
29984,
29903,
29918,
18166,
2725,
353,
2897,
29889,
657,
6272,
877,
29903,
29984,
29903,
29918,
18166,
2725,
742,
525,
375,
29899,
23027,
29899,
29896,
1495,
13,
13,
5550,
2891,
6545,
29979,
29918,
27205,
3919,
29918,
1367,
353,
2897,
29889,
657,
6272,
877,
5550,
2891,
6545,
29979,
29918,
27205,
3919,
29918,
1367,
1495,
13,
9294,
10937,
2891,
6545,
29979,
29918,
27205,
3919,
29918,
1367,
13,
13,
5550,
2891,
6545,
29979,
29918,
27205,
3919,
29918,
1660,
22245,
29911,
353,
2897,
29889,
657,
6272,
877,
5550,
2891,
6545,
29979,
29918,
27205,
3919,
29918,
1660,
22245,
29911,
1495,
13,
9294,
10937,
2891,
6545,
29979,
29918,
27205,
3919,
29918,
1660,
22245,
29911,
13,
13,
29923,
3210,
29949,
29918,
8186,
1254,
29918,
8787,
29918,
10818,
353,
2897,
29889,
657,
6272,
877,
29923,
3210,
29949,
29918,
8186,
1254,
29918,
8787,
29918,
10818,
1495,
13,
9294,
382,
3210,
29949,
29918,
8186,
1254,
29918,
8787,
29918,
10818,
13,
2
] |
Algorithms/Easy/1475. Final Prices With a Special Discount in a Shop/answer.py | KenWoo/Algorithm | 0 | 127365 | <reponame>KenWoo/Algorithm
from typing import List
class Solution:
def finalPrices(self, prices: List[int]) -> List[int]:
res = []
N = len(prices)
for i in range(N-1):
j = i + 1
while j < N and prices[i] < prices[j]:
j += 1
res.append(prices[i] - (0 if j == N else prices[j]))
res.append(prices[-1])
return res
if __name__ == "__main__":
s = Solution()
result = s.finalPrices([8, 4, 6, 2, 3])
print(result)
| [
1,
529,
276,
1112,
420,
29958,
29968,
264,
29956,
3634,
29914,
22461,
4540,
13,
3166,
19229,
1053,
2391,
13,
13,
13,
1990,
24380,
29901,
13,
1678,
822,
2186,
4040,
1575,
29898,
1311,
29892,
26094,
29901,
2391,
29961,
524,
2314,
1599,
2391,
29961,
524,
5387,
13,
4706,
620,
353,
5159,
13,
4706,
405,
353,
7431,
29898,
558,
1575,
29897,
13,
4706,
363,
474,
297,
3464,
29898,
29940,
29899,
29896,
1125,
13,
9651,
432,
353,
474,
718,
29871,
29896,
13,
9651,
1550,
432,
529,
405,
322,
26094,
29961,
29875,
29962,
529,
26094,
29961,
29926,
5387,
13,
18884,
432,
4619,
29871,
29896,
13,
9651,
620,
29889,
4397,
29898,
558,
1575,
29961,
29875,
29962,
448,
313,
29900,
565,
432,
1275,
405,
1683,
26094,
29961,
29926,
12622,
13,
4706,
620,
29889,
4397,
29898,
558,
1575,
14352,
29896,
2314,
13,
4706,
736,
620,
13,
13,
13,
361,
4770,
978,
1649,
1275,
376,
1649,
3396,
1649,
1115,
13,
1678,
269,
353,
24380,
580,
13,
1678,
1121,
353,
269,
29889,
8394,
4040,
1575,
4197,
29947,
29892,
29871,
29946,
29892,
29871,
29953,
29892,
29871,
29906,
29892,
29871,
29941,
2314,
13,
1678,
1596,
29898,
2914,
29897,
13,
2
] |
.env/lib/python3.8/site-packages/aws_cdk/aws_codebuild/_jsii/__init__.py | careck/begariver-cdk | 0 | 1611363 | import abc
import builtins
import datetime
import enum
import typing
import jsii
import publication
import typing_extensions
import aws_cdk.assets._jsii
import aws_cdk.aws_cloudwatch._jsii
import aws_cdk.aws_codecommit._jsii
import aws_cdk.aws_ec2._jsii
import aws_cdk.aws_ecr._jsii
import aws_cdk.aws_ecr_assets._jsii
import aws_cdk.aws_events._jsii
import aws_cdk.aws_iam._jsii
import aws_cdk.aws_kms._jsii
import aws_cdk.aws_logs._jsii
import aws_cdk.aws_s3._jsii
import aws_cdk.aws_s3_assets._jsii
import aws_cdk.aws_secretsmanager._jsii
import aws_cdk.core._jsii
import aws_cdk.region_info._jsii
import constructs._jsii
__jsii_assembly__ = jsii.JSIIAssembly.load(
"@aws-cdk/aws-codebuild",
"1.108.1",
__name__[0:-6],
"[email protected]",
)
__all__ = [
"__jsii_assembly__",
]
publication.publish()
| [
1,
1053,
25638,
13,
5215,
4240,
1144,
13,
5215,
12865,
13,
5215,
14115,
13,
5215,
19229,
13,
13,
5215,
432,
1039,
29875,
13,
5215,
17745,
13,
5215,
19229,
29918,
24299,
13,
13,
5215,
25879,
29918,
2252,
29895,
29889,
16596,
3032,
29926,
1039,
29875,
13,
5215,
25879,
29918,
2252,
29895,
29889,
10467,
29918,
9274,
12344,
3032,
29926,
1039,
29875,
13,
5215,
25879,
29918,
2252,
29895,
29889,
10467,
29918,
401,
15060,
3032,
29926,
1039,
29875,
13,
5215,
25879,
29918,
2252,
29895,
29889,
10467,
29918,
687,
29906,
3032,
29926,
1039,
29875,
13,
5215,
25879,
29918,
2252,
29895,
29889,
10467,
29918,
687,
29878,
3032,
29926,
1039,
29875,
13,
5215,
25879,
29918,
2252,
29895,
29889,
10467,
29918,
687,
29878,
29918,
16596,
3032,
29926,
1039,
29875,
13,
5215,
25879,
29918,
2252,
29895,
29889,
10467,
29918,
13604,
3032,
29926,
1039,
29875,
13,
5215,
25879,
29918,
2252,
29895,
29889,
10467,
29918,
2829,
3032,
29926,
1039,
29875,
13,
5215,
25879,
29918,
2252,
29895,
29889,
10467,
29918,
29895,
1516,
3032,
29926,
1039,
29875,
13,
5215,
25879,
29918,
2252,
29895,
29889,
10467,
29918,
20756,
3032,
29926,
1039,
29875,
13,
5215,
25879,
29918,
2252,
29895,
29889,
10467,
29918,
29879,
29941,
3032,
29926,
1039,
29875,
13,
5215,
25879,
29918,
2252,
29895,
29889,
10467,
29918,
29879,
29941,
29918,
16596,
3032,
29926,
1039,
29875,
13,
5215,
25879,
29918,
2252,
29895,
29889,
10467,
29918,
344,
1037,
1372,
12847,
3032,
29926,
1039,
29875,
13,
5215,
25879,
29918,
2252,
29895,
29889,
3221,
3032,
29926,
1039,
29875,
13,
5215,
25879,
29918,
2252,
29895,
29889,
12803,
29918,
3888,
3032,
29926,
1039,
29875,
13,
5215,
3386,
29879,
3032,
29926,
1039,
29875,
13,
13,
1649,
29926,
1039,
29875,
29918,
26936,
1649,
353,
432,
1039,
29875,
29889,
8700,
2687,
22400,
29889,
1359,
29898,
13,
1678,
17962,
10467,
29899,
2252,
29895,
29914,
10467,
29899,
401,
4282,
613,
13,
1678,
376,
29896,
29889,
29896,
29900,
29947,
29889,
29896,
613,
13,
1678,
4770,
978,
1649,
29961,
29900,
13018,
29953,
1402,
13,
1678,
376,
10467,
29899,
401,
4282,
29992,
29896,
29889,
29896,
29900,
29947,
29889,
29896,
29889,
29926,
1039,
29875,
29889,
29873,
18828,
613,
13,
29897,
13,
13,
1649,
497,
1649,
353,
518,
13,
1678,
376,
1649,
29926,
1039,
29875,
29918,
26936,
1649,
613,
13,
29962,
13,
13,
3597,
362,
29889,
23679,
580,
13,
2
] |
main.py | Spain-AI/dark_helper | 0 | 33789 | <filename>main.py
from capture_monitor import CaptureMonitor
from face_lib import FaceSystem
from visualizer import Visualizer #MainWindow
#from PyQt5 import QtCore, QtGui, QtWidgets
import os
monitor = CaptureMonitor(bb=(0, 0, 600, 480))
face_system = FaceSystem(os.path.abspath("./bio/bio.json"))
def thread_process():
frame = monitor.get_frame()
faces = []
for face in face_system(frame):
faces.append(face)
return frame, faces
if __name__ == '__main__':
# app = QtWidgets.QApplication([])
# window = MainWindow()
# window.process(thread_process)
# window.show()
# app.exec_()
app = Visualizer(monitor, thread_process)
app.run() | [
1,
529,
9507,
29958,
3396,
29889,
2272,
13,
3166,
10446,
29918,
3712,
2105,
1053,
8868,
545,
7185,
2105,
13,
3166,
3700,
29918,
1982,
1053,
10635,
3924,
13,
3166,
7604,
3950,
1053,
9249,
3950,
396,
6330,
5907,
13,
29937,
3166,
10772,
17303,
29945,
1053,
14705,
9203,
29892,
14705,
28707,
29892,
14705,
8801,
29879,
13,
5215,
2897,
13,
13,
3712,
2105,
353,
8868,
545,
7185,
2105,
29898,
1327,
7607,
29900,
29892,
29871,
29900,
29892,
29871,
29953,
29900,
29900,
29892,
29871,
29946,
29947,
29900,
876,
13,
2161,
29918,
5205,
353,
10635,
3924,
29898,
359,
29889,
2084,
29889,
370,
1028,
493,
703,
6904,
24840,
29914,
24840,
29889,
3126,
5783,
13,
13,
1753,
3244,
29918,
5014,
7295,
13,
12,
2557,
353,
11819,
29889,
657,
29918,
2557,
580,
13,
13,
12,
8726,
353,
5159,
13,
12,
1454,
3700,
297,
3700,
29918,
5205,
29898,
2557,
1125,
13,
12,
12,
8726,
29889,
4397,
29898,
2161,
29897,
13,
13,
12,
2457,
3515,
29892,
17240,
13,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
12,
29937,
623,
353,
14705,
8801,
29879,
29889,
29984,
4873,
4197,
2314,
13,
12,
29937,
3474,
353,
4241,
5907,
580,
13,
12,
29937,
3474,
29889,
5014,
29898,
7097,
29918,
5014,
29897,
13,
13,
12,
29937,
3474,
29889,
4294,
580,
13,
12,
29937,
623,
29889,
4258,
29918,
580,
13,
12,
932,
353,
9249,
3950,
29898,
3712,
2105,
29892,
3244,
29918,
5014,
29897,
13,
12,
932,
29889,
3389,
580,
2
] |
tests/unit/app/test_session.py | bernease/whylogs-python | 0 | 8533 | <reponame>bernease/whylogs-python
import pytest
from whylogs.app.session import get_or_create_session, get_session, get_logger, reset_default_session, session_from_config
from whylogs.app.config import SessionConfig
from whylogs.app.session import Session
from pandas import util
def test_get_global_session():
_session = None
session = get_or_create_session()
global_session = get_session()
assert session == global_session
def test_reset():
session = get_or_create_session()
reset_default_session()
global_session = get_session()
assert global_session.project is not None
def test_session_log_dataframe():
_session = None
session = session_from_config(SessionConfig(
"default-project", "default-pipeline", [], False
))
df = util.testing.makeDataFrame()
profile = session.log_dataframe(df)
assert session.logger() is not None
assert session.logger("default-project").dataset_name == "default-project"
def test_session_profile():
session = session_from_config(SessionConfig(
"default-project", "default-pipeline", [], False
))
df = util.testing.makeDataFrame()
profile = session.log_dataframe(df)
assert profile is not None
summary = profile.flat_summary()
flat_summary = summary['summary']
assert len(flat_summary) == 4
def test_profile_df():
session = get_or_create_session()
df = util.testing.makeDataFrame()
log_profile = session.log_dataframe(df)
profile = session.profile_dataframe(df)
assert log_profile.name == profile.name
assert log_profile.dataset_timestamp == profile.dataset_timestamp
assert log_profile.session_timestamp == profile.session_timestamp
assert len(profile.columns) == 4
assert len(log_profile.tags) == 1
assert len(profile.tags) == 2
def test_close_session():
session = get_or_create_session()
session.close()
assert session.is_active() == False
df = util.testing.makeDataFrame()
log_profile = session.log_dataframe(df)
assert log_profile == None
profile = session.profile_dataframe(df)
assert profile == None
profile = session.new_profile(df)
assert profile == None
with pytest.raises(RuntimeError):
session.logger()
def test_logger_cache():
_session = None
session = get_or_create_session()
with session.logger("cache-test", with_rotation_time="s") as logger:
logger.log({"name": 1})
session.close()
def test_remove_logger():
session = get_or_create_session()
session.logger("default-project")
with pytest.raises(KeyError):
session.remove_logger("test")
| [
1,
529,
276,
1112,
420,
29958,
495,
484,
559,
29914,
14606,
20756,
29899,
4691,
13,
13,
13,
5215,
11451,
1688,
13,
3166,
2020,
20756,
29889,
932,
29889,
7924,
1053,
679,
29918,
272,
29918,
3258,
29918,
7924,
29892,
679,
29918,
7924,
29892,
679,
29918,
21707,
29892,
10092,
29918,
4381,
29918,
7924,
29892,
4867,
29918,
3166,
29918,
2917,
13,
3166,
2020,
20756,
29889,
932,
29889,
2917,
1053,
16441,
3991,
13,
3166,
2020,
20756,
29889,
932,
29889,
7924,
1053,
16441,
13,
3166,
11701,
1053,
3667,
13,
13,
13,
1753,
1243,
29918,
657,
29918,
10945,
29918,
7924,
7295,
13,
1678,
903,
7924,
353,
6213,
13,
1678,
4867,
353,
679,
29918,
272,
29918,
3258,
29918,
7924,
580,
13,
13,
1678,
5534,
29918,
7924,
353,
679,
29918,
7924,
580,
13,
13,
1678,
4974,
4867,
1275,
5534,
29918,
7924,
13,
13,
13,
1753,
1243,
29918,
12071,
7295,
13,
13,
1678,
4867,
353,
679,
29918,
272,
29918,
3258,
29918,
7924,
580,
13,
1678,
10092,
29918,
4381,
29918,
7924,
580,
13,
1678,
5534,
29918,
7924,
353,
679,
29918,
7924,
580,
13,
1678,
4974,
5534,
29918,
7924,
29889,
4836,
338,
451,
6213,
13,
13,
13,
1753,
1243,
29918,
7924,
29918,
1188,
29918,
1272,
2557,
7295,
13,
1678,
903,
7924,
353,
6213,
13,
13,
1678,
4867,
353,
4867,
29918,
3166,
29918,
2917,
29898,
7317,
3991,
29898,
13,
4706,
376,
4381,
29899,
4836,
613,
376,
4381,
29899,
13096,
5570,
613,
19997,
7700,
13,
268,
876,
13,
1678,
4489,
353,
3667,
29889,
13424,
29889,
5675,
17271,
580,
13,
1678,
8722,
353,
4867,
29889,
1188,
29918,
1272,
2557,
29898,
2176,
29897,
13,
13,
1678,
4974,
4867,
29889,
21707,
580,
338,
451,
6213,
13,
13,
1678,
4974,
4867,
29889,
21707,
703,
4381,
29899,
4836,
2564,
24713,
29918,
978,
1275,
376,
4381,
29899,
4836,
29908,
13,
13,
13,
1753,
1243,
29918,
7924,
29918,
10185,
7295,
13,
13,
1678,
4867,
353,
4867,
29918,
3166,
29918,
2917,
29898,
7317,
3991,
29898,
13,
4706,
376,
4381,
29899,
4836,
613,
376,
4381,
29899,
13096,
5570,
613,
19997,
7700,
13,
268,
876,
13,
1678,
4489,
353,
3667,
29889,
13424,
29889,
5675,
17271,
580,
13,
1678,
8722,
353,
4867,
29889,
1188,
29918,
1272,
2557,
29898,
2176,
29897,
13,
1678,
4974,
8722,
338,
451,
6213,
13,
13,
1678,
15837,
353,
8722,
29889,
20620,
29918,
7727,
580,
13,
13,
1678,
12151,
29918,
7727,
353,
15837,
1839,
7727,
2033,
13,
1678,
4974,
7431,
29898,
20620,
29918,
7727,
29897,
1275,
29871,
29946,
13,
13,
13,
1753,
1243,
29918,
10185,
29918,
2176,
7295,
13,
1678,
4867,
353,
679,
29918,
272,
29918,
3258,
29918,
7924,
580,
13,
1678,
4489,
353,
3667,
29889,
13424,
29889,
5675,
17271,
580,
13,
1678,
1480,
29918,
10185,
353,
4867,
29889,
1188,
29918,
1272,
2557,
29898,
2176,
29897,
13,
1678,
8722,
353,
4867,
29889,
10185,
29918,
1272,
2557,
29898,
2176,
29897,
13,
13,
1678,
4974,
1480,
29918,
10185,
29889,
978,
1275,
8722,
29889,
978,
13,
1678,
4974,
1480,
29918,
10185,
29889,
24713,
29918,
16394,
1275,
8722,
29889,
24713,
29918,
16394,
13,
1678,
4974,
1480,
29918,
10185,
29889,
7924,
29918,
16394,
1275,
8722,
29889,
7924,
29918,
16394,
13,
13,
1678,
4974,
7431,
29898,
10185,
29889,
13099,
29897,
1275,
29871,
29946,
13,
1678,
4974,
7431,
29898,
1188,
29918,
10185,
29889,
11338,
29897,
1275,
29871,
29896,
13,
1678,
4974,
7431,
29898,
10185,
29889,
11338,
29897,
1275,
29871,
29906,
13,
13,
13,
1753,
1243,
29918,
5358,
29918,
7924,
7295,
13,
1678,
4867,
353,
679,
29918,
272,
29918,
3258,
29918,
7924,
580,
13,
1678,
4867,
29889,
5358,
580,
13,
1678,
4974,
4867,
29889,
275,
29918,
4925,
580,
1275,
7700,
13,
1678,
4489,
353,
3667,
29889,
13424,
29889,
5675,
17271,
580,
13,
1678,
1480,
29918,
10185,
353,
4867,
29889,
1188,
29918,
1272,
2557,
29898,
2176,
29897,
13,
1678,
4974,
1480,
29918,
10185,
1275,
6213,
13,
1678,
8722,
353,
4867,
29889,
10185,
29918,
1272,
2557,
29898,
2176,
29897,
13,
1678,
4974,
8722,
1275,
6213,
13,
1678,
8722,
353,
4867,
29889,
1482,
29918,
10185,
29898,
2176,
29897,
13,
1678,
4974,
8722,
1275,
6213,
13,
13,
1678,
411,
11451,
1688,
29889,
336,
4637,
29898,
7944,
2392,
1125,
13,
4706,
4867,
29889,
21707,
580,
13,
13,
13,
1753,
1243,
29918,
21707,
29918,
8173,
7295,
13,
1678,
903,
7924,
353,
6213,
13,
1678,
4867,
353,
679,
29918,
272,
29918,
3258,
29918,
7924,
580,
13,
1678,
411,
4867,
29889,
21707,
703,
8173,
29899,
1688,
613,
411,
29918,
5450,
362,
29918,
2230,
543,
29879,
1159,
408,
17927,
29901,
13,
4706,
17927,
29889,
1188,
3319,
29908,
978,
1115,
29871,
29896,
1800,
13,
1678,
4867,
29889,
5358,
580,
13,
13,
13,
1753,
1243,
29918,
5992,
29918,
21707,
7295,
13,
1678,
4867,
353,
679,
29918,
272,
29918,
3258,
29918,
7924,
580,
13,
1678,
4867,
29889,
21707,
703,
4381,
29899,
4836,
1159,
13,
1678,
411,
11451,
1688,
29889,
336,
4637,
29898,
2558,
2392,
1125,
13,
4706,
4867,
29889,
5992,
29918,
21707,
703,
1688,
1159,
13,
2
] |
pred_to_eval/test_ct_engine.py | FluteXu/ms-project | 0 | 68013 | # Copyright (c) 2017-present, Facebook, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
##############################################################################
"""Test a Detectron network on an imdb (image database)."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
from collections import defaultdict
import cv2
import datetime
import logging
import numpy as np
import os
import yaml
import shutil
import torch
from mitok.detect.bound3d import Bound3D, combine_bounds_3d_direct
from core.config import cfg
# from core.rpn_generator import generate_rpn_on_dataset #TODO: for rpn only case
# from core.rpn_generator import generate_rpn_on_range
from core.test import ct_detect_all
from datasets.ct_json_dataset import JsonDataset
from modeling.model_factory import GetRCNNModel
import nn as mynn
from utils.detectron_weight_helper import load_detectron_weight
import utils.env as envu
import utils.boxes as box_utils
import utils.net as net_utils
import utils.subprocess as subprocess_utils
import utils.vis as vis_utils
import utils.vis_gt as vis_gt_utils
from utils.ImageIO import windowing
from utils.io import save_object
from utils.timer import Timer
import os.path as osp
from sync_batchnorm.replicate import patch_replication_callback
logger = logging.getLogger(__name__)
from datasets.dataset_catalog import ANN_FN
from datasets.dataset_catalog import DATASETS
from datasets.dataset_catalog import CT_DIR
from datasets.dataset_catalog import CT_SUB_DIRS
from datasets.dataset_catalog import IM_PREFIX
# For CT
from datasets.dataset_catalog import MASK_DIR
def get_eval_functions():
# Determine which parent or child function should handle inference
if cfg.MODEL.RPN_ONLY:
raise NotImplementedError
# child_func = generate_rpn_on_range
# parent_func = generate_rpn_on_dataset
else:
# Generic case that handles all network types other than RPN-only nets
# and RetinaNet
child_func = test_net
parent_func = test_net_on_dataset
return parent_func, child_func
def get_inference_dataset(index, is_parent=True):
assert is_parent or len(cfg.TEST.DATASETS) == 1, \
'The child inference process can only work on a single dataset'
dataset_name = cfg.TEST.DATASETS[index]
if cfg.TEST.PRECOMPUTED_PROPOSALS:
assert is_parent or len(cfg.TEST.PROPOSAL_FILES) == 1, \
'The child inference process can only work on a single proposal file'
assert len(cfg.TEST.PROPOSAL_FILES) == len(cfg.TEST.DATASETS), \
'If proposals are used, one proposal file must be specified for ' \
'each dataset'
proposal_file = cfg.TEST.PROPOSAL_FILES[index]
else:
proposal_file = None
return dataset_name, proposal_file
def run_inference(
args, ind_range=None,
multi_gpu_testing=False, gpu_id=0,
check_expected_results=False):
parent_func, child_func = get_eval_functions()
is_parent = ind_range is None
def result_getter():
if is_parent:
# Parent case:
# In this case we're either running inference on the entire dataset in a
# single process or (if multi_gpu_testing is True) using this process to
# launch subprocesses that each run inference on a range of the dataset
all_results = {}
for i in range(len(cfg.TEST.DATASETS)):
dataset_name, proposal_file = get_inference_dataset(i)
output_dir = args.output_dir
results = parent_func(
args,
dataset_name,
proposal_file,
output_dir,
multi_gpu=multi_gpu_testing
)
return
else:
# Subprocess child case:
# In this case test_net was called via subprocess.Popen to execute on a
# range of inputs on a single dataset
dataset_name, proposal_file = get_inference_dataset(0, is_parent=False)
output_dir = args.output_dir
return child_func(
args,
dataset_name,
proposal_file,
output_dir,
ind_range=ind_range,
gpu_id=gpu_id
)
result_getter()
return None
def test_net_on_dataset(
args,
dataset_name,
proposal_file,
output_dir,
multi_gpu=False,
gpu_id=0):
"""Run inference on a dataset."""
if 'testA' in dataset_name or 'testB' in dataset_name:
dataset = None
sub_dirs = DATASETS[dataset_name][CT_SUB_DIRS]
image_dir = DATASETS[dataset_name][CT_DIR]
mask_dir = DATASETS[dataset_name][MASK_DIR]
with open(sub_dirs) as f:
lines = f.readlines()
lines = [line.strip() for line in lines]
roidb = []
for line in lines:
entry = {}
entry['image'] = osp.join(image_dir, line, 'norm_image.npz')
entry['mask_image'] = osp.join(mask_dir, line, 'mask_image.npz')
#entry[] = osp.join(mask_dir, line)
roidb.append(entry)
elif cfg.DATA_SOURCE == 'coco':
dataset = JsonDataset(dataset_name)
elif cfg.DATA_SOURCE == 'mammo':
dataset = MammoDataset(dataset_name)
#elif cfg.DATA_SOURCE == 'lesion':
# dataset = LesionDataset(dataset_name)
test_timer = Timer()
test_timer.tic()
if multi_gpu:
if 'testA' in dataset_name or 'testB' in dataset_name:
num_images = len(roidb)
else:
num_images = len(dataset.get_roidb())
multi_gpu_test_net_on_dataset(
args, dataset_name, proposal_file, num_images, output_dir
)
else:
test_net(
args, dataset_name, proposal_file, output_dir, gpu_id=gpu_id
)
test_timer.toc()
logger.info('Total inference time: {:.3f}s'.format(test_timer.average_time))
return None
def multi_gpu_test_net_on_dataset(
args, dataset_name, proposal_file, num_images, output_dir):
"""Multi-gpu inference on a dataset."""
binary_dir = envu.get_runtime_dir()
binary_ext = envu.get_py_bin_ext()
binary = os.path.join(binary_dir, args.test_net_file + binary_ext)
assert os.path.exists(binary), 'Binary \'{}\' not found'.format(binary)
# Pass the target dataset and proposal file (if any) via the command line
opts = ['TEST.DATASETS', '("{}",)'.format(dataset_name)]
if proposal_file:
opts += ['TEST.PROPOSAL_FILES', '("{}",)'.format(proposal_file)]
# Run inference in parallel in subprocesses
# Outputs will be a list of outputs from each subprocess, where the output
# of each subprocess is the dictionary saved by test_net().
outputs = subprocess_utils.process_in_parallel(
'CT_detection', num_images, binary, output_dir,
args.load_ckpt, args.load_detectron, opts
)
# Collate the results from each subprocess
all_results_dicts = {}
for det_data in outputs:
all_results_dicts.update(det_data)
CT_det_file = os.path.join(output_dir, 'CT_detections.pkl')
save_object(all_results_dicts,CT_det_file)
logger.info('Wrote CT level detections to: {}'.format(os.path.abspath(CT_det_file)))
return None
def test_net(
args,
dataset_name,
proposal_file,
output_dir,
ind_range=None,
gpu_id=0):
"""Run inference on all images in a dataset or over an index range of images
in a dataset using a single GPU.
"""
assert not cfg.MODEL.RPN_ONLY, \
'Use rpn_generate to generate proposals from RPN-only models'
roidb, dataset, start_ind, end_ind, total_num_images = get_roidb_and_dataset(
dataset_name, proposal_file, ind_range
)
# for debug
#roidb=roidb[0:1]
#import pdb
#pdb.set_trace()
model = initialize_model_from_cfg(args, gpu_id=gpu_id)
num_images = len(roidb)
num_classes = cfg.MODEL.NUM_CLASSES
all_results_dicts = {}
timers = defaultdict(Timer)
for i, entry in enumerate(roidb):
if cfg.TEST.PRECOMPUTED_PROPOSALS:
# The roidb may contain ground-truth rois (for example, if the roidb
# comes from the training or val split). We only want to evaluate
# detection on the *non*-ground-truth rois. We select only the rois
# that have the gt_classes field set to 0, which means there's no
# ground truth.
box_proposals = entry['boxes'][entry['gt_classes'] == 0]
if len(box_proposals) == 0:
continue
else:
# Faster R-CNN type models generate proposals on-the-fly with an
# in-network RPN; 1-stage models don't require proposals.
box_proposals = None
image_tensor = np.load(open(entry['image'], 'rb'))['data']
mask_tensor = None
#mask_tensor = np.load(open(entry['mask_image'], 'rb'))['data']
results_dict, num_slice = ct_detect_all(model, image_tensor, mask_tensor, slice_expand=10, box_proposals=None)
if cfg.VIS:
visualize_pred_gt(dataset, image_tensor, results_dict, entry, output_dir, folder_name='vis_ct', vis_pred_only=True)
bound_groups, bound3ds = combine_slice_level_pred(results_dict, cfg.CT_INFERENCE.COMBINE_THRESH)
all_results_dicts[entry['image']] = results_dict
#for bound3d in bound3ds:
# print(bound3d.cube, image_tensor.shape)
#combined_results_dict = bound3d_to_return_dict(bound3ds, results_dict)
#print("Merged bbox num %d" % len(bound3ds))
#if cfg.VIS:
#visualize_pred_gt(dataset, image_tensor, combined_results_dict, entry, output_dir, folder_name='vis_combined_ct')
if i % 100 == 0: # Reduce log file size
ave_total_time = np.sum([t.average_time for t in timers.values()])
eta_seconds = ave_total_time * (num_images - i - 1)
eta = str(datetime.timedelta(seconds=int(eta_seconds)))
det_time = (
timers['im_detect_bbox'].average_time +
timers['im_detect_mask'].average_time +
timers['im_detect_keypoints'].average_time
)
misc_time = (
timers['misc_bbox'].average_time +
timers['misc_mask'].average_time +
timers['misc_keypoints'].average_time
)
logger.info(
(
'im_detect: range [{:d}, {:d}] of {:d}: '
'{:d}/{:d} {:.3f}s + {:.3f}s (eta: {})'
).format(
start_ind + 1, end_ind, total_num_images, start_ind + i + 1,
start_ind + num_images, det_time, misc_time, eta
))
cfg_yaml = yaml.dump(cfg)
# save CT level det results(image_path-return_dict map)
if ind_range is not None:
CT_det_name = 'CT_detection_range_%s_%s.pkl' % tuple(ind_range)
else:
CT_det_name = 'CT_detections.pkl'
CT_det_file = os.path.join(output_dir, CT_det_name)
save_object(all_results_dicts,CT_det_file)
logger.info('Wrote CT level detections to: {}'.format(os.path.abspath(CT_det_file)))
return None
def bound3d_to_dict(bound3d):
"""Convert instance of class Bound to python dict.
"""
bound3d_dict = {'cube':bound3d.cube, 'pathch_number':bound3d.get_patch_num(),\
'score':bound3d.score, 'label':bound3d.label}
return bound3d_dict
def bound3ds_to_list(bound3ds):
"""Convert instance of class Bound to python list.
"""
bound3ds_list = []
for bound3d in bound3ds:
bound_dict = {'cube':bound3d.cube, 'pathch_number':bound3d.get_patch_num(),\
'score':bound3d.score, 'label':bound3d.label}
bound3ds_list.append(bound_dict)
return bound3ds_list
def initialize_model_from_cfg(args, gpu_id=0):
"""Initialize a model from the global cfg. Loads test-time weights and
set to evaluation mode.
"""
model = GetRCNNModel()
model.eval()
if args.cuda:
model.cuda()
if args.load_ckpt:
load_name = args.load_ckpt
logger.info("loading checkpoint %s", load_name)
checkpoint = torch.load(load_name, map_location=lambda storage, loc: storage)
net_utils.load_ckpt(model, checkpoint['model'])
if args.load_detectron:
logger.info("loading detectron weights %s", args.load_detectron)
load_detectron_weight(model, args.load_detectron)
model = mynn.DataParallel(model, cpu_keywords=['im_info', 'roidb'], minibatch=True)
if cfg.TRAIN_SYNC_BN:
# Shu:For synchorinized BN
patch_replication_callback(model)
return model
def get_roidb_and_dataset(dataset_name, proposal_file, ind_range):
"""Get the roidb for the dataset specified in the global cfg. Optionally
restrict it to a range of indices if ind_range is a pair of integers.
"""
if 'testA' in dataset_name or 'testB' in dataset_name:
print('#'*20)
print('tianchi testA/B')
print('='*20)
dataset = None
sub_dirs = DATASETS[dataset_name][CT_SUB_DIRS]
image_dir = DATASETS[dataset_name][CT_DIR]
mask_dir = DATASETS[dataset_name][MASK_DIR]
with open(sub_dirs) as f:
lines = f.readlines()
lines = [line.strip() for line in lines]
roidb = []
for line in lines:
entry = {}
entry['image'] = osp.join(image_dir, line, 'norm_image.npz')
entry['mask_image'] = osp.join(mask_dir, line, 'mask_image.npz')
#entry[] = osp.join(mask_dir, line)
roidb.append(entry)
else:
dataset = JsonDataset(dataset_name)
if cfg.TEST.PRECOMPUTED_PROPOSALS:
assert proposal_file, 'No proposal file given'
roidb = dataset.get_roidb(
proposal_file=proposal_file,
proposal_limit=cfg.TEST.PROPOSAL_LIMIT
)
else:
roidb = dataset.get_roidb(gt=True)
print('len roidb: ',len(roidb))
if ind_range is not None:
total_num_images = len(roidb)
start, end = ind_range
roidb = roidb[start:end]
else:
start = 0
end = len(roidb)
total_num_images = end
return roidb, dataset, start, end, total_num_images
def empty_results(num_classes, num_images):
"""Return empty results lists for boxes, masks, and keypoints.
Box detections are collected into:
all_boxes[cls][image] = N x 5 array with columns (x1, y1, x2, y2, score)
Instance mask predictions are collected into:
all_segms[cls][image] = [...] list of COCO RLE encoded masks that are in
1:1 correspondence with the boxes in all_boxes[cls][image]
Keypoint predictions are collected into:
all_keyps[cls][image] = [...] list of keypoints results, each encoded as
a 3D array (#rois, 4, #keypoints) with the 4 rows corresponding to
[x, y, logit, prob] (See: utils.keypoints.heatmaps_to_keypoints).
Keypoints are recorded for person (cls = 1); they are in 1:1
correspondence with the boxes in all_boxes[cls][image].
"""
# Note: do not be tempted to use [[] * N], which gives N references to the
# *same* empty list.
all_bound3ds = [[[] for _ in range(num_images)] for _ in range(num_classes)]
return all_bound3ds
def extend_results(index, all_res, bound3ds):
"""Add results for an image to the set of all results at the specified
index.
"""
# Skip cls_idx 0 (__background__)
#for cls_idx in range(1, len(im_res)):
for bound3d in bound3ds:
cls_idx = bound3d.label
all_res[cls_idx][index].append(bound3d_to_dict(bound3d))
def combine_slice_level_pred(results_dict, thresh, cls_num=15, max_slices_stride=5, iom_thresh=0.7):
""" Group slice level bounds (x,y,w,h,slice_idx,label,score) into bound3d. """
combine_opt = {}
# is per-class-threshold difined
if isinstance(thresh, list):
thresh_list = thresh
else:
thresh_list = [thresh for _ in range(cls_num)]
label_combine_matrix = np.ones((cls_num, cls_num), dtype='int32') * -1
label_combine_matrix[range(1,cls_num), range(1,cls_num)] = range(1,cls_num)
least_inter_ratio_matrix = np.zeros((cls_num, cls_num), dtype='float32')
least_inter_ratio_matrix[range(1,cls_num), range(1,cls_num)] = np.ones((cls_num-1), dtype='float32') * iom_thresh
combine_opt['label_combine_matrix'] = label_combine_matrix
combine_opt['least_inter_ratio_matrix'] = least_inter_ratio_matrix
combine_opt['max_slices_stride'] = max_slices_stride
bound2d_list = []
for slice_idx, slice_pred in results_dict.items():
scores, boxes, cls_boxes = slice_pred
_,_,_, classes = vis_gt_utils.convert_from_cls_format(
cls_boxes, None, None)
#print(len(cls_boxes), cls_boxes[0])
for idx, score in enumerate(scores):
if score >= thresh_list[classes[idx]]:
x, y, w, h = box_utils.xyxy_to_xywh(boxes[idx, :].tolist())
bound2d_list.append([x, y, w, h, slice_idx, classes[idx], score])
#print([x, y, w, h, slice_idx, classes[idx], score])
bound_groups = combine_bounds_3d_direct(bound2d_list, combine_opt)
bound3ds = []
direct = 0
for bound_group in bound_groups:
bound3d = Bound3D()
for bound2d in bound_group:
x, y, w, h, slice_id, label, score = bound2d
cube = [x, y, slice_id, w, h, 1]
bound3d.append(cube, direct, label, score, combine_opt['label_combine_matrix'])
if not bound3d.is_valid:
return None
bound3ds.append(bound3d)
#print(bound3d)
return bound_groups, bound3ds
def bound3d_to_return_dict(bound3ds, results_dict):
"""convert from bound3d to results_dict.
bound3d.cube (x,y,z,w,h,d)
cls_boxes is a list of #classes elements, each element has shape (#detection, 5).
[x1, y1, x2, y2, score]
return_dict: dict with {slice: cls_boxes}
"""
slice_pred = bound3d_to_slice_pred(bound3ds)
class_num = int(np.max(slice_pred[:, 6]))
print(class_num)
total_slice = np.unique(slice_pred[:, 5]).tolist()
return_dict = {}
for key in results_dict.keys():
return_dict[key] = ([], [], [[] for i in range(class_num + 1)])
for cur_slice in total_slice:
if cur_slice not in results_dict.keys():
#print("cur_slice %d is not in image_tensor"%cur_slice)
continue
cur_index = np.where(slice_pred[:, 5] == cur_slice)[0]
cur_bboxes = slice_pred[cur_index, :]
#print('cur_boxes all classes score, slice, label: ', cur_bboxes)
for cur_class in range(class_num + 1):
class_index = np.where(cur_bboxes[:, 6] == cur_class)[0]
return_dict[int(cur_slice)][2][cur_class] = cur_bboxes[class_index, 0:5]
return return_dict
def bound3d_to_slice_pred(bound3ds):
"""convert from bound3d to slice pred.
slice pred in the form of N*6 array, with each row represents [x1, y1, x2, y2, score, slice, label]
"""
slice_pred = np.empty((0, 7), dtype=np.float32)
for bound3d in bound3ds:
x, y, z, w, h, d = bound3d.cube
label = bound3d.label
score = bound3d.score
x2 = x + max(0, w - 1)
y2 = y + max(0, h - 1)
z2 = z + max(0, d - 1)
for cur_slice in range(int(z), int(z2) + 1):
tmp_pred = np.zeros((1, 7), dtype=np.float32)
tmp_pred[0,:] = [x, y, x2, y2, score, cur_slice, label]
slice_pred = np.append(slice_pred, tmp_pred, axis=0)
return slice_pred
def visualize_pred_gt(dataset, image_tensor, results_dict, entry, output_dir, folder_name='vis_ct', vis_pred_only=False):
im_dir =os.sep.join(entry['image'].split(os.sep)[-4:-1])
if cfg.LESION.LESION_ENABLED:
image_tensor = image_tensor.astype(np.float32)
image_tensor -= 32768
print(image_tensor.max(), image_tensor.min())
image_tensor = windowing(image_tensor, [-1400,200])
image_tensor = image_tensor.astype(np.uint8)
for center_idx in range(image_tensor.shape[0]):
other_im_show = cv2.merge([image_tensor[center_idx, :, :], image_tensor[center_idx, :, :], image_tensor[center_idx, :, :]])
if vis_pred_only:
gt_idx = []
gt_boxes_show = [[], []]
gt_classes = [[], []]
else:
gt_idx = np.where(entry['boxes'][:, 4] == center_idx)[0]
gt_boxes_show = [entry['boxes'][gt_idx, :4].tolist(), []]
gt_classes = [entry['gt_classes'][gt_idx].tolist(), []]
im_show = cv2.merge([image_tensor[center_idx, :, :], image_tensor[center_idx, :, :], image_tensor[center_idx, :, :]])
if len(gt_boxes_show[0]) == 0:
tmp_name = '%03d' % center_idx
else:
tmp_name = '%03d_gt' % center_idx
vis_gt_utils.vis_one_image(
im_show,
other_im_show,
tmp_name,
os.path.join(output_dir, folder_name, im_dir),
results_dict[center_idx][2],
gt_boxes_show,
segms=None,
thresh=cfg.VIS_TH,
box_alpha=0.8,
dataset=dataset,
show_class=True,
gt_classes = gt_classes
)
| [
1,
396,
14187,
1266,
313,
29883,
29897,
29871,
29906,
29900,
29896,
29955,
29899,
6338,
29892,
13327,
29892,
9266,
29889,
13,
29937,
13,
29937,
10413,
21144,
1090,
278,
13380,
19245,
29892,
10079,
29871,
29906,
29889,
29900,
313,
1552,
376,
29931,
293,
1947,
1496,
13,
29937,
366,
1122,
451,
671,
445,
934,
5174,
297,
752,
13036,
411,
278,
19245,
29889,
13,
29937,
887,
1122,
4017,
263,
3509,
310,
278,
19245,
472,
13,
29937,
13,
29937,
268,
1732,
597,
1636,
29889,
4288,
29889,
990,
29914,
506,
11259,
29914,
27888,
1430,
1660,
29899,
29906,
29889,
29900,
13,
29937,
13,
29937,
25870,
3734,
491,
22903,
4307,
470,
15502,
304,
297,
5007,
29892,
7047,
13,
29937,
13235,
1090,
278,
19245,
338,
13235,
373,
385,
376,
3289,
8519,
29908,
350,
3289,
3235,
29892,
13,
29937,
399,
1806,
8187,
2692,
399,
1718,
29934,
13566,
29059,
6323,
8707,
29928,
22122,
29903,
8079,
13764,
29979,
476,
22255,
29892,
2845,
4653,
470,
2411,
2957,
29889,
13,
29937,
2823,
278,
19245,
363,
278,
2702,
4086,
14765,
1076,
11239,
322,
13,
29937,
27028,
1090,
278,
19245,
29889,
13,
13383,
13383,
13383,
13383,
7346,
4136,
2277,
13,
13,
15945,
29908,
3057,
263,
5953,
522,
1617,
3564,
373,
385,
527,
2585,
313,
3027,
2566,
467,
15945,
29908,
13,
13,
3166,
4770,
29888,
9130,
1649,
1053,
8380,
29918,
5215,
13,
3166,
4770,
29888,
9130,
1649,
1053,
8542,
13,
3166,
4770,
29888,
9130,
1649,
1053,
1596,
29918,
2220,
13,
3166,
4770,
29888,
9130,
1649,
1053,
29104,
29918,
20889,
1338,
13,
13,
3166,
16250,
1053,
2322,
8977,
13,
5215,
13850,
29906,
13,
5215,
12865,
13,
5215,
12183,
13,
5215,
12655,
408,
7442,
13,
5215,
2897,
13,
5215,
343,
8807,
13,
5215,
528,
4422,
13,
13,
5215,
4842,
305,
13,
13,
13,
3166,
1380,
554,
29889,
4801,
522,
29889,
9917,
29941,
29881,
1053,
350,
618,
29941,
29928,
29892,
14405,
29918,
23687,
29918,
29941,
29881,
29918,
11851,
13,
3166,
7136,
29889,
2917,
1053,
274,
16434,
13,
29937,
515,
7136,
29889,
19080,
29876,
29918,
27959,
1053,
5706,
29918,
19080,
29876,
29918,
265,
29918,
24713,
29871,
396,
4986,
3970,
29901,
363,
364,
21257,
871,
1206,
13,
29937,
515,
7136,
29889,
19080,
29876,
29918,
27959,
1053,
5706,
29918,
19080,
29876,
29918,
265,
29918,
3881,
13,
3166,
7136,
29889,
1688,
1053,
274,
29873,
29918,
4801,
522,
29918,
497,
13,
3166,
20035,
29889,
312,
29918,
3126,
29918,
24713,
1053,
14355,
16390,
24541,
13,
3166,
1904,
292,
29889,
4299,
29918,
14399,
1053,
3617,
10363,
10262,
3195,
13,
5215,
302,
29876,
408,
590,
15755,
13,
3166,
3667,
29879,
29889,
4801,
522,
1617,
29918,
7915,
29918,
20907,
1053,
2254,
29918,
4801,
522,
1617,
29918,
7915,
13,
5215,
3667,
29879,
29889,
6272,
408,
8829,
29884,
13,
5215,
3667,
29879,
29889,
1884,
267,
408,
3800,
29918,
13239,
13,
5215,
3667,
29879,
29889,
1212,
408,
7787,
29918,
13239,
13,
5215,
3667,
29879,
29889,
1491,
5014,
408,
1014,
5014,
29918,
13239,
13,
5215,
3667,
29879,
29889,
1730,
408,
1998,
29918,
13239,
13,
5215,
3667,
29879,
29889,
1730,
29918,
4141,
408,
1998,
29918,
4141,
29918,
13239,
13,
3166,
3667,
29879,
29889,
2940,
5971,
1053,
3474,
292,
13,
3166,
3667,
29879,
29889,
601,
1053,
4078,
29918,
3318,
13,
3166,
3667,
29879,
29889,
20404,
1053,
29168,
13,
5215,
2897,
29889,
2084,
408,
288,
1028,
13,
3166,
16523,
29918,
16175,
12324,
29889,
3445,
5926,
1053,
13261,
29918,
3445,
1414,
29918,
14035,
13,
13,
21707,
353,
12183,
29889,
657,
16363,
22168,
978,
1649,
29897,
13,
13,
3166,
20035,
29889,
24713,
29918,
28045,
1053,
319,
10262,
29918,
29943,
29940,
13,
3166,
20035,
29889,
24713,
29918,
28045,
1053,
27640,
8127,
9375,
13,
3166,
20035,
29889,
24713,
29918,
28045,
1053,
26637,
29918,
9464,
13,
3166,
20035,
29889,
24713,
29918,
28045,
1053,
26637,
29918,
20633,
29918,
9464,
29903,
13,
3166,
20035,
29889,
24713,
29918,
28045,
1053,
22313,
29918,
15094,
25634,
13,
29937,
1152,
26637,
13,
3166,
20035,
29889,
24713,
29918,
28045,
1053,
341,
3289,
29968,
29918,
9464,
13,
1753,
679,
29918,
14513,
29918,
12171,
7295,
13,
1678,
396,
5953,
837,
457,
607,
3847,
470,
2278,
740,
881,
4386,
27262,
13,
1678,
565,
274,
16434,
29889,
20387,
29931,
29889,
29934,
15695,
29918,
1164,
16786,
29901,
13,
4706,
12020,
2216,
1888,
2037,
287,
2392,
13,
4706,
396,
2278,
29918,
9891,
353,
5706,
29918,
19080,
29876,
29918,
265,
29918,
3881,
13,
4706,
396,
3847,
29918,
9891,
353,
5706,
29918,
19080,
29876,
29918,
265,
29918,
24713,
13,
1678,
1683,
29901,
13,
4706,
396,
3251,
293,
1206,
393,
17766,
599,
3564,
4072,
916,
1135,
390,
15695,
29899,
6194,
302,
1691,
13,
4706,
396,
322,
4649,
1099,
6779,
13,
4706,
2278,
29918,
9891,
353,
1243,
29918,
1212,
13,
4706,
3847,
29918,
9891,
353,
1243,
29918,
1212,
29918,
265,
29918,
24713,
13,
13,
1678,
736,
3847,
29918,
9891,
29892,
2278,
29918,
9891,
13,
13,
13,
1753,
679,
29918,
262,
1659,
29918,
24713,
29898,
2248,
29892,
338,
29918,
3560,
29922,
5574,
1125,
13,
1678,
4974,
338,
29918,
3560,
470,
7431,
29898,
16859,
29889,
18267,
29889,
25832,
8127,
9375,
29897,
1275,
29871,
29896,
29892,
320,
13,
4706,
525,
1576,
2278,
27262,
1889,
508,
871,
664,
373,
263,
2323,
8783,
29915,
13,
13,
1678,
8783,
29918,
978,
353,
274,
16434,
29889,
18267,
29889,
25832,
8127,
9375,
29961,
2248,
29962,
13,
1678,
565,
274,
16434,
29889,
18267,
29889,
15094,
21514,
2692,
3352,
29918,
8618,
24815,
1964,
29903,
29901,
13,
4706,
4974,
338,
29918,
3560,
470,
7431,
29898,
16859,
29889,
18267,
29889,
8618,
24815,
1964,
29918,
24483,
29897,
1275,
29871,
29896,
29892,
320,
13,
9651,
525,
1576,
2278,
27262,
1889,
508,
871,
664,
373,
263,
2323,
24963,
934,
29915,
13,
4706,
4974,
7431,
29898,
16859,
29889,
18267,
29889,
8618,
24815,
1964,
29918,
24483,
29897,
1275,
7431,
29898,
16859,
29889,
18267,
29889,
25832,
8127,
9375,
511,
320,
13,
9651,
525,
3644,
9551,
1338,
526,
1304,
29892,
697,
24963,
934,
1818,
367,
6790,
363,
525,
320,
13,
9651,
525,
4204,
8783,
29915,
13,
4706,
24963,
29918,
1445,
353,
274,
16434,
29889,
18267,
29889,
8618,
24815,
1964,
29918,
24483,
29961,
2248,
29962,
13,
1678,
1683,
29901,
13,
4706,
24963,
29918,
1445,
353,
6213,
13,
13,
1678,
736,
8783,
29918,
978,
29892,
24963,
29918,
1445,
13,
13,
13,
1753,
1065,
29918,
262,
1659,
29898,
13,
4706,
6389,
29892,
1399,
29918,
3881,
29922,
8516,
29892,
13,
4706,
2473,
29918,
29887,
3746,
29918,
13424,
29922,
8824,
29892,
330,
3746,
29918,
333,
29922,
29900,
29892,
13,
4706,
1423,
29918,
9684,
29918,
9902,
29922,
8824,
1125,
13,
1678,
3847,
29918,
9891,
29892,
2278,
29918,
9891,
353,
679,
29918,
14513,
29918,
12171,
580,
13,
1678,
338,
29918,
3560,
353,
1399,
29918,
3881,
338,
6213,
13,
1678,
822,
1121,
29918,
657,
357,
7295,
13,
4706,
565,
338,
29918,
3560,
29901,
13,
9651,
396,
22280,
1206,
29901,
13,
9651,
396,
512,
445,
1206,
591,
29915,
276,
2845,
2734,
27262,
373,
278,
4152,
8783,
297,
263,
13,
9651,
396,
2323,
1889,
470,
313,
361,
2473,
29918,
29887,
3746,
29918,
13424,
338,
5852,
29897,
773,
445,
1889,
304,
13,
9651,
396,
6826,
1014,
5014,
267,
393,
1269,
1065,
27262,
373,
263,
3464,
310,
278,
8783,
13,
9651,
599,
29918,
9902,
353,
6571,
13,
9651,
363,
474,
297,
3464,
29898,
2435,
29898,
16859,
29889,
18267,
29889,
25832,
8127,
9375,
22164,
13,
18884,
8783,
29918,
978,
29892,
24963,
29918,
1445,
353,
679,
29918,
262,
1659,
29918,
24713,
29898,
29875,
29897,
13,
18884,
1962,
29918,
3972,
353,
6389,
29889,
4905,
29918,
3972,
13,
18884,
2582,
353,
3847,
29918,
9891,
29898,
13,
462,
1678,
6389,
29892,
13,
462,
1678,
8783,
29918,
978,
29892,
13,
462,
1678,
24963,
29918,
1445,
29892,
13,
462,
1678,
1962,
29918,
3972,
29892,
13,
462,
1678,
2473,
29918,
29887,
3746,
29922,
9910,
29918,
29887,
3746,
29918,
13424,
13,
18884,
1723,
13,
9651,
736,
13,
4706,
1683,
29901,
13,
9651,
396,
3323,
5014,
2278,
1206,
29901,
13,
9651,
396,
512,
445,
1206,
1243,
29918,
1212,
471,
2000,
3025,
1014,
5014,
29889,
29925,
3150,
304,
6222,
373,
263,
13,
9651,
396,
3464,
310,
10970,
373,
263,
2323,
8783,
13,
9651,
8783,
29918,
978,
29892,
24963,
29918,
1445,
353,
679,
29918,
262,
1659,
29918,
24713,
29898,
29900,
29892,
338,
29918,
3560,
29922,
8824,
29897,
13,
9651,
1962,
29918,
3972,
353,
6389,
29889,
4905,
29918,
3972,
13,
9651,
736,
2278,
29918,
9891,
29898,
13,
18884,
6389,
29892,
13,
18884,
8783,
29918,
978,
29892,
13,
18884,
24963,
29918,
1445,
29892,
13,
18884,
1962,
29918,
3972,
29892,
13,
18884,
1399,
29918,
3881,
29922,
513,
29918,
3881,
29892,
13,
18884,
330,
3746,
29918,
333,
29922,
29887,
3746,
29918,
333,
13,
9651,
1723,
13,
13,
1678,
1121,
29918,
657,
357,
580,
13,
13,
1678,
736,
6213,
13,
13,
13,
1753,
1243,
29918,
1212,
29918,
265,
29918,
24713,
29898,
13,
4706,
6389,
29892,
13,
4706,
8783,
29918,
978,
29892,
13,
4706,
24963,
29918,
1445,
29892,
13,
4706,
1962,
29918,
3972,
29892,
13,
4706,
2473,
29918,
29887,
3746,
29922,
8824,
29892,
13,
4706,
330,
3746,
29918,
333,
29922,
29900,
1125,
13,
1678,
9995,
6558,
27262,
373,
263,
8783,
1213,
15945,
13,
1678,
565,
525,
1688,
29909,
29915,
297,
8783,
29918,
978,
470,
525,
1688,
29933,
29915,
297,
8783,
29918,
978,
29901,
13,
4706,
8783,
353,
6213,
13,
4706,
1014,
29918,
3972,
29879,
353,
27640,
8127,
9375,
29961,
24713,
29918,
978,
3816,
1783,
29918,
20633,
29918,
9464,
29903,
29962,
13,
4706,
1967,
29918,
3972,
353,
27640,
8127,
9375,
29961,
24713,
29918,
978,
3816,
1783,
29918,
9464,
29962,
13,
4706,
11105,
29918,
3972,
353,
27640,
8127,
9375,
29961,
24713,
29918,
978,
3816,
1529,
16033,
29918,
9464,
29962,
13,
4706,
411,
1722,
29898,
1491,
29918,
3972,
29879,
29897,
408,
285,
29901,
13,
9651,
3454,
353,
285,
29889,
949,
9012,
580,
13,
4706,
3454,
353,
518,
1220,
29889,
17010,
580,
363,
1196,
297,
3454,
29962,
13,
4706,
696,
333,
29890,
353,
5159,
13,
4706,
363,
1196,
297,
3454,
29901,
13,
9651,
6251,
353,
6571,
13,
9651,
6251,
1839,
3027,
2033,
353,
288,
1028,
29889,
7122,
29898,
3027,
29918,
3972,
29892,
1196,
29892,
525,
12324,
29918,
3027,
29889,
9302,
29920,
1495,
13,
9651,
6251,
1839,
13168,
29918,
3027,
2033,
353,
288,
1028,
29889,
7122,
29898,
13168,
29918,
3972,
29892,
1196,
29892,
525,
13168,
29918,
3027,
29889,
9302,
29920,
1495,
13,
9651,
396,
8269,
2636,
353,
288,
1028,
29889,
7122,
29898,
13168,
29918,
3972,
29892,
1196,
29897,
13,
9651,
696,
333,
29890,
29889,
4397,
29898,
8269,
29897,
13,
1678,
25342,
274,
16434,
29889,
14573,
29918,
27839,
4741,
1275,
525,
29883,
6235,
2396,
13,
4706,
8783,
353,
14355,
16390,
24541,
29898,
24713,
29918,
978,
29897,
13,
1678,
25342,
274,
16434,
29889,
14573,
29918,
27839,
4741,
1275,
525,
29885,
314,
4346,
2396,
13,
4706,
8783,
353,
27287,
4346,
16390,
24541,
29898,
24713,
29918,
978,
29897,
13,
1678,
396,
23681,
274,
16434,
29889,
14573,
29918,
27839,
4741,
1275,
525,
793,
291,
2396,
13,
1678,
396,
1678,
8783,
353,
2664,
291,
16390,
24541,
29898,
24713,
29918,
978,
29897,
13,
13,
1678,
1243,
29918,
20404,
353,
29168,
580,
13,
1678,
1243,
29918,
20404,
29889,
29873,
293,
580,
13,
1678,
565,
2473,
29918,
29887,
3746,
29901,
13,
4706,
565,
525,
1688,
29909,
29915,
297,
8783,
29918,
978,
470,
525,
1688,
29933,
29915,
297,
8783,
29918,
978,
29901,
13,
9651,
954,
29918,
8346,
353,
7431,
29898,
1007,
29890,
29897,
13,
4706,
1683,
29901,
13,
9651,
954,
29918,
8346,
353,
7431,
29898,
24713,
29889,
657,
29918,
1007,
29890,
3101,
13,
4706,
2473,
29918,
29887,
3746,
29918,
1688,
29918,
1212,
29918,
265,
29918,
24713,
29898,
13,
9651,
6389,
29892,
8783,
29918,
978,
29892,
24963,
29918,
1445,
29892,
954,
29918,
8346,
29892,
1962,
29918,
3972,
13,
4706,
1723,
13,
1678,
1683,
29901,
13,
4706,
1243,
29918,
1212,
29898,
13,
9651,
6389,
29892,
8783,
29918,
978,
29892,
24963,
29918,
1445,
29892,
1962,
29918,
3972,
29892,
330,
3746,
29918,
333,
29922,
29887,
3746,
29918,
333,
13,
4706,
1723,
13,
1678,
1243,
29918,
20404,
29889,
517,
29883,
580,
13,
1678,
17927,
29889,
3888,
877,
11536,
27262,
931,
29901,
12365,
29889,
29941,
29888,
29913,
29879,
4286,
4830,
29898,
1688,
29918,
20404,
29889,
12483,
482,
29918,
2230,
876,
13,
1678,
736,
6213,
13,
13,
13,
1753,
2473,
29918,
29887,
3746,
29918,
1688,
29918,
1212,
29918,
265,
29918,
24713,
29898,
13,
4706,
6389,
29892,
8783,
29918,
978,
29892,
24963,
29918,
1445,
29892,
954,
29918,
8346,
29892,
1962,
29918,
3972,
1125,
13,
1678,
9995,
15329,
29899,
29887,
3746,
27262,
373,
263,
8783,
1213,
15945,
13,
1678,
7581,
29918,
3972,
353,
8829,
29884,
29889,
657,
29918,
15634,
29918,
3972,
580,
13,
1678,
7581,
29918,
1062,
353,
8829,
29884,
29889,
657,
29918,
2272,
29918,
2109,
29918,
1062,
580,
13,
1678,
7581,
353,
2897,
29889,
2084,
29889,
7122,
29898,
19541,
29918,
3972,
29892,
6389,
29889,
1688,
29918,
1212,
29918,
1445,
718,
7581,
29918,
1062,
29897,
13,
1678,
4974,
2897,
29889,
2084,
29889,
9933,
29898,
19541,
511,
525,
25196,
320,
29915,
29912,
1012,
29915,
451,
1476,
4286,
4830,
29898,
19541,
29897,
13,
13,
1678,
396,
6978,
278,
3646,
8783,
322,
24963,
934,
313,
361,
738,
29897,
3025,
278,
1899,
1196,
13,
1678,
29111,
353,
6024,
18267,
29889,
25832,
8127,
9375,
742,
525,
703,
8875,
613,
29897,
4286,
4830,
29898,
24713,
29918,
978,
4638,
13,
1678,
565,
24963,
29918,
1445,
29901,
13,
4706,
29111,
4619,
6024,
18267,
29889,
8618,
24815,
1964,
29918,
24483,
742,
525,
703,
8875,
613,
29897,
4286,
4830,
29898,
771,
1066,
284,
29918,
1445,
4638,
13,
13,
1678,
396,
7525,
27262,
297,
8943,
297,
1014,
5014,
267,
13,
1678,
396,
10604,
29879,
674,
367,
263,
1051,
310,
14391,
515,
1269,
1014,
5014,
29892,
988,
278,
1962,
13,
1678,
396,
310,
1269,
1014,
5014,
338,
278,
8600,
7160,
491,
1243,
29918,
1212,
2141,
13,
1678,
14391,
353,
1014,
5014,
29918,
13239,
29889,
5014,
29918,
262,
29918,
23482,
29898,
13,
4706,
525,
1783,
29918,
29881,
2650,
428,
742,
954,
29918,
8346,
29892,
7581,
29892,
1962,
29918,
3972,
29892,
13,
4706,
6389,
29889,
1359,
29918,
384,
415,
29892,
6389,
29889,
1359,
29918,
4801,
522,
1617,
29892,
29111,
13,
1678,
1723,
13,
13,
1678,
396,
1530,
9632,
278,
2582,
515,
1269,
1014,
5014,
13,
1678,
599,
29918,
9902,
29918,
8977,
29879,
353,
6571,
13,
1678,
363,
1439,
29918,
1272,
297,
14391,
29901,
13,
4706,
599,
29918,
9902,
29918,
8977,
29879,
29889,
5504,
29898,
4801,
29918,
1272,
29897,
13,
13,
1678,
26637,
29918,
4801,
29918,
1445,
353,
2897,
29889,
2084,
29889,
7122,
29898,
4905,
29918,
3972,
29892,
525,
1783,
29918,
29881,
2650,
1953,
29889,
29886,
6321,
1495,
13,
1678,
4078,
29918,
3318,
29898,
497,
29918,
9902,
29918,
8977,
29879,
29892,
1783,
29918,
4801,
29918,
1445,
29897,
13,
13,
1678,
17927,
29889,
3888,
877,
29956,
4859,
26637,
3233,
1439,
29872,
1953,
304,
29901,
6571,
4286,
4830,
29898,
359,
29889,
2084,
29889,
370,
1028,
493,
29898,
1783,
29918,
4801,
29918,
1445,
4961,
13,
1678,
736,
6213,
13,
13,
13,
1753,
1243,
29918,
1212,
29898,
13,
4706,
6389,
29892,
13,
4706,
8783,
29918,
978,
29892,
13,
4706,
24963,
29918,
1445,
29892,
13,
4706,
1962,
29918,
3972,
29892,
13,
4706,
1399,
29918,
3881,
29922,
8516,
29892,
13,
4706,
330,
3746,
29918,
333,
29922,
29900,
1125,
13,
1678,
9995,
6558,
27262,
373,
599,
4558,
297,
263,
8783,
470,
975,
385,
2380,
3464,
310,
4558,
13,
1678,
297,
263,
8783,
773,
263,
2323,
22796,
29889,
13,
1678,
9995,
13,
1678,
4974,
451,
274,
16434,
29889,
20387,
29931,
29889,
29934,
15695,
29918,
1164,
16786,
29892,
320,
13,
4706,
525,
11403,
364,
21257,
29918,
17158,
304,
5706,
9551,
1338,
515,
390,
15695,
29899,
6194,
4733,
29915,
13,
13,
1678,
696,
333,
29890,
29892,
8783,
29892,
1369,
29918,
513,
29892,
1095,
29918,
513,
29892,
3001,
29918,
1949,
29918,
8346,
353,
679,
29918,
1007,
29890,
29918,
392,
29918,
24713,
29898,
13,
4706,
8783,
29918,
978,
29892,
24963,
29918,
1445,
29892,
1399,
29918,
3881,
13,
1678,
1723,
13,
1678,
396,
363,
4744,
13,
1678,
396,
1007,
29890,
29922,
1007,
29890,
29961,
29900,
29901,
29896,
29962,
13,
1678,
396,
5215,
282,
2585,
13,
1678,
396,
29886,
2585,
29889,
842,
29918,
15003,
580,
13,
1678,
1904,
353,
11905,
29918,
4299,
29918,
3166,
29918,
16859,
29898,
5085,
29892,
330,
3746,
29918,
333,
29922,
29887,
3746,
29918,
333,
29897,
13,
1678,
954,
29918,
8346,
353,
7431,
29898,
1007,
29890,
29897,
13,
1678,
954,
29918,
13203,
353,
274,
16434,
29889,
20387,
29931,
29889,
13967,
29918,
6154,
3289,
1660,
29903,
13,
13,
1678,
599,
29918,
9902,
29918,
8977,
29879,
353,
6571,
13,
13,
1678,
5335,
414,
353,
2322,
8977,
29898,
14745,
29897,
13,
1678,
363,
474,
29892,
6251,
297,
26985,
29898,
1007,
29890,
1125,
13,
4706,
565,
274,
16434,
29889,
18267,
29889,
15094,
21514,
2692,
3352,
29918,
8618,
24815,
1964,
29903,
29901,
13,
9651,
396,
450,
696,
333,
29890,
1122,
1712,
5962,
29899,
509,
2806,
696,
275,
313,
1454,
1342,
29892,
565,
278,
696,
333,
29890,
13,
9651,
396,
5304,
515,
278,
6694,
470,
659,
6219,
467,
1334,
871,
864,
304,
14707,
13,
9651,
396,
15326,
373,
278,
334,
5464,
29930,
29899,
2057,
29899,
509,
2806,
696,
275,
29889,
1334,
1831,
871,
278,
696,
275,
13,
9651,
396,
393,
505,
278,
330,
29873,
29918,
13203,
1746,
731,
304,
29871,
29900,
29892,
607,
2794,
727,
29915,
29879,
694,
13,
9651,
396,
5962,
8760,
29889,
13,
9651,
3800,
29918,
771,
1066,
1338,
353,
6251,
1839,
1884,
267,
2033,
29961,
8269,
1839,
4141,
29918,
13203,
2033,
1275,
29871,
29900,
29962,
13,
9651,
565,
7431,
29898,
1884,
29918,
771,
1066,
1338,
29897,
1275,
29871,
29900,
29901,
13,
18884,
6773,
13,
4706,
1683,
29901,
13,
9651,
396,
383,
1901,
390,
29899,
29907,
10262,
1134,
4733,
5706,
9551,
1338,
373,
29899,
1552,
29899,
17652,
411,
385,
13,
9651,
396,
297,
29899,
11618,
390,
15695,
29936,
29871,
29896,
29899,
19190,
4733,
1016,
29915,
29873,
1996,
9551,
1338,
29889,
13,
9651,
3800,
29918,
771,
1066,
1338,
353,
6213,
13,
4706,
1967,
29918,
20158,
353,
7442,
29889,
1359,
29898,
3150,
29898,
8269,
1839,
3027,
7464,
525,
6050,
8785,
1839,
1272,
2033,
13,
4706,
11105,
29918,
20158,
353,
6213,
13,
4706,
396,
13168,
29918,
20158,
353,
7442,
29889,
1359,
29898,
3150,
29898,
8269,
1839,
13168,
29918,
3027,
7464,
525,
6050,
8785,
1839,
1272,
2033,
13,
13,
4706,
2582,
29918,
8977,
29892,
954,
29918,
18337,
353,
274,
29873,
29918,
4801,
522,
29918,
497,
29898,
4299,
29892,
1967,
29918,
20158,
29892,
11105,
29918,
20158,
29892,
22780,
29918,
18837,
29922,
29896,
29900,
29892,
3800,
29918,
771,
1066,
1338,
29922,
8516,
29897,
13,
13,
4706,
565,
274,
16434,
29889,
28607,
29901,
13,
9651,
7604,
675,
29918,
11965,
29918,
4141,
29898,
24713,
29892,
1967,
29918,
20158,
29892,
2582,
29918,
8977,
29892,
6251,
29892,
1962,
29918,
3972,
29892,
4138,
29918,
978,
2433,
1730,
29918,
312,
742,
1998,
29918,
11965,
29918,
6194,
29922,
5574,
29897,
13,
13,
4706,
3216,
29918,
13155,
29892,
3216,
29941,
6289,
353,
14405,
29918,
18337,
29918,
5563,
29918,
11965,
29898,
9902,
29918,
8977,
29892,
274,
16434,
29889,
1783,
29918,
24065,
1001,
1430,
4741,
29889,
3217,
9486,
8895,
29918,
4690,
1525,
7068,
29897,
13,
4706,
599,
29918,
9902,
29918,
8977,
29879,
29961,
8269,
1839,
3027,
2033,
29962,
353,
2582,
29918,
8977,
13,
13,
4706,
396,
1454,
3216,
29941,
29881,
297,
3216,
29941,
6289,
29901,
13,
4706,
396,
1678,
1596,
29898,
9917,
29941,
29881,
29889,
29883,
4003,
29892,
1967,
29918,
20158,
29889,
12181,
29897,
13,
4706,
396,
17743,
1312,
29918,
9902,
29918,
8977,
353,
3216,
29941,
29881,
29918,
517,
29918,
2457,
29918,
8977,
29898,
9917,
29941,
6289,
29892,
2582,
29918,
8977,
29897,
13,
4706,
396,
2158,
703,
15836,
3192,
289,
1884,
954,
1273,
29881,
29908,
1273,
7431,
29898,
9917,
29941,
6289,
876,
13,
4706,
396,
361,
274,
16434,
29889,
28607,
29901,
13,
9651,
396,
20119,
675,
29918,
11965,
29918,
4141,
29898,
24713,
29892,
1967,
29918,
20158,
29892,
12420,
29918,
9902,
29918,
8977,
29892,
6251,
29892,
1962,
29918,
3972,
29892,
4138,
29918,
978,
2433,
1730,
29918,
17743,
1312,
29918,
312,
1495,
13,
13,
4706,
565,
474,
1273,
29871,
29896,
29900,
29900,
1275,
29871,
29900,
29901,
29871,
396,
4367,
24551,
1480,
934,
2159,
13,
9651,
8992,
29918,
7827,
29918,
2230,
353,
7442,
29889,
2083,
4197,
29873,
29889,
12483,
482,
29918,
2230,
363,
260,
297,
5335,
414,
29889,
5975,
580,
2314,
13,
9651,
634,
29874,
29918,
23128,
353,
8992,
29918,
7827,
29918,
2230,
334,
313,
1949,
29918,
8346,
448,
474,
448,
29871,
29896,
29897,
13,
9651,
634,
29874,
353,
851,
29898,
12673,
29889,
9346,
287,
2554,
29898,
23128,
29922,
524,
29898,
1187,
29918,
23128,
4961,
13,
9651,
1439,
29918,
2230,
353,
313,
13,
18884,
5335,
414,
1839,
326,
29918,
4801,
522,
29918,
29890,
1884,
13359,
12483,
482,
29918,
2230,
718,
13,
18884,
5335,
414,
1839,
326,
29918,
4801,
522,
29918,
13168,
13359,
12483,
482,
29918,
2230,
718,
13,
18884,
5335,
414,
1839,
326,
29918,
4801,
522,
29918,
1989,
9748,
13359,
12483,
482,
29918,
2230,
13,
9651,
1723,
13,
9651,
3984,
29883,
29918,
2230,
353,
313,
13,
18884,
5335,
414,
1839,
29885,
10669,
29918,
29890,
1884,
13359,
12483,
482,
29918,
2230,
718,
13,
18884,
5335,
414,
1839,
29885,
10669,
29918,
13168,
13359,
12483,
482,
29918,
2230,
718,
13,
18884,
5335,
414,
1839,
29885,
10669,
29918,
1989,
9748,
13359,
12483,
482,
29918,
2230,
13,
9651,
1723,
13,
9651,
17927,
29889,
3888,
29898,
13,
18884,
313,
13,
462,
1678,
525,
326,
29918,
4801,
522,
29901,
3464,
15974,
29901,
29881,
1118,
12365,
29881,
6525,
310,
12365,
29881,
6177,
525,
13,
462,
1678,
22372,
29901,
29881,
6822,
25641,
29881,
29913,
12365,
29889,
29941,
29888,
29913,
29879,
718,
12365,
29889,
29941,
29888,
29913,
29879,
313,
1187,
29901,
426,
1800,
29915,
13,
18884,
13742,
4830,
29898,
13,
462,
1678,
1369,
29918,
513,
718,
29871,
29896,
29892,
1095,
29918,
513,
29892,
3001,
29918,
1949,
29918,
8346,
29892,
1369,
29918,
513,
718,
474,
718,
29871,
29896,
29892,
13,
462,
1678,
1369,
29918,
513,
718,
954,
29918,
8346,
29892,
1439,
29918,
2230,
29892,
3984,
29883,
29918,
2230,
29892,
634,
29874,
13,
462,
876,
13,
13,
1678,
274,
16434,
29918,
25162,
353,
343,
8807,
29889,
15070,
29898,
16859,
29897,
13,
1678,
396,
4078,
26637,
3233,
1439,
2582,
29898,
3027,
29918,
2084,
29899,
2457,
29918,
8977,
2910,
29897,
13,
1678,
565,
1399,
29918,
3881,
338,
451,
6213,
29901,
13,
4706,
26637,
29918,
4801,
29918,
978,
353,
525,
1783,
29918,
29881,
2650,
428,
29918,
3881,
29918,
29995,
29879,
29918,
29995,
29879,
29889,
29886,
6321,
29915,
1273,
18761,
29898,
513,
29918,
3881,
29897,
13,
1678,
1683,
29901,
13,
4706,
26637,
29918,
4801,
29918,
978,
353,
525,
1783,
29918,
29881,
2650,
1953,
29889,
29886,
6321,
29915,
13,
1678,
26637,
29918,
4801,
29918,
1445,
353,
2897,
29889,
2084,
29889,
7122,
29898,
4905,
29918,
3972,
29892,
26637,
29918,
4801,
29918,
978,
29897,
13,
1678,
4078,
29918,
3318,
29898,
497,
29918,
9902,
29918,
8977,
29879,
29892,
1783,
29918,
4801,
29918,
1445,
29897,
13,
13,
1678,
17927,
29889,
3888,
877,
29956,
4859,
26637,
3233,
1439,
29872,
1953,
304,
29901,
6571,
4286,
4830,
29898,
359,
29889,
2084,
29889,
370,
1028,
493,
29898,
1783,
29918,
4801,
29918,
1445,
4961,
13,
1678,
736,
6213,
13,
13,
1753,
3216,
29941,
29881,
29918,
517,
29918,
8977,
29898,
9917,
29941,
29881,
1125,
13,
1678,
9995,
18455,
2777,
310,
770,
350,
618,
304,
3017,
9657,
29889,
13,
13,
1678,
9995,
13,
1678,
3216,
29941,
29881,
29918,
8977,
353,
11117,
29883,
4003,
2396,
9917,
29941,
29881,
29889,
29883,
4003,
29892,
525,
2084,
305,
29918,
4537,
2396,
9917,
29941,
29881,
29889,
657,
29918,
5041,
29918,
1949,
3285,
29905,
13,
18884,
525,
13628,
2396,
9917,
29941,
29881,
29889,
13628,
29892,
525,
1643,
2396,
9917,
29941,
29881,
29889,
1643,
29913,
13,
1678,
736,
3216,
29941,
29881,
29918,
8977,
13,
13,
1753,
3216,
29941,
6289,
29918,
517,
29918,
1761,
29898,
9917,
29941,
6289,
1125,
13,
1678,
9995,
18455,
2777,
310,
770,
350,
618,
304,
3017,
1051,
29889,
13,
13,
1678,
9995,
13,
1678,
3216,
29941,
6289,
29918,
1761,
353,
5159,
13,
1678,
363,
3216,
29941,
29881,
297,
3216,
29941,
6289,
29901,
13,
4706,
3216,
29918,
8977,
353,
11117,
29883,
4003,
2396,
9917,
29941,
29881,
29889,
29883,
4003,
29892,
525,
2084,
305,
29918,
4537,
2396,
9917,
29941,
29881,
29889,
657,
29918,
5041,
29918,
1949,
3285,
29905,
13,
18884,
525,
13628,
2396,
9917,
29941,
29881,
29889,
13628,
29892,
525,
1643,
2396,
9917,
29941,
29881,
29889,
1643,
29913,
13,
4706,
3216,
29941,
6289,
29918,
1761,
29889,
4397,
29898,
9917,
29918,
8977,
29897,
13,
1678,
736,
3216,
29941,
6289,
29918,
1761,
13,
13,
1753,
11905,
29918,
4299,
29918,
3166,
29918,
16859,
29898,
5085,
29892,
330,
3746,
29918,
333,
29922,
29900,
1125,
13,
1678,
9995,
6644,
6646,
263,
1904,
515,
278,
5534,
274,
16434,
29889,
4309,
7925,
1243,
29899,
2230,
18177,
322,
13,
1678,
731,
304,
17983,
4464,
29889,
13,
1678,
9995,
13,
1678,
1904,
353,
3617,
10363,
10262,
3195,
580,
13,
1678,
1904,
29889,
14513,
580,
13,
13,
1678,
565,
6389,
29889,
29883,
6191,
29901,
13,
4706,
1904,
29889,
29883,
6191,
580,
13,
13,
1678,
565,
6389,
29889,
1359,
29918,
384,
415,
29901,
13,
4706,
2254,
29918,
978,
353,
6389,
29889,
1359,
29918,
384,
415,
13,
4706,
17927,
29889,
3888,
703,
13234,
1423,
3149,
1273,
29879,
613,
2254,
29918,
978,
29897,
13,
4706,
1423,
3149,
353,
4842,
305,
29889,
1359,
29898,
1359,
29918,
978,
29892,
2910,
29918,
5479,
29922,
2892,
8635,
29892,
1180,
29901,
8635,
29897,
13,
4706,
7787,
29918,
13239,
29889,
1359,
29918,
384,
415,
29898,
4299,
29892,
1423,
3149,
1839,
4299,
11287,
13,
13,
1678,
565,
6389,
29889,
1359,
29918,
4801,
522,
1617,
29901,
13,
4706,
17927,
29889,
3888,
703,
13234,
6459,
1617,
18177,
1273,
29879,
613,
6389,
29889,
1359,
29918,
4801,
522,
1617,
29897,
13,
4706,
2254,
29918,
4801,
522,
1617,
29918,
7915,
29898,
4299,
29892,
6389,
29889,
1359,
29918,
4801,
522,
1617,
29897,
13,
13,
1678,
1904,
353,
590,
15755,
29889,
1469,
2177,
6553,
29898,
4299,
29892,
26403,
29918,
1989,
9303,
29922,
1839,
326,
29918,
3888,
742,
525,
1007,
29890,
7464,
1375,
747,
905,
29922,
5574,
29897,
13,
1678,
565,
274,
16434,
29889,
29911,
4717,
1177,
29918,
14816,
15868,
29918,
29933,
29940,
29901,
13,
4706,
396,
1383,
29884,
29901,
2831,
5222,
8420,
262,
1891,
350,
29940,
13,
4706,
13261,
29918,
3445,
1414,
29918,
14035,
29898,
4299,
29897,
13,
13,
1678,
736,
1904,
13,
13,
13,
1753,
679,
29918,
1007,
29890,
29918,
392,
29918,
24713,
29898,
24713,
29918,
978,
29892,
24963,
29918,
1445,
29892,
1399,
29918,
3881,
1125,
13,
1678,
9995,
2577,
278,
696,
333,
29890,
363,
278,
8783,
6790,
297,
278,
5534,
274,
16434,
29889,
10831,
635,
13,
1678,
9250,
372,
304,
263,
3464,
310,
16285,
565,
1399,
29918,
3881,
338,
263,
5101,
310,
11920,
29889,
13,
1678,
9995,
13,
1678,
565,
525,
1688,
29909,
29915,
297,
8783,
29918,
978,
470,
525,
1688,
29933,
29915,
297,
8783,
29918,
978,
29901,
13,
4706,
1596,
14237,
29915,
29930,
29906,
29900,
29897,
13,
4706,
1596,
877,
29873,
713,
4161,
1243,
29909,
29914,
29933,
1495,
13,
4706,
1596,
877,
2433,
29930,
29906,
29900,
29897,
13,
4706,
8783,
353,
6213,
13,
4706,
1014,
29918,
3972,
29879,
353,
27640,
8127,
9375,
29961,
24713,
29918,
978,
3816,
1783,
29918,
20633,
29918,
9464,
29903,
29962,
13,
4706,
1967,
29918,
3972,
353,
27640,
8127,
9375,
29961,
24713,
29918,
978,
3816,
1783,
29918,
9464,
29962,
13,
4706,
11105,
29918,
3972,
353,
27640,
8127,
9375,
29961,
24713,
29918,
978,
3816,
1529,
16033,
29918,
9464,
29962,
13,
4706,
411,
1722,
29898,
1491,
29918,
3972,
29879,
29897,
408,
285,
29901,
13,
9651,
3454,
353,
285,
29889,
949,
9012,
580,
13,
4706,
3454,
353,
518,
1220,
29889,
17010,
580,
363,
1196,
297,
3454,
29962,
13,
4706,
696,
333,
29890,
353,
5159,
13,
4706,
363,
1196,
297,
3454,
29901,
13,
9651,
6251,
353,
6571,
13,
9651,
6251,
1839,
3027,
2033,
353,
288,
1028,
29889,
7122,
29898,
3027,
29918,
3972,
29892,
1196,
29892,
525,
12324,
29918,
3027,
29889,
9302,
29920,
1495,
13,
9651,
6251,
1839,
13168,
29918,
3027,
2033,
353,
288,
1028,
29889,
7122,
29898,
13168,
29918,
3972,
29892,
1196,
29892,
525,
13168,
29918,
3027,
29889,
9302,
29920,
1495,
13,
9651,
396,
8269,
2636,
353,
288,
1028,
29889,
7122,
29898,
13168,
29918,
3972,
29892,
1196,
29897,
13,
9651,
696,
333,
29890,
29889,
4397,
29898,
8269,
29897,
13,
1678,
1683,
29901,
13,
4706,
8783,
353,
14355,
16390,
24541,
29898,
24713,
29918,
978,
29897,
13,
13,
4706,
565,
274,
16434,
29889,
18267,
29889,
15094,
21514,
2692,
3352,
29918,
8618,
24815,
1964,
29903,
29901,
13,
9651,
4974,
24963,
29918,
1445,
29892,
525,
3782,
24963,
934,
2183,
29915,
13,
9651,
696,
333,
29890,
353,
8783,
29889,
657,
29918,
1007,
29890,
29898,
13,
18884,
24963,
29918,
1445,
29922,
771,
1066,
284,
29918,
1445,
29892,
13,
18884,
24963,
29918,
13400,
29922,
16859,
29889,
18267,
29889,
8618,
24815,
1964,
29918,
5265,
26349,
13,
9651,
1723,
13,
4706,
1683,
29901,
13,
9651,
696,
333,
29890,
353,
8783,
29889,
657,
29918,
1007,
29890,
29898,
4141,
29922,
5574,
29897,
13,
1678,
1596,
877,
2435,
696,
333,
29890,
29901,
13420,
2435,
29898,
1007,
29890,
876,
13,
1678,
565,
1399,
29918,
3881,
338,
451,
6213,
29901,
13,
4706,
3001,
29918,
1949,
29918,
8346,
353,
7431,
29898,
1007,
29890,
29897,
13,
4706,
1369,
29892,
1095,
353,
1399,
29918,
3881,
13,
4706,
696,
333,
29890,
353,
696,
333,
29890,
29961,
2962,
29901,
355,
29962,
13,
1678,
1683,
29901,
13,
4706,
1369,
353,
29871,
29900,
13,
4706,
1095,
353,
7431,
29898,
1007,
29890,
29897,
13,
4706,
3001,
29918,
1949,
29918,
8346,
353,
1095,
13,
13,
1678,
736,
696,
333,
29890,
29892,
8783,
29892,
1369,
29892,
1095,
29892,
3001,
29918,
1949,
29918,
8346,
13,
13,
13,
1753,
4069,
29918,
9902,
29898,
1949,
29918,
13203,
29892,
954,
29918,
8346,
1125,
13,
1678,
9995,
11609,
4069,
2582,
8857,
363,
16273,
29892,
11105,
29879,
29892,
322,
1820,
9748,
29889,
13,
1678,
11773,
1439,
29872,
1953,
526,
16531,
964,
29901,
13,
418,
599,
29918,
1884,
267,
29961,
25932,
3816,
3027,
29962,
353,
405,
921,
29871,
29945,
1409,
411,
4341,
313,
29916,
29896,
29892,
343,
29896,
29892,
921,
29906,
29892,
343,
29906,
29892,
8158,
29897,
13,
1678,
2799,
749,
11105,
27303,
526,
16531,
964,
29901,
13,
418,
599,
29918,
10199,
1516,
29961,
25932,
3816,
3027,
29962,
353,
21945,
1051,
310,
4810,
3217,
390,
1307,
18511,
11105,
29879,
393,
526,
297,
13,
539,
29896,
29901,
29896,
3928,
663,
411,
278,
16273,
297,
599,
29918,
1884,
267,
29961,
25932,
3816,
3027,
29962,
13,
1678,
7670,
3149,
27303,
526,
16531,
964,
29901,
13,
418,
599,
29918,
1989,
567,
29961,
25932,
3816,
3027,
29962,
353,
21945,
1051,
310,
1820,
9748,
2582,
29892,
1269,
18511,
408,
13,
418,
263,
29871,
29941,
29928,
1409,
313,
29937,
307,
275,
29892,
29871,
29946,
29892,
396,
1989,
9748,
29897,
411,
278,
29871,
29946,
4206,
6590,
304,
13,
418,
518,
29916,
29892,
343,
29892,
1480,
277,
29892,
2070,
29962,
313,
13393,
29901,
3667,
29879,
29889,
1989,
9748,
29889,
354,
271,
10339,
29918,
517,
29918,
1989,
9748,
467,
13,
418,
7670,
9748,
526,
10478,
363,
2022,
313,
25932,
353,
29871,
29896,
416,
896,
526,
297,
29871,
29896,
29901,
29896,
13,
418,
3928,
663,
411,
278,
16273,
297,
599,
29918,
1884,
267,
29961,
25932,
3816,
3027,
1822,
13,
1678,
9995,
13,
1678,
396,
3940,
29901,
437,
451,
367,
25782,
287,
304,
671,
518,
2636,
334,
405,
1402,
607,
4076,
405,
9282,
304,
278,
13,
1678,
396,
334,
17642,
29930,
4069,
1051,
29889,
13,
1678,
599,
29918,
9917,
29941,
6289,
353,
5519,
2636,
363,
903,
297,
3464,
29898,
1949,
29918,
8346,
4638,
363,
903,
297,
3464,
29898,
1949,
29918,
13203,
4638,
13,
1678,
736,
599,
29918,
9917,
29941,
6289,
13,
13,
1753,
10985,
29918,
9902,
29898,
2248,
29892,
599,
29918,
690,
29892,
3216,
29941,
6289,
1125,
13,
1678,
9995,
2528,
2582,
363,
385,
1967,
304,
278,
731,
310,
599,
2582,
472,
278,
6790,
13,
1678,
2380,
29889,
13,
1678,
9995,
13,
1678,
396,
4971,
666,
1067,
29879,
29918,
13140,
29871,
29900,
313,
1649,
7042,
1649,
29897,
13,
1678,
396,
1454,
1067,
29879,
29918,
13140,
297,
3464,
29898,
29896,
29892,
7431,
29898,
326,
29918,
690,
22164,
13,
1678,
363,
3216,
29941,
29881,
297,
3216,
29941,
6289,
29901,
13,
4706,
1067,
29879,
29918,
13140,
353,
3216,
29941,
29881,
29889,
1643,
13,
4706,
599,
29918,
690,
29961,
25932,
29918,
13140,
3816,
2248,
1822,
4397,
29898,
9917,
29941,
29881,
29918,
517,
29918,
8977,
29898,
9917,
29941,
29881,
876,
13,
13,
1753,
14405,
29918,
18337,
29918,
5563,
29918,
11965,
29898,
9902,
29918,
8977,
29892,
266,
3781,
29892,
1067,
29879,
29918,
1949,
29922,
29896,
29945,
29892,
4236,
29918,
29879,
29399,
29918,
303,
2426,
29922,
29945,
29892,
474,
290,
29918,
386,
3781,
29922,
29900,
29889,
29955,
1125,
13,
1678,
9995,
6431,
22780,
3233,
13451,
313,
29916,
29892,
29891,
29892,
29893,
29892,
29882,
29892,
18337,
29918,
13140,
29892,
1643,
29892,
13628,
29897,
964,
3216,
29941,
29881,
29889,
9995,
13,
13,
1678,
14405,
29918,
3670,
353,
6571,
13,
1678,
396,
338,
639,
29899,
1990,
29899,
386,
12268,
958,
1312,
13,
1678,
565,
338,
8758,
29898,
386,
3781,
29892,
1051,
1125,
13,
4706,
266,
3781,
29918,
1761,
353,
266,
3781,
13,
1678,
1683,
29901,
13,
4706,
266,
3781,
29918,
1761,
353,
518,
386,
3781,
363,
903,
297,
3464,
29898,
25932,
29918,
1949,
4638,
13,
13,
1678,
3858,
29918,
17743,
457,
29918,
5344,
353,
7442,
29889,
2873,
3552,
25932,
29918,
1949,
29892,
1067,
29879,
29918,
1949,
511,
26688,
2433,
524,
29941,
29906,
1495,
334,
448,
29896,
13,
1678,
3858,
29918,
17743,
457,
29918,
5344,
29961,
3881,
29898,
29896,
29892,
25932,
29918,
1949,
511,
3464,
29898,
29896,
29892,
25932,
29918,
1949,
4638,
353,
3464,
29898,
29896,
29892,
25932,
29918,
1949,
29897,
13,
1678,
3203,
29918,
1639,
29918,
3605,
601,
29918,
5344,
353,
7442,
29889,
3298,
359,
3552,
25932,
29918,
1949,
29892,
1067,
29879,
29918,
1949,
511,
26688,
2433,
7411,
29941,
29906,
1495,
13,
1678,
3203,
29918,
1639,
29918,
3605,
601,
29918,
5344,
29961,
3881,
29898,
29896,
29892,
25932,
29918,
1949,
511,
3464,
29898,
29896,
29892,
25932,
29918,
1949,
4638,
353,
7442,
29889,
2873,
3552,
25932,
29918,
1949,
29899,
29896,
511,
26688,
2433,
7411,
29941,
29906,
1495,
334,
474,
290,
29918,
386,
3781,
13,
13,
1678,
14405,
29918,
3670,
1839,
1643,
29918,
17743,
457,
29918,
5344,
2033,
353,
3858,
29918,
17743,
457,
29918,
5344,
13,
1678,
14405,
29918,
3670,
1839,
280,
579,
29918,
1639,
29918,
3605,
601,
29918,
5344,
2033,
353,
3203,
29918,
1639,
29918,
3605,
601,
29918,
5344,
13,
1678,
14405,
29918,
3670,
1839,
3317,
29918,
29879,
29399,
29918,
303,
2426,
2033,
353,
4236,
29918,
29879,
29399,
29918,
303,
2426,
13,
13,
1678,
3216,
29906,
29881,
29918,
1761,
353,
5159,
13,
1678,
363,
22780,
29918,
13140,
29892,
22780,
29918,
11965,
297,
2582,
29918,
8977,
29889,
7076,
7295,
13,
4706,
19435,
29892,
16273,
29892,
1067,
29879,
29918,
1884,
267,
353,
22780,
29918,
11965,
13,
4706,
17117,
3383,
3383,
4413,
353,
1998,
29918,
4141,
29918,
13239,
29889,
13441,
29918,
3166,
29918,
25932,
29918,
4830,
29898,
13,
9651,
1067,
29879,
29918,
1884,
267,
29892,
6213,
29892,
6213,
29897,
13,
4706,
396,
2158,
29898,
2435,
29898,
25932,
29918,
1884,
267,
511,
1067,
29879,
29918,
1884,
267,
29961,
29900,
2314,
13,
4706,
363,
22645,
29892,
8158,
297,
26985,
29898,
1557,
2361,
1125,
13,
9651,
565,
8158,
6736,
266,
3781,
29918,
1761,
29961,
13203,
29961,
13140,
5262,
29901,
13,
18884,
921,
29892,
343,
29892,
281,
29892,
298,
353,
3800,
29918,
13239,
29889,
3594,
3594,
29918,
517,
29918,
3594,
1332,
29898,
1884,
267,
29961,
13140,
29892,
584,
1822,
25027,
391,
3101,
13,
18884,
3216,
29906,
29881,
29918,
1761,
29889,
4397,
4197,
29916,
29892,
343,
29892,
281,
29892,
298,
29892,
22780,
29918,
13140,
29892,
4413,
29961,
13140,
1402,
8158,
2314,
13,
18884,
396,
2158,
4197,
29916,
29892,
343,
29892,
281,
29892,
298,
29892,
22780,
29918,
13140,
29892,
4413,
29961,
13140,
1402,
8158,
2314,
13,
1678,
3216,
29918,
13155,
353,
14405,
29918,
23687,
29918,
29941,
29881,
29918,
11851,
29898,
9917,
29906,
29881,
29918,
1761,
29892,
14405,
29918,
3670,
29897,
13,
13,
1678,
3216,
29941,
6289,
353,
5159,
13,
1678,
1513,
353,
29871,
29900,
13,
1678,
363,
3216,
29918,
2972,
297,
3216,
29918,
13155,
29901,
13,
4706,
3216,
29941,
29881,
353,
350,
618,
29941,
29928,
580,
13,
4706,
363,
3216,
29906,
29881,
297,
3216,
29918,
2972,
29901,
13,
9651,
921,
29892,
343,
29892,
281,
29892,
298,
29892,
22780,
29918,
333,
29892,
3858,
29892,
8158,
353,
3216,
29906,
29881,
13,
9651,
28704,
353,
518,
29916,
29892,
343,
29892,
22780,
29918,
333,
29892,
281,
29892,
298,
29892,
29871,
29896,
29962,
13,
9651,
3216,
29941,
29881,
29889,
4397,
29898,
29883,
4003,
29892,
1513,
29892,
3858,
29892,
8158,
29892,
14405,
29918,
3670,
1839,
1643,
29918,
17743,
457,
29918,
5344,
11287,
13,
9651,
565,
451,
3216,
29941,
29881,
29889,
275,
29918,
3084,
29901,
13,
18884,
736,
6213,
13,
4706,
3216,
29941,
6289,
29889,
4397,
29898,
9917,
29941,
29881,
29897,
13,
4706,
396,
2158,
29898,
9917,
29941,
29881,
29897,
13,
1678,
736,
3216,
29918,
13155,
29892,
3216,
29941,
6289,
13,
13,
13,
1753,
3216,
29941,
29881,
29918,
517,
29918,
2457,
29918,
8977,
29898,
9917,
29941,
6289,
29892,
2582,
29918,
8977,
1125,
13,
1678,
9995,
13441,
515,
3216,
29941,
29881,
304,
2582,
29918,
8977,
29889,
13,
539,
3216,
29941,
29881,
29889,
29883,
4003,
313,
29916,
29892,
29891,
29892,
29920,
29892,
29893,
29892,
29882,
29892,
29881,
29897,
13,
539,
1067,
29879,
29918,
1884,
267,
338,
263,
1051,
310,
396,
13203,
3161,
29892,
1269,
1543,
756,
8267,
313,
29937,
29881,
2650,
428,
29892,
29871,
29945,
467,
13,
539,
518,
29916,
29896,
29892,
343,
29896,
29892,
921,
29906,
29892,
343,
29906,
29892,
8158,
29962,
13,
539,
736,
29918,
8977,
29901,
9657,
411,
426,
18337,
29901,
1067,
29879,
29918,
1884,
267,
29913,
13,
1678,
9995,
13,
1678,
22780,
29918,
11965,
353,
3216,
29941,
29881,
29918,
517,
29918,
18337,
29918,
11965,
29898,
9917,
29941,
6289,
29897,
13,
1678,
770,
29918,
1949,
353,
938,
29898,
9302,
29889,
3317,
29898,
18337,
29918,
11965,
7503,
29892,
29871,
29953,
12622,
13,
1678,
1596,
29898,
1990,
29918,
1949,
29897,
13,
1678,
3001,
29918,
18337,
353,
7442,
29889,
13092,
29898,
18337,
29918,
11965,
7503,
29892,
29871,
29945,
14664,
25027,
391,
580,
13,
1678,
736,
29918,
8977,
353,
6571,
13,
1678,
363,
1820,
297,
2582,
29918,
8977,
29889,
8149,
7295,
13,
4706,
736,
29918,
8977,
29961,
1989,
29962,
353,
9310,
1402,
19997,
518,
2636,
363,
474,
297,
3464,
29898,
1990,
29918,
1949,
718,
29871,
29896,
29897,
2314,
13,
308,
13,
1678,
363,
3151,
29918,
18337,
297,
3001,
29918,
18337,
29901,
13,
4706,
565,
3151,
29918,
18337,
451,
297,
2582,
29918,
8977,
29889,
8149,
7295,
13,
9651,
396,
2158,
703,
2764,
29918,
18337,
1273,
29881,
338,
451,
297,
1967,
29918,
20158,
29908,
29995,
2764,
29918,
18337,
29897,
13,
9651,
6773,
13,
4706,
3151,
29918,
2248,
353,
7442,
29889,
3062,
29898,
18337,
29918,
11965,
7503,
29892,
29871,
29945,
29962,
1275,
3151,
29918,
18337,
9601,
29900,
29962,
13,
4706,
3151,
29918,
29890,
1884,
267,
353,
22780,
29918,
11965,
29961,
2764,
29918,
2248,
29892,
584,
29962,
13,
4706,
396,
2158,
877,
2764,
29918,
1884,
267,
599,
4413,
8158,
29892,
22780,
29892,
3858,
29901,
13420,
3151,
29918,
29890,
1884,
267,
29897,
13,
4706,
363,
3151,
29918,
1990,
297,
3464,
29898,
1990,
29918,
1949,
718,
29871,
29896,
1125,
13,
9651,
770,
29918,
2248,
353,
7442,
29889,
3062,
29898,
2764,
29918,
29890,
1884,
267,
7503,
29892,
29871,
29953,
29962,
1275,
3151,
29918,
1990,
9601,
29900,
29962,
13,
9651,
736,
29918,
8977,
29961,
524,
29898,
2764,
29918,
18337,
29897,
3816,
29906,
3816,
2764,
29918,
1990,
29962,
353,
3151,
29918,
29890,
1884,
267,
29961,
1990,
29918,
2248,
29892,
29871,
29900,
29901,
29945,
29962,
13,
1678,
736,
736,
29918,
8977,
13,
259,
13,
13,
1753,
3216,
29941,
29881,
29918,
517,
29918,
18337,
29918,
11965,
29898,
9917,
29941,
6289,
1125,
13,
1678,
9995,
13441,
515,
3216,
29941,
29881,
304,
22780,
4450,
29889,
13,
539,
22780,
4450,
297,
278,
883,
310,
405,
29930,
29953,
1409,
29892,
411,
1269,
1948,
11524,
518,
29916,
29896,
29892,
343,
29896,
29892,
921,
29906,
29892,
343,
29906,
29892,
8158,
29892,
22780,
29892,
3858,
29962,
13,
1678,
9995,
13,
1678,
22780,
29918,
11965,
353,
7442,
29889,
6310,
3552,
29900,
29892,
29871,
29955,
511,
26688,
29922,
9302,
29889,
7411,
29941,
29906,
29897,
13,
1678,
363,
3216,
29941,
29881,
297,
3216,
29941,
6289,
29901,
13,
4706,
921,
29892,
343,
29892,
503,
29892,
281,
29892,
298,
29892,
270,
353,
3216,
29941,
29881,
29889,
29883,
4003,
13,
4706,
3858,
353,
3216,
29941,
29881,
29889,
1643,
13,
4706,
8158,
353,
3216,
29941,
29881,
29889,
13628,
13,
4706,
921,
29906,
353,
921,
718,
4236,
29898,
29900,
29892,
281,
448,
29871,
29896,
29897,
13,
4706,
343,
29906,
353,
343,
718,
4236,
29898,
29900,
29892,
298,
448,
29871,
29896,
29897,
13,
4706,
503,
29906,
353,
503,
718,
4236,
29898,
29900,
29892,
270,
448,
29871,
29896,
29897,
13,
4706,
363,
3151,
29918,
18337,
297,
3464,
29898,
524,
29898,
29920,
511,
938,
29898,
29920,
29906,
29897,
718,
29871,
29896,
1125,
13,
9651,
13128,
29918,
11965,
353,
7442,
29889,
3298,
359,
3552,
29896,
29892,
29871,
29955,
511,
26688,
29922,
9302,
29889,
7411,
29941,
29906,
29897,
13,
9651,
13128,
29918,
11965,
29961,
29900,
29892,
17531,
353,
518,
29916,
29892,
343,
29892,
921,
29906,
29892,
343,
29906,
29892,
8158,
29892,
3151,
29918,
18337,
29892,
3858,
29962,
13,
9651,
22780,
29918,
11965,
353,
7442,
29889,
4397,
29898,
18337,
29918,
11965,
29892,
13128,
29918,
11965,
29892,
9685,
29922,
29900,
29897,
13,
13,
1678,
736,
22780,
29918,
11965,
13,
13,
13,
1753,
7604,
675,
29918,
11965,
29918,
4141,
29898,
24713,
29892,
1967,
29918,
20158,
29892,
2582,
29918,
8977,
29892,
6251,
29892,
1962,
29918,
3972,
29892,
4138,
29918,
978,
2433,
1730,
29918,
312,
742,
1998,
29918,
11965,
29918,
6194,
29922,
8824,
1125,
13,
1678,
527,
29918,
3972,
353,
359,
29889,
19570,
29889,
7122,
29898,
8269,
1839,
3027,
13359,
5451,
29898,
359,
29889,
19570,
9601,
29899,
29946,
13018,
29896,
2314,
13,
1678,
565,
274,
16434,
29889,
1307,
13381,
29889,
1307,
13381,
29918,
1430,
6181,
29928,
29901,
13,
4706,
1967,
29918,
20158,
353,
1967,
29918,
20158,
29889,
579,
668,
29898,
9302,
29889,
7411,
29941,
29906,
29897,
13,
4706,
1967,
29918,
20158,
22361,
29871,
29941,
29906,
29955,
29953,
29947,
13,
4706,
1596,
29898,
3027,
29918,
20158,
29889,
3317,
3285,
1967,
29918,
20158,
29889,
1195,
3101,
13,
4706,
1967,
29918,
20158,
353,
3474,
292,
29898,
3027,
29918,
20158,
29892,
21069,
29896,
29946,
29900,
29900,
29892,
29906,
29900,
29900,
2314,
13,
4706,
1967,
29918,
20158,
353,
1967,
29918,
20158,
29889,
579,
668,
29898,
9302,
29889,
13470,
29947,
29897,
13,
1678,
363,
4818,
29918,
13140,
297,
3464,
29898,
3027,
29918,
20158,
29889,
12181,
29961,
29900,
29962,
1125,
13,
4706,
916,
29918,
326,
29918,
4294,
353,
13850,
29906,
29889,
14634,
4197,
3027,
29918,
20158,
29961,
5064,
29918,
13140,
29892,
584,
29892,
584,
1402,
1967,
29918,
20158,
29961,
5064,
29918,
13140,
29892,
584,
29892,
584,
1402,
1967,
29918,
20158,
29961,
5064,
29918,
13140,
29892,
584,
29892,
584,
24960,
13,
4706,
565,
1998,
29918,
11965,
29918,
6194,
29901,
13,
9651,
330,
29873,
29918,
13140,
353,
5159,
13,
9651,
330,
29873,
29918,
1884,
267,
29918,
4294,
353,
5519,
1402,
5159,
29962,
13,
9651,
330,
29873,
29918,
13203,
353,
5519,
1402,
5159,
29962,
13,
4706,
1683,
29901,
13,
9651,
330,
29873,
29918,
13140,
353,
7442,
29889,
3062,
29898,
8269,
1839,
1884,
267,
2033,
7503,
29892,
29871,
29946,
29962,
1275,
4818,
29918,
13140,
9601,
29900,
29962,
13,
9651,
330,
29873,
29918,
1884,
267,
29918,
4294,
353,
518,
8269,
1839,
1884,
267,
2033,
29961,
4141,
29918,
13140,
29892,
584,
29946,
1822,
25027,
391,
3285,
5159,
29962,
13,
9651,
330,
29873,
29918,
13203,
353,
518,
8269,
1839,
4141,
29918,
13203,
2033,
29961,
4141,
29918,
13140,
1822,
25027,
391,
3285,
5159,
29962,
13,
4706,
527,
29918,
4294,
353,
13850,
29906,
29889,
14634,
4197,
3027,
29918,
20158,
29961,
5064,
29918,
13140,
29892,
584,
29892,
584,
1402,
1967,
29918,
20158,
29961,
5064,
29918,
13140,
29892,
584,
29892,
584,
1402,
1967,
29918,
20158,
29961,
5064,
29918,
13140,
29892,
584,
29892,
584,
24960,
13,
4706,
565,
7431,
29898,
4141,
29918,
1884,
267,
29918,
4294,
29961,
29900,
2314,
1275,
29871,
29900,
29901,
13,
9651,
13128,
29918,
978,
353,
14210,
29900,
29941,
29881,
29915,
1273,
4818,
29918,
13140,
13,
4706,
1683,
29901,
13,
9651,
13128,
29918,
978,
353,
14210,
29900,
29941,
29881,
29918,
4141,
29915,
1273,
4818,
29918,
13140,
13,
4706,
1998,
29918,
4141,
29918,
13239,
29889,
1730,
29918,
650,
29918,
3027,
29898,
13,
9651,
527,
29918,
4294,
29892,
13,
9651,
916,
29918,
326,
29918,
4294,
29892,
13,
9651,
13128,
29918,
978,
29892,
13,
9651,
2897,
29889,
2084,
29889,
7122,
29898,
4905,
29918,
3972,
29892,
4138,
29918,
978,
29892,
527,
29918,
3972,
511,
13,
9651,
2582,
29918,
8977,
29961,
5064,
29918,
13140,
3816,
29906,
1402,
13,
9651,
330,
29873,
29918,
1884,
267,
29918,
4294,
29892,
13,
9651,
2377,
1516,
29922,
8516,
29892,
13,
9651,
266,
3781,
29922,
16859,
29889,
28607,
29918,
4690,
29892,
13,
9651,
3800,
29918,
2312,
29922,
29900,
29889,
29947,
29892,
13,
9651,
8783,
29922,
24713,
29892,
13,
9651,
1510,
29918,
1990,
29922,
5574,
29892,
13,
9651,
330,
29873,
29918,
13203,
353,
330,
29873,
29918,
13203,
13,
4706,
1723,
13,
2
] |
prune_main.py | Sallyeen/DeepCompression-PyTorch-master | 7 | 1605124 | <reponame>Sallyeen/DeepCompression-PyTorch-master
if __name__ == '__main__':
import pruning.main
| [
1,
529,
276,
1112,
420,
29958,
29903,
635,
27294,
29914,
2772,
1022,
1523,
2590,
29899,
19737,
29911,
25350,
29899,
6207,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
12,
5215,
544,
27964,
29889,
3396,
13,
13,
2
] |
models.py | shepherd-dc/flask-blog | 0 | 85983 | <reponame>shepherd-dc/flask-blog
from exts import db
from datetime import datetime
from werkzeug.security import generate_password_hash, check_password_hash
class User(db.Model):
__tablename__ = 'user'
id = db.Column(db.Integer, primary_key=True, autoincrement=True)
email = db.Column(db.String(50), nullable=False)
username = db.Column(db.String(50), nullable=False)
password = db.Column(db.String(100), nullable=False)
def __init__(self, *args, **kwargs):
email = kwargs.get('email')
username = kwargs.get('username')
password = kwargs.get('password')
self.email = email
self.username = username
self.password = generate_password_hash(password)
def check_password(self, raw_password):
result = check_password_hash(self.password, raw_password)
return result
class Question(db.Model):
__tablename__ = 'question'
id = db.Column(db.Integer, primary_key=True, autoincrement=True)
title = db.Column(db.String(100), nullable=False)
content = db.Column(db.Text, nullable=False)
create_time = db.Column(db.DateTime, default=datetime.now, nullable=False)
author_id = db.Column(db.Integer, db.ForeignKey('user.id'))
author = db.relationship('User', backref=db.backref('questions'))
class Answer(db.Model):
__tablename__ = 'answer'
id = db.Column(db.Integer, primary_key=True, autoincrement=True)
content = db.Column(db.Text, nullable=False)
create_time = db.Column(db.DateTime, default=datetime.now, nullable=False)
question_id = db.Column(db.Integer, db.ForeignKey('question.id'))
author_id = db.Column(db.Integer, db.ForeignKey('user.id'))
question = db.relationship('Question', backref=db.backref('answers', order_by=create_time.desc()))
author = db.relationship('User', backref=db.backref('answers'))
| [
1,
529,
276,
1112,
420,
29958,
11360,
561,
2018,
29899,
13891,
29914,
1579,
1278,
29899,
7312,
13,
3166,
1294,
29879,
1053,
4833,
13,
3166,
12865,
1053,
12865,
13,
3166,
23085,
13289,
29889,
8926,
1053,
5706,
29918,
5630,
29918,
8568,
29892,
1423,
29918,
5630,
29918,
8568,
13,
13,
1990,
4911,
29898,
2585,
29889,
3195,
1125,
13,
1678,
4770,
3891,
2435,
420,
1649,
353,
525,
1792,
29915,
13,
1678,
1178,
353,
4833,
29889,
4409,
29898,
2585,
29889,
7798,
29892,
7601,
29918,
1989,
29922,
5574,
29892,
4469,
25629,
29922,
5574,
29897,
13,
1678,
4876,
353,
4833,
29889,
4409,
29898,
2585,
29889,
1231,
29898,
29945,
29900,
511,
1870,
519,
29922,
8824,
29897,
13,
1678,
8952,
353,
4833,
29889,
4409,
29898,
2585,
29889,
1231,
29898,
29945,
29900,
511,
1870,
519,
29922,
8824,
29897,
13,
1678,
4800,
353,
4833,
29889,
4409,
29898,
2585,
29889,
1231,
29898,
29896,
29900,
29900,
511,
1870,
519,
29922,
8824,
29897,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
334,
5085,
29892,
3579,
19290,
1125,
13,
4706,
4876,
353,
9049,
5085,
29889,
657,
877,
5269,
1495,
13,
4706,
8952,
353,
9049,
5085,
29889,
657,
877,
6786,
1495,
13,
4706,
4800,
353,
9049,
5085,
29889,
657,
877,
5630,
1495,
13,
4706,
1583,
29889,
5269,
353,
4876,
13,
4706,
1583,
29889,
6786,
353,
8952,
13,
4706,
1583,
29889,
5630,
353,
5706,
29918,
5630,
29918,
8568,
29898,
5630,
29897,
13,
13,
1678,
822,
1423,
29918,
5630,
29898,
1311,
29892,
10650,
29918,
5630,
1125,
13,
4706,
1121,
353,
1423,
29918,
5630,
29918,
8568,
29898,
1311,
29889,
5630,
29892,
10650,
29918,
5630,
29897,
13,
4706,
736,
1121,
13,
13,
1990,
894,
29898,
2585,
29889,
3195,
1125,
13,
1678,
4770,
3891,
2435,
420,
1649,
353,
525,
12470,
29915,
13,
1678,
1178,
353,
4833,
29889,
4409,
29898,
2585,
29889,
7798,
29892,
7601,
29918,
1989,
29922,
5574,
29892,
4469,
25629,
29922,
5574,
29897,
13,
1678,
3611,
353,
4833,
29889,
4409,
29898,
2585,
29889,
1231,
29898,
29896,
29900,
29900,
511,
1870,
519,
29922,
8824,
29897,
13,
1678,
2793,
353,
4833,
29889,
4409,
29898,
2585,
29889,
1626,
29892,
1870,
519,
29922,
8824,
29897,
13,
1678,
1653,
29918,
2230,
353,
4833,
29889,
4409,
29898,
2585,
29889,
11384,
29892,
2322,
29922,
12673,
29889,
3707,
29892,
1870,
519,
29922,
8824,
29897,
13,
1678,
4148,
29918,
333,
353,
4833,
29889,
4409,
29898,
2585,
29889,
7798,
29892,
4833,
29889,
27755,
2558,
877,
1792,
29889,
333,
8785,
13,
1678,
4148,
353,
4833,
29889,
2674,
800,
4034,
877,
2659,
742,
1250,
999,
29922,
2585,
29889,
1627,
999,
877,
2619,
8785,
13,
13,
1990,
673,
29898,
2585,
29889,
3195,
1125,
13,
1678,
4770,
3891,
2435,
420,
1649,
353,
525,
12011,
29915,
13,
1678,
1178,
353,
4833,
29889,
4409,
29898,
2585,
29889,
7798,
29892,
7601,
29918,
1989,
29922,
5574,
29892,
4469,
25629,
29922,
5574,
29897,
13,
1678,
2793,
353,
4833,
29889,
4409,
29898,
2585,
29889,
1626,
29892,
1870,
519,
29922,
8824,
29897,
13,
1678,
1653,
29918,
2230,
353,
4833,
29889,
4409,
29898,
2585,
29889,
11384,
29892,
2322,
29922,
12673,
29889,
3707,
29892,
1870,
519,
29922,
8824,
29897,
13,
1678,
1139,
29918,
333,
353,
4833,
29889,
4409,
29898,
2585,
29889,
7798,
29892,
4833,
29889,
27755,
2558,
877,
12470,
29889,
333,
8785,
13,
1678,
4148,
29918,
333,
353,
4833,
29889,
4409,
29898,
2585,
29889,
7798,
29892,
4833,
29889,
27755,
2558,
877,
1792,
29889,
333,
8785,
13,
1678,
1139,
353,
4833,
29889,
2674,
800,
4034,
877,
16492,
742,
1250,
999,
29922,
2585,
29889,
1627,
999,
877,
550,
17538,
742,
1797,
29918,
1609,
29922,
3258,
29918,
2230,
29889,
14273,
22130,
13,
1678,
4148,
353,
4833,
29889,
2674,
800,
4034,
877,
2659,
742,
1250,
999,
29922,
2585,
29889,
1627,
999,
877,
550,
17538,
8785,
13,
268,
13,
2
] |
src/dflow/analysis.py | slawler/SI_2019_Coastal | 1 | 82685 | <reponame>slawler/SI_2019_Coastal<filename>src/dflow/analysis.py
def tide_constituents(dates, elevation):
from tappy import tappy
quiet = True
debug = False
outputts = False
outputxml = False
ephemeris = False
rayleigh = 1.0
print_vau_table = False
missing_data = 'ignore'
linear_trend = False
remove_extreme = False
zero_ts = None
filter = None
pad_filters = None
include_inferred = True
if rayleigh:
ray = float(rayleigh)
x = tappy.tappy(
outputts=outputts,
outputxml=outputxml,
quiet=quiet,
debug=debug,
ephemeris=ephemeris,
rayleigh=rayleigh,
print_vau_table=print_vau_table,
missing_data=missing_data,
linear_trend=linear_trend,
remove_extreme=remove_extreme,
zero_ts=zero_ts,
filter=filter,
pad_filters=pad_filters,
include_inferred=include_inferred,
)
x.dates = dates
x.elevation = elevation
package = x.astronomic(x.dates)
(x.zeta, x.nu, x.nup, x.nupp, x.kap_p, x.ii, x.R, x.Q, x.T, x.jd, x.s, x.h,
x.N, x.p, x.p1) = package
(x.speed_dict, x.key_list) = x.which_constituents(len(x.dates),
package,
rayleigh_comp=ray)
# the analysis
x.constituents()
return x
def _decompose(dates, elvs_list):
from tqdm import tqdm
amps_list, phases_list = [], []
for elvs in tqdm(elvs_list):
con = tide_constituents(dates, elvs)
amps_list.append((con.r['M2'], con.r['M4']))
phases_list.append((con.phase['M2'], con.phase['M4']))
return [amps_list, phases_list]
def decompose(dates, elvs_list):
import multiprocessing
from functools import partial
import numpy as np
pool = multiprocessing.Pool()
print('Computing the tidal constituents in parallel with ' +
f'{pool._processes} processors ...')
decompose_el = partial(_decompose, dates)
tide_list = pool.map(decompose_el, elvs_list)
pool.close()
amps_list = [np.column_stack(tide[0]) for tide in tide_list]
phases_list = [np.column_stack(tide[1]) for tide in tide_list]
return amps_list, phases_list
| [
1,
529,
276,
1112,
420,
29958,
29879,
10653,
1358,
29914,
5425,
29918,
29906,
29900,
29896,
29929,
29918,
7967,
579,
284,
29966,
9507,
29958,
4351,
29914,
29881,
1731,
29914,
15916,
29889,
2272,
13,
1753,
260,
680,
29918,
3075,
1981,
1237,
29898,
15190,
29892,
11858,
362,
1125,
13,
1678,
515,
260,
14862,
1053,
260,
14862,
13,
13,
1678,
11813,
353,
5852,
13,
1678,
4744,
353,
7700,
13,
1678,
1962,
1372,
353,
7700,
13,
1678,
1962,
3134,
353,
7700,
13,
1678,
321,
561,
25154,
275,
353,
7700,
13,
1678,
15570,
280,
1141,
353,
29871,
29896,
29889,
29900,
13,
1678,
1596,
29918,
29894,
585,
29918,
2371,
353,
7700,
13,
1678,
4567,
29918,
1272,
353,
525,
17281,
29915,
13,
1678,
5608,
29918,
509,
355,
353,
7700,
13,
1678,
3349,
29918,
1062,
10291,
353,
7700,
13,
1678,
5225,
29918,
1372,
353,
6213,
13,
1678,
4175,
353,
6213,
13,
1678,
17132,
29918,
26705,
353,
6213,
13,
1678,
3160,
29918,
262,
14373,
353,
5852,
13,
13,
1678,
565,
15570,
280,
1141,
29901,
13,
4706,
15570,
353,
5785,
29898,
764,
280,
1141,
29897,
13,
13,
1678,
921,
353,
260,
14862,
29889,
29873,
14862,
29898,
13,
4706,
1962,
1372,
29922,
4905,
1372,
29892,
13,
4706,
1962,
3134,
29922,
4905,
3134,
29892,
13,
4706,
11813,
29922,
339,
2035,
29892,
13,
4706,
4744,
29922,
8382,
29892,
13,
4706,
321,
561,
25154,
275,
29922,
29872,
561,
25154,
275,
29892,
13,
4706,
15570,
280,
1141,
29922,
764,
280,
1141,
29892,
13,
4706,
1596,
29918,
29894,
585,
29918,
2371,
29922,
2158,
29918,
29894,
585,
29918,
2371,
29892,
13,
4706,
4567,
29918,
1272,
29922,
27259,
29918,
1272,
29892,
13,
4706,
5608,
29918,
509,
355,
29922,
10660,
29918,
509,
355,
29892,
13,
4706,
3349,
29918,
1062,
10291,
29922,
5992,
29918,
1062,
10291,
29892,
13,
4706,
5225,
29918,
1372,
29922,
9171,
29918,
1372,
29892,
13,
4706,
4175,
29922,
4572,
29892,
13,
4706,
17132,
29918,
26705,
29922,
8305,
29918,
26705,
29892,
13,
4706,
3160,
29918,
262,
14373,
29922,
2856,
29918,
262,
14373,
29892,
13,
1678,
1723,
13,
13,
1678,
921,
29889,
15190,
353,
10116,
13,
1678,
921,
29889,
29872,
2608,
362,
353,
11858,
362,
13,
1678,
3577,
353,
921,
29889,
7614,
4917,
293,
29898,
29916,
29889,
15190,
29897,
13,
1678,
313,
29916,
29889,
11327,
29892,
921,
29889,
3433,
29892,
921,
29889,
29876,
786,
29892,
921,
29889,
3433,
407,
29892,
921,
29889,
21474,
29918,
29886,
29892,
921,
29889,
2236,
29892,
921,
29889,
29934,
29892,
921,
29889,
29984,
29892,
921,
29889,
29911,
29892,
921,
29889,
26012,
29892,
921,
29889,
29879,
29892,
921,
29889,
29882,
29892,
13,
268,
921,
29889,
29940,
29892,
921,
29889,
29886,
29892,
921,
29889,
29886,
29896,
29897,
353,
3577,
13,
1678,
313,
29916,
29889,
19322,
29918,
8977,
29892,
921,
29889,
1989,
29918,
1761,
29897,
353,
921,
29889,
4716,
29918,
3075,
1981,
1237,
29898,
2435,
29898,
29916,
29889,
15190,
511,
13,
462,
462,
462,
418,
3577,
29892,
13,
462,
462,
462,
418,
15570,
280,
1141,
29918,
2388,
29922,
764,
29897,
13,
13,
1678,
396,
278,
7418,
13,
1678,
921,
29889,
3075,
1981,
1237,
580,
13,
13,
1678,
736,
921,
13,
13,
13,
1753,
903,
311,
19438,
29898,
15190,
29892,
560,
4270,
29918,
1761,
1125,
13,
1678,
515,
260,
29939,
18933,
1053,
260,
29939,
18933,
13,
13,
1678,
626,
567,
29918,
1761,
29892,
29540,
29918,
1761,
353,
19997,
5159,
13,
1678,
363,
560,
4270,
297,
260,
29939,
18933,
29898,
295,
4270,
29918,
1761,
1125,
13,
4706,
378,
353,
260,
680,
29918,
3075,
1981,
1237,
29898,
15190,
29892,
560,
4270,
29897,
13,
4706,
626,
567,
29918,
1761,
29889,
4397,
3552,
535,
29889,
29878,
1839,
29924,
29906,
7464,
378,
29889,
29878,
1839,
29924,
29946,
25901,
13,
4706,
29540,
29918,
1761,
29889,
4397,
3552,
535,
29889,
21646,
1839,
29924,
29906,
7464,
378,
29889,
21646,
1839,
29924,
29946,
25901,
13,
1678,
736,
518,
15092,
29918,
1761,
29892,
29540,
29918,
1761,
29962,
13,
13,
13,
1753,
316,
19438,
29898,
15190,
29892,
560,
4270,
29918,
1761,
1125,
13,
1678,
1053,
6674,
307,
985,
292,
13,
1678,
515,
2090,
312,
8789,
1053,
7687,
13,
1678,
1053,
12655,
408,
7442,
13,
13,
1678,
11565,
353,
6674,
307,
985,
292,
29889,
11426,
580,
13,
1678,
1596,
877,
20606,
292,
278,
10668,
284,
10719,
1237,
297,
8943,
411,
525,
718,
13,
3986,
285,
29915,
29912,
10109,
3032,
5014,
267,
29913,
1889,
943,
2023,
1495,
13,
1678,
316,
19438,
29918,
295,
353,
7687,
7373,
311,
19438,
29892,
10116,
29897,
13,
1678,
260,
680,
29918,
1761,
353,
11565,
29889,
1958,
29898,
311,
19438,
29918,
295,
29892,
560,
4270,
29918,
1761,
29897,
13,
1678,
11565,
29889,
5358,
580,
13,
1678,
626,
567,
29918,
1761,
353,
518,
9302,
29889,
4914,
29918,
1429,
29898,
29873,
680,
29961,
29900,
2314,
363,
260,
680,
297,
260,
680,
29918,
1761,
29962,
13,
1678,
29540,
29918,
1761,
353,
518,
9302,
29889,
4914,
29918,
1429,
29898,
29873,
680,
29961,
29896,
2314,
363,
260,
680,
297,
260,
680,
29918,
1761,
29962,
13,
1678,
736,
626,
567,
29918,
1761,
29892,
29540,
29918,
1761,
13,
2
] |
teuthology/orchestra/test/util.py | varshar16/teuthology | 117 | 135471 | def assert_raises(excClass, callableObj, *args, **kwargs):
"""
Like unittest.TestCase.assertRaises, but returns the exception.
"""
try:
callableObj(*args, **kwargs)
except excClass as e:
return e
else:
if hasattr(excClass,'__name__'): excName = excClass.__name__
else: excName = str(excClass)
raise AssertionError("%s not raised" % excName)
| [
1,
822,
4974,
29918,
336,
4637,
29898,
735,
29883,
2385,
29892,
1246,
519,
9930,
29892,
334,
5085,
29892,
3579,
19290,
1125,
13,
1678,
9995,
13,
1678,
8502,
443,
27958,
29889,
3057,
8259,
29889,
9294,
29934,
1759,
267,
29892,
541,
3639,
278,
3682,
29889,
13,
1678,
9995,
13,
1678,
1018,
29901,
13,
4706,
1246,
519,
9930,
10456,
5085,
29892,
3579,
19290,
29897,
13,
1678,
5174,
5566,
2385,
408,
321,
29901,
13,
4706,
736,
321,
13,
1678,
1683,
29901,
13,
4706,
565,
756,
5552,
29898,
735,
29883,
2385,
5501,
1649,
978,
1649,
29374,
5566,
1170,
353,
5566,
2385,
17255,
978,
1649,
13,
4706,
1683,
29901,
5566,
1170,
353,
851,
29898,
735,
29883,
2385,
29897,
13,
4706,
12020,
16499,
291,
2392,
11702,
29879,
451,
10425,
29908,
1273,
5566,
1170,
29897,
13,
2
] |
Stage_3/Task11_Graph/depth_first_search.py | Pyabecedarian/Algorithms-and-Data-Structures-using-Python | 0 | 7271 | """
The Depth First Search (DFS)
The goal of a dfs is to search as deeply as possible, connecting as many nodes in the graph as possible and
branching where necessary. Think of the BFS that builds a search tree one level at a time, whereas the DFS
creates a search tree by exploring one branch of the tree as deeply as possible.
As with bfs the dfs makes use of `predecessor` links to construct the tree. In
addition, the dfs will make use of two additional instance variables in the Vertex class, `discovery` and
`finish_time`.
predecessor : same as bfs
discovery : tracks the number of steps in the algorithm before a vertex is first encountered;
finish_time : is the number of steps before a vertex is colored black
"""
from datastruct.graph import Vertex, Graph
class DFSGraph(Graph):
def __init__(self):
super(DFSGraph, self).__init__()
self.time = 0
def reset(self):
self.time = 0
for v in self:
v.color = 'white'
v.predecessor = None
def dfs(self):
self.reset()
for v in self:
if v.color == 'white':
self._dfs_visit(v)
def _dfs_visit(self, vert: Vertex):
vert.color = 'gray'
self.time += 1
vert.discovery = self.time
for nextv in vert.get_connections():
if nextv.color == 'white':
nextv.predecessor = vert
self._dfs_visit(nextv)
vert.color = 'black'
self.time += 1
vert.finish_time = self.time
| [
1,
9995,
13,
1576,
10034,
386,
3824,
11856,
313,
4037,
29903,
29897,
13,
13,
1678,
450,
7306,
310,
263,
4489,
29879,
338,
304,
2740,
408,
24344,
408,
1950,
29892,
16791,
408,
1784,
7573,
297,
278,
3983,
408,
1950,
322,
13,
1678,
5443,
292,
988,
5181,
29889,
25086,
310,
278,
350,
9998,
393,
23315,
263,
2740,
5447,
697,
3233,
472,
263,
931,
29892,
13452,
278,
360,
9998,
13,
1678,
10017,
263,
2740,
5447,
491,
3902,
8253,
697,
5443,
310,
278,
5447,
408,
24344,
408,
1950,
29889,
13,
13,
1678,
1094,
411,
289,
5847,
278,
4489,
29879,
3732,
671,
310,
421,
1457,
311,
985,
272,
29952,
2988,
304,
3386,
278,
5447,
29889,
512,
13,
1678,
6124,
29892,
278,
4489,
29879,
674,
1207,
671,
310,
1023,
5684,
2777,
3651,
297,
278,
1798,
4776,
770,
29892,
421,
2218,
11911,
29891,
29952,
322,
13,
1678,
421,
4951,
728,
29918,
2230,
1412,
13,
13,
4706,
27978,
985,
272,
584,
1021,
408,
289,
5847,
13,
4706,
20699,
259,
584,
16257,
278,
1353,
310,
6576,
297,
278,
5687,
1434,
263,
12688,
338,
937,
18169,
29936,
13,
4706,
8341,
29918,
2230,
584,
338,
278,
1353,
310,
6576,
1434,
263,
12688,
338,
28684,
4628,
13,
13,
15945,
29908,
13,
3166,
6155,
509,
5313,
29889,
4262,
1053,
1798,
4776,
29892,
12367,
13,
13,
13,
1990,
360,
9998,
9527,
29898,
9527,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
1125,
13,
4706,
2428,
29898,
4037,
29903,
9527,
29892,
1583,
467,
1649,
2344,
1649,
580,
13,
4706,
1583,
29889,
2230,
353,
29871,
29900,
13,
13,
1678,
822,
10092,
29898,
1311,
1125,
13,
4706,
1583,
29889,
2230,
353,
29871,
29900,
13,
4706,
363,
325,
297,
1583,
29901,
13,
9651,
325,
29889,
2780,
353,
525,
10921,
29915,
13,
9651,
325,
29889,
1457,
311,
985,
272,
353,
6213,
13,
13,
1678,
822,
4489,
29879,
29898,
1311,
1125,
13,
4706,
1583,
29889,
12071,
580,
13,
13,
4706,
363,
325,
297,
1583,
29901,
13,
9651,
565,
325,
29889,
2780,
1275,
525,
10921,
2396,
13,
18884,
1583,
3032,
29069,
29918,
1730,
277,
29898,
29894,
29897,
13,
13,
1678,
822,
903,
29069,
29918,
1730,
277,
29898,
1311,
29892,
4837,
29901,
1798,
4776,
1125,
13,
4706,
4837,
29889,
2780,
353,
525,
21012,
29915,
13,
4706,
1583,
29889,
2230,
4619,
29871,
29896,
13,
4706,
4837,
29889,
2218,
11911,
29891,
353,
1583,
29889,
2230,
13,
4706,
363,
2446,
29894,
297,
4837,
29889,
657,
29918,
11958,
1953,
7295,
13,
9651,
565,
2446,
29894,
29889,
2780,
1275,
525,
10921,
2396,
13,
18884,
2446,
29894,
29889,
1457,
311,
985,
272,
353,
4837,
13,
18884,
1583,
3032,
29069,
29918,
1730,
277,
29898,
4622,
29894,
29897,
13,
4706,
4837,
29889,
2780,
353,
525,
8517,
29915,
13,
4706,
1583,
29889,
2230,
4619,
29871,
29896,
13,
4706,
4837,
29889,
4951,
728,
29918,
2230,
353,
1583,
29889,
2230,
13,
13,
13,
13,
2
] |
src/prefpanels/PrintingPanel.py | vadmium/grailbrowser | 9 | 81325 | """General Grail preferences panel."""
__version__ = "$Revision: 1.12 $"
import grailutil
import PrefsPanels
import string
import Tkinter
GROUP = "printing"
LABEL_WIDTH = 16
class FontSizeVar(Tkinter.StringVar):
_default = "10.0 / 10.7"
def get(self):
sizes = grailutil.conv_fontsize(Tkinter.StringVar.get(self))
return "%s / %s" % sizes
def set(self, value):
sizes = grailutil.conv_fontsize(value)
return Tkinter.StringVar.set(self, "%s / %s" % sizes)
class StringSetVar(Tkinter.StringVar):
def get(self):
return string.lower(Tkinter.StringVar.get(self))
def set(self, value):
value = string.capitalize(value)
return Tkinter.StringVar.set(self, value)
class PrintingPanel(PrefsPanels.Framework):
"""Printing preferences."""
# Class var for help button - relative to grail-help-root.
HELP_URL = "help/prefs/printing.html"
def CreateLayout(self, name, frame):
# Printer configs are simple enough to use the convenience functions
self.PrefsEntry(frame, 'Print command: ',
GROUP, 'command',
entry_width=20, label_width=LABEL_WIDTH)
self.PrefsCheckButton(frame, "Images: ", "Print images ",
GROUP, 'images',
label_width=LABEL_WIDTH)
self.PrefsCheckButton(frame, " ", "Reduce images to greyscale",
GROUP, 'greyscale',
label_width=LABEL_WIDTH)
self.PrefsCheckButton(frame, "Anchors: ", "Footnotes for anchors",
GROUP, 'footnote-anchors',
label_width=LABEL_WIDTH)
self.PrefsCheckButton(frame, " ", "Underline anchors",
GROUP, 'underline-anchors',
label_width=LABEL_WIDTH)
# paper size:
var = StringSetVar()
import printing.paper
sizes = printing.paper.paper_sizes.keys()
sizes.sort()
sizes = map(string.capitalize, sizes)
self.PrefsOptionMenu(frame, "Paper size: ", GROUP, 'paper-size',
sizes, label_width=LABEL_WIDTH,
variable=StringSetVar())
# page orientation:
var = StringSetVar()
opts = printing.paper.paper_rotations.keys()
opts.sort()
opts = map(string.capitalize, opts)
self.PrefsOptionMenu(frame, "Orientation: ", GROUP, 'orientation',
opts, label_width=LABEL_WIDTH,
variable=StringSetVar())
# font size and leading:
self.PrefsEntry(frame, "Font size: ",
GROUP, 'font-size',
typename='string', entry_width=12,
label_width=LABEL_WIDTH, variable=FontSizeVar())
# paragraph treatment:
f = Tkinter.Frame(frame)
self.PrefsWidgetLabel(f, "Paragraphs:", label_width=LABEL_WIDTH)
# Pack some preferences entries together in a frame - we use the
# PrefsEntry 'composite' feature here, to put them together on the
# right-hand side of the label:
tempfr = Tkinter.Frame(f, borderwidth=1)
tempfr.pack(side=Tkinter.LEFT)
entries_frame = Tkinter.Frame(
tempfr, relief=Tkinter.SUNKEN, borderwidth=1)
self.PrefsEntry(entries_frame,
"Indentation:",
GROUP, 'paragraph-indent', 'float',
label_width=10, entry_width=5, composite=1)
self.PrefsEntry(entries_frame,
"Vertical separation:",
GROUP, 'paragraph-skip', 'float',
label_width=16, entry_width=5, composite=1)
f.pack(fill=Tkinter.X, side=Tkinter.TOP, pady='1m')
| [
1,
9995,
15263,
4989,
309,
5821,
2063,
9451,
1213,
15945,
13,
13,
1649,
3259,
1649,
353,
3908,
1123,
4924,
29901,
29871,
29896,
29889,
29896,
29906,
395,
29908,
13,
13,
5215,
2646,
309,
4422,
13,
5215,
349,
24539,
23684,
1379,
13,
5215,
1347,
13,
5215,
323,
29895,
1639,
13,
13,
13,
26284,
353,
376,
2158,
292,
29908,
13,
24461,
6670,
29918,
22574,
353,
29871,
29896,
29953,
13,
13,
13,
1990,
10928,
3505,
9037,
29898,
29911,
29895,
1639,
29889,
1231,
9037,
1125,
13,
1678,
903,
4381,
353,
376,
29896,
29900,
29889,
29900,
847,
29871,
29896,
29900,
29889,
29955,
29908,
13,
1678,
822,
679,
29898,
1311,
1125,
13,
4706,
15786,
353,
2646,
309,
4422,
29889,
20580,
29918,
5657,
2311,
29898,
29911,
29895,
1639,
29889,
1231,
9037,
29889,
657,
29898,
1311,
876,
13,
4706,
736,
11860,
29879,
847,
1273,
29879,
29908,
1273,
15786,
13,
13,
1678,
822,
731,
29898,
1311,
29892,
995,
1125,
13,
4706,
15786,
353,
2646,
309,
4422,
29889,
20580,
29918,
5657,
2311,
29898,
1767,
29897,
13,
4706,
736,
323,
29895,
1639,
29889,
1231,
9037,
29889,
842,
29898,
1311,
29892,
11860,
29879,
847,
1273,
29879,
29908,
1273,
15786,
29897,
13,
13,
13,
1990,
1714,
2697,
9037,
29898,
29911,
29895,
1639,
29889,
1231,
9037,
1125,
13,
1678,
822,
679,
29898,
1311,
1125,
13,
4706,
736,
1347,
29889,
13609,
29898,
29911,
29895,
1639,
29889,
1231,
9037,
29889,
657,
29898,
1311,
876,
13,
13,
1678,
822,
731,
29898,
1311,
29892,
995,
1125,
13,
4706,
995,
353,
1347,
29889,
5030,
2410,
675,
29898,
1767,
29897,
13,
4706,
736,
323,
29895,
1639,
29889,
1231,
9037,
29889,
842,
29898,
1311,
29892,
995,
29897,
13,
13,
13,
1990,
13905,
292,
7490,
29898,
29925,
24539,
23684,
1379,
29889,
16660,
1125,
13,
1678,
9995,
11816,
292,
5821,
2063,
1213,
15945,
13,
13,
1678,
396,
4134,
722,
363,
1371,
2826,
448,
6198,
304,
2646,
309,
29899,
8477,
29899,
4632,
29889,
13,
1678,
379,
6670,
29925,
29918,
4219,
353,
376,
8477,
29914,
29886,
24539,
29914,
2158,
292,
29889,
1420,
29908,
13,
13,
1678,
822,
6204,
3453,
29898,
1311,
29892,
1024,
29892,
3515,
1125,
13,
13,
4706,
396,
1588,
1639,
2295,
29879,
526,
2560,
3307,
304,
671,
278,
29703,
3168,
13,
4706,
1583,
29889,
29925,
24539,
9634,
29898,
2557,
29892,
525,
11816,
1899,
29901,
13420,
13,
462,
4706,
15345,
29892,
525,
6519,
742,
13,
462,
4706,
6251,
29918,
2103,
29922,
29906,
29900,
29892,
3858,
29918,
2103,
29922,
24461,
6670,
29918,
22574,
29897,
13,
4706,
1583,
29889,
29925,
24539,
5596,
3125,
29898,
2557,
29892,
376,
20163,
29901,
9162,
376,
11816,
4558,
9162,
13,
462,
795,
15345,
29892,
525,
8346,
742,
13,
462,
795,
3858,
29918,
2103,
29922,
24461,
6670,
29918,
22574,
29897,
13,
4706,
1583,
29889,
29925,
24539,
5596,
3125,
29898,
2557,
29892,
376,
9162,
376,
29934,
6085,
346,
4558,
304,
1395,
952,
29883,
744,
613,
13,
462,
795,
15345,
29892,
525,
7979,
952,
29883,
744,
742,
13,
462,
795,
3858,
29918,
2103,
29922,
24461,
6670,
29918,
22574,
29897,
13,
4706,
1583,
29889,
29925,
24539,
5596,
3125,
29898,
2557,
29892,
376,
2744,
305,
943,
29901,
9162,
376,
13440,
16953,
363,
23791,
943,
613,
13,
462,
795,
15345,
29892,
525,
20273,
29899,
14588,
943,
742,
13,
462,
795,
3858,
29918,
2103,
29922,
24461,
6670,
29918,
22574,
29897,
13,
4706,
1583,
29889,
29925,
24539,
5596,
3125,
29898,
2557,
29892,
376,
9162,
376,
29177,
1220,
23791,
943,
613,
13,
462,
795,
15345,
29892,
525,
15614,
29899,
14588,
943,
742,
13,
462,
795,
3858,
29918,
2103,
29922,
24461,
6670,
29918,
22574,
29897,
13,
4706,
396,
5650,
2159,
29901,
13,
4706,
722,
353,
1714,
2697,
9037,
580,
13,
4706,
1053,
14010,
29889,
19773,
13,
4706,
15786,
353,
14010,
29889,
19773,
29889,
19773,
29918,
29879,
7093,
29889,
8149,
580,
13,
4706,
15786,
29889,
6605,
580,
13,
4706,
15786,
353,
2910,
29898,
1807,
29889,
5030,
2410,
675,
29892,
15786,
29897,
13,
4706,
1583,
29889,
29925,
24539,
8375,
6823,
29898,
2557,
29892,
376,
29925,
7202,
2159,
29901,
9162,
15345,
29892,
525,
19773,
29899,
2311,
742,
13,
462,
632,
15786,
29892,
3858,
29918,
2103,
29922,
24461,
6670,
29918,
22574,
29892,
13,
462,
632,
2286,
29922,
1231,
2697,
9037,
3101,
13,
4706,
396,
1813,
19843,
29901,
13,
4706,
722,
353,
1714,
2697,
9037,
580,
13,
4706,
29111,
353,
14010,
29889,
19773,
29889,
19773,
29918,
5450,
800,
29889,
8149,
580,
13,
4706,
29111,
29889,
6605,
580,
13,
4706,
29111,
353,
2910,
29898,
1807,
29889,
5030,
2410,
675,
29892,
29111,
29897,
13,
4706,
1583,
29889,
29925,
24539,
8375,
6823,
29898,
2557,
29892,
376,
25231,
29901,
9162,
15345,
29892,
525,
20659,
742,
13,
462,
632,
29111,
29892,
3858,
29918,
2103,
29922,
24461,
6670,
29918,
22574,
29892,
13,
462,
632,
2286,
29922,
1231,
2697,
9037,
3101,
13,
4706,
396,
4079,
2159,
322,
8236,
29901,
13,
4706,
1583,
29889,
29925,
24539,
9634,
29898,
2557,
29892,
376,
9824,
2159,
29901,
9162,
13,
462,
4706,
15345,
29892,
525,
5657,
29899,
2311,
742,
13,
462,
4706,
2393,
3871,
2433,
1807,
742,
6251,
29918,
2103,
29922,
29896,
29906,
29892,
13,
462,
4706,
3858,
29918,
2103,
29922,
24461,
6670,
29918,
22574,
29892,
2286,
29922,
9824,
3505,
9037,
3101,
13,
13,
4706,
396,
14880,
14502,
29901,
13,
4706,
285,
353,
323,
29895,
1639,
29889,
4308,
29898,
2557,
29897,
13,
4706,
1583,
29889,
29925,
24539,
8801,
4775,
29898,
29888,
29892,
376,
2177,
9895,
29879,
29901,
613,
3858,
29918,
2103,
29922,
24461,
6670,
29918,
22574,
29897,
13,
4706,
396,
18744,
777,
5821,
2063,
9976,
4208,
297,
263,
3515,
448,
591,
671,
278,
13,
4706,
396,
349,
24539,
9634,
525,
22410,
568,
29915,
4682,
1244,
29892,
304,
1925,
963,
4208,
373,
278,
13,
4706,
396,
1492,
29899,
3179,
2625,
310,
278,
3858,
29901,
13,
4706,
5694,
1341,
353,
323,
29895,
1639,
29889,
4308,
29898,
29888,
29892,
5139,
2103,
29922,
29896,
29897,
13,
4706,
5694,
1341,
29889,
4058,
29898,
2975,
29922,
29911,
29895,
1639,
29889,
28024,
29897,
13,
4706,
9976,
29918,
2557,
353,
323,
29895,
1639,
29889,
4308,
29898,
13,
9651,
5694,
1341,
29892,
18892,
29922,
29911,
29895,
1639,
29889,
29903,
3904,
29968,
1430,
29892,
5139,
2103,
29922,
29896,
29897,
13,
4706,
1583,
29889,
29925,
24539,
9634,
29898,
26586,
29918,
2557,
29892,
13,
462,
4706,
376,
2568,
9233,
29901,
613,
13,
462,
4706,
15345,
29892,
525,
26956,
29899,
12860,
742,
525,
7411,
742,
13,
462,
4706,
3858,
29918,
2103,
29922,
29896,
29900,
29892,
6251,
29918,
2103,
29922,
29945,
29892,
20842,
29922,
29896,
29897,
13,
4706,
1583,
29889,
29925,
24539,
9634,
29898,
26586,
29918,
2557,
29892,
13,
462,
4706,
376,
29270,
23683,
29901,
613,
13,
462,
4706,
15345,
29892,
525,
26956,
29899,
11014,
742,
525,
7411,
742,
13,
462,
4706,
3858,
29918,
2103,
29922,
29896,
29953,
29892,
6251,
29918,
2103,
29922,
29945,
29892,
20842,
29922,
29896,
29897,
13,
4706,
285,
29889,
4058,
29898,
5589,
29922,
29911,
29895,
1639,
29889,
29990,
29892,
2625,
29922,
29911,
29895,
1639,
29889,
29911,
4590,
29892,
282,
3714,
2433,
29896,
29885,
1495,
13,
2
] |
tests/components/sonos/test_sensor.py | MrDelik/core | 3 | 129171 | """Tests for the Sonos battery sensor platform."""
from unittest.mock import PropertyMock
from soco.exceptions import NotSupportedException
from homeassistant.components.sensor import SCAN_INTERVAL
from homeassistant.components.sonos.binary_sensor import ATTR_BATTERY_POWER_SOURCE
from homeassistant.const import STATE_OFF, STATE_ON
from homeassistant.helpers import entity_registry as ent_reg
from homeassistant.util import dt as dt_util
from tests.common import async_fire_time_changed
async def test_entity_registry_unsupported(hass, async_setup_sonos, soco):
"""Test sonos device without battery registered in the device registry."""
soco.get_battery_info.side_effect = NotSupportedException
await async_setup_sonos()
entity_registry = ent_reg.async_get(hass)
assert "media_player.zone_a" in entity_registry.entities
assert "sensor.zone_a_battery" not in entity_registry.entities
assert "binary_sensor.zone_a_power" not in entity_registry.entities
async def test_entity_registry_supported(hass, async_autosetup_sonos, soco):
"""Test sonos device with battery registered in the device registry."""
entity_registry = ent_reg.async_get(hass)
assert "media_player.zone_a" in entity_registry.entities
assert "sensor.zone_a_battery" in entity_registry.entities
assert "binary_sensor.zone_a_power" in entity_registry.entities
async def test_battery_attributes(hass, async_autosetup_sonos, soco):
"""Test sonos device with battery state."""
entity_registry = ent_reg.async_get(hass)
battery = entity_registry.entities["sensor.zone_a_battery"]
battery_state = hass.states.get(battery.entity_id)
assert battery_state.state == "100"
assert battery_state.attributes.get("unit_of_measurement") == "%"
power = entity_registry.entities["binary_sensor.zone_a_power"]
power_state = hass.states.get(power.entity_id)
assert power_state.state == STATE_ON
assert (
power_state.attributes.get(ATTR_BATTERY_POWER_SOURCE) == "SONOS_CHARGING_RING"
)
async def test_battery_on_s1(hass, async_setup_sonos, soco, device_properties_event):
"""Test battery state updates on a Sonos S1 device."""
soco.get_battery_info.return_value = {}
await async_setup_sonos()
subscription = soco.deviceProperties.subscribe.return_value
sub_callback = subscription.callback
entity_registry = ent_reg.async_get(hass)
assert "sensor.zone_a_battery" not in entity_registry.entities
assert "binary_sensor.zone_a_power" not in entity_registry.entities
# Update the speaker with a callback event
sub_callback(device_properties_event)
await hass.async_block_till_done()
battery = entity_registry.entities["sensor.zone_a_battery"]
battery_state = hass.states.get(battery.entity_id)
assert battery_state.state == "100"
power = entity_registry.entities["binary_sensor.zone_a_power"]
power_state = hass.states.get(power.entity_id)
assert power_state.state == STATE_OFF
assert power_state.attributes.get(ATTR_BATTERY_POWER_SOURCE) == "BATTERY"
async def test_device_payload_without_battery(
hass, async_setup_sonos, soco, device_properties_event, caplog
):
"""Test device properties event update without battery info."""
soco.get_battery_info.return_value = None
await async_setup_sonos()
subscription = soco.deviceProperties.subscribe.return_value
sub_callback = subscription.callback
bad_payload = "BadKey:BadValue"
device_properties_event.variables["more_info"] = bad_payload
sub_callback(device_properties_event)
await hass.async_block_till_done()
assert bad_payload in caplog.text
async def test_device_payload_without_battery_and_ignored_keys(
hass, async_setup_sonos, soco, device_properties_event, caplog
):
"""Test device properties event update without battery info and ignored keys."""
soco.get_battery_info.return_value = None
await async_setup_sonos()
subscription = soco.deviceProperties.subscribe.return_value
sub_callback = subscription.callback
ignored_payload = "SPID:InCeiling,TargetRoomName:Bouncy House"
device_properties_event.variables["more_info"] = ignored_payload
sub_callback(device_properties_event)
await hass.async_block_till_done()
assert ignored_payload not in caplog.text
async def test_audio_input_sensor(
hass, async_autosetup_sonos, soco, tv_event, no_media_event
):
"""Test audio input sensor."""
entity_registry = ent_reg.async_get(hass)
subscription = soco.avTransport.subscribe.return_value
sub_callback = subscription.callback
sub_callback(tv_event)
await hass.async_block_till_done()
audio_input_sensor = entity_registry.entities["sensor.zone_a_audio_input_format"]
audio_input_state = hass.states.get(audio_input_sensor.entity_id)
assert audio_input_state.state == "Dolby 5.1"
# Set mocked input format to new value and ensure poll success
no_input_mock = PropertyMock(return_value="No input")
type(soco).soundbar_audio_input_format = no_input_mock
async_fire_time_changed(hass, dt_util.utcnow() + SCAN_INTERVAL)
await hass.async_block_till_done()
no_input_mock.assert_called_once()
audio_input_state = hass.states.get(audio_input_sensor.entity_id)
assert audio_input_state.state == "No input"
# Ensure state is not polled when source is not TV and state is already "No input"
sub_callback(no_media_event)
await hass.async_block_till_done()
unpolled_mock = PropertyMock(return_value="Will not be polled")
type(soco).soundbar_audio_input_format = unpolled_mock
async_fire_time_changed(hass, dt_util.utcnow() + SCAN_INTERVAL)
await hass.async_block_till_done()
unpolled_mock.assert_not_called()
audio_input_state = hass.states.get(audio_input_sensor.entity_id)
assert audio_input_state.state == "No input"
async def test_microphone_binary_sensor(
hass, async_autosetup_sonos, soco, device_properties_event
):
"""Test microphone binary sensor."""
entity_registry = ent_reg.async_get(hass)
assert "binary_sensor.zone_a_microphone" in entity_registry.entities
mic_binary_sensor = entity_registry.entities["binary_sensor.zone_a_microphone"]
mic_binary_sensor_state = hass.states.get(mic_binary_sensor.entity_id)
assert mic_binary_sensor_state.state == STATE_OFF
# Update the speaker with a callback event
subscription = soco.deviceProperties.subscribe.return_value
subscription.callback(device_properties_event)
await hass.async_block_till_done()
mic_binary_sensor_state = hass.states.get(mic_binary_sensor.entity_id)
assert mic_binary_sensor_state.state == STATE_ON
| [
1,
9995,
24376,
363,
278,
5791,
359,
16988,
23530,
7481,
1213,
15945,
13,
3166,
443,
27958,
29889,
17640,
1053,
9079,
18680,
13,
13,
3166,
269,
6235,
29889,
11739,
29879,
1053,
2216,
14039,
287,
2451,
13,
13,
3166,
3271,
465,
22137,
29889,
14036,
29889,
29879,
6073,
1053,
12314,
2190,
29918,
23845,
8932,
13,
3166,
3271,
465,
22137,
29889,
14036,
29889,
1100,
359,
29889,
19541,
29918,
29879,
6073,
1053,
15531,
5659,
29918,
29933,
1299,
4945,
29979,
29918,
29925,
9806,
1001,
29918,
27839,
4741,
13,
3166,
3271,
465,
22137,
29889,
3075,
1053,
6850,
3040,
29918,
27681,
29892,
6850,
3040,
29918,
1164,
13,
3166,
3271,
465,
22137,
29889,
3952,
6774,
1053,
7855,
29918,
1727,
6020,
408,
875,
29918,
1727,
13,
3166,
3271,
465,
22137,
29889,
4422,
1053,
11636,
408,
11636,
29918,
4422,
13,
13,
3166,
6987,
29889,
9435,
1053,
7465,
29918,
8696,
29918,
2230,
29918,
15033,
13,
13,
13,
12674,
822,
1243,
29918,
10041,
29918,
1727,
6020,
29918,
348,
23765,
29898,
29882,
465,
29892,
7465,
29918,
14669,
29918,
1100,
359,
29892,
269,
6235,
1125,
13,
1678,
9995,
3057,
1487,
359,
4742,
1728,
16988,
15443,
297,
278,
4742,
21235,
1213,
15945,
13,
1678,
269,
6235,
29889,
657,
29918,
29890,
2620,
29891,
29918,
3888,
29889,
2975,
29918,
15987,
353,
2216,
14039,
287,
2451,
13,
13,
1678,
7272,
7465,
29918,
14669,
29918,
1100,
359,
580,
13,
13,
1678,
7855,
29918,
1727,
6020,
353,
875,
29918,
1727,
29889,
12674,
29918,
657,
29898,
29882,
465,
29897,
13,
13,
1678,
4974,
376,
9799,
29918,
9106,
29889,
8028,
29918,
29874,
29908,
297,
7855,
29918,
1727,
6020,
29889,
296,
1907,
13,
1678,
4974,
376,
29879,
6073,
29889,
8028,
29918,
29874,
29918,
29890,
2620,
29891,
29908,
451,
297,
7855,
29918,
1727,
6020,
29889,
296,
1907,
13,
1678,
4974,
376,
19541,
29918,
29879,
6073,
29889,
8028,
29918,
29874,
29918,
13519,
29908,
451,
297,
7855,
29918,
1727,
6020,
29889,
296,
1907,
13,
13,
13,
12674,
822,
1243,
29918,
10041,
29918,
1727,
6020,
29918,
23765,
29898,
29882,
465,
29892,
7465,
29918,
1300,
359,
300,
786,
29918,
1100,
359,
29892,
269,
6235,
1125,
13,
1678,
9995,
3057,
1487,
359,
4742,
411,
16988,
15443,
297,
278,
4742,
21235,
1213,
15945,
13,
1678,
7855,
29918,
1727,
6020,
353,
875,
29918,
1727,
29889,
12674,
29918,
657,
29898,
29882,
465,
29897,
13,
13,
1678,
4974,
376,
9799,
29918,
9106,
29889,
8028,
29918,
29874,
29908,
297,
7855,
29918,
1727,
6020,
29889,
296,
1907,
13,
1678,
4974,
376,
29879,
6073,
29889,
8028,
29918,
29874,
29918,
29890,
2620,
29891,
29908,
297,
7855,
29918,
1727,
6020,
29889,
296,
1907,
13,
1678,
4974,
376,
19541,
29918,
29879,
6073,
29889,
8028,
29918,
29874,
29918,
13519,
29908,
297,
7855,
29918,
1727,
6020,
29889,
296,
1907,
13,
13,
13,
12674,
822,
1243,
29918,
29890,
2620,
29891,
29918,
15697,
29898,
29882,
465,
29892,
7465,
29918,
1300,
359,
300,
786,
29918,
1100,
359,
29892,
269,
6235,
1125,
13,
1678,
9995,
3057,
1487,
359,
4742,
411,
16988,
2106,
1213,
15945,
13,
1678,
7855,
29918,
1727,
6020,
353,
875,
29918,
1727,
29889,
12674,
29918,
657,
29898,
29882,
465,
29897,
13,
13,
1678,
16988,
353,
7855,
29918,
1727,
6020,
29889,
296,
1907,
3366,
29879,
6073,
29889,
8028,
29918,
29874,
29918,
29890,
2620,
29891,
3108,
13,
1678,
16988,
29918,
3859,
353,
298,
465,
29889,
28631,
29889,
657,
29898,
29890,
2620,
29891,
29889,
10041,
29918,
333,
29897,
13,
1678,
4974,
16988,
29918,
3859,
29889,
3859,
1275,
376,
29896,
29900,
29900,
29908,
13,
1678,
4974,
16988,
29918,
3859,
29889,
15697,
29889,
657,
703,
5441,
29918,
974,
29918,
26658,
358,
1159,
1275,
11860,
29908,
13,
13,
1678,
3081,
353,
7855,
29918,
1727,
6020,
29889,
296,
1907,
3366,
19541,
29918,
29879,
6073,
29889,
8028,
29918,
29874,
29918,
13519,
3108,
13,
1678,
3081,
29918,
3859,
353,
298,
465,
29889,
28631,
29889,
657,
29898,
13519,
29889,
10041,
29918,
333,
29897,
13,
1678,
4974,
3081,
29918,
3859,
29889,
3859,
1275,
6850,
3040,
29918,
1164,
13,
1678,
4974,
313,
13,
4706,
3081,
29918,
3859,
29889,
15697,
29889,
657,
29898,
1299,
5659,
29918,
29933,
1299,
4945,
29979,
29918,
29925,
9806,
1001,
29918,
27839,
4741,
29897,
1275,
376,
3094,
3267,
29918,
11282,
29954,
4214,
29918,
29934,
4214,
29908,
13,
1678,
1723,
13,
13,
13,
12674,
822,
1243,
29918,
29890,
2620,
29891,
29918,
265,
29918,
29879,
29896,
29898,
29882,
465,
29892,
7465,
29918,
14669,
29918,
1100,
359,
29892,
269,
6235,
29892,
4742,
29918,
11330,
29918,
3696,
1125,
13,
1678,
9995,
3057,
16988,
2106,
11217,
373,
263,
5791,
359,
317,
29896,
4742,
1213,
15945,
13,
1678,
269,
6235,
29889,
657,
29918,
29890,
2620,
29891,
29918,
3888,
29889,
2457,
29918,
1767,
353,
6571,
13,
13,
1678,
7272,
7465,
29918,
14669,
29918,
1100,
359,
580,
13,
13,
1678,
25691,
353,
269,
6235,
29889,
10141,
11857,
29889,
19496,
29889,
2457,
29918,
1767,
13,
1678,
1014,
29918,
14035,
353,
25691,
29889,
14035,
13,
13,
1678,
7855,
29918,
1727,
6020,
353,
875,
29918,
1727,
29889,
12674,
29918,
657,
29898,
29882,
465,
29897,
13,
13,
1678,
4974,
376,
29879,
6073,
29889,
8028,
29918,
29874,
29918,
29890,
2620,
29891,
29908,
451,
297,
7855,
29918,
1727,
6020,
29889,
296,
1907,
13,
1678,
4974,
376,
19541,
29918,
29879,
6073,
29889,
8028,
29918,
29874,
29918,
13519,
29908,
451,
297,
7855,
29918,
1727,
6020,
29889,
296,
1907,
13,
13,
1678,
396,
10318,
278,
25657,
411,
263,
6939,
1741,
13,
1678,
1014,
29918,
14035,
29898,
10141,
29918,
11330,
29918,
3696,
29897,
13,
1678,
7272,
298,
465,
29889,
12674,
29918,
1271,
29918,
29873,
453,
29918,
15091,
580,
13,
13,
1678,
16988,
353,
7855,
29918,
1727,
6020,
29889,
296,
1907,
3366,
29879,
6073,
29889,
8028,
29918,
29874,
29918,
29890,
2620,
29891,
3108,
13,
1678,
16988,
29918,
3859,
353,
298,
465,
29889,
28631,
29889,
657,
29898,
29890,
2620,
29891,
29889,
10041,
29918,
333,
29897,
13,
1678,
4974,
16988,
29918,
3859,
29889,
3859,
1275,
376,
29896,
29900,
29900,
29908,
13,
13,
1678,
3081,
353,
7855,
29918,
1727,
6020,
29889,
296,
1907,
3366,
19541,
29918,
29879,
6073,
29889,
8028,
29918,
29874,
29918,
13519,
3108,
13,
1678,
3081,
29918,
3859,
353,
298,
465,
29889,
28631,
29889,
657,
29898,
13519,
29889,
10041,
29918,
333,
29897,
13,
1678,
4974,
3081,
29918,
3859,
29889,
3859,
1275,
6850,
3040,
29918,
27681,
13,
1678,
4974,
3081,
29918,
3859,
29889,
15697,
29889,
657,
29898,
1299,
5659,
29918,
29933,
1299,
4945,
29979,
29918,
29925,
9806,
1001,
29918,
27839,
4741,
29897,
1275,
376,
29933,
1299,
4945,
29979,
29908,
13,
13,
13,
12674,
822,
1243,
29918,
10141,
29918,
23813,
29918,
14037,
29918,
29890,
2620,
29891,
29898,
13,
1678,
298,
465,
29892,
7465,
29918,
14669,
29918,
1100,
359,
29892,
269,
6235,
29892,
4742,
29918,
11330,
29918,
3696,
29892,
2117,
1188,
13,
1125,
13,
1678,
9995,
3057,
4742,
4426,
1741,
2767,
1728,
16988,
5235,
1213,
15945,
13,
1678,
269,
6235,
29889,
657,
29918,
29890,
2620,
29891,
29918,
3888,
29889,
2457,
29918,
1767,
353,
6213,
13,
13,
1678,
7272,
7465,
29918,
14669,
29918,
1100,
359,
580,
13,
13,
1678,
25691,
353,
269,
6235,
29889,
10141,
11857,
29889,
19496,
29889,
2457,
29918,
1767,
13,
1678,
1014,
29918,
14035,
353,
25691,
29889,
14035,
13,
13,
1678,
4319,
29918,
23813,
353,
376,
22050,
2558,
29901,
22050,
1917,
29908,
13,
1678,
4742,
29918,
11330,
29918,
3696,
29889,
20897,
3366,
5514,
29918,
3888,
3108,
353,
4319,
29918,
23813,
13,
13,
1678,
1014,
29918,
14035,
29898,
10141,
29918,
11330,
29918,
3696,
29897,
13,
1678,
7272,
298,
465,
29889,
12674,
29918,
1271,
29918,
29873,
453,
29918,
15091,
580,
13,
13,
1678,
4974,
4319,
29918,
23813,
297,
2117,
1188,
29889,
726,
13,
13,
13,
12674,
822,
1243,
29918,
10141,
29918,
23813,
29918,
14037,
29918,
29890,
2620,
29891,
29918,
392,
29918,
647,
4395,
29918,
8149,
29898,
13,
1678,
298,
465,
29892,
7465,
29918,
14669,
29918,
1100,
359,
29892,
269,
6235,
29892,
4742,
29918,
11330,
29918,
3696,
29892,
2117,
1188,
13,
1125,
13,
1678,
9995,
3057,
4742,
4426,
1741,
2767,
1728,
16988,
5235,
322,
17262,
6611,
1213,
15945,
13,
1678,
269,
6235,
29889,
657,
29918,
29890,
2620,
29891,
29918,
3888,
29889,
2457,
29918,
1767,
353,
6213,
13,
13,
1678,
7272,
7465,
29918,
14669,
29918,
1100,
359,
580,
13,
13,
1678,
25691,
353,
269,
6235,
29889,
10141,
11857,
29889,
19496,
29889,
2457,
29918,
1767,
13,
1678,
1014,
29918,
14035,
353,
25691,
29889,
14035,
13,
13,
1678,
17262,
29918,
23813,
353,
376,
5550,
1367,
29901,
797,
29907,
29872,
6504,
29892,
8667,
9588,
290,
1170,
29901,
29933,
1309,
1270,
5619,
29908,
13,
1678,
4742,
29918,
11330,
29918,
3696,
29889,
20897,
3366,
5514,
29918,
3888,
3108,
353,
17262,
29918,
23813,
13,
13,
1678,
1014,
29918,
14035,
29898,
10141,
29918,
11330,
29918,
3696,
29897,
13,
1678,
7272,
298,
465,
29889,
12674,
29918,
1271,
29918,
29873,
453,
29918,
15091,
580,
13,
13,
1678,
4974,
17262,
29918,
23813,
451,
297,
2117,
1188,
29889,
726,
13,
13,
13,
12674,
822,
1243,
29918,
18494,
29918,
2080,
29918,
29879,
6073,
29898,
13,
1678,
298,
465,
29892,
7465,
29918,
1300,
359,
300,
786,
29918,
1100,
359,
29892,
269,
6235,
29892,
9631,
29918,
3696,
29892,
694,
29918,
9799,
29918,
3696,
13,
1125,
13,
1678,
9995,
3057,
10348,
1881,
23530,
1213,
15945,
13,
1678,
7855,
29918,
1727,
6020,
353,
875,
29918,
1727,
29889,
12674,
29918,
657,
29898,
29882,
465,
29897,
13,
13,
1678,
25691,
353,
269,
6235,
29889,
485,
27395,
29889,
19496,
29889,
2457,
29918,
1767,
13,
1678,
1014,
29918,
14035,
353,
25691,
29889,
14035,
13,
1678,
1014,
29918,
14035,
29898,
12427,
29918,
3696,
29897,
13,
1678,
7272,
298,
465,
29889,
12674,
29918,
1271,
29918,
29873,
453,
29918,
15091,
580,
13,
13,
1678,
10348,
29918,
2080,
29918,
29879,
6073,
353,
7855,
29918,
1727,
6020,
29889,
296,
1907,
3366,
29879,
6073,
29889,
8028,
29918,
29874,
29918,
18494,
29918,
2080,
29918,
4830,
3108,
13,
1678,
10348,
29918,
2080,
29918,
3859,
353,
298,
465,
29889,
28631,
29889,
657,
29898,
18494,
29918,
2080,
29918,
29879,
6073,
29889,
10041,
29918,
333,
29897,
13,
1678,
4974,
10348,
29918,
2080,
29918,
3859,
29889,
3859,
1275,
376,
29928,
324,
1609,
29871,
29945,
29889,
29896,
29908,
13,
13,
1678,
396,
3789,
11187,
287,
1881,
3402,
304,
716,
995,
322,
9801,
21180,
2551,
13,
1678,
694,
29918,
2080,
29918,
17640,
353,
9079,
18680,
29898,
2457,
29918,
1767,
543,
3782,
1881,
1159,
13,
1678,
1134,
29898,
29879,
6235,
467,
29802,
1646,
29918,
18494,
29918,
2080,
29918,
4830,
353,
694,
29918,
2080,
29918,
17640,
13,
13,
1678,
7465,
29918,
8696,
29918,
2230,
29918,
15033,
29898,
29882,
465,
29892,
11636,
29918,
4422,
29889,
329,
29883,
3707,
580,
718,
12314,
2190,
29918,
23845,
8932,
29897,
13,
1678,
7272,
298,
465,
29889,
12674,
29918,
1271,
29918,
29873,
453,
29918,
15091,
580,
13,
13,
1678,
694,
29918,
2080,
29918,
17640,
29889,
9294,
29918,
13998,
29918,
10646,
580,
13,
1678,
10348,
29918,
2080,
29918,
3859,
353,
298,
465,
29889,
28631,
29889,
657,
29898,
18494,
29918,
2080,
29918,
29879,
6073,
29889,
10041,
29918,
333,
29897,
13,
1678,
4974,
10348,
29918,
2080,
29918,
3859,
29889,
3859,
1275,
376,
3782,
1881,
29908,
13,
13,
1678,
396,
22521,
545,
2106,
338,
451,
1248,
839,
746,
2752,
338,
451,
5648,
322,
2106,
338,
2307,
376,
3782,
1881,
29908,
13,
1678,
1014,
29918,
14035,
29898,
1217,
29918,
9799,
29918,
3696,
29897,
13,
1678,
7272,
298,
465,
29889,
12674,
29918,
1271,
29918,
29873,
453,
29918,
15091,
580,
13,
13,
1678,
443,
3733,
839,
29918,
17640,
353,
9079,
18680,
29898,
2457,
29918,
1767,
543,
12984,
451,
367,
1248,
839,
1159,
13,
1678,
1134,
29898,
29879,
6235,
467,
29802,
1646,
29918,
18494,
29918,
2080,
29918,
4830,
353,
443,
3733,
839,
29918,
17640,
13,
13,
1678,
7465,
29918,
8696,
29918,
2230,
29918,
15033,
29898,
29882,
465,
29892,
11636,
29918,
4422,
29889,
329,
29883,
3707,
580,
718,
12314,
2190,
29918,
23845,
8932,
29897,
13,
1678,
7272,
298,
465,
29889,
12674,
29918,
1271,
29918,
29873,
453,
29918,
15091,
580,
13,
13,
1678,
443,
3733,
839,
29918,
17640,
29889,
9294,
29918,
1333,
29918,
13998,
580,
13,
1678,
10348,
29918,
2080,
29918,
3859,
353,
298,
465,
29889,
28631,
29889,
657,
29898,
18494,
29918,
2080,
29918,
29879,
6073,
29889,
10041,
29918,
333,
29897,
13,
1678,
4974,
10348,
29918,
2080,
29918,
3859,
29889,
3859,
1275,
376,
3782,
1881,
29908,
13,
13,
13,
12674,
822,
1243,
29918,
29885,
2357,
6710,
29918,
19541,
29918,
29879,
6073,
29898,
13,
1678,
298,
465,
29892,
7465,
29918,
1300,
359,
300,
786,
29918,
1100,
359,
29892,
269,
6235,
29892,
4742,
29918,
11330,
29918,
3696,
13,
1125,
13,
1678,
9995,
3057,
9200,
6710,
7581,
23530,
1213,
15945,
13,
1678,
7855,
29918,
1727,
6020,
353,
875,
29918,
1727,
29889,
12674,
29918,
657,
29898,
29882,
465,
29897,
13,
1678,
4974,
376,
19541,
29918,
29879,
6073,
29889,
8028,
29918,
29874,
29918,
29885,
2357,
6710,
29908,
297,
7855,
29918,
1727,
6020,
29889,
296,
1907,
13,
13,
1678,
20710,
29918,
19541,
29918,
29879,
6073,
353,
7855,
29918,
1727,
6020,
29889,
296,
1907,
3366,
19541,
29918,
29879,
6073,
29889,
8028,
29918,
29874,
29918,
29885,
2357,
6710,
3108,
13,
1678,
20710,
29918,
19541,
29918,
29879,
6073,
29918,
3859,
353,
298,
465,
29889,
28631,
29889,
657,
29898,
13076,
29918,
19541,
29918,
29879,
6073,
29889,
10041,
29918,
333,
29897,
13,
1678,
4974,
20710,
29918,
19541,
29918,
29879,
6073,
29918,
3859,
29889,
3859,
1275,
6850,
3040,
29918,
27681,
13,
13,
1678,
396,
10318,
278,
25657,
411,
263,
6939,
1741,
13,
1678,
25691,
353,
269,
6235,
29889,
10141,
11857,
29889,
19496,
29889,
2457,
29918,
1767,
13,
1678,
25691,
29889,
14035,
29898,
10141,
29918,
11330,
29918,
3696,
29897,
13,
1678,
7272,
298,
465,
29889,
12674,
29918,
1271,
29918,
29873,
453,
29918,
15091,
580,
13,
13,
1678,
20710,
29918,
19541,
29918,
29879,
6073,
29918,
3859,
353,
298,
465,
29889,
28631,
29889,
657,
29898,
13076,
29918,
19541,
29918,
29879,
6073,
29889,
10041,
29918,
333,
29897,
13,
1678,
4974,
20710,
29918,
19541,
29918,
29879,
6073,
29918,
3859,
29889,
3859,
1275,
6850,
3040,
29918,
1164,
13,
2
] |
asteval/asteval.py | sthagen/asteval | 125 | 198352 | #!/usr/bin/env python
"""Safe(ish) evaluation of mathematical expression using Python's ast
module.
This module provides an Interpreter class that compiles a restricted set of
Python expressions and statements to Python's AST representation, and then
executes that representation using values held in a symbol table.
The symbol table is a simple dictionary, giving a simple, flat namespace.
This comes pre-loaded with many functions from Python's builtin and math
module. If numpy is installed, many numpy functions are also included.
Additional symbols can be added when an Interpreter is created, but the
user of that interpreter will not be able to import additional modules.
Expressions, including loops, conditionals, and function definitions can be
compiled into ast node and then evaluated later, using the current values
in the symbol table.
The result is a restricted, simplified version of Python meant for
numerical calculations that is somewhat safer than 'eval' because many
unsafe operations (such as 'import' and 'eval') are simply not allowed.
Many parts of Python syntax are supported, including:
for loops, while loops, if-then-elif-else conditionals
try-except (including 'finally')
function definitions with def
advanced slicing: a[::-1], array[-3:, :, ::2]
if-expressions: out = one_thing if TEST else other
list comprehension out = [sqrt(i) for i in values]
The following Python syntax elements are not supported:
Import, Exec, Lambda, Class, Global, Generators,
Yield, Decorators
In addition, while many builtin functions are supported, several builtin
functions that are considered unsafe are missing ('eval', 'exec', and
'getattr' for example)
"""
import ast
import inspect
import time
from sys import exc_info, stderr, stdout
from .astutils import (HAS_NUMPY, UNSAFE_ATTRS, ExceptionHolder, ReturnedNone,
make_symbol_table, numpy, op2func, valid_symbol_name)
ALL_NODES = ['arg', 'assert', 'assign', 'attribute', 'augassign', 'binop',
'boolop', 'break', 'call', 'compare', 'continue', 'delete',
'dict', 'ellipsis', 'excepthandler', 'expr', 'extslice',
'for', 'functiondef', 'if', 'ifexp', 'index', 'interrupt',
'list', 'listcomp', 'module', 'name', 'nameconstant', 'num',
'pass', 'raise', 'repr', 'return', 'slice', 'str',
'subscript', 'try', 'tuple', 'unaryop', 'while', 'constant']
class Interpreter:
"""create an asteval Interpreter: a restricted, simplified interpreter
of mathematical expressions using Python syntax.
Parameters
----------
symtable : dict or `None`
dictionary to use as symbol table (if `None`, one will be created).
usersyms : dict or `None`
dictionary of user-defined symbols to add to symbol table.
writer : file-like or `None`
callable file-like object where standard output will be sent.
err_writer : file-like or `None`
callable file-like object where standard error will be sent.
use_numpy : bool
whether to use functions from numpy.
minimal : bool
create a minimal interpreter: disable all options (see Note 1).
no_if : bool
whether to support `if` blocks
no_for : bool
whether to support `for` blocks.
no_while : bool
whether to support `while` blocks.
no_try : bool
whether to support `try` blocks.
no_functiondef : bool
whether to support user-defined functions.
no_ifexp : bool
whether to support if expressions.
no_listcomp : bool
whether to support list comprehension.
no_augassign : bool
whether to support augemented assignments (`a += 1`, etc).
no_assert : bool
whether to support `assert`.
no_delete : bool
whether to support `del`.
no_raise : bool
whether to support `raise`.
no_print : bool
whether to support `print`.
readonly_symbols : iterable or `None`
symbols that the user can not assign to
builtins_readonly : bool
whether to blacklist all symbols that are in the initial symtable
Notes
-----
1. setting `minimal=True` is equivalent to setting all
`no_***` options to `True`.
"""
def __init__(self, symtable=None, usersyms=None, writer=None,
err_writer=None, use_numpy=True, minimal=False,
no_if=False, no_for=False, no_while=False, no_try=False,
no_functiondef=False, no_ifexp=False, no_listcomp=False,
no_augassign=False, no_assert=False, no_delete=False,
no_raise=False, no_print=False, max_time=None,
readonly_symbols=None, builtins_readonly=False):
self.writer = writer or stdout
self.err_writer = err_writer or stderr
if symtable is None:
if usersyms is None:
usersyms = {}
symtable = make_symbol_table(use_numpy=use_numpy, **usersyms)
self.symtable = symtable
self._interrupt = None
self.error = []
self.error_msg = None
self.expr = None
self.retval = None
self._calldepth = 0
self.lineno = 0
self.start_time = time.time()
self.use_numpy = HAS_NUMPY and use_numpy
symtable['print'] = self._printer
self.no_print = no_print or minimal
nodes = ALL_NODES[:]
if minimal or no_if:
nodes.remove('if')
if minimal or no_for:
nodes.remove('for')
if minimal or no_while:
nodes.remove('while')
if minimal or no_try:
nodes.remove('try')
if minimal or no_functiondef:
nodes.remove('functiondef')
if minimal or no_ifexp:
nodes.remove('ifexp')
if minimal or no_assert:
nodes.remove('assert')
if minimal or no_delete:
nodes.remove('delete')
if minimal or no_raise:
nodes.remove('raise')
if minimal or no_listcomp:
nodes.remove('listcomp')
if minimal or no_augassign:
nodes.remove('augassign')
self.node_handlers = {}
for node in nodes:
self.node_handlers[node] = getattr(self, "on_%s" % node)
# to rationalize try/except try/finally for Python2.6 through Python3.3
if 'try' in self.node_handlers:
self.node_handlers['tryexcept'] = self.node_handlers['try']
self.node_handlers['tryfinally'] = self.node_handlers['try']
if readonly_symbols is None:
self.readonly_symbols = set()
else:
self.readonly_symbols = set(readonly_symbols)
if builtins_readonly:
self.readonly_symbols |= set(self.symtable)
self.no_deepcopy = [key for key, val in symtable.items()
if (callable(val)
or 'numpy.lib.index_tricks' in repr(val)
or inspect.ismodule(val))]
def remove_nodehandler(self, node):
"""remove support for a node
returns current node handler, so that it
might be re-added with add_nodehandler()
"""
out = None
if node in self.node_handlers:
out = self.node_handlers.pop(node)
return out
def set_nodehandler(self, node, handler):
"""set node handler"""
self.node_handlers[node] = handler
def user_defined_symbols(self):
"""Return a set of symbols that have been added to symtable after
construction.
I.e., the symbols from self.symtable that are not in
self.no_deepcopy.
Returns
-------
unique_symbols : set
symbols in symtable that are not in self.no_deepcopy
"""
sym_in_current = set(self.symtable.keys())
sym_from_construction = set(self.no_deepcopy)
unique_symbols = sym_in_current.difference(sym_from_construction)
return unique_symbols
def unimplemented(self, node):
"""Unimplemented nodes."""
self.raise_exception(node, exc=NotImplementedError,
msg="'%s' not supported" %
(node.__class__.__name__))
def raise_exception(self, node, exc=None, msg='', expr=None,
lineno=None):
"""Add an exception."""
if self.error is None:
self.error = []
if expr is None:
expr = self.expr
if len(self.error) > 0 and not isinstance(node, ast.Module):
msg = '%s' % msg
err = ExceptionHolder(node, exc=exc, msg=msg, expr=expr, lineno=lineno)
self._interrupt = ast.Raise()
self.error.append(err)
if self.error_msg is None:
self.error_msg = "at expr='%s'" % (self.expr)
elif len(msg) > 0:
self.error_msg = msg
if exc is None:
try:
exc = self.error[0].exc
except:
exc = RuntimeError
raise exc(self.error_msg)
# main entry point for Ast node evaluation
# parse: text of statements -> ast
# run: ast -> result
# eval: string statement -> result = run(parse(statement))
def parse(self, text):
"""Parse statement/expression to Ast representation."""
self.expr = text
try:
out = ast.parse(text)
except SyntaxError:
self.raise_exception(None, msg='Syntax Error', expr=text)
except:
self.raise_exception(None, msg='Runtime Error', expr=text)
return out
def run(self, node, expr=None, lineno=None, with_raise=True):
"""Execute parsed Ast representation for an expression."""
# Note: keep the 'node is None' test: internal code here may run
# run(None) and expect a None in return.
out = None
if len(self.error) > 0:
return out
if self.retval is not None:
return self.retval
if isinstance(self._interrupt, (ast.Break, ast.Continue)):
return self._interrupt
if node is None:
return out
if isinstance(node, str):
node = self.parse(node)
if lineno is not None:
self.lineno = lineno
if expr is not None:
self.expr = expr
# get handler for this node:
# on_xxx with handle nodes of type 'xxx', etc
try:
handler = self.node_handlers[node.__class__.__name__.lower()]
except KeyError:
return self.unimplemented(node)
# run the handler: this will likely generate
# recursive calls into this run method.
try:
ret = handler(node)
if isinstance(ret, enumerate):
ret = list(ret)
return ret
except:
if with_raise:
if len(self.error) == 0:
# Unhandled exception that didn't use raise_exception
self.raise_exception(node, expr=expr)
raise
def __call__(self, expr, **kw):
"""Call class instance as function."""
return self.eval(expr, **kw)
def eval(self, expr, lineno=0, show_errors=True, raise_errors=False):
"""Evaluate a single statement."""
self.lineno = lineno
self.error = []
self.start_time = time.time()
try:
node = self.parse(expr)
except:
errmsg = exc_info()[1]
if len(self.error) > 0:
errmsg = "\n".join(self.error[0].get_error())
if raise_errors:
try:
exc = self.error[0].exc
except:
exc = RuntimeError
raise exc(errmsg)
if show_errors:
print(errmsg, file=self.err_writer)
return
try:
return self.run(node, expr=expr, lineno=lineno)
except:
errmsg = exc_info()[1]
if len(self.error) > 0:
errmsg = "\n".join(self.error[0].get_error())
if raise_errors:
try:
exc = self.error[0].exc
except:
exc = RuntimeError
raise exc(errmsg)
if show_errors:
print(errmsg, file=self.err_writer)
return
@staticmethod
def dump(node, **kw):
"""Simple ast dumper."""
return ast.dump(node, **kw)
# handlers for ast components
def on_expr(self, node):
"""Expression."""
return self.run(node.value) # ('value',)
def on_index(self, node):
"""Index."""
return self.run(node.value) # ('value',)
def on_return(self, node): # ('value',)
"""Return statement: look for None, return special sentinel."""
if self._calldepth == 0:
raise SyntaxError('cannot return at top level')
self.retval = self.run(node.value)
if self.retval is None:
self.retval = ReturnedNone
return
def on_repr(self, node):
"""Repr."""
return repr(self.run(node.value)) # ('value',)
def on_module(self, node): # ():('body',)
"""Module def."""
out = None
for tnode in node.body:
out = self.run(tnode)
return out
def on_expression(self, node):
"basic expression"
return self.on_module(node) # ():('body',)
def on_pass(self, node):
"""Pass statement."""
return None # ()
def on_ellipsis(self, node):
"""Ellipses."""
return Ellipsis
# for break and continue: set the instance variable _interrupt
def on_interrupt(self, node): # ()
"""Interrupt handler."""
self._interrupt = node
return node
def on_break(self, node):
"""Break."""
return self.on_interrupt(node)
def on_continue(self, node):
"""Continue."""
return self.on_interrupt(node)
def on_assert(self, node): # ('test', 'msg')
"""Assert statement."""
if not self.run(node.test):
msg = node.msg.s if node.msg else ""
self.raise_exception(node, exc=AssertionError, msg=msg)
return True
def on_list(self, node): # ('elt', 'ctx')
"""List."""
return [self.run(e) for e in node.elts]
def on_tuple(self, node): # ('elts', 'ctx')
"""Tuple."""
return tuple(self.on_list(node))
def on_dict(self, node): # ('keys', 'values')
"""Dictionary."""
return {self.run(k): self.run(v) for k, v in
zip(node.keys, node.values)}
def on_constant(self, node): # ('value', 'kind')
"""Return constant value."""
return node.value
def on_num(self, node): # ('n',)
"""Return number."""
return node.n
def on_str(self, node): # ('s',)
"""Return string."""
return node.s
def on_name(self, node): # ('id', 'ctx')
"""Name node."""
ctx = node.ctx.__class__
if ctx in (ast.Param, ast.Del):
return str(node.id)
else:
if node.id in self.symtable:
return self.symtable[node.id]
else:
msg = "name '%s' is not defined" % node.id
self.raise_exception(node, exc=NameError, msg=msg)
def on_nameconstant(self, node):
"""True, False, or None"""
return node.value
def node_assign(self, node, val):
"""Assign a value (not the node.value object) to a node.
This is used by on_assign, but also by for, list comprehension,
etc.
"""
if node.__class__ == ast.Name:
if (not valid_symbol_name(node.id) or
node.id in self.readonly_symbols):
errmsg = "invalid symbol name (reserved word?) %s" % node.id
self.raise_exception(node, exc=NameError, msg=errmsg)
self.symtable[node.id] = val
if node.id in self.no_deepcopy:
self.no_deepcopy.remove(node.id)
elif node.__class__ == ast.Attribute:
if node.ctx.__class__ == ast.Load:
msg = "cannot assign to attribute %s" % node.attr
self.raise_exception(node, exc=AttributeError, msg=msg)
setattr(self.run(node.value), node.attr, val)
elif node.__class__ == ast.Subscript:
self.run(node.value)[self.run(node.slice)] = val
elif node.__class__ in (ast.Tuple, ast.List):
if len(val) == len(node.elts):
for telem, tval in zip(node.elts, val):
self.node_assign(telem, tval)
else:
raise ValueError('too many values to unpack')
def on_attribute(self, node): # ('value', 'attr', 'ctx')
"""Extract attribute."""
ctx = node.ctx.__class__
if ctx == ast.Store:
msg = "attribute for storage: shouldn't be here!"
self.raise_exception(node, exc=RuntimeError, msg=msg)
sym = self.run(node.value)
if ctx == ast.Del:
return delattr(sym, node.attr)
# ctx is ast.Load
if not (node.attr in UNSAFE_ATTRS or
(node.attr.startswith('__') and
node.attr.endswith('__'))):
try:
return getattr(sym, node.attr)
except AttributeError:
pass
# AttributeError or accessed unsafe attribute
msg = "no attribute '%s' for %s" % (node.attr, self.run(node.value))
self.raise_exception(node, exc=AttributeError, msg=msg)
def on_assign(self, node): # ('targets', 'value')
"""Simple assignment."""
val = self.run(node.value)
for tnode in node.targets:
self.node_assign(tnode, val)
return
def on_augassign(self, node): # ('target', 'op', 'value')
"""Augmented assign."""
return self.on_assign(ast.Assign(targets=[node.target],
value=ast.BinOp(left=node.target,
op=node.op,
right=node.value)))
def on_slice(self, node): # ():('lower', 'upper', 'step')
"""Simple slice."""
return slice(self.run(node.lower),
self.run(node.upper),
self.run(node.step))
def on_extslice(self, node): # ():('dims',)
"""Extended slice."""
return tuple([self.run(tnode) for tnode in node.dims])
def on_subscript(self, node): # ('value', 'slice', 'ctx')
"""Subscript handling -- one of the tricky parts."""
val = self.run(node.value)
nslice = self.run(node.slice)
ctx = node.ctx.__class__
if ctx in (ast.Load, ast.Store):
return val[nslice]
else:
msg = "subscript with unknown context"
self.raise_exception(node, msg=msg)
def on_delete(self, node): # ('targets',)
"""Delete statement."""
for tnode in node.targets:
if tnode.ctx.__class__ != ast.Del:
break
children = []
while tnode.__class__ == ast.Attribute:
children.append(tnode.attr)
tnode = tnode.value
if (tnode.__class__ == ast.Name and
tnode.id not in self.readonly_symbols):
children.append(tnode.id)
children.reverse()
self.symtable.pop('.'.join(children))
else:
msg = "could not delete symbol"
self.raise_exception(node, msg=msg)
def on_unaryop(self, node): # ('op', 'operand')
"""Unary operator."""
return op2func(node.op)(self.run(node.operand))
def on_binop(self, node): # ('left', 'op', 'right')
"""Binary operator."""
return op2func(node.op)(self.run(node.left),
self.run(node.right))
def on_boolop(self, node): # ('op', 'values')
"""Boolean operator."""
val = self.run(node.values[0])
is_and = ast.And == node.op.__class__
if (is_and and val) or (not is_and and not val):
for n in node.values[1:]:
val = op2func(node.op)(val, self.run(n))
if (is_and and not val) or (not is_and and val):
break
return val
def on_compare(self, node): # ('left', 'ops', 'comparators')
"""comparison operators, including chained comparisons (a<b<c)"""
lval = self.run(node.left)
results = []
for op, rnode in zip(node.ops, node.comparators):
rval = self.run(rnode)
ret = op2func(op)(lval, rval)
results.append(ret)
if ((self.use_numpy and not isinstance(ret, numpy.ndarray)) and
not ret):
break
lval = rval
if len(results) == 1:
return results[0]
else:
out = True
for r in results:
out = out and r
return out
def _printer(self, *out, **kws):
"""Generic print function."""
if self.no_print:
return
flush = kws.pop('flush', True)
fileh = kws.pop('file', self.writer)
sep = kws.pop('sep', ' ')
end = kws.pop('sep', '\n')
print(*out, file=fileh, sep=sep, end=end)
if flush:
fileh.flush()
def on_if(self, node): # ('test', 'body', 'orelse')
"""Regular if-then-else statement."""
block = node.body
if not self.run(node.test):
block = node.orelse
for tnode in block:
self.run(tnode)
def on_ifexp(self, node): # ('test', 'body', 'orelse')
"""If expressions."""
expr = node.orelse
if self.run(node.test):
expr = node.body
return self.run(expr)
def on_while(self, node): # ('test', 'body', 'orelse')
"""While blocks."""
while self.run(node.test):
self._interrupt = None
for tnode in node.body:
self.run(tnode)
if self._interrupt is not None:
break
if isinstance(self._interrupt, ast.Break):
break
else:
for tnode in node.orelse:
self.run(tnode)
self._interrupt = None
def on_for(self, node): # ('target', 'iter', 'body', 'orelse')
"""For blocks."""
for val in self.run(node.iter):
self.node_assign(node.target, val)
self._interrupt = None
for tnode in node.body:
self.run(tnode)
if self._interrupt is not None:
break
if isinstance(self._interrupt, ast.Break):
break
else:
for tnode in node.orelse:
self.run(tnode)
self._interrupt = None
def on_listcomp(self, node): # ('elt', 'generators')
"""List comprehension."""
out = []
for tnode in node.generators:
if tnode.__class__ == ast.comprehension:
for val in self.run(tnode.iter):
self.node_assign(tnode.target, val)
add = True
for cond in tnode.ifs:
add = add and self.run(cond)
if add:
out.append(self.run(node.elt))
return out
def on_excepthandler(self, node): # ('type', 'name', 'body')
"""Exception handler..."""
return (self.run(node.type), node.name, node.body)
def on_try(self, node): # ('body', 'handlers', 'orelse', 'finalbody')
"""Try/except/else/finally blocks."""
no_errors = True
for tnode in node.body:
self.run(tnode, with_raise=False)
no_errors = no_errors and len(self.error) == 0
if len(self.error) > 0:
e_type, e_value, e_tback = self.error[-1].exc_info
for hnd in node.handlers:
htype = None
if hnd.type is not None:
htype = __builtins__.get(hnd.type.id, None)
if htype is None or isinstance(e_type(), htype):
self.error = []
if hnd.name is not None:
self.node_assign(hnd.name, e_value)
for tline in hnd.body:
self.run(tline)
break
break
if no_errors and hasattr(node, 'orelse'):
for tnode in node.orelse:
self.run(tnode)
if hasattr(node, 'finalbody'):
for tnode in node.finalbody:
self.run(tnode)
def on_raise(self, node): # ('type', 'inst', 'tback')
"""Raise statement: note difference for python 2 and 3."""
excnode = node.exc
msgnode = node.cause
out = self.run(excnode)
msg = ' '.join(out.args)
msg2 = self.run(msgnode)
if msg2 not in (None, 'None'):
msg = "%s: %s" % (msg, msg2)
self.raise_exception(None, exc=out.__class__, msg=msg, expr='')
def on_call(self, node):
"""Function execution."""
# ('func', 'args', 'keywords'. Py<3.5 has 'starargs' and 'kwargs' too)
func = self.run(node.func)
if not hasattr(func, '__call__') and not isinstance(func, type):
msg = "'%s' is not callable!!" % (func)
self.raise_exception(node, exc=TypeError, msg=msg)
args = [self.run(targ) for targ in node.args]
starargs = getattr(node, 'starargs', None)
if starargs is not None:
args = args + self.run(starargs)
keywords = {}
if func == print:
keywords['file'] = self.writer
for key in node.keywords:
if not isinstance(key, ast.keyword):
msg = "keyword error in function call '%s'" % (func)
self.raise_exception(node, msg=msg)
if key.arg is None:
keywords.update(self.run(key.value))
elif key.arg in keywords:
self.raise_exception(node,
msg="keyword argument repeated: %s" % key.arg,
exc=SyntaxError)
else:
keywords[key.arg] = self.run(key.value)
kwargs = getattr(node, 'kwargs', None)
if kwargs is not None:
keywords.update(self.run(kwargs))
if isinstance(func, Procedure):
self._calldepth += 1
try:
out = func(*args, **keywords)
except Exception as ex:
out = None
func_name = getattr(func, '__name__', str(func))
self.raise_exception(
node, msg="Error running function call '%s' with args %s and "
"kwargs %s: %s" % (func_name, args, keywords, ex))
finally:
if isinstance(func, Procedure):
self._calldepth -= 1
return out
def on_arg(self, node): # ('test', 'msg')
"""Arg for function definitions."""
return node.arg
def on_functiondef(self, node):
"""Define procedures."""
# ('name', 'args', 'body', 'decorator_list')
if node.decorator_list:
raise Warning("decorated procedures not supported!")
kwargs = []
if (not valid_symbol_name(node.name) or
node.name in self.readonly_symbols):
errmsg = "invalid function name (reserved word?) %s" % node.name
self.raise_exception(node, exc=NameError, msg=errmsg)
offset = len(node.args.args) - len(node.args.defaults)
for idef, defnode in enumerate(node.args.defaults):
defval = self.run(defnode)
keyval = self.run(node.args.args[idef+offset])
kwargs.append((keyval, defval))
args = [tnode.arg for tnode in node.args.args[:offset]]
doc = None
nb0 = node.body[0]
if isinstance(nb0, ast.Expr) and isinstance(nb0.value, ast.Str):
doc = nb0.value.s
varkws = node.args.kwarg
vararg = node.args.vararg
if isinstance(vararg, ast.arg):
vararg = vararg.arg
if isinstance(varkws, ast.arg):
varkws = varkws.arg
self.symtable[node.name] = Procedure(node.name, self, doc=doc,
lineno=self.lineno,
body=node.body,
args=args, kwargs=kwargs,
vararg=vararg, varkws=varkws)
if node.name in self.no_deepcopy:
self.no_deepcopy.remove(node.name)
class Procedure:
"""Procedure: user-defined function for asteval.
This stores the parsed ast nodes as from the 'functiondef' ast node
for later evaluation.
"""
def __init__(self, name, interp, doc=None, lineno=0,
body=None, args=None, kwargs=None,
vararg=None, varkws=None):
"""TODO: docstring in public method."""
self.__ininit__ = True
self.name = name
self.__name__ = self.name
self.__asteval__ = interp
self.raise_exc = self.__asteval__.raise_exception
self.__doc__ = doc
self.body = body
self.argnames = args
self.kwargs = kwargs
self.vararg = vararg
self.varkws = varkws
self.lineno = lineno
self.__ininit__ = False
def __setattr__(self, attr, val):
if not getattr(self, '__ininit__', True):
self.raise_exc(None, exc=TypeError,
msg="procedure is read-only")
self.__dict__[attr] = val
def __dir__(self):
return ['name']
def __repr__(self):
"""TODO: docstring in magic method."""
sig = ""
if len(self.argnames) > 0:
sig = "%s%s" % (sig, ', '.join(self.argnames))
if self.vararg is not None:
sig = "%s, *%s" % (sig, self.vararg)
if len(self.kwargs) > 0:
if len(sig) > 0:
sig = "%s, " % sig
_kw = ["%s=%s" % (k, v) for k, v in self.kwargs]
sig = "%s%s" % (sig, ', '.join(_kw))
if self.varkws is not None:
sig = "%s, **%s" % (sig, self.varkws)
sig = "<Procedure %s(%s)>" % (self.name, sig)
if self.__doc__ is not None:
sig = "%s\n %s" % (sig, self.__doc__)
return sig
def __call__(self, *args, **kwargs):
"""TODO: docstring in public method."""
symlocals = {}
args = list(args)
nargs = len(args)
nkws = len(kwargs)
nargs_expected = len(self.argnames)
# check for too few arguments, but the correct keyword given
if (nargs < nargs_expected) and nkws > 0:
for name in self.argnames[nargs:]:
if name in kwargs:
args.append(kwargs.pop(name))
nargs = len(args)
nargs_expected = len(self.argnames)
nkws = len(kwargs)
if nargs < nargs_expected:
msg = "%s() takes at least %i arguments, got %i"
self.raise_exc(None, exc=TypeError,
msg=msg % (self.name, nargs_expected, nargs))
# check for multiple values for named argument
if len(self.argnames) > 0 and kwargs is not None:
msg = "multiple values for keyword argument '%s' in Procedure %s"
for targ in self.argnames:
if targ in kwargs:
self.raise_exc(None, exc=TypeError,
msg=msg % (targ, self.name),
lineno=self.lineno)
# check more args given than expected, varargs not given
if nargs != nargs_expected:
msg = None
if nargs < nargs_expected:
msg = 'not enough arguments for Procedure %s()' % self.name
msg = '%s (expected %i, got %i)' % (msg, nargs_expected, nargs)
self.raise_exc(None, exc=TypeError, msg=msg)
if nargs > nargs_expected and self.vararg is None:
if nargs - nargs_expected > len(self.kwargs):
msg = 'too many arguments for %s() expected at most %i, got %i'
msg = msg % (self.name, len(self.kwargs)+nargs_expected, nargs)
self.raise_exc(None, exc=TypeError, msg=msg)
for i, xarg in enumerate(args[nargs_expected:]):
kw_name = self.kwargs[i][0]
if kw_name not in kwargs:
kwargs[kw_name] = xarg
for argname in self.argnames:
symlocals[argname] = args.pop(0)
try:
if self.vararg is not None:
symlocals[self.vararg] = tuple(args)
for key, val in self.kwargs:
if key in kwargs:
val = kwargs.pop(key)
symlocals[key] = val
if self.varkws is not None:
symlocals[self.varkws] = kwargs
elif len(kwargs) > 0:
msg = 'extra keyword arguments for Procedure %s (%s)'
msg = msg % (self.name, ','.join(list(kwargs.keys())))
self.raise_exc(None, msg=msg, exc=TypeError,
lineno=self.lineno)
except (ValueError, LookupError, TypeError,
NameError, AttributeError):
msg = 'incorrect arguments for Procedure %s' % self.name
self.raise_exc(None, msg=msg, lineno=self.lineno)
save_symtable = self.__asteval__.symtable.copy()
self.__asteval__.symtable.update(symlocals)
self.__asteval__.retval = None
self.__asteval__._calldepth += 1
retval = None
# evaluate script of function
for node in self.body:
self.__asteval__.run(node, expr='<>', lineno=self.lineno)
if len(self.__asteval__.error) > 0:
break
if self.__asteval__.retval is not None:
retval = self.__asteval__.retval
self.__asteval__.retval = None
if retval is ReturnedNone:
retval = None
break
self.__asteval__.symtable = save_symtable
self.__asteval__._calldepth -= 1
symlocals = None
return retval
| [
1,
18787,
4855,
29914,
2109,
29914,
6272,
3017,
13,
15945,
29908,
17618,
1725,
29898,
728,
29897,
17983,
310,
19475,
4603,
773,
5132,
29915,
29879,
8717,
13,
5453,
29889,
13,
13,
4013,
3883,
8128,
385,
4124,
1457,
357,
770,
393,
752,
5475,
263,
22078,
731,
310,
13,
11980,
12241,
322,
9506,
304,
5132,
29915,
29879,
319,
1254,
8954,
29892,
322,
769,
13,
4258,
2667,
393,
8954,
773,
1819,
4934,
297,
263,
5829,
1591,
29889,
13,
13,
1576,
5829,
1591,
338,
263,
2560,
8600,
29892,
6820,
263,
2560,
29892,
12151,
7397,
29889,
13,
4013,
5304,
758,
29899,
15638,
411,
1784,
3168,
515,
5132,
29915,
29879,
4240,
262,
322,
5844,
13,
5453,
29889,
29871,
960,
12655,
338,
5130,
29892,
1784,
12655,
3168,
526,
884,
5134,
29889,
13,
2528,
3245,
15072,
508,
367,
2715,
746,
385,
4124,
1457,
357,
338,
2825,
29892,
541,
278,
13,
1792,
310,
393,
26997,
674,
451,
367,
2221,
304,
1053,
5684,
10585,
29889,
13,
13,
27404,
1080,
29892,
3704,
12104,
29892,
4195,
1338,
29892,
322,
740,
15848,
508,
367,
13,
2388,
2356,
964,
8717,
2943,
322,
769,
19030,
2678,
29892,
773,
278,
1857,
1819,
13,
262,
278,
5829,
1591,
29889,
13,
13,
1576,
1121,
338,
263,
22078,
29892,
20875,
1873,
310,
5132,
6839,
363,
13,
8058,
936,
17203,
393,
338,
10579,
872,
571,
1135,
525,
14513,
29915,
1363,
1784,
13,
348,
11177,
6931,
313,
14565,
408,
525,
5215,
29915,
322,
525,
14513,
1495,
526,
3763,
451,
6068,
29889,
13,
13,
14804,
5633,
310,
5132,
5877,
526,
6969,
29892,
3704,
29901,
13,
268,
363,
12104,
29892,
1550,
12104,
29892,
565,
29899,
6098,
29899,
23681,
29899,
2870,
4195,
1338,
13,
268,
1018,
29899,
19499,
313,
18271,
525,
4951,
635,
1495,
13,
268,
740,
15848,
411,
822,
13,
268,
12862,
269,
506,
292,
29901,
1678,
263,
29961,
1057,
29899,
29896,
1402,
1409,
14352,
29941,
29901,
29892,
584,
29892,
4761,
29906,
29962,
13,
268,
565,
29899,
17073,
1080,
29901,
418,
714,
353,
697,
29918,
1918,
565,
17067,
1254,
1683,
916,
13,
268,
1051,
15171,
2673,
259,
714,
353,
518,
3676,
29898,
29875,
29897,
363,
474,
297,
1819,
29962,
13,
13,
1576,
1494,
5132,
5877,
3161,
526,
451,
6969,
29901,
13,
268,
16032,
29892,
11080,
29892,
365,
2269,
29892,
4134,
29892,
12002,
29892,
3251,
4097,
29892,
13,
268,
612,
969,
29892,
3826,
272,
4097,
13,
13,
797,
6124,
29892,
1550,
1784,
4240,
262,
3168,
526,
6969,
29892,
3196,
4240,
262,
13,
12171,
393,
526,
5545,
25110,
526,
4567,
6702,
14513,
742,
525,
4258,
742,
322,
13,
29915,
657,
5552,
29915,
363,
1342,
29897,
13,
15945,
29908,
13,
5215,
8717,
13,
5215,
16096,
13,
5215,
931,
13,
3166,
10876,
1053,
5566,
29918,
3888,
29892,
380,
20405,
29892,
27591,
13,
13,
3166,
869,
579,
13239,
1053,
313,
29950,
3289,
29918,
11601,
3580,
29979,
29892,
501,
3059,
5098,
29923,
29918,
1299,
5659,
29903,
29892,
8960,
11439,
29892,
7106,
287,
8516,
29892,
13,
462,
539,
1207,
29918,
18098,
29918,
2371,
29892,
12655,
29892,
1015,
29906,
9891,
29892,
2854,
29918,
18098,
29918,
978,
29897,
13,
13,
9818,
29918,
6632,
2287,
29903,
353,
6024,
1191,
742,
525,
9294,
742,
525,
16645,
742,
525,
12715,
742,
525,
2987,
16645,
742,
525,
2109,
459,
742,
13,
632,
525,
11227,
459,
742,
525,
8690,
742,
525,
4804,
742,
525,
18307,
742,
525,
19878,
742,
525,
8143,
742,
13,
632,
525,
8977,
742,
525,
5481,
567,
275,
742,
525,
735,
13300,
386,
392,
1358,
742,
525,
13338,
742,
525,
1062,
18337,
742,
13,
632,
525,
1454,
742,
525,
2220,
1753,
742,
525,
361,
742,
525,
361,
4548,
742,
525,
2248,
742,
525,
1639,
6685,
742,
13,
632,
525,
1761,
742,
525,
1761,
2388,
742,
525,
5453,
742,
525,
978,
742,
525,
978,
23362,
742,
525,
1949,
742,
13,
632,
525,
3364,
742,
525,
22692,
742,
525,
276,
558,
742,
525,
2457,
742,
525,
18337,
742,
525,
710,
742,
13,
632,
525,
1491,
2154,
742,
525,
2202,
742,
525,
23583,
742,
525,
348,
653,
459,
742,
525,
8000,
742,
525,
23362,
2033,
13,
13,
13,
1990,
4124,
1457,
357,
29901,
13,
1678,
9995,
3258,
385,
263,
1655,
791,
4124,
1457,
357,
29901,
263,
22078,
29892,
20875,
26997,
13,
1678,
310,
19475,
12241,
773,
5132,
5877,
29889,
13,
13,
1678,
12662,
2699,
13,
1678,
448,
1378,
29899,
13,
1678,
5016,
2371,
584,
9657,
470,
421,
8516,
29952,
13,
4706,
8600,
304,
671,
408,
5829,
1591,
313,
361,
421,
8516,
1673,
697,
674,
367,
2825,
467,
13,
1678,
4160,
962,
29879,
584,
9657,
470,
421,
8516,
29952,
13,
4706,
8600,
310,
1404,
29899,
12119,
15072,
304,
788,
304,
5829,
1591,
29889,
13,
1678,
9227,
584,
934,
29899,
4561,
470,
421,
8516,
29952,
13,
4706,
1246,
519,
934,
29899,
4561,
1203,
988,
3918,
1962,
674,
367,
2665,
29889,
13,
1678,
4589,
29918,
13236,
584,
934,
29899,
4561,
470,
421,
8516,
29952,
13,
4706,
1246,
519,
934,
29899,
4561,
1203,
988,
3918,
1059,
674,
367,
2665,
29889,
13,
1678,
671,
29918,
23749,
584,
6120,
13,
4706,
3692,
304,
671,
3168,
515,
12655,
29889,
13,
1678,
13114,
584,
6120,
13,
4706,
1653,
263,
13114,
26997,
29901,
11262,
599,
3987,
313,
4149,
3940,
29871,
29896,
467,
13,
1678,
694,
29918,
361,
584,
6120,
13,
4706,
3692,
304,
2304,
421,
361,
29952,
10930,
13,
1678,
694,
29918,
1454,
584,
6120,
13,
4706,
3692,
304,
2304,
421,
1454,
29952,
10930,
29889,
13,
1678,
694,
29918,
8000,
584,
6120,
13,
4706,
3692,
304,
2304,
421,
8000,
29952,
10930,
29889,
13,
1678,
694,
29918,
2202,
584,
6120,
13,
4706,
3692,
304,
2304,
421,
2202,
29952,
10930,
29889,
13,
1678,
694,
29918,
2220,
1753,
584,
6120,
13,
4706,
3692,
304,
2304,
1404,
29899,
12119,
3168,
29889,
13,
1678,
694,
29918,
361,
4548,
584,
6120,
13,
4706,
3692,
304,
2304,
565,
12241,
29889,
13,
1678,
694,
29918,
1761,
2388,
584,
6120,
13,
4706,
3692,
304,
2304,
1051,
15171,
2673,
29889,
13,
1678,
694,
29918,
2987,
16645,
584,
6120,
13,
4706,
3692,
304,
2304,
11307,
882,
287,
3566,
1860,
6695,
29874,
4619,
29871,
29896,
1673,
2992,
467,
13,
1678,
694,
29918,
9294,
584,
6120,
13,
4706,
3692,
304,
2304,
421,
9294,
1412,
13,
1678,
694,
29918,
8143,
584,
6120,
13,
4706,
3692,
304,
2304,
421,
6144,
1412,
13,
1678,
694,
29918,
22692,
584,
6120,
13,
4706,
3692,
304,
2304,
421,
22692,
1412,
13,
1678,
694,
29918,
2158,
584,
6120,
13,
4706,
3692,
304,
2304,
421,
2158,
1412,
13,
1678,
20623,
29918,
18098,
29879,
584,
4256,
519,
470,
421,
8516,
29952,
13,
4706,
15072,
393,
278,
1404,
508,
451,
3566,
304,
13,
1678,
4240,
1144,
29918,
949,
6194,
584,
6120,
13,
4706,
3692,
304,
4628,
1761,
599,
15072,
393,
526,
297,
278,
2847,
5016,
2371,
13,
13,
1678,
8695,
13,
1678,
448,
807,
13,
268,
29896,
29889,
4444,
421,
1195,
3039,
29922,
5574,
29952,
338,
7126,
304,
4444,
599,
13,
539,
421,
1217,
29918,
17435,
29952,
3987,
304,
421,
5574,
1412,
13,
1678,
9995,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
5016,
2371,
29922,
8516,
29892,
4160,
962,
29879,
29922,
8516,
29892,
9227,
29922,
8516,
29892,
13,
462,
4589,
29918,
13236,
29922,
8516,
29892,
671,
29918,
23749,
29922,
5574,
29892,
13114,
29922,
8824,
29892,
13,
462,
694,
29918,
361,
29922,
8824,
29892,
694,
29918,
1454,
29922,
8824,
29892,
694,
29918,
8000,
29922,
8824,
29892,
694,
29918,
2202,
29922,
8824,
29892,
13,
462,
694,
29918,
2220,
1753,
29922,
8824,
29892,
694,
29918,
361,
4548,
29922,
8824,
29892,
694,
29918,
1761,
2388,
29922,
8824,
29892,
13,
462,
694,
29918,
2987,
16645,
29922,
8824,
29892,
694,
29918,
9294,
29922,
8824,
29892,
694,
29918,
8143,
29922,
8824,
29892,
13,
462,
694,
29918,
22692,
29922,
8824,
29892,
694,
29918,
2158,
29922,
8824,
29892,
4236,
29918,
2230,
29922,
8516,
29892,
13,
462,
20623,
29918,
18098,
29879,
29922,
8516,
29892,
4240,
1144,
29918,
949,
6194,
29922,
8824,
1125,
13,
13,
4706,
1583,
29889,
13236,
353,
9227,
470,
27591,
13,
4706,
1583,
29889,
3127,
29918,
13236,
353,
4589,
29918,
13236,
470,
380,
20405,
13,
13,
4706,
565,
5016,
2371,
338,
6213,
29901,
13,
9651,
565,
4160,
962,
29879,
338,
6213,
29901,
13,
18884,
4160,
962,
29879,
353,
6571,
13,
9651,
5016,
2371,
353,
1207,
29918,
18098,
29918,
2371,
29898,
1509,
29918,
23749,
29922,
1509,
29918,
23749,
29892,
3579,
7193,
962,
29879,
29897,
13,
13,
4706,
1583,
29889,
11967,
2371,
353,
5016,
2371,
13,
4706,
1583,
3032,
1639,
6685,
353,
6213,
13,
4706,
1583,
29889,
2704,
353,
5159,
13,
4706,
1583,
29889,
2704,
29918,
7645,
353,
6213,
13,
4706,
1583,
29889,
13338,
353,
6213,
13,
4706,
1583,
29889,
2267,
791,
353,
6213,
13,
4706,
1583,
3032,
4804,
19488,
353,
29871,
29900,
13,
4706,
1583,
29889,
1915,
8154,
353,
29871,
29900,
13,
4706,
1583,
29889,
2962,
29918,
2230,
353,
931,
29889,
2230,
580,
13,
4706,
1583,
29889,
1509,
29918,
23749,
353,
379,
3289,
29918,
11601,
3580,
29979,
322,
671,
29918,
23749,
13,
13,
4706,
5016,
2371,
1839,
2158,
2033,
353,
1583,
3032,
558,
1639,
13,
4706,
1583,
29889,
1217,
29918,
2158,
353,
694,
29918,
2158,
470,
13114,
13,
13,
4706,
7573,
353,
15149,
29918,
6632,
2287,
29903,
7503,
29962,
13,
13,
4706,
565,
13114,
470,
694,
29918,
361,
29901,
13,
9651,
7573,
29889,
5992,
877,
361,
1495,
13,
4706,
565,
13114,
470,
694,
29918,
1454,
29901,
13,
9651,
7573,
29889,
5992,
877,
1454,
1495,
13,
4706,
565,
13114,
470,
694,
29918,
8000,
29901,
13,
9651,
7573,
29889,
5992,
877,
8000,
1495,
13,
4706,
565,
13114,
470,
694,
29918,
2202,
29901,
13,
9651,
7573,
29889,
5992,
877,
2202,
1495,
13,
4706,
565,
13114,
470,
694,
29918,
2220,
1753,
29901,
13,
9651,
7573,
29889,
5992,
877,
2220,
1753,
1495,
13,
4706,
565,
13114,
470,
694,
29918,
361,
4548,
29901,
13,
9651,
7573,
29889,
5992,
877,
361,
4548,
1495,
13,
4706,
565,
13114,
470,
694,
29918,
9294,
29901,
13,
9651,
7573,
29889,
5992,
877,
9294,
1495,
13,
4706,
565,
13114,
470,
694,
29918,
8143,
29901,
13,
9651,
7573,
29889,
5992,
877,
8143,
1495,
13,
4706,
565,
13114,
470,
694,
29918,
22692,
29901,
13,
9651,
7573,
29889,
5992,
877,
22692,
1495,
13,
4706,
565,
13114,
470,
694,
29918,
1761,
2388,
29901,
13,
9651,
7573,
29889,
5992,
877,
1761,
2388,
1495,
13,
4706,
565,
13114,
470,
694,
29918,
2987,
16645,
29901,
13,
9651,
7573,
29889,
5992,
877,
2987,
16645,
1495,
13,
13,
4706,
1583,
29889,
3177,
29918,
3179,
9306,
353,
6571,
13,
4706,
363,
2943,
297,
7573,
29901,
13,
9651,
1583,
29889,
3177,
29918,
3179,
9306,
29961,
3177,
29962,
353,
679,
5552,
29898,
1311,
29892,
376,
265,
29918,
29995,
29879,
29908,
1273,
2943,
29897,
13,
13,
4706,
396,
304,
17903,
675,
1018,
29914,
19499,
1018,
29914,
4951,
635,
363,
5132,
29906,
29889,
29953,
1549,
5132,
29941,
29889,
29941,
13,
4706,
565,
525,
2202,
29915,
297,
1583,
29889,
3177,
29918,
3179,
9306,
29901,
13,
9651,
1583,
29889,
3177,
29918,
3179,
9306,
1839,
2202,
19499,
2033,
353,
1583,
29889,
3177,
29918,
3179,
9306,
1839,
2202,
2033,
13,
9651,
1583,
29889,
3177,
29918,
3179,
9306,
1839,
2202,
4951,
635,
2033,
353,
1583,
29889,
3177,
29918,
3179,
9306,
1839,
2202,
2033,
13,
13,
4706,
565,
20623,
29918,
18098,
29879,
338,
6213,
29901,
13,
9651,
1583,
29889,
949,
6194,
29918,
18098,
29879,
353,
731,
580,
13,
4706,
1683,
29901,
13,
9651,
1583,
29889,
949,
6194,
29918,
18098,
29879,
353,
731,
29898,
949,
6194,
29918,
18098,
29879,
29897,
13,
13,
4706,
565,
4240,
1144,
29918,
949,
6194,
29901,
13,
9651,
1583,
29889,
949,
6194,
29918,
18098,
29879,
891,
29922,
731,
29898,
1311,
29889,
11967,
2371,
29897,
13,
13,
4706,
1583,
29889,
1217,
29918,
24535,
8552,
353,
518,
1989,
363,
1820,
29892,
659,
297,
5016,
2371,
29889,
7076,
580,
13,
462,
9651,
565,
313,
4804,
519,
29898,
791,
29897,
13,
462,
18884,
470,
525,
23749,
29889,
1982,
29889,
2248,
29918,
509,
7358,
29915,
297,
2062,
29898,
791,
29897,
13,
462,
18884,
470,
16096,
29889,
275,
5453,
29898,
791,
28166,
13,
13,
1678,
822,
3349,
29918,
3177,
13789,
29898,
1311,
29892,
2943,
1125,
13,
4706,
9995,
5992,
2304,
363,
263,
2943,
13,
4706,
3639,
1857,
2943,
7834,
29892,
577,
393,
372,
13,
4706,
1795,
367,
337,
29899,
23959,
411,
788,
29918,
3177,
13789,
580,
13,
4706,
9995,
13,
4706,
714,
353,
6213,
13,
4706,
565,
2943,
297,
1583,
29889,
3177,
29918,
3179,
9306,
29901,
13,
9651,
714,
353,
1583,
29889,
3177,
29918,
3179,
9306,
29889,
7323,
29898,
3177,
29897,
13,
4706,
736,
714,
13,
13,
1678,
822,
731,
29918,
3177,
13789,
29898,
1311,
29892,
2943,
29892,
7834,
1125,
13,
4706,
9995,
842,
2943,
7834,
15945,
29908,
13,
4706,
1583,
29889,
3177,
29918,
3179,
9306,
29961,
3177,
29962,
353,
7834,
13,
13,
1678,
822,
1404,
29918,
12119,
29918,
18098,
29879,
29898,
1311,
1125,
13,
4706,
9995,
11609,
263,
731,
310,
15072,
393,
505,
1063,
2715,
304,
5016,
2371,
1156,
13,
4706,
7632,
29889,
13,
13,
4706,
306,
29889,
29872,
1696,
278,
15072,
515,
1583,
29889,
11967,
2371,
393,
526,
451,
297,
13,
4706,
1583,
29889,
1217,
29918,
24535,
8552,
29889,
13,
13,
4706,
16969,
13,
4706,
448,
22158,
13,
4706,
5412,
29918,
18098,
29879,
584,
731,
13,
9651,
15072,
297,
5016,
2371,
393,
526,
451,
297,
1583,
29889,
1217,
29918,
24535,
8552,
13,
13,
4706,
9995,
13,
4706,
5016,
29918,
262,
29918,
3784,
353,
731,
29898,
1311,
29889,
11967,
2371,
29889,
8149,
3101,
13,
4706,
5016,
29918,
3166,
29918,
3075,
4080,
353,
731,
29898,
1311,
29889,
1217,
29918,
24535,
8552,
29897,
13,
4706,
5412,
29918,
18098,
29879,
353,
5016,
29918,
262,
29918,
3784,
29889,
29881,
17678,
29898,
11967,
29918,
3166,
29918,
3075,
4080,
29897,
13,
4706,
736,
5412,
29918,
18098,
29879,
13,
13,
1678,
822,
443,
326,
2037,
287,
29898,
1311,
29892,
2943,
1125,
13,
4706,
9995,
2525,
326,
2037,
287,
7573,
1213,
15945,
13,
4706,
1583,
29889,
22692,
29918,
11739,
29898,
3177,
29892,
5566,
29922,
3664,
1888,
2037,
287,
2392,
29892,
13,
462,
632,
10191,
543,
29915,
29995,
29879,
29915,
451,
6969,
29908,
1273,
13,
462,
632,
313,
3177,
17255,
1990,
1649,
17255,
978,
1649,
876,
13,
13,
1678,
822,
12020,
29918,
11739,
29898,
1311,
29892,
2943,
29892,
5566,
29922,
8516,
29892,
10191,
2433,
742,
22010,
29922,
8516,
29892,
13,
462,
4706,
6276,
8154,
29922,
8516,
1125,
13,
4706,
9995,
2528,
385,
3682,
1213,
15945,
13,
4706,
565,
1583,
29889,
2704,
338,
6213,
29901,
13,
9651,
1583,
29889,
2704,
353,
5159,
13,
4706,
565,
22010,
338,
6213,
29901,
13,
9651,
22010,
353,
1583,
29889,
13338,
13,
4706,
565,
7431,
29898,
1311,
29889,
2704,
29897,
1405,
29871,
29900,
322,
451,
338,
8758,
29898,
3177,
29892,
8717,
29889,
7355,
1125,
13,
9651,
10191,
353,
14210,
29879,
29915,
1273,
10191,
13,
4706,
4589,
353,
8960,
11439,
29898,
3177,
29892,
5566,
29922,
735,
29883,
29892,
10191,
29922,
7645,
29892,
22010,
29922,
13338,
29892,
6276,
8154,
29922,
1915,
8154,
29897,
13,
4706,
1583,
3032,
1639,
6685,
353,
8717,
29889,
29934,
29874,
895,
580,
13,
4706,
1583,
29889,
2704,
29889,
4397,
29898,
3127,
29897,
13,
4706,
565,
1583,
29889,
2704,
29918,
7645,
338,
6213,
29901,
13,
9651,
1583,
29889,
2704,
29918,
7645,
353,
376,
271,
22010,
2433,
29995,
29879,
11838,
1273,
313,
1311,
29889,
13338,
29897,
13,
4706,
25342,
7431,
29898,
7645,
29897,
1405,
29871,
29900,
29901,
13,
9651,
1583,
29889,
2704,
29918,
7645,
353,
10191,
13,
4706,
565,
5566,
338,
6213,
29901,
13,
9651,
1018,
29901,
13,
18884,
5566,
353,
1583,
29889,
2704,
29961,
29900,
1822,
735,
29883,
13,
9651,
5174,
29901,
13,
18884,
5566,
353,
24875,
2392,
13,
4706,
12020,
5566,
29898,
1311,
29889,
2704,
29918,
7645,
29897,
13,
13,
1678,
396,
1667,
6251,
1298,
363,
10186,
2943,
17983,
13,
1678,
396,
29871,
6088,
29901,
29871,
1426,
310,
9506,
1599,
8717,
13,
1678,
396,
29871,
1065,
29901,
1678,
8717,
1599,
1121,
13,
1678,
396,
29871,
19745,
29901,
259,
1347,
3229,
1599,
1121,
353,
1065,
29898,
5510,
29898,
20788,
876,
13,
1678,
822,
6088,
29898,
1311,
29892,
1426,
1125,
13,
4706,
9995,
12914,
3229,
29914,
17471,
304,
10186,
8954,
1213,
15945,
13,
4706,
1583,
29889,
13338,
353,
1426,
13,
4706,
1018,
29901,
13,
9651,
714,
353,
8717,
29889,
5510,
29898,
726,
29897,
13,
4706,
5174,
21306,
2392,
29901,
13,
9651,
1583,
29889,
22692,
29918,
11739,
29898,
8516,
29892,
10191,
2433,
16676,
4829,
742,
22010,
29922,
726,
29897,
13,
4706,
5174,
29901,
13,
9651,
1583,
29889,
22692,
29918,
11739,
29898,
8516,
29892,
10191,
2433,
7944,
4829,
742,
22010,
29922,
726,
29897,
13,
13,
4706,
736,
714,
13,
13,
1678,
822,
1065,
29898,
1311,
29892,
2943,
29892,
22010,
29922,
8516,
29892,
6276,
8154,
29922,
8516,
29892,
411,
29918,
22692,
29922,
5574,
1125,
13,
4706,
9995,
12296,
21213,
10186,
8954,
363,
385,
4603,
1213,
15945,
13,
4706,
396,
3940,
29901,
3013,
278,
525,
3177,
338,
6213,
29915,
1243,
29901,
7463,
775,
1244,
1122,
1065,
13,
4706,
396,
1678,
1065,
29898,
8516,
29897,
322,
2149,
263,
6213,
297,
736,
29889,
13,
4706,
714,
353,
6213,
13,
4706,
565,
7431,
29898,
1311,
29889,
2704,
29897,
1405,
29871,
29900,
29901,
13,
9651,
736,
714,
13,
4706,
565,
1583,
29889,
2267,
791,
338,
451,
6213,
29901,
13,
9651,
736,
1583,
29889,
2267,
791,
13,
4706,
565,
338,
8758,
29898,
1311,
3032,
1639,
6685,
29892,
313,
579,
29889,
20130,
557,
29892,
8717,
29889,
1323,
14150,
22164,
13,
9651,
736,
1583,
3032,
1639,
6685,
13,
4706,
565,
2943,
338,
6213,
29901,
13,
9651,
736,
714,
13,
4706,
565,
338,
8758,
29898,
3177,
29892,
851,
1125,
13,
9651,
2943,
353,
1583,
29889,
5510,
29898,
3177,
29897,
13,
4706,
565,
6276,
8154,
338,
451,
6213,
29901,
13,
9651,
1583,
29889,
1915,
8154,
353,
6276,
8154,
13,
4706,
565,
22010,
338,
451,
6213,
29901,
13,
9651,
1583,
29889,
13338,
353,
22010,
13,
13,
4706,
396,
679,
7834,
363,
445,
2943,
29901,
13,
4706,
396,
259,
373,
29918,
12353,
411,
4386,
7573,
310,
1134,
525,
12353,
742,
2992,
13,
4706,
1018,
29901,
13,
9651,
7834,
353,
1583,
29889,
3177,
29918,
3179,
9306,
29961,
3177,
17255,
1990,
1649,
17255,
978,
26914,
13609,
580,
29962,
13,
4706,
5174,
7670,
2392,
29901,
13,
9651,
736,
1583,
29889,
348,
326,
2037,
287,
29898,
3177,
29897,
13,
13,
4706,
396,
1065,
278,
7834,
29901,
29871,
445,
674,
5517,
5706,
13,
4706,
396,
16732,
5717,
964,
445,
1065,
1158,
29889,
13,
4706,
1018,
29901,
13,
9651,
3240,
353,
7834,
29898,
3177,
29897,
13,
9651,
565,
338,
8758,
29898,
2267,
29892,
26985,
1125,
13,
18884,
3240,
353,
1051,
29898,
2267,
29897,
13,
9651,
736,
3240,
13,
4706,
5174,
29901,
13,
9651,
565,
411,
29918,
22692,
29901,
13,
18884,
565,
7431,
29898,
1311,
29889,
2704,
29897,
1275,
29871,
29900,
29901,
13,
462,
1678,
396,
853,
3179,
839,
3682,
393,
3282,
29915,
29873,
671,
12020,
29918,
11739,
13,
462,
1678,
1583,
29889,
22692,
29918,
11739,
29898,
3177,
29892,
22010,
29922,
13338,
29897,
13,
18884,
12020,
13,
13,
1678,
822,
4770,
4804,
12035,
1311,
29892,
22010,
29892,
3579,
11022,
1125,
13,
4706,
9995,
5594,
770,
2777,
408,
740,
1213,
15945,
13,
4706,
736,
1583,
29889,
14513,
29898,
13338,
29892,
3579,
11022,
29897,
13,
13,
1678,
822,
19745,
29898,
1311,
29892,
22010,
29892,
6276,
8154,
29922,
29900,
29892,
1510,
29918,
12523,
29922,
5574,
29892,
12020,
29918,
12523,
29922,
8824,
1125,
13,
4706,
9995,
29923,
4387,
403,
263,
2323,
3229,
1213,
15945,
13,
4706,
1583,
29889,
1915,
8154,
353,
6276,
8154,
13,
4706,
1583,
29889,
2704,
353,
5159,
13,
4706,
1583,
29889,
2962,
29918,
2230,
353,
931,
29889,
2230,
580,
13,
4706,
1018,
29901,
13,
9651,
2943,
353,
1583,
29889,
5510,
29898,
13338,
29897,
13,
4706,
5174,
29901,
13,
9651,
4589,
7645,
353,
5566,
29918,
3888,
580,
29961,
29896,
29962,
13,
9651,
565,
7431,
29898,
1311,
29889,
2704,
29897,
1405,
29871,
29900,
29901,
13,
18884,
4589,
7645,
353,
6634,
29876,
1642,
7122,
29898,
1311,
29889,
2704,
29961,
29900,
1822,
657,
29918,
2704,
3101,
13,
9651,
565,
12020,
29918,
12523,
29901,
13,
18884,
1018,
29901,
13,
462,
1678,
5566,
353,
1583,
29889,
2704,
29961,
29900,
1822,
735,
29883,
13,
18884,
5174,
29901,
13,
462,
1678,
5566,
353,
24875,
2392,
13,
18884,
12020,
5566,
29898,
3127,
7645,
29897,
13,
9651,
565,
1510,
29918,
12523,
29901,
13,
18884,
1596,
29898,
3127,
7645,
29892,
934,
29922,
1311,
29889,
3127,
29918,
13236,
29897,
13,
9651,
736,
13,
4706,
1018,
29901,
13,
9651,
736,
1583,
29889,
3389,
29898,
3177,
29892,
22010,
29922,
13338,
29892,
6276,
8154,
29922,
1915,
8154,
29897,
13,
4706,
5174,
29901,
13,
9651,
4589,
7645,
353,
5566,
29918,
3888,
580,
29961,
29896,
29962,
13,
9651,
565,
7431,
29898,
1311,
29889,
2704,
29897,
1405,
29871,
29900,
29901,
13,
18884,
4589,
7645,
353,
6634,
29876,
1642,
7122,
29898,
1311,
29889,
2704,
29961,
29900,
1822,
657,
29918,
2704,
3101,
13,
9651,
565,
12020,
29918,
12523,
29901,
13,
18884,
1018,
29901,
13,
462,
1678,
5566,
353,
1583,
29889,
2704,
29961,
29900,
1822,
735,
29883,
13,
18884,
5174,
29901,
13,
462,
1678,
5566,
353,
24875,
2392,
13,
18884,
12020,
5566,
29898,
3127,
7645,
29897,
13,
9651,
565,
1510,
29918,
12523,
29901,
13,
18884,
1596,
29898,
3127,
7645,
29892,
934,
29922,
1311,
29889,
3127,
29918,
13236,
29897,
13,
9651,
736,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
16766,
29898,
3177,
29892,
3579,
11022,
1125,
13,
4706,
9995,
15427,
8717,
270,
398,
546,
1213,
15945,
13,
4706,
736,
8717,
29889,
15070,
29898,
3177,
29892,
3579,
11022,
29897,
13,
13,
1678,
396,
25795,
363,
8717,
7117,
13,
1678,
822,
373,
29918,
13338,
29898,
1311,
29892,
2943,
1125,
13,
4706,
9995,
10960,
1213,
15945,
13,
4706,
736,
1583,
29889,
3389,
29898,
3177,
29889,
1767,
29897,
29871,
396,
6702,
1767,
742,
29897,
13,
13,
1678,
822,
373,
29918,
2248,
29898,
1311,
29892,
2943,
1125,
13,
4706,
9995,
3220,
1213,
15945,
13,
4706,
736,
1583,
29889,
3389,
29898,
3177,
29889,
1767,
29897,
29871,
396,
6702,
1767,
742,
29897,
13,
13,
1678,
822,
373,
29918,
2457,
29898,
1311,
29892,
2943,
1125,
29871,
396,
6702,
1767,
742,
29897,
13,
4706,
9995,
11609,
3229,
29901,
1106,
363,
6213,
29892,
736,
4266,
2665,
262,
295,
1213,
15945,
13,
4706,
565,
1583,
3032,
4804,
19488,
1275,
29871,
29900,
29901,
13,
9651,
12020,
21306,
2392,
877,
29883,
6735,
736,
472,
2246,
3233,
1495,
13,
4706,
1583,
29889,
2267,
791,
353,
1583,
29889,
3389,
29898,
3177,
29889,
1767,
29897,
13,
4706,
565,
1583,
29889,
2267,
791,
338,
6213,
29901,
13,
9651,
1583,
29889,
2267,
791,
353,
7106,
287,
8516,
13,
4706,
736,
13,
13,
1678,
822,
373,
29918,
276,
558,
29898,
1311,
29892,
2943,
1125,
13,
4706,
9995,
1123,
558,
1213,
15945,
13,
4706,
736,
2062,
29898,
1311,
29889,
3389,
29898,
3177,
29889,
1767,
876,
29871,
396,
6702,
1767,
742,
29897,
13,
13,
1678,
822,
373,
29918,
5453,
29898,
1311,
29892,
2943,
1125,
1678,
396,
313,
1125,
877,
2587,
742,
29897,
13,
4706,
9995,
7355,
822,
1213,
15945,
13,
4706,
714,
353,
6213,
13,
4706,
363,
260,
3177,
297,
2943,
29889,
2587,
29901,
13,
9651,
714,
353,
1583,
29889,
3389,
29898,
29873,
3177,
29897,
13,
4706,
736,
714,
13,
13,
1678,
822,
373,
29918,
17471,
29898,
1311,
29892,
2943,
1125,
13,
4706,
376,
16121,
4603,
29908,
13,
4706,
736,
1583,
29889,
265,
29918,
5453,
29898,
3177,
29897,
29871,
396,
313,
1125,
877,
2587,
742,
29897,
13,
13,
1678,
822,
373,
29918,
3364,
29898,
1311,
29892,
2943,
1125,
13,
4706,
9995,
7129,
3229,
1213,
15945,
13,
4706,
736,
6213,
29871,
396,
3861,
13,
13,
1678,
822,
373,
29918,
5481,
567,
275,
29898,
1311,
29892,
2943,
1125,
13,
4706,
9995,
6489,
492,
567,
267,
1213,
15945,
13,
4706,
736,
26656,
567,
275,
13,
13,
1678,
396,
363,
2867,
322,
6773,
29901,
731,
278,
2777,
2286,
903,
1639,
6685,
13,
1678,
822,
373,
29918,
1639,
6685,
29898,
1311,
29892,
2943,
1125,
1678,
396,
3861,
13,
4706,
9995,
4074,
6685,
7834,
1213,
15945,
13,
4706,
1583,
3032,
1639,
6685,
353,
2943,
13,
4706,
736,
2943,
13,
13,
1678,
822,
373,
29918,
8690,
29898,
1311,
29892,
2943,
1125,
13,
4706,
9995,
20130,
557,
1213,
15945,
13,
4706,
736,
1583,
29889,
265,
29918,
1639,
6685,
29898,
3177,
29897,
13,
13,
1678,
822,
373,
29918,
19878,
29898,
1311,
29892,
2943,
1125,
13,
4706,
9995,
1323,
14150,
1213,
15945,
13,
4706,
736,
1583,
29889,
265,
29918,
1639,
6685,
29898,
3177,
29897,
13,
13,
1678,
822,
373,
29918,
9294,
29898,
1311,
29892,
2943,
1125,
1678,
396,
6702,
1688,
742,
525,
7645,
1495,
13,
4706,
9995,
14697,
3229,
1213,
15945,
13,
4706,
565,
451,
1583,
29889,
3389,
29898,
3177,
29889,
1688,
1125,
13,
9651,
10191,
353,
2943,
29889,
7645,
29889,
29879,
565,
2943,
29889,
7645,
1683,
5124,
13,
9651,
1583,
29889,
22692,
29918,
11739,
29898,
3177,
29892,
5566,
29922,
14697,
291,
2392,
29892,
10191,
29922,
7645,
29897,
13,
4706,
736,
5852,
13,
13,
1678,
822,
373,
29918,
1761,
29898,
1311,
29892,
2943,
1125,
1678,
396,
6702,
2152,
742,
525,
13073,
1495,
13,
4706,
9995,
1293,
1213,
15945,
13,
4706,
736,
518,
1311,
29889,
3389,
29898,
29872,
29897,
363,
321,
297,
2943,
29889,
295,
1372,
29962,
13,
13,
1678,
822,
373,
29918,
23583,
29898,
1311,
29892,
2943,
1125,
1678,
396,
6702,
295,
1372,
742,
525,
13073,
1495,
13,
4706,
9995,
23215,
552,
1213,
15945,
13,
4706,
736,
18761,
29898,
1311,
29889,
265,
29918,
1761,
29898,
3177,
876,
13,
13,
1678,
822,
373,
29918,
8977,
29898,
1311,
29892,
2943,
1125,
1678,
396,
6702,
8149,
742,
525,
5975,
1495,
13,
4706,
9995,
11513,
1213,
15945,
13,
4706,
736,
426,
1311,
29889,
3389,
29898,
29895,
1125,
1583,
29889,
3389,
29898,
29894,
29897,
363,
413,
29892,
325,
297,
13,
18884,
14319,
29898,
3177,
29889,
8149,
29892,
2943,
29889,
5975,
2915,
13,
13,
1678,
822,
373,
29918,
23362,
29898,
1311,
29892,
2943,
1125,
259,
396,
6702,
1767,
742,
525,
14380,
1495,
13,
4706,
9995,
11609,
4868,
995,
1213,
15945,
13,
4706,
736,
2943,
29889,
1767,
13,
13,
1678,
822,
373,
29918,
1949,
29898,
1311,
29892,
2943,
1125,
259,
396,
6702,
29876,
742,
29897,
13,
4706,
9995,
11609,
1353,
1213,
15945,
13,
4706,
736,
2943,
29889,
29876,
13,
13,
1678,
822,
373,
29918,
710,
29898,
1311,
29892,
2943,
1125,
259,
396,
6702,
29879,
742,
29897,
13,
4706,
9995,
11609,
1347,
1213,
15945,
13,
4706,
736,
2943,
29889,
29879,
13,
13,
1678,
822,
373,
29918,
978,
29898,
1311,
29892,
2943,
1125,
1678,
396,
6702,
333,
742,
525,
13073,
1495,
13,
4706,
9995,
1170,
2943,
1213,
15945,
13,
4706,
12893,
353,
2943,
29889,
13073,
17255,
1990,
1649,
13,
4706,
565,
12893,
297,
313,
579,
29889,
4736,
29892,
8717,
29889,
13157,
1125,
13,
9651,
736,
851,
29898,
3177,
29889,
333,
29897,
13,
4706,
1683,
29901,
13,
9651,
565,
2943,
29889,
333,
297,
1583,
29889,
11967,
2371,
29901,
13,
18884,
736,
1583,
29889,
11967,
2371,
29961,
3177,
29889,
333,
29962,
13,
9651,
1683,
29901,
13,
18884,
10191,
353,
376,
978,
14210,
29879,
29915,
338,
451,
3342,
29908,
1273,
2943,
29889,
333,
13,
18884,
1583,
29889,
22692,
29918,
11739,
29898,
3177,
29892,
5566,
29922,
1170,
2392,
29892,
10191,
29922,
7645,
29897,
13,
13,
1678,
822,
373,
29918,
978,
23362,
29898,
1311,
29892,
2943,
1125,
13,
4706,
9995,
5574,
29892,
7700,
29892,
470,
6213,
15945,
29908,
13,
4706,
736,
2943,
29889,
1767,
13,
13,
1678,
822,
2943,
29918,
16645,
29898,
1311,
29892,
2943,
29892,
659,
1125,
13,
4706,
9995,
7900,
647,
263,
995,
313,
1333,
278,
2943,
29889,
1767,
1203,
29897,
304,
263,
2943,
29889,
13,
13,
4706,
910,
338,
1304,
491,
373,
29918,
16645,
29892,
541,
884,
491,
363,
29892,
1051,
15171,
2673,
29892,
13,
4706,
2992,
29889,
13,
13,
4706,
9995,
13,
4706,
565,
2943,
17255,
1990,
1649,
1275,
8717,
29889,
1170,
29901,
13,
9651,
565,
313,
1333,
2854,
29918,
18098,
29918,
978,
29898,
3177,
29889,
333,
29897,
470,
13,
462,
1678,
2943,
29889,
333,
297,
1583,
29889,
949,
6194,
29918,
18098,
29879,
1125,
13,
18884,
4589,
7645,
353,
376,
20965,
5829,
1024,
313,
690,
9841,
1734,
7897,
1273,
29879,
29908,
1273,
2943,
29889,
333,
13,
18884,
1583,
29889,
22692,
29918,
11739,
29898,
3177,
29892,
5566,
29922,
1170,
2392,
29892,
10191,
29922,
3127,
7645,
29897,
13,
9651,
1583,
29889,
11967,
2371,
29961,
3177,
29889,
333,
29962,
353,
659,
13,
9651,
565,
2943,
29889,
333,
297,
1583,
29889,
1217,
29918,
24535,
8552,
29901,
13,
18884,
1583,
29889,
1217,
29918,
24535,
8552,
29889,
5992,
29898,
3177,
29889,
333,
29897,
13,
13,
4706,
25342,
2943,
17255,
1990,
1649,
1275,
8717,
29889,
6708,
29901,
13,
9651,
565,
2943,
29889,
13073,
17255,
1990,
1649,
1275,
8717,
29889,
5896,
29901,
13,
18884,
10191,
353,
376,
29883,
6735,
3566,
304,
5352,
1273,
29879,
29908,
1273,
2943,
29889,
5552,
13,
18884,
1583,
29889,
22692,
29918,
11739,
29898,
3177,
29892,
5566,
29922,
6708,
2392,
29892,
10191,
29922,
7645,
29897,
13,
13,
9651,
731,
5552,
29898,
1311,
29889,
3389,
29898,
3177,
29889,
1767,
511,
2943,
29889,
5552,
29892,
659,
29897,
13,
13,
4706,
25342,
2943,
17255,
1990,
1649,
1275,
8717,
29889,
4035,
2154,
29901,
13,
9651,
1583,
29889,
3389,
29898,
3177,
29889,
1767,
9601,
1311,
29889,
3389,
29898,
3177,
29889,
18337,
4638,
353,
659,
13,
13,
4706,
25342,
2943,
17255,
1990,
1649,
297,
313,
579,
29889,
23215,
552,
29892,
8717,
29889,
1293,
1125,
13,
9651,
565,
7431,
29898,
791,
29897,
1275,
7431,
29898,
3177,
29889,
295,
1372,
1125,
13,
18884,
363,
734,
2409,
29892,
260,
791,
297,
14319,
29898,
3177,
29889,
295,
1372,
29892,
659,
1125,
13,
462,
1678,
1583,
29889,
3177,
29918,
16645,
29898,
371,
2409,
29892,
260,
791,
29897,
13,
9651,
1683,
29901,
13,
18884,
12020,
7865,
2392,
877,
517,
29877,
1784,
1819,
304,
443,
4058,
1495,
13,
13,
1678,
822,
373,
29918,
12715,
29898,
1311,
29892,
2943,
1125,
1678,
396,
6702,
1767,
742,
525,
5552,
742,
525,
13073,
1495,
13,
4706,
9995,
5647,
1461,
5352,
1213,
15945,
13,
4706,
12893,
353,
2943,
29889,
13073,
17255,
1990,
1649,
13,
4706,
565,
12893,
1275,
8717,
29889,
9044,
29901,
13,
9651,
10191,
353,
376,
12715,
363,
8635,
29901,
9273,
29915,
29873,
367,
1244,
3850,
13,
9651,
1583,
29889,
22692,
29918,
11739,
29898,
3177,
29892,
5566,
29922,
7944,
2392,
29892,
10191,
29922,
7645,
29897,
13,
13,
4706,
5016,
353,
1583,
29889,
3389,
29898,
3177,
29889,
1767,
29897,
13,
4706,
565,
12893,
1275,
8717,
29889,
13157,
29901,
13,
9651,
736,
628,
5552,
29898,
11967,
29892,
2943,
29889,
5552,
29897,
13,
13,
4706,
396,
12893,
338,
8717,
29889,
5896,
13,
4706,
565,
451,
313,
3177,
29889,
5552,
297,
501,
3059,
5098,
29923,
29918,
1299,
5659,
29903,
470,
13,
18884,
313,
3177,
29889,
5552,
29889,
27382,
2541,
877,
1649,
1495,
322,
13,
462,
2943,
29889,
5552,
29889,
1975,
2541,
877,
1649,
8785,
1125,
13,
9651,
1018,
29901,
13,
18884,
736,
679,
5552,
29898,
11967,
29892,
2943,
29889,
5552,
29897,
13,
9651,
5174,
23833,
2392,
29901,
13,
18884,
1209,
13,
13,
4706,
396,
23833,
2392,
470,
20592,
25110,
5352,
13,
4706,
10191,
353,
376,
1217,
5352,
14210,
29879,
29915,
363,
1273,
29879,
29908,
1273,
313,
3177,
29889,
5552,
29892,
1583,
29889,
3389,
29898,
3177,
29889,
1767,
876,
13,
4706,
1583,
29889,
22692,
29918,
11739,
29898,
3177,
29892,
5566,
29922,
6708,
2392,
29892,
10191,
29922,
7645,
29897,
13,
13,
1678,
822,
373,
29918,
16645,
29898,
1311,
29892,
2943,
1125,
1678,
396,
6702,
5182,
29879,
742,
525,
1767,
1495,
13,
4706,
9995,
15427,
12827,
1213,
15945,
13,
4706,
659,
353,
1583,
29889,
3389,
29898,
3177,
29889,
1767,
29897,
13,
4706,
363,
260,
3177,
297,
2943,
29889,
5182,
29879,
29901,
13,
9651,
1583,
29889,
3177,
29918,
16645,
29898,
29873,
3177,
29892,
659,
29897,
13,
4706,
736,
13,
13,
1678,
822,
373,
29918,
2987,
16645,
29898,
1311,
29892,
2943,
1125,
1678,
396,
6702,
5182,
742,
525,
459,
742,
525,
1767,
1495,
13,
4706,
9995,
29909,
688,
358,
287,
3566,
1213,
15945,
13,
4706,
736,
1583,
29889,
265,
29918,
16645,
29898,
579,
29889,
7900,
647,
29898,
5182,
29879,
11759,
3177,
29889,
5182,
1402,
13,
462,
462,
308,
995,
29922,
579,
29889,
29933,
262,
11746,
29898,
1563,
29922,
3177,
29889,
5182,
29892,
13,
462,
462,
462,
308,
1015,
29922,
3177,
29889,
459,
29892,
13,
462,
462,
462,
308,
1492,
29922,
3177,
29889,
1767,
4961,
13,
13,
1678,
822,
373,
29918,
18337,
29898,
1311,
29892,
2943,
1125,
1678,
396,
313,
1125,
877,
13609,
742,
525,
21064,
742,
525,
10568,
1495,
13,
4706,
9995,
15427,
22780,
1213,
15945,
13,
4706,
736,
22780,
29898,
1311,
29889,
3389,
29898,
3177,
29889,
13609,
511,
13,
462,
268,
1583,
29889,
3389,
29898,
3177,
29889,
21064,
511,
13,
462,
268,
1583,
29889,
3389,
29898,
3177,
29889,
10568,
876,
13,
13,
1678,
822,
373,
29918,
1062,
18337,
29898,
1311,
29892,
2943,
1125,
1678,
396,
313,
1125,
877,
6229,
29879,
742,
29897,
13,
4706,
9995,
5647,
2760,
22780,
1213,
15945,
13,
4706,
736,
18761,
4197,
1311,
29889,
3389,
29898,
29873,
3177,
29897,
363,
260,
3177,
297,
2943,
29889,
6229,
29879,
2314,
13,
13,
1678,
822,
373,
29918,
1491,
2154,
29898,
1311,
29892,
2943,
1125,
1678,
396,
6702,
1767,
742,
525,
18337,
742,
525,
13073,
1495,
13,
4706,
9995,
4035,
2154,
11415,
1192,
697,
310,
278,
28722,
5633,
1213,
15945,
13,
4706,
659,
353,
1583,
29889,
3389,
29898,
3177,
29889,
1767,
29897,
13,
4706,
17534,
5897,
353,
1583,
29889,
3389,
29898,
3177,
29889,
18337,
29897,
13,
4706,
12893,
353,
2943,
29889,
13073,
17255,
1990,
1649,
13,
4706,
565,
12893,
297,
313,
579,
29889,
5896,
29892,
8717,
29889,
9044,
1125,
13,
9651,
736,
659,
29961,
1983,
5897,
29962,
13,
4706,
1683,
29901,
13,
9651,
10191,
353,
376,
1491,
2154,
411,
9815,
3030,
29908,
13,
9651,
1583,
29889,
22692,
29918,
11739,
29898,
3177,
29892,
10191,
29922,
7645,
29897,
13,
13,
1678,
822,
373,
29918,
8143,
29898,
1311,
29892,
2943,
1125,
1678,
396,
6702,
5182,
29879,
742,
29897,
13,
4706,
9995,
12498,
3229,
1213,
15945,
13,
4706,
363,
260,
3177,
297,
2943,
29889,
5182,
29879,
29901,
13,
9651,
565,
260,
3177,
29889,
13073,
17255,
1990,
1649,
2804,
8717,
29889,
13157,
29901,
13,
18884,
2867,
13,
9651,
4344,
353,
5159,
13,
9651,
1550,
260,
3177,
17255,
1990,
1649,
1275,
8717,
29889,
6708,
29901,
13,
18884,
4344,
29889,
4397,
29898,
29873,
3177,
29889,
5552,
29897,
13,
18884,
260,
3177,
353,
260,
3177,
29889,
1767,
13,
9651,
565,
313,
29873,
3177,
17255,
1990,
1649,
1275,
8717,
29889,
1170,
322,
13,
462,
1678,
260,
3177,
29889,
333,
451,
297,
1583,
29889,
949,
6194,
29918,
18098,
29879,
1125,
13,
18884,
4344,
29889,
4397,
29898,
29873,
3177,
29889,
333,
29897,
13,
18884,
4344,
29889,
24244,
580,
13,
18884,
1583,
29889,
11967,
2371,
29889,
7323,
12839,
4286,
7122,
29898,
11991,
876,
13,
9651,
1683,
29901,
13,
18884,
10191,
353,
376,
26680,
451,
5217,
5829,
29908,
13,
18884,
1583,
29889,
22692,
29918,
11739,
29898,
3177,
29892,
10191,
29922,
7645,
29897,
13,
13,
1678,
822,
373,
29918,
348,
653,
459,
29898,
1311,
29892,
2943,
1125,
1678,
396,
6702,
459,
742,
525,
3372,
392,
1495,
13,
4706,
9995,
2525,
653,
5455,
1213,
15945,
13,
4706,
736,
1015,
29906,
9891,
29898,
3177,
29889,
459,
5033,
1311,
29889,
3389,
29898,
3177,
29889,
3372,
392,
876,
13,
13,
1678,
822,
373,
29918,
2109,
459,
29898,
1311,
29892,
2943,
1125,
1678,
396,
6702,
1563,
742,
525,
459,
742,
525,
1266,
1495,
13,
4706,
9995,
25196,
5455,
1213,
15945,
13,
4706,
736,
1015,
29906,
9891,
29898,
3177,
29889,
459,
5033,
1311,
29889,
3389,
29898,
3177,
29889,
1563,
511,
13,
462,
18884,
1583,
29889,
3389,
29898,
3177,
29889,
1266,
876,
13,
13,
1678,
822,
373,
29918,
11227,
459,
29898,
1311,
29892,
2943,
1125,
1678,
396,
6702,
459,
742,
525,
5975,
1495,
13,
4706,
9995,
18146,
5455,
1213,
15945,
13,
4706,
659,
353,
1583,
29889,
3389,
29898,
3177,
29889,
5975,
29961,
29900,
2314,
13,
4706,
338,
29918,
392,
353,
8717,
29889,
2855,
1275,
2943,
29889,
459,
17255,
1990,
1649,
13,
4706,
565,
313,
275,
29918,
392,
322,
659,
29897,
470,
313,
1333,
338,
29918,
392,
322,
451,
659,
1125,
13,
9651,
363,
302,
297,
2943,
29889,
5975,
29961,
29896,
29901,
5387,
13,
18884,
659,
353,
1015,
29906,
9891,
29898,
3177,
29889,
459,
5033,
791,
29892,
1583,
29889,
3389,
29898,
29876,
876,
13,
18884,
565,
313,
275,
29918,
392,
322,
451,
659,
29897,
470,
313,
1333,
338,
29918,
392,
322,
659,
1125,
13,
462,
1678,
2867,
13,
4706,
736,
659,
13,
13,
1678,
822,
373,
29918,
18307,
29898,
1311,
29892,
2943,
1125,
29871,
396,
6702,
1563,
742,
525,
3554,
742,
525,
510,
862,
4097,
1495,
13,
4706,
9995,
510,
20941,
12768,
29892,
3704,
521,
7114,
5734,
14125,
313,
29874,
29966,
29890,
29966,
29883,
5513,
15945,
13,
4706,
301,
791,
353,
1583,
29889,
3389,
29898,
3177,
29889,
1563,
29897,
13,
4706,
2582,
353,
5159,
13,
4706,
363,
1015,
29892,
364,
3177,
297,
14319,
29898,
3177,
29889,
3554,
29892,
2943,
29889,
510,
862,
4097,
1125,
13,
9651,
364,
791,
353,
1583,
29889,
3389,
29898,
29878,
3177,
29897,
13,
9651,
3240,
353,
1015,
29906,
9891,
29898,
459,
5033,
29880,
791,
29892,
364,
791,
29897,
13,
9651,
2582,
29889,
4397,
29898,
2267,
29897,
13,
9651,
565,
5135,
1311,
29889,
1509,
29918,
23749,
322,
451,
338,
8758,
29898,
2267,
29892,
12655,
29889,
299,
2378,
876,
322,
13,
462,
1678,
451,
3240,
1125,
13,
18884,
2867,
13,
9651,
301,
791,
353,
364,
791,
13,
4706,
565,
7431,
29898,
9902,
29897,
1275,
29871,
29896,
29901,
13,
9651,
736,
2582,
29961,
29900,
29962,
13,
4706,
1683,
29901,
13,
9651,
714,
353,
5852,
13,
9651,
363,
364,
297,
2582,
29901,
13,
18884,
714,
353,
714,
322,
364,
13,
4706,
736,
714,
13,
13,
1678,
822,
903,
558,
1639,
29898,
1311,
29892,
334,
449,
29892,
3579,
29895,
5652,
1125,
13,
4706,
9995,
15809,
1596,
740,
1213,
15945,
13,
4706,
565,
1583,
29889,
1217,
29918,
2158,
29901,
13,
9651,
736,
13,
4706,
28371,
353,
413,
5652,
29889,
7323,
877,
23126,
742,
5852,
29897,
13,
4706,
934,
29882,
353,
413,
5652,
29889,
7323,
877,
1445,
742,
1583,
29889,
13236,
29897,
13,
4706,
16345,
353,
413,
5652,
29889,
7323,
877,
19570,
742,
525,
25710,
13,
4706,
1095,
353,
413,
5652,
29889,
7323,
877,
19570,
742,
11297,
29876,
1495,
13,
13,
4706,
1596,
10456,
449,
29892,
934,
29922,
1445,
29882,
29892,
16345,
29922,
19570,
29892,
1095,
29922,
355,
29897,
13,
4706,
565,
28371,
29901,
13,
9651,
934,
29882,
29889,
23126,
580,
13,
13,
1678,
822,
373,
29918,
361,
29898,
1311,
29892,
2943,
1125,
1678,
396,
6702,
1688,
742,
525,
2587,
742,
525,
272,
2870,
1495,
13,
4706,
9995,
4597,
1070,
565,
29899,
6098,
29899,
2870,
3229,
1213,
15945,
13,
4706,
2908,
353,
2943,
29889,
2587,
13,
4706,
565,
451,
1583,
29889,
3389,
29898,
3177,
29889,
1688,
1125,
13,
9651,
2908,
353,
2943,
29889,
272,
2870,
13,
4706,
363,
260,
3177,
297,
2908,
29901,
13,
9651,
1583,
29889,
3389,
29898,
29873,
3177,
29897,
13,
13,
1678,
822,
373,
29918,
361,
4548,
29898,
1311,
29892,
2943,
1125,
1678,
396,
6702,
1688,
742,
525,
2587,
742,
525,
272,
2870,
1495,
13,
4706,
9995,
3644,
12241,
1213,
15945,
13,
4706,
22010,
353,
2943,
29889,
272,
2870,
13,
4706,
565,
1583,
29889,
3389,
29898,
3177,
29889,
1688,
1125,
13,
9651,
22010,
353,
2943,
29889,
2587,
13,
4706,
736,
1583,
29889,
3389,
29898,
13338,
29897,
13,
13,
1678,
822,
373,
29918,
8000,
29898,
1311,
29892,
2943,
1125,
1678,
396,
6702,
1688,
742,
525,
2587,
742,
525,
272,
2870,
1495,
13,
4706,
9995,
8809,
488,
10930,
1213,
15945,
13,
4706,
1550,
1583,
29889,
3389,
29898,
3177,
29889,
1688,
1125,
13,
9651,
1583,
3032,
1639,
6685,
353,
6213,
13,
9651,
363,
260,
3177,
297,
2943,
29889,
2587,
29901,
13,
18884,
1583,
29889,
3389,
29898,
29873,
3177,
29897,
13,
18884,
565,
1583,
3032,
1639,
6685,
338,
451,
6213,
29901,
13,
462,
1678,
2867,
13,
9651,
565,
338,
8758,
29898,
1311,
3032,
1639,
6685,
29892,
8717,
29889,
20130,
557,
1125,
13,
18884,
2867,
13,
4706,
1683,
29901,
13,
9651,
363,
260,
3177,
297,
2943,
29889,
272,
2870,
29901,
13,
18884,
1583,
29889,
3389,
29898,
29873,
3177,
29897,
13,
4706,
1583,
3032,
1639,
6685,
353,
6213,
13,
13,
1678,
822,
373,
29918,
1454,
29898,
1311,
29892,
2943,
1125,
1678,
396,
6702,
5182,
742,
525,
1524,
742,
525,
2587,
742,
525,
272,
2870,
1495,
13,
4706,
9995,
2831,
10930,
1213,
15945,
13,
4706,
363,
659,
297,
1583,
29889,
3389,
29898,
3177,
29889,
1524,
1125,
13,
9651,
1583,
29889,
3177,
29918,
16645,
29898,
3177,
29889,
5182,
29892,
659,
29897,
13,
9651,
1583,
3032,
1639,
6685,
353,
6213,
13,
9651,
363,
260,
3177,
297,
2943,
29889,
2587,
29901,
13,
18884,
1583,
29889,
3389,
29898,
29873,
3177,
29897,
13,
18884,
565,
1583,
3032,
1639,
6685,
338,
451,
6213,
29901,
13,
462,
1678,
2867,
13,
9651,
565,
338,
8758,
29898,
1311,
3032,
1639,
6685,
29892,
8717,
29889,
20130,
557,
1125,
13,
18884,
2867,
13,
4706,
1683,
29901,
13,
9651,
363,
260,
3177,
297,
2943,
29889,
272,
2870,
29901,
13,
18884,
1583,
29889,
3389,
29898,
29873,
3177,
29897,
13,
4706,
1583,
3032,
1639,
6685,
353,
6213,
13,
13,
1678,
822,
373,
29918,
1761,
2388,
29898,
1311,
29892,
2943,
1125,
1678,
396,
6702,
2152,
742,
525,
4738,
4097,
1495,
13,
4706,
9995,
1293,
15171,
2673,
1213,
15945,
13,
4706,
714,
353,
5159,
13,
4706,
363,
260,
3177,
297,
2943,
29889,
4738,
4097,
29901,
13,
9651,
565,
260,
3177,
17255,
1990,
1649,
1275,
8717,
29889,
510,
1457,
29882,
2673,
29901,
13,
18884,
363,
659,
297,
1583,
29889,
3389,
29898,
29873,
3177,
29889,
1524,
1125,
13,
462,
1678,
1583,
29889,
3177,
29918,
16645,
29898,
29873,
3177,
29889,
5182,
29892,
659,
29897,
13,
462,
1678,
788,
353,
5852,
13,
462,
1678,
363,
2148,
297,
260,
3177,
29889,
10270,
29901,
13,
462,
4706,
788,
353,
788,
322,
1583,
29889,
3389,
29898,
1116,
29897,
13,
462,
1678,
565,
788,
29901,
13,
462,
4706,
714,
29889,
4397,
29898,
1311,
29889,
3389,
29898,
3177,
29889,
2152,
876,
13,
4706,
736,
714,
13,
13,
1678,
822,
373,
29918,
735,
13300,
386,
392,
1358,
29898,
1311,
29892,
2943,
1125,
29871,
396,
6702,
1853,
742,
525,
978,
742,
525,
2587,
1495,
13,
4706,
9995,
2451,
7834,
856,
15945,
29908,
13,
4706,
736,
313,
1311,
29889,
3389,
29898,
3177,
29889,
1853,
511,
2943,
29889,
978,
29892,
2943,
29889,
2587,
29897,
13,
13,
1678,
822,
373,
29918,
2202,
29898,
1311,
29892,
2943,
1125,
1678,
396,
6702,
2587,
742,
525,
3179,
9306,
742,
525,
272,
2870,
742,
525,
8394,
2587,
1495,
13,
4706,
9995,
15870,
29914,
19499,
29914,
2870,
29914,
4951,
635,
10930,
1213,
15945,
13,
4706,
694,
29918,
12523,
353,
5852,
13,
4706,
363,
260,
3177,
297,
2943,
29889,
2587,
29901,
13,
9651,
1583,
29889,
3389,
29898,
29873,
3177,
29892,
411,
29918,
22692,
29922,
8824,
29897,
13,
9651,
694,
29918,
12523,
353,
694,
29918,
12523,
322,
7431,
29898,
1311,
29889,
2704,
29897,
1275,
29871,
29900,
13,
9651,
565,
7431,
29898,
1311,
29889,
2704,
29897,
1405,
29871,
29900,
29901,
13,
18884,
321,
29918,
1853,
29892,
321,
29918,
1767,
29892,
321,
29918,
29873,
1627,
353,
1583,
29889,
2704,
14352,
29896,
1822,
735,
29883,
29918,
3888,
13,
18884,
363,
298,
299,
297,
2943,
29889,
3179,
9306,
29901,
13,
462,
1678,
298,
1853,
353,
6213,
13,
462,
1678,
565,
298,
299,
29889,
1853,
338,
451,
6213,
29901,
13,
462,
4706,
298,
1853,
353,
4770,
16145,
1144,
26914,
657,
29898,
29882,
299,
29889,
1853,
29889,
333,
29892,
6213,
29897,
13,
462,
1678,
565,
298,
1853,
338,
6213,
470,
338,
8758,
29898,
29872,
29918,
1853,
3285,
298,
1853,
1125,
13,
462,
4706,
1583,
29889,
2704,
353,
5159,
13,
462,
4706,
565,
298,
299,
29889,
978,
338,
451,
6213,
29901,
13,
462,
9651,
1583,
29889,
3177,
29918,
16645,
29898,
29882,
299,
29889,
978,
29892,
321,
29918,
1767,
29897,
13,
462,
4706,
363,
260,
1220,
297,
298,
299,
29889,
2587,
29901,
13,
462,
9651,
1583,
29889,
3389,
29898,
29873,
1220,
29897,
13,
462,
4706,
2867,
13,
18884,
2867,
13,
4706,
565,
694,
29918,
12523,
322,
756,
5552,
29898,
3177,
29892,
525,
272,
2870,
29374,
13,
9651,
363,
260,
3177,
297,
2943,
29889,
272,
2870,
29901,
13,
18884,
1583,
29889,
3389,
29898,
29873,
3177,
29897,
13,
13,
4706,
565,
756,
5552,
29898,
3177,
29892,
525,
8394,
2587,
29374,
13,
9651,
363,
260,
3177,
297,
2943,
29889,
8394,
2587,
29901,
13,
18884,
1583,
29889,
3389,
29898,
29873,
3177,
29897,
13,
13,
1678,
822,
373,
29918,
22692,
29898,
1311,
29892,
2943,
1125,
1678,
396,
6702,
1853,
742,
525,
2611,
742,
525,
29873,
1627,
1495,
13,
4706,
9995,
29934,
29874,
895,
3229,
29901,
4443,
4328,
363,
3017,
29871,
29906,
322,
29871,
29941,
1213,
15945,
13,
4706,
5566,
3177,
353,
2943,
29889,
735,
29883,
13,
4706,
10191,
3177,
353,
2943,
29889,
29883,
1071,
13,
4706,
714,
353,
1583,
29889,
3389,
29898,
735,
29883,
3177,
29897,
13,
4706,
10191,
353,
525,
15300,
7122,
29898,
449,
29889,
5085,
29897,
13,
4706,
10191,
29906,
353,
1583,
29889,
3389,
29898,
7645,
3177,
29897,
13,
4706,
565,
10191,
29906,
451,
297,
313,
8516,
29892,
525,
8516,
29374,
13,
9651,
10191,
353,
11860,
29879,
29901,
1273,
29879,
29908,
1273,
313,
7645,
29892,
10191,
29906,
29897,
13,
4706,
1583,
29889,
22692,
29918,
11739,
29898,
8516,
29892,
5566,
29922,
449,
17255,
1990,
1649,
29892,
10191,
29922,
7645,
29892,
22010,
2433,
1495,
13,
13,
1678,
822,
373,
29918,
4804,
29898,
1311,
29892,
2943,
1125,
13,
4706,
9995,
6678,
8225,
1213,
15945,
13,
4706,
396,
29871,
6702,
9891,
742,
525,
5085,
742,
525,
1989,
9303,
4286,
10772,
29966,
29941,
29889,
29945,
756,
525,
8508,
5085,
29915,
322,
525,
19290,
29915,
2086,
29897,
13,
4706,
3653,
353,
1583,
29889,
3389,
29898,
3177,
29889,
9891,
29897,
13,
4706,
565,
451,
756,
5552,
29898,
9891,
29892,
525,
1649,
4804,
1649,
1495,
322,
451,
338,
8758,
29898,
9891,
29892,
1134,
1125,
13,
9651,
10191,
353,
13577,
29995,
29879,
29915,
338,
451,
1246,
519,
29991,
3850,
1273,
313,
9891,
29897,
13,
9651,
1583,
29889,
22692,
29918,
11739,
29898,
3177,
29892,
5566,
29922,
1542,
2392,
29892,
10191,
29922,
7645,
29897,
13,
13,
4706,
6389,
353,
518,
1311,
29889,
3389,
29898,
29873,
1191,
29897,
363,
260,
1191,
297,
2943,
29889,
5085,
29962,
13,
4706,
5810,
5085,
353,
679,
5552,
29898,
3177,
29892,
525,
8508,
5085,
742,
6213,
29897,
13,
4706,
565,
5810,
5085,
338,
451,
6213,
29901,
13,
9651,
6389,
353,
6389,
718,
1583,
29889,
3389,
29898,
8508,
5085,
29897,
13,
13,
4706,
29361,
353,
6571,
13,
4706,
565,
3653,
1275,
1596,
29901,
13,
9651,
29361,
1839,
1445,
2033,
353,
1583,
29889,
13236,
13,
4706,
363,
1820,
297,
2943,
29889,
1989,
9303,
29901,
13,
9651,
565,
451,
338,
8758,
29898,
1989,
29892,
8717,
29889,
26766,
1125,
13,
18884,
10191,
353,
376,
26766,
1059,
297,
740,
1246,
14210,
29879,
11838,
1273,
313,
9891,
29897,
13,
18884,
1583,
29889,
22692,
29918,
11739,
29898,
3177,
29892,
10191,
29922,
7645,
29897,
13,
9651,
565,
1820,
29889,
1191,
338,
6213,
29901,
13,
18884,
29361,
29889,
5504,
29898,
1311,
29889,
3389,
29898,
1989,
29889,
1767,
876,
13,
9651,
25342,
1820,
29889,
1191,
297,
29361,
29901,
13,
18884,
1583,
29889,
22692,
29918,
11739,
29898,
3177,
29892,
13,
462,
462,
268,
10191,
543,
26766,
2980,
10324,
29901,
1273,
29879,
29908,
1273,
1820,
29889,
1191,
29892,
13,
462,
462,
268,
5566,
29922,
16676,
2392,
29897,
13,
9651,
1683,
29901,
13,
18884,
29361,
29961,
1989,
29889,
1191,
29962,
353,
1583,
29889,
3389,
29898,
1989,
29889,
1767,
29897,
13,
13,
4706,
9049,
5085,
353,
679,
5552,
29898,
3177,
29892,
525,
19290,
742,
6213,
29897,
13,
13,
4706,
565,
9049,
5085,
338,
451,
6213,
29901,
13,
9651,
29361,
29889,
5504,
29898,
1311,
29889,
3389,
29898,
19290,
876,
13,
13,
4706,
565,
338,
8758,
29898,
9891,
29892,
1019,
26600,
1125,
13,
9651,
1583,
3032,
4804,
19488,
4619,
29871,
29896,
13,
4706,
1018,
29901,
13,
9651,
714,
353,
3653,
10456,
5085,
29892,
3579,
1989,
9303,
29897,
13,
4706,
5174,
8960,
408,
429,
29901,
13,
9651,
714,
353,
6213,
13,
9651,
3653,
29918,
978,
353,
679,
5552,
29898,
9891,
29892,
525,
1649,
978,
1649,
742,
851,
29898,
9891,
876,
13,
9651,
1583,
29889,
22692,
29918,
11739,
29898,
13,
18884,
2943,
29892,
10191,
543,
2392,
2734,
740,
1246,
14210,
29879,
29915,
411,
6389,
1273,
29879,
322,
376,
13,
18884,
376,
19290,
1273,
29879,
29901,
1273,
29879,
29908,
1273,
313,
9891,
29918,
978,
29892,
6389,
29892,
29361,
29892,
429,
876,
13,
4706,
7146,
29901,
13,
9651,
565,
338,
8758,
29898,
9891,
29892,
1019,
26600,
1125,
13,
18884,
1583,
3032,
4804,
19488,
22361,
29871,
29896,
13,
4706,
736,
714,
13,
13,
1678,
822,
373,
29918,
1191,
29898,
1311,
29892,
2943,
1125,
1678,
396,
6702,
1688,
742,
525,
7645,
1495,
13,
4706,
9995,
8559,
363,
740,
15848,
1213,
15945,
13,
4706,
736,
2943,
29889,
1191,
13,
13,
1678,
822,
373,
29918,
2220,
1753,
29898,
1311,
29892,
2943,
1125,
13,
4706,
9995,
3206,
457,
28648,
1213,
15945,
13,
4706,
396,
6702,
978,
742,
525,
5085,
742,
525,
2587,
742,
525,
19557,
1061,
29918,
1761,
1495,
13,
4706,
565,
2943,
29889,
19557,
1061,
29918,
1761,
29901,
13,
9651,
12020,
24412,
703,
19557,
630,
28648,
451,
6969,
29991,
1159,
13,
4706,
9049,
5085,
353,
5159,
13,
13,
4706,
565,
313,
1333,
2854,
29918,
18098,
29918,
978,
29898,
3177,
29889,
978,
29897,
470,
13,
18884,
2943,
29889,
978,
297,
1583,
29889,
949,
6194,
29918,
18098,
29879,
1125,
13,
9651,
4589,
7645,
353,
376,
20965,
740,
1024,
313,
690,
9841,
1734,
7897,
1273,
29879,
29908,
1273,
2943,
29889,
978,
13,
9651,
1583,
29889,
22692,
29918,
11739,
29898,
3177,
29892,
5566,
29922,
1170,
2392,
29892,
10191,
29922,
3127,
7645,
29897,
13,
13,
4706,
9210,
353,
7431,
29898,
3177,
29889,
5085,
29889,
5085,
29897,
448,
7431,
29898,
3177,
29889,
5085,
29889,
4381,
29879,
29897,
13,
4706,
363,
474,
1753,
29892,
822,
3177,
297,
26985,
29898,
3177,
29889,
5085,
29889,
4381,
29879,
1125,
13,
9651,
822,
791,
353,
1583,
29889,
3389,
29898,
1753,
3177,
29897,
13,
9651,
1820,
791,
353,
1583,
29889,
3389,
29898,
3177,
29889,
5085,
29889,
5085,
29961,
680,
29888,
29974,
10289,
2314,
13,
9651,
9049,
5085,
29889,
4397,
3552,
1989,
791,
29892,
822,
791,
876,
13,
13,
4706,
6389,
353,
518,
29873,
3177,
29889,
1191,
363,
260,
3177,
297,
2943,
29889,
5085,
29889,
5085,
7503,
10289,
5262,
13,
4706,
1574,
353,
6213,
13,
4706,
302,
29890,
29900,
353,
2943,
29889,
2587,
29961,
29900,
29962,
13,
4706,
565,
338,
8758,
29898,
9877,
29900,
29892,
8717,
29889,
21176,
29897,
322,
338,
8758,
29898,
9877,
29900,
29889,
1767,
29892,
8717,
29889,
5015,
1125,
13,
9651,
1574,
353,
302,
29890,
29900,
29889,
1767,
29889,
29879,
13,
13,
4706,
722,
29895,
5652,
353,
2943,
29889,
5085,
29889,
11022,
1191,
13,
4706,
722,
1191,
353,
2943,
29889,
5085,
29889,
1707,
1191,
13,
4706,
565,
338,
8758,
29898,
1707,
1191,
29892,
8717,
29889,
1191,
1125,
13,
9651,
722,
1191,
353,
722,
1191,
29889,
1191,
13,
4706,
565,
338,
8758,
29898,
29894,
935,
5652,
29892,
8717,
29889,
1191,
1125,
13,
9651,
722,
29895,
5652,
353,
722,
29895,
5652,
29889,
1191,
13,
13,
4706,
1583,
29889,
11967,
2371,
29961,
3177,
29889,
978,
29962,
353,
1019,
26600,
29898,
3177,
29889,
978,
29892,
1583,
29892,
1574,
29922,
1514,
29892,
13,
462,
462,
632,
6276,
8154,
29922,
1311,
29889,
1915,
8154,
29892,
13,
462,
462,
632,
3573,
29922,
3177,
29889,
2587,
29892,
13,
462,
462,
632,
6389,
29922,
5085,
29892,
9049,
5085,
29922,
19290,
29892,
13,
462,
462,
632,
722,
1191,
29922,
1707,
1191,
29892,
722,
29895,
5652,
29922,
29894,
935,
5652,
29897,
13,
4706,
565,
2943,
29889,
978,
297,
1583,
29889,
1217,
29918,
24535,
8552,
29901,
13,
9651,
1583,
29889,
1217,
29918,
24535,
8552,
29889,
5992,
29898,
3177,
29889,
978,
29897,
13,
13,
13,
1990,
1019,
26600,
29901,
13,
1678,
9995,
1184,
26600,
29901,
1404,
29899,
12119,
740,
363,
263,
1655,
791,
29889,
13,
13,
1678,
910,
14422,
278,
21213,
8717,
7573,
408,
515,
278,
525,
2220,
1753,
29915,
8717,
2943,
13,
1678,
363,
2678,
17983,
29889,
13,
13,
1678,
9995,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
1024,
29892,
1006,
29886,
29892,
1574,
29922,
8516,
29892,
6276,
8154,
29922,
29900,
29892,
13,
462,
3573,
29922,
8516,
29892,
6389,
29922,
8516,
29892,
9049,
5085,
29922,
8516,
29892,
13,
462,
722,
1191,
29922,
8516,
29892,
722,
29895,
5652,
29922,
8516,
1125,
13,
4706,
9995,
4986,
3970,
29901,
1574,
1807,
297,
970,
1158,
1213,
15945,
13,
4706,
1583,
17255,
262,
2344,
1649,
353,
5852,
13,
4706,
1583,
29889,
978,
353,
1024,
13,
4706,
1583,
17255,
978,
1649,
353,
1583,
29889,
978,
13,
4706,
1583,
17255,
4350,
791,
1649,
353,
1006,
29886,
13,
4706,
1583,
29889,
22692,
29918,
735,
29883,
353,
1583,
17255,
4350,
791,
26914,
22692,
29918,
11739,
13,
4706,
1583,
17255,
1514,
1649,
353,
1574,
13,
4706,
1583,
29889,
2587,
353,
3573,
13,
4706,
1583,
29889,
1191,
7039,
353,
6389,
13,
4706,
1583,
29889,
19290,
353,
9049,
5085,
13,
4706,
1583,
29889,
1707,
1191,
353,
722,
1191,
13,
4706,
1583,
29889,
29894,
935,
5652,
353,
722,
29895,
5652,
13,
4706,
1583,
29889,
1915,
8154,
353,
6276,
8154,
13,
4706,
1583,
17255,
262,
2344,
1649,
353,
7700,
13,
13,
1678,
822,
4770,
842,
5552,
12035,
1311,
29892,
12421,
29892,
659,
1125,
13,
4706,
565,
451,
679,
5552,
29898,
1311,
29892,
525,
1649,
262,
2344,
1649,
742,
5852,
1125,
13,
9651,
1583,
29889,
22692,
29918,
735,
29883,
29898,
8516,
29892,
5566,
29922,
1542,
2392,
29892,
13,
462,
965,
10191,
543,
771,
26600,
338,
1303,
29899,
6194,
1159,
13,
4706,
1583,
17255,
8977,
1649,
29961,
5552,
29962,
353,
659,
13,
13,
1678,
822,
4770,
3972,
12035,
1311,
1125,
13,
4706,
736,
6024,
978,
2033,
13,
13,
1678,
822,
4770,
276,
558,
12035,
1311,
1125,
13,
4706,
9995,
4986,
3970,
29901,
1574,
1807,
297,
15709,
1158,
1213,
15945,
13,
4706,
4365,
353,
5124,
13,
4706,
565,
7431,
29898,
1311,
29889,
1191,
7039,
29897,
1405,
29871,
29900,
29901,
13,
9651,
4365,
353,
11860,
29879,
29995,
29879,
29908,
1273,
313,
18816,
29892,
13420,
15300,
7122,
29898,
1311,
29889,
1191,
7039,
876,
13,
4706,
565,
1583,
29889,
1707,
1191,
338,
451,
6213,
29901,
13,
9651,
4365,
353,
11860,
29879,
29892,
334,
29995,
29879,
29908,
1273,
313,
18816,
29892,
1583,
29889,
1707,
1191,
29897,
13,
4706,
565,
7431,
29898,
1311,
29889,
19290,
29897,
1405,
29871,
29900,
29901,
13,
9651,
565,
7431,
29898,
18816,
29897,
1405,
29871,
29900,
29901,
13,
18884,
4365,
353,
11860,
29879,
29892,
376,
1273,
4365,
13,
9651,
903,
11022,
353,
6796,
29995,
29879,
16328,
29879,
29908,
1273,
313,
29895,
29892,
325,
29897,
363,
413,
29892,
325,
297,
1583,
29889,
19290,
29962,
13,
9651,
4365,
353,
11860,
29879,
29995,
29879,
29908,
1273,
313,
18816,
29892,
13420,
15300,
7122,
7373,
11022,
876,
13,
13,
4706,
565,
1583,
29889,
29894,
935,
5652,
338,
451,
6213,
29901,
13,
9651,
4365,
353,
11860,
29879,
29892,
3579,
29995,
29879,
29908,
1273,
313,
18816,
29892,
1583,
29889,
29894,
935,
5652,
29897,
13,
4706,
4365,
353,
9872,
1184,
26600,
1273,
29879,
29414,
29879,
29897,
11903,
1273,
313,
1311,
29889,
978,
29892,
4365,
29897,
13,
4706,
565,
1583,
17255,
1514,
1649,
338,
451,
6213,
29901,
13,
9651,
4365,
353,
11860,
29879,
29905,
29876,
29871,
1273,
29879,
29908,
1273,
313,
18816,
29892,
1583,
17255,
1514,
1649,
29897,
13,
4706,
736,
4365,
13,
13,
1678,
822,
4770,
4804,
12035,
1311,
29892,
334,
5085,
29892,
3579,
19290,
1125,
13,
4706,
9995,
4986,
3970,
29901,
1574,
1807,
297,
970,
1158,
1213,
15945,
13,
4706,
5016,
2997,
29879,
353,
6571,
13,
4706,
6389,
353,
1051,
29898,
5085,
29897,
13,
4706,
302,
5085,
353,
7431,
29898,
5085,
29897,
13,
4706,
302,
29895,
5652,
353,
7431,
29898,
19290,
29897,
13,
4706,
302,
5085,
29918,
9684,
353,
7431,
29898,
1311,
29889,
1191,
7039,
29897,
13,
4706,
396,
1423,
363,
2086,
2846,
6273,
29892,
541,
278,
1959,
13553,
2183,
13,
4706,
565,
313,
29876,
5085,
529,
302,
5085,
29918,
9684,
29897,
322,
302,
29895,
5652,
1405,
29871,
29900,
29901,
13,
9651,
363,
1024,
297,
1583,
29889,
1191,
7039,
29961,
29876,
5085,
29901,
5387,
13,
18884,
565,
1024,
297,
9049,
5085,
29901,
13,
462,
1678,
6389,
29889,
4397,
29898,
19290,
29889,
7323,
29898,
978,
876,
13,
9651,
302,
5085,
353,
7431,
29898,
5085,
29897,
13,
9651,
302,
5085,
29918,
9684,
353,
7431,
29898,
1311,
29889,
1191,
7039,
29897,
13,
9651,
302,
29895,
5652,
353,
7431,
29898,
19290,
29897,
13,
4706,
565,
302,
5085,
529,
302,
5085,
29918,
9684,
29901,
13,
9651,
10191,
353,
11860,
29879,
580,
4893,
472,
3203,
1273,
29875,
6273,
29892,
2355,
1273,
29875,
29908,
13,
9651,
1583,
29889,
22692,
29918,
735,
29883,
29898,
8516,
29892,
5566,
29922,
1542,
2392,
29892,
13,
462,
965,
10191,
29922,
7645,
1273,
313,
1311,
29889,
978,
29892,
302,
5085,
29918,
9684,
29892,
302,
5085,
876,
13,
4706,
396,
1423,
363,
2999,
1819,
363,
4257,
2980,
13,
4706,
565,
7431,
29898,
1311,
29889,
1191,
7039,
29897,
1405,
29871,
29900,
322,
9049,
5085,
338,
451,
6213,
29901,
13,
9651,
10191,
353,
376,
20787,
1819,
363,
13553,
2980,
14210,
29879,
29915,
297,
1019,
26600,
1273,
29879,
29908,
13,
9651,
363,
260,
1191,
297,
1583,
29889,
1191,
7039,
29901,
13,
18884,
565,
260,
1191,
297,
9049,
5085,
29901,
13,
462,
1678,
1583,
29889,
22692,
29918,
735,
29883,
29898,
8516,
29892,
5566,
29922,
1542,
2392,
29892,
13,
462,
462,
259,
10191,
29922,
7645,
1273,
313,
29873,
1191,
29892,
1583,
29889,
978,
511,
13,
462,
462,
259,
6276,
8154,
29922,
1311,
29889,
1915,
8154,
29897,
13,
13,
4706,
396,
1423,
901,
6389,
2183,
1135,
3806,
29892,
722,
5085,
451,
2183,
13,
4706,
565,
302,
5085,
2804,
302,
5085,
29918,
9684,
29901,
13,
9651,
10191,
353,
6213,
13,
9651,
565,
302,
5085,
529,
302,
5085,
29918,
9684,
29901,
13,
18884,
10191,
353,
525,
1333,
3307,
6273,
363,
1019,
26600,
1273,
29879,
580,
29915,
1273,
1583,
29889,
978,
13,
18884,
10191,
353,
14210,
29879,
313,
9684,
1273,
29875,
29892,
2355,
1273,
29875,
16029,
1273,
313,
7645,
29892,
302,
5085,
29918,
9684,
29892,
302,
5085,
29897,
13,
18884,
1583,
29889,
22692,
29918,
735,
29883,
29898,
8516,
29892,
5566,
29922,
1542,
2392,
29892,
10191,
29922,
7645,
29897,
13,
13,
4706,
565,
302,
5085,
1405,
302,
5085,
29918,
9684,
322,
1583,
29889,
1707,
1191,
338,
6213,
29901,
13,
9651,
565,
302,
5085,
448,
302,
5085,
29918,
9684,
1405,
7431,
29898,
1311,
29889,
19290,
1125,
13,
18884,
10191,
353,
525,
517,
29877,
1784,
6273,
363,
1273,
29879,
580,
3806,
472,
1556,
1273,
29875,
29892,
2355,
1273,
29875,
29915,
13,
18884,
10191,
353,
10191,
1273,
313,
1311,
29889,
978,
29892,
7431,
29898,
1311,
29889,
19290,
7240,
29876,
5085,
29918,
9684,
29892,
302,
5085,
29897,
13,
18884,
1583,
29889,
22692,
29918,
735,
29883,
29898,
8516,
29892,
5566,
29922,
1542,
2392,
29892,
10191,
29922,
7645,
29897,
13,
13,
9651,
363,
474,
29892,
921,
1191,
297,
26985,
29898,
5085,
29961,
29876,
5085,
29918,
9684,
17531,
1125,
13,
18884,
9049,
29918,
978,
353,
1583,
29889,
19290,
29961,
29875,
3816,
29900,
29962,
13,
18884,
565,
9049,
29918,
978,
451,
297,
9049,
5085,
29901,
13,
462,
1678,
9049,
5085,
29961,
11022,
29918,
978,
29962,
353,
921,
1191,
13,
13,
4706,
363,
1852,
978,
297,
1583,
29889,
1191,
7039,
29901,
13,
9651,
5016,
2997,
29879,
29961,
1191,
978,
29962,
353,
6389,
29889,
7323,
29898,
29900,
29897,
13,
13,
4706,
1018,
29901,
13,
9651,
565,
1583,
29889,
1707,
1191,
338,
451,
6213,
29901,
13,
18884,
5016,
2997,
29879,
29961,
1311,
29889,
1707,
1191,
29962,
353,
18761,
29898,
5085,
29897,
13,
13,
9651,
363,
1820,
29892,
659,
297,
1583,
29889,
19290,
29901,
13,
18884,
565,
1820,
297,
9049,
5085,
29901,
13,
462,
1678,
659,
353,
9049,
5085,
29889,
7323,
29898,
1989,
29897,
13,
18884,
5016,
2997,
29879,
29961,
1989,
29962,
353,
659,
13,
13,
9651,
565,
1583,
29889,
29894,
935,
5652,
338,
451,
6213,
29901,
13,
18884,
5016,
2997,
29879,
29961,
1311,
29889,
29894,
935,
5652,
29962,
353,
9049,
5085,
13,
13,
9651,
25342,
7431,
29898,
19290,
29897,
1405,
29871,
29900,
29901,
13,
18884,
10191,
353,
525,
17833,
13553,
6273,
363,
1019,
26600,
1273,
29879,
313,
29995,
29879,
16029,
13,
18884,
10191,
353,
10191,
1273,
313,
1311,
29889,
978,
29892,
13420,
4286,
7122,
29898,
1761,
29898,
19290,
29889,
8149,
580,
4961,
13,
18884,
1583,
29889,
22692,
29918,
735,
29883,
29898,
8516,
29892,
10191,
29922,
7645,
29892,
5566,
29922,
1542,
2392,
29892,
13,
462,
1669,
6276,
8154,
29922,
1311,
29889,
1915,
8154,
29897,
13,
13,
4706,
5174,
313,
1917,
2392,
29892,
7419,
786,
2392,
29892,
20948,
29892,
13,
18884,
4408,
2392,
29892,
23833,
2392,
1125,
13,
9651,
10191,
353,
525,
262,
15728,
6273,
363,
1019,
26600,
1273,
29879,
29915,
1273,
1583,
29889,
978,
13,
9651,
1583,
29889,
22692,
29918,
735,
29883,
29898,
8516,
29892,
10191,
29922,
7645,
29892,
6276,
8154,
29922,
1311,
29889,
1915,
8154,
29897,
13,
13,
4706,
4078,
29918,
11967,
2371,
353,
1583,
17255,
4350,
791,
26914,
11967,
2371,
29889,
8552,
580,
13,
4706,
1583,
17255,
4350,
791,
26914,
11967,
2371,
29889,
5504,
29898,
11967,
2997,
29879,
29897,
13,
4706,
1583,
17255,
4350,
791,
26914,
2267,
791,
353,
6213,
13,
4706,
1583,
17255,
4350,
791,
1649,
3032,
4804,
19488,
4619,
29871,
29896,
13,
4706,
3240,
791,
353,
6213,
13,
13,
4706,
396,
14707,
2471,
310,
740,
13,
4706,
363,
2943,
297,
1583,
29889,
2587,
29901,
13,
9651,
1583,
17255,
4350,
791,
26914,
3389,
29898,
3177,
29892,
22010,
2433,
25299,
742,
6276,
8154,
29922,
1311,
29889,
1915,
8154,
29897,
13,
9651,
565,
7431,
29898,
1311,
17255,
4350,
791,
26914,
2704,
29897,
1405,
29871,
29900,
29901,
13,
18884,
2867,
13,
9651,
565,
1583,
17255,
4350,
791,
26914,
2267,
791,
338,
451,
6213,
29901,
13,
18884,
3240,
791,
353,
1583,
17255,
4350,
791,
26914,
2267,
791,
13,
18884,
1583,
17255,
4350,
791,
26914,
2267,
791,
353,
6213,
13,
18884,
565,
3240,
791,
338,
7106,
287,
8516,
29901,
13,
462,
1678,
3240,
791,
353,
6213,
13,
18884,
2867,
13,
13,
4706,
1583,
17255,
4350,
791,
26914,
11967,
2371,
353,
4078,
29918,
11967,
2371,
13,
4706,
1583,
17255,
4350,
791,
1649,
3032,
4804,
19488,
22361,
29871,
29896,
13,
4706,
5016,
2997,
29879,
353,
6213,
13,
4706,
736,
3240,
791,
13,
2
] |
hw0/code/hw0.py | kandluis/cs224w | 6 | 119200 | <reponame>kandluis/cs224w
# coding: utf-8
# ## 1. Analyzing the Wikipedia voters network [9 points]
# Download the Wikipedia voting network wiki-Vote.txt.gz: http://snap.stanford.edu/
# data/wiki-Vote.html.
#
# Using one of the network analysis tools above, load the Wikipedia voting network.
#
# Note that Wikipedia is a directed network. Formally, we consider the Wikipedia network as a directed graph $G = (V, E)$, with node set $V$ and edge set $E ⊂ V × V$ where (edges are ordered pairs of nodes). An edge $(a, b) ∈ E$ means that user $a$ voted on user $b$.
#
# To make our questions clearer, we will use the following small graph as a running example:
# $$
# Gsmall = (Vsmall, Esmall)
# $$
# where
# $$
# Vsmall = \{1, 2, 3\}
# $$ and
# $$
# Esmall = \{(1, 2),(2, 1),(1, 3),(1, 1)\}
# $$
# In[56]:
import snap
# In[57]:
# Load the network
SOURCE_FILE = './data/wiki-Vote.txt'
wikiGraph = snap.LoadEdgeList(snap.PNGraph, SOURCE_FILE, 0, 1)
assert 103689 == wikiGraph.GetEdges()
assert 7115 == wikiGraph.GetNodes()
# In[58]:
# 1.1
print("The number of nodes in the network is %s." % (
wikiGraph.GetNodes()))
# In[59]:
# 1.2
print("The number of nodes with a self-edge is %s." % (
snap.CntSelfEdges(wikiGraph)))
# In[60]:
# 1.3
print("The number of directed edges %s." % (
snap.CntUniqDirEdges(wikiGraph)))
# In[61]:
# 1.4
print("The number of undirected edges is %s." % (
snap.CntUniqUndirEdges(wikiGraph)))
# In[62]:
# 1.5
print("The number of reciprocated edges is %s." % (
snap.CntUniqDirEdges(wikiGraph) - snap.CntUniqUndirEdges(wikiGraph)))
# In[63]:
# 1.6
print("The number of nodes of zero out-degree is %s." % (
snap.CntOutDegNodes(wikiGraph, 0)))
# In[64]:
# 1.7
print("The number of nodes of zero in-degree is %s." % (
snap.CntInDegNodes(wikiGraph, 0)))
# In[65]:
# 1.8
DEGREE_BOUNDARY = 10
outDegreeToCount = snap.TIntPrV()
snap.GetOutDegCnt(wikiGraph, outDegreeToCount)
numNodesLargeOutDegree = sum([item.GetVal2()
for item in outDegreeToCount
if item.GetVal1() > DEGREE_BOUNDARY])
print("The number of nodes with more than %s outgoing edges is %s." % (
DEGREE_BOUNDARY, numNodesLargeOutDegree))
# In[66]:
# 1.9
inDegreeCount = snap.TIntPrV()
snap.GetOutDegCnt(wikiGraph, inDegreeCount)
numNodesSmallInDegree = sum([item.GetVal2()
for item in inDegreeCount
if item.GetVal1() < DEGREE_BOUNDARY])
print("The number of nodes with less than %s incoming edges is %s." % (
DEGREE_BOUNDARY, numNodesSmallInDegree))
# ## 2 Further Analyzing the Wikiepedia voters network
# In[67]:
import snap
import pandas as pd
import matplotlib as mpl
import numpy as np
import matplotlib.pyplot as plt
# In[68]:
# 2.1: Histogram of out-degree distribution.
## Calculate degree and construct data frame.
outDegreeToCount = snap.TIntPrV()
snap.GetOutDegCnt(wikiGraph, outDegreeToCount)
data = pd.DataFrame([[item.GetVal1(), item.GetVal2()]
for item in outDegreeToCount
if item.GetVal1() > 0 and item.GetVal2() > 0])
data.columns = ['degree', 'count']
## Plot.
get_ipython().magic(u'matplotlib inline')
fig = plt.plot(data['degree'], data['count'], 'bo--', markersize=2)[0]
fig.axes.set_xscale('log')
fig.axes.set_yscale('log')
fig.axes.set_xlim(data['degree'].min(), data['degree'].max())
fig.axes.set_ylim(data['count'].min(), data['count'].max())
fig.axes.set_title("Log-Log Degree Distribution Plot for WikiGraph")
fig.axes.set_xlabel("Node Degree")
fig.axes.set_ylabel("Node Count")
## Save image.
plt.savefig("WikiGraphOutDegreeDistribution", format='svg', dpi=600)
plt.savefig("WikiGraphOutDegreeDistribution", dpi=600)
# In[69]:
# Alternative 2.1.
snap.PlotOutDegDistr(wikiGraph, "WikiGraph",
"WikiGraph - Out Degree Distribution")
# In[70]:
# 2.2: Compute and plot the least-square regression line.
## Calculate the best fit line on the log data.
DEGREE = 1
slope, intercept = np.polyfit(
np.log10(data['degree']),np.log10(data['count']), DEGREE)
predict = lambda x: 10**(intercept)*x**slope
## Plot.
get_ipython().magic(u'matplotlib inline')
fig = plt.plot(data['degree'], data['count'], 'bo--',
data['degree'], predict(data['degree']), 'g',
markersize=2)[0]
fig.axes.set_xscale('log')
fig.axes.set_yscale('log')
fig.axes.set_xlim(data['degree'].min(), data['degree'].max())
fig.axes.set_ylim(data['count'].min(), data['count'].max())
fig.axes.set_title("Log-Log Degree Distribution Plot And Fit for WikiGraph")
fig.axes.set_xlabel("Node Degree")
fig.axes.set_ylabel("Node Count")
## Save image.
plt.savefig("WikiGraphOutDegreeDistributionFit", format='svg', dpi=600)
plt.savefig("WikiGraphOutDegreeDistributionFit", dpi=600)
# In[71]:
## Print the results.
print("The best fit line is given by equation "
"log(y) = %s * log(x) + %s" % (slope, intercept))
# In[72]:
# Alternative 2.1.
snap.PlotOutDegDistr(wikiGraph, "WikiGraphFit",
"WikiGraph - Out Degree Distribution with Fit",
False, True)
print("The best fit line is given by equation "
"log(y) = -1.411 * log(x) + 3.3583 with R^2=0.91")
# ## 3 Finding Experts on the Java Programming Language on StackOverflow [4 points]
#
# Download the StackOverflow network stackoverflow-Java.txt.gz: http://snap.stanford.edu/class/cs224w-data/hw0/stackoverflow-Java.txt.gz.
#
# An edge (a, b) in the network means that person a endorsed an answer from person b on a Java-related question.
# In[73]:
import snap
# In[74]:
# Load the network
SOURCE_FILE = './data/stackoverflow-Java.txt'
SOGraph = snap.LoadEdgeList(snap.PNGraph, SOURCE_FILE, 0, 1)
assert 146874 == SOGraph.GetNodes()
assert 333606 == SOGraph.GetEdges()
# In[75]:
# 3.1
components = snap.TCnComV()
snap.GetWccs(SOGraph, components)
print("The number of weakly connected components in the SO network"
"is %s." % (len(components)))
# In[76]:
# 3.2
maxWeaklyConnectedComponent = snap.GetMxWcc(SOGraph)
print("The largest weakly connected component in the SO network"
"has %s nodes and %s edges." % (
maxWeaklyConnectedComponent.GetNodes(),
maxWeaklyConnectedComponent.GetEdges()))
# In[77]:
def sortTIntFltH(mapping, desc = True):
return sorted([(nodeId, mapping[nodeId])
for nodeId in mapping
], reverse=desc,
key = lambda x: x[1])
# In[78]:
# 3.3
TOPN = 3
SOPageRanks = snap.TIntFltH()
snap.GetPageRank(SOGraph, SOPageRanks, 0.85, 1e-4, 1000)
sortedSOPageRanks = sortTIntFltH(SOPageRanks)
print("The node IDs of the top %s most central nodes in the network "
"by PageRank scores are %s with scores %s respectively." % (
TOPN,
tuple(t[0] for t in sortedSOPageRanks[:TOPN]),
tuple(t[1] for t in sortedSOPageRanks[:TOPN])))
# In[79]:
# 3.4
TOPN = 3
hubsScores = snap.TIntFltH()
authScores = snap.TIntFltH()
snap.GetHits(SOGraph, hubsScores, authScores, 100)
sortedHubScores = sortTIntFltH(hubsScores)
sortedAuthScores = sortTIntFltH(authScores)
print("The node IDs of the top %s hubs in the network by HITS scores "
"are %s with scores %s respectively." % (
TOPN,
tuple(t[0] for t in sortedHubScores[:TOPN]),
tuple(t[1] for t in sortedHubScores[:TOPN])))
print
print("The node IDs of the top %s authorities in the network by HITS "
"scores are %s with score %s respectively." % (
TOPN,
tuple(t[0] for t in sortedAuthScores[:TOPN]),
tuple(t[1] for t in sortedAuthScores[:TOPN])))
| [
1,
529,
276,
1112,
420,
29958,
29895,
392,
29880,
4664,
29914,
2395,
29906,
29906,
29946,
29893,
13,
13,
29937,
14137,
29901,
23616,
29899,
29947,
13,
13,
29937,
444,
29871,
29896,
29889,
11597,
12339,
292,
278,
14109,
9014,
414,
3564,
518,
29929,
3291,
29962,
13,
29937,
25553,
278,
14109,
28931,
3564,
281,
10058,
29899,
29963,
866,
29889,
3945,
29889,
18828,
29901,
1732,
597,
29879,
8971,
29889,
14411,
4006,
29889,
6085,
29914,
13,
29937,
848,
29914,
4594,
29899,
29963,
866,
29889,
1420,
29889,
13,
29937,
29871,
13,
29937,
5293,
697,
310,
278,
3564,
7418,
8492,
2038,
29892,
2254,
278,
14109,
28931,
3564,
29889,
29871,
13,
29937,
29871,
13,
29937,
3940,
393,
14109,
338,
263,
10624,
3564,
29889,
3812,
635,
29892,
591,
2050,
278,
14109,
3564,
408,
263,
10624,
3983,
395,
29954,
353,
313,
29963,
29892,
382,
5767,
411,
2943,
731,
395,
29963,
29938,
322,
7636,
731,
395,
29923,
29871,
31550,
478,
13105,
478,
29938,
988,
313,
287,
2710,
526,
10372,
11000,
310,
7573,
467,
530,
7636,
2427,
29874,
29892,
289,
29897,
29871,
30264,
382,
29938,
2794,
393,
1404,
395,
29874,
29938,
24854,
373,
1404,
395,
29890,
1504,
13,
29937,
29871,
13,
29937,
1763,
1207,
1749,
5155,
26135,
29892,
591,
674,
671,
278,
1494,
2319,
3983,
408,
263,
2734,
1342,
29901,
13,
29937,
2046,
13,
29937,
402,
9278,
353,
313,
29963,
9278,
29892,
3423,
29885,
497,
29897,
13,
29937,
2046,
13,
29937,
988,
29871,
13,
29937,
2046,
13,
29937,
478,
9278,
353,
9991,
29896,
29892,
29871,
29906,
29892,
29871,
29941,
18105,
13,
29937,
2046,
322,
13,
29937,
2046,
13,
29937,
3423,
29885,
497,
353,
320,
8001,
29896,
29892,
29871,
29906,
21336,
29906,
29892,
29871,
29896,
21336,
29896,
29892,
29871,
29941,
21336,
29896,
29892,
29871,
29896,
2144,
29913,
13,
29937,
2046,
13,
13,
29937,
512,
29961,
29945,
29953,
5387,
13,
13,
13,
5215,
15101,
13,
13,
13,
29937,
512,
29961,
29945,
29955,
5387,
13,
13,
13,
29937,
16012,
278,
3564,
13,
27839,
4741,
29918,
7724,
353,
19283,
1272,
29914,
4594,
29899,
29963,
866,
29889,
3945,
29915,
13,
4594,
9527,
353,
15101,
29889,
5896,
23894,
1293,
29898,
29879,
8971,
29889,
29925,
9312,
1140,
29892,
7791,
4574,
4741,
29918,
7724,
29892,
29871,
29900,
29892,
29871,
29896,
29897,
13,
9294,
29871,
29896,
29900,
29941,
29953,
29947,
29929,
1275,
281,
10058,
9527,
29889,
2577,
3853,
2710,
580,
13,
9294,
29871,
29955,
29896,
29896,
29945,
1275,
281,
10058,
9527,
29889,
2577,
20284,
580,
13,
13,
13,
29937,
512,
29961,
29945,
29947,
5387,
13,
13,
13,
29937,
29871,
29896,
29889,
29896,
13,
2158,
703,
1576,
1353,
310,
7573,
297,
278,
3564,
338,
1273,
29879,
1213,
1273,
313,
13,
1678,
281,
10058,
9527,
29889,
2577,
20284,
22130,
13,
13,
13,
29937,
512,
29961,
29945,
29929,
5387,
13,
13,
13,
29937,
29871,
29896,
29889,
29906,
13,
2158,
703,
1576,
1353,
310,
7573,
411,
263,
1583,
29899,
12864,
338,
1273,
29879,
1213,
1273,
313,
13,
1678,
15101,
29889,
29907,
593,
24313,
3853,
2710,
29898,
4594,
9527,
4961,
13,
13,
13,
29937,
512,
29961,
29953,
29900,
5387,
13,
13,
13,
29937,
29871,
29896,
29889,
29941,
13,
2158,
703,
1576,
1353,
310,
10624,
12770,
1273,
29879,
1213,
1273,
313,
13,
1678,
15101,
29889,
29907,
593,
8110,
29939,
9170,
3853,
2710,
29898,
4594,
9527,
4961,
13,
13,
13,
29937,
512,
29961,
29953,
29896,
5387,
13,
13,
13,
29937,
29871,
29896,
29889,
29946,
13,
2158,
703,
1576,
1353,
310,
563,
1088,
287,
12770,
338,
1273,
29879,
1213,
1273,
313,
13,
1678,
15101,
29889,
29907,
593,
8110,
29939,
25263,
381,
3853,
2710,
29898,
4594,
9527,
4961,
13,
13,
13,
29937,
512,
29961,
29953,
29906,
5387,
13,
13,
13,
29937,
29871,
29896,
29889,
29945,
13,
2158,
703,
1576,
1353,
310,
9522,
15439,
630,
12770,
338,
1273,
29879,
1213,
1273,
313,
13,
1678,
15101,
29889,
29907,
593,
8110,
29939,
9170,
3853,
2710,
29898,
4594,
9527,
29897,
448,
15101,
29889,
29907,
593,
8110,
29939,
25263,
381,
3853,
2710,
29898,
4594,
9527,
4961,
13,
13,
13,
29937,
512,
29961,
29953,
29941,
5387,
13,
13,
13,
29937,
29871,
29896,
29889,
29953,
13,
2158,
703,
1576,
1353,
310,
7573,
310,
5225,
714,
29899,
12163,
929,
338,
1273,
29879,
1213,
1273,
313,
13,
1678,
15101,
29889,
29907,
593,
3744,
29928,
387,
20284,
29898,
4594,
9527,
29892,
29871,
29900,
4961,
13,
13,
13,
29937,
512,
29961,
29953,
29946,
5387,
13,
13,
13,
29937,
29871,
29896,
29889,
29955,
13,
2158,
703,
1576,
1353,
310,
7573,
310,
5225,
297,
29899,
12163,
929,
338,
1273,
29879,
1213,
1273,
313,
13,
1678,
15101,
29889,
29907,
593,
797,
29928,
387,
20284,
29898,
4594,
9527,
29892,
29871,
29900,
4961,
13,
13,
13,
29937,
512,
29961,
29953,
29945,
5387,
13,
13,
13,
29937,
29871,
29896,
29889,
29947,
29871,
13,
2287,
29954,
21661,
29918,
8456,
18783,
19926,
353,
29871,
29896,
29900,
13,
449,
29928,
387,
929,
1762,
3981,
353,
15101,
29889,
29911,
2928,
4040,
29963,
580,
13,
29879,
8971,
29889,
2577,
3744,
29928,
387,
29907,
593,
29898,
4594,
9527,
29892,
714,
29928,
387,
929,
1762,
3981,
29897,
13,
1949,
20284,
24105,
479,
3744,
29928,
387,
929,
353,
2533,
4197,
667,
29889,
2577,
1440,
29906,
580,
13,
462,
795,
363,
2944,
297,
714,
29928,
387,
929,
1762,
3981,
13,
462,
795,
565,
2944,
29889,
2577,
1440,
29896,
580,
1405,
5012,
29954,
21661,
29918,
8456,
18783,
19926,
2314,
13,
2158,
703,
1576,
1353,
310,
7573,
411,
901,
1135,
1273,
29879,
714,
17696,
12770,
338,
1273,
29879,
1213,
1273,
313,
13,
1678,
5012,
29954,
21661,
29918,
8456,
18783,
19926,
29892,
954,
20284,
24105,
479,
3744,
29928,
387,
929,
876,
13,
13,
13,
29937,
512,
29961,
29953,
29953,
5387,
13,
13,
13,
29937,
29871,
29896,
29889,
29929,
13,
262,
29928,
387,
929,
3981,
353,
15101,
29889,
29911,
2928,
4040,
29963,
580,
13,
29879,
8971,
29889,
2577,
3744,
29928,
387,
29907,
593,
29898,
4594,
9527,
29892,
297,
29928,
387,
929,
3981,
29897,
13,
1949,
20284,
12636,
497,
797,
29928,
387,
929,
353,
2533,
4197,
667,
29889,
2577,
1440,
29906,
580,
13,
462,
632,
363,
2944,
297,
297,
29928,
387,
929,
3981,
13,
462,
632,
565,
2944,
29889,
2577,
1440,
29896,
580,
529,
5012,
29954,
21661,
29918,
8456,
18783,
19926,
2314,
13,
2158,
703,
1576,
1353,
310,
7573,
411,
3109,
1135,
1273,
29879,
23235,
12770,
338,
1273,
29879,
1213,
1273,
313,
13,
1678,
5012,
29954,
21661,
29918,
8456,
18783,
19926,
29892,
954,
20284,
12636,
497,
797,
29928,
387,
929,
876,
13,
13,
13,
29937,
444,
29871,
29906,
8725,
11597,
12339,
292,
278,
3772,
347,
29886,
1381,
9014,
414,
3564,
13,
13,
29937,
512,
29961,
29953,
29955,
5387,
13,
13,
13,
5215,
15101,
13,
5215,
11701,
408,
10518,
13,
5215,
22889,
408,
286,
572,
13,
5215,
12655,
408,
7442,
13,
5215,
22889,
29889,
2272,
5317,
408,
14770,
13,
13,
13,
29937,
512,
29961,
29953,
29947,
5387,
13,
13,
13,
29937,
29871,
29906,
29889,
29896,
29901,
15179,
13342,
310,
714,
29899,
12163,
929,
4978,
29889,
13,
2277,
20535,
403,
7426,
322,
3386,
848,
3515,
29889,
13,
449,
29928,
387,
929,
1762,
3981,
353,
15101,
29889,
29911,
2928,
4040,
29963,
580,
13,
29879,
8971,
29889,
2577,
3744,
29928,
387,
29907,
593,
29898,
4594,
9527,
29892,
714,
29928,
387,
929,
1762,
3981,
29897,
13,
1272,
353,
10518,
29889,
17271,
4197,
29961,
667,
29889,
2577,
1440,
29896,
3285,
2944,
29889,
2577,
1440,
29906,
580,
29962,
13,
462,
268,
363,
2944,
297,
714,
29928,
387,
929,
1762,
3981,
13,
462,
268,
565,
2944,
29889,
2577,
1440,
29896,
580,
1405,
29871,
29900,
322,
2944,
29889,
2577,
1440,
29906,
580,
1405,
29871,
29900,
2314,
13,
1272,
29889,
13099,
353,
6024,
12163,
929,
742,
525,
2798,
2033,
13,
13,
2277,
18399,
29889,
13,
657,
29918,
666,
1656,
2141,
11082,
293,
29898,
29884,
29915,
2922,
17357,
10583,
1495,
13,
1003,
353,
14770,
29889,
5317,
29898,
1272,
1839,
12163,
929,
7464,
848,
1839,
2798,
7464,
525,
833,
489,
742,
29320,
675,
29922,
29906,
9601,
29900,
29962,
13,
1003,
29889,
1165,
267,
29889,
842,
29918,
29916,
7052,
877,
1188,
1495,
13,
1003,
29889,
1165,
267,
29889,
842,
29918,
952,
29883,
744,
877,
1188,
1495,
13,
1003,
29889,
1165,
267,
29889,
842,
29918,
29916,
2576,
29898,
1272,
1839,
12163,
929,
13359,
1195,
3285,
848,
1839,
12163,
929,
13359,
3317,
3101,
13,
1003,
29889,
1165,
267,
29889,
842,
29918,
29891,
2576,
29898,
1272,
1839,
2798,
13359,
1195,
3285,
848,
1839,
2798,
13359,
3317,
3101,
13,
1003,
29889,
1165,
267,
29889,
842,
29918,
3257,
703,
3403,
29899,
3403,
360,
387,
929,
17740,
18399,
363,
3772,
29875,
9527,
1159,
13,
1003,
29889,
1165,
267,
29889,
842,
29918,
29916,
1643,
703,
4247,
360,
387,
929,
1159,
13,
1003,
29889,
1165,
267,
29889,
842,
29918,
29891,
1643,
703,
4247,
3917,
1159,
13,
13,
2277,
16913,
1967,
29889,
13,
572,
29873,
29889,
7620,
1003,
703,
5653,
29875,
9527,
3744,
29928,
387,
929,
13398,
3224,
613,
3402,
2433,
15120,
742,
270,
1631,
29922,
29953,
29900,
29900,
29897,
13,
572,
29873,
29889,
7620,
1003,
703,
5653,
29875,
9527,
3744,
29928,
387,
929,
13398,
3224,
613,
270,
1631,
29922,
29953,
29900,
29900,
29897,
13,
13,
13,
29937,
512,
29961,
29953,
29929,
5387,
13,
13,
13,
29937,
12440,
1230,
29871,
29906,
29889,
29896,
29889,
13,
29879,
8971,
29889,
20867,
3744,
29928,
387,
29928,
2132,
29898,
4594,
9527,
29892,
376,
5653,
29875,
9527,
613,
13,
462,
268,
376,
5653,
29875,
9527,
448,
4451,
360,
387,
929,
17740,
1159,
13,
13,
13,
29937,
512,
29961,
29955,
29900,
5387,
13,
13,
13,
29937,
29871,
29906,
29889,
29906,
29901,
11796,
29872,
322,
6492,
278,
3203,
29899,
17619,
17855,
1196,
29889,
13,
2277,
20535,
403,
278,
1900,
6216,
1196,
373,
278,
1480,
848,
29889,
13,
2287,
29954,
21661,
353,
29871,
29896,
13,
29879,
417,
412,
29892,
23404,
353,
7442,
29889,
22678,
9202,
29898,
13,
1678,
7442,
29889,
1188,
29896,
29900,
29898,
1272,
1839,
12163,
929,
2033,
511,
9302,
29889,
1188,
29896,
29900,
29898,
1272,
1839,
2798,
2033,
511,
5012,
29954,
21661,
29897,
13,
27711,
353,
14013,
921,
29901,
29871,
29896,
29900,
1068,
29898,
1639,
1547,
11877,
29916,
1068,
29879,
417,
412,
13,
13,
2277,
18399,
29889,
13,
657,
29918,
666,
1656,
2141,
11082,
293,
29898,
29884,
29915,
2922,
17357,
10583,
1495,
13,
1003,
353,
14770,
29889,
5317,
29898,
1272,
1839,
12163,
929,
7464,
848,
1839,
2798,
7464,
525,
833,
489,
742,
13,
1669,
848,
1839,
12163,
929,
7464,
8500,
29898,
1272,
1839,
12163,
929,
2033,
511,
525,
29887,
742,
13,
1669,
29320,
675,
29922,
29906,
9601,
29900,
29962,
13,
1003,
29889,
1165,
267,
29889,
842,
29918,
29916,
7052,
877,
1188,
1495,
13,
1003,
29889,
1165,
267,
29889,
842,
29918,
952,
29883,
744,
877,
1188,
1495,
13,
1003,
29889,
1165,
267,
29889,
842,
29918,
29916,
2576,
29898,
1272,
1839,
12163,
929,
13359,
1195,
3285,
848,
1839,
12163,
929,
13359,
3317,
3101,
13,
1003,
29889,
1165,
267,
29889,
842,
29918,
29891,
2576,
29898,
1272,
1839,
2798,
13359,
1195,
3285,
848,
1839,
2798,
13359,
3317,
3101,
13,
1003,
29889,
1165,
267,
29889,
842,
29918,
3257,
703,
3403,
29899,
3403,
360,
387,
929,
17740,
18399,
1126,
383,
277,
363,
3772,
29875,
9527,
1159,
13,
1003,
29889,
1165,
267,
29889,
842,
29918,
29916,
1643,
703,
4247,
360,
387,
929,
1159,
13,
1003,
29889,
1165,
267,
29889,
842,
29918,
29891,
1643,
703,
4247,
3917,
1159,
13,
13,
2277,
16913,
1967,
29889,
13,
572,
29873,
29889,
7620,
1003,
703,
5653,
29875,
9527,
3744,
29928,
387,
929,
13398,
3224,
29943,
277,
613,
3402,
2433,
15120,
742,
270,
1631,
29922,
29953,
29900,
29900,
29897,
13,
572,
29873,
29889,
7620,
1003,
703,
5653,
29875,
9527,
3744,
29928,
387,
929,
13398,
3224,
29943,
277,
613,
270,
1631,
29922,
29953,
29900,
29900,
29897,
13,
13,
13,
29937,
512,
29961,
29955,
29896,
5387,
13,
13,
13,
2277,
13905,
278,
2582,
29889,
13,
2158,
703,
1576,
1900,
6216,
1196,
338,
2183,
491,
6306,
376,
13,
418,
376,
1188,
29898,
29891,
29897,
353,
1273,
29879,
334,
1480,
29898,
29916,
29897,
718,
1273,
29879,
29908,
1273,
313,
29879,
417,
412,
29892,
23404,
876,
13,
13,
13,
29937,
512,
29961,
29955,
29906,
5387,
13,
13,
13,
29937,
12440,
1230,
29871,
29906,
29889,
29896,
29889,
13,
29879,
8971,
29889,
20867,
3744,
29928,
387,
29928,
2132,
29898,
4594,
9527,
29892,
376,
5653,
29875,
9527,
29943,
277,
613,
13,
462,
268,
376,
5653,
29875,
9527,
448,
4451,
360,
387,
929,
17740,
411,
383,
277,
613,
13,
462,
268,
7700,
29892,
5852,
29897,
13,
2158,
703,
1576,
1900,
6216,
1196,
338,
2183,
491,
6306,
376,
13,
418,
376,
1188,
29898,
29891,
29897,
353,
448,
29896,
29889,
29946,
29896,
29896,
334,
1480,
29898,
29916,
29897,
718,
29871,
29941,
29889,
29941,
29945,
29947,
29941,
411,
390,
29985,
29906,
29922,
29900,
29889,
29929,
29896,
1159,
13,
13,
13,
29937,
444,
29871,
29941,
383,
4015,
28224,
1372,
373,
278,
3355,
7835,
4056,
17088,
373,
10292,
23773,
518,
29946,
3291,
29962,
13,
29937,
29871,
13,
29937,
25553,
278,
10292,
23773,
3564,
29577,
29899,
8404,
29889,
3945,
29889,
18828,
29901,
1732,
597,
29879,
8971,
29889,
14411,
4006,
29889,
6085,
29914,
1990,
29914,
2395,
29906,
29906,
29946,
29893,
29899,
1272,
29914,
26828,
29900,
29914,
2417,
29899,
8404,
29889,
3945,
29889,
18828,
29889,
29871,
13,
29937,
29871,
13,
29937,
530,
7636,
313,
29874,
29892,
289,
29897,
297,
278,
3564,
2794,
393,
2022,
263,
1095,
943,
287,
385,
1234,
515,
2022,
289,
373,
263,
3355,
29899,
12817,
1139,
29889,
13,
13,
29937,
512,
29961,
29955,
29941,
5387,
13,
13,
13,
5215,
15101,
13,
13,
13,
29937,
512,
29961,
29955,
29946,
5387,
13,
13,
13,
29937,
16012,
278,
3564,
13,
27839,
4741,
29918,
7724,
353,
19283,
1272,
29914,
2417,
29899,
8404,
29889,
3945,
29915,
13,
6156,
9527,
353,
15101,
29889,
5896,
23894,
1293,
29898,
29879,
8971,
29889,
29925,
9312,
1140,
29892,
7791,
4574,
4741,
29918,
7724,
29892,
29871,
29900,
29892,
29871,
29896,
29897,
13,
9294,
29871,
29896,
29946,
29953,
29947,
29955,
29946,
1275,
7791,
9527,
29889,
2577,
20284,
580,
13,
9294,
29871,
29941,
29941,
29941,
29953,
29900,
29953,
1275,
7791,
9527,
29889,
2577,
3853,
2710,
580,
13,
13,
13,
29937,
512,
29961,
29955,
29945,
5387,
13,
13,
13,
29937,
29871,
29941,
29889,
29896,
13,
14036,
353,
15101,
29889,
9472,
29876,
1523,
29963,
580,
13,
29879,
8971,
29889,
2577,
29956,
617,
29879,
29898,
6156,
9527,
29892,
7117,
29897,
13,
13,
2158,
703,
1576,
1353,
310,
8062,
368,
6631,
7117,
297,
278,
7791,
3564,
29908,
13,
418,
376,
275,
1273,
29879,
1213,
1273,
313,
2435,
29898,
14036,
4961,
13,
13,
13,
29937,
512,
29961,
29955,
29953,
5387,
13,
13,
13,
29937,
29871,
29941,
29889,
29906,
13,
3317,
4806,
557,
368,
20971,
2954,
5308,
353,
15101,
29889,
2577,
29924,
29916,
29956,
617,
29898,
6156,
9527,
29897,
13,
2158,
703,
1576,
10150,
8062,
368,
6631,
4163,
297,
278,
7791,
3564,
29908,
13,
268,
376,
5349,
1273,
29879,
7573,
322,
1273,
29879,
12770,
1213,
1273,
313,
13,
308,
4236,
4806,
557,
368,
20971,
2954,
5308,
29889,
2577,
20284,
3285,
13,
308,
4236,
4806,
557,
368,
20971,
2954,
5308,
29889,
2577,
3853,
2710,
22130,
13,
13,
13,
29937,
512,
29961,
29955,
29955,
5387,
13,
13,
13,
1753,
2656,
29911,
2928,
29943,
1896,
29950,
29898,
20698,
29892,
5153,
353,
5852,
1125,
13,
1678,
736,
12705,
4197,
29898,
3177,
1204,
29892,
10417,
29961,
3177,
1204,
2314,
13,
462,
259,
363,
2943,
1204,
297,
10417,
13,
462,
29871,
21251,
11837,
29922,
14273,
29892,
13,
462,
29871,
1820,
353,
14013,
921,
29901,
921,
29961,
29896,
2314,
13,
13,
13,
29937,
512,
29961,
29955,
29947,
5387,
13,
13,
13,
29937,
29871,
29941,
29889,
29941,
13,
29911,
4590,
29940,
353,
29871,
29941,
13,
29903,
4590,
482,
29934,
1331,
353,
15101,
29889,
29911,
2928,
29943,
1896,
29950,
580,
13,
29879,
8971,
29889,
2577,
5074,
29934,
804,
29898,
6156,
9527,
29892,
317,
4590,
482,
29934,
1331,
29892,
29871,
29900,
29889,
29947,
29945,
29892,
29871,
29896,
29872,
29899,
29946,
29892,
29871,
29896,
29900,
29900,
29900,
29897,
13,
24582,
29903,
4590,
482,
29934,
1331,
353,
2656,
29911,
2928,
29943,
1896,
29950,
29898,
29903,
4590,
482,
29934,
1331,
29897,
13,
2158,
703,
1576,
2943,
23481,
310,
278,
2246,
1273,
29879,
1556,
6555,
7573,
297,
278,
3564,
376,
13,
418,
376,
1609,
9305,
29934,
804,
19435,
526,
1273,
29879,
411,
19435,
1273,
29879,
8307,
1213,
1273,
313,
13,
3986,
323,
4590,
29940,
29892,
13,
3986,
18761,
29898,
29873,
29961,
29900,
29962,
363,
260,
297,
12705,
29903,
4590,
482,
29934,
1331,
7503,
29911,
4590,
29940,
11724,
13,
3986,
18761,
29898,
29873,
29961,
29896,
29962,
363,
260,
297,
12705,
29903,
4590,
482,
29934,
1331,
7503,
29911,
4590,
29940,
29962,
4961,
13,
13,
13,
29937,
512,
29961,
29955,
29929,
5387,
13,
13,
13,
29937,
29871,
29941,
29889,
29946,
13,
29911,
4590,
29940,
353,
29871,
29941,
13,
29882,
23954,
4421,
2361,
353,
15101,
29889,
29911,
2928,
29943,
1896,
29950,
580,
13,
5150,
4421,
2361,
353,
15101,
29889,
29911,
2928,
29943,
1896,
29950,
580,
13,
29879,
8971,
29889,
2577,
29950,
1169,
29898,
6156,
9527,
29892,
19766,
29879,
4421,
2361,
29892,
4817,
4421,
2361,
29892,
29871,
29896,
29900,
29900,
29897,
13,
24582,
16046,
4421,
2361,
353,
2656,
29911,
2928,
29943,
1896,
29950,
29898,
29882,
23954,
4421,
2361,
29897,
13,
24582,
6444,
4421,
2361,
353,
2656,
29911,
2928,
29943,
1896,
29950,
29898,
5150,
4421,
2361,
29897,
13,
2158,
703,
1576,
2943,
23481,
310,
278,
2246,
1273,
29879,
19766,
29879,
297,
278,
3564,
491,
379,
1806,
29903,
19435,
376,
13,
418,
376,
598,
1273,
29879,
411,
19435,
1273,
29879,
8307,
1213,
1273,
313,
13,
3986,
323,
4590,
29940,
29892,
13,
3986,
18761,
29898,
29873,
29961,
29900,
29962,
363,
260,
297,
12705,
16046,
4421,
2361,
7503,
29911,
4590,
29940,
11724,
13,
3986,
18761,
29898,
29873,
29961,
29896,
29962,
363,
260,
297,
12705,
16046,
4421,
2361,
7503,
29911,
4590,
29940,
29962,
4961,
13,
2158,
13,
2158,
703,
1576,
2943,
23481,
310,
278,
2246,
1273,
29879,
21142,
297,
278,
3564,
491,
379,
1806,
29903,
376,
13,
418,
376,
1557,
2361,
526,
1273,
29879,
411,
8158,
1273,
29879,
8307,
1213,
1273,
313,
13,
3986,
323,
4590,
29940,
29892,
13,
3986,
18761,
29898,
29873,
29961,
29900,
29962,
363,
260,
297,
12705,
6444,
4421,
2361,
7503,
29911,
4590,
29940,
11724,
13,
3986,
18761,
29898,
29873,
29961,
29896,
29962,
363,
260,
297,
12705,
6444,
4421,
2361,
7503,
29911,
4590,
29940,
29962,
4961,
13,
13,
2
] |
deepthinking/utils/prefix_sums_data.py | aks2203/deep-thinking | 19 | 101752 | """ prefix_sums_data.py
Prefix sum related dataloaders
Collaboratively developed
by <NAME>, <NAME>,
<NAME>, and <NAME>.
Developed for DeepThinking project
October 2021
"""
import torch
from torch.utils import data
from easy_to_hard_data import PrefixSumDataset
# Ignore statemenst for pylint:
# Too many branches (R0912), Too many statements (R0915), No member (E1101),
# Not callable (E1102), Invalid name (C0103), No exception (W0702),
# Too many local variables (R0914), Missing docstring (C0116, C0115),
# Unused import (W0611).
# pylint: disable=R0912, R0915, E1101, E1102, C0103, W0702, R0914, C0116, C0115, W0611
def prepare_prefix_loader(train_batch_size, test_batch_size, train_data, test_data,
train_split=0.8, shuffle=True):
dataset = PrefixSumDataset("../../../data", num_bits=train_data)
testset = PrefixSumDataset("../../../data", num_bits=test_data)
train_split = int(train_split * len(dataset))
trainset, valset = torch.utils.data.random_split(dataset,
[train_split,
int(len(dataset) - train_split)],
generator=torch.Generator().manual_seed(42))
trainloader = data.DataLoader(trainset, num_workers=0, batch_size=train_batch_size,
shuffle=shuffle, drop_last=True)
testloader = data.DataLoader(testset, num_workers=0, batch_size=test_batch_size,
shuffle=False, drop_last=False)
valloader = data.DataLoader(valset, num_workers=0, batch_size=test_batch_size,
shuffle=False, drop_last=False)
loaders = {"train": trainloader, "test": testloader, "val": valloader}
return loaders
| [
1,
9995,
10944,
29918,
2083,
29879,
29918,
1272,
29889,
2272,
13,
1678,
349,
9569,
2533,
4475,
1418,
7003,
24574,
13,
13,
1678,
13435,
3717,
6703,
8906,
13,
1678,
491,
529,
5813,
10202,
529,
5813,
10202,
13,
1678,
529,
5813,
10202,
322,
529,
5813,
15513,
13,
13,
1678,
10682,
287,
363,
21784,
1349,
18159,
2060,
13,
1678,
5533,
29871,
29906,
29900,
29906,
29896,
13,
15945,
29908,
13,
13,
5215,
4842,
305,
13,
3166,
4842,
305,
29889,
13239,
1053,
848,
13,
3166,
4780,
29918,
517,
29918,
6800,
29918,
1272,
1053,
349,
9569,
11139,
16390,
24541,
13,
13,
29937,
18076,
487,
1002,
12398,
303,
363,
282,
2904,
524,
29901,
13,
29937,
268,
1763,
29877,
1784,
14202,
313,
29934,
29900,
29929,
29896,
29906,
511,
1763,
29877,
1784,
9506,
313,
29934,
29900,
29929,
29896,
29945,
511,
1939,
4509,
313,
29923,
29896,
29896,
29900,
29896,
511,
13,
29937,
268,
2216,
1246,
519,
313,
29923,
29896,
29896,
29900,
29906,
511,
21403,
1024,
313,
29907,
29900,
29896,
29900,
29941,
511,
1939,
3682,
313,
29956,
29900,
29955,
29900,
29906,
511,
13,
29937,
268,
1763,
29877,
1784,
1887,
3651,
313,
29934,
29900,
29929,
29896,
29946,
511,
4750,
292,
1574,
1807,
313,
29907,
29900,
29896,
29896,
29953,
29892,
315,
29900,
29896,
29896,
29945,
511,
13,
29937,
268,
853,
3880,
1053,
313,
29956,
29900,
29953,
29896,
29896,
467,
13,
29937,
282,
2904,
524,
29901,
11262,
29922,
29934,
29900,
29929,
29896,
29906,
29892,
390,
29900,
29929,
29896,
29945,
29892,
382,
29896,
29896,
29900,
29896,
29892,
382,
29896,
29896,
29900,
29906,
29892,
315,
29900,
29896,
29900,
29941,
29892,
399,
29900,
29955,
29900,
29906,
29892,
390,
29900,
29929,
29896,
29946,
29892,
315,
29900,
29896,
29896,
29953,
29892,
315,
29900,
29896,
29896,
29945,
29892,
399,
29900,
29953,
29896,
29896,
13,
13,
13,
1753,
19012,
29918,
13506,
29918,
12657,
29898,
14968,
29918,
16175,
29918,
2311,
29892,
1243,
29918,
16175,
29918,
2311,
29892,
7945,
29918,
1272,
29892,
1243,
29918,
1272,
29892,
13,
462,
3986,
7945,
29918,
5451,
29922,
29900,
29889,
29947,
29892,
528,
21897,
29922,
5574,
1125,
13,
13,
1678,
8783,
353,
349,
9569,
11139,
16390,
24541,
703,
21546,
6995,
1272,
613,
954,
29918,
14836,
29922,
14968,
29918,
1272,
29897,
13,
1678,
1243,
842,
353,
349,
9569,
11139,
16390,
24541,
703,
21546,
6995,
1272,
613,
954,
29918,
14836,
29922,
1688,
29918,
1272,
29897,
13,
13,
1678,
7945,
29918,
5451,
353,
938,
29898,
14968,
29918,
5451,
334,
7431,
29898,
24713,
876,
13,
13,
1678,
7945,
842,
29892,
659,
842,
353,
4842,
305,
29889,
13239,
29889,
1272,
29889,
8172,
29918,
5451,
29898,
24713,
29892,
13,
462,
462,
462,
268,
518,
14968,
29918,
5451,
29892,
13,
462,
462,
462,
418,
938,
29898,
2435,
29898,
24713,
29897,
448,
7945,
29918,
5451,
29897,
1402,
13,
462,
462,
462,
268,
15299,
29922,
7345,
305,
29889,
21575,
2141,
11288,
29918,
26776,
29898,
29946,
29906,
876,
13,
13,
1678,
7945,
12657,
353,
848,
29889,
1469,
10036,
29898,
14968,
842,
29892,
954,
29918,
1287,
414,
29922,
29900,
29892,
9853,
29918,
2311,
29922,
14968,
29918,
16175,
29918,
2311,
29892,
13,
462,
462,
29871,
528,
21897,
29922,
845,
21897,
29892,
5768,
29918,
4230,
29922,
5574,
29897,
13,
1678,
1243,
12657,
353,
848,
29889,
1469,
10036,
29898,
1688,
842,
29892,
954,
29918,
1287,
414,
29922,
29900,
29892,
9853,
29918,
2311,
29922,
1688,
29918,
16175,
29918,
2311,
29892,
13,
462,
462,
528,
21897,
29922,
8824,
29892,
5768,
29918,
4230,
29922,
8824,
29897,
13,
1678,
659,
12657,
353,
848,
29889,
1469,
10036,
29898,
791,
842,
29892,
954,
29918,
1287,
414,
29922,
29900,
29892,
9853,
29918,
2311,
29922,
1688,
29918,
16175,
29918,
2311,
29892,
13,
462,
18884,
528,
21897,
29922,
8824,
29892,
5768,
29918,
4230,
29922,
8824,
29897,
13,
1678,
2254,
414,
353,
8853,
14968,
1115,
7945,
12657,
29892,
376,
1688,
1115,
1243,
12657,
29892,
376,
791,
1115,
659,
12657,
29913,
13,
13,
1678,
736,
2254,
414,
13,
2
] |
tqsdk/demo/example/stgy4zd.py | boyscout2008/tqsdk-python | 0 | 176617 | <filename>tqsdk/demo/example/stgy4zd.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
__author__ = 'Golden'
'''
震荡品种策略函数:两波多后的大空,一波两浪多后的空
实测和效果见策略执行文件
'''
import talib
#两波多后的空策略
def dual_bo_duo(quote, klines, logger):
df = klines.to_dataframe()
if len(df) < 20:
return False
#logger.info("klines.high: %f, klines.close: %f" % (klines.high[-1], klines.close[-1]))
ma5 = talib.MA(df.close, timeperiod=5)
ma10 = talib.MA(df.close, timeperiod=10)
#STEP1: 明确当前一波收新高多中 --- 收阳收新高
if klines.close[-1] > max(klines.high[-9:-1]) and klines.close[-1] > klines.open[-1]:
#STEP2:找出这波多之前是否存在另一波多 --- 至少前1(主多)+4(调整)站稳在10日之上 + 5日线高于10日线 + 之前有背离5日线的阳线
if (klines.close[14:20] > ma10[14:20]).all() and (ma10[16:20] < ma5[16:20]).all() and (klines.close[0:15] > ma5[0:15]*1.02).any():
return True
return False
#一波两浪多后的空策略
def yi_bo_duo(quote, klines, logger):
df = klines.to_dataframe()
if len(df) < 20:
return False
#logger.info("klines.high: %f, klines.close: %f" % (klines.high[-1], klines.close[-1]))
ma5 = talib.MA(df.close, timeperiod=5)
ma10 = talib.MA(df.close, timeperiod=10)
#STEP1:当日背离中大阳或背离小阳 + 5日线高于10日线
if klines.close[-1] > klines.open[-1] and ma5[19] > ma10[19] \
and klines.close[-1] > ma5[19]*1.025:
#STEP2:近4日还有背离中大阳
if (klines.close[15:17] > ma5[15:17]*1.02).any():
return True
return False | [
1,
529,
9507,
29958,
29873,
29939,
15348,
29914,
17482,
29914,
4773,
29914,
303,
1927,
29946,
8849,
29889,
2272,
13,
29937,
14708,
4855,
29914,
2109,
29914,
6272,
3017,
13,
29937,
29871,
448,
29930,
29899,
14137,
29901,
23616,
29899,
29947,
448,
29930,
29899,
13,
1649,
8921,
1649,
353,
525,
29954,
1025,
264,
29915,
13,
13,
12008,
13,
236,
159,
138,
235,
144,
164,
31399,
31893,
234,
176,
153,
234,
152,
168,
31629,
30354,
30383,
31977,
31529,
30923,
30822,
30210,
30257,
30816,
30214,
30287,
31529,
31977,
233,
184,
173,
30923,
30822,
30210,
30816,
13,
31195,
31851,
30503,
31944,
30801,
235,
170,
132,
234,
176,
153,
234,
152,
168,
233,
140,
170,
30448,
30333,
30631,
13,
12008,
13,
5215,
5969,
747,
13,
13,
13,
29937,
31977,
31529,
30923,
30822,
30210,
30816,
234,
176,
153,
234,
152,
168,
13,
1753,
14581,
29918,
833,
29918,
700,
29877,
29898,
1396,
29892,
413,
9012,
29892,
17927,
1125,
13,
1678,
4489,
353,
413,
9012,
29889,
517,
29918,
1272,
2557,
580,
13,
1678,
565,
7431,
29898,
2176,
29897,
529,
29871,
29906,
29900,
29901,
13,
4706,
736,
7700,
13,
1678,
396,
21707,
29889,
3888,
703,
6321,
1475,
29889,
9812,
29901,
1273,
29888,
29892,
413,
9012,
29889,
5358,
29901,
1273,
29888,
29908,
1273,
313,
6321,
1475,
29889,
9812,
14352,
29896,
1402,
413,
9012,
29889,
5358,
14352,
29896,
12622,
13,
1678,
611,
29945,
353,
5969,
747,
29889,
1529,
29898,
2176,
29889,
5358,
29892,
931,
19145,
29922,
29945,
29897,
29871,
13,
1678,
611,
29896,
29900,
353,
29871,
5969,
747,
29889,
1529,
29898,
2176,
29889,
5358,
29892,
931,
19145,
29922,
29896,
29900,
29897,
13,
13,
1678,
396,
1254,
15488,
29896,
30383,
29871,
30592,
31835,
30948,
30658,
30287,
31529,
31997,
30374,
30528,
30923,
30275,
11474,
29871,
31997,
31430,
31997,
30374,
30528,
13,
1678,
565,
413,
9012,
29889,
5358,
14352,
29896,
29962,
1405,
4236,
29898,
6321,
1475,
29889,
9812,
14352,
29929,
13018,
29896,
2314,
322,
413,
9012,
29889,
5358,
14352,
29896,
29962,
1405,
413,
9012,
29889,
3150,
14352,
29896,
5387,
13,
4706,
396,
1254,
15488,
29906,
30383,
233,
140,
193,
30544,
30810,
31529,
30923,
30577,
30658,
30392,
31191,
30946,
30505,
232,
146,
169,
30287,
31529,
30923,
11474,
29871,
235,
138,
182,
31022,
30658,
29896,
29898,
30888,
30923,
7240,
29946,
30419,
31268,
233,
152,
183,
30409,
31433,
234,
171,
182,
30505,
29896,
29900,
30325,
30577,
30429,
718,
29871,
29945,
30325,
31532,
30528,
30909,
29896,
29900,
30325,
31532,
718,
29871,
30577,
30658,
30417,
235,
134,
143,
234,
169,
190,
29945,
30325,
31532,
30210,
31430,
31532,
13,
4706,
565,
313,
6321,
1475,
29889,
5358,
29961,
29896,
29946,
29901,
29906,
29900,
29962,
1405,
611,
29896,
29900,
29961,
29896,
29946,
29901,
29906,
29900,
14664,
497,
580,
322,
313,
655,
29896,
29900,
29961,
29896,
29953,
29901,
29906,
29900,
29962,
529,
611,
29945,
29961,
29896,
29953,
29901,
29906,
29900,
14664,
497,
580,
322,
313,
6321,
1475,
29889,
5358,
29961,
29900,
29901,
29896,
29945,
29962,
1405,
611,
29945,
29961,
29900,
29901,
29896,
29945,
14178,
29896,
29889,
29900,
29906,
467,
1384,
7295,
13,
9651,
736,
5852,
13,
13,
1678,
736,
7700,
13,
13,
29937,
30287,
31529,
31977,
233,
184,
173,
30923,
30822,
30210,
30816,
234,
176,
153,
234,
152,
168,
13,
1753,
343,
29875,
29918,
833,
29918,
700,
29877,
29898,
1396,
29892,
413,
9012,
29892,
17927,
1125,
13,
1678,
4489,
353,
413,
9012,
29889,
517,
29918,
1272,
2557,
580,
13,
1678,
565,
7431,
29898,
2176,
29897,
529,
29871,
29906,
29900,
29901,
13,
4706,
736,
7700,
13,
1678,
396,
21707,
29889,
3888,
703,
6321,
1475,
29889,
9812,
29901,
1273,
29888,
29892,
413,
9012,
29889,
5358,
29901,
1273,
29888,
29908,
1273,
313,
6321,
1475,
29889,
9812,
14352,
29896,
1402,
413,
9012,
29889,
5358,
14352,
29896,
12622,
13,
1678,
611,
29945,
353,
5969,
747,
29889,
1529,
29898,
2176,
29889,
5358,
29892,
931,
19145,
29922,
29945,
29897,
29871,
13,
1678,
611,
29896,
29900,
353,
29871,
5969,
747,
29889,
1529,
29898,
2176,
29889,
5358,
29892,
931,
19145,
29922,
29896,
29900,
29897,
13,
13,
1678,
396,
1254,
15488,
29896,
30383,
30948,
30325,
235,
134,
143,
234,
169,
190,
30275,
30257,
31430,
31391,
235,
134,
143,
234,
169,
190,
30446,
31430,
718,
29871,
29945,
30325,
31532,
30528,
30909,
29896,
29900,
30325,
31532,
13,
1678,
565,
413,
9012,
29889,
5358,
14352,
29896,
29962,
1405,
413,
9012,
29889,
3150,
14352,
29896,
29962,
322,
611,
29945,
29961,
29896,
29929,
29962,
1405,
611,
29896,
29900,
29961,
29896,
29929,
29962,
320,
13,
4706,
322,
413,
9012,
29889,
5358,
14352,
29896,
29962,
1405,
611,
29945,
29961,
29896,
29929,
14178,
29896,
29889,
29900,
29906,
29945,
29901,
13,
4706,
396,
1254,
15488,
29906,
30383,
31830,
29946,
30325,
31994,
30417,
235,
134,
143,
234,
169,
190,
30275,
30257,
31430,
13,
4706,
565,
313,
6321,
1475,
29889,
5358,
29961,
29896,
29945,
29901,
29896,
29955,
29962,
1405,
611,
29945,
29961,
29896,
29945,
29901,
29896,
29955,
14178,
29896,
29889,
29900,
29906,
467,
1384,
7295,
13,
9651,
736,
5852,
13,
1678,
736,
7700,
2
] |
dvc/remote/gdrive/utils.py | Baranowski/dvc | 0 | 41650 | <reponame>Baranowski/dvc<gh_stars>0
import os
from dvc.progress import Tqdm
FOLDER_MIME_TYPE = "application/vnd.google-apps.folder"
class TrackFileReadProgress(object):
def __init__(self, progress_name, fobj):
self.progress_name = progress_name
self.fobj = fobj
file_size = os.fstat(fobj.fileno()).st_size
self.tqdm = Tqdm(desc=self.progress_name, total=file_size)
def read(self, size):
self.tqdm.update(size)
return self.fobj.read(size)
def close(self):
self.fobj.close()
self.tqdm.close()
def __getattr__(self, attr):
return getattr(self.fobj, attr)
| [
1,
529,
276,
1112,
420,
29958,
4297,
273,
11716,
29914,
29881,
7071,
29966,
12443,
29918,
303,
1503,
29958,
29900,
13,
5215,
2897,
13,
13,
3166,
270,
7071,
29889,
18035,
1053,
323,
29939,
18933,
13,
13,
13,
29943,
5607,
8032,
29918,
29924,
8890,
29918,
11116,
353,
376,
6214,
29914,
29894,
299,
29889,
3608,
29899,
13371,
29889,
12083,
29908,
13,
13,
13,
1990,
17026,
2283,
6359,
14470,
29898,
3318,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
6728,
29918,
978,
29892,
285,
5415,
1125,
13,
4706,
1583,
29889,
18035,
29918,
978,
353,
6728,
29918,
978,
13,
4706,
1583,
29889,
29888,
5415,
353,
285,
5415,
13,
4706,
934,
29918,
2311,
353,
2897,
29889,
29888,
6112,
29898,
29888,
5415,
29889,
1777,
8154,
16655,
303,
29918,
2311,
13,
4706,
1583,
29889,
29873,
29939,
18933,
353,
323,
29939,
18933,
29898,
14273,
29922,
1311,
29889,
18035,
29918,
978,
29892,
3001,
29922,
1445,
29918,
2311,
29897,
13,
13,
1678,
822,
1303,
29898,
1311,
29892,
2159,
1125,
13,
4706,
1583,
29889,
29873,
29939,
18933,
29889,
5504,
29898,
2311,
29897,
13,
4706,
736,
1583,
29889,
29888,
5415,
29889,
949,
29898,
2311,
29897,
13,
13,
1678,
822,
3802,
29898,
1311,
1125,
13,
4706,
1583,
29889,
29888,
5415,
29889,
5358,
580,
13,
4706,
1583,
29889,
29873,
29939,
18933,
29889,
5358,
580,
13,
13,
1678,
822,
4770,
657,
5552,
12035,
1311,
29892,
12421,
1125,
13,
4706,
736,
679,
5552,
29898,
1311,
29889,
29888,
5415,
29892,
12421,
29897,
13,
2
] |
build_tools/typhoon-blade/src/blade/blade_platform.py | algo-data-platform/PredictorService | 2 | 145245 | # Copyright (c) 2011 Tencent Inc.
# All rights reserved.
#
# Author: <NAME> <<EMAIL>>
# Date: October 20, 2011
"""
This is the blade_platform module which deals with the environment
variable.
"""
import os
import subprocess
import configparse
import console
from blade_util import var_to_list
class BuildArchitecture(object):
"""
The BuildArchitecture class manages architecture/bits configuration
across various platforms/compilers combined with the input from
command line.
"""
_build_architecture = {
'i386' : {
'alias' : ['x86'],
'bits' : '32',
},
'x86_64' : {
'alias' : ['amd64'],
'bits' : '64',
'models' : {
'32' : 'i386',
}
},
'ppc' : {
'alias' : ['powerpc'],
'bits' : '32',
},
'ppc64' : {
'alias' : ['powerpc64'],
'bits' : '64',
'models' : {
'32' : 'ppc',
}
},
'ppc64le' : {
'alias' : ['powerpc64le'],
'bits' : '64',
'models' : {
'32' : 'ppcle',
}
},
}
@staticmethod
def get_canonical_architecture(arch):
"""Get the canonical architecture from the specified arch. """
canonical_arch = None
for k, v in BuildArchitecture._build_architecture.iteritems():
if arch == k or arch in v['alias']:
canonical_arch = k
break
return canonical_arch
@staticmethod
def get_architecture_bits(arch):
"""Get the architecture bits. """
arch = BuildArchitecture.get_canonical_architecture(arch)
if arch:
return BuildArchitecture._build_architecture[arch]['bits']
return None
@staticmethod
def get_model_architecture(arch, bits):
"""
Get the model architecture from the specified arch and bits,
such as, if arch is x86_64 and bits is '32', then the resulting
model architecture is i386 which effectively means building
32 bit target in a 64 bit environment.
"""
arch = BuildArchitecture.get_canonical_architecture(arch)
if arch:
if bits == BuildArchitecture._build_architecture[arch]['bits']:
return arch
models = BuildArchitecture._build_architecture[arch].get('models')
if models and bits in models:
return models[bits]
return None
class BuildPlatform(object):
"""The build platform class which handles and gets the platform info. """
def __init__(self):
"""Init. """
self.gcc_version = self._get_gcc_version()
self.python_inc = self._get_python_include()
self.php_inc_list = self._get_php_include()
self.java_inc_list = self._get_java_include()
self.nvcc_version = self._get_nvcc_version()
self.cuda_inc_list = self._get_cuda_include()
@staticmethod
def _get_gcc_version():
"""Get the gcc version. """
gcc = os.path.join(os.environ.get('TOOLCHAIN_DIR', ''),
os.environ.get('CC', 'gcc'))
returncode, stdout, stderr = BuildPlatform._execute(gcc + ' -dumpversion')
if returncode == 0:
return stdout.strip()
return ''
@staticmethod
def _get_cc_target_arch():
"""Get the cc target architecture. """
gcc = os.path.join(os.environ.get('TOOLCHAIN_DIR', ''),
os.environ.get('CC', 'gcc'))
returncode, stdout, stderr = BuildPlatform._execute(gcc + ' -dumpmachine')
if returncode == 0:
return stdout.strip()
return ''
@staticmethod
def _get_nvcc_version():
"""Get the nvcc version. """
nvcc = os.environ.get('NVCC', 'nvcc')
returncode, stdout, stderr = BuildPlatform._execute(nvcc + ' --version')
if returncode == 0:
version_line = stdout.splitlines(True)[-1]
version = version_line.split()[5]
return version
return ''
@staticmethod
def _get_python_include():
"""Get the python include dir. """
returncode, stdout, stderr = BuildPlatform._execute('python-config --includes')
if returncode == 0:
include_line = stdout.splitlines(True)[0]
header = include_line.split()[0][2:]
return header
return ''
@staticmethod
def _get_php_include():
returncode, stdout, stderr = BuildPlatform._execute('php-config --includes')
if returncode == 0:
include_line = stdout.splitlines(True)[0]
headers = include_line.split()
header_list = ["'%s'" % s[2:] for s in headers]
return header_list
return []
@staticmethod
def _get_java_include():
include_list = []
java_home = os.environ.get('JAVA_HOME', '')
if java_home:
include_list.append('%s/include' % java_home)
include_list.append('%s/include/linux' % java_home)
return include_list
returncode, stdout, stderr = BuildPlatform._execute(
'java -version', redirect_stderr_to_stdout = True)
if returncode == 0:
version_line = stdout.splitlines(True)[0]
version = version_line.split()[2]
version = version.replace('"', '')
include_list.append('/usr/java/jdk%s/include' % version)
include_list.append('/usr/java/jdk%s/include/linux' % version)
return include_list
return []
@staticmethod
def _get_cuda_include():
include_list = []
cuda_path = os.environ.get('CUDA_PATH')
if cuda_path:
include_list.append('%s/include' % cuda_path)
include_list.append('%s/samples/common/inc' % cuda_path)
return include_list
returncode, stdout, stderr = BuildPlatform._execute('nvcc --version')
if returncode == 0:
version_line = stdout.splitlines(True)[-1]
version = version_line.split()[4]
version = version.replace(',', '')
if os.path.isdir('/usr/local/cuda-%s' % version):
include_list.append('/usr/local/cuda-%s/include' % version)
include_list.append('/usr/local/cuda-%s/samples/common/inc' % version)
return include_list
return []
@staticmethod
def _execute(cmd, redirect_stderr_to_stdout = False):
redirect_stderr = subprocess.PIPE
if redirect_stderr_to_stdout:
redirect_stderr = subprocess.STDOUT
p = subprocess.Popen(cmd,
env=os.environ,
stderr=redirect_stderr,
stdout=subprocess.PIPE,
shell=True,
universal_newlines=True)
stdout, stderr = p.communicate()
return p.returncode, stdout, stderr
def get_gcc_version(self):
"""Returns gcc version. """
return self.gcc_version
def get_python_include(self):
"""Returns python include. """
return self.python_inc
def get_php_include(self):
"""Returns a list of php include. """
return self.php_inc_list
def get_java_include(self):
"""Returns a list of java include. """
return self.java_inc_list
def get_nvcc_version(self):
"""Returns nvcc version. """
return self.nvcc_version
def get_cuda_include(self):
"""Returns a list of cuda include. """
return self.cuda_inc_list
class CcFlagsManager(object):
"""The CcFlagsManager class.
This class manages the compile warning flags.
"""
def __init__(self, options, build_dir, gcc_version):
self.cc = ''
self.options = options
self.build_dir = build_dir
self.gcc_version = gcc_version
def _filter_out_invalid_flags(self, flag_list, language='c'):
"""Filter the unsupported compilation flags. """
supported_flags, unsupported_flags = [], []
# Put compilation output into test.o instead of /dev/null
# because the command line with '--coverage' below exit
# with status 1 which makes '--coverage' unsupported
# echo "int main() { return 0; }" | gcc -o /dev/null -c -x c --coverage - > /dev/null 2>&1
obj = os.path.join(self.build_dir, 'test.o')
for flag in var_to_list(flag_list):
cmd = ('echo "int main() { return 0; }" | '
'%s -o %s -c -x %s %s - > /dev/null 2>&1 && rm -f %s' % (
self.cc, obj, language, flag, obj))
if subprocess.call(cmd, shell=True) == 0:
supported_flags.append(flag)
else:
unsupported_flags.append(flag)
if unsupported_flags:
console.warning('Unsupported C/C++ flags: %s' %
', '.join(unsupported_flags))
return supported_flags
def set_cc(self, cc):
"""set up the compiler. """
self.cc = cc
def get_flags_except_warning(self):
"""Get the flags that are not warning flags. """
global_config = configparse.blade_config.get_config('global_config')
cc_config = configparse.blade_config.get_config('cc_config')
flags_except_warning = ['-m%s' % self.options.m, '-mcx16', '-pipe']
linkflags = ['-m%s' % self.options.m]
# Debugging information setting
debug_info_level = global_config['debug_info_level']
debug_info_options = cc_config['debug_info_levels'][debug_info_level]
flags_except_warning += debug_info_options
# Option debugging flags
if self.options.profile == 'debug':
flags_except_warning.append('-fstack-protector')
elif self.options.profile == 'release':
flags_except_warning.append('-DNDEBUG')
flags_except_warning += [
'-D_FILE_OFFSET_BITS=64',
'-D__STDC_CONSTANT_MACROS',
'-D__STDC_FORMAT_MACROS',
'-D__STDC_LIMIT_MACROS',
]
if getattr(self.options, 'gprof', False):
flags_except_warning.append('-pg')
linkflags.append('-pg')
if getattr(self.options, 'coverage', False):
if self.gcc_version > '4.1':
flags_except_warning.append('--coverage')
linkflags.append('--coverage')
else:
flags_except_warning.append('-fprofile-arcs')
flags_except_warning.append('-ftest-coverage')
linkflags += ['-Wl,--whole-archive', '-lgcov',
'-Wl,--no-whole-archive']
flags_except_warning = self._filter_out_invalid_flags(
flags_except_warning)
return (flags_except_warning, linkflags)
def get_warning_flags(self):
"""Get the warning flags. """
cc_config = configparse.blade_config.get_config('cc_config')
cppflags = cc_config['warnings']
cxxflags = cc_config['cxx_warnings']
cflags = cc_config['c_warnings']
filtered_cppflags = self._filter_out_invalid_flags(cppflags)
filtered_cxxflags = self._filter_out_invalid_flags(cxxflags, 'c++')
filtered_cflags = self._filter_out_invalid_flags(cflags, 'c')
return (filtered_cppflags, filtered_cxxflags, filtered_cflags)
| [
1,
396,
14187,
1266,
313,
29883,
29897,
29871,
29906,
29900,
29896,
29896,
12444,
1760,
9266,
29889,
13,
29937,
2178,
10462,
21676,
29889,
13,
29937,
13,
29937,
13361,
29901,
529,
5813,
29958,
3532,
26862,
6227,
6778,
13,
29937,
4712,
29901,
259,
5533,
29871,
29906,
29900,
29892,
29871,
29906,
29900,
29896,
29896,
13,
13,
13,
15945,
29908,
13,
910,
338,
278,
12995,
311,
29918,
12120,
3883,
607,
316,
1338,
411,
278,
5177,
13,
2286,
29889,
13,
13,
15945,
29908,
13,
13,
13,
5215,
2897,
13,
5215,
1014,
5014,
13,
13,
5215,
2295,
5510,
13,
5215,
2991,
13,
3166,
12995,
311,
29918,
4422,
1053,
722,
29918,
517,
29918,
1761,
13,
13,
13,
1990,
8878,
13197,
14819,
29898,
3318,
1125,
13,
1678,
9995,
13,
1678,
450,
8878,
13197,
14819,
770,
767,
1179,
11258,
29914,
14836,
5285,
13,
1678,
4822,
5164,
21796,
29914,
2388,
22058,
12420,
411,
278,
1881,
515,
13,
1678,
1899,
1196,
29889,
13,
1678,
9995,
13,
1678,
903,
4282,
29918,
25428,
353,
426,
13,
4706,
525,
29875,
29941,
29947,
29953,
29915,
584,
426,
13,
9651,
525,
19973,
29915,
584,
6024,
29916,
29947,
29953,
7464,
13,
9651,
525,
14836,
29915,
584,
525,
29941,
29906,
742,
13,
4706,
2981,
13,
4706,
525,
29916,
29947,
29953,
29918,
29953,
29946,
29915,
584,
426,
13,
9651,
525,
19973,
29915,
584,
6024,
22490,
29953,
29946,
7464,
13,
9651,
525,
14836,
29915,
584,
525,
29953,
29946,
742,
13,
9651,
525,
9794,
29915,
584,
426,
13,
18884,
525,
29941,
29906,
29915,
584,
525,
29875,
29941,
29947,
29953,
742,
13,
9651,
500,
13,
4706,
2981,
13,
4706,
525,
407,
29883,
29915,
584,
426,
13,
9651,
525,
19973,
29915,
584,
6024,
13519,
6739,
7464,
13,
9651,
525,
14836,
29915,
584,
525,
29941,
29906,
742,
13,
4706,
2981,
13,
4706,
525,
407,
29883,
29953,
29946,
29915,
584,
426,
13,
9651,
525,
19973,
29915,
584,
6024,
13519,
6739,
29953,
29946,
7464,
13,
9651,
525,
14836,
29915,
584,
525,
29953,
29946,
742,
13,
9651,
525,
9794,
29915,
584,
426,
13,
18884,
525,
29941,
29906,
29915,
584,
525,
407,
29883,
742,
13,
9651,
500,
13,
4706,
2981,
13,
4706,
525,
407,
29883,
29953,
29946,
280,
29915,
584,
426,
13,
9651,
525,
19973,
29915,
584,
6024,
13519,
6739,
29953,
29946,
280,
7464,
13,
9651,
525,
14836,
29915,
584,
525,
29953,
29946,
742,
13,
9651,
525,
9794,
29915,
584,
426,
13,
18884,
525,
29941,
29906,
29915,
584,
525,
407,
2841,
742,
13,
9651,
500,
13,
4706,
2981,
13,
1678,
500,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
679,
29918,
3068,
265,
936,
29918,
25428,
29898,
1279,
1125,
13,
4706,
9995,
2577,
278,
24420,
11258,
515,
278,
6790,
3190,
29889,
9995,
13,
4706,
24420,
29918,
1279,
353,
6213,
13,
4706,
363,
413,
29892,
325,
297,
8878,
13197,
14819,
3032,
4282,
29918,
25428,
29889,
1524,
7076,
7295,
13,
9651,
565,
3190,
1275,
413,
470,
3190,
297,
325,
1839,
19973,
2033,
29901,
13,
18884,
24420,
29918,
1279,
353,
413,
13,
18884,
2867,
13,
4706,
736,
24420,
29918,
1279,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
679,
29918,
25428,
29918,
14836,
29898,
1279,
1125,
13,
4706,
9995,
2577,
278,
11258,
9978,
29889,
9995,
13,
4706,
3190,
353,
8878,
13197,
14819,
29889,
657,
29918,
3068,
265,
936,
29918,
25428,
29898,
1279,
29897,
13,
4706,
565,
3190,
29901,
13,
9651,
736,
8878,
13197,
14819,
3032,
4282,
29918,
25428,
29961,
1279,
22322,
14836,
2033,
13,
4706,
736,
6213,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
679,
29918,
4299,
29918,
25428,
29898,
1279,
29892,
9978,
1125,
13,
4706,
9995,
13,
4706,
3617,
278,
1904,
11258,
515,
278,
6790,
3190,
322,
9978,
29892,
13,
4706,
1316,
408,
29892,
565,
3190,
338,
921,
29947,
29953,
29918,
29953,
29946,
322,
9978,
338,
525,
29941,
29906,
742,
769,
278,
9819,
13,
4706,
1904,
11258,
338,
474,
29941,
29947,
29953,
607,
17583,
2794,
5214,
13,
308,
29941,
29906,
2586,
3646,
297,
263,
29871,
29953,
29946,
2586,
5177,
29889,
13,
4706,
9995,
13,
4706,
3190,
353,
8878,
13197,
14819,
29889,
657,
29918,
3068,
265,
936,
29918,
25428,
29898,
1279,
29897,
13,
4706,
565,
3190,
29901,
13,
9651,
565,
9978,
1275,
8878,
13197,
14819,
3032,
4282,
29918,
25428,
29961,
1279,
22322,
14836,
2033,
29901,
13,
18884,
736,
3190,
13,
9651,
4733,
353,
8878,
13197,
14819,
3032,
4282,
29918,
25428,
29961,
1279,
1822,
657,
877,
9794,
1495,
13,
9651,
565,
4733,
322,
9978,
297,
4733,
29901,
13,
18884,
736,
4733,
29961,
14836,
29962,
13,
4706,
736,
6213,
13,
13,
13,
1990,
8878,
21889,
29898,
3318,
1125,
13,
1678,
9995,
1576,
2048,
7481,
770,
607,
17766,
322,
4947,
278,
7481,
5235,
29889,
9995,
13,
1678,
822,
4770,
2344,
12035,
1311,
1125,
13,
4706,
9995,
6644,
29889,
9995,
13,
4706,
1583,
29889,
19644,
29918,
3259,
353,
1583,
3032,
657,
29918,
19644,
29918,
3259,
580,
13,
4706,
1583,
29889,
4691,
29918,
3742,
353,
1583,
3032,
657,
29918,
4691,
29918,
2856,
580,
13,
4706,
1583,
29889,
1961,
29918,
3742,
29918,
1761,
353,
1583,
3032,
657,
29918,
1961,
29918,
2856,
580,
13,
4706,
1583,
29889,
1645,
29918,
3742,
29918,
1761,
353,
1583,
3032,
657,
29918,
1645,
29918,
2856,
580,
13,
4706,
1583,
29889,
29876,
29894,
617,
29918,
3259,
353,
1583,
3032,
657,
29918,
29876,
29894,
617,
29918,
3259,
580,
13,
4706,
1583,
29889,
29883,
6191,
29918,
3742,
29918,
1761,
353,
1583,
3032,
657,
29918,
29883,
6191,
29918,
2856,
580,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
903,
657,
29918,
19644,
29918,
3259,
7295,
13,
4706,
9995,
2577,
278,
20243,
1873,
29889,
9995,
13,
4706,
20243,
353,
2897,
29889,
2084,
29889,
7122,
29898,
359,
29889,
21813,
29889,
657,
877,
4986,
5607,
3210,
29909,
1177,
29918,
9464,
742,
525,
5477,
13,
462,
965,
2897,
29889,
21813,
29889,
657,
877,
4174,
742,
525,
19644,
8785,
13,
4706,
736,
401,
29892,
27591,
29892,
380,
20405,
353,
8878,
21889,
3032,
7978,
29898,
19644,
718,
525,
448,
15070,
3259,
1495,
13,
4706,
565,
736,
401,
1275,
29871,
29900,
29901,
13,
9651,
736,
27591,
29889,
17010,
580,
13,
4706,
736,
6629,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
903,
657,
29918,
617,
29918,
5182,
29918,
1279,
7295,
13,
4706,
9995,
2577,
278,
21759,
3646,
11258,
29889,
9995,
13,
4706,
20243,
353,
2897,
29889,
2084,
29889,
7122,
29898,
359,
29889,
21813,
29889,
657,
877,
4986,
5607,
3210,
29909,
1177,
29918,
9464,
742,
525,
5477,
13,
462,
965,
2897,
29889,
21813,
29889,
657,
877,
4174,
742,
525,
19644,
8785,
13,
4706,
736,
401,
29892,
27591,
29892,
380,
20405,
353,
8878,
21889,
3032,
7978,
29898,
19644,
718,
525,
448,
29881,
398,
3358,
2945,
1495,
13,
4706,
565,
736,
401,
1275,
29871,
29900,
29901,
13,
9651,
736,
27591,
29889,
17010,
580,
13,
4706,
736,
6629,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
903,
657,
29918,
29876,
29894,
617,
29918,
3259,
7295,
13,
4706,
9995,
2577,
278,
302,
29894,
617,
1873,
29889,
9995,
13,
4706,
302,
29894,
617,
353,
2897,
29889,
21813,
29889,
657,
877,
29940,
29963,
4174,
742,
525,
29876,
29894,
617,
1495,
13,
4706,
736,
401,
29892,
27591,
29892,
380,
20405,
353,
8878,
21889,
3032,
7978,
29898,
29876,
29894,
617,
718,
525,
1192,
3259,
1495,
13,
4706,
565,
736,
401,
1275,
29871,
29900,
29901,
13,
9651,
1873,
29918,
1220,
353,
27591,
29889,
5451,
9012,
29898,
5574,
9601,
29899,
29896,
29962,
13,
9651,
1873,
353,
1873,
29918,
1220,
29889,
5451,
580,
29961,
29945,
29962,
13,
9651,
736,
1873,
13,
4706,
736,
6629,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
903,
657,
29918,
4691,
29918,
2856,
7295,
13,
4706,
9995,
2577,
278,
3017,
3160,
4516,
29889,
9995,
13,
4706,
736,
401,
29892,
27591,
29892,
380,
20405,
353,
8878,
21889,
3032,
7978,
877,
4691,
29899,
2917,
1192,
24572,
1495,
13,
4706,
565,
736,
401,
1275,
29871,
29900,
29901,
13,
9651,
3160,
29918,
1220,
353,
27591,
29889,
5451,
9012,
29898,
5574,
9601,
29900,
29962,
13,
9651,
4839,
353,
3160,
29918,
1220,
29889,
5451,
580,
29961,
29900,
3816,
29906,
17531,
13,
9651,
736,
4839,
13,
4706,
736,
6629,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
903,
657,
29918,
1961,
29918,
2856,
7295,
13,
4706,
736,
401,
29892,
27591,
29892,
380,
20405,
353,
8878,
21889,
3032,
7978,
877,
1961,
29899,
2917,
1192,
24572,
1495,
13,
4706,
565,
736,
401,
1275,
29871,
29900,
29901,
13,
9651,
3160,
29918,
1220,
353,
27591,
29889,
5451,
9012,
29898,
5574,
9601,
29900,
29962,
13,
9651,
9066,
353,
3160,
29918,
1220,
29889,
5451,
580,
13,
9651,
4839,
29918,
1761,
353,
6796,
29915,
29995,
29879,
11838,
1273,
269,
29961,
29906,
17531,
363,
269,
297,
9066,
29962,
13,
9651,
736,
4839,
29918,
1761,
13,
4706,
736,
5159,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
903,
657,
29918,
1645,
29918,
2856,
7295,
13,
4706,
3160,
29918,
1761,
353,
5159,
13,
4706,
2115,
29918,
5184,
353,
2897,
29889,
21813,
29889,
657,
877,
29967,
26612,
29918,
17353,
742,
27255,
13,
4706,
565,
2115,
29918,
5184,
29901,
13,
9651,
3160,
29918,
1761,
29889,
4397,
877,
29995,
29879,
29914,
2856,
29915,
1273,
2115,
29918,
5184,
29897,
13,
9651,
3160,
29918,
1761,
29889,
4397,
877,
29995,
29879,
29914,
2856,
29914,
9389,
29915,
1273,
2115,
29918,
5184,
29897,
13,
9651,
736,
3160,
29918,
1761,
13,
4706,
736,
401,
29892,
27591,
29892,
380,
20405,
353,
8878,
21889,
3032,
7978,
29898,
13,
18884,
525,
1645,
448,
3259,
742,
6684,
29918,
303,
20405,
29918,
517,
29918,
25393,
353,
5852,
29897,
13,
4706,
565,
736,
401,
1275,
29871,
29900,
29901,
13,
9651,
1873,
29918,
1220,
353,
27591,
29889,
5451,
9012,
29898,
5574,
9601,
29900,
29962,
13,
9651,
1873,
353,
1873,
29918,
1220,
29889,
5451,
580,
29961,
29906,
29962,
13,
9651,
1873,
353,
1873,
29889,
6506,
877,
29908,
742,
27255,
13,
9651,
3160,
29918,
1761,
29889,
4397,
11219,
4855,
29914,
1645,
29914,
24255,
29995,
29879,
29914,
2856,
29915,
1273,
1873,
29897,
13,
9651,
3160,
29918,
1761,
29889,
4397,
11219,
4855,
29914,
1645,
29914,
24255,
29995,
29879,
29914,
2856,
29914,
9389,
29915,
1273,
1873,
29897,
13,
9651,
736,
3160,
29918,
1761,
13,
4706,
736,
5159,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
903,
657,
29918,
29883,
6191,
29918,
2856,
7295,
13,
4706,
3160,
29918,
1761,
353,
5159,
13,
4706,
274,
6191,
29918,
2084,
353,
2897,
29889,
21813,
29889,
657,
877,
29907,
29965,
7698,
29918,
10145,
1495,
13,
4706,
565,
274,
6191,
29918,
2084,
29901,
13,
9651,
3160,
29918,
1761,
29889,
4397,
877,
29995,
29879,
29914,
2856,
29915,
1273,
274,
6191,
29918,
2084,
29897,
13,
9651,
3160,
29918,
1761,
29889,
4397,
877,
29995,
29879,
29914,
27736,
29914,
9435,
29914,
3742,
29915,
1273,
274,
6191,
29918,
2084,
29897,
13,
9651,
736,
3160,
29918,
1761,
13,
4706,
736,
401,
29892,
27591,
29892,
380,
20405,
353,
8878,
21889,
3032,
7978,
877,
29876,
29894,
617,
1192,
3259,
1495,
13,
4706,
565,
736,
401,
1275,
29871,
29900,
29901,
13,
9651,
1873,
29918,
1220,
353,
27591,
29889,
5451,
9012,
29898,
5574,
9601,
29899,
29896,
29962,
13,
9651,
1873,
353,
1873,
29918,
1220,
29889,
5451,
580,
29961,
29946,
29962,
13,
9651,
1873,
353,
1873,
29889,
6506,
29317,
742,
27255,
13,
9651,
565,
2897,
29889,
2084,
29889,
275,
3972,
11219,
4855,
29914,
2997,
29914,
29883,
6191,
19222,
29879,
29915,
1273,
1873,
1125,
13,
18884,
3160,
29918,
1761,
29889,
4397,
11219,
4855,
29914,
2997,
29914,
29883,
6191,
19222,
29879,
29914,
2856,
29915,
1273,
1873,
29897,
13,
18884,
3160,
29918,
1761,
29889,
4397,
11219,
4855,
29914,
2997,
29914,
29883,
6191,
19222,
29879,
29914,
27736,
29914,
9435,
29914,
3742,
29915,
1273,
1873,
29897,
13,
18884,
736,
3160,
29918,
1761,
13,
4706,
736,
5159,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
903,
7978,
29898,
9006,
29892,
6684,
29918,
303,
20405,
29918,
517,
29918,
25393,
353,
7700,
1125,
13,
4706,
6684,
29918,
303,
20405,
353,
1014,
5014,
29889,
2227,
4162,
13,
4706,
565,
6684,
29918,
303,
20405,
29918,
517,
29918,
25393,
29901,
13,
9651,
6684,
29918,
303,
20405,
353,
1014,
5014,
29889,
1254,
3970,
2692,
13,
4706,
282,
353,
1014,
5014,
29889,
29925,
3150,
29898,
9006,
29892,
13,
462,
632,
8829,
29922,
359,
29889,
21813,
29892,
13,
462,
632,
380,
20405,
29922,
17886,
29918,
303,
20405,
29892,
13,
462,
632,
27591,
29922,
1491,
5014,
29889,
2227,
4162,
29892,
13,
462,
632,
6473,
29922,
5574,
29892,
13,
462,
632,
15968,
29918,
1482,
9012,
29922,
5574,
29897,
13,
4706,
27591,
29892,
380,
20405,
353,
282,
29889,
27820,
403,
580,
13,
4706,
736,
282,
29889,
2457,
401,
29892,
27591,
29892,
380,
20405,
13,
13,
1678,
822,
679,
29918,
19644,
29918,
3259,
29898,
1311,
1125,
13,
4706,
9995,
11609,
29879,
20243,
1873,
29889,
9995,
13,
4706,
736,
1583,
29889,
19644,
29918,
3259,
13,
13,
1678,
822,
679,
29918,
4691,
29918,
2856,
29898,
1311,
1125,
13,
4706,
9995,
11609,
29879,
3017,
3160,
29889,
9995,
13,
4706,
736,
1583,
29889,
4691,
29918,
3742,
13,
13,
1678,
822,
679,
29918,
1961,
29918,
2856,
29898,
1311,
1125,
13,
4706,
9995,
11609,
29879,
263,
1051,
310,
3989,
3160,
29889,
9995,
13,
4706,
736,
1583,
29889,
1961,
29918,
3742,
29918,
1761,
13,
13,
1678,
822,
679,
29918,
1645,
29918,
2856,
29898,
1311,
1125,
13,
4706,
9995,
11609,
29879,
263,
1051,
310,
2115,
3160,
29889,
9995,
13,
4706,
736,
1583,
29889,
1645,
29918,
3742,
29918,
1761,
13,
13,
1678,
822,
679,
29918,
29876,
29894,
617,
29918,
3259,
29898,
1311,
1125,
13,
4706,
9995,
11609,
29879,
302,
29894,
617,
1873,
29889,
9995,
13,
4706,
736,
1583,
29889,
29876,
29894,
617,
29918,
3259,
13,
13,
1678,
822,
679,
29918,
29883,
6191,
29918,
2856,
29898,
1311,
1125,
13,
4706,
9995,
11609,
29879,
263,
1051,
310,
274,
6191,
3160,
29889,
9995,
13,
4706,
736,
1583,
29889,
29883,
6191,
29918,
3742,
29918,
1761,
13,
13,
13,
1990,
315,
29883,
15675,
3260,
29898,
3318,
1125,
13,
1678,
9995,
1576,
315,
29883,
15675,
3260,
770,
29889,
13,
13,
1678,
910,
770,
767,
1179,
278,
6633,
9177,
13449,
29889,
13,
13,
1678,
9995,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
3987,
29892,
2048,
29918,
3972,
29892,
20243,
29918,
3259,
1125,
13,
4706,
1583,
29889,
617,
353,
6629,
13,
4706,
1583,
29889,
6768,
353,
3987,
13,
4706,
1583,
29889,
4282,
29918,
3972,
353,
2048,
29918,
3972,
13,
4706,
1583,
29889,
19644,
29918,
3259,
353,
20243,
29918,
3259,
13,
13,
1678,
822,
903,
4572,
29918,
449,
29918,
20965,
29918,
15764,
29898,
1311,
29892,
7353,
29918,
1761,
29892,
4086,
2433,
29883,
29374,
13,
4706,
9995,
5072,
278,
443,
23765,
14835,
13449,
29889,
9995,
13,
4706,
6969,
29918,
15764,
29892,
443,
23765,
29918,
15764,
353,
19997,
5159,
13,
4706,
396,
12065,
14835,
1962,
964,
1243,
29889,
29877,
2012,
310,
847,
3359,
29914,
4304,
13,
4706,
396,
1363,
278,
1899,
1196,
411,
525,
489,
11911,
482,
29915,
2400,
6876,
13,
4706,
396,
411,
4660,
29871,
29896,
607,
3732,
525,
489,
11911,
482,
29915,
443,
23765,
13,
4706,
396,
2916,
376,
524,
1667,
580,
426,
736,
29871,
29900,
29936,
500,
29908,
891,
20243,
448,
29877,
847,
3359,
29914,
4304,
448,
29883,
448,
29916,
274,
1192,
11911,
482,
448,
1405,
847,
3359,
29914,
4304,
29871,
29906,
19250,
29896,
13,
4706,
5446,
353,
2897,
29889,
2084,
29889,
7122,
29898,
1311,
29889,
4282,
29918,
3972,
29892,
525,
1688,
29889,
29877,
1495,
13,
4706,
363,
7353,
297,
722,
29918,
517,
29918,
1761,
29898,
15581,
29918,
1761,
1125,
13,
9651,
9920,
353,
6702,
8057,
376,
524,
1667,
580,
426,
736,
29871,
29900,
29936,
500,
29908,
891,
525,
13,
462,
259,
14210,
29879,
448,
29877,
1273,
29879,
448,
29883,
448,
29916,
1273,
29879,
1273,
29879,
448,
1405,
847,
3359,
29914,
4304,
29871,
29906,
19250,
29896,
2607,
20241,
448,
29888,
1273,
29879,
29915,
1273,
313,
13,
462,
259,
1583,
29889,
617,
29892,
5446,
29892,
4086,
29892,
7353,
29892,
5446,
876,
13,
9651,
565,
1014,
5014,
29889,
4804,
29898,
9006,
29892,
6473,
29922,
5574,
29897,
1275,
29871,
29900,
29901,
13,
18884,
6969,
29918,
15764,
29889,
4397,
29898,
15581,
29897,
13,
9651,
1683,
29901,
13,
18884,
443,
23765,
29918,
15764,
29889,
4397,
29898,
15581,
29897,
13,
4706,
565,
443,
23765,
29918,
15764,
29901,
13,
9651,
2991,
29889,
27392,
877,
25807,
29884,
3016,
287,
315,
29914,
29907,
1817,
13449,
29901,
1273,
29879,
29915,
1273,
13,
462,
9651,
13420,
15300,
7122,
29898,
348,
23765,
29918,
15764,
876,
13,
4706,
736,
6969,
29918,
15764,
13,
13,
1678,
822,
731,
29918,
617,
29898,
1311,
29892,
21759,
1125,
13,
4706,
9995,
842,
701,
278,
6516,
29889,
9995,
13,
4706,
1583,
29889,
617,
353,
21759,
13,
13,
1678,
822,
679,
29918,
15764,
29918,
19499,
29918,
27392,
29898,
1311,
1125,
13,
4706,
9995,
2577,
278,
13449,
393,
526,
451,
9177,
13449,
29889,
9995,
13,
4706,
5534,
29918,
2917,
353,
2295,
5510,
29889,
17530,
311,
29918,
2917,
29889,
657,
29918,
2917,
877,
10945,
29918,
2917,
1495,
13,
4706,
21759,
29918,
2917,
353,
2295,
5510,
29889,
17530,
311,
29918,
2917,
29889,
657,
29918,
2917,
877,
617,
29918,
2917,
1495,
13,
4706,
13449,
29918,
19499,
29918,
27392,
353,
6024,
29899,
29885,
29995,
29879,
29915,
1273,
1583,
29889,
6768,
29889,
29885,
29892,
17411,
14047,
29916,
29896,
29953,
742,
17411,
17760,
2033,
13,
4706,
1544,
15764,
353,
6024,
29899,
29885,
29995,
29879,
29915,
1273,
1583,
29889,
6768,
29889,
29885,
29962,
13,
13,
4706,
396,
16171,
3460,
2472,
4444,
13,
4706,
4744,
29918,
3888,
29918,
5563,
353,
5534,
29918,
2917,
1839,
8382,
29918,
3888,
29918,
5563,
2033,
13,
4706,
4744,
29918,
3888,
29918,
6768,
353,
21759,
29918,
2917,
1839,
8382,
29918,
3888,
29918,
5563,
29879,
2033,
29961,
8382,
29918,
3888,
29918,
5563,
29962,
13,
4706,
13449,
29918,
19499,
29918,
27392,
4619,
4744,
29918,
3888,
29918,
6768,
13,
13,
4706,
396,
10831,
13490,
13449,
13,
4706,
565,
1583,
29889,
6768,
29889,
10185,
1275,
525,
8382,
2396,
13,
9651,
13449,
29918,
19499,
29918,
27392,
29889,
4397,
877,
29899,
29888,
1429,
29899,
14676,
2801,
1495,
13,
4706,
25342,
1583,
29889,
6768,
29889,
10185,
1275,
525,
14096,
2396,
13,
9651,
13449,
29918,
19499,
29918,
27392,
29889,
4397,
877,
29899,
28307,
18525,
1495,
13,
13,
4706,
13449,
29918,
19499,
29918,
27392,
4619,
518,
13,
18884,
17411,
29928,
29918,
7724,
29918,
27681,
10490,
29918,
22698,
29903,
29922,
29953,
29946,
742,
13,
18884,
17411,
29928,
1649,
1254,
12696,
29918,
6007,
1254,
13566,
29918,
1529,
29907,
1672,
29903,
742,
13,
18884,
17411,
29928,
1649,
1254,
12696,
29918,
19094,
1299,
29918,
1529,
29907,
1672,
29903,
742,
13,
18884,
17411,
29928,
1649,
1254,
12696,
29918,
5265,
26349,
29918,
1529,
29907,
1672,
29903,
742,
13,
4706,
4514,
13,
13,
4706,
565,
679,
5552,
29898,
1311,
29889,
6768,
29892,
525,
29887,
23221,
742,
7700,
1125,
13,
9651,
13449,
29918,
19499,
29918,
27392,
29889,
4397,
877,
29899,
4061,
1495,
13,
9651,
1544,
15764,
29889,
4397,
877,
29899,
4061,
1495,
13,
13,
4706,
565,
679,
5552,
29898,
1311,
29889,
6768,
29892,
525,
11911,
482,
742,
7700,
1125,
13,
9651,
565,
1583,
29889,
19644,
29918,
3259,
1405,
525,
29946,
29889,
29896,
2396,
13,
18884,
13449,
29918,
19499,
29918,
27392,
29889,
4397,
877,
489,
11911,
482,
1495,
13,
18884,
1544,
15764,
29889,
4397,
877,
489,
11911,
482,
1495,
13,
9651,
1683,
29901,
13,
18884,
13449,
29918,
19499,
29918,
27392,
29889,
4397,
877,
29899,
29888,
10185,
29899,
279,
2395,
1495,
13,
18884,
13449,
29918,
19499,
29918,
27392,
29889,
4397,
877,
29899,
615,
342,
29899,
11911,
482,
1495,
13,
18884,
1544,
15764,
4619,
6024,
29899,
29956,
29880,
7839,
15970,
280,
29899,
10867,
742,
17411,
19920,
24542,
742,
13,
462,
795,
17411,
29956,
29880,
7839,
1217,
29899,
15970,
280,
29899,
10867,
2033,
13,
13,
4706,
13449,
29918,
19499,
29918,
27392,
353,
1583,
3032,
4572,
29918,
449,
29918,
20965,
29918,
15764,
29898,
13,
18884,
13449,
29918,
19499,
29918,
27392,
29897,
13,
13,
4706,
736,
313,
15764,
29918,
19499,
29918,
27392,
29892,
1544,
15764,
29897,
13,
13,
1678,
822,
679,
29918,
27392,
29918,
15764,
29898,
1311,
1125,
13,
4706,
9995,
2577,
278,
9177,
13449,
29889,
9995,
13,
4706,
21759,
29918,
2917,
353,
2295,
5510,
29889,
17530,
311,
29918,
2917,
29889,
657,
29918,
2917,
877,
617,
29918,
2917,
1495,
13,
4706,
274,
407,
15764,
353,
21759,
29918,
2917,
1839,
25442,
886,
2033,
13,
4706,
274,
4419,
15764,
353,
21759,
29918,
2917,
1839,
29883,
4419,
29918,
25442,
886,
2033,
13,
4706,
274,
15764,
353,
21759,
29918,
2917,
1839,
29883,
29918,
25442,
886,
2033,
13,
13,
4706,
22289,
29918,
8223,
15764,
353,
1583,
3032,
4572,
29918,
449,
29918,
20965,
29918,
15764,
29898,
8223,
15764,
29897,
13,
4706,
22289,
29918,
29883,
4419,
15764,
353,
1583,
3032,
4572,
29918,
449,
29918,
20965,
29918,
15764,
29898,
29883,
4419,
15764,
29892,
525,
29883,
1817,
1495,
13,
4706,
22289,
29918,
29883,
15764,
353,
1583,
3032,
4572,
29918,
449,
29918,
20965,
29918,
15764,
29898,
29883,
15764,
29892,
525,
29883,
1495,
13,
13,
4706,
736,
313,
4572,
287,
29918,
8223,
15764,
29892,
22289,
29918,
29883,
4419,
15764,
29892,
22289,
29918,
29883,
15764,
29897,
13,
2
] |
tests/test_dynamic_growths.py | zerorock1312/lt-maker-master | 0 | 146062 | import random
"""
With 50% growth, 38 level-ups
random level-up variance of 2.5 stats off average
dynamic level-up variance of 0.8 stats off average
With 30% growth, 38 level-ups
random level-up variance of 2.3 stats off average
dynamic level-up variance of 0.7 stats off average
With 10% growth, 38 level-ups
random level-up variance of 1.6 stats off average
dyanmic level-up variance of 0.5 stats off average
With 90% growth, 38 level-ups
random level-up variance of 2.25 stats off average
dynamic level-up variane of 0.7 stats off average
"""
growth = 25
constant = 10.
num_trials = 1000
dynamic_variance = 0
random_variance = 0
ddirectionality = 0
rdirectionality = 0
for _ in range(num_trials):
num_levels = 19
avg_stat = num_levels * (growth / 100.)
growth_points = 0
dynamic_stat = 0
for num in range(num_levels):
start_growth = growth + growth_points
if num_trials == 1:
print(start_growth)
if start_growth <= 0:
growth_points += growth/5.
else:
num_tries = growth // 100
free_levels = num_tries
dynamic_stat += free_levels
new_growth = growth % 100
start_growth = new_growth + growth_points
val = random.randint(0, 99)
if num_trials == 1:
print("Roll: %d" % val)
if val < int(start_growth):
dynamic_stat += 1
growth_points -= (100 - new_growth)/constant
else:
growth_points += new_growth/constant
random_stat = 0
for num in range(num_levels):
start_growth = growth
while start_growth > 0:
val = random.randint(0, 99)
if val < int(start_growth):
random_stat += 1
start_growth -= 100
if num_trials == 1:
print("Average Stat: %f" % avg_stat)
print("Dynamic Stat: %f" % dynamic_stat)
print("Random Stat: %f" % random_stat)
dynamic_variance += abs(dynamic_stat - avg_stat)
ddirectionality += dynamic_stat - avg_stat
random_variance += abs(random_stat - avg_stat)
rdirectionality += random_stat - avg_stat
if abs(dynamic_stat - avg_stat) > 5:
print(dynamic_stat, avg_stat)
print("Dynamic Variance: %f" % (dynamic_variance/num_trials))
print("Random Variance: %f" % (random_variance/num_trials))
print("Dynamic Directionality: %f" % (ddirectionality/num_trials))
print("Random Directionality: %f" % (rdirectionality/num_trials))
| [
1,
1053,
4036,
13,
13,
15945,
29908,
13,
3047,
29871,
29945,
29900,
29995,
14321,
29892,
29871,
29941,
29947,
3233,
29899,
14340,
13,
8172,
3233,
29899,
786,
20162,
310,
29871,
29906,
29889,
29945,
22663,
1283,
6588,
13,
16626,
3233,
29899,
786,
20162,
310,
29871,
29900,
29889,
29947,
22663,
1283,
6588,
13,
3047,
29871,
29941,
29900,
29995,
14321,
29892,
29871,
29941,
29947,
3233,
29899,
14340,
13,
8172,
3233,
29899,
786,
20162,
310,
29871,
29906,
29889,
29941,
22663,
1283,
6588,
13,
16626,
3233,
29899,
786,
20162,
310,
29871,
29900,
29889,
29955,
22663,
1283,
6588,
13,
3047,
29871,
29896,
29900,
29995,
14321,
29892,
29871,
29941,
29947,
3233,
29899,
14340,
13,
8172,
3233,
29899,
786,
20162,
310,
29871,
29896,
29889,
29953,
22663,
1283,
6588,
13,
4518,
273,
13076,
3233,
29899,
786,
20162,
310,
29871,
29900,
29889,
29945,
22663,
1283,
6588,
13,
3047,
29871,
29929,
29900,
29995,
14321,
29892,
29871,
29941,
29947,
3233,
29899,
14340,
13,
8172,
3233,
29899,
786,
20162,
310,
29871,
29906,
29889,
29906,
29945,
22663,
1283,
6588,
13,
16626,
3233,
29899,
786,
722,
16677,
310,
29871,
29900,
29889,
29955,
22663,
1283,
6588,
13,
13,
15945,
29908,
13,
13,
29887,
798,
386,
353,
29871,
29906,
29945,
13,
23362,
353,
29871,
29896,
29900,
29889,
13,
1949,
29918,
3626,
1338,
353,
29871,
29896,
29900,
29900,
29900,
13,
16626,
29918,
1707,
8837,
353,
29871,
29900,
13,
8172,
29918,
1707,
8837,
353,
29871,
29900,
13,
1289,
8684,
2877,
353,
29871,
29900,
13,
5499,
8684,
2877,
353,
29871,
29900,
13,
13,
1454,
903,
297,
3464,
29898,
1949,
29918,
3626,
1338,
1125,
13,
1678,
954,
29918,
5563,
29879,
353,
29871,
29896,
29929,
13,
1678,
1029,
29887,
29918,
6112,
353,
954,
29918,
5563,
29879,
334,
313,
29887,
798,
386,
847,
29871,
29896,
29900,
29900,
1846,
13,
1678,
14321,
29918,
9748,
353,
29871,
29900,
13,
1678,
7343,
29918,
6112,
353,
29871,
29900,
13,
1678,
363,
954,
297,
3464,
29898,
1949,
29918,
5563,
29879,
1125,
13,
4706,
1369,
29918,
29887,
798,
386,
353,
14321,
718,
14321,
29918,
9748,
13,
4706,
565,
954,
29918,
3626,
1338,
1275,
29871,
29896,
29901,
13,
9651,
1596,
29898,
2962,
29918,
29887,
798,
386,
29897,
13,
4706,
565,
1369,
29918,
29887,
798,
386,
5277,
29871,
29900,
29901,
13,
9651,
14321,
29918,
9748,
4619,
14321,
29914,
29945,
29889,
13,
4706,
1683,
29901,
13,
9651,
954,
29918,
29873,
2722,
353,
14321,
849,
29871,
29896,
29900,
29900,
13,
9651,
3889,
29918,
5563,
29879,
353,
954,
29918,
29873,
2722,
13,
9651,
7343,
29918,
6112,
4619,
3889,
29918,
5563,
29879,
13,
9651,
716,
29918,
29887,
798,
386,
353,
14321,
1273,
29871,
29896,
29900,
29900,
13,
9651,
1369,
29918,
29887,
798,
386,
353,
716,
29918,
29887,
798,
386,
718,
14321,
29918,
9748,
13,
9651,
659,
353,
4036,
29889,
9502,
524,
29898,
29900,
29892,
29871,
29929,
29929,
29897,
13,
9651,
565,
954,
29918,
3626,
1338,
1275,
29871,
29896,
29901,
13,
18884,
1596,
703,
29934,
3028,
29901,
1273,
29881,
29908,
1273,
659,
29897,
13,
9651,
565,
659,
529,
938,
29898,
2962,
29918,
29887,
798,
386,
1125,
13,
18884,
7343,
29918,
6112,
4619,
29871,
29896,
13,
18884,
14321,
29918,
9748,
22361,
313,
29896,
29900,
29900,
448,
716,
29918,
29887,
798,
386,
6802,
23362,
13,
9651,
1683,
29901,
13,
18884,
14321,
29918,
9748,
4619,
716,
29918,
29887,
798,
386,
29914,
23362,
13,
13,
1678,
4036,
29918,
6112,
353,
29871,
29900,
13,
1678,
363,
954,
297,
3464,
29898,
1949,
29918,
5563,
29879,
1125,
13,
4706,
1369,
29918,
29887,
798,
386,
353,
14321,
13,
4706,
1550,
1369,
29918,
29887,
798,
386,
1405,
29871,
29900,
29901,
13,
9651,
659,
353,
4036,
29889,
9502,
524,
29898,
29900,
29892,
29871,
29929,
29929,
29897,
13,
9651,
565,
659,
529,
938,
29898,
2962,
29918,
29887,
798,
386,
1125,
13,
18884,
4036,
29918,
6112,
4619,
29871,
29896,
13,
9651,
1369,
29918,
29887,
798,
386,
22361,
29871,
29896,
29900,
29900,
13,
13,
1678,
565,
954,
29918,
3626,
1338,
1275,
29871,
29896,
29901,
13,
4706,
1596,
703,
29909,
19698,
6666,
29901,
1273,
29888,
29908,
1273,
1029,
29887,
29918,
6112,
29897,
13,
4706,
1596,
703,
24001,
6666,
29901,
1273,
29888,
29908,
1273,
7343,
29918,
6112,
29897,
13,
4706,
1596,
703,
17875,
6666,
29901,
1273,
29888,
29908,
1273,
4036,
29918,
6112,
29897,
13,
1678,
7343,
29918,
1707,
8837,
4619,
6425,
29898,
16626,
29918,
6112,
448,
1029,
29887,
29918,
6112,
29897,
13,
1678,
270,
20845,
2877,
4619,
7343,
29918,
6112,
448,
1029,
29887,
29918,
6112,
13,
1678,
4036,
29918,
1707,
8837,
4619,
6425,
29898,
8172,
29918,
6112,
448,
1029,
29887,
29918,
6112,
29897,
13,
1678,
364,
20845,
2877,
4619,
4036,
29918,
6112,
448,
1029,
29887,
29918,
6112,
13,
13,
1678,
565,
6425,
29898,
16626,
29918,
6112,
448,
1029,
29887,
29918,
6112,
29897,
1405,
29871,
29945,
29901,
13,
4706,
1596,
29898,
16626,
29918,
6112,
29892,
1029,
29887,
29918,
6112,
29897,
13,
13,
2158,
703,
24001,
11681,
8837,
29901,
1273,
29888,
29908,
1273,
313,
16626,
29918,
1707,
8837,
29914,
1949,
29918,
3626,
1338,
876,
13,
2158,
703,
17875,
11681,
8837,
29901,
1273,
29888,
29908,
1273,
313,
8172,
29918,
1707,
8837,
29914,
1949,
29918,
3626,
1338,
876,
13,
2158,
703,
24001,
360,
8684,
2877,
29901,
1273,
29888,
29908,
1273,
313,
1289,
8684,
2877,
29914,
1949,
29918,
3626,
1338,
876,
13,
2158,
703,
17875,
360,
8684,
2877,
29901,
1273,
29888,
29908,
1273,
313,
5499,
8684,
2877,
29914,
1949,
29918,
3626,
1338,
876,
13,
2
] |
sug-blog/unit4/account.py | SolangeUG/blog-application | 1 | 101515 | <filename>sug-blog/unit4/account.py
import handler.handler as handler
import util.security as security
import util.validator as validator
from google.appengine.ext import db
class AccountHandler(handler.TemplateHandler):
"""
AccountHandler inherits from the hander.TemplateHandler class.
It gives users the possibility to signup for, or log into, an account.
"""
def get(self):
self.render("accounts.html")
class SignupHandler(handler.TemplateHandler):
"""
SignupHandler inherits from the hander.TemplateHandler class.
It aggregates methods that offer users the possibility to create and persist an account.
"""
def get(self):
self.render("signup.html")
def post(self):
username = self.request.get('username')
password = self.request.get('password')
cfpassword = self.request.get('verify')
user_email = self.request.get('email')
comments = self.request.get('text')
if validator.validate_user(username, password, cfpassword, user_email):
# check if the input username is unique
query = db.Query(Account)
query.filter('username =', username)
known_account = query.get()
if known_account:
# ask the user to choose a different username
username_error = "Username already exists"
self.render("signup.html", username=username, username_error=username_error)
else:
# create and persist an account for the user
hashed_password = security.hash_password(password)
new_account = Account(username=username, password=<PASSWORD>, email=user_email, comments=comments)
key = new_account.put()
self.response.headers['Content-Type'] = 'text/plain'
# set a cookie with the username
user_cookie = security.make_secure_val(username)
self.response.set_cookie('user', str(user_cookie), max_age=3600, path='/')
self.response.set_cookie('account_key', str(key), max_age=360, path='/')
self.redirect('/account_created')
else:
username_error = ""
password_error = ""
cfpassword_error = ""
email_error = ""
if not validator.is_username_valid(username):
username_error = "Invalid username!"
if not validator.is_password_valid(password):
password_error = "Invalid password!"
if not validator.is_cfpassword_valid(password, cfpassword):
cfpassword_error = "Your passwords don't match!"
if not validator.is_email_valid(user_email):
email_error = "Invalid email!"
self.render("signup.html",
username=username,
username_error=username_error,
password_error=password_error,
cfpassword_error=cfpassword_error,
email=user_email,
email_error=email_error,
comments=comments)
class WelcomeHandler(handler.TemplateHandler):
"""
WelcomeHandler inherits from the handler.TemplateHandler class.
Its sole purpose is to confirm user account signup, or redirect
them to the signup page if the input information isn't valid.
"""
def get(self):
user_cookie = self.request.cookies.get('user')
account_key = self.request.cookies.get('account_key')
# retrieve username from cookie
if user_cookie:
username = security.check_secure_val(user_cookie)
# retrieve user account by their username from the datastore
query = db.Query(Account)
query.filter('username =', username)
account = query.get()
# if the above attempt doesn't work, try retrieving by the account key
if not account:
if account_key:
account_key = db.Key(account_key)
account = db.get(account_key)
# make sure we have a valid account before proceeding
if account:
self.render("account.html", username=account.username,
email=account.email, creation_date=account.created, comments=account.comments)
else:
if user_cookie:
# in case the user couldn't be found but a cookie with a username had been set
self.response.unset_cookie('user')
if account_key:
# in case the user couldn't be found but a cookie with an account key had been set
self.response.unset_cookie('account_key')
username_error = "Unknown username: " + username
self.render("login.html", username_error=username_error)
else:
self.redirect('/account_signup')
def post(self):
# when the logout button is clicked, redirect to the logout page
self.redirect('/account_logout')
class LoginHandler(handler.TemplateHandler):
"""
LoginHandler inherits from the handler.TemplateHandler class.
It aggregates methods that let users sign into and view their account information.
"""
def get(self):
self.render("login.html")
def post(self):
username = self.request.get('username')
password = self.request.get('password')
if username and password:
# retrieve user from the datastore
query = db.Query(Account)
query.filter('username =', username)
account = query.get()
if account:
# verify input password
if security.check_password(password, account.password):
self.response.headers['Content-Type'] = 'text/plain'
# set a cookie with the username
user_cookie = security.make_secure_val(account.username)
self.response.set_cookie('user', str(user_cookie), max_age=3600, path='/')
self.redirect("/account_created")
else:
# the input password is not valid
message = "Invalid password!"
self.render("login.html", password_error=message)
else:
# the input username is unknown
message = "Invalid username!"
self.render("login.html", username_error=message)
else:
# no username or password were input
self.render("login.html", username_error="Please input valid usename!",
password_error="<PASSWORD>!")
class LogoutHandler(handler.TemplateHandler):
"""
LoginHandler inherits from the handler.TemplateHandler class.
It allows users to sign out of their accounts.
"""
def get(self):
# clear out any account cookie that might have been set
self.response.headers.add_header('Set-Cookie', 'user=%s; Path=/' % str())
self.response.headers.add_header('Set-Cookie', 'account_key=%s; Path=/' % str())
# all we ever do from here is go back to the general accounts page
self.redirect('/account')
class Account(db.Model):
"""
This class inherits from the GAE db.Model (entity) class, and represents a user account.
A user account is made of the following properties:
- username : the username chosen by the user
- password : the <PASSWORD> of the password chosen by the user
- email : the user's email address
- comments : the user's comments upon account creation
- created : creation date and time of user account
"""
username = db.StringProperty(required=True, indexed=True)
password = db.StringProperty(required=True)
email = db.StringProperty()
comments = db.TextProperty()
created = db.DateTimeProperty(auto_now_add=True)
| [
1,
529,
9507,
29958,
29879,
688,
29899,
7312,
29914,
5441,
29946,
29914,
10149,
29889,
2272,
13,
5215,
7834,
29889,
13789,
408,
7834,
13,
5215,
3667,
29889,
8926,
408,
6993,
13,
5215,
3667,
29889,
3084,
1061,
408,
2854,
1061,
13,
3166,
5386,
29889,
932,
10599,
29889,
1062,
1053,
4833,
13,
13,
13,
1990,
16535,
4598,
29898,
13789,
29889,
6733,
4598,
1125,
13,
1678,
9995,
13,
1678,
16535,
4598,
7846,
1169,
515,
278,
1361,
261,
29889,
6733,
4598,
770,
29889,
13,
1678,
739,
4076,
4160,
278,
13331,
304,
1804,
786,
363,
29892,
470,
1480,
964,
29892,
385,
3633,
29889,
13,
1678,
9995,
13,
1678,
822,
679,
29898,
1311,
1125,
13,
4706,
1583,
29889,
9482,
703,
10149,
29879,
29889,
1420,
1159,
13,
13,
13,
1990,
9954,
786,
4598,
29898,
13789,
29889,
6733,
4598,
1125,
13,
1678,
9995,
13,
1678,
9954,
786,
4598,
7846,
1169,
515,
278,
1361,
261,
29889,
6733,
4598,
770,
29889,
13,
1678,
739,
11404,
1078,
3519,
393,
5957,
4160,
278,
13331,
304,
1653,
322,
24379,
385,
3633,
29889,
13,
1678,
9995,
13,
13,
1678,
822,
679,
29898,
1311,
1125,
13,
4706,
1583,
29889,
9482,
703,
4530,
786,
29889,
1420,
1159,
13,
13,
1678,
822,
1400,
29898,
1311,
1125,
13,
4706,
8952,
353,
1583,
29889,
3827,
29889,
657,
877,
6786,
1495,
13,
4706,
4800,
353,
1583,
29889,
3827,
29889,
657,
877,
5630,
1495,
13,
4706,
274,
29888,
5630,
353,
1583,
29889,
3827,
29889,
657,
877,
27902,
1495,
13,
4706,
1404,
29918,
5269,
353,
1583,
29889,
3827,
29889,
657,
877,
5269,
1495,
13,
4706,
6589,
353,
1583,
29889,
3827,
29889,
657,
877,
726,
1495,
13,
13,
4706,
565,
2854,
1061,
29889,
15480,
29918,
1792,
29898,
6786,
29892,
4800,
29892,
274,
29888,
5630,
29892,
1404,
29918,
5269,
1125,
13,
13,
9651,
396,
1423,
565,
278,
1881,
8952,
338,
5412,
13,
9651,
2346,
353,
4833,
29889,
3010,
29898,
10601,
29897,
13,
9651,
2346,
29889,
4572,
877,
6786,
353,
742,
8952,
29897,
13,
9651,
2998,
29918,
10149,
353,
2346,
29889,
657,
580,
13,
13,
9651,
565,
2998,
29918,
10149,
29901,
13,
18884,
396,
2244,
278,
1404,
304,
6755,
263,
1422,
8952,
13,
18884,
8952,
29918,
2704,
353,
376,
20249,
2307,
4864,
29908,
13,
18884,
1583,
29889,
9482,
703,
4530,
786,
29889,
1420,
613,
8952,
29922,
6786,
29892,
8952,
29918,
2704,
29922,
6786,
29918,
2704,
29897,
13,
9651,
1683,
29901,
13,
18884,
396,
1653,
322,
24379,
385,
3633,
363,
278,
1404,
13,
18884,
6608,
287,
29918,
5630,
353,
6993,
29889,
8568,
29918,
5630,
29898,
5630,
29897,
13,
18884,
716,
29918,
10149,
353,
16535,
29898,
6786,
29922,
6786,
29892,
4800,
29922,
29966,
25711,
17013,
10202,
4876,
29922,
1792,
29918,
5269,
29892,
6589,
29922,
21032,
29897,
13,
18884,
1820,
353,
716,
29918,
10149,
29889,
649,
580,
13,
13,
18884,
1583,
29889,
5327,
29889,
13662,
1839,
3916,
29899,
1542,
2033,
353,
525,
726,
29914,
24595,
29915,
13,
18884,
396,
731,
263,
15327,
411,
278,
8952,
13,
18884,
1404,
29918,
21509,
353,
6993,
29889,
5675,
29918,
24216,
29918,
791,
29898,
6786,
29897,
13,
18884,
1583,
29889,
5327,
29889,
842,
29918,
21509,
877,
1792,
742,
851,
29898,
1792,
29918,
21509,
511,
4236,
29918,
482,
29922,
29941,
29953,
29900,
29900,
29892,
2224,
2433,
29914,
1495,
13,
18884,
1583,
29889,
5327,
29889,
842,
29918,
21509,
877,
10149,
29918,
1989,
742,
851,
29898,
1989,
511,
4236,
29918,
482,
29922,
29941,
29953,
29900,
29892,
2224,
2433,
29914,
1495,
13,
18884,
1583,
29889,
17886,
11219,
10149,
29918,
11600,
1495,
13,
13,
4706,
1683,
29901,
13,
9651,
8952,
29918,
2704,
353,
5124,
13,
9651,
4800,
29918,
2704,
353,
5124,
13,
9651,
274,
29888,
5630,
29918,
2704,
353,
5124,
13,
9651,
4876,
29918,
2704,
353,
5124,
13,
13,
9651,
565,
451,
2854,
1061,
29889,
275,
29918,
6786,
29918,
3084,
29898,
6786,
1125,
13,
18884,
8952,
29918,
2704,
353,
376,
13919,
8952,
3850,
13,
9651,
565,
451,
2854,
1061,
29889,
275,
29918,
5630,
29918,
3084,
29898,
5630,
1125,
13,
18884,
4800,
29918,
2704,
353,
376,
13919,
4800,
3850,
13,
9651,
565,
451,
2854,
1061,
29889,
275,
29918,
6854,
5630,
29918,
3084,
29898,
5630,
29892,
274,
29888,
5630,
1125,
13,
18884,
274,
29888,
5630,
29918,
2704,
353,
376,
10858,
27630,
1016,
29915,
29873,
1993,
3850,
13,
9651,
565,
451,
2854,
1061,
29889,
275,
29918,
5269,
29918,
3084,
29898,
1792,
29918,
5269,
1125,
13,
18884,
4876,
29918,
2704,
353,
376,
13919,
4876,
3850,
13,
9651,
1583,
29889,
9482,
703,
4530,
786,
29889,
1420,
613,
13,
462,
4706,
8952,
29922,
6786,
29892,
13,
462,
4706,
8952,
29918,
2704,
29922,
6786,
29918,
2704,
29892,
13,
462,
4706,
4800,
29918,
2704,
29922,
5630,
29918,
2704,
29892,
13,
462,
4706,
274,
29888,
5630,
29918,
2704,
29922,
6854,
5630,
29918,
2704,
29892,
13,
462,
4706,
4876,
29922,
1792,
29918,
5269,
29892,
13,
462,
4706,
4876,
29918,
2704,
29922,
5269,
29918,
2704,
29892,
13,
462,
4706,
6589,
29922,
21032,
29897,
13,
13,
13,
1990,
21829,
4598,
29898,
13789,
29889,
6733,
4598,
1125,
13,
1678,
9995,
13,
1678,
21829,
4598,
7846,
1169,
515,
278,
7834,
29889,
6733,
4598,
770,
29889,
13,
1678,
8011,
14419,
6437,
338,
304,
9659,
1404,
3633,
1804,
786,
29892,
470,
6684,
13,
1678,
963,
304,
278,
1804,
786,
1813,
565,
278,
1881,
2472,
3508,
29915,
29873,
2854,
29889,
13,
1678,
9995,
13,
1678,
822,
679,
29898,
1311,
1125,
13,
4706,
1404,
29918,
21509,
353,
1583,
29889,
3827,
29889,
15108,
583,
29889,
657,
877,
1792,
1495,
13,
4706,
3633,
29918,
1989,
353,
1583,
29889,
3827,
29889,
15108,
583,
29889,
657,
877,
10149,
29918,
1989,
1495,
13,
13,
4706,
396,
10563,
8952,
515,
15327,
13,
4706,
565,
1404,
29918,
21509,
29901,
13,
9651,
8952,
353,
6993,
29889,
3198,
29918,
24216,
29918,
791,
29898,
1792,
29918,
21509,
29897,
13,
13,
9651,
396,
10563,
1404,
3633,
491,
1009,
8952,
515,
278,
1418,
579,
487,
13,
9651,
2346,
353,
4833,
29889,
3010,
29898,
10601,
29897,
13,
9651,
2346,
29889,
4572,
877,
6786,
353,
742,
8952,
29897,
13,
9651,
3633,
353,
2346,
29889,
657,
580,
13,
13,
9651,
396,
565,
278,
2038,
4218,
1838,
29915,
29873,
664,
29892,
1018,
5663,
15387,
491,
278,
3633,
1820,
13,
9651,
565,
451,
3633,
29901,
13,
18884,
565,
3633,
29918,
1989,
29901,
13,
462,
1678,
3633,
29918,
1989,
353,
4833,
29889,
2558,
29898,
10149,
29918,
1989,
29897,
13,
462,
1678,
3633,
353,
4833,
29889,
657,
29898,
10149,
29918,
1989,
29897,
13,
13,
9651,
396,
1207,
1854,
591,
505,
263,
2854,
3633,
1434,
8469,
292,
13,
9651,
565,
3633,
29901,
13,
18884,
1583,
29889,
9482,
703,
10149,
29889,
1420,
613,
8952,
29922,
10149,
29889,
6786,
29892,
13,
462,
9651,
4876,
29922,
10149,
29889,
5269,
29892,
11265,
29918,
1256,
29922,
10149,
29889,
11600,
29892,
6589,
29922,
10149,
29889,
21032,
29897,
13,
9651,
1683,
29901,
13,
18884,
565,
1404,
29918,
21509,
29901,
13,
462,
1678,
396,
297,
1206,
278,
1404,
8496,
29915,
29873,
367,
1476,
541,
263,
15327,
411,
263,
8952,
750,
1063,
731,
13,
462,
1678,
1583,
29889,
5327,
29889,
348,
842,
29918,
21509,
877,
1792,
1495,
13,
18884,
565,
3633,
29918,
1989,
29901,
13,
462,
1678,
396,
297,
1206,
278,
1404,
8496,
29915,
29873,
367,
1476,
541,
263,
15327,
411,
385,
3633,
1820,
750,
1063,
731,
13,
462,
1678,
1583,
29889,
5327,
29889,
348,
842,
29918,
21509,
877,
10149,
29918,
1989,
1495,
13,
13,
18884,
8952,
29918,
2704,
353,
376,
14148,
8952,
29901,
376,
718,
8952,
13,
18884,
1583,
29889,
9482,
703,
7507,
29889,
1420,
613,
8952,
29918,
2704,
29922,
6786,
29918,
2704,
29897,
13,
4706,
1683,
29901,
13,
9651,
1583,
29889,
17886,
11219,
10149,
29918,
4530,
786,
1495,
13,
13,
1678,
822,
1400,
29898,
1311,
1125,
13,
4706,
396,
746,
278,
1480,
449,
2826,
338,
11484,
29892,
6684,
304,
278,
1480,
449,
1813,
13,
4706,
1583,
29889,
17886,
11219,
10149,
29918,
1188,
449,
1495,
13,
13,
13,
1990,
19130,
4598,
29898,
13789,
29889,
6733,
4598,
1125,
13,
1678,
9995,
13,
1678,
19130,
4598,
7846,
1169,
515,
278,
7834,
29889,
6733,
4598,
770,
29889,
13,
1678,
739,
11404,
1078,
3519,
393,
1235,
4160,
1804,
964,
322,
1776,
1009,
3633,
2472,
29889,
13,
1678,
9995,
13,
1678,
822,
679,
29898,
1311,
1125,
13,
4706,
1583,
29889,
9482,
703,
7507,
29889,
1420,
1159,
13,
13,
1678,
822,
1400,
29898,
1311,
1125,
13,
4706,
8952,
353,
1583,
29889,
3827,
29889,
657,
877,
6786,
1495,
13,
4706,
4800,
353,
1583,
29889,
3827,
29889,
657,
877,
5630,
1495,
13,
13,
4706,
565,
8952,
322,
4800,
29901,
13,
9651,
396,
10563,
1404,
515,
278,
1418,
579,
487,
13,
9651,
2346,
353,
4833,
29889,
3010,
29898,
10601,
29897,
13,
9651,
2346,
29889,
4572,
877,
6786,
353,
742,
8952,
29897,
13,
9651,
3633,
353,
2346,
29889,
657,
580,
13,
13,
9651,
565,
3633,
29901,
13,
18884,
396,
11539,
1881,
4800,
13,
18884,
565,
6993,
29889,
3198,
29918,
5630,
29898,
5630,
29892,
3633,
29889,
5630,
1125,
13,
462,
1678,
1583,
29889,
5327,
29889,
13662,
1839,
3916,
29899,
1542,
2033,
353,
525,
726,
29914,
24595,
29915,
13,
13,
462,
1678,
396,
731,
263,
15327,
411,
278,
8952,
13,
462,
1678,
1404,
29918,
21509,
353,
6993,
29889,
5675,
29918,
24216,
29918,
791,
29898,
10149,
29889,
6786,
29897,
13,
462,
1678,
1583,
29889,
5327,
29889,
842,
29918,
21509,
877,
1792,
742,
851,
29898,
1792,
29918,
21509,
511,
4236,
29918,
482,
29922,
29941,
29953,
29900,
29900,
29892,
2224,
2433,
29914,
1495,
13,
462,
1678,
1583,
29889,
17886,
11974,
10149,
29918,
11600,
1159,
13,
18884,
1683,
29901,
13,
462,
1678,
396,
278,
1881,
4800,
338,
451,
2854,
13,
462,
1678,
2643,
353,
376,
13919,
4800,
3850,
13,
462,
1678,
1583,
29889,
9482,
703,
7507,
29889,
1420,
613,
4800,
29918,
2704,
29922,
4906,
29897,
13,
9651,
1683,
29901,
13,
18884,
396,
278,
1881,
8952,
338,
9815,
13,
18884,
2643,
353,
376,
13919,
8952,
3850,
13,
18884,
1583,
29889,
9482,
703,
7507,
29889,
1420,
613,
8952,
29918,
2704,
29922,
4906,
29897,
13,
4706,
1683,
29901,
13,
9651,
396,
694,
8952,
470,
4800,
892,
1881,
13,
9651,
1583,
29889,
9482,
703,
7507,
29889,
1420,
613,
8952,
29918,
2704,
543,
12148,
1881,
2854,
502,
3871,
29991,
613,
13,
462,
4706,
4800,
29918,
2704,
543,
29966,
25711,
17013,
29958,
29991,
1159,
13,
13,
13,
1990,
4522,
449,
4598,
29898,
13789,
29889,
6733,
4598,
1125,
13,
1678,
9995,
13,
1678,
19130,
4598,
7846,
1169,
515,
278,
7834,
29889,
6733,
4598,
770,
29889,
13,
1678,
739,
6511,
4160,
304,
1804,
714,
310,
1009,
15303,
29889,
13,
1678,
9995,
13,
1678,
822,
679,
29898,
1311,
1125,
13,
4706,
396,
2821,
714,
738,
3633,
15327,
393,
1795,
505,
1063,
731,
13,
4706,
1583,
29889,
5327,
29889,
13662,
29889,
1202,
29918,
6672,
877,
2697,
29899,
24914,
742,
525,
1792,
16328,
29879,
29936,
10802,
14327,
29915,
1273,
851,
3101,
13,
4706,
1583,
29889,
5327,
29889,
13662,
29889,
1202,
29918,
6672,
877,
2697,
29899,
24914,
742,
525,
10149,
29918,
1989,
16328,
29879,
29936,
10802,
14327,
29915,
1273,
851,
3101,
13,
4706,
396,
599,
591,
3926,
437,
515,
1244,
338,
748,
1250,
304,
278,
2498,
15303,
1813,
13,
4706,
1583,
29889,
17886,
11219,
10149,
1495,
13,
13,
13,
1990,
16535,
29898,
2585,
29889,
3195,
1125,
13,
1678,
9995,
13,
1678,
910,
770,
7846,
1169,
515,
278,
402,
16036,
4833,
29889,
3195,
313,
10041,
29897,
770,
29892,
322,
11524,
263,
1404,
3633,
29889,
13,
1678,
319,
1404,
3633,
338,
1754,
310,
278,
1494,
4426,
29901,
13,
4706,
448,
8952,
584,
278,
8952,
10434,
491,
278,
1404,
13,
4706,
448,
4800,
584,
278,
529,
25711,
17013,
29958,
310,
278,
4800,
10434,
491,
278,
1404,
13,
4706,
448,
4876,
584,
278,
1404,
29915,
29879,
4876,
3211,
13,
4706,
448,
6589,
584,
278,
1404,
29915,
29879,
6589,
2501,
3633,
11265,
13,
4706,
448,
2825,
584,
11265,
2635,
322,
931,
310,
1404,
3633,
13,
1678,
9995,
13,
1678,
8952,
353,
4833,
29889,
1231,
4854,
29898,
12403,
29922,
5574,
29892,
27541,
29922,
5574,
29897,
13,
1678,
4800,
353,
4833,
29889,
1231,
4854,
29898,
12403,
29922,
5574,
29897,
13,
1678,
4876,
353,
4833,
29889,
1231,
4854,
580,
13,
1678,
6589,
353,
4833,
29889,
1626,
4854,
580,
13,
1678,
2825,
353,
4833,
29889,
11384,
4854,
29898,
6921,
29918,
3707,
29918,
1202,
29922,
5574,
29897,
13,
2
] |
tst/test_features_extraction.py | mitchellkrogza/Malicious-Web-Content-Detection-Using-Machine-Learning | 0 | 67966 | <gh_stars>0
# This file will test all the functionality of features_extraction.py
import unittest
from features_extraction import *
class TestFeaturesExtraction(unittest.TestCase):
def test_having_ip_address(self):
ipv4_address = "172.16.31.10"
ipv6_address_1 = "fe80:0:0:0:204:61ff:fe9d:f156"
ipv6_address_2 = "fe80::204:61ff:fe9d:f156"
ipv6_address_3 = "fe80:0000:0000:0000:0204:61ff:fe9d:f156"
ipv6_address_4 = "fe80:0:0:0:0204:61ff:254.157.241.86"
url_1 = "www.google.com"
url_2 = "888.com"
# IP address cases
self.assertEqual(having_ip_address(ipv4_address), -1, "Given input URL has an IP address.")
self.assertEqual(having_ip_address(ipv6_address_1), -1, "Given input URL has an IP address.")
self.assertEqual(having_ip_address(ipv6_address_2), -1, "Given input URL has an IP address.")
self.assertEqual(having_ip_address(ipv6_address_3), -1, "Given input URL has an IP address.")
self.assertEqual(having_ip_address(ipv6_address_4), -1, "Given input URL has an IP address.")
# Non IP address cases
self.assertEqual(having_ip_address(url_1), 1, "Given input URL does not have an IP address.")
self.assertEqual(having_ip_address(url_2), 1, "Given input URL does not have an IP address.")
def test_shortening_services(self):
url_1 = "bit.ly/akhd9a9"
url_2 = "http://goo.gl/shan78a"
url_3 = "https://github.com/philomathic-guy"
# Shortening services links
self.assertEqual(shortening_service(url_1), -1, "Given input URL is a shortening service URL.")
self.assertEqual(shortening_service(url_2), -1, "Given input URL is a shortening service URL.")
# Non-shortening services links
self.assertEqual(shortening_service(url_3), 1, "Given input URL is a non-shortening service URL.")
def test_url_length(self):
# Short URL.
url_1 = "https://docs.python.org/2/library/re.html"
self.assertEqual(url_length(url_1), 1, "The URL length is not suspicious.")
# Long URL
url_2 = "https://myfunds.000webhostapp.com/new_now/8f66d5a47bf3ec8e6c1ag6s3dc770001a4bd/"
self.assertEqual(url_length(url_1), -1, "The URL length is suspicious.")
if __name__ == "__main__":
unittest.main()
| [
1,
529,
12443,
29918,
303,
1503,
29958,
29900,
13,
29937,
910,
934,
674,
1243,
599,
278,
9863,
310,
5680,
29918,
1062,
13857,
29889,
2272,
13,
13,
5215,
443,
27958,
13,
3166,
5680,
29918,
1062,
13857,
1053,
334,
13,
13,
13,
1990,
4321,
8263,
3698,
5647,
13857,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
1678,
822,
1243,
29918,
29882,
5555,
29918,
666,
29918,
7328,
29898,
1311,
1125,
13,
4706,
10377,
29894,
29946,
29918,
7328,
353,
376,
29896,
29955,
29906,
29889,
29896,
29953,
29889,
29941,
29896,
29889,
29896,
29900,
29908,
13,
4706,
10377,
29894,
29953,
29918,
7328,
29918,
29896,
353,
376,
1725,
29947,
29900,
29901,
29900,
29901,
29900,
29901,
29900,
29901,
29906,
29900,
29946,
29901,
29953,
29896,
600,
29901,
1725,
29929,
29881,
29901,
29888,
29896,
29945,
29953,
29908,
13,
4706,
10377,
29894,
29953,
29918,
7328,
29918,
29906,
353,
376,
1725,
29947,
29900,
1057,
29906,
29900,
29946,
29901,
29953,
29896,
600,
29901,
1725,
29929,
29881,
29901,
29888,
29896,
29945,
29953,
29908,
13,
4706,
10377,
29894,
29953,
29918,
7328,
29918,
29941,
353,
376,
1725,
29947,
29900,
29901,
29900,
29900,
29900,
29900,
29901,
29900,
29900,
29900,
29900,
29901,
29900,
29900,
29900,
29900,
29901,
29900,
29906,
29900,
29946,
29901,
29953,
29896,
600,
29901,
1725,
29929,
29881,
29901,
29888,
29896,
29945,
29953,
29908,
13,
4706,
10377,
29894,
29953,
29918,
7328,
29918,
29946,
353,
376,
1725,
29947,
29900,
29901,
29900,
29901,
29900,
29901,
29900,
29901,
29900,
29906,
29900,
29946,
29901,
29953,
29896,
600,
29901,
29906,
29945,
29946,
29889,
29896,
29945,
29955,
29889,
29906,
29946,
29896,
29889,
29947,
29953,
29908,
13,
4706,
3142,
29918,
29896,
353,
376,
1636,
29889,
3608,
29889,
510,
29908,
13,
4706,
3142,
29918,
29906,
353,
376,
29947,
29947,
29947,
29889,
510,
29908,
13,
13,
4706,
396,
5641,
3211,
4251,
13,
4706,
1583,
29889,
9294,
9843,
29898,
29882,
5555,
29918,
666,
29918,
7328,
29898,
666,
29894,
29946,
29918,
7328,
511,
448,
29896,
29892,
376,
29954,
5428,
1881,
3988,
756,
385,
5641,
3211,
23157,
13,
4706,
1583,
29889,
9294,
9843,
29898,
29882,
5555,
29918,
666,
29918,
7328,
29898,
666,
29894,
29953,
29918,
7328,
29918,
29896,
511,
448,
29896,
29892,
376,
29954,
5428,
1881,
3988,
756,
385,
5641,
3211,
23157,
13,
4706,
1583,
29889,
9294,
9843,
29898,
29882,
5555,
29918,
666,
29918,
7328,
29898,
666,
29894,
29953,
29918,
7328,
29918,
29906,
511,
448,
29896,
29892,
376,
29954,
5428,
1881,
3988,
756,
385,
5641,
3211,
23157,
13,
4706,
1583,
29889,
9294,
9843,
29898,
29882,
5555,
29918,
666,
29918,
7328,
29898,
666,
29894,
29953,
29918,
7328,
29918,
29941,
511,
448,
29896,
29892,
376,
29954,
5428,
1881,
3988,
756,
385,
5641,
3211,
23157,
13,
4706,
1583,
29889,
9294,
9843,
29898,
29882,
5555,
29918,
666,
29918,
7328,
29898,
666,
29894,
29953,
29918,
7328,
29918,
29946,
511,
448,
29896,
29892,
376,
29954,
5428,
1881,
3988,
756,
385,
5641,
3211,
23157,
13,
13,
4706,
396,
10050,
5641,
3211,
4251,
13,
4706,
1583,
29889,
9294,
9843,
29898,
29882,
5555,
29918,
666,
29918,
7328,
29898,
2271,
29918,
29896,
511,
29871,
29896,
29892,
376,
29954,
5428,
1881,
3988,
947,
451,
505,
385,
5641,
3211,
23157,
13,
4706,
1583,
29889,
9294,
9843,
29898,
29882,
5555,
29918,
666,
29918,
7328,
29898,
2271,
29918,
29906,
511,
29871,
29896,
29892,
376,
29954,
5428,
1881,
3988,
947,
451,
505,
385,
5641,
3211,
23157,
13,
13,
1678,
822,
1243,
29918,
12759,
8333,
29918,
9916,
29898,
1311,
1125,
13,
4706,
3142,
29918,
29896,
353,
376,
2966,
29889,
368,
29914,
557,
16440,
29929,
29874,
29929,
29908,
13,
4706,
3142,
29918,
29906,
353,
376,
1124,
597,
1484,
29877,
29889,
3820,
29914,
845,
273,
29955,
29947,
29874,
29908,
13,
4706,
3142,
29918,
29941,
353,
376,
991,
597,
3292,
29889,
510,
29914,
561,
309,
290,
493,
293,
29899,
2543,
29891,
29908,
13,
13,
4706,
396,
13899,
8333,
5786,
2988,
13,
4706,
1583,
29889,
9294,
9843,
29898,
12759,
8333,
29918,
5509,
29898,
2271,
29918,
29896,
511,
448,
29896,
29892,
376,
29954,
5428,
1881,
3988,
338,
263,
3273,
8333,
2669,
3988,
23157,
13,
4706,
1583,
29889,
9294,
9843,
29898,
12759,
8333,
29918,
5509,
29898,
2271,
29918,
29906,
511,
448,
29896,
29892,
376,
29954,
5428,
1881,
3988,
338,
263,
3273,
8333,
2669,
3988,
23157,
13,
13,
4706,
396,
10050,
29899,
12759,
8333,
5786,
2988,
13,
4706,
1583,
29889,
9294,
9843,
29898,
12759,
8333,
29918,
5509,
29898,
2271,
29918,
29941,
511,
29871,
29896,
29892,
376,
29954,
5428,
1881,
3988,
338,
263,
1661,
29899,
12759,
8333,
2669,
3988,
23157,
13,
13,
1678,
822,
1243,
29918,
2271,
29918,
2848,
29898,
1311,
1125,
13,
4706,
396,
13899,
3988,
29889,
13,
4706,
3142,
29918,
29896,
353,
376,
991,
597,
2640,
29889,
4691,
29889,
990,
29914,
29906,
29914,
5258,
29914,
276,
29889,
1420,
29908,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2271,
29918,
2848,
29898,
2271,
29918,
29896,
511,
29871,
29896,
29892,
376,
1576,
3988,
3309,
338,
451,
8872,
14803,
23157,
13,
13,
4706,
396,
6242,
3988,
13,
4706,
3142,
29918,
29906,
353,
376,
991,
597,
1357,
27159,
29879,
29889,
29900,
29900,
29900,
2676,
3069,
932,
29889,
510,
29914,
1482,
29918,
3707,
29914,
29947,
29888,
29953,
29953,
29881,
29945,
29874,
29946,
29955,
1635,
29941,
687,
29947,
29872,
29953,
29883,
29896,
351,
29953,
29879,
29941,
13891,
29955,
29955,
29900,
29900,
29900,
29896,
29874,
29946,
6448,
12975,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2271,
29918,
2848,
29898,
2271,
29918,
29896,
511,
448,
29896,
29892,
376,
1576,
3988,
3309,
338,
8872,
14803,
23157,
13,
13,
13,
361,
4770,
978,
1649,
1275,
376,
1649,
3396,
1649,
1115,
13,
1678,
443,
27958,
29889,
3396,
580,
13,
2
] |
examples/producer_consumer.py | ctismer/goless | 1 | 133829 | <gh_stars>1-10
"""
This file demonstrates a simple producer/consumer setup.
The produce goroutine generates some data and sends on a channel,
and the consume goroutine receives on the channel and processes
the data.
This is one of the simplest models of concurrent programming
and very easy with goless.
Code modeled on http://www.golangpatterns.info/concurrency/producer-consumer.
"""
import sys
import goless
def main():
done = goless.chan()
msgs = goless.chan()
out = goless.chan()
def produce():
for i in xrange(10):
msgs.send(i)
done.send()
def consume(name):
for msg in msgs:
out.send('%s:%s ' % (name,msg))
def logger():
for msg in out:
sys.stdout.write(msg)
sys.stdout.write('\n')
goless.go(produce)
goless.go(consume, "one")
goless.go(consume, "two")
goless.go(logger)
done.recv()
if __name__ == '__main__':
main()
| [
1,
529,
12443,
29918,
303,
1503,
29958,
29896,
29899,
29896,
29900,
13,
15945,
29908,
13,
4013,
934,
9004,
1078,
263,
2560,
14297,
29914,
25978,
261,
6230,
29889,
13,
1576,
7738,
330,
272,
449,
457,
16785,
777,
848,
322,
16003,
373,
263,
8242,
29892,
13,
392,
278,
29151,
330,
272,
449,
457,
20586,
373,
278,
8242,
322,
10174,
13,
1552,
848,
29889,
13,
13,
4013,
338,
697,
310,
278,
20393,
4733,
310,
21984,
8720,
13,
392,
1407,
4780,
411,
15192,
404,
29889,
13,
13,
3399,
4464,
839,
373,
1732,
597,
1636,
29889,
29887,
324,
574,
11037,
29879,
29889,
3888,
29914,
535,
26095,
29914,
5498,
2265,
29899,
25978,
261,
29889,
13,
15945,
29908,
13,
5215,
10876,
13,
13,
5215,
15192,
404,
13,
13,
13,
1753,
1667,
7295,
13,
1678,
2309,
353,
15192,
404,
29889,
5083,
580,
13,
1678,
10887,
3174,
353,
15192,
404,
29889,
5083,
580,
13,
1678,
714,
29871,
353,
15192,
404,
29889,
5083,
580,
13,
13,
1678,
822,
7738,
7295,
13,
4706,
363,
474,
297,
921,
3881,
29898,
29896,
29900,
1125,
13,
9651,
10887,
3174,
29889,
6717,
29898,
29875,
29897,
13,
4706,
2309,
29889,
6717,
580,
13,
13,
1678,
822,
29151,
29898,
978,
1125,
13,
4706,
363,
10191,
297,
10887,
3174,
29901,
13,
9651,
714,
29889,
6717,
877,
29995,
29879,
16664,
29879,
525,
1273,
313,
978,
29892,
7645,
876,
13,
13,
1678,
822,
17927,
7295,
13,
4706,
363,
10191,
297,
714,
29901,
13,
9651,
10876,
29889,
25393,
29889,
3539,
29898,
7645,
29897,
13,
4706,
10876,
29889,
25393,
29889,
3539,
28909,
29876,
1495,
13,
13,
1678,
15192,
404,
29889,
1484,
29898,
5498,
346,
29897,
13,
1678,
15192,
404,
29889,
1484,
29898,
3200,
2017,
29892,
376,
650,
1159,
13,
1678,
15192,
404,
29889,
1484,
29898,
3200,
2017,
29892,
376,
10184,
1159,
13,
1678,
15192,
404,
29889,
1484,
29898,
21707,
29897,
13,
1678,
2309,
29889,
3757,
29894,
580,
13,
13,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
1678,
1667,
580,
13,
2
] |
server.py | BoziDaniel/textAdv | 0 | 1607255 | <gh_stars>0
from flask import Flask, render_template, url_for
app = Flask(__name__)
@app.route('/')
@app.route('/main_menu')
def route_main():
return render_template("main.html")
@app.route('/game')
def route_play_game():
return render_template('game.html')
if __name__ == '__main__':
app.run(
port=5000,
debug=True,
)
| [
1,
529,
12443,
29918,
303,
1503,
29958,
29900,
13,
3166,
29784,
1053,
2379,
1278,
29892,
4050,
29918,
6886,
29892,
3142,
29918,
1454,
13,
13,
932,
353,
2379,
1278,
22168,
978,
1649,
29897,
13,
13,
29992,
932,
29889,
13134,
11219,
1495,
13,
29992,
932,
29889,
13134,
11219,
3396,
29918,
6510,
1495,
13,
1753,
5782,
29918,
3396,
7295,
13,
1678,
736,
4050,
29918,
6886,
703,
3396,
29889,
1420,
1159,
13,
13,
13,
29992,
932,
29889,
13134,
11219,
11802,
1495,
13,
1753,
5782,
29918,
1456,
29918,
11802,
7295,
13,
1678,
736,
4050,
29918,
6886,
877,
11802,
29889,
1420,
1495,
13,
13,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
1678,
623,
29889,
3389,
29898,
13,
4706,
2011,
29922,
29945,
29900,
29900,
29900,
29892,
13,
4706,
4744,
29922,
5574,
29892,
13,
1678,
1723,
13,
2
] |
src/genie/libs/parser/iosxr/tests/ShowIpInterfaceBrief/cli/equal/golden_output4_expected.py | balmasea/genieparser | 204 | 188709 | <gh_stars>100-1000
expected_output = {
"interface": {
"Loopback0": {
"interface_status": "Up",
"ip_address": "192.168.3.11",
"protocol_status": "Up"
},
"MgmtEth0/RSP0/CPU0/0": {
"interface_status": "Up",
"ip_address": "172.16.17.32",
"protocol_status": "Up"
},
"MgmtEth0/RSP0/CPU0/1": {
"interface_status": "Shutdown",
"ip_address": "unassigned",
"protocol_status": "Down"
},
"MgmtEth0/RSP1/CPU0/0": {
"interface_status": "Up",
"ip_address": "172.16.58.3",
"protocol_status": "Up"
},
"MgmtEth0/RSP1/CPU0/1": {
"interface_status": "Shutdown",
"ip_address": "unassigned",
"protocol_status": "Down"
}
}
}
| [
1,
529,
12443,
29918,
303,
1503,
29958,
29896,
29900,
29900,
29899,
29896,
29900,
29900,
29900,
13,
9684,
29918,
4905,
353,
426,
13,
1678,
376,
13248,
1115,
426,
13,
4706,
376,
18405,
1627,
29900,
1115,
426,
13,
9651,
376,
13248,
29918,
4882,
1115,
376,
3373,
613,
13,
9651,
376,
666,
29918,
7328,
1115,
376,
29896,
29929,
29906,
29889,
29896,
29953,
29947,
29889,
29941,
29889,
29896,
29896,
613,
13,
9651,
376,
20464,
29918,
4882,
1115,
376,
3373,
29908,
13,
4706,
2981,
13,
4706,
376,
29924,
29887,
4378,
29923,
386,
29900,
29914,
29934,
5550,
29900,
29914,
6271,
29965,
29900,
29914,
29900,
1115,
426,
13,
9651,
376,
13248,
29918,
4882,
1115,
376,
3373,
613,
13,
9651,
376,
666,
29918,
7328,
1115,
376,
29896,
29955,
29906,
29889,
29896,
29953,
29889,
29896,
29955,
29889,
29941,
29906,
613,
13,
9651,
376,
20464,
29918,
4882,
1115,
376,
3373,
29908,
13,
4706,
2981,
13,
4706,
376,
29924,
29887,
4378,
29923,
386,
29900,
29914,
29934,
5550,
29900,
29914,
6271,
29965,
29900,
29914,
29896,
1115,
426,
13,
9651,
376,
13248,
29918,
4882,
1115,
376,
2713,
329,
3204,
613,
13,
9651,
376,
666,
29918,
7328,
1115,
376,
348,
465,
12961,
613,
13,
9651,
376,
20464,
29918,
4882,
1115,
376,
6767,
29908,
13,
4706,
2981,
13,
4706,
376,
29924,
29887,
4378,
29923,
386,
29900,
29914,
29934,
5550,
29896,
29914,
6271,
29965,
29900,
29914,
29900,
1115,
426,
13,
9651,
376,
13248,
29918,
4882,
1115,
376,
3373,
613,
13,
9651,
376,
666,
29918,
7328,
1115,
376,
29896,
29955,
29906,
29889,
29896,
29953,
29889,
29945,
29947,
29889,
29941,
613,
13,
9651,
376,
20464,
29918,
4882,
1115,
376,
3373,
29908,
13,
4706,
2981,
13,
4706,
376,
29924,
29887,
4378,
29923,
386,
29900,
29914,
29934,
5550,
29896,
29914,
6271,
29965,
29900,
29914,
29896,
1115,
426,
13,
9651,
376,
13248,
29918,
4882,
1115,
376,
2713,
329,
3204,
613,
13,
9651,
376,
666,
29918,
7328,
1115,
376,
348,
465,
12961,
613,
13,
9651,
376,
20464,
29918,
4882,
1115,
376,
6767,
29908,
13,
4706,
500,
13,
1678,
500,
13,
29913,
13,
2
] |
NN_autograd_bias.py | JaPhi/NN_autograd_bias | 1 | 125676 | import autograd.numpy as np
from matplotlib import pyplot, cm
from mpl_toolkits.mplot3d import axes3d
import matplotlib.pyplot as plt
from numba import njit, prange
import numba
import time
from autograd import grad, elementwise_grad, jacobian
def feed_forward(X, Y, W0, W1, W2, W3, W4, return_loss=True):
''' simple 4-layer feed forward neural net. Gradients are caluclated with
the autograd package that performs automatic differentiation.
Layers are hardcoded but can easily be modified.
Parameters
----------
X : is a 2-D array with shape (m, n) where m is the number of input variables
and n the number of dimensions. Here for a 2-D problem we have n = 2 + 1
because of the bias. Last row of the input array has to be all "1".
Y : Target vector with shape (m, n) where m is the number of corresponding
output values and n is only one)
W0...W4 : pre-created weight arrays. Used dimensions need to allow for matrix multiplications
return_loss : flag to switch between the loss and the actual result
Returns
-------
loss: l2 error metric loss
l5 : value of the very last layer for evaluation
'''
def ReLU(x, deriv=False):
if(deriv == True):
return 1 * (x > 0)
return x * (x > 0)
def lin(x, deriv=False):
if(deriv == True):
return 1
return x
def sigmoid(x, deriv=False):
if(deriv == True):
return x*(1-x)
return 1/(1+np.exp(-x))
def leakyReLU(x, deriv=False):
if(deriv == True):
return np.where(x > 0, 1, 0.01)
return x * (x > 0) + 0.01 * x * (x < 0)
l0 = X
l1 = ReLU(np.dot(l0, W0))
l2 = ReLU(np.dot(l1, W1))
l3 = ReLU(np.dot(l2, W2))
l4 = ReLU(np.dot(l3, W3))
l5 = lin(np.dot(l4, W4))
if return_loss == True:
loss = (Y-l5)**2 # simple quadratic loss
return loss
else:
return l5
# define input array
X = np.array([[-1, -1], [1, -1], [1, 1], [-1, 1], [0.5, 0.5],
[0.5, -0.5], [-0.5, 0.5], [-0.5, -0.5], [0, 0], [0, 0]])
X = np.hstack((X, np.ones((np.shape(X)[0], 1)))) # add bias
# define output array
Y = np.array([[0.3], [0.3], [0.5], [0.6], [0.5],
[0.5], [0.5], [0.7], [0.8], [0.85]])
# create weight arrays with random initialization. Zero centered
W0 = (2*np.random.random((2+1, 128)) - 1)*0.2
W1 = (2*np.random.random((128, 64)) - 1)*0.2
W2 = (2*np.random.random((64, 32)) - 1)*0.2
W3 = (2*np.random.random((32, 16)) - 1)*0.2
W4 = (2*np.random.random((16, 1)) - 1)*0.2
# optimizers like adam and rmp-prob need more array space to save values
W0_momentum = np.zeros_like(W0)
W1_momentum = np.zeros_like(W1)
W2_momentum = np.zeros_like(W2)
W3_momentum = np.zeros_like(W3)
W4_momentum = np.zeros_like(W4)
W0_history = np.zeros_like(W0)
W1_history = np.zeros_like(W1)
W2_history = np.zeros_like(W2)
W3_history = np.zeros_like(W3)
W4_history = np.zeros_like(W4)
# set up figure for 3-D plot
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
# start main iteration loop
wframe = None
for i in range(0, 10000):
print("Iteration {}".format(i))
if wframe:
ax.collections.remove(wframe)
ax.collections.remove(scatter)
a = 0.001
eps = 1*10**-8
beta1 = 0.9
beta2 = 0.95
optimizer = "adam"
W0_grad = elementwise_grad(feed_forward, 2)(X, Y, W0, W1, W2, W3, W4)
W1_grad = elementwise_grad(feed_forward, 3)(X, Y, W0, W1, W2, W3, W4)
W2_grad = elementwise_grad(feed_forward, 4)(X, Y, W0, W1, W2, W3, W4)
W3_grad = elementwise_grad(feed_forward, 5)(X, Y, W0, W1, W2, W3, W4)
W4_grad = elementwise_grad(feed_forward, 6)(X, Y, W0, W1, W2, W3, W4)
if optimizer == "rmsprop":
W0_history = W0_history * beta1 + (1 - beta1) * W0_grad**2
W1_history = W1_history * beta1 + (1 - beta1) * W1_grad**2
W2_history = W2_history * beta1 + (1 - beta1) * W2_grad**2
W3_history = W3_history * beta1 + (1 - beta1) * W3_grad**2
W0 = W0 - (a/np.sqrt(W0_history + eps)) * W0_grad
W1 = W1 - (a/np.sqrt(W1_history + eps)) * W1_grad
W2 = W2 - (a/np.sqrt(W2_history + eps)) * W2_grad
W3 = W3 - (a/np.sqrt(W3_history + eps)) * W3_grad
if optimizer == "adam":
W0_momentum = beta1 * W0_momentum + (1 - beta1) * W0_grad
W1_momentum = beta1 * W1_momentum + (1 - beta1) * W1_grad
W2_momentum = beta1 * W2_momentum + (1 - beta1) * W2_grad
W3_momentum = beta1 * W3_momentum + (1 - beta1) * W3_grad
W4_momentum = beta1 * W4_momentum + (1 - beta1) * W4_grad
W0_history = W0_history * beta2 + (1 - beta2) * W0_grad**2
W1_history = W1_history * beta2 + (1 - beta2) * W1_grad**2
W2_history = W2_history * beta2 + (1 - beta2) * W2_grad**2
W3_history = W3_history * beta2 + (1 - beta2) * W3_grad**2
W4_history = W4_history * beta2 + (1 - beta2) * W4_grad**2
W0 = W0 - (a / np.sqrt(W0_history + eps)) * W0_momentum
W1 = W1 - (a / np.sqrt(W1_history + eps)) * W1_momentum
W2 = W2 - (a / np.sqrt(W2_history + eps)) * W2_momentum
W3 = W3 - (a / np.sqrt(W3_history + eps)) * W3_momentum
W4 = W4 - (a / np.sqrt(W4_history + eps)) * W4_momentum
if optimizer == "sgd":
W0 = W0 - a * W0_grad
W1 = W1 - a * W1_grad
W2 = W2 - a * W2_grad
W3 = W3 - a * W3_grad
# set up mesh grid
xs = np.linspace(-1, 1, 40)
ys = np.linspace(-1, 1, 40)
Xs, Ys = np.meshgrid(xs, ys)
# convert grid to neural net input dimensions
Xnet = np.hstack((Xs.reshape((40*40, 1)), Ys.reshape((40*40, 1))))
Xnet = np.hstack((Xnet, np.ones((np.shape(Xnet)[0], 1)))) # add bias
# evaluate net for current results. Return shape to grid-like structure
Znet = feed_forward(Xnet, Y, W0, W1, W2, W3, W4, return_loss=False)
Znet = Znet.reshape((40, 40))
# plot results
ax.set_xlabel('$X$')
ax.set_ylabel('$Y$')
ax.set_zlabel('$Z$')
ax.set_zlim3d(0, 1)
wframe = ax.plot_surface(Xs, Ys, Znet, cmap="CMRmap")
scatter = ax.scatter(X[:, 0], X[:, 1], Y, c="b", marker="o")
plt.pause(.00001)
| [
1,
1053,
1120,
468,
3665,
29889,
23749,
408,
7442,
30004,
13,
3166,
22889,
1053,
11451,
5317,
29892,
7477,
30004,
13,
3166,
286,
572,
29918,
10154,
29895,
1169,
29889,
29885,
5317,
29941,
29881,
1053,
27815,
29941,
29881,
30004,
13,
5215,
22889,
29889,
2272,
5317,
408,
14770,
30004,
13,
3166,
954,
2291,
1053,
20199,
277,
29892,
544,
927,
30004,
13,
5215,
954,
2291,
30004,
13,
5215,
931,
30004,
13,
3166,
1120,
468,
3665,
1053,
4656,
29892,
1543,
3538,
29918,
5105,
29892,
432,
562,
711,
713,
30004,
13,
30004,
13,
30004,
13,
1753,
8343,
29918,
11333,
29898,
29990,
29892,
612,
29892,
399,
29900,
29892,
399,
29896,
29892,
399,
29906,
29892,
399,
29941,
29892,
399,
29946,
29892,
736,
29918,
6758,
29922,
5574,
1125,
30004,
13,
1678,
14550,
2560,
29871,
29946,
29899,
13148,
8343,
6375,
19677,
7787,
29889,
19295,
10070,
526,
1208,
29884,
695,
630,
411,
30004,
13,
1678,
278,
1120,
468,
3665,
3577,
393,
23233,
18428,
1422,
11685,
22993,
13,
1678,
365,
388,
414,
526,
2898,
29659,
541,
508,
5948,
367,
9120,
29889,
6756,
13,
30004,
13,
1678,
12662,
2699,
30004,
13,
1678,
448,
1378,
29899,
30004,
13,
1678,
1060,
584,
338,
263,
29871,
29906,
29899,
29928,
1409,
411,
8267,
313,
29885,
29892,
302,
29897,
988,
286,
338,
278,
1353,
310,
1881,
3651,
30004,
13,
4706,
322,
302,
278,
1353,
310,
13391,
29889,
2266,
363,
263,
29871,
29906,
29899,
29928,
1108,
591,
505,
302,
353,
29871,
29906,
718,
29871,
29896,
30004,
13,
4706,
1363,
310,
278,
24003,
29889,
9208,
1948,
310,
278,
1881,
1409,
756,
304,
367,
599,
376,
29896,
1642,
30004,
13,
1678,
612,
584,
17157,
4608,
411,
8267,
313,
29885,
29892,
302,
29897,
988,
286,
338,
278,
1353,
310,
6590,
6756,
13,
4706,
1962,
1819,
322,
302,
338,
871,
697,
8443,
13,
30004,
13,
1678,
399,
29900,
856,
29956,
29946,
584,
758,
29899,
11600,
7688,
7049,
29889,
501,
8485,
13391,
817,
304,
2758,
363,
4636,
6674,
5795,
30004,
13,
30004,
13,
1678,
736,
29918,
6758,
584,
7353,
304,
4607,
1546,
278,
6410,
322,
278,
3935,
1121,
29871,
6756,
13,
30004,
13,
1678,
16969,
30004,
13,
1678,
448,
22158,
30004,
13,
30004,
13,
1678,
6410,
29901,
301,
29906,
1059,
12714,
6410,
30004,
13,
1678,
301,
29945,
584,
995,
310,
278,
1407,
1833,
7546,
363,
17983,
30004,
13,
30004,
13,
30004,
13,
1678,
14550,
30004,
13,
30004,
13,
1678,
822,
830,
29931,
29965,
29898,
29916,
29892,
7750,
29922,
8824,
1125,
30004,
13,
4706,
565,
29898,
672,
440,
1275,
5852,
1125,
30004,
13,
9651,
736,
29871,
29896,
334,
313,
29916,
1405,
29871,
29900,
8443,
13,
4706,
736,
921,
334,
313,
29916,
1405,
29871,
29900,
8443,
13,
30004,
13,
1678,
822,
6276,
29898,
29916,
29892,
7750,
29922,
8824,
1125,
30004,
13,
4706,
565,
29898,
672,
440,
1275,
5852,
1125,
30004,
13,
9651,
736,
29871,
29896,
30004,
13,
4706,
736,
921,
30004,
13,
30004,
13,
1678,
822,
4365,
29885,
3398,
29898,
29916,
29892,
7750,
29922,
8824,
1125,
30004,
13,
30004,
13,
4706,
565,
29898,
672,
440,
1275,
5852,
1125,
30004,
13,
9651,
736,
921,
16395,
29896,
29899,
29916,
8443,
13,
4706,
736,
29871,
29896,
14571,
29896,
29974,
9302,
29889,
4548,
6278,
29916,
876,
30004,
13,
30004,
13,
1678,
822,
24993,
29891,
1123,
29931,
29965,
29898,
29916,
29892,
7750,
29922,
8824,
1125,
30004,
13,
4706,
565,
29898,
672,
440,
1275,
5852,
1125,
30004,
13,
9651,
736,
7442,
29889,
3062,
29898,
29916,
1405,
29871,
29900,
29892,
29871,
29896,
29892,
29871,
29900,
29889,
29900,
29896,
8443,
13,
4706,
736,
921,
334,
313,
29916,
1405,
29871,
29900,
29897,
718,
29871,
29900,
29889,
29900,
29896,
334,
921,
334,
313,
29916,
529,
29871,
29900,
8443,
13,
30004,
13,
1678,
301,
29900,
353,
1060,
30004,
13,
1678,
301,
29896,
353,
830,
29931,
29965,
29898,
9302,
29889,
6333,
29898,
29880,
29900,
29892,
399,
29900,
876,
30004,
13,
1678,
301,
29906,
353,
830,
29931,
29965,
29898,
9302,
29889,
6333,
29898,
29880,
29896,
29892,
399,
29896,
876,
30004,
13,
1678,
301,
29941,
353,
830,
29931,
29965,
29898,
9302,
29889,
6333,
29898,
29880,
29906,
29892,
399,
29906,
876,
30004,
13,
1678,
301,
29946,
353,
830,
29931,
29965,
29898,
9302,
29889,
6333,
29898,
29880,
29941,
29892,
399,
29941,
876,
30004,
13,
1678,
301,
29945,
353,
6276,
29898,
9302,
29889,
6333,
29898,
29880,
29946,
29892,
399,
29946,
876,
30004,
13,
30004,
13,
1678,
565,
736,
29918,
6758,
1275,
5852,
29901,
30004,
13,
4706,
6410,
353,
313,
29979,
29899,
29880,
29945,
29897,
1068,
29906,
29871,
396,
2560,
25904,
6410,
30004,
13,
4706,
736,
6410,
30004,
13,
1678,
1683,
29901,
30004,
13,
4706,
736,
301,
29945,
30004,
13,
30004,
13,
30004,
13,
29937,
4529,
1881,
1409,
30004,
13,
29990,
353,
7442,
29889,
2378,
4197,
14352,
29896,
29892,
448,
29896,
1402,
518,
29896,
29892,
448,
29896,
1402,
518,
29896,
29892,
29871,
29896,
1402,
21069,
29896,
29892,
29871,
29896,
1402,
518,
29900,
29889,
29945,
29892,
29871,
29900,
29889,
29945,
1402,
30004,
13,
795,
518,
29900,
29889,
29945,
29892,
448,
29900,
29889,
29945,
1402,
21069,
29900,
29889,
29945,
29892,
29871,
29900,
29889,
29945,
1402,
21069,
29900,
29889,
29945,
29892,
448,
29900,
29889,
29945,
1402,
518,
29900,
29892,
29871,
29900,
1402,
518,
29900,
29892,
29871,
29900,
24960,
30004,
13,
29990,
353,
7442,
29889,
29882,
1429,
3552,
29990,
29892,
7442,
29889,
2873,
3552,
9302,
29889,
12181,
29898,
29990,
9601,
29900,
1402,
29871,
29896,
13697,
29871,
396,
788,
24003,
30004,
13,
30004,
13,
29937,
4529,
1962,
1409,
30004,
13,
29979,
353,
7442,
29889,
2378,
4197,
29961,
29900,
29889,
29941,
1402,
518,
29900,
29889,
29941,
1402,
518,
29900,
29889,
29945,
1402,
518,
29900,
29889,
29953,
1402,
518,
29900,
29889,
29945,
1402,
30004,
13,
795,
518,
29900,
29889,
29945,
1402,
518,
29900,
29889,
29945,
1402,
518,
29900,
29889,
29955,
1402,
518,
29900,
29889,
29947,
1402,
518,
29900,
29889,
29947,
29945,
24960,
30004,
13,
30004,
13,
29937,
1653,
7688,
7049,
411,
4036,
17865,
29889,
28933,
24764,
30004,
13,
29956,
29900,
353,
313,
29906,
29930,
9302,
29889,
8172,
29889,
8172,
3552,
29906,
29974,
29896,
29892,
29871,
29896,
29906,
29947,
876,
448,
29871,
29896,
11877,
29900,
29889,
29906,
30004,
13,
29956,
29896,
353,
313,
29906,
29930,
9302,
29889,
8172,
29889,
8172,
3552,
29896,
29906,
29947,
29892,
29871,
29953,
29946,
876,
448,
29871,
29896,
11877,
29900,
29889,
29906,
30004,
13,
29956,
29906,
353,
313,
29906,
29930,
9302,
29889,
8172,
29889,
8172,
3552,
29953,
29946,
29892,
29871,
29941,
29906,
876,
448,
29871,
29896,
11877,
29900,
29889,
29906,
30004,
13,
29956,
29941,
353,
313,
29906,
29930,
9302,
29889,
8172,
29889,
8172,
3552,
29941,
29906,
29892,
29871,
29896,
29953,
876,
448,
29871,
29896,
11877,
29900,
29889,
29906,
30004,
13,
29956,
29946,
353,
313,
29906,
29930,
9302,
29889,
8172,
29889,
8172,
3552,
29896,
29953,
29892,
29871,
29896,
876,
448,
29871,
29896,
11877,
29900,
29889,
29906,
30004,
13,
30004,
13,
29937,
5994,
19427,
763,
594,
314,
322,
364,
1526,
29899,
22795,
817,
901,
1409,
2913,
304,
4078,
1819,
30004,
13,
29956,
29900,
29918,
29885,
2932,
398,
353,
7442,
29889,
3298,
359,
29918,
4561,
29898,
29956,
29900,
8443,
13,
29956,
29896,
29918,
29885,
2932,
398,
353,
7442,
29889,
3298,
359,
29918,
4561,
29898,
29956,
29896,
8443,
13,
29956,
29906,
29918,
29885,
2932,
398,
353,
7442,
29889,
3298,
359,
29918,
4561,
29898,
29956,
29906,
8443,
13,
29956,
29941,
29918,
29885,
2932,
398,
353,
7442,
29889,
3298,
359,
29918,
4561,
29898,
29956,
29941,
8443,
13,
29956,
29946,
29918,
29885,
2932,
398,
353,
7442,
29889,
3298,
359,
29918,
4561,
29898,
29956,
29946,
8443,
13,
30004,
13,
29956,
29900,
29918,
18434,
353,
7442,
29889,
3298,
359,
29918,
4561,
29898,
29956,
29900,
8443,
13,
29956,
29896,
29918,
18434,
353,
7442,
29889,
3298,
359,
29918,
4561,
29898,
29956,
29896,
8443,
13,
29956,
29906,
29918,
18434,
353,
7442,
29889,
3298,
359,
29918,
4561,
29898,
29956,
29906,
8443,
13,
29956,
29941,
29918,
18434,
353,
7442,
29889,
3298,
359,
29918,
4561,
29898,
29956,
29941,
8443,
13,
29956,
29946,
29918,
18434,
353,
7442,
29889,
3298,
359,
29918,
4561,
29898,
29956,
29946,
8443,
13,
30004,
13,
30004,
13,
29937,
731,
701,
4377,
363,
29871,
29941,
29899,
29928,
6492,
30004,
13,
1003,
353,
14770,
29889,
4532,
26471,
13,
1165,
353,
2537,
29889,
1202,
29918,
1491,
5317,
29898,
29896,
29896,
29896,
29892,
18246,
2433,
29941,
29881,
1495,
30004,
13,
30004,
13,
29937,
1369,
1667,
12541,
2425,
30004,
13,
29893,
2557,
353,
6213,
30004,
13,
1454,
474,
297,
3464,
29898,
29900,
29892,
29871,
29896,
29900,
29900,
29900,
29900,
1125,
30004,
13,
1678,
1596,
703,
13463,
362,
6571,
1642,
4830,
29898,
29875,
876,
30004,
13,
30004,
13,
1678,
565,
281,
2557,
29901,
30004,
13,
4706,
4853,
29889,
29027,
29889,
5992,
29898,
29893,
2557,
8443,
13,
4706,
4853,
29889,
29027,
29889,
5992,
29898,
1557,
2620,
8443,
13,
30004,
13,
1678,
263,
353,
29871,
29900,
29889,
29900,
29900,
29896,
30004,
13,
1678,
321,
567,
353,
29871,
29896,
29930,
29896,
29900,
1068,
29899,
29947,
30004,
13,
1678,
21762,
29896,
353,
29871,
29900,
29889,
29929,
30004,
13,
1678,
21762,
29906,
353,
29871,
29900,
29889,
29929,
29945,
30004,
13,
1678,
5994,
3950,
353,
376,
328,
314,
19451,
13,
30004,
13,
1678,
399,
29900,
29918,
5105,
353,
1543,
3538,
29918,
5105,
29898,
18798,
29918,
11333,
29892,
29871,
29906,
5033,
29990,
29892,
612,
29892,
399,
29900,
29892,
399,
29896,
29892,
399,
29906,
29892,
399,
29941,
29892,
399,
29946,
8443,
13,
1678,
399,
29896,
29918,
5105,
353,
1543,
3538,
29918,
5105,
29898,
18798,
29918,
11333,
29892,
29871,
29941,
5033,
29990,
29892,
612,
29892,
399,
29900,
29892,
399,
29896,
29892,
399,
29906,
29892,
399,
29941,
29892,
399,
29946,
8443,
13,
1678,
399,
29906,
29918,
5105,
353,
1543,
3538,
29918,
5105,
29898,
18798,
29918,
11333,
29892,
29871,
29946,
5033,
29990,
29892,
612,
29892,
399,
29900,
29892,
399,
29896,
29892,
399,
29906,
29892,
399,
29941,
29892,
399,
29946,
8443,
13,
1678,
399,
29941,
29918,
5105,
353,
1543,
3538,
29918,
5105,
29898,
18798,
29918,
11333,
29892,
29871,
29945,
5033,
29990,
29892,
612,
29892,
399,
29900,
29892,
399,
29896,
29892,
399,
29906,
29892,
399,
29941,
29892,
399,
29946,
8443,
13,
1678,
399,
29946,
29918,
5105,
353,
1543,
3538,
29918,
5105,
29898,
18798,
29918,
11333,
29892,
29871,
29953,
5033,
29990,
29892,
612,
29892,
399,
29900,
29892,
399,
29896,
29892,
399,
29906,
29892,
399,
29941,
29892,
399,
29946,
8443,
13,
30004,
13,
1678,
565,
5994,
3950,
1275,
376,
29878,
1516,
7728,
1115,
30004,
13,
4706,
399,
29900,
29918,
18434,
353,
399,
29900,
29918,
18434,
334,
21762,
29896,
718,
313,
29896,
448,
21762,
29896,
29897,
334,
399,
29900,
29918,
5105,
1068,
29906,
30004,
13,
4706,
399,
29896,
29918,
18434,
353,
399,
29896,
29918,
18434,
334,
21762,
29896,
718,
313,
29896,
448,
21762,
29896,
29897,
334,
399,
29896,
29918,
5105,
1068,
29906,
30004,
13,
4706,
399,
29906,
29918,
18434,
353,
399,
29906,
29918,
18434,
334,
21762,
29896,
718,
313,
29896,
448,
21762,
29896,
29897,
334,
399,
29906,
29918,
5105,
1068,
29906,
30004,
13,
4706,
399,
29941,
29918,
18434,
353,
399,
29941,
29918,
18434,
334,
21762,
29896,
718,
313,
29896,
448,
21762,
29896,
29897,
334,
399,
29941,
29918,
5105,
1068,
29906,
30004,
13,
30004,
13,
4706,
399,
29900,
353,
399,
29900,
448,
313,
29874,
29914,
9302,
29889,
3676,
29898,
29956,
29900,
29918,
18434,
718,
321,
567,
876,
334,
399,
29900,
29918,
5105,
30004,
13,
4706,
399,
29896,
353,
399,
29896,
448,
313,
29874,
29914,
9302,
29889,
3676,
29898,
29956,
29896,
29918,
18434,
718,
321,
567,
876,
334,
399,
29896,
29918,
5105,
30004,
13,
4706,
399,
29906,
353,
399,
29906,
448,
313,
29874,
29914,
9302,
29889,
3676,
29898,
29956,
29906,
29918,
18434,
718,
321,
567,
876,
334,
399,
29906,
29918,
5105,
30004,
13,
4706,
399,
29941,
353,
399,
29941,
448,
313,
29874,
29914,
9302,
29889,
3676,
29898,
29956,
29941,
29918,
18434,
718,
321,
567,
876,
334,
399,
29941,
29918,
5105,
30004,
13,
30004,
13,
1678,
565,
5994,
3950,
1275,
376,
328,
314,
1115,
30004,
13,
4706,
399,
29900,
29918,
29885,
2932,
398,
353,
21762,
29896,
334,
399,
29900,
29918,
29885,
2932,
398,
718,
313,
29896,
448,
21762,
29896,
29897,
334,
399,
29900,
29918,
5105,
30004,
13,
4706,
399,
29896,
29918,
29885,
2932,
398,
353,
21762,
29896,
334,
399,
29896,
29918,
29885,
2932,
398,
718,
313,
29896,
448,
21762,
29896,
29897,
334,
399,
29896,
29918,
5105,
30004,
13,
4706,
399,
29906,
29918,
29885,
2932,
398,
353,
21762,
29896,
334,
399,
29906,
29918,
29885,
2932,
398,
718,
313,
29896,
448,
21762,
29896,
29897,
334,
399,
29906,
29918,
5105,
30004,
13,
4706,
399,
29941,
29918,
29885,
2932,
398,
353,
21762,
29896,
334,
399,
29941,
29918,
29885,
2932,
398,
718,
313,
29896,
448,
21762,
29896,
29897,
334,
399,
29941,
29918,
5105,
30004,
13,
4706,
399,
29946,
29918,
29885,
2932,
398,
353,
21762,
29896,
334,
399,
29946,
29918,
29885,
2932,
398,
718,
313,
29896,
448,
21762,
29896,
29897,
334,
399,
29946,
29918,
5105,
30004,
13,
30004,
13,
4706,
399,
29900,
29918,
18434,
353,
399,
29900,
29918,
18434,
334,
21762,
29906,
718,
313,
29896,
448,
21762,
29906,
29897,
334,
399,
29900,
29918,
5105,
1068,
29906,
30004,
13,
4706,
399,
29896,
29918,
18434,
353,
399,
29896,
29918,
18434,
334,
21762,
29906,
718,
313,
29896,
448,
21762,
29906,
29897,
334,
399,
29896,
29918,
5105,
1068,
29906,
30004,
13,
4706,
399,
29906,
29918,
18434,
353,
399,
29906,
29918,
18434,
334,
21762,
29906,
718,
313,
29896,
448,
21762,
29906,
29897,
334,
399,
29906,
29918,
5105,
1068,
29906,
30004,
13,
4706,
399,
29941,
29918,
18434,
353,
399,
29941,
29918,
18434,
334,
21762,
29906,
718,
313,
29896,
448,
21762,
29906,
29897,
334,
399,
29941,
29918,
5105,
1068,
29906,
30004,
13,
4706,
399,
29946,
29918,
18434,
353,
399,
29946,
29918,
18434,
334,
21762,
29906,
718,
313,
29896,
448,
21762,
29906,
29897,
334,
399,
29946,
29918,
5105,
1068,
29906,
30004,
13,
30004,
13,
4706,
399,
29900,
353,
399,
29900,
448,
313,
29874,
847,
7442,
29889,
3676,
29898,
29956,
29900,
29918,
18434,
718,
321,
567,
876,
334,
399,
29900,
29918,
29885,
2932,
398,
30004,
13,
4706,
399,
29896,
353,
399,
29896,
448,
313,
29874,
847,
7442,
29889,
3676,
29898,
29956,
29896,
29918,
18434,
718,
321,
567,
876,
334,
399,
29896,
29918,
29885,
2932,
398,
30004,
13,
4706,
399,
29906,
353,
399,
29906,
448,
313,
29874,
847,
7442,
29889,
3676,
29898,
29956,
29906,
29918,
18434,
718,
321,
567,
876,
334,
399,
29906,
29918,
29885,
2932,
398,
30004,
13,
4706,
399,
29941,
353,
399,
29941,
448,
313,
29874,
847,
7442,
29889,
3676,
29898,
29956,
29941,
29918,
18434,
718,
321,
567,
876,
334,
399,
29941,
29918,
29885,
2932,
398,
30004,
13,
4706,
399,
29946,
353,
399,
29946,
448,
313,
29874,
847,
7442,
29889,
3676,
29898,
29956,
29946,
29918,
18434,
718,
321,
567,
876,
334,
399,
29946,
29918,
29885,
2932,
398,
30004,
13,
30004,
13,
1678,
565,
5994,
3950,
1275,
376,
5311,
29881,
1115,
30004,
13,
4706,
399,
29900,
353,
399,
29900,
448,
263,
334,
399,
29900,
29918,
5105,
30004,
13,
4706,
399,
29896,
353,
399,
29896,
448,
263,
334,
399,
29896,
29918,
5105,
30004,
13,
4706,
399,
29906,
353,
399,
29906,
448,
263,
334,
399,
29906,
29918,
5105,
30004,
13,
4706,
399,
29941,
353,
399,
29941,
448,
263,
334,
399,
29941,
29918,
5105,
30004,
13,
30004,
13,
1678,
396,
731,
701,
27716,
6856,
30004,
13,
1678,
14492,
353,
7442,
29889,
1915,
3493,
6278,
29896,
29892,
29871,
29896,
29892,
29871,
29946,
29900,
8443,
13,
1678,
343,
29879,
353,
7442,
29889,
1915,
3493,
6278,
29896,
29892,
29871,
29896,
29892,
29871,
29946,
29900,
8443,
13,
1678,
1060,
29879,
29892,
612,
29879,
353,
7442,
29889,
4467,
29882,
7720,
29898,
10351,
29892,
343,
29879,
8443,
13,
30004,
13,
1678,
396,
3588,
6856,
304,
19677,
7787,
1881,
13391,
30004,
13,
1678,
1060,
1212,
353,
7442,
29889,
29882,
1429,
3552,
29990,
29879,
29889,
690,
14443,
3552,
29946,
29900,
29930,
29946,
29900,
29892,
29871,
29896,
8243,
612,
29879,
29889,
690,
14443,
3552,
29946,
29900,
29930,
29946,
29900,
29892,
29871,
29896,
13697,
30004,
13,
1678,
1060,
1212,
353,
7442,
29889,
29882,
1429,
3552,
29990,
1212,
29892,
7442,
29889,
2873,
3552,
9302,
29889,
12181,
29898,
29990,
1212,
9601,
29900,
1402,
29871,
29896,
13697,
29871,
396,
788,
24003,
30004,
13,
30004,
13,
1678,
396,
14707,
7787,
363,
1857,
2582,
29889,
7106,
8267,
304,
6856,
29899,
4561,
3829,
30004,
13,
1678,
796,
1212,
353,
8343,
29918,
11333,
29898,
29990,
1212,
29892,
612,
29892,
399,
29900,
29892,
399,
29896,
29892,
399,
29906,
29892,
399,
29941,
29892,
399,
29946,
29892,
736,
29918,
6758,
29922,
8824,
8443,
13,
1678,
796,
1212,
353,
796,
1212,
29889,
690,
14443,
3552,
29946,
29900,
29892,
29871,
29946,
29900,
876,
30004,
13,
30004,
13,
1678,
396,
6492,
2582,
30004,
13,
1678,
4853,
29889,
842,
29918,
29916,
1643,
877,
29938,
29990,
29938,
1495,
30004,
13,
1678,
4853,
29889,
842,
29918,
29891,
1643,
877,
29938,
29979,
29938,
1495,
30004,
13,
1678,
4853,
29889,
842,
29918,
29920,
1643,
877,
29938,
29999,
29938,
1495,
30004,
13,
1678,
4853,
29889,
842,
29918,
29920,
2576,
29941,
29881,
29898,
29900,
29892,
29871,
29896,
8443,
13,
1678,
281,
2557,
353,
4853,
29889,
5317,
29918,
7610,
2161,
29898,
29990,
29879,
29892,
612,
29879,
29892,
796,
1212,
29892,
274,
1958,
543,
29907,
21055,
1958,
1159,
30004,
13,
1678,
14801,
353,
4853,
29889,
1557,
2620,
29898,
29990,
7503,
29892,
29871,
29900,
1402,
1060,
7503,
29892,
29871,
29896,
1402,
612,
29892,
274,
543,
29890,
613,
17456,
543,
29877,
1159,
30004,
13,
1678,
14770,
29889,
29886,
1071,
11891,
29900,
29900,
29900,
29900,
29896,
8443,
13,
2
] |
src/analysis.py | luca-bottero/Parallel_n_body | 2 | 191905 | <gh_stars>1-10
import numpy as np
import matplotlib.pyplot as plt
from numba import jit
class DataAnalyzer():
def __init__(self, ResultsPath = ''):
try:
self.PosHistory = np.load(ResultsPath + '/PosHistory.npy')
self.Mass = np.load(ResultsPath + '/Masses.npy')
#load yaml with configurations
except Exception as e:
print(e)
self.NBodies = self.Mass.shape[0]
self.dt = 1
self.Vel = (self.PosHistory[self.NBodies:] - self.PosHistory[:-self.NBodies])/self.dt
def CalcVelFromPos(self):
self.Vel = (self.PosHistory[self.NBodies:] - self.PosHistory[:-self.NBodies])/self.dt
pass
def PlotTotalKineticEnergy(self):
self.TotalKineticEnergy = 0.5 * self.Mass * np.split(np.sum(self.Vel ** 2, axis = -1), self.Vel.shape[0]/self.NBodies)
plt.plot(np.ediff1d(self.TotalKineticEnergy))
plt.show()
| [
1,
529,
12443,
29918,
303,
1503,
29958,
29896,
29899,
29896,
29900,
13,
5215,
12655,
408,
7442,
13,
5215,
22889,
29889,
2272,
5317,
408,
14770,
13,
3166,
954,
2291,
1053,
432,
277,
13,
13,
1990,
3630,
2744,
14997,
3298,
7295,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
17212,
2605,
353,
6629,
1125,
13,
4706,
1018,
29901,
13,
9651,
1583,
29889,
9135,
20570,
353,
7442,
29889,
1359,
29898,
12191,
2605,
718,
8207,
9135,
20570,
29889,
29876,
2272,
1495,
13,
9651,
1583,
29889,
29924,
465,
353,
7442,
29889,
1359,
29898,
12191,
2605,
718,
8207,
29924,
465,
267,
29889,
29876,
2272,
1495,
13,
9651,
396,
1359,
343,
8807,
411,
22920,
13,
4706,
5174,
8960,
408,
321,
29901,
13,
9651,
1596,
29898,
29872,
29897,
13,
13,
4706,
1583,
29889,
23189,
397,
583,
353,
1583,
29889,
29924,
465,
29889,
12181,
29961,
29900,
29962,
13,
4706,
1583,
29889,
6008,
353,
29871,
29896,
13,
4706,
1583,
29889,
29963,
295,
353,
313,
1311,
29889,
9135,
20570,
29961,
1311,
29889,
23189,
397,
583,
17531,
448,
1583,
29889,
9135,
20570,
7503,
29899,
1311,
29889,
23189,
397,
583,
2314,
29914,
1311,
29889,
6008,
13,
13,
1678,
822,
3037,
29883,
29963,
295,
4591,
9135,
29898,
1311,
1125,
13,
4706,
1583,
29889,
29963,
295,
353,
313,
1311,
29889,
9135,
20570,
29961,
1311,
29889,
23189,
397,
583,
17531,
448,
1583,
29889,
9135,
20570,
7503,
29899,
1311,
29889,
23189,
397,
583,
2314,
29914,
1311,
29889,
6008,
13,
4706,
1209,
13,
13,
1678,
822,
18399,
11536,
29968,
262,
7492,
29923,
1089,
1927,
29898,
1311,
1125,
13,
4706,
1583,
29889,
11536,
29968,
262,
7492,
29923,
1089,
1927,
353,
29871,
29900,
29889,
29945,
334,
1583,
29889,
29924,
465,
334,
7442,
29889,
5451,
29898,
9302,
29889,
2083,
29898,
1311,
29889,
29963,
295,
3579,
29871,
29906,
29892,
9685,
353,
448,
29896,
511,
1583,
29889,
29963,
295,
29889,
12181,
29961,
29900,
16261,
1311,
29889,
23189,
397,
583,
29897,
29871,
13,
4706,
14770,
29889,
5317,
29898,
9302,
29889,
287,
2593,
29896,
29881,
29898,
1311,
29889,
11536,
29968,
262,
7492,
29923,
1089,
1927,
876,
13,
4706,
14770,
29889,
4294,
580,
13,
2
] |
localshop/urls.py | rcoup/localshop | 0 | 26942 | import re
from django.conf import settings
from django.conf.urls import patterns, include, url
from django.contrib import admin
from django.views.generic.base import RedirectView
from localshop.apps.packages.xmlrpc import handle_request
admin.autodiscover()
static_prefix = re.escape(settings.STATIC_URL.lstrip('/'))
urlpatterns = patterns('',
url(r'^$', 'localshop.views.index', name='index'),
# Default path for xmlrpc calls
url(r'^RPC2$', handle_request),
url(r'^packages/',
include('localshop.apps.packages.urls', namespace='packages')),
url(r'^simple/', include('localshop.apps.packages.urls_simple',
namespace='packages-simple')),
# We add a separate route for simple without the trailing slash so that
# POST requests to /simple/ and /simple both work
url(r'^simple$', 'localshop.apps.packages.views.simple_index'),
url(r'^permissions/',
include('localshop.apps.permissions.urls', namespace='permissions')),
url(r'^accounts/signup/', RedirectView.as_view(url="/")),
url(r'^accounts/', include('userena.urls')),
url(r'^admin/', include(admin.site.urls)),
url(r'^%s(?P<path>.*)$' % static_prefix,
'django.contrib.staticfiles.views.serve', {'insecure': True}),
)
| [
1,
1053,
337,
13,
3166,
9557,
29889,
5527,
1053,
6055,
13,
3166,
9557,
29889,
5527,
29889,
26045,
1053,
15038,
29892,
3160,
29892,
3142,
13,
3166,
9557,
29889,
21570,
1053,
4113,
13,
3166,
9557,
29889,
7406,
29889,
19206,
29889,
3188,
1053,
4367,
1088,
1043,
13,
13,
3166,
1887,
19032,
29889,
13371,
29889,
8318,
29889,
3134,
29878,
6739,
1053,
4386,
29918,
3827,
13,
13,
6406,
29889,
1300,
397,
10669,
957,
580,
13,
13,
7959,
29918,
13506,
353,
337,
29889,
21587,
29898,
11027,
29889,
17816,
2965,
29918,
4219,
29889,
29880,
17010,
11219,
8785,
13,
13,
13,
2271,
11037,
29879,
353,
15038,
877,
742,
13,
1678,
3142,
29898,
29878,
29915,
29985,
29938,
742,
525,
2997,
19032,
29889,
7406,
29889,
2248,
742,
1024,
2433,
2248,
5477,
13,
13,
1678,
396,
13109,
2224,
363,
4903,
29878,
6739,
5717,
13,
1678,
3142,
29898,
29878,
29915,
29985,
29934,
9026,
29906,
29938,
742,
4386,
29918,
3827,
511,
13,
13,
1678,
3142,
29898,
29878,
29915,
29985,
8318,
29914,
742,
13,
4706,
3160,
877,
2997,
19032,
29889,
13371,
29889,
8318,
29889,
26045,
742,
7397,
2433,
8318,
1495,
511,
13,
13,
1678,
3142,
29898,
29878,
29915,
29985,
12857,
29914,
742,
3160,
877,
2997,
19032,
29889,
13371,
29889,
8318,
29889,
26045,
29918,
12857,
742,
13,
4706,
7397,
2433,
8318,
29899,
12857,
1495,
511,
13,
13,
1678,
396,
1334,
788,
263,
5004,
5782,
363,
2560,
1728,
278,
25053,
24765,
577,
393,
13,
1678,
396,
11971,
7274,
304,
847,
12857,
29914,
322,
847,
12857,
1716,
664,
13,
1678,
3142,
29898,
29878,
29915,
29985,
12857,
29938,
742,
525,
2997,
19032,
29889,
13371,
29889,
8318,
29889,
7406,
29889,
12857,
29918,
2248,
5477,
13,
13,
1678,
3142,
29898,
29878,
29915,
29985,
17858,
6847,
29914,
742,
13,
4706,
3160,
877,
2997,
19032,
29889,
13371,
29889,
17858,
6847,
29889,
26045,
742,
7397,
2433,
17858,
6847,
1495,
511,
13,
13,
1678,
3142,
29898,
29878,
29915,
29985,
10149,
29879,
29914,
4530,
786,
29914,
742,
4367,
1088,
1043,
29889,
294,
29918,
1493,
29898,
2271,
13802,
1159,
511,
13,
13,
1678,
3142,
29898,
29878,
29915,
29985,
10149,
29879,
29914,
742,
3160,
877,
1792,
2386,
29889,
26045,
1495,
511,
13,
13,
1678,
3142,
29898,
29878,
29915,
29985,
6406,
29914,
742,
3160,
29898,
6406,
29889,
2746,
29889,
26045,
8243,
13,
13,
1678,
3142,
29898,
29878,
29915,
29985,
29995,
29879,
10780,
29925,
29966,
2084,
29958,
5575,
1262,
29915,
1273,
2294,
29918,
13506,
29892,
13,
4706,
525,
14095,
29889,
21570,
29889,
7959,
5325,
29889,
7406,
29889,
16349,
742,
11117,
262,
24216,
2396,
5852,
9594,
13,
29897,
13,
2
] |
gecko/fan.py | mmillmor/home_assistant-components | 0 | 1613793 | """Fan platform for Gecko."""
from .geckolib import GeckoPump
from homeassistant.components.fan import SUPPORT_PRESET_MODE, FanEntity
from .const import DOMAIN, ICON
from .entity import GeckoEntity
async def async_setup_entry(hass, entry, async_add_entities):
"""Setup sensor platform."""
facade = hass.data[DOMAIN][entry.entry_id].facade
entities = [GeckoFan(entry, pump) for pump in facade.pumps]
async_add_entities(entities, True)
class GeckoFan(GeckoEntity, FanEntity):
"""gecko fan class."""
def __init__(self, config_entry, automation_entity):
super().__init__(config_entry, automation_entity)
async def async_turn_on(self, **kwargs): # pylint: disable=unused-argument
"""Turn on the switch."""
self._automation_entity.set_mode(
next(mode for mode in self.preset_modes if mode != "OFF")
)
async def async_turn_off(self, **kwargs): # pylint: disable=unused-argument
"""Turn off the switch."""
self._automation_entity.set_mode("OFF")
async def async_set_preset_mode(self, preset_mode):
self._automation_entity.set_mode(preset_mode)
@property
def is_on(self):
return self.preset_mode != "OFF"
@property
def supported_features(self):
return SUPPORT_PRESET_MODE
@property
def icon(self):
"""Return the icon of this switch."""
return "mdi:pump"
@property
def preset_modes(self):
return ["OFF","HI"]
@property
def preset_mode(self):
mode = self._automation_entity._state_sensor.state
if mode != "OFF":
return mode[0:2]
return mode | [
1,
9995,
29943,
273,
7481,
363,
1879,
27604,
1213,
15945,
13,
3166,
869,
479,
384,
324,
747,
1053,
1879,
27604,
29925,
3427,
13,
3166,
3271,
465,
22137,
29889,
14036,
29889,
12963,
1053,
317,
4897,
15082,
29918,
15094,
10490,
29918,
20387,
29892,
383,
273,
6691,
13,
13,
3166,
869,
3075,
1053,
11662,
29032,
29892,
306,
6007,
13,
3166,
869,
10041,
1053,
1879,
27604,
6691,
13,
13,
13,
12674,
822,
7465,
29918,
14669,
29918,
8269,
29898,
29882,
465,
29892,
6251,
29892,
7465,
29918,
1202,
29918,
296,
1907,
1125,
13,
1678,
9995,
26947,
23530,
7481,
1213,
15945,
13,
1678,
4024,
1943,
353,
298,
465,
29889,
1272,
29961,
3970,
29032,
3816,
8269,
29889,
8269,
29918,
333,
1822,
17470,
1943,
13,
1678,
16212,
353,
518,
7999,
27604,
29943,
273,
29898,
8269,
29892,
282,
3427,
29897,
363,
282,
3427,
297,
4024,
1943,
29889,
29886,
17204,
29962,
13,
1678,
7465,
29918,
1202,
29918,
296,
1907,
29898,
296,
1907,
29892,
5852,
29897,
13,
13,
13,
1990,
1879,
27604,
29943,
273,
29898,
7999,
27604,
6691,
29892,
383,
273,
6691,
1125,
13,
1678,
9995,
479,
27604,
13524,
770,
1213,
15945,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
2295,
29918,
8269,
29892,
3345,
362,
29918,
10041,
1125,
13,
4706,
2428,
2141,
1649,
2344,
12035,
2917,
29918,
8269,
29892,
3345,
362,
29918,
10041,
29897,
13,
13,
1678,
7465,
822,
7465,
29918,
685,
29918,
265,
29898,
1311,
29892,
3579,
19290,
1125,
29871,
396,
282,
2904,
524,
29901,
11262,
29922,
348,
3880,
29899,
23516,
13,
4706,
9995,
27407,
373,
278,
4607,
1213,
15945,
13,
4706,
1583,
3032,
17405,
362,
29918,
10041,
29889,
842,
29918,
8513,
29898,
13,
9651,
2446,
29898,
8513,
363,
4464,
297,
1583,
29889,
4569,
300,
29918,
1545,
267,
565,
4464,
2804,
376,
27681,
1159,
13,
4706,
1723,
13,
13,
1678,
7465,
822,
7465,
29918,
685,
29918,
2696,
29898,
1311,
29892,
3579,
19290,
1125,
29871,
396,
282,
2904,
524,
29901,
11262,
29922,
348,
3880,
29899,
23516,
13,
4706,
9995,
27407,
1283,
278,
4607,
1213,
15945,
13,
4706,
1583,
3032,
17405,
362,
29918,
10041,
29889,
842,
29918,
8513,
703,
27681,
1159,
13,
13,
1678,
7465,
822,
7465,
29918,
842,
29918,
4569,
300,
29918,
8513,
29898,
1311,
29892,
2225,
300,
29918,
8513,
1125,
13,
4706,
1583,
3032,
17405,
362,
29918,
10041,
29889,
842,
29918,
8513,
29898,
4569,
300,
29918,
8513,
29897,
13,
13,
1678,
732,
6799,
13,
1678,
822,
338,
29918,
265,
29898,
1311,
1125,
13,
4706,
736,
1583,
29889,
4569,
300,
29918,
8513,
2804,
376,
27681,
29908,
13,
13,
1678,
732,
6799,
13,
1678,
822,
6969,
29918,
22100,
29898,
1311,
1125,
13,
4706,
736,
317,
4897,
15082,
29918,
15094,
10490,
29918,
20387,
13,
13,
1678,
732,
6799,
13,
1678,
822,
9849,
29898,
1311,
1125,
13,
4706,
9995,
11609,
278,
9849,
310,
445,
4607,
1213,
15945,
13,
4706,
736,
376,
3487,
29875,
29901,
29886,
3427,
29908,
13,
13,
1678,
732,
6799,
13,
1678,
822,
2225,
300,
29918,
1545,
267,
29898,
1311,
1125,
13,
4706,
736,
6796,
27681,
3284,
17628,
3108,
13,
13,
1678,
732,
6799,
13,
1678,
822,
2225,
300,
29918,
8513,
29898,
1311,
1125,
13,
4706,
4464,
353,
1583,
3032,
17405,
362,
29918,
10041,
3032,
3859,
29918,
29879,
6073,
29889,
3859,
13,
13,
4706,
565,
4464,
2804,
376,
27681,
1115,
13,
9651,
736,
4464,
29961,
29900,
29901,
29906,
29962,
13,
13,
4706,
736,
4464,
2
] |
pybricks/libraries.py | emthomas/pybricks | 2 | 81195 | import json
import os
import requests
class LibrariesApi(object):
"""The Libraries API"""
def __init__(self, hostname, token):
self.hostname = "%s/api/" % hostname
self.__headers = {'authorization': "Bearer %s" % token, "content-type": "application/scim+json",
"accept": "application/scim+json"}
| [
1,
1053,
4390,
13,
5215,
2897,
13,
13,
5215,
7274,
13,
13,
13,
1990,
365,
4626,
4314,
11713,
29898,
3318,
1125,
13,
1678,
9995,
1576,
365,
4626,
4314,
3450,
15945,
29908,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
3495,
978,
29892,
5993,
1125,
13,
4706,
1583,
29889,
28988,
353,
11860,
29879,
29914,
2754,
12975,
1273,
3495,
978,
13,
4706,
1583,
17255,
13662,
353,
11117,
8921,
2133,
2396,
376,
29933,
799,
261,
1273,
29879,
29908,
1273,
5993,
29892,
376,
3051,
29899,
1853,
1115,
376,
6214,
29914,
1557,
326,
29974,
3126,
613,
13,
462,
3986,
376,
16044,
1115,
376,
6214,
29914,
1557,
326,
29974,
3126,
9092,
13,
2
] |
vindauga/widgets/desktop.py | gabbpuy/vindauga | 5 | 156143 | <reponame>gabbpuy/vindauga
# -*- coding: utf-8 -*-
import logging
from vindauga.constants.command_codes import cmNext, cmPrev, cmReleasedFocus
from vindauga.constants.grow_flags import gfGrowHiX, gfGrowHiY
from vindauga.constants.event_codes import evCommand
from vindauga.constants.option_flags import ofTileable
from vindauga.constants.state_flags import sfVisible
from vindauga.types.group import Group
from vindauga.types.point import Point
from vindauga.types.rect import Rect
from .background import Background
logger = logging.getLogger(__name__)
class Desktop(Group):
"""
The desktop of the application.
`Desktop` inherits from `Group` `Desktop` is a simple group that owns the
`Background` view upon which the application's windows and other views appear.
`Desktop` represents the desk top area of the screen between the top menu
bar and bottom status line (but only when the bar and line exist). By
default, `Desktop` has a `Background` object inside which paints its
background.
"""
DEFAULT_BACKGROUND = '▒'
name = 'Desktop'
def __init__(self, bounds):
super().__init__(bounds)
self.cascadeNum = 0
self.lastView = None
self.numCols = 0
self.numRows = 0
self.numTileable = 0
self.leftOver = 0
self.tileNum = 0
self.growMode = gfGrowHiX | gfGrowHiY
self.tileColumnsFirst = False
background = self.initBackground(self.getExtent())
if background:
self._background = background
self.insert(self._background)
else:
self._background = None
@staticmethod
def isTileable(window):
return window.options & ofTileable and window.state & sfVisible
def mostEqualDivisors(self, n):
"""
Find a 'square' to tile the windows.
:param n: Number of windows
:return: Width and height
"""
i = int(n ** .5)
if n % i:
if not n % (i + 1):
i += 1
i = max(i, n // i)
a, b = n // i, i
if self.tileColumnsFirst:
x, y = b, a
else:
x, y = a, b
return x, y
def calcTileRect(self, pos, bounds):
def dividerLoc(lo, hi, num, dPos):
return int((hi - lo) * dPos // num + lo)
d = (self.numCols - self.leftOver) * self.numRows
if pos < d:
x, y = divmod(pos, self.numRows)
else:
x = (pos - d) // (self.numRows + 1) + (self.numCols - self.leftOver)
y = (pos - d) % (self.numRows + 1)
nRect = Rect(0, 0, 0, 0)
nRect.topLeft.x = dividerLoc(bounds.topLeft.x, bounds.bottomRight.x, self.numCols, x)
nRect.bottomRight.x = dividerLoc(bounds.topLeft.x, bounds.bottomRight.x, self.numCols, x + 1)
if pos >= d:
nRect.topLeft.y = dividerLoc(bounds.topLeft.y, bounds.bottomRight.y, self.numRows + 1, y)
nRect.bottomRight.y = dividerLoc(bounds.topLeft.y, bounds.bottomRight.y, self.numRows + 1, y + 1)
else:
nRect.topLeft.y = dividerLoc(bounds.topLeft.y, bounds.bottomRight.y, self.numRows, y)
nRect.bottomRight.y = dividerLoc(bounds.topLeft.y, bounds.bottomRight.y, self.numRows, y + 1)
return nRect
def doCountTileable(self, window, *_args):
if self.isTileable(window):
self.numTileable += 1
def doCascade(self, window, bounds):
if self.isTileable(window) and self.cascadeNum >= 0:
newRect = bounds.copy()
newRect.topLeft.x += self.cascadeNum
newRect.topLeft.y += self.cascadeNum
window.locate(newRect)
self.cascadeNum -= 1
def doCount(self, window, *_args):
if self.isTileable(window):
self.cascadeNum += 1
self.lastView = window
def doTile(self, window, bounds):
if self.isTileable(window):
r = self.calcTileRect(self.tileNum, bounds)
window.locate(r)
self.tileNum -= 1
def shutdown(self):
self._background = None
super().shutdown()
def cascade(self, r):
"""
Moves all the windows in a cascade-like fashion.
Redisplays all tileable windows owned by the desk top in cascaded
format. The first tileable window in Z-order (the window "in back") is
zoomed to fill the desk top, and each succeeding window fills a region
beginning one line lower and one space further to the right than the
one before. The active window appears "on top" as the smallest window.
:param r: Rectangle to cascade into
"""
minSize = Point()
maxSize = Point()
self.cascadeNum = 0
self.forEach(self.doCount, None)
if self.cascadeNum > 0:
self.lastView.sizeLimits(minSize, maxSize)
if ((minSize.x > r.bottomRight.x - r.topLeft.x - self.cascadeNum) or
(minSize.y > r.bottomRight.y - r.topLeft.y - self.cascadeNum)):
self.tileError()
else:
self.cascadeNum -= 1
self.lock()
try:
self.forEach(self.doCascade, r)
finally:
self.unlock()
def handleEvent(self, event):
"""
Calls `super().handleEvent()` and takes care of the commands `cmNext`
(usually the hot key F6) and `cmPrev` by cycling through the windows
owned by the desktop, starting with the currently selected view.
:param event: The event to handle
"""
super().handleEvent(event)
if event.what == evCommand:
c = event.message.command
if c == cmNext:
if self.valid(cmReleasedFocus):
self.selectNext(False)
elif c == cmPrev:
if self.valid(cmReleasedFocus):
self.current.putInFrontOf(self._background)
else:
return
self.clearEvent(event)
def initBackground(self, bounds):
"""
Creates a new background.
Returns a newly-created `Background` object.
The `background` data member is set to point at the new `Background` object.
Override this method if you want a custom background.
:param bounds: Bounds of the desktop
:return: A `Background` object
"""
return Background(bounds, self.DEFAULT_BACKGROUND)
def tile(self, bounds):
"""
Moves all the windows in a tile-like fashion.
:param bounds: Bounds of the desktop
"""
self.numTileable = 0
self.forEach(self.doCountTileable, None)
if self.numTileable > 0:
self.numCols, self.numRows = self.mostEqualDivisors(self.numTileable)
if (((bounds.bottomRight.x - bounds.topLeft.x) // self.numCols == 0) or
((bounds.bottomRight.y - bounds.topLeft.y) // self.numRows == 0)):
self.tileError()
else:
self.leftOver = self.numTileable % self.numCols
self.tileNum = self.numTileable - 1
self.lock()
try:
self.forEach(self.doTile, bounds)
finally:
self.unlock()
def tileError(self):
"""
Called on tiling error.
This method is called whenever `cascade()` or `tile()` run into
troubles in moving the windows. You can override it if you want to
give an error message to the user. By default, it does nothing.
"""
logger.error('tile error.')
pass
| [
1,
529,
276,
1112,
420,
29958,
29887,
8846,
3746,
29891,
29914,
29894,
513,
2987,
29874,
13,
29937,
448,
29930,
29899,
14137,
29901,
23616,
29899,
29947,
448,
29930,
29899,
13,
5215,
12183,
13,
13,
3166,
325,
513,
2987,
29874,
29889,
3075,
1934,
29889,
6519,
29918,
18137,
1053,
7477,
9190,
29892,
7477,
6572,
29894,
29892,
7477,
1123,
4611,
20560,
13,
3166,
325,
513,
2987,
29874,
29889,
3075,
1934,
29889,
29887,
798,
29918,
15764,
1053,
330,
29888,
29954,
798,
18567,
29990,
29892,
330,
29888,
29954,
798,
18567,
29979,
13,
3166,
325,
513,
2987,
29874,
29889,
3075,
1934,
29889,
3696,
29918,
18137,
1053,
3415,
6255,
13,
3166,
325,
513,
2987,
29874,
29889,
3075,
1934,
29889,
3385,
29918,
15764,
1053,
310,
29911,
488,
519,
13,
3166,
325,
513,
2987,
29874,
29889,
3075,
1934,
29889,
3859,
29918,
15764,
1053,
18668,
12911,
13,
3166,
325,
513,
2987,
29874,
29889,
8768,
29889,
2972,
1053,
6431,
13,
3166,
325,
513,
2987,
29874,
29889,
8768,
29889,
3149,
1053,
8984,
13,
3166,
325,
513,
2987,
29874,
29889,
8768,
29889,
1621,
1053,
22914,
13,
13,
3166,
869,
7042,
1053,
16585,
13,
13,
21707,
353,
12183,
29889,
657,
16363,
22168,
978,
1649,
29897,
13,
13,
13,
1990,
2726,
6883,
29898,
4782,
1125,
13,
1678,
9995,
13,
1678,
450,
14616,
310,
278,
2280,
29889,
13,
13,
1678,
421,
17600,
29952,
7846,
1169,
515,
421,
4782,
29952,
421,
17600,
29952,
338,
263,
2560,
2318,
393,
1914,
29879,
278,
13,
1678,
421,
10581,
29952,
1776,
2501,
607,
278,
2280,
29915,
29879,
5417,
322,
916,
8386,
2615,
29889,
13,
13,
1678,
421,
17600,
29952,
11524,
278,
553,
29895,
2246,
4038,
310,
278,
4315,
1546,
278,
2246,
6143,
13,
1678,
2594,
322,
5970,
4660,
1196,
313,
4187,
871,
746,
278,
2594,
322,
1196,
1863,
467,
2648,
13,
1678,
2322,
29892,
421,
17600,
29952,
756,
263,
421,
10581,
29952,
1203,
2768,
607,
6788,
1372,
967,
13,
1678,
3239,
29889,
13,
1678,
9995,
13,
1678,
22236,
29918,
29933,
11375,
29954,
1672,
18783,
353,
525,
30686,
29915,
13,
13,
1678,
1024,
353,
525,
17600,
29915,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
13451,
1125,
13,
4706,
2428,
2141,
1649,
2344,
12035,
23687,
29897,
13,
4706,
1583,
29889,
9398,
6332,
8009,
353,
29871,
29900,
13,
4706,
1583,
29889,
4230,
1043,
353,
6213,
13,
4706,
1583,
29889,
1949,
1625,
29879,
353,
29871,
29900,
13,
4706,
1583,
29889,
1949,
10661,
353,
29871,
29900,
13,
4706,
1583,
29889,
1949,
29911,
488,
519,
353,
29871,
29900,
13,
4706,
1583,
29889,
1563,
3563,
353,
29871,
29900,
13,
4706,
1583,
29889,
29873,
488,
8009,
353,
29871,
29900,
13,
13,
4706,
1583,
29889,
29887,
798,
6818,
353,
330,
29888,
29954,
798,
18567,
29990,
891,
330,
29888,
29954,
798,
18567,
29979,
13,
4706,
1583,
29889,
29873,
488,
14289,
6730,
353,
7700,
13,
4706,
3239,
353,
1583,
29889,
2344,
10581,
29898,
1311,
29889,
657,
5647,
296,
3101,
13,
4706,
565,
3239,
29901,
13,
9651,
1583,
3032,
7042,
353,
3239,
13,
9651,
1583,
29889,
7851,
29898,
1311,
3032,
7042,
29897,
13,
4706,
1683,
29901,
13,
9651,
1583,
3032,
7042,
353,
6213,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
338,
29911,
488,
519,
29898,
7165,
1125,
13,
4706,
736,
3474,
29889,
6768,
669,
310,
29911,
488,
519,
322,
3474,
29889,
3859,
669,
18668,
12911,
13,
13,
1678,
822,
1556,
9843,
12596,
275,
943,
29898,
1311,
29892,
302,
1125,
13,
4706,
9995,
13,
4706,
10987,
263,
525,
17619,
29915,
304,
25900,
278,
5417,
29889,
13,
13,
4706,
584,
3207,
302,
29901,
9681,
310,
5417,
13,
4706,
584,
2457,
29901,
21485,
322,
3171,
13,
4706,
9995,
13,
4706,
474,
353,
938,
29898,
29876,
3579,
869,
29945,
29897,
13,
4706,
565,
302,
1273,
474,
29901,
13,
9651,
565,
451,
302,
1273,
313,
29875,
718,
29871,
29896,
1125,
13,
18884,
474,
4619,
29871,
29896,
13,
4706,
474,
353,
4236,
29898,
29875,
29892,
302,
849,
474,
29897,
13,
4706,
263,
29892,
289,
353,
302,
849,
474,
29892,
474,
13,
4706,
565,
1583,
29889,
29873,
488,
14289,
6730,
29901,
13,
9651,
921,
29892,
343,
353,
289,
29892,
263,
13,
4706,
1683,
29901,
13,
9651,
921,
29892,
343,
353,
263,
29892,
289,
13,
4706,
736,
921,
29892,
343,
13,
13,
1678,
822,
22235,
29911,
488,
7364,
29898,
1311,
29892,
926,
29892,
13451,
1125,
13,
4706,
822,
1933,
1241,
3524,
29898,
417,
29892,
7251,
29892,
954,
29892,
270,
9135,
1125,
13,
9651,
736,
938,
3552,
2918,
448,
658,
29897,
334,
270,
9135,
849,
954,
718,
658,
29897,
13,
13,
4706,
270,
353,
313,
1311,
29889,
1949,
1625,
29879,
448,
1583,
29889,
1563,
3563,
29897,
334,
1583,
29889,
1949,
10661,
13,
13,
4706,
565,
926,
529,
270,
29901,
13,
9651,
921,
29892,
343,
353,
1933,
1545,
29898,
1066,
29892,
1583,
29889,
1949,
10661,
29897,
13,
4706,
1683,
29901,
13,
9651,
921,
353,
313,
1066,
448,
270,
29897,
849,
313,
1311,
29889,
1949,
10661,
718,
29871,
29896,
29897,
718,
313,
1311,
29889,
1949,
1625,
29879,
448,
1583,
29889,
1563,
3563,
29897,
13,
9651,
343,
353,
313,
1066,
448,
270,
29897,
1273,
313,
1311,
29889,
1949,
10661,
718,
29871,
29896,
29897,
13,
13,
4706,
302,
7364,
353,
22914,
29898,
29900,
29892,
29871,
29900,
29892,
29871,
29900,
29892,
29871,
29900,
29897,
13,
4706,
302,
7364,
29889,
3332,
8091,
29889,
29916,
353,
1933,
1241,
3524,
29898,
23687,
29889,
3332,
8091,
29889,
29916,
29892,
13451,
29889,
8968,
7341,
29889,
29916,
29892,
1583,
29889,
1949,
1625,
29879,
29892,
921,
29897,
13,
4706,
302,
7364,
29889,
8968,
7341,
29889,
29916,
353,
1933,
1241,
3524,
29898,
23687,
29889,
3332,
8091,
29889,
29916,
29892,
13451,
29889,
8968,
7341,
29889,
29916,
29892,
1583,
29889,
1949,
1625,
29879,
29892,
921,
718,
29871,
29896,
29897,
13,
13,
4706,
565,
926,
6736,
270,
29901,
13,
9651,
302,
7364,
29889,
3332,
8091,
29889,
29891,
353,
1933,
1241,
3524,
29898,
23687,
29889,
3332,
8091,
29889,
29891,
29892,
13451,
29889,
8968,
7341,
29889,
29891,
29892,
1583,
29889,
1949,
10661,
718,
29871,
29896,
29892,
343,
29897,
13,
9651,
302,
7364,
29889,
8968,
7341,
29889,
29891,
353,
1933,
1241,
3524,
29898,
23687,
29889,
3332,
8091,
29889,
29891,
29892,
13451,
29889,
8968,
7341,
29889,
29891,
29892,
1583,
29889,
1949,
10661,
718,
29871,
29896,
29892,
343,
718,
29871,
29896,
29897,
13,
4706,
1683,
29901,
13,
9651,
302,
7364,
29889,
3332,
8091,
29889,
29891,
353,
1933,
1241,
3524,
29898,
23687,
29889,
3332,
8091,
29889,
29891,
29892,
13451,
29889,
8968,
7341,
29889,
29891,
29892,
1583,
29889,
1949,
10661,
29892,
343,
29897,
13,
9651,
302,
7364,
29889,
8968,
7341,
29889,
29891,
353,
1933,
1241,
3524,
29898,
23687,
29889,
3332,
8091,
29889,
29891,
29892,
13451,
29889,
8968,
7341,
29889,
29891,
29892,
1583,
29889,
1949,
10661,
29892,
343,
718,
29871,
29896,
29897,
13,
13,
4706,
736,
302,
7364,
13,
13,
1678,
822,
437,
3981,
29911,
488,
519,
29898,
1311,
29892,
3474,
29892,
334,
29918,
5085,
1125,
13,
4706,
565,
1583,
29889,
275,
29911,
488,
519,
29898,
7165,
1125,
13,
9651,
1583,
29889,
1949,
29911,
488,
519,
4619,
29871,
29896,
13,
13,
1678,
822,
437,
29907,
294,
6332,
29898,
1311,
29892,
3474,
29892,
13451,
1125,
13,
4706,
565,
1583,
29889,
275,
29911,
488,
519,
29898,
7165,
29897,
322,
1583,
29889,
9398,
6332,
8009,
6736,
29871,
29900,
29901,
13,
9651,
716,
7364,
353,
13451,
29889,
8552,
580,
13,
9651,
716,
7364,
29889,
3332,
8091,
29889,
29916,
4619,
1583,
29889,
9398,
6332,
8009,
13,
9651,
716,
7364,
29889,
3332,
8091,
29889,
29891,
4619,
1583,
29889,
9398,
6332,
8009,
13,
9651,
3474,
29889,
2029,
403,
29898,
1482,
7364,
29897,
13,
9651,
1583,
29889,
9398,
6332,
8009,
22361,
29871,
29896,
13,
13,
1678,
822,
437,
3981,
29898,
1311,
29892,
3474,
29892,
334,
29918,
5085,
1125,
13,
4706,
565,
1583,
29889,
275,
29911,
488,
519,
29898,
7165,
1125,
13,
9651,
1583,
29889,
9398,
6332,
8009,
4619,
29871,
29896,
13,
9651,
1583,
29889,
4230,
1043,
353,
3474,
13,
13,
1678,
822,
437,
29911,
488,
29898,
1311,
29892,
3474,
29892,
13451,
1125,
13,
4706,
565,
1583,
29889,
275,
29911,
488,
519,
29898,
7165,
1125,
13,
9651,
364,
353,
1583,
29889,
28667,
29911,
488,
7364,
29898,
1311,
29889,
29873,
488,
8009,
29892,
13451,
29897,
13,
9651,
3474,
29889,
2029,
403,
29898,
29878,
29897,
13,
9651,
1583,
29889,
29873,
488,
8009,
22361,
29871,
29896,
13,
13,
1678,
822,
12522,
3204,
29898,
1311,
1125,
13,
4706,
1583,
3032,
7042,
353,
6213,
13,
4706,
2428,
2141,
845,
329,
3204,
580,
13,
13,
1678,
822,
3209,
6332,
29898,
1311,
29892,
364,
1125,
13,
4706,
9995,
13,
4706,
14104,
267,
599,
278,
5417,
297,
263,
3209,
6332,
29899,
4561,
13460,
29889,
13,
13,
4706,
4367,
275,
12922,
599,
25900,
519,
5417,
15205,
491,
278,
553,
29895,
2246,
297,
3209,
29883,
11932,
13,
4706,
3402,
29889,
450,
937,
25900,
519,
3474,
297,
796,
29899,
2098,
313,
1552,
3474,
376,
262,
1250,
1159,
338,
13,
4706,
19342,
287,
304,
5445,
278,
553,
29895,
2246,
29892,
322,
1269,
9269,
292,
3474,
27793,
263,
5120,
13,
4706,
6763,
697,
1196,
5224,
322,
697,
2913,
4340,
304,
278,
1492,
1135,
278,
13,
4706,
697,
1434,
29889,
450,
6136,
3474,
5692,
376,
265,
2246,
29908,
408,
278,
19087,
3474,
29889,
13,
13,
4706,
584,
3207,
364,
29901,
22914,
2521,
304,
3209,
6332,
964,
13,
4706,
9995,
13,
4706,
1375,
3505,
353,
8984,
580,
13,
4706,
4236,
3505,
353,
8984,
580,
13,
4706,
1583,
29889,
9398,
6332,
8009,
353,
29871,
29900,
13,
13,
4706,
1583,
29889,
14142,
29898,
1311,
29889,
1867,
3981,
29892,
6213,
29897,
13,
4706,
565,
1583,
29889,
9398,
6332,
8009,
1405,
29871,
29900,
29901,
13,
9651,
1583,
29889,
4230,
1043,
29889,
2311,
29931,
326,
1169,
29898,
1195,
3505,
29892,
4236,
3505,
29897,
13,
9651,
565,
5135,
1195,
3505,
29889,
29916,
1405,
364,
29889,
8968,
7341,
29889,
29916,
448,
364,
29889,
3332,
8091,
29889,
29916,
448,
1583,
29889,
9398,
6332,
8009,
29897,
470,
13,
462,
1678,
313,
1195,
3505,
29889,
29891,
1405,
364,
29889,
8968,
7341,
29889,
29891,
448,
364,
29889,
3332,
8091,
29889,
29891,
448,
1583,
29889,
9398,
6332,
8009,
22164,
13,
18884,
1583,
29889,
29873,
488,
2392,
580,
13,
9651,
1683,
29901,
13,
18884,
1583,
29889,
9398,
6332,
8009,
22361,
29871,
29896,
13,
18884,
1583,
29889,
908,
580,
13,
18884,
1018,
29901,
13,
462,
1678,
1583,
29889,
14142,
29898,
1311,
29889,
1867,
29907,
294,
6332,
29892,
364,
29897,
13,
18884,
7146,
29901,
13,
462,
1678,
1583,
29889,
348,
908,
580,
13,
13,
1678,
822,
4386,
2624,
29898,
1311,
29892,
1741,
1125,
13,
4706,
9995,
13,
4706,
315,
4293,
421,
9136,
2141,
8411,
2624,
2555,
322,
4893,
2562,
310,
278,
8260,
421,
4912,
9190,
29952,
13,
4706,
313,
375,
1474,
278,
7375,
1820,
383,
29953,
29897,
322,
421,
4912,
6572,
29894,
29952,
491,
5094,
19914,
1549,
278,
5417,
13,
4706,
15205,
491,
278,
14616,
29892,
6257,
411,
278,
5279,
4629,
1776,
29889,
13,
13,
4706,
584,
3207,
1741,
29901,
450,
1741,
304,
4386,
13,
4706,
9995,
13,
4706,
2428,
2141,
8411,
2624,
29898,
3696,
29897,
13,
13,
4706,
565,
1741,
29889,
5816,
1275,
3415,
6255,
29901,
13,
9651,
274,
353,
1741,
29889,
4906,
29889,
6519,
13,
13,
9651,
565,
274,
1275,
7477,
9190,
29901,
13,
18884,
565,
1583,
29889,
3084,
29898,
4912,
1123,
4611,
20560,
1125,
13,
462,
1678,
1583,
29889,
2622,
9190,
29898,
8824,
29897,
13,
9651,
25342,
274,
1275,
7477,
6572,
29894,
29901,
13,
18884,
565,
1583,
29889,
3084,
29898,
4912,
1123,
4611,
20560,
1125,
13,
462,
1678,
1583,
29889,
3784,
29889,
649,
797,
29348,
2776,
29898,
1311,
3032,
7042,
29897,
13,
9651,
1683,
29901,
13,
18884,
736,
13,
9651,
1583,
29889,
8551,
2624,
29898,
3696,
29897,
13,
13,
1678,
822,
2069,
10581,
29898,
1311,
29892,
13451,
1125,
13,
4706,
9995,
13,
4706,
6760,
1078,
263,
716,
3239,
29889,
13,
13,
4706,
16969,
263,
15141,
29899,
11600,
421,
10581,
29952,
1203,
29889,
13,
4706,
450,
421,
7042,
29952,
848,
4509,
338,
731,
304,
1298,
472,
278,
716,
421,
10581,
29952,
1203,
29889,
13,
13,
4706,
6811,
2426,
445,
1158,
565,
366,
864,
263,
2888,
3239,
29889,
13,
13,
4706,
584,
3207,
13451,
29901,
350,
3885,
310,
278,
14616,
13,
4706,
584,
2457,
29901,
319,
421,
10581,
29952,
1203,
13,
4706,
9995,
13,
4706,
736,
16585,
29898,
23687,
29892,
1583,
29889,
23397,
29918,
29933,
11375,
29954,
1672,
18783,
29897,
13,
13,
1678,
822,
25900,
29898,
1311,
29892,
13451,
1125,
13,
4706,
9995,
13,
4706,
14104,
267,
599,
278,
5417,
297,
263,
25900,
29899,
4561,
13460,
29889,
13,
13,
4706,
584,
3207,
13451,
29901,
350,
3885,
310,
278,
14616,
13,
4706,
9995,
13,
4706,
1583,
29889,
1949,
29911,
488,
519,
353,
29871,
29900,
13,
4706,
1583,
29889,
14142,
29898,
1311,
29889,
1867,
3981,
29911,
488,
519,
29892,
6213,
29897,
13,
4706,
565,
1583,
29889,
1949,
29911,
488,
519,
1405,
29871,
29900,
29901,
13,
9651,
1583,
29889,
1949,
1625,
29879,
29892,
1583,
29889,
1949,
10661,
353,
1583,
29889,
3242,
9843,
12596,
275,
943,
29898,
1311,
29889,
1949,
29911,
488,
519,
29897,
13,
13,
9651,
565,
313,
3552,
23687,
29889,
8968,
7341,
29889,
29916,
448,
13451,
29889,
3332,
8091,
29889,
29916,
29897,
849,
1583,
29889,
1949,
1625,
29879,
1275,
29871,
29900,
29897,
470,
13,
462,
1678,
5135,
23687,
29889,
8968,
7341,
29889,
29891,
448,
13451,
29889,
3332,
8091,
29889,
29891,
29897,
849,
1583,
29889,
1949,
10661,
1275,
29871,
29900,
22164,
13,
18884,
1583,
29889,
29873,
488,
2392,
580,
13,
9651,
1683,
29901,
13,
18884,
1583,
29889,
1563,
3563,
353,
1583,
29889,
1949,
29911,
488,
519,
1273,
1583,
29889,
1949,
1625,
29879,
13,
18884,
1583,
29889,
29873,
488,
8009,
353,
1583,
29889,
1949,
29911,
488,
519,
448,
29871,
29896,
13,
18884,
1583,
29889,
908,
580,
13,
18884,
1018,
29901,
13,
462,
1678,
1583,
29889,
14142,
29898,
1311,
29889,
1867,
29911,
488,
29892,
13451,
29897,
13,
18884,
7146,
29901,
13,
462,
1678,
1583,
29889,
348,
908,
580,
13,
13,
1678,
822,
25900,
2392,
29898,
1311,
1125,
13,
4706,
9995,
13,
4706,
3037,
839,
373,
260,
6504,
1059,
29889,
13,
13,
4706,
910,
1158,
338,
2000,
10940,
421,
9398,
6332,
2555,
470,
421,
29873,
488,
2555,
1065,
964,
13,
4706,
18835,
297,
8401,
278,
5417,
29889,
887,
508,
5712,
372,
565,
366,
864,
304,
13,
4706,
2367,
385,
1059,
2643,
304,
278,
1404,
29889,
2648,
2322,
29892,
372,
947,
3078,
29889,
13,
4706,
9995,
13,
4706,
17927,
29889,
2704,
877,
29873,
488,
1059,
29889,
1495,
13,
4706,
1209,
13,
2
] |
examples/processors/other.py | calibre12/zipreport | 0 | 85087 | from zipreport import ZipReportCli
from zipreport.processors.zipreport import ZipReportClient, ZipReportProcessor
from zipreport.report import ReportFileLoader, ReportJob
from zipreport.template import JinjaRender
def generate_pdf_server(report:str, data: dict, output_file:str) -> bool:
zpt = ReportFileLoader.load(report) # load zpt file
JinjaRender(zpt).render(data) # render jinja template with parameters
job = ReportJob(zpt) # create new rendering job
job.set_jsevent(True) # report uses event hook
job.set_jsevent_timeout(500)
job.set_process_timeout(600)
job.set_render_timeout(600)
client = ZipReportClient('http://127.0.0.1:6543', "") # zipreport-server client
result = ZipReportProcessor(client).process(job) # render
if result.success:
with open(output_file, 'wb') as rpt:
rpt.write(result.report.read())
return True
return False
def generate_pdf_cli(zipreport_cli:str, report: str, data: dict, output_file: str) -> bool:
zpt = ReportFileLoader.load(report) # load zpt file
JinjaRender(zpt).render(data) # render jinja template with parameters
job = ReportJob(zpt) # create new rendering job
job.set_jsevent(True) # report uses event hook
job.set_jsevent_timeout(500)
job.set_process_timeout(600)
job.set_render_timeout(600)
result = ZipReportCli(zipreport_cli).render(job, data)
if result.success:
with open(output_file, 'wb') as rpt:
rpt.write(result.report.read())
return True
return False
| [
1,
515,
14319,
12276,
1053,
796,
666,
13020,
29907,
492,
13,
3166,
14319,
12276,
29889,
5014,
943,
29889,
7554,
12276,
1053,
796,
666,
13020,
4032,
29892,
796,
666,
13020,
18689,
13,
3166,
14319,
12276,
29889,
12276,
1053,
13969,
2283,
10036,
29892,
13969,
11947,
13,
3166,
14319,
12276,
29889,
6886,
1053,
29779,
1764,
10716,
13,
13,
1753,
5706,
29918,
5140,
29918,
2974,
29898,
12276,
29901,
710,
29892,
848,
29901,
9657,
29892,
1962,
29918,
1445,
29901,
710,
29897,
1599,
6120,
29901,
13,
13,
1678,
503,
415,
353,
13969,
2283,
10036,
29889,
1359,
29898,
12276,
29897,
396,
2254,
503,
415,
934,
13,
1678,
29779,
1764,
10716,
29898,
29920,
415,
467,
9482,
29898,
1272,
29897,
259,
396,
4050,
432,
262,
1764,
4472,
411,
4128,
13,
13,
1678,
4982,
353,
13969,
11947,
29898,
29920,
415,
29897,
4706,
396,
1653,
716,
15061,
4982,
13,
1678,
4982,
29889,
842,
29918,
29926,
344,
794,
29898,
5574,
29897,
539,
396,
3461,
3913,
1741,
12422,
13,
1678,
4982,
29889,
842,
29918,
29926,
344,
794,
29918,
15619,
29898,
29945,
29900,
29900,
29897,
13,
1678,
4982,
29889,
842,
29918,
5014,
29918,
15619,
29898,
29953,
29900,
29900,
29897,
13,
1678,
4982,
29889,
842,
29918,
9482,
29918,
15619,
29898,
29953,
29900,
29900,
29897,
13,
13,
1678,
3132,
353,
796,
666,
13020,
4032,
877,
1124,
597,
29896,
29906,
29955,
29889,
29900,
29889,
29900,
29889,
29896,
29901,
29953,
29945,
29946,
29941,
742,
20569,
259,
396,
14319,
12276,
29899,
2974,
3132,
13,
1678,
1121,
353,
796,
666,
13020,
18689,
29898,
4645,
467,
5014,
29898,
9057,
29897,
1678,
396,
4050,
13,
13,
1678,
565,
1121,
29889,
8698,
29901,
13,
4706,
411,
1722,
29898,
4905,
29918,
1445,
29892,
525,
29893,
29890,
1495,
408,
364,
415,
29901,
13,
9651,
364,
415,
29889,
3539,
29898,
2914,
29889,
12276,
29889,
949,
3101,
13,
4706,
736,
5852,
13,
1678,
736,
7700,
13,
13,
13,
1753,
5706,
29918,
5140,
29918,
11303,
29898,
7554,
12276,
29918,
11303,
29901,
710,
29892,
3461,
29901,
851,
29892,
848,
29901,
9657,
29892,
1962,
29918,
1445,
29901,
851,
29897,
1599,
6120,
29901,
13,
13,
1678,
503,
415,
353,
13969,
2283,
10036,
29889,
1359,
29898,
12276,
29897,
29871,
396,
2254,
503,
415,
934,
13,
1678,
29779,
1764,
10716,
29898,
29920,
415,
467,
9482,
29898,
1272,
29897,
29871,
396,
4050,
432,
262,
1764,
4472,
411,
4128,
13,
13,
1678,
4982,
353,
13969,
11947,
29898,
29920,
415,
29897,
29871,
396,
1653,
716,
15061,
4982,
13,
1678,
4982,
29889,
842,
29918,
29926,
344,
794,
29898,
5574,
29897,
29871,
396,
3461,
3913,
1741,
12422,
13,
1678,
4982,
29889,
842,
29918,
29926,
344,
794,
29918,
15619,
29898,
29945,
29900,
29900,
29897,
13,
1678,
4982,
29889,
842,
29918,
5014,
29918,
15619,
29898,
29953,
29900,
29900,
29897,
13,
1678,
4982,
29889,
842,
29918,
9482,
29918,
15619,
29898,
29953,
29900,
29900,
29897,
13,
13,
1678,
1121,
353,
796,
666,
13020,
29907,
492,
29898,
7554,
12276,
29918,
11303,
467,
9482,
29898,
9057,
29892,
848,
29897,
13,
13,
1678,
565,
1121,
29889,
8698,
29901,
13,
4706,
411,
1722,
29898,
4905,
29918,
1445,
29892,
525,
29893,
29890,
1495,
408,
364,
415,
29901,
13,
9651,
364,
415,
29889,
3539,
29898,
2914,
29889,
12276,
29889,
949,
3101,
13,
4706,
736,
5852,
13,
1678,
736,
7700,
13,
2
] |
scripts/NameParser.py | lauriholmas/harn-tools | 5 | 128060 | import csv, json
def writeNames():
given_names = { 'male': [], 'female': [] }
surnames = []
with open('ScandinavianNames.data.json', 'w', encoding='utf-8') as jsonFile:
given_names['male'] = parseNames('ScandinavianMaleNames.csv')
given_names['female'] = parseNames('ScandinavianFemaleNames.csv')
# surnames = praseNames()
json.dump({'given_names': given_names, 'surnames': surnames}, jsonFile)
def parseNames(filename):
names = []
with open(filename, encoding='utf-8') as nameFile:
nameReader = csv.reader(nameFile)
for row in nameReader:
for item in row:
if item:
words = item.split(',')
for word in words:
names.append(word.replace('?', '').strip())
return names
if __name__ == '__main__':
writeNames()
print("Done")
| [
1,
1053,
11799,
29892,
4390,
13,
13,
1753,
2436,
8659,
7295,
13,
1678,
2183,
29918,
7039,
353,
426,
525,
19202,
2396,
19997,
525,
29888,
331,
744,
2396,
5159,
500,
13,
1678,
269,
595,
1280,
353,
5159,
13,
1678,
411,
1722,
877,
4421,
392,
262,
485,
713,
8659,
29889,
1272,
29889,
3126,
742,
525,
29893,
742,
8025,
2433,
9420,
29899,
29947,
1495,
408,
4390,
2283,
29901,
13,
4706,
2183,
29918,
7039,
1839,
19202,
2033,
353,
6088,
8659,
877,
4421,
392,
262,
485,
713,
29924,
744,
8659,
29889,
7638,
1495,
13,
4706,
2183,
29918,
7039,
1839,
29888,
331,
744,
2033,
353,
6088,
8659,
877,
4421,
392,
262,
485,
713,
29943,
331,
744,
8659,
29889,
7638,
1495,
13,
4706,
396,
269,
595,
1280,
353,
544,
559,
8659,
580,
13,
4706,
4390,
29889,
15070,
3319,
29915,
29887,
5428,
29918,
7039,
2396,
2183,
29918,
7039,
29892,
525,
29879,
595,
1280,
2396,
269,
595,
1280,
1118,
4390,
2283,
29897,
13,
13,
1753,
6088,
8659,
29898,
9507,
1125,
13,
1678,
2983,
353,
5159,
13,
1678,
411,
1722,
29898,
9507,
29892,
8025,
2433,
9420,
29899,
29947,
1495,
408,
1024,
2283,
29901,
13,
4706,
1024,
6982,
353,
11799,
29889,
16950,
29898,
978,
2283,
29897,
13,
4706,
363,
1948,
297,
1024,
6982,
29901,
13,
9651,
363,
2944,
297,
1948,
29901,
13,
18884,
565,
2944,
29901,
13,
462,
1678,
3838,
353,
2944,
29889,
5451,
29317,
1495,
13,
462,
1678,
363,
1734,
297,
3838,
29901,
13,
462,
418,
2983,
29889,
4397,
29898,
1742,
29889,
6506,
877,
29973,
742,
525,
2824,
17010,
3101,
13,
1678,
736,
2983,
13,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
1678,
2436,
8659,
580,
13,
1678,
1596,
703,
25632,
1159,
13,
2
] |
test/unit/jobs/test_statuses.py | NHSDigital/list-reconciliation | 4 | 51513 | import pytest
from jobs.statuses import JobStatus
@pytest.mark.parametrize(
"code,value",
[
(JobStatus.SENT_TO_DPS, "SENT_TO_DPS"),
(JobStatus.PROCESSED_BY_DPS, "PROCESSED_BY_DPS"),
(JobStatus.COMPLETE, "COMPLETE"),
(JobStatus.NOTIFIED_VALIDATION_FAILED, "NOTIFIED_VALIDATION_FAILED"),
(JobStatus.CLEANED_UP, "CLEANED_UP"),
],
)
def test_statuses_have_correct_value(code, value):
assert code.value == value
| [
1,
1053,
11451,
1688,
13,
3166,
17643,
29889,
4882,
267,
1053,
17163,
5709,
13,
13,
13,
29992,
2272,
1688,
29889,
3502,
29889,
3207,
300,
374,
911,
29898,
13,
1678,
376,
401,
29892,
1767,
613,
13,
1678,
518,
13,
4706,
313,
11947,
5709,
29889,
29903,
3919,
29918,
4986,
29918,
29928,
7024,
29892,
376,
29903,
3919,
29918,
4986,
29918,
29928,
7024,
4968,
13,
4706,
313,
11947,
5709,
29889,
8618,
27266,
1660,
29928,
29918,
22716,
29918,
29928,
7024,
29892,
376,
8618,
27266,
1660,
29928,
29918,
22716,
29918,
29928,
7024,
4968,
13,
4706,
313,
11947,
5709,
29889,
21514,
18476,
29892,
376,
21514,
18476,
4968,
13,
4706,
313,
11947,
5709,
29889,
12256,
29902,
3738,
3352,
29918,
26707,
8098,
29918,
4519,
29902,
20566,
29892,
376,
12256,
29902,
3738,
3352,
29918,
26707,
8098,
29918,
4519,
29902,
20566,
4968,
13,
4706,
313,
11947,
5709,
29889,
29907,
1307,
2190,
3352,
29918,
4897,
29892,
376,
29907,
1307,
2190,
3352,
29918,
4897,
4968,
13,
1678,
21251,
13,
29897,
13,
1753,
1243,
29918,
4882,
267,
29918,
17532,
29918,
15728,
29918,
1767,
29898,
401,
29892,
995,
1125,
13,
1678,
4974,
775,
29889,
1767,
1275,
995,
13,
2
] |
itdtool/tasks.py | nikoskal/itd_tool | 0 | 106816 | # from __future__ import absolute_import
#
# from itdtool.celeryapp import app
# # from lxml import etree
# # import xmltodict
# import sys
# # from passlib.hash import md5_crypt
# from django.conf import settings
#
#
#
# # @app.task
# def get_query_params_id(id):
#
# from itdtool.models import QueryParameters
# query_parameters = QueryParameters.objects.filter(id=id)
# # print "get_query_params_id "+ str(id)
# # print "result " + str(query_parameters)
# for query_parameter in query_parameters:
# result = {
# "id": query_parameter.id,
# "description": query_parameter.description,
# "sources": query_parameter.sources,
# "location": query_parameter.location,
# "start_date": query_parameter.start_date,
# "end_date": query_parameter.end_date,
# "inference": query_parameter.inference,
# "questions": query_parameter.questions
# }
#
#
# # print("retrieve query_parameter by id" + str(result))
#
# return result
#
#
# # @app.task
# def delete_query_params_id(id):
#
# query_deleted = QueryParameters.objects.filter(id=id)[0]
# res = query_deleted.delete()
#
# return res
#
#
# # @app.task
# def add_query_params(description, sources, location, start_date, end_date, inference, questions):
#
# # description = models.TextField()
# # sources = models.CharField(max_length=30) #["Twitter", "Google", "Youtube"]
# # location = models.CharField(max_length=30) # ["Athens", "Rome", "Madrid"]
# # start_date = models.DateTimeField() # starting time period to search
# # end_date = models.DateTimeField() # ending time period to search
# # inference = models.BooleanField()
# # questions = models.BooleanField()
#
# query_parameters = QueryParameters(description=description, sources=sources,location=location,
# start_date=start_date, end_date=end_date, inference=inference,
# questions=questions)
# query_parameters.save()
# print "saved:" + str(query_parameters)
#
# return query_parameters
#
#
# # @app.task
# def get_all_query_params():
#
# query_parameters_all = QueryParameters.objects.all()
# print query_parameters_all
# results = []
#
# for query_parameter in query_parameters_all:
# print("retrieve all query_parameter " + str(query_parameter))
# d = {"id": query_parameter.id,
# "description": query_parameter.description,
# "sources": query_parameter.sources,
# "location": query_parameter.location,
# "start_date": query_parameter.start_date,
# "end_date": query_parameter.end_date,
# "inference": query_parameter.inference,
# "questions": query_parameter.questions}
# results.append(d)
# return results
#
| [
1,
396,
515,
4770,
29888,
9130,
1649,
1053,
8380,
29918,
5215,
13,
29937,
13,
29937,
515,
372,
29881,
10154,
29889,
2242,
708,
932,
1053,
623,
13,
29937,
396,
515,
301,
3134,
1053,
634,
929,
13,
29937,
396,
1053,
4903,
20034,
919,
13,
29937,
1053,
10876,
13,
29937,
396,
515,
1209,
1982,
29889,
8568,
1053,
22821,
29945,
29918,
29883,
4641,
13,
29937,
515,
9557,
29889,
5527,
1053,
6055,
13,
29937,
13,
29937,
13,
29937,
13,
29937,
396,
732,
932,
29889,
7662,
13,
29937,
822,
679,
29918,
1972,
29918,
7529,
29918,
333,
29898,
333,
1125,
13,
29937,
13,
29937,
268,
515,
372,
29881,
10154,
29889,
9794,
1053,
13641,
11507,
13,
29937,
268,
2346,
29918,
16744,
353,
13641,
11507,
29889,
12650,
29889,
4572,
29898,
333,
29922,
333,
29897,
13,
29937,
268,
396,
1596,
376,
657,
29918,
1972,
29918,
7529,
29918,
333,
15691,
851,
29898,
333,
29897,
13,
29937,
268,
396,
1596,
376,
2914,
376,
718,
851,
29898,
1972,
29918,
16744,
29897,
13,
29937,
268,
363,
2346,
29918,
15501,
297,
2346,
29918,
16744,
29901,
13,
29937,
308,
1121,
353,
426,
13,
29937,
632,
376,
333,
1115,
2346,
29918,
15501,
29889,
333,
29892,
13,
29937,
632,
376,
8216,
1115,
2346,
29918,
15501,
29889,
8216,
29892,
13,
29937,
632,
376,
29879,
2863,
1115,
2346,
29918,
15501,
29889,
29879,
2863,
29892,
13,
29937,
632,
376,
5479,
1115,
2346,
29918,
15501,
29889,
5479,
29892,
13,
29937,
632,
376,
2962,
29918,
1256,
1115,
2346,
29918,
15501,
29889,
2962,
29918,
1256,
29892,
13,
29937,
632,
376,
355,
29918,
1256,
1115,
2346,
29918,
15501,
29889,
355,
29918,
1256,
29892,
13,
29937,
632,
376,
262,
1659,
1115,
2346,
29918,
15501,
29889,
262,
1659,
29892,
13,
29937,
632,
376,
2619,
1115,
2346,
29918,
15501,
29889,
2619,
13,
29937,
308,
500,
13,
29937,
13,
29937,
13,
29937,
268,
396,
1596,
703,
276,
509,
2418,
2346,
29918,
15501,
491,
1178,
29908,
718,
851,
29898,
2914,
876,
13,
29937,
13,
29937,
268,
736,
1121,
13,
29937,
13,
29937,
13,
29937,
396,
732,
932,
29889,
7662,
13,
29937,
822,
5217,
29918,
1972,
29918,
7529,
29918,
333,
29898,
333,
1125,
13,
29937,
13,
29937,
268,
2346,
29918,
311,
22742,
353,
13641,
11507,
29889,
12650,
29889,
4572,
29898,
333,
29922,
333,
9601,
29900,
29962,
13,
29937,
268,
620,
353,
2346,
29918,
311,
22742,
29889,
8143,
580,
13,
29937,
13,
29937,
268,
736,
620,
13,
29937,
13,
29937,
13,
29937,
396,
732,
932,
29889,
7662,
13,
29937,
822,
788,
29918,
1972,
29918,
7529,
29898,
8216,
29892,
8974,
29892,
4423,
29892,
1369,
29918,
1256,
29892,
1095,
29918,
1256,
29892,
27262,
29892,
5155,
1125,
13,
29937,
13,
29937,
268,
396,
6139,
353,
4733,
29889,
15778,
580,
13,
29937,
268,
396,
8974,
353,
4733,
29889,
27890,
29898,
3317,
29918,
2848,
29922,
29941,
29900,
29897,
396,
3366,
27418,
5171,
613,
376,
14207,
613,
376,
29979,
15907,
3108,
13,
29937,
268,
396,
4423,
353,
4733,
29889,
27890,
29898,
3317,
29918,
2848,
29922,
29941,
29900,
29897,
29871,
396,
6796,
29909,
386,
575,
613,
376,
29934,
608,
613,
376,
21878,
2429,
3108,
13,
29937,
268,
396,
1369,
29918,
1256,
353,
4733,
29889,
11384,
3073,
580,
29871,
396,
6257,
931,
3785,
304,
2740,
13,
29937,
268,
396,
1095,
29918,
1256,
353,
4733,
29889,
11384,
3073,
580,
29871,
396,
17140,
931,
3785,
304,
2740,
13,
29937,
268,
396,
27262,
353,
4733,
29889,
18146,
3073,
580,
13,
29937,
268,
396,
5155,
353,
4733,
29889,
18146,
3073,
580,
13,
29937,
13,
29937,
268,
2346,
29918,
16744,
353,
13641,
11507,
29898,
8216,
29922,
8216,
29892,
8974,
29922,
29879,
2863,
29892,
5479,
29922,
5479,
29892,
13,
29937,
462,
462,
4706,
1369,
29918,
1256,
29922,
2962,
29918,
1256,
29892,
1095,
29918,
1256,
29922,
355,
29918,
1256,
29892,
27262,
29922,
262,
1659,
29892,
13,
29937,
462,
462,
4706,
5155,
29922,
2619,
29897,
13,
29937,
268,
2346,
29918,
16744,
29889,
7620,
580,
13,
29937,
268,
1596,
376,
17314,
6160,
718,
851,
29898,
1972,
29918,
16744,
29897,
13,
29937,
13,
29937,
268,
736,
2346,
29918,
16744,
13,
29937,
13,
29937,
13,
29937,
396,
732,
932,
29889,
7662,
13,
29937,
822,
679,
29918,
497,
29918,
1972,
29918,
7529,
7295,
13,
29937,
13,
29937,
268,
2346,
29918,
16744,
29918,
497,
353,
13641,
11507,
29889,
12650,
29889,
497,
580,
13,
29937,
268,
1596,
2346,
29918,
16744,
29918,
497,
13,
29937,
268,
2582,
353,
5159,
13,
29937,
13,
29937,
268,
363,
2346,
29918,
15501,
297,
2346,
29918,
16744,
29918,
497,
29901,
13,
29937,
308,
1596,
703,
276,
509,
2418,
599,
2346,
29918,
15501,
376,
718,
851,
29898,
1972,
29918,
15501,
876,
13,
29937,
308,
270,
353,
8853,
333,
1115,
2346,
29918,
15501,
29889,
333,
29892,
13,
29937,
632,
376,
8216,
1115,
2346,
29918,
15501,
29889,
8216,
29892,
13,
29937,
795,
376,
29879,
2863,
1115,
2346,
29918,
15501,
29889,
29879,
2863,
29892,
13,
29937,
795,
376,
5479,
1115,
2346,
29918,
15501,
29889,
5479,
29892,
13,
29937,
795,
376,
2962,
29918,
1256,
1115,
2346,
29918,
15501,
29889,
2962,
29918,
1256,
29892,
13,
29937,
795,
376,
355,
29918,
1256,
1115,
2346,
29918,
15501,
29889,
355,
29918,
1256,
29892,
13,
29937,
795,
376,
262,
1659,
1115,
2346,
29918,
15501,
29889,
262,
1659,
29892,
13,
29937,
795,
376,
2619,
1115,
2346,
29918,
15501,
29889,
2619,
29913,
13,
29937,
308,
2582,
29889,
4397,
29898,
29881,
29897,
13,
29937,
268,
736,
2582,
13,
29937,
13,
2
] |
src/didery/controllers/history.py | reputage/didery | 8 | 1600574 | <reponame>reputage/didery
import falcon
import arrow
import time
try:
import simplejson as json
except ImportError:
import json
from ..help import helping
from ..did.didering import Did, getDIDModel
from ..db import dbing as db
from ..controllers.validation import factory
from ..models.models import BasicHistoryModel
def validate(req, resp, resource, params):
"""
Validate incoming requests and prepare
body of request for processing.
:param req: falcon.Request object
:param resp: falcon.Response object
:param resource: History controller object
:param params: (dict) URI Template field names
"""
validator = factory.historyFactory(resource.mode, req, params)
validator.validate()
class History:
def __init__(self, store=None, mode=None):
"""
:param store: Store
store is reference to ioflo data store
"""
self.store = store
self.mode = mode
@falcon.before(helping.parseQString)
def on_get(self, req, resp, did=None):
"""
Handle and respond to incoming GET request.
:param req: Request object
:param resp: Response object
:param did: string
URL parameter specifying a rotation history
"""
offset = req.offset
limit = req.limit
count = db.historyDB.historyCount()
if did is not None:
body = db.historyDB.getHistory(did)
if body is None:
raise falcon.HTTPError(falcon.HTTP_404)
body = body.data
else:
if offset >= count:
resp.body = json.dumps({}, ensure_ascii=False)
return
body = db.historyDB.getAllHistories(offset, limit)
resp.append_header('X-Total-Count', count)
resp.body = json.dumps(body, ensure_ascii=False)
@falcon.before(validate)
def on_post(self, req, resp):
"""
Handle and respond to incoming POST request.
:param req: Request object
:param resp: Response object
"""
request_json = BasicHistoryModel(req.body)
sigs = req.signatures
did = request_json.id
# TODO: review signature validation for any holes
response_json = db.historyDB.saveHistory(did, request_json.data, sigs)
db.eventsDB.saveEvent(did, request_json.data, sigs)
resp.body = json.dumps(response_json, ensure_ascii=False)
resp.status = falcon.HTTP_201
@falcon.before(validate)
def on_put(self, req, resp, did):
"""
Handle and respond to incoming PUT request.
:param req: Request object
:param resp: Response object
:param did: decentralized identifier
"""
request_data = BasicHistoryModel(req.body)
sigs = req.signatures
# TODO: review signature validation for any holes
response_json = db.historyDB.saveHistory(did, request_data.data, sigs)
db.eventsDB.saveEvent(did, request_data.data, sigs)
resp.body = json.dumps(response_json, ensure_ascii=False)
@falcon.before(validate)
def on_delete(self, req, resp, did):
"""
Handle and respond to incoming PUT request.
:param req: Request object
:param resp: Response object
:param did: decentralized identifier
"""
vk = req.body["vk"]
if self.mode == "method":
did_class = getDIDModel(did)
if did_class is not None: # Test id-string Resolver exists
did_obj = did_class(did)
if did_obj.match_vk(vk):
vk = None # Delete all data
success = db.historyDB.deleteHistory(did, vk)
db.eventsDB.deleteEvent(did, vk)
if success is None:
raise falcon.HTTPError(falcon.HTTP_409,
'Deletion Error',
'Error while attempting to delete the resource.')
success = success if isinstance(success, list) else [success]
resp.body = json.dumps({"deleted": success}, ensure_ascii=False)
class HistoryStream:
def __init__(self, store=None):
"""
:param store: Store
store is reference to ioflo data store
"""
self.store = store
self.id = 0
self.history = None
def historyGenerator(self, did=None):
if did is None:
count = db.historyDB.historyCount()
if self.history == count:
time.sleep(2)
else:
self.history = count
history = db.historyDB.getAllHistories(limit=self.history)
temp = []
for entry in history['data']:
temp.append(json.loads(entry.decode('utf-8')))
history = {"data": temp}
yield bytes("\nid:" + str(self.id) + "\nevent:message\ndata:" + str(history) + "\n\n", "ascii")
self.id += 1
time.sleep(2)
else:
value = db.historyDB.getHistory(did)
if value is None:
raise falcon.HTTPError(falcon.HTTP_404)
if self.history == value:
time.sleep(2)
else:
self.history = value
print(self.history)
yield bytes("\nid:" + str(self.id) + "\nevent:message\ndata:" + str(self.history) + "\n\n", "ascii")
self.id += 1
time.sleep(2)
def on_get(self, req, resp, did=None):
resp.status = falcon.HTTP_200
resp.content_type = "text/event-stream"
resp.stream = self.historyGenerator(did)
| [
1,
529,
276,
1112,
420,
29958,
276,
649,
482,
29914,
18361,
708,
13,
5215,
11092,
535,
13,
5215,
16578,
13,
5215,
931,
13,
13,
2202,
29901,
13,
1678,
1053,
2560,
3126,
408,
4390,
13,
19499,
16032,
2392,
29901,
13,
1678,
1053,
4390,
13,
13,
3166,
6317,
8477,
1053,
19912,
13,
3166,
6317,
18361,
29889,
29881,
1241,
292,
1053,
7440,
29892,
679,
29928,
1367,
3195,
13,
3166,
6317,
2585,
1053,
4833,
292,
408,
4833,
13,
3166,
6317,
1285,
11897,
29889,
18157,
1053,
12529,
13,
3166,
6317,
9794,
29889,
9794,
1053,
19219,
20570,
3195,
13,
13,
13,
1753,
12725,
29898,
7971,
29892,
4613,
29892,
6503,
29892,
8636,
1125,
13,
1678,
9995,
13,
1678,
15758,
403,
23235,
7274,
322,
19012,
13,
1678,
3573,
310,
2009,
363,
9068,
29889,
13,
13,
1678,
584,
3207,
12428,
29901,
11092,
535,
29889,
3089,
1203,
13,
1678,
584,
3207,
4613,
29901,
11092,
535,
29889,
5103,
1203,
13,
1678,
584,
3207,
6503,
29901,
5298,
4701,
1203,
13,
1678,
584,
3207,
8636,
29901,
313,
8977,
29897,
23539,
25663,
1746,
2983,
13,
1678,
9995,
13,
1678,
2854,
1061,
353,
12529,
29889,
18434,
5126,
29898,
10314,
29889,
8513,
29892,
12428,
29892,
8636,
29897,
13,
1678,
2854,
1061,
29889,
15480,
580,
13,
13,
13,
1990,
5298,
29901,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
3787,
29922,
8516,
29892,
4464,
29922,
8516,
1125,
13,
4706,
9995,
13,
4706,
584,
3207,
3787,
29901,
14491,
13,
9651,
3787,
338,
3407,
304,
474,
974,
417,
848,
3787,
13,
4706,
9995,
13,
4706,
1583,
29889,
8899,
353,
3787,
13,
4706,
1583,
29889,
8513,
353,
4464,
13,
13,
1678,
732,
18263,
535,
29889,
11083,
29898,
8477,
292,
29889,
5510,
29984,
1231,
29897,
13,
1678,
822,
373,
29918,
657,
29898,
1311,
29892,
12428,
29892,
4613,
29892,
1258,
29922,
8516,
1125,
13,
4706,
9995,
13,
4706,
29273,
322,
10049,
304,
23235,
12354,
2009,
29889,
13,
4706,
584,
3207,
12428,
29901,
10729,
1203,
13,
4706,
584,
3207,
4613,
29901,
13291,
1203,
13,
4706,
584,
3207,
1258,
29901,
1347,
13,
9651,
3988,
3443,
22146,
263,
13733,
4955,
13,
4706,
9995,
13,
4706,
9210,
353,
12428,
29889,
10289,
13,
4706,
4046,
353,
12428,
29889,
13400,
13,
13,
4706,
2302,
353,
4833,
29889,
18434,
4051,
29889,
18434,
3981,
580,
13,
13,
4706,
565,
1258,
338,
451,
6213,
29901,
13,
9651,
3573,
353,
4833,
29889,
18434,
4051,
29889,
657,
20570,
29898,
18361,
29897,
13,
9651,
565,
3573,
338,
6213,
29901,
13,
18884,
12020,
11092,
535,
29889,
10493,
2392,
29898,
18263,
535,
29889,
10493,
29918,
29946,
29900,
29946,
29897,
13,
9651,
3573,
353,
3573,
29889,
1272,
13,
4706,
1683,
29901,
13,
9651,
565,
9210,
6736,
2302,
29901,
13,
18884,
4613,
29889,
2587,
353,
4390,
29889,
29881,
17204,
3319,
1118,
9801,
29918,
294,
18869,
29922,
8824,
29897,
13,
18884,
736,
13,
13,
9651,
3573,
353,
4833,
29889,
18434,
4051,
29889,
657,
3596,
29950,
2118,
583,
29898,
10289,
29892,
4046,
29897,
13,
13,
9651,
4613,
29889,
4397,
29918,
6672,
877,
29990,
29899,
11536,
29899,
3981,
742,
2302,
29897,
13,
13,
4706,
4613,
29889,
2587,
353,
4390,
29889,
29881,
17204,
29898,
2587,
29892,
9801,
29918,
294,
18869,
29922,
8824,
29897,
13,
13,
1678,
732,
18263,
535,
29889,
11083,
29898,
15480,
29897,
13,
1678,
822,
373,
29918,
2490,
29898,
1311,
29892,
12428,
29892,
4613,
1125,
13,
4706,
9995,
13,
4706,
29273,
322,
10049,
304,
23235,
11971,
2009,
29889,
13,
4706,
584,
3207,
12428,
29901,
10729,
1203,
13,
4706,
584,
3207,
4613,
29901,
13291,
1203,
13,
4706,
9995,
13,
4706,
2009,
29918,
3126,
353,
19219,
20570,
3195,
29898,
7971,
29889,
2587,
29897,
13,
4706,
4365,
29879,
353,
12428,
29889,
4530,
3698,
13,
4706,
1258,
353,
2009,
29918,
3126,
29889,
333,
13,
13,
4706,
396,
14402,
29901,
9076,
12608,
8845,
363,
738,
26532,
13,
4706,
2933,
29918,
3126,
353,
4833,
29889,
18434,
4051,
29889,
7620,
20570,
29898,
18361,
29892,
2009,
29918,
3126,
29889,
1272,
29892,
4365,
29879,
29897,
13,
4706,
4833,
29889,
13604,
4051,
29889,
7620,
2624,
29898,
18361,
29892,
2009,
29918,
3126,
29889,
1272,
29892,
4365,
29879,
29897,
13,
13,
4706,
4613,
29889,
2587,
353,
4390,
29889,
29881,
17204,
29898,
5327,
29918,
3126,
29892,
9801,
29918,
294,
18869,
29922,
8824,
29897,
13,
4706,
4613,
29889,
4882,
353,
11092,
535,
29889,
10493,
29918,
29906,
29900,
29896,
13,
13,
1678,
732,
18263,
535,
29889,
11083,
29898,
15480,
29897,
13,
1678,
822,
373,
29918,
649,
29898,
1311,
29892,
12428,
29892,
4613,
29892,
1258,
1125,
13,
4706,
9995,
13,
9651,
29273,
322,
10049,
304,
23235,
349,
2692,
2009,
29889,
13,
9651,
584,
3207,
12428,
29901,
10729,
1203,
13,
9651,
584,
3207,
4613,
29901,
13291,
1203,
13,
9651,
584,
3207,
1258,
29901,
27189,
1705,
1891,
15882,
13,
4706,
9995,
13,
4706,
2009,
29918,
1272,
353,
19219,
20570,
3195,
29898,
7971,
29889,
2587,
29897,
13,
4706,
4365,
29879,
353,
12428,
29889,
4530,
3698,
13,
13,
4706,
396,
14402,
29901,
9076,
12608,
8845,
363,
738,
26532,
13,
4706,
2933,
29918,
3126,
353,
4833,
29889,
18434,
4051,
29889,
7620,
20570,
29898,
18361,
29892,
2009,
29918,
1272,
29889,
1272,
29892,
4365,
29879,
29897,
13,
4706,
4833,
29889,
13604,
4051,
29889,
7620,
2624,
29898,
18361,
29892,
2009,
29918,
1272,
29889,
1272,
29892,
4365,
29879,
29897,
13,
13,
4706,
4613,
29889,
2587,
353,
4390,
29889,
29881,
17204,
29898,
5327,
29918,
3126,
29892,
9801,
29918,
294,
18869,
29922,
8824,
29897,
13,
13,
1678,
732,
18263,
535,
29889,
11083,
29898,
15480,
29897,
13,
1678,
822,
373,
29918,
8143,
29898,
1311,
29892,
12428,
29892,
4613,
29892,
1258,
1125,
13,
4706,
9995,
13,
9651,
29273,
322,
10049,
304,
23235,
349,
2692,
2009,
29889,
13,
9651,
584,
3207,
12428,
29901,
10729,
1203,
13,
9651,
584,
3207,
4613,
29901,
13291,
1203,
13,
9651,
584,
3207,
1258,
29901,
27189,
1705,
1891,
15882,
13,
4706,
9995,
13,
4706,
325,
29895,
353,
12428,
29889,
2587,
3366,
29894,
29895,
3108,
13,
13,
4706,
565,
1583,
29889,
8513,
1275,
376,
5696,
1115,
13,
9651,
1258,
29918,
1990,
353,
679,
29928,
1367,
3195,
29898,
18361,
29897,
13,
9651,
565,
1258,
29918,
1990,
338,
451,
6213,
29901,
29871,
396,
4321,
1178,
29899,
1807,
24062,
369,
4864,
13,
18884,
1258,
29918,
5415,
353,
1258,
29918,
1990,
29898,
18361,
29897,
13,
13,
18884,
565,
1258,
29918,
5415,
29889,
4352,
29918,
29894,
29895,
29898,
29894,
29895,
1125,
13,
462,
1678,
325,
29895,
353,
6213,
29871,
396,
21267,
599,
848,
13,
13,
4706,
2551,
353,
4833,
29889,
18434,
4051,
29889,
8143,
20570,
29898,
18361,
29892,
325,
29895,
29897,
13,
4706,
4833,
29889,
13604,
4051,
29889,
8143,
2624,
29898,
18361,
29892,
325,
29895,
29897,
13,
13,
4706,
565,
2551,
338,
6213,
29901,
13,
9651,
12020,
11092,
535,
29889,
10493,
2392,
29898,
18263,
535,
29889,
10493,
29918,
29946,
29900,
29929,
29892,
13,
462,
462,
259,
525,
2772,
1026,
291,
4829,
742,
13,
462,
462,
259,
525,
2392,
1550,
15661,
304,
5217,
278,
6503,
29889,
1495,
13,
13,
4706,
2551,
353,
2551,
565,
338,
8758,
29898,
8698,
29892,
1051,
29897,
1683,
518,
8698,
29962,
13,
13,
4706,
4613,
29889,
2587,
353,
4390,
29889,
29881,
17204,
3319,
29908,
311,
22742,
1115,
2551,
1118,
9801,
29918,
294,
18869,
29922,
8824,
29897,
13,
13,
13,
1990,
5298,
3835,
29901,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
3787,
29922,
8516,
1125,
13,
4706,
9995,
13,
4706,
584,
3207,
3787,
29901,
14491,
13,
9651,
3787,
338,
3407,
304,
474,
974,
417,
848,
3787,
13,
4706,
9995,
13,
4706,
1583,
29889,
8899,
353,
3787,
13,
4706,
1583,
29889,
333,
353,
29871,
29900,
13,
4706,
1583,
29889,
18434,
353,
6213,
13,
13,
1678,
822,
4955,
21575,
29898,
1311,
29892,
1258,
29922,
8516,
1125,
13,
4706,
565,
1258,
338,
6213,
29901,
13,
9651,
2302,
353,
4833,
29889,
18434,
4051,
29889,
18434,
3981,
580,
13,
9651,
565,
1583,
29889,
18434,
1275,
2302,
29901,
13,
18884,
931,
29889,
17059,
29898,
29906,
29897,
13,
9651,
1683,
29901,
13,
18884,
1583,
29889,
18434,
353,
2302,
13,
18884,
4955,
353,
4833,
29889,
18434,
4051,
29889,
657,
3596,
29950,
2118,
583,
29898,
13400,
29922,
1311,
29889,
18434,
29897,
13,
18884,
5694,
353,
5159,
13,
18884,
363,
6251,
297,
4955,
1839,
1272,
2033,
29901,
13,
462,
1678,
5694,
29889,
4397,
29898,
3126,
29889,
18132,
29898,
8269,
29889,
13808,
877,
9420,
29899,
29947,
29915,
4961,
13,
13,
18884,
4955,
353,
8853,
1272,
1115,
5694,
29913,
13,
18884,
7709,
6262,
14182,
29876,
333,
6160,
718,
851,
29898,
1311,
29889,
333,
29897,
718,
6634,
484,
794,
29901,
4906,
29905,
299,
532,
6160,
718,
851,
29898,
18434,
29897,
718,
6634,
29876,
29905,
29876,
613,
376,
294,
18869,
1159,
13,
18884,
1583,
29889,
333,
4619,
29871,
29896,
13,
18884,
931,
29889,
17059,
29898,
29906,
29897,
13,
13,
4706,
1683,
29901,
13,
9651,
995,
353,
4833,
29889,
18434,
4051,
29889,
657,
20570,
29898,
18361,
29897,
13,
9651,
565,
995,
338,
6213,
29901,
13,
18884,
12020,
11092,
535,
29889,
10493,
2392,
29898,
18263,
535,
29889,
10493,
29918,
29946,
29900,
29946,
29897,
13,
13,
9651,
565,
1583,
29889,
18434,
1275,
995,
29901,
13,
18884,
931,
29889,
17059,
29898,
29906,
29897,
13,
9651,
1683,
29901,
13,
18884,
1583,
29889,
18434,
353,
995,
13,
18884,
1596,
29898,
1311,
29889,
18434,
29897,
13,
18884,
7709,
6262,
14182,
29876,
333,
6160,
718,
851,
29898,
1311,
29889,
333,
29897,
718,
6634,
484,
794,
29901,
4906,
29905,
299,
532,
6160,
718,
851,
29898,
1311,
29889,
18434,
29897,
718,
6634,
29876,
29905,
29876,
613,
376,
294,
18869,
1159,
13,
18884,
1583,
29889,
333,
4619,
29871,
29896,
13,
18884,
931,
29889,
17059,
29898,
29906,
29897,
13,
13,
1678,
822,
373,
29918,
657,
29898,
1311,
29892,
12428,
29892,
4613,
29892,
1258,
29922,
8516,
1125,
13,
4706,
4613,
29889,
4882,
353,
11092,
535,
29889,
10493,
29918,
29906,
29900,
29900,
13,
4706,
4613,
29889,
3051,
29918,
1853,
353,
376,
726,
29914,
3696,
29899,
5461,
29908,
13,
4706,
4613,
29889,
5461,
353,
1583,
29889,
18434,
21575,
29898,
18361,
29897,
13,
2
] |
src/Prototype.pyw | SilverousBlack/Prototypes | 0 | 106933 | """
Prototype Algorithms Library
(c) <NAME>, 2020
License(s): MIT Licence
Notice: The distribution, ownership, reproduction and use of this library is subject to the above stated license.
Contains all prototype algorithms from:
> Prototype Algorithms Core [Prototype.pyw]
> Searching Algorithms [SearchingAlgorithms.pyw]
> Sorting Algorithms [SortingAlgorithms.pyw]
"""
from PrototypeCore import *
from SearchingAlgorithms import *
from SortingAlgorithms import *
import visualized as visual | [
1,
9995,
13,
1184,
10414,
11545,
12404,
9538,
13,
29898,
29883,
29897,
529,
5813,
10202,
29871,
29906,
29900,
29906,
29900,
13,
13,
29931,
293,
1947,
29898,
29879,
1125,
341,
1806,
10413,
663,
13,
13,
3664,
625,
29901,
450,
4978,
29892,
27428,
29892,
9483,
428,
322,
671,
310,
445,
3489,
338,
4967,
304,
278,
2038,
8703,
19405,
29889,
13,
13,
21409,
599,
22267,
14009,
515,
29901,
13,
29958,
1019,
10414,
11545,
12404,
10239,
518,
1184,
10414,
29889,
2272,
29893,
29962,
13,
29958,
11856,
292,
11545,
12404,
518,
7974,
292,
22461,
12404,
29889,
2272,
29893,
29962,
13,
29958,
20025,
292,
11545,
12404,
518,
13685,
292,
22461,
12404,
29889,
2272,
29893,
29962,
13,
15945,
29908,
13,
13,
3166,
1019,
10414,
9203,
1053,
334,
13,
3166,
11856,
292,
22461,
12404,
1053,
334,
13,
3166,
20025,
292,
22461,
12404,
1053,
334,
13,
5215,
7604,
1891,
408,
7604,
2
] |
Week3/exercise2.py | tb2010/pynet | 0 | 74921 | #!/usr/bin/env python
"""
Exercise 2
Using SNMPv3 create two SVG image files.
The first image file should graph the input and output octets on interface FA4 on pynet-rtr1 every five minutes
for an hour. Use the pygal library to create the SVG graph file. Note, you should be doing a subtraction here
(i.e. the input/output octets transmitted during this five minute interval).
The second SVG graph file should be the same as the first except graph the unicast packets received and transmitted.
"""
import time
from getpass import getpass
from snmp_helper import snmp_get_oid_v3, snmp_extract
import line_graph
def get_interface_stats(snmp_device, snmp_user, stat_type, if_index):
"""
statue-type can be 'in_octets, out_octets, in_ucast_pkts or out_ucast_pkts'
returns the counter value as an integer
"""
oid_dict = {
'in_octets': '1.3.6.1.2.1.2.2.1.10',
'out_octets': '1.3.6.1.2.1.2.2.1.16',
'in_ucast_pkts': '1.3.6.1.2.1.2.2.1.11',
'out_ucast_pkts': '1.3.6.1.2.1.2.2.1.17',
}
if stat_type not in oid_dict.keys():
raise ValueError("Invalid stat_type selected: {}" % stat_type)
if_index = int(if_index)
oid = oid_dict[stat_type]
oid = oid + '.' + str(if_index)
snmp_data = snmp_get_oid_v3(snmp_device, snmp_user, oid)
return int(snmp_extract(snmp_data))
def main():
# SNMPv3 Connection Parameters
rtr1_ip_addr = raw_input("Enter device IP: ")
auth_enc_key = getpass(prompt="Auth & Encryption Key: ")
v3_user = 'pysnmp'
auth_key = auth_enc_key
encr_key = auth_enc_key
snmp_user = (v3_user, auth_key, encr_key)
snmp_device = (rtr1_ip_addr, 161)
# Fa4 Interface Index is number 5 in the lab routers
if_index = 5
graph_stats = {
"in_octets": [],
"out_octets": [],
"in_ucast_pkts": [],
"out_ucast_pkts": [],
}
base_count_dict = {}
# for 0 - 65 stepping by 5
for time_track in range(0, 65, 5):
print "%20s %-60s" % ("time", time_track)
for entry in ("in_octets", "out_octets", "in_ucast_pkts", "out_ucast_pkts"):
snmp_count = get_interface_stats(snmp_device, snmp_user, entry, if_index)
base_count = base_count_dict.get(entry)
if base_count:
graph_stats[entry].append(snmp_count - base_count)
print "%20s %-60s" % (entry, graph_stats[entry][-1])
base_count_dict[entry] = snmp_count
time.sleep(10)
x_labels = []
for x_label in range(5, 65, 5):
x_labels.append(str(x_label))
if line_graph.twoline("rtr1-octets.svg", "rtr1 Fa4 Input/Output Bytes",
graph_stats["in_octets"], "In Octets",
graph_stats["out_octets"], "Out Octets", x_labels):
print "In/Out Octet graph created"
if line_graph.twoline('rtr1-packets.svg', 'rtr1 Fa4 Input/Output Packets',
graph_stats['in_ucast_pkts'], 'In Packets',
graph_stats['out_ucast_pkts'], 'Out Packets', x_labels):
print "In/Out Packet graph created"
if __name__ == "__main__":
main()
| [
1,
18787,
4855,
29914,
2109,
29914,
6272,
3017,
13,
15945,
29908,
13,
1252,
6269,
895,
29871,
29906,
13,
13,
15156,
21989,
3580,
29894,
29941,
1653,
1023,
13955,
29954,
1967,
2066,
29889,
13,
13,
1576,
937,
1967,
934,
881,
3983,
278,
1881,
322,
1962,
4725,
1691,
373,
5067,
13515,
29946,
373,
282,
948,
300,
29899,
29878,
509,
29896,
1432,
5320,
6233,
13,
1454,
385,
7234,
29889,
29871,
4803,
278,
19484,
284,
3489,
304,
1653,
278,
13955,
29954,
3983,
934,
29889,
3940,
29892,
366,
881,
367,
2599,
263,
1014,
3018,
428,
1244,
13,
313,
29875,
29889,
29872,
29889,
278,
1881,
29914,
4905,
4725,
1691,
18750,
4430,
2645,
445,
5320,
11015,
7292,
467,
13,
13,
1576,
1473,
13955,
29954,
3983,
934,
881,
367,
278,
1021,
408,
278,
937,
5174,
3983,
278,
443,
293,
579,
23912,
4520,
322,
18750,
4430,
29889,
13,
13,
15945,
29908,
13,
13,
5215,
931,
13,
3166,
679,
3364,
1053,
679,
3364,
13,
13,
3166,
5807,
1526,
29918,
20907,
1053,
5807,
1526,
29918,
657,
29918,
3398,
29918,
29894,
29941,
29892,
5807,
1526,
29918,
21111,
13,
5215,
1196,
29918,
4262,
13,
13,
13,
1753,
679,
29918,
13248,
29918,
16202,
29898,
16586,
1526,
29918,
10141,
29892,
5807,
1526,
29918,
1792,
29892,
1002,
29918,
1853,
29892,
565,
29918,
2248,
1125,
13,
1678,
9995,
13,
1678,
24870,
29899,
1853,
508,
367,
525,
262,
29918,
20082,
1691,
29892,
714,
29918,
20082,
1691,
29892,
297,
29918,
1682,
579,
29918,
29886,
1193,
29879,
470,
714,
29918,
1682,
579,
29918,
29886,
1193,
29879,
29915,
13,
13,
1678,
3639,
278,
6795,
995,
408,
385,
6043,
13,
1678,
9995,
13,
13,
1678,
288,
333,
29918,
8977,
353,
426,
13,
4706,
525,
262,
29918,
20082,
1691,
2396,
525,
29896,
29889,
29941,
29889,
29953,
29889,
29896,
29889,
29906,
29889,
29896,
29889,
29906,
29889,
29906,
29889,
29896,
29889,
29896,
29900,
742,
13,
4706,
525,
449,
29918,
20082,
1691,
2396,
525,
29896,
29889,
29941,
29889,
29953,
29889,
29896,
29889,
29906,
29889,
29896,
29889,
29906,
29889,
29906,
29889,
29896,
29889,
29896,
29953,
742,
13,
4706,
525,
262,
29918,
1682,
579,
29918,
29886,
1193,
29879,
2396,
525,
29896,
29889,
29941,
29889,
29953,
29889,
29896,
29889,
29906,
29889,
29896,
29889,
29906,
29889,
29906,
29889,
29896,
29889,
29896,
29896,
742,
13,
4706,
525,
449,
29918,
1682,
579,
29918,
29886,
1193,
29879,
2396,
525,
29896,
29889,
29941,
29889,
29953,
29889,
29896,
29889,
29906,
29889,
29896,
29889,
29906,
29889,
29906,
29889,
29896,
29889,
29896,
29955,
742,
13,
1678,
500,
13,
13,
1678,
565,
1002,
29918,
1853,
451,
297,
288,
333,
29918,
8977,
29889,
8149,
7295,
13,
4706,
12020,
7865,
2392,
703,
13919,
1002,
29918,
1853,
4629,
29901,
426,
5038,
1273,
1002,
29918,
1853,
29897,
13,
13,
1678,
565,
29918,
2248,
353,
938,
29898,
361,
29918,
2248,
29897,
13,
13,
1678,
288,
333,
353,
288,
333,
29918,
8977,
29961,
6112,
29918,
1853,
29962,
13,
1678,
288,
333,
353,
288,
333,
718,
525,
6169,
718,
851,
29898,
361,
29918,
2248,
29897,
13,
13,
1678,
5807,
1526,
29918,
1272,
353,
5807,
1526,
29918,
657,
29918,
3398,
29918,
29894,
29941,
29898,
16586,
1526,
29918,
10141,
29892,
5807,
1526,
29918,
1792,
29892,
288,
333,
29897,
13,
1678,
736,
938,
29898,
16586,
1526,
29918,
21111,
29898,
16586,
1526,
29918,
1272,
876,
13,
13,
13,
1753,
1667,
7295,
13,
1678,
396,
21989,
3580,
29894,
29941,
15160,
12662,
2699,
13,
1678,
364,
509,
29896,
29918,
666,
29918,
10030,
353,
10650,
29918,
2080,
703,
10399,
4742,
5641,
29901,
16521,
13,
1678,
4817,
29918,
3977,
29918,
1989,
353,
679,
3364,
29898,
14032,
415,
543,
6444,
669,
11346,
14272,
7670,
29901,
16521,
13,
13,
1678,
325,
29941,
29918,
1792,
353,
525,
29886,
952,
29876,
1526,
29915,
13,
1678,
4817,
29918,
1989,
353,
4817,
29918,
3977,
29918,
1989,
13,
1678,
2094,
29878,
29918,
1989,
353,
4817,
29918,
3977,
29918,
1989,
13,
13,
1678,
5807,
1526,
29918,
1792,
353,
313,
29894,
29941,
29918,
1792,
29892,
4817,
29918,
1989,
29892,
2094,
29878,
29918,
1989,
29897,
13,
1678,
5807,
1526,
29918,
10141,
353,
313,
29878,
509,
29896,
29918,
666,
29918,
10030,
29892,
29871,
29896,
29953,
29896,
29897,
13,
13,
1678,
396,
7748,
29946,
25796,
11374,
338,
1353,
29871,
29945,
297,
278,
9775,
16053,
2153,
13,
1678,
565,
29918,
2248,
353,
29871,
29945,
13,
1678,
3983,
29918,
16202,
353,
426,
13,
4706,
376,
262,
29918,
20082,
1691,
1115,
19997,
13,
4706,
376,
449,
29918,
20082,
1691,
1115,
19997,
13,
4706,
376,
262,
29918,
1682,
579,
29918,
29886,
1193,
29879,
1115,
19997,
13,
4706,
376,
449,
29918,
1682,
579,
29918,
29886,
1193,
29879,
1115,
19997,
13,
1678,
500,
13,
1678,
2967,
29918,
2798,
29918,
8977,
353,
6571,
13,
13,
1678,
396,
363,
29871,
29900,
448,
29871,
29953,
29945,
1886,
3262,
491,
29871,
29945,
13,
1678,
363,
931,
29918,
11294,
297,
3464,
29898,
29900,
29892,
29871,
29953,
29945,
29892,
29871,
29945,
1125,
13,
4706,
1596,
11860,
29906,
29900,
29879,
1273,
29899,
29953,
29900,
29879,
29908,
1273,
4852,
2230,
613,
931,
29918,
11294,
29897,
13,
13,
4706,
363,
6251,
297,
4852,
262,
29918,
20082,
1691,
613,
376,
449,
29918,
20082,
1691,
613,
376,
262,
29918,
1682,
579,
29918,
29886,
1193,
29879,
613,
376,
449,
29918,
1682,
579,
29918,
29886,
1193,
29879,
29908,
1125,
13,
9651,
5807,
1526,
29918,
2798,
353,
679,
29918,
13248,
29918,
16202,
29898,
16586,
1526,
29918,
10141,
29892,
5807,
1526,
29918,
1792,
29892,
6251,
29892,
565,
29918,
2248,
29897,
13,
9651,
2967,
29918,
2798,
353,
2967,
29918,
2798,
29918,
8977,
29889,
657,
29898,
8269,
29897,
13,
9651,
565,
2967,
29918,
2798,
29901,
13,
18884,
3983,
29918,
16202,
29961,
8269,
1822,
4397,
29898,
16586,
1526,
29918,
2798,
448,
2967,
29918,
2798,
29897,
13,
18884,
1596,
11860,
29906,
29900,
29879,
1273,
29899,
29953,
29900,
29879,
29908,
1273,
313,
8269,
29892,
3983,
29918,
16202,
29961,
8269,
3816,
29899,
29896,
2314,
13,
9651,
2967,
29918,
2798,
29918,
8977,
29961,
8269,
29962,
353,
5807,
1526,
29918,
2798,
13,
4706,
931,
29889,
17059,
29898,
29896,
29900,
29897,
13,
13,
1678,
921,
29918,
21134,
353,
5159,
13,
1678,
363,
921,
29918,
1643,
297,
3464,
29898,
29945,
29892,
29871,
29953,
29945,
29892,
29871,
29945,
1125,
13,
4706,
921,
29918,
21134,
29889,
4397,
29898,
710,
29898,
29916,
29918,
1643,
876,
13,
13,
1678,
565,
1196,
29918,
4262,
29889,
7516,
26496,
703,
29878,
509,
29896,
29899,
20082,
1691,
29889,
15120,
613,
376,
29878,
509,
29896,
7748,
29946,
10567,
29914,
6466,
2648,
2167,
613,
13,
462,
3986,
3983,
29918,
16202,
3366,
262,
29918,
20082,
1691,
12436,
376,
797,
4756,
1691,
613,
13,
462,
3986,
3983,
29918,
16202,
3366,
449,
29918,
20082,
1691,
12436,
376,
3744,
4756,
1691,
613,
921,
29918,
21134,
1125,
13,
4706,
1596,
376,
797,
29914,
3744,
4756,
300,
3983,
2825,
29908,
13,
13,
1678,
565,
1196,
29918,
4262,
29889,
7516,
26496,
877,
29878,
509,
29896,
29899,
4058,
1691,
29889,
15120,
742,
525,
29878,
509,
29896,
7748,
29946,
10567,
29914,
6466,
18744,
1691,
742,
13,
462,
3986,
3983,
29918,
16202,
1839,
262,
29918,
1682,
579,
29918,
29886,
1193,
29879,
7464,
525,
797,
18744,
1691,
742,
13,
462,
3986,
3983,
29918,
16202,
1839,
449,
29918,
1682,
579,
29918,
29886,
1193,
29879,
7464,
525,
3744,
18744,
1691,
742,
921,
29918,
21134,
1125,
13,
4706,
1596,
376,
797,
29914,
3744,
18744,
300,
3983,
2825,
29908,
13,
13,
13,
361,
4770,
978,
1649,
1275,
376,
1649,
3396,
1649,
1115,
13,
1678,
1667,
580,
13,
13,
2
] |
flask_response_builder/response_builder.py | cs91chris/flask_response_builder | 4 | 45392 | from functools import wraps
import flask
from flask import current_app as cap
from .builders.builder import Builder
from .config import DEFAULT_BUILDERS, set_default_config
class ResponseBuilder:
def __init__(self, app=None, builders=None):
"""
:param app:
:param builders:
"""
self._builders = {}
if app is not None:
self.init_app(app, builders)
def init_app(self, app, builders=None):
"""
:param app:
:param builders:
"""
set_default_config(app)
if not hasattr(app, 'extensions'):
app.extensions = dict()
app.extensions['response_builder'] = self
for name, builder in {**DEFAULT_BUILDERS, **(builders or {})}.items():
self.register_builder(name, builder, **app.config)
def register_builder(self, name, builder, **kwargs):
"""
:param name:
:param builder:
"""
if not issubclass(builder.__class__, Builder):
raise NameError(
"Invalid Builder: '{}'. "
"You must extend class: '{}'".format(builder, Builder.__name__)
)
if not builder.conf:
builder.conf = kwargs
else:
builder.conf.update(kwargs)
self._builders.update({name: builder})
def _builder_attr(**params):
def _wrapper(func=None, data=None):
"""
func and data are mutual exclusive:
if func is present means a decorator builder used
if data is provided means decorator used as attribute
:param func:
:param data:
:return:
"""
if func is not None:
@wraps(func)
def wrapped():
return self.build_response(name, func(), **params)
return wrapped
return self.build_response(name, data, **params)
return _wrapper
setattr(self, name, _builder_attr)
@staticmethod
def _empty_response(status, headers):
"""
:param status:
:param headers:
:return:
"""
resp = flask.make_response(b'', status, headers)
resp.headers.pop('Content-Type', None)
return resp
def build_response(self, builder=None, data=None, **kwargs):
"""
:param builder:
:param data:
:return:
"""
if isinstance(builder, str):
builder = self._builders.get(builder)
data, status, headers = self.normalize_response_data(data)
if data is None:
return self._empty_response(status, headers)
if not builder:
m = headers.get('Content-Type') or cap.config.get('RB_DEFAULT_RESPONSE_FORMAT')
for value in self._builders.values():
if value.mimetype == m:
builder = value
break
else:
raise NameError(
"Builder not found: using one of: '{}'".format(", ".join(self._builders.keys()))
)
elif not issubclass(builder.__class__, Builder):
raise NameError(
"Invalid Builder: '{}'. You must extend class: '{}'".format(builder, Builder.__name__)
)
builder.build(data, **kwargs)
return builder.response(status=status, headers=headers)
def get_mimetype_accept(self, default=None, acceptable=None, strict=True):
"""
:param default:
:param acceptable:
:param strict:
:return:
"""
def find_builder(a):
for b in self._builders.values():
if a == b.mimetype:
return b
mimetypes = flask.request.accept_mimetypes
default = default or cap.config['RB_DEFAULT_RESPONSE_FORMAT']
acceptable = acceptable or cap.config['RB_DEFAULT_ACCEPTABLE_MIMETYPES']
if not mimetypes or str(mimetypes) == '*/*':
builder = find_builder(default)
if builder:
return default, builder
for m in mimetypes:
m = m[0].split(';')[0] # in order to remove encoding param
accept = m if m in acceptable else None
builder = find_builder(accept)
if builder:
return accept, builder
if strict is True:
flask.abort(406, "Not Acceptable: {}".format(flask.request.accept_mimetypes))
return default, find_builder(default)
@staticmethod
def normalize_response_data(data):
"""
:param data:
:return:
"""
if isinstance(data, tuple):
v = data + (None,) * (3 - len(data))
if isinstance(v[1], int):
return v[0], v[1], v[2] or {}
return v[0], v[2], v[1] or {}
if isinstance(data, int):
return None, data, {}
return data, None, {}
def no_content(self, func):
"""
:param func:
:return:
"""
@wraps(func)
def wrapped(*args, **kwargs):
resp = func(*args, **kwargs)
data, status, headers = self.normalize_response_data(resp)
if data:
resp = self.build_response(data=resp)
else:
status = 204 if status in (None, 204) else status
resp = self._empty_response(status, headers)
return resp
return wrapped
def on_format(self, default=None, acceptable=None):
"""
:param default:
:param acceptable:
:return:
"""
def response(fun):
@wraps(fun)
def wrapper(*args, **kwargs):
builder = flask.request.args.get(cap.config.get('RB_FORMAT_KEY')) or default
if builder not in (acceptable or self._builders.keys()):
for k, v in self._builders.items():
if v.mimetype == cap.config.get('RB_DEFAULT_RESPONSE_FORMAT'):
builder = k
break
return self.build_response(builder, fun(*args, **kwargs))
return wrapper
return response
def on_accept(self, default=None, acceptable=None, strict=True):
"""
:param default:
:param acceptable:
:param strict:
:return:
"""
def response(fun):
@wraps(fun)
def wrapper(*args, **kwargs):
mimetype, builder = self.get_mimetype_accept(default, acceptable, strict)
return self.build_response(builder, fun(*args, **kwargs))
return wrapper
return response
def response(self, builder, **kwargs):
"""
:param builder:
:return:
"""
def _response(f):
@wraps(f)
def wrapper(*args, **kw):
return self.build_response(builder, f(*args, **kw), **kwargs)
return wrapper
return _response
def template_or_json(self, template: str, as_table=False, to_dict=None):
"""
:param template:
:param as_table:
:param to_dict:
:return:
"""
def response(fun):
@wraps(fun)
def wrapper(*args, **kwargs):
varargs = {}
builder = self._builders.get('json')
# check if request is XHR
if flask.request.headers.get('X-Requested-With', '').lower() == "xmlhttprequest":
builder = self._builders.get('html')
varargs.update(dict(
template=template,
as_table=as_table,
to_dict=to_dict
))
resp = fun(*args, **kwargs)
return self.build_response(builder, resp, **varargs)
return wrapper
return response
| [
1,
515,
2090,
312,
8789,
1053,
11463,
567,
13,
13,
5215,
29784,
13,
3166,
29784,
1053,
1857,
29918,
932,
408,
2117,
13,
13,
3166,
869,
4282,
414,
29889,
16409,
1053,
5373,
2700,
13,
3166,
869,
2917,
1053,
22236,
29918,
29933,
3120,
29931,
8032,
29903,
29892,
731,
29918,
4381,
29918,
2917,
13,
13,
13,
1990,
13291,
5627,
29901,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
623,
29922,
8516,
29892,
2048,
414,
29922,
8516,
1125,
13,
4706,
9995,
13,
13,
4706,
584,
3207,
623,
29901,
13,
4706,
584,
3207,
2048,
414,
29901,
13,
4706,
9995,
13,
4706,
1583,
3032,
4282,
414,
353,
6571,
13,
13,
4706,
565,
623,
338,
451,
6213,
29901,
13,
9651,
1583,
29889,
2344,
29918,
932,
29898,
932,
29892,
2048,
414,
29897,
13,
13,
1678,
822,
2069,
29918,
932,
29898,
1311,
29892,
623,
29892,
2048,
414,
29922,
8516,
1125,
13,
4706,
9995,
13,
13,
4706,
584,
3207,
623,
29901,
13,
4706,
584,
3207,
2048,
414,
29901,
13,
4706,
9995,
13,
4706,
731,
29918,
4381,
29918,
2917,
29898,
932,
29897,
13,
13,
4706,
565,
451,
756,
5552,
29898,
932,
29892,
525,
24299,
29374,
13,
9651,
623,
29889,
24299,
353,
9657,
580,
13,
4706,
623,
29889,
24299,
1839,
5327,
29918,
16409,
2033,
353,
1583,
13,
13,
4706,
363,
1024,
29892,
12856,
297,
426,
1068,
23397,
29918,
29933,
3120,
29931,
8032,
29903,
29892,
3579,
29898,
4282,
414,
470,
426,
1800,
1836,
7076,
7295,
13,
9651,
1583,
29889,
9573,
29918,
16409,
29898,
978,
29892,
12856,
29892,
3579,
932,
29889,
2917,
29897,
13,
13,
1678,
822,
6036,
29918,
16409,
29898,
1311,
29892,
1024,
29892,
12856,
29892,
3579,
19290,
1125,
13,
4706,
9995,
13,
13,
4706,
584,
3207,
1024,
29901,
13,
4706,
584,
3207,
12856,
29901,
13,
4706,
9995,
13,
4706,
565,
451,
338,
1491,
1990,
29898,
16409,
17255,
1990,
1649,
29892,
5373,
2700,
1125,
13,
9651,
12020,
4408,
2392,
29898,
13,
18884,
376,
13919,
5373,
2700,
29901,
525,
8875,
4286,
376,
13,
18884,
376,
3492,
1818,
10985,
770,
29901,
525,
8875,
29915,
1642,
4830,
29898,
16409,
29892,
5373,
2700,
17255,
978,
1649,
29897,
13,
9651,
1723,
13,
13,
4706,
565,
451,
12856,
29889,
5527,
29901,
13,
9651,
12856,
29889,
5527,
353,
9049,
5085,
13,
4706,
1683,
29901,
13,
9651,
12856,
29889,
5527,
29889,
5504,
29898,
19290,
29897,
13,
13,
4706,
1583,
3032,
4282,
414,
29889,
5504,
3319,
978,
29901,
12856,
1800,
13,
13,
4706,
822,
903,
16409,
29918,
5552,
29898,
1068,
7529,
1125,
13,
9651,
822,
903,
17699,
29898,
9891,
29922,
8516,
29892,
848,
29922,
8516,
1125,
13,
18884,
9995,
13,
18884,
3653,
322,
848,
526,
5478,
950,
29192,
29901,
13,
462,
1678,
565,
3653,
338,
2198,
2794,
263,
10200,
1061,
12856,
1304,
13,
462,
1678,
565,
848,
338,
4944,
2794,
10200,
1061,
1304,
408,
5352,
13,
13,
18884,
584,
3207,
3653,
29901,
13,
18884,
584,
3207,
848,
29901,
13,
18884,
584,
2457,
29901,
13,
18884,
9995,
13,
18884,
565,
3653,
338,
451,
6213,
29901,
13,
462,
1678,
732,
29893,
336,
567,
29898,
9891,
29897,
13,
462,
1678,
822,
21021,
7295,
13,
462,
4706,
736,
1583,
29889,
4282,
29918,
5327,
29898,
978,
29892,
3653,
3285,
3579,
7529,
29897,
13,
13,
462,
1678,
736,
21021,
13,
13,
18884,
736,
1583,
29889,
4282,
29918,
5327,
29898,
978,
29892,
848,
29892,
3579,
7529,
29897,
13,
13,
9651,
736,
903,
17699,
13,
13,
4706,
731,
5552,
29898,
1311,
29892,
1024,
29892,
903,
16409,
29918,
5552,
29897,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
903,
6310,
29918,
5327,
29898,
4882,
29892,
9066,
1125,
13,
4706,
9995,
13,
13,
4706,
584,
3207,
4660,
29901,
13,
4706,
584,
3207,
9066,
29901,
13,
4706,
584,
2457,
29901,
13,
4706,
9995,
13,
4706,
4613,
353,
29784,
29889,
5675,
29918,
5327,
29898,
29890,
29915,
742,
4660,
29892,
9066,
29897,
13,
4706,
4613,
29889,
13662,
29889,
7323,
877,
3916,
29899,
1542,
742,
6213,
29897,
13,
4706,
736,
4613,
13,
13,
1678,
822,
2048,
29918,
5327,
29898,
1311,
29892,
12856,
29922,
8516,
29892,
848,
29922,
8516,
29892,
3579,
19290,
1125,
13,
4706,
9995,
13,
13,
4706,
584,
3207,
12856,
29901,
13,
4706,
584,
3207,
848,
29901,
13,
4706,
584,
2457,
29901,
13,
4706,
9995,
13,
4706,
565,
338,
8758,
29898,
16409,
29892,
851,
1125,
13,
9651,
12856,
353,
1583,
3032,
4282,
414,
29889,
657,
29898,
16409,
29897,
13,
13,
4706,
848,
29892,
4660,
29892,
9066,
353,
1583,
29889,
8945,
675,
29918,
5327,
29918,
1272,
29898,
1272,
29897,
13,
13,
4706,
565,
848,
338,
6213,
29901,
13,
9651,
736,
1583,
3032,
6310,
29918,
5327,
29898,
4882,
29892,
9066,
29897,
13,
13,
4706,
565,
451,
12856,
29901,
13,
9651,
286,
353,
9066,
29889,
657,
877,
3916,
29899,
1542,
1495,
470,
2117,
29889,
2917,
29889,
657,
877,
29934,
29933,
29918,
23397,
29918,
1525,
5550,
1164,
1660,
29918,
19094,
1299,
1495,
13,
9651,
363,
995,
297,
1583,
3032,
4282,
414,
29889,
5975,
7295,
13,
18884,
565,
995,
29889,
29885,
17528,
668,
1275,
286,
29901,
13,
462,
1678,
12856,
353,
995,
13,
462,
1678,
2867,
13,
9651,
1683,
29901,
13,
18884,
12020,
4408,
2392,
29898,
13,
462,
1678,
376,
5627,
451,
1476,
29901,
773,
697,
310,
29901,
525,
8875,
29915,
1642,
4830,
28165,
11393,
7122,
29898,
1311,
3032,
4282,
414,
29889,
8149,
22130,
13,
18884,
1723,
13,
4706,
25342,
451,
338,
1491,
1990,
29898,
16409,
17255,
1990,
1649,
29892,
5373,
2700,
1125,
13,
9651,
12020,
4408,
2392,
29898,
13,
18884,
376,
13919,
5373,
2700,
29901,
525,
8875,
4286,
887,
1818,
10985,
770,
29901,
525,
8875,
29915,
1642,
4830,
29898,
16409,
29892,
5373,
2700,
17255,
978,
1649,
29897,
13,
9651,
1723,
13,
13,
4706,
12856,
29889,
4282,
29898,
1272,
29892,
3579,
19290,
29897,
13,
4706,
736,
12856,
29889,
5327,
29898,
4882,
29922,
4882,
29892,
9066,
29922,
13662,
29897,
13,
13,
1678,
822,
679,
29918,
29885,
17528,
668,
29918,
16044,
29898,
1311,
29892,
2322,
29922,
8516,
29892,
22691,
29922,
8516,
29892,
9406,
29922,
5574,
1125,
13,
4706,
9995,
13,
13,
4706,
584,
3207,
2322,
29901,
13,
4706,
584,
3207,
22691,
29901,
13,
4706,
584,
3207,
9406,
29901,
13,
4706,
584,
2457,
29901,
13,
4706,
9995,
13,
13,
4706,
822,
1284,
29918,
16409,
29898,
29874,
1125,
13,
9651,
363,
289,
297,
1583,
3032,
4282,
414,
29889,
5975,
7295,
13,
18884,
565,
263,
1275,
289,
29889,
29885,
17528,
668,
29901,
13,
462,
1678,
736,
289,
13,
13,
4706,
286,
17528,
7384,
353,
29784,
29889,
3827,
29889,
16044,
29918,
29885,
17528,
7384,
13,
4706,
2322,
353,
2322,
470,
2117,
29889,
2917,
1839,
29934,
29933,
29918,
23397,
29918,
1525,
5550,
1164,
1660,
29918,
19094,
1299,
2033,
13,
4706,
22691,
353,
22691,
470,
2117,
29889,
2917,
1839,
29934,
29933,
29918,
23397,
29918,
2477,
4741,
7982,
6181,
29918,
29924,
8890,
15631,
29925,
2890,
2033,
13,
13,
4706,
565,
451,
286,
17528,
7384,
470,
851,
29898,
29885,
17528,
7384,
29897,
1275,
525,
3877,
29930,
2396,
13,
9651,
12856,
353,
1284,
29918,
16409,
29898,
4381,
29897,
13,
9651,
565,
12856,
29901,
13,
18884,
736,
2322,
29892,
12856,
13,
13,
4706,
363,
286,
297,
286,
17528,
7384,
29901,
13,
9651,
286,
353,
286,
29961,
29900,
1822,
5451,
877,
29936,
29861,
29900,
29962,
29871,
396,
297,
1797,
304,
3349,
8025,
1828,
13,
9651,
3544,
353,
286,
565,
286,
297,
22691,
1683,
6213,
13,
9651,
12856,
353,
1284,
29918,
16409,
29898,
16044,
29897,
13,
9651,
565,
12856,
29901,
13,
18884,
736,
3544,
29892,
12856,
13,
13,
4706,
565,
9406,
338,
5852,
29901,
13,
9651,
29784,
29889,
370,
441,
29898,
29946,
29900,
29953,
29892,
376,
3664,
29848,
519,
29901,
6571,
1642,
4830,
29898,
1579,
1278,
29889,
3827,
29889,
16044,
29918,
29885,
17528,
7384,
876,
13,
13,
4706,
736,
2322,
29892,
1284,
29918,
16409,
29898,
4381,
29897,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
4226,
675,
29918,
5327,
29918,
1272,
29898,
1272,
1125,
13,
4706,
9995,
13,
13,
4706,
584,
3207,
848,
29901,
13,
4706,
584,
2457,
29901,
13,
4706,
9995,
13,
4706,
565,
338,
8758,
29898,
1272,
29892,
18761,
1125,
13,
9651,
325,
353,
848,
718,
313,
8516,
29892,
29897,
334,
313,
29941,
448,
7431,
29898,
1272,
876,
13,
9651,
565,
338,
8758,
29898,
29894,
29961,
29896,
1402,
938,
1125,
13,
18884,
736,
325,
29961,
29900,
1402,
325,
29961,
29896,
1402,
325,
29961,
29906,
29962,
470,
6571,
13,
9651,
736,
325,
29961,
29900,
1402,
325,
29961,
29906,
1402,
325,
29961,
29896,
29962,
470,
6571,
13,
4706,
565,
338,
8758,
29898,
1272,
29892,
938,
1125,
13,
9651,
736,
6213,
29892,
848,
29892,
6571,
13,
4706,
736,
848,
29892,
6213,
29892,
6571,
13,
13,
1678,
822,
694,
29918,
3051,
29898,
1311,
29892,
3653,
1125,
13,
4706,
9995,
13,
13,
4706,
584,
3207,
3653,
29901,
13,
4706,
584,
2457,
29901,
13,
4706,
9995,
13,
13,
4706,
732,
29893,
336,
567,
29898,
9891,
29897,
13,
4706,
822,
21021,
10456,
5085,
29892,
3579,
19290,
1125,
13,
9651,
4613,
353,
3653,
10456,
5085,
29892,
3579,
19290,
29897,
13,
9651,
848,
29892,
4660,
29892,
9066,
353,
1583,
29889,
8945,
675,
29918,
5327,
29918,
1272,
29898,
13713,
29897,
13,
13,
9651,
565,
848,
29901,
13,
18884,
4613,
353,
1583,
29889,
4282,
29918,
5327,
29898,
1272,
29922,
13713,
29897,
13,
9651,
1683,
29901,
13,
18884,
4660,
353,
29871,
29906,
29900,
29946,
565,
4660,
297,
313,
8516,
29892,
29871,
29906,
29900,
29946,
29897,
1683,
4660,
13,
18884,
4613,
353,
1583,
3032,
6310,
29918,
5327,
29898,
4882,
29892,
9066,
29897,
13,
13,
9651,
736,
4613,
13,
13,
4706,
736,
21021,
13,
13,
1678,
822,
373,
29918,
4830,
29898,
1311,
29892,
2322,
29922,
8516,
29892,
22691,
29922,
8516,
1125,
13,
4706,
9995,
13,
13,
4706,
584,
3207,
2322,
29901,
13,
4706,
584,
3207,
22691,
29901,
13,
4706,
584,
2457,
29901,
13,
4706,
9995,
13,
13,
4706,
822,
2933,
29898,
7692,
1125,
13,
9651,
732,
29893,
336,
567,
29898,
7692,
29897,
13,
9651,
822,
14476,
10456,
5085,
29892,
3579,
19290,
1125,
13,
18884,
12856,
353,
29784,
29889,
3827,
29889,
5085,
29889,
657,
29898,
5030,
29889,
2917,
29889,
657,
877,
29934,
29933,
29918,
19094,
1299,
29918,
10818,
8785,
470,
2322,
13,
18884,
565,
12856,
451,
297,
313,
16044,
519,
470,
1583,
3032,
4282,
414,
29889,
8149,
580,
1125,
13,
462,
1678,
363,
413,
29892,
325,
297,
1583,
3032,
4282,
414,
29889,
7076,
7295,
13,
462,
4706,
565,
325,
29889,
29885,
17528,
668,
1275,
2117,
29889,
2917,
29889,
657,
877,
29934,
29933,
29918,
23397,
29918,
1525,
5550,
1164,
1660,
29918,
19094,
1299,
29374,
13,
462,
9651,
12856,
353,
413,
13,
462,
9651,
2867,
13,
13,
18884,
736,
1583,
29889,
4282,
29918,
5327,
29898,
16409,
29892,
2090,
10456,
5085,
29892,
3579,
19290,
876,
13,
13,
9651,
736,
14476,
13,
13,
4706,
736,
2933,
13,
13,
1678,
822,
373,
29918,
16044,
29898,
1311,
29892,
2322,
29922,
8516,
29892,
22691,
29922,
8516,
29892,
9406,
29922,
5574,
1125,
13,
4706,
9995,
13,
13,
4706,
584,
3207,
2322,
29901,
13,
4706,
584,
3207,
22691,
29901,
13,
4706,
584,
3207,
9406,
29901,
13,
4706,
584,
2457,
29901,
13,
4706,
9995,
13,
13,
4706,
822,
2933,
29898,
7692,
1125,
13,
9651,
732,
29893,
336,
567,
29898,
7692,
29897,
13,
9651,
822,
14476,
10456,
5085,
29892,
3579,
19290,
1125,
13,
18884,
286,
17528,
668,
29892,
12856,
353,
1583,
29889,
657,
29918,
29885,
17528,
668,
29918,
16044,
29898,
4381,
29892,
22691,
29892,
9406,
29897,
13,
18884,
736,
1583,
29889,
4282,
29918,
5327,
29898,
16409,
29892,
2090,
10456,
5085,
29892,
3579,
19290,
876,
13,
13,
9651,
736,
14476,
13,
13,
4706,
736,
2933,
13,
13,
1678,
822,
2933,
29898,
1311,
29892,
12856,
29892,
3579,
19290,
1125,
13,
4706,
9995,
13,
13,
4706,
584,
3207,
12856,
29901,
13,
4706,
584,
2457,
29901,
13,
4706,
9995,
13,
13,
4706,
822,
903,
5327,
29898,
29888,
1125,
13,
9651,
732,
29893,
336,
567,
29898,
29888,
29897,
13,
9651,
822,
14476,
10456,
5085,
29892,
3579,
11022,
1125,
13,
18884,
736,
1583,
29889,
4282,
29918,
5327,
29898,
16409,
29892,
285,
10456,
5085,
29892,
3579,
11022,
511,
3579,
19290,
29897,
13,
13,
9651,
736,
14476,
13,
13,
4706,
736,
903,
5327,
13,
13,
1678,
822,
4472,
29918,
272,
29918,
3126,
29898,
1311,
29892,
4472,
29901,
851,
29892,
408,
29918,
2371,
29922,
8824,
29892,
304,
29918,
8977,
29922,
8516,
1125,
13,
4706,
9995,
13,
13,
4706,
584,
3207,
4472,
29901,
13,
4706,
584,
3207,
408,
29918,
2371,
29901,
13,
4706,
584,
3207,
304,
29918,
8977,
29901,
13,
4706,
584,
2457,
29901,
13,
4706,
9995,
13,
13,
4706,
822,
2933,
29898,
7692,
1125,
13,
9651,
732,
29893,
336,
567,
29898,
7692,
29897,
13,
9651,
822,
14476,
10456,
5085,
29892,
3579,
19290,
1125,
13,
18884,
722,
5085,
353,
6571,
13,
18884,
12856,
353,
1583,
3032,
4282,
414,
29889,
657,
877,
3126,
1495,
13,
13,
18884,
396,
1423,
565,
2009,
338,
1060,
20938,
13,
18884,
565,
29784,
29889,
3827,
29889,
13662,
29889,
657,
877,
29990,
29899,
3089,
287,
29899,
3047,
742,
525,
2824,
13609,
580,
1275,
376,
3134,
1124,
3827,
1115,
13,
462,
1678,
12856,
353,
1583,
3032,
4282,
414,
29889,
657,
877,
1420,
1495,
13,
462,
1678,
722,
5085,
29889,
5504,
29898,
8977,
29898,
13,
462,
4706,
4472,
29922,
6886,
29892,
13,
462,
4706,
408,
29918,
2371,
29922,
294,
29918,
2371,
29892,
13,
462,
4706,
304,
29918,
8977,
29922,
517,
29918,
8977,
13,
462,
268,
876,
13,
13,
18884,
4613,
353,
2090,
10456,
5085,
29892,
3579,
19290,
29897,
13,
18884,
736,
1583,
29889,
4282,
29918,
5327,
29898,
16409,
29892,
4613,
29892,
3579,
1707,
5085,
29897,
13,
13,
9651,
736,
14476,
13,
13,
4706,
736,
2933,
13,
2
] |
rosny/signal.py | lRomul/rosny | 6 | 161990 | <gh_stars>1-10
import signal
_signals = [signal.SIGINT, signal.SIGTERM]
_default_handlers = {sig: signal.getsignal(signal.SIGINT) for sig in _signals}
class SignalException(BaseException):
def __init__(self, signum: signal.Signals, frame):
message = f"Handle signal: {signal.Signals(signum).name}"
super().__init__(message)
self.signum = signum
self.frame = frame
def start_signals(stream):
def signal_handler(signum: signal.Signals, frame):
exception = SignalException(signum, frame)
stream.logger.error(exception)
stream.stop()
raise exception
for sig in _signals:
signal.signal(sig, signal_handler)
stream.logger.info("Start handling signals")
def stop_signals(stream):
for sig in _signals:
signal.signal(sig, _default_handlers[sig])
stream.logger.info("Stop handling signals")
| [
1,
529,
12443,
29918,
303,
1503,
29958,
29896,
29899,
29896,
29900,
13,
5215,
7182,
13,
13,
29918,
4530,
1338,
353,
518,
25436,
29889,
5425,
29954,
10192,
29892,
7182,
29889,
5425,
29954,
4945,
29924,
29962,
13,
29918,
4381,
29918,
3179,
9306,
353,
426,
18816,
29901,
7182,
29889,
657,
25436,
29898,
25436,
29889,
5425,
29954,
10192,
29897,
363,
4365,
297,
903,
4530,
1338,
29913,
13,
13,
13,
1990,
9954,
284,
2451,
29898,
5160,
2451,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
1804,
398,
29901,
7182,
29889,
10140,
1338,
29892,
3515,
1125,
13,
4706,
2643,
353,
285,
29908,
13554,
7182,
29901,
426,
25436,
29889,
10140,
1338,
29898,
4530,
398,
467,
978,
5038,
13,
4706,
2428,
2141,
1649,
2344,
12035,
4906,
29897,
13,
4706,
1583,
29889,
4530,
398,
353,
1804,
398,
13,
4706,
1583,
29889,
2557,
353,
3515,
13,
13,
13,
1753,
1369,
29918,
4530,
1338,
29898,
5461,
1125,
13,
1678,
822,
7182,
29918,
13789,
29898,
4530,
398,
29901,
7182,
29889,
10140,
1338,
29892,
3515,
1125,
13,
4706,
3682,
353,
9954,
284,
2451,
29898,
4530,
398,
29892,
3515,
29897,
13,
4706,
4840,
29889,
21707,
29889,
2704,
29898,
11739,
29897,
13,
4706,
4840,
29889,
9847,
580,
13,
4706,
12020,
3682,
13,
13,
1678,
363,
4365,
297,
903,
4530,
1338,
29901,
13,
4706,
7182,
29889,
25436,
29898,
18816,
29892,
7182,
29918,
13789,
29897,
13,
1678,
4840,
29889,
21707,
29889,
3888,
703,
4763,
11415,
18470,
1159,
13,
13,
13,
1753,
5040,
29918,
4530,
1338,
29898,
5461,
1125,
13,
1678,
363,
4365,
297,
903,
4530,
1338,
29901,
13,
4706,
7182,
29889,
25436,
29898,
18816,
29892,
903,
4381,
29918,
3179,
9306,
29961,
18816,
2314,
13,
1678,
4840,
29889,
21707,
29889,
3888,
703,
16329,
11415,
18470,
1159,
13,
2
] |
complete_workflow/image_process.py | totoyoyo/deformable-template-capstone | 1 | 170079 | import cv2
from PIL import Image
import numpy as np
import matplotlib.pyplot as plt
from skimage.restoration import (denoise_tv_chambolle, denoise_bilateral,
denoise_wavelet, estimate_sigma)
from pathlib import Path
def process_img_and_save(img_path: Path, denoise_h=20,
sobel=True, kernel_size=3):
img = cv2.imread(str(img_path), cv2.IMREAD_GRAYSCALE)
img = cv2.resize(img, (350, 350),
interpolation=cv2.INTER_AREA)
denoised = cv2.fastNlMeansDenoising(src=img, dst=None, h=denoise_h)
if sobel:
filtered = apply_sobel(denoised, kernel_size)
else:
filtered = apply_laplacian(denoised, kernel_size)
masked = apply_circle_mask(filtered)
resized_to_100 = cv2.resize(masked, (100, 100),
interpolation=cv2.INTER_AREA)
# resized_to_100 = masked
rescaled = ((resized_to_100 / resized_to_100.max()) * 255).astype("uint8")
im = Image.fromarray(rescaled)
img_orig_name = img_path.stem
img_folder = img_path.parent
im.save(img_folder / (img_orig_name + "_p_l" + str(kernel_size) + ".png"))
return rescaled
def process_after_cropped(img_path: Path, denoise_h=20, filter=False,
sobel=True, kernel_size=3):
img = cv2.imread(str(img_path), cv2.IMREAD_GRAYSCALE)
img = cv2.resize(img, (270, 270),
interpolation=cv2.INTER_AREA)
denoised = cv2.fastNlMeansDenoising(src=img, dst=None, h=denoise_h)
if filter:
if sobel:
filtered = apply_sobel(denoised, kernel_size)
else:
filtered = apply_laplacian(denoised, kernel_size)
else:
filtered = denoised
masked = apply_circle_mask(filtered, radius=135)
normalized = cv2.equalizeHist(masked)
resized_to_100 = cv2.resize(normalized, (100, 100),
interpolation=cv2.INTER_AREA)
# resized_to_100 = masked
rescaled = ((resized_to_100 / resized_to_100.max()) * 255).astype("uint8")
im = Image.fromarray(rescaled)
img_orig_name = img_path.stem
img_folder = img_path.parent
im.save(img_folder / (img_orig_name + "no_filter" + ".png"))
return rescaled
def apply_sobel(img, kernel_size):
sobel_x = cv2.Sobel(img, dx=1, dy=0, ddepth=cv2.CV_64F,
ksize=kernel_size, borderType=cv2.BORDER_REFLECT)
sobel_y = cv2.Sobel(img, dx=0, dy=1, ddepth=cv2.CV_64F,
ksize=kernel_size, borderType=cv2.BORDER_REFLECT)
sobel_both = np.sqrt((sobel_x ** 2 + sobel_y ** 2))
return sobel_both
def apply_laplacian(img, kernel_size):
laplacian = np.abs(cv2.Laplacian(img, ddepth=cv2.CV_64F,
ksize=kernel_size, borderType=cv2.BORDER_REFLECT))
return laplacian
def apply_circle_mask(img, radius=150):
hh, ww = img.shape
ycen = hh // 2
xcen = ww // 2
mask = np.zeros_like(img)
mask = cv2.circle(mask, center=(ycen, xcen), radius=radius,
color=1, thickness=-1)
masked = np.where(mask == 1, img, 0)
return masked
def canny_process_img_and_save(img_path, l_t=150, h_t=300,
kernel_size=3):
img = cv2.imread(str(img_path), cv2.IMREAD_GRAYSCALE)
img = cv2.resize(img, (350, 350),
interpolation=cv2.INTER_AREA)
icanny_out = cv2.Canny(img, threshold1=l_t,
threshold2=h_t, L2gradient=True, apertureSize=kernel_size)
masked = apply_circle_mask(icanny_out)
resized_to_100 = cv2.resize(masked, (100, 100),
interpolation=cv2.INTER_AREA)
rescaled = ((resized_to_100 / resized_to_100.max()) * 255).astype("uint8")
im = Image.fromarray(rescaled)
img_orig_name = img_path.stem
img_folder = img_path.parent
im.save(img_folder / (img_orig_name + "_p_can" + ".png"))
return rescaled
# main_path = Path(__file__).resolve().parent
# image_folder = main_path / "orig_coin_5_classes"
# for image_path in image_folder.glob("**/*.jpg"):
# process_img_and_save(image_path,sobel=False,kernel_size=5)
main_path = Path(__file__).resolve().parent
image_folder = main_path / "input_coins"
for image_path in image_folder.glob("**/*.jpg"):
process_after_cropped(image_path)
# Sobel noisy
# Canny is very sensitive to thresholds
# Laplacian h=5 is best
| [
1,
1053,
13850,
29906,
13,
3166,
349,
6227,
1053,
7084,
13,
5215,
12655,
408,
7442,
13,
5215,
22889,
29889,
2272,
5317,
408,
14770,
13,
3166,
2071,
3027,
29889,
5060,
12418,
1053,
313,
1145,
29877,
895,
29918,
12427,
29918,
305,
1117,
324,
280,
29892,
972,
29877,
895,
29918,
18152,
1008,
284,
29892,
13,
462,
462,
972,
29877,
895,
29918,
27766,
1026,
29892,
12678,
29918,
3754,
29897,
13,
3166,
2224,
1982,
1053,
10802,
13,
13,
13,
1753,
1889,
29918,
2492,
29918,
392,
29918,
7620,
29898,
2492,
29918,
2084,
29901,
10802,
29892,
972,
29877,
895,
29918,
29882,
29922,
29906,
29900,
29892,
13,
462,
308,
577,
6596,
29922,
5574,
29892,
8466,
29918,
2311,
29922,
29941,
1125,
13,
1678,
10153,
353,
13850,
29906,
29889,
326,
949,
29898,
710,
29898,
2492,
29918,
2084,
511,
13850,
29906,
29889,
7833,
16310,
29918,
29954,
4717,
21554,
5454,
1307,
29897,
13,
1678,
10153,
353,
13850,
29906,
29889,
21476,
29898,
2492,
29892,
313,
29941,
29945,
29900,
29892,
29871,
29941,
29945,
29900,
511,
13,
462,
268,
29694,
29922,
11023,
29906,
29889,
23845,
29918,
29909,
1525,
29909,
29897,
13,
1678,
972,
29877,
3368,
353,
13850,
29906,
29889,
11255,
29940,
29880,
6816,
550,
29928,
8154,
5921,
29898,
4351,
29922,
2492,
29892,
29743,
29922,
8516,
29892,
298,
29922,
1145,
29877,
895,
29918,
29882,
29897,
13,
1678,
565,
577,
6596,
29901,
13,
4706,
22289,
353,
3394,
29918,
578,
6596,
29898,
1145,
29877,
3368,
29892,
8466,
29918,
2311,
29897,
13,
1678,
1683,
29901,
13,
4706,
22289,
353,
3394,
29918,
6984,
433,
28445,
29898,
1145,
29877,
3368,
29892,
8466,
29918,
2311,
29897,
13,
1678,
11105,
287,
353,
3394,
29918,
16622,
29918,
13168,
29898,
4572,
287,
29897,
13,
1678,
620,
1891,
29918,
517,
29918,
29896,
29900,
29900,
353,
13850,
29906,
29889,
21476,
29898,
13168,
287,
29892,
313,
29896,
29900,
29900,
29892,
29871,
29896,
29900,
29900,
511,
13,
462,
18884,
29694,
29922,
11023,
29906,
29889,
23845,
29918,
29909,
1525,
29909,
29897,
13,
1678,
396,
620,
1891,
29918,
517,
29918,
29896,
29900,
29900,
353,
11105,
287,
13,
1678,
620,
29883,
7943,
353,
5135,
690,
1891,
29918,
517,
29918,
29896,
29900,
29900,
847,
620,
1891,
29918,
517,
29918,
29896,
29900,
29900,
29889,
3317,
3101,
334,
29871,
29906,
29945,
29945,
467,
579,
668,
703,
13470,
29947,
1159,
13,
1678,
527,
353,
7084,
29889,
3166,
2378,
29898,
690,
29883,
7943,
29897,
13,
1678,
10153,
29918,
12683,
29918,
978,
353,
10153,
29918,
2084,
29889,
303,
331,
13,
1678,
10153,
29918,
12083,
353,
10153,
29918,
2084,
29889,
3560,
13,
1678,
527,
29889,
7620,
29898,
2492,
29918,
12083,
847,
313,
2492,
29918,
12683,
29918,
978,
718,
11119,
29886,
29918,
29880,
29908,
718,
851,
29898,
17460,
29918,
2311,
29897,
718,
11393,
2732,
5783,
13,
1678,
736,
620,
29883,
7943,
13,
13,
13,
1753,
1889,
29918,
7045,
29918,
24077,
2986,
29898,
2492,
29918,
2084,
29901,
10802,
29892,
972,
29877,
895,
29918,
29882,
29922,
29906,
29900,
29892,
4175,
29922,
8824,
29892,
13,
462,
3986,
577,
6596,
29922,
5574,
29892,
8466,
29918,
2311,
29922,
29941,
1125,
13,
1678,
10153,
353,
13850,
29906,
29889,
326,
949,
29898,
710,
29898,
2492,
29918,
2084,
511,
13850,
29906,
29889,
7833,
16310,
29918,
29954,
4717,
21554,
5454,
1307,
29897,
13,
1678,
10153,
353,
13850,
29906,
29889,
21476,
29898,
2492,
29892,
313,
29906,
29955,
29900,
29892,
29871,
29906,
29955,
29900,
511,
13,
462,
268,
29694,
29922,
11023,
29906,
29889,
23845,
29918,
29909,
1525,
29909,
29897,
13,
1678,
972,
29877,
3368,
353,
13850,
29906,
29889,
11255,
29940,
29880,
6816,
550,
29928,
8154,
5921,
29898,
4351,
29922,
2492,
29892,
29743,
29922,
8516,
29892,
298,
29922,
1145,
29877,
895,
29918,
29882,
29897,
13,
1678,
565,
4175,
29901,
13,
4706,
565,
577,
6596,
29901,
13,
9651,
22289,
353,
3394,
29918,
578,
6596,
29898,
1145,
29877,
3368,
29892,
8466,
29918,
2311,
29897,
13,
4706,
1683,
29901,
13,
9651,
22289,
353,
3394,
29918,
6984,
433,
28445,
29898,
1145,
29877,
3368,
29892,
8466,
29918,
2311,
29897,
13,
1678,
1683,
29901,
13,
4706,
22289,
353,
972,
29877,
3368,
13,
1678,
11105,
287,
353,
3394,
29918,
16622,
29918,
13168,
29898,
4572,
287,
29892,
11855,
29922,
29896,
29941,
29945,
29897,
13,
1678,
4226,
1891,
353,
13850,
29906,
29889,
11745,
675,
29950,
391,
29898,
13168,
287,
29897,
13,
1678,
620,
1891,
29918,
517,
29918,
29896,
29900,
29900,
353,
13850,
29906,
29889,
21476,
29898,
8945,
1891,
29892,
313,
29896,
29900,
29900,
29892,
29871,
29896,
29900,
29900,
511,
13,
462,
18884,
29694,
29922,
11023,
29906,
29889,
23845,
29918,
29909,
1525,
29909,
29897,
13,
1678,
396,
620,
1891,
29918,
517,
29918,
29896,
29900,
29900,
353,
11105,
287,
13,
1678,
620,
29883,
7943,
353,
5135,
690,
1891,
29918,
517,
29918,
29896,
29900,
29900,
847,
620,
1891,
29918,
517,
29918,
29896,
29900,
29900,
29889,
3317,
3101,
334,
29871,
29906,
29945,
29945,
467,
579,
668,
703,
13470,
29947,
1159,
13,
1678,
527,
353,
7084,
29889,
3166,
2378,
29898,
690,
29883,
7943,
29897,
13,
1678,
10153,
29918,
12683,
29918,
978,
353,
10153,
29918,
2084,
29889,
303,
331,
13,
1678,
10153,
29918,
12083,
353,
10153,
29918,
2084,
29889,
3560,
13,
1678,
527,
29889,
7620,
29898,
2492,
29918,
12083,
847,
313,
2492,
29918,
12683,
29918,
978,
718,
376,
1217,
29918,
4572,
29908,
718,
11393,
2732,
5783,
13,
1678,
736,
620,
29883,
7943,
13,
13,
13,
1753,
3394,
29918,
578,
6596,
29898,
2492,
29892,
8466,
29918,
2311,
1125,
13,
1678,
577,
6596,
29918,
29916,
353,
13850,
29906,
29889,
29903,
711,
295,
29898,
2492,
29892,
15414,
29922,
29896,
29892,
13475,
29922,
29900,
29892,
270,
19488,
29922,
11023,
29906,
29889,
15633,
29918,
29953,
29946,
29943,
29892,
13,
462,
4706,
413,
2311,
29922,
17460,
29918,
2311,
29892,
5139,
1542,
29922,
11023,
29906,
29889,
29933,
22364,
29918,
25866,
3281,
29897,
13,
1678,
577,
6596,
29918,
29891,
353,
13850,
29906,
29889,
29903,
711,
295,
29898,
2492,
29892,
15414,
29922,
29900,
29892,
13475,
29922,
29896,
29892,
270,
19488,
29922,
11023,
29906,
29889,
15633,
29918,
29953,
29946,
29943,
29892,
13,
462,
4706,
413,
2311,
29922,
17460,
29918,
2311,
29892,
5139,
1542,
29922,
11023,
29906,
29889,
29933,
22364,
29918,
25866,
3281,
29897,
13,
13,
1678,
577,
6596,
29918,
20313,
353,
7442,
29889,
3676,
3552,
578,
6596,
29918,
29916,
3579,
29871,
29906,
718,
577,
6596,
29918,
29891,
3579,
29871,
29906,
876,
13,
1678,
736,
577,
6596,
29918,
20313,
13,
13,
13,
1753,
3394,
29918,
6984,
433,
28445,
29898,
2492,
29892,
8466,
29918,
2311,
1125,
13,
1678,
425,
13974,
28445,
353,
7442,
29889,
6897,
29898,
11023,
29906,
29889,
29931,
481,
433,
28445,
29898,
2492,
29892,
270,
19488,
29922,
11023,
29906,
29889,
15633,
29918,
29953,
29946,
29943,
29892,
13,
462,
462,
268,
413,
2311,
29922,
17460,
29918,
2311,
29892,
5139,
1542,
29922,
11023,
29906,
29889,
29933,
22364,
29918,
25866,
3281,
876,
13,
1678,
736,
425,
13974,
28445,
13,
13,
13,
1753,
3394,
29918,
16622,
29918,
13168,
29898,
2492,
29892,
11855,
29922,
29896,
29945,
29900,
1125,
13,
1678,
298,
29882,
29892,
7673,
353,
10153,
29889,
12181,
13,
1678,
343,
10278,
353,
298,
29882,
849,
29871,
29906,
13,
1678,
921,
10278,
353,
7673,
849,
29871,
29906,
13,
1678,
11105,
353,
7442,
29889,
3298,
359,
29918,
4561,
29898,
2492,
29897,
13,
1678,
11105,
353,
13850,
29906,
29889,
16622,
29898,
13168,
29892,
4818,
7607,
29891,
10278,
29892,
921,
10278,
511,
11855,
29922,
13471,
29892,
13,
462,
418,
2927,
29922,
29896,
29892,
12003,
2264,
10457,
29896,
29897,
13,
1678,
11105,
287,
353,
7442,
29889,
3062,
29898,
13168,
1275,
29871,
29896,
29892,
10153,
29892,
29871,
29900,
29897,
13,
1678,
736,
11105,
287,
13,
13,
13,
1753,
508,
1460,
29918,
5014,
29918,
2492,
29918,
392,
29918,
7620,
29898,
2492,
29918,
2084,
29892,
301,
29918,
29873,
29922,
29896,
29945,
29900,
29892,
298,
29918,
29873,
29922,
29941,
29900,
29900,
29892,
13,
462,
1669,
8466,
29918,
2311,
29922,
29941,
1125,
13,
1678,
10153,
353,
13850,
29906,
29889,
326,
949,
29898,
710,
29898,
2492,
29918,
2084,
511,
13850,
29906,
29889,
7833,
16310,
29918,
29954,
4717,
21554,
5454,
1307,
29897,
13,
1678,
10153,
353,
13850,
29906,
29889,
21476,
29898,
2492,
29892,
313,
29941,
29945,
29900,
29892,
29871,
29941,
29945,
29900,
511,
13,
462,
268,
29694,
29922,
11023,
29906,
29889,
23845,
29918,
29909,
1525,
29909,
29897,
13,
1678,
16077,
14763,
29918,
449,
353,
13850,
29906,
29889,
29907,
14763,
29898,
2492,
29892,
16897,
29896,
29922,
29880,
29918,
29873,
29892,
13,
462,
965,
16897,
29906,
29922,
29882,
29918,
29873,
29892,
365,
29906,
24970,
29922,
5574,
29892,
263,
10700,
545,
3505,
29922,
17460,
29918,
2311,
29897,
13,
1678,
11105,
287,
353,
3394,
29918,
16622,
29918,
13168,
29898,
293,
14763,
29918,
449,
29897,
13,
1678,
620,
1891,
29918,
517,
29918,
29896,
29900,
29900,
353,
13850,
29906,
29889,
21476,
29898,
13168,
287,
29892,
313,
29896,
29900,
29900,
29892,
29871,
29896,
29900,
29900,
511,
13,
462,
18884,
29694,
29922,
11023,
29906,
29889,
23845,
29918,
29909,
1525,
29909,
29897,
13,
1678,
620,
29883,
7943,
353,
5135,
690,
1891,
29918,
517,
29918,
29896,
29900,
29900,
847,
620,
1891,
29918,
517,
29918,
29896,
29900,
29900,
29889,
3317,
3101,
334,
29871,
29906,
29945,
29945,
467,
579,
668,
703,
13470,
29947,
1159,
13,
1678,
527,
353,
7084,
29889,
3166,
2378,
29898,
690,
29883,
7943,
29897,
13,
1678,
10153,
29918,
12683,
29918,
978,
353,
10153,
29918,
2084,
29889,
303,
331,
13,
1678,
10153,
29918,
12083,
353,
10153,
29918,
2084,
29889,
3560,
13,
1678,
527,
29889,
7620,
29898,
2492,
29918,
12083,
847,
313,
2492,
29918,
12683,
29918,
978,
718,
11119,
29886,
29918,
3068,
29908,
718,
11393,
2732,
5783,
13,
1678,
736,
620,
29883,
7943,
13,
13,
13,
29937,
1667,
29918,
2084,
353,
10802,
22168,
1445,
1649,
467,
17863,
2141,
3560,
13,
29937,
1967,
29918,
12083,
353,
1667,
29918,
2084,
847,
376,
12683,
29918,
1111,
262,
29918,
29945,
29918,
13203,
29908,
13,
29937,
363,
1967,
29918,
2084,
297,
1967,
29918,
12083,
29889,
23705,
703,
1068,
5515,
29889,
6173,
29908,
1125,
13,
29937,
268,
1889,
29918,
2492,
29918,
392,
29918,
7620,
29898,
3027,
29918,
2084,
29892,
578,
6596,
29922,
8824,
29892,
17460,
29918,
2311,
29922,
29945,
29897,
13,
13,
13,
3396,
29918,
2084,
353,
10802,
22168,
1445,
1649,
467,
17863,
2141,
3560,
13,
3027,
29918,
12083,
353,
1667,
29918,
2084,
847,
376,
2080,
29918,
1111,
1144,
29908,
13,
1454,
1967,
29918,
2084,
297,
1967,
29918,
12083,
29889,
23705,
703,
1068,
5515,
29889,
6173,
29908,
1125,
13,
1678,
1889,
29918,
7045,
29918,
24077,
2986,
29898,
3027,
29918,
2084,
29897,
13,
13,
29937,
25147,
295,
694,
13344,
13,
29937,
315,
14763,
338,
1407,
20502,
304,
266,
3781,
3361,
13,
29937,
20298,
433,
28445,
298,
29922,
29945,
338,
1900,
13,
2
] |
_scripts/parse.py | KaiL4eK/keras_traffic_signs_localization | 4 | 160113 | from __future__ import print_function
import os
import cv2
import argparse
parser = argparse.ArgumentParser(description='Process video with ANN')
parser.add_argument('filepath', action='store', help='Path to video file to process')
args = parser.parse_args()
def parse_file():
img_ref = cv2.imread(args.filepath)
pic_path = os.path.splitext(args.filepath)[0]+".jpg"
print(pic_path)
img = cv2.imread(pic_path)
cv2.imshow('1', img)
cv2.imshow('2', img_ref)
cv2.waitKey(0)
if __name__ == '__main__':
parse_file()
| [
1,
515,
4770,
29888,
9130,
1649,
1053,
1596,
29918,
2220,
13,
13,
5215,
2897,
13,
5215,
13850,
29906,
13,
5215,
1852,
5510,
13,
13,
16680,
353,
1852,
5510,
29889,
15730,
11726,
29898,
8216,
2433,
7032,
4863,
411,
319,
10262,
1495,
13,
16680,
29889,
1202,
29918,
23516,
877,
1445,
2084,
742,
3158,
2433,
8899,
742,
1371,
2433,
2605,
304,
4863,
934,
304,
1889,
1495,
13,
13,
5085,
353,
13812,
29889,
5510,
29918,
5085,
580,
13,
13,
1753,
6088,
29918,
1445,
7295,
13,
13,
13,
12,
2492,
29918,
999,
353,
13850,
29906,
29889,
326,
949,
29898,
5085,
29889,
1445,
2084,
29897,
13,
13,
12,
16447,
29918,
2084,
353,
2897,
29889,
2084,
29889,
23579,
568,
486,
29898,
5085,
29889,
1445,
2084,
9601,
29900,
10062,
1642,
6173,
29908,
13,
12,
2158,
29898,
16447,
29918,
2084,
29897,
13,
13,
12,
2492,
353,
13850,
29906,
29889,
326,
949,
29898,
16447,
29918,
2084,
29897,
13,
13,
12,
11023,
29906,
29889,
326,
4294,
877,
29896,
742,
10153,
29897,
13,
12,
11023,
29906,
29889,
326,
4294,
877,
29906,
742,
10153,
29918,
999,
29897,
13,
13,
12,
11023,
29906,
29889,
10685,
2558,
29898,
29900,
29897,
13,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
12,
5510,
29918,
1445,
580,
13,
13,
2
] |
test/test_words.py | dubmix3105/pysh | 7 | 27471 | import sys
import pytest
from pysh import shwords, shwords_f
def test_conversions():
with pytest.raises(ValueError):
shwords('{:{}}', 1, 2)
assert '{:{}}'.format(1, 2) == ' 1' # by contrast
def test_multiword():
assert shwords('touch {!@}', ['a', 'b']) \
== ['touch', 'a', 'b']
with pytest.raises(ValueError):
shwords('a b{!@}', ['x'])
with pytest.raises(ValueError):
shwords('a {!@}c', ['x'])
with pytest.raises(ValueError):
shwords('a {!@}{}', ['b'], 'c')
assert shwords('touch {!@} c', ['a', 'b']) \
== ['touch', 'a', 'b', 'c']
def test_splitting():
assert shwords('git grep {}', 'hello world') \
== ['git', 'grep', 'hello world']
assert shwords('{} {} {}', 'a', 'b c', 'd') \
== ['a', 'b c', 'd']
assert shwords(' a {} c ', 'b') \
== ['a', 'b', 'c']
assert shwords('tar -C {outdir} -xzf {tarball}',
outdir='/path/with/spaces in it',
tarball='2019 Planning (final) (v2) (final final).tgz') \
== ['tar', '-C', '/path/with/spaces in it', '-xzf', '2019 Planning (final) (v2) (final final).tgz']
def test_within_word():
assert shwords('git log --format={}', '%aN') \
== ['git', 'log', '--format=%aN']
assert shwords('{basedir}/deployments/{deploy_id}/bin/start',
basedir='/srv/app', deploy_id='0f1e2d3c') \
== ['/srv/app/deployments/0f1e2d3c/bin/start']
def test_locals():
import pytest
l = ['a', 'b']
assert shwords_f('touch {l!@}') \
== ['touch', 'a', 'b']
assert shwords_f('touch {l[1]}') \
== ['touch', 'b']
assert shwords_f('echo {pytest.__name__}') \
== ['echo', 'pytest']
# Known limitation: locals only, no globals...
with pytest.raises(KeyError, match='sys'):
shwords_f('echo {sys}')
# (unlike real, compiler-assisted f-strings)
assert f'{sys}' \
== "<module 'sys' (built-in)>"
# ... and enclosing scopes' locals are complicated.
def inner1():
with pytest.raises(KeyError):
return shwords_f('touch {l!@}')
inner1()
def inner2():
l
assert shwords_f('touch {l!@}') \
== ['touch', 'a', 'b']
inner2()
def inner3():
nonlocal l
assert shwords_f('touch {l!@}') \
== ['touch', 'a', 'b']
inner3()
| [
1,
1053,
10876,
13,
13,
5215,
11451,
1688,
13,
13,
3166,
11451,
845,
1053,
528,
9303,
29892,
528,
9303,
29918,
29888,
13,
13,
13,
1753,
1243,
29918,
535,
26100,
7295,
13,
29871,
411,
11451,
1688,
29889,
336,
4637,
29898,
1917,
2392,
1125,
13,
1678,
528,
9303,
877,
25641,
29912,
930,
742,
29871,
29896,
29892,
29871,
29906,
29897,
13,
29871,
4974,
22372,
26254,
930,
4286,
4830,
29898,
29896,
29892,
29871,
29906,
29897,
1275,
525,
29871,
29896,
29915,
29871,
396,
491,
12814,
13,
13,
13,
1753,
1243,
29918,
9910,
1742,
7295,
13,
29871,
4974,
528,
9303,
877,
16747,
426,
29991,
29992,
29913,
742,
6024,
29874,
742,
525,
29890,
11287,
320,
13,
1678,
1275,
6024,
16747,
742,
525,
29874,
742,
525,
29890,
2033,
13,
29871,
411,
11451,
1688,
29889,
336,
4637,
29898,
1917,
2392,
1125,
13,
1678,
528,
9303,
877,
29874,
289,
29912,
29991,
29992,
29913,
742,
6024,
29916,
11287,
13,
29871,
411,
11451,
1688,
29889,
336,
4637,
29898,
1917,
2392,
1125,
13,
1678,
528,
9303,
877,
29874,
426,
29991,
29992,
29913,
29883,
742,
6024,
29916,
11287,
13,
29871,
411,
11451,
1688,
29889,
336,
4637,
29898,
1917,
2392,
1125,
13,
1678,
528,
9303,
877,
29874,
426,
29991,
29992,
1157,
29913,
742,
6024,
29890,
7464,
525,
29883,
1495,
13,
29871,
4974,
528,
9303,
877,
16747,
426,
29991,
29992,
29913,
274,
742,
6024,
29874,
742,
525,
29890,
11287,
320,
13,
1678,
1275,
6024,
16747,
742,
525,
29874,
742,
525,
29890,
742,
525,
29883,
2033,
13,
13,
13,
1753,
1243,
29918,
23579,
5367,
7295,
13,
29871,
4974,
528,
9303,
877,
5559,
12680,
6571,
742,
525,
12199,
3186,
1495,
320,
13,
1678,
1275,
6024,
5559,
742,
525,
22385,
742,
525,
12199,
3186,
2033,
13,
29871,
4974,
528,
9303,
877,
8875,
6571,
6571,
742,
525,
29874,
742,
525,
29890,
274,
742,
525,
29881,
1495,
320,
13,
1678,
1275,
6024,
29874,
742,
525,
29890,
274,
742,
525,
29881,
2033,
13,
29871,
4974,
528,
9303,
877,
29871,
263,
29871,
6571,
274,
13420,
525,
29890,
1495,
320,
13,
1678,
1275,
6024,
29874,
742,
525,
29890,
742,
525,
29883,
2033,
13,
29871,
4974,
528,
9303,
877,
12637,
448,
29907,
426,
449,
3972,
29913,
448,
29916,
29920,
29888,
426,
12637,
2135,
29913,
742,
13,
462,
29871,
714,
3972,
2433,
29914,
2084,
29914,
2541,
29914,
22854,
297,
372,
742,
13,
462,
29871,
9913,
2135,
2433,
29906,
29900,
29896,
29929,
1858,
9450,
313,
8394,
29897,
313,
29894,
29906,
29897,
313,
8394,
2186,
467,
29873,
18828,
1495,
320,
13,
462,
29871,
1275,
6024,
12637,
742,
17411,
29907,
742,
8207,
2084,
29914,
2541,
29914,
22854,
297,
372,
742,
17411,
29916,
29920,
29888,
742,
525,
29906,
29900,
29896,
29929,
1858,
9450,
313,
8394,
29897,
313,
29894,
29906,
29897,
313,
8394,
2186,
467,
29873,
18828,
2033,
13,
13,
13,
1753,
1243,
29918,
2541,
262,
29918,
1742,
7295,
13,
29871,
4974,
528,
9303,
877,
5559,
1480,
1192,
4830,
3790,
29913,
742,
14210,
29874,
29940,
1495,
320,
13,
1678,
1275,
6024,
5559,
742,
525,
1188,
742,
525,
489,
4830,
16328,
29874,
29940,
2033,
13,
29871,
4974,
528,
9303,
877,
29912,
6707,
381,
6822,
16519,
1860,
19248,
16519,
29918,
333,
6822,
2109,
29914,
2962,
742,
13,
462,
2729,
381,
2433,
29914,
29879,
15291,
29914,
932,
742,
7246,
29918,
333,
2433,
29900,
29888,
29896,
29872,
29906,
29881,
29941,
29883,
1495,
320,
13,
1678,
1275,
6024,
29914,
29879,
15291,
29914,
932,
29914,
16519,
1860,
29914,
29900,
29888,
29896,
29872,
29906,
29881,
29941,
29883,
29914,
2109,
29914,
2962,
2033,
13,
13,
13,
1753,
1243,
29918,
2997,
29879,
7295,
13,
29871,
1053,
11451,
1688,
13,
13,
29871,
301,
353,
6024,
29874,
742,
525,
29890,
2033,
13,
29871,
4974,
528,
9303,
29918,
29888,
877,
16747,
426,
29880,
29991,
29992,
29913,
1495,
320,
13,
1678,
1275,
6024,
16747,
742,
525,
29874,
742,
525,
29890,
2033,
13,
29871,
4974,
528,
9303,
29918,
29888,
877,
16747,
426,
29880,
29961,
29896,
12258,
1495,
320,
13,
1678,
1275,
6024,
16747,
742,
525,
29890,
2033,
13,
29871,
4974,
528,
9303,
29918,
29888,
877,
8057,
426,
2272,
1688,
17255,
978,
1649,
29913,
1495,
320,
13,
1678,
1275,
6024,
8057,
742,
525,
2272,
1688,
2033,
13,
13,
29871,
396,
8360,
776,
29485,
29901,
1180,
1338,
871,
29892,
694,
13149,
1338,
856,
13,
29871,
411,
11451,
1688,
29889,
336,
4637,
29898,
2558,
2392,
29892,
1993,
2433,
9675,
29374,
13,
1678,
528,
9303,
29918,
29888,
877,
8057,
426,
9675,
29913,
1495,
13,
29871,
396,
313,
348,
4561,
1855,
29892,
6516,
29899,
465,
12652,
285,
29899,
19651,
29897,
13,
29871,
4974,
285,
29915,
29912,
9675,
10162,
320,
13,
1678,
1275,
9872,
5453,
525,
9675,
29915,
313,
16145,
29899,
262,
29897,
11903,
13,
13,
29871,
396,
2023,
322,
427,
11291,
292,
16505,
267,
29915,
1180,
1338,
526,
12092,
29889,
13,
29871,
822,
6426,
29896,
7295,
13,
1678,
411,
11451,
1688,
29889,
336,
4637,
29898,
2558,
2392,
1125,
13,
418,
736,
528,
9303,
29918,
29888,
877,
16747,
426,
29880,
29991,
29992,
29913,
1495,
13,
29871,
6426,
29896,
580,
13,
29871,
822,
6426,
29906,
7295,
13,
1678,
301,
13,
1678,
4974,
528,
9303,
29918,
29888,
877,
16747,
426,
29880,
29991,
29992,
29913,
1495,
320,
13,
418,
1275,
6024,
16747,
742,
525,
29874,
742,
525,
29890,
2033,
13,
29871,
6426,
29906,
580,
13,
29871,
822,
6426,
29941,
7295,
13,
1678,
1661,
2997,
301,
13,
1678,
4974,
528,
9303,
29918,
29888,
877,
16747,
426,
29880,
29991,
29992,
29913,
1495,
320,
13,
418,
1275,
6024,
16747,
742,
525,
29874,
742,
525,
29890,
2033,
13,
29871,
6426,
29941,
580,
13,
2
] |
server.py | swyngaard/sensor-logger | 0 | 136918 | from flask_socketio import SocketIO
from flask import Flask, render_template, request
from time import sleep
from threading import Thread, Event
from flask_autoindex import AutoIndex
import logging
import os
import getpass
import sys
from shongololo import start_up as SU
from shongololo import sys_admin as SA
from shongololo import K30_serial as KS
from shongololo import Imet_serial as IS
# TODO enable following with pkg_resources module later
user = getpass.getuser()
data_dir = '/home/' + user + '/DATA/'
datafile = 'data.csv'
logfile = data_dir + 'Shongololo_log.log'
i_head = ",IMET_ID, Latitude, Longitude, Altitude, Air Speed (m/s), Mode, Fixed Satellites, Available Satellites," \
"voltage,current,level,id "
k_head = ",K30_ID, CO2 ppm"
period = 0.5
app = Flask(__name__)
# turn the flask app into a socketio app
socketio = SocketIO(app)
filesindex = AutoIndex(app, os.path.join(app.root_path, data_dir), add_url_rules=False)
#sthread = Thread()
sthread_stop_event = Event()
mthread = Thread()
mthread_stop_event = Event()
sensors = []
class FlaskHandler(logging.Handler):
def __init__(self, a_socket, level=logging.NOTSET):
super().__init__(level=level)
self.socketio = a_socket
def emit(self, record):
socketio.emit('newmsg', {'lmsg': self.format(record)}, namespace='/test')
class shongololo_thread(Thread):
def __init__(self):
self.delay = 0.5
super(shongololo_thread, self).__init__()
self.device_dict = {}
self.imet_sockets = []
self.k30_sockets = []
self.fd = None # File handle
def capture_data(self):
"""
Start capturing data from sensore and writing it to file
"""
sthread_stop_event.clear()
# Access devices
status, self.device_dict = SA.find_devices()
# Connect to imets
self.imet_sockets = IS.open_imets(self.device_dict["imets"])
# Connect to CO2 meters
self.k30_sockets = KS.open_k30s(self.device_dict["k30s"])
# Start data log file
status, numbered_nd = SA.mk_numbered_nd(data_dir)
if status != 0:
error = "Failed to create directory for data logging, data will not be saved to file, try restarting the " \
"application "
socketio.emit('newnumber', {'number': error}, namespace='/test')
sys.exit()
else:
header = ""
for c in range(len(self.device_dict["k30s"])):
header = header + str(k_head)
for i in range(len(self.device_dict["imets"])):
header = header + str(i_head)
self.fd = SA.ini_datafile(str(numbered_nd) + datafile, header)
socketio.emit('newnumber', {'number': "Starting log in {}".format(datafile)}, namespace='/test')
socketio.emit('newnumber', {'number': header}, namespace='/test')
self.fd.write(header)
# Sample data until told to stop
while not sthread_stop_event.isSet():
pack = []
dataline = ""
latest_idata, latest_kdata = SA.read_data(self.imet_sockets, self.k30_sockets)
# pack data
for count, k in zip(range(len(self.device_dict["k30s"])), self.device_dict["k30s"]):
pack.append(k[1] + "," + latest_kdata[count])
for count, i in zip(range(len(self.device_dict["imets"])), self.device_dict["imets"]):
pack.append(i[1] + "," + latest_idata[count])
for x in pack:
dataline = dataline + "," + x
socketio.emit('newnumber', {'number': dataline}, namespace='/test')
self.fd.write("\n" + dataline)
sleep(self.delay)
def stop_capture(self):
SA.close_sensors(self.imet_sockets + self.k30_sockets)
if self.fd != None:
self.fd.close()
def run(self):
self.capture_data()
class monitoring_thread(Thread):
"""Prints application log to webpage and carries out initial setup work"""
def __init__(self):
self.delay = 0.5
self.imet_sockets = []
self.k30_sockets = []
self.device_dict = {}
self.datafile = ""
super(monitoring_thread, self).__init__()
def setup_shongololo(self):
"""
Capture the apps log stream and output it to webpage along with performing initial setup work
"""
mthread_stop_event.clear()
flask_handler = FlaskHandler(socketio)
# Do startup sequence
SA.if_mk_dir(data_dir)
SU.start_logging(logfile, flask_handler, 1)
self.imet_sockets, self.k30_sockets, self.device_dict = SU.start_up()
# Test sensors
if SU.test_sensors(self.imet_sockets, self.k30_sockets) == 0:
# Successful test, close sensor sockets and move on
SA.close_sensors(mthread.imet_sockets + mthread.k30_sockets)
sys.stdout.flush()
else:
mthread_stop_event.set()
sys.stdout.flush()
def run(self):
self.setup_shongololo()
sthread = shongololo_thread()
@app.route('/')
def index():
# only by sending this page first will the client be connected to the socketio instance
my_list = ['./one.csv', './two.csv', './three.csv']
return render_template('index.html', option_list=my_list)
@app.route('/files')
@app.route('/files/<path:path>')
def autoindex(path='.'):
return filesindex.render_autoindex(path)
@socketio.on('connect', namespace='/test')
def test_connect():
print('Client connected')
@socketio.on('disconnect', namespace='/test')
def test_disconnect():
print('Client disconnected')
# Functions for controlling sensors and data capture
@socketio.on('start capture', namespace='/test') # 'my start' is referenced in java script
def start_capture():
"""Start a data capture session"""
global sthread
# Start the random number generator thread only if the thread has not been started before.
if not sthread.isAlive():
print("Starting Thread")
sthread = shongololo_thread()
sthread.start()
@socketio.on('stop capture', namespace='/test')
def stop_capture():
"""Stop a data capture session"""
sthread.stop_capture()
sthread_stop_event.set()
# Functions controlling whole system
@socketio.on('do setup', namespace='/test')
def do_setuplogging():
"""Do pre data capture setup and initialise application logging"""
global mthread
if not mthread.isAlive():
mthread = monitoring_thread()
mthread.start()
@socketio.on('Shutdown Pi', namespace='/test')
def Shutdown_Pi():
"""Shutdown Pi gracefully"""
# Stop data capture thread if running
if sthread.isAlive:
sthread.stop_capture()
sthread_stop_event.set()
# Close monitoring thread if still alive
SA.shutdown_monitor()
if mthread.isAlive:
mthread_stop_event.set()
SA.shutdown_computer()
@socketio.on('shutdown app', namespace='/test')
def shutdown_app():
"""Shutdown whole application gracefully"""
# Stop data capture thread if running
if sthread.isAlive:
sthread.stop_capture()
sthread_stop_event.set()
# Close monitoring thread
SA.shutdown_monitor()
if mthread.isAlive:
mthread_stop_event.set()
if __name__ == "__main__":
socketio.run(app, host='0.0.0.0')
| [
1,
515,
29784,
29918,
11514,
601,
1053,
29141,
5971,
13,
3166,
29784,
1053,
2379,
1278,
29892,
4050,
29918,
6886,
29892,
2009,
13,
3166,
931,
1053,
8709,
13,
3166,
3244,
292,
1053,
10480,
29892,
6864,
13,
3166,
29784,
29918,
6921,
2248,
1053,
11133,
3220,
13,
5215,
12183,
13,
5215,
2897,
13,
5215,
679,
3364,
13,
5215,
10876,
13,
3166,
528,
549,
324,
3543,
1053,
1369,
29918,
786,
408,
20134,
13,
3166,
528,
549,
324,
3543,
1053,
10876,
29918,
6406,
408,
16698,
13,
3166,
528,
549,
324,
3543,
1053,
476,
29941,
29900,
29918,
15550,
408,
476,
29903,
13,
3166,
528,
549,
324,
3543,
1053,
1954,
300,
29918,
15550,
408,
8519,
13,
13,
29937,
14402,
9025,
1494,
411,
282,
9415,
29918,
13237,
3883,
2678,
13,
1792,
353,
679,
3364,
29889,
657,
1792,
580,
13,
1272,
29918,
3972,
353,
8207,
5184,
22208,
718,
1404,
718,
8207,
14573,
22208,
13,
1272,
1445,
353,
525,
1272,
29889,
7638,
29915,
13,
1188,
1445,
353,
848,
29918,
3972,
718,
525,
2713,
549,
324,
3543,
29918,
1188,
29889,
1188,
29915,
13,
29875,
29918,
2813,
353,
9162,
8890,
29911,
29918,
1367,
29892,
29871,
7053,
4279,
29892,
6242,
4279,
29892,
10790,
4279,
29892,
5593,
24839,
313,
29885,
29914,
29879,
511,
21864,
29892,
383,
11925,
12178,
514,
3246,
29892,
7740,
3106,
12178,
514,
3246,
1699,
320,
13,
4706,
376,
1555,
29873,
482,
29892,
3784,
29892,
5563,
29892,
333,
376,
13,
29895,
29918,
2813,
353,
9162,
29968,
29941,
29900,
29918,
1367,
29892,
4810,
29906,
282,
3358,
29908,
13,
19145,
353,
29871,
29900,
29889,
29945,
13,
13,
932,
353,
2379,
1278,
22168,
978,
1649,
29897,
13,
13,
29937,
2507,
278,
29784,
623,
964,
263,
9909,
601,
623,
13,
11514,
601,
353,
29141,
5971,
29898,
932,
29897,
13,
5325,
2248,
353,
11133,
3220,
29898,
932,
29892,
2897,
29889,
2084,
29889,
7122,
29898,
932,
29889,
4632,
29918,
2084,
29892,
848,
29918,
3972,
511,
788,
29918,
2271,
29918,
19238,
29922,
8824,
29897,
13,
13,
29937,
303,
29882,
949,
353,
10480,
580,
13,
303,
29882,
949,
29918,
9847,
29918,
3696,
353,
6864,
580,
13,
29885,
7097,
353,
10480,
580,
13,
29885,
7097,
29918,
9847,
29918,
3696,
353,
6864,
580,
13,
23149,
943,
353,
5159,
13,
13,
13,
1990,
2379,
1278,
4598,
29898,
21027,
29889,
4598,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
263,
29918,
11514,
29892,
3233,
29922,
21027,
29889,
12256,
10490,
1125,
13,
4706,
2428,
2141,
1649,
2344,
12035,
5563,
29922,
5563,
29897,
13,
4706,
1583,
29889,
11514,
601,
353,
263,
29918,
11514,
13,
13,
1678,
822,
20076,
29898,
1311,
29892,
2407,
1125,
13,
4706,
9909,
601,
29889,
21976,
877,
1482,
7645,
742,
11117,
29880,
7645,
2396,
1583,
29889,
4830,
29898,
11651,
19230,
7397,
2433,
29914,
1688,
1495,
13,
13,
13,
1990,
528,
549,
324,
3543,
29918,
7097,
29898,
4899,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
1125,
13,
4706,
1583,
29889,
18829,
353,
29871,
29900,
29889,
29945,
13,
4706,
2428,
29898,
845,
549,
324,
3543,
29918,
7097,
29892,
1583,
467,
1649,
2344,
1649,
580,
13,
4706,
1583,
29889,
10141,
29918,
8977,
353,
6571,
13,
4706,
1583,
29889,
17528,
29918,
578,
9737,
353,
5159,
13,
4706,
1583,
29889,
29895,
29941,
29900,
29918,
578,
9737,
353,
5159,
13,
4706,
1583,
29889,
11512,
353,
6213,
29871,
396,
3497,
4386,
13,
13,
1678,
822,
10446,
29918,
1272,
29898,
1311,
1125,
13,
4706,
9995,
13,
4706,
7370,
4332,
3864,
848,
515,
4771,
487,
322,
5007,
372,
304,
934,
13,
4706,
9995,
13,
4706,
380,
29882,
949,
29918,
9847,
29918,
3696,
29889,
8551,
580,
13,
4706,
396,
11028,
9224,
13,
4706,
4660,
29892,
1583,
29889,
10141,
29918,
8977,
353,
16698,
29889,
2886,
29918,
3359,
1575,
580,
13,
13,
4706,
396,
14971,
304,
527,
1691,
13,
4706,
1583,
29889,
17528,
29918,
578,
9737,
353,
8519,
29889,
3150,
29918,
326,
1691,
29898,
1311,
29889,
10141,
29918,
8977,
3366,
326,
1691,
20068,
13,
4706,
396,
14971,
304,
4810,
29906,
27881,
13,
4706,
1583,
29889,
29895,
29941,
29900,
29918,
578,
9737,
353,
476,
29903,
29889,
3150,
29918,
29895,
29941,
29900,
29879,
29898,
1311,
29889,
10141,
29918,
8977,
3366,
29895,
29941,
29900,
29879,
20068,
13,
13,
4706,
396,
7370,
848,
1480,
934,
13,
4706,
4660,
29892,
1353,
287,
29918,
299,
353,
16698,
29889,
11256,
29918,
4537,
287,
29918,
299,
29898,
1272,
29918,
3972,
29897,
13,
4706,
565,
4660,
2804,
29871,
29900,
29901,
13,
9651,
1059,
353,
376,
17776,
304,
1653,
3884,
363,
848,
12183,
29892,
848,
674,
451,
367,
7160,
304,
934,
29892,
1018,
10715,
292,
278,
376,
320,
13,
462,
1678,
376,
6214,
376,
13,
9651,
9909,
601,
29889,
21976,
877,
484,
1233,
2807,
742,
11117,
4537,
2396,
1059,
1118,
7397,
2433,
29914,
1688,
1495,
13,
9651,
10876,
29889,
13322,
580,
13,
4706,
1683,
29901,
13,
9651,
4839,
353,
5124,
13,
9651,
363,
274,
297,
3464,
29898,
2435,
29898,
1311,
29889,
10141,
29918,
8977,
3366,
29895,
29941,
29900,
29879,
3108,
22164,
13,
18884,
4839,
353,
4839,
718,
851,
29898,
29895,
29918,
2813,
29897,
13,
9651,
363,
474,
297,
3464,
29898,
2435,
29898,
1311,
29889,
10141,
29918,
8977,
3366,
326,
1691,
3108,
22164,
13,
18884,
4839,
353,
4839,
718,
851,
29898,
29875,
29918,
2813,
29897,
13,
9651,
1583,
29889,
11512,
353,
16698,
29889,
2172,
29918,
1272,
1445,
29898,
710,
29898,
4537,
287,
29918,
299,
29897,
718,
848,
1445,
29892,
4839,
29897,
13,
13,
9651,
9909,
601,
29889,
21976,
877,
484,
1233,
2807,
742,
11117,
4537,
2396,
376,
4763,
292,
1480,
297,
6571,
1642,
4830,
29898,
1272,
1445,
19230,
7397,
2433,
29914,
1688,
1495,
13,
9651,
9909,
601,
29889,
21976,
877,
484,
1233,
2807,
742,
11117,
4537,
2396,
4839,
1118,
7397,
2433,
29914,
1688,
1495,
13,
9651,
1583,
29889,
11512,
29889,
3539,
29898,
6672,
29897,
13,
13,
9651,
396,
21029,
848,
2745,
5429,
304,
5040,
13,
9651,
1550,
451,
380,
29882,
949,
29918,
9847,
29918,
3696,
29889,
275,
2697,
7295,
13,
18884,
4870,
353,
5159,
13,
18884,
1418,
284,
457,
353,
5124,
13,
18884,
9281,
29918,
333,
532,
29892,
9281,
29918,
29895,
1272,
353,
16698,
29889,
949,
29918,
1272,
29898,
1311,
29889,
17528,
29918,
578,
9737,
29892,
1583,
29889,
29895,
29941,
29900,
29918,
578,
9737,
29897,
13,
18884,
396,
4870,
848,
13,
18884,
363,
2302,
29892,
413,
297,
14319,
29898,
3881,
29898,
2435,
29898,
1311,
29889,
10141,
29918,
8977,
3366,
29895,
29941,
29900,
29879,
20068,
511,
1583,
29889,
10141,
29918,
8977,
3366,
29895,
29941,
29900,
29879,
3108,
1125,
13,
462,
1678,
4870,
29889,
4397,
29898,
29895,
29961,
29896,
29962,
718,
28796,
718,
9281,
29918,
29895,
1272,
29961,
2798,
2314,
13,
13,
18884,
363,
2302,
29892,
474,
297,
14319,
29898,
3881,
29898,
2435,
29898,
1311,
29889,
10141,
29918,
8977,
3366,
326,
1691,
20068,
511,
1583,
29889,
10141,
29918,
8977,
3366,
326,
1691,
3108,
1125,
13,
462,
1678,
4870,
29889,
4397,
29898,
29875,
29961,
29896,
29962,
718,
28796,
718,
9281,
29918,
333,
532,
29961,
2798,
2314,
13,
13,
18884,
363,
921,
297,
4870,
29901,
13,
462,
1678,
1418,
284,
457,
353,
1418,
284,
457,
718,
28796,
718,
921,
13,
13,
18884,
9909,
601,
29889,
21976,
877,
484,
1233,
2807,
742,
11117,
4537,
2396,
1418,
284,
457,
1118,
7397,
2433,
29914,
1688,
1495,
13,
18884,
1583,
29889,
11512,
29889,
3539,
14182,
29876,
29908,
718,
1418,
284,
457,
29897,
13,
13,
18884,
8709,
29898,
1311,
29889,
18829,
29897,
13,
13,
1678,
822,
5040,
29918,
17885,
545,
29898,
1311,
1125,
13,
4706,
16698,
29889,
5358,
29918,
23149,
943,
29898,
1311,
29889,
17528,
29918,
578,
9737,
718,
1583,
29889,
29895,
29941,
29900,
29918,
578,
9737,
29897,
13,
4706,
565,
1583,
29889,
11512,
2804,
6213,
29901,
13,
9651,
1583,
29889,
11512,
29889,
5358,
580,
13,
13,
1678,
822,
1065,
29898,
1311,
1125,
13,
4706,
1583,
29889,
17885,
545,
29918,
1272,
580,
13,
13,
13,
1990,
29652,
29918,
7097,
29898,
4899,
1125,
13,
1678,
9995,
4040,
9466,
2280,
1480,
304,
24499,
322,
1559,
2722,
714,
2847,
6230,
664,
15945,
29908,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
1125,
13,
4706,
1583,
29889,
18829,
353,
29871,
29900,
29889,
29945,
13,
4706,
1583,
29889,
17528,
29918,
578,
9737,
353,
5159,
13,
4706,
1583,
29889,
29895,
29941,
29900,
29918,
578,
9737,
353,
5159,
13,
4706,
1583,
29889,
10141,
29918,
8977,
353,
6571,
13,
4706,
1583,
29889,
1272,
1445,
353,
5124,
13,
4706,
2428,
29898,
3712,
2105,
292,
29918,
7097,
29892,
1583,
467,
1649,
2344,
1649,
580,
13,
13,
1678,
822,
6230,
29918,
845,
549,
324,
3543,
29898,
1311,
1125,
13,
4706,
9995,
13,
4706,
8868,
545,
278,
11446,
1480,
4840,
322,
1962,
372,
304,
24499,
3412,
411,
15859,
2847,
6230,
664,
13,
4706,
9995,
13,
4706,
286,
7097,
29918,
9847,
29918,
3696,
29889,
8551,
580,
13,
4706,
29784,
29918,
13789,
353,
2379,
1278,
4598,
29898,
11514,
601,
29897,
13,
13,
4706,
396,
1938,
20234,
5665,
13,
4706,
16698,
29889,
361,
29918,
11256,
29918,
3972,
29898,
1272,
29918,
3972,
29897,
13,
4706,
20134,
29889,
2962,
29918,
21027,
29898,
1188,
1445,
29892,
29784,
29918,
13789,
29892,
29871,
29896,
29897,
13,
4706,
1583,
29889,
17528,
29918,
578,
9737,
29892,
1583,
29889,
29895,
29941,
29900,
29918,
578,
9737,
29892,
1583,
29889,
10141,
29918,
8977,
353,
20134,
29889,
2962,
29918,
786,
580,
13,
13,
4706,
396,
4321,
4771,
943,
13,
4706,
565,
20134,
29889,
1688,
29918,
23149,
943,
29898,
1311,
29889,
17528,
29918,
578,
9737,
29892,
1583,
29889,
29895,
29941,
29900,
29918,
578,
9737,
29897,
1275,
29871,
29900,
29901,
13,
13,
9651,
396,
21397,
1319,
1243,
29892,
3802,
23530,
577,
9737,
322,
4337,
373,
13,
9651,
16698,
29889,
5358,
29918,
23149,
943,
29898,
29885,
7097,
29889,
17528,
29918,
578,
9737,
718,
286,
7097,
29889,
29895,
29941,
29900,
29918,
578,
9737,
29897,
13,
9651,
10876,
29889,
25393,
29889,
23126,
580,
13,
13,
4706,
1683,
29901,
13,
9651,
286,
7097,
29918,
9847,
29918,
3696,
29889,
842,
580,
13,
9651,
10876,
29889,
25393,
29889,
23126,
580,
13,
13,
1678,
822,
1065,
29898,
1311,
1125,
13,
4706,
1583,
29889,
14669,
29918,
845,
549,
324,
3543,
580,
13,
13,
303,
29882,
949,
353,
528,
549,
324,
3543,
29918,
7097,
580,
13,
13,
29992,
932,
29889,
13134,
11219,
1495,
13,
1753,
2380,
7295,
13,
1678,
396,
871,
491,
9348,
445,
1813,
937,
674,
278,
3132,
367,
6631,
304,
278,
9909,
601,
2777,
13,
1678,
590,
29918,
1761,
353,
518,
4286,
29914,
650,
29889,
7638,
742,
19283,
10184,
29889,
7638,
742,
19283,
17536,
29889,
7638,
2033,
13,
1678,
736,
4050,
29918,
6886,
877,
2248,
29889,
1420,
742,
2984,
29918,
1761,
29922,
1357,
29918,
1761,
29897,
13,
13,
13,
29992,
932,
29889,
13134,
11219,
5325,
1495,
13,
29992,
932,
29889,
13134,
11219,
5325,
29914,
29966,
2084,
29901,
2084,
29958,
1495,
13,
1753,
4469,
2248,
29898,
2084,
2433,
6169,
1125,
13,
1678,
736,
2066,
2248,
29889,
9482,
29918,
6921,
2248,
29898,
2084,
29897,
13,
13,
13,
29992,
11514,
601,
29889,
265,
877,
6915,
742,
7397,
2433,
29914,
1688,
1495,
13,
1753,
1243,
29918,
6915,
7295,
13,
1678,
1596,
877,
4032,
6631,
1495,
13,
13,
13,
29992,
11514,
601,
29889,
265,
877,
2218,
6915,
742,
7397,
2433,
29914,
1688,
1495,
13,
1753,
1243,
29918,
2218,
6915,
7295,
13,
1678,
1596,
877,
4032,
766,
18045,
1495,
13,
13,
13,
29937,
6680,
29879,
363,
640,
22155,
4771,
943,
322,
848,
10446,
13,
29992,
11514,
601,
29889,
265,
877,
2962,
10446,
742,
7397,
2433,
29914,
1688,
1495,
29871,
396,
525,
1357,
1369,
29915,
338,
16180,
297,
2115,
2471,
13,
1753,
1369,
29918,
17885,
545,
7295,
13,
1678,
9995,
4763,
263,
848,
10446,
4867,
15945,
29908,
13,
1678,
5534,
380,
29882,
949,
13,
1678,
396,
7370,
278,
4036,
1353,
15299,
3244,
871,
565,
278,
3244,
756,
451,
1063,
4687,
1434,
29889,
13,
1678,
565,
451,
380,
29882,
949,
29889,
275,
29909,
9258,
7295,
13,
4706,
1596,
703,
4763,
292,
10480,
1159,
13,
4706,
380,
29882,
949,
353,
528,
549,
324,
3543,
29918,
7097,
580,
13,
4706,
380,
29882,
949,
29889,
2962,
580,
13,
13,
13,
29992,
11514,
601,
29889,
265,
877,
9847,
10446,
742,
7397,
2433,
29914,
1688,
1495,
13,
1753,
5040,
29918,
17885,
545,
7295,
13,
1678,
9995,
16329,
263,
848,
10446,
4867,
15945,
29908,
13,
1678,
380,
29882,
949,
29889,
9847,
29918,
17885,
545,
580,
13,
1678,
380,
29882,
949,
29918,
9847,
29918,
3696,
29889,
842,
580,
13,
13,
13,
29937,
6680,
29879,
640,
22155,
3353,
1788,
13,
29992,
11514,
601,
29889,
265,
877,
1867,
6230,
742,
7397,
2433,
29914,
1688,
1495,
13,
1753,
437,
29918,
14669,
21027,
7295,
13,
1678,
9995,
6132,
758,
848,
10446,
6230,
322,
2847,
895,
2280,
12183,
15945,
29908,
13,
1678,
5534,
286,
7097,
13,
1678,
565,
451,
286,
7097,
29889,
275,
29909,
9258,
7295,
13,
4706,
286,
7097,
353,
29652,
29918,
7097,
580,
13,
4706,
286,
7097,
29889,
2962,
580,
13,
13,
13,
29992,
11514,
601,
29889,
265,
877,
2713,
329,
3204,
7362,
742,
7397,
2433,
29914,
1688,
1495,
13,
1753,
1383,
329,
3204,
29918,
12197,
7295,
13,
1678,
9995,
2713,
329,
3204,
7362,
17659,
3730,
15945,
29908,
13,
1678,
396,
22303,
848,
10446,
3244,
565,
2734,
13,
1678,
565,
380,
29882,
949,
29889,
275,
29909,
9258,
29901,
13,
4706,
380,
29882,
949,
29889,
9847,
29918,
17885,
545,
580,
13,
4706,
380,
29882,
949,
29918,
9847,
29918,
3696,
29889,
842,
580,
13,
13,
13,
1678,
396,
23186,
29652,
3244,
565,
1603,
18758,
13,
1678,
16698,
29889,
845,
329,
3204,
29918,
3712,
2105,
580,
13,
1678,
565,
286,
7097,
29889,
275,
29909,
9258,
29901,
13,
4706,
286,
7097,
29918,
9847,
29918,
3696,
29889,
842,
580,
13,
13,
1678,
16698,
29889,
845,
329,
3204,
29918,
12097,
261,
580,
13,
13,
29992,
11514,
601,
29889,
265,
877,
845,
329,
3204,
623,
742,
7397,
2433,
29914,
1688,
1495,
13,
1753,
12522,
3204,
29918,
932,
7295,
13,
1678,
9995,
2713,
329,
3204,
3353,
2280,
17659,
3730,
15945,
29908,
13,
13,
1678,
396,
22303,
848,
10446,
3244,
565,
2734,
13,
1678,
565,
380,
29882,
949,
29889,
275,
29909,
9258,
29901,
13,
4706,
380,
29882,
949,
29889,
9847,
29918,
17885,
545,
580,
13,
4706,
380,
29882,
949,
29918,
9847,
29918,
3696,
29889,
842,
580,
13,
13,
13,
1678,
396,
23186,
29652,
3244,
13,
1678,
16698,
29889,
845,
329,
3204,
29918,
3712,
2105,
580,
13,
1678,
565,
286,
7097,
29889,
275,
29909,
9258,
29901,
13,
4706,
286,
7097,
29918,
9847,
29918,
3696,
29889,
842,
580,
13,
13,
13,
361,
4770,
978,
1649,
1275,
376,
1649,
3396,
1649,
1115,
13,
1678,
9909,
601,
29889,
3389,
29898,
932,
29892,
3495,
2433,
29900,
29889,
29900,
29889,
29900,
29889,
29900,
1495,
13,
2
] |
test/ResultsAndPrizes/top-3/test_top_3_winning_numbers_of_the_last_draw.py | FearFactor1/SPA | 1 | 52867 | # Топ-3 + Выигрышные номера последнего тиража
def test_top_3_winning_numbers_last_draw(app):
app.ResultAndPrizes.open_page_results_and_prizes()
app.ResultAndPrizes.click_game_top_3()
app.ResultAndPrizes.button_get_report_winners()
assert "ВЫИГРЫШНЫЕ НОМЕРА" in app.ResultAndPrizes.parser_report_text_winners()
app.ResultAndPrizes.message_id_33_top_3_last_draw()
app.ResultAndPrizes.message_id_33_top_3_winning_numbers_last_draw()
app.ResultAndPrizes.comeback_main_page() | [
1,
396,
7624,
29964,
29899,
29941,
718,
14966,
29917,
29969,
3541,
30002,
3029,
4228,
1488,
494,
17235,
18461,
7109,
494,
2711,
13,
13,
13,
13,
1753,
1243,
29918,
3332,
29918,
29941,
29918,
5080,
1076,
29918,
20326,
29918,
4230,
29918,
4012,
29898,
932,
1125,
13,
1678,
623,
29889,
3591,
2855,
29925,
7485,
267,
29889,
3150,
29918,
3488,
29918,
9902,
29918,
392,
29918,
29886,
7485,
267,
580,
13,
1678,
623,
29889,
3591,
2855,
29925,
7485,
267,
29889,
3808,
29918,
11802,
29918,
3332,
29918,
29941,
580,
13,
1678,
623,
29889,
3591,
2855,
29925,
7485,
267,
29889,
3092,
29918,
657,
29918,
12276,
29918,
29893,
16697,
580,
13,
1678,
4974,
376,
30012,
30570,
30054,
30040,
30027,
30570,
30074,
30029,
30570,
30070,
1392,
30038,
30017,
30070,
30027,
30018,
29908,
297,
623,
29889,
3591,
2855,
29925,
7485,
267,
29889,
16680,
29918,
12276,
29918,
726,
29918,
29893,
16697,
580,
13,
1678,
623,
29889,
3591,
2855,
29925,
7485,
267,
29889,
4906,
29918,
333,
29918,
29941,
29941,
29918,
3332,
29918,
29941,
29918,
4230,
29918,
4012,
580,
13,
1678,
623,
29889,
3591,
2855,
29925,
7485,
267,
29889,
4906,
29918,
333,
29918,
29941,
29941,
29918,
3332,
29918,
29941,
29918,
5080,
1076,
29918,
20326,
29918,
4230,
29918,
4012,
580,
13,
1678,
623,
29889,
3591,
2855,
29925,
7485,
267,
29889,
510,
774,
547,
29918,
3396,
29918,
3488,
580,
2
] |
scraper/storage_spiders/anhducdigitalvn.py | chongiadung/choinho | 0 | 83965 | <reponame>chongiadung/choinho
# Auto generated by generator.py. Delete this line if you make modification.
from scrapy.spiders import Rule
from scrapy.linkextractors import LinkExtractor
XPATH = {
'name' : "//form[@id='product_addtocart_form']/div[@class='product-shop']/div[@class='product-name']/h1",
'price' : "//div[@class='product-img-box']/div[@class='price-box']/span/span[@class='price']",
'category' : "//div[@class='breadcrumbs']/ul/li",
'description' : "//div[@class='tabs_wrapper_details collateral_wrapper ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header']/div[@class='product-collateral tab_content']/div[@id='box-review']/div[@class='std']",
'images' : "//div[@class='product-img-box']/p[@class='product-image']//a/@href",
'canonical' : "",
'base_url' : "",
'brand' : ""
}
name = 'anhducdigital.vn'
allowed_domains = ['anhducdigital.vn']
start_urls = ['http://anhducdigital.vn']
tracking_url = ''
sitemap_urls = ['']
sitemap_rules = [('', 'parse_item')]
sitemap_follow = []
rules = [
Rule(LinkExtractor(allow=['']), 'parse_item'),
Rule(LinkExtractor(allow=['']), 'parse'),
#Rule(LinkExtractor(), 'parse_item_and_links'),
]
| [
1,
529,
276,
1112,
420,
29958,
305,
549,
29875,
328,
686,
29914,
1859,
21307,
13,
29937,
11133,
5759,
491,
15299,
29889,
2272,
29889,
21267,
445,
1196,
565,
366,
1207,
21733,
29889,
13,
3166,
24559,
2272,
29889,
1028,
11376,
1053,
27308,
13,
3166,
24559,
2272,
29889,
1915,
446,
486,
1461,
943,
1053,
6645,
5647,
28891,
13,
13,
29990,
10145,
353,
426,
13,
1678,
525,
978,
29915,
584,
376,
458,
689,
17548,
333,
2433,
4704,
29918,
1202,
517,
13823,
29918,
689,
2033,
29914,
4563,
17548,
1990,
2433,
4704,
29899,
19032,
2033,
29914,
4563,
17548,
1990,
2433,
4704,
29899,
978,
2033,
29914,
29882,
29896,
613,
13,
1678,
525,
9175,
29915,
584,
376,
458,
4563,
17548,
1990,
2433,
4704,
29899,
2492,
29899,
1884,
2033,
29914,
4563,
17548,
1990,
2433,
9175,
29899,
1884,
2033,
29914,
9653,
29914,
9653,
17548,
1990,
2433,
9175,
2033,
613,
13,
1678,
525,
7320,
29915,
584,
376,
458,
4563,
17548,
1990,
2433,
29890,
949,
7283,
3774,
29879,
2033,
29914,
352,
29914,
492,
613,
13,
1678,
525,
8216,
29915,
584,
376,
458,
4563,
17548,
1990,
2433,
21175,
29918,
17699,
29918,
14144,
5321,
1008,
284,
29918,
17699,
14313,
29899,
21175,
14313,
29899,
8030,
14313,
29899,
8030,
29899,
3051,
14313,
29899,
2616,
1089,
29899,
497,
14313,
29899,
21175,
29899,
6654,
14313,
29899,
20907,
29899,
12071,
14313,
29899,
20907,
29899,
8551,
5878,
14313,
29899,
8030,
29899,
6672,
2033,
29914,
4563,
17548,
1990,
2433,
4704,
29899,
22017,
1008,
284,
4434,
29918,
3051,
2033,
29914,
4563,
17548,
333,
2433,
1884,
29899,
27828,
2033,
29914,
4563,
17548,
1990,
2433,
4172,
2033,
613,
13,
1678,
525,
8346,
29915,
584,
376,
458,
4563,
17548,
1990,
2433,
4704,
29899,
2492,
29899,
1884,
2033,
29914,
29886,
17548,
1990,
2433,
4704,
29899,
3027,
2033,
458,
29874,
29368,
12653,
613,
13,
1678,
525,
3068,
265,
936,
29915,
584,
12633,
13,
1678,
525,
3188,
29918,
2271,
29915,
584,
12633,
13,
1678,
525,
16472,
29915,
584,
5124,
13,
29913,
13,
978,
353,
525,
27731,
700,
2252,
335,
2410,
29889,
18564,
29915,
13,
24622,
29918,
3129,
2708,
353,
6024,
27731,
700,
2252,
335,
2410,
29889,
18564,
2033,
13,
2962,
29918,
26045,
353,
6024,
1124,
597,
27731,
700,
2252,
335,
2410,
29889,
18564,
2033,
13,
11294,
292,
29918,
2271,
353,
6629,
13,
29879,
667,
481,
29918,
26045,
353,
6024,
2033,
13,
29879,
667,
481,
29918,
19238,
353,
518,
877,
742,
525,
5510,
29918,
667,
1495,
29962,
13,
29879,
667,
481,
29918,
23031,
353,
5159,
13,
19238,
353,
518,
13,
1678,
27308,
29898,
6595,
5647,
28891,
29898,
9536,
29922,
1839,
2033,
511,
525,
5510,
29918,
667,
5477,
13,
1678,
27308,
29898,
6595,
5647,
28891,
29898,
9536,
29922,
1839,
2033,
511,
525,
5510,
5477,
13,
1678,
396,
10740,
29898,
6595,
5647,
28891,
3285,
525,
5510,
29918,
667,
29918,
392,
29918,
4965,
5477,
13,
29962,
13,
2
] |
bootloader/waflib/Tools/perl.py | BA7JCM/pyinstaller | 0 | 1612383 | <reponame>BA7JCM/pyinstaller
#! /usr/bin/env python
# encoding: utf-8
# WARNING! Do not edit! https://waf.io/book/index.html#_obtaining_the_waf_file
import os
from waflib import Task, Options, Utils, Errors
from waflib.Configure import conf
from waflib.TaskGen import extension, feature, before_method
@before_method('apply_incpaths', 'apply_link', 'propagate_uselib_vars')
@feature('perlext')
def init_perlext(self):
self.uselib = self.to_list(getattr(self, 'uselib', []))
if not 'PERLEXT' in self.uselib:
self.uselib.append('PERLEXT')
self.env.cshlib_PATTERN = self.env.cxxshlib_PATTERN = self.env.perlext_PATTERN
@extension('.xs')
def xsubpp_file(self, node):
outnode = node.change_ext('.c')
self.create_task('xsubpp', node, outnode)
self.source.append(outnode)
class xsubpp(Task.Task):
run_str = '${PERL} ${XSUBPP} -noprototypes -typemap ${EXTUTILS_TYPEMAP} ${SRC} > ${TGT}'
color = 'BLUE'
ext_out = ['.h']
@conf
def check_perl_version(self, minver=None):
res = True
if minver:
cver = '.'.join(map(str, minver))
else:
cver = ''
self.start_msg('Checking for minimum perl version %s' % cver)
perl = self.find_program('perl', var='PERL', value=getattr(Options.options, 'perlbinary', None))
version = self.cmd_and_log(perl + ["-e", 'printf \"%vd\", $^V'])
if not version:
res = False
version = "Unknown"
elif not minver is None:
ver = tuple(map(int, version.split(".")))
if ver < minver:
res = False
self.end_msg(version, color=res and 'GREEN' or 'YELLOW')
return res
@conf
def check_perl_module(self, module):
cmd = self.env.PERL + ['-e', 'use %s' % module]
self.start_msg('perl module %s' % module)
try:
r = self.cmd_and_log(cmd)
except Errors.WafError:
self.end_msg(False)
return None
self.end_msg(r or True)
return r
@conf
def check_perl_ext_devel(self):
env = self.env
perl = env.PERL
if not perl:
self.fatal('find perl first')
def cmd_perl_config(s):
return perl + ['-MConfig', '-e', 'print \"%s\"' % s]
def cfg_str(cfg):
return self.cmd_and_log(cmd_perl_config(cfg))
def cfg_lst(cfg):
return Utils.to_list(cfg_str(cfg))
def find_xsubpp():
for var in ('privlib', 'vendorlib'):
xsubpp = cfg_lst('$Config{%s}/ExtUtils/xsubpp$Config{exe_ext}' % var)
if xsubpp and os.path.isfile(xsubpp[0]):
return xsubpp
return self.find_program('xsubpp')
env.LINKFLAGS_PERLEXT = cfg_lst('$Config{lddlflags}')
env.INCLUDES_PERLEXT = cfg_lst('$Config{archlib}/CORE')
env.CFLAGS_PERLEXT = cfg_lst('$Config{ccflags} $Config{cccdlflags}')
env.EXTUTILS_TYPEMAP = cfg_lst('$Config{privlib}/ExtUtils/typemap')
env.XSUBPP = find_xsubpp()
if not getattr(Options.options, 'perlarchdir', None):
env.ARCHDIR_PERL = cfg_str('$Config{sitearch}')
else:
env.ARCHDIR_PERL = getattr(Options.options, 'perlarchdir')
env.perlext_PATTERN = '%s.' + cfg_str('$Config{dlext}')
def options(opt):
opt.add_option(
'--with-perl-binary', type='string', dest='perlbinary', help='Specify alternate perl binary', default=None
)
opt.add_option(
'--with-perl-archdir',
type='string',
dest='perlarchdir',
help='Specify directory where to install arch specific files',
default=None
)
| [
1,
529,
276,
1112,
420,
29958,
5688,
29955,
29967,
24494,
29914,
2272,
6252,
261,
13,
29937,
29991,
847,
4855,
29914,
2109,
29914,
6272,
3017,
13,
29937,
8025,
29901,
23616,
29899,
29947,
13,
29937,
399,
25614,
29991,
1938,
451,
3863,
29991,
2045,
597,
29893,
2142,
29889,
601,
29914,
2909,
29914,
2248,
29889,
1420,
29937,
29918,
711,
2408,
292,
29918,
1552,
29918,
29893,
2142,
29918,
1445,
13,
13,
5215,
2897,
13,
3166,
281,
2142,
1982,
1053,
9330,
29892,
25186,
29892,
22310,
29879,
29892,
4829,
29879,
13,
3166,
281,
2142,
1982,
29889,
3991,
545,
1053,
1970,
13,
3166,
281,
2142,
1982,
29889,
5398,
15462,
1053,
6081,
29892,
4682,
29892,
1434,
29918,
5696,
13,
13,
13,
29992,
11083,
29918,
5696,
877,
7302,
29918,
3742,
24772,
742,
525,
7302,
29918,
2324,
742,
525,
7728,
351,
403,
29918,
375,
295,
747,
29918,
16908,
1495,
13,
29992,
14394,
877,
546,
280,
486,
1495,
13,
1753,
2069,
29918,
546,
280,
486,
29898,
1311,
1125,
13,
1678,
1583,
29889,
375,
295,
747,
353,
1583,
29889,
517,
29918,
1761,
29898,
657,
5552,
29898,
1311,
29892,
525,
375,
295,
747,
742,
5159,
876,
13,
1678,
565,
451,
525,
13171,
1307,
12188,
29915,
297,
1583,
29889,
375,
295,
747,
29901,
13,
4706,
1583,
29889,
375,
295,
747,
29889,
4397,
877,
13171,
1307,
12188,
1495,
13,
1678,
1583,
29889,
6272,
29889,
29883,
845,
1982,
29918,
29925,
1299,
4945,
29940,
353,
1583,
29889,
6272,
29889,
29883,
4419,
845,
1982,
29918,
29925,
1299,
4945,
29940,
353,
1583,
29889,
6272,
29889,
546,
280,
486,
29918,
29925,
1299,
4945,
29940,
13,
13,
13,
29992,
17588,
12839,
10351,
1495,
13,
1753,
921,
1491,
407,
29918,
1445,
29898,
1311,
29892,
2943,
1125,
13,
1678,
714,
3177,
353,
2943,
29889,
3167,
29918,
1062,
12839,
29883,
1495,
13,
1678,
1583,
29889,
3258,
29918,
7662,
877,
29916,
1491,
407,
742,
2943,
29892,
714,
3177,
29897,
13,
1678,
1583,
29889,
4993,
29889,
4397,
29898,
449,
3177,
29897,
13,
13,
13,
1990,
921,
1491,
407,
29898,
5398,
29889,
5398,
1125,
13,
1678,
1065,
29918,
710,
353,
525,
5303,
13171,
29931,
29913,
6435,
29990,
20633,
18009,
29913,
448,
29876,
26555,
4260,
7384,
448,
22449,
331,
481,
6435,
12194,
2692,
6227,
29903,
29918,
11116,
23827,
29913,
6435,
29903,
10363,
29913,
1405,
6435,
29911,
23799,
10162,
13,
1678,
2927,
353,
525,
13367,
4462,
29915,
13,
1678,
1294,
29918,
449,
353,
518,
4286,
29882,
2033,
13,
13,
13,
29992,
5527,
13,
1753,
1423,
29918,
22032,
29918,
3259,
29898,
1311,
29892,
1375,
369,
29922,
8516,
1125,
13,
1678,
620,
353,
5852,
13,
1678,
565,
1375,
369,
29901,
13,
4706,
274,
369,
353,
15300,
4286,
7122,
29898,
1958,
29898,
710,
29892,
1375,
369,
876,
13,
1678,
1683,
29901,
13,
4706,
274,
369,
353,
6629,
13,
1678,
1583,
29889,
2962,
29918,
7645,
877,
5596,
292,
363,
9212,
21185,
1873,
1273,
29879,
29915,
1273,
274,
369,
29897,
13,
1678,
21185,
353,
1583,
29889,
2886,
29918,
8860,
877,
22032,
742,
722,
2433,
13171,
29931,
742,
995,
29922,
657,
5552,
29898,
5856,
29889,
6768,
29892,
525,
22032,
19541,
742,
6213,
876,
13,
1678,
1873,
353,
1583,
29889,
9006,
29918,
392,
29918,
1188,
29898,
22032,
718,
6796,
29899,
29872,
613,
525,
8124,
13218,
29995,
27491,
23370,
395,
29985,
29963,
11287,
13,
1678,
565,
451,
1873,
29901,
13,
4706,
620,
353,
7700,
13,
4706,
1873,
353,
376,
14148,
29908,
13,
1678,
25342,
451,
1375,
369,
338,
6213,
29901,
13,
4706,
1147,
353,
18761,
29898,
1958,
29898,
524,
29892,
1873,
29889,
5451,
703,
1213,
4961,
13,
4706,
565,
1147,
529,
1375,
369,
29901,
13,
9651,
620,
353,
7700,
13,
1678,
1583,
29889,
355,
29918,
7645,
29898,
3259,
29892,
2927,
29922,
690,
322,
525,
29954,
1525,
1430,
29915,
470,
525,
29979,
29923,
2208,
9806,
1495,
13,
1678,
736,
620,
13,
13,
13,
29992,
5527,
13,
1753,
1423,
29918,
22032,
29918,
5453,
29898,
1311,
29892,
3883,
1125,
13,
1678,
9920,
353,
1583,
29889,
6272,
29889,
13171,
29931,
718,
6024,
29899,
29872,
742,
525,
1509,
1273,
29879,
29915,
1273,
3883,
29962,
13,
1678,
1583,
29889,
2962,
29918,
7645,
877,
22032,
3883,
1273,
29879,
29915,
1273,
3883,
29897,
13,
1678,
1018,
29901,
13,
4706,
364,
353,
1583,
29889,
9006,
29918,
392,
29918,
1188,
29898,
9006,
29897,
13,
1678,
5174,
4829,
29879,
29889,
29956,
2142,
2392,
29901,
13,
4706,
1583,
29889,
355,
29918,
7645,
29898,
8824,
29897,
13,
4706,
736,
6213,
13,
1678,
1583,
29889,
355,
29918,
7645,
29898,
29878,
470,
5852,
29897,
13,
1678,
736,
364,
13,
13,
13,
29992,
5527,
13,
1753,
1423,
29918,
22032,
29918,
1062,
29918,
311,
955,
29898,
1311,
1125,
13,
1678,
8829,
353,
1583,
29889,
6272,
13,
1678,
21185,
353,
8829,
29889,
13171,
29931,
13,
1678,
565,
451,
21185,
29901,
13,
4706,
1583,
29889,
29888,
2075,
877,
2886,
21185,
937,
1495,
13,
13,
1678,
822,
9920,
29918,
22032,
29918,
2917,
29898,
29879,
1125,
13,
4706,
736,
21185,
718,
6024,
29899,
29924,
3991,
742,
17411,
29872,
742,
525,
2158,
13218,
29995,
29879,
5931,
29915,
1273,
269,
29962,
13,
13,
1678,
822,
274,
16434,
29918,
710,
29898,
16859,
1125,
13,
4706,
736,
1583,
29889,
9006,
29918,
392,
29918,
1188,
29898,
9006,
29918,
22032,
29918,
2917,
29898,
16859,
876,
13,
13,
1678,
822,
274,
16434,
29918,
20155,
29898,
16859,
1125,
13,
4706,
736,
22310,
29879,
29889,
517,
29918,
1761,
29898,
16859,
29918,
710,
29898,
16859,
876,
13,
13,
1678,
822,
1284,
29918,
29916,
1491,
407,
7295,
13,
4706,
363,
722,
297,
6702,
22534,
1982,
742,
525,
19167,
1982,
29374,
13,
9651,
921,
1491,
407,
353,
274,
16434,
29918,
20155,
877,
29938,
3991,
18255,
29879,
6822,
5647,
12177,
29914,
29916,
1491,
407,
29938,
3991,
29912,
8097,
29918,
1062,
10162,
1273,
722,
29897,
13,
9651,
565,
921,
1491,
407,
322,
2897,
29889,
2084,
29889,
275,
1445,
29898,
29916,
1491,
407,
29961,
29900,
29962,
1125,
13,
18884,
736,
921,
1491,
407,
13,
4706,
736,
1583,
29889,
2886,
29918,
8860,
877,
29916,
1491,
407,
1495,
13,
13,
1678,
8829,
29889,
23714,
29968,
18823,
10749,
29918,
13171,
1307,
12188,
353,
274,
16434,
29918,
20155,
877,
29938,
3991,
29912,
430,
11671,
15764,
29913,
1495,
13,
1678,
8829,
29889,
1177,
6154,
29965,
2287,
29903,
29918,
13171,
1307,
12188,
353,
274,
16434,
29918,
20155,
877,
29938,
3991,
29912,
1279,
1982,
6822,
3217,
1525,
1495,
13,
1678,
8829,
29889,
9207,
4375,
10749,
29918,
13171,
1307,
12188,
353,
274,
16434,
29918,
20155,
877,
29938,
3991,
29912,
617,
15764,
29913,
395,
3991,
29912,
617,
2252,
29880,
15764,
29913,
1495,
13,
1678,
8829,
29889,
12194,
2692,
6227,
29903,
29918,
11116,
23827,
353,
274,
16434,
29918,
20155,
877,
29938,
3991,
29912,
22534,
1982,
6822,
5647,
12177,
29914,
22449,
331,
481,
1495,
13,
1678,
8829,
29889,
29990,
20633,
18009,
353,
1284,
29918,
29916,
1491,
407,
580,
13,
1678,
565,
451,
679,
5552,
29898,
5856,
29889,
6768,
29892,
525,
22032,
1279,
3972,
742,
6213,
1125,
13,
4706,
8829,
29889,
1718,
3210,
9464,
29918,
13171,
29931,
353,
274,
16434,
29918,
710,
877,
29938,
3991,
29912,
2746,
1279,
29913,
1495,
13,
1678,
1683,
29901,
13,
4706,
8829,
29889,
1718,
3210,
9464,
29918,
13171,
29931,
353,
679,
5552,
29898,
5856,
29889,
6768,
29892,
525,
22032,
1279,
3972,
1495,
13,
1678,
8829,
29889,
546,
280,
486,
29918,
29925,
1299,
4945,
29940,
353,
14210,
29879,
6169,
718,
274,
16434,
29918,
710,
877,
29938,
3991,
29912,
29881,
280,
486,
29913,
1495,
13,
13,
13,
1753,
3987,
29898,
3670,
1125,
13,
1678,
3523,
29889,
1202,
29918,
3385,
29898,
13,
4706,
525,
489,
2541,
29899,
22032,
29899,
19541,
742,
1134,
2433,
1807,
742,
2731,
2433,
22032,
19541,
742,
1371,
2433,
10299,
1598,
25010,
21185,
7581,
742,
2322,
29922,
8516,
13,
1678,
1723,
13,
1678,
3523,
29889,
1202,
29918,
3385,
29898,
13,
4706,
525,
489,
2541,
29899,
22032,
29899,
1279,
3972,
742,
13,
4706,
1134,
2433,
1807,
742,
13,
4706,
2731,
2433,
22032,
1279,
3972,
742,
13,
4706,
1371,
2433,
10299,
1598,
3884,
988,
304,
2601,
3190,
2702,
2066,
742,
13,
4706,
2322,
29922,
8516,
13,
1678,
1723,
13,
2
] |
structural/proxy/udemy-1.py | rafaelcassau/design-patterns | 13 | 170132 | """
A proxy provides a surrogate or place holder to provide
access to an object.
Ex1:
Use an extra level of indirection to support distributed,
controlled, or conditional access.
"""
class SubjectInterface:
"""
Define the common interface for RealSubject and Proxy so that a
Proxy can be used anywhere a RealSubject is expected.
"""
def request(self):
raise NotImplementedError()
class Proxy(SubjectInterface):
"""
Maintain a reference that lets the proxy access the real subject.
Provide an interface identical to Subject's.
"""
def __init__(self, real_subject):
self.real_subject = real_subject
def request(self):
print('Proxy may be doing something, like controlling request access.')
self.real_subject.request()
class RealSubject(SubjectInterface):
"""
Define the real object that the proxy represents.
"""
def request(self):
print('The real thing is dealing with the request')
real_subject = RealSubject()
real_subject.request()
proxy = Proxy(real_subject)
proxy.request() | [
1,
9995,
13,
29909,
10166,
8128,
263,
1190,
9102,
403,
470,
2058,
19464,
304,
3867,
13,
5943,
304,
385,
1203,
29889,
13,
13,
1252,
29896,
29901,
13,
1678,
4803,
385,
4805,
3233,
310,
1399,
8684,
304,
2304,
13235,
29892,
13,
1678,
20704,
29892,
470,
15047,
2130,
29889,
13,
15945,
29908,
13,
13,
1990,
3323,
622,
10448,
29901,
13,
1678,
9995,
13,
1678,
22402,
278,
3619,
5067,
363,
8195,
20622,
322,
1019,
3594,
577,
393,
263,
13,
1678,
1019,
3594,
508,
367,
1304,
12214,
263,
8195,
20622,
338,
3806,
29889,
13,
1678,
9995,
13,
1678,
822,
2009,
29898,
1311,
1125,
13,
4706,
12020,
2216,
1888,
2037,
287,
2392,
580,
13,
13,
13,
1990,
1019,
3594,
29898,
20622,
10448,
1125,
13,
1678,
9995,
13,
1678,
341,
2365,
475,
263,
3407,
393,
16869,
278,
10166,
2130,
278,
1855,
4967,
29889,
13,
1678,
9133,
680,
385,
5067,
13557,
304,
3323,
622,
29915,
29879,
29889,
13,
1678,
9995,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
1855,
29918,
16009,
1125,
13,
4706,
1583,
29889,
6370,
29918,
16009,
353,
1855,
29918,
16009,
13,
13,
1678,
822,
2009,
29898,
1311,
1125,
13,
4706,
1596,
877,
14048,
1122,
367,
2599,
1554,
29892,
763,
640,
22155,
2009,
2130,
29889,
1495,
13,
4706,
1583,
29889,
6370,
29918,
16009,
29889,
3827,
580,
13,
13,
13,
1990,
8195,
20622,
29898,
20622,
10448,
1125,
13,
1678,
9995,
13,
1678,
22402,
278,
1855,
1203,
393,
278,
10166,
11524,
29889,
13,
1678,
9995,
13,
1678,
822,
2009,
29898,
1311,
1125,
13,
4706,
1596,
877,
1576,
1855,
2655,
338,
16743,
411,
278,
2009,
1495,
13,
13,
13,
6370,
29918,
16009,
353,
8195,
20622,
580,
13,
6370,
29918,
16009,
29889,
3827,
580,
13,
13,
14701,
353,
1019,
3594,
29898,
6370,
29918,
16009,
29897,
13,
14701,
29889,
3827,
580,
2
] |
scripts_v1/22_Save_Proximity_model.py | onebacha/recipe_rec | 0 | 76724 | # %% Packages
import os
os.chdir('/Users/czarrar/Dropbox/Circle/Jerb/recipe_rec/scripts')
import recipe_rec
import importlib
recipe_rec = importlib.reload(recipe_rec)
# %% Read in ingredients
recipe_file = '../data/30_ingredients+ave_ratings.csv'
recs = recipe_rec.RecipeRec()
recs.load_from_csv(recipe_file, index_col=0)
# %% Apply TFIDF
recs.fit_model()
# %% Save
#!rm z_model.p
recs.save_model("z_model.p")
# %% Test loading it back
import numpy as np
recs2 = recipe_rec.RecipeRec.load_model('z_model.p')
np.all(recs.model.features == recs2.model.features)
# %% Test Recipes + Try Out a Simple Proximity Model
test_recipes = [
'caramels water chopped pecans Rice Krispies milk chocolate chips shortening',
'peanut butter sugar large egg room temperature vanilla extract milk chocolate kisses',
'semisweet chocolate chips, water, large egg yolk lightly beaten, teaspoons vanilla extract, heavy whipping cream, sugar, Whipped cream, raspberries',
'dried minced onion, salt, chili powder, cornstarch, ground cumin, red pepper flakes, cayenne pepper, dried minced garlic, dried oregano, ground beef, water',
'reduced-sodium soy sauce, rice wine vinegar, cornstarch, sesame oil, divided, pork tenderloin, cut into strips, red chile pepper, chopped, cloves garlic, minced, onion, chopped, green bell pepper, chopped, head bok choy, leaves and stalks separated, chopped, crowns broccoli, chopped, ground ginger',
'Ingredient Checklist, hoisin sauce, brown sugar, soy sauce, applesauce, pork loin, sliced, cut into thin strips, cornstarch, peanut oil, sesame oil, chopped fresh ginger root, broccoli florets'
]
tmp = recs.proximity_model(test_recipes[0], to_clean=False)
tmp
d = tmp.iloc[0,:].to_dict()
d
"{name}: {ingredients}".format(**d)
recs.recipes.recipe_id.min()
| [
1,
396,
17806,
18744,
1179,
13,
5215,
2897,
13,
359,
29889,
305,
3972,
11219,
5959,
29914,
2067,
2749,
279,
29914,
15063,
1884,
29914,
23495,
280,
29914,
29967,
23936,
29914,
4361,
412,
29918,
3757,
29914,
16713,
1495,
13,
13,
5215,
9522,
412,
29918,
3757,
13,
5215,
1053,
1982,
13,
4361,
412,
29918,
3757,
353,
1053,
1982,
29889,
28120,
29898,
4361,
412,
29918,
3757,
29897,
13,
13,
29937,
17806,
7523,
297,
2348,
1127,
10070,
13,
4361,
412,
29918,
1445,
353,
525,
6995,
1272,
29914,
29941,
29900,
29918,
292,
1127,
10070,
29974,
1351,
29918,
3605,
886,
29889,
7638,
29915,
13,
276,
2395,
353,
9522,
412,
29918,
3757,
29889,
1123,
24044,
4789,
580,
13,
276,
2395,
29889,
1359,
29918,
3166,
29918,
7638,
29898,
4361,
412,
29918,
1445,
29892,
2380,
29918,
1054,
29922,
29900,
29897,
13,
13,
29937,
17806,
2401,
368,
323,
29943,
1367,
29943,
13,
276,
2395,
29889,
9202,
29918,
4299,
580,
13,
13,
29937,
17806,
16913,
13,
29937,
29991,
1758,
503,
29918,
4299,
29889,
29886,
13,
276,
2395,
29889,
7620,
29918,
4299,
703,
29920,
29918,
4299,
29889,
29886,
1159,
13,
13,
29937,
17806,
4321,
8363,
372,
1250,
13,
5215,
12655,
408,
7442,
13,
276,
2395,
29906,
353,
9522,
412,
29918,
3757,
29889,
1123,
24044,
4789,
29889,
1359,
29918,
4299,
877,
29920,
29918,
4299,
29889,
29886,
1495,
13,
9302,
29889,
497,
29898,
276,
2395,
29889,
4299,
29889,
22100,
1275,
1162,
29879,
29906,
29889,
4299,
29889,
22100,
29897,
13,
13,
29937,
17806,
4321,
830,
455,
5547,
718,
3967,
4451,
263,
12545,
1019,
2657,
537,
8125,
13,
1688,
29918,
4361,
5547,
353,
518,
13,
29871,
525,
4287,
314,
1379,
4094,
3060,
2986,
13209,
550,
390,
625,
476,
3780,
29886,
583,
27274,
521,
542,
23167,
521,
4512,
3273,
8333,
742,
13,
525,
412,
273,
329,
541,
357,
26438,
2919,
19710,
5716,
10430,
1109,
2911,
6597,
27274,
521,
542,
23167,
20057,
267,
742,
13,
525,
12846,
275,
16668,
521,
542,
23167,
521,
4512,
29892,
4094,
29892,
2919,
19710,
343,
28387,
3578,
368,
367,
2579,
29892,
734,
294,
1129,
787,
1109,
2911,
6597,
29892,
9416,
377,
17347,
907,
314,
29892,
26438,
29892,
806,
16242,
907,
314,
29892,
364,
4692,
495,
2722,
742,
13,
525,
29881,
1255,
1375,
1133,
373,
291,
29892,
15795,
29892,
521,
2638,
4764,
672,
29892,
26343,
303,
1279,
29892,
5962,
274,
9735,
29892,
2654,
1236,
2496,
17422,
10794,
29892,
274,
388,
4584,
1236,
2496,
29892,
270,
1255,
1375,
1133,
7171,
506,
29892,
270,
1255,
470,
387,
1562,
29892,
5962,
367,
1389,
29892,
4094,
742,
13,
525,
9313,
1133,
29899,
29879,
397,
1974,
577,
29891,
12507,
346,
29892,
19408,
19006,
13848,
387,
279,
29892,
26343,
303,
1279,
29892,
3999,
420,
17182,
29892,
13931,
29892,
282,
548,
22707,
417,
262,
29892,
5700,
964,
10076,
567,
29892,
2654,
521,
488,
1236,
2496,
29892,
3060,
2986,
29892,
17184,
1960,
7171,
506,
29892,
1375,
1133,
29892,
373,
291,
29892,
3060,
2986,
29892,
7933,
22623,
1236,
2496,
29892,
3060,
2986,
29892,
2343,
289,
554,
3060,
29891,
29892,
11308,
322,
28367,
2039,
13055,
29892,
3060,
2986,
29892,
11660,
1983,
2545,
617,
5079,
29892,
3060,
2986,
29892,
5962,
330,
5621,
742,
13,
525,
797,
29887,
1127,
993,
5399,
1761,
29892,
5089,
275,
262,
12507,
346,
29892,
17354,
26438,
29892,
577,
29891,
12507,
346,
29892,
623,
793,
585,
346,
29892,
282,
548,
658,
262,
29892,
269,
506,
287,
29892,
5700,
964,
16835,
10076,
567,
29892,
26343,
303,
1279,
29892,
1236,
273,
329,
17182,
29892,
3999,
420,
17182,
29892,
3060,
2986,
10849,
330,
5621,
3876,
29892,
2545,
617,
5079,
23729,
1691,
29915,
13,
29962,
13,
7050,
353,
1162,
29879,
29889,
771,
2657,
537,
29918,
4299,
29898,
1688,
29918,
4361,
5547,
29961,
29900,
1402,
304,
29918,
14941,
29922,
8824,
29897,
13,
7050,
13,
13,
29881,
353,
13128,
29889,
309,
542,
29961,
29900,
29892,
29901,
1822,
517,
29918,
8977,
580,
13,
29881,
13,
13,
29908,
29912,
978,
6177,
426,
292,
1127,
10070,
29913,
1642,
4830,
29898,
1068,
29881,
29897,
13,
13,
276,
2395,
29889,
4361,
5547,
29889,
4361,
412,
29918,
333,
29889,
1195,
580,
13,
2
] |
errores.py | fbzavaleta/DS_Software_Stack | 0 | 14911 | #
E_LEN = "No es posible operar vectores de diferente módulo"
| [
1,
396,
13,
29923,
29918,
1307,
29940,
353,
376,
3782,
831,
29125,
1751,
279,
325,
522,
2361,
316,
12186,
2016,
286,
4431,
7207,
29908,
13,
2
] |
ADT7310_CTR.py | pit-ray/ADT7310-CTR | 0 | 119067 | <reponame>pit-ray/ADT7310-CTR
#!/usr/bin/python3
# coding: utf-8
import spidev
import time
class ADT7310_CTR:
def __init__(self, spi_port, device, max_hz=100000):
self.port = spi_port
self.device = device
self.max_hz = max_hz
self.initialize()
def initialize(self):
# create spi object
self.spi = spidev.SpiDev()
# open spi port, device
self.spi.open(self.port, self.device)
# reset register data
self.clear_register()
# set frequency
self.spi.max_speed_hz = self.max_hz
self.enable_16bit_mode()
self.enable_c_read_mode()
def enable_16bit_mode(self):
self.spi.xfer2([0x0C, 0x80])
time.sleep(0.1)
def clear_register(self):
self.spi.xfer2([0xFF, 0xFF, 0xFF, 0xFF])
time.sleep(0.005)
def enable_c_read_mode(self):
self.spi.xfer2([0x54])
time.sleep(0.240)
def disable_c_read_mode(self):
self.spi.xfer2([0x50])
def terminate(self):
self.disable_c_read_mode()
self.spi.close()
def reinitialize(self):
self.terminate()
self.initialize()
def temp(self):
# return is [8bit, 8bit] of temp
upper, lower = self.spi.xfer2([0x00, 0x00])
# convert from [8bit,8bit] to 16bit
temp = ((upper << 8) | lower)
# is this negative?
if temp & 0x8000:
temp = temp - 65536
# convert to celsius
temp /= 128.0
# If value is NULL, failed.
if temp == 0:
raise RuntimeError('Failed to get value')
return temp
| [
1,
529,
276,
1112,
420,
29958,
23600,
29899,
764,
29914,
3035,
29911,
29955,
29941,
29896,
29900,
29899,
1783,
29934,
13,
29937,
14708,
4855,
29914,
2109,
29914,
4691,
29941,
13,
29937,
14137,
29901,
23616,
29899,
29947,
13,
5215,
805,
680,
29894,
13,
5215,
931,
13,
13,
13,
1990,
11033,
29911,
29955,
29941,
29896,
29900,
29918,
1783,
29934,
29901,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
805,
29875,
29918,
637,
29892,
4742,
29892,
4236,
29918,
29882,
29920,
29922,
29896,
29900,
29900,
29900,
29900,
29900,
1125,
13,
4706,
1583,
29889,
637,
353,
805,
29875,
29918,
637,
13,
4706,
1583,
29889,
10141,
353,
4742,
13,
4706,
1583,
29889,
3317,
29918,
29882,
29920,
353,
4236,
29918,
29882,
29920,
13,
4706,
1583,
29889,
24926,
580,
13,
13,
1678,
822,
11905,
29898,
1311,
1125,
13,
4706,
396,
1653,
805,
29875,
1203,
13,
4706,
1583,
29889,
1028,
29875,
353,
805,
680,
29894,
29889,
29903,
1631,
16618,
580,
13,
13,
4706,
396,
1722,
805,
29875,
2011,
29892,
4742,
13,
4706,
1583,
29889,
1028,
29875,
29889,
3150,
29898,
1311,
29889,
637,
29892,
1583,
29889,
10141,
29897,
13,
13,
4706,
396,
10092,
6036,
848,
13,
4706,
1583,
29889,
8551,
29918,
9573,
580,
13,
13,
4706,
396,
731,
10868,
13,
4706,
1583,
29889,
1028,
29875,
29889,
3317,
29918,
19322,
29918,
29882,
29920,
353,
1583,
29889,
3317,
29918,
29882,
29920,
13,
13,
4706,
1583,
29889,
12007,
29918,
29896,
29953,
2966,
29918,
8513,
580,
13,
4706,
1583,
29889,
12007,
29918,
29883,
29918,
949,
29918,
8513,
580,
13,
13,
1678,
822,
9025,
29918,
29896,
29953,
2966,
29918,
8513,
29898,
1311,
1125,
13,
4706,
1583,
29889,
1028,
29875,
29889,
29916,
571,
29906,
4197,
29900,
29916,
29900,
29907,
29892,
29871,
29900,
29916,
29947,
29900,
2314,
13,
4706,
931,
29889,
17059,
29898,
29900,
29889,
29896,
29897,
13,
13,
1678,
822,
2821,
29918,
9573,
29898,
1311,
1125,
13,
4706,
1583,
29889,
1028,
29875,
29889,
29916,
571,
29906,
4197,
29900,
29916,
4198,
29892,
29871,
29900,
29916,
4198,
29892,
29871,
29900,
29916,
4198,
29892,
29871,
29900,
29916,
4198,
2314,
13,
4706,
931,
29889,
17059,
29898,
29900,
29889,
29900,
29900,
29945,
29897,
13,
13,
1678,
822,
9025,
29918,
29883,
29918,
949,
29918,
8513,
29898,
1311,
1125,
13,
4706,
1583,
29889,
1028,
29875,
29889,
29916,
571,
29906,
4197,
29900,
29916,
29945,
29946,
2314,
13,
4706,
931,
29889,
17059,
29898,
29900,
29889,
29906,
29946,
29900,
29897,
13,
13,
1678,
822,
11262,
29918,
29883,
29918,
949,
29918,
8513,
29898,
1311,
1125,
13,
4706,
1583,
29889,
1028,
29875,
29889,
29916,
571,
29906,
4197,
29900,
29916,
29945,
29900,
2314,
13,
13,
1678,
822,
29504,
29898,
1311,
1125,
13,
4706,
1583,
29889,
20472,
29918,
29883,
29918,
949,
29918,
8513,
580,
13,
4706,
1583,
29889,
1028,
29875,
29889,
5358,
580,
13,
13,
1678,
822,
337,
24926,
29898,
1311,
1125,
13,
4706,
1583,
29889,
18821,
403,
580,
13,
4706,
1583,
29889,
24926,
580,
13,
13,
1678,
822,
5694,
29898,
1311,
1125,
13,
4706,
396,
736,
338,
518,
29947,
2966,
29892,
29871,
29947,
2966,
29962,
310,
5694,
13,
4706,
7568,
29892,
5224,
353,
1583,
29889,
1028,
29875,
29889,
29916,
571,
29906,
4197,
29900,
29916,
29900,
29900,
29892,
29871,
29900,
29916,
29900,
29900,
2314,
13,
13,
4706,
396,
3588,
515,
518,
29947,
2966,
29892,
29947,
2966,
29962,
304,
29871,
29896,
29953,
2966,
13,
4706,
5694,
353,
5135,
21064,
3532,
29871,
29947,
29897,
891,
5224,
29897,
13,
13,
4706,
396,
338,
445,
8178,
29973,
13,
4706,
565,
5694,
669,
29871,
29900,
29916,
29947,
29900,
29900,
29900,
29901,
13,
9651,
5694,
353,
5694,
448,
29871,
29953,
29945,
29945,
29941,
29953,
13,
13,
4706,
396,
3588,
304,
6432,
1039,
375,
13,
4706,
5694,
847,
29922,
29871,
29896,
29906,
29947,
29889,
29900,
13,
13,
4706,
396,
960,
995,
338,
4265,
29892,
5229,
29889,
13,
4706,
565,
5694,
1275,
29871,
29900,
29901,
13,
9651,
12020,
24875,
2392,
877,
17776,
304,
679,
995,
1495,
13,
13,
4706,
736,
5694,
13,
2
] |
sample_server.py | sandu-alexandru/asn_diameter_python | 0 | 188838 | <reponame>sandu-alexandru/asn_diameter_python
"""
Sample Diameter Server, which can be used for testing purposes.
Generates a Diameter Server with the default(local) config,
and then starts the server, making it available
for incoming connections and requests handling.
"""
from diameter_server import *
if __name__ == "__main__":
"""
Main method for the Sample Diameter Server.
Instantiates a Diameter Server, and then starts it.
"""
# Generating a Diameter server and starting it
server = DiameterServer()
server.start()
| [
1,
529,
276,
1112,
420,
29958,
29879,
392,
29884,
29899,
744,
29916,
392,
582,
29914,
294,
29876,
29918,
29881,
2829,
1308,
29918,
4691,
13,
15945,
29908,
13,
17708,
22904,
1308,
5656,
29892,
607,
508,
367,
1304,
363,
6724,
11976,
29889,
13,
5631,
1078,
263,
22904,
1308,
5656,
411,
278,
2322,
29898,
2997,
29897,
2295,
29892,
13,
392,
769,
8665,
278,
1923,
29892,
3907,
372,
3625,
13,
1454,
23235,
12368,
322,
7274,
11415,
29889,
13,
15945,
29908,
13,
13,
3166,
24235,
29918,
2974,
1053,
334,
13,
13,
361,
4770,
978,
1649,
1275,
376,
1649,
3396,
1649,
1115,
13,
1678,
9995,
13,
1678,
4241,
1158,
363,
278,
21029,
22904,
1308,
5656,
29889,
13,
13,
1678,
2799,
3656,
1078,
263,
22904,
1308,
5656,
29892,
322,
769,
8665,
372,
29889,
13,
1678,
9995,
13,
13,
1678,
396,
3251,
1218,
263,
22904,
1308,
1923,
322,
6257,
372,
13,
1678,
1923,
353,
22904,
1308,
6004,
580,
13,
1678,
1923,
29889,
2962,
580,
13,
2
] |
misc/hangman.py | maryletteroa/practice-space | 0 | 164020 | <gh_stars>0
# Hangman Game
#
# Credit to <NAME>'s "Python Programming for the Absolute Beginner 3rd Edition"
#
# The classic game of Hangman. The computer picks a random word
# and the player wrong to guess it, one letter at a time. If the player
# can't guess the word in time, the little stick figure gets hanged.
# imports
from sys import exit
from random import randint
# constants
HANGMAN = (
"""
------
| |
|
|
|
|
|
|
|
----------
""",
"""
------
| |
| O
|
|
|
|
|
|
----------
""",
"""
------
| |
| O
| -+-
|
|
|
|
|
----------
""",
"""
------
| |
| O
| /-+-
|
|
|
|
|
----------
""",
"""
------
| |
| O
| /-+-/
|
|
|
|
|
----------
""",
"""
------
| |
| O
| /-+-/
| |
|
|
|
|
----------
""",
"""
------
| |
| O
| /-+-/
| |
| |
| |
| |
|
----------
""",
"""
------
| |
| O
| /-+-/
| |
| |
| | |
| | |
|
----------
""")
MAX_WRONG = len(HANGMAN)-1
WORDS = ("OCTOPUS", "NEMO", "STARFISH", "ORCA") # Change these as you please
# initialize variables
word = WORDS[randint(0,len(WORDS)-1)] # pick random word to be guessed
so_far = "-" * len(word) # one dash for each letter in word to be guessed
wrong = 0 # number of wrong guesses player has made
used = [] # letters already guessed
print("Welcome to Hangman. Good luck!")
print(HANGMAN[wrong])
# Ask for a guess while the game is not yet over
while wrong != MAX_WRONG and '-' in so_far:
guess = input("\n\nEnter your guess: ").upper()
# only accept one character guesses, no symbols and numbers
if len(guess) == 1 and guess.isalpha() == True:
if guess in used:
print(f"You have guessed '{guess}' before.")
else:
used.append(guess)
if guess in word:
# find all positions that match guess and
# substitute that .. but convert
# string to list first to do this
lword = list(word)
l_so_far = list(so_far)
matched_indices = [i for i, j in enumerate(lword) if j == guess]
for index in matched_indices:
l_so_far[index] = guess
so_far = "".join(l_so_far)
else:
wrong +=1
print(HANGMAN[wrong])
print(f"You have {MAX_WRONG-wrong} guesses left!")
print("\nYou've used the following letters:\n", used)
print("\nSo far, the word is:\n", so_far)
else:
print("Guess ONE (1) LETTER only, and no symbols or numbers")
# Inform if the user won or lose
print("\nThe word was", word)
if "-" in so_far:
print("You lost!")
else:
print("You won!")
input("\n\nPress the enter key to exit.")
| [
1,
529,
12443,
29918,
303,
1503,
29958,
29900,
13,
29937,
379,
574,
1171,
8448,
13,
29937,
13,
29937,
24596,
277,
304,
529,
5813,
16299,
29879,
376,
11980,
7835,
4056,
363,
278,
1976,
14977,
14893,
1089,
29871,
29941,
5499,
17138,
29908,
13,
29937,
13,
29937,
450,
22037,
3748,
310,
379,
574,
1171,
29889,
29871,
450,
6601,
5839,
29879,
263,
4036,
1734,
13,
29937,
322,
278,
4847,
2743,
304,
4140,
372,
29892,
697,
5497,
472,
263,
931,
29889,
29871,
960,
278,
4847,
13,
29937,
508,
29915,
29873,
4140,
278,
1734,
297,
931,
29892,
278,
2217,
12070,
4377,
4947,
298,
4618,
29889,
13,
13,
29937,
24802,
13,
3166,
10876,
1053,
6876,
13,
3166,
4036,
1053,
20088,
524,
13,
13,
29937,
17727,
13,
29950,
19453,
27616,
353,
313,
13,
1678,
9995,
13,
268,
448,
23648,
13,
268,
891,
1678,
891,
13,
268,
891,
13,
268,
891,
13,
268,
891,
13,
268,
891,
13,
268,
891,
13,
268,
891,
13,
268,
891,
13,
1678,
448,
1378,
29899,
13,
1678,
5124,
613,
13,
1678,
9995,
13,
268,
448,
23648,
13,
268,
891,
1678,
891,
13,
268,
891,
1678,
438,
13,
268,
891,
13,
268,
891,
13,
268,
891,
13,
268,
891,
13,
268,
891,
13,
268,
891,
13,
1678,
448,
1378,
29899,
13,
1678,
5124,
613,
13,
1678,
9995,
13,
268,
448,
23648,
13,
268,
891,
1678,
891,
13,
268,
891,
1678,
438,
13,
268,
891,
259,
448,
29974,
29899,
13,
268,
891,
13,
268,
891,
13,
268,
891,
13,
268,
891,
13,
268,
891,
13,
1678,
448,
1378,
29899,
13,
1678,
5124,
613,
13,
1678,
9995,
13,
268,
448,
23648,
13,
268,
891,
1678,
891,
13,
268,
891,
1678,
438,
13,
268,
891,
29871,
847,
11793,
29899,
13,
268,
891,
13,
268,
891,
13,
268,
891,
13,
268,
891,
13,
268,
891,
13,
1678,
448,
1378,
29899,
13,
1678,
5124,
613,
13,
1678,
9995,
13,
268,
448,
23648,
13,
268,
891,
1678,
891,
13,
268,
891,
1678,
438,
13,
268,
891,
29871,
847,
11793,
29899,
29914,
13,
268,
891,
13,
268,
891,
13,
268,
891,
13,
268,
891,
13,
268,
891,
13,
1678,
448,
1378,
29899,
13,
1678,
5124,
613,
13,
1678,
9995,
13,
268,
448,
23648,
13,
268,
891,
1678,
891,
13,
268,
891,
1678,
438,
13,
268,
891,
29871,
847,
11793,
29899,
29914,
13,
268,
891,
1678,
891,
13,
268,
891,
13,
268,
891,
13,
268,
891,
13,
268,
891,
13,
1678,
448,
1378,
29899,
13,
1678,
5124,
613,
13,
1678,
9995,
13,
268,
448,
23648,
13,
268,
891,
1678,
891,
13,
268,
891,
1678,
438,
13,
268,
891,
29871,
847,
11793,
29899,
29914,
13,
268,
891,
1678,
891,
13,
268,
891,
1678,
891,
13,
268,
891,
259,
891,
13,
268,
891,
259,
891,
13,
268,
891,
13,
1678,
448,
1378,
29899,
13,
1678,
5124,
613,
13,
1678,
9995,
13,
268,
448,
23648,
13,
268,
891,
1678,
891,
13,
268,
891,
1678,
438,
13,
268,
891,
29871,
847,
11793,
29899,
29914,
13,
268,
891,
1678,
891,
13,
268,
891,
1678,
891,
13,
268,
891,
259,
891,
891,
13,
268,
891,
259,
891,
891,
13,
268,
891,
13,
1678,
448,
1378,
29899,
13,
1678,
5124,
1159,
13,
13,
12648,
29918,
9980,
20614,
353,
7431,
29898,
29950,
19453,
27616,
6817,
29896,
13,
11686,
8452,
353,
4852,
29949,
1783,
4590,
3308,
613,
376,
8186,
6720,
613,
376,
1254,
1718,
29943,
3235,
29950,
613,
376,
1955,
5454,
1159,
29871,
396,
10726,
1438,
408,
366,
3113,
13,
13,
13,
29937,
11905,
3651,
13,
1742,
353,
399,
1955,
8452,
29961,
9502,
524,
29898,
29900,
29892,
2435,
29898,
11686,
8452,
6817,
29896,
4638,
396,
5839,
4036,
1734,
304,
367,
4140,
287,
13,
578,
29918,
15641,
353,
11663,
29908,
334,
7431,
29898,
1742,
29897,
418,
396,
697,
12569,
363,
1269,
5497,
297,
1734,
304,
367,
4140,
287,
13,
15866,
549,
353,
29871,
29900,
462,
268,
396,
1353,
310,
2743,
4140,
267,
4847,
756,
1754,
13,
3880,
353,
5159,
462,
268,
396,
8721,
2307,
4140,
287,
13,
13,
13,
2158,
703,
28862,
2763,
304,
379,
574,
1171,
29889,
29871,
7197,
9885,
29991,
1159,
13,
2158,
29898,
29950,
19453,
27616,
29961,
15866,
549,
2314,
13,
13,
29937,
26579,
363,
263,
4140,
1550,
278,
3748,
338,
451,
3447,
975,
13,
13,
8000,
2743,
2804,
18134,
29918,
9980,
20614,
322,
17411,
29915,
297,
577,
29918,
15641,
29901,
13,
13,
1678,
4140,
353,
1881,
14182,
29876,
29905,
29876,
10399,
596,
4140,
29901,
376,
467,
21064,
580,
13,
268,
13,
1678,
396,
871,
3544,
697,
2931,
4140,
267,
29892,
694,
15072,
322,
3694,
13,
1678,
565,
7431,
29898,
2543,
404,
29897,
1275,
29871,
29896,
322,
4140,
29889,
275,
2312,
580,
1275,
5852,
29901,
13,
308,
13,
4706,
565,
4140,
297,
1304,
29901,
13,
9651,
1596,
29898,
29888,
29908,
3492,
505,
4140,
287,
22372,
2543,
404,
10162,
1434,
23157,
13,
4706,
1683,
29901,
13,
9651,
1304,
29889,
4397,
29898,
2543,
404,
29897,
965,
13,
9651,
565,
4140,
297,
1734,
29901,
13,
13,
18884,
396,
1284,
599,
11909,
393,
1993,
4140,
322,
13,
18884,
396,
23764,
393,
6317,
541,
3588,
29871,
13,
18884,
396,
1347,
304,
1051,
937,
304,
437,
445,
462,
13,
18884,
301,
1742,
353,
1051,
29898,
1742,
29897,
13,
18884,
301,
29918,
578,
29918,
15641,
353,
1051,
29898,
578,
29918,
15641,
29897,
13,
13,
18884,
19228,
29918,
513,
1575,
353,
518,
29875,
363,
474,
29892,
432,
297,
26985,
29898,
29880,
1742,
29897,
565,
432,
1275,
4140,
29962,
13,
18884,
363,
2380,
297,
19228,
29918,
513,
1575,
29901,
13,
462,
1678,
301,
29918,
578,
29918,
15641,
29961,
2248,
29962,
353,
4140,
13,
18884,
577,
29918,
15641,
353,
376,
1642,
7122,
29898,
29880,
29918,
578,
29918,
15641,
29897,
13,
9651,
1683,
29901,
13,
18884,
2743,
4619,
29896,
13,
13,
4706,
1596,
29898,
29950,
19453,
27616,
29961,
15866,
549,
2314,
13,
4706,
1596,
29898,
29888,
29908,
3492,
505,
426,
12648,
29918,
9980,
20614,
29899,
15866,
549,
29913,
4140,
267,
2175,
29991,
1159,
13,
4706,
1596,
14182,
29876,
3492,
29915,
345,
1304,
278,
1494,
8721,
3583,
29876,
613,
1304,
29897,
13,
4706,
1596,
14182,
29876,
6295,
2215,
29892,
278,
1734,
338,
3583,
29876,
613,
577,
29918,
15641,
29897,
13,
1678,
1683,
29901,
13,
4706,
1596,
703,
9485,
404,
6732,
29923,
313,
29896,
29897,
365,
2544,
4945,
871,
29892,
322,
694,
15072,
470,
3694,
1159,
13,
13,
29937,
15162,
565,
278,
1404,
2113,
470,
14074,
13,
13,
2158,
14182,
29876,
1576,
1734,
471,
613,
1734,
29897,
13,
13,
361,
11663,
29908,
297,
577,
29918,
15641,
29901,
13,
1678,
1596,
703,
3492,
5714,
29991,
1159,
13,
2870,
29901,
13,
1678,
1596,
703,
3492,
2113,
29991,
1159,
13,
13,
2080,
14182,
29876,
29905,
29876,
10923,
278,
3896,
1820,
304,
6876,
23157,
13,
13,
2
] |
tools/try_test1.py | csuzhuzhuxia/GlassDetect | 6 | 119834 | import sys
from mmdet.apis import inference_detector, init_detector
import json
import os
import numpy as np
import argparse
from tqdm import tqdm
import json
class MyEncoder(json.JSONEncoder):
def default(self, obj):
if isinstance(obj, np.integer):
return int(obj)
elif isinstance(obj, np.floating):
return float(obj)
elif isinstance(obj, np.ndarray):
return obj.tolist()
else:
return super(MyEncoder, self).default(obj)
#generate result
def result_from_dir():
# build the model from a config file and a checkpoint file
model = init_detector(config2make_json, model2make_json, device='cuda:0')
pics = os.listdir(pic_path)
meta = {}
images = []
annotations = []
num = 0
for im in tqdm(pics):
num += 1
img = os.path.join(pic_path,im)
result_ = inference_detector(model, img)
images_anno = {}
images_anno['file_name'] = im
images_anno['id'] = num
images.append(images_anno)
for i ,boxes in enumerate(result_,1):
if len(boxes):
defect_label = i
for box in boxes:
anno = {}
anno['image_id'] = num
anno['category_id'] = defect_label
anno['bbox'] = [round(float(i), 2) for i in box[0:4]]
anno['bbox'][2] = anno['bbox'][2]-anno['bbox'][0]
anno['bbox'][3] = anno['bbox'][3]-anno['bbox'][1]
anno['score'] = float(box[4])
annotations.append(anno)
meta['images'] = images
meta['annotations'] = annotations
with open(json_out_path, 'w') as fp:
json.dump(meta, fp, cls=MyEncoder, indent=4, separators=(',', ': '))
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="Generate result")
parser.add_argument("-m", "--model",help="Model path",type=str,)
parser.add_argument("-c", "--config",help="Config path",type=str,)
parser.add_argument("-im", "--im_dir",help="Image path",type=str,)
parser.add_argument('-o', "--out",help="Save path", type=str,)
args = parser.parse_args()
model2make_json = args.model
config2make_json = args.config
json_out_path = args.out
pic_path = args.im_dir
result_from_dir()
| [
1,
1053,
10876,
29871,
13,
3166,
286,
3487,
300,
29889,
11355,
1053,
27262,
29918,
4801,
3019,
29892,
2069,
29918,
4801,
3019,
29871,
13,
5215,
4390,
29871,
13,
5215,
2897,
29871,
13,
5215,
12655,
408,
7442,
29871,
13,
5215,
1852,
5510,
29871,
13,
3166,
260,
29939,
18933,
1053,
260,
29939,
18933,
13,
5215,
4390,
13,
1990,
1619,
8566,
6119,
29898,
3126,
29889,
7249,
8566,
6119,
1125,
29871,
13,
12,
1753,
2322,
29898,
1311,
29892,
5446,
1125,
29871,
13,
12,
12,
361,
338,
8758,
29898,
5415,
29892,
7442,
29889,
16031,
1125,
29871,
13,
12,
12,
12,
2457,
938,
29898,
5415,
29897,
13,
12,
12,
23681,
338,
8758,
29898,
5415,
29892,
7442,
29889,
29888,
417,
1218,
1125,
13,
12,
12,
12,
2457,
5785,
29898,
5415,
29897,
13,
12,
12,
23681,
338,
8758,
29898,
5415,
29892,
7442,
29889,
299,
2378,
1125,
13,
12,
12,
12,
2457,
5446,
29889,
25027,
391,
580,
29871,
13,
12,
12,
2870,
29901,
13,
12,
12,
12,
2457,
2428,
29898,
3421,
8566,
6119,
29892,
1583,
467,
4381,
29898,
5415,
29897,
29871,
13,
12,
12,
12,
13,
29937,
17158,
1121,
29871,
13,
1753,
1121,
29918,
3166,
29918,
3972,
7295,
13,
12,
29937,
2048,
278,
1904,
515,
263,
2295,
934,
322,
263,
1423,
3149,
934,
29871,
13,
12,
4299,
353,
2069,
29918,
4801,
3019,
29898,
2917,
29906,
5675,
29918,
3126,
29892,
1904,
29906,
5675,
29918,
3126,
29892,
4742,
2433,
29883,
6191,
29901,
29900,
1495,
13,
12,
29886,
1199,
353,
2897,
29889,
1761,
3972,
29898,
16447,
29918,
2084,
29897,
29871,
13,
12,
7299,
353,
6571,
29871,
13,
12,
8346,
353,
5159,
29871,
13,
12,
6735,
800,
353,
5159,
29871,
13,
12,
1949,
353,
29871,
29900,
29871,
13,
12,
1454,
527,
297,
260,
29939,
18933,
29898,
29886,
1199,
1125,
29871,
13,
12,
12,
1949,
4619,
29871,
29896,
29871,
13,
12,
12,
2492,
353,
2897,
29889,
2084,
29889,
7122,
29898,
16447,
29918,
2084,
29892,
326,
29897,
29871,
13,
12,
12,
2914,
29918,
353,
27262,
29918,
4801,
3019,
29898,
4299,
29892,
10153,
29897,
13,
12,
12,
8346,
29918,
7665,
353,
6571,
29871,
13,
12,
12,
8346,
29918,
7665,
1839,
1445,
29918,
978,
2033,
353,
527,
29871,
13,
12,
12,
8346,
29918,
7665,
1839,
333,
2033,
353,
954,
29871,
13,
12,
12,
8346,
29889,
4397,
29898,
8346,
29918,
7665,
29897,
29871,
13,
12,
12,
1454,
474,
1919,
1884,
267,
297,
26985,
29898,
2914,
3383,
29896,
1125,
29871,
13,
12,
12,
12,
361,
7431,
29898,
1884,
267,
1125,
29871,
13,
12,
12,
12,
12,
1753,
522,
29918,
1643,
353,
474,
13,
12,
12,
12,
12,
1454,
3800,
297,
16273,
29901,
29871,
13,
12,
12,
12,
12,
12,
7665,
353,
6571,
29871,
13,
12,
12,
12,
12,
12,
7665,
1839,
3027,
29918,
333,
2033,
353,
954,
29871,
13,
12,
12,
12,
12,
12,
7665,
1839,
7320,
29918,
333,
2033,
353,
23503,
29918,
1643,
29871,
13,
12,
12,
12,
12,
12,
7665,
1839,
29890,
1884,
2033,
353,
518,
14486,
29898,
7411,
29898,
29875,
511,
29871,
29906,
29897,
363,
474,
297,
3800,
29961,
29900,
29901,
29946,
5262,
29871,
13,
12,
12,
12,
12,
12,
7665,
1839,
29890,
1884,
2033,
29961,
29906,
29962,
353,
12327,
1839,
29890,
1884,
2033,
29961,
29906,
29962,
29899,
7665,
1839,
29890,
1884,
2033,
29961,
29900,
29962,
29871,
13,
12,
12,
12,
12,
12,
7665,
1839,
29890,
1884,
2033,
29961,
29941,
29962,
353,
12327,
1839,
29890,
1884,
2033,
29961,
29941,
29962,
29899,
7665,
1839,
29890,
1884,
2033,
29961,
29896,
29962,
13,
12,
12,
12,
12,
12,
7665,
1839,
13628,
2033,
353,
5785,
29898,
1884,
29961,
29946,
2314,
29871,
13,
12,
12,
12,
12,
12,
6735,
800,
29889,
4397,
29898,
7665,
29897,
29871,
13,
12,
7299,
1839,
8346,
2033,
353,
4558,
29871,
13,
12,
7299,
1839,
6735,
800,
2033,
353,
25495,
29871,
13,
12,
2541,
1722,
29898,
3126,
29918,
449,
29918,
2084,
29892,
525,
29893,
1495,
408,
285,
29886,
29901,
29871,
13,
12,
12,
3126,
29889,
15070,
29898,
7299,
29892,
285,
29886,
29892,
1067,
29879,
29922,
3421,
8566,
6119,
29892,
29536,
29922,
29946,
29892,
2903,
4097,
7607,
742,
742,
525,
29901,
525,
876,
13,
13,
13,
13,
13,
13,
361,
4770,
978,
1649,
1275,
376,
1649,
3396,
1649,
1115,
29871,
13,
12,
16680,
353,
1852,
5510,
29889,
15730,
11726,
29898,
8216,
543,
5631,
403,
1121,
1159,
13,
12,
16680,
29889,
1202,
29918,
23516,
703,
29899,
29885,
613,
376,
489,
4299,
613,
8477,
543,
3195,
2224,
613,
1853,
29922,
710,
29892,
29897,
13,
12,
16680,
29889,
1202,
29918,
23516,
703,
29899,
29883,
613,
376,
489,
2917,
613,
8477,
543,
3991,
2224,
613,
1853,
29922,
710,
29892,
29897,
13,
12,
16680,
29889,
1202,
29918,
23516,
703,
29899,
326,
613,
376,
489,
326,
29918,
3972,
613,
8477,
543,
2940,
2224,
613,
1853,
29922,
710,
29892,
29897,
13,
12,
16680,
29889,
1202,
29918,
23516,
877,
29899,
29877,
742,
376,
489,
449,
613,
8477,
543,
11371,
2224,
613,
1134,
29922,
710,
29892,
29897,
13,
12,
5085,
353,
13812,
29889,
5510,
29918,
5085,
580,
13,
12,
4299,
29906,
5675,
29918,
3126,
353,
6389,
29889,
4299,
13,
12,
2917,
29906,
5675,
29918,
3126,
353,
6389,
29889,
2917,
13,
12,
3126,
29918,
449,
29918,
2084,
353,
6389,
29889,
449,
13,
12,
16447,
29918,
2084,
353,
6389,
29889,
326,
29918,
3972,
13,
12,
2914,
29918,
3166,
29918,
3972,
580,
13,
13,
2
] |
Calibration/IsolatedParticles/python/isolatedTracksCone_cfi.py | pasmuss/cmssw | 0 | 65286 | <gh_stars>0
import FWCore.ParameterSet.Config as cms
isolatedTracksCone= cms.EDAnalyzer("IsolatedTracksCone",
doMC = cms.untracked.bool(False),
Verbosity = cms.untracked.int32( 1 ),
useJetTrigger = cms.untracked.bool(False),
drLeadJetVeto = cms.untracked.double(1.2),
ptMinLeadJet = cms.untracked.double(15.0),
DebugTracks = cms.untracked.int32(0),
PrintTrkHitPattern=cms.untracked.bool(True),
minTrackP = cms.untracked.double(1.0),
maxTrackEta = cms.untracked.double(2.6),
maxNearTrackP = cms.untracked.double(1.0),
DebugEcalSimInfo= cms.untracked.bool(False),
ApplyEcalIsolation=cms.untracked.bool(True),
DebugL1Info = cms.untracked.bool(False),
L1extraTauJetSource = cms.InputTag("l1extraParticles", "Tau"),
L1extraCenJetSource = cms.InputTag("l1extraParticles", "Central"),
L1extraFwdJetSource = cms.InputTag("l1extraParticles", "Forward"),
TrackAssociatorParameters = cms.PSet(
muonMaxDistanceSigmaX = cms.double(0.0),
muonMaxDistanceSigmaY = cms.double(0.0),
CSCSegmentCollectionLabel = cms.InputTag("cscSegments"),
dRHcal = cms.double(9999.0),
dREcal = cms.double(9999.0),
CaloTowerCollectionLabel = cms.InputTag("towerMaker"),
useEcal = cms.bool(True),
dREcalPreselection = cms.double(0.05),
HORecHitCollectionLabel = cms.InputTag("horeco"),
dRMuon = cms.double(9999.0),
crossedEnergyType = cms.string('SinglePointAlongTrajectory'),
muonMaxDistanceX = cms.double(5.0),
muonMaxDistanceY = cms.double(5.0),
useHO = cms.bool(False),
accountForTrajectoryChangeCalo = cms.bool(False),
DTRecSegment4DCollectionLabel = cms.InputTag("dt4DSegments"),
EERecHitCollectionLabel = cms.InputTag("ecalRecHit","EcalRecHitsEE"),
dRHcalPreselection = cms.double(0.2),
useMuon = cms.bool(False),
useCalo = cms.bool(True),
EBRecHitCollectionLabel = cms.InputTag("ecalRecHit","EcalRecHitsEB"),
dRMuonPreselection = cms.double(0.2),
truthMatch = cms.bool(False),
HBHERecHitCollectionLabel = cms.InputTag("hbhereco"),
useHcal = cms.bool(True),
usePreshower = cms.bool(False),
dRPreshowerPreselection = cms.double(0.2),
trajectoryUncertaintyTolerance = cms.double(-1.0)
)
)
| [
1,
529,
12443,
29918,
303,
1503,
29958,
29900,
13,
5215,
383,
29956,
9203,
29889,
9329,
2697,
29889,
3991,
408,
274,
1516,
13,
13,
275,
324,
630,
5323,
4684,
29907,
650,
29922,
274,
1516,
29889,
3352,
2744,
14997,
3298,
703,
29902,
2929,
630,
5323,
4684,
29907,
650,
613,
13,
462,
462,
259,
437,
12513,
3986,
353,
274,
1516,
29889,
1657,
22282,
287,
29889,
11227,
29898,
8824,
511,
13,
462,
462,
259,
26646,
359,
537,
268,
353,
274,
1516,
29889,
1657,
22282,
287,
29889,
524,
29941,
29906,
29898,
29871,
29896,
10353,
13,
462,
462,
259,
671,
29967,
300,
20211,
353,
274,
1516,
29889,
1657,
22282,
287,
29889,
11227,
29898,
8824,
511,
13,
462,
462,
259,
4192,
29931,
1479,
29967,
300,
29963,
10896,
353,
274,
1516,
29889,
1657,
22282,
287,
29889,
8896,
29898,
29896,
29889,
29906,
511,
13,
462,
462,
259,
19592,
8140,
29931,
1479,
29967,
300,
29871,
353,
274,
1516,
29889,
1657,
22282,
287,
29889,
8896,
29898,
29896,
29945,
29889,
29900,
511,
13,
13,
462,
462,
259,
16171,
5323,
4684,
259,
353,
274,
1516,
29889,
1657,
22282,
287,
29889,
524,
29941,
29906,
29898,
29900,
511,
13,
462,
462,
259,
13905,
2308,
29895,
29950,
277,
17144,
29922,
29883,
1516,
29889,
1657,
22282,
287,
29889,
11227,
29898,
5574,
511,
13,
462,
462,
259,
1375,
17936,
29925,
268,
353,
274,
1516,
29889,
1657,
22282,
287,
29889,
8896,
29898,
29896,
29889,
29900,
511,
13,
462,
462,
259,
4236,
17936,
29923,
941,
259,
353,
274,
1516,
29889,
1657,
22282,
287,
29889,
8896,
29898,
29906,
29889,
29953,
511,
13,
462,
462,
259,
4236,
29940,
799,
17936,
29925,
353,
274,
1516,
29889,
1657,
22282,
287,
29889,
8896,
29898,
29896,
29889,
29900,
511,
13,
13,
462,
462,
259,
16171,
29923,
1052,
8942,
3401,
29922,
274,
1516,
29889,
1657,
22282,
287,
29889,
11227,
29898,
8824,
511,
13,
462,
462,
259,
2401,
368,
29923,
1052,
29902,
2929,
362,
29922,
29883,
1516,
29889,
1657,
22282,
287,
29889,
11227,
29898,
5574,
511,
13,
462,
462,
1678,
13,
462,
462,
259,
16171,
29931,
29896,
3401,
259,
353,
274,
1516,
29889,
1657,
22282,
287,
29889,
11227,
29898,
8824,
511,
13,
462,
462,
259,
365,
29896,
17833,
29911,
585,
29967,
300,
4435,
259,
353,
274,
1516,
29889,
4290,
8176,
703,
29880,
29896,
17833,
7439,
4027,
613,
376,
29911,
585,
4968,
13,
462,
462,
259,
365,
29896,
17833,
29907,
264,
29967,
300,
4435,
259,
353,
274,
1516,
29889,
4290,
8176,
703,
29880,
29896,
17833,
7439,
4027,
613,
376,
23369,
1705,
4968,
13,
462,
462,
259,
365,
29896,
17833,
29943,
9970,
29967,
300,
4435,
259,
353,
274,
1516,
29889,
4290,
8176,
703,
29880,
29896,
17833,
7439,
4027,
613,
376,
2831,
1328,
4968,
13,
13,
462,
462,
259,
17026,
29254,
1061,
11507,
353,
274,
1516,
29889,
29925,
2697,
29898,
13,
462,
462,
539,
3887,
265,
7976,
27469,
10142,
29990,
353,
274,
1516,
29889,
8896,
29898,
29900,
29889,
29900,
511,
13,
462,
462,
539,
3887,
265,
7976,
27469,
10142,
29979,
353,
274,
1516,
29889,
8896,
29898,
29900,
29889,
29900,
511,
13,
462,
462,
539,
315,
7187,
17669,
358,
7196,
4775,
353,
274,
1516,
29889,
4290,
8176,
703,
29883,
1557,
17669,
1860,
4968,
13,
462,
462,
539,
270,
29934,
29950,
1052,
353,
274,
1516,
29889,
8896,
29898,
29929,
29929,
29929,
29929,
29889,
29900,
511,
13,
462,
462,
539,
270,
1525,
1052,
353,
274,
1516,
29889,
8896,
29898,
29929,
29929,
29929,
29929,
29889,
29900,
511,
13,
462,
462,
539,
3037,
29877,
29911,
1680,
7196,
4775,
353,
274,
1516,
29889,
4290,
8176,
703,
29873,
1680,
29924,
5790,
4968,
13,
462,
462,
539,
671,
29923,
1052,
353,
274,
1516,
29889,
11227,
29898,
5574,
511,
13,
462,
462,
539,
270,
1525,
1052,
13504,
29872,
1464,
353,
274,
1516,
29889,
8896,
29898,
29900,
29889,
29900,
29945,
511,
13,
462,
462,
539,
379,
1955,
687,
29950,
277,
7196,
4775,
353,
274,
1516,
29889,
4290,
8176,
703,
29882,
487,
1111,
4968,
13,
462,
462,
539,
270,
29934,
29924,
29884,
265,
353,
274,
1516,
29889,
8896,
29898,
29929,
29929,
29929,
29929,
29889,
29900,
511,
13,
462,
462,
539,
21692,
29923,
1089,
1927,
1542,
353,
274,
1516,
29889,
1807,
877,
15771,
5228,
2499,
549,
5323,
622,
706,
5477,
13,
462,
462,
539,
3887,
265,
7976,
27469,
29990,
353,
274,
1516,
29889,
8896,
29898,
29945,
29889,
29900,
511,
13,
462,
462,
539,
3887,
265,
7976,
27469,
29979,
353,
274,
1516,
29889,
8896,
29898,
29945,
29889,
29900,
511,
13,
462,
462,
539,
671,
8187,
353,
274,
1516,
29889,
11227,
29898,
8824,
511,
13,
462,
462,
539,
3633,
2831,
5323,
622,
706,
7277,
29907,
7003,
353,
274,
1516,
29889,
11227,
29898,
8824,
511,
13,
462,
462,
539,
360,
29911,
4789,
17669,
358,
29946,
29928,
7196,
4775,
353,
274,
1516,
29889,
4290,
8176,
703,
6008,
29946,
8452,
387,
1860,
4968,
13,
462,
462,
539,
382,
1001,
687,
29950,
277,
7196,
4775,
353,
274,
1516,
29889,
4290,
8176,
703,
687,
284,
4789,
29950,
277,
3284,
29923,
1052,
4789,
29950,
1169,
17896,
4968,
13,
462,
462,
539,
270,
29934,
29950,
1052,
13504,
29872,
1464,
353,
274,
1516,
29889,
8896,
29898,
29900,
29889,
29906,
511,
13,
462,
462,
539,
671,
29924,
29884,
265,
353,
274,
1516,
29889,
11227,
29898,
8824,
511,
13,
462,
462,
539,
671,
29907,
7003,
353,
274,
1516,
29889,
11227,
29898,
5574,
511,
13,
462,
462,
539,
382,
29933,
4789,
29950,
277,
7196,
4775,
353,
274,
1516,
29889,
4290,
8176,
703,
687,
284,
4789,
29950,
277,
3284,
29923,
1052,
4789,
29950,
1169,
25752,
4968,
13,
462,
462,
539,
270,
29934,
29924,
29884,
265,
13504,
29872,
1464,
353,
274,
1516,
29889,
8896,
29898,
29900,
29889,
29906,
511,
13,
462,
462,
539,
8760,
9652,
353,
274,
1516,
29889,
11227,
29898,
8824,
511,
13,
462,
462,
539,
379,
29933,
4448,
687,
29950,
277,
7196,
4775,
353,
274,
1516,
29889,
4290,
8176,
703,
29882,
29890,
4150,
1111,
4968,
13,
462,
462,
539,
671,
29950,
1052,
353,
274,
1516,
29889,
11227,
29898,
5574,
511,
13,
462,
462,
539,
671,
29925,
3781,
1680,
353,
274,
1516,
29889,
11227,
29898,
8824,
511,
13,
462,
462,
539,
270,
29934,
29925,
3781,
1680,
13504,
29872,
1464,
353,
274,
1516,
29889,
8896,
29898,
29900,
29889,
29906,
511,
13,
462,
462,
539,
23324,
706,
2525,
14082,
1017,
29911,
324,
261,
749,
353,
274,
1516,
29889,
8896,
6278,
29896,
29889,
29900,
29897,
13,
462,
462,
539,
1723,
13,
29897,
13,
2
] |
compute_extrinsic.py | Ericcsr/ClothFromDepth | 0 | 87712 | import numpy as np
import open3d as o3d
from argparse import ArgumentParser
import os
parser = ArgumentParser()
parser.add_argument("--red",type=float, default= 0.5)
parser.add_argument("--blue", type=float, default = 0.4)
parser.add_argument("--green", type=float, default = 0.4)
parser.add_argument("--scan_folder",type=str, default = "scatters")
parser.add_argument("--extrinsic_name", type = str, default = "extrinsic")
args = parser.parse_args()
def computeTF(pointcloud_registers):
top = np.zeros(3,dtype=np.float)
bottom = np.zeros(3,dtype=np.float)
left = np.zeros(3,dtype=np.float)
right = np.zeros(3,dtype=np.float)
for pc in pointcloud_registers:
pc.remove_statistical_outlier(nb_neighbors=20, std_ratio=0.04)
points = np.asarray(pc.points)
top += points[np.argmax(points[:,1])]
bottom += points[np.argmin(points[:,1])]
left += points[np.argmin(points[:,0])]
right += points[np.argmax(points[:,0])]
top /= len(pointcloud_registers)
bottom /= len(pointcloud_registers)
left /= len(pointcloud_registers)
right /= len(pointcloud_registers)
R = np.zeros((3,3))
R[:,0] = (right - left)/np.linalg.norm(right-left,2)
R[:,1] = (top - bottom)/np.linalg.norm(top - bottom,2)
R[:,2] = np.cross(R[:,0],R[:,1])
R = R.T
# set the point with minimum x then minimum y as origin
T = -(top + bottom+left+right)/4
return R, T
def process_point_cloud(pcd):
color = np.asarray(pcd.colors)
color[:,[0,2]] = color[:,[2,0]]
pcd.colors = o3d.utility.Vector3dVector(color)
mask = (color[:,0] > args.red) * (color[:,1] < args.green) * (color[:,2] < args.blue)
points = np.asarray(pcd.points)
truncated_pcd = o3d.geometry.PointCloud()
truncated_pcd.points = o3d.utility.Vector3dVector(points[mask])
truncated_pcd.colors = o3d.utility.Vector3dVector(color[mask])
return truncated_pcd
filelist = os.listdir(f"./pointcloud_raw/{args.scan_folder}/")
truncated_pcds = []
for file in filelist:
filename = f"./pointcloud_raw/{args.scan_folder}/{file}"
pcd = o3d.io.read_point_cloud(filename)
truncated_pcd = process_point_cloud(pcd)
truncated_pcds.append(truncated_pcd)
R, T = computeTF(truncated_pcds)
np.savez(f"./extrinsic/{args.extrinsic_name}.npz", R = R, T = T)
| [
1,
1053,
12655,
408,
7442,
13,
5215,
1722,
29941,
29881,
408,
288,
29941,
29881,
13,
3166,
1852,
5510,
1053,
23125,
11726,
13,
5215,
2897,
13,
13,
16680,
353,
23125,
11726,
580,
13,
16680,
29889,
1202,
29918,
23516,
703,
489,
1127,
613,
1853,
29922,
7411,
29892,
2322,
29922,
29871,
29900,
29889,
29945,
29897,
13,
16680,
29889,
1202,
29918,
23516,
703,
489,
9539,
613,
1134,
29922,
7411,
29892,
2322,
353,
29871,
29900,
29889,
29946,
29897,
13,
16680,
29889,
1202,
29918,
23516,
703,
489,
12692,
613,
1134,
29922,
7411,
29892,
2322,
353,
29871,
29900,
29889,
29946,
29897,
13,
16680,
29889,
1202,
29918,
23516,
703,
489,
16192,
29918,
12083,
613,
1853,
29922,
710,
29892,
2322,
353,
376,
1557,
271,
2153,
1159,
13,
16680,
29889,
1202,
29918,
23516,
703,
489,
1062,
29878,
28594,
29918,
978,
613,
1134,
353,
851,
29892,
2322,
353,
376,
1062,
29878,
28594,
1159,
13,
5085,
353,
13812,
29889,
5510,
29918,
5085,
580,
13,
13,
1753,
10272,
8969,
29898,
3149,
9274,
29918,
9573,
29879,
1125,
13,
1678,
2246,
353,
7442,
29889,
3298,
359,
29898,
29941,
29892,
29881,
1853,
29922,
9302,
29889,
7411,
29897,
13,
1678,
5970,
353,
7442,
29889,
3298,
359,
29898,
29941,
29892,
29881,
1853,
29922,
9302,
29889,
7411,
29897,
13,
1678,
2175,
353,
7442,
29889,
3298,
359,
29898,
29941,
29892,
29881,
1853,
29922,
9302,
29889,
7411,
29897,
13,
1678,
1492,
353,
7442,
29889,
3298,
359,
29898,
29941,
29892,
29881,
1853,
29922,
9302,
29889,
7411,
29897,
13,
1678,
363,
22844,
297,
1298,
9274,
29918,
9573,
29879,
29901,
13,
4706,
22844,
29889,
5992,
29918,
6112,
391,
936,
29918,
449,
4926,
29898,
9877,
29918,
484,
1141,
29890,
943,
29922,
29906,
29900,
29892,
3659,
29918,
3605,
601,
29922,
29900,
29889,
29900,
29946,
29897,
13,
4706,
3291,
353,
7442,
29889,
294,
2378,
29898,
6739,
29889,
9748,
29897,
13,
4706,
2246,
4619,
3291,
29961,
9302,
29889,
1191,
3317,
29898,
9748,
7503,
29892,
29896,
2314,
29962,
13,
4706,
5970,
4619,
3291,
29961,
9302,
29889,
1191,
1195,
29898,
9748,
7503,
29892,
29896,
2314,
29962,
13,
4706,
2175,
4619,
3291,
29961,
9302,
29889,
1191,
1195,
29898,
9748,
7503,
29892,
29900,
2314,
29962,
13,
4706,
1492,
4619,
3291,
29961,
9302,
29889,
1191,
3317,
29898,
9748,
7503,
29892,
29900,
2314,
29962,
13,
268,
13,
1678,
2246,
847,
29922,
7431,
29898,
3149,
9274,
29918,
9573,
29879,
29897,
13,
1678,
5970,
847,
29922,
7431,
29898,
3149,
9274,
29918,
9573,
29879,
29897,
13,
1678,
2175,
847,
29922,
7431,
29898,
3149,
9274,
29918,
9573,
29879,
29897,
13,
1678,
1492,
847,
29922,
7431,
29898,
3149,
9274,
29918,
9573,
29879,
29897,
13,
268,
13,
1678,
390,
353,
7442,
29889,
3298,
359,
3552,
29941,
29892,
29941,
876,
13,
1678,
390,
7503,
29892,
29900,
29962,
353,
313,
1266,
448,
2175,
6802,
9302,
29889,
29880,
979,
29887,
29889,
12324,
29898,
1266,
29899,
1563,
29892,
29906,
29897,
13,
1678,
390,
7503,
29892,
29896,
29962,
353,
313,
3332,
448,
5970,
6802,
9302,
29889,
29880,
979,
29887,
29889,
12324,
29898,
3332,
448,
5970,
29892,
29906,
29897,
13,
1678,
390,
7503,
29892,
29906,
29962,
353,
7442,
29889,
19128,
29898,
29934,
7503,
29892,
29900,
1402,
29934,
7503,
29892,
29896,
2314,
13,
1678,
390,
353,
390,
29889,
29911,
13,
13,
1678,
396,
731,
278,
1298,
411,
9212,
921,
769,
9212,
343,
408,
3978,
13,
1678,
323,
353,
19691,
3332,
718,
5970,
29974,
1563,
29974,
1266,
6802,
29946,
13,
1678,
736,
390,
29892,
323,
13,
13,
1753,
1889,
29918,
3149,
29918,
9274,
29898,
29886,
2252,
1125,
13,
1678,
2927,
353,
7442,
29889,
294,
2378,
29898,
29886,
2252,
29889,
27703,
29897,
13,
1678,
2927,
7503,
17094,
29900,
29892,
29906,
5262,
353,
2927,
7503,
17094,
29906,
29892,
29900,
5262,
13,
1678,
282,
2252,
29889,
27703,
353,
288,
29941,
29881,
29889,
329,
1793,
29889,
12877,
29941,
29881,
12877,
29898,
2780,
29897,
13,
1678,
11105,
353,
313,
2780,
7503,
29892,
29900,
29962,
1405,
6389,
29889,
1127,
29897,
334,
313,
2780,
7503,
29892,
29896,
29962,
529,
6389,
29889,
12692,
29897,
334,
313,
2780,
7503,
29892,
29906,
29962,
529,
6389,
29889,
9539,
29897,
13,
1678,
3291,
353,
7442,
29889,
294,
2378,
29898,
29886,
2252,
29889,
9748,
29897,
13,
1678,
21022,
630,
29918,
29886,
2252,
353,
288,
29941,
29881,
29889,
19156,
29889,
5228,
20442,
580,
13,
1678,
21022,
630,
29918,
29886,
2252,
29889,
9748,
353,
288,
29941,
29881,
29889,
329,
1793,
29889,
12877,
29941,
29881,
12877,
29898,
9748,
29961,
13168,
2314,
13,
1678,
21022,
630,
29918,
29886,
2252,
29889,
27703,
353,
288,
29941,
29881,
29889,
329,
1793,
29889,
12877,
29941,
29881,
12877,
29898,
2780,
29961,
13168,
2314,
13,
1678,
736,
21022,
630,
29918,
29886,
2252,
13,
13,
1445,
1761,
353,
2897,
29889,
1761,
3972,
29898,
29888,
1642,
29914,
3149,
9274,
29918,
1610,
19248,
5085,
29889,
16192,
29918,
12083,
6822,
1159,
13,
509,
4661,
630,
29918,
29886,
2252,
29879,
353,
5159,
13,
1454,
934,
297,
934,
1761,
29901,
13,
1678,
10422,
353,
285,
1642,
29914,
3149,
9274,
29918,
1610,
19248,
5085,
29889,
16192,
29918,
12083,
6822,
29912,
1445,
5038,
13,
1678,
282,
2252,
353,
288,
29941,
29881,
29889,
601,
29889,
949,
29918,
3149,
29918,
9274,
29898,
9507,
29897,
13,
1678,
21022,
630,
29918,
29886,
2252,
353,
1889,
29918,
3149,
29918,
9274,
29898,
29886,
2252,
29897,
13,
1678,
21022,
630,
29918,
29886,
2252,
29879,
29889,
4397,
29898,
509,
4661,
630,
29918,
29886,
2252,
29897,
13,
13,
29934,
29892,
323,
353,
10272,
8969,
29898,
509,
4661,
630,
29918,
29886,
2252,
29879,
29897,
13,
9302,
29889,
7620,
29920,
29898,
29888,
1642,
29914,
1062,
29878,
28594,
19248,
5085,
29889,
1062,
29878,
28594,
29918,
978,
1836,
9302,
29920,
613,
390,
353,
390,
29892,
323,
353,
323,
29897,
13,
13,
13,
13,
13,
2
] |
sdk/python/tests/integration/feature_repos/universal/data_source_creator.py | marsishandsome/feast | 1 | 16920 | from abc import ABC, abstractmethod
from typing import Dict
import pandas as pd
from feast.data_source import DataSource
from feast.repo_config import FeastConfigBaseModel
class DataSourceCreator(ABC):
@abstractmethod
def create_data_source(
self,
destination: str,
df: pd.DataFrame,
event_timestamp_column="ts",
created_timestamp_column="created_ts",
field_mapping: Dict[str, str] = None,
) -> DataSource:
...
@abstractmethod
def create_offline_store_config(self) -> FeastConfigBaseModel:
...
@abstractmethod
def teardown(self):
...
@abstractmethod
def get_prefixed_table_name(self, name: str, suffix: str) -> str:
...
| [
1,
515,
25638,
1053,
16417,
29892,
9846,
5696,
13,
3166,
19229,
1053,
360,
919,
13,
13,
5215,
11701,
408,
10518,
13,
13,
3166,
1238,
579,
29889,
1272,
29918,
4993,
1053,
3630,
4435,
13,
3166,
1238,
579,
29889,
20095,
29918,
2917,
1053,
5169,
579,
3991,
5160,
3195,
13,
13,
13,
1990,
3630,
4435,
9832,
1061,
29898,
19658,
1125,
13,
1678,
732,
16595,
5696,
13,
1678,
822,
1653,
29918,
1272,
29918,
4993,
29898,
13,
4706,
1583,
29892,
13,
4706,
12551,
29901,
851,
29892,
13,
4706,
4489,
29901,
10518,
29889,
17271,
29892,
13,
4706,
1741,
29918,
16394,
29918,
4914,
543,
1372,
613,
13,
4706,
2825,
29918,
16394,
29918,
4914,
543,
11600,
29918,
1372,
613,
13,
4706,
1746,
29918,
20698,
29901,
360,
919,
29961,
710,
29892,
851,
29962,
353,
6213,
29892,
13,
1678,
1723,
1599,
3630,
4435,
29901,
13,
4706,
2023,
13,
13,
1678,
732,
16595,
5696,
13,
1678,
822,
1653,
29918,
2696,
1220,
29918,
8899,
29918,
2917,
29898,
1311,
29897,
1599,
5169,
579,
3991,
5160,
3195,
29901,
13,
4706,
2023,
13,
13,
1678,
732,
16595,
5696,
13,
1678,
822,
734,
538,
776,
29898,
1311,
1125,
13,
4706,
2023,
13,
13,
1678,
732,
16595,
5696,
13,
1678,
822,
679,
29918,
13506,
287,
29918,
2371,
29918,
978,
29898,
1311,
29892,
1024,
29901,
851,
29892,
25557,
29901,
851,
29897,
1599,
851,
29901,
13,
4706,
2023,
13,
2
] |
kyk/kyk.py | atrautsch/kyk | 0 | 33118 | #!/usr/bin/env python3
import os
import time
import shutil
import signal
import yaml
import sass
import pyinotify
from colorama import init, Fore, Style
from jsmin import jsmin
from csscompressor import compress
VERSION = '1.4.7'
class Kyk(object):
"""Kyk
Build JS
- if min: minify in place, append _minifed
- concat to destfile
Build SASS:
- compile SASS file
- concat to destfile
Build partial js not yet implemented completely
"""
def __init__(self, folder, debug):
self._folder = folder
self._debug = debug
init()
self._load_config()
signal.signal(signal.SIGINT, self.teardown)
def teardown(self, signal, frame):
if type(self.notifier) == pyinotify.ThreadedNotifier:
print('stopping watching')
self.notifier.stop()
def _load_config(self, reloading=False):
cfgfile = os.path.normpath(os.path.join(self._folder, 'kyk.yaml'))
if not os.path.isfile(cfgfile) and reloading:
time.sleep(1) # wait for it to appear (ftp program maybe?)
if not os.path.isfile(cfgfile):
raise Exception('no config file "{}" found!'.format(cfgfile))
with open(cfgfile, 'r', encoding='utf-8') as f:
dat = f.read()
self._cfg = yaml.load(dat)
self._js = {}
self._css = {}
self._jswatchlist = []
self._listen_events = []
self._timestamp_file = None
if 'watch_path' in self._cfg.keys():
self._folder = self._cfg['watch_path']
# no overwriting of command line debug, if config file does not hold debug: True we do not want to disable --debug
if not self._debug:
self._debug = 'debug' in self._cfg.keys() and self._cfg['debug']
self._version = self._cfg['version']
self._listen_events = self._cfg['events']
if 'timestamp_file' in self._cfg.keys():
self._timestamp_file = self._cfg['timestamp_file']
for minfile in self._cfg.keys():
if minfile.endswith('.js'):
jsfile = self._cfg[minfile]
minify = False
for jsfile in self._cfg[minfile]:
if jsfile.startswith('min:'):
minify = True
jsfile = jsfile.split('min:')[1].strip()
if minfile not in self._js.keys():
self._js[minfile] = []
self._js[minfile].append({'file': os.path.abspath(jsfile), 'minify': minify})
self._jswatchlist.append(os.path.abspath(jsfile))
elif minfile.endswith('.css'):
self._css[minfile] = self._cfg[minfile]
print('Kyk version: {}'.format(VERSION))
print('config version: {}'.format(self._version))
def oneshot(self):
print('oneshot')
self.build_js()
self.build_sass()
def watch_forever(self):
print('listening on:')
print(self._listen_events)
# first run, build everything
self.build_js()
self.build_sass()
# now only changed files
self.wm = pyinotify.WatchManager()
self.notifier = pyinotify.ThreadedNotifier(self.wm, default_proc_fun=self.handler)
self.wm.add_watch(self._folder, pyinotify.ALL_EVENTS, rec=True, auto_add=True)
# self.notifier.loop()
self.notifier.start()
signal.pause()
def reload(self):
self.notifier.stop()
self._load_config(True)
self.watch_forever()
def handler(self, event):
# catch every scss file change, we can do this here because we are limited by the watchpath
if getattr(event, 'pathname'):
if event.pathname.endswith('.scss'):
if event.maskname in self._listen_events:
print('{} changed!'.format(event.pathname))
self.build_sass()
# catch only changes to our configured jsfiles
elif event.pathname in self._jswatchlist:
if event.maskname in self._listen_events:
print('{} changed!'.format(event.pathname))
self.build_js()
elif event.pathname.endswith('kyk.yaml'):
print('kyk config changed, reloading')
self.reload()
def build_js(self):
"""minify everything, then concat everything
"""
print('building js...')
for minfile in self._js.keys():
with open(minfile, 'w', encoding='utf-8') as f:
for jsfile in self._js[minfile]:
if jsfile['minify'] and not self._debug:
self.minify_js(jsfile['file'])
out = self._load_js(jsfile['file'], load_minified=jsfile['minify'])
f.write(out + "\n")
print('finished')
self._update_timestamp()
def concat_js(self, destfile):
print('building {}...'.format(destfile))
with open(destfile, 'w', encoding='utf-8') as f:
for jsfile in self._js[destfile]:
if self._debug:
f.write('{}\n'.format(self._load_js(jsfile['file'])))
f.write(self._load_js(jsfile['file']) + ';')
print('finished')
def minify_js(self, jsfile=None):
"""Minify JS in place, append _minified
"""
out = jsmin(self._load_js(jsfile, load_minified=False))
with open('{}_minified'.format(jsfile), 'w', encoding='utf-8') as f:
f.write(out)
def build_partial_js(self, changed):
print('building partial js...')
for minfile in self._js:
for jsfile in self._js[minfile]:
if changed == jsfile['file']:
if jsfile['minify'] and not self._debug:
self.minify_js(jsfile['file'])
self.concat_js(minfile)
print('finished')
def _load_js(self, jsfile, load_minified=True):
"""Load js from file, load _minifed if exists and we want to have it (we do not want it if we minify anew)
"""
if load_minified and os.path.isfile('{}_minified'.format(jsfile)):
jsfile = '{}_minified'.format(jsfile)
if not os.path.isfile(jsfile):
print(Fore.RED + 'File {} not found!'.format(jsfile))
print(Style.RESET_ALL)
return ''
else:
with open(jsfile, 'r', encoding='utf-8') as f:
out = f.read()
return out
def _update_timestamp(self):
try:
if self._timestamp_file:
with open(self._timestamp_file, 'w') as f:
f.write('{}'.format(int(time.time())))
print('timestamp file updated')
except Exception as e:
print(Fore.RED + 'Error updating timestamp file: {}'.format(e))
print(Style.RESET_ALL)
def build_sass(self):
print('building sass...')
for minfile in self._css.keys():
try:
# tmp minfile name for writing
minfile_name = os.path.basename(minfile)
tmp_minfile_name = 'kyk_{}'.format(minfile_name)
tmp_minfile = minfile.replace(minfile_name, tmp_minfile_name)
# only scss source map file
mapfile = tmp_minfile.replace('.css', '.css.map')
smapfile = tmp_minfile.replace('.css', '.smap.css') # this holds the css and the source comments
with open(tmp_minfile, 'w', encoding='utf-8') as f, open(mapfile, 'w', encoding='utf-8') as smf, open(smapfile, 'w', encoding='utf-8') as sma:
for sassfile in self._css[minfile]:
if sassfile.endswith('.scss'):
ost = 'compressed'
if self._debug:
ost = 'expanded'
sc, sm = sass.compile(filename=sassfile, source_comments=True, source_map_filename=mapfile, output_style=ost)
sc_clean = sass.compile(filename=sassfile, source_comments=False, output_style=ost) # without source comments
f.write(sc_clean)
smf.write(sm)
sma.write(sc)
else:
sc = open(sassfile, 'r', encoding='utf-8').read()
if not self._debug:
sc = compress(sc)
f.write(sc)
shutil.copy(tmp_minfile, minfile)
shutil.copy(mapfile, minfile.replace('.css', '.css.map'))
shutil.copy(smapfile, minfile.replace('.css', '.smap.css'))
except sass.CompileError as e:
print(Fore.RED + 'SASS Error: {}'.format(e))
print(Style.RESET_ALL)
# in debug mode we break things on purpose here
if self._debug:
shutil.copy(tmp_minfile, minfile)
shutil.copy(mapfile, minfile.replace('.css', '.css.map'))
shutil.copy(smapfile, minfile.replace('.css', '.smap.css'))
print('finished')
self._update_timestamp()
| [
1,
18787,
4855,
29914,
2109,
29914,
6272,
3017,
29941,
13,
13,
5215,
2897,
13,
5215,
931,
13,
5215,
528,
4422,
13,
5215,
7182,
13,
13,
5215,
343,
8807,
13,
5215,
269,
465,
13,
5215,
11451,
262,
327,
1598,
13,
13,
3166,
2927,
3304,
1053,
2069,
29892,
28297,
29892,
22135,
13,
3166,
6965,
1195,
1053,
6965,
1195,
13,
3166,
5997,
510,
2139,
272,
1053,
27122,
13,
13,
16358,
353,
525,
29896,
29889,
29946,
29889,
29955,
29915,
13,
13,
13,
1990,
476,
12072,
29898,
3318,
1125,
13,
1678,
9995,
29968,
12072,
13,
13,
1678,
8878,
7649,
13,
1678,
448,
565,
1375,
29901,
1375,
1598,
297,
2058,
29892,
9773,
903,
1195,
361,
287,
13,
1678,
448,
3022,
271,
304,
2731,
1445,
13,
13,
1678,
8878,
16698,
1799,
29901,
13,
1678,
448,
6633,
16698,
1799,
934,
13,
1678,
448,
3022,
271,
304,
2731,
1445,
13,
13,
1678,
8878,
7687,
6965,
451,
3447,
8762,
6446,
13,
1678,
9995,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
4138,
29892,
4744,
1125,
13,
4706,
1583,
3032,
12083,
353,
4138,
13,
4706,
1583,
3032,
8382,
353,
4744,
13,
4706,
2069,
580,
13,
4706,
1583,
3032,
1359,
29918,
2917,
580,
13,
4706,
7182,
29889,
25436,
29898,
25436,
29889,
5425,
29954,
10192,
29892,
1583,
29889,
371,
538,
776,
29897,
13,
13,
1678,
822,
734,
538,
776,
29898,
1311,
29892,
7182,
29892,
3515,
1125,
13,
4706,
565,
1134,
29898,
1311,
29889,
1333,
3709,
29897,
1275,
11451,
262,
327,
1598,
29889,
4899,
287,
3664,
3709,
29901,
13,
9651,
1596,
877,
7864,
3262,
21217,
1495,
13,
9651,
1583,
29889,
1333,
3709,
29889,
9847,
580,
13,
13,
1678,
822,
903,
1359,
29918,
2917,
29898,
1311,
29892,
337,
13234,
29922,
8824,
1125,
13,
4706,
274,
16434,
1445,
353,
2897,
29889,
2084,
29889,
12324,
2084,
29898,
359,
29889,
2084,
29889,
7122,
29898,
1311,
3032,
12083,
29892,
525,
3459,
29895,
29889,
25162,
8785,
13,
4706,
565,
451,
2897,
29889,
2084,
29889,
275,
1445,
29898,
16859,
1445,
29897,
322,
337,
13234,
29901,
13,
9651,
931,
29889,
17059,
29898,
29896,
29897,
29871,
396,
4480,
363,
372,
304,
2615,
313,
23102,
1824,
5505,
7897,
13,
4706,
565,
451,
2897,
29889,
2084,
29889,
275,
1445,
29898,
16859,
1445,
1125,
13,
9651,
12020,
8960,
877,
1217,
2295,
934,
29850,
5038,
1476,
29991,
4286,
4830,
29898,
16859,
1445,
876,
13,
13,
4706,
411,
1722,
29898,
16859,
1445,
29892,
525,
29878,
742,
8025,
2433,
9420,
29899,
29947,
1495,
408,
285,
29901,
13,
9651,
1418,
353,
285,
29889,
949,
580,
13,
13,
4706,
1583,
3032,
16859,
353,
343,
8807,
29889,
1359,
29898,
4130,
29897,
13,
13,
4706,
1583,
3032,
1315,
353,
6571,
13,
4706,
1583,
3032,
4268,
353,
6571,
13,
4706,
1583,
3032,
1315,
12344,
1761,
353,
5159,
13,
4706,
1583,
3032,
20631,
29918,
13604,
353,
5159,
13,
4706,
1583,
3032,
16394,
29918,
1445,
353,
6213,
13,
13,
4706,
565,
525,
12344,
29918,
2084,
29915,
297,
1583,
3032,
16859,
29889,
8149,
7295,
13,
9651,
1583,
3032,
12083,
353,
1583,
3032,
16859,
1839,
12344,
29918,
2084,
2033,
13,
13,
4706,
396,
694,
975,
16554,
310,
1899,
1196,
4744,
29892,
565,
2295,
934,
947,
451,
4808,
4744,
29901,
5852,
591,
437,
451,
864,
304,
11262,
1192,
8382,
13,
4706,
565,
451,
1583,
3032,
8382,
29901,
13,
9651,
1583,
3032,
8382,
353,
525,
8382,
29915,
297,
1583,
3032,
16859,
29889,
8149,
580,
322,
1583,
3032,
16859,
1839,
8382,
2033,
13,
13,
4706,
1583,
3032,
3259,
353,
1583,
3032,
16859,
1839,
3259,
2033,
13,
4706,
1583,
3032,
20631,
29918,
13604,
353,
1583,
3032,
16859,
1839,
13604,
2033,
13,
4706,
565,
525,
16394,
29918,
1445,
29915,
297,
1583,
3032,
16859,
29889,
8149,
7295,
13,
9651,
1583,
3032,
16394,
29918,
1445,
353,
1583,
3032,
16859,
1839,
16394,
29918,
1445,
2033,
13,
13,
4706,
363,
1375,
1445,
297,
1583,
3032,
16859,
29889,
8149,
7295,
13,
9651,
565,
1375,
1445,
29889,
1975,
2541,
12839,
1315,
29374,
13,
18884,
6965,
1445,
353,
1583,
3032,
16859,
29961,
1195,
1445,
29962,
13,
18884,
1375,
1598,
353,
7700,
13,
13,
18884,
363,
6965,
1445,
297,
1583,
3032,
16859,
29961,
1195,
1445,
5387,
13,
462,
1678,
565,
6965,
1445,
29889,
27382,
2541,
877,
1195,
11283,
1125,
13,
462,
4706,
1375,
1598,
353,
5852,
13,
462,
4706,
6965,
1445,
353,
6965,
1445,
29889,
5451,
877,
1195,
29901,
29861,
29896,
1822,
17010,
580,
13,
462,
1678,
565,
1375,
1445,
451,
297,
1583,
3032,
1315,
29889,
8149,
7295,
13,
462,
4706,
1583,
3032,
1315,
29961,
1195,
1445,
29962,
353,
5159,
13,
13,
462,
1678,
1583,
3032,
1315,
29961,
1195,
1445,
1822,
4397,
3319,
29915,
1445,
2396,
2897,
29889,
2084,
29889,
370,
1028,
493,
29898,
1315,
1445,
511,
525,
1195,
1598,
2396,
1375,
1598,
1800,
13,
462,
1678,
1583,
3032,
1315,
12344,
1761,
29889,
4397,
29898,
359,
29889,
2084,
29889,
370,
1028,
493,
29898,
1315,
1445,
876,
13,
9651,
25342,
1375,
1445,
29889,
1975,
2541,
12839,
4268,
29374,
13,
18884,
1583,
3032,
4268,
29961,
1195,
1445,
29962,
353,
1583,
3032,
16859,
29961,
1195,
1445,
29962,
13,
13,
4706,
1596,
877,
29968,
12072,
1873,
29901,
6571,
4286,
4830,
29898,
16358,
876,
13,
4706,
1596,
877,
2917,
1873,
29901,
6571,
4286,
4830,
29898,
1311,
3032,
3259,
876,
13,
13,
1678,
822,
6743,
8711,
29898,
1311,
1125,
13,
4706,
1596,
877,
2873,
8711,
1495,
13,
4706,
1583,
29889,
4282,
29918,
1315,
580,
13,
4706,
1583,
29889,
4282,
29918,
29879,
465,
580,
13,
13,
1678,
822,
6505,
29918,
1079,
369,
29898,
1311,
1125,
13,
4706,
1596,
877,
1761,
8333,
373,
29901,
1495,
13,
4706,
1596,
29898,
1311,
3032,
20631,
29918,
13604,
29897,
13,
13,
4706,
396,
937,
1065,
29892,
2048,
4129,
13,
4706,
1583,
29889,
4282,
29918,
1315,
580,
13,
4706,
1583,
29889,
4282,
29918,
29879,
465,
580,
13,
13,
4706,
396,
1286,
871,
3939,
2066,
13,
4706,
1583,
29889,
29893,
29885,
353,
11451,
262,
327,
1598,
29889,
24709,
3260,
580,
13,
4706,
1583,
29889,
1333,
3709,
353,
11451,
262,
327,
1598,
29889,
4899,
287,
3664,
3709,
29898,
1311,
29889,
29893,
29885,
29892,
2322,
29918,
15439,
29918,
7692,
29922,
1311,
29889,
13789,
29897,
13,
4706,
1583,
29889,
29893,
29885,
29889,
1202,
29918,
12344,
29898,
1311,
3032,
12083,
29892,
11451,
262,
327,
1598,
29889,
9818,
29918,
22240,
3919,
29903,
29892,
1162,
29922,
5574,
29892,
4469,
29918,
1202,
29922,
5574,
29897,
13,
4706,
396,
1583,
29889,
1333,
3709,
29889,
7888,
580,
13,
4706,
1583,
29889,
1333,
3709,
29889,
2962,
580,
13,
4706,
7182,
29889,
29886,
1071,
580,
13,
13,
1678,
822,
19763,
29898,
1311,
1125,
13,
4706,
1583,
29889,
1333,
3709,
29889,
9847,
580,
13,
4706,
1583,
3032,
1359,
29918,
2917,
29898,
5574,
29897,
13,
4706,
1583,
29889,
12344,
29918,
1079,
369,
580,
13,
13,
1678,
822,
7834,
29898,
1311,
29892,
1741,
1125,
13,
4706,
396,
4380,
1432,
885,
893,
934,
1735,
29892,
591,
508,
437,
445,
1244,
1363,
591,
526,
9078,
491,
278,
6505,
2084,
13,
4706,
565,
679,
5552,
29898,
3696,
29892,
525,
2084,
978,
29374,
13,
9651,
565,
1741,
29889,
2084,
978,
29889,
1975,
2541,
12839,
1557,
893,
29374,
13,
18884,
565,
1741,
29889,
13168,
978,
297,
1583,
3032,
20631,
29918,
13604,
29901,
13,
462,
1678,
1596,
877,
8875,
3939,
29991,
4286,
4830,
29898,
3696,
29889,
2084,
978,
876,
13,
462,
1678,
1583,
29889,
4282,
29918,
29879,
465,
580,
13,
13,
9651,
396,
4380,
871,
3620,
304,
1749,
13252,
6965,
5325,
13,
9651,
25342,
1741,
29889,
2084,
978,
297,
1583,
3032,
1315,
12344,
1761,
29901,
13,
18884,
565,
1741,
29889,
13168,
978,
297,
1583,
3032,
20631,
29918,
13604,
29901,
13,
462,
1678,
1596,
877,
8875,
3939,
29991,
4286,
4830,
29898,
3696,
29889,
2084,
978,
876,
13,
462,
1678,
1583,
29889,
4282,
29918,
1315,
580,
13,
13,
9651,
25342,
1741,
29889,
2084,
978,
29889,
1975,
2541,
877,
3459,
29895,
29889,
25162,
29374,
13,
18884,
1596,
877,
3459,
29895,
2295,
3939,
29892,
337,
13234,
1495,
13,
18884,
1583,
29889,
28120,
580,
13,
13,
1678,
822,
2048,
29918,
1315,
29898,
1311,
1125,
13,
4706,
9995,
1195,
1598,
4129,
29892,
769,
3022,
271,
4129,
13,
4706,
9995,
13,
4706,
1596,
877,
25237,
6965,
856,
1495,
13,
4706,
363,
1375,
1445,
297,
1583,
3032,
1315,
29889,
8149,
7295,
13,
9651,
411,
1722,
29898,
1195,
1445,
29892,
525,
29893,
742,
8025,
2433,
9420,
29899,
29947,
1495,
408,
285,
29901,
13,
18884,
363,
6965,
1445,
297,
1583,
3032,
1315,
29961,
1195,
1445,
5387,
13,
462,
1678,
565,
6965,
1445,
1839,
1195,
1598,
2033,
322,
451,
1583,
3032,
8382,
29901,
13,
462,
4706,
1583,
29889,
1195,
1598,
29918,
1315,
29898,
1315,
1445,
1839,
1445,
11287,
13,
13,
462,
1678,
714,
353,
1583,
3032,
1359,
29918,
1315,
29898,
1315,
1445,
1839,
1445,
7464,
2254,
29918,
1195,
2164,
29922,
1315,
1445,
1839,
1195,
1598,
11287,
13,
13,
462,
1678,
285,
29889,
3539,
29898,
449,
718,
6634,
29876,
1159,
13,
13,
4706,
1596,
877,
4951,
3276,
1495,
13,
4706,
1583,
3032,
5504,
29918,
16394,
580,
13,
13,
1678,
822,
3022,
271,
29918,
1315,
29898,
1311,
29892,
2731,
1445,
1125,
13,
4706,
1596,
877,
25237,
6571,
856,
4286,
4830,
29898,
7854,
1445,
876,
13,
4706,
411,
1722,
29898,
7854,
1445,
29892,
525,
29893,
742,
8025,
2433,
9420,
29899,
29947,
1495,
408,
285,
29901,
13,
9651,
363,
6965,
1445,
297,
1583,
3032,
1315,
29961,
7854,
1445,
5387,
13,
18884,
565,
1583,
3032,
8382,
29901,
13,
462,
1678,
285,
29889,
3539,
877,
29912,
1012,
29876,
4286,
4830,
29898,
1311,
3032,
1359,
29918,
1315,
29898,
1315,
1445,
1839,
1445,
2033,
4961,
13,
18884,
285,
29889,
3539,
29898,
1311,
3032,
1359,
29918,
1315,
29898,
1315,
1445,
1839,
1445,
11287,
718,
21921,
1495,
13,
4706,
1596,
877,
4951,
3276,
1495,
13,
13,
1678,
822,
1375,
1598,
29918,
1315,
29898,
1311,
29892,
6965,
1445,
29922,
8516,
1125,
13,
4706,
9995,
8140,
1598,
7649,
297,
2058,
29892,
9773,
903,
1195,
2164,
13,
4706,
9995,
13,
4706,
714,
353,
6965,
1195,
29898,
1311,
3032,
1359,
29918,
1315,
29898,
1315,
1445,
29892,
2254,
29918,
1195,
2164,
29922,
8824,
876,
13,
13,
4706,
411,
1722,
877,
29912,
2403,
1195,
2164,
4286,
4830,
29898,
1315,
1445,
511,
525,
29893,
742,
8025,
2433,
9420,
29899,
29947,
1495,
408,
285,
29901,
13,
9651,
285,
29889,
3539,
29898,
449,
29897,
13,
13,
1678,
822,
2048,
29918,
3846,
29918,
1315,
29898,
1311,
29892,
3939,
1125,
13,
4706,
1596,
877,
25237,
7687,
6965,
856,
1495,
13,
13,
4706,
363,
1375,
1445,
297,
1583,
3032,
1315,
29901,
13,
9651,
363,
6965,
1445,
297,
1583,
3032,
1315,
29961,
1195,
1445,
5387,
13,
18884,
565,
3939,
1275,
6965,
1445,
1839,
1445,
2033,
29901,
13,
462,
1678,
565,
6965,
1445,
1839,
1195,
1598,
2033,
322,
451,
1583,
3032,
8382,
29901,
13,
462,
4706,
1583,
29889,
1195,
1598,
29918,
1315,
29898,
1315,
1445,
1839,
1445,
11287,
13,
462,
1678,
1583,
29889,
17685,
29918,
1315,
29898,
1195,
1445,
29897,
13,
4706,
1596,
877,
4951,
3276,
1495,
13,
13,
1678,
822,
903,
1359,
29918,
1315,
29898,
1311,
29892,
6965,
1445,
29892,
2254,
29918,
1195,
2164,
29922,
5574,
1125,
13,
4706,
9995,
5896,
6965,
515,
934,
29892,
2254,
903,
1195,
361,
287,
565,
4864,
322,
591,
864,
304,
505,
372,
313,
705,
437,
451,
864,
372,
565,
591,
1375,
1598,
385,
809,
29897,
13,
4706,
9995,
13,
4706,
565,
2254,
29918,
1195,
2164,
322,
2897,
29889,
2084,
29889,
275,
1445,
877,
29912,
2403,
1195,
2164,
4286,
4830,
29898,
1315,
1445,
22164,
13,
9651,
6965,
1445,
353,
22372,
2403,
1195,
2164,
4286,
4830,
29898,
1315,
1445,
29897,
13,
13,
4706,
565,
451,
2897,
29889,
2084,
29889,
275,
1445,
29898,
1315,
1445,
1125,
13,
9651,
1596,
29898,
29943,
487,
29889,
19386,
718,
525,
2283,
6571,
451,
1476,
29991,
4286,
4830,
29898,
1315,
1445,
876,
13,
9651,
1596,
29898,
5568,
29889,
1525,
10490,
29918,
9818,
29897,
13,
13,
9651,
736,
6629,
13,
4706,
1683,
29901,
13,
9651,
411,
1722,
29898,
1315,
1445,
29892,
525,
29878,
742,
8025,
2433,
9420,
29899,
29947,
1495,
408,
285,
29901,
13,
18884,
714,
353,
285,
29889,
949,
580,
13,
13,
9651,
736,
714,
13,
13,
1678,
822,
903,
5504,
29918,
16394,
29898,
1311,
1125,
13,
4706,
1018,
29901,
13,
9651,
565,
1583,
3032,
16394,
29918,
1445,
29901,
13,
18884,
411,
1722,
29898,
1311,
3032,
16394,
29918,
1445,
29892,
525,
29893,
1495,
408,
285,
29901,
13,
462,
1678,
285,
29889,
3539,
877,
8875,
4286,
4830,
29898,
524,
29898,
2230,
29889,
2230,
580,
4961,
13,
18884,
1596,
877,
16394,
934,
4784,
1495,
13,
4706,
5174,
8960,
408,
321,
29901,
13,
9651,
1596,
29898,
29943,
487,
29889,
19386,
718,
525,
2392,
13271,
14334,
934,
29901,
6571,
4286,
4830,
29898,
29872,
876,
13,
9651,
1596,
29898,
5568,
29889,
1525,
10490,
29918,
9818,
29897,
13,
13,
1678,
822,
2048,
29918,
29879,
465,
29898,
1311,
1125,
13,
9651,
1596,
877,
25237,
269,
465,
856,
1495,
13,
9651,
363,
1375,
1445,
297,
1583,
3032,
4268,
29889,
8149,
7295,
13,
18884,
1018,
29901,
13,
462,
1678,
396,
13128,
1375,
1445,
1024,
363,
5007,
13,
462,
1678,
1375,
1445,
29918,
978,
353,
2897,
29889,
2084,
29889,
6500,
3871,
29898,
1195,
1445,
29897,
13,
462,
1678,
13128,
29918,
1195,
1445,
29918,
978,
353,
525,
3459,
29895,
648,
29913,
4286,
4830,
29898,
1195,
1445,
29918,
978,
29897,
13,
13,
462,
1678,
13128,
29918,
1195,
1445,
353,
1375,
1445,
29889,
6506,
29898,
1195,
1445,
29918,
978,
29892,
13128,
29918,
1195,
1445,
29918,
978,
29897,
13,
462,
1678,
396,
871,
885,
893,
2752,
2910,
934,
13,
462,
1678,
2910,
1445,
353,
13128,
29918,
1195,
1445,
29889,
6506,
12839,
4268,
742,
15300,
4268,
29889,
1958,
1495,
13,
462,
1678,
1560,
481,
1445,
353,
13128,
29918,
1195,
1445,
29889,
6506,
12839,
4268,
742,
15300,
29879,
1958,
29889,
4268,
1495,
29871,
396,
445,
8640,
278,
5997,
322,
278,
2752,
6589,
13,
462,
1678,
411,
1722,
29898,
7050,
29918,
1195,
1445,
29892,
525,
29893,
742,
8025,
2433,
9420,
29899,
29947,
1495,
408,
285,
29892,
1722,
29898,
1958,
1445,
29892,
525,
29893,
742,
8025,
2433,
9420,
29899,
29947,
1495,
408,
1560,
29888,
29892,
1722,
29898,
29879,
1958,
1445,
29892,
525,
29893,
742,
8025,
2433,
9420,
29899,
29947,
1495,
408,
269,
655,
29901,
13,
462,
4706,
363,
269,
465,
1445,
297,
1583,
3032,
4268,
29961,
1195,
1445,
5387,
13,
462,
9651,
565,
269,
465,
1445,
29889,
1975,
2541,
12839,
1557,
893,
29374,
13,
462,
18884,
14750,
353,
525,
510,
13120,
29915,
13,
462,
18884,
565,
1583,
3032,
8382,
29901,
13,
462,
462,
1678,
14750,
353,
525,
18837,
287,
29915,
13,
462,
18884,
885,
29892,
1560,
353,
269,
465,
29889,
12198,
29898,
9507,
29922,
29879,
465,
1445,
29892,
2752,
29918,
21032,
29922,
5574,
29892,
2752,
29918,
1958,
29918,
9507,
29922,
1958,
1445,
29892,
1962,
29918,
3293,
29922,
520,
29897,
13,
462,
18884,
885,
29918,
14941,
353,
269,
465,
29889,
12198,
29898,
9507,
29922,
29879,
465,
1445,
29892,
2752,
29918,
21032,
29922,
8824,
29892,
1962,
29918,
3293,
29922,
520,
29897,
29871,
396,
1728,
2752,
6589,
13,
13,
462,
18884,
285,
29889,
3539,
29898,
1557,
29918,
14941,
29897,
13,
462,
18884,
1560,
29888,
29889,
3539,
29898,
3844,
29897,
13,
462,
18884,
269,
655,
29889,
3539,
29898,
1557,
29897,
13,
462,
9651,
1683,
29901,
13,
462,
18884,
885,
353,
1722,
29898,
29879,
465,
1445,
29892,
525,
29878,
742,
8025,
2433,
9420,
29899,
29947,
2824,
949,
580,
13,
462,
18884,
565,
451,
1583,
3032,
8382,
29901,
13,
462,
462,
1678,
885,
353,
27122,
29898,
1557,
29897,
13,
462,
18884,
285,
29889,
3539,
29898,
1557,
29897,
13,
13,
462,
1678,
528,
4422,
29889,
8552,
29898,
7050,
29918,
1195,
1445,
29892,
1375,
1445,
29897,
13,
462,
1678,
528,
4422,
29889,
8552,
29898,
1958,
1445,
29892,
1375,
1445,
29889,
6506,
12839,
4268,
742,
15300,
4268,
29889,
1958,
8785,
13,
462,
1678,
528,
4422,
29889,
8552,
29898,
29879,
1958,
1445,
29892,
1375,
1445,
29889,
6506,
12839,
4268,
742,
15300,
29879,
1958,
29889,
4268,
8785,
13,
18884,
5174,
269,
465,
29889,
6843,
488,
2392,
408,
321,
29901,
13,
462,
1678,
1596,
29898,
29943,
487,
29889,
19386,
718,
525,
8132,
1799,
4829,
29901,
6571,
4286,
4830,
29898,
29872,
876,
13,
462,
1678,
1596,
29898,
5568,
29889,
1525,
10490,
29918,
9818,
29897,
13,
13,
462,
1678,
396,
297,
4744,
4464,
591,
2867,
2712,
373,
6437,
1244,
13,
462,
1678,
565,
1583,
3032,
8382,
29901,
13,
462,
4706,
528,
4422,
29889,
8552,
29898,
7050,
29918,
1195,
1445,
29892,
1375,
1445,
29897,
13,
462,
4706,
528,
4422,
29889,
8552,
29898,
1958,
1445,
29892,
1375,
1445,
29889,
6506,
12839,
4268,
742,
15300,
4268,
29889,
1958,
8785,
13,
462,
4706,
528,
4422,
29889,
8552,
29898,
29879,
1958,
1445,
29892,
1375,
1445,
29889,
6506,
12839,
4268,
742,
15300,
29879,
1958,
29889,
4268,
8785,
13,
9651,
1596,
877,
4951,
3276,
1495,
13,
9651,
1583,
3032,
5504,
29918,
16394,
580,
13,
2
] |
src/dataset/config.py | Digital-Pathology/CustomDataset | 0 | 157130 |
"""
Configuration for development - change these with caution!
"""
REGION_DIMS = (512, 512)
DEFAULT_FILTRATION_STATUS = None
DEFAULT_FILTRATION_CACHE_FILEPATH = "filtration_cache.h5"
DEFULAT_FILTRATION_CACHE_TITLE = "filtration_cache"
DATASET_FILTRATION_PREPROCESSING_MULTIPROCESSING = False
FILTRATION_CACHE_APPLY_FILTRATION_MULTIPROCESSING = True
| [
1,
29871,
13,
15945,
29908,
13,
1678,
20999,
363,
5849,
448,
1735,
1438,
411,
5777,
918,
29991,
13,
15945,
29908,
13,
13,
13,
18166,
2725,
29918,
4571,
4345,
353,
313,
29945,
29896,
29906,
29892,
29871,
29945,
29896,
29906,
29897,
13,
13,
23397,
29918,
3738,
29931,
5659,
8098,
29918,
27047,
353,
6213,
13,
13,
23397,
29918,
3738,
29931,
5659,
8098,
29918,
29907,
2477,
9606,
29918,
7724,
10145,
353,
376,
1777,
509,
362,
29918,
8173,
29889,
29882,
29945,
29908,
13,
24405,
13309,
1299,
29918,
3738,
29931,
5659,
8098,
29918,
29907,
2477,
9606,
29918,
29911,
1806,
1307,
353,
376,
1777,
509,
362,
29918,
8173,
29908,
13,
13,
25832,
8127,
29911,
29918,
3738,
29931,
5659,
8098,
29918,
15094,
8618,
23524,
4214,
29918,
29924,
8647,
5690,
1672,
23524,
4214,
353,
7700,
13,
3738,
29931,
5659,
8098,
29918,
29907,
2477,
9606,
29918,
3301,
7390,
29979,
29918,
3738,
29931,
5659,
8098,
29918,
29924,
8647,
5690,
1672,
23524,
4214,
353,
5852,
13,
2
] |
networkx/classes/tests/test_digraph_historical.py | KyleBenson/networkx | 0 | 22636 | <filename>networkx/classes/tests/test_digraph_historical.py
#!/usr/bin/env python
"""Original NetworkX graph tests"""
from nose.tools import *
import networkx
import networkx as nx
from networkx.testing.utils import *
from historical_tests import HistoricalTests
class TestDiGraphHistorical(HistoricalTests):
def setUp(self):
HistoricalTests.setUp(self)
self.G=nx.DiGraph
def test_in_degree(self):
G=self.G()
G.add_nodes_from('GJK')
G.add_edges_from([('A', 'B'), ('A', 'C'), ('B', 'D'),
('B', 'C'), ('C', 'D')])
assert_equal(sorted(d for n, d in G.in_degree()),[0, 0, 0, 0, 1, 2, 2])
assert_equal(dict(G.in_degree()),
{'A': 0, 'C': 2, 'B': 1, 'D': 2, 'G': 0, 'K': 0, 'J': 0})
def test_out_degree(self):
G=self.G()
G.add_nodes_from('GJK')
G.add_edges_from([('A', 'B'), ('A', 'C'), ('B', 'D'),
('B', 'C'), ('C', 'D')])
assert_equal(sorted([v for k,v in G.in_degree()]),
[0, 0, 0, 0, 1, 2, 2])
assert_equal(dict(G.out_degree()),
{'A': 2, 'C': 1, 'B': 2, 'D': 0, 'G': 0, 'K': 0, 'J': 0})
def test_degree_digraph(self):
H=nx.DiGraph()
H.add_edges_from([(1,24),(1,2)])
assert_equal(sorted(d for n, d in H.in_degree([1,24])), [0, 1])
assert_equal(sorted(d for n, d in H.out_degree([1,24])), [0, 2])
assert_equal(sorted(d for n, d in H.degree([1,24])), [1, 2])
def test_neighbors(self):
G=self.G()
G.add_nodes_from('GJK')
G.add_edges_from([('A', 'B'), ('A', 'C'), ('B', 'D'),
('B', 'C'), ('C', 'D')])
assert_equal(sorted(G.neighbors('C')),['D'])
assert_equal(sorted(G['C']),['D'])
assert_equal(sorted(G.neighbors('A')),['B', 'C'])
assert_raises(nx.NetworkXError,G.neighbors,'j')
assert_raises(nx.NetworkXError,G.neighbors,'j')
def test_successors(self):
G=self.G()
G.add_nodes_from('GJK')
G.add_edges_from([('A', 'B'), ('A', 'C'), ('B', 'D'),
('B', 'C'), ('C', 'D')])
assert_equal(sorted(G.successors('A')),['B', 'C'])
assert_equal(sorted(G.successors('A')),['B', 'C'])
assert_equal(sorted(G.successors('G')),[])
assert_equal(sorted(G.successors('D')),[])
assert_equal(sorted(G.successors('G')),[])
assert_raises(nx.NetworkXError,G.successors,'j')
assert_raises(nx.NetworkXError,G.successors,'j')
def test_predecessors(self):
G=self.G()
G.add_nodes_from('GJK')
G.add_edges_from([('A', 'B'), ('A', 'C'), ('B', 'D'),
('B', 'C'), ('C', 'D')])
assert_equal(sorted(G.predecessors('C')),['A', 'B'])
assert_equal(sorted(G.predecessors('C')),['A', 'B'])
assert_equal(sorted(G.predecessors('G')),[])
assert_equal(sorted(G.predecessors('A')),[])
assert_equal(sorted(G.predecessors('G')),[])
assert_equal(sorted(G.predecessors('A')),[])
assert_equal(sorted(G.successors('D')),[])
assert_raises(nx.NetworkXError,G.predecessors,'j')
assert_raises(nx.NetworkXError,G.predecessors,'j')
def test_reverse(self):
G=nx.complete_graph(10)
H=G.to_directed()
HR=H.reverse()
assert_true(nx.is_isomorphic(H,HR))
assert_equal(sorted(H.edges()),sorted(HR.edges()))
def test_reverse2(self):
H=nx.DiGraph()
foo=[H.add_edge(u,u+1) for u in range(0,5)]
HR=H.reverse()
for u in range(0,5):
assert_true(HR.has_edge(u+1,u))
def test_reverse3(self):
H=nx.DiGraph()
H.add_nodes_from([1,2,3,4])
HR=H.reverse()
assert_equal(sorted(HR.nodes()),[1, 2, 3, 4])
| [
1,
529,
9507,
29958,
11618,
29916,
29914,
13203,
29914,
21150,
29914,
1688,
29918,
7501,
1140,
29918,
16211,
936,
29889,
2272,
13,
29937,
14708,
4855,
29914,
2109,
29914,
6272,
3017,
13,
15945,
29908,
26036,
8527,
29990,
3983,
6987,
15945,
29908,
13,
3166,
26414,
29889,
8504,
1053,
334,
13,
5215,
3564,
29916,
13,
5215,
3564,
29916,
408,
302,
29916,
13,
3166,
3564,
29916,
29889,
13424,
29889,
13239,
1053,
334,
13,
13,
3166,
15839,
29918,
21150,
1053,
20315,
24376,
13,
13,
1990,
4321,
12130,
9527,
29950,
2118,
936,
29898,
29950,
2118,
936,
24376,
1125,
13,
13,
1678,
822,
731,
3373,
29898,
1311,
1125,
13,
4706,
20315,
24376,
29889,
842,
3373,
29898,
1311,
29897,
13,
4706,
1583,
29889,
29954,
29922,
23818,
29889,
12130,
9527,
13,
13,
13,
1678,
822,
1243,
29918,
262,
29918,
12163,
929,
29898,
1311,
1125,
13,
4706,
402,
29922,
1311,
29889,
29954,
580,
13,
4706,
402,
29889,
1202,
29918,
18010,
29918,
3166,
877,
29954,
29967,
29968,
1495,
13,
4706,
402,
29889,
1202,
29918,
287,
2710,
29918,
3166,
4197,
877,
29909,
742,
525,
29933,
5477,
6702,
29909,
742,
525,
29907,
5477,
6702,
29933,
742,
525,
29928,
5477,
29871,
13,
462,
3986,
6702,
29933,
742,
525,
29907,
5477,
6702,
29907,
742,
525,
29928,
1495,
2314,
13,
13,
4706,
4974,
29918,
11745,
29898,
24582,
29898,
29881,
363,
302,
29892,
270,
297,
402,
29889,
262,
29918,
12163,
929,
25739,
29961,
29900,
29892,
29871,
29900,
29892,
29871,
29900,
29892,
29871,
29900,
29892,
29871,
29896,
29892,
29871,
29906,
29892,
29871,
29906,
2314,
13,
4706,
4974,
29918,
11745,
29898,
8977,
29898,
29954,
29889,
262,
29918,
12163,
929,
25739,
13,
462,
268,
11117,
29909,
2396,
29871,
29900,
29892,
525,
29907,
2396,
29871,
29906,
29892,
525,
29933,
2396,
29871,
29896,
29892,
525,
29928,
2396,
29871,
29906,
29892,
525,
29954,
2396,
29871,
29900,
29892,
525,
29968,
2396,
29871,
29900,
29892,
525,
29967,
2396,
29871,
29900,
1800,
13,
13,
1678,
822,
1243,
29918,
449,
29918,
12163,
929,
29898,
1311,
1125,
13,
4706,
402,
29922,
1311,
29889,
29954,
580,
13,
4706,
402,
29889,
1202,
29918,
18010,
29918,
3166,
877,
29954,
29967,
29968,
1495,
13,
4706,
402,
29889,
1202,
29918,
287,
2710,
29918,
3166,
4197,
877,
29909,
742,
525,
29933,
5477,
6702,
29909,
742,
525,
29907,
5477,
6702,
29933,
742,
525,
29928,
5477,
29871,
13,
462,
3986,
6702,
29933,
742,
525,
29907,
5477,
6702,
29907,
742,
525,
29928,
1495,
2314,
13,
4706,
4974,
29918,
11745,
29898,
24582,
4197,
29894,
363,
413,
29892,
29894,
297,
402,
29889,
262,
29918,
12163,
929,
580,
11724,
13,
462,
268,
518,
29900,
29892,
29871,
29900,
29892,
29871,
29900,
29892,
29871,
29900,
29892,
29871,
29896,
29892,
29871,
29906,
29892,
29871,
29906,
2314,
13,
4706,
4974,
29918,
11745,
29898,
8977,
29898,
29954,
29889,
449,
29918,
12163,
929,
25739,
13,
632,
11117,
29909,
2396,
29871,
29906,
29892,
525,
29907,
2396,
29871,
29896,
29892,
525,
29933,
2396,
29871,
29906,
29892,
525,
29928,
2396,
29871,
29900,
29892,
525,
29954,
2396,
29871,
29900,
29892,
525,
29968,
2396,
29871,
29900,
29892,
525,
29967,
2396,
29871,
29900,
1800,
13,
13,
13,
1678,
822,
1243,
29918,
12163,
929,
29918,
7501,
1140,
29898,
1311,
1125,
13,
4706,
379,
29922,
23818,
29889,
12130,
9527,
580,
13,
4706,
379,
29889,
1202,
29918,
287,
2710,
29918,
3166,
4197,
29898,
29896,
29892,
29906,
29946,
21336,
29896,
29892,
29906,
29897,
2314,
13,
4706,
4974,
29918,
11745,
29898,
24582,
29898,
29881,
363,
302,
29892,
270,
297,
379,
29889,
262,
29918,
12163,
929,
4197,
29896,
29892,
29906,
29946,
2314,
511,
518,
29900,
29892,
29871,
29896,
2314,
13,
4706,
4974,
29918,
11745,
29898,
24582,
29898,
29881,
363,
302,
29892,
270,
297,
379,
29889,
449,
29918,
12163,
929,
4197,
29896,
29892,
29906,
29946,
2314,
511,
518,
29900,
29892,
29871,
29906,
2314,
13,
4706,
4974,
29918,
11745,
29898,
24582,
29898,
29881,
363,
302,
29892,
270,
297,
379,
29889,
12163,
929,
4197,
29896,
29892,
29906,
29946,
2314,
511,
518,
29896,
29892,
29871,
29906,
2314,
13,
13,
13,
1678,
822,
1243,
29918,
484,
1141,
29890,
943,
29898,
1311,
1125,
13,
4706,
402,
29922,
1311,
29889,
29954,
580,
13,
4706,
402,
29889,
1202,
29918,
18010,
29918,
3166,
877,
29954,
29967,
29968,
1495,
13,
4706,
402,
29889,
1202,
29918,
287,
2710,
29918,
3166,
4197,
877,
29909,
742,
525,
29933,
5477,
6702,
29909,
742,
525,
29907,
5477,
6702,
29933,
742,
525,
29928,
5477,
29871,
13,
462,
3986,
6702,
29933,
742,
525,
29907,
5477,
6702,
29907,
742,
525,
29928,
1495,
2314,
13,
13,
4706,
4974,
29918,
11745,
29898,
24582,
29898,
29954,
29889,
484,
1141,
29890,
943,
877,
29907,
1495,
511,
1839,
29928,
11287,
13,
4706,
4974,
29918,
11745,
29898,
24582,
29898,
29954,
1839,
29907,
2033,
511,
1839,
29928,
11287,
13,
4706,
4974,
29918,
11745,
29898,
24582,
29898,
29954,
29889,
484,
1141,
29890,
943,
877,
29909,
1495,
511,
1839,
29933,
742,
525,
29907,
11287,
13,
4706,
4974,
29918,
336,
4637,
29898,
23818,
29889,
13724,
29990,
2392,
29892,
29954,
29889,
484,
1141,
29890,
943,
5501,
29926,
1495,
13,
4706,
4974,
29918,
336,
4637,
29898,
23818,
29889,
13724,
29990,
2392,
29892,
29954,
29889,
484,
1141,
29890,
943,
5501,
29926,
1495,
13,
13,
1678,
822,
1243,
29918,
8698,
943,
29898,
1311,
1125,
13,
4706,
402,
29922,
1311,
29889,
29954,
580,
13,
4706,
402,
29889,
1202,
29918,
18010,
29918,
3166,
877,
29954,
29967,
29968,
1495,
13,
4706,
402,
29889,
1202,
29918,
287,
2710,
29918,
3166,
4197,
877,
29909,
742,
525,
29933,
5477,
6702,
29909,
742,
525,
29907,
5477,
6702,
29933,
742,
525,
29928,
5477,
29871,
13,
462,
3986,
6702,
29933,
742,
525,
29907,
5477,
6702,
29907,
742,
525,
29928,
1495,
2314,
13,
4706,
4974,
29918,
11745,
29898,
24582,
29898,
29954,
29889,
8698,
943,
877,
29909,
1495,
511,
1839,
29933,
742,
525,
29907,
11287,
13,
4706,
4974,
29918,
11745,
29898,
24582,
29898,
29954,
29889,
8698,
943,
877,
29909,
1495,
511,
1839,
29933,
742,
525,
29907,
11287,
13,
4706,
4974,
29918,
11745,
29898,
24582,
29898,
29954,
29889,
8698,
943,
877,
29954,
1495,
511,
23076,
13,
4706,
4974,
29918,
11745,
29898,
24582,
29898,
29954,
29889,
8698,
943,
877,
29928,
1495,
511,
23076,
13,
4706,
4974,
29918,
11745,
29898,
24582,
29898,
29954,
29889,
8698,
943,
877,
29954,
1495,
511,
23076,
13,
4706,
4974,
29918,
336,
4637,
29898,
23818,
29889,
13724,
29990,
2392,
29892,
29954,
29889,
8698,
943,
5501,
29926,
1495,
13,
4706,
4974,
29918,
336,
4637,
29898,
23818,
29889,
13724,
29990,
2392,
29892,
29954,
29889,
8698,
943,
5501,
29926,
1495,
13,
308,
13,
13,
1678,
822,
1243,
29918,
1457,
311,
985,
943,
29898,
1311,
1125,
13,
4706,
402,
29922,
1311,
29889,
29954,
580,
13,
4706,
402,
29889,
1202,
29918,
18010,
29918,
3166,
877,
29954,
29967,
29968,
1495,
13,
4706,
402,
29889,
1202,
29918,
287,
2710,
29918,
3166,
4197,
877,
29909,
742,
525,
29933,
5477,
6702,
29909,
742,
525,
29907,
5477,
6702,
29933,
742,
525,
29928,
5477,
29871,
13,
462,
3986,
6702,
29933,
742,
525,
29907,
5477,
6702,
29907,
742,
525,
29928,
1495,
2314,
13,
4706,
4974,
29918,
11745,
29898,
24582,
29898,
29954,
29889,
1457,
311,
985,
943,
877,
29907,
1495,
511,
1839,
29909,
742,
525,
29933,
11287,
13,
4706,
4974,
29918,
11745,
29898,
24582,
29898,
29954,
29889,
1457,
311,
985,
943,
877,
29907,
1495,
511,
1839,
29909,
742,
525,
29933,
11287,
13,
4706,
4974,
29918,
11745,
29898,
24582,
29898,
29954,
29889,
1457,
311,
985,
943,
877,
29954,
1495,
511,
23076,
13,
4706,
4974,
29918,
11745,
29898,
24582,
29898,
29954,
29889,
1457,
311,
985,
943,
877,
29909,
1495,
511,
23076,
13,
4706,
4974,
29918,
11745,
29898,
24582,
29898,
29954,
29889,
1457,
311,
985,
943,
877,
29954,
1495,
511,
23076,
13,
4706,
4974,
29918,
11745,
29898,
24582,
29898,
29954,
29889,
1457,
311,
985,
943,
877,
29909,
1495,
511,
23076,
13,
4706,
4974,
29918,
11745,
29898,
24582,
29898,
29954,
29889,
8698,
943,
877,
29928,
1495,
511,
23076,
13,
13,
4706,
4974,
29918,
336,
4637,
29898,
23818,
29889,
13724,
29990,
2392,
29892,
29954,
29889,
1457,
311,
985,
943,
5501,
29926,
1495,
13,
4706,
4974,
29918,
336,
4637,
29898,
23818,
29889,
13724,
29990,
2392,
29892,
29954,
29889,
1457,
311,
985,
943,
5501,
29926,
1495,
13,
13,
13,
1678,
822,
1243,
29918,
24244,
29898,
1311,
1125,
13,
4706,
402,
29922,
23818,
29889,
8835,
29918,
4262,
29898,
29896,
29900,
29897,
13,
4706,
379,
29922,
29954,
29889,
517,
29918,
11851,
287,
580,
13,
4706,
379,
29934,
29922,
29950,
29889,
24244,
580,
13,
4706,
4974,
29918,
3009,
29898,
23818,
29889,
275,
29918,
275,
16898,
29898,
29950,
29892,
20938,
876,
13,
4706,
4974,
29918,
11745,
29898,
24582,
29898,
29950,
29889,
287,
2710,
25739,
24582,
29898,
20938,
29889,
287,
2710,
22130,
13,
13,
1678,
822,
1243,
29918,
24244,
29906,
29898,
1311,
1125,
13,
4706,
379,
29922,
23818,
29889,
12130,
9527,
580,
13,
4706,
7953,
11759,
29950,
29889,
1202,
29918,
12864,
29898,
29884,
29892,
29884,
29974,
29896,
29897,
363,
318,
297,
3464,
29898,
29900,
29892,
29945,
4638,
13,
4706,
379,
29934,
29922,
29950,
29889,
24244,
580,
13,
4706,
363,
318,
297,
3464,
29898,
29900,
29892,
29945,
1125,
13,
9651,
4974,
29918,
3009,
29898,
20938,
29889,
5349,
29918,
12864,
29898,
29884,
29974,
29896,
29892,
29884,
876,
13,
13,
1678,
822,
1243,
29918,
24244,
29941,
29898,
1311,
1125,
13,
4706,
379,
29922,
23818,
29889,
12130,
9527,
580,
13,
4706,
379,
29889,
1202,
29918,
18010,
29918,
3166,
4197,
29896,
29892,
29906,
29892,
29941,
29892,
29946,
2314,
13,
4706,
379,
29934,
29922,
29950,
29889,
24244,
580,
13,
4706,
4974,
29918,
11745,
29898,
24582,
29898,
20938,
29889,
18010,
25739,
29961,
29896,
29892,
29871,
29906,
29892,
29871,
29941,
29892,
29871,
29946,
2314,
13,
13,
2
] |
flashcards/views.py | YellowAndGreen/Anki2 | 0 | 137349 | import collections
import json
import random
import re
from datetime import timedelta, datetime
from django.contrib import messages
from django.contrib.auth.decorators import login_required
from django.core.cache import cache
from django.db.models import Q
from django.http import JsonResponse, FileResponse
from django.shortcuts import render, get_object_or_404, redirect
from django.utils import timezone
from django.views.decorators.http import require_POST
from taggit.models import Tag
from flashcards.utils import find_example_from_database
from .crontab import update_due_list
from .forms import *
from .models import *
from .utils import to_chinese
from .web_query import find_synonym
# 启动时执行的函数
def onstart():
coca = {}
# 将coca存入内存中
with open('flashcards/static/dict/coca.txt', 'r', encoding='utf-8') as f:
coca = json.loads(f.read())
cache.set('coca', coca, timeout=None)
onstart()
# 首页
@login_required
def index(request):
card_num = Card.objects.count()
# 获取当前用户的单词列表
wordlists = request.user.owner.all()
# 获取过去七天的背诵数据
now = timezone.now()
# 七天前作为开始时间
start = now - timedelta(days=7, hours=now.hour, minutes=now.minute, seconds=now.second)
# 找到过去七天的背诵数据
recitedata = Recitedata.objects.filter(date__gt=start)
rank_count_by_day = []
for i in range(1, 8):
all_data = recitedata.filter(date__gt=start + timedelta(days=i), date__lt=start + timedelta(days=i + 1))
counter = collections.Counter([data.rank for data in all_data])
rank_count_by_day.append([counter[1], counter[2], counter[3], counter[4]])
rank_count_by_rank = []
for i in range(0, 4):
rank_count_by_rank.append([rank_day[i] for rank_day in rank_count_by_day])
# 仅返回有单词的tag
tags = filter(lambda tag: len(Card.objects.filter(tags__in=[tag])), Tag.objects.all())
return render(request, 'flashcards/anki.html',
{'len': card_num,
'lenlist': len(wordlists),
'wordlists': wordlists,
'tags': tags,
'recitedata': rank_count_by_rank,
})
# 单张卡片浏览
def card_detailview(request, card_id):
# 从缓存中获取当前设置,若无则从数据库读取并存入缓存
random_example = request.user.settings.all()[0] if cache.get('random_example') is None else cache.get(
'random_example')
# 获取card实例
card = get_object_or_404(Card, id=card_id)
# 若当前设置为随机例句且是该卡片属于词汇分组
if request.user.settings.all()[0].random_example and card.group[0:2] == "词汇":
result = find_example_from_database(card.question)
# 有可能查不到
if len(result[0]) > 0:
rand_index = random.randint(0, len(result[0]) - 1)
card.example = result[0][rand_index]
card.translation = result[1][rand_index]
# 将例句中的此词标红
if len(re.findall(r"[a-zA-Z]+", card.question)) > 0:
reple = re.findall(r"[a-zA-Z]+", card.question)[0]
card.example = card.example.replace(reple, "<span id='red'><b>" + reple + "</b></span>")
return render(request,
'flashcards/card_detail.html',
{'object': card,
'tags': card.tags.all(),
'random_example': random_example
})
# 下一张卡片
@login_required
def nextcardview(request):
# 有待改进,随机卡片操作十分耗时
card = Card.objects.all()[random.randrange(1, Card.objects.count(), 1)]
return redirect(card.get_absolute_url())
# 背诵
@login_required
def cardreciteview(request, card_id, rank):
# 获取card实例
card = get_object_or_404(Card, id=card_id)
# 创建记忆数据并保存
recitedata = Recitedata(rank=rank, card=card)
recitedata.save()
# 生成随机数并跳转至下一卡片
card = Card.objects.all()[random.randrange(1, Card.objects.count(), 1)]
return redirect(card.get_absolute_url())
# 展示背诵数据
@login_required
def recitedatadisplay(request):
# 按rank排序,后续改进
recitedata = Recitedata.objects.order_by("rank")
# 使用set以防止card重复
cards = set([data.card for data in recitedata])
datas = [{'card': card, 'recitedata': card.recitedata.all()} for card in cards]
return render(request,
'flashcards/recitedata.html',
{'datas': datas}
)
# 单张卡片背诵数据
def card_recitedata_view(request, card_id):
card = get_object_or_404(Card, id=card_id)
all_recitedata = card.recitedata.all()
return render(request,
'flashcards/card_recitedata_detail.html',
{'all_recitedata': all_recitedata
})
# 修改到此
@login_required
def search(request):
cards = []
cd = {"query": ''}
form = SearchForm(request.GET)
if form.is_valid():
cd = form.cleaned_data
if cd['query'][0:2] == 'T:':
tag = get_object_or_404(Tag, slug=cd['query'][2:])
cards = Card.objects.filter(tags__in=[tag])
elif cd['query'][0:2] == 'G:':
cards = Card.objects.filter(group__startswith=cd['query'][2:])
else:
cards = Card.objects.filter(
Q(question__icontains=cd['query']) | Q(example__icontains=cd['query']))
# 将搜索字段替换为红色
for card in cards:
card.question = card.question.replace(cd['query'], "<span id='red'><b>" + cd['query'] + "</b></span>")
card.example = card.example.replace(cd['query'], "<span id='red'><b>" + cd['query'] + "</b></span>")
if cd['query'] == '':
form = SearchForm()
return render(request, 'flashcards/search.html', {'cards': cards, 'searchvalue': cd['query'], 'form': form})
# 撤回:删除背诵记录
@login_required
def undo(request, card_id):
# 需要撤回的卡片和需要删除背诵记录的卡是一张卡
card = get_object_or_404(Card, id=card_id)
card.recitedata.latest('date').delete()
return redirect(card.get_absolute_url())
# 列表的撤回:删除背诵记录
@login_required
def undo_list(request, list_id, progress):
wordlist = get_object_or_404(WordList, id=list_id)
id_list = list(map(lambda dic: dic['id'], json.loads(wordlist.wordlist)))
card_id = id_list[progress - 1]
# 需要撤回到的卡片和需要删除背诵记录的卡是一张卡
card = Card.objects.filter(id=card_id)
latest_recitedata = card[0].recitedata.latest('date')
recitedata_params = json.loads(latest_recitedata.params)
card.due = datetime.strptime(recitedata_params['due'], "%Y-%m-%d %H:%M:%S.%f")
card.review_num = recitedata_params['review_num']
card.forget_num = recitedata_params['forget_num']
card.ratio = recitedata_params['ratio']
card.interval = recitedata_params['interval']
card.save()
latest_recitedata.delete()
# 修改进度
return redirect('flashcards:recite_wordlist', list_id, progress - 1, 0)
# 网络搜索
@login_required
def websearch(request):
cd = {"query": ''}
form = SearchForm(request.GET)
if form.is_valid():
cd = form.cleaned_data
words = find_synonym(cd['query'])
else:
form = SearchForm()
words = []
return render(request, 'flashcards/webquery.html',
{"words": words, 'searchvalue': cd['query'], 'form': form}, )
@login_required
def dict_search(request):
cd = {"query": ''}
form = SearchForm(request.GET)
if form.is_valid():
cd = form.cleaned_data
# 查词,返回单词和html文件
html_result = ''
queryword = cd['query']
dict_query = Dict.objects.filter(headword=queryword)
if len(dict_query) == 0:
dict_query = Dict.objects.filter(headword=queryword.lower())
if len(dict_query) == 0:
html_result = 'No Match!'
html_result = dict_query[0].item
else:
form = SearchForm()
html_result = ''
return render(request, 'flashcards/dict.html',
{'html_result': html_result, 'form': form, 'searchvalue': cd['query'],
})
@login_required
def create_wordlist_by_diff(request):
cd = {"query": 'list'}
form = SearchForm(request.GET)
if form.is_valid():
cd = form.cleaned_data
# 找到最近的三个复习data并累计,生成一个字典
rank_sum_dict = map(lambda card: {'id': card.id, 'rank_sum': sum(
sorted([Recitedata.rank for Recitedata in card.recitedata.order_by('-date')], reverse=True)[0:3])
if len(card.recitedata.all()) > 2
else sum([Recitedata.rank for Recitedata in card.recitedata.order_by('-date')])}
, Card.objects.all())
# 按rank排序,取前五十个值
# 不知道为什么id列表总为空
# id_list = [dic['id'] for dic in sorted(list(rank_sum_dict), key=lambda dic: dic['rank_sum'], reverse=True)[0:50]]
# id_list = list(
# map(lambda dic: dic['id'], sorted(list(rank_sum_dict), key=lambda dic: dic['rank_sum'], reverse=True)[0:50]))
# print(id_list)
sort_list = sorted(list(rank_sum_dict), key=lambda dic: dic['rank_sum'], reverse=True)[0:50]
wordlist = WordList(owner=request.user, name=cd['query'], wordlist=json.dumps(sort_list)
, len_list=len(sort_list))
wordlist.save()
messages.success(request, '单词列表创建成功')
return redirect('flashcards:dashboard')
@login_required
def create_wordlist_by_tag(request):
cd = {"query": 'list', "tag": 'marked'}
form = SearchForm(request.GET)
if form.is_valid():
cd = form.cleaned_data
tag = get_object_or_404(Tag, slug=request.GET['tag'])
cards = Card.objects.filter(tags__in=[tag])
id_list = [{'id': card.id} for card in cards]
wordlist = WordList(owner=request.user, name=cd['query'], wordlist=json.dumps(id_list)
, len_list=len(id_list))
wordlist.save()
messages.success(request, '单词列表创建成功')
return redirect('flashcards:dashboard')
@login_required
def recite_wordlist(request, wordlist_id, progress, rank):
wordlist = WordList.objects.filter(id=wordlist_id)[0]
# 判断请求progress和数据库progress是否相等,若不同,则将后者覆盖(在重新复习的时候可能出现的问题)
if progress == 0 and wordlist.progress != 0:
wordlist.progress = progress
# json解析单词列表id
id_list = list(map(lambda dic: dic['id'], json.loads(wordlist.wordlist)))
# 判断是刚进入还是进入后第一次提交卡片
# 若提交,则更新进度
# 若刚进入,则不更新进度
if rank > 0:
# 获取当前card实例
current_card = get_object_or_404(Card, id=id_list[progress])
# 获取当前时间
current_time = datetime.datetime.now()
# 创建并保存记忆数据
recitedata = Recitedata(rank=rank, card=current_card)
recitedata.save()
# 计算完成度
wordlist.progress = progress + 1
percentage = int((wordlist.progress / wordlist.len_list) * 100)
# 更新进度
wordlist.save()
# 若为due列表则还需要更新due参数
if wordlist.name == 'due':
# 将参数保存进recitedata
recitedata_params = {'due': str(current_card.due), 'review_num': current_card.review_num,
'forget_num': current_card.forget_num,
'ratio': current_card.ratio, 'interval': current_card.interval}
recitedata.params = json.dumps(recitedata_params)
recitedata.save()
if rank == 4:
print(
f"{current_card.question}:更新前due为{current_card.due},interval为{current_card.interval},简易度为{current_card.ratio}。")
# 卡片进入重新学习队列,简易度减少 20 个百分点
current_card.due = current_time
# 间隔设置为0,以便于区分
current_card.interval = 0
# 简易度最低为 130%
if current_card.ratio >= 150:
current_card.ratio -= 20
print(
f"{current_card.question}:更新后due为{current_card.due},interval为{current_card.interval},简易度为{current_card.ratio}。")
elif rank == 3:
# 卡片的简易度减少 15% ,当前的间隔乘以 1.2。
current_card.interval = int(1.2 * current_card.interval)
current_card.due = current_time + timedelta(days=current_card.interval)
if current_card.ratio >= 145:
current_card.ratio -= 15
# 困难惩罚,防止一直选3和2时的间隔增长
if current_card.ratio <= 180:
current_card.interval = int(0.8 * current_card.interval)
current_card.due = current_time + timedelta(days=current_card.interval)
elif rank == 2:
if current_card.interval == 0:
current_card.interval = 3
# 卡片的简易度减少 5% ,当前的间隔乘以 1.1。
else:
current_card.interval = int(1.1 * current_card.interval)
current_card.due = current_time + timedelta(days=current_card.interval)
if current_card.ratio >= 135:
current_card.ratio -= 5
elif rank == 1:
print(
f"{current_card.question}:更新前due为{current_card.due},interval为{current_card.interval},简易度为{current_card.ratio}。")
if current_card.interval == 0:
current_card.interval = 4
# 当前间隔乘以当前简易度再乘以简单奖励,简易度增加 15 个百分点。
else:
current_card.interval = int(0.01 * current_card.interval * current_card.ratio)
current_card.due = current_time + timedelta(days=current_card.interval)
if current_card.ratio >= 135:
current_card.ratio += 15
print(
f"{current_card.question}:更新后due为{current_card.due},interval为{current_card.interval},简易度为{current_card.ratio}。")
current_card.save()
else:
wordlist.progress = progress
percentage = int((wordlist.progress / wordlist.len_list) * 100)
# 进度更新后判断是否完成单词列表,若完成,则返回主页
if wordlist.progress == wordlist.len_list:
messages.success(request, '您已背完该单词列表!')
# 若为due列表,则刷新此列表
if wordlist.name == 'due':
update_due_list()
return redirect('flashcards:dashboard')
# 获取下一个单词
# 必须使用数据库中的wordlist.progress,否则使用progress会导致第一个不更新
next_word = get_object_or_404(Card, id=id_list[wordlist.progress])
if request.user.settings.all()[0].random_example and next_word.group[0:2] == "词汇":
result = find_example_from_database(next_word.question)
# 有可能查不到
if len(result[0]) > 0:
rand_index = random.randint(0, len(result[0]) - 1)
next_word.example = result[0][rand_index]
next_word.translation = result[1][rand_index]
# 将例句中的此词标红
reple = re.findall(r"[a-zA-Z]+", next_word.question)[0]
next_word.example = next_word.example.replace(reple, "<span id='red'><b>" + reple + "</b></span>")
return render(request, 'flashcards/card_list.html',
{
"percentage": percentage,
'object': next_word,
'progress': wordlist.progress,
'wordlist_id': wordlist_id,
'tags': next_word.tags.all(),
'section': 'list',
})
@login_required
def delete_wordlist(request, wordlist_id):
get_object_or_404(WordList, id=wordlist_id).delete()
messages.success(request, '单词列表删除成功')
return redirect('flashcards:dashboard')
@login_required
def word_add_tags(request, word_id, tag, section):
word = get_object_or_404(Card, id=word_id)
word.tags.add(tag)
messages.success(request, '标签添加成功')
if section == 0:
return redirect('flashcards:card_detail', card_id=word_id)
else:
return redirect('flashcards:recite_wordlist', wordlist_id=section,
progress=get_object_or_404(WordList, id=section).progress, rank=0)
@login_required
def word_delete_tags(request, word_id, tag_id, section):
word = get_object_or_404(Card, id=word_id)
word.tags.remove(Tag.objects.filter(id=tag_id)[0])
messages.success(request, '标签删除成功')
# 判断是否为单词列表
if section == 0:
return redirect('flashcards:card_detail', card_id=word_id)
else:
return redirect('flashcards:recite_wordlist', wordlist_id=section,
progress=get_object_or_404(WordList, id=section).progress, rank=0)
@login_required
def word_edit(request, word_id, section):
word = get_object_or_404(Card, id=word_id)
cd = request.POST
word.group = cd['group']
word.question = cd['question']
word.answer = cd['answer']
word.example = cd['example']
word.translation = cd['translation']
word.extra = cd['extra']
if cd['tag'] != '':
word.tags.add(cd['tag'])
word.save()
messages.success(request, '词汇编辑成功!')
if section == 0:
return redirect('flashcards:card_detail', card_id=word_id)
else:
return redirect('flashcards:recite_wordlist', wordlist_id=section,
progress=get_object_or_404(WordList, id=section).progress, rank=0)
@login_required
def word_add(request):
set = request.user.settings.all()[0]
set_group = json.loads(set.current_group)
if request.POST:
word = Card()
cd = request.POST
word.group = cd['group']
word.question = cd['question']
word.answer = cd['answer'].replace(';', ',')
word.example = cd['example'].replace('\n', ' ').replace('"', '')
word.translation = cd['translation'].replace('\n', ' ')
word.extra = cd['extra']
if cd['tag'] != '':
word.tags.add(cd['tag'])
# 仅在前两字为词汇或者整个为空的时候进行检查
if word.group == '' or word.group[0:2] == '词汇':
# 检查setting中数值是否大于等于50,若大于50,则group加1,数量初始化为1,最后保存set
if set_group['max_word_num'] >= 50:
set_group['max_word_group'] += 1
set_group['max_word_num'] = 0
# 转化为最大group并转为中文
word.group = ''.join(['词汇-第', to_chinese(set_group['max_word_group']), '组'])
# 最后num数加一
set_group['max_word_num'] += 1
set.current_group = json.dumps(set_group)
set.save()
word.save()
return JsonResponse({'status': 'ok'})
else:
return render(request, 'flashcards/card_create.html')
@login_required
def word_delete(request, word_id):
get_object_or_404(Card, id=word_id).delete()
messages.success(request, '词汇删除成功!')
return redirect('flashcards:next')
@login_required
def settings_view(request):
settings = request.user.settings.all()[0]
# 根据有无path来判断是GET还是POST
if not ("path" in request.POST):
return render(request, 'flashcards/settings.html', {'random_example': settings.random_example})
# if not (bool(request.GET) and bool(request.POST)):
# return render(request, 'flashcards/settings.html', {'random_example': settings.random_example})
if request.POST:
if "random_example" in request.POST and request.POST['random_example'] == 'on':
settings.random_example = True
# 将其存入内存
cache.set('random_example', True, timeout=600)
settings.save()
else:
settings.random_example = False
cache.set('random_example', False, timeout=600)
settings.save()
if request.POST['path'] == "/flashcards/settings/":
# 防止多次跳转出错
return render(request, 'flashcards/settings.html', {'random_example': settings.random_example})
return redirect(request.POST['path'])
@login_required
@require_POST
def dict_query(request):
re_filter = re.findall(r"[a-zA-Z]+", request.POST.get('query_word'))
if len(re_filter) == 0:
return JsonResponse({"query_word": request.POST.get('query_word'), 'html_result': 'No Match!'})
query_word = re_filter[0]
# print(query_word)
# 备选列表
query_list = [query_word, query_word.lower(), query_word[0:-1], query_word[0:-2], query_word[0:-3]]
for query_list_word in query_list:
query_result = Dict.objects.filter(headword__startswith=query_list_word)
if len(query_result) != 0:
# 查询缓存中的COCA
rank = cache.get('coca', default=-1).get(query_result[0].headword, -1)
return JsonResponse(
{"query_word": query_result[0].headword, 'html_result': query_result[0].item, 'rank': rank})
return JsonResponse({"query_word": query_word, 'html_result': 'No Result!'})
# get方式的字典请求
def dict_query_get(request, query_word):
re_filter = re.findall(r"[a-zA-Z]+", query_word)
if len(re_filter) == 0:
return JsonResponse({"query_word": request.POST.get('query_word'), 'html_result': 'No Match!'})
query_word = re_filter[0]
# print(query_word)
# 备选列表
query_list = [query_word, query_word.lower(), query_word[0:-1], query_word[0:-2], query_word[0:-3]]
for query_list_word in query_list:
query_result = Dict.objects.filter(headword__startswith=query_list_word)
if len(query_result) != 0:
return JsonResponse({"query_word": query_list_word, 'html_result': query_result[0].item})
return JsonResponse({"query_word": query_word, 'html_result': 'No Result!'})
@require_POST
def get_example(request):
re_filter = re.findall(r"[a-zA-Z]+", request.POST.get('query_word'))
if len(re_filter) == 0:
return JsonResponse({"query_word": request.POST.get('query_word'), 'html_result': 'No Match!'})
query_word = re_filter[0]
# print(query_word)
# 备选列表
query_list = [query_word, query_word.lower(), query_word[0:-1], query_word[0:-2], query_word[0:-3]]
for query_list_word in query_list:
query_result = Dict.objects.filter(headword__startswith=query_list_word)
if len(query_result) != 0:
result = find_example_from_database(query_list_word)
return JsonResponse({"example": json.dumps(list(zip(result[0], result[1]))),
"meanings": json.dumps(result[2])
})
return JsonResponse({"example": json.dumps([[], []])})
@require_POST
def export_card_as_txt(request):
settings = request.user.settings.all()[0]
num = int(request.POST["num"])
cards = Card.objects.all()[len(Card.objects.all()) - num:]
try:
with open("export.txt", 'w', encoding="utf-8") as f:
for card in cards:
card.answer = card.answer.replace('\n', '<br>')
f.write(
f"{card.group}\t{card.question}\t{card.answer}\t{card.example}\t{card.translation}\t{card.extra}\n")
messages.success(request, f'导出成功,共导出{len(cards)}张卡片')
return FileResponse(open('export.txt', 'rb'), as_attachment=True)
except Exception as e:
messages.error(request, '导出失败')
return redirect('flashcards:settings_view')
def export_db(request):
return FileResponse(open('db.sqlite3', 'rb'), as_attachment=True)
| [
1,
1053,
16250,
30004,
13,
5215,
4390,
30004,
13,
5215,
4036,
30004,
13,
5215,
337,
30004,
13,
3166,
12865,
1053,
5335,
287,
2554,
29892,
12865,
30004,
13,
30004,
13,
3166,
9557,
29889,
21570,
1053,
7191,
30004,
13,
3166,
9557,
29889,
21570,
29889,
5150,
29889,
19557,
4097,
1053,
6464,
29918,
12403,
30004,
13,
3166,
9557,
29889,
3221,
29889,
8173,
1053,
7090,
30004,
13,
3166,
9557,
29889,
2585,
29889,
9794,
1053,
660,
30004,
13,
3166,
9557,
29889,
1124,
1053,
14355,
5103,
29892,
3497,
5103,
30004,
13,
3166,
9557,
29889,
12759,
7582,
29879,
1053,
4050,
29892,
679,
29918,
3318,
29918,
272,
29918,
29946,
29900,
29946,
29892,
6684,
30004,
13,
3166,
9557,
29889,
13239,
1053,
29431,
30004,
13,
3166,
9557,
29889,
7406,
29889,
19557,
4097,
29889,
1124,
1053,
1996,
29918,
5438,
30004,
13,
3166,
4055,
5559,
29889,
9794,
1053,
10522,
30004,
13,
30004,
13,
3166,
11013,
28160,
29889,
13239,
1053,
1284,
29918,
4773,
29918,
3166,
29918,
9803,
30004,
13,
3166,
869,
7283,
609,
370,
1053,
2767,
29918,
29123,
29918,
1761,
30004,
13,
3166,
869,
9514,
1053,
334,
30004,
13,
3166,
869,
9794,
1053,
334,
30004,
13,
3166,
869,
13239,
1053,
304,
29918,
305,
8233,
30004,
13,
3166,
869,
2676,
29918,
1972,
1053,
1284,
29918,
19274,
4735,
30004,
13,
30004,
13,
30004,
13,
29937,
29871,
232,
147,
178,
30846,
30594,
233,
140,
170,
30448,
30210,
31629,
30354,
30004,
13,
1753,
373,
2962,
7295,
30004,
13,
1678,
274,
6400,
353,
6571,
30004,
13,
1678,
396,
29871,
30998,
29883,
6400,
30946,
30752,
30728,
30946,
30275,
30004,
13,
1678,
411,
1722,
877,
28041,
28160,
29914,
7959,
29914,
8977,
29914,
29883,
6400,
29889,
3945,
742,
525,
29878,
742,
8025,
2433,
9420,
29899,
29947,
1495,
408,
285,
29901,
30004,
13,
4706,
274,
6400,
353,
4390,
29889,
18132,
29898,
29888,
29889,
949,
3101,
30004,
13,
1678,
7090,
29889,
842,
877,
29883,
6400,
742,
274,
6400,
29892,
11815,
29922,
8516,
8443,
13,
30004,
13,
30004,
13,
265,
2962,
26471,
13,
30004,
13,
30004,
13,
29937,
29871,
31688,
31610,
30004,
13,
29992,
7507,
29918,
12403,
30004,
13,
1753,
2380,
29898,
3827,
1125,
30004,
13,
1678,
5881,
29918,
1949,
353,
9160,
29889,
12650,
29889,
2798,
26471,
13,
1678,
396,
29871,
31024,
30683,
30948,
30658,
30406,
31229,
30210,
31166,
235,
178,
144,
31025,
30746,
30004,
13,
1678,
1734,
21513,
353,
2009,
29889,
1792,
29889,
20348,
29889,
497,
26471,
13,
1678,
396,
29871,
31024,
30683,
31138,
31475,
31425,
30408,
30210,
235,
134,
143,
235,
178,
184,
30354,
30763,
30004,
13,
1678,
1286,
353,
29431,
29889,
3707,
26471,
13,
1678,
396,
29871,
31425,
30408,
30658,
30732,
30573,
31026,
31020,
30594,
31016,
30004,
13,
1678,
1369,
353,
1286,
448,
5335,
287,
2554,
29898,
16700,
29922,
29955,
29892,
6199,
29922,
3707,
29889,
18721,
29892,
6233,
29922,
3707,
29889,
1195,
1082,
29892,
6923,
29922,
3707,
29889,
7496,
8443,
13,
1678,
396,
29871,
233,
140,
193,
30780,
31138,
31475,
31425,
30408,
30210,
235,
134,
143,
235,
178,
184,
30354,
30763,
30004,
13,
1678,
1162,
1573,
532,
353,
3599,
1573,
532,
29889,
12650,
29889,
4572,
29898,
1256,
1649,
4141,
29922,
2962,
8443,
13,
1678,
7115,
29918,
2798,
29918,
1609,
29918,
3250,
353,
5159,
30004,
13,
1678,
363,
474,
297,
3464,
29898,
29896,
29892,
29871,
29947,
1125,
30004,
13,
4706,
599,
29918,
1272,
353,
1162,
1573,
532,
29889,
4572,
29898,
1256,
1649,
4141,
29922,
2962,
718,
5335,
287,
2554,
29898,
16700,
29922,
29875,
511,
2635,
1649,
1896,
29922,
2962,
718,
5335,
287,
2554,
29898,
16700,
29922,
29875,
718,
29871,
29896,
876,
30004,
13,
4706,
6795,
353,
16250,
29889,
17779,
4197,
1272,
29889,
10003,
363,
848,
297,
599,
29918,
1272,
2314,
30004,
13,
4706,
7115,
29918,
2798,
29918,
1609,
29918,
3250,
29889,
4397,
4197,
11808,
29961,
29896,
1402,
6795,
29961,
29906,
1402,
6795,
29961,
29941,
1402,
6795,
29961,
29946,
24960,
30004,
13,
1678,
7115,
29918,
2798,
29918,
1609,
29918,
10003,
353,
5159,
30004,
13,
1678,
363,
474,
297,
3464,
29898,
29900,
29892,
29871,
29946,
1125,
30004,
13,
4706,
7115,
29918,
2798,
29918,
1609,
29918,
10003,
29889,
4397,
4197,
10003,
29918,
3250,
29961,
29875,
29962,
363,
7115,
29918,
3250,
297,
7115,
29918,
2798,
29918,
1609,
29918,
3250,
2314,
30004,
13,
1678,
396,
29871,
231,
190,
136,
31086,
30742,
30417,
31166,
235,
178,
144,
30210,
4039,
30004,
13,
1678,
8282,
353,
4175,
29898,
2892,
4055,
29901,
7431,
29898,
13200,
29889,
12650,
29889,
4572,
29898,
11338,
1649,
262,
11759,
4039,
2314,
511,
10522,
29889,
12650,
29889,
497,
3101,
30004,
13,
1678,
736,
4050,
29898,
3827,
29892,
525,
28041,
28160,
29914,
804,
29875,
29889,
1420,
23592,
13,
462,
29871,
11117,
2435,
2396,
5881,
29918,
1949,
11167,
13,
462,
259,
525,
2435,
1761,
2396,
7431,
29898,
1742,
21513,
511,
30004,
13,
462,
259,
525,
1742,
21513,
2396,
1734,
21513,
11167,
13,
462,
259,
525,
11338,
2396,
8282,
11167,
13,
462,
259,
525,
3757,
1573,
532,
2396,
7115,
29918,
2798,
29918,
1609,
29918,
10003,
11167,
13,
462,
259,
5615,
30004,
13,
30004,
13,
30004,
13,
29937,
29871,
31166,
31328,
232,
144,
164,
31122,
233,
184,
146,
235,
170,
139,
30004,
13,
1753,
5881,
29918,
16432,
1493,
29898,
3827,
29892,
5881,
29918,
333,
1125,
30004,
13,
1678,
396,
29871,
31594,
234,
191,
150,
30946,
30275,
31024,
30683,
30948,
30658,
30872,
30669,
30214,
31653,
31352,
31403,
31594,
30354,
30763,
31700,
235,
178,
190,
30683,
31666,
30946,
30752,
234,
191,
150,
30946,
30004,
13,
1678,
4036,
29918,
4773,
353,
2009,
29889,
1792,
29889,
11027,
29889,
497,
580,
29961,
29900,
29962,
565,
7090,
29889,
657,
877,
8172,
29918,
4773,
1495,
338,
6213,
1683,
7090,
29889,
657,
29898,
30004,
13,
4706,
525,
8172,
29918,
4773,
1495,
30004,
13,
30004,
13,
1678,
396,
29871,
31024,
30683,
7543,
31195,
31507,
30004,
13,
1678,
5881,
353,
679,
29918,
3318,
29918,
272,
29918,
29946,
29900,
29946,
29898,
13200,
29892,
1178,
29922,
7543,
29918,
333,
8443,
13,
1678,
396,
29871,
31653,
30948,
30658,
30872,
30669,
30573,
236,
157,
146,
31429,
31507,
232,
146,
168,
231,
187,
151,
30392,
31751,
232,
144,
164,
31122,
31360,
30909,
235,
178,
144,
233,
180,
138,
30748,
31263,
30004,
13,
1678,
565,
2009,
29889,
1792,
29889,
11027,
29889,
497,
580,
29961,
29900,
1822,
8172,
29918,
4773,
322,
5881,
29889,
2972,
29961,
29900,
29901,
29906,
29962,
1275,
376,
235,
178,
144,
233,
180,
138,
1115,
30004,
13,
4706,
1121,
353,
1284,
29918,
4773,
29918,
3166,
29918,
9803,
29898,
7543,
29889,
12470,
8443,
13,
4706,
396,
29871,
30417,
30682,
30815,
31213,
30413,
30780,
30004,
13,
4706,
565,
7431,
29898,
2914,
29961,
29900,
2314,
1405,
29871,
29900,
29901,
30004,
13,
9651,
20088,
29918,
2248,
353,
4036,
29889,
9502,
524,
29898,
29900,
29892,
7431,
29898,
2914,
29961,
29900,
2314,
448,
29871,
29896,
8443,
13,
9651,
5881,
29889,
4773,
353,
1121,
29961,
29900,
3816,
9502,
29918,
2248,
29962,
30004,
13,
9651,
5881,
29889,
3286,
18411,
353,
1121,
29961,
29896,
3816,
9502,
29918,
2248,
29962,
30004,
13,
1678,
396,
29871,
30998,
31507,
232,
146,
168,
30275,
30210,
31389,
235,
178,
144,
31062,
31869,
30004,
13,
1678,
565,
7431,
29898,
276,
29889,
2886,
497,
29898,
29878,
29908,
29961,
29874,
29899,
25265,
29899,
29999,
10062,
613,
5881,
29889,
12470,
876,
1405,
29871,
29900,
29901,
30004,
13,
4706,
337,
552,
353,
337,
29889,
2886,
497,
29898,
29878,
29908,
29961,
29874,
29899,
25265,
29899,
29999,
10062,
613,
5881,
29889,
12470,
9601,
29900,
29962,
30004,
13,
4706,
5881,
29889,
4773,
353,
5881,
29889,
4773,
29889,
6506,
29898,
276,
552,
29892,
9872,
9653,
1178,
2433,
1127,
29915,
5299,
29890,
11903,
718,
337,
552,
718,
25225,
29890,
2565,
9653,
29958,
1159,
30004,
13,
1678,
736,
4050,
29898,
3827,
11167,
13,
462,
29871,
525,
28041,
28160,
29914,
7543,
29918,
16432,
29889,
1420,
23592,
13,
462,
29871,
11117,
3318,
2396,
5881,
11167,
13,
462,
259,
525,
11338,
2396,
5881,
29889,
11338,
29889,
497,
3285,
30004,
13,
462,
259,
525,
8172,
29918,
4773,
2396,
4036,
29918,
4773,
30004,
13,
462,
259,
5615,
30004,
13,
30004,
13,
30004,
13,
29937,
29871,
30557,
30287,
31328,
232,
144,
164,
31122,
30004,
13,
29992,
7507,
29918,
12403,
30004,
13,
1753,
2446,
7543,
1493,
29898,
3827,
1125,
30004,
13,
1678,
396,
29871,
30417,
232,
193,
136,
31264,
31174,
30214,
236,
157,
146,
31429,
232,
144,
164,
31122,
31904,
30732,
30802,
30748,
235,
131,
154,
30594,
30004,
13,
1678,
5881,
353,
9160,
29889,
12650,
29889,
497,
580,
29961,
8172,
29889,
9502,
3881,
29898,
29896,
29892,
9160,
29889,
12650,
29889,
2798,
3285,
29871,
29896,
4638,
30004,
13,
1678,
736,
6684,
29898,
7543,
29889,
657,
29918,
23552,
29918,
2271,
3101,
30004,
13,
30004,
13,
30004,
13,
29937,
29871,
235,
134,
143,
235,
178,
184,
30004,
13,
29992,
7507,
29918,
12403,
30004,
13,
1753,
5881,
276,
2036,
1493,
29898,
3827,
29892,
5881,
29918,
333,
29892,
7115,
1125,
30004,
13,
1678,
396,
29871,
31024,
30683,
7543,
31195,
31507,
30004,
13,
1678,
5881,
353,
679,
29918,
3318,
29918,
272,
29918,
29946,
29900,
29946,
29898,
13200,
29892,
1178,
29922,
7543,
29918,
333,
8443,
13,
1678,
396,
29871,
31441,
30886,
31410,
232,
194,
137,
30354,
30763,
31666,
30982,
30946,
30004,
13,
1678,
1162,
1573,
532,
353,
3599,
1573,
532,
29898,
10003,
29922,
10003,
29892,
5881,
29922,
7543,
8443,
13,
1678,
1162,
1573,
532,
29889,
7620,
26471,
13,
1678,
396,
29871,
30486,
30494,
236,
157,
146,
31429,
30354,
31666,
235,
186,
182,
31415,
235,
138,
182,
30557,
30287,
232,
144,
164,
31122,
30004,
13,
1678,
5881,
353,
9160,
29889,
12650,
29889,
497,
580,
29961,
8172,
29889,
9502,
3881,
29898,
29896,
29892,
9160,
29889,
12650,
29889,
2798,
3285,
29871,
29896,
4638,
30004,
13,
1678,
736,
6684,
29898,
7543,
29889,
657,
29918,
23552,
29918,
2271,
3101,
30004,
13,
30004,
13,
30004,
13,
29937,
29871,
31599,
30858,
235,
134,
143,
235,
178,
184,
30354,
30763,
30004,
13,
29992,
7507,
29918,
12403,
30004,
13,
1753,
1162,
1573,
271,
328,
275,
1456,
29898,
3827,
1125,
30004,
13,
1678,
396,
29871,
31590,
10003,
233,
145,
149,
31463,
30214,
30822,
234,
190,
176,
31264,
31174,
30004,
13,
1678,
1162,
1573,
532,
353,
3599,
1573,
532,
29889,
12650,
29889,
2098,
29918,
1609,
703,
10003,
1159,
30004,
13,
1678,
396,
29871,
30785,
30406,
842,
30651,
236,
155,
181,
31981,
7543,
30908,
31810,
30004,
13,
1678,
15889,
353,
731,
4197,
1272,
29889,
7543,
363,
848,
297,
1162,
1573,
532,
2314,
30004,
13,
1678,
6155,
353,
518,
10998,
7543,
2396,
5881,
29892,
525,
3757,
1573,
532,
2396,
5881,
29889,
3757,
1573,
532,
29889,
497,
28296,
363,
5881,
297,
15889,
29962,
30004,
13,
1678,
736,
4050,
29898,
3827,
11167,
13,
462,
29871,
525,
28041,
28160,
29914,
3757,
1573,
532,
29889,
1420,
23592,
13,
462,
29871,
11117,
14538,
2396,
6155,
8117,
13,
462,
29871,
1723,
30004,
13,
30004,
13,
30004,
13,
29937,
29871,
31166,
31328,
232,
144,
164,
31122,
235,
134,
143,
235,
178,
184,
30354,
30763,
30004,
13,
1753,
5881,
29918,
3757,
1573,
532,
29918,
1493,
29898,
3827,
29892,
5881,
29918,
333,
1125,
30004,
13,
1678,
5881,
353,
679,
29918,
3318,
29918,
272,
29918,
29946,
29900,
29946,
29898,
13200,
29892,
1178,
29922,
7543,
29918,
333,
8443,
13,
1678,
599,
29918,
3757,
1573,
532,
353,
5881,
29889,
3757,
1573,
532,
29889,
497,
26471,
13,
1678,
736,
4050,
29898,
3827,
11167,
13,
462,
29871,
525,
28041,
28160,
29914,
7543,
29918,
3757,
1573,
532,
29918,
16432,
29889,
1420,
23592,
13,
462,
29871,
11117,
497,
29918,
3757,
1573,
532,
2396,
599,
29918,
3757,
1573,
532,
30004,
13,
462,
259,
5615,
30004,
13,
30004,
13,
30004,
13,
29937,
29871,
31273,
31264,
30780,
31389,
30004,
13,
29992,
7507,
29918,
12403,
30004,
13,
1753,
2740,
29898,
3827,
1125,
30004,
13,
1678,
15889,
353,
5159,
30004,
13,
1678,
14965,
353,
8853,
1972,
1115,
6629,
8117,
13,
1678,
883,
353,
11856,
2500,
29898,
3827,
29889,
7194,
8443,
13,
1678,
565,
883,
29889,
275,
29918,
3084,
7295,
30004,
13,
4706,
14965,
353,
883,
29889,
14941,
287,
29918,
1272,
30004,
13,
4706,
565,
14965,
1839,
1972,
2033,
29961,
29900,
29901,
29906,
29962,
1275,
525,
29911,
29901,
2396,
30004,
13,
9651,
4055,
353,
679,
29918,
3318,
29918,
272,
29918,
29946,
29900,
29946,
29898,
8176,
29892,
2243,
688,
29922,
2252,
1839,
1972,
2033,
29961,
29906,
29901,
2314,
30004,
13,
9651,
15889,
353,
9160,
29889,
12650,
29889,
4572,
29898,
11338,
1649,
262,
11759,
4039,
2314,
30004,
13,
4706,
25342,
14965,
1839,
1972,
2033,
29961,
29900,
29901,
29906,
29962,
1275,
525,
29954,
29901,
2396,
30004,
13,
9651,
15889,
353,
9160,
29889,
12650,
29889,
4572,
29898,
2972,
1649,
27382,
2541,
29922,
2252,
1839,
1972,
2033,
29961,
29906,
29901,
2314,
30004,
13,
4706,
1683,
29901,
30004,
13,
9651,
15889,
353,
9160,
29889,
12650,
29889,
4572,
29898,
30004,
13,
18884,
660,
29898,
12470,
1649,
293,
609,
2708,
29922,
2252,
1839,
1972,
11287,
891,
660,
29898,
4773,
1649,
293,
609,
2708,
29922,
2252,
1839,
1972,
25901,
30004,
13,
9651,
396,
29871,
30998,
233,
147,
159,
31836,
30578,
31559,
233,
158,
194,
31640,
30573,
31869,
31085,
30004,
13,
9651,
363,
5881,
297,
15889,
29901,
30004,
13,
18884,
5881,
29889,
12470,
353,
5881,
29889,
12470,
29889,
6506,
29898,
2252,
1839,
1972,
7464,
9872,
9653,
1178,
2433,
1127,
29915,
5299,
29890,
11903,
718,
14965,
1839,
1972,
2033,
718,
25225,
29890,
2565,
9653,
29958,
1159,
30004,
13,
18884,
5881,
29889,
4773,
353,
5881,
29889,
4773,
29889,
6506,
29898,
2252,
1839,
1972,
7464,
9872,
9653,
1178,
2433,
1127,
29915,
5299,
29890,
11903,
718,
14965,
1839,
1972,
2033,
718,
25225,
29890,
2565,
9653,
29958,
1159,
30004,
13,
30004,
13,
1678,
565,
14965,
1839,
1972,
2033,
1275,
525,
2396,
30004,
13,
4706,
883,
353,
11856,
2500,
26471,
13,
1678,
736,
4050,
29898,
3827,
29892,
525,
28041,
28160,
29914,
4478,
29889,
1420,
742,
11117,
28160,
2396,
15889,
29892,
525,
4478,
1767,
2396,
14965,
1839,
1972,
7464,
525,
689,
2396,
883,
1800,
30004,
13,
30004,
13,
30004,
13,
29937,
29871,
233,
149,
167,
30742,
30383,
31916,
31152,
235,
134,
143,
235,
178,
184,
31410,
31283,
30004,
13,
29992,
7507,
29918,
12403,
30004,
13,
1753,
563,
29877,
29898,
3827,
29892,
5881,
29918,
333,
1125,
30004,
13,
1678,
396,
29871,
31383,
30698,
233,
149,
167,
30742,
30210,
232,
144,
164,
31122,
30503,
31383,
30698,
31916,
31152,
235,
134,
143,
235,
178,
184,
31410,
31283,
30210,
232,
144,
164,
30392,
30287,
31328,
232,
144,
164,
30004,
13,
1678,
5881,
353,
679,
29918,
3318,
29918,
272,
29918,
29946,
29900,
29946,
29898,
13200,
29892,
1178,
29922,
7543,
29918,
333,
8443,
13,
1678,
5881,
29889,
3757,
1573,
532,
29889,
12333,
877,
1256,
2824,
8143,
26471,
13,
1678,
736,
6684,
29898,
7543,
29889,
657,
29918,
23552,
29918,
2271,
3101,
30004,
13,
30004,
13,
30004,
13,
29937,
29871,
31025,
30746,
30210,
233,
149,
167,
30742,
30383,
31916,
31152,
235,
134,
143,
235,
178,
184,
31410,
31283,
30004,
13,
29992,
7507,
29918,
12403,
30004,
13,
1753,
563,
29877,
29918,
1761,
29898,
3827,
29892,
1051,
29918,
333,
29892,
6728,
1125,
30004,
13,
1678,
1734,
1761,
353,
679,
29918,
3318,
29918,
272,
29918,
29946,
29900,
29946,
29898,
14463,
1293,
29892,
1178,
29922,
1761,
29918,
333,
8443,
13,
1678,
1178,
29918,
1761,
353,
1051,
29898,
1958,
29898,
2892,
12124,
29901,
12124,
1839,
333,
7464,
4390,
29889,
18132,
29898,
1742,
1761,
29889,
1742,
1761,
4961,
30004,
13,
1678,
5881,
29918,
333,
353,
1178,
29918,
1761,
29961,
18035,
448,
29871,
29896,
29962,
30004,
13,
1678,
396,
29871,
31383,
30698,
233,
149,
167,
30742,
30780,
30210,
232,
144,
164,
31122,
30503,
31383,
30698,
31916,
31152,
235,
134,
143,
235,
178,
184,
31410,
31283,
30210,
232,
144,
164,
30392,
30287,
31328,
232,
144,
164,
30004,
13,
1678,
5881,
353,
9160,
29889,
12650,
29889,
4572,
29898,
333,
29922,
7543,
29918,
333,
8443,
13,
1678,
9281,
29918,
3757,
1573,
532,
353,
5881,
29961,
29900,
1822,
3757,
1573,
532,
29889,
12333,
877,
1256,
1495,
30004,
13,
1678,
1162,
1573,
532,
29918,
7529,
353,
4390,
29889,
18132,
29898,
12333,
29918,
3757,
1573,
532,
29889,
7529,
8443,
13,
1678,
5881,
29889,
29123,
353,
12865,
29889,
710,
415,
603,
29898,
3757,
1573,
532,
29918,
7529,
1839,
29123,
7464,
11860,
29979,
19222,
29885,
19222,
29881,
1273,
29950,
16664,
29924,
16664,
29903,
29889,
29995,
29888,
1159,
30004,
13,
1678,
5881,
29889,
27828,
29918,
1949,
353,
1162,
1573,
532,
29918,
7529,
1839,
27828,
29918,
1949,
2033,
30004,
13,
1678,
5881,
29889,
1454,
657,
29918,
1949,
353,
1162,
1573,
532,
29918,
7529,
1839,
1454,
657,
29918,
1949,
2033,
30004,
13,
1678,
5881,
29889,
3605,
601,
353,
1162,
1573,
532,
29918,
7529,
1839,
3605,
601,
2033,
30004,
13,
1678,
5881,
29889,
19207,
353,
1162,
1573,
532,
29918,
7529,
1839,
19207,
2033,
30004,
13,
1678,
5881,
29889,
7620,
26471,
13,
1678,
9281,
29918,
3757,
1573,
532,
29889,
8143,
26471,
13,
1678,
396,
29871,
31273,
31264,
31174,
30898,
30004,
13,
1678,
736,
6684,
877,
28041,
28160,
29901,
276,
2036,
29918,
1742,
1761,
742,
1051,
29918,
333,
29892,
6728,
448,
29871,
29896,
29892,
29871,
29900,
8443,
13,
30004,
13,
30004,
13,
29937,
29871,
31222,
234,
190,
159,
233,
147,
159,
31836,
30004,
13,
29992,
7507,
29918,
12403,
30004,
13,
1753,
1856,
4478,
29898,
3827,
1125,
30004,
13,
1678,
14965,
353,
8853,
1972,
1115,
6629,
8117,
13,
1678,
883,
353,
11856,
2500,
29898,
3827,
29889,
7194,
8443,
13,
1678,
565,
883,
29889,
275,
29918,
3084,
7295,
30004,
13,
4706,
14965,
353,
883,
29889,
14941,
287,
29918,
1272,
30004,
13,
4706,
3838,
353,
1284,
29918,
19274,
4735,
29898,
2252,
1839,
1972,
2033,
8443,
13,
1678,
1683,
29901,
30004,
13,
4706,
883,
353,
11856,
2500,
26471,
13,
4706,
3838,
353,
5159,
30004,
13,
1678,
736,
4050,
29898,
3827,
29892,
525,
28041,
28160,
29914,
2676,
1972,
29889,
1420,
23592,
13,
462,
29871,
8853,
9303,
1115,
3838,
29892,
525,
4478,
1767,
2396,
14965,
1839,
1972,
7464,
525,
689,
2396,
883,
1118,
1723,
30004,
13,
30004,
13,
30004,
13,
29992,
7507,
29918,
12403,
30004,
13,
1753,
9657,
29918,
4478,
29898,
3827,
1125,
30004,
13,
1678,
14965,
353,
8853,
1972,
1115,
6629,
8117,
13,
1678,
883,
353,
11856,
2500,
29898,
3827,
29889,
7194,
8443,
13,
1678,
565,
883,
29889,
275,
29918,
3084,
7295,
30004,
13,
4706,
14965,
353,
883,
29889,
14941,
287,
29918,
1272,
30004,
13,
4706,
396,
29871,
31213,
235,
178,
144,
30214,
31086,
30742,
31166,
235,
178,
144,
30503,
1420,
30333,
30631,
30004,
13,
4706,
3472,
29918,
2914,
353,
6629,
30004,
13,
4706,
2346,
1742,
353,
14965,
1839,
1972,
2033,
30004,
13,
4706,
9657,
29918,
1972,
353,
360,
919,
29889,
12650,
29889,
4572,
29898,
2813,
1742,
29922,
1972,
1742,
8443,
13,
4706,
565,
7431,
29898,
8977,
29918,
1972,
29897,
1275,
29871,
29900,
29901,
30004,
13,
9651,
9657,
29918,
1972,
353,
360,
919,
29889,
12650,
29889,
4572,
29898,
2813,
1742,
29922,
1972,
1742,
29889,
13609,
3101,
30004,
13,
9651,
565,
7431,
29898,
8977,
29918,
1972,
29897,
1275,
29871,
29900,
29901,
30004,
13,
18884,
3472,
29918,
2914,
353,
525,
3782,
14514,
20714,
30004,
13,
4706,
3472,
29918,
2914,
353,
9657,
29918,
1972,
29961,
29900,
1822,
667,
30004,
13,
1678,
1683,
29901,
30004,
13,
4706,
883,
353,
11856,
2500,
26471,
13,
4706,
3472,
29918,
2914,
353,
6629,
30004,
13,
30004,
13,
1678,
736,
4050,
29898,
3827,
29892,
525,
28041,
28160,
29914,
8977,
29889,
1420,
23592,
13,
462,
29871,
11117,
1420,
29918,
2914,
2396,
3472,
29918,
2914,
29892,
525,
689,
2396,
883,
29892,
525,
4478,
1767,
2396,
14965,
1839,
1972,
7464,
30004,
13,
462,
259,
5615,
30004,
13,
30004,
13,
30004,
13,
29992,
7507,
29918,
12403,
30004,
13,
1753,
1653,
29918,
1742,
1761,
29918,
1609,
29918,
12765,
29898,
3827,
1125,
30004,
13,
1678,
14965,
353,
8853,
1972,
1115,
525,
1761,
29915,
8117,
13,
1678,
883,
353,
11856,
2500,
29898,
3827,
29889,
7194,
8443,
13,
1678,
565,
883,
29889,
275,
29918,
3084,
7295,
30004,
13,
4706,
14965,
353,
883,
29889,
14941,
287,
29918,
1272,
30004,
13,
1678,
396,
29871,
233,
140,
193,
30780,
30878,
31830,
30210,
30457,
30502,
31810,
231,
188,
163,
1272,
31666,
234,
183,
178,
31466,
30214,
30486,
30494,
30287,
30502,
30578,
31259,
30004,
13,
1678,
7115,
29918,
2083,
29918,
8977,
353,
2910,
29898,
2892,
5881,
29901,
11117,
333,
2396,
5881,
29889,
333,
29892,
525,
10003,
29918,
2083,
2396,
2533,
29898,
30004,
13,
4706,
12705,
4197,
4789,
1573,
532,
29889,
10003,
363,
3599,
1573,
532,
297,
5881,
29889,
3757,
1573,
532,
29889,
2098,
29918,
1609,
877,
29899,
1256,
1495,
1402,
11837,
29922,
5574,
9601,
29900,
29901,
29941,
2314,
30004,
13,
1678,
565,
7431,
29898,
7543,
29889,
3757,
1573,
532,
29889,
497,
3101,
1405,
29871,
29906,
30004,
13,
1678,
1683,
2533,
4197,
4789,
1573,
532,
29889,
10003,
363,
3599,
1573,
532,
297,
5881,
29889,
3757,
1573,
532,
29889,
2098,
29918,
1609,
877,
29899,
1256,
1495,
2314,
8117,
13,
462,
4706,
1919,
9160,
29889,
12650,
29889,
497,
3101,
30004,
13,
1678,
396,
29871,
31590,
10003,
233,
145,
149,
31463,
30214,
30683,
30658,
30904,
30802,
30502,
30959,
30004,
13,
1678,
396,
29871,
30413,
31043,
30397,
30573,
231,
190,
131,
31882,
333,
31025,
30746,
233,
131,
190,
30573,
30816,
30004,
13,
1678,
396,
1178,
29918,
1761,
353,
518,
27774,
1839,
333,
2033,
363,
12124,
297,
12705,
29898,
1761,
29898,
10003,
29918,
2083,
29918,
8977,
511,
1820,
29922,
2892,
12124,
29901,
12124,
1839,
10003,
29918,
2083,
7464,
11837,
29922,
5574,
9601,
29900,
29901,
29945,
29900,
5262,
30004,
13,
1678,
396,
1178,
29918,
1761,
353,
1051,
29898,
30004,
13,
1678,
396,
268,
2910,
29898,
2892,
12124,
29901,
12124,
1839,
333,
7464,
12705,
29898,
1761,
29898,
10003,
29918,
2083,
29918,
8977,
511,
1820,
29922,
2892,
12124,
29901,
12124,
1839,
10003,
29918,
2083,
7464,
11837,
29922,
5574,
9601,
29900,
29901,
29945,
29900,
12622,
30004,
13,
1678,
396,
1596,
29898,
333,
29918,
1761,
8443,
13,
1678,
2656,
29918,
1761,
353,
12705,
29898,
1761,
29898,
10003,
29918,
2083,
29918,
8977,
511,
1820,
29922,
2892,
12124,
29901,
12124,
1839,
10003,
29918,
2083,
7464,
11837,
29922,
5574,
9601,
29900,
29901,
29945,
29900,
29962,
30004,
13,
1678,
1734,
1761,
353,
10803,
1293,
29898,
20348,
29922,
3827,
29889,
1792,
29892,
1024,
29922,
2252,
1839,
1972,
7464,
1734,
1761,
29922,
3126,
29889,
29881,
17204,
29898,
6605,
29918,
1761,
8443,
13,
462,
4706,
1919,
7431,
29918,
1761,
29922,
2435,
29898,
6605,
29918,
1761,
876,
30004,
13,
1678,
1734,
1761,
29889,
7620,
26471,
13,
1678,
7191,
29889,
8698,
29898,
3827,
29892,
525,
31166,
235,
178,
144,
31025,
30746,
31441,
30886,
30494,
31134,
1495,
30004,
13,
1678,
736,
6684,
877,
28041,
28160,
29901,
14592,
3377,
1495,
30004,
13,
30004,
13,
30004,
13,
29992,
7507,
29918,
12403,
30004,
13,
1753,
1653,
29918,
1742,
1761,
29918,
1609,
29918,
4039,
29898,
3827,
1125,
30004,
13,
1678,
14965,
353,
8853,
1972,
1115,
525,
1761,
742,
376,
4039,
1115,
525,
3502,
287,
29915,
8117,
13,
1678,
883,
353,
11856,
2500,
29898,
3827,
29889,
7194,
8443,
13,
1678,
565,
883,
29889,
275,
29918,
3084,
7295,
30004,
13,
4706,
14965,
353,
883,
29889,
14941,
287,
29918,
1272,
30004,
13,
1678,
4055,
353,
679,
29918,
3318,
29918,
272,
29918,
29946,
29900,
29946,
29898,
8176,
29892,
2243,
688,
29922,
3827,
29889,
7194,
1839,
4039,
2033,
8443,
13,
1678,
15889,
353,
9160,
29889,
12650,
29889,
4572,
29898,
11338,
1649,
262,
11759,
4039,
2314,
30004,
13,
1678,
1178,
29918,
1761,
353,
518,
10998,
333,
2396,
5881,
29889,
333,
29913,
363,
5881,
297,
15889,
29962,
30004,
13,
1678,
1734,
1761,
353,
10803,
1293,
29898,
20348,
29922,
3827,
29889,
1792,
29892,
1024,
29922,
2252,
1839,
1972,
7464,
1734,
1761,
29922,
3126,
29889,
29881,
17204,
29898,
333,
29918,
1761,
8443,
13,
462,
4706,
1919,
7431,
29918,
1761,
29922,
2435,
29898,
333,
29918,
1761,
876,
30004,
13,
1678,
1734,
1761,
29889,
7620,
26471,
13,
1678,
7191,
29889,
8698,
29898,
3827,
29892,
525,
31166,
235,
178,
144,
31025,
30746,
31441,
30886,
30494,
31134,
1495,
30004,
13,
1678,
736,
6684,
877,
28041,
28160,
29901,
14592,
3377,
1495,
30004,
13,
30004,
13,
30004,
13,
29992,
7507,
29918,
12403,
30004,
13,
1753,
1162,
568,
29918,
1742,
1761,
29898,
3827,
29892,
1734,
1761,
29918,
333,
29892,
6728,
29892,
7115,
1125,
30004,
13,
1678,
1734,
1761,
353,
10803,
1293,
29889,
12650,
29889,
4572,
29898,
333,
29922,
1742,
1761,
29918,
333,
9601,
29900,
29962,
30004,
13,
1678,
396,
29871,
31791,
31683,
31088,
31376,
18035,
30503,
30354,
30763,
31700,
18035,
30392,
31191,
30990,
31184,
30214,
31653,
30413,
30980,
30214,
31403,
30998,
30822,
30767,
235,
169,
137,
234,
158,
153,
30419,
30505,
30908,
30374,
31810,
231,
188,
163,
30210,
30594,
31974,
30682,
30815,
30544,
31424,
30210,
31658,
31596,
30409,
30004,
13,
1678,
565,
6728,
1275,
29871,
29900,
322,
1734,
1761,
29889,
18035,
2804,
29871,
29900,
29901,
30004,
13,
4706,
1734,
1761,
29889,
18035,
353,
6728,
30004,
13,
30004,
13,
1678,
396,
4390,
31201,
233,
161,
147,
31166,
235,
178,
144,
31025,
30746,
333,
30004,
13,
1678,
1178,
29918,
1761,
353,
1051,
29898,
1958,
29898,
2892,
12124,
29901,
12124,
1839,
333,
7464,
4390,
29889,
18132,
29898,
1742,
1761,
29889,
1742,
1761,
4961,
30004,
13,
1678,
396,
29871,
31791,
31683,
30392,
232,
139,
157,
31174,
30752,
31994,
30392,
31174,
30752,
30822,
30622,
30287,
30936,
31302,
31398,
232,
144,
164,
31122,
30004,
13,
1678,
396,
29871,
31653,
31302,
31398,
30214,
31403,
31100,
30374,
31174,
30898,
30004,
13,
1678,
396,
29871,
31653,
232,
139,
157,
31174,
30752,
30214,
31403,
30413,
31100,
30374,
31174,
30898,
30004,
13,
30004,
13,
1678,
565,
7115,
1405,
29871,
29900,
29901,
30004,
13,
4706,
396,
29871,
31024,
30683,
30948,
30658,
7543,
31195,
31507,
30004,
13,
4706,
1857,
29918,
7543,
353,
679,
29918,
3318,
29918,
272,
29918,
29946,
29900,
29946,
29898,
13200,
29892,
1178,
29922,
333,
29918,
1761,
29961,
18035,
2314,
30004,
13,
4706,
396,
29871,
31024,
30683,
30948,
30658,
30594,
31016,
30004,
13,
4706,
1857,
29918,
2230,
353,
12865,
29889,
12673,
29889,
3707,
26471,
13,
4706,
396,
29871,
31441,
30886,
31666,
30982,
30946,
31410,
232,
194,
137,
30354,
30763,
30004,
13,
4706,
1162,
1573,
532,
353,
3599,
1573,
532,
29898,
10003,
29922,
10003,
29892,
5881,
29922,
3784,
29918,
7543,
8443,
13,
4706,
1162,
1573,
532,
29889,
7620,
26471,
13,
30004,
13,
4706,
396,
29871,
31466,
31565,
31366,
30494,
30898,
30004,
13,
4706,
1734,
1761,
29889,
18035,
353,
6728,
718,
29871,
29896,
30004,
13,
4706,
19649,
353,
938,
3552,
1742,
1761,
29889,
18035,
847,
1734,
1761,
29889,
2435,
29918,
1761,
29897,
334,
29871,
29896,
29900,
29900,
8443,
13,
4706,
396,
29871,
31100,
30374,
31174,
30898,
30004,
13,
4706,
1734,
1761,
29889,
7620,
26471,
13,
30004,
13,
4706,
396,
29871,
31653,
30573,
29123,
31025,
30746,
31403,
31994,
31383,
30698,
31100,
30374,
29123,
31125,
30354,
30004,
13,
4706,
565,
1734,
1761,
29889,
978,
1275,
525,
29123,
2396,
30004,
13,
9651,
396,
29871,
30998,
31125,
30354,
30982,
30946,
31174,
3757,
1573,
532,
30004,
13,
9651,
1162,
1573,
532,
29918,
7529,
353,
11117,
29123,
2396,
851,
29898,
3784,
29918,
7543,
29889,
29123,
511,
525,
27828,
29918,
1949,
2396,
1857,
29918,
7543,
29889,
27828,
29918,
1949,
11167,
13,
462,
462,
525,
1454,
657,
29918,
1949,
2396,
1857,
29918,
7543,
29889,
1454,
657,
29918,
1949,
11167,
13,
462,
462,
525,
3605,
601,
2396,
1857,
29918,
7543,
29889,
3605,
601,
29892,
525,
19207,
2396,
1857,
29918,
7543,
29889,
19207,
8117,
13,
9651,
1162,
1573,
532,
29889,
7529,
353,
4390,
29889,
29881,
17204,
29898,
3757,
1573,
532,
29918,
7529,
8443,
13,
9651,
1162,
1573,
532,
29889,
7620,
26471,
13,
9651,
565,
7115,
1275,
29871,
29946,
29901,
30004,
13,
18884,
1596,
29898,
30004,
13,
462,
1678,
285,
29908,
29912,
3784,
29918,
7543,
29889,
12470,
6177,
31100,
30374,
30658,
29123,
30573,
29912,
3784,
29918,
7543,
29889,
29123,
29913,
30214,
19207,
30573,
29912,
3784,
29918,
7543,
29889,
19207,
29913,
30214,
234,
177,
131,
233,
155,
150,
30898,
30573,
29912,
3784,
29918,
7543,
29889,
3605,
601,
29913,
30267,
1159,
30004,
13,
18884,
396,
29871,
232,
144,
164,
31122,
31174,
30752,
30908,
30374,
30415,
231,
188,
163,
236,
155,
162,
31025,
30214,
234,
177,
131,
233,
155,
150,
30898,
232,
138,
146,
31022,
29871,
29906,
29900,
29871,
30502,
31047,
30748,
30940,
30004,
13,
18884,
1857,
29918,
7543,
29889,
29123,
353,
1857,
29918,
2230,
30004,
13,
18884,
396,
29871,
31016,
236,
157,
151,
30872,
30669,
30573,
29900,
30214,
30651,
231,
193,
194,
30909,
30467,
30748,
30004,
13,
18884,
1857,
29918,
7543,
29889,
19207,
353,
29871,
29900,
30004,
13,
18884,
396,
29871,
234,
177,
131,
233,
155,
150,
30898,
30878,
231,
192,
145,
30573,
29871,
29896,
29941,
29900,
29995,
30004,
13,
18884,
565,
1857,
29918,
7543,
29889,
3605,
601,
6736,
29871,
29896,
29945,
29900,
29901,
30004,
13,
462,
1678,
1857,
29918,
7543,
29889,
3605,
601,
22361,
29871,
29906,
29900,
30004,
13,
18884,
1596,
29898,
30004,
13,
462,
1678,
285,
29908,
29912,
3784,
29918,
7543,
29889,
12470,
6177,
31100,
30374,
30822,
29123,
30573,
29912,
3784,
29918,
7543,
29889,
29123,
29913,
30214,
19207,
30573,
29912,
3784,
29918,
7543,
29889,
19207,
29913,
30214,
234,
177,
131,
233,
155,
150,
30898,
30573,
29912,
3784,
29918,
7543,
29889,
3605,
601,
29913,
30267,
1159,
30004,
13,
30004,
13,
9651,
25342,
7115,
1275,
29871,
29941,
29901,
30004,
13,
18884,
396,
29871,
232,
144,
164,
31122,
30210,
234,
177,
131,
233,
155,
150,
30898,
232,
138,
146,
31022,
29871,
29896,
29945,
29995,
29871,
30214,
30948,
30658,
30210,
31016,
236,
157,
151,
231,
188,
155,
30651,
29871,
29896,
29889,
29906,
30267,
30004,
13,
18884,
1857,
29918,
7543,
29889,
19207,
353,
938,
29898,
29896,
29889,
29906,
334,
1857,
29918,
7543,
29889,
19207,
8443,
13,
18884,
1857,
29918,
7543,
29889,
29123,
353,
1857,
29918,
2230,
718,
5335,
287,
2554,
29898,
16700,
29922,
3784,
29918,
7543,
29889,
19207,
8443,
13,
18884,
565,
1857,
29918,
7543,
29889,
3605,
601,
6736,
29871,
29896,
29946,
29945,
29901,
30004,
13,
462,
1678,
1857,
29918,
7543,
29889,
3605,
601,
22361,
29871,
29896,
29945,
30004,
13,
18884,
396,
29871,
232,
158,
179,
236,
157,
193,
233,
134,
172,
234,
192,
157,
30214,
236,
155,
181,
31981,
30287,
31157,
31333,
29941,
30503,
29906,
30594,
30210,
31016,
236,
157,
151,
232,
165,
161,
31143,
30004,
13,
18884,
565,
1857,
29918,
7543,
29889,
3605,
601,
5277,
29871,
29896,
29947,
29900,
29901,
30004,
13,
462,
1678,
1857,
29918,
7543,
29889,
19207,
353,
938,
29898,
29900,
29889,
29947,
334,
1857,
29918,
7543,
29889,
19207,
8443,
13,
462,
1678,
1857,
29918,
7543,
29889,
29123,
353,
1857,
29918,
2230,
718,
5335,
287,
2554,
29898,
16700,
29922,
3784,
29918,
7543,
29889,
19207,
8443,
13,
9651,
25342,
7115,
1275,
29871,
29906,
29901,
30004,
13,
18884,
565,
1857,
29918,
7543,
29889,
19207,
1275,
29871,
29900,
29901,
30004,
13,
462,
1678,
1857,
29918,
7543,
29889,
19207,
353,
29871,
29941,
30004,
13,
18884,
396,
29871,
232,
144,
164,
31122,
30210,
234,
177,
131,
233,
155,
150,
30898,
232,
138,
146,
31022,
29871,
29945,
29995,
29871,
30214,
30948,
30658,
30210,
31016,
236,
157,
151,
231,
188,
155,
30651,
29871,
29896,
29889,
29896,
30267,
30004,
13,
18884,
1683,
29901,
30004,
13,
462,
1678,
1857,
29918,
7543,
29889,
19207,
353,
938,
29898,
29896,
29889,
29896,
334,
1857,
29918,
7543,
29889,
19207,
8443,
13,
18884,
1857,
29918,
7543,
29889,
29123,
353,
1857,
29918,
2230,
718,
5335,
287,
2554,
29898,
16700,
29922,
3784,
29918,
7543,
29889,
19207,
8443,
13,
18884,
565,
1857,
29918,
7543,
29889,
3605,
601,
6736,
29871,
29896,
29941,
29945,
29901,
30004,
13,
462,
1678,
1857,
29918,
7543,
29889,
3605,
601,
22361,
29871,
29945,
30004,
13,
9651,
25342,
7115,
1275,
29871,
29896,
29901,
30004,
13,
18884,
1596,
29898,
30004,
13,
462,
1678,
285,
29908,
29912,
3784,
29918,
7543,
29889,
12470,
6177,
31100,
30374,
30658,
29123,
30573,
29912,
3784,
29918,
7543,
29889,
29123,
29913,
30214,
19207,
30573,
29912,
3784,
29918,
7543,
29889,
19207,
29913,
30214,
234,
177,
131,
233,
155,
150,
30898,
30573,
29912,
3784,
29918,
7543,
29889,
3605,
601,
29913,
30267,
1159,
30004,
13,
18884,
565,
1857,
29918,
7543,
29889,
19207,
1275,
29871,
29900,
29901,
30004,
13,
462,
1678,
1857,
29918,
7543,
29889,
19207,
353,
29871,
29946,
30004,
13,
18884,
396,
29871,
30948,
30658,
31016,
236,
157,
151,
231,
188,
155,
30651,
30948,
30658,
234,
177,
131,
233,
155,
150,
30898,
31733,
231,
188,
155,
30651,
234,
177,
131,
31166,
232,
168,
153,
232,
141,
180,
30214,
234,
177,
131,
233,
155,
150,
30898,
232,
165,
161,
30666,
29871,
29896,
29945,
29871,
30502,
31047,
30748,
30940,
30267,
30004,
13,
18884,
1683,
29901,
30004,
13,
462,
1678,
1857,
29918,
7543,
29889,
19207,
353,
938,
29898,
29900,
29889,
29900,
29896,
334,
1857,
29918,
7543,
29889,
19207,
334,
1857,
29918,
7543,
29889,
3605,
601,
8443,
13,
18884,
1857,
29918,
7543,
29889,
29123,
353,
1857,
29918,
2230,
718,
5335,
287,
2554,
29898,
16700,
29922,
3784,
29918,
7543,
29889,
19207,
8443,
13,
18884,
565,
1857,
29918,
7543,
29889,
3605,
601,
6736,
29871,
29896,
29941,
29945,
29901,
30004,
13,
462,
1678,
1857,
29918,
7543,
29889,
3605,
601,
4619,
29871,
29896,
29945,
30004,
13,
18884,
1596,
29898,
30004,
13,
462,
1678,
285,
29908,
29912,
3784,
29918,
7543,
29889,
12470,
6177,
31100,
30374,
30822,
29123,
30573,
29912,
3784,
29918,
7543,
29889,
29123,
29913,
30214,
19207,
30573,
29912,
3784,
29918,
7543,
29889,
19207,
29913,
30214,
234,
177,
131,
233,
155,
150,
30898,
30573,
29912,
3784,
29918,
7543,
29889,
3605,
601,
29913,
30267,
1159,
30004,
13,
30004,
13,
9651,
1857,
29918,
7543,
29889,
7620,
26471,
13,
1678,
1683,
29901,
30004,
13,
4706,
1734,
1761,
29889,
18035,
353,
6728,
30004,
13,
4706,
19649,
353,
938,
3552,
1742,
1761,
29889,
18035,
847,
1734,
1761,
29889,
2435,
29918,
1761,
29897,
334,
29871,
29896,
29900,
29900,
8443,
13,
30004,
13,
1678,
396,
29871,
31174,
30898,
31100,
30374,
30822,
31791,
31683,
30392,
31191,
31366,
30494,
31166,
235,
178,
144,
31025,
30746,
30214,
31653,
31366,
30494,
30214,
31403,
31086,
30742,
30888,
31610,
30004,
13,
1678,
565,
1734,
1761,
29889,
18035,
1275,
1734,
1761,
29889,
2435,
29918,
1761,
29901,
30004,
13,
4706,
7191,
29889,
8698,
29898,
3827,
29892,
525,
233,
133,
171,
31290,
235,
134,
143,
31366,
31751,
31166,
235,
178,
144,
31025,
30746,
30584,
1495,
30004,
13,
4706,
396,
29871,
31653,
30573,
29123,
31025,
30746,
30214,
31403,
232,
139,
186,
30374,
31389,
31025,
30746,
30004,
13,
4706,
565,
1734,
1761,
29889,
978,
1275,
525,
29123,
2396,
30004,
13,
9651,
2767,
29918,
29123,
29918,
1761,
26471,
13,
4706,
736,
6684,
877,
28041,
28160,
29901,
14592,
3377,
1495,
30004,
13,
1678,
396,
29871,
31024,
30683,
30557,
30287,
30502,
31166,
235,
178,
144,
30004,
13,
1678,
396,
29871,
31641,
236,
164,
190,
30785,
30406,
30354,
30763,
31700,
30275,
30210,
1742,
1761,
29889,
18035,
30214,
31191,
31403,
30785,
30406,
18035,
30437,
31943,
235,
138,
183,
30622,
30287,
30502,
30413,
31100,
30374,
30004,
13,
1678,
2446,
29918,
1742,
353,
679,
29918,
3318,
29918,
272,
29918,
29946,
29900,
29946,
29898,
13200,
29892,
1178,
29922,
333,
29918,
1761,
29961,
1742,
1761,
29889,
18035,
2314,
30004,
13,
1678,
565,
2009,
29889,
1792,
29889,
11027,
29889,
497,
580,
29961,
29900,
1822,
8172,
29918,
4773,
322,
2446,
29918,
1742,
29889,
2972,
29961,
29900,
29901,
29906,
29962,
1275,
376,
235,
178,
144,
233,
180,
138,
1115,
30004,
13,
4706,
1121,
353,
1284,
29918,
4773,
29918,
3166,
29918,
9803,
29898,
4622,
29918,
1742,
29889,
12470,
8443,
13,
4706,
396,
29871,
30417,
30682,
30815,
31213,
30413,
30780,
30004,
13,
4706,
565,
7431,
29898,
2914,
29961,
29900,
2314,
1405,
29871,
29900,
29901,
30004,
13,
9651,
20088,
29918,
2248,
353,
4036,
29889,
9502,
524,
29898,
29900,
29892,
7431,
29898,
2914,
29961,
29900,
2314,
448,
29871,
29896,
8443,
13,
9651,
2446,
29918,
1742,
29889,
4773,
353,
1121,
29961,
29900,
3816,
9502,
29918,
2248,
29962,
30004,
13,
9651,
2446,
29918,
1742,
29889,
3286,
18411,
353,
1121,
29961,
29896,
3816,
9502,
29918,
2248,
29962,
30004,
13,
1678,
396,
29871,
30998,
31507,
232,
146,
168,
30275,
30210,
31389,
235,
178,
144,
31062,
31869,
30004,
13,
1678,
337,
552,
353,
337,
29889,
2886,
497,
29898,
29878,
29908,
29961,
29874,
29899,
25265,
29899,
29999,
10062,
613,
2446,
29918,
1742,
29889,
12470,
9601,
29900,
29962,
30004,
13,
1678,
2446,
29918,
1742,
29889,
4773,
353,
2446,
29918,
1742,
29889,
4773,
29889,
6506,
29898,
276,
552,
29892,
9872,
9653,
1178,
2433,
1127,
29915,
5299,
29890,
11903,
718,
337,
552,
718,
25225,
29890,
2565,
9653,
29958,
1159,
30004,
13,
30004,
13,
1678,
736,
4050,
29898,
3827,
29892,
525,
28041,
28160,
29914,
7543,
29918,
1761,
29889,
1420,
23592,
13,
462,
29871,
3336,
13,
462,
418,
376,
25376,
482,
1115,
19649,
11167,
13,
462,
418,
525,
3318,
2396,
2446,
29918,
1742,
11167,
13,
462,
418,
525,
18035,
2396,
1734,
1761,
29889,
18035,
11167,
13,
462,
418,
525,
1742,
1761,
29918,
333,
2396,
1734,
1761,
29918,
333,
11167,
13,
462,
418,
525,
11338,
2396,
2446,
29918,
1742,
29889,
11338,
29889,
497,
3285,
30004,
13,
462,
418,
525,
2042,
2396,
525,
1761,
23592,
13,
462,
29871,
5615,
30004,
13,
30004,
13,
30004,
13,
29992,
7507,
29918,
12403,
30004,
13,
1753,
5217,
29918,
1742,
1761,
29898,
3827,
29892,
1734,
1761,
29918,
333,
1125,
30004,
13,
1678,
679,
29918,
3318,
29918,
272,
29918,
29946,
29900,
29946,
29898,
14463,
1293,
29892,
1178,
29922,
1742,
1761,
29918,
333,
467,
8143,
26471,
13,
1678,
7191,
29889,
8698,
29898,
3827,
29892,
525,
31166,
235,
178,
144,
31025,
30746,
31916,
31152,
30494,
31134,
1495,
30004,
13,
1678,
736,
6684,
877,
28041,
28160,
29901,
14592,
3377,
1495,
30004,
13,
30004,
13,
30004,
13,
29992,
7507,
29918,
12403,
30004,
13,
1753,
1734,
29918,
1202,
29918,
11338,
29898,
3827,
29892,
1734,
29918,
333,
29892,
4055,
29892,
4004,
1125,
30004,
13,
1678,
1734,
353,
679,
29918,
3318,
29918,
272,
29918,
29946,
29900,
29946,
29898,
13200,
29892,
1178,
29922,
1742,
29918,
333,
8443,
13,
1678,
1734,
29889,
11338,
29889,
1202,
29898,
4039,
8443,
13,
1678,
7191,
29889,
8698,
29898,
3827,
29892,
525,
31062,
234,
176,
193,
31538,
30666,
30494,
31134,
1495,
30004,
13,
1678,
565,
4004,
1275,
29871,
29900,
29901,
30004,
13,
4706,
736,
6684,
877,
28041,
28160,
29901,
7543,
29918,
16432,
742,
5881,
29918,
333,
29922,
1742,
29918,
333,
8443,
13,
1678,
1683,
29901,
30004,
13,
4706,
736,
6684,
877,
28041,
28160,
29901,
276,
2036,
29918,
1742,
1761,
742,
1734,
1761,
29918,
333,
29922,
2042,
11167,
13,
462,
4706,
6728,
29922,
657,
29918,
3318,
29918,
272,
29918,
29946,
29900,
29946,
29898,
14463,
1293,
29892,
1178,
29922,
2042,
467,
18035,
29892,
7115,
29922,
29900,
8443,
13,
30004,
13,
30004,
13,
29992,
7507,
29918,
12403,
30004,
13,
1753,
1734,
29918,
8143,
29918,
11338,
29898,
3827,
29892,
1734,
29918,
333,
29892,
4055,
29918,
333,
29892,
4004,
1125,
30004,
13,
1678,
1734,
353,
679,
29918,
3318,
29918,
272,
29918,
29946,
29900,
29946,
29898,
13200,
29892,
1178,
29922,
1742,
29918,
333,
8443,
13,
1678,
1734,
29889,
11338,
29889,
5992,
29898,
8176,
29889,
12650,
29889,
4572,
29898,
333,
29922,
4039,
29918,
333,
9601,
29900,
2314,
30004,
13,
1678,
7191,
29889,
8698,
29898,
3827,
29892,
525,
31062,
234,
176,
193,
31916,
31152,
30494,
31134,
1495,
30004,
13,
1678,
396,
29871,
31791,
31683,
30392,
31191,
30573,
31166,
235,
178,
144,
31025,
30746,
30004,
13,
1678,
565,
4004,
1275,
29871,
29900,
29901,
30004,
13,
4706,
736,
6684,
877,
28041,
28160,
29901,
7543,
29918,
16432,
742,
5881,
29918,
333,
29922,
1742,
29918,
333,
8443,
13,
1678,
1683,
29901,
30004,
13,
4706,
736,
6684,
877,
28041,
28160,
29901,
276,
2036,
29918,
1742,
1761,
742,
1734,
1761,
29918,
333,
29922,
2042,
11167,
13,
462,
4706,
6728,
29922,
657,
29918,
3318,
29918,
272,
29918,
29946,
29900,
29946,
29898,
14463,
1293,
29892,
1178,
29922,
2042,
467,
18035,
29892,
7115,
29922,
29900,
8443,
13,
30004,
13,
30004,
13,
29992,
7507,
29918,
12403,
30004,
13,
1753,
1734,
29918,
5628,
29898,
3827,
29892,
1734,
29918,
333,
29892,
4004,
1125,
30004,
13,
1678,
1734,
353,
679,
29918,
3318,
29918,
272,
29918,
29946,
29900,
29946,
29898,
13200,
29892,
1178,
29922,
1742,
29918,
333,
8443,
13,
1678,
14965,
353,
2009,
29889,
5438,
30004,
13,
1678,
1734,
29889,
2972,
353,
14965,
1839,
2972,
2033,
30004,
13,
1678,
1734,
29889,
12470,
353,
14965,
1839,
12470,
2033,
30004,
13,
1678,
1734,
29889,
12011,
353,
14965,
1839,
12011,
2033,
30004,
13,
1678,
1734,
29889,
4773,
353,
14965,
1839,
4773,
2033,
30004,
13,
1678,
1734,
29889,
3286,
18411,
353,
14965,
1839,
3286,
18411,
2033,
30004,
13,
1678,
1734,
29889,
17833,
353,
14965,
1839,
17833,
2033,
30004,
13,
1678,
565,
14965,
1839,
4039,
2033,
2804,
525,
2396,
30004,
13,
4706,
1734,
29889,
11338,
29889,
1202,
29898,
2252,
1839,
4039,
2033,
8443,
13,
1678,
1734,
29889,
7620,
26471,
13,
1678,
7191,
29889,
8698,
29898,
3827,
29892,
525,
235,
178,
144,
233,
180,
138,
31795,
235,
193,
148,
30494,
31134,
30584,
1495,
30004,
13,
1678,
565,
4004,
1275,
29871,
29900,
29901,
30004,
13,
4706,
736,
6684,
877,
28041,
28160,
29901,
7543,
29918,
16432,
742,
5881,
29918,
333,
29922,
1742,
29918,
333,
8443,
13,
1678,
1683,
29901,
30004,
13,
4706,
736,
6684,
877,
28041,
28160,
29901,
276,
2036,
29918,
1742,
1761,
742,
1734,
1761,
29918,
333,
29922,
2042,
11167,
13,
462,
4706,
6728,
29922,
657,
29918,
3318,
29918,
272,
29918,
29946,
29900,
29946,
29898,
14463,
1293,
29892,
1178,
29922,
2042,
467,
18035,
29892,
7115,
29922,
29900,
8443,
13,
30004,
13,
30004,
13,
29992,
7507,
29918,
12403,
30004,
13,
1753,
1734,
29918,
1202,
29898,
3827,
1125,
30004,
13,
1678,
731,
353,
2009,
29889,
1792,
29889,
11027,
29889,
497,
580,
29961,
29900,
29962,
30004,
13,
1678,
731,
29918,
2972,
353,
4390,
29889,
18132,
29898,
842,
29889,
3784,
29918,
2972,
8443,
13,
1678,
565,
2009,
29889,
5438,
29901,
30004,
13,
4706,
1734,
353,
9160,
26471,
13,
4706,
14965,
353,
2009,
29889,
5438,
30004,
13,
4706,
1734,
29889,
2972,
353,
14965,
1839,
2972,
2033,
30004,
13,
4706,
1734,
29889,
12470,
353,
14965,
1839,
12470,
2033,
30004,
13,
4706,
1734,
29889,
12011,
353,
14965,
1839,
12011,
13359,
6506,
877,
31608,
742,
525,
30214,
1495,
30004,
13,
4706,
1734,
29889,
4773,
353,
14965,
1839,
4773,
13359,
6506,
28909,
29876,
742,
525,
525,
467,
6506,
877,
29908,
742,
27255,
30004,
13,
4706,
1734,
29889,
3286,
18411,
353,
14965,
1839,
3286,
18411,
13359,
6506,
28909,
29876,
742,
525,
525,
8443,
13,
4706,
1734,
29889,
17833,
353,
14965,
1839,
17833,
2033,
30004,
13,
4706,
565,
14965,
1839,
4039,
2033,
2804,
525,
2396,
30004,
13,
9651,
1734,
29889,
11338,
29889,
1202,
29898,
2252,
1839,
4039,
2033,
8443,
13,
4706,
396,
29871,
231,
190,
136,
30505,
30658,
31977,
30578,
30573,
235,
178,
144,
233,
180,
138,
31391,
30767,
233,
152,
183,
30502,
30573,
30816,
30210,
30594,
31974,
31174,
30448,
233,
166,
131,
31213,
30004,
13,
4706,
565,
1734,
29889,
2972,
1275,
6629,
470,
1734,
29889,
2972,
29961,
29900,
29901,
29906,
29962,
1275,
525,
235,
178,
144,
233,
180,
138,
2396,
30004,
13,
9651,
396,
29871,
233,
166,
131,
31213,
26740,
30275,
30354,
30959,
30392,
31191,
30257,
30909,
31184,
30909,
29945,
29900,
30214,
31653,
30257,
30909,
29945,
29900,
30214,
31403,
2972,
30666,
29896,
29892,
30354,
31180,
31120,
31020,
30705,
30573,
29896,
30214,
30878,
30822,
30982,
30946,
842,
30004,
13,
9651,
565,
731,
29918,
2972,
1839,
3317,
29918,
1742,
29918,
1949,
2033,
6736,
29871,
29945,
29900,
29901,
30004,
13,
18884,
731,
29918,
2972,
1839,
3317,
29918,
1742,
29918,
2972,
2033,
4619,
29871,
29896,
30004,
13,
18884,
731,
29918,
2972,
1839,
3317,
29918,
1742,
29918,
1949,
2033,
353,
29871,
29900,
30004,
13,
9651,
396,
29871,
31415,
30705,
30573,
30878,
30257,
2972,
31666,
31415,
30573,
30275,
30333,
30004,
13,
9651,
1734,
29889,
2972,
353,
525,
4286,
7122,
18959,
235,
178,
144,
233,
180,
138,
29899,
30622,
742,
304,
29918,
305,
8233,
29898,
842,
29918,
2972,
1839,
3317,
29918,
1742,
29918,
2972,
2033,
511,
525,
31263,
2033,
8443,
13,
9651,
396,
29871,
30878,
30822,
1949,
30354,
30666,
30287,
30004,
13,
9651,
731,
29918,
2972,
1839,
3317,
29918,
1742,
29918,
1949,
2033,
4619,
29871,
29896,
30004,
13,
9651,
731,
29889,
3784,
29918,
2972,
353,
4390,
29889,
29881,
17204,
29898,
842,
29918,
2972,
8443,
13,
9651,
731,
29889,
7620,
26471,
13,
4706,
1734,
29889,
7620,
26471,
13,
30004,
13,
4706,
736,
14355,
5103,
3319,
29915,
4882,
2396,
525,
554,
29915,
1800,
30004,
13,
1678,
1683,
29901,
30004,
13,
4706,
736,
4050,
29898,
3827,
29892,
525,
28041,
28160,
29914,
7543,
29918,
3258,
29889,
1420,
1495,
30004,
13,
30004,
13,
30004,
13,
29992,
7507,
29918,
12403,
30004,
13,
1753,
1734,
29918,
8143,
29898,
3827,
29892,
1734,
29918,
333,
1125,
30004,
13,
1678,
679,
29918,
3318,
29918,
272,
29918,
29946,
29900,
29946,
29898,
13200,
29892,
1178,
29922,
1742,
29918,
333,
467,
8143,
26471,
13,
1678,
7191,
29889,
8698,
29898,
3827,
29892,
525,
235,
178,
144,
233,
180,
138,
31916,
31152,
30494,
31134,
30584,
1495,
30004,
13,
1678,
736,
6684,
877,
28041,
28160,
29901,
4622,
1495,
30004,
13,
30004,
13,
30004,
13,
29992,
7507,
29918,
12403,
30004,
13,
1753,
6055,
29918,
1493,
29898,
3827,
1125,
30004,
13,
1678,
6055,
353,
2009,
29889,
1792,
29889,
11027,
29889,
497,
580,
29961,
29900,
29962,
30004,
13,
30004,
13,
1678,
396,
29871,
31393,
30763,
30417,
31352,
2084,
30805,
31791,
31683,
30392,
7194,
31994,
30392,
5438,
30004,
13,
1678,
565,
451,
4852,
2084,
29908,
297,
2009,
29889,
5438,
1125,
30004,
13,
4706,
736,
4050,
29898,
3827,
29892,
525,
28041,
28160,
29914,
11027,
29889,
1420,
742,
11117,
8172,
29918,
4773,
2396,
6055,
29889,
8172,
29918,
4773,
1800,
30004,
13,
1678,
396,
565,
451,
313,
11227,
29898,
3827,
29889,
7194,
29897,
322,
6120,
29898,
3827,
29889,
5438,
22164,
30004,
13,
1678,
396,
268,
736,
4050,
29898,
3827,
29892,
525,
28041,
28160,
29914,
11027,
29889,
1420,
742,
11117,
8172,
29918,
4773,
2396,
6055,
29889,
8172,
29918,
4773,
1800,
30004,
13,
1678,
565,
2009,
29889,
5438,
29901,
30004,
13,
4706,
565,
376,
8172,
29918,
4773,
29908,
297,
2009,
29889,
5438,
322,
2009,
29889,
5438,
1839,
8172,
29918,
4773,
2033,
1275,
525,
265,
2396,
30004,
13,
9651,
6055,
29889,
8172,
29918,
4773,
353,
5852,
30004,
13,
9651,
396,
29871,
30998,
31149,
30946,
30752,
30728,
30946,
30004,
13,
9651,
7090,
29889,
842,
877,
8172,
29918,
4773,
742,
5852,
29892,
11815,
29922,
29953,
29900,
29900,
8443,
13,
9651,
6055,
29889,
7620,
26471,
13,
4706,
1683,
29901,
30004,
13,
9651,
6055,
29889,
8172,
29918,
4773,
353,
7700,
30004,
13,
9651,
7090,
29889,
842,
877,
8172,
29918,
4773,
742,
7700,
29892,
11815,
29922,
29953,
29900,
29900,
8443,
13,
9651,
6055,
29889,
7620,
26471,
13,
30004,
13,
1678,
565,
2009,
29889,
5438,
1839,
2084,
2033,
1275,
5591,
28041,
28160,
29914,
11027,
29914,
1115,
30004,
13,
4706,
396,
29871,
236,
155,
181,
31981,
30923,
30936,
235,
186,
182,
31415,
30544,
31745,
30004,
13,
4706,
736,
4050,
29898,
3827,
29892,
525,
28041,
28160,
29914,
11027,
29889,
1420,
742,
11117,
8172,
29918,
4773,
2396,
6055,
29889,
8172,
29918,
4773,
1800,
30004,
13,
1678,
736,
6684,
29898,
3827,
29889,
5438,
1839,
2084,
2033,
8443,
13,
30004,
13,
30004,
13,
29992,
7507,
29918,
12403,
30004,
13,
29992,
12277,
29918,
5438,
30004,
13,
1753,
9657,
29918,
1972,
29898,
3827,
1125,
30004,
13,
1678,
337,
29918,
4572,
353,
337,
29889,
2886,
497,
29898,
29878,
29908,
29961,
29874,
29899,
25265,
29899,
29999,
10062,
613,
2009,
29889,
5438,
29889,
657,
877,
1972,
29918,
1742,
8785,
30004,
13,
1678,
565,
7431,
29898,
276,
29918,
4572,
29897,
1275,
29871,
29900,
29901,
30004,
13,
4706,
736,
14355,
5103,
3319,
29908,
1972,
29918,
1742,
1115,
2009,
29889,
5438,
29889,
657,
877,
1972,
29918,
1742,
5477,
525,
1420,
29918,
2914,
2396,
525,
3782,
14514,
20714,
1800,
30004,
13,
1678,
2346,
29918,
1742,
353,
337,
29918,
4572,
29961,
29900,
29962,
30004,
13,
1678,
396,
1596,
29898,
1972,
29918,
1742,
8443,
13,
30004,
13,
1678,
396,
29871,
232,
167,
138,
31333,
31025,
30746,
30004,
13,
1678,
2346,
29918,
1761,
353,
518,
1972,
29918,
1742,
29892,
2346,
29918,
1742,
29889,
13609,
3285,
2346,
29918,
1742,
29961,
29900,
13018,
29896,
1402,
2346,
29918,
1742,
29961,
29900,
13018,
29906,
1402,
2346,
29918,
1742,
29961,
29900,
13018,
29941,
5262,
30004,
13,
1678,
363,
2346,
29918,
1761,
29918,
1742,
297,
2346,
29918,
1761,
29901,
30004,
13,
4706,
2346,
29918,
2914,
353,
360,
919,
29889,
12650,
29889,
4572,
29898,
2813,
1742,
1649,
27382,
2541,
29922,
1972,
29918,
1761,
29918,
1742,
8443,
13,
4706,
565,
7431,
29898,
1972,
29918,
2914,
29897,
2804,
29871,
29900,
29901,
30004,
13,
9651,
396,
29871,
31213,
235,
178,
165,
234,
191,
150,
30946,
30275,
30210,
3217,
5454,
30004,
13,
9651,
7115,
353,
7090,
29889,
657,
877,
29883,
6400,
742,
2322,
10457,
29896,
467,
657,
29898,
1972,
29918,
2914,
29961,
29900,
1822,
2813,
1742,
29892,
448,
29896,
8443,
13,
9651,
736,
14355,
5103,
29898,
30004,
13,
18884,
8853,
1972,
29918,
1742,
1115,
2346,
29918,
2914,
29961,
29900,
1822,
2813,
1742,
29892,
525,
1420,
29918,
2914,
2396,
2346,
29918,
2914,
29961,
29900,
1822,
667,
29892,
525,
10003,
2396,
7115,
1800,
30004,
13,
30004,
13,
1678,
736,
14355,
5103,
3319,
29908,
1972,
29918,
1742,
1115,
2346,
29918,
1742,
29892,
525,
1420,
29918,
2914,
2396,
525,
3782,
7867,
20714,
1800,
30004,
13,
30004,
13,
30004,
13,
29937,
679,
30525,
30607,
30210,
30578,
31259,
31088,
31376,
30004,
13,
1753,
9657,
29918,
1972,
29918,
657,
29898,
3827,
29892,
2346,
29918,
1742,
1125,
30004,
13,
1678,
337,
29918,
4572,
353,
337,
29889,
2886,
497,
29898,
29878,
29908,
29961,
29874,
29899,
25265,
29899,
29999,
10062,
613,
2346,
29918,
1742,
8443,
13,
1678,
565,
7431,
29898,
276,
29918,
4572,
29897,
1275,
29871,
29900,
29901,
30004,
13,
4706,
736,
14355,
5103,
3319,
29908,
1972,
29918,
1742,
1115,
2009,
29889,
5438,
29889,
657,
877,
1972,
29918,
1742,
5477,
525,
1420,
29918,
2914,
2396,
525,
3782,
14514,
20714,
1800,
30004,
13,
1678,
2346,
29918,
1742,
353,
337,
29918,
4572,
29961,
29900,
29962,
30004,
13,
1678,
396,
1596,
29898,
1972,
29918,
1742,
8443,
13,
30004,
13,
1678,
396,
29871,
232,
167,
138,
31333,
31025,
30746,
30004,
13,
1678,
2346,
29918,
1761,
353,
518,
1972,
29918,
1742,
29892,
2346,
29918,
1742,
29889,
13609,
3285,
2346,
29918,
1742,
29961,
29900,
13018,
29896,
1402,
2346,
29918,
1742,
29961,
29900,
13018,
29906,
1402,
2346,
29918,
1742,
29961,
29900,
13018,
29941,
5262,
30004,
13,
1678,
363,
2346,
29918,
1761,
29918,
1742,
297,
2346,
29918,
1761,
29901,
30004,
13,
4706,
2346,
29918,
2914,
353,
360,
919,
29889,
12650,
29889,
4572,
29898,
2813,
1742,
1649,
27382,
2541,
29922,
1972,
29918,
1761,
29918,
1742,
8443,
13,
4706,
565,
7431,
29898,
1972,
29918,
2914,
29897,
2804,
29871,
29900,
29901,
30004,
13,
9651,
736,
14355,
5103,
3319,
29908,
1972,
29918,
1742,
1115,
2346,
29918,
1761,
29918,
1742,
29892,
525,
1420,
29918,
2914,
2396,
2346,
29918,
2914,
29961,
29900,
1822,
667,
1800,
30004,
13,
30004,
13,
1678,
736,
14355,
5103,
3319,
29908,
1972,
29918,
1742,
1115,
2346,
29918,
1742,
29892,
525,
1420,
29918,
2914,
2396,
525,
3782,
7867,
20714,
1800,
30004,
13,
30004,
13,
30004,
13,
29992,
12277,
29918,
5438,
30004,
13,
1753,
679,
29918,
4773,
29898,
3827,
1125,
30004,
13,
1678,
337,
29918,
4572,
353,
337,
29889,
2886,
497,
29898,
29878,
29908,
29961,
29874,
29899,
25265,
29899,
29999,
10062,
613,
2009,
29889,
5438,
29889,
657,
877,
1972,
29918,
1742,
8785,
30004,
13,
1678,
565,
7431,
29898,
276,
29918,
4572,
29897,
1275,
29871,
29900,
29901,
30004,
13,
4706,
736,
14355,
5103,
3319,
29908,
1972,
29918,
1742,
1115,
2009,
29889,
5438,
29889,
657,
877,
1972,
29918,
1742,
5477,
525,
1420,
29918,
2914,
2396,
525,
3782,
14514,
20714,
1800,
30004,
13,
1678,
2346,
29918,
1742,
353,
337,
29918,
4572,
29961,
29900,
29962,
30004,
13,
1678,
396,
1596,
29898,
1972,
29918,
1742,
8443,
13,
30004,
13,
1678,
396,
29871,
232,
167,
138,
31333,
31025,
30746,
30004,
13,
1678,
2346,
29918,
1761,
353,
518,
1972,
29918,
1742,
29892,
2346,
29918,
1742,
29889,
13609,
3285,
2346,
29918,
1742,
29961,
29900,
13018,
29896,
1402,
2346,
29918,
1742,
29961,
29900,
13018,
29906,
1402,
2346,
29918,
1742,
29961,
29900,
13018,
29941,
5262,
30004,
13,
1678,
363,
2346,
29918,
1761,
29918,
1742,
297,
2346,
29918,
1761,
29901,
30004,
13,
4706,
2346,
29918,
2914,
353,
360,
919,
29889,
12650,
29889,
4572,
29898,
2813,
1742,
1649,
27382,
2541,
29922,
1972,
29918,
1761,
29918,
1742,
8443,
13,
4706,
565,
7431,
29898,
1972,
29918,
2914,
29897,
2804,
29871,
29900,
29901,
30004,
13,
9651,
1121,
353,
1284,
29918,
4773,
29918,
3166,
29918,
9803,
29898,
1972,
29918,
1761,
29918,
1742,
8443,
13,
30004,
13,
9651,
736,
14355,
5103,
3319,
29908,
4773,
1115,
4390,
29889,
29881,
17204,
29898,
1761,
29898,
7554,
29898,
2914,
29961,
29900,
1402,
1121,
29961,
29896,
12622,
511,
30004,
13,
462,
462,
376,
12676,
886,
1115,
4390,
29889,
29881,
17204,
29898,
2914,
29961,
29906,
2314,
30004,
13,
462,
462,
5615,
30004,
13,
30004,
13,
1678,
736,
14355,
5103,
3319,
29908,
4773,
1115,
4390,
29889,
29881,
17204,
4197,
29961,
1402,
5159,
2314,
1800,
30004,
13,
30004,
13,
30004,
13,
29992,
12277,
29918,
5438,
30004,
13,
1753,
5609,
29918,
7543,
29918,
294,
29918,
3945,
29898,
3827,
1125,
30004,
13,
1678,
6055,
353,
2009,
29889,
1792,
29889,
11027,
29889,
497,
580,
29961,
29900,
29962,
30004,
13,
1678,
954,
353,
938,
29898,
3827,
29889,
5438,
3366,
1949,
20068,
30004,
13,
30004,
13,
1678,
15889,
353,
9160,
29889,
12650,
29889,
497,
580,
29961,
2435,
29898,
13200,
29889,
12650,
29889,
497,
3101,
448,
954,
17531,
30004,
13,
1678,
1018,
29901,
30004,
13,
4706,
411,
1722,
703,
15843,
29889,
3945,
613,
525,
29893,
742,
8025,
543,
9420,
29899,
29947,
1159,
408,
285,
29901,
30004,
13,
9651,
363,
5881,
297,
15889,
29901,
30004,
13,
18884,
5881,
29889,
12011,
353,
5881,
29889,
12011,
29889,
6506,
28909,
29876,
742,
12801,
1182,
29958,
1495,
30004,
13,
18884,
285,
29889,
3539,
29898,
30004,
13,
462,
1678,
285,
29908,
29912,
7543,
29889,
2972,
1012,
29873,
29912,
7543,
29889,
12470,
1012,
29873,
29912,
7543,
29889,
12011,
1012,
29873,
29912,
7543,
29889,
4773,
1012,
29873,
29912,
7543,
29889,
3286,
18411,
1012,
29873,
29912,
7543,
29889,
17833,
1012,
29876,
1159,
30004,
13,
4706,
7191,
29889,
8698,
29898,
3827,
29892,
285,
29915,
31943,
30544,
30494,
31134,
30214,
31611,
31943,
30544,
29912,
2435,
29898,
28160,
2915,
31328,
232,
144,
164,
31122,
1495,
30004,
13,
30004,
13,
4706,
736,
3497,
5103,
29898,
3150,
877,
15843,
29889,
3945,
742,
525,
6050,
5477,
408,
29918,
14930,
358,
29922,
5574,
8443,
13,
1678,
5174,
8960,
408,
321,
29901,
30004,
13,
4706,
7191,
29889,
2704,
29898,
3827,
29892,
525,
31943,
30544,
31369,
31955,
1495,
30004,
13,
4706,
736,
6684,
877,
28041,
28160,
29901,
11027,
29918,
1493,
1495,
30004,
13,
30004,
13,
30004,
13,
1753,
5609,
29918,
2585,
29898,
3827,
1125,
30004,
13,
1678,
736,
3497,
5103,
29898,
3150,
877,
2585,
29889,
22793,
29941,
742,
525,
6050,
5477,
408,
29918,
14930,
358,
29922,
5574,
8443,
13,
2
] |
crawler_mongo.py | 9527A/practice | 0 | 148966 | import pymongo
def data_seve(mydict):
myclient = pymongo.MongoClient("mongodb://localhost:27017/")
mydb = myclient["cralwer"]
mycol = mydb["data"]
for m in mydict:
if m in mycol.find():
pass
else:
x = mycol.insert_one(m)
def data_get():
myclient = pymongo.MongoClient("mongodb://localhost:27017/")
mydb = myclient["cralwer"]
mycol = mydb["data"]
m = mycol.find()
return m
def delete():
myclient = pymongo.MongoClient("mongodb://localhost:27017/")
mydb = myclient["cralwer"]
mycol = mydb["data"]
x = mycol.delete_many({})
| [
1,
1053,
282,
962,
7443,
30004,
13,
30004,
13,
1753,
848,
29918,
344,
345,
29898,
1357,
8977,
1125,
30004,
13,
1678,
590,
4645,
353,
282,
962,
7443,
29889,
29924,
7443,
4032,
703,
23264,
597,
7640,
29901,
29906,
29955,
29900,
29896,
29955,
29914,
1159,
30004,
13,
1678,
6756,
13,
1678,
590,
2585,
353,
590,
4645,
3366,
29883,
1705,
556,
3108,
30004,
13,
1678,
590,
1054,
353,
590,
2585,
3366,
1272,
3108,
30004,
13,
30004,
13,
1678,
363,
286,
297,
590,
8977,
29901,
30004,
13,
4706,
565,
286,
297,
590,
1054,
29889,
2886,
7295,
30004,
13,
9651,
1209,
30004,
13,
4706,
1683,
29901,
30004,
13,
9651,
921,
353,
590,
1054,
29889,
7851,
29918,
650,
29898,
29885,
8443,
13,
30004,
13,
1753,
848,
29918,
657,
7295,
30004,
13,
1678,
590,
4645,
353,
282,
962,
7443,
29889,
29924,
7443,
4032,
703,
23264,
597,
7640,
29901,
29906,
29955,
29900,
29896,
29955,
29914,
1159,
30004,
13,
30004,
13,
1678,
590,
2585,
353,
590,
4645,
3366,
29883,
1705,
556,
3108,
30004,
13,
1678,
590,
1054,
353,
590,
2585,
3366,
1272,
3108,
30004,
13,
30004,
13,
1678,
286,
353,
590,
1054,
29889,
2886,
26471,
13,
30004,
13,
1678,
736,
286,
30004,
13,
30004,
13,
1753,
5217,
7295,
30004,
13,
1678,
590,
4645,
353,
282,
962,
7443,
29889,
29924,
7443,
4032,
703,
23264,
597,
7640,
29901,
29906,
29955,
29900,
29896,
29955,
29914,
1159,
30004,
13,
30004,
13,
1678,
590,
2585,
353,
590,
4645,
3366,
29883,
1705,
556,
3108,
30004,
13,
1678,
590,
1054,
353,
590,
2585,
3366,
1272,
3108,
30004,
13,
1678,
6756,
13,
1678,
921,
353,
590,
1054,
29889,
8143,
29918,
13011,
3319,
1800,
30004,
13,
30004,
13,
30004,
13,
2
] |
src/toast/tests/cache.py | doicbek/toast | 29 | 194624 | <reponame>doicbek/toast
# Copyright (c) 2015-2020 by the parties listed in the AUTHORS file.
# All rights reserved. Use of this source code is governed by
# a BSD-style license that can be found in the LICENSE file.
import sys
import numpy as np
import ctypes
from .mpi import MPITestCase
from ..cache import Cache
from ..utils import AlignedF64, memreport
class CacheTest(MPITestCase):
def setUp(self):
self.nsamp = 1000
self.membytes = 100000000
self.memnbuf = 100
self.cache = Cache(pymem=False)
self.pycache = Cache(pymem=True)
self.types = {
"f64": np.float64,
"f32": np.float32,
"i64": np.int64,
"u64": np.uint64,
"i32": np.int32,
"u32": np.uint32,
"i16": np.int16,
"u16": np.uint16,
"i8": np.int8,
"u8": np.uint8,
}
def tearDown(self):
del self.cache
del self.pycache
def test_dict_interface(self):
cache = Cache()
cache["aaa"] = np.arange(10)
cache["ccc"] = np.arange(10) + 10
self.assertTrue("aaa" in cache)
self.assertFalse("bbb" in cache)
self.assertEqual(len(cache), 2)
n = 0
for x in cache:
n += 1
self.assertEqual(len(cache), n)
del cache["aaa"]
self.assertEqual(len(cache), n - 1)
return
def test_refcount(self):
buf = AlignedF64.zeros(self.nsamp)
# print("REFCNT: ", sys.getrefcount(buf), flush=True)
# wbuf1 = buf.weak()
# print("REFCNT 1: ", sys.getrefcount(buf), flush=True)
# wbuf2 = buf.weak()
# print("REFCNT 2: ", sys.getrefcount(buf), flush=True)
return
def test_create(self):
for k, v in self.types.items():
ref = self.cache.create("test-{}".format(k), v, (self.nsamp, 4))
del ref
for k, v in self.types.items():
data = self.cache.reference("test-{}".format(k))
data[:] += np.repeat(np.arange(self.nsamp, dtype=v), 4).reshape(-1, 4)
del data
for k, v in self.types.items():
ex = self.cache.exists("test-{}".format(k))
self.assertTrue(ex)
for k, v in self.types.items():
self.cache.destroy("test-{}".format(k))
self.cache.clear()
for k, v in self.types.items():
ref = self.pycache.create("test-{}".format(k), v, (self.nsamp, 4))
del ref
for k, v in self.types.items():
data = self.pycache.reference("test-{}".format(k))
data[:] += np.repeat(np.arange(self.nsamp, dtype=v), 4).reshape(-1, 4)
del data
for k, v in self.types.items():
ex = self.pycache.exists("test-{}".format(k))
self.assertTrue(ex)
for k, v in self.types.items():
self.pycache.destroy("test-{}".format(k))
self.pycache.clear()
return
def test_put(self):
# Populate some buffers
for k, v in self.types.items():
pname = "test-{}".format(k)
pdata = np.ones((self.nsamp, 4), v)
ref = self.cache.put(pname, pdata)
del ref
# Test putting the same buffer- it should just return a new array
# wrapping the same underlying memory.
for k, v in self.types.items():
pname = "test-{}".format(k)
pdata = np.ones((self.nsamp, 4), v)
ref = self.cache.reference(pname)
copyref = self.cache.put(pname, ref)
ref_pnt = ref.ctypes.data_as(ctypes.c_void_p).value
copyref_pnt = copyref.ctypes.data_as(ctypes.c_void_p).value
self.assertTrue(ref_pnt == copyref_pnt)
del ref
del copyref
# Test replacement of buffers with the same name
for k, v in self.types.items():
pname = "test-{}".format(k)
pdata = np.ones((self.nsamp, 8), v)
try:
# This should raise- same name as existing buffer, but
# replace == False
ref = self.cache.put(pname, pdata)
del ref
self.assertTrue(False)
except RuntimeError:
# Success!
pass
# This should work
ref = self.cache.put(pname, pdata, replace=True)
del ref
self.cache.clear()
# Populate some buffers
for k, v in self.types.items():
pname = "test-{}".format(k)
pdata = np.ones((self.nsamp, 4), v)
ref = self.pycache.put(pname, pdata)
del ref
# Test putting the same buffer- it should just return a new array
# wrapping the same underlying memory.
for k, v in self.types.items():
pname = "test-{}".format(k)
pdata = np.ones((self.nsamp, 4), v)
ref = self.pycache.reference(pname)
copyref = self.pycache.put(pname, ref)
ref_pnt = ref.ctypes.data_as(ctypes.c_void_p).value
copyref_pnt = copyref.ctypes.data_as(ctypes.c_void_p).value
self.assertTrue(ref_pnt == copyref_pnt)
del ref
del copyref
# Test replacement of buffers with the same name
for k, v in self.types.items():
pname = "test-{}".format(k)
pdata = np.ones((self.nsamp, 8), v)
try:
# This should raise- same name as existing buffer, but
# replace == False
ref = self.pycache.put(pname, pdata)
del ref
self.assertTrue(False)
except RuntimeError:
# Success!
pass
# This should work
ref = self.pycache.put(pname, pdata, replace=True)
del ref
self.pycache.clear()
return
def test_create_none(self):
try:
ref = self.cache.create(None, np.float, (1, 10))
del ref
ref = self.pycache.create(None, np.float, (1, 10))
del ref
raise RuntimeError("Creating object with None key succeeded")
except ValueError:
pass
self.cache.clear()
self.pycache.clear()
return
def test_put_none(self):
try:
ref = self.cache.put(None, np.float, np.arange(10))
del ref
ref = self.pycache.put(None, np.float, np.arange(10))
del ref
raise RuntimeError("Putting an object with None key succeeded")
except ValueError:
pass
self.cache.clear()
self.pycache.clear()
return
def test_clear(self):
for k, v in self.types.items():
ref = self.cache.create("test-{}".format(k), v, (self.nsamp, 4))
del ref
ref = self.pycache.create("test-{}".format(k), v, (self.nsamp, 4))
del ref
self.cache.clear()
self.pycache.clear()
return
def test_alias(self):
ref = self.cache.put("test", np.arange(10))
del ref
self.cache.add_alias("test-alias", "test")
self.cache.add_alias("test-alias-2", "test")
data = self.cache.reference("test-alias")
del data
self.cache.destroy("test-alias")
data = self.cache.reference("test-alias-2")
del data
self.cache.destroy("test")
ex = self.cache.exists("test-alias-2")
self.assertFalse(ex)
self.cache.clear()
ref = self.pycache.put("test", np.arange(10))
del ref
self.pycache.add_alias("test-alias", "test")
self.pycache.add_alias("test-alias-2", "test")
data = self.pycache.reference("test-alias")
del data
self.pycache.destroy("test-alias")
data = self.pycache.reference("test-alias-2")
del data
self.pycache.destroy("test")
ex = self.pycache.exists("test-alias-2")
self.assertFalse(ex)
self.pycache.clear()
return
def test_memfree(self):
memreport(comm=self.comm, msg="Before large buffer creation")
memcache = Cache(pymem=False)
ref = memcache.create("test-big", np.uint8, (self.membytes,))
del ref
memreport(comm=self.comm, msg="After large buffer creation")
mem = memcache.report(silent=True)
self.assertEqual(mem, self.membytes)
print("Cache now has {} bytes".format(mem), flush=True)
memcache.clear()
memreport(comm=self.comm, msg="After cache clear")
mem = memcache.report(silent=True)
self.assertEqual(mem, 0)
print("Cache now has {} bytes".format(mem), flush=True)
smallbytes = self.membytes // self.memnbuf
for i in range(self.memnbuf):
name = "test-small_{}".format(i)
ref = memcache.create(name, np.uint8, (smallbytes,))
del ref
memreport(
comm=self.comm,
msg="After creation of {} small buffers".format(self.memnbuf),
)
mem = memcache.report(silent=True)
self.assertEqual(mem, self.memnbuf * smallbytes)
print("Cache now has {} bytes".format(mem), flush=True)
memcache.clear()
memreport(comm=self.comm, msg="After cache clear")
mem = memcache.report(silent=True)
self.assertEqual(mem, 0)
print("Cache now has {} bytes".format(mem), flush=True)
| [
1,
529,
276,
1112,
420,
29958,
1867,
293,
16863,
29914,
517,
579,
13,
29937,
14187,
1266,
313,
29883,
29897,
29871,
29906,
29900,
29896,
29945,
29899,
29906,
29900,
29906,
29900,
491,
278,
13973,
9904,
297,
278,
26524,
29950,
24125,
934,
29889,
13,
29937,
2178,
10462,
21676,
29889,
29871,
4803,
310,
445,
2752,
775,
338,
4095,
287,
491,
13,
29937,
263,
350,
7230,
29899,
3293,
19405,
393,
508,
367,
1476,
297,
278,
365,
2965,
1430,
1660,
934,
29889,
13,
13,
5215,
10876,
13,
13,
5215,
12655,
408,
7442,
13,
13,
5215,
274,
8768,
13,
13,
3166,
869,
1526,
29875,
1053,
16379,
1806,
342,
8259,
13,
13,
3166,
6317,
8173,
1053,
28540,
13,
13,
3166,
6317,
13239,
1053,
838,
12961,
29943,
29953,
29946,
29892,
2626,
12276,
13,
13,
13,
1990,
28540,
3057,
29898,
3580,
1806,
342,
8259,
1125,
13,
1678,
822,
731,
3373,
29898,
1311,
1125,
13,
4706,
1583,
29889,
1983,
1160,
353,
29871,
29896,
29900,
29900,
29900,
13,
4706,
1583,
29889,
29885,
1590,
29891,
2167,
353,
29871,
29896,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
13,
4706,
1583,
29889,
6954,
29876,
9721,
353,
29871,
29896,
29900,
29900,
13,
4706,
1583,
29889,
8173,
353,
28540,
29898,
29886,
962,
331,
29922,
8824,
29897,
13,
4706,
1583,
29889,
2272,
8173,
353,
28540,
29898,
29886,
962,
331,
29922,
5574,
29897,
13,
4706,
1583,
29889,
8768,
353,
426,
13,
9651,
376,
29888,
29953,
29946,
1115,
7442,
29889,
7411,
29953,
29946,
29892,
13,
9651,
376,
29888,
29941,
29906,
1115,
7442,
29889,
7411,
29941,
29906,
29892,
13,
9651,
376,
29875,
29953,
29946,
1115,
7442,
29889,
524,
29953,
29946,
29892,
13,
9651,
376,
29884,
29953,
29946,
1115,
7442,
29889,
13470,
29953,
29946,
29892,
13,
9651,
376,
29875,
29941,
29906,
1115,
7442,
29889,
524,
29941,
29906,
29892,
13,
9651,
376,
29884,
29941,
29906,
1115,
7442,
29889,
13470,
29941,
29906,
29892,
13,
9651,
376,
29875,
29896,
29953,
1115,
7442,
29889,
524,
29896,
29953,
29892,
13,
9651,
376,
29884,
29896,
29953,
1115,
7442,
29889,
13470,
29896,
29953,
29892,
13,
9651,
376,
29875,
29947,
1115,
7442,
29889,
524,
29947,
29892,
13,
9651,
376,
29884,
29947,
1115,
7442,
29889,
13470,
29947,
29892,
13,
4706,
500,
13,
13,
1678,
822,
734,
279,
6767,
29898,
1311,
1125,
13,
4706,
628,
1583,
29889,
8173,
13,
4706,
628,
1583,
29889,
2272,
8173,
13,
13,
1678,
822,
1243,
29918,
8977,
29918,
13248,
29898,
1311,
1125,
13,
4706,
7090,
353,
28540,
580,
13,
4706,
7090,
3366,
7340,
29874,
3108,
353,
7442,
29889,
279,
927,
29898,
29896,
29900,
29897,
13,
4706,
7090,
3366,
26854,
3108,
353,
7442,
29889,
279,
927,
29898,
29896,
29900,
29897,
718,
29871,
29896,
29900,
13,
4706,
1583,
29889,
9294,
5574,
703,
7340,
29874,
29908,
297,
7090,
29897,
13,
4706,
1583,
29889,
9294,
8824,
703,
1327,
29890,
29908,
297,
7090,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2435,
29898,
8173,
511,
29871,
29906,
29897,
13,
4706,
302,
353,
29871,
29900,
13,
4706,
363,
921,
297,
7090,
29901,
13,
9651,
302,
4619,
29871,
29896,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2435,
29898,
8173,
511,
302,
29897,
13,
4706,
628,
7090,
3366,
7340,
29874,
3108,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2435,
29898,
8173,
511,
302,
448,
29871,
29896,
29897,
13,
4706,
736,
13,
13,
1678,
822,
1243,
29918,
999,
2798,
29898,
1311,
1125,
13,
4706,
18392,
353,
838,
12961,
29943,
29953,
29946,
29889,
3298,
359,
29898,
1311,
29889,
1983,
1160,
29897,
13,
4706,
396,
1596,
703,
1525,
8610,
20321,
29901,
9162,
10876,
29889,
657,
999,
2798,
29898,
9721,
511,
28371,
29922,
5574,
29897,
13,
4706,
396,
281,
9721,
29896,
353,
18392,
29889,
25129,
580,
13,
4706,
396,
1596,
703,
1525,
8610,
20321,
29871,
29896,
29901,
9162,
10876,
29889,
657,
999,
2798,
29898,
9721,
511,
28371,
29922,
5574,
29897,
13,
4706,
396,
281,
9721,
29906,
353,
18392,
29889,
25129,
580,
13,
4706,
396,
1596,
703,
1525,
8610,
20321,
29871,
29906,
29901,
9162,
10876,
29889,
657,
999,
2798,
29898,
9721,
511,
28371,
29922,
5574,
29897,
13,
13,
4706,
736,
13,
13,
1678,
822,
1243,
29918,
3258,
29898,
1311,
1125,
13,
4706,
363,
413,
29892,
325,
297,
1583,
29889,
8768,
29889,
7076,
7295,
13,
9651,
2143,
353,
1583,
29889,
8173,
29889,
3258,
703,
1688,
29899,
8875,
1642,
4830,
29898,
29895,
511,
325,
29892,
313,
1311,
29889,
1983,
1160,
29892,
29871,
29946,
876,
13,
9651,
628,
2143,
13,
13,
4706,
363,
413,
29892,
325,
297,
1583,
29889,
8768,
29889,
7076,
7295,
13,
9651,
848,
353,
1583,
29889,
8173,
29889,
5679,
703,
1688,
29899,
8875,
1642,
4830,
29898,
29895,
876,
13,
9651,
848,
7503,
29962,
4619,
7442,
29889,
14358,
29898,
9302,
29889,
279,
927,
29898,
1311,
29889,
1983,
1160,
29892,
26688,
29922,
29894,
511,
29871,
29946,
467,
690,
14443,
6278,
29896,
29892,
29871,
29946,
29897,
13,
9651,
628,
848,
13,
13,
4706,
363,
413,
29892,
325,
297,
1583,
29889,
8768,
29889,
7076,
7295,
13,
9651,
429,
353,
1583,
29889,
8173,
29889,
9933,
703,
1688,
29899,
8875,
1642,
4830,
29898,
29895,
876,
13,
9651,
1583,
29889,
9294,
5574,
29898,
735,
29897,
13,
13,
4706,
363,
413,
29892,
325,
297,
1583,
29889,
8768,
29889,
7076,
7295,
13,
9651,
1583,
29889,
8173,
29889,
20524,
703,
1688,
29899,
8875,
1642,
4830,
29898,
29895,
876,
13,
13,
4706,
1583,
29889,
8173,
29889,
8551,
580,
13,
13,
4706,
363,
413,
29892,
325,
297,
1583,
29889,
8768,
29889,
7076,
7295,
13,
9651,
2143,
353,
1583,
29889,
2272,
8173,
29889,
3258,
703,
1688,
29899,
8875,
1642,
4830,
29898,
29895,
511,
325,
29892,
313,
1311,
29889,
1983,
1160,
29892,
29871,
29946,
876,
13,
9651,
628,
2143,
13,
13,
4706,
363,
413,
29892,
325,
297,
1583,
29889,
8768,
29889,
7076,
7295,
13,
9651,
848,
353,
1583,
29889,
2272,
8173,
29889,
5679,
703,
1688,
29899,
8875,
1642,
4830,
29898,
29895,
876,
13,
9651,
848,
7503,
29962,
4619,
7442,
29889,
14358,
29898,
9302,
29889,
279,
927,
29898,
1311,
29889,
1983,
1160,
29892,
26688,
29922,
29894,
511,
29871,
29946,
467,
690,
14443,
6278,
29896,
29892,
29871,
29946,
29897,
13,
9651,
628,
848,
13,
13,
4706,
363,
413,
29892,
325,
297,
1583,
29889,
8768,
29889,
7076,
7295,
13,
9651,
429,
353,
1583,
29889,
2272,
8173,
29889,
9933,
703,
1688,
29899,
8875,
1642,
4830,
29898,
29895,
876,
13,
9651,
1583,
29889,
9294,
5574,
29898,
735,
29897,
13,
13,
4706,
363,
413,
29892,
325,
297,
1583,
29889,
8768,
29889,
7076,
7295,
13,
9651,
1583,
29889,
2272,
8173,
29889,
20524,
703,
1688,
29899,
8875,
1642,
4830,
29898,
29895,
876,
13,
13,
4706,
1583,
29889,
2272,
8173,
29889,
8551,
580,
13,
4706,
736,
13,
13,
1678,
822,
1243,
29918,
649,
29898,
1311,
1125,
13,
4706,
396,
6977,
5987,
777,
20487,
414,
13,
4706,
363,
413,
29892,
325,
297,
1583,
29889,
8768,
29889,
7076,
7295,
13,
9651,
282,
978,
353,
376,
1688,
29899,
8875,
1642,
4830,
29898,
29895,
29897,
13,
9651,
282,
1272,
353,
7442,
29889,
2873,
3552,
1311,
29889,
1983,
1160,
29892,
29871,
29946,
511,
325,
29897,
13,
9651,
2143,
353,
1583,
29889,
8173,
29889,
649,
29898,
29886,
978,
29892,
282,
1272,
29897,
13,
9651,
628,
2143,
13,
13,
4706,
396,
4321,
10594,
278,
1021,
6835,
29899,
372,
881,
925,
736,
263,
716,
1409,
13,
4706,
396,
28489,
278,
1021,
14407,
3370,
29889,
13,
4706,
363,
413,
29892,
325,
297,
1583,
29889,
8768,
29889,
7076,
7295,
13,
9651,
282,
978,
353,
376,
1688,
29899,
8875,
1642,
4830,
29898,
29895,
29897,
13,
9651,
282,
1272,
353,
7442,
29889,
2873,
3552,
1311,
29889,
1983,
1160,
29892,
29871,
29946,
511,
325,
29897,
13,
9651,
2143,
353,
1583,
29889,
8173,
29889,
5679,
29898,
29886,
978,
29897,
13,
9651,
3509,
999,
353,
1583,
29889,
8173,
29889,
649,
29898,
29886,
978,
29892,
2143,
29897,
13,
9651,
2143,
29918,
29886,
593,
353,
2143,
29889,
312,
7384,
29889,
1272,
29918,
294,
29898,
312,
7384,
29889,
29883,
29918,
5405,
29918,
29886,
467,
1767,
13,
9651,
3509,
999,
29918,
29886,
593,
353,
3509,
999,
29889,
312,
7384,
29889,
1272,
29918,
294,
29898,
312,
7384,
29889,
29883,
29918,
5405,
29918,
29886,
467,
1767,
13,
9651,
1583,
29889,
9294,
5574,
29898,
999,
29918,
29886,
593,
1275,
3509,
999,
29918,
29886,
593,
29897,
13,
9651,
628,
2143,
13,
9651,
628,
3509,
999,
13,
13,
4706,
396,
4321,
16920,
310,
20487,
414,
411,
278,
1021,
1024,
13,
4706,
363,
413,
29892,
325,
297,
1583,
29889,
8768,
29889,
7076,
7295,
13,
9651,
282,
978,
353,
376,
1688,
29899,
8875,
1642,
4830,
29898,
29895,
29897,
13,
9651,
282,
1272,
353,
7442,
29889,
2873,
3552,
1311,
29889,
1983,
1160,
29892,
29871,
29947,
511,
325,
29897,
13,
9651,
1018,
29901,
13,
18884,
396,
910,
881,
12020,
29899,
1021,
1024,
408,
5923,
6835,
29892,
541,
13,
18884,
396,
5191,
1275,
7700,
13,
18884,
2143,
353,
1583,
29889,
8173,
29889,
649,
29898,
29886,
978,
29892,
282,
1272,
29897,
13,
18884,
628,
2143,
13,
18884,
1583,
29889,
9294,
5574,
29898,
8824,
29897,
13,
9651,
5174,
24875,
2392,
29901,
13,
18884,
396,
21397,
29991,
13,
18884,
1209,
13,
9651,
396,
910,
881,
664,
13,
9651,
2143,
353,
1583,
29889,
8173,
29889,
649,
29898,
29886,
978,
29892,
282,
1272,
29892,
5191,
29922,
5574,
29897,
13,
9651,
628,
2143,
13,
13,
4706,
1583,
29889,
8173,
29889,
8551,
580,
13,
13,
4706,
396,
6977,
5987,
777,
20487,
414,
13,
4706,
363,
413,
29892,
325,
297,
1583,
29889,
8768,
29889,
7076,
7295,
13,
9651,
282,
978,
353,
376,
1688,
29899,
8875,
1642,
4830,
29898,
29895,
29897,
13,
9651,
282,
1272,
353,
7442,
29889,
2873,
3552,
1311,
29889,
1983,
1160,
29892,
29871,
29946,
511,
325,
29897,
13,
9651,
2143,
353,
1583,
29889,
2272,
8173,
29889,
649,
29898,
29886,
978,
29892,
282,
1272,
29897,
13,
9651,
628,
2143,
13,
13,
4706,
396,
4321,
10594,
278,
1021,
6835,
29899,
372,
881,
925,
736,
263,
716,
1409,
13,
4706,
396,
28489,
278,
1021,
14407,
3370,
29889,
13,
4706,
363,
413,
29892,
325,
297,
1583,
29889,
8768,
29889,
7076,
7295,
13,
9651,
282,
978,
353,
376,
1688,
29899,
8875,
1642,
4830,
29898,
29895,
29897,
13,
9651,
282,
1272,
353,
7442,
29889,
2873,
3552,
1311,
29889,
1983,
1160,
29892,
29871,
29946,
511,
325,
29897,
13,
9651,
2143,
353,
1583,
29889,
2272,
8173,
29889,
5679,
29898,
29886,
978,
29897,
13,
9651,
3509,
999,
353,
1583,
29889,
2272,
8173,
29889,
649,
29898,
29886,
978,
29892,
2143,
29897,
13,
9651,
2143,
29918,
29886,
593,
353,
2143,
29889,
312,
7384,
29889,
1272,
29918,
294,
29898,
312,
7384,
29889,
29883,
29918,
5405,
29918,
29886,
467,
1767,
13,
9651,
3509,
999,
29918,
29886,
593,
353,
3509,
999,
29889,
312,
7384,
29889,
1272,
29918,
294,
29898,
312,
7384,
29889,
29883,
29918,
5405,
29918,
29886,
467,
1767,
13,
9651,
1583,
29889,
9294,
5574,
29898,
999,
29918,
29886,
593,
1275,
3509,
999,
29918,
29886,
593,
29897,
13,
9651,
628,
2143,
13,
9651,
628,
3509,
999,
13,
13,
4706,
396,
4321,
16920,
310,
20487,
414,
411,
278,
1021,
1024,
13,
4706,
363,
413,
29892,
325,
297,
1583,
29889,
8768,
29889,
7076,
7295,
13,
9651,
282,
978,
353,
376,
1688,
29899,
8875,
1642,
4830,
29898,
29895,
29897,
13,
9651,
282,
1272,
353,
7442,
29889,
2873,
3552,
1311,
29889,
1983,
1160,
29892,
29871,
29947,
511,
325,
29897,
13,
9651,
1018,
29901,
13,
18884,
396,
910,
881,
12020,
29899,
1021,
1024,
408,
5923,
6835,
29892,
541,
13,
18884,
396,
5191,
1275,
7700,
13,
18884,
2143,
353,
1583,
29889,
2272,
8173,
29889,
649,
29898,
29886,
978,
29892,
282,
1272,
29897,
13,
18884,
628,
2143,
13,
18884,
1583,
29889,
9294,
5574,
29898,
8824,
29897,
13,
9651,
5174,
24875,
2392,
29901,
13,
18884,
396,
21397,
29991,
13,
18884,
1209,
13,
9651,
396,
910,
881,
664,
13,
9651,
2143,
353,
1583,
29889,
2272,
8173,
29889,
649,
29898,
29886,
978,
29892,
282,
1272,
29892,
5191,
29922,
5574,
29897,
13,
9651,
628,
2143,
13,
13,
4706,
1583,
29889,
2272,
8173,
29889,
8551,
580,
13,
4706,
736,
13,
13,
1678,
822,
1243,
29918,
3258,
29918,
9290,
29898,
1311,
1125,
13,
4706,
1018,
29901,
13,
9651,
2143,
353,
1583,
29889,
8173,
29889,
3258,
29898,
8516,
29892,
7442,
29889,
7411,
29892,
313,
29896,
29892,
29871,
29896,
29900,
876,
13,
9651,
628,
2143,
13,
9651,
2143,
353,
1583,
29889,
2272,
8173,
29889,
3258,
29898,
8516,
29892,
7442,
29889,
7411,
29892,
313,
29896,
29892,
29871,
29896,
29900,
876,
13,
9651,
628,
2143,
13,
9651,
12020,
24875,
2392,
703,
9832,
1218,
1203,
411,
6213,
1820,
14792,
1159,
13,
4706,
5174,
7865,
2392,
29901,
13,
9651,
1209,
13,
13,
4706,
1583,
29889,
8173,
29889,
8551,
580,
13,
4706,
1583,
29889,
2272,
8173,
29889,
8551,
580,
13,
4706,
736,
13,
13,
1678,
822,
1243,
29918,
649,
29918,
9290,
29898,
1311,
1125,
13,
4706,
1018,
29901,
13,
9651,
2143,
353,
1583,
29889,
8173,
29889,
649,
29898,
8516,
29892,
7442,
29889,
7411,
29892,
7442,
29889,
279,
927,
29898,
29896,
29900,
876,
13,
9651,
628,
2143,
13,
9651,
2143,
353,
1583,
29889,
2272,
8173,
29889,
649,
29898,
8516,
29892,
7442,
29889,
7411,
29892,
7442,
29889,
279,
927,
29898,
29896,
29900,
876,
13,
9651,
628,
2143,
13,
9651,
12020,
24875,
2392,
703,
22908,
1259,
385,
1203,
411,
6213,
1820,
14792,
1159,
13,
4706,
5174,
7865,
2392,
29901,
13,
9651,
1209,
13,
13,
4706,
1583,
29889,
8173,
29889,
8551,
580,
13,
4706,
1583,
29889,
2272,
8173,
29889,
8551,
580,
13,
4706,
736,
13,
13,
1678,
822,
1243,
29918,
8551,
29898,
1311,
1125,
13,
4706,
363,
413,
29892,
325,
297,
1583,
29889,
8768,
29889,
7076,
7295,
13,
9651,
2143,
353,
1583,
29889,
8173,
29889,
3258,
703,
1688,
29899,
8875,
1642,
4830,
29898,
29895,
511,
325,
29892,
313,
1311,
29889,
1983,
1160,
29892,
29871,
29946,
876,
13,
9651,
628,
2143,
13,
9651,
2143,
353,
1583,
29889,
2272,
8173,
29889,
3258,
703,
1688,
29899,
8875,
1642,
4830,
29898,
29895,
511,
325,
29892,
313,
1311,
29889,
1983,
1160,
29892,
29871,
29946,
876,
13,
9651,
628,
2143,
13,
4706,
1583,
29889,
8173,
29889,
8551,
580,
13,
4706,
1583,
29889,
2272,
8173,
29889,
8551,
580,
13,
4706,
736,
13,
13,
1678,
822,
1243,
29918,
19973,
29898,
1311,
1125,
13,
4706,
2143,
353,
1583,
29889,
8173,
29889,
649,
703,
1688,
613,
7442,
29889,
279,
927,
29898,
29896,
29900,
876,
13,
4706,
628,
2143,
13,
13,
4706,
1583,
29889,
8173,
29889,
1202,
29918,
19973,
703,
1688,
29899,
19973,
613,
376,
1688,
1159,
13,
4706,
1583,
29889,
8173,
29889,
1202,
29918,
19973,
703,
1688,
29899,
19973,
29899,
29906,
613,
376,
1688,
1159,
13,
13,
4706,
848,
353,
1583,
29889,
8173,
29889,
5679,
703,
1688,
29899,
19973,
1159,
13,
4706,
628,
848,
13,
13,
4706,
1583,
29889,
8173,
29889,
20524,
703,
1688,
29899,
19973,
1159,
13,
13,
4706,
848,
353,
1583,
29889,
8173,
29889,
5679,
703,
1688,
29899,
19973,
29899,
29906,
1159,
13,
4706,
628,
848,
13,
13,
4706,
1583,
29889,
8173,
29889,
20524,
703,
1688,
1159,
13,
13,
4706,
429,
353,
1583,
29889,
8173,
29889,
9933,
703,
1688,
29899,
19973,
29899,
29906,
1159,
13,
4706,
1583,
29889,
9294,
8824,
29898,
735,
29897,
13,
13,
4706,
1583,
29889,
8173,
29889,
8551,
580,
13,
13,
4706,
2143,
353,
1583,
29889,
2272,
8173,
29889,
649,
703,
1688,
613,
7442,
29889,
279,
927,
29898,
29896,
29900,
876,
13,
4706,
628,
2143,
13,
13,
4706,
1583,
29889,
2272,
8173,
29889,
1202,
29918,
19973,
703,
1688,
29899,
19973,
613,
376,
1688,
1159,
13,
4706,
1583,
29889,
2272,
8173,
29889,
1202,
29918,
19973,
703,
1688,
29899,
19973,
29899,
29906,
613,
376,
1688,
1159,
13,
13,
4706,
848,
353,
1583,
29889,
2272,
8173,
29889,
5679,
703,
1688,
29899,
19973,
1159,
13,
4706,
628,
848,
13,
13,
4706,
1583,
29889,
2272,
8173,
29889,
20524,
703,
1688,
29899,
19973,
1159,
13,
13,
4706,
848,
353,
1583,
29889,
2272,
8173,
29889,
5679,
703,
1688,
29899,
19973,
29899,
29906,
1159,
13,
4706,
628,
848,
13,
13,
4706,
1583,
29889,
2272,
8173,
29889,
20524,
703,
1688,
1159,
13,
13,
4706,
429,
353,
1583,
29889,
2272,
8173,
29889,
9933,
703,
1688,
29899,
19973,
29899,
29906,
1159,
13,
4706,
1583,
29889,
9294,
8824,
29898,
735,
29897,
13,
13,
4706,
1583,
29889,
2272,
8173,
29889,
8551,
580,
13,
4706,
736,
13,
13,
1678,
822,
1243,
29918,
6954,
9021,
29898,
1311,
1125,
13,
4706,
2626,
12276,
29898,
2055,
29922,
1311,
29889,
2055,
29892,
10191,
543,
18743,
2919,
6835,
11265,
1159,
13,
4706,
2626,
8173,
353,
28540,
29898,
29886,
962,
331,
29922,
8824,
29897,
13,
4706,
2143,
353,
2626,
8173,
29889,
3258,
703,
1688,
29899,
3752,
613,
7442,
29889,
13470,
29947,
29892,
313,
1311,
29889,
29885,
1590,
29891,
2167,
29892,
876,
13,
4706,
628,
2143,
13,
13,
4706,
2626,
12276,
29898,
2055,
29922,
1311,
29889,
2055,
29892,
10191,
543,
13555,
2919,
6835,
11265,
1159,
13,
13,
4706,
2626,
353,
2626,
8173,
29889,
12276,
29898,
25590,
296,
29922,
5574,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
6954,
29892,
1583,
29889,
29885,
1590,
29891,
2167,
29897,
13,
4706,
1596,
703,
10408,
1286,
756,
6571,
6262,
1642,
4830,
29898,
6954,
511,
28371,
29922,
5574,
29897,
13,
13,
4706,
2626,
8173,
29889,
8551,
580,
13,
13,
4706,
2626,
12276,
29898,
2055,
29922,
1311,
29889,
2055,
29892,
10191,
543,
13555,
7090,
2821,
1159,
13,
4706,
2626,
353,
2626,
8173,
29889,
12276,
29898,
25590,
296,
29922,
5574,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
6954,
29892,
29871,
29900,
29897,
13,
4706,
1596,
703,
10408,
1286,
756,
6571,
6262,
1642,
4830,
29898,
6954,
511,
28371,
29922,
5574,
29897,
13,
13,
4706,
2319,
13193,
353,
1583,
29889,
29885,
1590,
29891,
2167,
849,
1583,
29889,
6954,
29876,
9721,
13,
4706,
363,
474,
297,
3464,
29898,
1311,
29889,
6954,
29876,
9721,
1125,
13,
9651,
1024,
353,
376,
1688,
29899,
9278,
648,
29913,
1642,
4830,
29898,
29875,
29897,
13,
9651,
2143,
353,
2626,
8173,
29889,
3258,
29898,
978,
29892,
7442,
29889,
13470,
29947,
29892,
313,
9278,
13193,
29892,
876,
13,
9651,
628,
2143,
13,
13,
4706,
2626,
12276,
29898,
13,
9651,
844,
29922,
1311,
29889,
2055,
29892,
13,
9651,
10191,
543,
13555,
11265,
310,
6571,
2319,
20487,
414,
1642,
4830,
29898,
1311,
29889,
6954,
29876,
9721,
511,
13,
4706,
1723,
13,
4706,
2626,
353,
2626,
8173,
29889,
12276,
29898,
25590,
296,
29922,
5574,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
6954,
29892,
1583,
29889,
6954,
29876,
9721,
334,
2319,
13193,
29897,
13,
4706,
1596,
703,
10408,
1286,
756,
6571,
6262,
1642,
4830,
29898,
6954,
511,
28371,
29922,
5574,
29897,
13,
13,
4706,
2626,
8173,
29889,
8551,
580,
13,
4706,
2626,
12276,
29898,
2055,
29922,
1311,
29889,
2055,
29892,
10191,
543,
13555,
7090,
2821,
1159,
13,
4706,
2626,
353,
2626,
8173,
29889,
12276,
29898,
25590,
296,
29922,
5574,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
6954,
29892,
29871,
29900,
29897,
13,
4706,
1596,
703,
10408,
1286,
756,
6571,
6262,
1642,
4830,
29898,
6954,
511,
28371,
29922,
5574,
29897,
13,
2
] |
Others/Source/02/2.2/print_test.py | silence0201/Learn-Python | 1 | 161098 | # coding: utf-8
#########################################################################
# 网站: <a href="http://www.crazyit.org">疯狂Java联盟</a> #
# author yeeku.H.lee <EMAIL> #
# #
# version 1.0 #
# #
# Copyright (C), 2001-2018, yeeku.H.Lee #
# #
# This program is protected by copyright laws. #
# #
# Program Name: #
# #
# <br>Date: #
#########################################################################
user_name = 'Charlie'
user_age = 8
# 同时输出多个变量和字符串
print("读者名:" , user_name, "年龄:", user_age)
# 同时输出多个变量和字符串,指定分隔符
print("读者名:" , user_name, "年龄:", user_age, sep='|')
# 指定end参数,指定输出之后不再换行
print(40, '\t', end="")
print(50, '\t', end="")
print(60, '\t', end="")
f = open("poem.txt", "w") # 打开文件以便写入
print('沧海月明珠有泪', file=f)
print('蓝田日暖玉生烟', file=f)
f.close() | [
1,
396,
14137,
29901,
23616,
29899,
29947,
30004,
13,
13383,
13383,
13383,
13383,
7346,
29937,
30004,
13,
29937,
29871,
31222,
31433,
29901,
529,
29874,
2822,
543,
1124,
597,
1636,
29889,
26844,
1537,
277,
29889,
990,
1013,
234,
153,
178,
234,
142,
133,
8404,
31986,
234,
158,
162,
829,
29874,
29958,
1669,
396,
30004,
13,
29937,
4148,
8007,
1416,
29884,
29889,
29950,
29889,
17179,
529,
26862,
6227,
29958,
462,
462,
29871,
396,
30004,
13,
29937,
462,
462,
462,
462,
539,
396,
30004,
13,
29937,
1873,
29871,
29896,
29889,
29900,
462,
462,
462,
965,
396,
30004,
13,
29937,
462,
462,
462,
462,
539,
396,
30004,
13,
29937,
14187,
1266,
313,
29907,
511,
29871,
29906,
29900,
29900,
29896,
29899,
29906,
29900,
29896,
29947,
29892,
8007,
1416,
29884,
29889,
29950,
29889,
3226,
29872,
462,
462,
396,
30004,
13,
29937,
462,
462,
462,
462,
539,
396,
30004,
13,
29937,
910,
1824,
338,
6364,
491,
3509,
1266,
14243,
29889,
462,
3986,
396,
30004,
13,
29937,
462,
462,
462,
462,
539,
396,
30004,
13,
29937,
7835,
4408,
29901,
462,
462,
462,
308,
396,
30004,
13,
29937,
462,
462,
462,
462,
539,
396,
30004,
13,
29937,
529,
1182,
29958,
2539,
29901,
462,
462,
462,
632,
396,
30004,
13,
13383,
13383,
13383,
13383,
7346,
29937,
30004,
13,
1792,
29918,
978,
353,
525,
5914,
3197,
29915,
30004,
13,
1792,
29918,
482,
353,
29871,
29947,
30004,
13,
29937,
29871,
30980,
30594,
31573,
30544,
30923,
30502,
31462,
31180,
30503,
30578,
31277,
31767,
30004,
13,
2158,
703,
235,
178,
190,
30767,
30548,
6160,
1919,
1404,
29918,
978,
29892,
376,
30470,
236,
193,
135,
29901,
613,
1404,
29918,
482,
8443,
13,
29937,
29871,
30980,
30594,
31573,
30544,
30923,
30502,
31462,
31180,
30503,
30578,
31277,
31767,
30214,
31084,
30495,
30748,
236,
157,
151,
31277,
30004,
13,
2158,
703,
235,
178,
190,
30767,
30548,
6160,
1919,
1404,
29918,
978,
29892,
376,
30470,
236,
193,
135,
29901,
613,
1404,
29918,
482,
29892,
16345,
2433,
29989,
1495,
30004,
13,
29937,
29871,
31084,
30495,
355,
31125,
30354,
30214,
31084,
30495,
31573,
30544,
30577,
30822,
30413,
31733,
31640,
30448,
30004,
13,
2158,
29898,
29946,
29900,
29892,
11297,
29873,
742,
1095,
543,
1159,
30004,
13,
2158,
29898,
29945,
29900,
29892,
11297,
29873,
742,
1095,
543,
1159,
30004,
13,
2158,
29898,
29953,
29900,
29892,
11297,
29873,
742,
1095,
543,
1159,
30004,
13,
29888,
353,
1722,
703,
1129,
331,
29889,
3945,
613,
376,
29893,
1159,
396,
29871,
31656,
31026,
30333,
30631,
30651,
231,
193,
194,
31479,
30752,
30004,
13,
2158,
877,
233,
181,
170,
30581,
30534,
30592,
234,
146,
163,
30417,
233,
182,
173,
742,
934,
29922,
29888,
8443,
13,
2158,
877,
235,
150,
160,
30395,
30325,
233,
157,
153,
31395,
30486,
234,
134,
162,
742,
934,
29922,
29888,
8443,
13,
29888,
29889,
5358,
580,
2
] |
src/tag_spy/http_client.py | DD-DeCaF/tag-spy | 0 | 129776 | # Copyright 2020 Novo Nordisk Foundation Center for Biosustainability,
# Technical University of Denmark.
#
# 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
#
# https://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.
"""Provide an HTTP client for making requests."""
import gzip
import json
import logging
import zlib
from http.client import HTTPResponse
from typing import Dict, List, Optional, Union
from urllib.parse import urlencode, urljoin, urlsplit, urlunsplit
from urllib.request import OpenerDirector, Request
logger = logging.getLogger(__name__)
class Response:
"""
Define an HTTP response class.
This class should not have to be instantiated directly.
Attributes:
status (int): The numeric HTTP status code of the response.
body (bytes): The raw body of the response as bytes.
Methods:
json: Deserialize the response's body as JSON and return the object.
"""
def __init__(self, *, response: HTTPResponse, **kwargs) -> None:
"""
Initialize an HTTP response object.
Args:
response (http.client.HTTPResponse): A standard library response that is
wrapped by this object.
**kwargs: Passed to parent classes.
"""
super().__init__(**kwargs) # type: ignore
self._response = response
# Immediately read the body while the response context is still available.
self._body = self._content()
def _content(self) -> bytes:
"""Return the response body and decompress it if required."""
if self._response.getheader("Content-Encoding", "").lower() == "gzip":
return gzip.decompress(self._response.read())
elif self._response.getheader("Content-Encoding", "").lower() == "deflate":
return zlib.decompress(self._response.read())
else:
return self._response.read()
@property
def status(self) -> int:
"""Get the response's HTTP status code."""
return self._response.status
@property
def body(self) -> bytes:
"""Get the response's raw body content as bytes."""
return self._body
def json(self) -> Union[Dict, List, str]:
"""Deserialize the response's body as JSON and return the object."""
if len(self.body) == 0:
return ""
try:
return json.loads(self.body) # type: ignore
except json.JSONDecodeError:
logger.debug(self.body)
raise
class Client:
"""
Define an HTTP client for making requests.
Methods:
get: Make an HTTP GET request and return the response.
"""
def __init__(
self,
*,
opener: OpenerDirector,
base_url: str,
token: Optional[str] = None,
**kwargs,
) -> None:
"""
Initialize an HTTP client with a base URL.
Args:
opener (urllib.request.OpenerDirector): The opener with attached handlers
and headers for calling the URL.
base_url (str): The base URL for all future requests.
token (str, optional): A bearer access token.
**kwargs: Passed to parent constructors.
"""
super().__init__(**kwargs) # type: ignore
self._opener = opener
self._parts = urlsplit(base_url)
self.token = token
def _build_request(
self, path: Optional[str] = None, params: Optional[Dict[str, str]] = None,
) -> Request:
"""Construct a correctly encoded URL from its parts."""
url = self._parts
if path is not None:
url = url._replace(path=urljoin(url.path, path))
if params is not None:
url = url._replace(query=urlencode(params))
request = Request(urlunsplit(url))
if self.token:
request.add_unredirected_header("Authorization", f"Bearer {self.token}")
return request
def get(
self,
path: Optional[str] = None,
params: Optional[Dict[str, str]] = None,
**kwargs,
) -> Response:
"""
Make an HTTP GET request and return the response.
Args:
path (str, optional): An optional relative or absolute URL path to modify
the base URL.
params (dict, optional): An optional mapping from query parameter names to
their values.
Returns:
Response: An HTTP response instance.
"""
logger.debug("Making GET request to %r.", self._build_request(path, params))
with self._opener.open(self._build_request(path, params), **kwargs) as response:
logger.debug("%r", response.geturl())
logger.debug("%d %s", response.status, response.reason)
logger.debug("HTTP Headers\n%s", response.info())
# Must be returned within the context such that the response body is
# available for reading.
return Response(response=response)
| [
1,
396,
14187,
1266,
29871,
29906,
29900,
29906,
29900,
2864,
29877,
5245,
3873,
10606,
7817,
363,
350,
2363,
504,
475,
3097,
29892,
13,
29937,
8364,
936,
3014,
310,
3384,
3502,
29889,
13,
29937,
13,
29937,
10413,
21144,
1090,
278,
13380,
19245,
29892,
10079,
29871,
29906,
29889,
29900,
313,
1552,
376,
29931,
293,
1947,
1496,
13,
29937,
366,
1122,
451,
671,
445,
934,
5174,
297,
752,
13036,
411,
278,
19245,
29889,
13,
29937,
887,
1122,
4017,
263,
3509,
310,
278,
19245,
472,
13,
29937,
13,
29937,
268,
2045,
597,
1636,
29889,
4288,
29889,
990,
29914,
506,
11259,
29914,
27888,
1430,
1660,
29899,
29906,
29889,
29900,
13,
29937,
13,
29937,
25870,
3734,
491,
22903,
4307,
470,
15502,
304,
297,
5007,
29892,
7047,
13,
29937,
13235,
1090,
278,
19245,
338,
13235,
373,
385,
376,
3289,
8519,
29908,
350,
3289,
3235,
29892,
13,
29937,
399,
1806,
8187,
2692,
399,
1718,
29934,
13566,
29059,
6323,
8707,
29928,
22122,
29903,
8079,
13764,
29979,
476,
22255,
29892,
2845,
4653,
470,
2411,
2957,
29889,
13,
29937,
2823,
278,
19245,
363,
278,
2702,
4086,
14765,
1076,
11239,
322,
13,
29937,
27028,
1090,
278,
19245,
29889,
13,
13,
13,
15945,
29908,
1184,
29894,
680,
385,
7331,
3132,
363,
3907,
7274,
1213,
15945,
13,
13,
13,
5215,
330,
7554,
13,
5215,
4390,
13,
5215,
12183,
13,
5215,
503,
1982,
13,
3166,
1732,
29889,
4645,
1053,
7331,
5103,
13,
3166,
19229,
1053,
360,
919,
29892,
2391,
29892,
28379,
29892,
7761,
13,
3166,
3142,
1982,
29889,
5510,
1053,
3142,
12508,
29892,
3142,
7122,
29892,
3142,
5451,
29892,
3142,
348,
5451,
13,
3166,
3142,
1982,
29889,
3827,
1053,
6461,
759,
17392,
272,
29892,
10729,
13,
13,
13,
21707,
353,
12183,
29889,
657,
16363,
22168,
978,
1649,
29897,
13,
13,
13,
1990,
13291,
29901,
13,
1678,
9995,
13,
1678,
22402,
385,
7331,
2933,
770,
29889,
13,
13,
1678,
910,
770,
881,
451,
505,
304,
367,
13213,
630,
4153,
29889,
13,
13,
1678,
6212,
5026,
29901,
13,
4706,
4660,
313,
524,
1125,
450,
16985,
7331,
4660,
775,
310,
278,
2933,
29889,
13,
4706,
3573,
313,
13193,
1125,
450,
10650,
3573,
310,
278,
2933,
408,
6262,
29889,
13,
13,
1678,
8108,
29879,
29901,
13,
4706,
4390,
29901,
2726,
261,
6646,
278,
2933,
29915,
29879,
3573,
408,
4663,
322,
736,
278,
1203,
29889,
13,
13,
1678,
9995,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
334,
29892,
2933,
29901,
7331,
5103,
29892,
3579,
19290,
29897,
1599,
6213,
29901,
13,
4706,
9995,
13,
4706,
25455,
385,
7331,
2933,
1203,
29889,
13,
13,
4706,
826,
3174,
29901,
13,
9651,
2933,
313,
1124,
29889,
4645,
29889,
10493,
5103,
1125,
319,
3918,
3489,
2933,
393,
338,
13,
18884,
21021,
491,
445,
1203,
29889,
13,
9651,
3579,
19290,
29901,
6978,
287,
304,
3847,
4413,
29889,
13,
4706,
9995,
13,
4706,
2428,
2141,
1649,
2344,
12035,
1068,
19290,
29897,
29871,
396,
1134,
29901,
11455,
13,
4706,
1583,
3032,
5327,
353,
2933,
13,
4706,
396,
1954,
4210,
2486,
1303,
278,
3573,
1550,
278,
2933,
3030,
338,
1603,
3625,
29889,
13,
4706,
1583,
3032,
2587,
353,
1583,
3032,
3051,
580,
13,
13,
1678,
822,
903,
3051,
29898,
1311,
29897,
1599,
6262,
29901,
13,
4706,
9995,
11609,
278,
2933,
3573,
322,
17753,
2139,
372,
565,
3734,
1213,
15945,
13,
4706,
565,
1583,
3032,
5327,
29889,
657,
6672,
703,
3916,
29899,
14934,
613,
376,
2564,
13609,
580,
1275,
376,
29887,
7554,
1115,
13,
9651,
736,
330,
7554,
29889,
311,
510,
2139,
29898,
1311,
3032,
5327,
29889,
949,
3101,
13,
4706,
25342,
1583,
3032,
5327,
29889,
657,
6672,
703,
3916,
29899,
14934,
613,
376,
2564,
13609,
580,
1275,
376,
311,
1579,
403,
1115,
13,
9651,
736,
503,
1982,
29889,
311,
510,
2139,
29898,
1311,
3032,
5327,
29889,
949,
3101,
13,
4706,
1683,
29901,
13,
9651,
736,
1583,
3032,
5327,
29889,
949,
580,
13,
13,
1678,
732,
6799,
13,
1678,
822,
4660,
29898,
1311,
29897,
1599,
938,
29901,
13,
4706,
9995,
2577,
278,
2933,
29915,
29879,
7331,
4660,
775,
1213,
15945,
13,
4706,
736,
1583,
3032,
5327,
29889,
4882,
13,
13,
1678,
732,
6799,
13,
1678,
822,
3573,
29898,
1311,
29897,
1599,
6262,
29901,
13,
4706,
9995,
2577,
278,
2933,
29915,
29879,
10650,
3573,
2793,
408,
6262,
1213,
15945,
13,
4706,
736,
1583,
3032,
2587,
13,
13,
1678,
822,
4390,
29898,
1311,
29897,
1599,
7761,
29961,
21533,
29892,
2391,
29892,
851,
5387,
13,
4706,
9995,
4002,
261,
6646,
278,
2933,
29915,
29879,
3573,
408,
4663,
322,
736,
278,
1203,
1213,
15945,
13,
4706,
565,
7431,
29898,
1311,
29889,
2587,
29897,
1275,
29871,
29900,
29901,
13,
9651,
736,
5124,
13,
4706,
1018,
29901,
13,
9651,
736,
4390,
29889,
18132,
29898,
1311,
29889,
2587,
29897,
29871,
396,
1134,
29901,
11455,
13,
4706,
5174,
4390,
29889,
7249,
2772,
401,
2392,
29901,
13,
9651,
17927,
29889,
8382,
29898,
1311,
29889,
2587,
29897,
13,
9651,
12020,
13,
13,
13,
1990,
12477,
29901,
13,
1678,
9995,
13,
1678,
22402,
385,
7331,
3132,
363,
3907,
7274,
29889,
13,
13,
1678,
8108,
29879,
29901,
13,
4706,
679,
29901,
8561,
385,
7331,
12354,
2009,
322,
736,
278,
2933,
29889,
13,
13,
1678,
9995,
13,
13,
1678,
822,
4770,
2344,
12035,
13,
4706,
1583,
29892,
13,
4706,
334,
29892,
13,
4706,
1015,
759,
29901,
6461,
759,
17392,
272,
29892,
13,
4706,
2967,
29918,
2271,
29901,
851,
29892,
13,
4706,
5993,
29901,
28379,
29961,
710,
29962,
353,
6213,
29892,
13,
4706,
3579,
19290,
29892,
13,
1678,
1723,
1599,
6213,
29901,
13,
4706,
9995,
13,
4706,
25455,
385,
7331,
3132,
411,
263,
2967,
3988,
29889,
13,
13,
4706,
826,
3174,
29901,
13,
9651,
1015,
759,
313,
2271,
1982,
29889,
3827,
29889,
11746,
759,
17392,
272,
1125,
450,
1015,
759,
411,
10959,
25795,
13,
18884,
322,
9066,
363,
5432,
278,
3988,
29889,
13,
9651,
2967,
29918,
2271,
313,
710,
1125,
450,
2967,
3988,
363,
599,
5434,
7274,
29889,
13,
9651,
5993,
313,
710,
29892,
13136,
1125,
319,
11460,
261,
2130,
5993,
29889,
13,
9651,
3579,
19290,
29901,
6978,
287,
304,
3847,
3386,
943,
29889,
13,
13,
4706,
9995,
13,
4706,
2428,
2141,
1649,
2344,
12035,
1068,
19290,
29897,
29871,
396,
1134,
29901,
11455,
13,
4706,
1583,
3032,
459,
759,
353,
1015,
759,
13,
4706,
1583,
3032,
20895,
353,
3142,
5451,
29898,
3188,
29918,
2271,
29897,
13,
4706,
1583,
29889,
6979,
353,
5993,
13,
13,
1678,
822,
903,
4282,
29918,
3827,
29898,
13,
4706,
1583,
29892,
2224,
29901,
28379,
29961,
710,
29962,
353,
6213,
29892,
8636,
29901,
28379,
29961,
21533,
29961,
710,
29892,
851,
5262,
353,
6213,
29892,
13,
1678,
1723,
1599,
10729,
29901,
13,
4706,
9995,
1168,
4984,
263,
5149,
18511,
3988,
515,
967,
5633,
1213,
15945,
13,
4706,
3142,
353,
1583,
3032,
20895,
13,
4706,
565,
2224,
338,
451,
6213,
29901,
13,
9651,
3142,
353,
3142,
3032,
6506,
29898,
2084,
29922,
2271,
7122,
29898,
2271,
29889,
2084,
29892,
2224,
876,
13,
4706,
565,
8636,
338,
451,
6213,
29901,
13,
9651,
3142,
353,
3142,
3032,
6506,
29898,
1972,
29922,
2271,
12508,
29898,
7529,
876,
13,
4706,
2009,
353,
10729,
29898,
2271,
348,
5451,
29898,
2271,
876,
13,
4706,
565,
1583,
29889,
6979,
29901,
13,
9651,
2009,
29889,
1202,
29918,
348,
17886,
287,
29918,
6672,
703,
25471,
613,
285,
29908,
29933,
799,
261,
426,
1311,
29889,
6979,
27195,
13,
4706,
736,
2009,
13,
13,
1678,
822,
679,
29898,
13,
4706,
1583,
29892,
13,
4706,
2224,
29901,
28379,
29961,
710,
29962,
353,
6213,
29892,
13,
4706,
8636,
29901,
28379,
29961,
21533,
29961,
710,
29892,
851,
5262,
353,
6213,
29892,
13,
4706,
3579,
19290,
29892,
13,
1678,
1723,
1599,
13291,
29901,
13,
4706,
9995,
13,
4706,
8561,
385,
7331,
12354,
2009,
322,
736,
278,
2933,
29889,
13,
13,
4706,
826,
3174,
29901,
13,
9651,
2224,
313,
710,
29892,
13136,
1125,
530,
13136,
6198,
470,
8380,
3988,
2224,
304,
6623,
13,
18884,
278,
2967,
3988,
29889,
13,
9651,
8636,
313,
8977,
29892,
13136,
1125,
530,
13136,
10417,
515,
2346,
3443,
2983,
304,
13,
18884,
1009,
1819,
29889,
13,
13,
4706,
16969,
29901,
13,
9651,
13291,
29901,
530,
7331,
2933,
2777,
29889,
13,
13,
4706,
9995,
13,
13,
4706,
17927,
29889,
8382,
703,
29924,
5086,
12354,
2009,
304,
1273,
29878,
19602,
1583,
3032,
4282,
29918,
3827,
29898,
2084,
29892,
8636,
876,
13,
4706,
411,
1583,
3032,
459,
759,
29889,
3150,
29898,
1311,
3032,
4282,
29918,
3827,
29898,
2084,
29892,
8636,
511,
3579,
19290,
29897,
408,
2933,
29901,
13,
9651,
17927,
29889,
8382,
11702,
29878,
613,
2933,
29889,
657,
2271,
3101,
13,
9651,
17927,
29889,
8382,
11702,
29881,
1273,
29879,
613,
2933,
29889,
4882,
29892,
2933,
29889,
23147,
29897,
13,
9651,
17927,
29889,
8382,
703,
10493,
12252,
414,
29905,
29876,
29995,
29879,
613,
2933,
29889,
3888,
3101,
13,
9651,
396,
19928,
367,
4133,
2629,
278,
3030,
1316,
393,
278,
2933,
3573,
338,
13,
9651,
396,
3625,
363,
5183,
29889,
13,
9651,
736,
13291,
29898,
5327,
29922,
5327,
29897,
13,
2
] |
Week 01/problems/arrays/equilibrium_point.py | imran-rashid/11-weeks-dsa-workshop | 2 | 152880 | # Given an array A of N positive numbers. The task is to find the first Equilibrium Point in the array.
# https://www.geeksforgeeks.org/equilibrium-index-of-an-array/
# https://practice.geeksforgeeks.org/problems/equilibrium-point-1587115620/1/
import math
# time is O(n) | Space is O(1)
def equilibriumPoint(A, N):
if (N == 1): return 1
left_sum = 0
total_sum = sum(A)
for i, num in enumerate(A):
total_sum -= num
if total_sum == left_sum:
return i+1
left_sum += num
return -1
def main():
T = int(input())
while(T > 0):
N = int(input())
A = [int(x) for x in input().strip().split()]
print(equilibriumPoint(A, N))
T -= 1
if __name__ == "__main__":
main()
| [
1,
396,
11221,
385,
1409,
319,
310,
405,
6374,
3694,
29889,
450,
3414,
338,
304,
1284,
278,
937,
11243,
15943,
16241,
8984,
297,
278,
1409,
29889,
6756,
13,
29937,
2045,
597,
1636,
29889,
479,
14541,
20324,
14541,
29889,
990,
29914,
1686,
15943,
16241,
29899,
2248,
29899,
974,
29899,
273,
29899,
2378,
29914,
30004,
13,
29937,
2045,
597,
29886,
1461,
625,
29889,
479,
14541,
20324,
14541,
29889,
990,
29914,
17199,
29879,
29914,
1686,
15943,
16241,
29899,
3149,
29899,
29896,
29945,
29947,
29955,
29896,
29896,
29945,
29953,
29906,
29900,
29914,
29896,
29914,
30004,
13,
30004,
13,
5215,
5844,
30004,
13,
30004,
13,
29937,
931,
338,
438,
29898,
29876,
29897,
891,
14121,
338,
438,
29898,
29896,
8443,
13,
1753,
26440,
5228,
29898,
29909,
29892,
405,
1125,
30004,
13,
1678,
565,
313,
29940,
1275,
29871,
29896,
1125,
736,
29871,
29896,
30004,
13,
1678,
6756,
13,
1678,
2175,
29918,
2083,
353,
29871,
29900,
30004,
13,
1678,
3001,
29918,
2083,
353,
2533,
29898,
29909,
8443,
13,
1678,
6756,
13,
1678,
363,
474,
29892,
954,
297,
26985,
29898,
29909,
1125,
30004,
13,
4706,
3001,
29918,
2083,
22361,
954,
30004,
13,
4706,
6756,
13,
4706,
565,
3001,
29918,
2083,
1275,
2175,
29918,
2083,
29901,
6756,
13,
9651,
736,
474,
29974,
29896,
30004,
13,
4706,
2175,
29918,
2083,
4619,
954,
30004,
13,
1678,
6756,
13,
1678,
736,
448,
29896,
30004,
13,
30004,
13,
1753,
1667,
7295,
30004,
13,
1678,
323,
353,
938,
29898,
2080,
3101,
30004,
13,
1678,
1550,
29898,
29911,
1405,
29871,
29900,
1125,
30004,
13,
4706,
405,
353,
938,
29898,
2080,
3101,
30004,
13,
4706,
319,
353,
518,
524,
29898,
29916,
29897,
363,
921,
297,
1881,
2141,
17010,
2141,
5451,
580,
29962,
30004,
13,
4706,
1596,
29898,
1686,
15943,
16241,
5228,
29898,
29909,
29892,
405,
876,
30004,
13,
4706,
323,
22361,
29871,
29896,
30004,
13,
30004,
13,
361,
4770,
978,
1649,
1275,
376,
1649,
3396,
1649,
1115,
30004,
13,
1678,
1667,
26471,
13,
2
] |
scripts/fine_tuning.py | pedbrgs/Pruning-Darknet | 3 | 83579 | import os
import argparse
import subprocess
import numpy as np
import pandas as pd
def training_model(filename, technique, pruning_rate, layer):
""" Training the pruned model """
# Opens the temporary file
f = open('../eval.txt', 'a+')
# Training with pre-trained weights
if technique.upper() != 'FROM-SCRATCH':
weights = filename + str(pruning_rate) + '.conv.' + str(layer)
command = './darknet detector train ' + filename + '.data ' + filename + '.cfg ' + weights + ' -dont_show -map'
# Training from scratch
else:
command = './darknet detector train ' + filename + '.data ' + filename + '.cfg -dont_show -map'
# Running training algorithm and saving results to temporary file
subprocess.call(command, shell = True, stdout = f)
# Closing file
f.close()
print('\n[DONE] Fine-tuning of the model pruned by ' + str(pruning_rate) + '%\n')
def pre_weights(filename, pruning_rate, layer):
""" Generates a pre-weight from a trained weight """
# Opens the temporary file
f = open('../eval.txt', 'a+')
# Running freezing algorithm and saving results to temporary file
weights = filename + str(pruning_rate) + '.conv.' + str(layer)
command = './darknet partial ' + filename + '.cfg ' + filename + '.weights ' + weights + ' ' + str(layer)
subprocess.call(command, shell = True, stdout = f)
# Closing file
f.close()
print('\n[DONE] Pre-weights of the model pruned by ' + str(pruning_rate) + '%\n')
def valid_set(filename, set):
""" Changes validation set in the .data file """
# Opens the file in read-only mode
f = open(filename + '.data', 'r')
# Reads lines until EOF
lines = f.readlines()
# Loop over the lines
for i, line in enumerate(lines):
if 'valid' in line:
lines[i] = 'valid = data/' + filename + '_' + set + '.txt\n'
# Opens the file in write-only mode
f = open(filename + '.data', 'w')
# Changing validation set in the data file
f.writelines(lines)
# Closing file
f.close()
def hyperparams(filename, img_size, iter, lr, steps):
""" Changes hyperparameters of the .cfg file """
# Opens the file in read-only mode
f = open(filename + '.cfg', 'r')
# Read lines until EOF
lines = f.readlines()
# Loop over the lines
for i, line in enumerate(lines):
if 'width' in line:
lines[i] = 'width = ' + str(img_size) + '\n'
elif 'height' in line:
lines[i] = 'height = ' + str(img_size) + '\n'
elif 'steps = ' in line:
lines[i] = 'steps = ' + steps + '\n'
elif 'learning_rate' in line:
lines[i] = 'learning_rate = ' + str(lr) + '\n'
elif 'max_batches' in line:
lines[i] = 'max_batches = ' + str(iter) + '\n'
elif '^batch =' in line:
lines[i] = 'batch = 64\n'
elif '^subdivisions' in line:
lines[i] = 'subdivisions = 16\n'
# Opens the file in write-only mode
f = open(filename + '.cfg', 'w')
# Changing image size in the config file
f.writelines(lines)
# Closing file
f.close()
if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.add_argument('--method', type = str, help = 'Pruning method')
parser.add_argument('--imgsize', type = int, default = 416, help = 'Image size')
parser.add_argument('--dataset', type = str, default = 'dfire', help = 'Dataset name')
parser.add_argument('--lr', type = float, default = 0.01, help = 'Learning rate')
parser.add_argument('--tuning-iter', type = int, default = 30000, help = 'Number of fine-tuning iterations')
parser.add_argument('--layer', type = int, default = 161, help = 'Weights frozen up to this layer for fine-tuning')
parser.add_argument('--steps', type = str, default = '24000,27000', help = 'At these iterations the learning rate will be multiplied by scales factor (0.1 by default)')
opt = parser.parse_args()
# Open root folder
root = 'Fine-Tuning/' + opt.method + os.sep
os.chdir(root)
# Pruned models with pruning rate from 10% to 90%
folders = np.arange(start = 10, stop = 100, step = 10)
# Partial weights
weights = np.arange(start = 1000, stop = opt.tuning_iter + 1000, step = 1000)
try:
# Remove current eval.txt file
os.remove('eval.txt')
except:
pass
for folder in folders:
# Open current folder
subdir = str(folder) + os.sep
os.chdir(subdir)
# Change hyperparameters
hyperparams(opt.dataset, opt.imgsize, opt.tuning_iter, opt.lr, opt.steps)
# Change validation set
valid_set(opt.dataset, 'valid')
# Pre-trained weights
if opt.method.upper() != 'FROM-SCRATCH':
# Freezing layers to generate pre-weights
pre_weights(opt.dataset, folder, opt.layer)
# Training pruned model
training_model(opt.dataset, opt.method, folder, opt.layer)
# Remove partial weights
os.chdir('weights/')
for w in weights:
try:
os.remove(opt.dataset + '_' + str(w) + '.weights')
except:
pass
os.remove(opt.dataset + '_last.weights')
os.remove(opt.dataset + '_final.weights')
# Returns to root folder
os.chdir('../../') | [
1,
1053,
2897,
13,
5215,
1852,
5510,
13,
5215,
1014,
5014,
13,
5215,
12655,
408,
7442,
13,
5215,
11701,
408,
10518,
13,
13,
1753,
6694,
29918,
4299,
29898,
9507,
29892,
11043,
29892,
544,
27964,
29918,
10492,
29892,
7546,
1125,
13,
13,
1678,
9995,
26101,
278,
544,
348,
287,
1904,
9995,
13,
13,
1678,
396,
6461,
575,
278,
13201,
934,
13,
1678,
285,
353,
1722,
877,
6995,
14513,
29889,
3945,
742,
525,
29874,
29974,
1495,
13,
13,
1678,
396,
26101,
411,
758,
29899,
3018,
1312,
18177,
13,
1678,
565,
11043,
29889,
21064,
580,
2804,
525,
21482,
29899,
7187,
29934,
14789,
2396,
13,
4706,
18177,
353,
10422,
718,
851,
29898,
558,
27964,
29918,
10492,
29897,
718,
15300,
20580,
6169,
718,
851,
29898,
13148,
29897,
13,
4706,
1899,
353,
19283,
26031,
1212,
1439,
3019,
7945,
525,
718,
10422,
718,
15300,
1272,
525,
718,
10422,
718,
15300,
16859,
525,
718,
18177,
718,
525,
448,
29881,
609,
29918,
4294,
448,
1958,
29915,
13,
1678,
396,
26101,
515,
22728,
13,
1678,
1683,
29901,
13,
4706,
1899,
353,
19283,
26031,
1212,
1439,
3019,
7945,
525,
718,
10422,
718,
15300,
1272,
525,
718,
10422,
718,
15300,
16859,
448,
29881,
609,
29918,
4294,
448,
1958,
29915,
13,
13,
1678,
396,
19509,
6694,
5687,
322,
14238,
2582,
304,
13201,
934,
13,
1678,
1014,
5014,
29889,
4804,
29898,
6519,
29892,
6473,
353,
5852,
29892,
27591,
353,
285,
29897,
13,
13,
1678,
396,
2233,
14556,
934,
13,
1678,
285,
29889,
5358,
580,
13,
13,
1678,
1596,
28909,
29876,
29961,
29928,
12413,
29962,
28896,
29899,
29873,
27964,
310,
278,
1904,
544,
348,
287,
491,
525,
718,
851,
29898,
558,
27964,
29918,
10492,
29897,
718,
14210,
29905,
29876,
1495,
13,
13,
1753,
758,
29918,
705,
5861,
29898,
9507,
29892,
544,
27964,
29918,
10492,
29892,
7546,
1125,
13,
13,
1678,
9995,
3251,
1078,
263,
758,
29899,
7915,
515,
263,
16370,
7688,
9995,
13,
13,
1678,
396,
6461,
575,
278,
13201,
934,
13,
1678,
285,
353,
1722,
877,
6995,
14513,
29889,
3945,
742,
525,
29874,
29974,
1495,
13,
13,
1678,
396,
19509,
3889,
19583,
5687,
322,
14238,
2582,
304,
13201,
934,
13,
1678,
18177,
353,
10422,
718,
851,
29898,
558,
27964,
29918,
10492,
29897,
718,
15300,
20580,
6169,
718,
851,
29898,
13148,
29897,
13,
1678,
1899,
353,
19283,
26031,
1212,
7687,
525,
718,
10422,
718,
15300,
16859,
525,
718,
10422,
718,
15300,
705,
5861,
525,
718,
18177,
718,
525,
525,
718,
851,
29898,
13148,
29897,
13,
1678,
1014,
5014,
29889,
4804,
29898,
6519,
29892,
6473,
353,
5852,
29892,
27591,
353,
285,
29897,
13,
13,
1678,
396,
2233,
14556,
934,
13,
1678,
285,
29889,
5358,
580,
13,
13,
1678,
1596,
28909,
29876,
29961,
29928,
12413,
29962,
4721,
29899,
705,
5861,
310,
278,
1904,
544,
348,
287,
491,
525,
718,
851,
29898,
558,
27964,
29918,
10492,
29897,
718,
14210,
29905,
29876,
1495,
13,
13,
13,
1753,
2854,
29918,
842,
29898,
9507,
29892,
731,
1125,
13,
13,
1678,
9995,
678,
6916,
8845,
731,
297,
278,
869,
1272,
934,
9995,
13,
13,
1678,
396,
6461,
575,
278,
934,
297,
1303,
29899,
6194,
4464,
13,
1678,
285,
353,
1722,
29898,
9507,
718,
15300,
1272,
742,
525,
29878,
1495,
13,
13,
1678,
396,
7523,
29879,
3454,
2745,
382,
9800,
13,
1678,
3454,
353,
285,
29889,
949,
9012,
580,
13,
13,
1678,
396,
21493,
975,
278,
3454,
13,
1678,
363,
474,
29892,
1196,
297,
26985,
29898,
9012,
1125,
13,
4706,
565,
525,
3084,
29915,
297,
1196,
29901,
13,
3986,
3454,
29961,
29875,
29962,
353,
525,
3084,
353,
848,
22208,
718,
10422,
718,
22868,
29915,
718,
731,
718,
15300,
3945,
29905,
29876,
29915,
13,
13,
1678,
396,
6461,
575,
278,
934,
297,
2436,
29899,
6194,
4464,
13,
1678,
285,
353,
1722,
29898,
9507,
718,
15300,
1272,
742,
525,
29893,
1495,
13,
13,
1678,
396,
678,
9776,
8845,
731,
297,
278,
848,
934,
13,
1678,
285,
29889,
8231,
24210,
29898,
9012,
29897,
13,
1678,
396,
2233,
14556,
934,
13,
1678,
285,
29889,
5358,
580,
13,
13,
1753,
11266,
7529,
29898,
9507,
29892,
10153,
29918,
2311,
29892,
4256,
29892,
301,
29878,
29892,
6576,
1125,
13,
13,
1678,
9995,
678,
6916,
11266,
16744,
310,
278,
869,
16859,
934,
9995,
13,
13,
1678,
396,
6461,
575,
278,
934,
297,
1303,
29899,
6194,
4464,
13,
1678,
285,
353,
1722,
29898,
9507,
718,
15300,
16859,
742,
525,
29878,
1495,
13,
13,
1678,
396,
7523,
3454,
2745,
382,
9800,
13,
1678,
3454,
353,
285,
29889,
949,
9012,
580,
13,
13,
1678,
396,
21493,
975,
278,
3454,
13,
1678,
363,
474,
29892,
1196,
297,
26985,
29898,
9012,
1125,
13,
4706,
565,
525,
2103,
29915,
297,
1196,
29901,
13,
9651,
3454,
29961,
29875,
29962,
353,
525,
2103,
353,
525,
718,
851,
29898,
2492,
29918,
2311,
29897,
718,
11297,
29876,
29915,
13,
4706,
25342,
525,
3545,
29915,
297,
1196,
29901,
13,
9651,
3454,
29961,
29875,
29962,
353,
525,
3545,
353,
525,
718,
851,
29898,
2492,
29918,
2311,
29897,
718,
11297,
29876,
29915,
13,
4706,
25342,
525,
24530,
353,
525,
297,
1196,
29901,
13,
9651,
3454,
29961,
29875,
29962,
353,
525,
24530,
353,
525,
718,
6576,
718,
11297,
29876,
29915,
13,
4706,
25342,
525,
21891,
29918,
10492,
29915,
297,
1196,
29901,
13,
9651,
3454,
29961,
29875,
29962,
353,
525,
21891,
29918,
10492,
353,
525,
718,
851,
29898,
29212,
29897,
718,
11297,
29876,
29915,
13,
4706,
25342,
525,
3317,
29918,
16175,
267,
29915,
297,
1196,
29901,
13,
9651,
3454,
29961,
29875,
29962,
353,
525,
3317,
29918,
16175,
267,
353,
525,
718,
851,
29898,
1524,
29897,
718,
11297,
29876,
29915,
13,
4706,
25342,
525,
29985,
16175,
353,
29915,
297,
1196,
29901,
13,
9651,
3454,
29961,
29875,
29962,
353,
525,
16175,
353,
29871,
29953,
29946,
29905,
29876,
29915,
13,
4706,
25342,
525,
29985,
1491,
4563,
12112,
29915,
297,
1196,
29901,
13,
9651,
3454,
29961,
29875,
29962,
353,
525,
1491,
4563,
12112,
353,
29871,
29896,
29953,
29905,
29876,
29915,
13,
13,
1678,
396,
6461,
575,
278,
934,
297,
2436,
29899,
6194,
4464,
13,
1678,
285,
353,
1722,
29898,
9507,
718,
15300,
16859,
742,
525,
29893,
1495,
13,
13,
1678,
396,
678,
9776,
1967,
2159,
297,
278,
2295,
934,
13,
1678,
285,
29889,
8231,
24210,
29898,
9012,
29897,
13,
1678,
396,
2233,
14556,
934,
13,
1678,
285,
29889,
5358,
580,
13,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
13,
1678,
13812,
353,
1852,
5510,
29889,
15730,
11726,
580,
13,
13,
1678,
13812,
29889,
1202,
29918,
23516,
877,
489,
5696,
742,
1134,
353,
851,
29892,
1371,
353,
525,
29925,
3389,
292,
1158,
1495,
13,
1678,
13812,
29889,
1202,
29918,
23516,
877,
489,
2492,
2311,
742,
1134,
353,
938,
29892,
2322,
353,
29871,
29946,
29896,
29953,
29892,
1371,
353,
525,
2940,
2159,
1495,
13,
1678,
13812,
29889,
1202,
29918,
23516,
877,
489,
24713,
742,
1134,
353,
851,
29892,
2322,
353,
525,
2176,
533,
742,
1371,
353,
525,
16390,
24541,
1024,
1495,
13,
1678,
13812,
29889,
1202,
29918,
23516,
877,
489,
29212,
742,
1134,
353,
5785,
29892,
2322,
353,
29871,
29900,
29889,
29900,
29896,
29892,
1371,
353,
525,
29931,
799,
1076,
6554,
1495,
13,
1678,
13812,
29889,
1202,
29918,
23516,
877,
489,
29873,
27964,
29899,
1524,
742,
1134,
353,
938,
29892,
2322,
353,
29871,
29941,
29900,
29900,
29900,
29900,
29892,
1371,
353,
525,
4557,
310,
2691,
29899,
29873,
27964,
24372,
1495,
13,
1678,
13812,
29889,
1202,
29918,
23516,
877,
489,
13148,
742,
1134,
353,
938,
29892,
2322,
353,
29871,
29896,
29953,
29896,
29892,
1371,
353,
525,
4806,
5861,
14671,
2256,
701,
304,
445,
7546,
363,
2691,
29899,
29873,
27964,
1495,
13,
1678,
13812,
29889,
1202,
29918,
23516,
877,
489,
24530,
742,
1134,
353,
851,
29892,
2322,
353,
525,
29906,
29946,
29900,
29900,
29900,
29892,
29906,
29955,
29900,
29900,
29900,
742,
1371,
353,
525,
4178,
1438,
24372,
278,
6509,
6554,
674,
367,
6674,
2957,
491,
23431,
7329,
313,
29900,
29889,
29896,
491,
2322,
29897,
1495,
13,
1678,
3523,
353,
13812,
29889,
5510,
29918,
5085,
580,
13,
13,
1678,
396,
4673,
3876,
4138,
13,
1678,
3876,
353,
525,
29943,
457,
29899,
29911,
27964,
22208,
718,
3523,
29889,
5696,
718,
2897,
29889,
19570,
13,
1678,
2897,
29889,
305,
3972,
29898,
4632,
29897,
13,
13,
1678,
396,
1588,
348,
287,
4733,
411,
544,
27964,
6554,
515,
29871,
29896,
29900,
29995,
304,
29871,
29929,
29900,
29995,
13,
1678,
16495,
353,
7442,
29889,
279,
927,
29898,
2962,
353,
29871,
29896,
29900,
29892,
5040,
353,
29871,
29896,
29900,
29900,
29892,
4331,
353,
29871,
29896,
29900,
29897,
13,
1678,
396,
3455,
616,
18177,
13,
1678,
18177,
353,
7442,
29889,
279,
927,
29898,
2962,
353,
29871,
29896,
29900,
29900,
29900,
29892,
5040,
353,
3523,
29889,
29873,
27964,
29918,
1524,
718,
29871,
29896,
29900,
29900,
29900,
29892,
4331,
353,
29871,
29896,
29900,
29900,
29900,
29897,
13,
13,
1678,
1018,
29901,
13,
4706,
396,
15154,
1857,
19745,
29889,
3945,
934,
13,
4706,
2897,
29889,
5992,
877,
14513,
29889,
3945,
1495,
13,
1678,
5174,
29901,
13,
4706,
1209,
13,
13,
1678,
363,
4138,
297,
16495,
29901,
13,
13,
4706,
396,
4673,
1857,
4138,
13,
4706,
1014,
3972,
353,
851,
29898,
12083,
29897,
718,
2897,
29889,
19570,
13,
4706,
2897,
29889,
305,
3972,
29898,
1491,
3972,
29897,
13,
13,
4706,
396,
10726,
11266,
16744,
13,
4706,
11266,
7529,
29898,
3670,
29889,
24713,
29892,
3523,
29889,
2492,
2311,
29892,
3523,
29889,
29873,
27964,
29918,
1524,
29892,
3523,
29889,
29212,
29892,
3523,
29889,
24530,
29897,
13,
4706,
396,
10726,
8845,
731,
13,
4706,
2854,
29918,
842,
29898,
3670,
29889,
24713,
29892,
525,
3084,
1495,
13,
4706,
396,
4721,
29899,
3018,
1312,
18177,
13,
4706,
565,
3523,
29889,
5696,
29889,
21064,
580,
2804,
525,
21482,
29899,
7187,
29934,
14789,
2396,
13,
9651,
396,
12362,
19583,
15359,
304,
5706,
758,
29899,
705,
5861,
13,
9651,
758,
29918,
705,
5861,
29898,
3670,
29889,
24713,
29892,
4138,
29892,
3523,
29889,
13148,
29897,
13,
13,
4706,
396,
26101,
544,
348,
287,
1904,
13,
4706,
6694,
29918,
4299,
29898,
3670,
29889,
24713,
29892,
3523,
29889,
5696,
29892,
4138,
29892,
3523,
29889,
13148,
29897,
13,
13,
4706,
396,
15154,
7687,
18177,
13,
4706,
2897,
29889,
305,
3972,
877,
705,
5861,
29914,
1495,
13,
4706,
363,
281,
297,
18177,
29901,
13,
9651,
1018,
29901,
13,
18884,
2897,
29889,
5992,
29898,
3670,
29889,
24713,
718,
22868,
29915,
718,
851,
29898,
29893,
29897,
718,
15300,
705,
5861,
1495,
13,
9651,
5174,
29901,
13,
18884,
1209,
13,
4706,
2897,
29889,
5992,
29898,
3670,
29889,
24713,
718,
22868,
4230,
29889,
705,
5861,
1495,
13,
4706,
2897,
29889,
5992,
29898,
3670,
29889,
24713,
718,
22868,
8394,
29889,
705,
5861,
1495,
13,
13,
4706,
396,
16969,
304,
3876,
4138,
13,
4706,
2897,
29889,
305,
3972,
877,
21546,
1495,
2
] |
qharv/reel/test/test_config_h5.py | Paul-St-Young/harvest_qmcpack | 2 | 165738 | <reponame>Paul-St-Young/harvest_qmcpack
import h5py
import numpy as np
from qharv.reel import config_h5
def test_saveh5():
mat = np.arange(9).reshape(3, 3)
config_h5.saveh5('mat.h5', mat)
config_h5.saveh5('mat.h5', mat, name='mat')
fp = h5py.File('mat.h5', 'r')
mat1 = fp['mat'][()]
fp.close()
assert np.allclose(mat, mat1)
| [
1,
529,
276,
1112,
420,
29958,
18275,
29899,
855,
29899,
3492,
865,
29914,
8222,
10147,
29918,
29939,
14047,
4058,
13,
5215,
298,
29945,
2272,
13,
5215,
12655,
408,
7442,
13,
3166,
3855,
8222,
29894,
29889,
276,
295,
1053,
2295,
29918,
29882,
29945,
13,
13,
13,
1753,
1243,
29918,
7620,
29882,
29945,
7295,
13,
29871,
1775,
353,
7442,
29889,
279,
927,
29898,
29929,
467,
690,
14443,
29898,
29941,
29892,
29871,
29941,
29897,
13,
29871,
2295,
29918,
29882,
29945,
29889,
7620,
29882,
29945,
877,
2922,
29889,
29882,
29945,
742,
1775,
29897,
13,
13,
29871,
2295,
29918,
29882,
29945,
29889,
7620,
29882,
29945,
877,
2922,
29889,
29882,
29945,
742,
1775,
29892,
1024,
2433,
2922,
1495,
13,
29871,
285,
29886,
353,
298,
29945,
2272,
29889,
2283,
877,
2922,
29889,
29882,
29945,
742,
525,
29878,
1495,
13,
29871,
1775,
29896,
353,
285,
29886,
1839,
2922,
2033,
29961,
580,
29962,
13,
29871,
285,
29886,
29889,
5358,
580,
13,
29871,
4974,
7442,
29889,
497,
5358,
29898,
2922,
29892,
1775,
29896,
29897,
13,
2
] |
Max/Max_0387_20200213.py | Morek999/OMSCS_Taiwan_Leetcode | 1 | 138453 | <reponame>Morek999/OMSCS_Taiwan_Leetcode
"""
387. First Unique Character in a String
https://leetcode.com/problems/first-unique-character-in-a-string/
Time complexity: O()
Space complexity: O()
"""
from typing import List
class Solution:
def firstUniqChar(self, s: str) -> int:
hodling = {}
for i in s:
if i not in hodling:
hodling[i] = 0
hodling[i] += 1
for n, i in enumerate(s):
if hodling[i] == 1:
return n
return -1
ans = [
"leetcode", # 0
"loveleetcode", # 2
"",
"cc"
]
for trails in ans:
print(Solution().firstUniqChar(trails))
| [
1,
529,
276,
1112,
420,
29958,
20761,
29895,
29929,
29929,
29929,
29914,
29949,
4345,
9295,
29918,
29911,
1794,
11440,
29918,
3226,
300,
401,
13,
15945,
29908,
6756,
13,
29941,
29947,
29955,
29889,
3824,
853,
1387,
26804,
297,
263,
1714,
30004,
13,
991,
597,
280,
300,
401,
29889,
510,
29914,
17199,
29879,
29914,
4102,
29899,
13092,
29899,
18609,
29899,
262,
29899,
29874,
29899,
1807,
29914,
30004,
13,
2481,
13644,
29901,
438,
26471,
13,
14936,
13644,
29901,
438,
26471,
13,
9995,
30004,
13,
30004,
13,
3166,
19229,
1053,
2391,
30004,
13,
1990,
24380,
29901,
30004,
13,
1678,
822,
937,
8110,
29939,
5914,
29898,
1311,
29892,
269,
29901,
851,
29897,
1599,
938,
29901,
30004,
13,
4706,
298,
397,
1847,
353,
6571,
30004,
13,
4706,
363,
474,
297,
269,
29901,
30004,
13,
9651,
565,
474,
451,
297,
298,
397,
1847,
29901,
30004,
13,
18884,
298,
397,
1847,
29961,
29875,
29962,
353,
29871,
29900,
30004,
13,
9651,
298,
397,
1847,
29961,
29875,
29962,
4619,
29871,
29896,
30004,
13,
4706,
363,
302,
29892,
474,
297,
26985,
29898,
29879,
1125,
30004,
13,
9651,
565,
298,
397,
1847,
29961,
29875,
29962,
1275,
29871,
29896,
29901,
30004,
13,
18884,
736,
302,
30004,
13,
4706,
736,
448,
29896,
30004,
13,
30004,
13,
550,
353,
518,
30004,
13,
1678,
376,
280,
300,
401,
613,
308,
396,
29871,
29900,
30004,
13,
1678,
376,
417,
345,
280,
300,
401,
613,
268,
396,
29871,
29906,
30004,
13,
1678,
12633,
30004,
13,
1678,
376,
617,
19451,
13,
29962,
30004,
13,
1454,
1020,
2719,
297,
6063,
29901,
30004,
13,
1678,
1596,
29898,
13296,
918,
2141,
4102,
8110,
29939,
5914,
29898,
3018,
2719,
876,
30004,
13,
2
] |
2. Existing Conversion Efficiency (EC), Appendix A/DL_FP_EC.py | rioarya/Land-Conversion_Woody-Biomass-Utilization-Scenarios | 0 | 67079 | <filename>2. Existing Conversion Efficiency (EC), Appendix A/DL_FP_EC.py<gh_stars>0
# -*- coding: utf-8 -*-
"""
Created on Fri Dec 13 15:21:55 2019
@author: raryapratama
"""
#%%
#Step (1): Import Python libraries, set land conversion scenarios general parameters
import numpy as np
import matplotlib.pyplot as plt
from scipy.integrate import quad
import seaborn as sns
import pandas as pd
#DL_FP_S1 Scenario
##Set parameters
#Parameters for primary forest
initAGB = 233 #source: van Beijma et al. (2018)
initAGB_min = 233-72
initAGB_max = 233 + 72
#parameters for timber plantation. Source: Khasanah et al. (2015)
tf = 201
a = 0.082
b = 2.53
#%%
#Step (2_1): C loss from the harvesting/clear cut
df1_Ac7 = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_S1_Ac_7y')
df1_Ac18 = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_S1_Ac_18y')
df1_Tgr40 = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_S1_Tgr_40y')
df1_Tgr60 = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_S1_Tgr_60y')
dfE_Hbr40 = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_E_Hbr_40y')
t = range(0,tf,1)
c_firewood_energy_S1_Ac7 = df1_Ac7['Firewood_other_energy_use'].values
c_firewood_energy_S1_Ac18 = df1_Ac18['Firewood_other_energy_use'].values
c_firewood_energy_S1_Tgr40 = df1_Tgr40['Firewood_other_energy_use'].values
c_firewood_energy_S1_Tgr60 = df1_Tgr60['Firewood_other_energy_use'].values
c_firewood_energy_E_Hbr40 = dfE_Hbr40['Firewood_other_energy_use'].values
#%%
#Step (2_2): C loss from the harvesting/clear cut as wood pellets
dfE = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_E_Hbr_40y')
c_pellets_Hbr_40y = dfE['Wood_pellets'].values
#%%
#Step (3): Aboveground biomass (AGB) decomposition
#Ac_7y
df = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_S1_Ac_7y')
tf = 201
t = np.arange(tf)
def decomp_S1_Ac_7y(t,remainAGB_S1_Ac_7y):
return (1-(1-np.exp(-a*t))**b)*remainAGB_S1_Ac_7y
#set zero matrix
output_decomp_S1_Ac_7y = np.zeros((len(t),len(df['C_remainAGB'].values)))
for i,remain_part_S1_Ac_7y in enumerate(df['C_remainAGB'].values):
#print(i,remain_part)
output_decomp_S1_Ac_7y[i:,i] = decomp_S1_Ac_7y(t[:len(t)-i],remain_part_S1_Ac_7y)
print(output_decomp_S1_Ac_7y[:,:4])
#find the yearly emissions from decomposition by calculating the differences between elements in list 'decomp_tot_S1'
#(https://stackoverflow.com/questions/5314241/difference-between-consecutive-elements-in-list)
# https://stackoverflow.com/questions/11095892/numpy-difference-between-neighboring-elements
#difference between element,
subs_matrix_S1_Ac_7y = np.zeros((len(t)-1,len(df['C_remainAGB'].values-1)))
i = 0
while i < tf:
subs_matrix_S1_Ac_7y[:,i] = np.diff(output_decomp_S1_Ac_7y[:,i])
i = i + 1
print(subs_matrix_S1_Ac_7y[:,:4])
print(len(subs_matrix_S1_Ac_7y))
#since there is no carbon emission from decomposition at the beginning of the year (esp. from 'year 1' onward),
#we have to replace the positive numbers with 0 values (https://stackoverflow.com/questions/36310897/how-do-i-change-all-negative-numbers-to-zero-in-python/36310913)
subs_matrix_S1_Ac_7y = subs_matrix_S1_Ac_7y.clip(max=0)
print(subs_matrix_S1_Ac_7y[:,:4])
#make the results as absolute values
subs_matrix_S1_Ac_7y = abs(subs_matrix_S1_Ac_7y)
print(subs_matrix_S1_Ac_7y[:,:4])
#insert row of zeros into the first row of the subs_matrix
zero_matrix_S1_Ac_7y = np.zeros((len(t)-200,len(df['C_remainAGB'].values)))
print(zero_matrix_S1_Ac_7y)
subs_matrix_S1_Ac_7y = np.vstack((zero_matrix_S1_Ac_7y, subs_matrix_S1_Ac_7y))
print(subs_matrix_S1_Ac_7y[:,:4])
#sum every column of the subs_matrix into one vector matrix
matrix_tot_S1_Ac_7y = (tf,1)
decomp_tot_S1_Ac_7y = np.zeros(matrix_tot_S1_Ac_7y)
i = 0
while i < tf:
decomp_tot_S1_Ac_7y[:,0] = decomp_tot_S1_Ac_7y[:,0] + subs_matrix_S1_Ac_7y[:,i]
i = i + 1
print(decomp_tot_S1_Ac_7y[:,0])
#S1_Ac_18y
df = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_S1_Ac_18y')
tf = 201
t = np.arange(tf)
def decomp_S1_Ac_18y(t,remainAGB_S1_Ac_18y):
return (1-(1-np.exp(-a*t))**b)*remainAGB_S1_Ac_18y
#set zero matrix
output_decomp_S1_Ac_18y = np.zeros((len(t),len(df['C_remainAGB'].values)))
for i,remain_part_S1_Ac_18y in enumerate(df['C_remainAGB'].values):
#print(i,remain_part)
output_decomp_S1_Ac_18y[i:,i] = decomp_S1_Ac_18y(t[:len(t)-i],remain_part_S1_Ac_18y)
print(output_decomp_S1_Ac_18y[:,:4])
#find the yearly emissions from decomposition by calculating the differences between elements in list 'decomp_tot_S1'
#(https://stackoverflow.com/questions/5314241/difference-between-consecutive-elements-in-list)
# https://stackoverflow.com/questions/11095892/numpy-difference-between-neighboring-elements
#difference between element,
subs_matrix_S1_Ac_18y = np.zeros((len(t)-1,len(df['C_remainAGB'].values-1)))
i = 0
while i < tf:
subs_matrix_S1_Ac_18y[:,i] = np.diff(output_decomp_S1_Ac_18y[:,i])
i = i + 1
print(subs_matrix_S1_Ac_18y[:,:4])
print(len(subs_matrix_S1_Ac_18y))
#since there is no carbon emission from decomposition at the beginning of the year (esp. from 'year 1' onward),
#we have to replace the positive numbers with 0 values (https://stackoverflow.com/questions/36310897/how-do-i-change-all-negative-numbers-to-zero-in-python/36310913)
subs_matrix_S1_Ac_18y = subs_matrix_S1_Ac_18y.clip(max=0)
print(subs_matrix_S1_Ac_18y[:,:4])
#make the results as absolute values
subs_matrix_S1_Ac_18y = abs(subs_matrix_S1_Ac_18y)
print(subs_matrix_S1_Ac_18y[:,:4])
#insert row of zeros into the first row of the subs_matrix
zero_matrix_S1_Ac_18y = np.zeros((len(t)-200,len(df['C_remainAGB'].values)))
print(zero_matrix_S1_Ac_18y)
subs_matrix_S1_Ac_18y = np.vstack((zero_matrix_S1_Ac_18y, subs_matrix_S1_Ac_18y))
print(subs_matrix_S1_Ac_18y[:,:4])
#sum every column of the subs_matrix into one vector matrix
matrix_tot_S1_Ac_18y = (tf,1)
decomp_tot_S1_Ac_18y = np.zeros(matrix_tot_S1_Ac_18y)
i = 0
while i < tf:
decomp_tot_S1_Ac_18y[:,0] = decomp_tot_S1_Ac_18y[:,0] + subs_matrix_S1_Ac_18y[:,i]
i = i + 1
print(decomp_tot_S1_Ac_18y[:,0])
#S1_Tgr_40y
df = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_S1_Tgr_40y')
tf = 201
t = np.arange(tf)
def decomp_S1_Tgr_40y(t,remainAGB_S1_Tgr_40y):
return (1-(1-np.exp(-a*t))**b)*remainAGB_S1_Tgr_40y
#set zero matrix
output_decomp_S1_Tgr_40y = np.zeros((len(t),len(df['C_remainAGB'].values)))
for i,remain_part_S1_Tgr_40y in enumerate(df['C_remainAGB'].values):
#print(i,remain_part)
output_decomp_S1_Tgr_40y[i:,i] = decomp_S1_Tgr_40y(t[:len(t)-i],remain_part_S1_Tgr_40y)
print(output_decomp_S1_Tgr_40y[:,:4])
#find the yearly emissions from decomposition by calculating the differences between elements in list 'decomp_tot_S1'
#(https://stackoverflow.com/questions/5314241/difference-between-consecutive-elements-in-list)
# https://stackoverflow.com/questions/11095892/numpy-difference-between-neighboring-elements
#difference between element,
subs_matrix_S1_Tgr_40y = np.zeros((len(t)-1,len(df['C_remainAGB'].values-1)))
i = 0
while i < tf:
subs_matrix_S1_Tgr_40y[:,i] = np.diff(output_decomp_S1_Tgr_40y[:,i])
i = i + 1
print(subs_matrix_S1_Tgr_40y[:,:4])
print(len(subs_matrix_S1_Tgr_40y))
#since there is no carbon emission from decomposition at the beginning of the year (esp. from 'year 1' onward),
#we have to replace the positive numbers with 0 values (https://stackoverflow.com/questions/36310897/how-do-i-change-all-negative-numbers-to-zero-in-python/36310913)
subs_matrix_S1_Tgr_40y = subs_matrix_S1_Tgr_40y.clip(max=0)
print(subs_matrix_S1_Tgr_40y[:,:4])
#make the results as absolute values
subs_matrix_S1_Tgr_40y = abs(subs_matrix_S1_Tgr_40y)
print(subs_matrix_S1_Tgr_40y[:,:4])
#insert row of zeros into the first row of the subs_matrix
zero_matrix_S1_Tgr_40y = np.zeros((len(t)-200,len(df['C_remainAGB'].values)))
print(zero_matrix_S1_Tgr_40y)
subs_matrix_S1_Tgr_40y = np.vstack((zero_matrix_S1_Tgr_40y, subs_matrix_S1_Tgr_40y))
print(subs_matrix_S1_Tgr_40y[:,:4])
#sum every column of the subs_matrix into one vector matrix
matrix_tot_S1_Tgr_40y = (tf,1)
decomp_tot_S1_Tgr_40y = np.zeros(matrix_tot_S1_Tgr_40y)
i = 0
while i < tf:
decomp_tot_S1_Tgr_40y[:,0] = decomp_tot_S1_Tgr_40y[:,0] + subs_matrix_S1_Tgr_40y[:,i]
i = i + 1
print(decomp_tot_S1_Tgr_40y[:,0])
#S1_Tgr_60y
df = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_S1_Tgr_60y')
tf = 201
t = np.arange(tf)
def decomp_S1_Tgr_60y(t,remainAGB_S1_Tgr_60y):
return (1-(1-np.exp(-a*t))**b)*remainAGB_S1_Tgr_60y
#set zero matrix
output_decomp_S1_Tgr_60y = np.zeros((len(t),len(df['C_remainAGB'].values)))
for i,remain_part_S1_Tgr_60y in enumerate(df['C_remainAGB'].values):
#print(i,remain_part)
output_decomp_S1_Tgr_60y[i:,i] = decomp_S1_Tgr_60y(t[:len(t)-i],remain_part_S1_Tgr_60y)
print(output_decomp_S1_Tgr_60y[:,:4])
#find the yearly emissions from decomposition by calculating the differences between elements in list 'decomp_tot_S1'
#(https://stackoverflow.com/questions/5314241/difference-between-consecutive-elements-in-list)
# https://stackoverflow.com/questions/11095892/numpy-difference-between-neighboring-elements
#difference between element,
subs_matrix_S1_Tgr_60y = np.zeros((len(t)-1,len(df['C_remainAGB'].values-1)))
i = 0
while i < tf:
subs_matrix_S1_Tgr_60y[:,i] = np.diff(output_decomp_S1_Tgr_60y[:,i])
i = i + 1
print(subs_matrix_S1_Tgr_60y[:,:4])
print(len(subs_matrix_S1_Tgr_60y))
#since there is no carbon emission from decomposition at the beginning of the year (esp. from 'year 1' onward),
#we have to replace the positive numbers with 0 values (https://stackoverflow.com/questions/36310897/how-do-i-change-all-negative-numbers-to-zero-in-python/36310913)
subs_matrix_S1_Tgr_60y = subs_matrix_S1_Tgr_60y.clip(max=0)
print(subs_matrix_S1_Tgr_60y[:,:4])
#make the results as absolute values
subs_matrix_S1_Tgr_60y = abs(subs_matrix_S1_Tgr_60y)
print(subs_matrix_S1_Tgr_60y[:,:4])
#insert row of zeros into the first row of the subs_matrix
zero_matrix_S1_Tgr_60y = np.zeros((len(t)-200,len(df['C_remainAGB'].values)))
print(zero_matrix_S1_Tgr_60y)
subs_matrix_S1_Tgr_60y = np.vstack((zero_matrix_S1_Tgr_60y, subs_matrix_S1_Tgr_60y))
print(subs_matrix_S1_Tgr_60y[:,:4])
#sum every column of the subs_matrix into one vector matrix
matrix_tot_S1_Tgr_60y = (tf,1)
decomp_tot_S1_Tgr_60y = np.zeros(matrix_tot_S1_Tgr_60y)
i = 0
while i < tf:
decomp_tot_S1_Tgr_60y[:,0] = decomp_tot_S1_Tgr_60y[:,0] + subs_matrix_S1_Tgr_60y[:,i]
i = i + 1
print(decomp_tot_S1_Tgr_60y[:,0])
#E
df = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_E_Hbr_40y')
tf = 201
t = np.arange(tf)
def decomp_E_Hbr_40y(t,remainAGB_E_Hbr_40y):
return (1-(1-np.exp(-a*t))**b)*remainAGB_E_Hbr_40y
#set zero matrix
output_decomp_E_Hbr_40y = np.zeros((len(t),len(df['C_remainAGB'].values)))
for i,remain_part_E_Hbr_40y in enumerate(df['C_remainAGB'].values):
#print(i,remain_part)
output_decomp_E_Hbr_40y[i:,i] = decomp_E_Hbr_40y(t[:len(t)-i],remain_part_E_Hbr_40y)
print(output_decomp_E_Hbr_40y[:,:4])
#find the yearly emissions from decomposition by calculating the differences between elements in list 'decomp_tot_S1'
#(https://stackoverflow.com/questions/5314241/difference-between-consecutive-elements-in-list)
# https://stackoverflow.com/questions/11095892/numpy-difference-between-neighboring-elements
#difference between element,
subs_matrix_E_Hbr_40y = np.zeros((len(t)-1,len(df['C_remainAGB'].values-1)))
i = 0
while i < tf:
subs_matrix_E_Hbr_40y[:,i] = np.diff(output_decomp_E_Hbr_40y[:,i])
i = i + 1
print(subs_matrix_E_Hbr_40y[:,:4])
print(len(subs_matrix_E_Hbr_40y))
#since there is no carbon emission from decomposition at the beginning of the year (esp. from 'year 1' onward),
#we have to replace the positive numbers with 0 values (https://stackoverflow.com/questions/36310897/how-do-i-change-all-negative-numbers-to-zero-in-python/36310913)
subs_matrix_E_Hbr_40y = subs_matrix_E_Hbr_40y.clip(max=0)
print(subs_matrix_E_Hbr_40y[:,:4])
#make the results as absolute values
subs_matrix_E_Hbr_40y = abs(subs_matrix_E_Hbr_40y)
print(subs_matrix_E_Hbr_40y[:,:4])
#insert row of zeros into the first row of the subs_matrix
zero_matrix_E_Hbr_40y = np.zeros((len(t)-200,len(df['C_remainAGB'].values)))
print(zero_matrix_E_Hbr_40y)
subs_matrix_E_Hbr_40y = np.vstack((zero_matrix_E_Hbr_40y, subs_matrix_E_Hbr_40y))
print(subs_matrix_E_Hbr_40y[:,:4])
#sum every column of the subs_matrix into one vector matrix
matrix_tot_E_Hbr_40y = (tf,1)
decomp_tot_E_Hbr_40y = np.zeros(matrix_tot_E_Hbr_40y)
i = 0
while i < tf:
decomp_tot_E_Hbr_40y[:,0] = decomp_tot_E_Hbr_40y[:,0] + subs_matrix_E_Hbr_40y[:,i]
i = i + 1
print(decomp_tot_E_Hbr_40y[:,0])
#plotting
t = np.arange(0,tf)
plt.plot(t,decomp_tot_S1_Ac_7y,label='Ac_7y')
plt.plot(t,decomp_tot_S1_Ac_18y,label='Ac_18y')
plt.plot(t,decomp_tot_S1_Tgr_40y,label='Tgr_40y')
plt.plot(t,decomp_tot_S1_Tgr_60y,label='Tgr_60y')
plt.plot(t,decomp_tot_E_Hbr_40y,label='E_Hbr_40y')
plt.xlim(0,200)
plt.legend(bbox_to_anchor=(1.04,1), loc="upper left", frameon=False)
plt.show()
#%%
#Step (4): Dynamic stock model of in-use wood materials
from dynamic_stock_model import DynamicStockModel
df1_Ac7 = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_S1_Ac_7y')
df1_Ac18 = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_S1_Ac_18y')
df1_Tgr40 = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_S1_Tgr_40y')
df1_Tgr60 = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_S1_Tgr_60y')
dfE_Hbr40 = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_E_Hbr_40y')
#product lifetime
#paper
P = 4
#furniture
F = 20
#building materials
B = 35
TestDSM1_Ac7 = DynamicStockModel(t = df1_Ac7['Year'].values, i = df1_Ac7['Input_PF'].values, lt = {'Type': 'Normal', 'Mean': np.array([P]), 'StdDev': np.array([0.3*P])})
TestDSM1_Ac18 = DynamicStockModel(t = df1_Ac18['Year'].values, i = df1_Ac18['Input_PF'].values, lt = {'Type': 'Normal', 'Mean': np.array([F]), 'StdDev': np.array([0.3*F])})
TestDSM1_Tgr40 = DynamicStockModel(t = df1_Tgr40['Year'].values, i = df1_Tgr40['Input_PF'].values, lt = {'Type': 'Normal', 'Mean': np.array([B]), 'StdDev': np.array([0.3*B])})
TestDSM1_Tgr60 = DynamicStockModel(t = df1_Tgr60['Year'].values, i = df1_Tgr60['Input_PF'].values, lt = {'Type': 'Normal', 'Mean': np.array([B]), 'StdDev': np.array([0.3*B])})
TestDSME_Hbr40 = DynamicStockModel(t = dfE_Hbr40['Year'].values, i = dfE_Hbr40['Input_PF'].values, lt = {'Type': 'Normal', 'Mean': np.array([B]), 'StdDev': np.array([0.3*B])})
CheckStr1_Ac7, ExitFlag1_Ac7 = TestDSM1_Ac7.dimension_check()
CheckStr1_Ac18, ExitFlag1_Ac18 = TestDSM1_Ac18.dimension_check()
CheckStr1_Tgr40, ExitFlag1_Tgr40 = TestDSM1_Tgr40.dimension_check()
CheckStr1_Tgr60, ExitFlag1_Tgr60 = TestDSM1_Tgr60.dimension_check()
CheckStrE_Hbr40, ExitFlagE_Hbr40 = TestDSME_Hbr40.dimension_check()
Stock_by_cohort1_Ac7, ExitFlag1_Ac7 = TestDSM1_Ac7.compute_s_c_inflow_driven()
Stock_by_cohort1_Ac18, ExitFlag1_Ac18 = TestDSM1_Ac18.compute_s_c_inflow_driven()
Stock_by_cohort1_Tgr40, ExitFlag1_Tgr40 = TestDSM1_Tgr40.compute_s_c_inflow_driven()
Stock_by_cohort1_Tgr60, ExitFlag1_Tgr60 = TestDSM1_Tgr60.compute_s_c_inflow_driven()
Stock_by_cohortE_Hbr40, ExitFlagE_Hbr40 = TestDSME_Hbr40.compute_s_c_inflow_driven()
S1_Ac7, ExitFlag1_Ac7 = TestDSM1_Ac7.compute_stock_total()
S1_Ac18, ExitFlag1_Ac18 = TestDSM1_Ac18.compute_stock_total()
S1_Tgr40, ExitFlag1_Tgr40 = TestDSM1_Tgr40.compute_stock_total()
S1_Tgr60, ExitFlag1_Tgr60 = TestDSM1_Tgr60.compute_stock_total()
SE_Hbr40, ExitFlagE_Hbr40 = TestDSME_Hbr40.compute_stock_total()
O_C1_Ac7, ExitFlag1_Ac7 = TestDSM1_Ac7.compute_o_c_from_s_c()
O_C1_Ac18, ExitFlag1_Ac18 = TestDSM1_Ac18.compute_o_c_from_s_c()
O_C1_Tgr40, ExitFlag1_Tgr40 = TestDSM1_Tgr40.compute_o_c_from_s_c()
O_C1_Tgr60, ExitFlag1_Tgr60 = TestDSM1_Tgr60.compute_o_c_from_s_c()
O_CE_Hbr40, ExitFlagE_Hbr40 = TestDSME_Hbr40.compute_o_c_from_s_c()
O1_Ac7, ExitFlag1_Ac7 = TestDSM1_Ac7.compute_outflow_total()
O1_Ac18, ExitFlag1_Ac18 = TestDSM1_Ac18.compute_outflow_total()
O1_Tgr40, ExitFlag1_Tgr40 = TestDSM1_Tgr40.compute_outflow_total()
O1_Tgr60, ExitFlag1_Tgr60 = TestDSM1_Tgr60.compute_outflow_total()
OE_Hbr40, ExitFlagE_Hbr40 = TestDSME_Hbr40.compute_outflow_total()
DS1_Ac7, ExitFlag1_Ac7 = TestDSM1_Ac7.compute_stock_change()
DS1_Ac18, ExitFlag1_Ac18 = TestDSM1_Ac18.compute_stock_change()
DS1_Tgr40, ExitFlag1_Tgr40 = TestDSM1_Tgr40.compute_stock_change()
DS1_Tgr60, ExitFlag1_Tgr60 = TestDSM1_Tgr60.compute_stock_change()
DSE_Hbr40, ExitFlagE_Hbr40 = TestDSME_Hbr40.compute_stock_change()
Bal1_Ac7, ExitFlag1_Ac7 = TestDSM1_Ac7.check_stock_balance()
Bal1_Ac18, ExitFlag1_Ac18 = TestDSM1_Ac18.check_stock_balance()
Bal1_Tgr40, ExitFlag1_Tgr40 = TestDSM1_Tgr40.check_stock_balance()
Bal1_Tgr60, ExitFlag1_Tgr60 = TestDSM1_Tgr60.check_stock_balance()
BalE_Hbr40, ExitFlagE_Hbr40 = TestDSME_Hbr40.check_stock_balance()
#print output flow
print(TestDSM1_Ac7.o)
print(TestDSM1_Ac18.o)
print(TestDSM1_Tgr40.o)
print(TestDSM1_Tgr60.o)
print(TestDSME_Hbr40.o)
#%%
#Step (5): Biomass growth
## one-year gap between rotation cycle
# <NAME> (Source: Anitha et al., 2015; Adiriono, 2009). Code: Ac
tf_Ac_7y = 8
tf_Ac_18y = 19
A1 = range(1,tf_Ac_7y,1)
A2 = range(1,tf_Ac_18y,1)
#calculate the biomass and carbon content of A. crassicarpa over time (7y)
def Y_Ac_7y(A1):
return 44/12*1000*np.exp(4.503-(2.559/A1))
output_Y_Ac_7y = np.array([Y_Ac_7y(A1i) for A1i in A1])
print(output_Y_Ac_7y)
#insert 0 value to the first element of the output result
output_Y_Ac_7y = np.insert(output_Y_Ac_7y,0,0)
print(output_Y_Ac_7y)
#calculate the biomass and carbon content of A. crassicarpa over time (18y)
def Y_Ac_18y(A2):
return 44/12*1000*np.exp(4.503-(2.559/A2))
output_Y_Ac_18y = np.array([Y_Ac_18y(A2i) for A2i in A2])
print(output_Y_Ac_18y)
#insert 0 value to the first element of the output result
output_Y_Ac_18y = np.insert(output_Y_Ac_18y,0,0)
print(output_Y_Ac_18y)
##26 times 8-year cycle (+1 year gap after the FP harvest)of new AGB of A. crassicarpa (7y), zero year gap between the cycle
counter_7y = range(0,26,1)
y_Ac_7y = []
for i in counter_7y:
y_Ac_7y.append(output_Y_Ac_7y)
flat_list_Ac_7y = []
for sublist in y_Ac_7y:
for item in sublist:
flat_list_Ac_7y.append(item)
#the length of the list is now 208, so we remove the last 7 elements of the list to make the len=tf
flat_list_Ac_7y = flat_list_Ac_7y[:len(flat_list_Ac_7y)-7]
print(len(flat_list_Ac_7y))
##11 times 19-year cycle (+1 year gap after the FP harvest) of new AGB of A. crassicarpa (18y), zero year gap between the cycle
counter_18y = range(0,11,1)
y_Ac_18y = []
for i in counter_18y:
y_Ac_18y.append(output_Y_Ac_18y)
flat_list_Ac_18y = []
for sublist in y_Ac_18y:
for item in sublist:
flat_list_Ac_18y.append(item)
#the length of the list is now 209, so we remove the last 8 elements of the list to make the len=tf
flat_list_Ac_18y = flat_list_Ac_18y[:len(flat_list_Ac_18y)-8]
#####Check the flat list length for Hbr
## T. grandis (Source: Anitha et al., 2015; Adiriono, 2009). Code: Tgr
tf_Tgr_40y = 41
tf_Tgr_60y = 61
T1 = range(0,tf_Tgr_40y,1)
T2 = range(0,tf_Tgr_60y,1)
#calculate the biomass and carbon content of T. grandis over time (40y)
def Y_Tgr_40y(T1):
return 44/12*1000*2.114*(T1**0.941)
output_Y_Tgr_40y = np.array([Y_Tgr_40y(T1i) for T1i in T1])
print(output_Y_Tgr_40y)
#calculate the biomass and carbon content of T. grandis over time (60y)
def Y_Tgr_60y(T2):
return 44/12*1000*2.114*(T2**0.941)
output_Y_Tgr_60y = np.array([Y_Tgr_60y(T2i) for T2i in T2])
print(output_Y_Tgr_60y)
##5 times 41-year cycle of new AGB of T. grandis (40y), zero year gap between the cycle
counter_40y = range(0,5,1)
y_Tgr_40y = []
for i in counter_40y:
y_Tgr_40y.append(output_Y_Tgr_40y)
flat_list_Tgr_40y = []
for sublist in y_Tgr_40y:
for item in sublist:
flat_list_Tgr_40y.append(item)
#the length of the list is now 205, so we remove the last 4 elements of the list to make the len=tf
flat_list_Tgr_40y = flat_list_Tgr_40y[:len(flat_list_Tgr_40y)-4]
##4 times 60-year cycle of new AGB of T. grandis (60y), zero year gap between the cycle
counter_60y = range(0,4,1)
y_Tgr_60y = []
for i in counter_60y:
y_Tgr_60y.append(output_Y_Tgr_60y)
flat_list_Tgr_60y = []
for sublist in y_Tgr_60y:
for item in sublist:
flat_list_Tgr_60y.append(item)
#the length of the list is now 244, so we remove the last 43 elements of the list to make the len=tf
flat_list_Tgr_60y = flat_list_Tgr_60y[:len(flat_list_Tgr_60y)-43]
## H. brasiliensis (Source: Guillaume et al., 2018). Code: Hbr
tf_Hbr_40y = 41
H1 = range(0,tf_Hbr_40y,1)
#calculate the biomass and carbon content of H. brasiliensis over time (40y)
def Y_Hbr_40y(H1):
return 44/12*1000*1.55*H1
output_Y_Hbr_40y = np.array([Y_Hbr_40y(H1i) for H1i in H1])
print(output_Y_Hbr_40y)
##5 times 40-year cycle of new AGB of H. brasiliensis (40y), zero year gap between the cycle
counter_40y = range(0,5,1)
y_Hbr_40y = []
for i in counter_40y:
y_Hbr_40y.append(output_Y_Hbr_40y)
flat_list_Hbr_40y = []
for sublist in y_Hbr_40y:
for item in sublist:
flat_list_Hbr_40y.append(item)
#the length of the list is now 205, so we remove the last 4 elements of the list to make the len=tf
flat_list_Hbr_40y = flat_list_Hbr_40y[:len(flat_list_Hbr_40y)-4]
#plotting
t = range (0,tf,1)
plt.xlim([0, 200])
plt.plot(t, flat_list_Ac_7y, color='lightcoral')
plt.plot(t, flat_list_Ac_18y, color='deeppink')
plt.plot(t, flat_list_Hbr_40y, color='darkviolet')
plt.plot(t, flat_list_Tgr_40y)
plt.plot(t, flat_list_Tgr_60y, color='seagreen')
#plt.fill_between(t, flat_list_nucleus, flat_list_plasma, color='darkseagreen', alpha='0.4')
plt.xlabel('Time (year)')
plt.ylabel('AGB (tC/ha)')
plt.show()
##Yearly sequestration
## <NAME> (7y)
#find the yearly sequestration by calculating the differences between elements in list 'flat_list_Ac_7y(https://stackoverflow.com/questions/5314241/difference-between-consecutive-elements-in-list)
flat_list_Ac_7y = [p - q for q, p in zip(flat_list_Ac_7y, flat_list_Ac_7y[1:])]
#since there is no sequestration between the replanting year (e.g., year 7 to 8), we have to replace negative numbers in 'flat_list_Ac_7y' with 0 values
flat_list_Ac_7y = [0 if i < 0 else i for i in flat_list_Ac_7y]
#insert 0 value to the list as the first element, because there is no sequestration in year 0
var = 0
flat_list_Ac_7y.insert(0,var)
#make 'flat_list_Ac_7y' elements negative numbers to denote sequestration
flat_list_Ac_7y = [ -x for x in flat_list_Ac_7y]
print(flat_list_Ac_7y)
##<NAME> (18y)
#find the yearly sequestration by calculating the differences between elements in list 'flat_list_Ac_18y(https://stackoverflow.com/questions/5314241/difference-between-consecutive-elements-in-list)
flat_list_Ac_18y = [t - u for u, t in zip(flat_list_Ac_18y, flat_list_Ac_18y[1:])]
#since there is no sequestration between the replanting year (e.g., year 25 to 26), we have to replace negative numbers in 'flat_list_Ac_18y' with 0 values (https://stackoverflow.com/questions/36310897/how-do-i-change-all-negative-numbers-to-zero-in-python/36310913)
flat_list_Ac_18y = [0 if i < 0 else i for i in flat_list_Ac_18y]
#insert 0 value to the list as the first element, because there is no sequestration in year 0
var = 0
flat_list_Ac_18y.insert(0,var)
#make 'flat_list_plasma' elements negative numbers to denote sequestration
flat_list_Ac_18y = [ -x for x in flat_list_Ac_18y]
print(flat_list_Ac_18y)
##<NAME> (40y)
#find the yearly sequestration by calculating the differences between elements in list 'flat_list_Tgr_40y(https://stackoverflow.com/questions/5314241/difference-between-consecutive-elements-in-list)
flat_list_Tgr_40y = [b - c for c, b in zip(flat_list_Tgr_40y, flat_list_Tgr_40y[1:])]
#since there is no sequestration between the replanting year (e.g., year 40 to 41), we have to replace negative numbers in 'flat_list_Tgr_40y' with 0 values (https://stackoverflow.com/questions/36310897/how-do-i-change-all-negative-numbers-to-zero-in-python/36310913)
flat_list_Tgr_40y = [0 if i < 0 else i for i in flat_list_Tgr_40y]
#insert 0 value to the list as the first element, because there is no sequestration in year 0
var = 0
flat_list_Tgr_40y.insert(0,var)
#make 'flat_list_plasma' elements negative numbers to denote sequestration
flat_list_Tgr_40y = [-x for x in flat_list_Tgr_40y]
print(flat_list_Tgr_40y)
##<NAME> (60y)
#find the yearly sequestration by calculating the differences between elements in list 'flat_list_Tgr_60y(https://stackoverflow.com/questions/5314241/difference-between-consecutive-elements-in-list)
flat_list_Tgr_60y = [k - l for l, k in zip(flat_list_Tgr_60y, flat_list_Tgr_60y[1:])]
#since there is no sequestration between the replanting year (e.g., year 25 to 26), we have to replace negative numbers in 'flat_list_Tgr_60y' with 0 values (https://stackoverflow.com/questions/36310897/how-do-i-change-all-negative-numbers-to-zero-in-python/36310913)
flat_list_Tgr_60y = [0 if i < 0 else i for i in flat_list_Tgr_60y]
#insert 0 value to the list as the first element, because there is no sequestration in year 0
var = 0
flat_list_Tgr_60y.insert(0,var)
#make 'flat_list_plasma' elements negative numbers to denote sequestration
flat_list_Tgr_60y = [ -x for x in flat_list_Tgr_60y]
print(flat_list_Tgr_60y)
##<NAME> (40y)
#find the yearly sequestration by calculating the differences between elements in list 'flat_list_Hbr_40y(https://stackoverflow.com/questions/5314241/difference-between-consecutive-elements-in-list)
flat_list_Hbr_40y = [c - d for d, c in zip(flat_list_Hbr_40y, flat_list_Hbr_40y[1:])]
#since there is no sequestration between the replanting year (e.g., year 25 to 26), we have to replace negative numbers in 'flat_list_Hbr_40y' with 0 values (https://stackoverflow.com/questions/36310897/how-do-i-change-all-negative-numbers-to-zero-in-python/36310913)
flat_list_Hbr_40y = [0 if i < 0 else i for i in flat_list_Hbr_40y]
#insert 0 value to the list as the first element, because there is no sequestration in year 0
var = 0
flat_list_Hbr_40y.insert(0,var)
#make 'flat_list_plasma' elements negative numbers to denote sequestration
flat_list_Hbr_40y = [ -x for x in flat_list_Hbr_40y]
print(flat_list_Hbr_40y)
#%%
#Step (6): post-harvest processing of wood
#post-harvest wood processing
df1_Ac_7y = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_S1_Ac_7y')
df1_Ac_18y = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_S1_Ac_18y')
df1_Tgr_40y = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_S1_Tgr_40y')
dfl_Tgr_60y = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_S1_Tgr_60y')
dfE_Hbr_40y = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_E_Hbr_40y')
t = range(0,tf,1)
PH_Emissions_HWP1_Ac_7y = df1_Ac_7y['PH_Emissions_HWP'].values
PH_Emissions_HWP1_Ac_18y = df1_Ac_18y['PH_Emissions_HWP'].values
PH_Emissions_HWP1_Tgr_40y = df1_Tgr_40y['PH_Emissions_HWP'].values
PH_Emissions_HWP1_Tgr_60y = dfl_Tgr_60y['PH_Emissions_HWP'].values
PH_Emissions_HWPE_Hbr_40y = dfE_Hbr_40y ['PH_Emissions_HWP'].values
#%%
#Step (7_1): landfill gas decomposition (CH4)
#CH4 decomposition
hl = 20 #half-live
k = (np.log(2))/hl
#S1_Ac_7y
df = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_S1_Ac_7y')
tf = 201
t = np.arange(tf)
def decomp_CH4_S1_Ac_7y(t,remainAGB_CH4_S1_Ac_7y):
return (1-(1-np.exp(-k*t)))*remainAGB_CH4_S1_Ac_7y
#set zero matrix
output_decomp_CH4_S1_Ac_7y = np.zeros((len(t),len(df['Landfill_decomp_CH4'].values)))
for i,remain_part_CH4_S1_Ac_7y in enumerate(df['Landfill_decomp_CH4'].values):
#print(i,remain_part)
output_decomp_CH4_S1_Ac_7y[i:,i] = decomp_CH4_S1_Ac_7y(t[:len(t)-i],remain_part_CH4_S1_Ac_7y)
print(output_decomp_CH4_S1_Ac_7y[:,:4])
#find the yearly emissions from decomposition by calculating the differences between elements in list 'decomp_tot_S1'
#(https://stackoverflow.com/questions/5314241/difference-between-consecutive-elements-in-list)
# https://stackoverflow.com/questions/11095892/numpy-difference-between-neighboring-elements
#difference between element,
subs_matrix_CH4_S1_Ac_7y = np.zeros((len(t)-1,len(df['Landfill_decomp_CH4'].values-1)))
i = 0
while i < tf:
subs_matrix_CH4_S1_Ac_7y[:,i] = np.diff(output_decomp_CH4_S1_Ac_7y[:,i])
i = i + 1
print(subs_matrix_CH4_S1_Ac_7y[:,:4])
print(len(subs_matrix_CH4_S1_Ac_7y))
#since there is no carbon emission from decomposition at the beginning of the year (esp. from 'year 1' onward),
#we have to replace the positive numbers with 0 values (https://stackoverflow.com/questions/36310897/how-do-i-change-all-negative-numbers-to-zero-in-python/36310913)
subs_matrix_CH4_S1_Ac_7y = subs_matrix_CH4_S1_Ac_7y.clip(max=0)
print(subs_matrix_CH4_S1_Ac_7y[:,:4])
#make the results as absolute values
subs_matrix_CH4_S1_Ac_7y = abs(subs_matrix_CH4_S1_Ac_7y)
print(subs_matrix_CH4_S1_Ac_7y[:,:4])
#insert row of zeros into the first row of the subs_matrix
zero_matrix_CH4_S1_Ac_7y = np.zeros((len(t)-200,len(df['Landfill_decomp_CH4'].values)))
print(zero_matrix_CH4_S1_Ac_7y)
subs_matrix_CH4_S1_Ac_7y = np.vstack((zero_matrix_CH4_S1_Ac_7y, subs_matrix_CH4_S1_Ac_7y))
print(subs_matrix_CH4_S1_Ac_7y[:,:4])
#sum every column of the subs_matrix into one vector matrix
matrix_tot_CH4_S1_Ac_7y = (tf,1)
decomp_tot_CH4_S1_Ac_7y = np.zeros(matrix_tot_CH4_S1_Ac_7y)
i = 0
while i < tf:
decomp_tot_CH4_S1_Ac_7y[:,0] = decomp_tot_CH4_S1_Ac_7y[:,0] + subs_matrix_CH4_S1_Ac_7y[:,i]
i = i + 1
print(decomp_tot_CH4_S1_Ac_7y[:,0])
#S1_Ac_18y
df = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_S1_Ac_18y')
tf = 201
t = np.arange(tf)
def decomp_CH4_S1_Ac_18y(t,remainAGB_CH4_S1_Ac_18y):
return (1-(1-np.exp(-k*t)))*remainAGB_CH4_S1_Ac_18y
#set zero matrix
output_decomp_CH4_S1_Ac_18y = np.zeros((len(t),len(df['Landfill_decomp_CH4'].values)))
for i,remain_part_CH4_S1_Ac_18y in enumerate(df['Landfill_decomp_CH4'].values):
#print(i,remain_part)
output_decomp_CH4_S1_Ac_18y[i:,i] = decomp_CH4_S1_Ac_18y(t[:len(t)-i],remain_part_CH4_S1_Ac_18y)
print(output_decomp_CH4_S1_Ac_18y[:,:4])
#find the yearly emissions from decomposition by calculating the differences between elements in list 'decomp_tot_S1'
#(https://stackoverflow.com/questions/5314241/difference-between-consecutive-elements-in-list)
# https://stackoverflow.com/questions/11095892/numpy-difference-between-neighboring-elements
#difference between element,
subs_matrix_CH4_S1_Ac_18y = np.zeros((len(t)-1,len(df['Landfill_decomp_CH4'].values-1)))
i = 0
while i < tf:
subs_matrix_CH4_S1_Ac_18y[:,i] = np.diff(output_decomp_CH4_S1_Ac_18y[:,i])
i = i + 1
print(subs_matrix_CH4_S1_Ac_18y[:,:4])
print(len(subs_matrix_CH4_S1_Ac_18y))
#since there is no carbon emission from decomposition at the beginning of the year (esp. from 'year 1' onward),
#we have to replace the positive numbers with 0 values (https://stackoverflow.com/questions/36310897/how-do-i-change-all-negative-numbers-to-zero-in-python/36310913)
subs_matrix_CH4_S1_Ac_18y = subs_matrix_CH4_S1_Ac_18y.clip(max=0)
print(subs_matrix_CH4_S1_Ac_18y[:,:4])
#make the results as absolute values
subs_matrix_CH4_S1_Ac_18y = abs(subs_matrix_CH4_S1_Ac_18y)
print(subs_matrix_CH4_S1_Ac_18y[:,:4])
#insert row of zeros into the first row of the subs_matrix
zero_matrix_CH4_S1_Ac_18y = np.zeros((len(t)-200,len(df['Landfill_decomp_CH4'].values)))
print(zero_matrix_CH4_S1_Ac_18y)
subs_matrix_CH4_S1_Ac_18y = np.vstack((zero_matrix_CH4_S1_Ac_18y, subs_matrix_CH4_S1_Ac_18y))
print(subs_matrix_CH4_S1_Ac_18y[:,:4])
#sum every column of the subs_matrix into one vector matrix
matrix_tot_CH4_S1_Ac_18y = (tf,1)
decomp_tot_CH4_S1_Ac_18y = np.zeros(matrix_tot_CH4_S1_Ac_18y)
i = 0
while i < tf:
decomp_tot_CH4_S1_Ac_18y[:,0] = decomp_tot_CH4_S1_Ac_18y[:,0] + subs_matrix_CH4_S1_Ac_18y[:,i]
i = i + 1
print(decomp_tot_CH4_S1_Ac_18y[:,0])
#S1_Tgr_40y
df = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_S1_Tgr_40y')
tf = 201
t = np.arange(tf)
def decomp_CH4_S1_Tgr_40y(t,remainAGB_CH4_S1_Tgr_40y):
return (1-(1-np.exp(-k*t)))*remainAGB_CH4_S1_Tgr_40y
#set zero matrix
output_decomp_CH4_S1_Tgr_40y = np.zeros((len(t),len(df['Landfill_decomp_CH4'].values)))
for i,remain_part_CH4_S1_Tgr_40y in enumerate(df['Landfill_decomp_CH4'].values):
#print(i,remain_part)
output_decomp_CH4_S1_Tgr_40y[i:,i] = decomp_CH4_S1_Tgr_40y(t[:len(t)-i],remain_part_CH4_S1_Tgr_40y)
print(output_decomp_CH4_S1_Tgr_40y[:,:4])
#find the yearly emissions from decomposition by calculating the differences between elements in list 'decomp_tot_S1'
#(https://stackoverflow.com/questions/5314241/difference-between-consecutive-elements-in-list)
# https://stackoverflow.com/questions/11095892/numpy-difference-between-neighboring-elements
#difference between element,
subs_matrix_CH4_S1_Tgr_40y = np.zeros((len(t)-1,len(df['Landfill_decomp_CH4'].values-1)))
i = 0
while i < tf:
subs_matrix_CH4_S1_Tgr_40y[:,i] = np.diff(output_decomp_CH4_S1_Tgr_40y[:,i])
i = i + 1
print(subs_matrix_CH4_S1_Tgr_40y[:,:4])
print(len(subs_matrix_CH4_S1_Tgr_40y))
#since there is no carbon emission from decomposition at the beginning of the year (esp. from 'year 1' onward),
#we have to replace the positive numbers with 0 values (https://stackoverflow.com/questions/36310897/how-do-i-change-all-negative-numbers-to-zero-in-python/36310913)
subs_matrix_CH4_S1_Tgr_40y = subs_matrix_CH4_S1_Tgr_40y.clip(max=0)
print(subs_matrix_CH4_S1_Tgr_40y[:,:4])
#make the results as absolute values
subs_matrix_CH4_S1_Tgr_40y = abs(subs_matrix_CH4_S1_Tgr_40y)
print(subs_matrix_CH4_S1_Tgr_40y[:,:4])
#insert row of zeros into the first row of the subs_matrix
zero_matrix_CH4_S1_Tgr_40y = np.zeros((len(t)-200,len(df['Landfill_decomp_CH4'].values)))
print(zero_matrix_CH4_S1_Tgr_40y)
subs_matrix_CH4_S1_Tgr_40y = np.vstack((zero_matrix_CH4_S1_Tgr_40y, subs_matrix_CH4_S1_Tgr_40y))
print(subs_matrix_CH4_S1_Tgr_40y[:,:4])
#sum every column of the subs_matrix into one vector matrix
matrix_tot_CH4_S1_Tgr_40y = (tf,1)
decomp_tot_CH4_S1_Tgr_40y = np.zeros(matrix_tot_CH4_S1_Tgr_40y)
i = 0
while i < tf:
decomp_tot_CH4_S1_Tgr_40y[:,0] = decomp_tot_CH4_S1_Tgr_40y[:,0] + subs_matrix_CH4_S1_Tgr_40y[:,i]
i = i + 1
print(decomp_tot_CH4_S1_Tgr_40y[:,0])
#S1_Tgr_60y
df = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_S1_Tgr_60y')
tf = 201
t = np.arange(tf)
def decomp_CH4_S1_Tgr_60y(t,remainAGB_CH4_S1_Tgr_60y):
return (1-(1-np.exp(-k*t)))*remainAGB_CH4_S1_Tgr_60y
#set zero matrix
output_decomp_CH4_S1_Tgr_60y = np.zeros((len(t),len(df['Landfill_decomp_CH4'].values)))
for i,remain_part_CH4_S1_Tgr_60y in enumerate(df['Landfill_decomp_CH4'].values):
#print(i,remain_part)
output_decomp_CH4_S1_Tgr_60y[i:,i] = decomp_CH4_S1_Tgr_60y(t[:len(t)-i],remain_part_CH4_S1_Tgr_60y)
print(output_decomp_CH4_S1_Tgr_60y[:,:4])
#find the yearly emissions from decomposition by calculating the differences between elements in list 'decomp_tot_S1'
#(https://stackoverflow.com/questions/5314241/difference-between-consecutive-elements-in-list)
# https://stackoverflow.com/questions/11095892/numpy-difference-between-neighboring-elements
#difference between element,
subs_matrix_CH4_S1_Tgr_60y = np.zeros((len(t)-1,len(df['Landfill_decomp_CH4'].values-1)))
i = 0
while i < tf:
subs_matrix_CH4_S1_Tgr_60y[:,i] = np.diff(output_decomp_CH4_S1_Tgr_60y[:,i])
i = i + 1
print(subs_matrix_CH4_S1_Tgr_60y[:,:4])
print(len(subs_matrix_CH4_S1_Tgr_60y))
#since there is no carbon emission from decomposition at the beginning of the year (esp. from 'year 1' onward),
#we have to replace the positive numbers with 0 values (https://stackoverflow.com/questions/36310897/how-do-i-change-all-negative-numbers-to-zero-in-python/36310913)
subs_matrix_CH4_S1_Tgr_60y = subs_matrix_CH4_S1_Tgr_60y.clip(max=0)
print(subs_matrix_CH4_S1_Tgr_60y[:,:4])
#make the results as absolute values
subs_matrix_CH4_S1_Tgr_60y = abs(subs_matrix_CH4_S1_Tgr_60y)
print(subs_matrix_CH4_S1_Tgr_60y[:,:4])
#insert row of zeros into the first row of the subs_matrix
zero_matrix_CH4_S1_Tgr_60y = np.zeros((len(t)-200,len(df['Landfill_decomp_CH4'].values)))
print(zero_matrix_CH4_S1_Tgr_60y)
subs_matrix_CH4_S1_Tgr_60y = np.vstack((zero_matrix_CH4_S1_Tgr_60y, subs_matrix_CH4_S1_Tgr_60y))
print(subs_matrix_CH4_S1_Tgr_60y[:,:4])
#sum every column of the subs_matrix into one vector matrix
matrix_tot_CH4_S1_Tgr_60y = (tf,1)
decomp_tot_CH4_S1_Tgr_60y = np.zeros(matrix_tot_CH4_S1_Tgr_60y)
i = 0
while i < tf:
decomp_tot_CH4_S1_Tgr_60y[:,0] = decomp_tot_CH4_S1_Tgr_60y[:,0] + subs_matrix_CH4_S1_Tgr_60y[:,i]
i = i + 1
print(decomp_tot_CH4_S1_Tgr_60y[:,0])
#E
df = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_E_Hbr_40y')
tf = 201
t = np.arange(tf)
def decomp_CH4_E_Hbr_40y(t,remainAGB_CH4_E_Hbr_40y):
return (1-(1-np.exp(-k*t)))*remainAGB_CH4_E_Hbr_40y
#set zero matrix
output_decomp_CH4_E_Hbr_40y = np.zeros((len(t),len(df['Landfill_decomp_CH4'].values)))
for i,remain_part_CH4_E_Hbr_40y in enumerate(df['Landfill_decomp_CH4'].values):
#print(i,remain_part)
output_decomp_CH4_E_Hbr_40y[i:,i] = decomp_CH4_E_Hbr_40y(t[:len(t)-i],remain_part_CH4_E_Hbr_40y)
print(output_decomp_CH4_E_Hbr_40y[:,:4])
#find the yearly emissions from decomposition by calculating the differences between elements in list 'decomp_tot_S1'
#(https://stackoverflow.com/questions/5314241/difference-between-consecutive-elements-in-list)
# https://stackoverflow.com/questions/11095892/numpy-difference-between-neighboring-elements
#difference between element,
subs_matrix_CH4_E_Hbr_40y = np.zeros((len(t)-1,len(df['Landfill_decomp_CH4'].values-1)))
i = 0
while i < tf:
subs_matrix_CH4_E_Hbr_40y[:,i] = np.diff(output_decomp_CH4_E_Hbr_40y[:,i])
i = i + 1
print(subs_matrix_CH4_E_Hbr_40y[:,:4])
print(len(subs_matrix_CH4_E_Hbr_40y))
#since there is no carbon emission from decomposition at the beginning of the year (esp. from 'year 1' onward),
#we have to replace the positive numbers with 0 values (https://stackoverflow.com/questions/36310897/how-do-i-change-all-negative-numbers-to-zero-in-python/36310913)
subs_matrix_CH4_E_Hbr_40y = subs_matrix_CH4_E_Hbr_40y.clip(max=0)
print(subs_matrix_CH4_E_Hbr_40y[:,:4])
#make the results as absolute values
subs_matrix_CH4_E_Hbr_40y = abs(subs_matrix_CH4_E_Hbr_40y)
print(subs_matrix_CH4_E_Hbr_40y[:,:4])
#insert row of zeros into the first row of the subs_matrix
zero_matrix_CH4_E_Hbr_40y = np.zeros((len(t)-200,len(df['Landfill_decomp_CH4'].values)))
print(zero_matrix_CH4_E_Hbr_40y)
subs_matrix_CH4_E_Hbr_40y = np.vstack((zero_matrix_CH4_E_Hbr_40y, subs_matrix_CH4_E_Hbr_40y))
print(subs_matrix_CH4_E_Hbr_40y[:,:4])
#sum every column of the subs_matrix into one vector matrix
matrix_tot_CH4_E_Hbr_40y = (tf,1)
decomp_tot_CH4_E_Hbr_40y = np.zeros(matrix_tot_CH4_E_Hbr_40y)
i = 0
while i < tf:
decomp_tot_CH4_E_Hbr_40y[:,0] = decomp_tot_CH4_E_Hbr_40y[:,0] + subs_matrix_CH4_E_Hbr_40y[:,i]
i = i + 1
print(decomp_tot_CH4_E_Hbr_40y[:,0])
#plotting
t = np.arange(0,tf)
plt.plot(t,decomp_tot_CH4_S1_Ac_7y,label='Ac_7y')
plt.plot(t,decomp_tot_CH4_S1_Ac_18y,label='Ac_18y')
plt.plot(t,decomp_tot_CH4_S1_Tgr_40y,label='Tgr_40y')
plt.plot(t,decomp_tot_CH4_S1_Tgr_60y,label='Tgr_60y')
plt.plot(t,decomp_tot_CH4_E_Hbr_40y,label='E_Hbr_40y')
plt.xlim(0,200)
plt.legend(bbox_to_anchor=(1.04,1), loc="upper left", frameon=False)
plt.show()
#%%
#Step (7_2): landfill gas decomposition (CO2)
#CO2 decomposition
hl = 20 #half-live
k = (np.log(2))/hl
#S1_Ac_7y
df = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_S1_Ac_7y')
tf = 201
t = np.arange(tf)
def decomp_S1_Ac_7y(t,remainAGB_S1_Ac_7y):
return (1-(1-np.exp(-k*t)))*remainAGB_S1_Ac_7y
#set zero matrix
output_decomp_S1_Ac_7y = np.zeros((len(t),len(df['Landfill_decomp_CO2'].values)))
for i,remain_part_S1_Ac_7y in enumerate(df['Landfill_decomp_CO2'].values):
#print(i,remain_part)
output_decomp_S1_Ac_7y[i:,i] = decomp_S1_Ac_7y(t[:len(t)-i],remain_part_S1_Ac_7y)
print(output_decomp_S1_Ac_7y[:,:4])
#find the yearly emissions from decomposition by calculating the differences between elements in list 'decomp_tot_S1'
#(https://stackoverflow.com/questions/5314241/difference-between-consecutive-elements-in-list)
# https://stackoverflow.com/questions/11095892/numpy-difference-between-neighboring-elements
#difference between element,
subs_matrix_S1_Ac_7y = np.zeros((len(t)-1,len(df['Landfill_decomp_CO2'].values-1)))
i = 0
while i < tf:
subs_matrix_S1_Ac_7y[:,i] = np.diff(output_decomp_S1_Ac_7y[:,i])
i = i + 1
print(subs_matrix_S1_Ac_7y[:,:4])
print(len(subs_matrix_S1_Ac_7y))
#since there is no carbon emission from decomposition at the beginning of the year (esp. from 'year 1' onward),
#we have to replace the positive numbers with 0 values (https://stackoverflow.com/questions/36310897/how-do-i-change-all-negative-numbers-to-zero-in-python/36310913)
subs_matrix_S1_Ac_7y = subs_matrix_S1_Ac_7y.clip(max=0)
print(subs_matrix_S1_Ac_7y[:,:4])
#make the results as absolute values
subs_matrix_S1_Ac_7y = abs(subs_matrix_S1_Ac_7y)
print(subs_matrix_S1_Ac_7y[:,:4])
#insert row of zeros into the first row of the subs_matrix
zero_matrix_S1_Ac_7y = np.zeros((len(t)-200,len(df['Landfill_decomp_CO2'].values)))
print(zero_matrix_S1_Ac_7y)
subs_matrix_S1_Ac_7y = np.vstack((zero_matrix_S1_Ac_7y, subs_matrix_S1_Ac_7y))
print(subs_matrix_S1_Ac_7y[:,:4])
#sum every column of the subs_matrix into one vector matrix
matrix_tot_S1_Ac_7y = (tf,1)
decomp_tot_CO2_S1_Ac_7y = np.zeros(matrix_tot_S1_Ac_7y)
i = 0
while i < tf:
decomp_tot_CO2_S1_Ac_7y[:,0] = decomp_tot_CO2_S1_Ac_7y[:,0] + subs_matrix_S1_Ac_7y[:,i]
i = i + 1
print(decomp_tot_CO2_S1_Ac_7y[:,0])
#S1_Ac_18y
df = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_S1_Ac_18y')
tf = 201
t = np.arange(tf)
def decomp_S1_Ac_18y(t,remainAGB_S1_Ac_18y):
return (1-(1-np.exp(-k*t)))*remainAGB_S1_Ac_18y
#set zero matrix
output_decomp_S1_Ac_18y = np.zeros((len(t),len(df['Landfill_decomp_CO2'].values)))
for i,remain_part_S1_Ac_18y in enumerate(df['Landfill_decomp_CO2'].values):
#print(i,remain_part)
output_decomp_S1_Ac_18y[i:,i] = decomp_S1_Ac_18y(t[:len(t)-i],remain_part_S1_Ac_18y)
print(output_decomp_S1_Ac_18y[:,:4])
#find the yearly emissions from decomposition by calculating the differences between elements in list 'decomp_tot_S1'
#(https://stackoverflow.com/questions/5314241/difference-between-consecutive-elements-in-list)
# https://stackoverflow.com/questions/11095892/numpy-difference-between-neighboring-elements
#difference between element,
subs_matrix_S1_Ac_18y = np.zeros((len(t)-1,len(df['Landfill_decomp_CO2'].values-1)))
i = 0
while i < tf:
subs_matrix_S1_Ac_18y[:,i] = np.diff(output_decomp_S1_Ac_18y[:,i])
i = i + 1
print(subs_matrix_S1_Ac_18y[:,:4])
print(len(subs_matrix_S1_Ac_18y))
#since there is no carbon emission from decomposition at the beginning of the year (esp. from 'year 1' onward),
#we have to replace the positive numbers with 0 values (https://stackoverflow.com/questions/36310897/how-do-i-change-all-negative-numbers-to-zero-in-python/36310913)
subs_matrix_S1_Ac_18y = subs_matrix_S1_Ac_18y.clip(max=0)
print(subs_matrix_S1_Ac_18y[:,:4])
#make the results as absolute values
subs_matrix_S1_Ac_18y = abs(subs_matrix_S1_Ac_18y)
print(subs_matrix_S1_Ac_18y[:,:4])
#insert row of zeros into the first row of the subs_matrix
zero_matrix_S1_Ac_18y = np.zeros((len(t)-200,len(df['Landfill_decomp_CO2'].values)))
print(zero_matrix_S1_Ac_18y)
subs_matrix_S1_Ac_18y = np.vstack((zero_matrix_S1_Ac_18y, subs_matrix_S1_Ac_18y))
print(subs_matrix_S1_Ac_18y[:,:4])
#sum every column of the subs_matrix into one vector matrix
matrix_tot_S1_Ac_18y = (tf,1)
decomp_tot_CO2_S1_Ac_18y = np.zeros(matrix_tot_S1_Ac_18y)
i = 0
while i < tf:
decomp_tot_CO2_S1_Ac_18y[:,0] = decomp_tot_CO2_S1_Ac_18y[:,0] + subs_matrix_S1_Ac_18y[:,i]
i = i + 1
print(decomp_tot_CO2_S1_Ac_18y[:,0])
#S1_Tgr_40y
df = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_S1_Tgr_40y')
tf = 201
t = np.arange(tf)
def decomp_S1_Tgr_40y(t,remainAGB_S1_Tgr_40y):
return (1-(1-np.exp(-k*t)))*remainAGB_S1_Tgr_40y
#set zero matrix
output_decomp_S1_Tgr_40y = np.zeros((len(t),len(df['Landfill_decomp_CO2'].values)))
for i,remain_part_S1_Tgr_40y in enumerate(df['Landfill_decomp_CO2'].values):
#print(i,remain_part)
output_decomp_S1_Tgr_40y[i:,i] = decomp_S1_Tgr_40y(t[:len(t)-i],remain_part_S1_Tgr_40y)
print(output_decomp_S1_Tgr_40y[:,:4])
#find the yearly emissions from decomposition by calculating the differences between elements in list 'decomp_tot_S1'
#(https://stackoverflow.com/questions/5314241/difference-between-consecutive-elements-in-list)
# https://stackoverflow.com/questions/11095892/numpy-difference-between-neighboring-elements
#difference between element,
subs_matrix_S1_Tgr_40y = np.zeros((len(t)-1,len(df['Landfill_decomp_CO2'].values-1)))
i = 0
while i < tf:
subs_matrix_S1_Tgr_40y[:,i] = np.diff(output_decomp_S1_Tgr_40y[:,i])
i = i + 1
print(subs_matrix_S1_Tgr_40y[:,:4])
print(len(subs_matrix_S1_Tgr_40y))
#since there is no carbon emission from decomposition at the beginning of the year (esp. from 'year 1' onward),
#we have to replace the positive numbers with 0 values (https://stackoverflow.com/questions/36310897/how-do-i-change-all-negative-numbers-to-zero-in-python/36310913)
subs_matrix_S1_Tgr_40y = subs_matrix_S1_Tgr_40y.clip(max=0)
print(subs_matrix_S1_Tgr_40y[:,:4])
#make the results as absolute values
subs_matrix_S1_Tgr_40y = abs(subs_matrix_S1_Tgr_40y)
print(subs_matrix_S1_Tgr_40y[:,:4])
#insert row of zeros into the first row of the subs_matrix
zero_matrix_S1_Tgr_40y = np.zeros((len(t)-200,len(df['Landfill_decomp_CO2'].values)))
print(zero_matrix_S1_Tgr_40y)
subs_matrix_S1_Tgr_40y = np.vstack((zero_matrix_S1_Tgr_40y, subs_matrix_S1_Tgr_40y))
print(subs_matrix_S1_Tgr_40y[:,:4])
#sum every column of the subs_matrix into one vector matrix
matrix_tot_S1_Tgr_40y = (tf,1)
decomp_tot_CO2_S1_Tgr_40y = np.zeros(matrix_tot_S1_Tgr_40y)
i = 0
while i < tf:
decomp_tot_CO2_S1_Tgr_40y[:,0] = decomp_tot_CO2_S1_Tgr_40y[:,0] + subs_matrix_S1_Tgr_40y[:,i]
i = i + 1
print(decomp_tot_CO2_S1_Tgr_40y[:,0])
#S2_Tgr_60y
df = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_S1_Tgr_60y')
tf = 201
t = np.arange(tf)
def decomp_S1_Tgr_60y(t,remainAGB_S1_Tgr_60y):
return (1-(1-np.exp(-k*t)))*remainAGB_S1_Tgr_60y
#set zero matrix
output_decomp_S1_Tgr_60y = np.zeros((len(t),len(df['Landfill_decomp_CO2'].values)))
for i,remain_part_S1_Tgr_60y in enumerate(df['Landfill_decomp_CO2'].values):
#print(i,remain_part)
output_decomp_S1_Tgr_60y[i:,i] = decomp_S1_Tgr_60y(t[:len(t)-i],remain_part_S1_Tgr_60y)
print(output_decomp_S1_Tgr_60y[:,:4])
#find the yearly emissions from decomposition by calculating the differences between elements in list 'decomp_tot_S1'
#(https://stackoverflow.com/questions/5314241/difference-between-consecutive-elements-in-list)
# https://stackoverflow.com/questions/11095892/numpy-difference-between-neighboring-elements
#difference between element,
subs_matrix_S1_Tgr_60y = np.zeros((len(t)-1,len(df['Landfill_decomp_CO2'].values-1)))
i = 0
while i < tf:
subs_matrix_S1_Tgr_60y[:,i] = np.diff(output_decomp_S1_Tgr_60y[:,i])
i = i + 1
print(subs_matrix_S1_Tgr_60y[:,:4])
print(len(subs_matrix_S1_Tgr_60y))
#since there is no carbon emission from decomposition at the beginning of the year (esp. from 'year 1' onward),
#we have to replace the positive numbers with 0 values (https://stackoverflow.com/questions/36310897/how-do-i-change-all-negative-numbers-to-zero-in-python/36310913)
subs_matrix_S1_Tgr_60y = subs_matrix_S1_Tgr_60y.clip(max=0)
print(subs_matrix_S1_Tgr_60y[:,:4])
#make the results as absolute values
subs_matrix_S1_Tgr_60y = abs(subs_matrix_S1_Tgr_60y)
print(subs_matrix_S1_Tgr_60y[:,:4])
#insert row of zeros into the first row of the subs_matrix
zero_matrix_S1_Tgr_60y = np.zeros((len(t)-200,len(df['Landfill_decomp_CO2'].values)))
print(zero_matrix_S1_Tgr_60y)
subs_matrix_S1_Tgr_60y = np.vstack((zero_matrix_S1_Tgr_60y, subs_matrix_S1_Tgr_60y))
print(subs_matrix_S1_Tgr_60y[:,:4])
#sum every column of the subs_matrix into one vector matrix
matrix_tot_S1_Tgr_60y = (tf,1)
decomp_tot_CO2_S1_Tgr_60y = np.zeros(matrix_tot_S1_Tgr_60y)
i = 0
while i < tf:
decomp_tot_CO2_S1_Tgr_60y[:,0] = decomp_tot_CO2_S1_Tgr_60y[:,0] + subs_matrix_S1_Tgr_60y[:,i]
i = i + 1
print(decomp_tot_CO2_S1_Tgr_60y[:,0])
#E
df = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_E_Hbr_40y')
tf = 201
t = np.arange(tf)
def decomp_E_Hbr_40y(t,remainAGB_E_Hbr_40y):
return (1-(1-np.exp(-k*t)))*remainAGB_E_Hbr_40y
#set zero matrix
output_decomp_E_Hbr_40y = np.zeros((len(t),len(df['Landfill_decomp_CO2'].values)))
for i,remain_part_E_Hbr_40y in enumerate(df['Landfill_decomp_CO2'].values):
#print(i,remain_part)
output_decomp_E_Hbr_40y[i:,i] = decomp_E_Hbr_40y(t[:len(t)-i],remain_part_E_Hbr_40y)
print(output_decomp_E_Hbr_40y[:,:4])
#find the yearly emissions from decomposition by calculating the differences between elements in list 'decomp_tot_S1'
#(https://stackoverflow.com/questions/5314241/difference-between-consecutive-elements-in-list)
# https://stackoverflow.com/questions/11095892/numpy-difference-between-neighboring-elements
#difference between element,
subs_matrix_E_Hbr_40y = np.zeros((len(t)-1,len(df['Landfill_decomp_CO2'].values-1)))
i = 0
while i < tf:
subs_matrix_E_Hbr_40y[:,i] = np.diff(output_decomp_E_Hbr_40y[:,i])
i = i + 1
print(subs_matrix_E_Hbr_40y[:,:4])
print(len(subs_matrix_E_Hbr_40y))
#since there is no carbon emission from decomposition at the beginning of the year (esp. from 'year 1' onward),
#we have to replace the positive numbers with 0 values (https://stackoverflow.com/questions/36310897/how-do-i-change-all-negative-numbers-to-zero-in-python/36310913)
subs_matrix_E_Hbr_40y = subs_matrix_E_Hbr_40y.clip(max=0)
print(subs_matrix_E_Hbr_40y[:,:4])
#make the results as absolute values
subs_matrix_E_Hbr_40y = abs(subs_matrix_E_Hbr_40y)
print(subs_matrix_E_Hbr_40y[:,:4])
#insert row of zeros into the first row of the subs_matrix
zero_matrix_E_Hbr_40y = np.zeros((len(t)-200,len(df['Landfill_decomp_CO2'].values)))
print(zero_matrix_E_Hbr_40y)
subs_matrix_E_Hbr_40y = np.vstack((zero_matrix_E_Hbr_40y, subs_matrix_E_Hbr_40y))
print(subs_matrix_E_Hbr_40y[:,:4])
#sum every column of the subs_matrix into one vector matrix
matrix_tot_E_Hbr_40y = (tf,1)
decomp_tot_CO2_E_Hbr_40y = np.zeros(matrix_tot_E_Hbr_40y)
i = 0
while i < tf:
decomp_tot_CO2_E_Hbr_40y[:,0] = decomp_tot_CO2_E_Hbr_40y[:,0] + subs_matrix_E_Hbr_40y[:,i]
i = i + 1
print(decomp_tot_CO2_E_Hbr_40y[:,0])
#plotting
t = np.arange(0,tf)
plt.plot(t,decomp_tot_CO2_S1_Ac_7y,label='Ac_7y')
plt.plot(t,decomp_tot_CO2_S1_Ac_18y,label='Ac_18y')
plt.plot(t,decomp_tot_CO2_S1_Tgr_40y,label='Tgr_40y')
plt.plot(t,decomp_tot_CO2_S1_Tgr_60y,label='Tgr_60y')
plt.plot(t,decomp_tot_CO2_E_Hbr_40y,label='E_Hbr_40y')
plt.xlim(0,200)
plt.legend(bbox_to_anchor=(1.04,1), loc="upper left", frameon=False)
plt.show()
#%%
#Step (8): Sum the emissions and sequestration (net carbon balance), CO2 and CH4 are separated
#https://stackoverflow.com/questions/52703442/python-sum-values-from-multiple-lists-more-than-two
#C_loss + C_remainAGB + C_remainHWP + PH_Emissions_PO
Emissions_S1_Ac_7y = [c_firewood_energy_S1_Ac7, decomp_tot_S1_Ac_7y[:,0], TestDSM1_Ac7.o, PH_Emissions_HWP1_Ac_7y, decomp_tot_CO2_S1_Ac_7y[:,0]]
Emissions_S1_Ac_18y = [c_firewood_energy_S1_Ac18, decomp_tot_S1_Ac_18y[:,0], TestDSM1_Ac18.o, PH_Emissions_HWP1_Ac_18y, decomp_tot_CO2_S1_Ac_18y[:,0]]
Emissions_S1_Tgr_40y = [c_firewood_energy_S1_Tgr40, decomp_tot_S1_Tgr_40y[:,0], TestDSM1_Tgr40.o, PH_Emissions_HWP1_Tgr_40y, decomp_tot_CO2_S1_Tgr_40y[:,0]]
Emissions_S1_Tgr_60y = [c_firewood_energy_S1_Tgr60, decomp_tot_S1_Tgr_60y[:,0], TestDSM1_Tgr60.o, PH_Emissions_HWP1_Tgr_60y, decomp_tot_CO2_S1_Tgr_60y[:,0]]
Emissions_E_Hbr_40y = [c_firewood_energy_E_Hbr40, c_pellets_Hbr_40y, decomp_tot_E_Hbr_40y[:,0], TestDSME_Hbr40.o, PH_Emissions_HWPE_Hbr_40y, decomp_tot_CO2_E_Hbr_40y[:,0]]
Emissions_DL_FP_S1_Ac_7y = [sum(x) for x in zip(*Emissions_S1_Ac_7y)]
Emissions_DL_FP_S1_Ac_18y = [sum(x) for x in zip(*Emissions_S1_Ac_18y)]
Emissions_DL_FP_S1_Tgr_40y = [sum(x) for x in zip(*Emissions_S1_Tgr_40y)]
Emissions_DL_FP_S1_Tgr_60y = [sum(x) for x in zip(*Emissions_S1_Tgr_60y)]
Emissions_DL_FP_E_Hbr_40y = [sum(x) for x in zip(*Emissions_E_Hbr_40y)]
#CH4_S1_Ac_7y
Emissions_CH4_DL_FP_S1_Ac_7y = decomp_tot_CH4_S1_Ac_7y[:,0]
#CH4_S1_Ac_18y
Emissions_CH4_DL_FP_S1_Ac_18y = decomp_tot_CH4_S1_Ac_18y[:,0]
#CH4_S1_Tgr_40y
Emissions_CH4_DL_FP_S1_Tgr_40y = decomp_tot_CH4_S1_Tgr_40y[:,0]
#CH4_S1_Tgr_60y
Emissions_CH4_DL_FP_S1_Tgr_60y = decomp_tot_CH4_S1_Tgr_60y[:,0]
#CH4_E_Hbr_40y
Emissions_CH4_DL_FP_E_Hbr_40y = decomp_tot_CH4_E_Hbr_40y[:,0]
#%%
#Step (9): Generate the excel file (emissions_seq_scenarios.xlsx) from Step (8) calculation
#print year column
year = []
for x in range (0, tf):
year.append(x)
print (year)
#print CH4 emission column
import itertools
lst = [0]
Emissions_CH4 = list(itertools.chain.from_iterable(itertools.repeat(x, tf) for x in lst))
print(Emissions_CH4)
#print emission ref
lst1 = [0]
Emission_ref = list(itertools.chain.from_iterable(itertools.repeat(x, tf) for x in lst1))
print(Emission_ref)
#replace the first element with 1 to denote the emission reference as year 0 (for dynGWP calculation)
Emission_ref[0] = 1
print(Emission_ref)
Col1 = year
Col2_S1_Ac_7y = Emissions_DL_FP_S1_Ac_7y
Col2_S1_Ac_18y = Emissions_DL_FP_S1_Ac_18y
Col2_S1_Tgr_40y = Emissions_DL_FP_S1_Tgr_40y
Col2_S1_Tgr_60y = Emissions_DL_FP_S1_Tgr_60y
Col2_E_Hbr_40y = Emissions_DL_FP_E_Hbr_40y
Col3_S1_Ac_7y = Emissions_CH4_DL_FP_S1_Ac_7y
Col3_S1_Ac_18y = Emissions_CH4_DL_FP_S1_Ac_18y
Col3_S1_Tgr_40y = Emissions_CH4_DL_FP_S1_Tgr_40y
Col3_S1_Tgr_60y = Emissions_CH4_DL_FP_S1_Tgr_60y
Col3_E_Hbr_40y = Emissions_CH4_DL_FP_E_Hbr_40y
Col4 = Emission_ref
Col5 = flat_list_Ac_7y
Col6 = flat_list_Ac_18y
Col7 = flat_list_Tgr_40y
Col8 = flat_list_Tgr_60y
Col9 = flat_list_Hbr_40y
#<NAME>
df1_Ac_7y = pd.DataFrame.from_dict({'Year':Col1,'kg_CO2':Col2_S1_Ac_7y,'kg_CH4':Col3_S1_Ac_7y,'kg_CO2_seq':Col5,'emission_ref':Col4})
df1_Ac_18y = pd.DataFrame.from_dict({'Year':Col1,'kg_CO2':Col2_S1_Ac_18y,'kg_CH4':Col3_S1_Ac_18y,'kg_CO2_seq':Col6,'emission_ref':Col4})
#<NAME>
df1_Tgr_40y = pd.DataFrame.from_dict({'Year':Col1,'kg_CO2':Col2_S1_Tgr_40y,'kg_CH4':Col3_S1_Tgr_40y,'kg_CO2_seq':Col7,'emission_ref':Col4})
df1_Tgr_60y = pd.DataFrame.from_dict({'Year':Col1,'kg_CO2':Col2_S1_Tgr_60y,'kg_CH4':Col3_S1_Tgr_60y,'kg_CO2_seq':Col8,'emission_ref':Col4})
#<NAME>
dfE_Hbr_40y = pd.DataFrame.from_dict({'Year':Col1,'kg_CO2':Col2_E_Hbr_40y,'kg_CH4':Col3_E_Hbr_40y,'kg_CO2_seq':Col9,'emission_ref':Col4})
writer = pd.ExcelWriter('emissions_seq_DL_FP_S1.xlsx', engine = 'xlsxwriter')
df1_Ac_7y.to_excel(writer, sheet_name = 'DL_FP_S1_Ac_7y', header=True, index=False )
df1_Ac_18y.to_excel(writer, sheet_name = 'DL_FP_S1_Ac_18y', header=True, index=False)
df1_Tgr_40y.to_excel(writer, sheet_name = 'DL_FP_S1_Tgr_40y', header=True, index=False)
df1_Tgr_60y.to_excel(writer, sheet_name = 'DL_FP_S1_Tgr_60y', header=True, index=False)
dfE_Hbr_40y.to_excel(writer, sheet_name = 'DL_FP_E_Hbr_40y', header=True, index=False)
writer.save()
writer.close()
#df1.to_excel('test.xlsx', 'nuclues', header=True, index=False)
#df2.to_excel('test.xlsx', 'plasma', header=True, index=False)
#%%
## DYNAMIC LCA
# Step (10): Set General Parameters for Dynamic LCA calculation
aCH4 = 0.129957e-12; # methane - instantaneous radiative forcing per unit mass [W/m2 /kgCH4]
TauCH4 = 12; # methane - lifetime (years)
aCO2 = 0.0018088e-12; # CO2 - instantaneous radiative forcing per unit mass [W/m2 /kgCO2]
TauCO2 = [172.9, 18.51, 1.186]; # CO2 parameters according to Bern carbon cycle-climate model
aBern = [0.259, 0.338, 0.186]; # CO2 parameters according to Bern carbon cycle-climate model
a0Bern = 0.217; # CO2 parameters according to Bern carbon cycle-climate model
tf = 202 #until 202 because we want to get the DCF(t-i) until DCF(201) to determine the impact from the emission from the year 200 (There is no DCF(0))
#%%
#Step (11): Bern 2.5 CC Model, determine atmospheric load (C(t)) for GHG (CO2 and CH4)
t = range(0,tf,1)
## CO2 calculation formula
# time dependant atmospheric load for CO2, Bern model
def C_CO2(t):
return a0Bern + aBern[0]*np.exp(-t/TauCO2[0]) + aBern[1]*np.exp(-t/TauCO2[1]) + aBern[2]*np.exp(-t/TauCO2[2])
output_CO2 = np.array([C_CO2(ti) for ti in t])
print(output_CO2)
## CH4 calculation formula
# time dependant atmospheric load for non-CO2 GHGs (Methane)
def C_CH4(t):
return np.exp(-t/TauCH4)
output_CH4 = np.array([C_CH4(ti) for ti in t])
plt.xlim([0, 200])
plt.ylim([0,1.1])
plt.plot(t, output_CO2, output_CH4)
plt.xlabel('Time (year)')
plt.ylabel('Fraction of CO$_2$')
plt.show()
output_CH4.size
#%%
#determine the C(t) for CO2
s = []
t = np.arange(0,tf,1)
for i in t:
s.append(quad(C_CO2,i-1,i))
res_list_CO2 = [x[0] for x in s]
len(res_list_CO2)
#%%
#determine the C(t) for CH4
s = []
for i in t:
s.append(quad(C_CH4,i-1,i))
res_list_CH4 = [p[0] for p in s]
#plot
plt.xlim([0, 200])
plt.ylim([0,1.5])
plt.plot(t, res_list_CO2, res_list_CH4)
plt.show()
#%%
#Step (12): Determine dynamic characterization factors (DCF) for CO2 and CH4
DCF_inst_CO2 = aCO2 * np.array(res_list_CO2)
print(DCF_inst_CO2)
DCF_inst_CH4 = aCH4 * np.array(res_list_CH4)
plt.xlim([0, 200])
plt.ylim([0,4e-15])
plt.plot(t, DCF_inst_CO2, DCF_inst_CH4)
plt.xlabel('Time (year)')
plt.ylabel('DCF_inst (10$^{-15}$ W/m$^2$.kg CO$_2$)')
plt.show()
len(DCF_inst_CO2)
#%%
#Step (13): import emission data from emissions_seq_scenarios.xlsx (Step (9))
##wood-based
#read S1_Ac_7y
df = pd.read_excel('emissions_seq_DL_FP_S1.xlsx', 'DL_FP_S1_Ac_7y') # can also index sheet by name or fetch all sheets
emission_CO2_S1_Ac_7y = df['kg_CO2'].tolist()
emission_CH4_S1_Ac_7y = df['kg_CH4'].tolist()
emission_CO2_seq_S1_Ac_7y = df['kg_CO2_seq'].tolist()
emission_CO2_ref = df['emission_ref'].tolist()
#read S1_Ac_18y
df = pd.read_excel('emissions_seq_DL_FP_S1.xlsx', 'DL_FP_S1_Ac_18y')
emission_CO2_S1_Ac_18y = df['kg_CO2'].tolist()
emission_CH4_S1_Ac_18y = df['kg_CH4'].tolist()
emission_CO2_seq_S1_Ac_18y = df['kg_CO2_seq'].tolist()
#read S1_Tgr_40y
df = pd.read_excel('emissions_seq_DL_FP_S1.xlsx', 'DL_FP_S1_Tgr_40y') # can also index sheet by name or fetch all sheets
emission_CO2_S1_Tgr_40y = df['kg_CO2'].tolist()
emission_CH4_S1_Tgr_40y = df['kg_CH4'].tolist()
emission_CO2_seq_S1_Tgr_40y = df['kg_CO2_seq'].tolist()
#read S1_Tgr_60y
df = pd.read_excel('emissions_seq_DL_FP_S1.xlsx', 'DL_FP_S1_Tgr_60y')
emission_CO2_S1_Tgr_60y = df['kg_CO2'].tolist()
emission_CH4_S1_Tgr_60y = df['kg_CH4'].tolist()
emission_CO2_seq_S1_Tgr_60y = df['kg_CO2_seq'].tolist()
#read E_Hbr_40y
df = pd.read_excel('emissions_seq_DL_FP_S1.xlsx', 'DL_FP_E_Hbr_40y') # can also index sheet by name or fetch all sheets
emission_CO2_E_Hbr_40y = df['kg_CO2'].tolist()
emission_CH4_E_Hbr_40y = df['kg_CH4'].tolist()
emission_CO2_seq_E_Hbr_40y = df['kg_CO2_seq'].tolist()
#%%
#Step (14): import emission data from the counter-use of non-renewable materials/energy scenarios (NR)
#read S1_Ac_7y
df = pd.read_excel('NonRW_DL_FP.xlsx', 'DL_FP_S1_Ac_7y')
emissions_NonRW_S1_Ac_7y = df['NonRW_emissions'].tolist()
emissions_NonRW_S1_Ac_7y_seq = df['kg_CO2_seq'].tolist()
emission_CO2_ref = df['emission_ref'].tolist()
#read S1_Ac_18y
df = pd.read_excel('NonRW_DL_FP.xlsx', 'DL_FP_S1_Ac_18y')
emissions_NonRW_S1_Ac_18y = df['NonRW_emissions'].tolist()
emissions_NonRW_S1_Ac_18y_seq = df['kg_CO2_seq'].tolist()
#read S1_Tgr_40y
df = pd.read_excel('NonRW_DL_FP.xlsx', 'DL_FP_S1_Tgr_40y') # can also index sheet by name or fetch all sheets
emissions_NonRW_S1_Tgr_40y = df['NonRW_emissions'].tolist()
emissions_NonRW_S1_Tgr_40y_seq = df['kg_CO2_seq'].tolist()
#read S1_Tgr_60y
df = pd.read_excel('NonRW_DL_FP.xlsx', 'DL_FP_S1_Tgr_60y')
emissions_NonRW_S1_Tgr_60y = df['NonRW_emissions'].tolist()
emissions_NonRW_S1_Tgr_60y_seq = df['kg_CO2_seq'].tolist()
#read E_Hbr_40y
df = pd.read_excel('NonRW_DL_FP.xlsx', 'DL_FP_E_Hbr_40y') # can also index sheet by name or fetch all sheets
emissions_NonRW_E_Hbr_40y = df['NonRW_emissions'].tolist()
emissions_NonRW_E_Hbr_40y_seq = df['kg_CO2_seq'].tolist()
#%%
#Step (15): Determine the time elapsed dynamic characterization factors, DCF(t-ti), for CO2 and CH4
#DCF(t-i) CO2
matrix = (tf-1,tf-1)
DCF_CO2_ti = np.zeros(matrix)
for t in range(0,tf-1):
i = -1
while i < t:
DCF_CO2_ti[i+1,t] = DCF_inst_CO2[t-i]
i = i + 1
print(DCF_CO2_ti)
#sns.heatmap(DCF_CO2_ti)
DCF_CO2_ti.shape
#DCF(t-i) CH4
matrix = (tf-1,tf-1)
DCF_CH4_ti = np.zeros(matrix)
for t in range(0,tf-1):
i = -1
while i < t:
DCF_CH4_ti[i+1,t] = DCF_inst_CH4[t-i]
i = i + 1
print(DCF_CH4_ti)
#sns.heatmap(DCF_CH4_ti)
DCF_CH4_ti.shape
#%%
# Step (16): Calculate instantaneous global warming impact (GWI)
##Wood-based
#S1_Ac_7y
t = np.arange(0,tf-1,1)
matrix_GWI_S1_Ac_7y = (tf-1,3)
GWI_inst_S1_Ac_7y = np.zeros(matrix_GWI_S1_Ac_7y)
for t in range(0,tf-1):
GWI_inst_S1_Ac_7y[t,0] = np.sum(np.multiply(emission_CO2_S1_Ac_7y,DCF_CO2_ti[:,t]))
GWI_inst_S1_Ac_7y[t,1] = np.sum(np.multiply(emission_CH4_S1_Ac_7y,DCF_CH4_ti[:,t]))
GWI_inst_S1_Ac_7y[t,2] = np.sum(np.multiply(emission_CO2_seq_S1_Ac_7y,DCF_CO2_ti[:,t]))
matrix_GWI_tot_S1_Ac_7y = (tf-1,1)
GWI_inst_tot_S1_Ac_7y = np.zeros(matrix_GWI_tot_S1_Ac_7y)
GWI_inst_tot_S1_Ac_7y[:,0] = np.array(GWI_inst_S1_Ac_7y[:,0] + GWI_inst_S1_Ac_7y[:,1] + GWI_inst_S1_Ac_7y[:,2])
print(GWI_inst_tot_S1_Ac_7y[:,0])
t = np.arange(0,tf-1,1)
#S1_Ac_18y
t = np.arange(0,tf-1,1)
matrix_GWI_S1_Ac_18y = (tf-1,3)
GWI_inst_S1_Ac_18y = np.zeros(matrix_GWI_S1_Ac_18y)
for t in range(0,tf-1):
GWI_inst_S1_Ac_18y[t,0] = np.sum(np.multiply(emission_CO2_S1_Ac_18y,DCF_CO2_ti[:,t]))
GWI_inst_S1_Ac_18y[t,1] = np.sum(np.multiply(emission_CH4_S1_Ac_18y,DCF_CH4_ti[:,t]))
GWI_inst_S1_Ac_18y[t,2] = np.sum(np.multiply(emission_CO2_seq_S1_Ac_18y,DCF_CO2_ti[:,t]))
matrix_GWI_tot_S1_Ac_18y = (tf-1,1)
GWI_inst_tot_S1_Ac_18y = np.zeros(matrix_GWI_tot_S1_Ac_18y)
GWI_inst_tot_S1_Ac_18y[:,0] = np.array(GWI_inst_S1_Ac_18y[:,0] + GWI_inst_S1_Ac_18y[:,1] + GWI_inst_S1_Ac_18y[:,2])
print(GWI_inst_tot_S1_Ac_18y[:,0])
#S1_Tgr_40y
t = np.arange(0,tf-1,1)
matrix_GWI_S1_Tgr_40y = (tf-1,3)
GWI_inst_S1_Tgr_40y = np.zeros(matrix_GWI_S1_Tgr_40y)
for t in range(0,tf-1):
GWI_inst_S1_Tgr_40y[t,0] = np.sum(np.multiply(emission_CO2_S1_Tgr_40y,DCF_CO2_ti[:,t]))
GWI_inst_S1_Tgr_40y[t,1] = np.sum(np.multiply(emission_CH4_S1_Tgr_40y,DCF_CH4_ti[:,t]))
GWI_inst_S1_Tgr_40y[t,2] = np.sum(np.multiply(emission_CO2_seq_S1_Tgr_40y,DCF_CO2_ti[:,t]))
matrix_GWI_tot_S1_Tgr_40y = (tf-1,1)
GWI_inst_tot_S1_Tgr_40y = np.zeros(matrix_GWI_tot_S1_Tgr_40y)
GWI_inst_tot_S1_Tgr_40y[:,0] = np.array(GWI_inst_S1_Tgr_40y[:,0] + GWI_inst_S1_Tgr_40y[:,1] + GWI_inst_S1_Tgr_40y[:,2])
print(GWI_inst_tot_S1_Tgr_40y[:,0])
#S1_Tgr_60y
t = np.arange(0,tf-1,1)
matrix_GWI_S1_Tgr_60y = (tf-1,3)
GWI_inst_S1_Tgr_60y = np.zeros(matrix_GWI_S1_Tgr_60y)
for t in range(0,tf-1):
GWI_inst_S1_Tgr_60y[t,0] = np.sum(np.multiply(emission_CO2_S1_Tgr_60y,DCF_CO2_ti[:,t]))
GWI_inst_S1_Tgr_60y[t,1] = np.sum(np.multiply(emission_CH4_S1_Tgr_60y,DCF_CH4_ti[:,t]))
GWI_inst_S1_Tgr_60y[t,2] = np.sum(np.multiply(emission_CO2_seq_S1_Tgr_60y,DCF_CO2_ti[:,t]))
matrix_GWI_tot_S1_Tgr_60y = (tf-1,1)
GWI_inst_tot_S1_Tgr_60y = np.zeros(matrix_GWI_tot_S1_Tgr_60y)
GWI_inst_tot_S1_Tgr_60y[:,0] = np.array(GWI_inst_S1_Tgr_60y[:,0] + GWI_inst_S1_Tgr_60y[:,1] + GWI_inst_S1_Tgr_60y[:,2])
print(GWI_inst_tot_S1_Tgr_60y[:,0])
#E_Hbr_40y
t = np.arange(0,tf-1,1)
matrix_GWI_E_Hbr_40y = (tf-1,3)
GWI_inst_E_Hbr_40y = np.zeros(matrix_GWI_E_Hbr_40y)
for t in range(0,tf-1):
GWI_inst_E_Hbr_40y[t,0] = np.sum(np.multiply(emission_CO2_E_Hbr_40y,DCF_CO2_ti[:,t]))
GWI_inst_E_Hbr_40y[t,1] = np.sum(np.multiply(emission_CH4_E_Hbr_40y,DCF_CH4_ti[:,t]))
GWI_inst_E_Hbr_40y[t,2] = np.sum(np.multiply(emission_CO2_seq_E_Hbr_40y,DCF_CO2_ti[:,t]))
matrix_GWI_tot_E_Hbr_40y = (tf-1,1)
GWI_inst_tot_E_Hbr_40y = np.zeros(matrix_GWI_tot_E_Hbr_40y)
GWI_inst_tot_E_Hbr_40y[:,0] = np.array(GWI_inst_E_Hbr_40y[:,0] + GWI_inst_E_Hbr_40y[:,1] + GWI_inst_E_Hbr_40y[:,2])
print(GWI_inst_tot_E_Hbr_40y[:,0])
##NonRW
#S1_Ac_7y
t = np.arange(0,tf-1,1)
matrix_GWI_NonRW_S1_Ac_7y = (tf-1,2)
GWI_inst_NonRW_S1_Ac_7y = np.zeros(matrix_GWI_NonRW_S1_Ac_7y)
for t in range(0,tf-1):
GWI_inst_NonRW_S1_Ac_7y[t,0] = np.sum(np.multiply(emissions_NonRW_S1_Ac_7y,DCF_CO2_ti[:,t]))
GWI_inst_NonRW_S1_Ac_7y[t,1] = np.sum(np.multiply(emissions_NonRW_S1_Ac_7y_seq,DCF_CO2_ti[:,t]))
matrix_GWI_tot_NonRW_S1_Ac_7y = (tf-1,1)
GWI_inst_tot_NonRW_S1_Ac_7y = np.zeros(matrix_GWI_tot_NonRW_S1_Ac_7y)
GWI_inst_tot_NonRW_S1_Ac_7y[:,0] = np.array(GWI_inst_NonRW_S1_Ac_7y[:,0] + GWI_inst_NonRW_S1_Ac_7y[:,1])
print(GWI_inst_tot_NonRW_S1_Ac_7y[:,0])
#S1_Ac_18y
t = np.arange(0,tf-1,1)
matrix_GWI_NonRW_S1_Ac_18y = (tf-1,2)
GWI_inst_NonRW_S1_Ac_18y = np.zeros(matrix_GWI_NonRW_S1_Ac_18y)
for t in range(0,tf-1):
GWI_inst_NonRW_S1_Ac_18y[t,0] = np.sum(np.multiply(emissions_NonRW_S1_Ac_18y,DCF_CO2_ti[:,t]))
GWI_inst_NonRW_S1_Ac_18y[t,1] = np.sum(np.multiply(emissions_NonRW_S1_Ac_18y_seq,DCF_CO2_ti[:,t]))
matrix_GWI_tot_NonRW_S1_Ac_18y = (tf-1,1)
GWI_inst_tot_NonRW_S1_Ac_18y = np.zeros(matrix_GWI_tot_NonRW_S1_Ac_18y)
GWI_inst_tot_NonRW_S1_Ac_18y[:,0] = np.array(GWI_inst_NonRW_S1_Ac_18y[:,0] + GWI_inst_NonRW_S1_Ac_18y[:,1])
print(GWI_inst_tot_NonRW_S1_Ac_18y[:,0])
#S1_Tgr_40y
t = np.arange(0,tf-1,1)
matrix_GWI_NonRW_S1_Tgr_40y = (tf-1,2)
GWI_inst_NonRW_S1_Tgr_40y = np.zeros(matrix_GWI_NonRW_S1_Tgr_40y)
for t in range(0,tf-1):
GWI_inst_NonRW_S1_Tgr_40y[t,0] = np.sum(np.multiply(emissions_NonRW_S1_Tgr_40y,DCF_CO2_ti[:,t]))
GWI_inst_NonRW_S1_Tgr_40y[t,1] = np.sum(np.multiply(emissions_NonRW_S1_Tgr_40y_seq,DCF_CO2_ti[:,t]))
matrix_GWI_tot_NonRW_S1_Tgr_40y = (tf-1,1)
GWI_inst_tot_NonRW_S1_Tgr_40y = np.zeros(matrix_GWI_tot_NonRW_S1_Tgr_40y)
GWI_inst_tot_NonRW_S1_Tgr_40y[:,0] = np.array(GWI_inst_NonRW_S1_Tgr_40y[:,0] + GWI_inst_NonRW_S1_Tgr_40y[:,1])
print(GWI_inst_tot_NonRW_S1_Tgr_40y[:,0])
#S1_Tgr_60y
t = np.arange(0,tf-1,1)
matrix_GWI_NonRW_S1_Tgr_60y = (tf-1,2)
GWI_inst_NonRW_S1_Tgr_60y = np.zeros(matrix_GWI_NonRW_S1_Tgr_60y)
for t in range(0,tf-1):
GWI_inst_NonRW_S1_Tgr_60y[t,0] = np.sum(np.multiply(emissions_NonRW_S1_Tgr_60y,DCF_CO2_ti[:,t]))
GWI_inst_NonRW_S1_Tgr_60y[t,1] = np.sum(np.multiply(emissions_NonRW_S1_Tgr_60y_seq,DCF_CO2_ti[:,t]))
matrix_GWI_tot_NonRW_S1_Tgr_60y = (tf-1,1)
GWI_inst_tot_NonRW_S1_Tgr_60y = np.zeros(matrix_GWI_tot_NonRW_S1_Tgr_60y)
GWI_inst_tot_NonRW_S1_Tgr_60y[:,0] = np.array(GWI_inst_NonRW_S1_Tgr_60y[:,0] + GWI_inst_NonRW_S1_Tgr_60y[:,1])
print(GWI_inst_tot_NonRW_S1_Tgr_60y[:,0])
#E_Hbr_40y
t = np.arange(0,tf-1,1)
matrix_GWI_NonRW_E_Hbr_40y = (tf-1,2)
GWI_inst_NonRW_E_Hbr_40y = np.zeros(matrix_GWI_NonRW_E_Hbr_40y)
for t in range(0,tf-1):
GWI_inst_NonRW_E_Hbr_40y[t,0] = np.sum(np.multiply(emissions_NonRW_E_Hbr_40y,DCF_CO2_ti[:,t]))
GWI_inst_NonRW_E_Hbr_40y[t,1] = np.sum(np.multiply(emissions_NonRW_E_Hbr_40y_seq,DCF_CO2_ti[:,t]))
matrix_GWI_tot_NonRW_E_Hbr_40y = (tf-1,1)
GWI_inst_tot_NonRW_E_Hbr_40y = np.zeros(matrix_GWI_tot_NonRW_E_Hbr_40y)
GWI_inst_tot_NonRW_E_Hbr_40y[:,0] = np.array(GWI_inst_NonRW_E_Hbr_40y[:,0] + GWI_inst_NonRW_E_Hbr_40y[:,1])
print(GWI_inst_tot_NonRW_E_Hbr_40y[:,0])
t = np.arange(0,tf-1,1)
#create zero list to highlight the horizontal line for 0
def zerolistmaker(n):
listofzeros = [0] * (n)
return listofzeros
#convert to flat list
GWI_inst_tot_NonRW_S1_Ac_7y = np.array([item for sublist in GWI_inst_tot_NonRW_S1_Ac_7y for item in sublist])
GWI_inst_tot_NonRW_S1_Ac_18y = np.array([item for sublist in GWI_inst_tot_NonRW_S1_Ac_18y for item in sublist])
GWI_inst_tot_NonRW_S1_Tgr_60y = np.array([item for sublist in GWI_inst_tot_NonRW_S1_Tgr_60y for item in sublist])
GWI_inst_tot_NonRW_E_Hbr_40y = np.array([item for sublist in GWI_inst_tot_NonRW_E_Hbr_40y for item in sublist])
GWI_inst_tot_S1_Ac_7y = np.array([item for sublist in GWI_inst_tot_S1_Ac_7y for item in sublist])
GWI_inst_tot_S1_Ac_18y = np.array([item for sublist in GWI_inst_tot_S1_Ac_18y for item in sublist])
GWI_inst_tot_S1_Tgr_60y = np.array([item for sublist in GWI_inst_tot_S1_Tgr_60y for item in sublist])
GWI_inst_tot_E_Hbr_40y = np.array([item for sublist in GWI_inst_tot_E_Hbr_40y for item in sublist])
plt.plot(t, GWI_inst_tot_NonRW_S1_Ac_7y, color='olive', label='NR_M_EC_Ac_7y', ls='--', alpha=0.55)
plt.plot(t, GWI_inst_tot_NonRW_S1_Ac_18y, color='forestgreen', label='NR_M_EC_Ac_18y', ls='--', alpha=0.55)
#plt.plot(t, GWI_inst_tot_NonRW_S1_Tgr_40y, color='lightcoral', label='NR_M_EC_Tgr_40y', ls='--', alpha=0.55)
plt.plot(t, GWI_inst_tot_NonRW_S1_Tgr_60y, color='deeppink', label='NR_M_EC_Tgr_60y', ls='--', alpha=0.55)
plt.plot(t, GWI_inst_tot_NonRW_E_Hbr_40y, color='royalblue', label='NR_E_EC_Hbr_40y', ls='--', alpha=0.55)
plt.plot(t, GWI_inst_tot_S1_Ac_7y, color='olive', label='M_EC_Ac_7y')
plt.plot(t, GWI_inst_tot_S1_Ac_18y, color='forestgreen', label='M_EC_Ac_18y')
#plt.plot(t, GWI_inst_tot_S1_Tgr_40y, color='lightcoral', label='M_EC_Tgr_40y')
plt.plot(t, GWI_inst_tot_S1_Tgr_60y, color='deeppink', label='M_EC_Tgr_60y')
plt.plot(t, GWI_inst_tot_E_Hbr_40y, color='royalblue', label='E_EC_Hbr_40y')
plt.plot(t, zerolistmaker(tf-1), color='black', label='Zero line', ls='--', alpha=0.75)
#plt.fill_between(t, GWI_inst_tot_NonRW_E_Hbr_40y, GWI_inst_tot_NonRW_S1_Tgr_60y, color='lightcoral', alpha=0.3)
#plt.fill_between(t, GWI_inst_tot_NonRW_S1_Ac_7y, GWI_inst_tot_NonRW_S1_Tgr_60y, color='lightcoral', alpha=0.3)
plt.grid(True)
plt.legend(bbox_to_anchor=(1.04,1), loc="upper left", frameon=False)
plt.xlim(0,200)
plt.ylim(-1e-9,1.4e-9)
plt.title('Instantaneous GWI, DL_FP_EC')
plt.xlabel('Time (year)')
#plt.ylabel('GWI_inst (10$^{-12}$ W/m$^2$)')
plt.ylabel('GWI_inst (W/m$^2$)')#
plt.savefig('C:\Work\Data\ID Future Scenarios\Hectare-based\Fig\GWI_inst_NonRW_DL_FP_S1', dpi=300)
plt.show()
#%%
#Step (17): Calculate cumulative global warming impact (GWI)
##Wood-based
GWI_cum_S1_Ac_7y = np.cumsum(GWI_inst_tot_S1_Ac_7y)
GWI_cum_S1_Ac_18y = np.cumsum(GWI_inst_tot_S1_Ac_18y)
GWI_cum_S1_Tgr_40y = np.cumsum(GWI_inst_tot_S1_Tgr_40y)
GWI_cum_S1_Tgr_60y = np.cumsum(GWI_inst_tot_S1_Tgr_60y)
GWI_cum_E_Hbr_40y = np.cumsum(GWI_inst_tot_E_Hbr_40y)
##NonRW
GWI_cum_NonRW_S1_Ac_7y = np.cumsum(GWI_inst_tot_NonRW_S1_Ac_7y)
GWI_cum_NonRW_S1_Ac_18y = np.cumsum(GWI_inst_tot_NonRW_S1_Ac_18y)
GWI_cum_NonRW_S1_Tgr_40y = np.cumsum(GWI_inst_tot_NonRW_S1_Tgr_40y)
GWI_cum_NonRW_S1_Tgr_60y = np.cumsum(GWI_inst_tot_NonRW_S1_Tgr_60y)
GWI_cum_NonRW_E_Hbr_40y = np.cumsum(GWI_inst_tot_NonRW_E_Hbr_40y)
#print(GWI_cum_NonRW_S1_Ac_18y)
plt.xlabel('Time (year)')
#plt.ylabel('GWI_cum (10$^{-10}$ W/m$^2$)')
plt.ylabel('GWI_cum (W/m$^2$)')
plt.xlim(0,200)
plt.ylim(-1e-7,1.5e-7)
plt.title('Cumulative GWI, DL_FP_EC')
plt.plot(t, GWI_cum_NonRW_S1_Ac_7y, color='olive', label='NR_M_EC_Ac_7y', ls='--', alpha=0.55)
plt.plot(t, GWI_cum_NonRW_S1_Ac_18y, color='forestgreen', label='NR_M_EC_Ac_18y', ls='--', alpha=0.55)
#plt.plot(t, GWI_cum_NonRW_S1_Tgr_40y, color='lightcoral', label='NR_M_EC_Tgr_40y', ls='--', alpha=0.55)
plt.plot(t, GWI_cum_NonRW_S1_Tgr_60y, color='deeppink', label='NR_M_EC_Tgr_60y', ls='--', alpha=0.55)
plt.plot(t, GWI_cum_NonRW_E_Hbr_40y, color='royalblue', label='NR_E_EC_Hbr_40y', ls='--', alpha=0.55)
plt.plot(t, GWI_cum_S1_Ac_7y, color='olive', label='M_EC_Ac_7y')
plt.plot(t, GWI_cum_S1_Ac_18y, color='forestgreen', label='M_EC_Ac_18y')
#plt.plot(t, GWI_cum_S1_Tgr_40y, color='lightcoral', label='M_EC_Tgr_40y')
plt.plot(t, GWI_cum_S1_Tgr_60y, color='deeppink', label='M_EC_Tgr_60y')
plt.plot(t, GWI_cum_E_Hbr_40y, color='royalblue', label='E_EC_Hbr_40y')
plt.plot(t, zerolistmaker(tf-1), color='black', label='Zero line', ls='--', alpha=0.75)
plt.grid(True)
#plt.fill_between(t, GWI_cum_NonRW_S1_Tgr_60y, GWI_cum_NonRW_S1_Ac_7y, color='lightcoral', alpha=0.3)
plt.legend(bbox_to_anchor=(1.04,1), loc="upper left", frameon=False)
plt.savefig('C:\Work\Data\ID Future Scenarios\Hectare-based\Fig\GWI_cum_NonRW_DL_FP_EC', dpi=300)
plt.show()
#%%
#Step (18): Determine the Instantenous and Cumulative GWI for the emission reference (1 kg CO2 emission at time zero) before performing dynamic GWP calculation
t = np.arange(0,tf-1,1)
matrix_GWI_ref = (tf-1,1)
GWI_inst_ref = np.zeros(matrix_GWI_ref)
for t in range(0,tf-1):
GWI_inst_ref[t,0] = np.sum(np.multiply(emission_CO2_ref,DCF_CO2_ti[:,t]))
#print(GWI_inst_ref[:,0])
len(GWI_inst_ref)
#determine the GWI cumulative for the emission reference
t = np.arange(0,tf-1,1)
GWI_cum_ref = np.cumsum(GWI_inst_ref[:,0])
#print(GWI_cum_ref)
plt.xlabel('Time (year)')
plt.ylabel('GWI_cum_ref (10$^{-13}$ W/m$^2$.kgCO$_2$)')
plt.plot(t, GWI_cum_ref)
len(GWI_cum_ref)
#%%
#Step (19): Calculate dynamic global warming potential (GWPdyn)
##Wood-based
GWP_dyn_cum_S1_Ac_7y = [x/(y*1000) for x,y in zip(GWI_cum_S1_Ac_7y, GWI_cum_ref)]
GWP_dyn_cum_S1_Ac_18y = [x/(y*1000) for x,y in zip(GWI_cum_S1_Ac_18y, GWI_cum_ref)]
GWP_dyn_cum_S1_Tgr_40y = [x/(y*1000) for x,y in zip(GWI_cum_S1_Tgr_40y, GWI_cum_ref)]
GWP_dyn_cum_S1_Tgr_60y = [x/(y*1000) for x,y in zip(GWI_cum_S1_Tgr_60y, GWI_cum_ref)]
GWP_dyn_cum_E_Hbr_40y = [x/(y*1000) for x,y in zip(GWI_cum_E_Hbr_40y, GWI_cum_ref)]
##NonRW
GWP_dyn_cum_NonRW_S1_Ac_7y = [x/(y*1000) for x,y in zip(GWI_cum_NonRW_S1_Ac_7y, GWI_cum_ref)]
GWP_dyn_cum_NonRW_S1_Ac_18y = [x/(y*1000) for x,y in zip(GWI_cum_NonRW_S1_Ac_18y, GWI_cum_ref)]
GWP_dyn_cum_NonRW_S1_Tgr_40y = [x/(y*1000) for x,y in zip(GWI_cum_NonRW_S1_Tgr_40y, GWI_cum_ref)]
GWP_dyn_cum_NonRW_S1_Tgr_60y = [x/(y*1000) for x,y in zip(GWI_cum_NonRW_S1_Tgr_60y, GWI_cum_ref)]
GWP_dyn_cum_NonRW_E_Hbr_40y = [x/(y*1000) for x,y in zip(GWI_cum_NonRW_E_Hbr_40y, GWI_cum_ref)]
#print(GWP_dyn_cum_NonRW_S1_Ac_18y)
fig=plt.figure()
fig.show()
ax=fig.add_subplot(111)
ax.plot(t, GWP_dyn_cum_NonRW_S1_Ac_7y, color='olive', label='NR_M_EC_Ac_7y', ls='--', alpha=0.55)
ax.plot(t, GWP_dyn_cum_NonRW_S1_Ac_18y, color='forestgreen', label='NR_M_EC_Ac_18y', ls='--', alpha=0.55)
#ax.plot(t, GWP_dyn_cum_NonRW_S1_Tgr_40y, color='lightcoral', label='NR_M_EC_Tgr_40y', ls='--', alpha=0.55)
ax.plot(t, GWP_dyn_cum_NonRW_S1_Tgr_60y, color='deeppink', label='NR_M_EC_Tgr_60y', ls='--', alpha=0.55)
ax.plot(t, GWP_dyn_cum_NonRW_E_Hbr_40y, color='royalblue', label='NR_E_EC_Hbr_40y', ls='--', alpha=0.55)
ax.plot(t, GWP_dyn_cum_S1_Ac_7y, color='olive', label='M_EC_Ac_7y')
ax.plot(t, GWP_dyn_cum_S1_Ac_18y, color='forestgreen', label='M_EC_Ac_18y')
#ax.plot(t, GWP_dyn_cum_S1_Tgr_40y, color='lightcoral', label='M_EC_Tgr_40y')
ax.plot(t, GWP_dyn_cum_S1_Tgr_60y, color='deeppink', label='M_EC_Tgr_60y')
ax.plot(t, GWP_dyn_cum_E_Hbr_40y, color='royalblue', label='E_EC_Hbr_40y')
ax.plot(t, zerolistmaker(tf-1), color='black', label='Zero line', ls='--', alpha=0.75)
#plt.fill_between(t, GWP_dyn_cum_NonRW_S1_Ac_7y, GWP_dyn_cum_NonRW_S1_Tgr_60y, color='lightcoral', alpha=0.3)
plt.grid(True)
ax.legend(bbox_to_anchor=(1.04,1), loc="upper left", frameon=False)
ax.set_xlim(0,200)
ax.set_ylim(-750,1000)
#ax.set_ylim(-600,1500)
ax.set_xlabel('Time (year)')
ax.set_ylabel('GWP$_{dyn}$ (t-CO$_2$-eq)')
ax.set_title('Dynamic GWP, DL_FP_EC')
plt.savefig('C:\Work\Data\ID Future Scenarios\Hectare-based\Fig\GWP_dyn_cum_NonRW_DL_FP_S1', dpi=300)
plt.draw()
#%%
#Step (20): Exporting the data behind result graphs to Excel
year = []
for x in range (0, 201):
year.append(x)
### Create Column
Col1 = year
##GWI_Inst
#GWI_inst from wood-based scenarios
Col_GI_1 = GWI_inst_tot_S1_Ac_7y
Col_GI_2 = GWI_inst_tot_S1_Ac_18y
Col_GI_3 = GWI_inst_tot_S1_Tgr_60y
Col_GI_4 = GWI_inst_tot_E_Hbr_40y
#print(Col_GI_1)
#print(np.shape(Col_GI_1))
#GWI_inst from counter use scenarios
Col_GI_5 = GWI_inst_tot_NonRW_S1_Ac_7y
Col_GI_6 = GWI_inst_tot_NonRW_S1_Ac_18y
Col_GI_7 = GWI_inst_tot_NonRW_S1_Tgr_60y
Col_GI_8 = GWI_inst_tot_NonRW_E_Hbr_40y
#print(Col_GI_7)
#print(np.shape(Col_GI_7))
#create column results
##GWI_cumulative
#GWI_cumulative from wood-based scenarios
Col_GC_1 = GWI_cum_S1_Ac_7y
Col_GC_2 = GWI_cum_S1_Ac_18y
Col_GC_3 = GWI_cum_S1_Tgr_60y
Col_GC_4 = GWI_cum_E_Hbr_40y
#GWI_cumulative from counter use scenarios
Col_GC_5 = GWI_cum_NonRW_S1_Ac_7y
Col_GC_6 = GWI_cum_NonRW_S1_Ac_18y
Col_GC_7 = GWI_cum_NonRW_S1_Tgr_60y
Col_GC_8 = GWI_cum_NonRW_E_Hbr_40y
#create column results
##GWPdyn
#GWPdyn from wood-based scenarios
Col_GWP_1 = GWP_dyn_cum_S1_Ac_7y
Col_GWP_2 = GWP_dyn_cum_S1_Ac_18y
Col_GWP_3 = GWP_dyn_cum_S1_Tgr_60y
Col_GWP_4 = GWP_dyn_cum_E_Hbr_40y
#GWPdyn from counter use scenarios
Col_GWP_5 = GWP_dyn_cum_NonRW_S1_Ac_7y
Col_GWP_6 = GWP_dyn_cum_NonRW_S1_Ac_18y
Col_GWP_7 = GWP_dyn_cum_NonRW_S1_Tgr_60y
Col_GWP_8 = GWP_dyn_cum_NonRW_E_Hbr_40y
#Create colum results
dfM_EC_GI = pd.DataFrame.from_dict({'Year':Col1,'M_EC_Ac_7y (W/m2)':Col_GI_1, 'M_EC_Ac_18y (W/m2)':Col_GI_2,
'M_EC_Tgr_60y (W/m2)':Col_GI_3, 'E_EC_Hbr_40y (W/m2)':Col_GI_4,
'NR_M_EC_Ac_7y (W/m2)':Col_GI_5, 'NR_M_EC_Ac_18y (W/m2)':Col_GI_6,
'NR_M_EC_Tgr_60y (W/m2)':Col_GI_7, 'NR_E_EC_Hbr_40y (W/m2)':Col_GI_8})
dfM_EC_GC = pd.DataFrame.from_dict({'Year':Col1,'M_EC_Ac_7y (W/m2)':Col_GC_1, 'M_EC_Ac_18y (W/m2)':Col_GC_2,
'M_EC_Tgr_60y (W/m2)':Col_GC_3, 'E_EC_Hbr_40y (W/m2)':Col_GC_4,
'NR_M_EC_Ac_7y (W/m2)':Col_GC_5, 'NR_M_EC_Ac_18y (W/m2)':Col_GC_6,
'NR_M_EC_Tgr_60y (W/m2)':Col_GC_7, 'NR_E_EC_Hbr_40y (W/m2)':Col_GC_8})
dfM_EC_GWPdyn = pd.DataFrame.from_dict({'Year':Col1,'M_EC_Ac_7y (t-CO2-eq)':Col_GWP_1, 'M_EC_Ac_18y (t-CO2-eq)':Col_GWP_2,
'M_EC_Tgr_60y (t-CO2-eq)':Col_GWP_3, 'E_EC_Hbr_40y (t-CO2-eq)':Col_GWP_4,
'NR_M_EC_Ac_7y (t-CO2-eq)':Col_GWP_5, 'NR_M_EC_Ac_18y (t-CO2-eq)':Col_GWP_6,
'NR_M_EC_Tgr_60y (t-CO2-eq)':Col_GWP_7, 'NR_E_EC_Hbr_40y (t-CO2-eq)':Col_GWP_8})
#Export to excel
writer = pd.ExcelWriter('GraphResults_DL_FP_EC.xlsx', engine = 'xlsxwriter')
dfM_EC_GI.to_excel(writer, sheet_name = 'GWI_Inst_DL_FP_EC', header=True, index=False )
dfM_EC_GC.to_excel(writer, sheet_name = 'Cumulative GWI_DL_FP_EC', header=True, index=False )
dfM_EC_GWPdyn.to_excel(writer, sheet_name = 'GWPdyn_DL_FP_EC', header=True, index=False )
writer.save()
writer.close()
#%%
#Step (21): Generate the excel file for the individual carbon emission and sequestration flows
#print year column
year = []
for x in range (0, 201):
year.append(x)
print (year)
division = 1000*44/12
division_CH4 = 1000*16/12
#M_Ac_7y
c_firewood_energy_S1_Ac7 = [x/division for x in c_firewood_energy_S1_Ac7]
decomp_tot_S1_Ac_7y[:,0] = [x/division for x in decomp_tot_S1_Ac_7y[:,0]]
TestDSM1_Ac7.o = [x/division for x in TestDSM1_Ac7.o]
PH_Emissions_HWP1_Ac_7y = [x/division for x in PH_Emissions_HWP1_Ac_7y]
#OC_storage_S1_Ac7 = [x/division for x in OC_storage_S1_Ac7]
flat_list_Ac_7y = [x/division for x in flat_list_Ac_7y]
decomp_tot_CO2_S1_Ac_7y[:,0] = [x/division for x in decomp_tot_CO2_S1_Ac_7y[:,0]]
decomp_tot_CH4_S1_Ac_7y[:,0] = [x/division_CH4 for x in decomp_tot_CH4_S1_Ac_7y[:,0]]
#M_Ac_18y
c_firewood_energy_S1_Ac18 = [x/division for x in c_firewood_energy_S1_Ac18]
decomp_tot_S1_Ac_18y[:,0] = [x/division for x in decomp_tot_S1_Ac_18y[:,0]]
TestDSM1_Ac18.o = [x/division for x in TestDSM1_Ac18.o]
PH_Emissions_HWP1_Ac_18y = [x/division for x in PH_Emissions_HWP1_Ac_18y]
#OC_storage_S1_Ac18 = [x/division for x in OC_storage_S1_Ac18]
flat_list_Ac_18y = [x/division for x in flat_list_Ac_18y]
decomp_tot_CO2_S1_Ac_18y[:,0] = [x/division for x in decomp_tot_CO2_S1_Ac_18y[:,0]]
decomp_tot_CH4_S1_Ac_18y[:,0] = [x/division_CH4 for x in decomp_tot_CH4_S1_Ac_18y[:,0]]
#M_Tgr_60y
c_firewood_energy_S1_Tgr60 = [x/division for x in c_firewood_energy_S1_Tgr60]
decomp_tot_S1_Tgr_60y[:,0] = [x/division for x in decomp_tot_S1_Tgr_60y[:,0]]
TestDSM1_Tgr60.o = [x/division for x in TestDSM1_Tgr60.o]
PH_Emissions_HWP1_Tgr_60y = [x/division for x in PH_Emissions_HWP1_Tgr_60y]
#OC_storage_S1_Tgr60 = [x/division for x in OC_storage_S1_Tgr60]
flat_list_Tgr_60y = [x/division for x in flat_list_Tgr_60y]
decomp_tot_CO2_S1_Tgr_60y[:,0] = [x/division for x in decomp_tot_CO2_S1_Tgr_60y[:,0]]
decomp_tot_CH4_S1_Tgr_60y[:,0] = [x/division_CH4 for x in decomp_tot_CH4_S1_Tgr_60y[:,0]]
#E_Hbr_40y
c_firewood_energy_E_Hbr40 = [x/division for x in c_firewood_energy_E_Hbr40]
c_pellets_Hbr_40y = [x/division for x in c_pellets_Hbr_40y]
decomp_tot_E_Hbr_40y[:,0] = [x/division for x in decomp_tot_E_Hbr_40y[:,0]]
TestDSME_Hbr40.o = [x/division for x in TestDSME_Hbr40.o]
PH_Emissions_HWPE_Hbr_40y = [x/division for x in PH_Emissions_HWPE_Hbr_40y]
##ColumnOC_storage_E_Hbr40 = [x/division for x in OC_storage_E_Hbr40]
flat_list_Hbr_40y = [x/division for x in flat_list_Hbr_40y]
decomp_tot_CO2_E_Hbr_40y[:,0] = [x/division for x in decomp_tot_CO2_E_Hbr_40y[:,0]]
decomp_tot_CH4_E_Hbr_40y[:,0] = [x/division_CH4 for x in decomp_tot_CH4_E_Hbr_40y[:,0]]
#landfill aggregate flows
Landfill_decomp_DL_FP_S1_Ac_7y = decomp_tot_CH4_S1_Ac_7y, decomp_tot_CO2_S1_Ac_7y
Landfill_decomp_DL_FP_S1_Ac_18y = decomp_tot_CH4_S1_Ac_18y, decomp_tot_CO2_S1_Ac_18y
Landfill_decomp_DL_FP_S1_Tgr_60y = decomp_tot_CH4_S1_Tgr_60y, decomp_tot_CO2_S1_Tgr_60y
Landfill_decomp_DL_FP_E_Hbr_40y = decomp_tot_CH4_E_Hbr_40y, decomp_tot_CO2_E_Hbr_40y
Landfill_decomp_DL_FP_S1_Ac_7y = [sum(x) for x in zip(*Landfill_decomp_DL_FP_S1_Ac_7y)]
Landfill_decomp_DL_FP_S1_Ac_18y = [sum(x) for x in zip(*Landfill_decomp_DL_FP_S1_Ac_18y)]
Landfill_decomp_DL_FP_S1_Tgr_60y = [sum(x) for x in zip(*Landfill_decomp_DL_FP_S1_Tgr_60y)]
Landfill_decomp_DL_FP_E_Hbr_40y = [sum(x) for x in zip(*Landfill_decomp_DL_FP_E_Hbr_40y)]
Landfill_decomp_DL_FP_S1_Ac_7y = [item for sublist in Landfill_decomp_DL_FP_S1_Ac_7y for item in sublist]
Landfill_decomp_DL_FP_S1_Ac_18y = [item for sublist in Landfill_decomp_DL_FP_S1_Ac_18y for item in sublist]
Landfill_decomp_DL_FP_S1_Tgr_60y = [item for sublist in Landfill_decomp_DL_FP_S1_Tgr_60y for item in sublist]
Landfill_decomp_DL_FP_E_Hbr_40y = [item for sublist in Landfill_decomp_DL_FP_E_Hbr_40y for item in sublist]
#M_Ac_7y
Column1 = year
Column2 = c_firewood_energy_S1_Ac7
Column3 = decomp_tot_S1_Ac_7y[:,0]
Column4 = TestDSM1_Ac7.o
Column5 = PH_Emissions_HWP1_Ac_7y
#Column6_1 = OC_storage_S1_Ac7
Column6 = Landfill_decomp_DL_FP_S1_Ac_7y
Column7 = flat_list_Ac_7y
#M_Ac_18y
Column8 = c_firewood_energy_S1_Ac18
Column9 = decomp_tot_S1_Ac_18y[:,0]
Column10 = TestDSM1_Ac18.o
Column11 = PH_Emissions_HWP1_Ac_18y
#Column12_1 = OC_storage_S1_Ac18
Column12 = Landfill_decomp_DL_FP_S1_Ac_18y
Column13 = flat_list_Ac_18y
#M_Tgr_60y
Column14 = c_firewood_energy_S1_Tgr60
Column15 = decomp_tot_S1_Tgr_60y[:,0]
Column16 = TestDSM1_Tgr60.o
Column17 = PH_Emissions_HWP1_Tgr_60y
#Column18_1 = OC_storage_S1_Tgr60
Column18 = Landfill_decomp_DL_FP_S1_Tgr_60y
Column19 = flat_list_Tgr_60y
#E_Hbr_40y
Column20 = c_firewood_energy_E_Hbr40
Column20_1 = c_pellets_Hbr_40y
Column21 = decomp_tot_E_Hbr_40y[:,0]
Column22 = TestDSME_Hbr40.o
Column23 = PH_Emissions_HWPE_Hbr_40y
#Column24_1 = OC_storage_E_Hbr40
Column24 = Landfill_decomp_DL_FP_E_Hbr_40y
Column25 = flat_list_Hbr_40y
#create columns
dfM_Ac_7y = pd.DataFrame.from_dict({'Year':Column1,'F0-1: Biomass C sequestration (t-C)':Column7,
# '9: Landfill storage (t-C)':Column6_1,
'F1-0: Residue decomposition (t-C)':Column3,
'F6-0-1: Emissions from firewood/other energy use (t-C)':Column2,
'F8-0: Operational stage/processing emissions (t-C)':Column5,
'F6-0-2: Energy use emissions from in-use stocks outflow (t-C)':Column4,
'F7-0: Landfill gas decomposition (t-C)':Column6})
dfM_Ac_18y = pd.DataFrame.from_dict({'Year':Column1,'F0-1: Biomass C sequestration (t-C)':Column13,
# '9: Landfill storage (t-C)':Column12_1,
'F1-0: Residue decomposition (t-C)':Column9,
'F6-0-1: Emissions from firewood/other energy use (t-C)':Column8,
'F8-0: Operational stage/processing emissions (t-C)':Column11,
'F6-0-2: Energy use emissions from in-use stocks outflow (t-C)':Column10,
'F7-0: Landfill gas decomposition (t-C)':Column12})
dfE_Tgr_60y = pd.DataFrame.from_dict({'Year':Column1,'F0-1: Biomass C sequestration (t-C)':Column19,
# '9: Landfill storage (t-C)':Column18_1,
'F1-0: Residue decomposition (t-C)':Column15,
'F6-0-1: Emissions from firewood/other energy use (t-C)':Column14,
'F8-0: Operational stage/processing emissions (t-C)':Column17,
'F6-0-2: Energy use emissions from in-use stocks outflow (t-C)':Column16,
'F7-0: Landfill gas decomposition (t-C)':Column18})
dfE_Hbr_40y = pd.DataFrame.from_dict({'Year':Column1,'F0-1: Biomass C sequestration (t-C)':Column25,
# '9: Landfill storage (t-C)':Column24_1,
'F1-0: Residue decomposition (t-C)':Column21,
'F6-0-1: Emissions from firewood/other energy use (t-C)':Column20,
'F8-0: Operational stage/processing emissions (t-C)':Column23,
'F6-0-2: Energy use emissions from in-use stocks outflow (t-C)':Column22,
'F7-0: Landfill gas decomposition (t-C)':Column24,
'F4-0: Emissions from wood pellets use (t-C)':Column20_1})
writer = pd.ExcelWriter('C_flows_DL_FP_EC.xlsx', engine = 'xlsxwriter')
dfM_Ac_7y.to_excel(writer, sheet_name = 'DL_FP_M_Ac_7y (EC)', header=True, index=False)
dfM_Ac_18y.to_excel(writer, sheet_name = 'DL_FP_M_Ac_18y (EC)', header=True, index=False)
dfE_Tgr_60y.to_excel(writer, sheet_name = 'DL_FP_M_Tgr_60y (EC)', header=True, index=False)
dfE_Hbr_40y.to_excel(writer, sheet_name = 'DL_FP_E_Hbr_40y (EC)', header=True, index=False)
writer.save()
writer.close()
#%%
#Step (22): Plot of the individual carbon emission and sequestration flows for normal and symlog-scale graphs
#DL_FP_M_EC_Ac_7y (Existing conversion efficiency)
fig=plt.figure()
fig.show()
ax1_s=fig.add_subplot(111)
#plot
ax1_s.plot(t, flat_list_Ac_7y, color='darkkhaki', label='F0-1: Biomass C sequestration')
#ax1_s.plot(t, OC_storage_S1_Ac7, color='darkturquoise', label='9: Landfill storage')
ax1_s.plot(t, decomp_tot_S1_Ac_7y[:,0], color='lightcoral', label='F1-0: Residue decomposition')
ax1_s.plot(t, c_firewood_energy_S1_Ac7, color='mediumseagreen', label='F6-0-1: Emissions from firewood/other energy use')
ax1_s.plot(t, PH_Emissions_HWP1_Ac_7y, color='orange', label='F8-0: Operational stage/processing emissions')
ax1_s.plot(t, TestDSM1_Ac7.o, color='royalblue', label='F6-0-2: Energy use emissions from in-use stocks outflow')
ax1_s.plot(t, Landfill_decomp_DL_FP_S1_Ac_7y, color='yellow', label='F7-0: Landfill gas decomposition')
ax1_s.legend(bbox_to_anchor=(1.04,1), loc="upper left", frameon=False)
ax1_s.set_xlim(-1,200)
ax1_s.set_yscale('symlog')
ax1_s.set_xlabel('Time (year)')
ax1_s.set_ylabel('C flows (t-C) (symlog)')
ax1_s.set_title('Carbon flow, DL_FP_M_EC_Ac_7y (EC) (symlog-scale)')
plt.show()
#%%
#plot for the individual carbon flows
#DL_FP_M_EC_Ac_7y (Existing conversion efficiency)
fig=plt.figure()
fig.show()
ax1=fig.add_subplot(111)
ax1.plot(t, flat_list_Ac_7y, color='darkkhaki', label='F0-1: Biomass C sequestration')
#ax1.plot(t, OC_storage_S1_Ac7, color='darkturquoise', label='9: Landfill storage')
ax1.plot(t, decomp_tot_S1_Ac_7y[:,0], color='lightcoral', label='F1-0: Residue decomposition')
ax1.plot(t, c_firewood_energy_S1_Ac7, color='mediumseagreen', label='F6-0-1: Emissions from firewood/other energy use')
ax1.plot(t, PH_Emissions_HWP1_Ac_7y, color='orange', label='F8-0: Operational stage/processing emissions')
ax1.plot(t, TestDSM1_Ac7.o, color='royalblue', label='F6-0-2: Energy use emissions from in-use stocks outflow')
ax1.plot(t, Landfill_decomp_DL_FP_S1_Ac_7y, color='yellow', label='F7-0: Landfill gas decomposition')
ax1.legend(bbox_to_anchor=(1.04,1), loc="upper left", frameon=False)
ax1.set_xlim(0,200)
ax1.set_xlabel('Time (year)')
ax1.set_ylabel('C flows(t-C)')
ax1.set_title('Carbon flow, DL_FP_M_Ac_7y (EC)')
#plt.savefig('C:\Work\Data\ID Future Scenarios\Hectare-based\Fig\GWP_dyn_1_RIL_M')
plt.draw()
#%%
#plot for the individual carbon flows - test for symlog-scale graphs
#DL_FP_M_EC_Ac_18y (Existing conversion efficiency)
fig=plt.figure()
fig.show()
ax2_s=fig.add_subplot(111)
#plot
ax2_s.plot(t, flat_list_Ac_18y, color='darkkhaki', label='F0-1: Biomass C sequestration')
#ax2_s.plot(t, OC_storage_S1_Ac18, color='darkturquoise', label='9: Landfill storage')
ax2_s.plot(t, decomp_tot_S1_Ac_18y[:,0], color='lightcoral', label='F1-0: Residue decomposition')
ax2_s.plot(t, c_firewood_energy_S1_Ac18, color='mediumseagreen', label='F6-0-1: Emissions from firewood/other energy use')
ax2_s.plot(t, PH_Emissions_HWP1_Ac_18y, color='orange', label='F8-0: Operational stage/processing emissions')
ax2_s.plot(t, TestDSM1_Ac18.o, color='royalblue', label='F6-0-2: Energy use emissions from in-use stocks outflow')
ax2_s.plot(t, Landfill_decomp_DL_FP_S1_Ac_18y, color='yellow', label='F7-0: Landfill gas decomposition')
ax2_s.legend(bbox_to_anchor=(1.04,1), loc="upper left", frameon=False)
ax2_s.set_xlim(-1,200)
ax2_s.set_yscale('symlog')
ax2_s.set_xlabel('Time (year)')
ax2_s.set_ylabel('C flows (t-C) (symlog)')
ax2_s.set_title('Carbon flow, DL_FP_M_EC_Ac_18y (EC) (symlog-scale)')
plt.show()
#%%
#plot for the individual carbon flows
#DL_FP_M_EC_Ac_18y (Existing conversion efficiency)
fig=plt.figure()
fig.show()
ax2=fig.add_subplot(111)
#plot
ax2.plot(t, flat_list_Ac_18y, color='darkkhaki', label='F0-1: Biomass C sequestration')
#ax2.plot(t, OC_storage_S1_Ac18, color='darkturquoise', label='9: Landfill storage')
ax2.plot(t, decomp_tot_S1_Ac_18y[:,0], color='lightcoral', label='F1-0: Residue decomposition')
ax2.plot(t, c_firewood_energy_S1_Ac18, color='mediumseagreen', label='F6-0-1: Emissions from firewood/other energy use')
ax2.plot(t, PH_Emissions_HWP1_Ac_18y, color='orange', label='F8-0: Operational stage/processing emissions')
ax2.plot(t, TestDSM1_Ac18.o, color='royalblue', label='F6-0-2: Energy use emissions from in-use stocks outflow')
ax2.plot(t, Landfill_decomp_DL_FP_S1_Ac_18y, color='yellow', label='F7-0: Landfill gas decomposition')
ax2.legend(bbox_to_anchor=(1.04,1), loc="upper left", frameon=False)
ax2.set_xlim(0,200)
ax2.set_xlabel('Time (year)')
ax2.set_ylabel('C flows(t-C)')
ax2.set_title('Carbon flow, DL_FP_M_Ac_18y (EC)')
#plt.savefig('C:\Work\Data\ID Future Scenarios\Hectare-based\Fig\GWP_dyn_1_RIL_M')
plt.draw()
#%%
#plot for the individual carbon flows - test for symlog-scale graphs
#DL_FP_M_EC_Tgr_60y (Existing conversion efficiency)
fig=plt.figure()
fig.show()
ax3_s=fig.add_subplot(111)
#plot
ax3_s.plot(t, flat_list_Tgr_60y, color='darkkhaki', label='F0-1: Biomass C sequestration')
#ax3_s.plot(t, OC_storage_S1_Tgr60, color='darkturquoise', label='9: Landfill storage')
ax3_s.plot(t, decomp_tot_S1_Tgr_60y[:,0], color='lightcoral', label='F1-0: Residue decomposition')
ax3_s.plot(t, c_firewood_energy_S1_Tgr60, color='mediumseagreen', label='F6-0-1: Emissions from firewood/other energy use')
ax3_s.plot(t, PH_Emissions_HWP1_Tgr_60y, color='orange', label='F8-0: Operational stage/processing emissions')
ax3_s.plot(t, TestDSM1_Tgr60.o, color='royalblue', label='F6-0-2: Energy use emissions from in-use stocks outflow')
ax3_s.plot(t, Landfill_decomp_DL_FP_S1_Tgr_60y, color='yellow', label='F7-0: Landfill gas decomposition')
ax3_s.legend(bbox_to_anchor=(1.04,1), loc="upper left", frameon=False)
ax3_s.set_xlim(-1,200)
ax3_s.set_yscale('symlog')
ax3_s.set_xlabel('Time (year)')
ax3_s.set_ylabel('C flows (t-C) (symlog)')
ax3_s.set_title('Carbon flow, DL_FP_M_EC_Tgr_60y (EC) (symlog-scale)')
plt.show()
#%%
#plot for the individual carbon flows
#DL_FP_M_EC_Tgr_60y (Existing conversion efficiency)
fig=plt.figure()
fig.show()
ax3=fig.add_subplot(111)
#plot
ax3.plot(t, flat_list_Tgr_60y, color='darkkhaki', label='F0-1: Biomass C sequestration')
#ax3.plot(t, OC_storage_S1_Tgr60, color='darkturquoise', label='9: Landfill storage')
ax3.plot(t, decomp_tot_S1_Tgr_60y[:,0], color='lightcoral', label='F1-0: Residue decomposition')
ax3.plot(t, c_firewood_energy_S1_Tgr60, color='mediumseagreen', label='F6-0-1: Emissions from firewood/other energy use')
ax3.plot(t, PH_Emissions_HWP1_Tgr_60y, color='orange', label='F8-0: Operational stage/processing emissions')
ax3.plot(t, TestDSM1_Tgr60.o, color='royalblue', label='F6-0-2: Energy use emissions from in-use stocks outflow')
ax3.plot(t, Landfill_decomp_DL_FP_S1_Tgr_60y, color='yellow', label='F7-0: Landfill gas decomposition')
ax3.legend(bbox_to_anchor=(1.04,1), loc="upper left", frameon=False)
ax3.set_xlim(0,200)
ax3.set_xlabel('Time (year)')
ax3.set_ylabel('C flows(t-C)')
ax3.set_title('Carbon flow, DL_FP_M_Tgr_60y (EC)')
#plt.savefig('C:\Work\Data\ID Future Scenarios\Hectare-based\Fig\GWP_dyn_1_RIL_M')
plt.draw()
#%%
#plot for the individual carbon flows - test for symlog-scale graphs
#DL_FP_E_EC_Hbr_40y (Existing conversion efficiency)
fig=plt.figure()
fig.show()
ax4_s=fig.add_subplot(111)
#plot
ax4_s.plot(t, flat_list_Hbr_40y, color='darkkhaki', label='F0-1: Biomass C sequestration')
#ax4_s.plot(t, OC_storage_E_Hbr40, color='darkturquoise', label='9: Landfill storage')
ax4_s.plot(t, decomp_tot_E_Hbr_40y[:,0], color='lightcoral', label='F1-0: Residue decomposition')
ax4_s.plot(t, c_firewood_energy_E_Hbr40, color='mediumseagreen', label='F6-0-1: Emissions from firewood/other energy use')
ax4_s.plot(t, PH_Emissions_HWPE_Hbr_40y, color='orange', label='F8-0: Operational stage/processing emissions')
ax4_s.plot(t, Landfill_decomp_DL_FP_E_Hbr_40y, color='yellow', label='F7-0: Landfill gas decomposition')
ax4_s.plot(t, c_pellets_Hbr_40y, color='slategrey', label='F4-0: Emissions from wood pellets use')
#ax4_s.plot(t, TestDSME_Hbr40.o, label='in-use stock output')
ax4_s.legend(bbox_to_anchor=(1.04,1), loc="upper left", frameon=False)
ax4_s.set_xlim(-1,200)
ax4_s.set_yscale('symlog')
ax4_s.set_xlabel('Time (year)')
ax4_s.set_ylabel('C flows (t-C) (symlog)')
ax4_s.set_title('Carbon flow, DL_FP_E_EC_Hbr_40y (EC) (symlog-scale)')
plt.show()
#%%
#plot for the individual carbon flows
#DL_FP_E_Hbr_40y (Existing conversion efficiency)
fig=plt.figure()
fig.show()
ax4=fig.add_subplot(111)
#plot
ax4.plot(t, flat_list_Hbr_40y, color='darkkhaki', label='F0-1: Biomass C sequestration')
#ax4.plot(t, OC_storage_E_Hbr40, color='darkturquoise', label='9: Landfill storage')
ax4.plot(t, decomp_tot_E_Hbr_40y[:,0], color='lightcoral', label='F1-0: Residue decomposition')
ax4.plot(t, c_firewood_energy_E_Hbr40, color='mediumseagreen', label='F6-0-1: Emissions from firewood/other energy use')
ax4.plot(t, PH_Emissions_HWPE_Hbr_40y, color='orange', label='F8-0: Operational stage/processing emissions')
ax4.plot(t, Landfill_decomp_DL_FP_E_Hbr_40y, color='yellow', label='F7-0: Landfill gas decomposition')
ax4.plot(t, c_pellets_Hbr_40y, color='slategrey', label='F4-0: Emissions from wood pellets use')
#ax_g.plot(t, TestDSME_Hbr40.o, label='in-use stock output')
ax4.legend(bbox_to_anchor=(1.04,1), loc="upper left", frameon=False)
ax4.set_xlim(0,200)
ax4.set_xlabel('Time (year)')
ax4.set_ylabel('C flows(t-C)')
ax4.set_title('Carbon flow, DL_FP_E_Hbr_40y (EC)')
#plt.savefig('C:\Work\Data\ID Future Scenarios\Hectare-based\Fig\GWP_dyn_1_RIL_M')
#%%
#Step (23): Generate the excel file for the net carbon balance
Agg_Cflow_S1_Ac_7y = [c_firewood_energy_S1_Ac7, decomp_tot_S1_Ac_7y[:,0], TestDSM1_Ac7.o, PH_Emissions_HWP1_Ac_7y, Landfill_decomp_DL_FP_S1_Ac_7y, flat_list_Ac_7y]
Agg_Cflow_S1_Ac_18y = [c_firewood_energy_S1_Ac18, decomp_tot_S1_Ac_18y[:,0], TestDSM1_Ac18.o, PH_Emissions_HWP1_Ac_18y, Landfill_decomp_DL_FP_S1_Ac_18y, flat_list_Ac_18y]
Agg_Cflow_S1_Tgr_60y = [c_firewood_energy_S1_Tgr60, decomp_tot_S1_Tgr_60y[:,0], TestDSM1_Tgr60.o, PH_Emissions_HWP1_Tgr_60y, Landfill_decomp_DL_FP_S1_Tgr_60y, flat_list_Tgr_60y]
Agg_Cflow_E_Hbr_40y = [c_firewood_energy_E_Hbr40, c_pellets_Hbr_40y, decomp_tot_E_Hbr_40y[:,0], TestDSME_Hbr40.o, PH_Emissions_HWPE_Hbr_40y, Landfill_decomp_DL_FP_E_Hbr_40y, flat_list_Hbr_40y]
Agg_Cflow_DL_FP_S1_Ac_7y = [sum(x) for x in zip(*Agg_Cflow_S1_Ac_7y)]
Agg_Cflow_DL_FP_S1_Ac_18y = [sum(x) for x in zip(*Agg_Cflow_S1_Ac_18y)]
Agg_Cflow_DL_FP_S1_Tgr_60y = [sum(x) for x in zip(*Agg_Cflow_S1_Tgr_60y)]
Agg_Cflow_DL_FP_E_Hbr_40y = [sum(x) for x in zip(*Agg_Cflow_E_Hbr_40y)]
#create column year
year = []
for x in range (0, 201):
year.append(x)
print (year)
#Create colum results
dfM_DL_FP_EC = pd.DataFrame.from_dict({'Year':year,'M_EC_Ac_7y (t-C)':Agg_Cflow_DL_FP_S1_Ac_7y, 'M_EC_Ac_18y (t-C)':Agg_Cflow_DL_FP_S1_Ac_18y,
'M_EC_Tgr_60y (t-C)':Agg_Cflow_DL_FP_S1_Tgr_60y, 'E_EC_Hbr_40y (t-C)':Agg_Cflow_DL_FP_E_Hbr_40y})
#Export to excel
writer = pd.ExcelWriter('AggCFlow_DL_FP_EC.xlsx', engine = 'xlsxwriter')
dfM_DL_FP_EC.to_excel(writer, sheet_name = 'DL_FP_EC', header=True, index=False)
writer.save()
writer.close()
#%%
#Step (24): Plot the net carbon balance
fig=plt.figure()
fig.show()
ax5=fig.add_subplot(111)
# plot
ax5.plot(t, Agg_Cflow_DL_FP_S1_Ac_7y, color='orange', label='M_EC_Ac_7y')
ax5.plot(t, Agg_Cflow_DL_FP_S1_Ac_18y, color='darkturquoise', label='M_EC_Ac_18y')
ax5.plot(t, Agg_Cflow_DL_FP_S1_Tgr_60y, color='lightcoral', label='M_EC_Tgr_60y')
ax5.plot(t, Agg_Cflow_DL_FP_E_Hbr_40y, color='mediumseagreen', label='E_EC_Hbr_40y')
ax5.plot(t, zerolistmaker(tf-1), color='black', label='Zero line', ls='--', alpha=0.75)
ax5.legend(bbox_to_anchor=(1.04,1), loc="upper left", frameon=False)
ax5.set_xlim(-1,200)
ax5.set_ylim(-25,220)
#ax5.set_yscale('symlog')
ax5.set_xlabel('Time (year)')
ax5.set_ylabel('C flows (t-C)')
ax5.set_title('Net carbon balance, DL_FP_EC')
plt.show()
#%%
#Step (25): Generate the excel file for documentation of individual carbon flows in the system definition (Fig. 1)
#print year column
year = []
for x in range (0, 201):
year.append(x)
print (year)
df2_Ac7 = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_S1_Ac_7y')
df2_Ac18 = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_S1_Ac_18y')
df2_Tgr40 = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_S1_Tgr_40y')
df2_Tgr60 = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_S1_Tgr_60y')
dfE2_Hbr40 = pd.read_excel('C:\\Work\\Programming\\Practice\\DL_FP.xlsx', 'DL_FP_E_Hbr_40y')
Column1 = year
division = 1000*44/12
division_CH4 = 1000*16/12
## S1_Ac_7y
## define the input flow for the landfill (F5-7)
OC_storage_S1_Ac7 = df1_Ac7['Other_C_storage'].values
OC_storage_S1_Ac7 = [x/division for x in OC_storage_S1_Ac7]
OC_storage_S1_Ac7 = [abs(number) for number in OC_storage_S1_Ac7]
C_LF_S1_Ac7 = [x*1/0.82 for x in OC_storage_S1_Ac7]
## define the input flow from the logging/harvesting to wood materials/pellets processing (F2-3)
HWP_S1_Ac7 = [x/division for x in df1_Ac7['Input_PF'].values]
HWP_S1_Ac7_energy = [x*1/3 for x in c_firewood_energy_S1_Ac7]
HWP_S1_Ac7_landfill = [x*1/0.82 for x in OC_storage_S1_Ac7]
HWP_S1_Ac7_sum = [HWP_S1_Ac7, HWP_S1_Ac7_energy, HWP_S1_Ac7_landfill]
HWP_S1_Ac7_sum = [sum(x) for x in zip(*HWP_S1_Ac7_sum )]
#in-use stocks (S-4)
TestDSM1_Ac7.s = [x/division for x in TestDSM1_Ac7.s]
#TestDSM1_Ac7.i = [x/division for x in TestDSM1_Ac7.i]
#calculate the F1-2
#In general, F1-2 = F2-3 + F2-6,
#To split the F1-2 to F1a-2 and F1c-2, we need to differentiate the flow for the initial land conversion (PF) and the subsequent land type (FP)
#create F1a-2
#tf = 201
#zero_PF_S2_Ac_7y = (tf,1)
#PF_S2_Ac_7y = np.zeros(zero_PF_S2_Ac_7y)
#PF_S2_Ac_7y = [x1+x2 for (x1,x2) in zip(HWP_S2_Ac7_sum, [x*2/3 for x in c_firewood_energy_S2_Ac7])][0:8]
#create F1c-2
#zero_FP_S2_Ac_7y = (tf,1)
#FP_S2_Ac_7y = np.zeros(zero_FP_S2_Ac_7y)
#FP_S2_Ac_7y = [x1+x2 for (x1,x2) in zip(HWP_S2_Ac7_sum, [x*2/3 for x in c_firewood_energy_S2_Ac7])][8:tf]
# calculate C stocks in landfill (S-7)
tf = 201
zero_matrix_stocks_S1_Ac_7y = (tf,1)
stocks_S1_Ac_7y = np.zeros(zero_matrix_stocks_S1_Ac_7y)
i = 0
stocks_S1_Ac_7y[0] = C_LF_S1_Ac7[0] - Landfill_decomp_DL_FP_S1_Ac_7y[0]
while i < tf-1:
stocks_S1_Ac_7y[i+1] = np.array(C_LF_S1_Ac7[i+1] - Landfill_decomp_DL_FP_S1_Ac_7y[i+1] + stocks_S1_Ac_7y[i])
i = i + 1
## calculate aggregate flow of logged wood (F1-2)
HWP_logged_S1_Ac_7y = [x1+x2 for (x1,x2) in zip(HWP_S1_Ac7_sum, [x*2/3 for x in c_firewood_energy_S1_Ac7])]
## calculate the stocks in the forest (AGB + undecomposed residue) (S-1a+S-1c)
tf = 201
zero_matrix_ForCstocks_S1_Ac_7y = (tf,1)
ForCstocks_S1_Ac_7y = np.zeros(zero_matrix_ForCstocks_S1_Ac_7y)
i = 0
ForCstocks_S1_Ac_7y[0] = initAGB - flat_list_Ac_7y[0] - decomp_tot_S1_Ac_7y[0] - HWP_logged_S1_Ac_7y[0]
while i < tf-1:
ForCstocks_S1_Ac_7y[i+1] = np.array(ForCstocks_S1_Ac_7y[i] - flat_list_Ac_7y[i+1] - decomp_tot_S1_Ac_7y[i+1] - HWP_logged_S1_Ac_7y[i+1])
i = i + 1
##NonRW materials/energy amount (F9-0-1)
df1_amount_Ac7 = pd.read_excel('C:\\Work\\Programming\\Practice\\NonRW_DL_FP.xlsx', 'DL_FP_S1_Ac_7y')
NonRW_amount_S1_Ac_7y = df1_amount_Ac7['NonRW_amount'].values
NonRW_amount_S1_Ac_7y = [x/1000 for x in NonRW_amount_S1_Ac_7y]
##NonRW emissions (F9-0-2)
emissions_NonRW_S1_Ac_7y = [x/division for x in emissions_NonRW_S1_Ac_7y]
#create columns
dfM_Ac_7y = pd.DataFrame.from_dict({'Year':Column1,
'F0-1 (t-C)': flat_list_Ac_7y,
'F1-0 (t-C)': decomp_tot_S1_Ac_7y[:,0],
#'F1a-2 (t-C)': PF_S1_Ac_7y,
#'F1c-2 (t-C)': FP_S1_Ac_7y,
'F1-2 (t-C)': HWP_logged_S1_Ac_7y,
'St-1 (t-C)':ForCstocks_S1_Ac_7y[:,0],
'F2-3 (t-C)': HWP_S1_Ac7_sum,
'F2-6 (t-C)': [x*2/3 for x in c_firewood_energy_S1_Ac7],
'SM/E (t-C)': [x1-x2-x3 for (x1,x2,x3) in zip(HWP_S1_Ac7_sum, [x*1/0.82 for x in OC_storage_S1_Ac7], [x*1/3 for x in c_firewood_energy_S1_Ac7])],
'F3-5 (t-C)':[x*1/0.82 for x in OC_storage_S1_Ac7],
'F3-6 (t-C)': [x*1/3 for x in c_firewood_energy_S1_Ac7],
# 'F4-0 (t-C)':,
'St-4 (t-C)': TestDSM1_Ac7.s,
#'S-4-i (t-C)': TestDSM1_Ac7.i,
'F4-5 (t-C)': TestDSM1_Ac7.o,
'F5-6 (t-C)': TestDSM1_Ac7.o,
'F5-7 (t-C)': C_LF_S1_Ac7,
'F6-0-1 (t-C)': c_firewood_energy_S1_Ac7,
'F6-0-2 (t-C)': TestDSM1_Ac7.o,
'St-7 (t-C)': stocks_S1_Ac_7y[:,0],
'F7-0 (t-C)': Landfill_decomp_DL_FP_S1_Ac_7y,
'F8-0 (t-C)': PH_Emissions_HWP1_Ac_7y,
'S9-0 (t)': NonRW_amount_S1_Ac_7y,
'F9-0 (t-C)': emissions_NonRW_S1_Ac_7y,
})
##S1_Ac_18y
## define the input flow for the landfill (F5-7)
OC_storage_S1_Ac18 = df1_Ac18['Other_C_storage'].values
OC_storage_S1_Ac18 = [x/division for x in OC_storage_S1_Ac18]
OC_storage_S1_Ac18 = [abs(number) for number in OC_storage_S1_Ac18]
C_LF_S1_Ac18 = [x*1/0.82 for x in OC_storage_S1_Ac18]
## define the input flow from the logging/harvesting to wood materials/pellets processing (F2-3)
HWP_S1_Ac18 = [x/division for x in df1_Ac18['Input_PF'].values]
HWP_S1_Ac18_energy = [x*1/3 for x in c_firewood_energy_S1_Ac18]
HWP_S1_Ac18_landfill = [x*1/0.82 for x in OC_storage_S1_Ac18]
HWP_S1_Ac18_sum = [HWP_S1_Ac18, HWP_S1_Ac18_energy, HWP_S1_Ac18_landfill]
HWP_S1_Ac18_sum = [sum(x) for x in zip(*HWP_S1_Ac18_sum )]
## in-use stocks (S-4)
TestDSM1_Ac18.s = [x/division for x in TestDSM1_Ac18.s]
#TestDSM1_Ac18.i = [x/division for x in TestDSM1_Ac18.i]
#calculate C stocks in landfill (S-7)
tf = 201
zero_matrix_stocks_S1_Ac_18y = (tf,1)
stocks_S1_Ac_18y = np.zeros(zero_matrix_stocks_S1_Ac_18y)
i = 0
stocks_S1_Ac_18y[0] = C_LF_S1_Ac18[0] - Landfill_decomp_DL_FP_S1_Ac_18y[0]
while i < tf-1:
stocks_S1_Ac_18y[i+1] = np.array(C_LF_S1_Ac18[i+1] - Landfill_decomp_DL_FP_S1_Ac_18y[i+1] + stocks_S1_Ac_18y[i])
i = i + 1
## calculate aggregate flow of logged wood (F1-2)
HWP_logged_S1_Ac_18y = [x1+x2 for (x1,x2) in zip(HWP_S1_Ac18_sum, [x*2/3 for x in c_firewood_energy_S1_Ac18])]
## calculate the stocks in the forest (AGB + undecomposed residue) (S-1a+S-1c)
tf = 201
zero_matrix_ForCstocks_S1_Ac_18y = (tf,1)
ForCstocks_S1_Ac_18y = np.zeros(zero_matrix_ForCstocks_S1_Ac_18y)
i = 0
ForCstocks_S1_Ac_18y[0] = initAGB - flat_list_Ac_18y[0] - decomp_tot_S1_Ac_18y[0] - HWP_logged_S1_Ac_18y[0]
while i < tf-1:
ForCstocks_S1_Ac_18y[i+1] = np.array(ForCstocks_S1_Ac_18y[i] - flat_list_Ac_18y[i+1] - decomp_tot_S1_Ac_18y[i+1] - HWP_logged_S1_Ac_18y[i+1])
i = i + 1
##NonRW materials/energy amount (F9-0-1)
df1_amount_Ac18 = pd.read_excel('C:\\Work\\Programming\\Practice\\NonRW_DL_FP.xlsx', 'DL_FP_S1_Ac_18y')
NonRW_amount_S1_Ac_18y = df1_amount_Ac18['NonRW_amount'].values
NonRW_amount_S1_Ac_18y = [x/1000 for x in NonRW_amount_S1_Ac_18y]
##NonRW emissions (F9-0-2)
emissions_NonRW_S1_Ac_18y = [x/division for x in emissions_NonRW_S1_Ac_18y]
#create columns
dfM_Ac_18y = pd.DataFrame.from_dict({'Year':Column1,
'F0-1 (t-C)': flat_list_Ac_18y,
'F1-0 (t-C)': decomp_tot_S1_Ac_18y[:,0],
#'F1a-2 (t-C)': PF_S1_Ac_18y,
#'F1c-2 (t-C)': FP_S1_Ac_18y,
'F1-2 (t-C)': HWP_logged_S1_Ac_18y,
'St-1 (t-C)':ForCstocks_S1_Ac_18y[:,0],
'F2-3 (t-C)': HWP_S1_Ac18_sum,
'F2-6 (t-C)': [x*2/3 for x in c_firewood_energy_S1_Ac18],
'SM/E (t-C)': [x1-x2-x3 for (x1,x2,x3) in zip(HWP_S1_Ac18_sum, [x*1/0.82 for x in OC_storage_S1_Ac18], [x*1/3 for x in c_firewood_energy_S1_Ac18])],
'F3-5 (t-C)':[x*1/0.82 for x in OC_storage_S1_Ac18],
'F3-6 (t-C)': [x*1/3 for x in c_firewood_energy_S1_Ac18],
# 'F4-0 (t-C)':,
'St-4 (t-C)': TestDSM1_Ac18.s,
#'S-4-i (t-C)': TestDSM1_Ac7.i,
'F4-5 (t-C)': TestDSM1_Ac18.o,
'F5-6 (t-C)': TestDSM1_Ac18.o,
'F5-7 (t-C)': C_LF_S1_Ac18,
'F6-0-1 (t-C)': c_firewood_energy_S1_Ac18,
'F6-0-2 (t-C)': TestDSM1_Ac18.o,
'St-7 (t-C)': stocks_S1_Ac_18y[:,0],
'F7-0 (t-C)': Landfill_decomp_DL_FP_S1_Ac_18y,
'F8-0 (t-C)': PH_Emissions_HWP1_Ac_18y,
'S9-0 (t)': NonRW_amount_S1_Ac_18y,
'F9-0 (t-C)': emissions_NonRW_S1_Ac_18y,
})
##S1_Tgr_60y
## define the input flow for the landfill (F5-7)
OC_storage_S1_Tgr60 = df1_Tgr60['Other_C_storage'].values
OC_storage_S1_Tgr60 = [x/division for x in OC_storage_S1_Tgr60]
OC_storage_S1_Tgr60 = [abs(number) for number in OC_storage_S1_Tgr60]
C_LF_S1_Tgr60 = [x*1/0.82 for x in OC_storage_S1_Tgr60]
## define the input flow from the logging/harvesting to wood materials/pellets processing (F2-3)
HWP_S1_Tgr60 = [x/division for x in df1_Tgr60['Input_PF'].values]
HWP_S1_Tgr60_energy = [x*1/3 for x in c_firewood_energy_S1_Tgr60]
HWP_S1_Tgr60_landfill = [x*1/0.82 for x in OC_storage_S1_Tgr60]
HWP_S1_Tgr60_sum = [HWP_S1_Tgr60, HWP_S1_Tgr60_energy, HWP_S1_Tgr60_landfill]
HWP_S1_Tgr60_sum = [sum(x) for x in zip(*HWP_S1_Tgr60_sum )]
## in-use stocks (S-4)
TestDSM1_Tgr60.s = [x/division for x in TestDSM1_Tgr60.s]
#TestDSM1_Tgr60.i = [x/division for x in TestDSM1_Tgr60.i]
## calculate C stocks in landfill (S-7)
tf = 201
zero_matrix_stocks_S1_Tgr_60y = (tf,1)
stocks_S1_Tgr_60y = np.zeros(zero_matrix_stocks_S1_Tgr_60y)
i = 0
stocks_S1_Tgr_60y[0] = C_LF_S1_Tgr60[0] - Landfill_decomp_DL_FP_S1_Tgr_60y[0]
while i < tf-1:
stocks_S1_Tgr_60y[i+1] = np.array(C_LF_S1_Tgr60[i+1] - Landfill_decomp_DL_FP_S1_Tgr_60y[i+1] + stocks_S1_Tgr_60y[i])
i = i + 1
#print(stocks_S2_Ac_7y[:])
#print(type(stocks_S2_Ac_7y))
#print(type(C_LF_S2_Ac7))
#print(type(Landfill_decomp_PF_FP_S2_Ac_7y))
## calculate aggregate flow of logged wood (F1-2)
HWP_logged_S1_Tgr_60y = [x1+x2 for (x1,x2) in zip(HWP_S1_Tgr60_sum, [x*2/3 for x in c_firewood_energy_S1_Tgr60])]
## calculate the stocks in the forest (AGB + undecomposed residue) (S-1a+S-1c)
tf = 201
zero_matrix_ForCstocks_S1_Tgr_60y = (tf,1)
ForCstocks_S1_Tgr_60y = np.zeros(zero_matrix_ForCstocks_S1_Tgr_60y)
i = 0
ForCstocks_S1_Tgr_60y[0] = initAGB - flat_list_Tgr_60y[0] - decomp_tot_S1_Tgr_60y[0] - HWP_logged_S1_Tgr_60y[0]
while i < tf-1:
ForCstocks_S1_Tgr_60y[i+1] = np.array(ForCstocks_S1_Tgr_60y[i] - flat_list_Tgr_60y[i+1] - decomp_tot_S1_Tgr_60y[i+1] - HWP_logged_S1_Tgr_60y[i+1])
i = i + 1
##NonRW materials/energy amount (F9-0-1)
df1_amount_Tgr60 = pd.read_excel('C:\\Work\\Programming\\Practice\\NonRW_DL_FP.xlsx', 'DL_FP_S1_Tgr_60y')
NonRW_amount_S1_Tgr_60y = df1_amount_Tgr60['NonRW_amount'].values
NonRW_amount_S1_Tgr_60y = [x/1000 for x in NonRW_amount_S1_Tgr_60y]
##NonRW emissions (F9-0-2)
emissions_NonRW_S1_Tgr_60y = [x/division for x in emissions_NonRW_S1_Tgr_60y]
#create columns
dfM_Tgr_60y = pd.DataFrame.from_dict({'Year':Column1,
'F0-1 (t-C)': flat_list_Tgr_60y,
'F1-0 (t-C)': decomp_tot_S1_Tgr_60y[:,0],
#'F1a-2 (t-C)': PF_S1_Tgr_60y,
#'F1c-2 (t-C)': FP_S1_Tgr_60y,
'F1-2 (t-C)': HWP_logged_S1_Tgr_60y,
'St-1 (t-C)':ForCstocks_S1_Tgr_60y[:,0],
'F2-3 (t-C)': HWP_S1_Tgr60_sum,
'F2-6 (t-C)': [x*2/3 for x in c_firewood_energy_S1_Tgr60],
'SM/E (t-C)': [x1-x2-x3 for (x1,x2,x3) in zip(HWP_S1_Tgr60_sum, [x*1/0.82 for x in OC_storage_S1_Tgr60], [x*1/3 for x in c_firewood_energy_S1_Tgr60])],
'F3-5 (t-C)':[x*1/0.82 for x in OC_storage_S1_Tgr60],
'F3-6 (t-C)': [x*1/3 for x in c_firewood_energy_S1_Tgr60],
# 'F4-0 (t-C)':,
'St-4 (t-C)': TestDSM1_Tgr60.s,
#'S-4-i (t-C)': TestDSM1_Tgr60.i,
'F4-5 (t-C)': TestDSM1_Tgr60.o,
'F5-6 (t-C)': TestDSM1_Tgr60.o,
'F5-7 (t-C)': C_LF_S1_Tgr60,
'F6-0-1 (t-C)': c_firewood_energy_S1_Tgr60,
'F6-0-2 (t-C)': TestDSM1_Tgr60.o,
'St-7 (t-C)': stocks_S1_Tgr_60y[:,0],
'F7-0 (t-C)': Landfill_decomp_DL_FP_S1_Tgr_60y,
'F8-0 (t-C)': PH_Emissions_HWP1_Tgr_60y,
'S9-0 (t)': NonRW_amount_S1_Tgr_60y,
'F9-0 (t-C)': emissions_NonRW_S1_Tgr_60y,
})
##S1_E_Hbr_40y
## define the input flow for the landfill (F5-7)
OC_storage_E_Hbr40 = dfE_Hbr40['Other_C_storage'].values
OC_storage_E_Hbr40 = [x/division for x in OC_storage_E_Hbr40]
OC_storage_E_Hbr40 = [abs(number) for number in OC_storage_E_Hbr40]
C_LF_E_Hbr40 = [x*1/0.82 for x in OC_storage_E_Hbr40]
## define the input flow from the logging/harvesting to wood materials/pellets processing (F2-3)
HWP_E_Hbr40 = [x/division for x in dfE_Hbr40['Wood_pellets'].values]
HWP_E_Hbr40_energy = [x*1/3 for x in c_firewood_energy_E_Hbr40]
HWP_E_Hbr40_landfill = [x*1/0.82 for x in OC_storage_E_Hbr40]
HWP_E_Hbr40_sum = [HWP_E_Hbr40, HWP_E_Hbr40_energy, HWP_E_Hbr40_landfill]
HWP_E_Hbr40_sum = [sum(x) for x in zip(*HWP_E_Hbr40_sum )]
## in-use stocks (S-4)
TestDSME_Hbr40.s = [x/division for x in TestDSME_Hbr40.s]
## calculate C stocks in landfill (S-7)
tf = 201
zero_matrix_stocks_E_Hbr_40y = (tf,1)
stocks_E_Hbr_40y = np.zeros(zero_matrix_stocks_E_Hbr_40y)
i = 0
stocks_E_Hbr_40y[0] = C_LF_E_Hbr40[0] - Landfill_decomp_DL_FP_E_Hbr_40y[0]
while i < tf-1:
stocks_E_Hbr_40y[i+1] = np.array(C_LF_E_Hbr40[i+1] - Landfill_decomp_DL_FP_E_Hbr_40y[i+1] + stocks_E_Hbr_40y[i])
i = i + 1
## calculate aggregate flow of logged wood (F1-2)
HWP_logged_E_Hbr_40y = [x1+x2 for (x1,x2) in zip(HWP_E_Hbr40_sum, [x*2/3 for x in c_firewood_energy_E_Hbr40])]
#calculate the stocks in the forest (AGB + undecomposed residue) (S-1a+S-1c)
tf = 201
zero_matrix_ForCstocks_E_Hbr_40y = (tf,1)
ForCstocks_E_Hbr_40y = np.zeros(zero_matrix_ForCstocks_E_Hbr_40y)
i = 0
ForCstocks_E_Hbr_40y[0] = initAGB - flat_list_Hbr_40y[0] - decomp_tot_E_Hbr_40y[0] - HWP_logged_E_Hbr_40y[0]
while i < tf-1:
ForCstocks_E_Hbr_40y[i+1] = np.array(ForCstocks_E_Hbr_40y[i] - flat_list_Hbr_40y[i+1] - decomp_tot_E_Hbr_40y[i+1] - HWP_logged_E_Hbr_40y[i+1])
i = i + 1
##NonRW materials/energy amount (F9-0-1)
dfE_amount_Hbr40 = pd.read_excel('C:\\Work\\Programming\\Practice\\NonRW_DL_FP.xlsx', 'DL_FP_E_Hbr_40y')
NonRW_amount_E_Hbr_40y = dfE_amount_Hbr40['NonRW_amount'].values
NonRW_amount_E_Hbr_40y = [x/1000 for x in NonRW_amount_E_Hbr_40y]
##NonRW emissions (F9-0-2)
emissions_NonRW_E_Hbr_40y = [x/division for x in emissions_NonRW_E_Hbr_40y]
#create columns
dfE_Hbr_40y = pd.DataFrame.from_dict({'Year':Column1,
'F0-1 (t-C)': flat_list_Hbr_40y,
'F1-0 (t-C)': decomp_tot_E_Hbr_40y[:,0],
#'F1a-2 (t-C)': PF_S2_Tgr_60y,
#'F1c-2 (t-C)': FP_S2_Tgr_60y,
'F1-2 (t-C)': HWP_logged_E_Hbr_40y,
'St-1 (t-C)':ForCstocks_E_Hbr_40y[:,0],
'F2-3 (t-C)': HWP_E_Hbr40_sum,
'F2-6 (t-C)': [x*2/3 for x in c_firewood_energy_E_Hbr40],
'SM/E (t-C)': [x1-x2-x3 for (x1,x2,x3) in zip(HWP_E_Hbr40_sum, [x*1/0.82 for x in OC_storage_E_Hbr40], [x*1/3 for x in c_firewood_energy_E_Hbr40])],
'F3-5 (t-C)':[x*1/0.82 for x in OC_storage_E_Hbr40],
'F3-6 (t-C)': [x*1/3 for x in c_firewood_energy_E_Hbr40],
'F4-0 (t-C)': c_pellets_Hbr_40y,
'St-4 (t-C)': TestDSME_Hbr40.s,
#'S-4-i (t-C)': TestDSME_Hbr40.i,
'F4-5 (t-C)': TestDSME_Hbr40.o,
'F5-6 (t-C)': TestDSME_Hbr40.o,
'F5-7 (t-C)': C_LF_E_Hbr40,
'F6-0-1 (t-C)': c_firewood_energy_E_Hbr40,
'F6-0-2 (t-C)': TestDSME_Hbr40.o,
'St-7 (t-C)': stocks_E_Hbr_40y[:,0],
'F7-0 (t-C)': Landfill_decomp_DL_FP_E_Hbr_40y,
'F8-0 (t-C)': PH_Emissions_HWPE_Hbr_40y,
'S9-0 (t)': NonRW_amount_E_Hbr_40y,
'F9-0 (t-C)': emissions_NonRW_E_Hbr_40y,
})
writer = pd.ExcelWriter('C_flows_SysDef_DL_FP_EC.xlsx', engine = 'xlsxwriter')
dfM_Ac_7y.to_excel(writer, sheet_name = 'DL_FP_M_EC_Ac_7y', header=True, index=False)
dfM_Ac_18y.to_excel(writer, sheet_name = 'DL_FP_M_EC_Ac_18y', header=True, index=False)
dfM_Tgr_60y.to_excel(writer, sheet_name = 'DL_FP_M_EC_Tgr_60y', header=True, index=False)
dfE_Hbr_40y.to_excel(writer, sheet_name = 'DL_FP_E_EC_Hbr_40y', header=True, index=False)
writer.save()
writer.close()
#%% | [
1,
529,
9507,
29958,
29906,
29889,
1222,
15423,
1281,
3259,
382,
2416,
13396,
313,
11206,
511,
22871,
861,
319,
29914,
19558,
29918,
26353,
29918,
11206,
29889,
2272,
29966,
12443,
29918,
303,
1503,
29958,
29900,
13,
29937,
448,
29930,
29899,
14137,
29901,
23616,
29899,
29947,
448,
29930,
29899,
30004,
13,
15945,
19451,
13,
20399,
373,
11169,
3826,
29871,
29896,
29941,
29871,
29896,
29945,
29901,
29906,
29896,
29901,
29945,
29945,
29871,
29906,
29900,
29896,
29929,
30004,
13,
30004,
13,
29992,
8921,
29901,
364,
653,
481,
3605,
3304,
30004,
13,
15945,
19451,
13,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
29937,
14448,
313,
29896,
1125,
16032,
5132,
9562,
29892,
731,
2982,
11301,
21846,
2498,
4128,
30004,
13,
30004,
13,
30004,
13,
5215,
12655,
408,
7442,
30004,
13,
5215,
22889,
29889,
2272,
5317,
408,
14770,
30004,
13,
3166,
4560,
2272,
29889,
14146,
403,
1053,
18890,
30004,
13,
5215,
409,
370,
1398,
408,
269,
1983,
30004,
13,
5215,
11701,
408,
10518,
30004,
13,
30004,
13,
30004,
13,
29937,
19558,
29918,
26353,
29918,
29903,
29896,
2522,
24893,
30004,
13,
30004,
13,
2277,
2697,
4128,
30004,
13,
29937,
11507,
363,
7601,
13569,
30004,
13,
2344,
29909,
7210,
353,
29871,
29906,
29941,
29941,
9651,
396,
4993,
29901,
1109,
1522,
823,
655,
634,
394,
29889,
313,
29906,
29900,
29896,
29947,
8443,
13,
2344,
29909,
7210,
29918,
1195,
353,
29871,
29906,
29941,
29941,
29899,
29955,
29906,
30004,
13,
2344,
29909,
7210,
29918,
3317,
353,
29871,
29906,
29941,
29941,
718,
29871,
29955,
29906,
30004,
13,
30004,
13,
29937,
16744,
363,
5335,
495,
8024,
362,
29889,
7562,
29901,
476,
5349,
273,
801,
634,
394,
29889,
313,
29906,
29900,
29896,
29945,
29897,
6756,
13,
30004,
13,
30004,
13,
13264,
353,
29871,
29906,
29900,
29896,
30004,
13,
30004,
13,
29874,
353,
29871,
29900,
29889,
29900,
29947,
29906,
30004,
13,
29890,
353,
29871,
29906,
29889,
29945,
29941,
30004,
13,
30004,
13,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
29937,
14448,
313,
29906,
29918,
29896,
1125,
315,
6410,
515,
278,
4023,
10147,
292,
29914,
8551,
5700,
30004,
13,
30004,
13,
30004,
13,
2176,
29896,
29918,
10644,
29955,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
1495,
30004,
13,
2176,
29896,
29918,
10644,
29896,
29947,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
1495,
30004,
13,
2176,
29896,
29918,
29911,
629,
29946,
29900,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
1495,
30004,
13,
2176,
29896,
29918,
29911,
629,
29953,
29900,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
1495,
30004,
13,
2176,
29923,
29918,
29950,
1182,
29946,
29900,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
1495,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29873,
353,
3464,
29898,
29900,
29892,
13264,
29892,
29896,
8443,
13,
30004,
13,
30004,
13,
29883,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
10644,
29955,
353,
4489,
29896,
29918,
10644,
29955,
1839,
18654,
6115,
29918,
1228,
29918,
27548,
29918,
1509,
13359,
5975,
30004,
13,
29883,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
353,
4489,
29896,
29918,
10644,
29896,
29947,
1839,
18654,
6115,
29918,
1228,
29918,
27548,
29918,
1509,
13359,
5975,
30004,
13,
29883,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
29911,
629,
29946,
29900,
353,
4489,
29896,
29918,
29911,
629,
29946,
29900,
1839,
18654,
6115,
29918,
1228,
29918,
27548,
29918,
1509,
13359,
5975,
30004,
13,
29883,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
353,
4489,
29896,
29918,
29911,
629,
29953,
29900,
1839,
18654,
6115,
29918,
1228,
29918,
27548,
29918,
1509,
13359,
5975,
30004,
13,
29883,
29918,
8696,
6115,
29918,
27548,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
353,
4489,
29923,
29918,
29950,
1182,
29946,
29900,
1839,
18654,
6115,
29918,
1228,
29918,
27548,
29918,
1509,
13359,
5975,
30004,
13,
30004,
13,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
29937,
14448,
313,
29906,
29918,
29906,
1125,
315,
6410,
515,
278,
4023,
10147,
292,
29914,
8551,
5700,
408,
8112,
4639,
10376,
30004,
13,
30004,
13,
2176,
29923,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
1495,
30004,
13,
30004,
13,
30004,
13,
29883,
29918,
13111,
10376,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
4489,
29923,
1839,
29956,
2092,
29918,
13111,
10376,
13359,
5975,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
29937,
14448,
313,
29941,
1125,
319,
29205,
2057,
4768,
290,
465,
313,
29909,
7210,
29897,
26227,
30004,
13,
30004,
13,
30004,
13,
29937,
10644,
29918,
29955,
29891,
30004,
13,
2176,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
1495,
30004,
13,
30004,
13,
13264,
353,
29871,
29906,
29900,
29896,
30004,
13,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
13264,
8443,
13,
30004,
13,
30004,
13,
1753,
316,
2388,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29898,
29873,
29892,
1745,
475,
29909,
7210,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
1125,
30004,
13,
1678,
736,
313,
29896,
17722,
29896,
29899,
9302,
29889,
4548,
6278,
29874,
29930,
29873,
876,
1068,
29890,
11877,
1745,
475,
29909,
7210,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
842,
5225,
4636,
30004,
13,
4905,
29918,
311,
2388,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
511,
2435,
29898,
2176,
1839,
29907,
29918,
1745,
475,
29909,
7210,
13359,
5975,
4961,
30004,
13,
30004,
13,
30004,
13,
1454,
474,
29892,
1745,
475,
29918,
1595,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
297,
26985,
29898,
2176,
1839,
29907,
29918,
1745,
475,
29909,
7210,
13359,
5975,
1125,
30004,
13,
1678,
396,
2158,
29898,
29875,
29892,
1745,
475,
29918,
1595,
8443,
13,
1678,
1962,
29918,
311,
2388,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29961,
29875,
29901,
29892,
29875,
29962,
353,
316,
2388,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29898,
29873,
7503,
2435,
29898,
29873,
6817,
29875,
1402,
1745,
475,
29918,
1595,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
8443,
13,
30004,
13,
2158,
29898,
4905,
29918,
311,
2388,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
2886,
278,
1629,
368,
953,
6847,
515,
26227,
491,
25202,
278,
12651,
1546,
3161,
297,
1051,
525,
311,
2388,
29918,
4260,
29918,
29903,
29896,
29915,
6756,
13,
29937,
29898,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29945,
29941,
29896,
29946,
29906,
29946,
29896,
29914,
29881,
17678,
29899,
14811,
29899,
535,
3471,
11067,
29899,
17664,
29899,
262,
29899,
1761,
8443,
13,
29937,
2045,
597,
2417,
29889,
510,
29914,
2619,
29914,
29896,
29896,
29900,
29929,
29945,
29947,
29929,
29906,
29914,
23749,
29899,
29881,
17678,
29899,
14811,
29899,
484,
1141,
4089,
292,
29899,
17664,
30004,
13,
30004,
13,
29937,
29881,
17678,
1546,
1543,
29892,
6756,
13,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
6817,
29896,
29892,
2435,
29898,
2176,
1839,
29907,
29918,
1745,
475,
29909,
7210,
13359,
5975,
29899,
29896,
4961,
30004,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
8000,
474,
529,
15886,
29901,
30004,
13,
1678,
11684,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29875,
29962,
353,
7442,
29889,
12765,
29898,
4905,
29918,
311,
2388,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29875,
2314,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
6756,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
2158,
29898,
2435,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
876,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
16076,
727,
338,
694,
22004,
25477,
515,
26227,
472,
278,
6763,
310,
278,
1629,
313,
9983,
29889,
515,
525,
6360,
29871,
29896,
29915,
373,
1328,
511,
6756,
13,
29937,
705,
505,
304,
5191,
278,
6374,
3694,
411,
29871,
29900,
1819,
313,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29941,
29953,
29941,
29896,
29900,
29947,
29929,
29955,
29914,
3525,
29899,
1867,
29899,
29875,
29899,
3167,
29899,
497,
29899,
22198,
29899,
20326,
29899,
517,
29899,
9171,
29899,
262,
29899,
4691,
29914,
29941,
29953,
29941,
29896,
29900,
29929,
29896,
29941,
8443,
13,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
11684,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29889,
24049,
29898,
3317,
29922,
29900,
8443,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
29937,
5675,
278,
2582,
408,
8380,
1819,
30004,
13,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
6425,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
8443,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
7851,
1948,
310,
24786,
964,
278,
937,
1948,
310,
278,
11684,
29918,
5344,
30004,
13,
9171,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
6817,
29906,
29900,
29900,
29892,
2435,
29898,
2176,
1839,
29907,
29918,
1745,
475,
29909,
7210,
13359,
5975,
4961,
30004,
13,
2158,
29898,
9171,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
8443,
13,
30004,
13,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
7442,
29889,
29894,
1429,
3552,
9171,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
11684,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
876,
30004,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
2083,
1432,
1897,
310,
278,
11684,
29918,
5344,
964,
697,
4608,
4636,
30004,
13,
5344,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
313,
13264,
29892,
29896,
8443,
13,
311,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29897,
6756,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
8000,
474,
529,
15886,
29901,
30004,
13,
1678,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29900,
29962,
353,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29900,
29962,
718,
11684,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29875,
29962,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
30004,
13,
30004,
13,
2158,
29898,
311,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29900,
2314,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
30004,
13,
2176,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
1495,
30004,
13,
30004,
13,
13264,
353,
29871,
29906,
29900,
29896,
30004,
13,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
13264,
8443,
13,
30004,
13,
30004,
13,
1753,
316,
2388,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29898,
29873,
29892,
1745,
475,
29909,
7210,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
1125,
30004,
13,
1678,
736,
313,
29896,
17722,
29896,
29899,
9302,
29889,
4548,
6278,
29874,
29930,
29873,
876,
1068,
29890,
11877,
1745,
475,
29909,
7210,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
842,
5225,
4636,
30004,
13,
4905,
29918,
311,
2388,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
511,
2435,
29898,
2176,
1839,
29907,
29918,
1745,
475,
29909,
7210,
13359,
5975,
4961,
30004,
13,
30004,
13,
30004,
13,
1454,
474,
29892,
1745,
475,
29918,
1595,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
297,
26985,
29898,
2176,
1839,
29907,
29918,
1745,
475,
29909,
7210,
13359,
5975,
1125,
30004,
13,
1678,
396,
2158,
29898,
29875,
29892,
1745,
475,
29918,
1595,
8443,
13,
1678,
1962,
29918,
311,
2388,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29961,
29875,
29901,
29892,
29875,
29962,
353,
316,
2388,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29898,
29873,
7503,
2435,
29898,
29873,
6817,
29875,
1402,
1745,
475,
29918,
1595,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
8443,
13,
30004,
13,
2158,
29898,
4905,
29918,
311,
2388,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
2886,
278,
1629,
368,
953,
6847,
515,
26227,
491,
25202,
278,
12651,
1546,
3161,
297,
1051,
525,
311,
2388,
29918,
4260,
29918,
29903,
29896,
29915,
6756,
13,
29937,
29898,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29945,
29941,
29896,
29946,
29906,
29946,
29896,
29914,
29881,
17678,
29899,
14811,
29899,
535,
3471,
11067,
29899,
17664,
29899,
262,
29899,
1761,
8443,
13,
29937,
2045,
597,
2417,
29889,
510,
29914,
2619,
29914,
29896,
29896,
29900,
29929,
29945,
29947,
29929,
29906,
29914,
23749,
29899,
29881,
17678,
29899,
14811,
29899,
484,
1141,
4089,
292,
29899,
17664,
30004,
13,
30004,
13,
29937,
29881,
17678,
1546,
1543,
29892,
6756,
13,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
6817,
29896,
29892,
2435,
29898,
2176,
1839,
29907,
29918,
1745,
475,
29909,
7210,
13359,
5975,
29899,
29896,
4961,
30004,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
8000,
474,
529,
15886,
29901,
30004,
13,
1678,
11684,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29875,
29962,
353,
7442,
29889,
12765,
29898,
4905,
29918,
311,
2388,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29875,
2314,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
6756,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
2158,
29898,
2435,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
876,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
16076,
727,
338,
694,
22004,
25477,
515,
26227,
472,
278,
6763,
310,
278,
1629,
313,
9983,
29889,
515,
525,
6360,
29871,
29896,
29915,
373,
1328,
511,
6756,
13,
29937,
705,
505,
304,
5191,
278,
6374,
3694,
411,
29871,
29900,
1819,
313,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29941,
29953,
29941,
29896,
29900,
29947,
29929,
29955,
29914,
3525,
29899,
1867,
29899,
29875,
29899,
3167,
29899,
497,
29899,
22198,
29899,
20326,
29899,
517,
29899,
9171,
29899,
262,
29899,
4691,
29914,
29941,
29953,
29941,
29896,
29900,
29929,
29896,
29941,
8443,
13,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
11684,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29889,
24049,
29898,
3317,
29922,
29900,
8443,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
29937,
5675,
278,
2582,
408,
8380,
1819,
30004,
13,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
6425,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
8443,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
7851,
1948,
310,
24786,
964,
278,
937,
1948,
310,
278,
11684,
29918,
5344,
30004,
13,
9171,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
6817,
29906,
29900,
29900,
29892,
2435,
29898,
2176,
1839,
29907,
29918,
1745,
475,
29909,
7210,
13359,
5975,
4961,
30004,
13,
2158,
29898,
9171,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
8443,
13,
30004,
13,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
7442,
29889,
29894,
1429,
3552,
9171,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
11684,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
876,
30004,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
2083,
1432,
1897,
310,
278,
11684,
29918,
5344,
964,
697,
4608,
4636,
30004,
13,
5344,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
313,
13264,
29892,
29896,
8443,
13,
311,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29897,
6756,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
8000,
474,
529,
15886,
29901,
30004,
13,
1678,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29900,
29962,
353,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29900,
29962,
718,
11684,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29875,
29962,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
30004,
13,
30004,
13,
2158,
29898,
311,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29900,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
30004,
13,
2176,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
1495,
30004,
13,
30004,
13,
13264,
353,
29871,
29906,
29900,
29896,
30004,
13,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
13264,
8443,
13,
30004,
13,
30004,
13,
1753,
316,
2388,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29898,
29873,
29892,
1745,
475,
29909,
7210,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
1125,
30004,
13,
1678,
736,
313,
29896,
17722,
29896,
29899,
9302,
29889,
4548,
6278,
29874,
29930,
29873,
876,
1068,
29890,
11877,
1745,
475,
29909,
7210,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
842,
5225,
4636,
30004,
13,
4905,
29918,
311,
2388,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
511,
2435,
29898,
2176,
1839,
29907,
29918,
1745,
475,
29909,
7210,
13359,
5975,
4961,
30004,
13,
30004,
13,
30004,
13,
1454,
474,
29892,
1745,
475,
29918,
1595,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
297,
26985,
29898,
2176,
1839,
29907,
29918,
1745,
475,
29909,
7210,
13359,
5975,
1125,
30004,
13,
1678,
396,
2158,
29898,
29875,
29892,
1745,
475,
29918,
1595,
8443,
13,
1678,
1962,
29918,
311,
2388,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29961,
29875,
29901,
29892,
29875,
29962,
353,
316,
2388,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29898,
29873,
7503,
2435,
29898,
29873,
6817,
29875,
1402,
1745,
475,
29918,
1595,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
8443,
13,
30004,
13,
2158,
29898,
4905,
29918,
311,
2388,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
2886,
278,
1629,
368,
953,
6847,
515,
26227,
491,
25202,
278,
12651,
1546,
3161,
297,
1051,
525,
311,
2388,
29918,
4260,
29918,
29903,
29896,
29915,
6756,
13,
29937,
29898,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29945,
29941,
29896,
29946,
29906,
29946,
29896,
29914,
29881,
17678,
29899,
14811,
29899,
535,
3471,
11067,
29899,
17664,
29899,
262,
29899,
1761,
8443,
13,
29937,
2045,
597,
2417,
29889,
510,
29914,
2619,
29914,
29896,
29896,
29900,
29929,
29945,
29947,
29929,
29906,
29914,
23749,
29899,
29881,
17678,
29899,
14811,
29899,
484,
1141,
4089,
292,
29899,
17664,
30004,
13,
30004,
13,
29937,
29881,
17678,
1546,
1543,
29892,
6756,
13,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
6817,
29896,
29892,
2435,
29898,
2176,
1839,
29907,
29918,
1745,
475,
29909,
7210,
13359,
5975,
29899,
29896,
4961,
30004,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
8000,
474,
529,
15886,
29901,
30004,
13,
1678,
11684,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29875,
29962,
353,
7442,
29889,
12765,
29898,
4905,
29918,
311,
2388,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29875,
2314,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
6756,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
2158,
29898,
2435,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
876,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
16076,
727,
338,
694,
22004,
25477,
515,
26227,
472,
278,
6763,
310,
278,
1629,
313,
9983,
29889,
515,
525,
6360,
29871,
29896,
29915,
373,
1328,
511,
6756,
13,
29937,
705,
505,
304,
5191,
278,
6374,
3694,
411,
29871,
29900,
1819,
313,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29941,
29953,
29941,
29896,
29900,
29947,
29929,
29955,
29914,
3525,
29899,
1867,
29899,
29875,
29899,
3167,
29899,
497,
29899,
22198,
29899,
20326,
29899,
517,
29899,
9171,
29899,
262,
29899,
4691,
29914,
29941,
29953,
29941,
29896,
29900,
29929,
29896,
29941,
8443,
13,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
11684,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29889,
24049,
29898,
3317,
29922,
29900,
8443,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
29937,
5675,
278,
2582,
408,
8380,
1819,
30004,
13,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
6425,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
8443,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
7851,
1948,
310,
24786,
964,
278,
937,
1948,
310,
278,
11684,
29918,
5344,
30004,
13,
9171,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
6817,
29906,
29900,
29900,
29892,
2435,
29898,
2176,
1839,
29907,
29918,
1745,
475,
29909,
7210,
13359,
5975,
4961,
30004,
13,
2158,
29898,
9171,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
8443,
13,
30004,
13,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
7442,
29889,
29894,
1429,
3552,
9171,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29892,
11684,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
876,
30004,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
2083,
1432,
1897,
310,
278,
11684,
29918,
5344,
964,
697,
4608,
4636,
30004,
13,
5344,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
313,
13264,
29892,
29896,
8443,
13,
311,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29897,
6756,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
8000,
474,
529,
15886,
29901,
30004,
13,
1678,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
29962,
353,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
29962,
718,
11684,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29875,
29962,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
30004,
13,
30004,
13,
2158,
29898,
311,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
2314,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
30004,
13,
2176,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
1495,
30004,
13,
30004,
13,
13264,
353,
29871,
29906,
29900,
29896,
30004,
13,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
13264,
8443,
13,
30004,
13,
30004,
13,
1753,
316,
2388,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29898,
29873,
29892,
1745,
475,
29909,
7210,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
1125,
30004,
13,
1678,
736,
313,
29896,
17722,
29896,
29899,
9302,
29889,
4548,
6278,
29874,
29930,
29873,
876,
1068,
29890,
11877,
1745,
475,
29909,
7210,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
842,
5225,
4636,
30004,
13,
4905,
29918,
311,
2388,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
511,
2435,
29898,
2176,
1839,
29907,
29918,
1745,
475,
29909,
7210,
13359,
5975,
4961,
30004,
13,
30004,
13,
30004,
13,
1454,
474,
29892,
1745,
475,
29918,
1595,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
297,
26985,
29898,
2176,
1839,
29907,
29918,
1745,
475,
29909,
7210,
13359,
5975,
1125,
30004,
13,
1678,
396,
2158,
29898,
29875,
29892,
1745,
475,
29918,
1595,
8443,
13,
1678,
1962,
29918,
311,
2388,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29961,
29875,
29901,
29892,
29875,
29962,
353,
316,
2388,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29898,
29873,
7503,
2435,
29898,
29873,
6817,
29875,
1402,
1745,
475,
29918,
1595,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
8443,
13,
30004,
13,
2158,
29898,
4905,
29918,
311,
2388,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
2886,
278,
1629,
368,
953,
6847,
515,
26227,
491,
25202,
278,
12651,
1546,
3161,
297,
1051,
525,
311,
2388,
29918,
4260,
29918,
29903,
29896,
29915,
6756,
13,
29937,
29898,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29945,
29941,
29896,
29946,
29906,
29946,
29896,
29914,
29881,
17678,
29899,
14811,
29899,
535,
3471,
11067,
29899,
17664,
29899,
262,
29899,
1761,
8443,
13,
29937,
2045,
597,
2417,
29889,
510,
29914,
2619,
29914,
29896,
29896,
29900,
29929,
29945,
29947,
29929,
29906,
29914,
23749,
29899,
29881,
17678,
29899,
14811,
29899,
484,
1141,
4089,
292,
29899,
17664,
30004,
13,
30004,
13,
29937,
29881,
17678,
1546,
1543,
29892,
6756,
13,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
6817,
29896,
29892,
2435,
29898,
2176,
1839,
29907,
29918,
1745,
475,
29909,
7210,
13359,
5975,
29899,
29896,
4961,
30004,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
8000,
474,
529,
15886,
29901,
30004,
13,
1678,
11684,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29875,
29962,
353,
7442,
29889,
12765,
29898,
4905,
29918,
311,
2388,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29875,
2314,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
6756,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
2158,
29898,
2435,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
876,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
16076,
727,
338,
694,
22004,
25477,
515,
26227,
472,
278,
6763,
310,
278,
1629,
313,
9983,
29889,
515,
525,
6360,
29871,
29896,
29915,
373,
1328,
511,
6756,
13,
29937,
705,
505,
304,
5191,
278,
6374,
3694,
411,
29871,
29900,
1819,
313,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29941,
29953,
29941,
29896,
29900,
29947,
29929,
29955,
29914,
3525,
29899,
1867,
29899,
29875,
29899,
3167,
29899,
497,
29899,
22198,
29899,
20326,
29899,
517,
29899,
9171,
29899,
262,
29899,
4691,
29914,
29941,
29953,
29941,
29896,
29900,
29929,
29896,
29941,
8443,
13,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
11684,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29889,
24049,
29898,
3317,
29922,
29900,
8443,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
29937,
5675,
278,
2582,
408,
8380,
1819,
30004,
13,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
6425,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
8443,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
7851,
1948,
310,
24786,
964,
278,
937,
1948,
310,
278,
11684,
29918,
5344,
30004,
13,
9171,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
6817,
29906,
29900,
29900,
29892,
2435,
29898,
2176,
1839,
29907,
29918,
1745,
475,
29909,
7210,
13359,
5975,
4961,
30004,
13,
2158,
29898,
9171,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
8443,
13,
30004,
13,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
7442,
29889,
29894,
1429,
3552,
9171,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
11684,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
876,
30004,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
2083,
1432,
1897,
310,
278,
11684,
29918,
5344,
964,
697,
4608,
4636,
30004,
13,
5344,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
313,
13264,
29892,
29896,
8443,
13,
311,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29897,
6756,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
8000,
474,
529,
15886,
29901,
30004,
13,
1678,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29900,
29962,
353,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29900,
29962,
718,
11684,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29875,
29962,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
30004,
13,
30004,
13,
2158,
29898,
311,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29900,
2314,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
29923,
30004,
13,
2176,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
1495,
30004,
13,
30004,
13,
13264,
353,
29871,
29906,
29900,
29896,
30004,
13,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
13264,
8443,
13,
30004,
13,
30004,
13,
1753,
316,
2388,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29898,
29873,
29892,
1745,
475,
29909,
7210,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
1125,
30004,
13,
1678,
736,
313,
29896,
17722,
29896,
29899,
9302,
29889,
4548,
6278,
29874,
29930,
29873,
876,
1068,
29890,
11877,
1745,
475,
29909,
7210,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
842,
5225,
4636,
30004,
13,
4905,
29918,
311,
2388,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
511,
2435,
29898,
2176,
1839,
29907,
29918,
1745,
475,
29909,
7210,
13359,
5975,
4961,
30004,
13,
30004,
13,
30004,
13,
1454,
474,
29892,
1745,
475,
29918,
1595,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
297,
26985,
29898,
2176,
1839,
29907,
29918,
1745,
475,
29909,
7210,
13359,
5975,
1125,
30004,
13,
1678,
396,
2158,
29898,
29875,
29892,
1745,
475,
29918,
1595,
8443,
13,
1678,
1962,
29918,
311,
2388,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29961,
29875,
29901,
29892,
29875,
29962,
353,
316,
2388,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29898,
29873,
7503,
2435,
29898,
29873,
6817,
29875,
1402,
1745,
475,
29918,
1595,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
8443,
13,
30004,
13,
2158,
29898,
4905,
29918,
311,
2388,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
2886,
278,
1629,
368,
953,
6847,
515,
26227,
491,
25202,
278,
12651,
1546,
3161,
297,
1051,
525,
311,
2388,
29918,
4260,
29918,
29903,
29896,
29915,
6756,
13,
29937,
29898,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29945,
29941,
29896,
29946,
29906,
29946,
29896,
29914,
29881,
17678,
29899,
14811,
29899,
535,
3471,
11067,
29899,
17664,
29899,
262,
29899,
1761,
8443,
13,
29937,
2045,
597,
2417,
29889,
510,
29914,
2619,
29914,
29896,
29896,
29900,
29929,
29945,
29947,
29929,
29906,
29914,
23749,
29899,
29881,
17678,
29899,
14811,
29899,
484,
1141,
4089,
292,
29899,
17664,
30004,
13,
30004,
13,
29937,
29881,
17678,
1546,
1543,
29892,
6756,
13,
1491,
29879,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
6817,
29896,
29892,
2435,
29898,
2176,
1839,
29907,
29918,
1745,
475,
29909,
7210,
13359,
5975,
29899,
29896,
4961,
30004,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
8000,
474,
529,
15886,
29901,
30004,
13,
1678,
11684,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29875,
29962,
353,
7442,
29889,
12765,
29898,
4905,
29918,
311,
2388,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29875,
2314,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
6756,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
2158,
29898,
2435,
29898,
1491,
29879,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
876,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
16076,
727,
338,
694,
22004,
25477,
515,
26227,
472,
278,
6763,
310,
278,
1629,
313,
9983,
29889,
515,
525,
6360,
29871,
29896,
29915,
373,
1328,
511,
6756,
13,
29937,
705,
505,
304,
5191,
278,
6374,
3694,
411,
29871,
29900,
1819,
313,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29941,
29953,
29941,
29896,
29900,
29947,
29929,
29955,
29914,
3525,
29899,
1867,
29899,
29875,
29899,
3167,
29899,
497,
29899,
22198,
29899,
20326,
29899,
517,
29899,
9171,
29899,
262,
29899,
4691,
29914,
29941,
29953,
29941,
29896,
29900,
29929,
29896,
29941,
8443,
13,
1491,
29879,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
11684,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29889,
24049,
29898,
3317,
29922,
29900,
8443,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
29937,
5675,
278,
2582,
408,
8380,
1819,
30004,
13,
1491,
29879,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
6425,
29898,
1491,
29879,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
8443,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
7851,
1948,
310,
24786,
964,
278,
937,
1948,
310,
278,
11684,
29918,
5344,
30004,
13,
9171,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
6817,
29906,
29900,
29900,
29892,
2435,
29898,
2176,
1839,
29907,
29918,
1745,
475,
29909,
7210,
13359,
5975,
4961,
30004,
13,
2158,
29898,
9171,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
8443,
13,
30004,
13,
1491,
29879,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
7442,
29889,
29894,
1429,
3552,
9171,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
11684,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
876,
30004,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
2083,
1432,
1897,
310,
278,
11684,
29918,
5344,
964,
697,
4608,
4636,
30004,
13,
5344,
29918,
4260,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
313,
13264,
29892,
29896,
8443,
13,
311,
2388,
29918,
4260,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
4260,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29897,
6756,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
8000,
474,
529,
15886,
29901,
30004,
13,
1678,
316,
2388,
29918,
4260,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
29962,
353,
316,
2388,
29918,
4260,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
29962,
718,
11684,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29875,
29962,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
30004,
13,
30004,
13,
2158,
29898,
311,
2388,
29918,
4260,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
2314,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
5317,
1259,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
29900,
29892,
13264,
8443,
13,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
311,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
1643,
2433,
10644,
29918,
29955,
29891,
1495,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
311,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
1643,
2433,
10644,
29918,
29896,
29947,
29891,
1495,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
311,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29892,
1643,
2433,
29911,
629,
29918,
29946,
29900,
29891,
1495,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
311,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
1643,
2433,
29911,
629,
29918,
29953,
29900,
29891,
1495,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
311,
2388,
29918,
4260,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
1643,
2433,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
1495,
30004,
13,
30004,
13,
572,
29873,
29889,
29916,
2576,
29898,
29900,
29892,
29906,
29900,
29900,
8443,
13,
30004,
13,
572,
29873,
29889,
26172,
29898,
29890,
1884,
29918,
517,
29918,
25367,
7607,
29896,
29889,
29900,
29946,
29892,
29896,
511,
1180,
543,
21064,
2175,
613,
3515,
265,
29922,
8824,
8443,
13,
30004,
13,
572,
29873,
29889,
4294,
26471,
13,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
29937,
14448,
313,
29946,
1125,
27747,
10961,
1904,
310,
297,
29899,
1509,
8112,
17279,
30004,
13,
30004,
13,
30004,
13,
3166,
7343,
29918,
17712,
29918,
4299,
1053,
27747,
20754,
384,
3195,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
2176,
29896,
29918,
10644,
29955,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
1495,
30004,
13,
2176,
29896,
29918,
10644,
29896,
29947,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
1495,
30004,
13,
2176,
29896,
29918,
29911,
629,
29946,
29900,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
1495,
30004,
13,
2176,
29896,
29918,
29911,
629,
29953,
29900,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
1495,
30004,
13,
2176,
29923,
29918,
29950,
1182,
29946,
29900,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
1495,
30004,
13,
30004,
13,
30004,
13,
29937,
4704,
25423,
30004,
13,
29937,
19773,
30004,
13,
29925,
353,
29871,
29946,
30004,
13,
30004,
13,
29937,
29888,
595,
17252,
30004,
13,
29943,
353,
29871,
29906,
29900,
30004,
13,
30004,
13,
29937,
25237,
17279,
30004,
13,
29933,
353,
29871,
29941,
29945,
30004,
13,
30004,
13,
30004,
13,
3057,
8452,
29924,
29896,
29918,
10644,
29955,
353,
27747,
20754,
384,
3195,
29898,
29873,
353,
4489,
29896,
29918,
10644,
29955,
1839,
12883,
13359,
5975,
29892,
474,
353,
4489,
29896,
29918,
10644,
29955,
1839,
4290,
29918,
13691,
13359,
5975,
29892,
301,
29873,
353,
11117,
1542,
2396,
525,
19077,
742,
525,
6816,
273,
2396,
7442,
29889,
2378,
4197,
29925,
11724,
525,
855,
29881,
16618,
2396,
7442,
29889,
2378,
4197,
29900,
29889,
29941,
29930,
29925,
2314,
1800,
30004,
13,
3057,
8452,
29924,
29896,
29918,
10644,
29896,
29947,
353,
27747,
20754,
384,
3195,
29898,
29873,
353,
4489,
29896,
29918,
10644,
29896,
29947,
1839,
12883,
13359,
5975,
29892,
474,
353,
4489,
29896,
29918,
10644,
29896,
29947,
1839,
4290,
29918,
13691,
13359,
5975,
29892,
301,
29873,
353,
11117,
1542,
2396,
525,
19077,
742,
525,
6816,
273,
2396,
7442,
29889,
2378,
4197,
29943,
11724,
525,
855,
29881,
16618,
2396,
7442,
29889,
2378,
4197,
29900,
29889,
29941,
29930,
29943,
2314,
1800,
30004,
13,
3057,
8452,
29924,
29896,
29918,
29911,
629,
29946,
29900,
353,
27747,
20754,
384,
3195,
29898,
29873,
353,
4489,
29896,
29918,
29911,
629,
29946,
29900,
1839,
12883,
13359,
5975,
29892,
474,
353,
4489,
29896,
29918,
29911,
629,
29946,
29900,
1839,
4290,
29918,
13691,
13359,
5975,
29892,
301,
29873,
353,
11117,
1542,
2396,
525,
19077,
742,
525,
6816,
273,
2396,
7442,
29889,
2378,
4197,
29933,
11724,
525,
855,
29881,
16618,
2396,
7442,
29889,
2378,
4197,
29900,
29889,
29941,
29930,
29933,
2314,
1800,
30004,
13,
3057,
8452,
29924,
29896,
29918,
29911,
629,
29953,
29900,
353,
27747,
20754,
384,
3195,
29898,
29873,
353,
4489,
29896,
29918,
29911,
629,
29953,
29900,
1839,
12883,
13359,
5975,
29892,
474,
353,
4489,
29896,
29918,
29911,
629,
29953,
29900,
1839,
4290,
29918,
13691,
13359,
5975,
29892,
301,
29873,
353,
11117,
1542,
2396,
525,
19077,
742,
525,
6816,
273,
2396,
7442,
29889,
2378,
4197,
29933,
11724,
525,
855,
29881,
16618,
2396,
7442,
29889,
2378,
4197,
29900,
29889,
29941,
29930,
29933,
2314,
1800,
30004,
13,
3057,
8452,
2303,
29918,
29950,
1182,
29946,
29900,
353,
27747,
20754,
384,
3195,
29898,
29873,
353,
4489,
29923,
29918,
29950,
1182,
29946,
29900,
1839,
12883,
13359,
5975,
29892,
474,
353,
4489,
29923,
29918,
29950,
1182,
29946,
29900,
1839,
4290,
29918,
13691,
13359,
5975,
29892,
301,
29873,
353,
11117,
1542,
2396,
525,
19077,
742,
525,
6816,
273,
2396,
7442,
29889,
2378,
4197,
29933,
11724,
525,
855,
29881,
16618,
2396,
7442,
29889,
2378,
4197,
29900,
29889,
29941,
29930,
29933,
2314,
1800,
30004,
13,
30004,
13,
30004,
13,
5596,
5015,
29896,
29918,
10644,
29955,
29892,
25954,
21979,
29896,
29918,
10644,
29955,
353,
4321,
8452,
29924,
29896,
29918,
10644,
29955,
29889,
6229,
2673,
29918,
3198,
26471,
13,
5596,
5015,
29896,
29918,
10644,
29896,
29947,
29892,
25954,
21979,
29896,
29918,
10644,
29896,
29947,
353,
4321,
8452,
29924,
29896,
29918,
10644,
29896,
29947,
29889,
6229,
2673,
29918,
3198,
26471,
13,
5596,
5015,
29896,
29918,
29911,
629,
29946,
29900,
29892,
25954,
21979,
29896,
29918,
29911,
629,
29946,
29900,
353,
4321,
8452,
29924,
29896,
29918,
29911,
629,
29946,
29900,
29889,
6229,
2673,
29918,
3198,
26471,
13,
5596,
5015,
29896,
29918,
29911,
629,
29953,
29900,
29892,
25954,
21979,
29896,
29918,
29911,
629,
29953,
29900,
353,
4321,
8452,
29924,
29896,
29918,
29911,
629,
29953,
29900,
29889,
6229,
2673,
29918,
3198,
26471,
13,
5596,
5015,
29923,
29918,
29950,
1182,
29946,
29900,
29892,
25954,
21979,
29923,
29918,
29950,
1182,
29946,
29900,
353,
4321,
8452,
2303,
29918,
29950,
1182,
29946,
29900,
29889,
6229,
2673,
29918,
3198,
26471,
13,
30004,
13,
30004,
13,
20754,
384,
29918,
1609,
29918,
1111,
29882,
441,
29896,
29918,
10644,
29955,
29892,
25954,
21979,
29896,
29918,
10644,
29955,
353,
4321,
8452,
29924,
29896,
29918,
10644,
29955,
29889,
26017,
29918,
29879,
29918,
29883,
29918,
262,
1731,
29918,
24477,
854,
26471,
13,
20754,
384,
29918,
1609,
29918,
1111,
29882,
441,
29896,
29918,
10644,
29896,
29947,
29892,
25954,
21979,
29896,
29918,
10644,
29896,
29947,
353,
4321,
8452,
29924,
29896,
29918,
10644,
29896,
29947,
29889,
26017,
29918,
29879,
29918,
29883,
29918,
262,
1731,
29918,
24477,
854,
26471,
13,
20754,
384,
29918,
1609,
29918,
1111,
29882,
441,
29896,
29918,
29911,
629,
29946,
29900,
29892,
25954,
21979,
29896,
29918,
29911,
629,
29946,
29900,
353,
4321,
8452,
29924,
29896,
29918,
29911,
629,
29946,
29900,
29889,
26017,
29918,
29879,
29918,
29883,
29918,
262,
1731,
29918,
24477,
854,
26471,
13,
20754,
384,
29918,
1609,
29918,
1111,
29882,
441,
29896,
29918,
29911,
629,
29953,
29900,
29892,
25954,
21979,
29896,
29918,
29911,
629,
29953,
29900,
353,
4321,
8452,
29924,
29896,
29918,
29911,
629,
29953,
29900,
29889,
26017,
29918,
29879,
29918,
29883,
29918,
262,
1731,
29918,
24477,
854,
26471,
13,
20754,
384,
29918,
1609,
29918,
1111,
29882,
441,
29923,
29918,
29950,
1182,
29946,
29900,
29892,
25954,
21979,
29923,
29918,
29950,
1182,
29946,
29900,
353,
4321,
8452,
2303,
29918,
29950,
1182,
29946,
29900,
29889,
26017,
29918,
29879,
29918,
29883,
29918,
262,
1731,
29918,
24477,
854,
26471,
13,
30004,
13,
30004,
13,
30004,
13,
29903,
29896,
29918,
10644,
29955,
29892,
25954,
21979,
29896,
29918,
10644,
29955,
259,
353,
4321,
8452,
29924,
29896,
29918,
10644,
29955,
29889,
26017,
29918,
17712,
29918,
7827,
26471,
13,
29903,
29896,
29918,
10644,
29896,
29947,
29892,
25954,
21979,
29896,
29918,
10644,
29896,
29947,
259,
353,
4321,
8452,
29924,
29896,
29918,
10644,
29896,
29947,
29889,
26017,
29918,
17712,
29918,
7827,
26471,
13,
29903,
29896,
29918,
29911,
629,
29946,
29900,
29892,
25954,
21979,
29896,
29918,
29911,
629,
29946,
29900,
259,
353,
4321,
8452,
29924,
29896,
29918,
29911,
629,
29946,
29900,
29889,
26017,
29918,
17712,
29918,
7827,
26471,
13,
29903,
29896,
29918,
29911,
629,
29953,
29900,
29892,
25954,
21979,
29896,
29918,
29911,
629,
29953,
29900,
259,
353,
4321,
8452,
29924,
29896,
29918,
29911,
629,
29953,
29900,
29889,
26017,
29918,
17712,
29918,
7827,
26471,
13,
1660,
29918,
29950,
1182,
29946,
29900,
29892,
25954,
21979,
29923,
29918,
29950,
1182,
29946,
29900,
259,
353,
4321,
8452,
2303,
29918,
29950,
1182,
29946,
29900,
29889,
26017,
29918,
17712,
29918,
7827,
26471,
13,
30004,
13,
30004,
13,
29949,
29918,
29907,
29896,
29918,
10644,
29955,
29892,
25954,
21979,
29896,
29918,
10644,
29955,
353,
4321,
8452,
29924,
29896,
29918,
10644,
29955,
29889,
26017,
29918,
29877,
29918,
29883,
29918,
3166,
29918,
29879,
29918,
29883,
26471,
13,
29949,
29918,
29907,
29896,
29918,
10644,
29896,
29947,
29892,
25954,
21979,
29896,
29918,
10644,
29896,
29947,
353,
4321,
8452,
29924,
29896,
29918,
10644,
29896,
29947,
29889,
26017,
29918,
29877,
29918,
29883,
29918,
3166,
29918,
29879,
29918,
29883,
26471,
13,
29949,
29918,
29907,
29896,
29918,
29911,
629,
29946,
29900,
29892,
25954,
21979,
29896,
29918,
29911,
629,
29946,
29900,
353,
4321,
8452,
29924,
29896,
29918,
29911,
629,
29946,
29900,
29889,
26017,
29918,
29877,
29918,
29883,
29918,
3166,
29918,
29879,
29918,
29883,
26471,
13,
29949,
29918,
29907,
29896,
29918,
29911,
629,
29953,
29900,
29892,
25954,
21979,
29896,
29918,
29911,
629,
29953,
29900,
353,
4321,
8452,
29924,
29896,
29918,
29911,
629,
29953,
29900,
29889,
26017,
29918,
29877,
29918,
29883,
29918,
3166,
29918,
29879,
29918,
29883,
26471,
13,
29949,
29918,
4741,
29918,
29950,
1182,
29946,
29900,
29892,
25954,
21979,
29923,
29918,
29950,
1182,
29946,
29900,
353,
4321,
8452,
2303,
29918,
29950,
1182,
29946,
29900,
29889,
26017,
29918,
29877,
29918,
29883,
29918,
3166,
29918,
29879,
29918,
29883,
26471,
13,
30004,
13,
30004,
13,
30004,
13,
29949,
29896,
29918,
10644,
29955,
29892,
25954,
21979,
29896,
29918,
10644,
29955,
259,
353,
4321,
8452,
29924,
29896,
29918,
10644,
29955,
29889,
26017,
29918,
449,
1731,
29918,
7827,
26471,
13,
29949,
29896,
29918,
10644,
29896,
29947,
29892,
25954,
21979,
29896,
29918,
10644,
29896,
29947,
259,
353,
4321,
8452,
29924,
29896,
29918,
10644,
29896,
29947,
29889,
26017,
29918,
449,
1731,
29918,
7827,
26471,
13,
29949,
29896,
29918,
29911,
629,
29946,
29900,
29892,
25954,
21979,
29896,
29918,
29911,
629,
29946,
29900,
259,
353,
4321,
8452,
29924,
29896,
29918,
29911,
629,
29946,
29900,
29889,
26017,
29918,
449,
1731,
29918,
7827,
26471,
13,
29949,
29896,
29918,
29911,
629,
29953,
29900,
29892,
25954,
21979,
29896,
29918,
29911,
629,
29953,
29900,
259,
353,
4321,
8452,
29924,
29896,
29918,
29911,
629,
29953,
29900,
29889,
26017,
29918,
449,
1731,
29918,
7827,
26471,
13,
29949,
29923,
29918,
29950,
1182,
29946,
29900,
29892,
25954,
21979,
29923,
29918,
29950,
1182,
29946,
29900,
259,
353,
4321,
8452,
2303,
29918,
29950,
1182,
29946,
29900,
29889,
26017,
29918,
449,
1731,
29918,
7827,
26471,
13,
30004,
13,
30004,
13,
30004,
13,
8452,
29896,
29918,
10644,
29955,
29892,
25954,
21979,
29896,
29918,
10644,
29955,
29871,
353,
4321,
8452,
29924,
29896,
29918,
10644,
29955,
29889,
26017,
29918,
17712,
29918,
3167,
26471,
13,
8452,
29896,
29918,
10644,
29896,
29947,
29892,
25954,
21979,
29896,
29918,
10644,
29896,
29947,
29871,
353,
4321,
8452,
29924,
29896,
29918,
10644,
29896,
29947,
29889,
26017,
29918,
17712,
29918,
3167,
26471,
13,
8452,
29896,
29918,
29911,
629,
29946,
29900,
29892,
25954,
21979,
29896,
29918,
29911,
629,
29946,
29900,
29871,
353,
4321,
8452,
29924,
29896,
29918,
29911,
629,
29946,
29900,
29889,
26017,
29918,
17712,
29918,
3167,
26471,
13,
8452,
29896,
29918,
29911,
629,
29953,
29900,
29892,
25954,
21979,
29896,
29918,
29911,
629,
29953,
29900,
29871,
353,
4321,
8452,
29924,
29896,
29918,
29911,
629,
29953,
29900,
29889,
26017,
29918,
17712,
29918,
3167,
26471,
13,
29928,
1660,
29918,
29950,
1182,
29946,
29900,
29892,
25954,
21979,
29923,
29918,
29950,
1182,
29946,
29900,
29871,
353,
4321,
8452,
2303,
29918,
29950,
1182,
29946,
29900,
29889,
26017,
29918,
17712,
29918,
3167,
26471,
13,
30004,
13,
30004,
13,
30004,
13,
22031,
29896,
29918,
10644,
29955,
29892,
25954,
21979,
29896,
29918,
10644,
29955,
353,
4321,
8452,
29924,
29896,
29918,
10644,
29955,
29889,
3198,
29918,
17712,
29918,
5521,
749,
26471,
13,
22031,
29896,
29918,
10644,
29896,
29947,
29892,
25954,
21979,
29896,
29918,
10644,
29896,
29947,
353,
4321,
8452,
29924,
29896,
29918,
10644,
29896,
29947,
29889,
3198,
29918,
17712,
29918,
5521,
749,
26471,
13,
22031,
29896,
29918,
29911,
629,
29946,
29900,
29892,
25954,
21979,
29896,
29918,
29911,
629,
29946,
29900,
353,
4321,
8452,
29924,
29896,
29918,
29911,
629,
29946,
29900,
29889,
3198,
29918,
17712,
29918,
5521,
749,
26471,
13,
22031,
29896,
29918,
29911,
629,
29953,
29900,
29892,
25954,
21979,
29896,
29918,
29911,
629,
29953,
29900,
353,
4321,
8452,
29924,
29896,
29918,
29911,
629,
29953,
29900,
29889,
3198,
29918,
17712,
29918,
5521,
749,
26471,
13,
22031,
29923,
29918,
29950,
1182,
29946,
29900,
29892,
25954,
21979,
29923,
29918,
29950,
1182,
29946,
29900,
353,
4321,
8452,
2303,
29918,
29950,
1182,
29946,
29900,
29889,
3198,
29918,
17712,
29918,
5521,
749,
26471,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
2158,
1962,
4972,
30004,
13,
2158,
29898,
3057,
8452,
29924,
29896,
29918,
10644,
29955,
29889,
29877,
8443,
13,
2158,
29898,
3057,
8452,
29924,
29896,
29918,
10644,
29896,
29947,
29889,
29877,
8443,
13,
2158,
29898,
3057,
8452,
29924,
29896,
29918,
29911,
629,
29946,
29900,
29889,
29877,
8443,
13,
2158,
29898,
3057,
8452,
29924,
29896,
29918,
29911,
629,
29953,
29900,
29889,
29877,
8443,
13,
2158,
29898,
3057,
8452,
2303,
29918,
29950,
1182,
29946,
29900,
29889,
29877,
8443,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
29937,
14448,
313,
29945,
1125,
3457,
290,
465,
14321,
30004,
13,
30004,
13,
30004,
13,
2277,
697,
29899,
6360,
17261,
1546,
13733,
11412,
30004,
13,
30004,
13,
29937,
529,
5813,
29958,
313,
4435,
29901,
530,
389,
29874,
634,
394,
1696,
29871,
29906,
29900,
29896,
29945,
29936,
2087,
381,
26058,
29892,
29871,
29906,
29900,
29900,
29929,
467,
5920,
29901,
7255,
30004,
13,
30004,
13,
13264,
29918,
10644,
29918,
29955,
29891,
353,
29871,
29947,
30004,
13,
13264,
29918,
10644,
29918,
29896,
29947,
29891,
353,
29871,
29896,
29929,
30004,
13,
30004,
13,
29909,
29896,
353,
3464,
29898,
29896,
29892,
13264,
29918,
10644,
29918,
29955,
29891,
29892,
29896,
8443,
13,
29909,
29906,
353,
3464,
29898,
29896,
29892,
13264,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
29896,
8443,
13,
30004,
13,
29937,
15807,
403,
278,
4768,
290,
465,
322,
22004,
2793,
310,
319,
29889,
2181,
465,
293,
279,
3274,
975,
931,
313,
29955,
29891,
8443,
13,
1753,
612,
29918,
10644,
29918,
29955,
29891,
29898,
29909,
29896,
1125,
30004,
13,
1678,
736,
29871,
29946,
29946,
29914,
29896,
29906,
29930,
29896,
29900,
29900,
29900,
29930,
9302,
29889,
4548,
29898,
29946,
29889,
29945,
29900,
29941,
17722,
29906,
29889,
29945,
29945,
29929,
29914,
29909,
29896,
876,
6756,
13,
30004,
13,
30004,
13,
4905,
29918,
29979,
29918,
10644,
29918,
29955,
29891,
353,
7442,
29889,
2378,
4197,
29979,
29918,
10644,
29918,
29955,
29891,
29898,
29909,
29896,
29875,
29897,
363,
319,
29896,
29875,
297,
319,
29896,
2314,
30004,
13,
30004,
13,
30004,
13,
2158,
29898,
4905,
29918,
29979,
29918,
10644,
29918,
29955,
29891,
8443,
13,
30004,
13,
29937,
7851,
29871,
29900,
995,
304,
278,
937,
1543,
310,
278,
1962,
1121,
30004,
13,
4905,
29918,
29979,
29918,
10644,
29918,
29955,
29891,
353,
7442,
29889,
7851,
29898,
4905,
29918,
29979,
29918,
10644,
29918,
29955,
29891,
29892,
29900,
29892,
29900,
8443,
13,
30004,
13,
2158,
29898,
4905,
29918,
29979,
29918,
10644,
29918,
29955,
29891,
8443,
13,
30004,
13,
30004,
13,
29937,
15807,
403,
278,
4768,
290,
465,
322,
22004,
2793,
310,
319,
29889,
2181,
465,
293,
279,
3274,
975,
931,
313,
29896,
29947,
29891,
8443,
13,
1753,
612,
29918,
10644,
29918,
29896,
29947,
29891,
29898,
29909,
29906,
1125,
30004,
13,
1678,
736,
29871,
29946,
29946,
29914,
29896,
29906,
29930,
29896,
29900,
29900,
29900,
29930,
9302,
29889,
4548,
29898,
29946,
29889,
29945,
29900,
29941,
17722,
29906,
29889,
29945,
29945,
29929,
29914,
29909,
29906,
876,
6756,
13,
30004,
13,
4905,
29918,
29979,
29918,
10644,
29918,
29896,
29947,
29891,
353,
7442,
29889,
2378,
4197,
29979,
29918,
10644,
29918,
29896,
29947,
29891,
29898,
29909,
29906,
29875,
29897,
363,
319,
29906,
29875,
297,
319,
29906,
2314,
30004,
13,
30004,
13,
2158,
29898,
4905,
29918,
29979,
29918,
10644,
29918,
29896,
29947,
29891,
8443,
13,
30004,
13,
29937,
7851,
29871,
29900,
995,
304,
278,
937,
1543,
310,
278,
1962,
1121,
30004,
13,
4905,
29918,
29979,
29918,
10644,
29918,
29896,
29947,
29891,
353,
7442,
29889,
7851,
29898,
4905,
29918,
29979,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
29900,
29892,
29900,
8443,
13,
30004,
13,
2158,
29898,
4905,
29918,
29979,
29918,
10644,
29918,
29896,
29947,
29891,
8443,
13,
30004,
13,
30004,
13,
2277,
29906,
29953,
3064,
29871,
29947,
29899,
6360,
11412,
20532,
29896,
1629,
17261,
1156,
278,
383,
29925,
4023,
10147,
29897,
974,
716,
319,
7210,
310,
319,
29889,
2181,
465,
293,
279,
3274,
313,
29955,
29891,
511,
5225,
1629,
17261,
1546,
278,
11412,
30004,
13,
11808,
29918,
29955,
29891,
353,
3464,
29898,
29900,
29892,
29906,
29953,
29892,
29896,
8443,
13,
30004,
13,
29891,
29918,
10644,
29918,
29955,
29891,
353,
5159,
30004,
13,
30004,
13,
1454,
474,
297,
6795,
29918,
29955,
29891,
29901,
30004,
13,
1678,
343,
29918,
10644,
29918,
29955,
29891,
29889,
4397,
29898,
4905,
29918,
29979,
29918,
10644,
29918,
29955,
29891,
8443,
13,
30004,
13,
30004,
13,
1678,
6756,
13,
20620,
29918,
1761,
29918,
10644,
29918,
29955,
29891,
353,
5159,
30004,
13,
1454,
1014,
1761,
297,
343,
29918,
10644,
29918,
29955,
29891,
29901,
30004,
13,
1678,
363,
2944,
297,
1014,
1761,
29901,
30004,
13,
4706,
12151,
29918,
1761,
29918,
10644,
29918,
29955,
29891,
29889,
4397,
29898,
667,
8443,
13,
30004,
13,
29937,
1552,
3309,
310,
278,
1051,
338,
1286,
29871,
29906,
29900,
29947,
29892,
577,
591,
3349,
278,
1833,
29871,
29955,
3161,
310,
278,
1051,
304,
1207,
278,
7431,
29922,
13264,
30004,
13,
20620,
29918,
1761,
29918,
10644,
29918,
29955,
29891,
353,
12151,
29918,
1761,
29918,
10644,
29918,
29955,
29891,
7503,
2435,
29898,
20620,
29918,
1761,
29918,
10644,
29918,
29955,
29891,
6817,
29955,
29962,
30004,
13,
30004,
13,
2158,
29898,
2435,
29898,
20620,
29918,
1761,
29918,
10644,
29918,
29955,
29891,
876,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
2277,
29896,
29896,
3064,
29871,
29896,
29929,
29899,
6360,
11412,
20532,
29896,
1629,
17261,
1156,
278,
383,
29925,
4023,
10147,
29897,
310,
716,
319,
7210,
310,
319,
29889,
2181,
465,
293,
279,
3274,
313,
29896,
29947,
29891,
511,
5225,
1629,
17261,
1546,
278,
11412,
30004,
13,
11808,
29918,
29896,
29947,
29891,
353,
3464,
29898,
29900,
29892,
29896,
29896,
29892,
29896,
8443,
13,
30004,
13,
29891,
29918,
10644,
29918,
29896,
29947,
29891,
353,
5159,
30004,
13,
30004,
13,
1454,
474,
297,
6795,
29918,
29896,
29947,
29891,
29901,
30004,
13,
1678,
343,
29918,
10644,
29918,
29896,
29947,
29891,
29889,
4397,
29898,
4905,
29918,
29979,
29918,
10644,
29918,
29896,
29947,
29891,
8443,
13,
1678,
6756,
13,
20620,
29918,
1761,
29918,
10644,
29918,
29896,
29947,
29891,
353,
5159,
30004,
13,
1454,
1014,
1761,
297,
343,
29918,
10644,
29918,
29896,
29947,
29891,
29901,
30004,
13,
1678,
363,
2944,
297,
1014,
1761,
29901,
30004,
13,
4706,
12151,
29918,
1761,
29918,
10644,
29918,
29896,
29947,
29891,
29889,
4397,
29898,
667,
8443,
13,
30004,
13,
4706,
6756,
13,
4706,
6756,
13,
29937,
1552,
3309,
310,
278,
1051,
338,
1286,
29871,
29906,
29900,
29929,
29892,
577,
591,
3349,
278,
1833,
29871,
29947,
3161,
310,
278,
1051,
304,
1207,
278,
7431,
29922,
13264,
30004,
13,
20620,
29918,
1761,
29918,
10644,
29918,
29896,
29947,
29891,
353,
12151,
29918,
1761,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
2435,
29898,
20620,
29918,
1761,
29918,
10644,
29918,
29896,
29947,
29891,
6817,
29947,
29962,
30004,
13,
30004,
13,
29871,
6756,
13,
30004,
13,
4136,
29937,
5596,
278,
12151,
1051,
3309,
363,
379,
1182,
30004,
13,
30004,
13,
30004,
13,
2277,
323,
29889,
4595,
275,
313,
4435,
29901,
530,
389,
29874,
634,
394,
1696,
29871,
29906,
29900,
29896,
29945,
29936,
2087,
381,
26058,
29892,
29871,
29906,
29900,
29900,
29929,
467,
5920,
29901,
323,
629,
30004,
13,
13264,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
29871,
29946,
29896,
30004,
13,
13264,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
29871,
29953,
29896,
30004,
13,
30004,
13,
29911,
29896,
353,
3464,
29898,
29900,
29892,
13264,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29892,
29896,
8443,
13,
29911,
29906,
353,
3464,
29898,
29900,
29892,
13264,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
29896,
8443,
13,
30004,
13,
30004,
13,
29937,
15807,
403,
278,
4768,
290,
465,
322,
22004,
2793,
310,
323,
29889,
4595,
275,
975,
931,
313,
29946,
29900,
29891,
8443,
13,
1753,
612,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29898,
29911,
29896,
1125,
30004,
13,
1678,
736,
29871,
29946,
29946,
29914,
29896,
29906,
29930,
29896,
29900,
29900,
29900,
29930,
29906,
29889,
29896,
29896,
29946,
16395,
29911,
29896,
1068,
29900,
29889,
29929,
29946,
29896,
8443,
13,
30004,
13,
30004,
13,
4905,
29918,
29979,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
7442,
29889,
2378,
4197,
29979,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29898,
29911,
29896,
29875,
29897,
363,
323,
29896,
29875,
297,
323,
29896,
2314,
30004,
13,
30004,
13,
2158,
29898,
4905,
29918,
29979,
29918,
29911,
629,
29918,
29946,
29900,
29891,
8443,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
15807,
403,
278,
4768,
290,
465,
322,
22004,
2793,
310,
323,
29889,
4595,
275,
975,
931,
313,
29953,
29900,
29891,
8443,
13,
1753,
612,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29898,
29911,
29906,
1125,
30004,
13,
1678,
736,
29871,
29946,
29946,
29914,
29896,
29906,
29930,
29896,
29900,
29900,
29900,
29930,
29906,
29889,
29896,
29896,
29946,
16395,
29911,
29906,
1068,
29900,
29889,
29929,
29946,
29896,
8443,
13,
30004,
13,
4905,
29918,
29979,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
7442,
29889,
2378,
4197,
29979,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29898,
29911,
29906,
29875,
29897,
363,
323,
29906,
29875,
297,
323,
29906,
2314,
30004,
13,
30004,
13,
2158,
29898,
4905,
29918,
29979,
29918,
29911,
629,
29918,
29953,
29900,
29891,
8443,
13,
30004,
13,
30004,
13,
2277,
29945,
3064,
29871,
29946,
29896,
29899,
6360,
11412,
310,
716,
319,
7210,
310,
323,
29889,
4595,
275,
313,
29946,
29900,
29891,
511,
5225,
1629,
17261,
1546,
278,
11412,
30004,
13,
11808,
29918,
29946,
29900,
29891,
353,
3464,
29898,
29900,
29892,
29945,
29892,
29896,
8443,
13,
30004,
13,
29891,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
5159,
30004,
13,
30004,
13,
1454,
474,
297,
6795,
29918,
29946,
29900,
29891,
29901,
30004,
13,
1678,
343,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29889,
4397,
29898,
4905,
29918,
29979,
29918,
29911,
629,
29918,
29946,
29900,
29891,
8443,
13,
30004,
13,
30004,
13,
1678,
6756,
13,
20620,
29918,
1761,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
5159,
30004,
13,
1454,
1014,
1761,
297,
343,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29901,
30004,
13,
1678,
363,
2944,
297,
1014,
1761,
29901,
30004,
13,
4706,
12151,
29918,
1761,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29889,
4397,
29898,
667,
8443,
13,
30004,
13,
29937,
1552,
3309,
310,
278,
1051,
338,
1286,
29871,
29906,
29900,
29945,
29892,
577,
591,
3349,
278,
1833,
29871,
29946,
3161,
310,
278,
1051,
304,
1207,
278,
7431,
29922,
13264,
30004,
13,
20620,
29918,
1761,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
12151,
29918,
1761,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
2435,
29898,
20620,
29918,
1761,
29918,
29911,
629,
29918,
29946,
29900,
29891,
6817,
29946,
29962,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
2277,
29946,
3064,
29871,
29953,
29900,
29899,
6360,
11412,
310,
716,
319,
7210,
310,
323,
29889,
4595,
275,
313,
29953,
29900,
29891,
511,
5225,
1629,
17261,
1546,
278,
11412,
30004,
13,
11808,
29918,
29953,
29900,
29891,
353,
3464,
29898,
29900,
29892,
29946,
29892,
29896,
8443,
13,
30004,
13,
29891,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
5159,
30004,
13,
30004,
13,
1454,
474,
297,
6795,
29918,
29953,
29900,
29891,
29901,
30004,
13,
1678,
343,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29889,
4397,
29898,
4905,
29918,
29979,
29918,
29911,
629,
29918,
29953,
29900,
29891,
8443,
13,
30004,
13,
30004,
13,
1678,
6756,
13,
20620,
29918,
1761,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
5159,
30004,
13,
1454,
1014,
1761,
297,
343,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29901,
30004,
13,
1678,
363,
2944,
297,
1014,
1761,
29901,
30004,
13,
4706,
12151,
29918,
1761,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29889,
4397,
29898,
667,
8443,
13,
30004,
13,
29937,
1552,
3309,
310,
278,
1051,
338,
1286,
29871,
29906,
29946,
29946,
29892,
577,
591,
3349,
278,
1833,
29871,
29946,
29941,
3161,
310,
278,
1051,
304,
1207,
278,
7431,
29922,
13264,
30004,
13,
20620,
29918,
1761,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
12151,
29918,
1761,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
2435,
29898,
20620,
29918,
1761,
29918,
29911,
629,
29918,
29953,
29900,
29891,
6817,
29946,
29941,
29962,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
2277,
379,
29889,
13137,
2638,
6322,
313,
4435,
29901,
28384,
634,
394,
1696,
29871,
29906,
29900,
29896,
29947,
467,
5920,
29901,
379,
1182,
30004,
13,
30004,
13,
13264,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
29871,
29946,
29896,
30004,
13,
30004,
13,
29950,
29896,
353,
3464,
29898,
29900,
29892,
13264,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
29896,
8443,
13,
30004,
13,
30004,
13,
29937,
15807,
403,
278,
4768,
290,
465,
322,
22004,
2793,
310,
379,
29889,
13137,
2638,
6322,
975,
931,
313,
29946,
29900,
29891,
8443,
13,
1753,
612,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29898,
29950,
29896,
1125,
30004,
13,
1678,
736,
29871,
29946,
29946,
29914,
29896,
29906,
29930,
29896,
29900,
29900,
29900,
29930,
29896,
29889,
29945,
29945,
29930,
29950,
29896,
30004,
13,
30004,
13,
30004,
13,
4905,
29918,
29979,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
7442,
29889,
2378,
4197,
29979,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29898,
29950,
29896,
29875,
29897,
363,
379,
29896,
29875,
297,
379,
29896,
2314,
30004,
13,
30004,
13,
2158,
29898,
4905,
29918,
29979,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
8443,
13,
30004,
13,
30004,
13,
2277,
29945,
3064,
29871,
29946,
29900,
29899,
6360,
11412,
310,
716,
319,
7210,
310,
379,
29889,
13137,
2638,
6322,
313,
29946,
29900,
29891,
511,
5225,
1629,
17261,
1546,
278,
11412,
30004,
13,
11808,
29918,
29946,
29900,
29891,
353,
3464,
29898,
29900,
29892,
29945,
29892,
29896,
8443,
13,
30004,
13,
29891,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
5159,
30004,
13,
30004,
13,
1454,
474,
297,
6795,
29918,
29946,
29900,
29891,
29901,
30004,
13,
1678,
343,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29889,
4397,
29898,
4905,
29918,
29979,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
8443,
13,
30004,
13,
30004,
13,
1678,
6756,
13,
20620,
29918,
1761,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
5159,
30004,
13,
1454,
1014,
1761,
297,
343,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29901,
30004,
13,
1678,
363,
2944,
297,
1014,
1761,
29901,
30004,
13,
4706,
12151,
29918,
1761,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29889,
4397,
29898,
667,
8443,
13,
30004,
13,
29937,
1552,
3309,
310,
278,
1051,
338,
1286,
29871,
29906,
29900,
29945,
29892,
577,
591,
3349,
278,
1833,
29871,
29946,
3161,
310,
278,
1051,
304,
1207,
278,
7431,
29922,
13264,
30004,
13,
20620,
29918,
1761,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
12151,
29918,
1761,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
2435,
29898,
20620,
29918,
1761,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
6817,
29946,
29962,
30004,
13,
30004,
13,
30004,
13,
29937,
5317,
1259,
30004,
13,
29873,
353,
3464,
313,
29900,
29892,
13264,
29892,
29896,
8443,
13,
30004,
13,
30004,
13,
572,
29873,
29889,
29916,
2576,
4197,
29900,
29892,
29871,
29906,
29900,
29900,
2314,
30004,
13,
30004,
13,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
12151,
29918,
1761,
29918,
10644,
29918,
29955,
29891,
29892,
2927,
2433,
4366,
2616,
284,
1495,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
12151,
29918,
1761,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
2927,
2433,
311,
29872,
407,
682,
1495,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
12151,
29918,
1761,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
2927,
2433,
26031,
29894,
601,
1026,
1495,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
12151,
29918,
1761,
29918,
29911,
629,
29918,
29946,
29900,
29891,
8443,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
12151,
29918,
1761,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
2927,
2433,
344,
351,
2733,
1495,
30004,
13,
30004,
13,
29937,
572,
29873,
29889,
5589,
29918,
14811,
29898,
29873,
29892,
12151,
29918,
1761,
29918,
29876,
1682,
280,
375,
29892,
12151,
29918,
1761,
29918,
572,
25392,
29892,
2927,
2433,
26031,
344,
351,
2733,
742,
15595,
2433,
29900,
29889,
29946,
1495,
30004,
13,
30004,
13,
30004,
13,
572,
29873,
29889,
29916,
1643,
877,
2481,
313,
6360,
29897,
1495,
30004,
13,
572,
29873,
29889,
29891,
1643,
877,
29909,
7210,
313,
29873,
29907,
29914,
2350,
29897,
1495,
30004,
13,
30004,
13,
572,
29873,
29889,
4294,
26471,
13,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
2277,
12883,
368,
409,
1119,
29878,
362,
30004,
13,
30004,
13,
2277,
529,
5813,
29958,
313,
29955,
29891,
8443,
13,
29937,
2886,
278,
1629,
368,
409,
1119,
29878,
362,
491,
25202,
278,
12651,
1546,
3161,
297,
1051,
525,
20620,
29918,
1761,
29918,
10644,
29918,
29955,
29891,
29898,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29945,
29941,
29896,
29946,
29906,
29946,
29896,
29914,
29881,
17678,
29899,
14811,
29899,
535,
3471,
11067,
29899,
17664,
29899,
262,
29899,
1761,
8443,
13,
20620,
29918,
1761,
29918,
10644,
29918,
29955,
29891,
353,
518,
29886,
448,
3855,
363,
3855,
29892,
282,
297,
14319,
29898,
20620,
29918,
1761,
29918,
10644,
29918,
29955,
29891,
29892,
12151,
29918,
1761,
29918,
10644,
29918,
29955,
29891,
29961,
29896,
29901,
2314,
29962,
30004,
13,
30004,
13,
30004,
13,
29937,
16076,
727,
338,
694,
409,
1119,
29878,
362,
1546,
278,
337,
24389,
292,
1629,
313,
29872,
29889,
29887,
1696,
1629,
29871,
29955,
304,
29871,
29947,
511,
591,
505,
304,
5191,
8178,
3694,
297,
525,
20620,
29918,
1761,
29918,
10644,
29918,
29955,
29891,
29915,
411,
29871,
29900,
1819,
30004,
13,
20620,
29918,
1761,
29918,
10644,
29918,
29955,
29891,
353,
518,
29900,
565,
474,
529,
29871,
29900,
1683,
474,
363,
474,
297,
12151,
29918,
1761,
29918,
10644,
29918,
29955,
29891,
29962,
30004,
13,
30004,
13,
30004,
13,
29937,
7851,
29871,
29900,
995,
304,
278,
1051,
408,
278,
937,
1543,
29892,
1363,
727,
338,
694,
409,
1119,
29878,
362,
297,
1629,
29871,
29900,
6756,
13,
1707,
353,
29871,
29900,
6756,
13,
20620,
29918,
1761,
29918,
10644,
29918,
29955,
29891,
29889,
7851,
29898,
29900,
29892,
1707,
8443,
13,
30004,
13,
30004,
13,
29937,
5675,
525,
20620,
29918,
1761,
29918,
10644,
29918,
29955,
29891,
29915,
3161,
8178,
3694,
304,
13530,
409,
1119,
29878,
362,
30004,
13,
20620,
29918,
1761,
29918,
10644,
29918,
29955,
29891,
353,
518,
448,
29916,
363,
921,
297,
12151,
29918,
1761,
29918,
10644,
29918,
29955,
29891,
29962,
30004,
13,
30004,
13,
2158,
29898,
20620,
29918,
1761,
29918,
10644,
29918,
29955,
29891,
8443,
13,
30004,
13,
30004,
13,
2277,
29966,
5813,
29958,
313,
29896,
29947,
29891,
8443,
13,
29937,
2886,
278,
1629,
368,
409,
1119,
29878,
362,
491,
25202,
278,
12651,
1546,
3161,
297,
1051,
525,
20620,
29918,
1761,
29918,
10644,
29918,
29896,
29947,
29891,
29898,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29945,
29941,
29896,
29946,
29906,
29946,
29896,
29914,
29881,
17678,
29899,
14811,
29899,
535,
3471,
11067,
29899,
17664,
29899,
262,
29899,
1761,
8443,
13,
20620,
29918,
1761,
29918,
10644,
29918,
29896,
29947,
29891,
353,
518,
29873,
448,
318,
363,
318,
29892,
260,
297,
14319,
29898,
20620,
29918,
1761,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
12151,
29918,
1761,
29918,
10644,
29918,
29896,
29947,
29891,
29961,
29896,
29901,
2314,
29962,
30004,
13,
30004,
13,
29937,
16076,
727,
338,
694,
409,
1119,
29878,
362,
1546,
278,
337,
24389,
292,
1629,
313,
29872,
29889,
29887,
1696,
1629,
29871,
29906,
29945,
304,
29871,
29906,
29953,
511,
591,
505,
304,
5191,
8178,
3694,
297,
525,
20620,
29918,
1761,
29918,
10644,
29918,
29896,
29947,
29891,
29915,
411,
29871,
29900,
1819,
313,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29941,
29953,
29941,
29896,
29900,
29947,
29929,
29955,
29914,
3525,
29899,
1867,
29899,
29875,
29899,
3167,
29899,
497,
29899,
22198,
29899,
20326,
29899,
517,
29899,
9171,
29899,
262,
29899,
4691,
29914,
29941,
29953,
29941,
29896,
29900,
29929,
29896,
29941,
8443,
13,
20620,
29918,
1761,
29918,
10644,
29918,
29896,
29947,
29891,
353,
518,
29900,
565,
474,
529,
29871,
29900,
1683,
474,
363,
474,
297,
12151,
29918,
1761,
29918,
10644,
29918,
29896,
29947,
29891,
29962,
30004,
13,
30004,
13,
29937,
7851,
29871,
29900,
995,
304,
278,
1051,
408,
278,
937,
1543,
29892,
1363,
727,
338,
694,
409,
1119,
29878,
362,
297,
1629,
29871,
29900,
6756,
13,
1707,
353,
29871,
29900,
6756,
13,
20620,
29918,
1761,
29918,
10644,
29918,
29896,
29947,
29891,
29889,
7851,
29898,
29900,
29892,
1707,
8443,
13,
30004,
13,
29937,
5675,
525,
20620,
29918,
1761,
29918,
572,
25392,
29915,
3161,
8178,
3694,
304,
13530,
409,
1119,
29878,
362,
30004,
13,
20620,
29918,
1761,
29918,
10644,
29918,
29896,
29947,
29891,
353,
518,
448,
29916,
363,
921,
297,
12151,
29918,
1761,
29918,
10644,
29918,
29896,
29947,
29891,
29962,
30004,
13,
30004,
13,
30004,
13,
2158,
29898,
20620,
29918,
1761,
29918,
10644,
29918,
29896,
29947,
29891,
8443,
13,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
2277,
29966,
5813,
29958,
313,
29946,
29900,
29891,
8443,
13,
29937,
2886,
278,
1629,
368,
409,
1119,
29878,
362,
491,
25202,
278,
12651,
1546,
3161,
297,
1051,
525,
20620,
29918,
1761,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29898,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29945,
29941,
29896,
29946,
29906,
29946,
29896,
29914,
29881,
17678,
29899,
14811,
29899,
535,
3471,
11067,
29899,
17664,
29899,
262,
29899,
1761,
8443,
13,
20620,
29918,
1761,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
518,
29890,
448,
274,
363,
274,
29892,
289,
297,
14319,
29898,
20620,
29918,
1761,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29892,
12151,
29918,
1761,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29961,
29896,
29901,
2314,
29962,
30004,
13,
30004,
13,
29937,
16076,
727,
338,
694,
409,
1119,
29878,
362,
1546,
278,
337,
24389,
292,
1629,
313,
29872,
29889,
29887,
1696,
1629,
29871,
29946,
29900,
304,
29871,
29946,
29896,
511,
591,
505,
304,
5191,
8178,
3694,
297,
525,
20620,
29918,
1761,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29915,
411,
29871,
29900,
1819,
313,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29941,
29953,
29941,
29896,
29900,
29947,
29929,
29955,
29914,
3525,
29899,
1867,
29899,
29875,
29899,
3167,
29899,
497,
29899,
22198,
29899,
20326,
29899,
517,
29899,
9171,
29899,
262,
29899,
4691,
29914,
29941,
29953,
29941,
29896,
29900,
29929,
29896,
29941,
8443,
13,
20620,
29918,
1761,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
518,
29900,
565,
474,
529,
29871,
29900,
1683,
474,
363,
474,
297,
12151,
29918,
1761,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29962,
30004,
13,
30004,
13,
29937,
7851,
29871,
29900,
995,
304,
278,
1051,
408,
278,
937,
1543,
29892,
1363,
727,
338,
694,
409,
1119,
29878,
362,
297,
1629,
29871,
29900,
6756,
13,
1707,
353,
29871,
29900,
6756,
13,
20620,
29918,
1761,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29889,
7851,
29898,
29900,
29892,
1707,
8443,
13,
30004,
13,
29937,
5675,
525,
20620,
29918,
1761,
29918,
572,
25392,
29915,
3161,
8178,
3694,
304,
13530,
409,
1119,
29878,
362,
30004,
13,
20620,
29918,
1761,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
21069,
29916,
363,
921,
297,
12151,
29918,
1761,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29962,
30004,
13,
30004,
13,
30004,
13,
2158,
29898,
20620,
29918,
1761,
29918,
29911,
629,
29918,
29946,
29900,
29891,
8443,
13,
30004,
13,
30004,
13,
2277,
29966,
5813,
29958,
313,
29953,
29900,
29891,
8443,
13,
29937,
2886,
278,
1629,
368,
409,
1119,
29878,
362,
491,
25202,
278,
12651,
1546,
3161,
297,
1051,
525,
20620,
29918,
1761,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29898,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29945,
29941,
29896,
29946,
29906,
29946,
29896,
29914,
29881,
17678,
29899,
14811,
29899,
535,
3471,
11067,
29899,
17664,
29899,
262,
29899,
1761,
8443,
13,
20620,
29918,
1761,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
518,
29895,
448,
301,
363,
301,
29892,
413,
297,
14319,
29898,
20620,
29918,
1761,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
12151,
29918,
1761,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29961,
29896,
29901,
2314,
29962,
30004,
13,
30004,
13,
29937,
16076,
727,
338,
694,
409,
1119,
29878,
362,
1546,
278,
337,
24389,
292,
1629,
313,
29872,
29889,
29887,
1696,
1629,
29871,
29906,
29945,
304,
29871,
29906,
29953,
511,
591,
505,
304,
5191,
8178,
3694,
297,
525,
20620,
29918,
1761,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29915,
411,
29871,
29900,
1819,
313,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29941,
29953,
29941,
29896,
29900,
29947,
29929,
29955,
29914,
3525,
29899,
1867,
29899,
29875,
29899,
3167,
29899,
497,
29899,
22198,
29899,
20326,
29899,
517,
29899,
9171,
29899,
262,
29899,
4691,
29914,
29941,
29953,
29941,
29896,
29900,
29929,
29896,
29941,
8443,
13,
20620,
29918,
1761,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
518,
29900,
565,
474,
529,
29871,
29900,
1683,
474,
363,
474,
297,
12151,
29918,
1761,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29962,
30004,
13,
30004,
13,
29937,
7851,
29871,
29900,
995,
304,
278,
1051,
408,
278,
937,
1543,
29892,
1363,
727,
338,
694,
409,
1119,
29878,
362,
297,
1629,
29871,
29900,
6756,
13,
1707,
353,
29871,
29900,
6756,
13,
20620,
29918,
1761,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29889,
7851,
29898,
29900,
29892,
1707,
8443,
13,
30004,
13,
29937,
5675,
525,
20620,
29918,
1761,
29918,
572,
25392,
29915,
3161,
8178,
3694,
304,
13530,
409,
1119,
29878,
362,
30004,
13,
20620,
29918,
1761,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
518,
448,
29916,
363,
921,
297,
12151,
29918,
1761,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29962,
30004,
13,
30004,
13,
30004,
13,
2158,
29898,
20620,
29918,
1761,
29918,
29911,
629,
29918,
29953,
29900,
29891,
8443,
13,
30004,
13,
30004,
13,
30004,
13,
2277,
29966,
5813,
29958,
313,
29946,
29900,
29891,
8443,
13,
29937,
2886,
278,
1629,
368,
409,
1119,
29878,
362,
491,
25202,
278,
12651,
1546,
3161,
297,
1051,
525,
20620,
29918,
1761,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29898,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29945,
29941,
29896,
29946,
29906,
29946,
29896,
29914,
29881,
17678,
29899,
14811,
29899,
535,
3471,
11067,
29899,
17664,
29899,
262,
29899,
1761,
8443,
13,
20620,
29918,
1761,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
518,
29883,
448,
270,
363,
270,
29892,
274,
297,
14319,
29898,
20620,
29918,
1761,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
12151,
29918,
1761,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29961,
29896,
29901,
2314,
29962,
30004,
13,
30004,
13,
29937,
16076,
727,
338,
694,
409,
1119,
29878,
362,
1546,
278,
337,
24389,
292,
1629,
313,
29872,
29889,
29887,
1696,
1629,
29871,
29906,
29945,
304,
29871,
29906,
29953,
511,
591,
505,
304,
5191,
8178,
3694,
297,
525,
20620,
29918,
1761,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29915,
411,
29871,
29900,
1819,
313,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29941,
29953,
29941,
29896,
29900,
29947,
29929,
29955,
29914,
3525,
29899,
1867,
29899,
29875,
29899,
3167,
29899,
497,
29899,
22198,
29899,
20326,
29899,
517,
29899,
9171,
29899,
262,
29899,
4691,
29914,
29941,
29953,
29941,
29896,
29900,
29929,
29896,
29941,
8443,
13,
20620,
29918,
1761,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
518,
29900,
565,
474,
529,
29871,
29900,
1683,
474,
363,
474,
297,
12151,
29918,
1761,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29962,
30004,
13,
30004,
13,
29937,
7851,
29871,
29900,
995,
304,
278,
1051,
408,
278,
937,
1543,
29892,
1363,
727,
338,
694,
409,
1119,
29878,
362,
297,
1629,
29871,
29900,
6756,
13,
1707,
353,
29871,
29900,
6756,
13,
20620,
29918,
1761,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29889,
7851,
29898,
29900,
29892,
1707,
8443,
13,
30004,
13,
29937,
5675,
525,
20620,
29918,
1761,
29918,
572,
25392,
29915,
3161,
8178,
3694,
304,
13530,
409,
1119,
29878,
362,
30004,
13,
20620,
29918,
1761,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
518,
448,
29916,
363,
921,
297,
12151,
29918,
1761,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29962,
30004,
13,
30004,
13,
30004,
13,
2158,
29898,
20620,
29918,
1761,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
8443,
13,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
29937,
14448,
313,
29953,
1125,
1400,
29899,
8222,
10147,
9068,
310,
8112,
6756,
13,
30004,
13,
30004,
13,
29937,
2490,
29899,
8222,
10147,
8112,
9068,
30004,
13,
2176,
29896,
29918,
10644,
29918,
29955,
29891,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
1495,
30004,
13,
2176,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
1495,
30004,
13,
2176,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
1495,
30004,
13,
29881,
1579,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
1495,
30004,
13,
2176,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
1495,
30004,
13,
30004,
13,
30004,
13,
29873,
353,
3464,
29898,
29900,
29892,
13264,
29892,
29896,
8443,
13,
30004,
13,
19689,
29918,
6026,
6847,
29918,
29950,
26433,
29896,
29918,
10644,
29918,
29955,
29891,
353,
4489,
29896,
29918,
10644,
29918,
29955,
29891,
1839,
19689,
29918,
6026,
6847,
29918,
29950,
26433,
13359,
5975,
30004,
13,
19689,
29918,
6026,
6847,
29918,
29950,
26433,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
4489,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
1839,
19689,
29918,
6026,
6847,
29918,
29950,
26433,
13359,
5975,
30004,
13,
19689,
29918,
6026,
6847,
29918,
29950,
26433,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
4489,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
1839,
19689,
29918,
6026,
6847,
29918,
29950,
26433,
13359,
5975,
30004,
13,
19689,
29918,
6026,
6847,
29918,
29950,
26433,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
270,
1579,
29918,
29911,
629,
29918,
29953,
29900,
29891,
1839,
19689,
29918,
6026,
6847,
29918,
29950,
26433,
13359,
5975,
30004,
13,
19689,
29918,
6026,
6847,
29918,
29950,
29956,
4162,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
4489,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
6024,
19689,
29918,
6026,
6847,
29918,
29950,
26433,
13359,
5975,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
29937,
14448,
313,
29955,
29918,
29896,
1125,
2982,
5589,
10489,
26227,
313,
3210,
29946,
8443,
13,
30004,
13,
30004,
13,
29937,
3210,
29946,
26227,
6756,
13,
30004,
13,
4415,
353,
29871,
29906,
29900,
259,
396,
24498,
29899,
9258,
30004,
13,
30004,
13,
29895,
353,
313,
9302,
29889,
1188,
29898,
29906,
876,
29914,
4415,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
30004,
13,
2176,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
1495,
30004,
13,
30004,
13,
13264,
353,
29871,
29906,
29900,
29896,
30004,
13,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
13264,
8443,
13,
30004,
13,
30004,
13,
1753,
316,
2388,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29898,
29873,
29892,
1745,
475,
29909,
7210,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
1125,
30004,
13,
1678,
736,
313,
29896,
17722,
29896,
29899,
9302,
29889,
4548,
6278,
29895,
29930,
29873,
4961,
29930,
1745,
475,
29909,
7210,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
842,
5225,
4636,
30004,
13,
4905,
29918,
311,
2388,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
511,
2435,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3210,
29946,
13359,
5975,
4961,
30004,
13,
30004,
13,
30004,
13,
1454,
474,
29892,
1745,
475,
29918,
1595,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
297,
26985,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3210,
29946,
13359,
5975,
1125,
30004,
13,
1678,
396,
2158,
29898,
29875,
29892,
1745,
475,
29918,
1595,
8443,
13,
1678,
1962,
29918,
311,
2388,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29961,
29875,
29901,
29892,
29875,
29962,
353,
316,
2388,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29898,
29873,
7503,
2435,
29898,
29873,
6817,
29875,
1402,
1745,
475,
29918,
1595,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
8443,
13,
30004,
13,
2158,
29898,
4905,
29918,
311,
2388,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
2886,
278,
1629,
368,
953,
6847,
515,
26227,
491,
25202,
278,
12651,
1546,
3161,
297,
1051,
525,
311,
2388,
29918,
4260,
29918,
29903,
29896,
29915,
6756,
13,
29937,
29898,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29945,
29941,
29896,
29946,
29906,
29946,
29896,
29914,
29881,
17678,
29899,
14811,
29899,
535,
3471,
11067,
29899,
17664,
29899,
262,
29899,
1761,
8443,
13,
29937,
2045,
597,
2417,
29889,
510,
29914,
2619,
29914,
29896,
29896,
29900,
29929,
29945,
29947,
29929,
29906,
29914,
23749,
29899,
29881,
17678,
29899,
14811,
29899,
484,
1141,
4089,
292,
29899,
17664,
30004,
13,
30004,
13,
29937,
29881,
17678,
1546,
1543,
29892,
6756,
13,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
6817,
29896,
29892,
2435,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3210,
29946,
13359,
5975,
29899,
29896,
4961,
30004,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
8000,
474,
529,
15886,
29901,
30004,
13,
1678,
11684,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29875,
29962,
353,
7442,
29889,
12765,
29898,
4905,
29918,
311,
2388,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29875,
2314,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
6756,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
2158,
29898,
2435,
29898,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
876,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
16076,
727,
338,
694,
22004,
25477,
515,
26227,
472,
278,
6763,
310,
278,
1629,
313,
9983,
29889,
515,
525,
6360,
29871,
29896,
29915,
373,
1328,
511,
6756,
13,
29937,
705,
505,
304,
5191,
278,
6374,
3694,
411,
29871,
29900,
1819,
313,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29941,
29953,
29941,
29896,
29900,
29947,
29929,
29955,
29914,
3525,
29899,
1867,
29899,
29875,
29899,
3167,
29899,
497,
29899,
22198,
29899,
20326,
29899,
517,
29899,
9171,
29899,
262,
29899,
4691,
29914,
29941,
29953,
29941,
29896,
29900,
29929,
29896,
29941,
8443,
13,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
11684,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29889,
24049,
29898,
3317,
29922,
29900,
8443,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
29937,
5675,
278,
2582,
408,
8380,
1819,
30004,
13,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
6425,
29898,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
8443,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
7851,
1948,
310,
24786,
964,
278,
937,
1948,
310,
278,
11684,
29918,
5344,
30004,
13,
9171,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
6817,
29906,
29900,
29900,
29892,
2435,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3210,
29946,
13359,
5975,
4961,
30004,
13,
2158,
29898,
9171,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
8443,
13,
30004,
13,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
7442,
29889,
29894,
1429,
3552,
9171,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
11684,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
876,
30004,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
2083,
1432,
1897,
310,
278,
11684,
29918,
5344,
964,
697,
4608,
4636,
30004,
13,
5344,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
313,
13264,
29892,
29896,
8443,
13,
311,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29897,
6756,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
8000,
474,
529,
15886,
29901,
30004,
13,
1678,
316,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29900,
29962,
353,
316,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29900,
29962,
718,
11684,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29875,
29962,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
30004,
13,
30004,
13,
2158,
29898,
311,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29900,
2314,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
30004,
13,
2176,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
1495,
30004,
13,
30004,
13,
13264,
353,
29871,
29906,
29900,
29896,
30004,
13,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
13264,
8443,
13,
30004,
13,
30004,
13,
1753,
316,
2388,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29898,
29873,
29892,
1745,
475,
29909,
7210,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
1125,
30004,
13,
1678,
736,
313,
29896,
17722,
29896,
29899,
9302,
29889,
4548,
6278,
29895,
29930,
29873,
4961,
29930,
1745,
475,
29909,
7210,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
842,
5225,
4636,
30004,
13,
4905,
29918,
311,
2388,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
511,
2435,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3210,
29946,
13359,
5975,
4961,
30004,
13,
30004,
13,
30004,
13,
1454,
474,
29892,
1745,
475,
29918,
1595,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
297,
26985,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3210,
29946,
13359,
5975,
1125,
30004,
13,
1678,
396,
2158,
29898,
29875,
29892,
1745,
475,
29918,
1595,
8443,
13,
1678,
1962,
29918,
311,
2388,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29961,
29875,
29901,
29892,
29875,
29962,
353,
316,
2388,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29898,
29873,
7503,
2435,
29898,
29873,
6817,
29875,
1402,
1745,
475,
29918,
1595,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
8443,
13,
30004,
13,
2158,
29898,
4905,
29918,
311,
2388,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
2886,
278,
1629,
368,
953,
6847,
515,
26227,
491,
25202,
278,
12651,
1546,
3161,
297,
1051,
525,
311,
2388,
29918,
4260,
29918,
29903,
29896,
29915,
6756,
13,
29937,
29898,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29945,
29941,
29896,
29946,
29906,
29946,
29896,
29914,
29881,
17678,
29899,
14811,
29899,
535,
3471,
11067,
29899,
17664,
29899,
262,
29899,
1761,
8443,
13,
29937,
2045,
597,
2417,
29889,
510,
29914,
2619,
29914,
29896,
29896,
29900,
29929,
29945,
29947,
29929,
29906,
29914,
23749,
29899,
29881,
17678,
29899,
14811,
29899,
484,
1141,
4089,
292,
29899,
17664,
30004,
13,
30004,
13,
29937,
29881,
17678,
1546,
1543,
29892,
6756,
13,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
6817,
29896,
29892,
2435,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3210,
29946,
13359,
5975,
29899,
29896,
4961,
30004,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
8000,
474,
529,
15886,
29901,
30004,
13,
1678,
11684,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29875,
29962,
353,
7442,
29889,
12765,
29898,
4905,
29918,
311,
2388,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29875,
2314,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
6756,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
2158,
29898,
2435,
29898,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
876,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
16076,
727,
338,
694,
22004,
25477,
515,
26227,
472,
278,
6763,
310,
278,
1629,
313,
9983,
29889,
515,
525,
6360,
29871,
29896,
29915,
373,
1328,
511,
6756,
13,
29937,
705,
505,
304,
5191,
278,
6374,
3694,
411,
29871,
29900,
1819,
313,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29941,
29953,
29941,
29896,
29900,
29947,
29929,
29955,
29914,
3525,
29899,
1867,
29899,
29875,
29899,
3167,
29899,
497,
29899,
22198,
29899,
20326,
29899,
517,
29899,
9171,
29899,
262,
29899,
4691,
29914,
29941,
29953,
29941,
29896,
29900,
29929,
29896,
29941,
8443,
13,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
11684,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29889,
24049,
29898,
3317,
29922,
29900,
8443,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
29937,
5675,
278,
2582,
408,
8380,
1819,
30004,
13,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
6425,
29898,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
8443,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
7851,
1948,
310,
24786,
964,
278,
937,
1948,
310,
278,
11684,
29918,
5344,
30004,
13,
9171,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
6817,
29906,
29900,
29900,
29892,
2435,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3210,
29946,
13359,
5975,
4961,
30004,
13,
2158,
29898,
9171,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
8443,
13,
30004,
13,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
7442,
29889,
29894,
1429,
3552,
9171,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
11684,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
876,
30004,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
2083,
1432,
1897,
310,
278,
11684,
29918,
5344,
964,
697,
4608,
4636,
30004,
13,
5344,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
313,
13264,
29892,
29896,
8443,
13,
311,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29897,
6756,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
8000,
474,
529,
15886,
29901,
30004,
13,
1678,
316,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29900,
29962,
353,
316,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29900,
29962,
718,
11684,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29875,
29962,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
30004,
13,
30004,
13,
2158,
29898,
311,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29900,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
30004,
13,
2176,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
1495,
30004,
13,
30004,
13,
13264,
353,
29871,
29906,
29900,
29896,
30004,
13,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
13264,
8443,
13,
30004,
13,
30004,
13,
1753,
316,
2388,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29898,
29873,
29892,
1745,
475,
29909,
7210,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
1125,
30004,
13,
1678,
736,
313,
29896,
17722,
29896,
29899,
9302,
29889,
4548,
6278,
29895,
29930,
29873,
4961,
29930,
1745,
475,
29909,
7210,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
842,
5225,
4636,
30004,
13,
4905,
29918,
311,
2388,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
511,
2435,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3210,
29946,
13359,
5975,
4961,
30004,
13,
30004,
13,
30004,
13,
1454,
474,
29892,
1745,
475,
29918,
1595,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
297,
26985,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3210,
29946,
13359,
5975,
1125,
30004,
13,
1678,
396,
2158,
29898,
29875,
29892,
1745,
475,
29918,
1595,
8443,
13,
1678,
1962,
29918,
311,
2388,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29961,
29875,
29901,
29892,
29875,
29962,
353,
316,
2388,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29898,
29873,
7503,
2435,
29898,
29873,
6817,
29875,
1402,
1745,
475,
29918,
1595,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
8443,
13,
30004,
13,
2158,
29898,
4905,
29918,
311,
2388,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
2886,
278,
1629,
368,
953,
6847,
515,
26227,
491,
25202,
278,
12651,
1546,
3161,
297,
1051,
525,
311,
2388,
29918,
4260,
29918,
29903,
29896,
29915,
6756,
13,
29937,
29898,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29945,
29941,
29896,
29946,
29906,
29946,
29896,
29914,
29881,
17678,
29899,
14811,
29899,
535,
3471,
11067,
29899,
17664,
29899,
262,
29899,
1761,
8443,
13,
29937,
2045,
597,
2417,
29889,
510,
29914,
2619,
29914,
29896,
29896,
29900,
29929,
29945,
29947,
29929,
29906,
29914,
23749,
29899,
29881,
17678,
29899,
14811,
29899,
484,
1141,
4089,
292,
29899,
17664,
30004,
13,
30004,
13,
29937,
29881,
17678,
1546,
1543,
29892,
6756,
13,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
6817,
29896,
29892,
2435,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3210,
29946,
13359,
5975,
29899,
29896,
4961,
30004,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
8000,
474,
529,
15886,
29901,
30004,
13,
1678,
11684,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29875,
29962,
353,
7442,
29889,
12765,
29898,
4905,
29918,
311,
2388,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29875,
2314,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
6756,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
2158,
29898,
2435,
29898,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
876,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
16076,
727,
338,
694,
22004,
25477,
515,
26227,
472,
278,
6763,
310,
278,
1629,
313,
9983,
29889,
515,
525,
6360,
29871,
29896,
29915,
373,
1328,
511,
6756,
13,
29937,
705,
505,
304,
5191,
278,
6374,
3694,
411,
29871,
29900,
1819,
313,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29941,
29953,
29941,
29896,
29900,
29947,
29929,
29955,
29914,
3525,
29899,
1867,
29899,
29875,
29899,
3167,
29899,
497,
29899,
22198,
29899,
20326,
29899,
517,
29899,
9171,
29899,
262,
29899,
4691,
29914,
29941,
29953,
29941,
29896,
29900,
29929,
29896,
29941,
8443,
13,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
11684,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29889,
24049,
29898,
3317,
29922,
29900,
8443,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
29937,
5675,
278,
2582,
408,
8380,
1819,
30004,
13,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
6425,
29898,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
8443,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
7851,
1948,
310,
24786,
964,
278,
937,
1948,
310,
278,
11684,
29918,
5344,
30004,
13,
9171,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
6817,
29906,
29900,
29900,
29892,
2435,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3210,
29946,
13359,
5975,
4961,
30004,
13,
2158,
29898,
9171,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
8443,
13,
30004,
13,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
7442,
29889,
29894,
1429,
3552,
9171,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29892,
11684,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
876,
30004,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
2083,
1432,
1897,
310,
278,
11684,
29918,
5344,
964,
697,
4608,
4636,
30004,
13,
5344,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
313,
13264,
29892,
29896,
8443,
13,
311,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29897,
6756,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
8000,
474,
529,
15886,
29901,
30004,
13,
1678,
316,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
29962,
353,
316,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
29962,
718,
11684,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29875,
29962,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
30004,
13,
30004,
13,
2158,
29898,
311,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
2314,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
30004,
13,
2176,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
1495,
30004,
13,
30004,
13,
13264,
353,
29871,
29906,
29900,
29896,
30004,
13,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
13264,
8443,
13,
30004,
13,
30004,
13,
1753,
316,
2388,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29898,
29873,
29892,
1745,
475,
29909,
7210,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
1125,
30004,
13,
1678,
736,
313,
29896,
17722,
29896,
29899,
9302,
29889,
4548,
6278,
29895,
29930,
29873,
4961,
29930,
1745,
475,
29909,
7210,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
842,
5225,
4636,
30004,
13,
4905,
29918,
311,
2388,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
511,
2435,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3210,
29946,
13359,
5975,
4961,
30004,
13,
30004,
13,
30004,
13,
1454,
474,
29892,
1745,
475,
29918,
1595,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
297,
26985,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3210,
29946,
13359,
5975,
1125,
30004,
13,
1678,
396,
2158,
29898,
29875,
29892,
1745,
475,
29918,
1595,
8443,
13,
1678,
1962,
29918,
311,
2388,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29961,
29875,
29901,
29892,
29875,
29962,
353,
316,
2388,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29898,
29873,
7503,
2435,
29898,
29873,
6817,
29875,
1402,
1745,
475,
29918,
1595,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
8443,
13,
30004,
13,
2158,
29898,
4905,
29918,
311,
2388,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
2886,
278,
1629,
368,
953,
6847,
515,
26227,
491,
25202,
278,
12651,
1546,
3161,
297,
1051,
525,
311,
2388,
29918,
4260,
29918,
29903,
29896,
29915,
6756,
13,
29937,
29898,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29945,
29941,
29896,
29946,
29906,
29946,
29896,
29914,
29881,
17678,
29899,
14811,
29899,
535,
3471,
11067,
29899,
17664,
29899,
262,
29899,
1761,
8443,
13,
29937,
2045,
597,
2417,
29889,
510,
29914,
2619,
29914,
29896,
29896,
29900,
29929,
29945,
29947,
29929,
29906,
29914,
23749,
29899,
29881,
17678,
29899,
14811,
29899,
484,
1141,
4089,
292,
29899,
17664,
30004,
13,
30004,
13,
29937,
29881,
17678,
1546,
1543,
29892,
6756,
13,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
6817,
29896,
29892,
2435,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3210,
29946,
13359,
5975,
29899,
29896,
4961,
30004,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
8000,
474,
529,
15886,
29901,
30004,
13,
1678,
11684,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29875,
29962,
353,
7442,
29889,
12765,
29898,
4905,
29918,
311,
2388,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29875,
2314,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
6756,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
2158,
29898,
2435,
29898,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
876,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
16076,
727,
338,
694,
22004,
25477,
515,
26227,
472,
278,
6763,
310,
278,
1629,
313,
9983,
29889,
515,
525,
6360,
29871,
29896,
29915,
373,
1328,
511,
6756,
13,
29937,
705,
505,
304,
5191,
278,
6374,
3694,
411,
29871,
29900,
1819,
313,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29941,
29953,
29941,
29896,
29900,
29947,
29929,
29955,
29914,
3525,
29899,
1867,
29899,
29875,
29899,
3167,
29899,
497,
29899,
22198,
29899,
20326,
29899,
517,
29899,
9171,
29899,
262,
29899,
4691,
29914,
29941,
29953,
29941,
29896,
29900,
29929,
29896,
29941,
8443,
13,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
11684,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29889,
24049,
29898,
3317,
29922,
29900,
8443,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
29937,
5675,
278,
2582,
408,
8380,
1819,
30004,
13,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
6425,
29898,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
8443,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
7851,
1948,
310,
24786,
964,
278,
937,
1948,
310,
278,
11684,
29918,
5344,
30004,
13,
9171,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
6817,
29906,
29900,
29900,
29892,
2435,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3210,
29946,
13359,
5975,
4961,
30004,
13,
2158,
29898,
9171,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
8443,
13,
30004,
13,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
7442,
29889,
29894,
1429,
3552,
9171,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
11684,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
876,
30004,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
2083,
1432,
1897,
310,
278,
11684,
29918,
5344,
964,
697,
4608,
4636,
30004,
13,
5344,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
313,
13264,
29892,
29896,
8443,
13,
311,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29897,
6756,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
8000,
474,
529,
15886,
29901,
30004,
13,
1678,
316,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29900,
29962,
353,
316,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29900,
29962,
718,
11684,
29918,
5344,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29875,
29962,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
30004,
13,
30004,
13,
2158,
29898,
311,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29900,
2314,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
29923,
30004,
13,
2176,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
1495,
30004,
13,
30004,
13,
13264,
353,
29871,
29906,
29900,
29896,
30004,
13,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
13264,
8443,
13,
30004,
13,
30004,
13,
1753,
316,
2388,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29898,
29873,
29892,
1745,
475,
29909,
7210,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
1125,
30004,
13,
1678,
736,
313,
29896,
17722,
29896,
29899,
9302,
29889,
4548,
6278,
29895,
29930,
29873,
4961,
29930,
1745,
475,
29909,
7210,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
842,
5225,
4636,
30004,
13,
4905,
29918,
311,
2388,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
511,
2435,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3210,
29946,
13359,
5975,
4961,
30004,
13,
30004,
13,
30004,
13,
1454,
474,
29892,
1745,
475,
29918,
1595,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
297,
26985,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3210,
29946,
13359,
5975,
1125,
30004,
13,
1678,
396,
2158,
29898,
29875,
29892,
1745,
475,
29918,
1595,
8443,
13,
1678,
1962,
29918,
311,
2388,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29961,
29875,
29901,
29892,
29875,
29962,
353,
316,
2388,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29898,
29873,
7503,
2435,
29898,
29873,
6817,
29875,
1402,
1745,
475,
29918,
1595,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
8443,
13,
30004,
13,
2158,
29898,
4905,
29918,
311,
2388,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
2886,
278,
1629,
368,
953,
6847,
515,
26227,
491,
25202,
278,
12651,
1546,
3161,
297,
1051,
525,
311,
2388,
29918,
4260,
29918,
29903,
29896,
29915,
6756,
13,
29937,
29898,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29945,
29941,
29896,
29946,
29906,
29946,
29896,
29914,
29881,
17678,
29899,
14811,
29899,
535,
3471,
11067,
29899,
17664,
29899,
262,
29899,
1761,
8443,
13,
29937,
2045,
597,
2417,
29889,
510,
29914,
2619,
29914,
29896,
29896,
29900,
29929,
29945,
29947,
29929,
29906,
29914,
23749,
29899,
29881,
17678,
29899,
14811,
29899,
484,
1141,
4089,
292,
29899,
17664,
30004,
13,
30004,
13,
29937,
29881,
17678,
1546,
1543,
29892,
6756,
13,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
6817,
29896,
29892,
2435,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3210,
29946,
13359,
5975,
29899,
29896,
4961,
30004,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
8000,
474,
529,
15886,
29901,
30004,
13,
1678,
11684,
29918,
5344,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29875,
29962,
353,
7442,
29889,
12765,
29898,
4905,
29918,
311,
2388,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29875,
2314,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
6756,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
2158,
29898,
2435,
29898,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
876,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
16076,
727,
338,
694,
22004,
25477,
515,
26227,
472,
278,
6763,
310,
278,
1629,
313,
9983,
29889,
515,
525,
6360,
29871,
29896,
29915,
373,
1328,
511,
6756,
13,
29937,
705,
505,
304,
5191,
278,
6374,
3694,
411,
29871,
29900,
1819,
313,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29941,
29953,
29941,
29896,
29900,
29947,
29929,
29955,
29914,
3525,
29899,
1867,
29899,
29875,
29899,
3167,
29899,
497,
29899,
22198,
29899,
20326,
29899,
517,
29899,
9171,
29899,
262,
29899,
4691,
29914,
29941,
29953,
29941,
29896,
29900,
29929,
29896,
29941,
8443,
13,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
11684,
29918,
5344,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29889,
24049,
29898,
3317,
29922,
29900,
8443,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
29937,
5675,
278,
2582,
408,
8380,
1819,
30004,
13,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
6425,
29898,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
8443,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
7851,
1948,
310,
24786,
964,
278,
937,
1948,
310,
278,
11684,
29918,
5344,
30004,
13,
9171,
29918,
5344,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
6817,
29906,
29900,
29900,
29892,
2435,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3210,
29946,
13359,
5975,
4961,
30004,
13,
2158,
29898,
9171,
29918,
5344,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
8443,
13,
30004,
13,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
7442,
29889,
29894,
1429,
3552,
9171,
29918,
5344,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
11684,
29918,
5344,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
876,
30004,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
2083,
1432,
1897,
310,
278,
11684,
29918,
5344,
964,
697,
4608,
4636,
30004,
13,
5344,
29918,
4260,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
313,
13264,
29892,
29896,
8443,
13,
311,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
4260,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29897,
6756,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
8000,
474,
529,
15886,
29901,
30004,
13,
1678,
316,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
29962,
353,
316,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
29962,
718,
11684,
29918,
5344,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29875,
29962,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
30004,
13,
30004,
13,
2158,
29898,
311,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
5317,
1259,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
29900,
29892,
13264,
8443,
13,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
311,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
1643,
2433,
10644,
29918,
29955,
29891,
1495,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
311,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
1643,
2433,
10644,
29918,
29896,
29947,
29891,
1495,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
311,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29892,
1643,
2433,
29911,
629,
29918,
29946,
29900,
29891,
1495,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
311,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
1643,
2433,
29911,
629,
29918,
29953,
29900,
29891,
1495,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
311,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
1643,
2433,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
1495,
30004,
13,
30004,
13,
572,
29873,
29889,
29916,
2576,
29898,
29900,
29892,
29906,
29900,
29900,
8443,
13,
30004,
13,
572,
29873,
29889,
26172,
29898,
29890,
1884,
29918,
517,
29918,
25367,
7607,
29896,
29889,
29900,
29946,
29892,
29896,
511,
1180,
543,
21064,
2175,
613,
3515,
265,
29922,
8824,
8443,
13,
30004,
13,
572,
29873,
29889,
4294,
26471,
13,
30004,
13,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
29937,
14448,
313,
29955,
29918,
29906,
1125,
2982,
5589,
10489,
26227,
313,
3217,
29906,
8443,
13,
30004,
13,
29937,
3217,
29906,
26227,
6756,
13,
30004,
13,
4415,
353,
29871,
29906,
29900,
259,
396,
24498,
29899,
9258,
30004,
13,
30004,
13,
29895,
353,
313,
9302,
29889,
1188,
29898,
29906,
876,
29914,
4415,
30004,
13,
30004,
13,
30004,
13,
29937,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
30004,
13,
2176,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
1495,
30004,
13,
30004,
13,
13264,
353,
29871,
29906,
29900,
29896,
30004,
13,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
13264,
8443,
13,
30004,
13,
30004,
13,
1753,
316,
2388,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29898,
29873,
29892,
1745,
475,
29909,
7210,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
1125,
30004,
13,
1678,
736,
313,
29896,
17722,
29896,
29899,
9302,
29889,
4548,
6278,
29895,
29930,
29873,
4961,
29930,
1745,
475,
29909,
7210,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
842,
5225,
4636,
30004,
13,
4905,
29918,
311,
2388,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
511,
2435,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3217,
29906,
13359,
5975,
4961,
30004,
13,
30004,
13,
30004,
13,
1454,
474,
29892,
1745,
475,
29918,
1595,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
297,
26985,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3217,
29906,
13359,
5975,
1125,
30004,
13,
1678,
396,
2158,
29898,
29875,
29892,
1745,
475,
29918,
1595,
8443,
13,
1678,
1962,
29918,
311,
2388,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29961,
29875,
29901,
29892,
29875,
29962,
353,
316,
2388,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29898,
29873,
7503,
2435,
29898,
29873,
6817,
29875,
1402,
1745,
475,
29918,
1595,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
8443,
13,
30004,
13,
2158,
29898,
4905,
29918,
311,
2388,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
2886,
278,
1629,
368,
953,
6847,
515,
26227,
491,
25202,
278,
12651,
1546,
3161,
297,
1051,
525,
311,
2388,
29918,
4260,
29918,
29903,
29896,
29915,
6756,
13,
29937,
29898,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29945,
29941,
29896,
29946,
29906,
29946,
29896,
29914,
29881,
17678,
29899,
14811,
29899,
535,
3471,
11067,
29899,
17664,
29899,
262,
29899,
1761,
8443,
13,
29937,
2045,
597,
2417,
29889,
510,
29914,
2619,
29914,
29896,
29896,
29900,
29929,
29945,
29947,
29929,
29906,
29914,
23749,
29899,
29881,
17678,
29899,
14811,
29899,
484,
1141,
4089,
292,
29899,
17664,
30004,
13,
30004,
13,
29937,
29881,
17678,
1546,
1543,
29892,
6756,
13,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
6817,
29896,
29892,
2435,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3217,
29906,
13359,
5975,
29899,
29896,
4961,
30004,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
8000,
474,
529,
15886,
29901,
30004,
13,
1678,
11684,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29875,
29962,
353,
7442,
29889,
12765,
29898,
4905,
29918,
311,
2388,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29875,
2314,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
6756,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
2158,
29898,
2435,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
876,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
16076,
727,
338,
694,
22004,
25477,
515,
26227,
472,
278,
6763,
310,
278,
1629,
313,
9983,
29889,
515,
525,
6360,
29871,
29896,
29915,
373,
1328,
511,
6756,
13,
29937,
705,
505,
304,
5191,
278,
6374,
3694,
411,
29871,
29900,
1819,
313,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29941,
29953,
29941,
29896,
29900,
29947,
29929,
29955,
29914,
3525,
29899,
1867,
29899,
29875,
29899,
3167,
29899,
497,
29899,
22198,
29899,
20326,
29899,
517,
29899,
9171,
29899,
262,
29899,
4691,
29914,
29941,
29953,
29941,
29896,
29900,
29929,
29896,
29941,
8443,
13,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
11684,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29889,
24049,
29898,
3317,
29922,
29900,
8443,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
29937,
5675,
278,
2582,
408,
8380,
1819,
30004,
13,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
6425,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
8443,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
7851,
1948,
310,
24786,
964,
278,
937,
1948,
310,
278,
11684,
29918,
5344,
30004,
13,
9171,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
6817,
29906,
29900,
29900,
29892,
2435,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3217,
29906,
13359,
5975,
4961,
30004,
13,
2158,
29898,
9171,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
8443,
13,
30004,
13,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
7442,
29889,
29894,
1429,
3552,
9171,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
11684,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
876,
30004,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
2083,
1432,
1897,
310,
278,
11684,
29918,
5344,
964,
697,
4608,
4636,
30004,
13,
5344,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
313,
13264,
29892,
29896,
8443,
13,
311,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29897,
6756,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
8000,
474,
529,
15886,
29901,
30004,
13,
1678,
316,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29900,
29962,
353,
316,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29900,
29962,
718,
11684,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29875,
29962,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
30004,
13,
30004,
13,
2158,
29898,
311,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29900,
2314,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
30004,
13,
2176,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
1495,
30004,
13,
30004,
13,
13264,
353,
29871,
29906,
29900,
29896,
30004,
13,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
13264,
8443,
13,
30004,
13,
30004,
13,
1753,
316,
2388,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29898,
29873,
29892,
1745,
475,
29909,
7210,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
1125,
30004,
13,
1678,
736,
313,
29896,
17722,
29896,
29899,
9302,
29889,
4548,
6278,
29895,
29930,
29873,
4961,
29930,
1745,
475,
29909,
7210,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
842,
5225,
4636,
30004,
13,
4905,
29918,
311,
2388,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
511,
2435,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3217,
29906,
13359,
5975,
4961,
30004,
13,
30004,
13,
30004,
13,
1454,
474,
29892,
1745,
475,
29918,
1595,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
297,
26985,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3217,
29906,
13359,
5975,
1125,
30004,
13,
1678,
396,
2158,
29898,
29875,
29892,
1745,
475,
29918,
1595,
8443,
13,
1678,
1962,
29918,
311,
2388,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29961,
29875,
29901,
29892,
29875,
29962,
353,
316,
2388,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29898,
29873,
7503,
2435,
29898,
29873,
6817,
29875,
1402,
1745,
475,
29918,
1595,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
8443,
13,
30004,
13,
2158,
29898,
4905,
29918,
311,
2388,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
2886,
278,
1629,
368,
953,
6847,
515,
26227,
491,
25202,
278,
12651,
1546,
3161,
297,
1051,
525,
311,
2388,
29918,
4260,
29918,
29903,
29896,
29915,
6756,
13,
29937,
29898,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29945,
29941,
29896,
29946,
29906,
29946,
29896,
29914,
29881,
17678,
29899,
14811,
29899,
535,
3471,
11067,
29899,
17664,
29899,
262,
29899,
1761,
8443,
13,
29937,
2045,
597,
2417,
29889,
510,
29914,
2619,
29914,
29896,
29896,
29900,
29929,
29945,
29947,
29929,
29906,
29914,
23749,
29899,
29881,
17678,
29899,
14811,
29899,
484,
1141,
4089,
292,
29899,
17664,
30004,
13,
30004,
13,
29937,
29881,
17678,
1546,
1543,
29892,
6756,
13,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
6817,
29896,
29892,
2435,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3217,
29906,
13359,
5975,
29899,
29896,
4961,
30004,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
8000,
474,
529,
15886,
29901,
30004,
13,
1678,
11684,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29875,
29962,
353,
7442,
29889,
12765,
29898,
4905,
29918,
311,
2388,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29875,
2314,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
6756,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
2158,
29898,
2435,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
876,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
16076,
727,
338,
694,
22004,
25477,
515,
26227,
472,
278,
6763,
310,
278,
1629,
313,
9983,
29889,
515,
525,
6360,
29871,
29896,
29915,
373,
1328,
511,
6756,
13,
29937,
705,
505,
304,
5191,
278,
6374,
3694,
411,
29871,
29900,
1819,
313,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29941,
29953,
29941,
29896,
29900,
29947,
29929,
29955,
29914,
3525,
29899,
1867,
29899,
29875,
29899,
3167,
29899,
497,
29899,
22198,
29899,
20326,
29899,
517,
29899,
9171,
29899,
262,
29899,
4691,
29914,
29941,
29953,
29941,
29896,
29900,
29929,
29896,
29941,
8443,
13,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
11684,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29889,
24049,
29898,
3317,
29922,
29900,
8443,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
29937,
5675,
278,
2582,
408,
8380,
1819,
30004,
13,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
6425,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
8443,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
7851,
1948,
310,
24786,
964,
278,
937,
1948,
310,
278,
11684,
29918,
5344,
30004,
13,
9171,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
6817,
29906,
29900,
29900,
29892,
2435,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3217,
29906,
13359,
5975,
4961,
30004,
13,
2158,
29898,
9171,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
8443,
13,
30004,
13,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
7442,
29889,
29894,
1429,
3552,
9171,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
11684,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
876,
30004,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
2083,
1432,
1897,
310,
278,
11684,
29918,
5344,
964,
697,
4608,
4636,
30004,
13,
5344,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
313,
13264,
29892,
29896,
8443,
13,
311,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29897,
6756,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
8000,
474,
529,
15886,
29901,
30004,
13,
1678,
316,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29900,
29962,
353,
316,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29900,
29962,
718,
11684,
29918,
5344,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29875,
29962,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
30004,
13,
30004,
13,
2158,
29898,
311,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29900,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
30004,
13,
2176,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
1495,
30004,
13,
30004,
13,
13264,
353,
29871,
29906,
29900,
29896,
30004,
13,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
13264,
8443,
13,
30004,
13,
30004,
13,
1753,
316,
2388,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29898,
29873,
29892,
1745,
475,
29909,
7210,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
1125,
30004,
13,
1678,
736,
313,
29896,
17722,
29896,
29899,
9302,
29889,
4548,
6278,
29895,
29930,
29873,
4961,
29930,
1745,
475,
29909,
7210,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
842,
5225,
4636,
30004,
13,
4905,
29918,
311,
2388,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
511,
2435,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3217,
29906,
13359,
5975,
4961,
30004,
13,
30004,
13,
30004,
13,
1454,
474,
29892,
1745,
475,
29918,
1595,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
297,
26985,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3217,
29906,
13359,
5975,
1125,
30004,
13,
1678,
396,
2158,
29898,
29875,
29892,
1745,
475,
29918,
1595,
8443,
13,
1678,
1962,
29918,
311,
2388,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29961,
29875,
29901,
29892,
29875,
29962,
353,
316,
2388,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29898,
29873,
7503,
2435,
29898,
29873,
6817,
29875,
1402,
1745,
475,
29918,
1595,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
8443,
13,
30004,
13,
2158,
29898,
4905,
29918,
311,
2388,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
2886,
278,
1629,
368,
953,
6847,
515,
26227,
491,
25202,
278,
12651,
1546,
3161,
297,
1051,
525,
311,
2388,
29918,
4260,
29918,
29903,
29896,
29915,
6756,
13,
29937,
29898,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29945,
29941,
29896,
29946,
29906,
29946,
29896,
29914,
29881,
17678,
29899,
14811,
29899,
535,
3471,
11067,
29899,
17664,
29899,
262,
29899,
1761,
8443,
13,
29937,
2045,
597,
2417,
29889,
510,
29914,
2619,
29914,
29896,
29896,
29900,
29929,
29945,
29947,
29929,
29906,
29914,
23749,
29899,
29881,
17678,
29899,
14811,
29899,
484,
1141,
4089,
292,
29899,
17664,
30004,
13,
30004,
13,
29937,
29881,
17678,
1546,
1543,
29892,
6756,
13,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
6817,
29896,
29892,
2435,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3217,
29906,
13359,
5975,
29899,
29896,
4961,
30004,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
8000,
474,
529,
15886,
29901,
30004,
13,
1678,
11684,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29875,
29962,
353,
7442,
29889,
12765,
29898,
4905,
29918,
311,
2388,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29875,
2314,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
6756,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
2158,
29898,
2435,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
876,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
16076,
727,
338,
694,
22004,
25477,
515,
26227,
472,
278,
6763,
310,
278,
1629,
313,
9983,
29889,
515,
525,
6360,
29871,
29896,
29915,
373,
1328,
511,
6756,
13,
29937,
705,
505,
304,
5191,
278,
6374,
3694,
411,
29871,
29900,
1819,
313,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29941,
29953,
29941,
29896,
29900,
29947,
29929,
29955,
29914,
3525,
29899,
1867,
29899,
29875,
29899,
3167,
29899,
497,
29899,
22198,
29899,
20326,
29899,
517,
29899,
9171,
29899,
262,
29899,
4691,
29914,
29941,
29953,
29941,
29896,
29900,
29929,
29896,
29941,
8443,
13,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
11684,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29889,
24049,
29898,
3317,
29922,
29900,
8443,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
29937,
5675,
278,
2582,
408,
8380,
1819,
30004,
13,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
6425,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
8443,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
7851,
1948,
310,
24786,
964,
278,
937,
1948,
310,
278,
11684,
29918,
5344,
30004,
13,
9171,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
6817,
29906,
29900,
29900,
29892,
2435,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3217,
29906,
13359,
5975,
4961,
30004,
13,
2158,
29898,
9171,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
8443,
13,
30004,
13,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
7442,
29889,
29894,
1429,
3552,
9171,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29892,
11684,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
876,
30004,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
2083,
1432,
1897,
310,
278,
11684,
29918,
5344,
964,
697,
4608,
4636,
30004,
13,
5344,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
313,
13264,
29892,
29896,
8443,
13,
311,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29897,
6756,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
8000,
474,
529,
15886,
29901,
30004,
13,
1678,
316,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
29962,
353,
316,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
29962,
718,
11684,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29875,
29962,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
30004,
13,
30004,
13,
2158,
29898,
311,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
2314,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
29903,
29906,
29918,
29911,
629,
29918,
29953,
29900,
29891,
30004,
13,
2176,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
1495,
30004,
13,
30004,
13,
13264,
353,
29871,
29906,
29900,
29896,
30004,
13,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
13264,
8443,
13,
30004,
13,
30004,
13,
1753,
316,
2388,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29898,
29873,
29892,
1745,
475,
29909,
7210,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
1125,
30004,
13,
1678,
736,
313,
29896,
17722,
29896,
29899,
9302,
29889,
4548,
6278,
29895,
29930,
29873,
4961,
29930,
1745,
475,
29909,
7210,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
842,
5225,
4636,
30004,
13,
4905,
29918,
311,
2388,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
511,
2435,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3217,
29906,
13359,
5975,
4961,
30004,
13,
30004,
13,
30004,
13,
1454,
474,
29892,
1745,
475,
29918,
1595,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
297,
26985,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3217,
29906,
13359,
5975,
1125,
30004,
13,
1678,
396,
2158,
29898,
29875,
29892,
1745,
475,
29918,
1595,
8443,
13,
1678,
1962,
29918,
311,
2388,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29961,
29875,
29901,
29892,
29875,
29962,
353,
316,
2388,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29898,
29873,
7503,
2435,
29898,
29873,
6817,
29875,
1402,
1745,
475,
29918,
1595,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
8443,
13,
30004,
13,
2158,
29898,
4905,
29918,
311,
2388,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
2886,
278,
1629,
368,
953,
6847,
515,
26227,
491,
25202,
278,
12651,
1546,
3161,
297,
1051,
525,
311,
2388,
29918,
4260,
29918,
29903,
29896,
29915,
6756,
13,
29937,
29898,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29945,
29941,
29896,
29946,
29906,
29946,
29896,
29914,
29881,
17678,
29899,
14811,
29899,
535,
3471,
11067,
29899,
17664,
29899,
262,
29899,
1761,
8443,
13,
29937,
2045,
597,
2417,
29889,
510,
29914,
2619,
29914,
29896,
29896,
29900,
29929,
29945,
29947,
29929,
29906,
29914,
23749,
29899,
29881,
17678,
29899,
14811,
29899,
484,
1141,
4089,
292,
29899,
17664,
30004,
13,
30004,
13,
29937,
29881,
17678,
1546,
1543,
29892,
6756,
13,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
6817,
29896,
29892,
2435,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3217,
29906,
13359,
5975,
29899,
29896,
4961,
30004,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
8000,
474,
529,
15886,
29901,
30004,
13,
1678,
11684,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29875,
29962,
353,
7442,
29889,
12765,
29898,
4905,
29918,
311,
2388,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29875,
2314,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
6756,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
2158,
29898,
2435,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
876,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
16076,
727,
338,
694,
22004,
25477,
515,
26227,
472,
278,
6763,
310,
278,
1629,
313,
9983,
29889,
515,
525,
6360,
29871,
29896,
29915,
373,
1328,
511,
6756,
13,
29937,
705,
505,
304,
5191,
278,
6374,
3694,
411,
29871,
29900,
1819,
313,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29941,
29953,
29941,
29896,
29900,
29947,
29929,
29955,
29914,
3525,
29899,
1867,
29899,
29875,
29899,
3167,
29899,
497,
29899,
22198,
29899,
20326,
29899,
517,
29899,
9171,
29899,
262,
29899,
4691,
29914,
29941,
29953,
29941,
29896,
29900,
29929,
29896,
29941,
8443,
13,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
11684,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29889,
24049,
29898,
3317,
29922,
29900,
8443,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
29937,
5675,
278,
2582,
408,
8380,
1819,
30004,
13,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
6425,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
8443,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
7851,
1948,
310,
24786,
964,
278,
937,
1948,
310,
278,
11684,
29918,
5344,
30004,
13,
9171,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
6817,
29906,
29900,
29900,
29892,
2435,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3217,
29906,
13359,
5975,
4961,
30004,
13,
2158,
29898,
9171,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
8443,
13,
30004,
13,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
7442,
29889,
29894,
1429,
3552,
9171,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
11684,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
876,
30004,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
2083,
1432,
1897,
310,
278,
11684,
29918,
5344,
964,
697,
4608,
4636,
30004,
13,
5344,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
313,
13264,
29892,
29896,
8443,
13,
311,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29897,
6756,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
8000,
474,
529,
15886,
29901,
30004,
13,
1678,
316,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29900,
29962,
353,
316,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29900,
29962,
718,
11684,
29918,
5344,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29875,
29962,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
30004,
13,
30004,
13,
2158,
29898,
311,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29900,
2314,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
29923,
30004,
13,
2176,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
1495,
30004,
13,
30004,
13,
13264,
353,
29871,
29906,
29900,
29896,
30004,
13,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
13264,
8443,
13,
30004,
13,
30004,
13,
1753,
316,
2388,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29898,
29873,
29892,
1745,
475,
29909,
7210,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
1125,
30004,
13,
1678,
736,
313,
29896,
17722,
29896,
29899,
9302,
29889,
4548,
6278,
29895,
29930,
29873,
4961,
29930,
1745,
475,
29909,
7210,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
842,
5225,
4636,
30004,
13,
4905,
29918,
311,
2388,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
511,
2435,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3217,
29906,
13359,
5975,
4961,
30004,
13,
30004,
13,
30004,
13,
1454,
474,
29892,
1745,
475,
29918,
1595,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
297,
26985,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3217,
29906,
13359,
5975,
1125,
30004,
13,
1678,
396,
2158,
29898,
29875,
29892,
1745,
475,
29918,
1595,
8443,
13,
1678,
1962,
29918,
311,
2388,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29961,
29875,
29901,
29892,
29875,
29962,
353,
316,
2388,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29898,
29873,
7503,
2435,
29898,
29873,
6817,
29875,
1402,
1745,
475,
29918,
1595,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
8443,
13,
30004,
13,
2158,
29898,
4905,
29918,
311,
2388,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
2886,
278,
1629,
368,
953,
6847,
515,
26227,
491,
25202,
278,
12651,
1546,
3161,
297,
1051,
525,
311,
2388,
29918,
4260,
29918,
29903,
29896,
29915,
6756,
13,
29937,
29898,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29945,
29941,
29896,
29946,
29906,
29946,
29896,
29914,
29881,
17678,
29899,
14811,
29899,
535,
3471,
11067,
29899,
17664,
29899,
262,
29899,
1761,
8443,
13,
29937,
2045,
597,
2417,
29889,
510,
29914,
2619,
29914,
29896,
29896,
29900,
29929,
29945,
29947,
29929,
29906,
29914,
23749,
29899,
29881,
17678,
29899,
14811,
29899,
484,
1141,
4089,
292,
29899,
17664,
30004,
13,
30004,
13,
29937,
29881,
17678,
1546,
1543,
29892,
6756,
13,
1491,
29879,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
6817,
29896,
29892,
2435,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3217,
29906,
13359,
5975,
29899,
29896,
4961,
30004,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
8000,
474,
529,
15886,
29901,
30004,
13,
1678,
11684,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29875,
29962,
353,
7442,
29889,
12765,
29898,
4905,
29918,
311,
2388,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29875,
2314,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
6756,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
2158,
29898,
2435,
29898,
1491,
29879,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
876,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
16076,
727,
338,
694,
22004,
25477,
515,
26227,
472,
278,
6763,
310,
278,
1629,
313,
9983,
29889,
515,
525,
6360,
29871,
29896,
29915,
373,
1328,
511,
6756,
13,
29937,
705,
505,
304,
5191,
278,
6374,
3694,
411,
29871,
29900,
1819,
313,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29941,
29953,
29941,
29896,
29900,
29947,
29929,
29955,
29914,
3525,
29899,
1867,
29899,
29875,
29899,
3167,
29899,
497,
29899,
22198,
29899,
20326,
29899,
517,
29899,
9171,
29899,
262,
29899,
4691,
29914,
29941,
29953,
29941,
29896,
29900,
29929,
29896,
29941,
8443,
13,
1491,
29879,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
11684,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29889,
24049,
29898,
3317,
29922,
29900,
8443,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
29937,
5675,
278,
2582,
408,
8380,
1819,
30004,
13,
1491,
29879,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
6425,
29898,
1491,
29879,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
8443,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
7851,
1948,
310,
24786,
964,
278,
937,
1948,
310,
278,
11684,
29918,
5344,
30004,
13,
9171,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
3552,
2435,
29898,
29873,
6817,
29906,
29900,
29900,
29892,
2435,
29898,
2176,
1839,
22677,
5589,
29918,
311,
2388,
29918,
3217,
29906,
13359,
5975,
4961,
30004,
13,
2158,
29898,
9171,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
8443,
13,
30004,
13,
1491,
29879,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
7442,
29889,
29894,
1429,
3552,
9171,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
11684,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
876,
30004,
13,
30004,
13,
2158,
29898,
1491,
29879,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29901,
29946,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
2083,
1432,
1897,
310,
278,
11684,
29918,
5344,
964,
697,
4608,
4636,
30004,
13,
5344,
29918,
4260,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
313,
13264,
29892,
29896,
8443,
13,
311,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
4260,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29897,
6756,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
8000,
474,
529,
15886,
29901,
30004,
13,
1678,
316,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
29962,
353,
316,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
29962,
718,
11684,
29918,
5344,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29875,
29962,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
30004,
13,
30004,
13,
2158,
29898,
311,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
5317,
1259,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
29900,
29892,
13264,
8443,
13,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
311,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
1643,
2433,
10644,
29918,
29955,
29891,
1495,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
311,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
1643,
2433,
10644,
29918,
29896,
29947,
29891,
1495,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
311,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29892,
1643,
2433,
29911,
629,
29918,
29946,
29900,
29891,
1495,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
311,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
1643,
2433,
29911,
629,
29918,
29953,
29900,
29891,
1495,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
311,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
1643,
2433,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
1495,
30004,
13,
30004,
13,
572,
29873,
29889,
29916,
2576,
29898,
29900,
29892,
29906,
29900,
29900,
8443,
13,
30004,
13,
572,
29873,
29889,
26172,
29898,
29890,
1884,
29918,
517,
29918,
25367,
7607,
29896,
29889,
29900,
29946,
29892,
29896,
511,
1180,
543,
21064,
2175,
613,
3515,
265,
29922,
8824,
8443,
13,
30004,
13,
572,
29873,
29889,
4294,
26471,
13,
30004,
13,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
29937,
14448,
313,
29947,
1125,
6991,
278,
953,
6847,
322,
409,
1119,
29878,
362,
313,
1212,
22004,
17346,
511,
4810,
29906,
322,
5868,
29946,
526,
13055,
30004,
13,
30004,
13,
29937,
991,
597,
2417,
29889,
510,
29914,
2619,
29914,
29945,
29906,
29955,
29900,
29941,
29946,
29946,
29906,
29914,
4691,
29899,
2083,
29899,
5975,
29899,
3166,
29899,
20787,
29899,
21513,
29899,
5514,
29899,
27603,
29899,
10184,
30004,
13,
29937,
29907,
29918,
6758,
718,
315,
29918,
1745,
475,
29909,
7210,
718,
315,
29918,
1745,
475,
29950,
26433,
718,
349,
29950,
29918,
6026,
6847,
29918,
13152,
30004,
13,
30004,
13,
30004,
13,
6026,
6847,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
518,
29883,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
10644,
29955,
29892,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29900,
1402,
4321,
8452,
29924,
29896,
29918,
10644,
29955,
29889,
29877,
29892,
349,
29950,
29918,
6026,
6847,
29918,
29950,
26433,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
316,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29900,
5262,
30004,
13,
6026,
6847,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
518,
29883,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
29892,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29900,
1402,
4321,
8452,
29924,
29896,
29918,
10644,
29896,
29947,
29889,
29877,
29892,
349,
29950,
29918,
6026,
6847,
29918,
29950,
26433,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
316,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29900,
5262,
30004,
13,
6026,
6847,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
518,
29883,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
29911,
629,
29946,
29900,
29892,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
1402,
4321,
8452,
29924,
29896,
29918,
29911,
629,
29946,
29900,
29889,
29877,
29892,
349,
29950,
29918,
6026,
6847,
29918,
29950,
26433,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29892,
316,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
5262,
30004,
13,
6026,
6847,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
518,
29883,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
29892,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29900,
1402,
4321,
8452,
29924,
29896,
29918,
29911,
629,
29953,
29900,
29889,
29877,
29892,
349,
29950,
29918,
6026,
6847,
29918,
29950,
26433,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
316,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29900,
5262,
30004,
13,
6026,
6847,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
518,
29883,
29918,
8696,
6115,
29918,
27548,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
29892,
274,
29918,
13111,
10376,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
316,
2388,
29918,
4260,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
1402,
4321,
8452,
2303,
29918,
29950,
1182,
29946,
29900,
29889,
29877,
29892,
349,
29950,
29918,
6026,
6847,
29918,
29950,
29956,
4162,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
316,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
5262,
30004,
13,
30004,
13,
30004,
13,
6026,
6847,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
518,
2083,
29898,
29916,
29897,
363,
921,
297,
14319,
10456,
6026,
6847,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
4638,
30004,
13,
6026,
6847,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
518,
2083,
29898,
29916,
29897,
363,
921,
297,
14319,
10456,
6026,
6847,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
4638,
30004,
13,
6026,
6847,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
518,
2083,
29898,
29916,
29897,
363,
921,
297,
14319,
10456,
6026,
6847,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
4638,
30004,
13,
6026,
6847,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
518,
2083,
29898,
29916,
29897,
363,
921,
297,
14319,
10456,
6026,
6847,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
4638,
30004,
13,
6026,
6847,
29918,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
518,
2083,
29898,
29916,
29897,
363,
921,
297,
14319,
10456,
6026,
6847,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
4638,
30004,
13,
30004,
13,
30004,
13,
29937,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
30004,
13,
6026,
6847,
29918,
3210,
29946,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
316,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29900,
29962,
30004,
13,
30004,
13,
30004,
13,
29937,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
30004,
13,
6026,
6847,
29918,
3210,
29946,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
316,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29900,
29962,
30004,
13,
30004,
13,
29937,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
30004,
13,
6026,
6847,
29918,
3210,
29946,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
316,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
29962,
30004,
13,
30004,
13,
29937,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
30004,
13,
6026,
6847,
29918,
3210,
29946,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
316,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29900,
29962,
30004,
13,
30004,
13,
29937,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
30004,
13,
6026,
6847,
29918,
3210,
29946,
29918,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
316,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
29962,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
29937,
14448,
313,
29929,
1125,
3251,
403,
278,
10616,
934,
313,
331,
6847,
29918,
11762,
29918,
1557,
264,
8596,
29889,
20267,
29916,
29897,
515,
16696,
313,
29947,
29897,
13944,
30004,
13,
30004,
13,
30004,
13,
29937,
2158,
1629,
1897,
30004,
13,
6360,
353,
5159,
30004,
13,
1454,
921,
297,
3464,
313,
29900,
29892,
15886,
1125,
30004,
13,
1678,
1629,
29889,
4397,
29898,
29916,
8443,
13,
2158,
313,
6360,
8443,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
2158,
5868,
29946,
25477,
1897,
30004,
13,
5215,
4256,
8504,
30004,
13,
20155,
353,
518,
29900,
29962,
30004,
13,
6026,
6847,
29918,
3210,
29946,
353,
1051,
29898,
1524,
8504,
29889,
14153,
29889,
3166,
29918,
1524,
519,
29898,
1524,
8504,
29889,
14358,
29898,
29916,
29892,
15886,
29897,
363,
921,
297,
24471,
876,
30004,
13,
2158,
29898,
6026,
6847,
29918,
3210,
29946,
8443,
13,
30004,
13,
30004,
13,
29937,
2158,
25477,
2143,
6756,
13,
20155,
29896,
353,
518,
29900,
29962,
30004,
13,
6026,
2333,
29918,
999,
353,
1051,
29898,
1524,
8504,
29889,
14153,
29889,
3166,
29918,
1524,
519,
29898,
1524,
8504,
29889,
14358,
29898,
29916,
29892,
15886,
29897,
363,
921,
297,
24471,
29896,
876,
30004,
13,
2158,
29898,
6026,
2333,
29918,
999,
8443,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
6506,
278,
937,
1543,
411,
29871,
29896,
304,
13530,
278,
25477,
3407,
408,
1629,
29871,
29900,
313,
1454,
270,
948,
29954,
26433,
13944,
8443,
13,
6026,
2333,
29918,
999,
29961,
29900,
29962,
353,
29871,
29896,
30004,
13,
2158,
29898,
6026,
2333,
29918,
999,
8443,
13,
30004,
13,
30004,
13,
30004,
13,
1625,
29896,
353,
1629,
30004,
13,
1625,
29906,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
2812,
6847,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
30004,
13,
1625,
29906,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
2812,
6847,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
30004,
13,
1625,
29906,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
2812,
6847,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
30004,
13,
1625,
29906,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
2812,
6847,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
30004,
13,
1625,
29906,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
2812,
6847,
29918,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
30004,
13,
30004,
13,
1625,
29941,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
2812,
6847,
29918,
3210,
29946,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
30004,
13,
1625,
29941,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
2812,
6847,
29918,
3210,
29946,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
30004,
13,
1625,
29941,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
2812,
6847,
29918,
3210,
29946,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
30004,
13,
1625,
29941,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
2812,
6847,
29918,
3210,
29946,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
30004,
13,
1625,
29941,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
2812,
6847,
29918,
3210,
29946,
29918,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
30004,
13,
30004,
13,
1625,
29946,
353,
2812,
2333,
29918,
999,
30004,
13,
1625,
29945,
353,
12151,
29918,
1761,
29918,
10644,
29918,
29955,
29891,
30004,
13,
1625,
29953,
353,
12151,
29918,
1761,
29918,
10644,
29918,
29896,
29947,
29891,
30004,
13,
1625,
29955,
353,
12151,
29918,
1761,
29918,
29911,
629,
29918,
29946,
29900,
29891,
30004,
13,
1625,
29947,
353,
12151,
29918,
1761,
29918,
29911,
629,
29918,
29953,
29900,
29891,
30004,
13,
1625,
29929,
353,
12151,
29918,
1761,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
30004,
13,
30004,
13,
29937,
29966,
5813,
3238,
13,
2176,
29896,
29918,
10644,
29918,
29955,
29891,
353,
10518,
29889,
17271,
29889,
3166,
29918,
8977,
3319,
29915,
12883,
2396,
1625,
29896,
5501,
9415,
29918,
3217,
29906,
2396,
1625,
29906,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
5501,
9415,
29918,
3210,
29946,
2396,
1625,
29941,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
5501,
9415,
29918,
3217,
29906,
29918,
11762,
2396,
1625,
29945,
5501,
331,
2333,
29918,
999,
2396,
1625,
29946,
1800,
30004,
13,
2176,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
10518,
29889,
17271,
29889,
3166,
29918,
8977,
3319,
29915,
12883,
2396,
1625,
29896,
5501,
9415,
29918,
3217,
29906,
2396,
1625,
29906,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
5501,
9415,
29918,
3210,
29946,
2396,
1625,
29941,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
5501,
9415,
29918,
3217,
29906,
29918,
11762,
2396,
1625,
29953,
5501,
331,
2333,
29918,
999,
2396,
1625,
29946,
1800,
30004,
13,
30004,
13,
29937,
29966,
5813,
3238,
13,
2176,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
10518,
29889,
17271,
29889,
3166,
29918,
8977,
3319,
29915,
12883,
2396,
1625,
29896,
5501,
9415,
29918,
3217,
29906,
2396,
1625,
29906,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
5501,
9415,
29918,
3210,
29946,
2396,
1625,
29941,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
5501,
9415,
29918,
3217,
29906,
29918,
11762,
2396,
1625,
29955,
5501,
331,
2333,
29918,
999,
2396,
1625,
29946,
1800,
30004,
13,
2176,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
10518,
29889,
17271,
29889,
3166,
29918,
8977,
3319,
29915,
12883,
2396,
1625,
29896,
5501,
9415,
29918,
3217,
29906,
2396,
1625,
29906,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
5501,
9415,
29918,
3210,
29946,
2396,
1625,
29941,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
5501,
9415,
29918,
3217,
29906,
29918,
11762,
2396,
1625,
29947,
5501,
331,
2333,
29918,
999,
2396,
1625,
29946,
1800,
30004,
13,
30004,
13,
29937,
29966,
5813,
3238,
13,
2176,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
10518,
29889,
17271,
29889,
3166,
29918,
8977,
3319,
29915,
12883,
2396,
1625,
29896,
5501,
9415,
29918,
3217,
29906,
2396,
1625,
29906,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
5501,
9415,
29918,
3210,
29946,
2396,
1625,
29941,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
5501,
9415,
29918,
3217,
29906,
29918,
11762,
2396,
1625,
29929,
5501,
331,
2333,
29918,
999,
2396,
1625,
29946,
1800,
30004,
13,
30004,
13,
30004,
13,
13236,
353,
10518,
29889,
22926,
10507,
877,
331,
6847,
29918,
11762,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29889,
20267,
29916,
742,
6012,
353,
525,
20267,
29916,
13236,
1495,
30004,
13,
30004,
13,
2176,
29896,
29918,
10644,
29918,
29955,
29891,
29889,
517,
29918,
24633,
29898,
13236,
29892,
9869,
29918,
978,
353,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
742,
4839,
29922,
5574,
29892,
2380,
29922,
8824,
1723,
30004,
13,
2176,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29889,
517,
29918,
24633,
29898,
13236,
29892,
9869,
29918,
978,
353,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
742,
4839,
29922,
5574,
29892,
2380,
29922,
8824,
8443,
13,
2176,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29889,
517,
29918,
24633,
29898,
13236,
29892,
9869,
29918,
978,
353,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
742,
4839,
29922,
5574,
29892,
2380,
29922,
8824,
8443,
13,
2176,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29889,
517,
29918,
24633,
29898,
13236,
29892,
9869,
29918,
978,
353,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
742,
4839,
29922,
5574,
29892,
2380,
29922,
8824,
8443,
13,
2176,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29889,
517,
29918,
24633,
29898,
13236,
29892,
9869,
29918,
978,
353,
525,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
742,
4839,
29922,
5574,
29892,
2380,
29922,
8824,
8443,
13,
30004,
13,
30004,
13,
13236,
29889,
7620,
26471,
13,
13236,
29889,
5358,
26471,
13,
30004,
13,
30004,
13,
29937,
2176,
29896,
29889,
517,
29918,
24633,
877,
1688,
29889,
20267,
29916,
742,
525,
3433,
695,
1041,
742,
4839,
29922,
5574,
29892,
2380,
29922,
8824,
8443,
13,
30004,
13,
30004,
13,
29937,
2176,
29906,
29889,
517,
29918,
24633,
877,
1688,
29889,
20267,
29916,
742,
525,
572,
25392,
742,
4839,
29922,
5574,
29892,
2380,
29922,
8824,
8443,
13,
30004,
13,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
2277,
360,
29979,
3521,
29924,
2965,
365,
5454,
30004,
13,
30004,
13,
29937,
16696,
313,
29896,
29900,
1125,
3789,
4593,
12662,
2699,
363,
27747,
365,
5454,
13944,
30004,
13,
30004,
13,
29874,
3210,
29946,
353,
29871,
29900,
29889,
29896,
29906,
29929,
29929,
29945,
29955,
29872,
29899,
29896,
29906,
29936,
1678,
396,
286,
621,
1662,
448,
14426,
23584,
17937,
1230,
28172,
639,
5190,
4158,
518,
29956,
29914,
29885,
29906,
847,
9415,
3210,
29946,
29962,
30004,
13,
29911,
585,
3210,
29946,
353,
29871,
29896,
29906,
29936,
1678,
396,
286,
621,
1662,
448,
25423,
313,
6360,
29879,
8443,
13,
29874,
3217,
29906,
353,
29871,
29900,
29889,
29900,
29900,
29896,
29947,
29900,
29947,
29947,
29872,
29899,
29896,
29906,
29936,
1678,
396,
4810,
29906,
448,
14426,
23584,
17937,
1230,
28172,
639,
5190,
4158,
518,
29956,
29914,
29885,
29906,
847,
9415,
3217,
29906,
29962,
30004,
13,
29911,
585,
3217,
29906,
353,
518,
29896,
29955,
29906,
29889,
29929,
29892,
259,
29896,
29947,
29889,
29945,
29896,
29892,
259,
29896,
29889,
29896,
29947,
29953,
1385,
1678,
396,
4810,
29906,
4128,
5034,
304,
6209,
22004,
11412,
29899,
695,
6490,
1904,
30004,
13,
29874,
29933,
824,
353,
518,
29900,
29889,
29906,
29945,
29929,
29892,
29871,
29900,
29889,
29941,
29941,
29947,
29892,
29871,
29900,
29889,
29896,
29947,
29953,
1385,
4706,
396,
4810,
29906,
4128,
5034,
304,
6209,
22004,
11412,
29899,
695,
6490,
1904,
30004,
13,
29874,
29900,
29933,
824,
353,
29871,
29900,
29889,
29906,
29896,
29955,
29936,
462,
268,
396,
4810,
29906,
4128,
5034,
304,
6209,
22004,
11412,
29899,
695,
6490,
1904,
30004,
13,
13264,
353,
29871,
29906,
29900,
29906,
462,
965,
396,
29305,
29871,
29906,
29900,
29906,
1363,
591,
864,
304,
679,
278,
360,
9207,
29898,
29873,
29899,
29875,
29897,
2745,
360,
9207,
29898,
29906,
29900,
29896,
29897,
304,
8161,
278,
10879,
515,
278,
25477,
515,
278,
1629,
29871,
29906,
29900,
29900,
313,
8439,
338,
694,
360,
9207,
29898,
29900,
876,
30004,
13,
30004,
13,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
29937,
14448,
313,
29896,
29896,
1125,
6209,
29871,
29906,
29889,
29945,
19178,
8125,
29892,
8161,
15489,
8096,
293,
2254,
313,
29907,
29898,
29873,
876,
363,
402,
29950,
29954,
313,
3217,
29906,
322,
5868,
29946,
8443,
13,
30004,
13,
29873,
353,
3464,
29898,
29900,
29892,
13264,
29892,
29896,
8443,
13,
30004,
13,
30004,
13,
2277,
4810,
29906,
13944,
7063,
30004,
13,
29937,
931,
1401,
5818,
15489,
8096,
293,
2254,
363,
4810,
29906,
29892,
6209,
1904,
30004,
13,
1753,
315,
29918,
3217,
29906,
29898,
29873,
1125,
30004,
13,
1678,
736,
263,
29900,
29933,
824,
718,
263,
29933,
824,
29961,
29900,
14178,
9302,
29889,
4548,
6278,
29873,
29914,
29911,
585,
3217,
29906,
29961,
29900,
2314,
718,
263,
29933,
824,
29961,
29896,
14178,
9302,
29889,
4548,
6278,
29873,
29914,
29911,
585,
3217,
29906,
29961,
29896,
2314,
718,
263,
29933,
824,
29961,
29906,
14178,
9302,
29889,
4548,
6278,
29873,
29914,
29911,
585,
3217,
29906,
29961,
29906,
2314,
30004,
13,
30004,
13,
4905,
29918,
3217,
29906,
353,
7442,
29889,
2378,
4197,
29907,
29918,
3217,
29906,
29898,
2034,
29897,
363,
19538,
297,
260,
2314,
30004,
13,
30004,
13,
2158,
29898,
4905,
29918,
3217,
29906,
8443,
13,
30004,
13,
30004,
13,
2277,
5868,
29946,
13944,
7063,
30004,
13,
29937,
931,
1401,
5818,
15489,
8096,
293,
2254,
363,
1661,
29899,
3217,
29906,
402,
29950,
29954,
29879,
313,
29924,
621,
1662,
8443,
13,
1753,
315,
29918,
3210,
29946,
29898,
29873,
1125,
30004,
13,
1678,
736,
7442,
29889,
4548,
6278,
29873,
29914,
29911,
585,
3210,
29946,
8443,
13,
30004,
13,
4905,
29918,
3210,
29946,
353,
7442,
29889,
2378,
4197,
29907,
29918,
3210,
29946,
29898,
2034,
29897,
363,
19538,
297,
260,
2314,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
572,
29873,
29889,
29916,
2576,
4197,
29900,
29892,
29871,
29906,
29900,
29900,
2314,
30004,
13,
572,
29873,
29889,
29891,
2576,
4197,
29900,
29892,
29896,
29889,
29896,
2314,
30004,
13,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
1962,
29918,
3217,
29906,
29892,
1962,
29918,
3210,
29946,
8443,
13,
30004,
13,
30004,
13,
572,
29873,
29889,
29916,
1643,
877,
2481,
313,
6360,
29897,
1495,
30004,
13,
572,
29873,
29889,
29891,
1643,
877,
29943,
13857,
310,
4810,
14630,
29906,
29938,
1495,
30004,
13,
30004,
13,
572,
29873,
29889,
4294,
26471,
13,
30004,
13,
30004,
13,
4905,
29918,
3210,
29946,
29889,
2311,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
29937,
4801,
837,
457,
278,
315,
29898,
29873,
29897,
363,
4810,
29906,
30004,
13,
29879,
353,
5159,
30004,
13,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
29900,
29892,
13264,
29892,
29896,
8443,
13,
30004,
13,
1454,
474,
297,
260,
29901,
30004,
13,
1678,
269,
29889,
4397,
29898,
3425,
29898,
29907,
29918,
3217,
29906,
29892,
29875,
29899,
29896,
29892,
29875,
876,
30004,
13,
1678,
6756,
13,
690,
29918,
1761,
29918,
3217,
29906,
353,
518,
29916,
29961,
29900,
29962,
363,
921,
297,
269,
29962,
30004,
13,
30004,
13,
2435,
29898,
690,
29918,
1761,
29918,
3217,
29906,
8443,
13,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
29937,
4801,
837,
457,
278,
315,
29898,
29873,
29897,
363,
5868,
29946,
30004,
13,
29879,
353,
5159,
30004,
13,
30004,
13,
1454,
474,
297,
260,
29901,
30004,
13,
1678,
269,
29889,
4397,
29898,
3425,
29898,
29907,
29918,
3210,
29946,
29892,
29875,
29899,
29896,
29892,
29875,
876,
30004,
13,
30004,
13,
690,
29918,
1761,
29918,
3210,
29946,
353,
518,
29886,
29961,
29900,
29962,
363,
282,
297,
269,
29962,
30004,
13,
30004,
13,
30004,
13,
29937,
5317,
30004,
13,
572,
29873,
29889,
29916,
2576,
4197,
29900,
29892,
29871,
29906,
29900,
29900,
2314,
30004,
13,
572,
29873,
29889,
29891,
2576,
4197,
29900,
29892,
29896,
29889,
29945,
2314,
30004,
13,
30004,
13,
6756,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
620,
29918,
1761,
29918,
3217,
29906,
29892,
620,
29918,
1761,
29918,
3210,
29946,
8443,
13,
572,
29873,
29889,
4294,
26471,
13,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
29937,
14448,
313,
29896,
29906,
1125,
5953,
837,
457,
7343,
2931,
2133,
13879,
313,
29928,
9207,
29897,
363,
4810,
29906,
322,
5868,
29946,
30004,
13,
30004,
13,
29928,
9207,
29918,
2611,
29918,
3217,
29906,
353,
263,
3217,
29906,
334,
7442,
29889,
2378,
29898,
690,
29918,
1761,
29918,
3217,
29906,
8443,
13,
30004,
13,
30004,
13,
2158,
29898,
29928,
9207,
29918,
2611,
29918,
3217,
29906,
8443,
13,
30004,
13,
30004,
13,
29928,
9207,
29918,
2611,
29918,
3210,
29946,
353,
263,
3210,
29946,
334,
7442,
29889,
2378,
29898,
690,
29918,
1761,
29918,
3210,
29946,
8443,
13,
30004,
13,
30004,
13,
572,
29873,
29889,
29916,
2576,
4197,
29900,
29892,
29871,
29906,
29900,
29900,
2314,
30004,
13,
572,
29873,
29889,
29891,
2576,
4197,
29900,
29892,
29946,
29872,
29899,
29896,
29945,
2314,
30004,
13,
30004,
13,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
360,
9207,
29918,
2611,
29918,
3217,
29906,
29892,
360,
9207,
29918,
2611,
29918,
3210,
29946,
8443,
13,
572,
29873,
29889,
29916,
1643,
877,
2481,
313,
6360,
29897,
1495,
30004,
13,
572,
29873,
29889,
29891,
1643,
877,
29928,
9207,
29918,
2611,
313,
29896,
29900,
29938,
3426,
29896,
29945,
1042,
399,
29914,
29885,
29938,
29985,
29906,
1504,
9415,
4810,
14630,
29906,
10931,
1495,
30004,
13,
572,
29873,
29889,
4294,
26471,
13,
30004,
13,
2435,
29898,
29928,
9207,
29918,
2611,
29918,
3217,
29906,
8443,
13,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
29937,
14448,
313,
29896,
29941,
1125,
1053,
25477,
848,
515,
953,
6847,
29918,
11762,
29918,
1557,
264,
8596,
29889,
20267,
29916,
313,
14448,
313,
29929,
876,
30004,
13,
30004,
13,
2277,
6115,
29899,
6707,
30004,
13,
29937,
949,
317,
29896,
29918,
10644,
29918,
29955,
29891,
30004,
13,
2176,
353,
10518,
29889,
949,
29918,
24633,
877,
331,
6847,
29918,
11762,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
1495,
396,
508,
884,
2380,
9869,
491,
1024,
470,
6699,
599,
26718,
30004,
13,
331,
2333,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
4489,
1839,
9415,
29918,
3217,
29906,
13359,
25027,
391,
26471,
13,
331,
2333,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
4489,
1839,
9415,
29918,
3210,
29946,
13359,
25027,
391,
26471,
13,
331,
2333,
29918,
3217,
29906,
29918,
11762,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
4489,
1839,
9415,
29918,
3217,
29906,
29918,
11762,
13359,
25027,
391,
26471,
13,
30004,
13,
331,
2333,
29918,
3217,
29906,
29918,
999,
353,
4489,
1839,
331,
2333,
29918,
999,
13359,
25027,
391,
580,
6756,
13,
30004,
13,
29937,
949,
317,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
30004,
13,
2176,
353,
10518,
29889,
949,
29918,
24633,
877,
331,
6847,
29918,
11762,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
1495,
30004,
13,
331,
2333,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
4489,
1839,
9415,
29918,
3217,
29906,
13359,
25027,
391,
26471,
13,
331,
2333,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
4489,
1839,
9415,
29918,
3210,
29946,
13359,
25027,
391,
26471,
13,
331,
2333,
29918,
3217,
29906,
29918,
11762,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
4489,
1839,
9415,
29918,
3217,
29906,
29918,
11762,
13359,
25027,
391,
26471,
13,
30004,
13,
30004,
13,
29937,
949,
317,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
30004,
13,
2176,
353,
10518,
29889,
949,
29918,
24633,
877,
331,
6847,
29918,
11762,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
1495,
396,
508,
884,
2380,
9869,
491,
1024,
470,
6699,
599,
26718,
30004,
13,
331,
2333,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
4489,
1839,
9415,
29918,
3217,
29906,
13359,
25027,
391,
26471,
13,
331,
2333,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
4489,
1839,
9415,
29918,
3210,
29946,
13359,
25027,
391,
26471,
13,
331,
2333,
29918,
3217,
29906,
29918,
11762,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
4489,
1839,
9415,
29918,
3217,
29906,
29918,
11762,
13359,
25027,
391,
26471,
13,
30004,
13,
29937,
949,
317,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
30004,
13,
2176,
353,
10518,
29889,
949,
29918,
24633,
877,
331,
6847,
29918,
11762,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
1495,
30004,
13,
331,
2333,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
4489,
1839,
9415,
29918,
3217,
29906,
13359,
25027,
391,
26471,
13,
331,
2333,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
4489,
1839,
9415,
29918,
3210,
29946,
13359,
25027,
391,
26471,
13,
331,
2333,
29918,
3217,
29906,
29918,
11762,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
4489,
1839,
9415,
29918,
3217,
29906,
29918,
11762,
13359,
25027,
391,
26471,
13,
30004,
13,
30004,
13,
29937,
949,
382,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
30004,
13,
2176,
353,
10518,
29889,
949,
29918,
24633,
877,
331,
6847,
29918,
11762,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
1495,
396,
508,
884,
2380,
9869,
491,
1024,
470,
6699,
599,
26718,
30004,
13,
331,
2333,
29918,
3217,
29906,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
4489,
1839,
9415,
29918,
3217,
29906,
13359,
25027,
391,
26471,
13,
331,
2333,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
4489,
1839,
9415,
29918,
3210,
29946,
13359,
25027,
391,
26471,
13,
331,
2333,
29918,
3217,
29906,
29918,
11762,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
4489,
1839,
9415,
29918,
3217,
29906,
29918,
11762,
13359,
25027,
391,
26471,
13,
30004,
13,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
29937,
14448,
313,
29896,
29946,
1125,
1053,
25477,
848,
515,
278,
6795,
29899,
1509,
310,
1661,
29899,
1267,
809,
519,
17279,
29914,
27548,
21846,
313,
16514,
8443,
13,
30004,
13,
30004,
13,
29937,
949,
317,
29896,
29918,
10644,
29918,
29955,
29891,
30004,
13,
2176,
353,
10518,
29889,
949,
29918,
24633,
877,
12283,
29934,
29956,
29918,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
1495,
30004,
13,
331,
6847,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
4489,
1839,
12283,
29934,
29956,
29918,
331,
6847,
13359,
25027,
391,
26471,
13,
331,
6847,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29918,
11762,
353,
4489,
1839,
9415,
29918,
3217,
29906,
29918,
11762,
13359,
25027,
391,
26471,
13,
30004,
13,
331,
2333,
29918,
3217,
29906,
29918,
999,
353,
4489,
1839,
331,
2333,
29918,
999,
13359,
25027,
391,
580,
6756,
13,
30004,
13,
30004,
13,
29937,
949,
317,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
30004,
13,
2176,
353,
10518,
29889,
949,
29918,
24633,
877,
12283,
29934,
29956,
29918,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
1495,
30004,
13,
331,
6847,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
4489,
1839,
12283,
29934,
29956,
29918,
331,
6847,
13359,
25027,
391,
26471,
13,
331,
6847,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29918,
11762,
353,
4489,
1839,
9415,
29918,
3217,
29906,
29918,
11762,
13359,
25027,
391,
26471,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
949,
317,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
30004,
13,
2176,
353,
10518,
29889,
949,
29918,
24633,
877,
12283,
29934,
29956,
29918,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
1495,
396,
508,
884,
2380,
9869,
491,
1024,
470,
6699,
599,
26718,
30004,
13,
331,
6847,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
4489,
1839,
12283,
29934,
29956,
29918,
331,
6847,
13359,
25027,
391,
26471,
13,
331,
6847,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29918,
11762,
353,
4489,
1839,
9415,
29918,
3217,
29906,
29918,
11762,
13359,
25027,
391,
26471,
13,
30004,
13,
30004,
13,
29937,
949,
317,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
30004,
13,
2176,
353,
10518,
29889,
949,
29918,
24633,
877,
12283,
29934,
29956,
29918,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
1495,
30004,
13,
331,
6847,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
4489,
1839,
12283,
29934,
29956,
29918,
331,
6847,
13359,
25027,
391,
26471,
13,
331,
6847,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29918,
11762,
353,
4489,
1839,
9415,
29918,
3217,
29906,
29918,
11762,
13359,
25027,
391,
26471,
13,
30004,
13,
30004,
13,
29937,
949,
382,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
30004,
13,
2176,
353,
10518,
29889,
949,
29918,
24633,
877,
12283,
29934,
29956,
29918,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
1495,
396,
508,
884,
2380,
9869,
491,
1024,
470,
6699,
599,
26718,
30004,
13,
331,
6847,
29918,
12283,
29934,
29956,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
4489,
1839,
12283,
29934,
29956,
29918,
331,
6847,
13359,
25027,
391,
26471,
13,
331,
6847,
29918,
12283,
29934,
29956,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29918,
11762,
353,
4489,
1839,
9415,
29918,
3217,
29906,
29918,
11762,
13359,
25027,
391,
26471,
13,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
29937,
14448,
313,
29896,
29945,
1125,
5953,
837,
457,
278,
931,
560,
28170,
7343,
2931,
2133,
13879,
29892,
360,
9207,
29898,
29873,
29899,
2034,
511,
363,
4810,
29906,
322,
5868,
29946,
30004,
13,
30004,
13,
29937,
29928,
9207,
29898,
29873,
29899,
29875,
29897,
4810,
29906,
30004,
13,
5344,
353,
313,
13264,
29899,
29896,
29892,
13264,
29899,
29896,
8443,
13,
29928,
9207,
29918,
3217,
29906,
29918,
2034,
353,
7442,
29889,
3298,
359,
29898,
5344,
8443,
13,
30004,
13,
1454,
260,
297,
3464,
29898,
29900,
29892,
13264,
29899,
29896,
1125,
30004,
13,
1678,
474,
353,
448,
29896,
30004,
13,
1678,
1550,
474,
529,
260,
29901,
30004,
13,
4706,
360,
9207,
29918,
3217,
29906,
29918,
2034,
29961,
29875,
29974,
29896,
29892,
29873,
29962,
353,
360,
9207,
29918,
2611,
29918,
3217,
29906,
29961,
29873,
29899,
29875,
29962,
30004,
13,
4706,
474,
353,
474,
718,
29871,
29896,
30004,
13,
30004,
13,
2158,
29898,
29928,
9207,
29918,
3217,
29906,
29918,
2034,
8443,
13,
30004,
13,
29937,
29879,
1983,
29889,
354,
271,
1958,
29898,
29928,
9207,
29918,
3217,
29906,
29918,
2034,
8443,
13,
30004,
13,
29928,
9207,
29918,
3217,
29906,
29918,
2034,
29889,
12181,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
29928,
9207,
29898,
29873,
29899,
29875,
29897,
5868,
29946,
30004,
13,
5344,
353,
313,
13264,
29899,
29896,
29892,
13264,
29899,
29896,
8443,
13,
29928,
9207,
29918,
3210,
29946,
29918,
2034,
353,
7442,
29889,
3298,
359,
29898,
5344,
8443,
13,
30004,
13,
1454,
260,
297,
3464,
29898,
29900,
29892,
13264,
29899,
29896,
1125,
30004,
13,
1678,
474,
353,
448,
29896,
30004,
13,
1678,
1550,
474,
529,
260,
29901,
30004,
13,
4706,
360,
9207,
29918,
3210,
29946,
29918,
2034,
29961,
29875,
29974,
29896,
29892,
29873,
29962,
353,
360,
9207,
29918,
2611,
29918,
3210,
29946,
29961,
29873,
29899,
29875,
29962,
30004,
13,
4706,
474,
353,
474,
718,
29871,
29896,
30004,
13,
30004,
13,
2158,
29898,
29928,
9207,
29918,
3210,
29946,
29918,
2034,
8443,
13,
29937,
29879,
1983,
29889,
354,
271,
1958,
29898,
29928,
9207,
29918,
3210,
29946,
29918,
2034,
8443,
13,
30004,
13,
29928,
9207,
29918,
3210,
29946,
29918,
2034,
29889,
12181,
30004,
13,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
29937,
16696,
313,
29896,
29953,
1125,
20535,
403,
14426,
23584,
5534,
1370,
4056,
10879,
313,
29954,
22119,
29897,
6756,
13,
30004,
13,
2277,
29956,
2092,
29899,
6707,
30004,
13,
29937,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
29900,
29892,
13264,
29899,
29896,
29892,
29896,
8443,
13,
30004,
13,
5344,
29918,
29954,
22119,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
313,
13264,
29899,
29896,
29892,
29941,
8443,
13,
29954,
22119,
29918,
2611,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
29954,
22119,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
8443,
13,
30004,
13,
30004,
13,
30004,
13,
1454,
260,
297,
3464,
29898,
29900,
29892,
13264,
29899,
29896,
1125,
30004,
13,
1678,
402,
22119,
29918,
2611,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29961,
29873,
29892,
29900,
29962,
353,
7442,
29889,
2083,
29898,
9302,
29889,
18056,
368,
29898,
331,
2333,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
29928,
9207,
29918,
3217,
29906,
29918,
2034,
7503,
29892,
29873,
12622,
30004,
13,
1678,
402,
22119,
29918,
2611,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29961,
29873,
29892,
29896,
29962,
353,
7442,
29889,
2083,
29898,
9302,
29889,
18056,
368,
29898,
331,
2333,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
29928,
9207,
29918,
3210,
29946,
29918,
2034,
7503,
29892,
29873,
12622,
30004,
13,
1678,
402,
22119,
29918,
2611,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29961,
29873,
29892,
29906,
29962,
353,
7442,
29889,
2083,
29898,
9302,
29889,
18056,
368,
29898,
331,
2333,
29918,
3217,
29906,
29918,
11762,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
29928,
9207,
29918,
3217,
29906,
29918,
2034,
7503,
29892,
29873,
12622,
30004,
13,
30004,
13,
30004,
13,
1678,
6756,
13,
5344,
29918,
29954,
22119,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
313,
13264,
29899,
29896,
29892,
29896,
8443,
13,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
29954,
22119,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
8443,
13,
30004,
13,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29900,
29962,
353,
7442,
29889,
2378,
29898,
29954,
22119,
29918,
2611,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29900,
29962,
718,
402,
22119,
29918,
2611,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29896,
29962,
718,
402,
22119,
29918,
2611,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29906,
2314,
30004,
13,
29871,
6756,
13,
2158,
29898,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29900,
2314,
30004,
13,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
29900,
29892,
13264,
29899,
29896,
29892,
29896,
8443,
13,
30004,
13,
29937,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
29900,
29892,
13264,
29899,
29896,
29892,
29896,
8443,
13,
30004,
13,
5344,
29918,
29954,
22119,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
313,
13264,
29899,
29896,
29892,
29941,
8443,
13,
29954,
22119,
29918,
2611,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
29954,
22119,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
8443,
13,
30004,
13,
30004,
13,
30004,
13,
1454,
260,
297,
3464,
29898,
29900,
29892,
13264,
29899,
29896,
1125,
30004,
13,
1678,
402,
22119,
29918,
2611,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29961,
29873,
29892,
29900,
29962,
353,
7442,
29889,
2083,
29898,
9302,
29889,
18056,
368,
29898,
331,
2333,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
29928,
9207,
29918,
3217,
29906,
29918,
2034,
7503,
29892,
29873,
12622,
30004,
13,
1678,
402,
22119,
29918,
2611,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29961,
29873,
29892,
29896,
29962,
353,
7442,
29889,
2083,
29898,
9302,
29889,
18056,
368,
29898,
331,
2333,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
29928,
9207,
29918,
3210,
29946,
29918,
2034,
7503,
29892,
29873,
12622,
30004,
13,
1678,
402,
22119,
29918,
2611,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29961,
29873,
29892,
29906,
29962,
353,
7442,
29889,
2083,
29898,
9302,
29889,
18056,
368,
29898,
331,
2333,
29918,
3217,
29906,
29918,
11762,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
29928,
9207,
29918,
3217,
29906,
29918,
2034,
7503,
29892,
29873,
12622,
30004,
13,
30004,
13,
5344,
29918,
29954,
22119,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
313,
13264,
29899,
29896,
29892,
29896,
8443,
13,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
29954,
22119,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
8443,
13,
30004,
13,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29900,
29962,
353,
7442,
29889,
2378,
29898,
29954,
22119,
29918,
2611,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29900,
29962,
718,
402,
22119,
29918,
2611,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29896,
29962,
718,
402,
22119,
29918,
2611,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29906,
2314,
30004,
13,
29871,
6756,
13,
2158,
29898,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29900,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
29900,
29892,
13264,
29899,
29896,
29892,
29896,
8443,
13,
30004,
13,
5344,
29918,
29954,
22119,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
313,
13264,
29899,
29896,
29892,
29941,
8443,
13,
29954,
22119,
29918,
2611,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
29954,
22119,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
8443,
13,
30004,
13,
30004,
13,
30004,
13,
1454,
260,
297,
3464,
29898,
29900,
29892,
13264,
29899,
29896,
1125,
30004,
13,
1678,
402,
22119,
29918,
2611,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29961,
29873,
29892,
29900,
29962,
353,
7442,
29889,
2083,
29898,
9302,
29889,
18056,
368,
29898,
331,
2333,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29892,
29928,
9207,
29918,
3217,
29906,
29918,
2034,
7503,
29892,
29873,
12622,
30004,
13,
1678,
402,
22119,
29918,
2611,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29961,
29873,
29892,
29896,
29962,
353,
7442,
29889,
2083,
29898,
9302,
29889,
18056,
368,
29898,
331,
2333,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29892,
29928,
9207,
29918,
3210,
29946,
29918,
2034,
7503,
29892,
29873,
12622,
30004,
13,
1678,
402,
22119,
29918,
2611,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29961,
29873,
29892,
29906,
29962,
353,
7442,
29889,
2083,
29898,
9302,
29889,
18056,
368,
29898,
331,
2333,
29918,
3217,
29906,
29918,
11762,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29892,
29928,
9207,
29918,
3217,
29906,
29918,
2034,
7503,
29892,
29873,
12622,
30004,
13,
30004,
13,
5344,
29918,
29954,
22119,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
313,
13264,
29899,
29896,
29892,
29896,
8443,
13,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
29954,
22119,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
8443,
13,
30004,
13,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
29962,
353,
7442,
29889,
2378,
29898,
29954,
22119,
29918,
2611,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
29962,
718,
402,
22119,
29918,
2611,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29896,
29962,
718,
402,
22119,
29918,
2611,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29906,
2314,
30004,
13,
29871,
6756,
13,
2158,
29898,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
2314,
30004,
13,
30004,
13,
29937,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
29900,
29892,
13264,
29899,
29896,
29892,
29896,
8443,
13,
30004,
13,
5344,
29918,
29954,
22119,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
313,
13264,
29899,
29896,
29892,
29941,
8443,
13,
29954,
22119,
29918,
2611,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
29954,
22119,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
8443,
13,
30004,
13,
30004,
13,
30004,
13,
1454,
260,
297,
3464,
29898,
29900,
29892,
13264,
29899,
29896,
1125,
30004,
13,
1678,
402,
22119,
29918,
2611,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29961,
29873,
29892,
29900,
29962,
353,
7442,
29889,
2083,
29898,
9302,
29889,
18056,
368,
29898,
331,
2333,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
29928,
9207,
29918,
3217,
29906,
29918,
2034,
7503,
29892,
29873,
12622,
30004,
13,
1678,
402,
22119,
29918,
2611,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29961,
29873,
29892,
29896,
29962,
353,
7442,
29889,
2083,
29898,
9302,
29889,
18056,
368,
29898,
331,
2333,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
29928,
9207,
29918,
3210,
29946,
29918,
2034,
7503,
29892,
29873,
12622,
30004,
13,
1678,
402,
22119,
29918,
2611,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29961,
29873,
29892,
29906,
29962,
353,
7442,
29889,
2083,
29898,
9302,
29889,
18056,
368,
29898,
331,
2333,
29918,
3217,
29906,
29918,
11762,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
29928,
9207,
29918,
3217,
29906,
29918,
2034,
7503,
29892,
29873,
12622,
30004,
13,
30004,
13,
5344,
29918,
29954,
22119,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
313,
13264,
29899,
29896,
29892,
29896,
8443,
13,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
29954,
22119,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
8443,
13,
30004,
13,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29900,
29962,
353,
7442,
29889,
2378,
29898,
29954,
22119,
29918,
2611,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29900,
29962,
718,
402,
22119,
29918,
2611,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29896,
29962,
718,
402,
22119,
29918,
2611,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29906,
2314,
30004,
13,
29871,
6756,
13,
2158,
29898,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29900,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
29900,
29892,
13264,
29899,
29896,
29892,
29896,
8443,
13,
30004,
13,
5344,
29918,
29954,
22119,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
313,
13264,
29899,
29896,
29892,
29941,
8443,
13,
29954,
22119,
29918,
2611,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
29954,
22119,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
8443,
13,
30004,
13,
30004,
13,
30004,
13,
1454,
260,
297,
3464,
29898,
29900,
29892,
13264,
29899,
29896,
1125,
30004,
13,
1678,
402,
22119,
29918,
2611,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29961,
29873,
29892,
29900,
29962,
353,
7442,
29889,
2083,
29898,
9302,
29889,
18056,
368,
29898,
331,
2333,
29918,
3217,
29906,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
29928,
9207,
29918,
3217,
29906,
29918,
2034,
7503,
29892,
29873,
12622,
30004,
13,
1678,
402,
22119,
29918,
2611,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29961,
29873,
29892,
29896,
29962,
353,
7442,
29889,
2083,
29898,
9302,
29889,
18056,
368,
29898,
331,
2333,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
29928,
9207,
29918,
3210,
29946,
29918,
2034,
7503,
29892,
29873,
12622,
30004,
13,
1678,
402,
22119,
29918,
2611,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29961,
29873,
29892,
29906,
29962,
353,
7442,
29889,
2083,
29898,
9302,
29889,
18056,
368,
29898,
331,
2333,
29918,
3217,
29906,
29918,
11762,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
29928,
9207,
29918,
3217,
29906,
29918,
2034,
7503,
29892,
29873,
12622,
30004,
13,
30004,
13,
5344,
29918,
29954,
22119,
29918,
4260,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
313,
13264,
29899,
29896,
29892,
29896,
8443,
13,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
29954,
22119,
29918,
4260,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
8443,
13,
30004,
13,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
29962,
353,
7442,
29889,
2378,
29898,
29954,
22119,
29918,
2611,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
29962,
718,
402,
22119,
29918,
2611,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29896,
29962,
718,
402,
22119,
29918,
2611,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29906,
2314,
30004,
13,
29871,
6756,
13,
2158,
29898,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
2314,
30004,
13,
30004,
13,
30004,
13,
2277,
12283,
29934,
29956,
30004,
13,
29937,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
29900,
29892,
13264,
29899,
29896,
29892,
29896,
8443,
13,
30004,
13,
5344,
29918,
29954,
22119,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
313,
13264,
29899,
29896,
29892,
29906,
8443,
13,
29954,
22119,
29918,
2611,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
29954,
22119,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
8443,
13,
30004,
13,
30004,
13,
30004,
13,
1454,
260,
297,
3464,
29898,
29900,
29892,
13264,
29899,
29896,
1125,
30004,
13,
1678,
402,
22119,
29918,
2611,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29961,
29873,
29892,
29900,
29962,
353,
7442,
29889,
2083,
29898,
9302,
29889,
18056,
368,
29898,
331,
6847,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
29928,
9207,
29918,
3217,
29906,
29918,
2034,
7503,
29892,
29873,
12622,
30004,
13,
1678,
402,
22119,
29918,
2611,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29961,
29873,
29892,
29896,
29962,
353,
7442,
29889,
2083,
29898,
9302,
29889,
18056,
368,
29898,
331,
6847,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29918,
11762,
29892,
29928,
9207,
29918,
3217,
29906,
29918,
2034,
7503,
29892,
29873,
12622,
30004,
13,
30004,
13,
30004,
13,
5344,
29918,
29954,
22119,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
313,
13264,
29899,
29896,
29892,
29896,
8443,
13,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
29954,
22119,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
8443,
13,
30004,
13,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29900,
29962,
353,
7442,
29889,
2378,
29898,
29954,
22119,
29918,
2611,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29900,
29962,
718,
402,
22119,
29918,
2611,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29896,
2314,
30004,
13,
2158,
29898,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29900,
2314,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
29900,
29892,
13264,
29899,
29896,
29892,
29896,
8443,
13,
30004,
13,
5344,
29918,
29954,
22119,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
313,
13264,
29899,
29896,
29892,
29906,
8443,
13,
29954,
22119,
29918,
2611,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
29954,
22119,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
8443,
13,
30004,
13,
30004,
13,
30004,
13,
1454,
260,
297,
3464,
29898,
29900,
29892,
13264,
29899,
29896,
1125,
30004,
13,
1678,
402,
22119,
29918,
2611,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29961,
29873,
29892,
29900,
29962,
353,
7442,
29889,
2083,
29898,
9302,
29889,
18056,
368,
29898,
331,
6847,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
29928,
9207,
29918,
3217,
29906,
29918,
2034,
7503,
29892,
29873,
12622,
30004,
13,
1678,
402,
22119,
29918,
2611,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29961,
29873,
29892,
29896,
29962,
353,
7442,
29889,
2083,
29898,
9302,
29889,
18056,
368,
29898,
331,
6847,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29918,
11762,
29892,
29928,
9207,
29918,
3217,
29906,
29918,
2034,
7503,
29892,
29873,
12622,
30004,
13,
30004,
13,
30004,
13,
5344,
29918,
29954,
22119,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
313,
13264,
29899,
29896,
29892,
29896,
8443,
13,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
29954,
22119,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
8443,
13,
30004,
13,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29900,
29962,
353,
7442,
29889,
2378,
29898,
29954,
22119,
29918,
2611,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29900,
29962,
718,
402,
22119,
29918,
2611,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29896,
2314,
30004,
13,
2158,
29898,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29900,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
29900,
29892,
13264,
29899,
29896,
29892,
29896,
8443,
13,
30004,
13,
5344,
29918,
29954,
22119,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
313,
13264,
29899,
29896,
29892,
29906,
8443,
13,
29954,
22119,
29918,
2611,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
29954,
22119,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
8443,
13,
30004,
13,
30004,
13,
30004,
13,
1454,
260,
297,
3464,
29898,
29900,
29892,
13264,
29899,
29896,
1125,
30004,
13,
1678,
402,
22119,
29918,
2611,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29961,
29873,
29892,
29900,
29962,
353,
7442,
29889,
2083,
29898,
9302,
29889,
18056,
368,
29898,
331,
6847,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29892,
29928,
9207,
29918,
3217,
29906,
29918,
2034,
7503,
29892,
29873,
12622,
30004,
13,
1678,
402,
22119,
29918,
2611,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29961,
29873,
29892,
29896,
29962,
353,
7442,
29889,
2083,
29898,
9302,
29889,
18056,
368,
29898,
331,
6847,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29918,
11762,
29892,
29928,
9207,
29918,
3217,
29906,
29918,
2034,
7503,
29892,
29873,
12622,
30004,
13,
30004,
13,
30004,
13,
5344,
29918,
29954,
22119,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
313,
13264,
29899,
29896,
29892,
29896,
8443,
13,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
29954,
22119,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
8443,
13,
30004,
13,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
29962,
353,
7442,
29889,
2378,
29898,
29954,
22119,
29918,
2611,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
29962,
718,
402,
22119,
29918,
2611,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29896,
2314,
30004,
13,
2158,
29898,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
2314,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
29900,
29892,
13264,
29899,
29896,
29892,
29896,
8443,
13,
30004,
13,
5344,
29918,
29954,
22119,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
313,
13264,
29899,
29896,
29892,
29906,
8443,
13,
29954,
22119,
29918,
2611,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
29954,
22119,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
8443,
13,
30004,
13,
30004,
13,
30004,
13,
1454,
260,
297,
3464,
29898,
29900,
29892,
13264,
29899,
29896,
1125,
30004,
13,
1678,
402,
22119,
29918,
2611,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29961,
29873,
29892,
29900,
29962,
353,
7442,
29889,
2083,
29898,
9302,
29889,
18056,
368,
29898,
331,
6847,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
29928,
9207,
29918,
3217,
29906,
29918,
2034,
7503,
29892,
29873,
12622,
30004,
13,
1678,
402,
22119,
29918,
2611,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29961,
29873,
29892,
29896,
29962,
353,
7442,
29889,
2083,
29898,
9302,
29889,
18056,
368,
29898,
331,
6847,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29918,
11762,
29892,
29928,
9207,
29918,
3217,
29906,
29918,
2034,
7503,
29892,
29873,
12622,
30004,
13,
30004,
13,
30004,
13,
5344,
29918,
29954,
22119,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
313,
13264,
29899,
29896,
29892,
29896,
8443,
13,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
29954,
22119,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
8443,
13,
30004,
13,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29900,
29962,
353,
7442,
29889,
2378,
29898,
29954,
22119,
29918,
2611,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29900,
29962,
718,
402,
22119,
29918,
2611,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29896,
2314,
30004,
13,
29871,
6756,
13,
2158,
29898,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29900,
2314,
30004,
13,
30004,
13,
30004,
13,
29937,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
29900,
29892,
13264,
29899,
29896,
29892,
29896,
8443,
13,
30004,
13,
5344,
29918,
29954,
22119,
29918,
12283,
29934,
29956,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
313,
13264,
29899,
29896,
29892,
29906,
8443,
13,
29954,
22119,
29918,
2611,
29918,
12283,
29934,
29956,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
29954,
22119,
29918,
12283,
29934,
29956,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
8443,
13,
30004,
13,
30004,
13,
30004,
13,
1454,
260,
297,
3464,
29898,
29900,
29892,
13264,
29899,
29896,
1125,
30004,
13,
1678,
402,
22119,
29918,
2611,
29918,
12283,
29934,
29956,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29961,
29873,
29892,
29900,
29962,
353,
7442,
29889,
2083,
29898,
9302,
29889,
18056,
368,
29898,
331,
6847,
29918,
12283,
29934,
29956,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
29928,
9207,
29918,
3217,
29906,
29918,
2034,
7503,
29892,
29873,
12622,
30004,
13,
1678,
402,
22119,
29918,
2611,
29918,
12283,
29934,
29956,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29961,
29873,
29892,
29896,
29962,
353,
7442,
29889,
2083,
29898,
9302,
29889,
18056,
368,
29898,
331,
6847,
29918,
12283,
29934,
29956,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29918,
11762,
29892,
29928,
9207,
29918,
3217,
29906,
29918,
2034,
7503,
29892,
29873,
12622,
30004,
13,
30004,
13,
30004,
13,
5344,
29918,
29954,
22119,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
313,
13264,
29899,
29896,
29892,
29896,
8443,
13,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
29954,
22119,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
8443,
13,
30004,
13,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
29962,
353,
7442,
29889,
2378,
29898,
29954,
22119,
29918,
2611,
29918,
12283,
29934,
29956,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
29962,
718,
402,
22119,
29918,
2611,
29918,
12283,
29934,
29956,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29896,
2314,
30004,
13,
29871,
6756,
13,
2158,
29898,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
2314,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
29900,
29892,
13264,
29899,
29896,
29892,
29896,
8443,
13,
30004,
13,
29937,
3258,
5225,
1051,
304,
12141,
278,
14698,
1196,
363,
29871,
29900,
30004,
13,
1753,
503,
261,
324,
391,
28107,
29898,
29876,
1125,
30004,
13,
1678,
1051,
974,
3298,
359,
353,
518,
29900,
29962,
334,
313,
29876,
8443,
13,
1678,
736,
1051,
974,
3298,
359,
30004,
13,
30004,
13,
29937,
13441,
304,
12151,
1051,
30004,
13,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
7442,
29889,
2378,
4197,
667,
363,
1014,
1761,
297,
402,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
363,
2944,
297,
1014,
1761,
2314,
30004,
13,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
7442,
29889,
2378,
4197,
667,
363,
1014,
1761,
297,
402,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
363,
2944,
297,
1014,
1761,
2314,
30004,
13,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
7442,
29889,
2378,
4197,
667,
363,
1014,
1761,
297,
402,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
363,
2944,
297,
1014,
1761,
2314,
30004,
13,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
7442,
29889,
2378,
4197,
667,
363,
1014,
1761,
297,
402,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
363,
2944,
297,
1014,
1761,
2314,
30004,
13,
30004,
13,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
7442,
29889,
2378,
4197,
667,
363,
1014,
1761,
297,
402,
22119,
29918,
2611,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
363,
2944,
297,
1014,
1761,
2314,
30004,
13,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
7442,
29889,
2378,
4197,
667,
363,
1014,
1761,
297,
402,
22119,
29918,
2611,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
363,
2944,
297,
1014,
1761,
2314,
30004,
13,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
7442,
29889,
2378,
4197,
667,
363,
1014,
1761,
297,
402,
22119,
29918,
2611,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
363,
2944,
297,
1014,
1761,
2314,
30004,
13,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
7442,
29889,
2378,
4197,
667,
363,
1014,
1761,
297,
402,
22119,
29918,
2611,
29918,
4260,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
363,
2944,
297,
1014,
1761,
2314,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
402,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
2927,
2433,
324,
573,
742,
3858,
2433,
16514,
29918,
29924,
29918,
11206,
29918,
10644,
29918,
29955,
29891,
742,
19375,
2433,
489,
742,
15595,
29922,
29900,
29889,
29945,
29945,
8443,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
402,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
2927,
2433,
1454,
342,
12692,
742,
3858,
2433,
16514,
29918,
29924,
29918,
11206,
29918,
10644,
29918,
29896,
29947,
29891,
742,
19375,
2433,
489,
742,
15595,
29922,
29900,
29889,
29945,
29945,
8443,
13,
29937,
572,
29873,
29889,
5317,
29898,
29873,
29892,
402,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29892,
2927,
2433,
4366,
2616,
284,
742,
3858,
2433,
16514,
29918,
29924,
29918,
11206,
29918,
29911,
629,
29918,
29946,
29900,
29891,
742,
19375,
2433,
489,
742,
15595,
29922,
29900,
29889,
29945,
29945,
8443,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
402,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
2927,
2433,
311,
29872,
407,
682,
742,
3858,
2433,
16514,
29918,
29924,
29918,
11206,
29918,
29911,
629,
29918,
29953,
29900,
29891,
742,
19375,
2433,
489,
742,
15595,
29922,
29900,
29889,
29945,
29945,
8443,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
402,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
2927,
2433,
307,
4605,
9539,
742,
3858,
2433,
16514,
29918,
29923,
29918,
11206,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
742,
19375,
2433,
489,
742,
15595,
29922,
29900,
29889,
29945,
29945,
8443,
13,
30004,
13,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
402,
22119,
29918,
2611,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
2927,
2433,
324,
573,
742,
3858,
2433,
29924,
29918,
11206,
29918,
10644,
29918,
29955,
29891,
1495,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
402,
22119,
29918,
2611,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
2927,
2433,
1454,
342,
12692,
742,
3858,
2433,
29924,
29918,
11206,
29918,
10644,
29918,
29896,
29947,
29891,
1495,
30004,
13,
29937,
572,
29873,
29889,
5317,
29898,
29873,
29892,
402,
22119,
29918,
2611,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29892,
2927,
2433,
4366,
2616,
284,
742,
3858,
2433,
29924,
29918,
11206,
29918,
29911,
629,
29918,
29946,
29900,
29891,
1495,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
402,
22119,
29918,
2611,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
2927,
2433,
311,
29872,
407,
682,
742,
3858,
2433,
29924,
29918,
11206,
29918,
29911,
629,
29918,
29953,
29900,
29891,
1495,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
402,
22119,
29918,
2611,
29918,
4260,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
2927,
2433,
307,
4605,
9539,
742,
3858,
2433,
29923,
29918,
11206,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
1495,
30004,
13,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
503,
261,
324,
391,
28107,
29898,
13264,
29899,
29896,
511,
2927,
2433,
8517,
742,
3858,
2433,
24214,
1196,
742,
19375,
2433,
489,
742,
15595,
29922,
29900,
29889,
29955,
29945,
8443,
13,
30004,
13,
29937,
572,
29873,
29889,
5589,
29918,
14811,
29898,
29873,
29892,
402,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
402,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
2927,
2433,
4366,
2616,
284,
742,
15595,
29922,
29900,
29889,
29941,
8443,
13,
29937,
572,
29873,
29889,
5589,
29918,
14811,
29898,
29873,
29892,
402,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
402,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
2927,
2433,
4366,
2616,
284,
742,
15595,
29922,
29900,
29889,
29941,
8443,
13,
30004,
13,
572,
29873,
29889,
7720,
29898,
5574,
8443,
13,
30004,
13,
572,
29873,
29889,
26172,
29898,
29890,
1884,
29918,
517,
29918,
25367,
7607,
29896,
29889,
29900,
29946,
29892,
29896,
511,
1180,
543,
21064,
2175,
613,
3515,
265,
29922,
8824,
8443,
13,
30004,
13,
30004,
13,
572,
29873,
29889,
29916,
2576,
29898,
29900,
29892,
29906,
29900,
29900,
8443,
13,
572,
29873,
29889,
29891,
2576,
6278,
29896,
29872,
29899,
29929,
29892,
29896,
29889,
29946,
29872,
29899,
29929,
8443,
13,
30004,
13,
30004,
13,
30004,
13,
572,
29873,
29889,
3257,
877,
3379,
424,
23584,
402,
22119,
29892,
360,
29931,
29918,
26353,
29918,
11206,
1495,
30004,
13,
30004,
13,
572,
29873,
29889,
29916,
1643,
877,
2481,
313,
6360,
29897,
1495,
30004,
13,
29937,
572,
29873,
29889,
29891,
1643,
877,
29954,
22119,
29918,
2611,
313,
29896,
29900,
29938,
3426,
29896,
29906,
1042,
399,
29914,
29885,
29938,
29985,
29906,
10931,
1495,
30004,
13,
572,
29873,
29889,
29891,
1643,
877,
29954,
22119,
29918,
2611,
313,
29956,
29914,
29885,
29938,
29985,
29906,
10931,
1495,
29937,
30004,
13,
30004,
13,
30004,
13,
572,
29873,
29889,
7620,
1003,
877,
29907,
3583,
5531,
29905,
1469,
29905,
1367,
16367,
2522,
264,
8596,
29905,
29950,
522,
598,
29899,
6707,
29905,
13080,
29905,
29954,
22119,
29918,
2611,
29918,
12283,
29934,
29956,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
742,
270,
1631,
29922,
29941,
29900,
29900,
8443,
13,
30004,
13,
572,
29873,
29889,
4294,
26471,
13,
30004,
13,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
29937,
14448,
313,
29896,
29955,
1125,
20535,
403,
13299,
28524,
5534,
1370,
4056,
10879,
313,
29954,
22119,
8443,
13,
30004,
13,
2277,
29956,
2092,
29899,
6707,
30004,
13,
29954,
22119,
29918,
29883,
398,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
7442,
29889,
29883,
398,
2083,
29898,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
8443,
13,
29954,
22119,
29918,
29883,
398,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
7442,
29889,
29883,
398,
2083,
29898,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
8443,
13,
29954,
22119,
29918,
29883,
398,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
7442,
29889,
29883,
398,
2083,
29898,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
8443,
13,
29954,
22119,
29918,
29883,
398,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
7442,
29889,
29883,
398,
2083,
29898,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
8443,
13,
29954,
22119,
29918,
29883,
398,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
7442,
29889,
29883,
398,
2083,
29898,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
8443,
13,
30004,
13,
30004,
13,
2277,
12283,
29934,
29956,
30004,
13,
29954,
22119,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
7442,
29889,
29883,
398,
2083,
29898,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
8443,
13,
29954,
22119,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
7442,
29889,
29883,
398,
2083,
29898,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
8443,
13,
29954,
22119,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
7442,
29889,
29883,
398,
2083,
29898,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
8443,
13,
29954,
22119,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
7442,
29889,
29883,
398,
2083,
29898,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
8443,
13,
29954,
22119,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
7442,
29889,
29883,
398,
2083,
29898,
29954,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
8443,
13,
30004,
13,
30004,
13,
29937,
2158,
29898,
29954,
22119,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
8443,
13,
30004,
13,
30004,
13,
572,
29873,
29889,
29916,
1643,
877,
2481,
313,
6360,
29897,
1495,
30004,
13,
29937,
572,
29873,
29889,
29891,
1643,
877,
29954,
22119,
29918,
29883,
398,
313,
29896,
29900,
29938,
3426,
29896,
29900,
1042,
399,
29914,
29885,
29938,
29985,
29906,
10931,
1495,
30004,
13,
572,
29873,
29889,
29891,
1643,
877,
29954,
22119,
29918,
29883,
398,
313,
29956,
29914,
29885,
29938,
29985,
29906,
10931,
1495,
30004,
13,
30004,
13,
30004,
13,
572,
29873,
29889,
29916,
2576,
29898,
29900,
29892,
29906,
29900,
29900,
8443,
13,
572,
29873,
29889,
29891,
2576,
6278,
29896,
29872,
29899,
29955,
29892,
29896,
29889,
29945,
29872,
29899,
29955,
8443,
13,
30004,
13,
30004,
13,
572,
29873,
29889,
3257,
877,
29907,
398,
28524,
402,
22119,
29892,
360,
29931,
29918,
26353,
29918,
11206,
1495,
30004,
13,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
402,
22119,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
2927,
2433,
324,
573,
742,
3858,
2433,
16514,
29918,
29924,
29918,
11206,
29918,
10644,
29918,
29955,
29891,
742,
19375,
2433,
489,
742,
15595,
29922,
29900,
29889,
29945,
29945,
8443,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
402,
22119,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
2927,
2433,
1454,
342,
12692,
742,
3858,
2433,
16514,
29918,
29924,
29918,
11206,
29918,
10644,
29918,
29896,
29947,
29891,
742,
19375,
2433,
489,
742,
15595,
29922,
29900,
29889,
29945,
29945,
8443,
13,
29937,
572,
29873,
29889,
5317,
29898,
29873,
29892,
402,
22119,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29892,
2927,
2433,
4366,
2616,
284,
742,
3858,
2433,
16514,
29918,
29924,
29918,
11206,
29918,
29911,
629,
29918,
29946,
29900,
29891,
742,
19375,
2433,
489,
742,
15595,
29922,
29900,
29889,
29945,
29945,
8443,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
402,
22119,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
2927,
2433,
311,
29872,
407,
682,
742,
3858,
2433,
16514,
29918,
29924,
29918,
11206,
29918,
29911,
629,
29918,
29953,
29900,
29891,
742,
19375,
2433,
489,
742,
15595,
29922,
29900,
29889,
29945,
29945,
8443,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
402,
22119,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
2927,
2433,
307,
4605,
9539,
742,
3858,
2433,
16514,
29918,
29923,
29918,
11206,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
742,
19375,
2433,
489,
742,
15595,
29922,
29900,
29889,
29945,
29945,
8443,
13,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
402,
22119,
29918,
29883,
398,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
2927,
2433,
324,
573,
742,
3858,
2433,
29924,
29918,
11206,
29918,
10644,
29918,
29955,
29891,
1495,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
402,
22119,
29918,
29883,
398,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
2927,
2433,
1454,
342,
12692,
742,
3858,
2433,
29924,
29918,
11206,
29918,
10644,
29918,
29896,
29947,
29891,
1495,
30004,
13,
29937,
572,
29873,
29889,
5317,
29898,
29873,
29892,
402,
22119,
29918,
29883,
398,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29892,
2927,
2433,
4366,
2616,
284,
742,
3858,
2433,
29924,
29918,
11206,
29918,
29911,
629,
29918,
29946,
29900,
29891,
1495,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
402,
22119,
29918,
29883,
398,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
2927,
2433,
311,
29872,
407,
682,
742,
3858,
2433,
29924,
29918,
11206,
29918,
29911,
629,
29918,
29953,
29900,
29891,
1495,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
402,
22119,
29918,
29883,
398,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
2927,
2433,
307,
4605,
9539,
742,
3858,
2433,
29923,
29918,
11206,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
1495,
30004,
13,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
503,
261,
324,
391,
28107,
29898,
13264,
29899,
29896,
511,
2927,
2433,
8517,
742,
3858,
2433,
24214,
1196,
742,
19375,
2433,
489,
742,
15595,
29922,
29900,
29889,
29955,
29945,
8443,
13,
30004,
13,
572,
29873,
29889,
7720,
29898,
5574,
8443,
13,
30004,
13,
29937,
572,
29873,
29889,
5589,
29918,
14811,
29898,
29873,
29892,
402,
22119,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
402,
22119,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
2927,
2433,
4366,
2616,
284,
742,
15595,
29922,
29900,
29889,
29941,
29897,
6756,
13,
30004,
13,
30004,
13,
572,
29873,
29889,
26172,
29898,
29890,
1884,
29918,
517,
29918,
25367,
7607,
29896,
29889,
29900,
29946,
29892,
29896,
511,
1180,
543,
21064,
2175,
613,
3515,
265,
29922,
8824,
8443,
13,
30004,
13,
30004,
13,
30004,
13,
572,
29873,
29889,
7620,
1003,
877,
29907,
3583,
5531,
29905,
1469,
29905,
1367,
16367,
2522,
264,
8596,
29905,
29950,
522,
598,
29899,
6707,
29905,
13080,
29905,
29954,
22119,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
19558,
29918,
26353,
29918,
11206,
742,
270,
1631,
29922,
29941,
29900,
29900,
8443,
13,
30004,
13,
572,
29873,
29889,
4294,
26471,
13,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
29937,
14448,
313,
29896,
29947,
1125,
5953,
837,
457,
278,
2799,
10204,
681,
322,
315,
398,
28524,
402,
22119,
363,
278,
29871,
25477,
3407,
313,
29896,
12118,
4810,
29906,
25477,
472,
931,
5225,
29897,
1434,
15859,
7343,
402,
26433,
13944,
30004,
13,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
29900,
29892,
13264,
29899,
29896,
29892,
29896,
8443,
13,
30004,
13,
5344,
29918,
29954,
22119,
29918,
999,
353,
313,
13264,
29899,
29896,
29892,
29896,
8443,
13,
29954,
22119,
29918,
2611,
29918,
999,
353,
7442,
29889,
3298,
359,
29898,
5344,
29918,
29954,
22119,
29918,
999,
8443,
13,
30004,
13,
1454,
260,
297,
3464,
29898,
29900,
29892,
13264,
29899,
29896,
1125,
30004,
13,
1678,
402,
22119,
29918,
2611,
29918,
999,
29961,
29873,
29892,
29900,
29962,
353,
7442,
29889,
2083,
29898,
9302,
29889,
18056,
368,
29898,
331,
2333,
29918,
3217,
29906,
29918,
999,
29892,
29928,
9207,
29918,
3217,
29906,
29918,
2034,
7503,
29892,
29873,
12622,
30004,
13,
30004,
13,
29937,
2158,
29898,
29954,
22119,
29918,
2611,
29918,
999,
7503,
29892,
29900,
2314,
30004,
13,
30004,
13,
2435,
29898,
29954,
22119,
29918,
2611,
29918,
999,
8443,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
4801,
837,
457,
278,
402,
22119,
13299,
28524,
363,
278,
25477,
3407,
30004,
13,
30004,
13,
29873,
353,
7442,
29889,
279,
927,
29898,
29900,
29892,
13264,
29899,
29896,
29892,
29896,
8443,
13,
30004,
13,
29954,
22119,
29918,
29883,
398,
29918,
999,
353,
7442,
29889,
29883,
398,
2083,
29898,
29954,
22119,
29918,
2611,
29918,
999,
7503,
29892,
29900,
2314,
30004,
13,
29937,
2158,
29898,
29954,
22119,
29918,
29883,
398,
29918,
999,
8443,
13,
30004,
13,
572,
29873,
29889,
29916,
1643,
877,
2481,
313,
6360,
29897,
1495,
30004,
13,
572,
29873,
29889,
29891,
1643,
877,
29954,
22119,
29918,
29883,
398,
29918,
999,
313,
29896,
29900,
29938,
3426,
29896,
29941,
1042,
399,
29914,
29885,
29938,
29985,
29906,
1504,
9415,
3217,
14630,
29906,
10931,
1495,
30004,
13,
30004,
13,
572,
29873,
29889,
5317,
29898,
29873,
29892,
402,
22119,
29918,
29883,
398,
29918,
999,
8443,
13,
30004,
13,
30004,
13,
30004,
13,
2435,
29898,
29954,
22119,
29918,
29883,
398,
29918,
999,
8443,
13,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
29937,
14448,
313,
29896,
29929,
1125,
20535,
403,
7343,
5534,
1370,
4056,
7037,
313,
29954,
26433,
29881,
948,
8443,
13,
30004,
13,
2277,
29956,
2092,
29899,
6707,
30004,
13,
29954,
26433,
29918,
29881,
948,
29918,
29883,
398,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
518,
29916,
14571,
29891,
29930,
29896,
29900,
29900,
29900,
29897,
363,
921,
29892,
29891,
297,
14319,
29898,
29954,
22119,
29918,
29883,
398,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
402,
22119,
29918,
29883,
398,
29918,
999,
4638,
30004,
13,
29954,
26433,
29918,
29881,
948,
29918,
29883,
398,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
518,
29916,
14571,
29891,
29930,
29896,
29900,
29900,
29900,
29897,
363,
921,
29892,
29891,
297,
14319,
29898,
29954,
22119,
29918,
29883,
398,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
402,
22119,
29918,
29883,
398,
29918,
999,
4638,
30004,
13,
29954,
26433,
29918,
29881,
948,
29918,
29883,
398,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
518,
29916,
14571,
29891,
29930,
29896,
29900,
29900,
29900,
29897,
363,
921,
29892,
29891,
297,
14319,
29898,
29954,
22119,
29918,
29883,
398,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29892,
402,
22119,
29918,
29883,
398,
29918,
999,
4638,
30004,
13,
29954,
26433,
29918,
29881,
948,
29918,
29883,
398,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
518,
29916,
14571,
29891,
29930,
29896,
29900,
29900,
29900,
29897,
363,
921,
29892,
29891,
297,
14319,
29898,
29954,
22119,
29918,
29883,
398,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
402,
22119,
29918,
29883,
398,
29918,
999,
4638,
30004,
13,
29954,
26433,
29918,
29881,
948,
29918,
29883,
398,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
518,
29916,
14571,
29891,
29930,
29896,
29900,
29900,
29900,
29897,
363,
921,
29892,
29891,
297,
14319,
29898,
29954,
22119,
29918,
29883,
398,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
402,
22119,
29918,
29883,
398,
29918,
999,
4638,
30004,
13,
30004,
13,
30004,
13,
2277,
12283,
29934,
29956,
30004,
13,
29954,
26433,
29918,
29881,
948,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
518,
29916,
14571,
29891,
29930,
29896,
29900,
29900,
29900,
29897,
363,
921,
29892,
29891,
297,
14319,
29898,
29954,
22119,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
402,
22119,
29918,
29883,
398,
29918,
999,
4638,
30004,
13,
29954,
26433,
29918,
29881,
948,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
518,
29916,
14571,
29891,
29930,
29896,
29900,
29900,
29900,
29897,
363,
921,
29892,
29891,
297,
14319,
29898,
29954,
22119,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
402,
22119,
29918,
29883,
398,
29918,
999,
4638,
30004,
13,
29954,
26433,
29918,
29881,
948,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
353,
518,
29916,
14571,
29891,
29930,
29896,
29900,
29900,
29900,
29897,
363,
921,
29892,
29891,
297,
14319,
29898,
29954,
22119,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29892,
402,
22119,
29918,
29883,
398,
29918,
999,
4638,
30004,
13,
29954,
26433,
29918,
29881,
948,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
518,
29916,
14571,
29891,
29930,
29896,
29900,
29900,
29900,
29897,
363,
921,
29892,
29891,
297,
14319,
29898,
29954,
22119,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
402,
22119,
29918,
29883,
398,
29918,
999,
4638,
30004,
13,
29954,
26433,
29918,
29881,
948,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
518,
29916,
14571,
29891,
29930,
29896,
29900,
29900,
29900,
29897,
363,
921,
29892,
29891,
297,
14319,
29898,
29954,
22119,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
402,
22119,
29918,
29883,
398,
29918,
999,
4638,
30004,
13,
30004,
13,
30004,
13,
29937,
2158,
29898,
29954,
26433,
29918,
29881,
948,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
8443,
13,
30004,
13,
30004,
13,
1003,
29922,
572,
29873,
29889,
4532,
26471,
13,
1003,
29889,
4294,
26471,
13,
1165,
29922,
1003,
29889,
1202,
29918,
1491,
5317,
29898,
29896,
29896,
29896,
8443,
13,
30004,
13,
30004,
13,
1165,
29889,
5317,
29898,
29873,
29892,
402,
26433,
29918,
29881,
948,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
2927,
2433,
324,
573,
742,
3858,
2433,
16514,
29918,
29924,
29918,
11206,
29918,
10644,
29918,
29955,
29891,
742,
19375,
2433,
489,
742,
15595,
29922,
29900,
29889,
29945,
29945,
8443,
13,
1165,
29889,
5317,
29898,
29873,
29892,
402,
26433,
29918,
29881,
948,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
2927,
2433,
1454,
342,
12692,
742,
3858,
2433,
16514,
29918,
29924,
29918,
11206,
29918,
10644,
29918,
29896,
29947,
29891,
742,
19375,
2433,
489,
742,
15595,
29922,
29900,
29889,
29945,
29945,
8443,
13,
29937,
1165,
29889,
5317,
29898,
29873,
29892,
402,
26433,
29918,
29881,
948,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29892,
2927,
2433,
4366,
2616,
284,
742,
3858,
2433,
16514,
29918,
29924,
29918,
11206,
29918,
29911,
629,
29918,
29946,
29900,
29891,
742,
19375,
2433,
489,
742,
15595,
29922,
29900,
29889,
29945,
29945,
8443,
13,
1165,
29889,
5317,
29898,
29873,
29892,
402,
26433,
29918,
29881,
948,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
2927,
2433,
311,
29872,
407,
682,
742,
3858,
2433,
16514,
29918,
29924,
29918,
11206,
29918,
29911,
629,
29918,
29953,
29900,
29891,
742,
19375,
2433,
489,
742,
15595,
29922,
29900,
29889,
29945,
29945,
8443,
13,
1165,
29889,
5317,
29898,
29873,
29892,
402,
26433,
29918,
29881,
948,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
2927,
2433,
307,
4605,
9539,
742,
3858,
2433,
16514,
29918,
29923,
29918,
11206,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
742,
19375,
2433,
489,
742,
15595,
29922,
29900,
29889,
29945,
29945,
8443,
13,
30004,
13,
30004,
13,
1165,
29889,
5317,
29898,
29873,
29892,
402,
26433,
29918,
29881,
948,
29918,
29883,
398,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
2927,
2433,
324,
573,
742,
3858,
2433,
29924,
29918,
11206,
29918,
10644,
29918,
29955,
29891,
1495,
30004,
13,
1165,
29889,
5317,
29898,
29873,
29892,
402,
26433,
29918,
29881,
948,
29918,
29883,
398,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
2927,
2433,
1454,
342,
12692,
742,
3858,
2433,
29924,
29918,
11206,
29918,
10644,
29918,
29896,
29947,
29891,
1495,
30004,
13,
29937,
1165,
29889,
5317,
29898,
29873,
29892,
402,
26433,
29918,
29881,
948,
29918,
29883,
398,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
29892,
2927,
2433,
4366,
2616,
284,
742,
3858,
2433,
29924,
29918,
11206,
29918,
29911,
629,
29918,
29946,
29900,
29891,
1495,
30004,
13,
1165,
29889,
5317,
29898,
29873,
29892,
402,
26433,
29918,
29881,
948,
29918,
29883,
398,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
2927,
2433,
311,
29872,
407,
682,
742,
3858,
2433,
29924,
29918,
11206,
29918,
29911,
629,
29918,
29953,
29900,
29891,
1495,
30004,
13,
1165,
29889,
5317,
29898,
29873,
29892,
402,
26433,
29918,
29881,
948,
29918,
29883,
398,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
2927,
2433,
307,
4605,
9539,
742,
3858,
2433,
29923,
29918,
11206,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
1495,
30004,
13,
30004,
13,
1165,
29889,
5317,
29898,
29873,
29892,
503,
261,
324,
391,
28107,
29898,
13264,
29899,
29896,
511,
2927,
2433,
8517,
742,
3858,
2433,
24214,
1196,
742,
19375,
2433,
489,
742,
15595,
29922,
29900,
29889,
29955,
29945,
8443,
13,
30004,
13,
29937,
572,
29873,
29889,
5589,
29918,
14811,
29898,
29873,
29892,
402,
26433,
29918,
29881,
948,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
402,
26433,
29918,
29881,
948,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
2927,
2433,
4366,
2616,
284,
742,
15595,
29922,
29900,
29889,
29941,
29897,
6756,
13,
30004,
13,
572,
29873,
29889,
7720,
29898,
5574,
8443,
13,
30004,
13,
1165,
29889,
26172,
29898,
29890,
1884,
29918,
517,
29918,
25367,
7607,
29896,
29889,
29900,
29946,
29892,
29896,
511,
1180,
543,
21064,
2175,
613,
3515,
265,
29922,
8824,
8443,
13,
30004,
13,
1165,
29889,
842,
29918,
29916,
2576,
29898,
29900,
29892,
29906,
29900,
29900,
8443,
13,
1165,
29889,
842,
29918,
29891,
2576,
6278,
29955,
29945,
29900,
29892,
29896,
29900,
29900,
29900,
8443,
13,
29937,
1165,
29889,
842,
29918,
29891,
2576,
6278,
29953,
29900,
29900,
29892,
29896,
29945,
29900,
29900,
8443,
13,
30004,
13,
30004,
13,
1165,
29889,
842,
29918,
29916,
1643,
877,
2481,
313,
6360,
29897,
1495,
30004,
13,
1165,
29889,
842,
29918,
29891,
1643,
877,
29954,
26433,
29938,
648,
29881,
948,
1042,
313,
29873,
29899,
3217,
14630,
29906,
4388,
1837,
29897,
1495,
30004,
13,
30004,
13,
1165,
29889,
842,
29918,
3257,
877,
24001,
402,
26433,
29892,
360,
29931,
29918,
26353,
29918,
11206,
1495,
30004,
13,
30004,
13,
30004,
13,
572,
29873,
29889,
7620,
1003,
877,
29907,
3583,
5531,
29905,
1469,
29905,
1367,
16367,
2522,
264,
8596,
29905,
29950,
522,
598,
29899,
6707,
29905,
13080,
29905,
29954,
26433,
29918,
29881,
948,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
742,
270,
1631,
29922,
29941,
29900,
29900,
8443,
13,
30004,
13,
30004,
13,
572,
29873,
29889,
4012,
26471,
13,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
29937,
14448,
313,
29906,
29900,
1125,
1222,
637,
292,
278,
848,
5742,
1121,
18445,
304,
11388,
30004,
13,
30004,
13,
30004,
13,
6360,
353,
5159,
30004,
13,
1454,
921,
297,
3464,
313,
29900,
29892,
29871,
29906,
29900,
29896,
1125,
6756,
13,
1678,
1629,
29889,
4397,
29898,
29916,
29897,
6756,
13,
30004,
13,
30004,
13,
2277,
29937,
6204,
12481,
30004,
13,
1678,
6756,
13,
1625,
29896,
353,
1629,
30004,
13,
30004,
13,
2277,
29954,
22119,
29918,
3379,
30004,
13,
29937,
29954,
22119,
29918,
2611,
515,
8112,
29899,
6707,
21846,
30004,
13,
1625,
29918,
29954,
29902,
29918,
29896,
353,
402,
22119,
29918,
2611,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
6756,
13,
1625,
29918,
29954,
29902,
29918,
29906,
353,
402,
22119,
29918,
2611,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
30004,
13,
1625,
29918,
29954,
29902,
29918,
29941,
29871,
353,
402,
22119,
29918,
2611,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
30004,
13,
1625,
29918,
29954,
29902,
29918,
29946,
29871,
353,
402,
22119,
29918,
2611,
29918,
4260,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
2158,
29898,
1625,
29918,
29954,
29902,
29918,
29896,
8443,
13,
29937,
2158,
29898,
9302,
29889,
12181,
29898,
1625,
29918,
29954,
29902,
29918,
29896,
876,
30004,
13,
30004,
13,
29937,
29954,
22119,
29918,
2611,
515,
6795,
671,
21846,
30004,
13,
1625,
29918,
29954,
29902,
29918,
29945,
29871,
353,
402,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
30004,
13,
1625,
29918,
29954,
29902,
29918,
29953,
29871,
353,
402,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
30004,
13,
1625,
29918,
29954,
29902,
29918,
29955,
29871,
353,
402,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
30004,
13,
1625,
29918,
29954,
29902,
29918,
29947,
29871,
353,
402,
22119,
29918,
2611,
29918,
4260,
29918,
12283,
29934,
29956,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
30004,
13,
30004,
13,
29937,
2158,
29898,
1625,
29918,
29954,
29902,
29918,
29955,
8443,
13,
29937,
2158,
29898,
9302,
29889,
12181,
29898,
1625,
29918,
29954,
29902,
29918,
29955,
876,
30004,
13,
30004,
13,
30004,
13,
29937,
3258,
1897,
2582,
30004,
13,
1678,
6756,
13,
2277,
29954,
22119,
29918,
29883,
398,
28524,
30004,
13,
29937,
29954,
22119,
29918,
29883,
398,
28524,
515,
8112,
29899,
6707,
21846,
30004,
13,
1625,
29918,
8766,
29918,
29896,
353,
402,
22119,
29918,
29883,
398,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
30004,
13,
1625,
29918,
8766,
29918,
29906,
353,
402,
22119,
29918,
29883,
398,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
30004,
13,
1625,
29918,
8766,
29918,
29941,
353,
402,
22119,
29918,
29883,
398,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
30004,
13,
1625,
29918,
8766,
29918,
29946,
353,
402,
22119,
29918,
29883,
398,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
30004,
13,
30004,
13,
30004,
13,
29937,
29954,
22119,
29918,
29883,
398,
28524,
515,
6795,
671,
21846,
30004,
13,
1625,
29918,
8766,
29918,
29945,
353,
402,
22119,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
30004,
13,
1625,
29918,
8766,
29918,
29953,
353,
402,
22119,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
30004,
13,
1625,
29918,
8766,
29918,
29955,
353,
402,
22119,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
30004,
13,
1625,
29918,
8766,
29918,
29947,
353,
402,
22119,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
3258,
1897,
2582,
30004,
13,
30004,
13,
2277,
29954,
26433,
29881,
948,
30004,
13,
29937,
29954,
26433,
29881,
948,
515,
8112,
29899,
6707,
21846,
30004,
13,
1625,
29918,
29954,
26433,
29918,
29896,
353,
402,
26433,
29918,
29881,
948,
29918,
29883,
398,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
30004,
13,
1625,
29918,
29954,
26433,
29918,
29906,
353,
402,
26433,
29918,
29881,
948,
29918,
29883,
398,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
30004,
13,
1625,
29918,
29954,
26433,
29918,
29941,
353,
402,
26433,
29918,
29881,
948,
29918,
29883,
398,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
30004,
13,
1625,
29918,
29954,
26433,
29918,
29946,
353,
402,
26433,
29918,
29881,
948,
29918,
29883,
398,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
30004,
13,
30004,
13,
30004,
13,
29937,
29954,
26433,
29881,
948,
515,
6795,
671,
21846,
30004,
13,
1625,
29918,
29954,
26433,
29918,
29945,
353,
402,
26433,
29918,
29881,
948,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
30004,
13,
1625,
29918,
29954,
26433,
29918,
29953,
353,
402,
26433,
29918,
29881,
948,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
30004,
13,
1625,
29918,
29954,
26433,
29918,
29955,
353,
402,
26433,
29918,
29881,
948,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
30004,
13,
1625,
29918,
29954,
26433,
29918,
29947,
353,
402,
26433,
29918,
29881,
948,
29918,
29883,
398,
29918,
12283,
29934,
29956,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
4391,
784,
398,
2582,
30004,
13,
2176,
29924,
29918,
11206,
29918,
29954,
29902,
353,
10518,
29889,
17271,
29889,
3166,
29918,
8977,
3319,
29915,
12883,
2396,
1625,
29896,
5501,
29924,
29918,
11206,
29918,
10644,
29918,
29955,
29891,
313,
29956,
29914,
29885,
29906,
29897,
2396,
1625,
29918,
29954,
29902,
29918,
29896,
29892,
525,
29924,
29918,
11206,
29918,
10644,
29918,
29896,
29947,
29891,
313,
29956,
29914,
29885,
29906,
29897,
2396,
1625,
29918,
29954,
29902,
29918,
29906,
11167,
13,
462,
462,
3986,
525,
29924,
29918,
11206,
29918,
29911,
629,
29918,
29953,
29900,
29891,
313,
29956,
29914,
29885,
29906,
29897,
2396,
1625,
29918,
29954,
29902,
29918,
29941,
29892,
525,
29923,
29918,
11206,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
313,
29956,
29914,
29885,
29906,
29897,
2396,
1625,
29918,
29954,
29902,
29918,
29946,
29892,
6756,
13,
462,
462,
3986,
525,
16514,
29918,
29924,
29918,
11206,
29918,
10644,
29918,
29955,
29891,
313,
29956,
29914,
29885,
29906,
29897,
2396,
1625,
29918,
29954,
29902,
29918,
29945,
29892,
525,
16514,
29918,
29924,
29918,
11206,
29918,
10644,
29918,
29896,
29947,
29891,
313,
29956,
29914,
29885,
29906,
29897,
2396,
1625,
29918,
29954,
29902,
29918,
29953,
11167,
13,
462,
462,
3986,
525,
16514,
29918,
29924,
29918,
11206,
29918,
29911,
629,
29918,
29953,
29900,
29891,
313,
29956,
29914,
29885,
29906,
29897,
2396,
1625,
29918,
29954,
29902,
29918,
29955,
29892,
525,
16514,
29918,
29923,
29918,
11206,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
313,
29956,
29914,
29885,
29906,
29897,
2396,
1625,
29918,
29954,
29902,
29918,
29947,
1800,
30004,
13,
30004,
13,
30004,
13,
2176,
29924,
29918,
11206,
29918,
8766,
353,
10518,
29889,
17271,
29889,
3166,
29918,
8977,
3319,
29915,
12883,
2396,
1625,
29896,
5501,
29924,
29918,
11206,
29918,
10644,
29918,
29955,
29891,
313,
29956,
29914,
29885,
29906,
29897,
2396,
1625,
29918,
8766,
29918,
29896,
29892,
525,
29924,
29918,
11206,
29918,
10644,
29918,
29896,
29947,
29891,
313,
29956,
29914,
29885,
29906,
29897,
2396,
1625,
29918,
8766,
29918,
29906,
11167,
13,
462,
462,
3986,
525,
29924,
29918,
11206,
29918,
29911,
629,
29918,
29953,
29900,
29891,
313,
29956,
29914,
29885,
29906,
29897,
2396,
1625,
29918,
8766,
29918,
29941,
29892,
525,
29923,
29918,
11206,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
313,
29956,
29914,
29885,
29906,
29897,
2396,
1625,
29918,
8766,
29918,
29946,
11167,
13,
462,
462,
3986,
525,
16514,
29918,
29924,
29918,
11206,
29918,
10644,
29918,
29955,
29891,
313,
29956,
29914,
29885,
29906,
29897,
2396,
1625,
29918,
8766,
29918,
29945,
29892,
525,
16514,
29918,
29924,
29918,
11206,
29918,
10644,
29918,
29896,
29947,
29891,
313,
29956,
29914,
29885,
29906,
29897,
2396,
1625,
29918,
8766,
29918,
29953,
11167,
13,
462,
462,
3986,
525,
16514,
29918,
29924,
29918,
11206,
29918,
29911,
629,
29918,
29953,
29900,
29891,
313,
29956,
29914,
29885,
29906,
29897,
2396,
1625,
29918,
8766,
29918,
29955,
29892,
525,
16514,
29918,
29923,
29918,
11206,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
313,
29956,
29914,
29885,
29906,
29897,
2396,
1625,
29918,
8766,
29918,
29947,
1800,
30004,
13,
30004,
13,
1678,
6756,
13,
30004,
13,
2176,
29924,
29918,
11206,
29918,
29954,
26433,
29881,
948,
353,
10518,
29889,
17271,
29889,
3166,
29918,
8977,
3319,
29915,
12883,
2396,
1625,
29896,
5501,
29924,
29918,
11206,
29918,
10644,
29918,
29955,
29891,
313,
29873,
29899,
3217,
29906,
29899,
1837,
29897,
2396,
1625,
29918,
29954,
26433,
29918,
29896,
29892,
525,
29924,
29918,
11206,
29918,
10644,
29918,
29896,
29947,
29891,
313,
29873,
29899,
3217,
29906,
29899,
1837,
29897,
2396,
1625,
29918,
29954,
26433,
29918,
29906,
11167,
13,
462,
462,
965,
525,
29924,
29918,
11206,
29918,
29911,
629,
29918,
29953,
29900,
29891,
313,
29873,
29899,
3217,
29906,
29899,
1837,
29897,
2396,
1625,
29918,
29954,
26433,
29918,
29941,
29892,
525,
29923,
29918,
11206,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
313,
29873,
29899,
3217,
29906,
29899,
1837,
29897,
2396,
1625,
29918,
29954,
26433,
29918,
29946,
29892,
6756,
13,
462,
462,
965,
525,
16514,
29918,
29924,
29918,
11206,
29918,
10644,
29918,
29955,
29891,
313,
29873,
29899,
3217,
29906,
29899,
1837,
29897,
2396,
1625,
29918,
29954,
26433,
29918,
29945,
29892,
525,
16514,
29918,
29924,
29918,
11206,
29918,
10644,
29918,
29896,
29947,
29891,
313,
29873,
29899,
3217,
29906,
29899,
1837,
29897,
2396,
1625,
29918,
29954,
26433,
29918,
29953,
11167,
13,
462,
462,
965,
525,
16514,
29918,
29924,
29918,
11206,
29918,
29911,
629,
29918,
29953,
29900,
29891,
313,
29873,
29899,
3217,
29906,
29899,
1837,
29897,
2396,
1625,
29918,
29954,
26433,
29918,
29955,
29892,
525,
16514,
29918,
29923,
29918,
11206,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
313,
29873,
29899,
3217,
29906,
29899,
1837,
29897,
2396,
1625,
29918,
29954,
26433,
29918,
29947,
1800,
30004,
13,
30004,
13,
30004,
13,
29937,
26382,
304,
10616,
30004,
13,
13236,
353,
10518,
29889,
22926,
10507,
877,
9527,
12191,
29918,
19558,
29918,
26353,
29918,
11206,
29889,
20267,
29916,
742,
6012,
353,
525,
20267,
29916,
13236,
1495,
30004,
13,
30004,
13,
30004,
13,
2176,
29924,
29918,
11206,
29918,
29954,
29902,
29889,
517,
29918,
24633,
29898,
13236,
29892,
9869,
29918,
978,
353,
525,
29954,
22119,
29918,
3379,
29918,
19558,
29918,
26353,
29918,
11206,
742,
4839,
29922,
5574,
29892,
2380,
29922,
8824,
1723,
30004,
13,
30004,
13,
30004,
13,
2176,
29924,
29918,
11206,
29918,
8766,
29889,
517,
29918,
24633,
29898,
13236,
29892,
9869,
29918,
978,
353,
525,
29907,
398,
28524,
402,
22119,
29918,
19558,
29918,
26353,
29918,
11206,
742,
4839,
29922,
5574,
29892,
2380,
29922,
8824,
1723,
30004,
13,
30004,
13,
2176,
29924,
29918,
11206,
29918,
29954,
26433,
29881,
948,
29889,
517,
29918,
24633,
29898,
13236,
29892,
9869,
29918,
978,
353,
525,
29954,
26433,
29881,
948,
29918,
19558,
29918,
26353,
29918,
11206,
742,
4839,
29922,
5574,
29892,
2380,
29922,
8824,
1723,
30004,
13,
30004,
13,
30004,
13,
13236,
29889,
7620,
26471,
13,
13236,
29889,
5358,
26471,
13,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
29937,
14448,
313,
29906,
29896,
1125,
3251,
403,
278,
10616,
934,
363,
278,
5375,
22004,
25477,
322,
409,
1119,
29878,
362,
24536,
30004,
13,
30004,
13,
30004,
13,
29937,
2158,
1629,
1897,
30004,
13,
6360,
353,
5159,
30004,
13,
1454,
921,
297,
3464,
313,
29900,
29892,
29871,
29906,
29900,
29896,
1125,
6756,
13,
1678,
1629,
29889,
4397,
29898,
29916,
29897,
6756,
13,
2158,
313,
6360,
8443,
13,
30004,
13,
30004,
13,
4563,
2459,
353,
29871,
29896,
29900,
29900,
29900,
29930,
29946,
29946,
29914,
29896,
29906,
30004,
13,
4563,
2459,
29918,
3210,
29946,
353,
29871,
29896,
29900,
29900,
29900,
29930,
29896,
29953,
29914,
29896,
29906,
30004,
13,
30004,
13,
30004,
13,
29937,
29924,
29918,
10644,
29918,
29955,
29891,
30004,
13,
29883,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
10644,
29955,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
10644,
29955,
29962,
30004,
13,
311,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29900,
29962,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29900,
5262,
30004,
13,
3057,
8452,
29924,
29896,
29918,
10644,
29955,
29889,
29877,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
4321,
8452,
29924,
29896,
29918,
10644,
29955,
29889,
29877,
29962,
30004,
13,
19689,
29918,
6026,
6847,
29918,
29950,
26433,
29896,
29918,
10644,
29918,
29955,
29891,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
349,
29950,
29918,
6026,
6847,
29918,
29950,
26433,
29896,
29918,
10644,
29918,
29955,
29891,
29962,
30004,
13,
29937,
20166,
29918,
12925,
29918,
29903,
29896,
29918,
10644,
29955,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
438,
29907,
29918,
12925,
29918,
29903,
29896,
29918,
10644,
29955,
29962,
30004,
13,
20620,
29918,
1761,
29918,
10644,
29918,
29955,
29891,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
12151,
29918,
1761,
29918,
10644,
29918,
29955,
29891,
29962,
30004,
13,
311,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29900,
29962,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
316,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29900,
5262,
30004,
13,
30004,
13,
311,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29900,
29962,
353,
518,
29916,
29914,
4563,
2459,
29918,
3210,
29946,
363,
921,
297,
316,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29900,
5262,
30004,
13,
30004,
13,
30004,
13,
29937,
29924,
29918,
10644,
29918,
29896,
29947,
29891,
30004,
13,
29883,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
29962,
30004,
13,
311,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29900,
29962,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29900,
5262,
30004,
13,
3057,
8452,
29924,
29896,
29918,
10644,
29896,
29947,
29889,
29877,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
4321,
8452,
29924,
29896,
29918,
10644,
29896,
29947,
29889,
29877,
29962,
30004,
13,
19689,
29918,
6026,
6847,
29918,
29950,
26433,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
349,
29950,
29918,
6026,
6847,
29918,
29950,
26433,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29962,
30004,
13,
29937,
20166,
29918,
12925,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
438,
29907,
29918,
12925,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
29962,
30004,
13,
20620,
29918,
1761,
29918,
10644,
29918,
29896,
29947,
29891,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
12151,
29918,
1761,
29918,
10644,
29918,
29896,
29947,
29891,
29962,
30004,
13,
311,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29900,
29962,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
316,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29900,
5262,
30004,
13,
30004,
13,
311,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29900,
29962,
353,
518,
29916,
29914,
4563,
2459,
29918,
3210,
29946,
363,
921,
297,
316,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29900,
5262,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
29924,
29918,
29911,
629,
29918,
29953,
29900,
29891,
30004,
13,
29883,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
29962,
30004,
13,
311,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29900,
29962,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29900,
5262,
30004,
13,
3057,
8452,
29924,
29896,
29918,
29911,
629,
29953,
29900,
29889,
29877,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
4321,
8452,
29924,
29896,
29918,
29911,
629,
29953,
29900,
29889,
29877,
29962,
30004,
13,
19689,
29918,
6026,
6847,
29918,
29950,
26433,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
349,
29950,
29918,
6026,
6847,
29918,
29950,
26433,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29962,
30004,
13,
29937,
20166,
29918,
12925,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
438,
29907,
29918,
12925,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
29962,
30004,
13,
20620,
29918,
1761,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
12151,
29918,
1761,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29962,
30004,
13,
311,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29900,
29962,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
316,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29900,
5262,
30004,
13,
30004,
13,
311,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29900,
29962,
353,
518,
29916,
29914,
4563,
2459,
29918,
3210,
29946,
363,
921,
297,
316,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29900,
5262,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
30004,
13,
29883,
29918,
8696,
6115,
29918,
27548,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
29962,
30004,
13,
29883,
29918,
13111,
10376,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
274,
29918,
13111,
10376,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29962,
30004,
13,
311,
2388,
29918,
4260,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
29962,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
316,
2388,
29918,
4260,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
5262,
30004,
13,
3057,
8452,
2303,
29918,
29950,
1182,
29946,
29900,
29889,
29877,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
4321,
8452,
2303,
29918,
29950,
1182,
29946,
29900,
29889,
29877,
29962,
30004,
13,
19689,
29918,
6026,
6847,
29918,
29950,
29956,
4162,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
349,
29950,
29918,
6026,
6847,
29918,
29950,
29956,
4162,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29962,
30004,
13,
2277,
4409,
20166,
29918,
12925,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
438,
29907,
29918,
12925,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
29962,
30004,
13,
20620,
29918,
1761,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
12151,
29918,
1761,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29962,
30004,
13,
311,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
29962,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
316,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
5262,
30004,
13,
30004,
13,
311,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
29962,
353,
518,
29916,
29914,
4563,
2459,
29918,
3210,
29946,
363,
921,
297,
316,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
5262,
30004,
13,
30004,
13,
30004,
13,
29937,
1049,
5589,
20431,
24536,
30004,
13,
22677,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
316,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
316,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
30004,
13,
22677,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
316,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
316,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
30004,
13,
22677,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
316,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
316,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
30004,
13,
22677,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
316,
2388,
29918,
4260,
29918,
3210,
29946,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
316,
2388,
29918,
4260,
29918,
3217,
29906,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
30004,
13,
30004,
13,
30004,
13,
22677,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
518,
2083,
29898,
29916,
29897,
363,
921,
297,
14319,
10456,
22677,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
4638,
30004,
13,
22677,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
518,
2083,
29898,
29916,
29897,
363,
921,
297,
14319,
10456,
22677,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
4638,
30004,
13,
22677,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
518,
2083,
29898,
29916,
29897,
363,
921,
297,
14319,
10456,
22677,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
4638,
30004,
13,
22677,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
518,
2083,
29898,
29916,
29897,
363,
921,
297,
14319,
10456,
22677,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
4638,
30004,
13,
30004,
13,
22677,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
518,
667,
363,
1014,
1761,
297,
3172,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
363,
2944,
297,
1014,
1761,
29962,
30004,
13,
22677,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
518,
667,
363,
1014,
1761,
297,
3172,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
363,
2944,
297,
1014,
1761,
29962,
30004,
13,
22677,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
518,
667,
363,
1014,
1761,
297,
3172,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
363,
2944,
297,
1014,
1761,
29962,
30004,
13,
22677,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
518,
667,
363,
1014,
1761,
297,
3172,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
363,
2944,
297,
1014,
1761,
29962,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
29924,
29918,
10644,
29918,
29955,
29891,
30004,
13,
4409,
29896,
353,
1629,
30004,
13,
4409,
29906,
353,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
10644,
29955,
30004,
13,
4409,
29941,
353,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29900,
29962,
30004,
13,
4409,
29946,
353,
4321,
8452,
29924,
29896,
29918,
10644,
29955,
29889,
29877,
30004,
13,
4409,
29945,
353,
349,
29950,
29918,
6026,
6847,
29918,
29950,
26433,
29896,
29918,
10644,
29918,
29955,
29891,
30004,
13,
29937,
4409,
29953,
29918,
29896,
353,
438,
29907,
29918,
12925,
29918,
29903,
29896,
29918,
10644,
29955,
30004,
13,
4409,
29953,
353,
3172,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
30004,
13,
4409,
29955,
353,
12151,
29918,
1761,
29918,
10644,
29918,
29955,
29891,
30004,
13,
30004,
13,
29937,
29924,
29918,
10644,
29918,
29896,
29947,
29891,
30004,
13,
4409,
29947,
353,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
30004,
13,
4409,
29929,
353,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29900,
29962,
30004,
13,
4409,
29896,
29900,
353,
4321,
8452,
29924,
29896,
29918,
10644,
29896,
29947,
29889,
29877,
30004,
13,
4409,
29896,
29896,
353,
349,
29950,
29918,
6026,
6847,
29918,
29950,
26433,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
30004,
13,
29937,
4409,
29896,
29906,
29918,
29896,
353,
438,
29907,
29918,
12925,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
30004,
13,
4409,
29896,
29906,
353,
3172,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
30004,
13,
4409,
29896,
29941,
353,
12151,
29918,
1761,
29918,
10644,
29918,
29896,
29947,
29891,
30004,
13,
30004,
13,
29937,
29924,
29918,
29911,
629,
29918,
29953,
29900,
29891,
30004,
13,
4409,
29896,
29946,
353,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
30004,
13,
4409,
29896,
29945,
353,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29900,
29962,
30004,
13,
4409,
29896,
29953,
353,
4321,
8452,
29924,
29896,
29918,
29911,
629,
29953,
29900,
29889,
29877,
30004,
13,
4409,
29896,
29955,
353,
349,
29950,
29918,
6026,
6847,
29918,
29950,
26433,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
6756,
13,
29937,
4409,
29896,
29947,
29918,
29896,
353,
438,
29907,
29918,
12925,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
30004,
13,
4409,
29896,
29947,
353,
3172,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
30004,
13,
4409,
29896,
29929,
353,
12151,
29918,
1761,
29918,
29911,
629,
29918,
29953,
29900,
29891,
30004,
13,
30004,
13,
29937,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
30004,
13,
4409,
29906,
29900,
353,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
30004,
13,
4409,
29906,
29900,
29918,
29896,
353,
274,
29918,
13111,
10376,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
30004,
13,
4409,
29906,
29896,
353,
316,
2388,
29918,
4260,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
29962,
30004,
13,
4409,
29906,
29906,
353,
4321,
8452,
2303,
29918,
29950,
1182,
29946,
29900,
29889,
29877,
30004,
13,
4409,
29906,
29941,
353,
349,
29950,
29918,
6026,
6847,
29918,
29950,
29956,
4162,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
30004,
13,
29937,
4409,
29906,
29946,
29918,
29896,
353,
438,
29907,
29918,
12925,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
30004,
13,
4409,
29906,
29946,
353,
3172,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
30004,
13,
4409,
29906,
29945,
353,
12151,
29918,
1761,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
3258,
4341,
30004,
13,
2176,
29924,
29918,
10644,
29918,
29955,
29891,
353,
10518,
29889,
17271,
29889,
3166,
29918,
8977,
3319,
29915,
12883,
2396,
4409,
29896,
5501,
29943,
29900,
29899,
29896,
29901,
3457,
290,
465,
315,
409,
1119,
29878,
362,
313,
29873,
29899,
29907,
29897,
2396,
4409,
29955,
11167,
13,
462,
462,
29871,
396,
29871,
525,
29929,
29901,
3172,
5589,
8635,
313,
29873,
29899,
29907,
29897,
2396,
4409,
29953,
29918,
29896,
11167,
13,
462,
462,
1678,
525,
29943,
29896,
29899,
29900,
29901,
2538,
333,
434,
26227,
313,
29873,
29899,
29907,
29897,
2396,
4409,
29941,
11167,
13,
462,
462,
1678,
525,
29943,
29953,
29899,
29900,
29899,
29896,
29901,
2812,
6847,
515,
3974,
6115,
29914,
1228,
5864,
671,
313,
29873,
29899,
29907,
29897,
2396,
4409,
29906,
11167,
13,
462,
462,
1678,
525,
29943,
29947,
29899,
29900,
29901,
6607,
1288,
7408,
29914,
19170,
953,
6847,
313,
29873,
29899,
29907,
29897,
2396,
4409,
29945,
11167,
13,
462,
462,
1678,
525,
29943,
29953,
29899,
29900,
29899,
29906,
29901,
24836,
671,
953,
6847,
515,
297,
29899,
1509,
10961,
29879,
714,
1731,
313,
29873,
29899,
29907,
29897,
2396,
4409,
29946,
11167,
13,
462,
462,
1678,
525,
29943,
29955,
29899,
29900,
29901,
3172,
5589,
10489,
26227,
313,
29873,
29899,
29907,
29897,
2396,
4409,
29953,
1800,
30004,
13,
30004,
13,
2176,
29924,
29918,
10644,
29918,
29896,
29947,
29891,
353,
10518,
29889,
17271,
29889,
3166,
29918,
8977,
3319,
29915,
12883,
2396,
4409,
29896,
5501,
29943,
29900,
29899,
29896,
29901,
3457,
290,
465,
315,
409,
1119,
29878,
362,
313,
29873,
29899,
29907,
29897,
2396,
4409,
29896,
29941,
11167,
13,
462,
462,
259,
396,
29871,
525,
29929,
29901,
3172,
5589,
8635,
313,
29873,
29899,
29907,
29897,
2396,
4409,
29896,
29906,
29918,
29896,
11167,
13,
462,
462,
268,
525,
29943,
29896,
29899,
29900,
29901,
2538,
333,
434,
26227,
313,
29873,
29899,
29907,
29897,
2396,
4409,
29929,
11167,
13,
462,
462,
268,
525,
29943,
29953,
29899,
29900,
29899,
29896,
29901,
2812,
6847,
515,
3974,
6115,
29914,
1228,
5864,
671,
313,
29873,
29899,
29907,
29897,
2396,
4409,
29947,
11167,
13,
462,
462,
268,
525,
29943,
29947,
29899,
29900,
29901,
6607,
1288,
7408,
29914,
19170,
953,
6847,
313,
29873,
29899,
29907,
29897,
2396,
4409,
29896,
29896,
11167,
13,
462,
462,
268,
525,
29943,
29953,
29899,
29900,
29899,
29906,
29901,
24836,
671,
953,
6847,
515,
297,
29899,
1509,
10961,
29879,
714,
1731,
313,
29873,
29899,
29907,
29897,
2396,
4409,
29896,
29900,
11167,
13,
462,
462,
268,
525,
29943,
29955,
29899,
29900,
29901,
3172,
5589,
10489,
26227,
313,
29873,
29899,
29907,
29897,
2396,
4409,
29896,
29906,
1800,
30004,
13,
30004,
13,
2176,
29923,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
10518,
29889,
17271,
29889,
3166,
29918,
8977,
3319,
29915,
12883,
2396,
4409,
29896,
5501,
29943,
29900,
29899,
29896,
29901,
3457,
290,
465,
315,
409,
1119,
29878,
362,
313,
29873,
29899,
29907,
29897,
2396,
4409,
29896,
29929,
11167,
13,
462,
462,
259,
396,
259,
525,
29929,
29901,
3172,
5589,
8635,
313,
29873,
29899,
29907,
29897,
2396,
4409,
29896,
29947,
29918,
29896,
11167,
13,
462,
462,
418,
525,
29943,
29896,
29899,
29900,
29901,
2538,
333,
434,
26227,
313,
29873,
29899,
29907,
29897,
2396,
4409,
29896,
29945,
11167,
13,
462,
462,
418,
525,
29943,
29953,
29899,
29900,
29899,
29896,
29901,
2812,
6847,
515,
3974,
6115,
29914,
1228,
5864,
671,
313,
29873,
29899,
29907,
29897,
2396,
4409,
29896,
29946,
11167,
13,
462,
462,
418,
525,
29943,
29947,
29899,
29900,
29901,
6607,
1288,
7408,
29914,
19170,
953,
6847,
313,
29873,
29899,
29907,
29897,
2396,
4409,
29896,
29955,
11167,
13,
462,
462,
418,
525,
29943,
29953,
29899,
29900,
29899,
29906,
29901,
24836,
671,
953,
6847,
515,
297,
29899,
1509,
10961,
29879,
714,
1731,
313,
29873,
29899,
29907,
29897,
2396,
4409,
29896,
29953,
11167,
13,
462,
462,
418,
525,
29943,
29955,
29899,
29900,
29901,
3172,
5589,
10489,
26227,
313,
29873,
29899,
29907,
29897,
2396,
4409,
29896,
29947,
1800,
30004,
13,
30004,
13,
2176,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
10518,
29889,
17271,
29889,
3166,
29918,
8977,
3319,
29915,
12883,
2396,
4409,
29896,
5501,
29943,
29900,
29899,
29896,
29901,
3457,
290,
465,
315,
409,
1119,
29878,
362,
313,
29873,
29899,
29907,
29897,
2396,
4409,
29906,
29945,
11167,
13,
462,
462,
259,
396,
259,
525,
29929,
29901,
3172,
5589,
8635,
313,
29873,
29899,
29907,
29897,
2396,
4409,
29906,
29946,
29918,
29896,
11167,
13,
462,
462,
418,
525,
29943,
29896,
29899,
29900,
29901,
2538,
333,
434,
26227,
313,
29873,
29899,
29907,
29897,
2396,
4409,
29906,
29896,
11167,
13,
462,
462,
418,
525,
29943,
29953,
29899,
29900,
29899,
29896,
29901,
2812,
6847,
515,
3974,
6115,
29914,
1228,
5864,
671,
313,
29873,
29899,
29907,
29897,
2396,
4409,
29906,
29900,
29892,
6756,
13,
462,
462,
418,
525,
29943,
29947,
29899,
29900,
29901,
6607,
1288,
7408,
29914,
19170,
953,
6847,
313,
29873,
29899,
29907,
29897,
2396,
4409,
29906,
29941,
11167,
13,
462,
462,
418,
525,
29943,
29953,
29899,
29900,
29899,
29906,
29901,
24836,
671,
953,
6847,
515,
297,
29899,
1509,
10961,
29879,
714,
1731,
313,
29873,
29899,
29907,
29897,
2396,
4409,
29906,
29906,
11167,
13,
462,
462,
418,
525,
29943,
29955,
29899,
29900,
29901,
3172,
5589,
10489,
26227,
313,
29873,
29899,
29907,
29897,
2396,
4409,
29906,
29946,
11167,
13,
462,
462,
418,
525,
29943,
29946,
29899,
29900,
29901,
2812,
6847,
515,
8112,
4639,
10376,
671,
313,
29873,
29899,
29907,
29897,
2396,
4409,
29906,
29900,
29918,
29896,
1800,
30004,
13,
1678,
6756,
13,
30004,
13,
30004,
13,
1678,
6756,
13,
13236,
353,
10518,
29889,
22926,
10507,
877,
29907,
29918,
1731,
29879,
29918,
19558,
29918,
26353,
29918,
11206,
29889,
20267,
29916,
742,
6012,
353,
525,
20267,
29916,
13236,
1495,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
2176,
29924,
29918,
10644,
29918,
29955,
29891,
29889,
517,
29918,
24633,
29898,
13236,
29892,
9869,
29918,
978,
353,
525,
19558,
29918,
26353,
29918,
29924,
29918,
10644,
29918,
29955,
29891,
313,
11206,
29897,
742,
4839,
29922,
5574,
29892,
2380,
29922,
8824,
8443,
13,
2176,
29924,
29918,
10644,
29918,
29896,
29947,
29891,
29889,
517,
29918,
24633,
29898,
13236,
29892,
9869,
29918,
978,
353,
525,
19558,
29918,
26353,
29918,
29924,
29918,
10644,
29918,
29896,
29947,
29891,
313,
11206,
29897,
742,
4839,
29922,
5574,
29892,
2380,
29922,
8824,
8443,
13,
2176,
29923,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29889,
517,
29918,
24633,
29898,
13236,
29892,
9869,
29918,
978,
353,
525,
19558,
29918,
26353,
29918,
29924,
29918,
29911,
629,
29918,
29953,
29900,
29891,
313,
11206,
29897,
742,
4839,
29922,
5574,
29892,
2380,
29922,
8824,
8443,
13,
2176,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29889,
517,
29918,
24633,
29898,
13236,
29892,
9869,
29918,
978,
353,
525,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
313,
11206,
29897,
742,
4839,
29922,
5574,
29892,
2380,
29922,
8824,
8443,
13,
30004,
13,
30004,
13,
30004,
13,
13236,
29889,
7620,
26471,
13,
13236,
29889,
5358,
26471,
13,
30004,
13,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
29937,
14448,
313,
29906,
29906,
1125,
18399,
310,
278,
5375,
22004,
25477,
322,
409,
1119,
29878,
362,
24536,
363,
4226,
322,
5016,
1188,
29899,
7052,
18445,
30004,
13,
30004,
13,
29937,
19558,
29918,
26353,
29918,
29924,
29918,
11206,
29918,
10644,
29918,
29955,
29891,
313,
1252,
15423,
11301,
19201,
8443,
13,
30004,
13,
1003,
29922,
572,
29873,
29889,
4532,
26471,
13,
1003,
29889,
4294,
26471,
13,
1165,
29896,
29918,
29879,
29922,
1003,
29889,
1202,
29918,
1491,
5317,
29898,
29896,
29896,
29896,
8443,
13,
30004,
13,
29937,
5317,
30004,
13,
1165,
29896,
29918,
29879,
29889,
5317,
29898,
29873,
29892,
12151,
29918,
1761,
29918,
10644,
29918,
29955,
29891,
29892,
2927,
2433,
26031,
15339,
9940,
742,
3858,
2433,
29943,
29900,
29899,
29896,
29901,
3457,
290,
465,
315,
409,
1119,
29878,
362,
1495,
6756,
13,
29937,
1165,
29896,
29918,
29879,
29889,
5317,
29898,
29873,
29892,
438,
29907,
29918,
12925,
29918,
29903,
29896,
29918,
10644,
29955,
29892,
2927,
2433,
26031,
29873,
332,
339,
29877,
895,
742,
3858,
2433,
29929,
29901,
3172,
5589,
8635,
1495,
6756,
13,
1165,
29896,
29918,
29879,
29889,
5317,
29898,
29873,
29892,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29900,
1402,
2927,
2433,
4366,
2616,
284,
742,
3858,
2433,
29943,
29896,
29899,
29900,
29901,
2538,
333,
434,
26227,
1495,
30004,
13,
1165,
29896,
29918,
29879,
29889,
5317,
29898,
29873,
29892,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
10644,
29955,
29892,
2927,
2433,
27891,
344,
351,
2733,
742,
3858,
2433,
29943,
29953,
29899,
29900,
29899,
29896,
29901,
2812,
6847,
515,
3974,
6115,
29914,
1228,
5864,
671,
1495,
6756,
13,
1165,
29896,
29918,
29879,
29889,
5317,
29898,
29873,
29892,
349,
29950,
29918,
6026,
6847,
29918,
29950,
26433,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
2927,
2433,
272,
927,
742,
3858,
2433,
29943,
29947,
29899,
29900,
29901,
6607,
1288,
7408,
29914,
19170,
953,
6847,
1495,
30004,
13,
1165,
29896,
29918,
29879,
29889,
5317,
29898,
29873,
29892,
4321,
8452,
29924,
29896,
29918,
10644,
29955,
29889,
29877,
29892,
2927,
2433,
307,
4605,
9539,
742,
3858,
2433,
29943,
29953,
29899,
29900,
29899,
29906,
29901,
24836,
671,
953,
6847,
515,
297,
29899,
1509,
10961,
29879,
714,
1731,
1495,
30004,
13,
1165,
29896,
29918,
29879,
29889,
5317,
29898,
29873,
29892,
3172,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
2927,
2433,
29136,
742,
3858,
2433,
29943,
29955,
29899,
29900,
29901,
3172,
5589,
10489,
26227,
1495,
30004,
13,
30004,
13,
30004,
13,
1165,
29896,
29918,
29879,
29889,
26172,
29898,
29890,
1884,
29918,
517,
29918,
25367,
7607,
29896,
29889,
29900,
29946,
29892,
29896,
511,
1180,
543,
21064,
2175,
613,
3515,
265,
29922,
8824,
8443,
13,
30004,
13,
1165,
29896,
29918,
29879,
29889,
842,
29918,
29916,
2576,
6278,
29896,
29892,
29906,
29900,
29900,
8443,
13,
30004,
13,
30004,
13,
1165,
29896,
29918,
29879,
29889,
842,
29918,
952,
29883,
744,
877,
11967,
1188,
1495,
30004,
13,
6756,
13,
1165,
29896,
29918,
29879,
29889,
842,
29918,
29916,
1643,
877,
2481,
313,
6360,
29897,
1495,
30004,
13,
1165,
29896,
29918,
29879,
29889,
842,
29918,
29891,
1643,
877,
29907,
24536,
313,
29873,
29899,
29907,
29897,
313,
11967,
1188,
29897,
1495,
30004,
13,
30004,
13,
1165,
29896,
29918,
29879,
29889,
842,
29918,
3257,
877,
8179,
6718,
4972,
29892,
360,
29931,
29918,
26353,
29918,
29924,
29918,
11206,
29918,
10644,
29918,
29955,
29891,
313,
11206,
29897,
313,
11967,
1188,
29899,
7052,
29897,
1495,
30004,
13,
30004,
13,
572,
29873,
29889,
4294,
26471,
13,
30004,
13,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
30004,
13,
29937,
5317,
363,
278,
5375,
22004,
24536,
30004,
13,
30004,
13,
29937,
19558,
29918,
26353,
29918,
29924,
29918,
11206,
29918,
10644,
29918,
29955,
29891,
313,
1252,
15423,
11301,
19201,
8443,
13,
30004,
13,
1003,
29922,
572,
29873,
29889,
4532,
26471,
13,
1003,
29889,
4294,
26471,
13,
1165,
29896,
29922,
1003,
29889,
1202,
29918,
1491,
5317,
29898,
29896,
29896,
29896,
8443,
13,
30004,
13,
1165,
29896,
29889,
5317,
29898,
29873,
29892,
12151,
29918,
1761,
29918,
10644,
29918,
29955,
29891,
29892,
2927,
2433,
26031,
15339,
9940,
742,
3858,
2433,
29943,
29900,
29899,
29896,
29901,
3457,
290,
465,
315,
409,
1119,
29878,
362,
1495,
6756,
13,
29937,
1165,
29896,
29889,
5317,
29898,
29873,
29892,
438,
29907,
29918,
12925,
29918,
29903,
29896,
29918,
10644,
29955,
29892,
2927,
2433,
26031,
29873,
332,
339,
29877,
895,
742,
3858,
2433,
29929,
29901,
3172,
5589,
8635,
1495,
6756,
13,
1165,
29896,
29889,
5317,
29898,
29873,
29892,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29900,
1402,
2927,
2433,
4366,
2616,
284,
742,
3858,
2433,
29943,
29896,
29899,
29900,
29901,
2538,
333,
434,
26227,
1495,
30004,
13,
1165,
29896,
29889,
5317,
29898,
29873,
29892,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
10644,
29955,
29892,
2927,
2433,
27891,
344,
351,
2733,
742,
3858,
2433,
29943,
29953,
29899,
29900,
29899,
29896,
29901,
2812,
6847,
515,
3974,
6115,
29914,
1228,
5864,
671,
1495,
6756,
13,
1165,
29896,
29889,
5317,
29898,
29873,
29892,
349,
29950,
29918,
6026,
6847,
29918,
29950,
26433,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
2927,
2433,
272,
927,
742,
3858,
2433,
29943,
29947,
29899,
29900,
29901,
6607,
1288,
7408,
29914,
19170,
953,
6847,
1495,
30004,
13,
1165,
29896,
29889,
5317,
29898,
29873,
29892,
4321,
8452,
29924,
29896,
29918,
10644,
29955,
29889,
29877,
29892,
2927,
2433,
307,
4605,
9539,
742,
3858,
2433,
29943,
29953,
29899,
29900,
29899,
29906,
29901,
24836,
671,
953,
6847,
515,
297,
29899,
1509,
10961,
29879,
714,
1731,
1495,
30004,
13,
1165,
29896,
29889,
5317,
29898,
29873,
29892,
3172,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
2927,
2433,
29136,
742,
3858,
2433,
29943,
29955,
29899,
29900,
29901,
3172,
5589,
10489,
26227,
1495,
30004,
13,
30004,
13,
6756,
13,
1165,
29896,
29889,
26172,
29898,
29890,
1884,
29918,
517,
29918,
25367,
7607,
29896,
29889,
29900,
29946,
29892,
29896,
511,
1180,
543,
21064,
2175,
613,
3515,
265,
29922,
8824,
8443,
13,
30004,
13,
1165,
29896,
29889,
842,
29918,
29916,
2576,
29898,
29900,
29892,
29906,
29900,
29900,
8443,
13,
30004,
13,
30004,
13,
1165,
29896,
29889,
842,
29918,
29916,
1643,
877,
2481,
313,
6360,
29897,
1495,
30004,
13,
1165,
29896,
29889,
842,
29918,
29891,
1643,
877,
29907,
24536,
29898,
29873,
29899,
29907,
29897,
1495,
30004,
13,
30004,
13,
1165,
29896,
29889,
842,
29918,
3257,
877,
8179,
6718,
4972,
29892,
360,
29931,
29918,
26353,
29918,
29924,
29918,
10644,
29918,
29955,
29891,
313,
11206,
29897,
1495,
30004,
13,
30004,
13,
30004,
13,
29937,
572,
29873,
29889,
7620,
1003,
877,
29907,
3583,
5531,
29905,
1469,
29905,
1367,
16367,
2522,
264,
8596,
29905,
29950,
522,
598,
29899,
6707,
29905,
13080,
29905,
29954,
26433,
29918,
29881,
948,
29918,
29896,
29918,
3960,
29931,
29918,
29924,
1495,
30004,
13,
30004,
13,
30004,
13,
572,
29873,
29889,
4012,
26471,
13,
30004,
13,
29937,
7686,
30004,
13,
29937,
5317,
363,
278,
5375,
22004,
24536,
448,
1243,
363,
5016,
1188,
29899,
7052,
18445,
30004,
13,
30004,
13,
29937,
19558,
29918,
26353,
29918,
29924,
29918,
11206,
29918,
10644,
29918,
29896,
29947,
29891,
313,
1252,
15423,
11301,
19201,
8443,
13,
30004,
13,
1003,
29922,
572,
29873,
29889,
4532,
26471,
13,
1003,
29889,
4294,
26471,
13,
1165,
29906,
29918,
29879,
29922,
1003,
29889,
1202,
29918,
1491,
5317,
29898,
29896,
29896,
29896,
8443,
13,
30004,
13,
30004,
13,
29937,
5317,
30004,
13,
1165,
29906,
29918,
29879,
29889,
5317,
29898,
29873,
29892,
12151,
29918,
1761,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
2927,
2433,
26031,
15339,
9940,
742,
3858,
2433,
29943,
29900,
29899,
29896,
29901,
3457,
290,
465,
315,
409,
1119,
29878,
362,
1495,
6756,
13,
29937,
1165,
29906,
29918,
29879,
29889,
5317,
29898,
29873,
29892,
438,
29907,
29918,
12925,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
29892,
2927,
2433,
26031,
29873,
332,
339,
29877,
895,
742,
3858,
2433,
29929,
29901,
3172,
5589,
8635,
1495,
30004,
13,
1165,
29906,
29918,
29879,
29889,
5317,
29898,
29873,
29892,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29900,
1402,
2927,
2433,
4366,
2616,
284,
742,
3858,
2433,
29943,
29896,
29899,
29900,
29901,
2538,
333,
434,
26227,
1495,
30004,
13,
1165,
29906,
29918,
29879,
29889,
5317,
29898,
29873,
29892,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
29892,
2927,
2433,
27891,
344,
351,
2733,
742,
3858,
2433,
29943,
29953,
29899,
29900,
29899,
29896,
29901,
2812,
6847,
515,
3974,
6115,
29914,
1228,
5864,
671,
1495,
30004,
13,
1165,
29906,
29918,
29879,
29889,
5317,
29898,
29873,
29892,
349,
29950,
29918,
6026,
6847,
29918,
29950,
26433,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
2927,
2433,
272,
927,
742,
3858,
2433,
29943,
29947,
29899,
29900,
29901,
6607,
1288,
7408,
29914,
19170,
953,
6847,
1495,
6756,
13,
1165,
29906,
29918,
29879,
29889,
5317,
29898,
29873,
29892,
4321,
8452,
29924,
29896,
29918,
10644,
29896,
29947,
29889,
29877,
29892,
2927,
2433,
307,
4605,
9539,
742,
3858,
2433,
29943,
29953,
29899,
29900,
29899,
29906,
29901,
24836,
671,
953,
6847,
515,
297,
29899,
1509,
10961,
29879,
714,
1731,
1495,
30004,
13,
1165,
29906,
29918,
29879,
29889,
5317,
29898,
29873,
29892,
3172,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
2927,
2433,
29136,
742,
3858,
2433,
29943,
29955,
29899,
29900,
29901,
3172,
5589,
10489,
26227,
1495,
30004,
13,
30004,
13,
30004,
13,
1165,
29906,
29918,
29879,
29889,
26172,
29898,
29890,
1884,
29918,
517,
29918,
25367,
7607,
29896,
29889,
29900,
29946,
29892,
29896,
511,
1180,
543,
21064,
2175,
613,
3515,
265,
29922,
8824,
8443,
13,
30004,
13,
1165,
29906,
29918,
29879,
29889,
842,
29918,
29916,
2576,
6278,
29896,
29892,
29906,
29900,
29900,
8443,
13,
30004,
13,
30004,
13,
1165,
29906,
29918,
29879,
29889,
842,
29918,
952,
29883,
744,
877,
11967,
1188,
1495,
30004,
13,
6756,
13,
1165,
29906,
29918,
29879,
29889,
842,
29918,
29916,
1643,
877,
2481,
313,
6360,
29897,
1495,
30004,
13,
1165,
29906,
29918,
29879,
29889,
842,
29918,
29891,
1643,
877,
29907,
24536,
313,
29873,
29899,
29907,
29897,
313,
11967,
1188,
29897,
1495,
30004,
13,
30004,
13,
1165,
29906,
29918,
29879,
29889,
842,
29918,
3257,
877,
8179,
6718,
4972,
29892,
360,
29931,
29918,
26353,
29918,
29924,
29918,
11206,
29918,
10644,
29918,
29896,
29947,
29891,
313,
11206,
29897,
313,
11967,
1188,
29899,
7052,
29897,
1495,
30004,
13,
30004,
13,
572,
29873,
29889,
4294,
26471,
13,
30004,
13,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
29937,
5317,
363,
278,
5375,
22004,
24536,
30004,
13,
30004,
13,
29937,
19558,
29918,
26353,
29918,
29924,
29918,
11206,
29918,
10644,
29918,
29896,
29947,
29891,
313,
1252,
15423,
11301,
19201,
8443,
13,
30004,
13,
1003,
29922,
572,
29873,
29889,
4532,
26471,
13,
1003,
29889,
4294,
26471,
13,
1165,
29906,
29922,
1003,
29889,
1202,
29918,
1491,
5317,
29898,
29896,
29896,
29896,
8443,
13,
30004,
13,
29937,
5317,
30004,
13,
1165,
29906,
29889,
5317,
29898,
29873,
29892,
12151,
29918,
1761,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
2927,
2433,
26031,
15339,
9940,
742,
3858,
2433,
29943,
29900,
29899,
29896,
29901,
3457,
290,
465,
315,
409,
1119,
29878,
362,
1495,
6756,
13,
29937,
1165,
29906,
29889,
5317,
29898,
29873,
29892,
438,
29907,
29918,
12925,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
29892,
2927,
2433,
26031,
29873,
332,
339,
29877,
895,
742,
3858,
2433,
29929,
29901,
3172,
5589,
8635,
1495,
30004,
13,
1165,
29906,
29889,
5317,
29898,
29873,
29892,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29900,
1402,
2927,
2433,
4366,
2616,
284,
742,
3858,
2433,
29943,
29896,
29899,
29900,
29901,
2538,
333,
434,
26227,
1495,
30004,
13,
1165,
29906,
29889,
5317,
29898,
29873,
29892,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
29892,
2927,
2433,
27891,
344,
351,
2733,
742,
3858,
2433,
29943,
29953,
29899,
29900,
29899,
29896,
29901,
2812,
6847,
515,
3974,
6115,
29914,
1228,
5864,
671,
1495,
30004,
13,
1165,
29906,
29889,
5317,
29898,
29873,
29892,
349,
29950,
29918,
6026,
6847,
29918,
29950,
26433,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
2927,
2433,
272,
927,
742,
3858,
2433,
29943,
29947,
29899,
29900,
29901,
6607,
1288,
7408,
29914,
19170,
953,
6847,
1495,
6756,
13,
1165,
29906,
29889,
5317,
29898,
29873,
29892,
4321,
8452,
29924,
29896,
29918,
10644,
29896,
29947,
29889,
29877,
29892,
2927,
2433,
307,
4605,
9539,
742,
3858,
2433,
29943,
29953,
29899,
29900,
29899,
29906,
29901,
24836,
671,
953,
6847,
515,
297,
29899,
1509,
10961,
29879,
714,
1731,
1495,
30004,
13,
1165,
29906,
29889,
5317,
29898,
29873,
29892,
3172,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
2927,
2433,
29136,
742,
3858,
2433,
29943,
29955,
29899,
29900,
29901,
3172,
5589,
10489,
26227,
1495,
30004,
13,
6756,
13,
1165,
29906,
29889,
26172,
29898,
29890,
1884,
29918,
517,
29918,
25367,
7607,
29896,
29889,
29900,
29946,
29892,
29896,
511,
1180,
543,
21064,
2175,
613,
3515,
265,
29922,
8824,
8443,
13,
30004,
13,
1165,
29906,
29889,
842,
29918,
29916,
2576,
29898,
29900,
29892,
29906,
29900,
29900,
8443,
13,
30004,
13,
30004,
13,
1165,
29906,
29889,
842,
29918,
29916,
1643,
877,
2481,
313,
6360,
29897,
1495,
30004,
13,
1165,
29906,
29889,
842,
29918,
29891,
1643,
877,
29907,
24536,
29898,
29873,
29899,
29907,
29897,
1495,
30004,
13,
30004,
13,
1165,
29906,
29889,
842,
29918,
3257,
877,
8179,
6718,
4972,
29892,
360,
29931,
29918,
26353,
29918,
29924,
29918,
10644,
29918,
29896,
29947,
29891,
313,
11206,
29897,
1495,
30004,
13,
30004,
13,
30004,
13,
29937,
572,
29873,
29889,
7620,
1003,
877,
29907,
3583,
5531,
29905,
1469,
29905,
1367,
16367,
2522,
264,
8596,
29905,
29950,
522,
598,
29899,
6707,
29905,
13080,
29905,
29954,
26433,
29918,
29881,
948,
29918,
29896,
29918,
3960,
29931,
29918,
29924,
1495,
30004,
13,
30004,
13,
30004,
13,
572,
29873,
29889,
4012,
26471,
13,
30004,
13,
29937,
7686,
30004,
13,
29937,
5317,
363,
278,
5375,
22004,
24536,
448,
1243,
363,
5016,
1188,
29899,
7052,
18445,
30004,
13,
30004,
13,
29937,
19558,
29918,
26353,
29918,
29924,
29918,
11206,
29918,
29911,
629,
29918,
29953,
29900,
29891,
313,
1252,
15423,
11301,
19201,
8443,
13,
30004,
13,
1003,
29922,
572,
29873,
29889,
4532,
26471,
13,
1003,
29889,
4294,
26471,
13,
1165,
29941,
29918,
29879,
29922,
1003,
29889,
1202,
29918,
1491,
5317,
29898,
29896,
29896,
29896,
8443,
13,
30004,
13,
29937,
5317,
30004,
13,
1165,
29941,
29918,
29879,
29889,
5317,
29898,
29873,
29892,
12151,
29918,
1761,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
2927,
2433,
26031,
15339,
9940,
742,
3858,
2433,
29943,
29900,
29899,
29896,
29901,
3457,
290,
465,
315,
409,
1119,
29878,
362,
1495,
6756,
13,
29937,
1165,
29941,
29918,
29879,
29889,
5317,
29898,
29873,
29892,
438,
29907,
29918,
12925,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
29892,
2927,
2433,
26031,
29873,
332,
339,
29877,
895,
742,
3858,
2433,
29929,
29901,
3172,
5589,
8635,
1495,
30004,
13,
1165,
29941,
29918,
29879,
29889,
5317,
29898,
29873,
29892,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29900,
1402,
2927,
2433,
4366,
2616,
284,
742,
3858,
2433,
29943,
29896,
29899,
29900,
29901,
2538,
333,
434,
26227,
1495,
30004,
13,
1165,
29941,
29918,
29879,
29889,
5317,
29898,
29873,
29892,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
29892,
2927,
2433,
27891,
344,
351,
2733,
742,
3858,
2433,
29943,
29953,
29899,
29900,
29899,
29896,
29901,
2812,
6847,
515,
3974,
6115,
29914,
1228,
5864,
671,
1495,
30004,
13,
1165,
29941,
29918,
29879,
29889,
5317,
29898,
29873,
29892,
349,
29950,
29918,
6026,
6847,
29918,
29950,
26433,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
2927,
2433,
272,
927,
742,
3858,
2433,
29943,
29947,
29899,
29900,
29901,
6607,
1288,
7408,
29914,
19170,
953,
6847,
1495,
6756,
13,
1165,
29941,
29918,
29879,
29889,
5317,
29898,
29873,
29892,
4321,
8452,
29924,
29896,
29918,
29911,
629,
29953,
29900,
29889,
29877,
29892,
2927,
2433,
307,
4605,
9539,
742,
3858,
2433,
29943,
29953,
29899,
29900,
29899,
29906,
29901,
24836,
671,
953,
6847,
515,
297,
29899,
1509,
10961,
29879,
714,
1731,
1495,
6756,
13,
1165,
29941,
29918,
29879,
29889,
5317,
29898,
29873,
29892,
3172,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
2927,
2433,
29136,
742,
3858,
2433,
29943,
29955,
29899,
29900,
29901,
3172,
5589,
10489,
26227,
1495,
6756,
13,
30004,
13,
30004,
13,
1165,
29941,
29918,
29879,
29889,
26172,
29898,
29890,
1884,
29918,
517,
29918,
25367,
7607,
29896,
29889,
29900,
29946,
29892,
29896,
511,
1180,
543,
21064,
2175,
613,
3515,
265,
29922,
8824,
8443,
13,
30004,
13,
1165,
29941,
29918,
29879,
29889,
842,
29918,
29916,
2576,
6278,
29896,
29892,
29906,
29900,
29900,
8443,
13,
30004,
13,
30004,
13,
1165,
29941,
29918,
29879,
29889,
842,
29918,
952,
29883,
744,
877,
11967,
1188,
1495,
30004,
13,
6756,
13,
1165,
29941,
29918,
29879,
29889,
842,
29918,
29916,
1643,
877,
2481,
313,
6360,
29897,
1495,
30004,
13,
1165,
29941,
29918,
29879,
29889,
842,
29918,
29891,
1643,
877,
29907,
24536,
313,
29873,
29899,
29907,
29897,
313,
11967,
1188,
29897,
1495,
30004,
13,
30004,
13,
1165,
29941,
29918,
29879,
29889,
842,
29918,
3257,
877,
8179,
6718,
4972,
29892,
360,
29931,
29918,
26353,
29918,
29924,
29918,
11206,
29918,
29911,
629,
29918,
29953,
29900,
29891,
313,
11206,
29897,
313,
11967,
1188,
29899,
7052,
29897,
1495,
30004,
13,
30004,
13,
572,
29873,
29889,
4294,
26471,
13,
30004,
13,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
29937,
5317,
363,
278,
5375,
22004,
24536,
30004,
13,
30004,
13,
29937,
19558,
29918,
26353,
29918,
29924,
29918,
11206,
29918,
29911,
629,
29918,
29953,
29900,
29891,
313,
1252,
15423,
11301,
19201,
8443,
13,
30004,
13,
1003,
29922,
572,
29873,
29889,
4532,
26471,
13,
1003,
29889,
4294,
26471,
13,
1165,
29941,
29922,
1003,
29889,
1202,
29918,
1491,
5317,
29898,
29896,
29896,
29896,
8443,
13,
30004,
13,
29937,
5317,
30004,
13,
1165,
29941,
29889,
5317,
29898,
29873,
29892,
12151,
29918,
1761,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
2927,
2433,
26031,
15339,
9940,
742,
3858,
2433,
29943,
29900,
29899,
29896,
29901,
3457,
290,
465,
315,
409,
1119,
29878,
362,
1495,
6756,
13,
29937,
1165,
29941,
29889,
5317,
29898,
29873,
29892,
438,
29907,
29918,
12925,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
29892,
2927,
2433,
26031,
29873,
332,
339,
29877,
895,
742,
3858,
2433,
29929,
29901,
3172,
5589,
8635,
1495,
30004,
13,
1165,
29941,
29889,
5317,
29898,
29873,
29892,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29900,
1402,
2927,
2433,
4366,
2616,
284,
742,
3858,
2433,
29943,
29896,
29899,
29900,
29901,
2538,
333,
434,
26227,
1495,
30004,
13,
1165,
29941,
29889,
5317,
29898,
29873,
29892,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
29892,
2927,
2433,
27891,
344,
351,
2733,
742,
3858,
2433,
29943,
29953,
29899,
29900,
29899,
29896,
29901,
2812,
6847,
515,
3974,
6115,
29914,
1228,
5864,
671,
1495,
30004,
13,
1165,
29941,
29889,
5317,
29898,
29873,
29892,
349,
29950,
29918,
6026,
6847,
29918,
29950,
26433,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
2927,
2433,
272,
927,
742,
3858,
2433,
29943,
29947,
29899,
29900,
29901,
6607,
1288,
7408,
29914,
19170,
953,
6847,
1495,
6756,
13,
1165,
29941,
29889,
5317,
29898,
29873,
29892,
4321,
8452,
29924,
29896,
29918,
29911,
629,
29953,
29900,
29889,
29877,
29892,
2927,
2433,
307,
4605,
9539,
742,
3858,
2433,
29943,
29953,
29899,
29900,
29899,
29906,
29901,
24836,
671,
953,
6847,
515,
297,
29899,
1509,
10961,
29879,
714,
1731,
1495,
6756,
13,
1165,
29941,
29889,
5317,
29898,
29873,
29892,
3172,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
2927,
2433,
29136,
742,
3858,
2433,
29943,
29955,
29899,
29900,
29901,
3172,
5589,
10489,
26227,
1495,
6756,
13,
6756,
13,
1165,
29941,
29889,
26172,
29898,
29890,
1884,
29918,
517,
29918,
25367,
7607,
29896,
29889,
29900,
29946,
29892,
29896,
511,
1180,
543,
21064,
2175,
613,
3515,
265,
29922,
8824,
8443,
13,
30004,
13,
1165,
29941,
29889,
842,
29918,
29916,
2576,
29898,
29900,
29892,
29906,
29900,
29900,
8443,
13,
30004,
13,
30004,
13,
1165,
29941,
29889,
842,
29918,
29916,
1643,
877,
2481,
313,
6360,
29897,
1495,
30004,
13,
1165,
29941,
29889,
842,
29918,
29891,
1643,
877,
29907,
24536,
29898,
29873,
29899,
29907,
29897,
1495,
30004,
13,
30004,
13,
1165,
29941,
29889,
842,
29918,
3257,
877,
8179,
6718,
4972,
29892,
360,
29931,
29918,
26353,
29918,
29924,
29918,
29911,
629,
29918,
29953,
29900,
29891,
313,
11206,
29897,
1495,
30004,
13,
30004,
13,
30004,
13,
29937,
572,
29873,
29889,
7620,
1003,
877,
29907,
3583,
5531,
29905,
1469,
29905,
1367,
16367,
2522,
264,
8596,
29905,
29950,
522,
598,
29899,
6707,
29905,
13080,
29905,
29954,
26433,
29918,
29881,
948,
29918,
29896,
29918,
3960,
29931,
29918,
29924,
1495,
30004,
13,
30004,
13,
30004,
13,
572,
29873,
29889,
4012,
26471,
13,
30004,
13,
30004,
13,
29937,
7686,
30004,
13,
29937,
5317,
363,
278,
5375,
22004,
24536,
448,
1243,
363,
5016,
1188,
29899,
7052,
18445,
30004,
13,
30004,
13,
29937,
19558,
29918,
26353,
29918,
29923,
29918,
11206,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
313,
1252,
15423,
11301,
19201,
8443,
13,
30004,
13,
1003,
29922,
572,
29873,
29889,
4532,
26471,
13,
1003,
29889,
4294,
26471,
13,
1165,
29946,
29918,
29879,
29922,
1003,
29889,
1202,
29918,
1491,
5317,
29898,
29896,
29896,
29896,
8443,
13,
30004,
13,
29937,
5317,
30004,
13,
1165,
29946,
29918,
29879,
29889,
5317,
29898,
29873,
29892,
12151,
29918,
1761,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
2927,
2433,
26031,
15339,
9940,
742,
3858,
2433,
29943,
29900,
29899,
29896,
29901,
3457,
290,
465,
315,
409,
1119,
29878,
362,
1495,
6756,
13,
29937,
1165,
29946,
29918,
29879,
29889,
5317,
29898,
29873,
29892,
438,
29907,
29918,
12925,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
29892,
2927,
2433,
26031,
29873,
332,
339,
29877,
895,
742,
3858,
2433,
29929,
29901,
3172,
5589,
8635,
1495,
30004,
13,
1165,
29946,
29918,
29879,
29889,
5317,
29898,
29873,
29892,
316,
2388,
29918,
4260,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
1402,
2927,
2433,
4366,
2616,
284,
742,
3858,
2433,
29943,
29896,
29899,
29900,
29901,
2538,
333,
434,
26227,
1495,
30004,
13,
1165,
29946,
29918,
29879,
29889,
5317,
29898,
29873,
29892,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
29892,
2927,
2433,
27891,
344,
351,
2733,
742,
3858,
2433,
29943,
29953,
29899,
29900,
29899,
29896,
29901,
2812,
6847,
515,
3974,
6115,
29914,
1228,
5864,
671,
1495,
6756,
13,
1165,
29946,
29918,
29879,
29889,
5317,
29898,
29873,
29892,
349,
29950,
29918,
6026,
6847,
29918,
29950,
29956,
4162,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
2927,
2433,
272,
927,
742,
3858,
2433,
29943,
29947,
29899,
29900,
29901,
6607,
1288,
7408,
29914,
19170,
953,
6847,
1495,
6756,
13,
1165,
29946,
29918,
29879,
29889,
5317,
29898,
29873,
29892,
3172,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
2927,
2433,
29136,
742,
3858,
2433,
29943,
29955,
29899,
29900,
29901,
3172,
5589,
10489,
26227,
1495,
6756,
13,
1165,
29946,
29918,
29879,
29889,
5317,
29898,
29873,
29892,
274,
29918,
13111,
10376,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
2927,
2433,
2536,
1845,
8903,
742,
3858,
2433,
29943,
29946,
29899,
29900,
29901,
2812,
6847,
515,
8112,
4639,
10376,
671,
1495,
6756,
13,
29937,
1165,
29946,
29918,
29879,
29889,
5317,
29898,
29873,
29892,
4321,
8452,
2303,
29918,
29950,
1182,
29946,
29900,
29889,
29877,
29892,
3858,
2433,
262,
29899,
1509,
10961,
1962,
1495,
30004,
13,
30004,
13,
30004,
13,
1165,
29946,
29918,
29879,
29889,
26172,
29898,
29890,
1884,
29918,
517,
29918,
25367,
7607,
29896,
29889,
29900,
29946,
29892,
29896,
511,
1180,
543,
21064,
2175,
613,
3515,
265,
29922,
8824,
8443,
13,
30004,
13,
1165,
29946,
29918,
29879,
29889,
842,
29918,
29916,
2576,
6278,
29896,
29892,
29906,
29900,
29900,
8443,
13,
30004,
13,
30004,
13,
1165,
29946,
29918,
29879,
29889,
842,
29918,
952,
29883,
744,
877,
11967,
1188,
1495,
30004,
13,
6756,
13,
1165,
29946,
29918,
29879,
29889,
842,
29918,
29916,
1643,
877,
2481,
313,
6360,
29897,
1495,
30004,
13,
1165,
29946,
29918,
29879,
29889,
842,
29918,
29891,
1643,
877,
29907,
24536,
313,
29873,
29899,
29907,
29897,
313,
11967,
1188,
29897,
1495,
30004,
13,
30004,
13,
1165,
29946,
29918,
29879,
29889,
842,
29918,
3257,
877,
8179,
6718,
4972,
29892,
360,
29931,
29918,
26353,
29918,
29923,
29918,
11206,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
313,
11206,
29897,
313,
11967,
1188,
29899,
7052,
29897,
1495,
30004,
13,
30004,
13,
572,
29873,
29889,
4294,
26471,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
29937,
5317,
363,
278,
5375,
22004,
24536,
30004,
13,
30004,
13,
29937,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
313,
1252,
15423,
11301,
19201,
8443,
13,
30004,
13,
1003,
29922,
572,
29873,
29889,
4532,
26471,
13,
1003,
29889,
4294,
26471,
13,
1165,
29946,
29922,
1003,
29889,
1202,
29918,
1491,
5317,
29898,
29896,
29896,
29896,
8443,
13,
30004,
13,
30004,
13,
29937,
5317,
30004,
13,
1165,
29946,
29889,
5317,
29898,
29873,
29892,
12151,
29918,
1761,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
2927,
2433,
26031,
15339,
9940,
742,
3858,
2433,
29943,
29900,
29899,
29896,
29901,
3457,
290,
465,
315,
409,
1119,
29878,
362,
1495,
6756,
13,
29937,
1165,
29946,
29889,
5317,
29898,
29873,
29892,
438,
29907,
29918,
12925,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
29892,
2927,
2433,
26031,
29873,
332,
339,
29877,
895,
742,
3858,
2433,
29929,
29901,
3172,
5589,
8635,
1495,
30004,
13,
1165,
29946,
29889,
5317,
29898,
29873,
29892,
316,
2388,
29918,
4260,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
1402,
2927,
2433,
4366,
2616,
284,
742,
3858,
2433,
29943,
29896,
29899,
29900,
29901,
2538,
333,
434,
26227,
1495,
30004,
13,
1165,
29946,
29889,
5317,
29898,
29873,
29892,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
29892,
2927,
2433,
27891,
344,
351,
2733,
742,
3858,
2433,
29943,
29953,
29899,
29900,
29899,
29896,
29901,
2812,
6847,
515,
3974,
6115,
29914,
1228,
5864,
671,
1495,
6756,
13,
1165,
29946,
29889,
5317,
29898,
29873,
29892,
349,
29950,
29918,
6026,
6847,
29918,
29950,
29956,
4162,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
2927,
2433,
272,
927,
742,
3858,
2433,
29943,
29947,
29899,
29900,
29901,
6607,
1288,
7408,
29914,
19170,
953,
6847,
1495,
6756,
13,
1165,
29946,
29889,
5317,
29898,
29873,
29892,
3172,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
2927,
2433,
29136,
742,
3858,
2433,
29943,
29955,
29899,
29900,
29901,
3172,
5589,
10489,
26227,
1495,
6756,
13,
1165,
29946,
29889,
5317,
29898,
29873,
29892,
274,
29918,
13111,
10376,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
2927,
2433,
2536,
1845,
8903,
742,
3858,
2433,
29943,
29946,
29899,
29900,
29901,
2812,
6847,
515,
8112,
4639,
10376,
671,
1495,
6756,
13,
29937,
1165,
29918,
29887,
29889,
5317,
29898,
29873,
29892,
4321,
8452,
2303,
29918,
29950,
1182,
29946,
29900,
29889,
29877,
29892,
3858,
2433,
262,
29899,
1509,
10961,
1962,
1495,
30004,
13,
6756,
13,
1165,
29946,
29889,
26172,
29898,
29890,
1884,
29918,
517,
29918,
25367,
7607,
29896,
29889,
29900,
29946,
29892,
29896,
511,
1180,
543,
21064,
2175,
613,
3515,
265,
29922,
8824,
8443,
13,
30004,
13,
1165,
29946,
29889,
842,
29918,
29916,
2576,
29898,
29900,
29892,
29906,
29900,
29900,
8443,
13,
30004,
13,
30004,
13,
1165,
29946,
29889,
842,
29918,
29916,
1643,
877,
2481,
313,
6360,
29897,
1495,
30004,
13,
1165,
29946,
29889,
842,
29918,
29891,
1643,
877,
29907,
24536,
29898,
29873,
29899,
29907,
29897,
1495,
30004,
13,
30004,
13,
1165,
29946,
29889,
842,
29918,
3257,
877,
8179,
6718,
4972,
29892,
360,
29931,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
313,
11206,
29897,
1495,
30004,
13,
30004,
13,
30004,
13,
29937,
572,
29873,
29889,
7620,
1003,
877,
29907,
3583,
5531,
29905,
1469,
29905,
1367,
16367,
2522,
264,
8596,
29905,
29950,
522,
598,
29899,
6707,
29905,
13080,
29905,
29954,
26433,
29918,
29881,
948,
29918,
29896,
29918,
3960,
29931,
29918,
29924,
1495,
30004,
13,
30004,
13,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
29937,
14448,
313,
29906,
29941,
1125,
3251,
403,
278,
10616,
934,
363,
278,
7787,
22004,
17346,
30004,
13,
30004,
13,
29909,
1505,
29918,
29907,
1731,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
518,
29883,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
10644,
29955,
29892,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29900,
1402,
4321,
8452,
29924,
29896,
29918,
10644,
29955,
29889,
29877,
29892,
349,
29950,
29918,
6026,
6847,
29918,
29950,
26433,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
3172,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
12151,
29918,
1761,
29918,
10644,
29918,
29955,
29891,
29962,
30004,
13,
29909,
1505,
29918,
29907,
1731,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
518,
29883,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
29892,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29900,
1402,
4321,
8452,
29924,
29896,
29918,
10644,
29896,
29947,
29889,
29877,
29892,
349,
29950,
29918,
6026,
6847,
29918,
29950,
26433,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
3172,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
12151,
29918,
1761,
29918,
10644,
29918,
29896,
29947,
29891,
29962,
30004,
13,
29909,
1505,
29918,
29907,
1731,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
518,
29883,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
29892,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29900,
1402,
4321,
8452,
29924,
29896,
29918,
29911,
629,
29953,
29900,
29889,
29877,
29892,
349,
29950,
29918,
6026,
6847,
29918,
29950,
26433,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
3172,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
12151,
29918,
1761,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29962,
30004,
13,
29909,
1505,
29918,
29907,
1731,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
518,
29883,
29918,
8696,
6115,
29918,
27548,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
29892,
274,
29918,
13111,
10376,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
316,
2388,
29918,
4260,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
1402,
4321,
8452,
2303,
29918,
29950,
1182,
29946,
29900,
29889,
29877,
29892,
349,
29950,
29918,
6026,
6847,
29918,
29950,
29956,
4162,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
3172,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
12151,
29918,
1761,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29962,
30004,
13,
30004,
13,
30004,
13,
29909,
1505,
29918,
29907,
1731,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
518,
2083,
29898,
29916,
29897,
363,
921,
297,
14319,
10456,
29909,
1505,
29918,
29907,
1731,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
4638,
30004,
13,
29909,
1505,
29918,
29907,
1731,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
518,
2083,
29898,
29916,
29897,
363,
921,
297,
14319,
10456,
29909,
1505,
29918,
29907,
1731,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
4638,
30004,
13,
29909,
1505,
29918,
29907,
1731,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
518,
2083,
29898,
29916,
29897,
363,
921,
297,
14319,
10456,
29909,
1505,
29918,
29907,
1731,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
4638,
30004,
13,
29909,
1505,
29918,
29907,
1731,
29918,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
518,
2083,
29898,
29916,
29897,
363,
921,
297,
14319,
10456,
29909,
1505,
29918,
29907,
1731,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
4638,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
3258,
1897,
1629,
30004,
13,
6360,
353,
5159,
30004,
13,
1454,
921,
297,
3464,
313,
29900,
29892,
29871,
29906,
29900,
29896,
1125,
6756,
13,
1678,
1629,
29889,
4397,
29898,
29916,
29897,
6756,
13,
2158,
313,
6360,
8443,
13,
30004,
13,
29937,
4391,
784,
398,
2582,
30004,
13,
2176,
29924,
29918,
19558,
29918,
26353,
29918,
11206,
353,
10518,
29889,
17271,
29889,
3166,
29918,
8977,
3319,
29915,
12883,
2396,
6360,
5501,
29924,
29918,
11206,
29918,
10644,
29918,
29955,
29891,
313,
29873,
29899,
29907,
29897,
2396,
29909,
1505,
29918,
29907,
1731,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
525,
29924,
29918,
11206,
29918,
10644,
29918,
29896,
29947,
29891,
313,
29873,
29899,
29907,
29897,
2396,
29909,
1505,
29918,
29907,
1731,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
11167,
13,
462,
462,
308,
525,
29924,
29918,
11206,
29918,
29911,
629,
29918,
29953,
29900,
29891,
313,
29873,
29899,
29907,
29897,
2396,
29909,
1505,
29918,
29907,
1731,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
525,
29923,
29918,
11206,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
313,
29873,
29899,
29907,
29897,
2396,
29909,
1505,
29918,
29907,
1731,
29918,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
1800,
30004,
13,
30004,
13,
1678,
6756,
13,
29937,
26382,
304,
10616,
30004,
13,
13236,
353,
10518,
29889,
22926,
10507,
877,
29909,
1505,
9207,
677,
29918,
19558,
29918,
26353,
29918,
11206,
29889,
20267,
29916,
742,
6012,
353,
525,
20267,
29916,
13236,
1495,
30004,
13,
30004,
13,
30004,
13,
2176,
29924,
29918,
19558,
29918,
26353,
29918,
11206,
29889,
517,
29918,
24633,
29898,
13236,
29892,
9869,
29918,
978,
353,
525,
19558,
29918,
26353,
29918,
11206,
742,
4839,
29922,
5574,
29892,
2380,
29922,
8824,
8443,
13,
30004,
13,
13236,
29889,
7620,
26471,
13,
13236,
29889,
5358,
26471,
13,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
29937,
14448,
313,
29906,
29946,
1125,
18399,
278,
7787,
22004,
17346,
6756,
13,
30004,
13,
1003,
29922,
572,
29873,
29889,
4532,
26471,
13,
1003,
29889,
4294,
26471,
13,
1165,
29945,
29922,
1003,
29889,
1202,
29918,
1491,
5317,
29898,
29896,
29896,
29896,
8443,
13,
30004,
13,
29937,
6492,
30004,
13,
1165,
29945,
29889,
5317,
29898,
29873,
29892,
319,
1505,
29918,
29907,
1731,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
2927,
2433,
272,
927,
742,
3858,
2433,
29924,
29918,
11206,
29918,
10644,
29918,
29955,
29891,
1495,
6756,
13,
1165,
29945,
29889,
5317,
29898,
29873,
29892,
319,
1505,
29918,
29907,
1731,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
2927,
2433,
26031,
29873,
332,
339,
29877,
895,
742,
3858,
2433,
29924,
29918,
11206,
29918,
10644,
29918,
29896,
29947,
29891,
1495,
6756,
13,
1165,
29945,
29889,
5317,
29898,
29873,
29892,
319,
1505,
29918,
29907,
1731,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
2927,
2433,
4366,
2616,
284,
742,
3858,
2433,
29924,
29918,
11206,
29918,
29911,
629,
29918,
29953,
29900,
29891,
1495,
30004,
13,
1165,
29945,
29889,
5317,
29898,
29873,
29892,
319,
1505,
29918,
29907,
1731,
29918,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
2927,
2433,
27891,
344,
351,
2733,
742,
3858,
2433,
29923,
29918,
11206,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
1495,
29871,
6756,
13,
30004,
13,
1165,
29945,
29889,
5317,
29898,
29873,
29892,
503,
261,
324,
391,
28107,
29898,
13264,
29899,
29896,
511,
2927,
2433,
8517,
742,
3858,
2433,
24214,
1196,
742,
19375,
2433,
489,
742,
15595,
29922,
29900,
29889,
29955,
29945,
8443,
13,
30004,
13,
1165,
29945,
29889,
26172,
29898,
29890,
1884,
29918,
517,
29918,
25367,
7607,
29896,
29889,
29900,
29946,
29892,
29896,
511,
1180,
543,
21064,
2175,
613,
3515,
265,
29922,
8824,
8443,
13,
30004,
13,
1165,
29945,
29889,
842,
29918,
29916,
2576,
6278,
29896,
29892,
29906,
29900,
29900,
8443,
13,
1165,
29945,
29889,
842,
29918,
29891,
2576,
6278,
29906,
29945,
29892,
29906,
29906,
29900,
8443,
13,
30004,
13,
29937,
1165,
29945,
29889,
842,
29918,
952,
29883,
744,
877,
11967,
1188,
1495,
30004,
13,
6756,
13,
1165,
29945,
29889,
842,
29918,
29916,
1643,
877,
2481,
313,
6360,
29897,
1495,
30004,
13,
1165,
29945,
29889,
842,
29918,
29891,
1643,
877,
29907,
24536,
313,
29873,
29899,
29907,
29897,
1495,
30004,
13,
30004,
13,
1165,
29945,
29889,
842,
29918,
3257,
877,
6779,
22004,
17346,
29892,
360,
29931,
29918,
26353,
29918,
11206,
1495,
30004,
13,
30004,
13,
572,
29873,
29889,
4294,
26471,
13,
30004,
13,
29937,
7686,
30004,
13,
30004,
13,
29937,
14448,
313,
29906,
29945,
1125,
3251,
403,
278,
10616,
934,
363,
5106,
310,
5375,
22004,
24536,
297,
278,
1788,
5023,
313,
13080,
29889,
29871,
29896,
8443,
13,
30004,
13,
30004,
13,
29937,
2158,
1629,
1897,
30004,
13,
6360,
353,
5159,
30004,
13,
1454,
921,
297,
3464,
313,
29900,
29892,
29871,
29906,
29900,
29896,
1125,
6756,
13,
1678,
1629,
29889,
4397,
29898,
29916,
29897,
6756,
13,
2158,
313,
6360,
8443,
13,
30004,
13,
30004,
13,
2176,
29906,
29918,
10644,
29955,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
1495,
30004,
13,
2176,
29906,
29918,
10644,
29896,
29947,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
1495,
30004,
13,
2176,
29906,
29918,
29911,
629,
29946,
29900,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29946,
29900,
29891,
1495,
30004,
13,
2176,
29906,
29918,
29911,
629,
29953,
29900,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
1495,
30004,
13,
2176,
29923,
29906,
29918,
29950,
1182,
29946,
29900,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
1495,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
4409,
29896,
353,
1629,
30004,
13,
4563,
2459,
353,
29871,
29896,
29900,
29900,
29900,
29930,
29946,
29946,
29914,
29896,
29906,
30004,
13,
4563,
2459,
29918,
3210,
29946,
353,
29871,
29896,
29900,
29900,
29900,
29930,
29896,
29953,
29914,
29896,
29906,
30004,
13,
30004,
13,
30004,
13,
2277,
317,
29896,
29918,
10644,
29918,
29955,
29891,
30004,
13,
2277,
4529,
278,
1881,
4972,
363,
278,
2982,
5589,
313,
29943,
29945,
29899,
29955,
8443,
13,
20166,
29918,
12925,
29918,
29903,
29896,
29918,
10644,
29955,
353,
4489,
29896,
29918,
10644,
29955,
1839,
16107,
29918,
29907,
29918,
12925,
13359,
5975,
30004,
13,
30004,
13,
30004,
13,
20166,
29918,
12925,
29918,
29903,
29896,
29918,
10644,
29955,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
438,
29907,
29918,
12925,
29918,
29903,
29896,
29918,
10644,
29955,
29962,
30004,
13,
20166,
29918,
12925,
29918,
29903,
29896,
29918,
10644,
29955,
353,
518,
6897,
29898,
4537,
29897,
363,
1353,
297,
438,
29907,
29918,
12925,
29918,
29903,
29896,
29918,
10644,
29955,
29962,
30004,
13,
30004,
13,
29907,
29918,
29931,
29943,
29918,
29903,
29896,
29918,
10644,
29955,
353,
518,
29916,
29930,
29896,
29914,
29900,
29889,
29947,
29906,
363,
921,
297,
438,
29907,
29918,
12925,
29918,
29903,
29896,
29918,
10644,
29955,
29962,
30004,
13,
30004,
13,
30004,
13,
2277,
4529,
278,
1881,
4972,
515,
278,
12183,
29914,
8222,
10147,
292,
304,
8112,
17279,
29914,
13111,
10376,
9068,
313,
29943,
29906,
29899,
29941,
8443,
13,
29950,
26433,
29918,
29903,
29896,
29918,
10644,
29955,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
4489,
29896,
29918,
10644,
29955,
1839,
4290,
29918,
13691,
13359,
5975,
29962,
30004,
13,
29950,
26433,
29918,
29903,
29896,
29918,
10644,
29955,
29918,
27548,
353,
29871,
518,
29916,
29930,
29896,
29914,
29941,
363,
921,
297,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
10644,
29955,
29962,
30004,
13,
29950,
26433,
29918,
29903,
29896,
29918,
10644,
29955,
29918,
1049,
5589,
353,
518,
29916,
29930,
29896,
29914,
29900,
29889,
29947,
29906,
363,
921,
297,
438,
29907,
29918,
12925,
29918,
29903,
29896,
29918,
10644,
29955,
29962,
30004,
13,
30004,
13,
29950,
26433,
29918,
29903,
29896,
29918,
10644,
29955,
29918,
2083,
353,
518,
29950,
26433,
29918,
29903,
29896,
29918,
10644,
29955,
29892,
379,
26433,
29918,
29903,
29896,
29918,
10644,
29955,
29918,
27548,
29892,
379,
26433,
29918,
29903,
29896,
29918,
10644,
29955,
29918,
1049,
5589,
29962,
30004,
13,
29950,
26433,
29918,
29903,
29896,
29918,
10644,
29955,
29918,
2083,
353,
518,
2083,
29898,
29916,
29897,
363,
921,
297,
14319,
10456,
29950,
26433,
29918,
29903,
29896,
29918,
10644,
29955,
29918,
2083,
1723,
29962,
30004,
13,
30004,
13,
29937,
262,
29899,
1509,
10961,
29879,
313,
29903,
29899,
29946,
8443,
13,
3057,
8452,
29924,
29896,
29918,
10644,
29955,
29889,
29879,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
4321,
8452,
29924,
29896,
29918,
10644,
29955,
29889,
29879,
29962,
30004,
13,
29937,
3057,
8452,
29924,
29896,
29918,
10644,
29955,
29889,
29875,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
4321,
8452,
29924,
29896,
29918,
10644,
29955,
29889,
29875,
29962,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
15807,
403,
278,
383,
29896,
29899,
29906,
30004,
13,
29937,
797,
2498,
29892,
383,
29896,
29899,
29906,
353,
383,
29906,
29899,
29941,
718,
383,
29906,
29899,
29953,
29892,
6756,
13,
29937,
1762,
6219,
278,
383,
29896,
29899,
29906,
304,
383,
29896,
29874,
29899,
29906,
322,
383,
29896,
29883,
29899,
29906,
29892,
591,
817,
304,
17473,
403,
278,
4972,
363,
278,
2847,
2982,
11301,
313,
13691,
29897,
322,
278,
15352,
2982,
1134,
313,
26353,
8443,
13,
30004,
13,
29937,
3258,
383,
29896,
29874,
29899,
29906,
30004,
13,
29937,
13264,
353,
29871,
29906,
29900,
29896,
30004,
13,
29937,
9171,
29918,
13691,
29918,
29903,
29906,
29918,
10644,
29918,
29955,
29891,
353,
313,
13264,
29892,
29896,
8443,
13,
29937,
13691,
29918,
29903,
29906,
29918,
10644,
29918,
29955,
29891,
353,
7442,
29889,
3298,
359,
29898,
9171,
29918,
13691,
29918,
29903,
29906,
29918,
10644,
29918,
29955,
29891,
8443,
13,
30004,
13,
29937,
13691,
29918,
29903,
29906,
29918,
10644,
29918,
29955,
29891,
353,
518,
29916,
29896,
29974,
29916,
29906,
363,
313,
29916,
29896,
29892,
29916,
29906,
29897,
297,
14319,
29898,
29950,
26433,
29918,
29903,
29906,
29918,
10644,
29955,
29918,
2083,
29892,
518,
29916,
29930,
29906,
29914,
29941,
363,
921,
297,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29906,
29918,
10644,
29955,
2314,
3816,
29900,
29901,
29947,
29962,
6756,
13,
30004,
13,
30004,
13,
29937,
3258,
383,
29896,
29883,
29899,
29906,
30004,
13,
29937,
9171,
29918,
26353,
29918,
29903,
29906,
29918,
10644,
29918,
29955,
29891,
353,
313,
13264,
29892,
29896,
8443,
13,
29937,
26353,
29918,
29903,
29906,
29918,
10644,
29918,
29955,
29891,
353,
7442,
29889,
3298,
359,
29898,
9171,
29918,
26353,
29918,
29903,
29906,
29918,
10644,
29918,
29955,
29891,
8443,
13,
30004,
13,
29937,
26353,
29918,
29903,
29906,
29918,
10644,
29918,
29955,
29891,
353,
518,
29916,
29896,
29974,
29916,
29906,
363,
313,
29916,
29896,
29892,
29916,
29906,
29897,
297,
14319,
29898,
29950,
26433,
29918,
29903,
29906,
29918,
10644,
29955,
29918,
2083,
29892,
518,
29916,
29930,
29906,
29914,
29941,
363,
921,
297,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29906,
29918,
10644,
29955,
2314,
3816,
29947,
29901,
13264,
29962,
29871,
6756,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
8147,
315,
10961,
29879,
297,
2982,
5589,
313,
29903,
29899,
29955,
8443,
13,
13264,
353,
29871,
29906,
29900,
29896,
30004,
13,
30004,
13,
9171,
29918,
5344,
29918,
17712,
29879,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
313,
13264,
29892,
29896,
8443,
13,
17712,
29879,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
7442,
29889,
3298,
359,
29898,
9171,
29918,
5344,
29918,
17712,
29879,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
8443,
13,
30004,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
17712,
29879,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29961,
29900,
29962,
353,
315,
29918,
29931,
29943,
29918,
29903,
29896,
29918,
10644,
29955,
29961,
29900,
29962,
448,
3172,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29961,
29900,
29962,
30004,
13,
30004,
13,
8000,
474,
529,
15886,
29899,
29896,
29901,
30004,
13,
1678,
10961,
29879,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29961,
29875,
29974,
29896,
29962,
353,
7442,
29889,
2378,
29898,
29907,
29918,
29931,
29943,
29918,
29903,
29896,
29918,
10644,
29955,
29961,
29875,
29974,
29896,
29962,
448,
3172,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29961,
29875,
29974,
29896,
29962,
718,
10961,
29879,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29961,
29875,
2314,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
2277,
8147,
20431,
4972,
310,
13817,
8112,
313,
29943,
29896,
29899,
29906,
8443,
13,
29950,
26433,
29918,
1188,
3192,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
518,
29916,
29896,
29974,
29916,
29906,
363,
313,
29916,
29896,
29892,
29916,
29906,
29897,
297,
14319,
29898,
29950,
26433,
29918,
29903,
29896,
29918,
10644,
29955,
29918,
2083,
29892,
518,
29916,
29930,
29906,
29914,
29941,
363,
921,
297,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
10644,
29955,
2314,
29962,
6756,
13,
30004,
13,
30004,
13,
2277,
8147,
278,
10961,
29879,
297,
278,
13569,
313,
29909,
7210,
718,
563,
29872,
510,
4752,
10995,
434,
29897,
313,
29903,
29899,
29896,
29874,
29974,
29903,
29899,
29896,
29883,
8443,
13,
13264,
353,
29871,
29906,
29900,
29896,
30004,
13,
30004,
13,
9171,
29918,
5344,
29918,
2831,
29907,
17712,
29879,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
313,
13264,
29892,
29896,
8443,
13,
2831,
29907,
17712,
29879,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
7442,
29889,
3298,
359,
29898,
9171,
29918,
5344,
29918,
2831,
29907,
17712,
29879,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
8443,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
2831,
29907,
17712,
29879,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29961,
29900,
29962,
353,
2069,
29909,
7210,
448,
12151,
29918,
1761,
29918,
10644,
29918,
29955,
29891,
29961,
29900,
29962,
448,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29961,
29900,
29962,
448,
379,
26433,
29918,
1188,
3192,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29961,
29900,
29962,
30004,
13,
30004,
13,
8000,
474,
529,
15886,
29899,
29896,
29901,
30004,
13,
1678,
1152,
29907,
17712,
29879,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29961,
29875,
29974,
29896,
29962,
353,
7442,
29889,
2378,
29898,
2831,
29907,
17712,
29879,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29961,
29875,
29962,
448,
12151,
29918,
1761,
29918,
10644,
29918,
29955,
29891,
29961,
29875,
29974,
29896,
29962,
448,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29961,
29875,
29974,
29896,
29962,
448,
379,
26433,
29918,
1188,
3192,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29961,
29875,
29974,
29896,
2314,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
30004,
13,
30004,
13,
30004,
13,
2277,
12283,
29934,
29956,
17279,
29914,
27548,
5253,
313,
29943,
29929,
29899,
29900,
29899,
29896,
8443,
13,
2176,
29896,
29918,
14506,
29918,
10644,
29955,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
12283,
29934,
29956,
29918,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
1495,
30004,
13,
12283,
29934,
29956,
29918,
14506,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
4489,
29896,
29918,
14506,
29918,
10644,
29955,
1839,
12283,
29934,
29956,
29918,
14506,
13359,
5975,
30004,
13,
30004,
13,
12283,
29934,
29956,
29918,
14506,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
518,
29916,
29914,
29896,
29900,
29900,
29900,
363,
921,
297,
10050,
29934,
29956,
29918,
14506,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29962,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
2277,
12283,
29934,
29956,
953,
6847,
313,
29943,
29929,
29899,
29900,
29899,
29906,
8443,
13,
331,
6847,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
953,
6847,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29962,
30004,
13,
1678,
6756,
13,
30004,
13,
29937,
3258,
4341,
30004,
13,
2176,
29924,
29918,
10644,
29918,
29955,
29891,
353,
10518,
29889,
17271,
29889,
3166,
29918,
8977,
3319,
29915,
12883,
2396,
4409,
29896,
29892,
6756,
13,
462,
462,
1678,
525,
29943,
29900,
29899,
29896,
313,
29873,
29899,
29907,
29897,
2396,
12151,
29918,
1761,
29918,
10644,
29918,
29955,
29891,
11167,
13,
462,
462,
1678,
525,
29943,
29896,
29899,
29900,
313,
29873,
29899,
29907,
29897,
2396,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29900,
1402,
30004,
13,
462,
462,
1678,
396,
29915,
29943,
29896,
29874,
29899,
29906,
313,
29873,
29899,
29907,
29897,
2396,
349,
29943,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
11167,
13,
462,
462,
1678,
396,
29915,
29943,
29896,
29883,
29899,
29906,
313,
29873,
29899,
29907,
29897,
2396,
383,
29925,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
11167,
13,
462,
462,
1678,
525,
29943,
29896,
29899,
29906,
313,
29873,
29899,
29907,
29897,
2396,
379,
26433,
29918,
1188,
3192,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
6756,
13,
462,
462,
1678,
525,
855,
29899,
29896,
313,
29873,
29899,
29907,
29897,
2396,
2831,
29907,
17712,
29879,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29900,
1402,
6756,
13,
462,
462,
1678,
525,
29943,
29906,
29899,
29941,
313,
29873,
29899,
29907,
29897,
2396,
379,
26433,
29918,
29903,
29896,
29918,
10644,
29955,
29918,
2083,
29892,
29871,
6756,
13,
462,
462,
1678,
525,
29943,
29906,
29899,
29953,
313,
29873,
29899,
29907,
29897,
2396,
518,
29916,
29930,
29906,
29914,
29941,
363,
921,
297,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
10644,
29955,
1402,
6756,
13,
462,
462,
1678,
525,
17061,
29914,
29923,
313,
29873,
29899,
29907,
29897,
2396,
518,
29916,
29896,
29899,
29916,
29906,
29899,
29916,
29941,
363,
313,
29916,
29896,
29892,
29916,
29906,
29892,
29916,
29941,
29897,
297,
14319,
29898,
29950,
26433,
29918,
29903,
29896,
29918,
10644,
29955,
29918,
2083,
29892,
518,
29916,
29930,
29896,
29914,
29900,
29889,
29947,
29906,
363,
921,
297,
438,
29907,
29918,
12925,
29918,
29903,
29896,
29918,
10644,
29955,
1402,
518,
29916,
29930,
29896,
29914,
29941,
363,
921,
297,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
10644,
29955,
2314,
1402,
30004,
13,
462,
462,
1678,
525,
29943,
29941,
29899,
29945,
313,
29873,
29899,
29907,
29897,
2396,
29961,
29916,
29930,
29896,
29914,
29900,
29889,
29947,
29906,
363,
921,
297,
438,
29907,
29918,
12925,
29918,
29903,
29896,
29918,
10644,
29955,
1402,
30004,
13,
462,
462,
1678,
525,
29943,
29941,
29899,
29953,
313,
29873,
29899,
29907,
29897,
2396,
518,
29916,
29930,
29896,
29914,
29941,
363,
921,
297,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
10644,
29955,
1402,
6756,
13,
462,
462,
259,
396,
525,
29943,
29946,
29899,
29900,
313,
29873,
29899,
29907,
29897,
2396,
11167,
13,
462,
462,
1678,
525,
855,
29899,
29946,
313,
29873,
29899,
29907,
29897,
2396,
4321,
8452,
29924,
29896,
29918,
10644,
29955,
29889,
29879,
29892,
6756,
13,
462,
462,
1678,
396,
29915,
29903,
29899,
29946,
29899,
29875,
313,
29873,
29899,
29907,
29897,
2396,
4321,
8452,
29924,
29896,
29918,
10644,
29955,
29889,
29875,
11167,
13,
462,
462,
1678,
525,
29943,
29946,
29899,
29945,
313,
29873,
29899,
29907,
29897,
2396,
4321,
8452,
29924,
29896,
29918,
10644,
29955,
29889,
29877,
11167,
13,
462,
462,
1678,
525,
29943,
29945,
29899,
29953,
313,
29873,
29899,
29907,
29897,
2396,
4321,
8452,
29924,
29896,
29918,
10644,
29955,
29889,
29877,
29892,
6756,
13,
462,
462,
1678,
525,
29943,
29945,
29899,
29955,
313,
29873,
29899,
29907,
29897,
2396,
315,
29918,
29931,
29943,
29918,
29903,
29896,
29918,
10644,
29955,
11167,
13,
462,
462,
1678,
525,
29943,
29953,
29899,
29900,
29899,
29896,
313,
29873,
29899,
29907,
29897,
2396,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
10644,
29955,
11167,
13,
462,
462,
1678,
525,
29943,
29953,
29899,
29900,
29899,
29906,
313,
29873,
29899,
29907,
29897,
2396,
4321,
8452,
29924,
29896,
29918,
10644,
29955,
29889,
29877,
11167,
13,
462,
462,
1678,
525,
855,
29899,
29955,
313,
29873,
29899,
29907,
29897,
2396,
10961,
29879,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
7503,
29892,
29900,
1402,
30004,
13,
462,
462,
1678,
525,
29943,
29955,
29899,
29900,
313,
29873,
29899,
29907,
29897,
2396,
3172,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
11167,
13,
462,
462,
1678,
525,
29943,
29947,
29899,
29900,
313,
29873,
29899,
29907,
29897,
2396,
349,
29950,
29918,
6026,
6847,
29918,
29950,
26433,
29896,
29918,
10644,
29918,
29955,
29891,
11167,
13,
462,
462,
1678,
525,
29903,
29929,
29899,
29900,
313,
29873,
29897,
2396,
10050,
29934,
29956,
29918,
14506,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
29892,
6756,
13,
462,
462,
1678,
525,
29943,
29929,
29899,
29900,
313,
29873,
29899,
29907,
29897,
2396,
953,
6847,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29955,
29891,
11167,
13,
462,
462,
1678,
5615,
30004,
13,
30004,
13,
1678,
6756,
13,
1678,
6756,
13,
1678,
6756,
13,
2277,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
30004,
13,
2277,
4529,
278,
1881,
4972,
363,
278,
2982,
5589,
313,
29943,
29945,
29899,
29955,
8443,
13,
20166,
29918,
12925,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
353,
4489,
29896,
29918,
10644,
29896,
29947,
1839,
16107,
29918,
29907,
29918,
12925,
13359,
5975,
30004,
13,
30004,
13,
30004,
13,
20166,
29918,
12925,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
438,
29907,
29918,
12925,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
29962,
30004,
13,
20166,
29918,
12925,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
353,
518,
6897,
29898,
4537,
29897,
363,
1353,
297,
438,
29907,
29918,
12925,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
29962,
30004,
13,
30004,
13,
29907,
29918,
29931,
29943,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
353,
518,
29916,
29930,
29896,
29914,
29900,
29889,
29947,
29906,
363,
921,
297,
438,
29907,
29918,
12925,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
29962,
30004,
13,
30004,
13,
30004,
13,
2277,
4529,
278,
1881,
4972,
515,
278,
12183,
29914,
8222,
10147,
292,
304,
8112,
17279,
29914,
13111,
10376,
9068,
313,
29943,
29906,
29899,
29941,
8443,
13,
29950,
26433,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
4489,
29896,
29918,
10644,
29896,
29947,
1839,
4290,
29918,
13691,
13359,
5975,
29962,
30004,
13,
29950,
26433,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
29918,
27548,
353,
29871,
518,
29916,
29930,
29896,
29914,
29941,
363,
921,
297,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
29962,
30004,
13,
29950,
26433,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
29918,
1049,
5589,
353,
518,
29916,
29930,
29896,
29914,
29900,
29889,
29947,
29906,
363,
921,
297,
438,
29907,
29918,
12925,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
29962,
30004,
13,
30004,
13,
29950,
26433,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
29918,
2083,
353,
518,
29950,
26433,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
29892,
379,
26433,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
29918,
27548,
29892,
379,
26433,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
29918,
1049,
5589,
29962,
30004,
13,
29950,
26433,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
29918,
2083,
353,
518,
2083,
29898,
29916,
29897,
363,
921,
297,
14319,
10456,
29950,
26433,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
29918,
2083,
1723,
29962,
30004,
13,
30004,
13,
2277,
297,
29899,
1509,
10961,
29879,
313,
29903,
29899,
29946,
8443,
13,
3057,
8452,
29924,
29896,
29918,
10644,
29896,
29947,
29889,
29879,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
4321,
8452,
29924,
29896,
29918,
10644,
29896,
29947,
29889,
29879,
29962,
30004,
13,
29937,
3057,
8452,
29924,
29896,
29918,
10644,
29896,
29947,
29889,
29875,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
4321,
8452,
29924,
29896,
29918,
10644,
29896,
29947,
29889,
29875,
29962,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
15807,
403,
315,
10961,
29879,
297,
2982,
5589,
313,
29903,
29899,
29955,
8443,
13,
13264,
353,
29871,
29906,
29900,
29896,
30004,
13,
30004,
13,
9171,
29918,
5344,
29918,
17712,
29879,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
313,
13264,
29892,
29896,
8443,
13,
17712,
29879,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
7442,
29889,
3298,
359,
29898,
9171,
29918,
5344,
29918,
17712,
29879,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
8443,
13,
30004,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
17712,
29879,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29961,
29900,
29962,
353,
315,
29918,
29931,
29943,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
29961,
29900,
29962,
448,
3172,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29961,
29900,
29962,
30004,
13,
30004,
13,
8000,
474,
529,
15886,
29899,
29896,
29901,
30004,
13,
1678,
10961,
29879,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29961,
29875,
29974,
29896,
29962,
353,
7442,
29889,
2378,
29898,
29907,
29918,
29931,
29943,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
29961,
29875,
29974,
29896,
29962,
448,
3172,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29961,
29875,
29974,
29896,
29962,
718,
10961,
29879,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29961,
29875,
2314,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
2277,
8147,
20431,
4972,
310,
13817,
8112,
313,
29943,
29896,
29899,
29906,
8443,
13,
29950,
26433,
29918,
1188,
3192,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
518,
29916,
29896,
29974,
29916,
29906,
363,
313,
29916,
29896,
29892,
29916,
29906,
29897,
297,
14319,
29898,
29950,
26433,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
29918,
2083,
29892,
518,
29916,
29930,
29906,
29914,
29941,
363,
921,
297,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
2314,
29962,
6756,
13,
30004,
13,
30004,
13,
2277,
8147,
278,
10961,
29879,
297,
278,
13569,
313,
29909,
7210,
718,
563,
29872,
510,
4752,
10995,
434,
29897,
313,
29903,
29899,
29896,
29874,
29974,
29903,
29899,
29896,
29883,
8443,
13,
13264,
353,
29871,
29906,
29900,
29896,
30004,
13,
30004,
13,
9171,
29918,
5344,
29918,
2831,
29907,
17712,
29879,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
313,
13264,
29892,
29896,
8443,
13,
2831,
29907,
17712,
29879,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
7442,
29889,
3298,
359,
29898,
9171,
29918,
5344,
29918,
2831,
29907,
17712,
29879,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
8443,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
2831,
29907,
17712,
29879,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29961,
29900,
29962,
353,
2069,
29909,
7210,
448,
12151,
29918,
1761,
29918,
10644,
29918,
29896,
29947,
29891,
29961,
29900,
29962,
448,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29961,
29900,
29962,
448,
379,
26433,
29918,
1188,
3192,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29961,
29900,
29962,
30004,
13,
30004,
13,
8000,
474,
529,
15886,
29899,
29896,
29901,
30004,
13,
1678,
1152,
29907,
17712,
29879,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29961,
29875,
29974,
29896,
29962,
353,
7442,
29889,
2378,
29898,
2831,
29907,
17712,
29879,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29961,
29875,
29962,
448,
12151,
29918,
1761,
29918,
10644,
29918,
29896,
29947,
29891,
29961,
29875,
29974,
29896,
29962,
448,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29961,
29875,
29974,
29896,
29962,
448,
379,
26433,
29918,
1188,
3192,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29961,
29875,
29974,
29896,
2314,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
30004,
13,
30004,
13,
30004,
13,
2277,
12283,
29934,
29956,
17279,
29914,
27548,
5253,
313,
29943,
29929,
29899,
29900,
29899,
29896,
8443,
13,
2176,
29896,
29918,
14506,
29918,
10644,
29896,
29947,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
12283,
29934,
29956,
29918,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
1495,
30004,
13,
12283,
29934,
29956,
29918,
14506,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
4489,
29896,
29918,
14506,
29918,
10644,
29896,
29947,
1839,
12283,
29934,
29956,
29918,
14506,
13359,
5975,
30004,
13,
30004,
13,
12283,
29934,
29956,
29918,
14506,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
518,
29916,
29914,
29896,
29900,
29900,
29900,
363,
921,
297,
10050,
29934,
29956,
29918,
14506,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29962,
30004,
13,
30004,
13,
30004,
13,
2277,
12283,
29934,
29956,
953,
6847,
313,
29943,
29929,
29899,
29900,
29899,
29906,
8443,
13,
331,
6847,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
953,
6847,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29962,
30004,
13,
30004,
13,
30004,
13,
29937,
3258,
4341,
30004,
13,
2176,
29924,
29918,
10644,
29918,
29896,
29947,
29891,
353,
10518,
29889,
17271,
29889,
3166,
29918,
8977,
3319,
29915,
12883,
2396,
4409,
29896,
29892,
6756,
13,
462,
462,
1678,
525,
29943,
29900,
29899,
29896,
313,
29873,
29899,
29907,
29897,
2396,
12151,
29918,
1761,
29918,
10644,
29918,
29896,
29947,
29891,
11167,
13,
462,
462,
1678,
525,
29943,
29896,
29899,
29900,
313,
29873,
29899,
29907,
29897,
2396,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29900,
1402,
30004,
13,
462,
462,
1678,
396,
29915,
29943,
29896,
29874,
29899,
29906,
313,
29873,
29899,
29907,
29897,
2396,
349,
29943,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
11167,
13,
462,
462,
1678,
396,
29915,
29943,
29896,
29883,
29899,
29906,
313,
29873,
29899,
29907,
29897,
2396,
383,
29925,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
11167,
13,
462,
462,
1678,
525,
29943,
29896,
29899,
29906,
313,
29873,
29899,
29907,
29897,
2396,
379,
26433,
29918,
1188,
3192,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
6756,
13,
462,
462,
1678,
525,
855,
29899,
29896,
313,
29873,
29899,
29907,
29897,
2396,
2831,
29907,
17712,
29879,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29900,
1402,
6756,
13,
462,
462,
1678,
525,
29943,
29906,
29899,
29941,
313,
29873,
29899,
29907,
29897,
2396,
379,
26433,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
29918,
2083,
29892,
29871,
6756,
13,
462,
462,
1678,
525,
29943,
29906,
29899,
29953,
313,
29873,
29899,
29907,
29897,
2396,
518,
29916,
29930,
29906,
29914,
29941,
363,
921,
297,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
1402,
6756,
13,
462,
462,
1678,
525,
17061,
29914,
29923,
313,
29873,
29899,
29907,
29897,
2396,
518,
29916,
29896,
29899,
29916,
29906,
29899,
29916,
29941,
363,
313,
29916,
29896,
29892,
29916,
29906,
29892,
29916,
29941,
29897,
297,
14319,
29898,
29950,
26433,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
29918,
2083,
29892,
518,
29916,
29930,
29896,
29914,
29900,
29889,
29947,
29906,
363,
921,
297,
438,
29907,
29918,
12925,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
1402,
518,
29916,
29930,
29896,
29914,
29941,
363,
921,
297,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
2314,
1402,
30004,
13,
462,
462,
1678,
525,
29943,
29941,
29899,
29945,
313,
29873,
29899,
29907,
29897,
2396,
29961,
29916,
29930,
29896,
29914,
29900,
29889,
29947,
29906,
363,
921,
297,
438,
29907,
29918,
12925,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
1402,
30004,
13,
462,
462,
1678,
525,
29943,
29941,
29899,
29953,
313,
29873,
29899,
29907,
29897,
2396,
518,
29916,
29930,
29896,
29914,
29941,
363,
921,
297,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
1402,
6756,
13,
462,
462,
259,
396,
525,
29943,
29946,
29899,
29900,
313,
29873,
29899,
29907,
29897,
2396,
11167,
13,
462,
462,
1678,
525,
855,
29899,
29946,
313,
29873,
29899,
29907,
29897,
2396,
4321,
8452,
29924,
29896,
29918,
10644,
29896,
29947,
29889,
29879,
29892,
6756,
13,
462,
462,
1678,
396,
29915,
29903,
29899,
29946,
29899,
29875,
313,
29873,
29899,
29907,
29897,
2396,
4321,
8452,
29924,
29896,
29918,
10644,
29955,
29889,
29875,
11167,
13,
462,
462,
1678,
525,
29943,
29946,
29899,
29945,
313,
29873,
29899,
29907,
29897,
2396,
4321,
8452,
29924,
29896,
29918,
10644,
29896,
29947,
29889,
29877,
11167,
13,
462,
462,
1678,
525,
29943,
29945,
29899,
29953,
313,
29873,
29899,
29907,
29897,
2396,
4321,
8452,
29924,
29896,
29918,
10644,
29896,
29947,
29889,
29877,
29892,
6756,
13,
462,
462,
1678,
525,
29943,
29945,
29899,
29955,
313,
29873,
29899,
29907,
29897,
2396,
315,
29918,
29931,
29943,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
11167,
13,
462,
462,
1678,
525,
29943,
29953,
29899,
29900,
29899,
29896,
313,
29873,
29899,
29907,
29897,
2396,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
10644,
29896,
29947,
11167,
13,
462,
462,
1678,
525,
29943,
29953,
29899,
29900,
29899,
29906,
313,
29873,
29899,
29907,
29897,
2396,
4321,
8452,
29924,
29896,
29918,
10644,
29896,
29947,
29889,
29877,
11167,
13,
462,
462,
1678,
525,
855,
29899,
29955,
313,
29873,
29899,
29907,
29897,
2396,
10961,
29879,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
7503,
29892,
29900,
1402,
30004,
13,
462,
462,
1678,
525,
29943,
29955,
29899,
29900,
313,
29873,
29899,
29907,
29897,
2396,
3172,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
11167,
13,
462,
462,
1678,
525,
29943,
29947,
29899,
29900,
313,
29873,
29899,
29907,
29897,
2396,
349,
29950,
29918,
6026,
6847,
29918,
29950,
26433,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
11167,
13,
462,
462,
1678,
525,
29903,
29929,
29899,
29900,
313,
29873,
29897,
2396,
10050,
29934,
29956,
29918,
14506,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
29892,
6756,
13,
462,
462,
1678,
525,
29943,
29929,
29899,
29900,
313,
29873,
29899,
29907,
29897,
2396,
953,
6847,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
10644,
29918,
29896,
29947,
29891,
11167,
13,
462,
462,
1678,
5615,
30004,
13,
30004,
13,
1678,
6756,
13,
2277,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
30004,
13,
2277,
4529,
278,
1881,
4972,
363,
278,
2982,
5589,
313,
29943,
29945,
29899,
29955,
8443,
13,
20166,
29918,
12925,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
353,
4489,
29896,
29918,
29911,
629,
29953,
29900,
1839,
16107,
29918,
29907,
29918,
12925,
13359,
5975,
30004,
13,
30004,
13,
30004,
13,
20166,
29918,
12925,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
438,
29907,
29918,
12925,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
29962,
30004,
13,
20166,
29918,
12925,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
353,
518,
6897,
29898,
4537,
29897,
363,
1353,
297,
438,
29907,
29918,
12925,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
29962,
30004,
13,
30004,
13,
29907,
29918,
29931,
29943,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
353,
518,
29916,
29930,
29896,
29914,
29900,
29889,
29947,
29906,
363,
921,
297,
438,
29907,
29918,
12925,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
29962,
30004,
13,
30004,
13,
30004,
13,
2277,
4529,
278,
1881,
4972,
515,
278,
12183,
29914,
8222,
10147,
292,
304,
8112,
17279,
29914,
13111,
10376,
9068,
313,
29943,
29906,
29899,
29941,
8443,
13,
29950,
26433,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
4489,
29896,
29918,
29911,
629,
29953,
29900,
1839,
4290,
29918,
13691,
13359,
5975,
29962,
30004,
13,
29950,
26433,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
29918,
27548,
353,
29871,
518,
29916,
29930,
29896,
29914,
29941,
363,
921,
297,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
29962,
30004,
13,
29950,
26433,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
29918,
1049,
5589,
353,
518,
29916,
29930,
29896,
29914,
29900,
29889,
29947,
29906,
363,
921,
297,
438,
29907,
29918,
12925,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
29962,
30004,
13,
30004,
13,
29950,
26433,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
29918,
2083,
353,
518,
29950,
26433,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
29892,
379,
26433,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
29918,
27548,
29892,
379,
26433,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
29918,
1049,
5589,
29962,
30004,
13,
29950,
26433,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
29918,
2083,
353,
518,
2083,
29898,
29916,
29897,
363,
921,
297,
14319,
10456,
29950,
26433,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
29918,
2083,
1723,
29962,
30004,
13,
30004,
13,
2277,
297,
29899,
1509,
10961,
29879,
313,
29903,
29899,
29946,
8443,
13,
3057,
8452,
29924,
29896,
29918,
29911,
629,
29953,
29900,
29889,
29879,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
4321,
8452,
29924,
29896,
29918,
29911,
629,
29953,
29900,
29889,
29879,
29962,
30004,
13,
29937,
3057,
8452,
29924,
29896,
29918,
29911,
629,
29953,
29900,
29889,
29875,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
4321,
8452,
29924,
29896,
29918,
29911,
629,
29953,
29900,
29889,
29875,
29962,
30004,
13,
30004,
13,
30004,
13,
2277,
8147,
315,
10961,
29879,
297,
2982,
5589,
313,
29903,
29899,
29955,
8443,
13,
13264,
353,
29871,
29906,
29900,
29896,
30004,
13,
30004,
13,
9171,
29918,
5344,
29918,
17712,
29879,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
313,
13264,
29892,
29896,
8443,
13,
17712,
29879,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
7442,
29889,
3298,
359,
29898,
9171,
29918,
5344,
29918,
17712,
29879,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
8443,
13,
30004,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
17712,
29879,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29961,
29900,
29962,
353,
315,
29918,
29931,
29943,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
29961,
29900,
29962,
448,
3172,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29961,
29900,
29962,
30004,
13,
30004,
13,
8000,
474,
529,
15886,
29899,
29896,
29901,
30004,
13,
1678,
10961,
29879,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29961,
29875,
29974,
29896,
29962,
353,
7442,
29889,
2378,
29898,
29907,
29918,
29931,
29943,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
29961,
29875,
29974,
29896,
29962,
448,
3172,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29961,
29875,
29974,
29896,
29962,
718,
10961,
29879,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29961,
29875,
2314,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
30004,
13,
30004,
13,
29937,
2158,
29898,
17712,
29879,
29918,
29903,
29906,
29918,
10644,
29918,
29955,
29891,
7503,
2314,
6756,
13,
30004,
13,
29937,
2158,
29898,
1853,
29898,
17712,
29879,
29918,
29903,
29906,
29918,
10644,
29918,
29955,
29891,
876,
30004,
13,
29937,
2158,
29898,
1853,
29898,
29907,
29918,
29931,
29943,
29918,
29903,
29906,
29918,
10644,
29955,
876,
30004,
13,
29937,
2158,
29898,
1853,
29898,
22677,
5589,
29918,
311,
2388,
29918,
13691,
29918,
26353,
29918,
29903,
29906,
29918,
10644,
29918,
29955,
29891,
876,
30004,
13,
30004,
13,
2277,
8147,
20431,
4972,
310,
13817,
8112,
313,
29943,
29896,
29899,
29906,
8443,
13,
29950,
26433,
29918,
1188,
3192,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
518,
29916,
29896,
29974,
29916,
29906,
363,
313,
29916,
29896,
29892,
29916,
29906,
29897,
297,
14319,
29898,
29950,
26433,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
29918,
2083,
29892,
518,
29916,
29930,
29906,
29914,
29941,
363,
921,
297,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
2314,
29962,
6756,
13,
30004,
13,
30004,
13,
2277,
8147,
278,
10961,
29879,
297,
278,
13569,
313,
29909,
7210,
718,
563,
29872,
510,
4752,
10995,
434,
29897,
313,
29903,
29899,
29896,
29874,
29974,
29903,
29899,
29896,
29883,
8443,
13,
13264,
353,
29871,
29906,
29900,
29896,
30004,
13,
30004,
13,
9171,
29918,
5344,
29918,
2831,
29907,
17712,
29879,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
313,
13264,
29892,
29896,
8443,
13,
2831,
29907,
17712,
29879,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
7442,
29889,
3298,
359,
29898,
9171,
29918,
5344,
29918,
2831,
29907,
17712,
29879,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
8443,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
2831,
29907,
17712,
29879,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29961,
29900,
29962,
353,
2069,
29909,
7210,
448,
12151,
29918,
1761,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29961,
29900,
29962,
448,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29961,
29900,
29962,
448,
379,
26433,
29918,
1188,
3192,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29961,
29900,
29962,
30004,
13,
30004,
13,
8000,
474,
529,
15886,
29899,
29896,
29901,
30004,
13,
1678,
1152,
29907,
17712,
29879,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29961,
29875,
29974,
29896,
29962,
353,
7442,
29889,
2378,
29898,
2831,
29907,
17712,
29879,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29961,
29875,
29962,
448,
12151,
29918,
1761,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29961,
29875,
29974,
29896,
29962,
448,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29961,
29875,
29974,
29896,
29962,
448,
379,
26433,
29918,
1188,
3192,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29961,
29875,
29974,
29896,
2314,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
30004,
13,
30004,
13,
30004,
13,
2277,
12283,
29934,
29956,
17279,
29914,
27548,
5253,
313,
29943,
29929,
29899,
29900,
29899,
29896,
8443,
13,
2176,
29896,
29918,
14506,
29918,
29911,
629,
29953,
29900,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
12283,
29934,
29956,
29918,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
1495,
30004,
13,
12283,
29934,
29956,
29918,
14506,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
4489,
29896,
29918,
14506,
29918,
29911,
629,
29953,
29900,
1839,
12283,
29934,
29956,
29918,
14506,
13359,
5975,
30004,
13,
30004,
13,
12283,
29934,
29956,
29918,
14506,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
518,
29916,
29914,
29896,
29900,
29900,
29900,
363,
921,
297,
10050,
29934,
29956,
29918,
14506,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29962,
30004,
13,
30004,
13,
30004,
13,
2277,
12283,
29934,
29956,
953,
6847,
313,
29943,
29929,
29899,
29900,
29899,
29906,
8443,
13,
331,
6847,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
953,
6847,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29962,
30004,
13,
1678,
6756,
13,
30004,
13,
30004,
13,
29937,
3258,
4341,
30004,
13,
2176,
29924,
29918,
29911,
629,
29918,
29953,
29900,
29891,
353,
10518,
29889,
17271,
29889,
3166,
29918,
8977,
3319,
29915,
12883,
2396,
4409,
29896,
29892,
6756,
13,
462,
462,
1678,
525,
29943,
29900,
29899,
29896,
313,
29873,
29899,
29907,
29897,
2396,
12151,
29918,
1761,
29918,
29911,
629,
29918,
29953,
29900,
29891,
11167,
13,
462,
462,
1678,
525,
29943,
29896,
29899,
29900,
313,
29873,
29899,
29907,
29897,
2396,
316,
2388,
29918,
4260,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29900,
1402,
30004,
13,
462,
462,
1678,
396,
29915,
29943,
29896,
29874,
29899,
29906,
313,
29873,
29899,
29907,
29897,
2396,
349,
29943,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
11167,
13,
462,
462,
1678,
396,
29915,
29943,
29896,
29883,
29899,
29906,
313,
29873,
29899,
29907,
29897,
2396,
383,
29925,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
11167,
13,
462,
462,
1678,
525,
29943,
29896,
29899,
29906,
313,
29873,
29899,
29907,
29897,
2396,
379,
26433,
29918,
1188,
3192,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29892,
6756,
13,
462,
462,
1678,
525,
855,
29899,
29896,
313,
29873,
29899,
29907,
29897,
2396,
2831,
29907,
17712,
29879,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29900,
1402,
6756,
13,
462,
462,
1678,
525,
29943,
29906,
29899,
29941,
313,
29873,
29899,
29907,
29897,
2396,
379,
26433,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
29918,
2083,
29892,
29871,
6756,
13,
462,
462,
1678,
525,
29943,
29906,
29899,
29953,
313,
29873,
29899,
29907,
29897,
2396,
518,
29916,
29930,
29906,
29914,
29941,
363,
921,
297,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
1402,
6756,
13,
462,
462,
1678,
525,
17061,
29914,
29923,
313,
29873,
29899,
29907,
29897,
2396,
518,
29916,
29896,
29899,
29916,
29906,
29899,
29916,
29941,
363,
313,
29916,
29896,
29892,
29916,
29906,
29892,
29916,
29941,
29897,
297,
14319,
29898,
29950,
26433,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
29918,
2083,
29892,
518,
29916,
29930,
29896,
29914,
29900,
29889,
29947,
29906,
363,
921,
297,
438,
29907,
29918,
12925,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
1402,
518,
29916,
29930,
29896,
29914,
29941,
363,
921,
297,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
2314,
1402,
30004,
13,
462,
462,
1678,
525,
29943,
29941,
29899,
29945,
313,
29873,
29899,
29907,
29897,
2396,
29961,
29916,
29930,
29896,
29914,
29900,
29889,
29947,
29906,
363,
921,
297,
438,
29907,
29918,
12925,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
1402,
30004,
13,
462,
462,
1678,
525,
29943,
29941,
29899,
29953,
313,
29873,
29899,
29907,
29897,
2396,
518,
29916,
29930,
29896,
29914,
29941,
363,
921,
297,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
1402,
6756,
13,
462,
462,
259,
396,
525,
29943,
29946,
29899,
29900,
313,
29873,
29899,
29907,
29897,
2396,
11167,
13,
462,
462,
1678,
525,
855,
29899,
29946,
313,
29873,
29899,
29907,
29897,
2396,
4321,
8452,
29924,
29896,
29918,
29911,
629,
29953,
29900,
29889,
29879,
29892,
6756,
13,
462,
462,
1678,
396,
29915,
29903,
29899,
29946,
29899,
29875,
313,
29873,
29899,
29907,
29897,
2396,
4321,
8452,
29924,
29896,
29918,
29911,
629,
29953,
29900,
29889,
29875,
11167,
13,
462,
462,
1678,
525,
29943,
29946,
29899,
29945,
313,
29873,
29899,
29907,
29897,
2396,
4321,
8452,
29924,
29896,
29918,
29911,
629,
29953,
29900,
29889,
29877,
11167,
13,
462,
462,
1678,
525,
29943,
29945,
29899,
29953,
313,
29873,
29899,
29907,
29897,
2396,
4321,
8452,
29924,
29896,
29918,
29911,
629,
29953,
29900,
29889,
29877,
29892,
6756,
13,
462,
462,
1678,
525,
29943,
29945,
29899,
29955,
313,
29873,
29899,
29907,
29897,
2396,
315,
29918,
29931,
29943,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
11167,
13,
462,
462,
1678,
525,
29943,
29953,
29899,
29900,
29899,
29896,
313,
29873,
29899,
29907,
29897,
2396,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29903,
29896,
29918,
29911,
629,
29953,
29900,
11167,
13,
462,
462,
1678,
525,
29943,
29953,
29899,
29900,
29899,
29906,
313,
29873,
29899,
29907,
29897,
2396,
4321,
8452,
29924,
29896,
29918,
29911,
629,
29953,
29900,
29889,
29877,
11167,
13,
462,
462,
1678,
525,
855,
29899,
29955,
313,
29873,
29899,
29907,
29897,
2396,
10961,
29879,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
7503,
29892,
29900,
1402,
30004,
13,
462,
462,
1678,
525,
29943,
29955,
29899,
29900,
313,
29873,
29899,
29907,
29897,
2396,
3172,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
11167,
13,
462,
462,
1678,
525,
29943,
29947,
29899,
29900,
313,
29873,
29899,
29907,
29897,
2396,
349,
29950,
29918,
6026,
6847,
29918,
29950,
26433,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
11167,
13,
462,
462,
1678,
525,
29903,
29929,
29899,
29900,
313,
29873,
29897,
2396,
10050,
29934,
29956,
29918,
14506,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
11167,
13,
462,
462,
1678,
525,
29943,
29929,
29899,
29900,
313,
29873,
29899,
29907,
29897,
2396,
953,
6847,
29918,
12283,
29934,
29956,
29918,
29903,
29896,
29918,
29911,
629,
29918,
29953,
29900,
29891,
11167,
13,
462,
462,
1678,
5615,
30004,
13,
30004,
13,
2277,
29903,
29896,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
30004,
13,
2277,
4529,
278,
1881,
4972,
363,
278,
2982,
5589,
313,
29943,
29945,
29899,
29955,
8443,
13,
20166,
29918,
12925,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
353,
4489,
29923,
29918,
29950,
1182,
29946,
29900,
1839,
16107,
29918,
29907,
29918,
12925,
13359,
5975,
30004,
13,
30004,
13,
30004,
13,
20166,
29918,
12925,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
438,
29907,
29918,
12925,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
29962,
30004,
13,
20166,
29918,
12925,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
353,
518,
6897,
29898,
4537,
29897,
363,
1353,
297,
438,
29907,
29918,
12925,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
29962,
30004,
13,
30004,
13,
29907,
29918,
29931,
29943,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
353,
518,
29916,
29930,
29896,
29914,
29900,
29889,
29947,
29906,
363,
921,
297,
438,
29907,
29918,
12925,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
29962,
30004,
13,
30004,
13,
30004,
13,
2277,
4529,
278,
1881,
4972,
515,
278,
12183,
29914,
8222,
10147,
292,
304,
8112,
17279,
29914,
13111,
10376,
9068,
313,
29943,
29906,
29899,
29941,
8443,
13,
29950,
26433,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
4489,
29923,
29918,
29950,
1182,
29946,
29900,
1839,
29956,
2092,
29918,
13111,
10376,
13359,
5975,
29962,
30004,
13,
29950,
26433,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
29918,
27548,
353,
29871,
518,
29916,
29930,
29896,
29914,
29941,
363,
921,
297,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
29962,
30004,
13,
29950,
26433,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
29918,
1049,
5589,
353,
518,
29916,
29930,
29896,
29914,
29900,
29889,
29947,
29906,
363,
921,
297,
438,
29907,
29918,
12925,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
29962,
30004,
13,
30004,
13,
29950,
26433,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
29918,
2083,
353,
518,
29950,
26433,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
29892,
379,
26433,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
29918,
27548,
29892,
379,
26433,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
29918,
1049,
5589,
29962,
30004,
13,
29950,
26433,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
29918,
2083,
353,
518,
2083,
29898,
29916,
29897,
363,
921,
297,
14319,
10456,
29950,
26433,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
29918,
2083,
1723,
29962,
30004,
13,
30004,
13,
2277,
297,
29899,
1509,
10961,
29879,
313,
29903,
29899,
29946,
8443,
13,
3057,
8452,
2303,
29918,
29950,
1182,
29946,
29900,
29889,
29879,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
4321,
8452,
2303,
29918,
29950,
1182,
29946,
29900,
29889,
29879,
29962,
30004,
13,
30004,
13,
30004,
13,
2277,
8147,
315,
10961,
29879,
297,
2982,
5589,
313,
29903,
29899,
29955,
8443,
13,
13264,
353,
29871,
29906,
29900,
29896,
30004,
13,
30004,
13,
9171,
29918,
5344,
29918,
17712,
29879,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
313,
13264,
29892,
29896,
8443,
13,
17712,
29879,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
29898,
9171,
29918,
5344,
29918,
17712,
29879,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
8443,
13,
30004,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
17712,
29879,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29961,
29900,
29962,
353,
315,
29918,
29931,
29943,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
29961,
29900,
29962,
448,
3172,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29961,
29900,
29962,
30004,
13,
30004,
13,
8000,
474,
529,
15886,
29899,
29896,
29901,
30004,
13,
1678,
10961,
29879,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29961,
29875,
29974,
29896,
29962,
353,
7442,
29889,
2378,
29898,
29907,
29918,
29931,
29943,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
29961,
29875,
29974,
29896,
29962,
448,
3172,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29961,
29875,
29974,
29896,
29962,
718,
10961,
29879,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29961,
29875,
2314,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
2277,
8147,
20431,
4972,
310,
13817,
8112,
313,
29943,
29896,
29899,
29906,
8443,
13,
29950,
26433,
29918,
1188,
3192,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
518,
29916,
29896,
29974,
29916,
29906,
363,
313,
29916,
29896,
29892,
29916,
29906,
29897,
297,
14319,
29898,
29950,
26433,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
29918,
2083,
29892,
518,
29916,
29930,
29906,
29914,
29941,
363,
921,
297,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
2314,
29962,
6756,
13,
30004,
13,
30004,
13,
29937,
15807,
403,
278,
10961,
29879,
297,
278,
13569,
313,
29909,
7210,
718,
563,
29872,
510,
4752,
10995,
434,
29897,
313,
29903,
29899,
29896,
29874,
29974,
29903,
29899,
29896,
29883,
8443,
13,
13264,
353,
29871,
29906,
29900,
29896,
30004,
13,
30004,
13,
9171,
29918,
5344,
29918,
2831,
29907,
17712,
29879,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
313,
13264,
29892,
29896,
8443,
13,
2831,
29907,
17712,
29879,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
7442,
29889,
3298,
359,
29898,
9171,
29918,
5344,
29918,
2831,
29907,
17712,
29879,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
8443,
13,
30004,
13,
29875,
353,
29871,
29900,
30004,
13,
2831,
29907,
17712,
29879,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29961,
29900,
29962,
353,
2069,
29909,
7210,
448,
12151,
29918,
1761,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29961,
29900,
29962,
448,
316,
2388,
29918,
4260,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29961,
29900,
29962,
448,
379,
26433,
29918,
1188,
3192,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29961,
29900,
29962,
30004,
13,
30004,
13,
8000,
474,
529,
15886,
29899,
29896,
29901,
30004,
13,
1678,
1152,
29907,
17712,
29879,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29961,
29875,
29974,
29896,
29962,
353,
7442,
29889,
2378,
29898,
2831,
29907,
17712,
29879,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29961,
29875,
29962,
448,
12151,
29918,
1761,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29961,
29875,
29974,
29896,
29962,
448,
316,
2388,
29918,
4260,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29961,
29875,
29974,
29896,
29962,
448,
379,
26433,
29918,
1188,
3192,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29961,
29875,
29974,
29896,
2314,
30004,
13,
1678,
474,
353,
474,
718,
29871,
29896,
30004,
13,
30004,
13,
30004,
13,
2277,
12283,
29934,
29956,
17279,
29914,
27548,
5253,
313,
29943,
29929,
29899,
29900,
29899,
29896,
8443,
13,
2176,
29923,
29918,
14506,
29918,
29950,
1182,
29946,
29900,
353,
10518,
29889,
949,
29918,
24633,
877,
29907,
22298,
5531,
1966,
9283,
4056,
1966,
29925,
1461,
625,
1966,
12283,
29934,
29956,
29918,
19558,
29918,
26353,
29889,
20267,
29916,
742,
525,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
1495,
30004,
13,
12283,
29934,
29956,
29918,
14506,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
4489,
29923,
29918,
14506,
29918,
29950,
1182,
29946,
29900,
1839,
12283,
29934,
29956,
29918,
14506,
13359,
5975,
30004,
13,
30004,
13,
12283,
29934,
29956,
29918,
14506,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
518,
29916,
29914,
29896,
29900,
29900,
29900,
363,
921,
297,
10050,
29934,
29956,
29918,
14506,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29962,
30004,
13,
30004,
13,
2277,
12283,
29934,
29956,
953,
6847,
313,
29943,
29929,
29899,
29900,
29899,
29906,
8443,
13,
331,
6847,
29918,
12283,
29934,
29956,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
518,
29916,
29914,
4563,
2459,
363,
921,
297,
953,
6847,
29918,
12283,
29934,
29956,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29962,
30004,
13,
1678,
6756,
13,
30004,
13,
30004,
13,
29937,
3258,
4341,
30004,
13,
2176,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
353,
10518,
29889,
17271,
29889,
3166,
29918,
8977,
3319,
29915,
12883,
2396,
4409,
29896,
29892,
6756,
13,
462,
462,
1678,
525,
29943,
29900,
29899,
29896,
313,
29873,
29899,
29907,
29897,
2396,
12151,
29918,
1761,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
11167,
13,
462,
462,
1678,
525,
29943,
29896,
29899,
29900,
313,
29873,
29899,
29907,
29897,
2396,
316,
2388,
29918,
4260,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
1402,
30004,
13,
462,
462,
1678,
396,
29915,
29943,
29896,
29874,
29899,
29906,
313,
29873,
29899,
29907,
29897,
2396,
349,
29943,
29918,
29903,
29906,
29918,
29911,
629,
29918,
29953,
29900,
29891,
11167,
13,
462,
462,
1678,
396,
29915,
29943,
29896,
29883,
29899,
29906,
313,
29873,
29899,
29907,
29897,
2396,
383,
29925,
29918,
29903,
29906,
29918,
29911,
629,
29918,
29953,
29900,
29891,
11167,
13,
462,
462,
1678,
525,
29943,
29896,
29899,
29906,
313,
29873,
29899,
29907,
29897,
2396,
379,
26433,
29918,
1188,
3192,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29892,
6756,
13,
462,
462,
1678,
525,
855,
29899,
29896,
313,
29873,
29899,
29907,
29897,
2396,
2831,
29907,
17712,
29879,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
1402,
6756,
13,
462,
462,
1678,
525,
29943,
29906,
29899,
29941,
313,
29873,
29899,
29907,
29897,
2396,
379,
26433,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
29918,
2083,
29892,
29871,
6756,
13,
462,
462,
1678,
525,
29943,
29906,
29899,
29953,
313,
29873,
29899,
29907,
29897,
2396,
518,
29916,
29930,
29906,
29914,
29941,
363,
921,
297,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
1402,
6756,
13,
462,
462,
1678,
525,
17061,
29914,
29923,
313,
29873,
29899,
29907,
29897,
2396,
518,
29916,
29896,
29899,
29916,
29906,
29899,
29916,
29941,
363,
313,
29916,
29896,
29892,
29916,
29906,
29892,
29916,
29941,
29897,
297,
14319,
29898,
29950,
26433,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
29918,
2083,
29892,
518,
29916,
29930,
29896,
29914,
29900,
29889,
29947,
29906,
363,
921,
297,
438,
29907,
29918,
12925,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
1402,
518,
29916,
29930,
29896,
29914,
29941,
363,
921,
297,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
2314,
1402,
30004,
13,
462,
462,
1678,
525,
29943,
29941,
29899,
29945,
313,
29873,
29899,
29907,
29897,
2396,
29961,
29916,
29930,
29896,
29914,
29900,
29889,
29947,
29906,
363,
921,
297,
438,
29907,
29918,
12925,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
1402,
30004,
13,
462,
462,
1678,
525,
29943,
29941,
29899,
29953,
313,
29873,
29899,
29907,
29897,
2396,
518,
29916,
29930,
29896,
29914,
29941,
363,
921,
297,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
1402,
6756,
13,
462,
462,
1678,
525,
29943,
29946,
29899,
29900,
313,
29873,
29899,
29907,
29897,
2396,
274,
29918,
13111,
10376,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
11167,
13,
462,
462,
1678,
525,
855,
29899,
29946,
313,
29873,
29899,
29907,
29897,
2396,
4321,
8452,
2303,
29918,
29950,
1182,
29946,
29900,
29889,
29879,
29892,
6756,
13,
462,
462,
1678,
396,
29915,
29903,
29899,
29946,
29899,
29875,
313,
29873,
29899,
29907,
29897,
2396,
4321,
8452,
2303,
29918,
29950,
1182,
29946,
29900,
29889,
29875,
11167,
13,
462,
462,
1678,
525,
29943,
29946,
29899,
29945,
313,
29873,
29899,
29907,
29897,
2396,
4321,
8452,
2303,
29918,
29950,
1182,
29946,
29900,
29889,
29877,
11167,
13,
462,
462,
1678,
525,
29943,
29945,
29899,
29953,
313,
29873,
29899,
29907,
29897,
2396,
4321,
8452,
2303,
29918,
29950,
1182,
29946,
29900,
29889,
29877,
29892,
6756,
13,
462,
462,
1678,
525,
29943,
29945,
29899,
29955,
313,
29873,
29899,
29907,
29897,
2396,
315,
29918,
29931,
29943,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
11167,
13,
462,
462,
1678,
525,
29943,
29953,
29899,
29900,
29899,
29896,
313,
29873,
29899,
29907,
29897,
2396,
274,
29918,
8696,
6115,
29918,
27548,
29918,
29923,
29918,
29950,
1182,
29946,
29900,
11167,
13,
462,
462,
1678,
525,
29943,
29953,
29899,
29900,
29899,
29906,
313,
29873,
29899,
29907,
29897,
2396,
4321,
8452,
2303,
29918,
29950,
1182,
29946,
29900,
29889,
29877,
11167,
13,
462,
462,
1678,
525,
855,
29899,
29955,
313,
29873,
29899,
29907,
29897,
2396,
10961,
29879,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
7503,
29892,
29900,
1402,
30004,
13,
462,
462,
1678,
525,
29943,
29955,
29899,
29900,
313,
29873,
29899,
29907,
29897,
2396,
3172,
5589,
29918,
311,
2388,
29918,
19558,
29918,
26353,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
11167,
13,
462,
462,
1678,
525,
29943,
29947,
29899,
29900,
313,
29873,
29899,
29907,
29897,
2396,
349,
29950,
29918,
6026,
6847,
29918,
29950,
29956,
4162,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
11167,
13,
462,
462,
1678,
525,
29903,
29929,
29899,
29900,
313,
29873,
29897,
2396,
10050,
29934,
29956,
29918,
14506,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
11167,
13,
462,
462,
1678,
525,
29943,
29929,
29899,
29900,
313,
29873,
29899,
29907,
29897,
2396,
953,
6847,
29918,
12283,
29934,
29956,
29918,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
11167,
13,
462,
462,
1678,
5615,
30004,
13,
1678,
6756,
13,
29871,
6756,
13,
30004,
13,
1678,
6756,
13,
13236,
353,
10518,
29889,
22926,
10507,
877,
29907,
29918,
1731,
29879,
29918,
29903,
952,
3206,
29918,
19558,
29918,
26353,
29918,
11206,
29889,
20267,
29916,
742,
6012,
353,
525,
20267,
29916,
13236,
1495,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
2176,
29924,
29918,
10644,
29918,
29955,
29891,
29889,
517,
29918,
24633,
29898,
13236,
29892,
9869,
29918,
978,
353,
525,
19558,
29918,
26353,
29918,
29924,
29918,
11206,
29918,
10644,
29918,
29955,
29891,
742,
4839,
29922,
5574,
29892,
2380,
29922,
8824,
8443,
13,
2176,
29924,
29918,
10644,
29918,
29896,
29947,
29891,
29889,
517,
29918,
24633,
29898,
13236,
29892,
9869,
29918,
978,
353,
525,
19558,
29918,
26353,
29918,
29924,
29918,
11206,
29918,
10644,
29918,
29896,
29947,
29891,
742,
4839,
29922,
5574,
29892,
2380,
29922,
8824,
8443,
13,
2176,
29924,
29918,
29911,
629,
29918,
29953,
29900,
29891,
29889,
517,
29918,
24633,
29898,
13236,
29892,
9869,
29918,
978,
353,
525,
19558,
29918,
26353,
29918,
29924,
29918,
11206,
29918,
29911,
629,
29918,
29953,
29900,
29891,
742,
4839,
29922,
5574,
29892,
2380,
29922,
8824,
8443,
13,
2176,
29923,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
29889,
517,
29918,
24633,
29898,
13236,
29892,
9869,
29918,
978,
353,
525,
19558,
29918,
26353,
29918,
29923,
29918,
11206,
29918,
29950,
1182,
29918,
29946,
29900,
29891,
742,
4839,
29922,
5574,
29892,
2380,
29922,
8824,
8443,
13,
30004,
13,
30004,
13,
30004,
13,
13236,
29889,
7620,
26471,
13,
13236,
29889,
5358,
26471,
13,
30004,
13,
29937,
7686,
2
] |
radiaTest-server/server/model/user.py | openeuler-mirror/radiaTest | 0 | 125144 | <filename>radiaTest-server/server/model/user.py
from server.model.base import BaseModel
from server.model.permission import Role
from server import db, redis_client
from server.utils.redis_util import RedisKey
class User(db.Model, BaseModel):
__tablename__ = "user"
gitee_id = db.Column(db.Integer(), primary_key=True)
gitee_login = db.Column(db.String(50), nullable=False)
gitee_name = db.Column(db.String(50), nullable=False)
phone = db.Column(db.String(20), nullable=True, default=None)
avatar_url = db.Column(db.String(512), nullable=True, default=None)
cla_email = db.Column(db.String(128), nullable=True, default=None)
re_user_role = db.relationship("ReUserRole", backref="user")
re_user_group = db.relationship("ReUserGroup", backref="user")
re_user_organization = db.relationship("ReUserOrganization", backref="user")
def _get_roles(self):
roles = []
for re in self.re_user_role:
role = Role.query.filter_by(id=re.role_id).first()
roles.append(role.to_json())
return roles
def _get_public_role(self):
from server.model.permission import Role, ReUserRole
_filter = [ReUserRole.user_id == self.gitee_id, Role.type == 'public']
_role = Role.query.join(ReUserRole).filter(*_filter).first()
return _role.to_json() if _role else None
def to_dict(self):
return {
"gitee_id": self.gitee_id,
"gitee_login": self.gitee_login,
"gitee_name": self.gitee_name,
"phone": self.phone,
"avatar_url": self.avatar_url,
"cla_email": self.cla_email,
"roles": self._get_roles()
}
def to_json(self):
return {
"gitee_id": self.gitee_id,
"gitee_login": self.gitee_login,
"gitee_name": self.gitee_name,
"phone": self.phone,
"avatar_url": self.avatar_url,
"cla_email": self.cla_email,
"roles": self._get_roles(),
"role": self._get_public_role()
}
@staticmethod
def synchronize_gitee_info(gitee_user, user=None):
user.gitee_login = gitee_user.get("login")
user.gitee_name = gitee_user.get("name")
user.avatar_url = gitee_user.get("avatar_url")
user.add_update()
return user
def save_redis(self, access_token, refresh_token, current_org_id=None):
redis_data = self.to_dict()
redis_data['gitee_access_token'] = access_token
redis_data['gitee_refresh_token'] = refresh_token
if current_org_id:
redis_data['current_org_id'] = current_org_id
else:
for item in self.re_user_organization:
if item.default is True:
redis_data['current_org_id'] = item.organization_id
redis_data['current_org_name'] = item.organization.name
redis_client.hmset(RedisKey.user(self.gitee_id), redis_data)
@staticmethod
def create_commit(gitee_user, cla_email=None):
new_user = User()
new_user.gitee_id = gitee_user.get("id")
new_user.gitee_login = gitee_user.get("login")
new_user.gitee_name = gitee_user.get("name")
new_user.avatar_url = gitee_user.get("avatar_url")
new_user.cla_email = cla_email
new_user.add_update()
return new_user
| [
1,
529,
9507,
29958,
3665,
423,
3057,
29899,
2974,
29914,
2974,
29914,
4299,
29914,
1792,
29889,
2272,
13,
3166,
1923,
29889,
4299,
29889,
3188,
1053,
7399,
3195,
13,
3166,
1923,
29889,
4299,
29889,
16074,
1053,
1528,
280,
13,
3166,
1923,
1053,
4833,
29892,
29825,
29918,
4645,
13,
3166,
1923,
29889,
13239,
29889,
1127,
275,
29918,
4422,
1053,
4367,
275,
2558,
13,
13,
13,
1990,
4911,
29898,
2585,
29889,
3195,
29892,
7399,
3195,
1125,
13,
1678,
4770,
3891,
2435,
420,
1649,
353,
376,
1792,
29908,
13,
1678,
330,
568,
29872,
29918,
333,
353,
4833,
29889,
4409,
29898,
2585,
29889,
7798,
3285,
7601,
29918,
1989,
29922,
5574,
29897,
13,
1678,
330,
568,
29872,
29918,
7507,
353,
4833,
29889,
4409,
29898,
2585,
29889,
1231,
29898,
29945,
29900,
511,
1870,
519,
29922,
8824,
29897,
13,
1678,
330,
568,
29872,
29918,
978,
353,
4833,
29889,
4409,
29898,
2585,
29889,
1231,
29898,
29945,
29900,
511,
1870,
519,
29922,
8824,
29897,
13,
1678,
9008,
353,
4833,
29889,
4409,
29898,
2585,
29889,
1231,
29898,
29906,
29900,
511,
1870,
519,
29922,
5574,
29892,
2322,
29922,
8516,
29897,
13,
1678,
1029,
14873,
29918,
2271,
353,
4833,
29889,
4409,
29898,
2585,
29889,
1231,
29898,
29945,
29896,
29906,
511,
1870,
519,
29922,
5574,
29892,
2322,
29922,
8516,
29897,
13,
1678,
3711,
29918,
5269,
353,
4833,
29889,
4409,
29898,
2585,
29889,
1231,
29898,
29896,
29906,
29947,
511,
1870,
519,
29922,
5574,
29892,
2322,
29922,
8516,
29897,
13,
13,
1678,
337,
29918,
1792,
29918,
12154,
353,
4833,
29889,
2674,
800,
4034,
703,
1123,
2659,
16727,
613,
1250,
999,
543,
1792,
1159,
13,
1678,
337,
29918,
1792,
29918,
2972,
353,
4833,
29889,
2674,
800,
4034,
703,
1123,
2659,
4782,
613,
1250,
999,
543,
1792,
1159,
13,
1678,
337,
29918,
1792,
29918,
6388,
2133,
353,
4833,
29889,
2674,
800,
4034,
703,
1123,
2659,
27356,
2133,
613,
1250,
999,
543,
1792,
1159,
13,
13,
1678,
822,
903,
657,
29918,
307,
793,
29898,
1311,
1125,
13,
4706,
16178,
353,
5159,
13,
4706,
363,
337,
297,
1583,
29889,
276,
29918,
1792,
29918,
12154,
29901,
13,
9651,
6297,
353,
1528,
280,
29889,
1972,
29889,
4572,
29918,
1609,
29898,
333,
29922,
276,
29889,
12154,
29918,
333,
467,
4102,
580,
13,
9651,
16178,
29889,
4397,
29898,
12154,
29889,
517,
29918,
3126,
3101,
13,
4706,
736,
16178,
13,
13,
1678,
822,
903,
657,
29918,
3597,
29918,
12154,
29898,
1311,
1125,
13,
4706,
515,
1923,
29889,
4299,
29889,
16074,
1053,
1528,
280,
29892,
830,
2659,
16727,
13,
4706,
903,
4572,
353,
518,
1123,
2659,
16727,
29889,
1792,
29918,
333,
1275,
1583,
29889,
29887,
568,
29872,
29918,
333,
29892,
1528,
280,
29889,
1853,
1275,
525,
3597,
2033,
13,
4706,
903,
12154,
353,
1528,
280,
29889,
1972,
29889,
7122,
29898,
1123,
2659,
16727,
467,
4572,
10456,
29918,
4572,
467,
4102,
580,
13,
4706,
736,
903,
12154,
29889,
517,
29918,
3126,
580,
565,
903,
12154,
1683,
6213,
13,
13,
1678,
822,
304,
29918,
8977,
29898,
1311,
1125,
13,
4706,
736,
426,
13,
9651,
376,
29887,
568,
29872,
29918,
333,
1115,
1583,
29889,
29887,
568,
29872,
29918,
333,
29892,
13,
9651,
376,
29887,
568,
29872,
29918,
7507,
1115,
1583,
29889,
29887,
568,
29872,
29918,
7507,
29892,
13,
9651,
376,
29887,
568,
29872,
29918,
978,
1115,
1583,
29889,
29887,
568,
29872,
29918,
978,
29892,
13,
9651,
376,
6710,
1115,
1583,
29889,
6710,
29892,
13,
9651,
376,
485,
14873,
29918,
2271,
1115,
1583,
29889,
485,
14873,
29918,
2271,
29892,
13,
9651,
376,
16398,
29918,
5269,
1115,
1583,
29889,
16398,
29918,
5269,
29892,
13,
9651,
376,
307,
793,
1115,
1583,
3032,
657,
29918,
307,
793,
580,
13,
4706,
500,
13,
13,
1678,
822,
304,
29918,
3126,
29898,
1311,
1125,
13,
4706,
736,
426,
13,
9651,
376,
29887,
568,
29872,
29918,
333,
1115,
1583,
29889,
29887,
568,
29872,
29918,
333,
29892,
13,
9651,
376,
29887,
568,
29872,
29918,
7507,
1115,
1583,
29889,
29887,
568,
29872,
29918,
7507,
29892,
13,
9651,
376,
29887,
568,
29872,
29918,
978,
1115,
1583,
29889,
29887,
568,
29872,
29918,
978,
29892,
13,
9651,
376,
6710,
1115,
1583,
29889,
6710,
29892,
13,
9651,
376,
485,
14873,
29918,
2271,
1115,
1583,
29889,
485,
14873,
29918,
2271,
29892,
13,
9651,
376,
16398,
29918,
5269,
1115,
1583,
29889,
16398,
29918,
5269,
29892,
13,
9651,
376,
307,
793,
1115,
1583,
3032,
657,
29918,
307,
793,
3285,
13,
9651,
376,
12154,
1115,
1583,
3032,
657,
29918,
3597,
29918,
12154,
580,
13,
4706,
500,
13,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
12231,
675,
29918,
29887,
568,
29872,
29918,
3888,
29898,
29887,
568,
29872,
29918,
1792,
29892,
1404,
29922,
8516,
1125,
13,
4706,
1404,
29889,
29887,
568,
29872,
29918,
7507,
353,
330,
568,
29872,
29918,
1792,
29889,
657,
703,
7507,
1159,
13,
4706,
1404,
29889,
29887,
568,
29872,
29918,
978,
353,
330,
568,
29872,
29918,
1792,
29889,
657,
703,
978,
1159,
13,
4706,
1404,
29889,
485,
14873,
29918,
2271,
353,
330,
568,
29872,
29918,
1792,
29889,
657,
703,
485,
14873,
29918,
2271,
1159,
13,
4706,
1404,
29889,
1202,
29918,
5504,
580,
13,
4706,
736,
1404,
13,
13,
1678,
822,
4078,
29918,
1127,
275,
29898,
1311,
29892,
2130,
29918,
6979,
29892,
11086,
29918,
6979,
29892,
1857,
29918,
990,
29918,
333,
29922,
8516,
1125,
13,
4706,
29825,
29918,
1272,
353,
1583,
29889,
517,
29918,
8977,
580,
13,
4706,
29825,
29918,
1272,
1839,
29887,
568,
29872,
29918,
5943,
29918,
6979,
2033,
353,
2130,
29918,
6979,
13,
4706,
29825,
29918,
1272,
1839,
29887,
568,
29872,
29918,
22379,
29918,
6979,
2033,
353,
11086,
29918,
6979,
13,
4706,
565,
1857,
29918,
990,
29918,
333,
29901,
13,
9651,
29825,
29918,
1272,
1839,
3784,
29918,
990,
29918,
333,
2033,
353,
1857,
29918,
990,
29918,
333,
13,
4706,
1683,
29901,
13,
9651,
363,
2944,
297,
1583,
29889,
276,
29918,
1792,
29918,
6388,
2133,
29901,
13,
18884,
565,
2944,
29889,
4381,
338,
5852,
29901,
13,
462,
1678,
29825,
29918,
1272,
1839,
3784,
29918,
990,
29918,
333,
2033,
353,
2944,
29889,
6388,
2133,
29918,
333,
13,
462,
1678,
29825,
29918,
1272,
1839,
3784,
29918,
990,
29918,
978,
2033,
353,
2944,
29889,
6388,
2133,
29889,
978,
13,
4706,
29825,
29918,
4645,
29889,
7184,
842,
29898,
9039,
275,
2558,
29889,
1792,
29898,
1311,
29889,
29887,
568,
29872,
29918,
333,
511,
29825,
29918,
1272,
29897,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
1653,
29918,
15060,
29898,
29887,
568,
29872,
29918,
1792,
29892,
3711,
29918,
5269,
29922,
8516,
1125,
13,
4706,
716,
29918,
1792,
353,
4911,
580,
13,
4706,
716,
29918,
1792,
29889,
29887,
568,
29872,
29918,
333,
353,
330,
568,
29872,
29918,
1792,
29889,
657,
703,
333,
1159,
13,
4706,
716,
29918,
1792,
29889,
29887,
568,
29872,
29918,
7507,
353,
330,
568,
29872,
29918,
1792,
29889,
657,
703,
7507,
1159,
13,
4706,
716,
29918,
1792,
29889,
29887,
568,
29872,
29918,
978,
353,
330,
568,
29872,
29918,
1792,
29889,
657,
703,
978,
1159,
13,
4706,
716,
29918,
1792,
29889,
485,
14873,
29918,
2271,
353,
330,
568,
29872,
29918,
1792,
29889,
657,
703,
485,
14873,
29918,
2271,
1159,
13,
4706,
716,
29918,
1792,
29889,
16398,
29918,
5269,
353,
3711,
29918,
5269,
13,
4706,
716,
29918,
1792,
29889,
1202,
29918,
5504,
580,
13,
4706,
736,
716,
29918,
1792,
13,
2
] |
qbt_migrate/cli.py | Reverse256/qbt_migrate | 42 | 1603284 | <filename>qbt_migrate/cli.py
import logging
import argparse
from . import QBTBatchMove, discover_bt_backup_path
logger = logging.getLogger(__name__)
def parse_args():
parser = argparse.ArgumentParser()
parser.add_argument('-e', '--existing-path', help='Existing root of path to look for.')
parser.add_argument('-n', '--new-path', help='New root path to replace existing root path with.')
parser.add_argument('-t', '--target-os', help='Target OS (converts slashes). '
'Default will auto-detect if conversion is needed '
'based on existing vs new.',
choices=['Windows', 'Linux', 'Mac'])
parser.add_argument('-b', '--bt-backup-path', help='BT_Backup Path Override. Default is %s'
% discover_bt_backup_path())
parser.add_argument('-s', '--skip-bad-files', help='Skips bad .fastresume files instead of exiting. '
'Default behavior is to exit.',
action='store_true', default=False)
parser.add_argument('-l', '--log-level', help='Log Level, Default is INFO.',
choices=['DEBUG', 'INFO'], default='INFO')
return parser.parse_args()
def main():
args = parse_args()
logging.basicConfig()
logger.setLevel(args.log_level)
logging.getLogger('qbt_migrate').setLevel(args.log_level)
logging.getLogger('qbt_migrate').propagate = True
qbm = QBTBatchMove()
if args.bt_backup_path is not None:
qbm.bt_backup_path = args.bt_backup_path
else:
bt_backup_path = input('BT_Backup Path (%s): ' % qbm.bt_backup_path)
if bt_backup_path.strip():
qbm.bt_backup_path = bt_backup_path
if args.existing_path is None:
args.existing_path = input('Existing Path: ')
if args.new_path is None:
args.new_path = input('New Path: ')
if args.target_os is None:
args.target_os = input('Target OS (Windows, Linux, Mac, Blank for auto-detect): ')
if args.target_os.strip() and args.target_os.lower() not in ('windows', 'linux', 'mac'):
raise ValueError('Target OS is not valid. Must be Windows, Linux, or Mac. Received: %s' % args.target_os)
elif not args.target_os.strip():
if '/' in args.existing_path and '\\' in args.new_path:
logger.info('Auto detected target OS change. Will convert slashes to Windows.')
args.target_os = 'windows'
elif '\\' in args.existing_path and '/' in args.new_path:
logger.info('Auto detected target OS change. Will convert slashes to Linux/Mac.')
args.target_os = 'linux'
else:
args.target_os = None
qbm.run(args.existing_path, args.new_path, args.target_os, args.skip_bad_files)
if __name__ == '__main__':
main()
| [
1,
529,
9507,
29958,
29939,
3116,
29918,
26983,
403,
29914,
11303,
29889,
2272,
13,
5215,
12183,
13,
5215,
1852,
5510,
13,
13,
3166,
869,
1053,
660,
29933,
29911,
23145,
16619,
29892,
6523,
29918,
3116,
29918,
1627,
786,
29918,
2084,
13,
13,
13,
21707,
353,
12183,
29889,
657,
16363,
22168,
978,
1649,
29897,
13,
13,
13,
1753,
6088,
29918,
5085,
7295,
13,
1678,
13812,
353,
1852,
5510,
29889,
15730,
11726,
580,
13,
1678,
13812,
29889,
1202,
29918,
23516,
877,
29899,
29872,
742,
525,
489,
735,
15423,
29899,
2084,
742,
1371,
2433,
1252,
15423,
3876,
310,
2224,
304,
1106,
363,
29889,
1495,
13,
1678,
13812,
29889,
1202,
29918,
23516,
877,
29899,
29876,
742,
525,
489,
1482,
29899,
2084,
742,
1371,
2433,
4373,
3876,
2224,
304,
5191,
5923,
3876,
2224,
411,
29889,
1495,
13,
1678,
13812,
29889,
1202,
29918,
23516,
877,
29899,
29873,
742,
525,
489,
5182,
29899,
359,
742,
1371,
2433,
8667,
6570,
313,
535,
369,
1372,
24765,
267,
467,
525,
13,
462,
462,
462,
29871,
525,
4592,
674,
4469,
29899,
4801,
522,
565,
11301,
338,
4312,
525,
13,
462,
462,
462,
29871,
525,
6707,
373,
5923,
7186,
716,
29889,
742,
13,
462,
4706,
19995,
29922,
1839,
7685,
742,
525,
24085,
742,
525,
15735,
11287,
13,
1678,
13812,
29889,
1202,
29918,
23516,
877,
29899,
29890,
742,
525,
489,
3116,
29899,
1627,
786,
29899,
2084,
742,
1371,
2433,
29933,
29911,
29918,
5841,
786,
10802,
6811,
2426,
29889,
13109,
338,
1273,
29879,
29915,
13,
462,
462,
462,
539,
1273,
6523,
29918,
3116,
29918,
1627,
786,
29918,
2084,
3101,
13,
1678,
13812,
29889,
1202,
29918,
23516,
877,
29899,
29879,
742,
525,
489,
11014,
29899,
12313,
29899,
5325,
742,
1371,
2433,
29903,
1984,
567,
4319,
869,
13629,
5888,
2017,
2066,
2012,
310,
6876,
292,
29889,
525,
13,
462,
462,
462,
539,
525,
4592,
6030,
338,
304,
6876,
29889,
742,
13,
462,
4706,
3158,
2433,
8899,
29918,
3009,
742,
2322,
29922,
8824,
29897,
13,
13,
1678,
13812,
29889,
1202,
29918,
23516,
877,
29899,
29880,
742,
525,
489,
1188,
29899,
5563,
742,
1371,
2433,
3403,
21597,
29892,
13109,
338,
15233,
29889,
742,
13,
462,
4706,
19995,
29922,
1839,
18525,
742,
525,
11690,
7464,
2322,
2433,
11690,
1495,
13,
13,
1678,
736,
13812,
29889,
5510,
29918,
5085,
580,
13,
13,
13,
1753,
1667,
7295,
13,
1678,
6389,
353,
6088,
29918,
5085,
580,
13,
1678,
12183,
29889,
16121,
3991,
580,
13,
1678,
17927,
29889,
842,
10108,
29898,
5085,
29889,
1188,
29918,
5563,
29897,
13,
1678,
12183,
29889,
657,
16363,
877,
29939,
3116,
29918,
26983,
403,
2824,
842,
10108,
29898,
5085,
29889,
1188,
29918,
5563,
29897,
13,
1678,
12183,
29889,
657,
16363,
877,
29939,
3116,
29918,
26983,
403,
2824,
7728,
351,
403,
353,
5852,
13,
1678,
3855,
5838,
353,
660,
29933,
29911,
23145,
16619,
580,
13,
1678,
565,
6389,
29889,
3116,
29918,
1627,
786,
29918,
2084,
338,
451,
6213,
29901,
13,
4706,
3855,
5838,
29889,
3116,
29918,
1627,
786,
29918,
2084,
353,
6389,
29889,
3116,
29918,
1627,
786,
29918,
2084,
13,
1678,
1683,
29901,
13,
4706,
289,
29873,
29918,
1627,
786,
29918,
2084,
353,
1881,
877,
29933,
29911,
29918,
5841,
786,
10802,
313,
29995,
29879,
1125,
525,
1273,
3855,
5838,
29889,
3116,
29918,
1627,
786,
29918,
2084,
29897,
13,
4706,
565,
289,
29873,
29918,
1627,
786,
29918,
2084,
29889,
17010,
7295,
13,
9651,
3855,
5838,
29889,
3116,
29918,
1627,
786,
29918,
2084,
353,
289,
29873,
29918,
1627,
786,
29918,
2084,
13,
1678,
565,
6389,
29889,
735,
15423,
29918,
2084,
338,
6213,
29901,
13,
4706,
6389,
29889,
735,
15423,
29918,
2084,
353,
1881,
877,
1252,
15423,
10802,
29901,
25710,
13,
1678,
565,
6389,
29889,
1482,
29918,
2084,
338,
6213,
29901,
13,
4706,
6389,
29889,
1482,
29918,
2084,
353,
1881,
877,
4373,
10802,
29901,
25710,
13,
1678,
565,
6389,
29889,
5182,
29918,
359,
338,
6213,
29901,
13,
4706,
6389,
29889,
5182,
29918,
359,
353,
1881,
877,
8667,
6570,
313,
7685,
29892,
8074,
29892,
4326,
29892,
3164,
804,
363,
4469,
29899,
4801,
522,
1125,
25710,
13,
1678,
565,
6389,
29889,
5182,
29918,
359,
29889,
17010,
580,
322,
6389,
29889,
5182,
29918,
359,
29889,
13609,
580,
451,
297,
6702,
10499,
742,
525,
9389,
742,
525,
8628,
29374,
13,
4706,
12020,
7865,
2392,
877,
8667,
6570,
338,
451,
2854,
29889,
19928,
367,
3852,
29892,
8074,
29892,
470,
4326,
29889,
24328,
2347,
29901,
1273,
29879,
29915,
1273,
6389,
29889,
5182,
29918,
359,
29897,
13,
1678,
25342,
451,
6389,
29889,
5182,
29918,
359,
29889,
17010,
7295,
13,
4706,
565,
8207,
29915,
297,
6389,
29889,
735,
15423,
29918,
2084,
322,
525,
1966,
29915,
297,
6389,
29889,
1482,
29918,
2084,
29901,
13,
9651,
17927,
29889,
3888,
877,
12300,
17809,
3646,
6570,
1735,
29889,
2811,
3588,
24765,
267,
304,
3852,
29889,
1495,
13,
9651,
6389,
29889,
5182,
29918,
359,
353,
525,
10499,
29915,
13,
4706,
25342,
525,
1966,
29915,
297,
6389,
29889,
735,
15423,
29918,
2084,
322,
8207,
29915,
297,
6389,
29889,
1482,
29918,
2084,
29901,
13,
9651,
17927,
29889,
3888,
877,
12300,
17809,
3646,
6570,
1735,
29889,
2811,
3588,
24765,
267,
304,
8074,
29914,
15735,
29889,
1495,
13,
9651,
6389,
29889,
5182,
29918,
359,
353,
525,
9389,
29915,
13,
4706,
1683,
29901,
13,
9651,
6389,
29889,
5182,
29918,
359,
353,
6213,
13,
1678,
3855,
5838,
29889,
3389,
29898,
5085,
29889,
735,
15423,
29918,
2084,
29892,
6389,
29889,
1482,
29918,
2084,
29892,
6389,
29889,
5182,
29918,
359,
29892,
6389,
29889,
11014,
29918,
12313,
29918,
5325,
29897,
13,
13,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
1678,
1667,
580,
13,
2
] |
tf_metric_learning/utils/recall.py | Ximilar-com/tf-metric-learning | 28 | 99848 | import tensorflow as tf
import numpy as np
from tqdm import tqdm
from tf_metric_learning.utils.index import AnnoyDataIndex
class AnnoyEvaluatorCallback(AnnoyDataIndex):
"""
Callback, extracts embeddings, add them to AnnoyIndex and evaluate them as recall.
"""
def __init__(
self,
model,
data_store,
data_search,
save_dir=None,
eb_size=256,
metric="euclidean",
freq=1,
batch_size=None,
normalize_eb=True,
normalize_fn=None,
progress=True,
**kwargs
):
super().__init__(eb_size, data_store["labels"], metric=metric, save_dir=save_dir, progress=progress)
self.base_model = model
self.data_store = data_store
self.data_search = data_search
self.batch_size = batch_size
self.freq = int(freq)
self.normalize_eb = normalize_eb
self.normalize_fn = normalize_fn
self.results = {}
def on_epoch_begin(self, epoch, logs=None):
if self.freq and epoch % self.freq == 0:
self.compute_data()
def batch(self, iterable, n=1):
l = len(iterable)
for ndx in range(0, l, n):
yield iterable[ndx:min(ndx + n, l)]
def compute_data(self):
self.create_index()
i = 0
with tqdm(total=len(self.data_store["images"]), desc="Indexing ... ") as pbar:
for batch in self.batch(self.data_store["images"], n=self.batch_size*10):
store_images = self.normalize_fn(batch) if self.normalize_fn is not None else batch
embeddings_store = self.base_model.predict(store_images, batch_size=self.batch_size)
if self.normalize_eb:
embeddings_store = tf.nn.l2_normalize(embeddings_store, axis=1).numpy()
for embedding in embeddings_store:
self.add_to_index(i, embedding)
i += 1
pbar.update(len(batch))
self.build(k=5)
self.evaluate(self.data_search["images"])
def evaluate(self, images):
self.results = {"default": []}
i = 0
with tqdm(total=len(images), desc="Evaluating ... ") as pbar:
for batch in self.batch(images, n=self.batch_size*10):
search_images = self.normalize_fn(batch) if self.normalize_fn is not None else batch
embeddings_search = self.base_model.predict(search_images, batch_size=self.batch_size)
if self.normalize_eb:
embeddings_search = tf.nn.l2_normalize(embeddings_search, axis=1).numpy()
for embedding in embeddings_search:
annoy_results = self.search(embedding, n=20, include_distances=False)
annoy_results = [self.get_label(result) for result in annoy_results]
recalls = self.eval_recall(annoy_results, self.data_search["labels"][i], [1, 5, 10, 20])
self.results["default"].append(recalls)
i += 1
pbar.update(len(batch))
print("\nRecall@[1, 3, 5, 10, 20] Computed:", np.mean(np.asarray(self.results["default"]), axis=0), "\n")
def eval_recall(self, annoy_results, label, recalls):
return [1 if label in annoy_results[:recall_n] else 0 for recall_n in recalls]
| [
1,
1053,
26110,
408,
15886,
13,
13,
5215,
12655,
408,
7442,
13,
3166,
260,
29939,
18933,
1053,
260,
29939,
18933,
13,
13,
3166,
15886,
29918,
16414,
29918,
21891,
29889,
13239,
29889,
2248,
1053,
530,
1217,
29891,
1469,
3220,
13,
13,
13,
1990,
530,
1217,
29891,
29923,
4387,
1061,
10717,
29898,
2744,
1217,
29891,
1469,
3220,
1125,
13,
1678,
9995,
13,
1678,
8251,
1627,
29892,
6597,
29879,
8297,
29881,
886,
29892,
788,
963,
304,
530,
1217,
29891,
3220,
322,
14707,
963,
408,
17386,
29889,
13,
1678,
9995,
13,
13,
1678,
822,
4770,
2344,
12035,
13,
4706,
1583,
29892,
13,
4706,
1904,
29892,
13,
4706,
848,
29918,
8899,
29892,
13,
4706,
848,
29918,
4478,
29892,
13,
4706,
4078,
29918,
3972,
29922,
8516,
29892,
13,
4706,
18230,
29918,
2311,
29922,
29906,
29945,
29953,
29892,
13,
4706,
12714,
543,
29872,
27511,
613,
13,
4706,
3005,
29939,
29922,
29896,
29892,
13,
4706,
9853,
29918,
2311,
29922,
8516,
29892,
13,
4706,
4226,
675,
29918,
774,
29922,
5574,
29892,
13,
4706,
4226,
675,
29918,
9144,
29922,
8516,
29892,
13,
4706,
6728,
29922,
5574,
29892,
13,
4706,
3579,
19290,
13,
268,
1125,
13,
4706,
2428,
2141,
1649,
2344,
12035,
774,
29918,
2311,
29892,
848,
29918,
8899,
3366,
21134,
12436,
12714,
29922,
16414,
29892,
4078,
29918,
3972,
29922,
7620,
29918,
3972,
29892,
6728,
29922,
18035,
29897,
13,
13,
4706,
1583,
29889,
3188,
29918,
4299,
353,
1904,
13,
4706,
1583,
29889,
1272,
29918,
8899,
353,
848,
29918,
8899,
13,
4706,
1583,
29889,
1272,
29918,
4478,
353,
848,
29918,
4478,
13,
4706,
1583,
29889,
16175,
29918,
2311,
353,
9853,
29918,
2311,
13,
4706,
1583,
29889,
29888,
7971,
353,
938,
29898,
29888,
7971,
29897,
13,
4706,
1583,
29889,
8945,
675,
29918,
774,
353,
4226,
675,
29918,
774,
13,
4706,
1583,
29889,
8945,
675,
29918,
9144,
353,
4226,
675,
29918,
9144,
13,
4706,
1583,
29889,
9902,
353,
6571,
13,
13,
1678,
822,
373,
29918,
1022,
2878,
29918,
463,
29898,
1311,
29892,
21502,
305,
29892,
10748,
29922,
8516,
1125,
13,
4706,
565,
1583,
29889,
29888,
7971,
322,
21502,
305,
1273,
1583,
29889,
29888,
7971,
1275,
29871,
29900,
29901,
13,
9651,
1583,
29889,
26017,
29918,
1272,
580,
13,
13,
1678,
822,
9853,
29898,
1311,
29892,
4256,
519,
29892,
302,
29922,
29896,
1125,
13,
4706,
301,
353,
7431,
29898,
1524,
519,
29897,
13,
4706,
363,
29871,
299,
29916,
297,
3464,
29898,
29900,
29892,
301,
29892,
302,
1125,
13,
9651,
7709,
4256,
519,
29961,
299,
29916,
29901,
1195,
29898,
299,
29916,
718,
302,
29892,
301,
4638,
13,
13,
1678,
822,
10272,
29918,
1272,
29898,
1311,
1125,
13,
4706,
1583,
29889,
3258,
29918,
2248,
580,
13,
4706,
474,
353,
29871,
29900,
13,
4706,
411,
260,
29939,
18933,
29898,
7827,
29922,
2435,
29898,
1311,
29889,
1272,
29918,
8899,
3366,
8346,
3108,
511,
5153,
543,
3220,
292,
2023,
16521,
408,
282,
1646,
29901,
13,
9651,
363,
9853,
297,
1583,
29889,
16175,
29898,
1311,
29889,
1272,
29918,
8899,
3366,
8346,
12436,
302,
29922,
1311,
29889,
16175,
29918,
2311,
29930,
29896,
29900,
1125,
13,
18884,
3787,
29918,
8346,
353,
1583,
29889,
8945,
675,
29918,
9144,
29898,
16175,
29897,
565,
1583,
29889,
8945,
675,
29918,
9144,
338,
451,
6213,
1683,
9853,
13,
18884,
8297,
29881,
886,
29918,
8899,
353,
1583,
29889,
3188,
29918,
4299,
29889,
27711,
29898,
8899,
29918,
8346,
29892,
9853,
29918,
2311,
29922,
1311,
29889,
16175,
29918,
2311,
29897,
13,
18884,
565,
1583,
29889,
8945,
675,
29918,
774,
29901,
13,
462,
1678,
8297,
29881,
886,
29918,
8899,
353,
15886,
29889,
15755,
29889,
29880,
29906,
29918,
8945,
675,
29898,
17987,
29881,
886,
29918,
8899,
29892,
9685,
29922,
29896,
467,
23749,
580,
13,
18884,
363,
23655,
297,
8297,
29881,
886,
29918,
8899,
29901,
13,
462,
1678,
1583,
29889,
1202,
29918,
517,
29918,
2248,
29898,
29875,
29892,
23655,
29897,
13,
462,
1678,
474,
4619,
29871,
29896,
13,
18884,
282,
1646,
29889,
5504,
29898,
2435,
29898,
16175,
876,
13,
4706,
1583,
29889,
4282,
29898,
29895,
29922,
29945,
29897,
13,
4706,
1583,
29889,
24219,
403,
29898,
1311,
29889,
1272,
29918,
4478,
3366,
8346,
20068,
13,
13,
1678,
822,
14707,
29898,
1311,
29892,
4558,
1125,
13,
4706,
1583,
29889,
9902,
353,
8853,
4381,
1115,
5159,
29913,
13,
13,
4706,
474,
353,
29871,
29900,
13,
4706,
411,
260,
29939,
18933,
29898,
7827,
29922,
2435,
29898,
8346,
511,
5153,
543,
29923,
4387,
1218,
2023,
16521,
408,
282,
1646,
29901,
13,
9651,
363,
9853,
297,
1583,
29889,
16175,
29898,
8346,
29892,
302,
29922,
1311,
29889,
16175,
29918,
2311,
29930,
29896,
29900,
1125,
13,
18884,
2740,
29918,
8346,
353,
1583,
29889,
8945,
675,
29918,
9144,
29898,
16175,
29897,
565,
1583,
29889,
8945,
675,
29918,
9144,
338,
451,
6213,
1683,
9853,
13,
18884,
8297,
29881,
886,
29918,
4478,
353,
1583,
29889,
3188,
29918,
4299,
29889,
27711,
29898,
4478,
29918,
8346,
29892,
9853,
29918,
2311,
29922,
1311,
29889,
16175,
29918,
2311,
29897,
13,
18884,
565,
1583,
29889,
8945,
675,
29918,
774,
29901,
13,
462,
1678,
8297,
29881,
886,
29918,
4478,
353,
15886,
29889,
15755,
29889,
29880,
29906,
29918,
8945,
675,
29898,
17987,
29881,
886,
29918,
4478,
29892,
9685,
29922,
29896,
467,
23749,
580,
13,
18884,
363,
23655,
297,
8297,
29881,
886,
29918,
4478,
29901,
13,
462,
1678,
12327,
29891,
29918,
9902,
353,
1583,
29889,
4478,
29898,
17987,
8497,
29892,
302,
29922,
29906,
29900,
29892,
3160,
29918,
5721,
2925,
29922,
8824,
29897,
13,
462,
1678,
12327,
29891,
29918,
9902,
353,
518,
1311,
29889,
657,
29918,
1643,
29898,
2914,
29897,
363,
1121,
297,
12327,
29891,
29918,
9902,
29962,
13,
462,
1678,
1162,
4293,
353,
1583,
29889,
14513,
29918,
3757,
497,
29898,
7665,
29891,
29918,
9902,
29892,
1583,
29889,
1272,
29918,
4478,
3366,
21134,
3108,
29961,
29875,
1402,
518,
29896,
29892,
29871,
29945,
29892,
29871,
29896,
29900,
29892,
29871,
29906,
29900,
2314,
13,
462,
1678,
1583,
29889,
9902,
3366,
4381,
16862,
4397,
29898,
3757,
4293,
29897,
13,
462,
1678,
474,
4619,
29871,
29896,
13,
18884,
282,
1646,
29889,
5504,
29898,
2435,
29898,
16175,
876,
13,
13,
9651,
1596,
14182,
29876,
4789,
497,
29992,
29961,
29896,
29892,
29871,
29941,
29892,
29871,
29945,
29892,
29871,
29896,
29900,
29892,
29871,
29906,
29900,
29962,
11796,
287,
29901,
613,
7442,
29889,
12676,
29898,
9302,
29889,
294,
2378,
29898,
1311,
29889,
9902,
3366,
4381,
3108,
511,
9685,
29922,
29900,
511,
6634,
29876,
1159,
13,
13,
1678,
822,
19745,
29918,
3757,
497,
29898,
1311,
29892,
12327,
29891,
29918,
9902,
29892,
3858,
29892,
1162,
4293,
1125,
13,
4706,
736,
518,
29896,
565,
3858,
297,
12327,
29891,
29918,
9902,
7503,
3757,
497,
29918,
29876,
29962,
1683,
29871,
29900,
363,
17386,
29918,
29876,
297,
1162,
4293,
29962,
13,
2
] |
examples/client/main.py | TheFarGG/Discode | 3 | 1039 | <filename>examples/client/main.py<gh_stars>1-10
import os
import discode
TOKEN = os.environ.get("TOKEN")
# The token from the developer portal.
client = discode.Client(token=TOKEN, intents=discode.Intents.default())
@client.on_event("ready")
async def on_ready():
print(client.user, "is ready!")
# The ready listener gets fired when the bot/client is completely ready for use.
@client.on_event("message_create")
async def on_message(message: discode.Message):
msg: str = msg.content
if msg.startswith("?hi"):
await message.channel.send("Hi!!!")
# The message_create listener is fired whenever a message is sent to any channel that the bot has access to.
| [
1,
529,
9507,
29958,
19057,
29914,
4645,
29914,
3396,
29889,
2272,
29966,
12443,
29918,
303,
1503,
29958,
29896,
29899,
29896,
29900,
13,
5215,
2897,
13,
13,
5215,
766,
401,
13,
13,
4986,
29968,
1430,
353,
2897,
29889,
21813,
29889,
657,
703,
4986,
29968,
1430,
1159,
13,
29937,
450,
5993,
515,
278,
13897,
25792,
29889,
13,
13,
4645,
353,
766,
401,
29889,
4032,
29898,
6979,
29922,
4986,
29968,
1430,
29892,
938,
1237,
29922,
2218,
401,
29889,
2928,
1237,
29889,
4381,
3101,
13,
13,
13,
29992,
4645,
29889,
265,
29918,
3696,
703,
2040,
1159,
13,
12674,
822,
373,
29918,
2040,
7295,
13,
1678,
1596,
29898,
4645,
29889,
1792,
29892,
376,
275,
7960,
29991,
1159,
13,
13,
13,
29937,
450,
7960,
13254,
4947,
17285,
746,
278,
9225,
29914,
4645,
338,
6446,
7960,
363,
671,
29889,
13,
13,
13,
29992,
4645,
29889,
265,
29918,
3696,
703,
4906,
29918,
3258,
1159,
13,
12674,
822,
373,
29918,
4906,
29898,
4906,
29901,
766,
401,
29889,
3728,
1125,
13,
1678,
10191,
29901,
851,
353,
10191,
29889,
3051,
13,
1678,
565,
10191,
29889,
27382,
2541,
703,
29973,
2918,
29908,
1125,
13,
4706,
7272,
2643,
29889,
12719,
29889,
6717,
703,
18567,
21004,
1159,
13,
13,
13,
29937,
450,
2643,
29918,
3258,
13254,
338,
17285,
10940,
263,
2643,
338,
2665,
304,
738,
8242,
393,
278,
9225,
756,
2130,
304,
29889,
13,
2
] |
laserAtomTrap/src/__init__.py | statisdisc/modellingAndSimulation | 0 | 151427 | <gh_stars>0
__all__ = ["objects", "plots", "utilities"] | [
1,
529,
12443,
29918,
303,
1503,
29958,
29900,
13,
1649,
497,
1649,
353,
6796,
12650,
613,
376,
26762,
613,
376,
4422,
1907,
3108,
2
] |
tests/test_eval_metrics.py | IntheGrass/citeomatic_learning | 162 | 169574 | <filename>tests/test_eval_metrics.py
import unittest
from citeomatic.eval_metrics import precision_recall_f1_at_ks, average_results
class TestEvalMetrics(unittest.TestCase):
def test_precision_recall_f1_at_ks(self):
gold_y = ['1', '2', '3']
pred_y = ['1', '4', '3']
scores_y = [1.0, 0.1, 0.5]
k = [1, 2, 3]
results = precision_recall_f1_at_ks(gold_y, pred_y, scores=None, k_list=k)
assert results['precision'] == [1.0, 0.5, 2/3]
assert results['recall'] == [1/3, 1/3, 2/3]
assert results['f1'] == [1/2, 2/5, 2/3]
assert results['mrr'] == 1.0
results_2 = precision_recall_f1_at_ks(gold_y, pred_y, scores_y, k)
assert results_2['precision'] == [1.0, 1.0, 2/3]
assert results_2['recall'] == [1/3, 2/3, 2/3]
assert results_2['f1'] == [1/2, 4/5, 2/3]
assert results_2['mrr'] == 1.0
def test_average_results(self):
r1 = {
'precision': [1.0, 0.5, 2/3],
'recall': [1.0, 0.5, 2/3],
'f1': [1.0, 0.5, 2/3],
'mrr': 1.0,
}
r2 = {
'precision': [3.0, 1.0, 4/3],
'recall': [3.0, 1.0, 4/3],
'f1': [3.0, 1.0, 4/3],
'mrr': 0.5,
}
averaged_results = average_results([r1, r2])
assert averaged_results['precision'] == [2.0, 0.75, 1.0]
assert averaged_results['mrr'] == 0.75
if __name__ == '__main__':
unittest.main() | [
1,
529,
9507,
29958,
21150,
29914,
1688,
29918,
14513,
29918,
2527,
10817,
29889,
2272,
13,
5215,
443,
27958,
13,
3166,
274,
568,
290,
2454,
29889,
14513,
29918,
2527,
10817,
1053,
16716,
29918,
3757,
497,
29918,
29888,
29896,
29918,
271,
29918,
2039,
29892,
6588,
29918,
9902,
13,
13,
13,
1990,
4321,
29923,
791,
10095,
10817,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
1678,
822,
1243,
29918,
17990,
2459,
29918,
3757,
497,
29918,
29888,
29896,
29918,
271,
29918,
2039,
29898,
1311,
1125,
13,
4706,
7684,
29918,
29891,
353,
6024,
29896,
742,
525,
29906,
742,
525,
29941,
2033,
13,
4706,
4450,
29918,
29891,
353,
6024,
29896,
742,
525,
29946,
742,
525,
29941,
2033,
13,
4706,
19435,
29918,
29891,
353,
518,
29896,
29889,
29900,
29892,
29871,
29900,
29889,
29896,
29892,
29871,
29900,
29889,
29945,
29962,
13,
4706,
413,
353,
518,
29896,
29892,
29871,
29906,
29892,
29871,
29941,
29962,
13,
4706,
2582,
353,
16716,
29918,
3757,
497,
29918,
29888,
29896,
29918,
271,
29918,
2039,
29898,
29887,
1025,
29918,
29891,
29892,
4450,
29918,
29891,
29892,
19435,
29922,
8516,
29892,
413,
29918,
1761,
29922,
29895,
29897,
13,
13,
4706,
4974,
2582,
1839,
17990,
2459,
2033,
1275,
518,
29896,
29889,
29900,
29892,
29871,
29900,
29889,
29945,
29892,
29871,
29906,
29914,
29941,
29962,
13,
4706,
4974,
2582,
1839,
3757,
497,
2033,
1275,
518,
29896,
29914,
29941,
29892,
29871,
29896,
29914,
29941,
29892,
29871,
29906,
29914,
29941,
29962,
13,
4706,
4974,
2582,
1839,
29888,
29896,
2033,
1275,
518,
29896,
29914,
29906,
29892,
29871,
29906,
29914,
29945,
29892,
29871,
29906,
29914,
29941,
29962,
13,
4706,
4974,
2582,
1839,
29885,
21478,
2033,
1275,
29871,
29896,
29889,
29900,
13,
13,
4706,
2582,
29918,
29906,
353,
16716,
29918,
3757,
497,
29918,
29888,
29896,
29918,
271,
29918,
2039,
29898,
29887,
1025,
29918,
29891,
29892,
4450,
29918,
29891,
29892,
19435,
29918,
29891,
29892,
413,
29897,
13,
13,
4706,
4974,
2582,
29918,
29906,
1839,
17990,
2459,
2033,
1275,
518,
29896,
29889,
29900,
29892,
29871,
29896,
29889,
29900,
29892,
29871,
29906,
29914,
29941,
29962,
13,
4706,
4974,
2582,
29918,
29906,
1839,
3757,
497,
2033,
1275,
518,
29896,
29914,
29941,
29892,
29871,
29906,
29914,
29941,
29892,
29871,
29906,
29914,
29941,
29962,
13,
4706,
4974,
2582,
29918,
29906,
1839,
29888,
29896,
2033,
1275,
518,
29896,
29914,
29906,
29892,
29871,
29946,
29914,
29945,
29892,
29871,
29906,
29914,
29941,
29962,
13,
4706,
4974,
2582,
29918,
29906,
1839,
29885,
21478,
2033,
1275,
29871,
29896,
29889,
29900,
13,
13,
1678,
822,
1243,
29918,
12483,
482,
29918,
9902,
29898,
1311,
1125,
13,
4706,
364,
29896,
353,
426,
13,
9651,
525,
17990,
2459,
2396,
518,
29896,
29889,
29900,
29892,
29871,
29900,
29889,
29945,
29892,
29871,
29906,
29914,
29941,
1402,
13,
9651,
525,
3757,
497,
2396,
518,
29896,
29889,
29900,
29892,
29871,
29900,
29889,
29945,
29892,
29871,
29906,
29914,
29941,
1402,
13,
9651,
525,
29888,
29896,
2396,
518,
29896,
29889,
29900,
29892,
29871,
29900,
29889,
29945,
29892,
29871,
29906,
29914,
29941,
1402,
13,
9651,
525,
29885,
21478,
2396,
29871,
29896,
29889,
29900,
29892,
13,
4706,
500,
13,
13,
4706,
364,
29906,
353,
426,
13,
9651,
525,
17990,
2459,
2396,
518,
29941,
29889,
29900,
29892,
29871,
29896,
29889,
29900,
29892,
29871,
29946,
29914,
29941,
1402,
13,
9651,
525,
3757,
497,
2396,
518,
29941,
29889,
29900,
29892,
29871,
29896,
29889,
29900,
29892,
29871,
29946,
29914,
29941,
1402,
13,
9651,
525,
29888,
29896,
2396,
518,
29941,
29889,
29900,
29892,
29871,
29896,
29889,
29900,
29892,
29871,
29946,
29914,
29941,
1402,
13,
9651,
525,
29885,
21478,
2396,
29871,
29900,
29889,
29945,
29892,
13,
4706,
500,
13,
13,
4706,
4759,
4063,
29918,
9902,
353,
6588,
29918,
9902,
4197,
29878,
29896,
29892,
364,
29906,
2314,
13,
4706,
4974,
4759,
4063,
29918,
9902,
1839,
17990,
2459,
2033,
1275,
518,
29906,
29889,
29900,
29892,
29871,
29900,
29889,
29955,
29945,
29892,
29871,
29896,
29889,
29900,
29962,
13,
4706,
4974,
4759,
4063,
29918,
9902,
1839,
29885,
21478,
2033,
1275,
29871,
29900,
29889,
29955,
29945,
13,
308,
13,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
1678,
443,
27958,
29889,
3396,
580,
2
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.