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
|
---|---|---|---|---|---|
Download_test_data.py | yanhaidong1/TEmarker | 2 | 49490 | <reponame>yanhaidong1/TEmarker
#!/usr/bin/env python
##this script will download the testing data for step 1,2,3
##Also download the testing data for step 0
##BUILT-IN MODULES
import argparse
import sys
import os
import subprocess
from distutils.spawn import find_executable
##SCRIPTS
def get_parsed_args():
parser = argparse.ArgumentParser(description="Download testing data")
##############################
##parse the required arguments
parser.add_argument("-o", dest='output_dir', default="./", help="Output directory"
"Default: ./ ")
parser.add_argument('-s0', dest='s0_yes', help="If users initiate this argument, they will download testing data for step 0.")
parser.add_argument('-s123', dest='s123_yes', help="If users initiate this argument, they will download all the testing data for step123.")
##parse of parameters
args = parser.parse_args()
return args
##define a function to download testing data
def download_data_step123 (store_download_dir,name,google_drive_path):
cmd = "wget --load-cookies /tmp/cookies.txt \"https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate " + \
"\'https://docs.google.com/uc?export=download&id=" + google_drive_path + "\' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\\1\\n/p')&id=" + google_drive_path + "\" -O " + \
store_download_dir + "/" + name + ".zip " + "&& rm -rf /tmp/cookies.txt"
subprocess.call(cmd, shell=True)
cmd = 'unzip ' + store_download_dir + '/' + name + '.zip -d ' + store_download_dir + '/'
subprocess.call(cmd,shell=True)
cmd = 'rm ' + store_download_dir + '/' + name + '.zip'
subprocess.call(cmd,shell=True)
cmd = 'rm -rf ' + store_download_dir + '/__MACOSX' + ' ' + store_download_dir + '/' + name + '/Icon'
subprocess.call(cmd,shell=True)
def download_data_step0 (store_download_dir,name,google_drive_path):
cmd = "wget --load-cookies /tmp/cookies.txt \"https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate " + \
"\'https://docs.google.com/uc?export=download&id=" + google_drive_path + "\' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\\1\\n/p')&id=" + google_drive_path + "\" -O " + \
store_download_dir + "/" + name + ".tar.gz " + "&& rm -rf /tmp/cookies.txt"
subprocess.call(cmd, shell=True)
def main(argv=None):
if argv is None:
argv = sys.argv
args = get_parsed_args()
output_dir = args.output_dir
if not output_dir.endswith('/'):
output_dir = output_dir + '/'
else:
output_dir = output_dir
##if users want to download testing data for Step 1,2,3
if args.s123_yes is not None:
google_drive_path = '1N9hb1WFWdzrP0kQ4v_uxaH8VfeOjZS2n'
download_data_step123(output_dir,'Example_dir_step123',google_drive_path)
if args.s0_yes is not None:
google_drive_path = '1TwaDBGYQ2OoHIENUgGMfQF8eiO3T1aZV'
download_data_step0(output_dir, 'Example_dir_step0', google_drive_path)
if __name__ == "__main__":
main()
| [
1,
529,
276,
1112,
420,
29958,
10094,
2350,
333,
549,
29896,
29914,
4330,
22976,
13,
29937,
14708,
4855,
29914,
2109,
29914,
6272,
3017,
13,
13,
2277,
1366,
2471,
674,
5142,
278,
6724,
848,
363,
4331,
29871,
29896,
29892,
29906,
29892,
29941,
13,
2277,
17351,
5142,
278,
6724,
848,
363,
4331,
29871,
29900,
13,
13,
2277,
29933,
3120,
5850,
29899,
1177,
341,
13668,
29965,
17101,
13,
5215,
1852,
5510,
13,
5215,
10876,
13,
5215,
2897,
13,
5215,
1014,
5014,
13,
3166,
1320,
13239,
29889,
1028,
18101,
1053,
1284,
29918,
4258,
9246,
13,
13,
2277,
7187,
24290,
29903,
13,
1753,
679,
29918,
862,
8485,
29918,
5085,
7295,
13,
1678,
13812,
353,
1852,
5510,
29889,
15730,
11726,
29898,
8216,
543,
22954,
6724,
848,
1159,
13,
13,
1678,
835,
13383,
7346,
2277,
29937,
13,
1678,
444,
5510,
278,
3734,
6273,
13,
1678,
13812,
29889,
1202,
29918,
23516,
703,
29899,
29877,
613,
2731,
2433,
4905,
29918,
3972,
742,
2322,
543,
6904,
613,
1371,
543,
6466,
3884,
29908,
13,
462,
462,
462,
462,
1678,
376,
4592,
29901,
11431,
16521,
13,
13,
1678,
13812,
29889,
1202,
29918,
23516,
877,
29899,
29879,
29900,
742,
2731,
2433,
29879,
29900,
29918,
3582,
742,
1371,
543,
3644,
4160,
14511,
403,
445,
2980,
29892,
896,
674,
5142,
6724,
848,
363,
4331,
29871,
29900,
23157,
13,
13,
1678,
13812,
29889,
1202,
29918,
23516,
877,
29899,
29879,
29896,
29906,
29941,
742,
2731,
2433,
29879,
29896,
29906,
29941,
29918,
3582,
742,
1371,
543,
3644,
4160,
14511,
403,
445,
2980,
29892,
896,
674,
5142,
599,
278,
6724,
848,
363,
4331,
29896,
29906,
29941,
23157,
13,
13,
1678,
444,
5510,
310,
4128,
13,
1678,
6389,
353,
13812,
29889,
5510,
29918,
5085,
580,
13,
1678,
736,
6389,
13,
13,
13,
2277,
7922,
263,
740,
304,
5142,
6724,
848,
13,
1753,
5142,
29918,
1272,
29918,
10568,
29896,
29906,
29941,
313,
8899,
29918,
10382,
29918,
3972,
29892,
978,
29892,
3608,
29918,
21594,
29918,
2084,
1125,
13,
13,
1678,
9920,
353,
376,
29893,
657,
1192,
1359,
29899,
15108,
583,
847,
7050,
29914,
15108,
583,
29889,
3945,
13218,
991,
597,
2640,
29889,
3608,
29889,
510,
29914,
1682,
29973,
15843,
29922,
10382,
29987,
26897,
19758,
29893,
657,
1192,
339,
2035,
1192,
7620,
29899,
15108,
583,
847,
7050,
29914,
15108,
583,
29889,
3945,
1192,
17462,
29899,
7924,
29899,
15108,
583,
1192,
1217,
29899,
3198,
29899,
6327,
8021,
376,
718,
320,
13,
3986,
6634,
29915,
991,
597,
2640,
29889,
3608,
29889,
510,
29914,
1682,
29973,
15843,
29922,
10382,
29987,
333,
543,
718,
5386,
29918,
21594,
29918,
2084,
718,
6634,
29915,
448,
29949,
29899,
891,
7048,
448,
27539,
525,
29879,
29914,
5575,
26897,
29922,
4197,
29900,
29899,
29929,
29909,
29899,
29999,
29874,
29899,
29920,
29918,
10062,
467,
3877,
1966,
29896,
1966,
29876,
29914,
29886,
1495,
29987,
333,
543,
718,
5386,
29918,
21594,
29918,
2084,
718,
376,
5931,
448,
29949,
376,
718,
320,
13,
3986,
3787,
29918,
10382,
29918,
3972,
718,
5591,
29908,
718,
1024,
718,
11393,
7554,
376,
718,
376,
12774,
20241,
448,
9600,
847,
7050,
29914,
15108,
583,
29889,
3945,
29908,
13,
1678,
1014,
5014,
29889,
4804,
29898,
9006,
29892,
6473,
29922,
5574,
29897,
13,
13,
1678,
9920,
353,
525,
348,
7554,
525,
718,
29871,
3787,
29918,
10382,
29918,
3972,
718,
8207,
29915,
718,
1024,
718,
15300,
7554,
448,
29881,
525,
718,
3787,
29918,
10382,
29918,
3972,
718,
8207,
29915,
13,
1678,
1014,
5014,
29889,
4804,
29898,
9006,
29892,
15903,
29922,
5574,
29897,
13,
13,
1678,
9920,
353,
525,
1758,
525,
718,
3787,
29918,
10382,
29918,
3972,
718,
8207,
29915,
718,
1024,
718,
15300,
7554,
29915,
13,
1678,
1014,
5014,
29889,
4804,
29898,
9006,
29892,
15903,
29922,
5574,
29897,
13,
13,
1678,
9920,
353,
525,
1758,
448,
9600,
525,
718,
3787,
29918,
10382,
29918,
3972,
718,
8207,
1649,
1529,
3217,
29903,
29990,
29915,
718,
525,
525,
718,
3787,
29918,
10382,
29918,
3972,
718,
8207,
29915,
718,
1024,
718,
8207,
12492,
29915,
13,
1678,
1014,
5014,
29889,
4804,
29898,
9006,
29892,
15903,
29922,
5574,
29897,
13,
13,
1753,
5142,
29918,
1272,
29918,
10568,
29900,
313,
8899,
29918,
10382,
29918,
3972,
29892,
978,
29892,
3608,
29918,
21594,
29918,
2084,
1125,
13,
13,
1678,
9920,
353,
376,
29893,
657,
1192,
1359,
29899,
15108,
583,
847,
7050,
29914,
15108,
583,
29889,
3945,
13218,
991,
597,
2640,
29889,
3608,
29889,
510,
29914,
1682,
29973,
15843,
29922,
10382,
29987,
26897,
19758,
29893,
657,
1192,
339,
2035,
1192,
7620,
29899,
15108,
583,
847,
7050,
29914,
15108,
583,
29889,
3945,
1192,
17462,
29899,
7924,
29899,
15108,
583,
1192,
1217,
29899,
3198,
29899,
6327,
8021,
376,
718,
320,
13,
3986,
6634,
29915,
991,
597,
2640,
29889,
3608,
29889,
510,
29914,
1682,
29973,
15843,
29922,
10382,
29987,
333,
543,
718,
5386,
29918,
21594,
29918,
2084,
718,
6634,
29915,
448,
29949,
29899,
891,
7048,
448,
27539,
525,
29879,
29914,
5575,
26897,
29922,
4197,
29900,
29899,
29929,
29909,
29899,
29999,
29874,
29899,
29920,
29918,
10062,
467,
3877,
1966,
29896,
1966,
29876,
29914,
29886,
1495,
29987,
333,
543,
718,
5386,
29918,
21594,
29918,
2084,
718,
376,
5931,
448,
29949,
376,
718,
320,
13,
3986,
3787,
29918,
10382,
29918,
3972,
718,
5591,
29908,
718,
1024,
718,
11393,
12637,
29889,
18828,
376,
718,
376,
12774,
20241,
448,
9600,
847,
7050,
29914,
15108,
583,
29889,
3945,
29908,
13,
1678,
1014,
5014,
29889,
4804,
29898,
9006,
29892,
6473,
29922,
5574,
29897,
13,
13,
13,
1753,
1667,
29898,
19218,
29922,
8516,
1125,
13,
1678,
565,
1852,
29894,
338,
6213,
29901,
13,
4706,
1852,
29894,
353,
10876,
29889,
19218,
13,
1678,
6389,
353,
679,
29918,
862,
8485,
29918,
5085,
580,
13,
13,
1678,
1962,
29918,
3972,
353,
6389,
29889,
4905,
29918,
3972,
13,
1678,
565,
451,
1962,
29918,
3972,
29889,
1975,
2541,
11219,
29374,
13,
4706,
1962,
29918,
3972,
353,
1962,
29918,
3972,
718,
8207,
29915,
13,
1678,
1683,
29901,
13,
4706,
1962,
29918,
3972,
353,
1962,
29918,
3972,
13,
13,
1678,
444,
361,
4160,
864,
304,
5142,
6724,
848,
363,
16696,
29871,
29896,
29892,
29906,
29892,
29941,
13,
1678,
565,
6389,
29889,
29879,
29896,
29906,
29941,
29918,
3582,
338,
451,
6213,
29901,
13,
4706,
5386,
29918,
21594,
29918,
2084,
353,
525,
29896,
29940,
29929,
29882,
29890,
29896,
29686,
29956,
5601,
29878,
29925,
29900,
29895,
29984,
29946,
29894,
29918,
1314,
29874,
29950,
29947,
29963,
1725,
29949,
29926,
29999,
29903,
29906,
29876,
29915,
13,
4706,
5142,
29918,
1272,
29918,
10568,
29896,
29906,
29941,
29898,
4905,
29918,
3972,
5501,
14023,
29918,
3972,
29918,
10568,
29896,
29906,
29941,
742,
3608,
29918,
21594,
29918,
2084,
29897,
13,
13,
1678,
565,
6389,
29889,
29879,
29900,
29918,
3582,
338,
451,
6213,
29901,
13,
4706,
5386,
29918,
21594,
29918,
2084,
353,
525,
29896,
29911,
2766,
4051,
29954,
29979,
29984,
29906,
29949,
29877,
17628,
1430,
29965,
29887,
21576,
29888,
29984,
29943,
29947,
10096,
29949,
29941,
29911,
29896,
29874,
29999,
29963,
29915,
13,
4706,
5142,
29918,
1272,
29918,
10568,
29900,
29898,
4905,
29918,
3972,
29892,
525,
14023,
29918,
3972,
29918,
10568,
29900,
742,
5386,
29918,
21594,
29918,
2084,
29897,
13,
13,
13,
361,
4770,
978,
1649,
1275,
376,
1649,
3396,
1649,
1115,
13,
1678,
1667,
580,
13,
13,
13,
13,
2
] |
trueteam101.py | VinterMute/TrueTeam_clusterer | 1 | 1608915 | <filename>trueteam101.py
#!/home/alex/anaconda3/envs/comptech2020/bin/python3
from application import app
if __name__ == '__main__':
app.run(host='0.0.0.0', port=80)
| [
1,
529,
9507,
29958,
509,
29884,
2650,
314,
29896,
29900,
29896,
29889,
2272,
13,
29937,
14708,
5184,
29914,
744,
29916,
29914,
1648,
18050,
29941,
29914,
264,
4270,
29914,
2388,
11345,
29906,
29900,
29906,
29900,
29914,
2109,
29914,
4691,
29941,
13,
3166,
2280,
1053,
623,
13,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
1678,
623,
29889,
3389,
29898,
3069,
2433,
29900,
29889,
29900,
29889,
29900,
29889,
29900,
742,
2011,
29922,
29947,
29900,
29897,
13,
2
] |
FileIO/writing.py | zahraaliaghazadeh/python | 0 | 84067 | <reponame>zahraaliaghazadeh/python<filename>FileIO/writing.py
# cities = ["Adelaide", "Alice Springs", "Darwin", "Melbourne", "Sydney"]
#
# with open("cities.txt", 'w') as city_file:
# for city in cities:
# print(city, file=city_file)
# can add flush=True to line above
# cities = []
#
# with open("cities.txt", 'r') as city_file:
# for city in city_file:
# cities.append(city.strip('\n'))
# #
# print(cities)
# for city in cities:
# print(city)
# imelda = "<NAME>", "<NAME>", "2011", (
# (1, "Pulling the Rug"), (2,"Psycho"), (3, "Mayhem"), (4, "Kentish Town Waltz"))
#
# with open("imelda3.txt", 'w') as imelda_file:
# print(imelda, file=imelda_file)
with open("imelda3.txt", 'r') as imelda_file:
contents = imelda_file.readline()
imelda = eval(contents)
#
print(imelda)
title, artist, year, tracks = imelda
print(title)
print(artist)
print(year)
| [
1,
529,
276,
1112,
420,
29958,
29920,
801,
336,
2606,
21705,
834,
1943,
29882,
29914,
4691,
29966,
9507,
29958,
2283,
5971,
29914,
16554,
29889,
2272,
13,
29937,
14368,
353,
6796,
3253,
3100,
680,
613,
376,
29909,
5897,
14314,
886,
613,
376,
29928,
279,
5080,
613,
376,
29924,
295,
17418,
613,
376,
29903,
2941,
3801,
3108,
13,
29937,
13,
29937,
411,
1722,
703,
29883,
1907,
29889,
3945,
613,
525,
29893,
1495,
408,
4272,
29918,
1445,
29901,
13,
29937,
268,
363,
4272,
297,
14368,
29901,
13,
29937,
308,
1596,
29898,
12690,
29892,
934,
29922,
12690,
29918,
1445,
29897,
13,
29937,
508,
788,
28371,
29922,
5574,
304,
1196,
2038,
13,
13,
29937,
14368,
353,
5159,
13,
29937,
13,
29937,
411,
1722,
703,
29883,
1907,
29889,
3945,
613,
525,
29878,
1495,
408,
4272,
29918,
1445,
29901,
13,
29937,
268,
363,
4272,
297,
4272,
29918,
1445,
29901,
13,
29937,
308,
14368,
29889,
4397,
29898,
12690,
29889,
17010,
28909,
29876,
8785,
13,
29937,
396,
13,
29937,
1596,
29898,
29883,
1907,
29897,
13,
29937,
363,
4272,
297,
14368,
29901,
13,
29937,
268,
1596,
29898,
12690,
29897,
13,
13,
29937,
527,
295,
1388,
353,
9872,
5813,
28341,
9872,
5813,
28341,
376,
29906,
29900,
29896,
29896,
613,
313,
13,
29937,
268,
313,
29896,
29892,
376,
29925,
913,
292,
278,
390,
688,
4968,
313,
29906,
1699,
29925,
29879,
29891,
1859,
4968,
313,
29941,
29892,
376,
12703,
8008,
4968,
313,
29946,
29892,
376,
29968,
296,
728,
8421,
399,
1997,
29920,
5783,
13,
29937,
13,
29937,
411,
1722,
703,
326,
295,
1388,
29941,
29889,
3945,
613,
525,
29893,
1495,
408,
527,
295,
1388,
29918,
1445,
29901,
13,
29937,
268,
1596,
29898,
326,
295,
1388,
29892,
934,
29922,
326,
295,
1388,
29918,
1445,
29897,
13,
13,
2541,
1722,
703,
326,
295,
1388,
29941,
29889,
3945,
613,
525,
29878,
1495,
408,
527,
295,
1388,
29918,
1445,
29901,
13,
1678,
8118,
353,
527,
295,
1388,
29918,
1445,
29889,
949,
1220,
580,
13,
13,
326,
295,
1388,
353,
19745,
29898,
10853,
29897,
13,
29937,
13,
2158,
29898,
326,
295,
1388,
29897,
13,
3257,
29892,
7664,
29892,
1629,
29892,
16257,
353,
527,
295,
1388,
13,
2158,
29898,
3257,
29897,
13,
2158,
29898,
442,
391,
29897,
13,
2158,
29898,
6360,
29897,
13,
2
] |
spark/example/count.py | aryahadii/adb | 0 | 106142 | <filename>spark/example/count.py
import pyspark
print("*****", pyspark.SparkContext().parallelize(range(0, 10)).count(), "*****")
| [
1,
529,
9507,
29958,
12597,
29914,
4773,
29914,
2798,
29889,
2272,
13,
5215,
282,
952,
6378,
13,
13,
2158,
703,
2328,
29930,
613,
282,
952,
6378,
29889,
29903,
6378,
2677,
2141,
23482,
675,
29898,
3881,
29898,
29900,
29892,
29871,
29896,
29900,
8106,
2798,
3285,
376,
2328,
29930,
1159,
13,
2
] |
backend/StudentVillage/migrations/0003_studentvillage_templatewashlist.py | henrikhorluck/tdt4140-washlists | 0 | 79160 | # Generated by Django 3.0.3 on 2020-02-27 22:21
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("Washlist", "0002_auto_20200227_2219"),
("StudentVillage", "0002_auto_20200227_2219"),
]
operations = [
migrations.AddField(
model_name="studentvillage",
name="templateWashList",
field=models.ForeignKey(
blank=True,
null=True,
on_delete=django.db.models.deletion.SET_NULL,
to="Washlist.TemplateWashList",
),
)
]
| [
1,
396,
3251,
630,
491,
15337,
29871,
29941,
29889,
29900,
29889,
29941,
373,
29871,
29906,
29900,
29906,
29900,
29899,
29900,
29906,
29899,
29906,
29955,
29871,
29906,
29906,
29901,
29906,
29896,
13,
13,
5215,
9557,
29889,
2585,
29889,
9794,
29889,
311,
1026,
291,
13,
3166,
9557,
29889,
2585,
1053,
9725,
800,
29892,
4733,
13,
13,
13,
1990,
341,
16783,
29898,
26983,
800,
29889,
29924,
16783,
1125,
13,
13,
1678,
9962,
353,
518,
13,
4706,
4852,
29956,
1161,
1761,
613,
376,
29900,
29900,
29900,
29906,
29918,
6921,
29918,
29906,
29900,
29906,
29900,
29900,
29906,
29906,
29955,
29918,
29906,
29906,
29896,
29929,
4968,
13,
4706,
4852,
20791,
29963,
453,
482,
613,
376,
29900,
29900,
29900,
29906,
29918,
6921,
29918,
29906,
29900,
29906,
29900,
29900,
29906,
29906,
29955,
29918,
29906,
29906,
29896,
29929,
4968,
13,
1678,
4514,
13,
13,
1678,
6931,
353,
518,
13,
4706,
9725,
800,
29889,
2528,
3073,
29898,
13,
9651,
1904,
29918,
978,
543,
18945,
29894,
453,
482,
613,
13,
9651,
1024,
543,
6886,
29956,
1161,
1293,
613,
13,
9651,
1746,
29922,
9794,
29889,
27755,
2558,
29898,
13,
18884,
9654,
29922,
5574,
29892,
13,
18884,
1870,
29922,
5574,
29892,
13,
18884,
373,
29918,
8143,
29922,
14095,
29889,
2585,
29889,
9794,
29889,
311,
1026,
291,
29889,
10490,
29918,
10074,
29892,
13,
18884,
304,
543,
29956,
1161,
1761,
29889,
6733,
29956,
1161,
1293,
613,
13,
9651,
10353,
13,
4706,
1723,
13,
1678,
4514,
13,
2
] |
docker/user_settings.py | puckk/Wooey | 0 | 115435 | import os
from .wooey_settings import *
# Whether to allow anonymous job submissions, set False to disallow 'guest' job submissions
WOOEY_ALLOW_ANONYMOUS = True
## Celery related options
INSTALLED_APPS += (
'django_celery_results',
)
WOOEY_CELERY = True
CELERY_RESULT_BACKEND = 'django-db'
CELERY_BROKER_URL = 'amqp://guest@rabbit'
CELERY_TRACK_STARTED = True
CELERY_SEND_EVENTS = True
CELERY_IMPORTS = ('wooey.tasks',)
CELERY_TASK_SERIALIZER = 'json'
CELERY_TASK_ACKS_LATE = True
# the directory for uploads (physical directory)
MEDIA_ROOT = os.path.join(BASE_DIR, 'user_uploads')
# the url mapping
MEDIA_URL = '/uploads/'
# the directory to store our webpage assets (images, javascript, etc.)
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
# the url mapping
STATIC_URL = '/static/'
## Here is a setup example for production servers
## A postgres database -- for multiple users a sqlite based database is asking for trouble
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
# for production environments, these should be stored as environment variables
# I also recommend the django-heroku-postgresify package for a super simple setup
'NAME': os.environ.get('DATABASE_NAME', 'wooey'),
'USER': os.environ.get('DATABASE_USER', 'wooey'),
'PASSWORD': os.environ.get('DATABASE_PASSWORD', '<PASSWORD>'),
'HOST': os.environ.get('DATABASE_URL', 'localhost'),
'PORT': os.environ.get('DATABASE_PORT', '5432')
}
}
ALLOWED_HOSTS = (
'localhost',
'127.0.0.1',
'2b9e22f4.ngrok.io'
)
AUTHENTICATION_BACKEND = 'django.contrib.auth.backends.ModelBackend'
| [
1,
1053,
2897,
13,
3166,
869,
827,
29877,
1032,
29918,
11027,
1053,
334,
13,
13,
29937,
26460,
304,
2758,
21560,
4982,
11834,
6847,
29892,
731,
7700,
304,
766,
9536,
525,
2543,
342,
29915,
4982,
11834,
6847,
13,
29956,
29949,
29949,
13282,
29918,
1964,
27998,
29918,
2190,
1164,
29979,
6720,
3308,
353,
5852,
13,
13,
2277,
14227,
708,
4475,
3987,
13,
25580,
1964,
20566,
29918,
3301,
7024,
4619,
313,
13,
1678,
525,
14095,
29918,
2242,
708,
29918,
9902,
742,
13,
29897,
13,
13,
29956,
29949,
29949,
13282,
29918,
4741,
29931,
24422,
353,
5852,
13,
4741,
29931,
24422,
29918,
15989,
8647,
29918,
29933,
11375,
11794,
353,
525,
14095,
29899,
2585,
29915,
13,
4741,
29931,
24422,
29918,
29933,
1672,
29968,
1001,
29918,
4219,
353,
525,
314,
29939,
29886,
597,
2543,
342,
29992,
336,
1327,
277,
29915,
13,
4741,
29931,
24422,
29918,
5659,
11375,
29918,
25826,
3352,
353,
5852,
13,
4741,
29931,
24422,
29918,
29903,
11794,
29918,
22240,
3919,
29903,
353,
5852,
13,
4741,
29931,
24422,
29918,
29902,
3580,
8476,
29903,
353,
6702,
827,
29877,
1032,
29889,
20673,
742,
29897,
13,
4741,
29931,
24422,
29918,
29911,
3289,
29968,
29918,
6304,
25758,
26664,
1001,
353,
525,
3126,
29915,
13,
4741,
29931,
24422,
29918,
29911,
3289,
29968,
29918,
11375,
29903,
29918,
29931,
3040,
353,
5852,
13,
13,
29937,
278,
3884,
363,
6441,
29879,
313,
14017,
936,
3884,
29897,
13,
2303,
4571,
29909,
29918,
21289,
353,
2897,
29889,
2084,
29889,
7122,
29898,
25416,
29918,
9464,
29892,
525,
1792,
29918,
9009,
29879,
1495,
13,
29937,
278,
3142,
10417,
13,
2303,
4571,
29909,
29918,
4219,
353,
8207,
9009,
29879,
22208,
13,
13,
29937,
278,
3884,
304,
3787,
1749,
24499,
21608,
313,
8346,
29892,
3513,
29892,
2992,
1846,
13,
17816,
2965,
29918,
21289,
353,
2897,
29889,
2084,
29889,
7122,
29898,
25416,
29918,
9464,
29892,
525,
7959,
1495,
13,
29937,
278,
3142,
10417,
13,
17816,
2965,
29918,
4219,
353,
8207,
7959,
22208,
13,
2277,
2266,
338,
263,
6230,
1342,
363,
5802,
12424,
13,
13,
2277,
319,
1400,
7201,
2566,
1192,
363,
2999,
4160,
263,
21120,
2729,
2566,
338,
6721,
363,
7458,
13,
13,
25832,
27982,
29903,
353,
426,
13,
1678,
525,
4381,
2396,
426,
13,
4706,
525,
1430,
29954,
8895,
2396,
525,
14095,
29889,
2585,
29889,
1627,
1975,
29889,
29272,
29918,
567,
29891,
9708,
29887,
29906,
742,
13,
4706,
396,
363,
5802,
23136,
29892,
1438,
881,
367,
6087,
408,
5177,
3651,
13,
4706,
396,
306,
884,
6907,
278,
9557,
29899,
2276,
9154,
29899,
2490,
7201,
1598,
3577,
363,
263,
2428,
2560,
6230,
13,
4706,
525,
5813,
2396,
2897,
29889,
21813,
29889,
657,
877,
25832,
27982,
29918,
5813,
742,
525,
827,
29877,
1032,
5477,
13,
4706,
525,
11889,
2396,
2897,
29889,
21813,
29889,
657,
877,
25832,
27982,
29918,
11889,
742,
525,
827,
29877,
1032,
5477,
13,
4706,
525,
25711,
17013,
2396,
2897,
29889,
21813,
29889,
657,
877,
25832,
27982,
29918,
25711,
17013,
742,
12801,
25711,
17013,
29958,
5477,
13,
4706,
525,
20832,
2396,
2897,
29889,
21813,
29889,
657,
877,
25832,
27982,
29918,
4219,
742,
525,
7640,
5477,
13,
4706,
525,
15082,
2396,
2897,
29889,
21813,
29889,
657,
877,
25832,
27982,
29918,
15082,
742,
525,
29945,
29946,
29941,
29906,
1495,
13,
1678,
500,
13,
29913,
13,
13,
1964,
27998,
3352,
29918,
20832,
29903,
353,
313,
13,
1678,
525,
7640,
742,
13,
1678,
525,
29896,
29906,
29955,
29889,
29900,
29889,
29900,
29889,
29896,
742,
13,
1678,
525,
29906,
29890,
29929,
29872,
29906,
29906,
29888,
29946,
29889,
865,
16475,
29889,
601,
29915,
13,
29897,
13,
13,
20656,
29950,
3919,
28541,
29918,
29933,
11375,
11794,
353,
525,
14095,
29889,
21570,
29889,
5150,
29889,
1627,
1975,
29889,
3195,
5841,
355,
29915,
13,
2
] |
DICOMOFFIS/admin.py | pfagomez/DICOMOFFIS | 0 | 150123 | <filename>DICOMOFFIS/admin.py<gh_stars>0
from django.contrib import admin
from .models import eintrag
# Register your models here.
admin.site.register(eintrag) | [
1,
529,
9507,
29958,
29928,
2965,
6488,
27681,
3235,
29914,
6406,
29889,
2272,
29966,
12443,
29918,
303,
1503,
29958,
29900,
13,
3166,
9557,
29889,
21570,
1053,
4113,
13,
3166,
869,
9794,
1053,
321,
27075,
13,
13,
29937,
12577,
596,
4733,
1244,
29889,
13,
6406,
29889,
2746,
29889,
9573,
29898,
29872,
27075,
29897,
2
] |
gamestonk_terminal/forex/oanda/oanda_api.py | minhhoang1023/GamestonkTerminal | 1 | 136150 | """Oanda context API."""
import os
from gamestonk_terminal.helper_classes import ModelsNamespace as _models
# flake8: noqa
# pylint: disable=unused-import
# Context menus
from gamestonk_terminal.forex.oanda.oanda_view import get_fx_price as price
from gamestonk_terminal.forex.oanda.oanda_view import get_account_summary as summary
from gamestonk_terminal.forex.oanda.oanda_view import get_order_book as orderbook
from gamestonk_terminal.forex.oanda.oanda_view import get_position_book as positionbook
# Renamed due to python reserved word
from gamestonk_terminal.forex.oanda.oanda_view import list_orders as listorder
from gamestonk_terminal.forex.oanda.oanda_view import create_order as order
from gamestonk_terminal.forex.oanda.oanda_view import cancel_pending_order as cancel
from gamestonk_terminal.forex.oanda.oanda_view import get_open_positions as positions
from gamestonk_terminal.forex.oanda.oanda_view import get_pending_orders as pending
from gamestonk_terminal.forex.oanda.oanda_view import get_open_trades as trades
from gamestonk_terminal.forex.oanda.oanda_view import close_trade as closetrade
from gamestonk_terminal.forex.oanda.oanda_view import show_candles as candles
from gamestonk_terminal.forex.oanda.oanda_view import calendar
# Models
models = _models(os.path.abspath(os.path.dirname(__file__)))
| [
1,
9995,
29949,
5863,
3030,
3450,
1213,
15945,
13,
5215,
2897,
13,
3166,
24988,
21496,
29895,
29918,
8489,
979,
29889,
20907,
29918,
13203,
1053,
3382,
1379,
23335,
408,
903,
9794,
13,
13,
29937,
17422,
446,
29947,
29901,
694,
25621,
13,
29937,
282,
2904,
524,
29901,
11262,
29922,
348,
3880,
29899,
5215,
13,
13,
29937,
15228,
1757,
375,
13,
13,
3166,
24988,
21496,
29895,
29918,
8489,
979,
29889,
1079,
29916,
29889,
29877,
5863,
29889,
29877,
5863,
29918,
1493,
1053,
679,
29918,
11093,
29918,
9175,
408,
8666,
13,
3166,
24988,
21496,
29895,
29918,
8489,
979,
29889,
1079,
29916,
29889,
29877,
5863,
29889,
29877,
5863,
29918,
1493,
1053,
679,
29918,
10149,
29918,
7727,
408,
15837,
13,
3166,
24988,
21496,
29895,
29918,
8489,
979,
29889,
1079,
29916,
29889,
29877,
5863,
29889,
29877,
5863,
29918,
1493,
1053,
679,
29918,
2098,
29918,
2909,
408,
1797,
2909,
13,
3166,
24988,
21496,
29895,
29918,
8489,
979,
29889,
1079,
29916,
29889,
29877,
5863,
29889,
29877,
5863,
29918,
1493,
1053,
679,
29918,
3283,
29918,
2909,
408,
2602,
2909,
13,
13,
29937,
7493,
2795,
2861,
304,
3017,
21676,
1734,
13,
3166,
24988,
21496,
29895,
29918,
8489,
979,
29889,
1079,
29916,
29889,
29877,
5863,
29889,
29877,
5863,
29918,
1493,
1053,
1051,
29918,
20488,
408,
1051,
2098,
13,
3166,
24988,
21496,
29895,
29918,
8489,
979,
29889,
1079,
29916,
29889,
29877,
5863,
29889,
29877,
5863,
29918,
1493,
1053,
1653,
29918,
2098,
408,
1797,
13,
3166,
24988,
21496,
29895,
29918,
8489,
979,
29889,
1079,
29916,
29889,
29877,
5863,
29889,
29877,
5863,
29918,
1493,
1053,
12611,
29918,
29886,
2548,
29918,
2098,
408,
12611,
13,
3166,
24988,
21496,
29895,
29918,
8489,
979,
29889,
1079,
29916,
29889,
29877,
5863,
29889,
29877,
5863,
29918,
1493,
1053,
679,
29918,
3150,
29918,
1066,
2187,
408,
11909,
13,
3166,
24988,
21496,
29895,
29918,
8489,
979,
29889,
1079,
29916,
29889,
29877,
5863,
29889,
29877,
5863,
29918,
1493,
1053,
679,
29918,
29886,
2548,
29918,
20488,
408,
28235,
13,
3166,
24988,
21496,
29895,
29918,
8489,
979,
29889,
1079,
29916,
29889,
29877,
5863,
29889,
29877,
5863,
29918,
1493,
1053,
679,
29918,
3150,
29918,
509,
3076,
408,
534,
3076,
13,
3166,
24988,
21496,
29895,
29918,
8489,
979,
29889,
1079,
29916,
29889,
29877,
5863,
29889,
29877,
5863,
29918,
1493,
1053,
3802,
29918,
3018,
311,
408,
4694,
300,
15464,
13,
3166,
24988,
21496,
29895,
29918,
8489,
979,
29889,
1079,
29916,
29889,
29877,
5863,
29889,
29877,
5863,
29918,
1493,
1053,
1510,
29918,
29883,
392,
793,
408,
23794,
793,
13,
3166,
24988,
21496,
29895,
29918,
8489,
979,
29889,
1079,
29916,
29889,
29877,
5863,
29889,
29877,
5863,
29918,
1493,
1053,
17684,
13,
13,
29937,
3382,
1379,
13,
9794,
353,
903,
9794,
29898,
359,
29889,
2084,
29889,
370,
1028,
493,
29898,
359,
29889,
2084,
29889,
25721,
22168,
1445,
1649,
4961,
13,
2
] |
tkinter/withTtk/showicon.py | terasakisatoshi/pythonCodes | 0 | 1607755 | import tkinter as tk
from tkinter import ttk
from PIL import ImageTk, Image
def main():
root=tk.Tk()
root.title('LabelwithIcon')
framettk=ttk.Frame(root)
framettk.grid()
icon = ImageTk.PhotoImage(Image.open('pen.png'))
pen_label=ttk.Label(
framettk,
image=icon)
pen_label.grid(row=1,column=1)
s=tk.StringVar()
s.set("Going Back To School")
right_label=ttk.Label(
framettk,
textvariable=s,
width=30,
anchor=tk.W,
padding=(30,10))
right_label.grid(row=1,column=2)
root.mainloop()
if __name__ == '__main__':
main() | [
1,
1053,
18883,
1639,
408,
18883,
29871,
13,
3166,
18883,
1639,
1053,
260,
11178,
29871,
13,
3166,
349,
6227,
1053,
7084,
29911,
29895,
29892,
7084,
13,
13,
1753,
1667,
7295,
13,
1678,
3876,
29922,
11178,
29889,
29911,
29895,
580,
13,
1678,
3876,
29889,
3257,
877,
4775,
2541,
12492,
1495,
13,
1678,
22767,
1803,
29895,
29922,
698,
29895,
29889,
4308,
29898,
4632,
29897,
13,
1678,
22767,
1803,
29895,
29889,
7720,
580,
13,
1678,
9849,
353,
7084,
29911,
29895,
29889,
25971,
2940,
29898,
2940,
29889,
3150,
877,
2238,
29889,
2732,
8785,
13,
1678,
6584,
29918,
1643,
29922,
698,
29895,
29889,
4775,
29898,
13,
4706,
22767,
1803,
29895,
29892,
13,
4706,
1967,
29922,
4144,
29897,
13,
1678,
6584,
29918,
1643,
29889,
7720,
29898,
798,
29922,
29896,
29892,
4914,
29922,
29896,
29897,
13,
13,
1678,
269,
29922,
11178,
29889,
1231,
9037,
580,
13,
1678,
269,
29889,
842,
703,
8120,
292,
7437,
1763,
4523,
1159,
13,
13,
1678,
1492,
29918,
1643,
29922,
698,
29895,
29889,
4775,
29898,
13,
4706,
22767,
1803,
29895,
29892,
13,
4706,
1426,
11918,
29922,
29879,
29892,
13,
4706,
2920,
29922,
29941,
29900,
29892,
13,
4706,
17360,
29922,
11178,
29889,
29956,
29892,
13,
4706,
7164,
7607,
29941,
29900,
29892,
29896,
29900,
876,
13,
1678,
1492,
29918,
1643,
29889,
7720,
29898,
798,
29922,
29896,
29892,
4914,
29922,
29906,
29897,
13,
13,
1678,
3876,
29889,
3396,
7888,
580,
13,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
1678,
1667,
580,
2
] |
init.py | cbbing/stock | 31 | 1602407 | #coding:utf-8
__author__ = 'cbb'
import platform, os
from sqlalchemy import create_engine
from util.MyLogger import Logger
#DB_WAY:数据存储方式 'csv' # or 'mysql' or 'redis' or 'sqlite'
DB_WAY = 'mysql'
DB_USER = 'root'
DB_PWD = '<PASSWORD>' # or '<PASSWORD>' in win7
DB_NAME = 'stock'
DownloadDir = os.path.pardir + '/stockdata/' # os.path.pardir: 上级目录
# mysql Host
# if platform.system() == 'Windows':
# host_mysql = 'localhost'
# else:
# host_mysql = '192.168.3.11'
host_mysql = '127.0.0.1'
user_mysql = 'admin'
pwd_mysql = '<PASSWORD>'
db_name_mysql = 'wealth_db'
engine = create_engine('mysql+mysqldb://%s:%s@%s/%s' % (user_mysql, pwd_mysql, host_mysql, db_name_mysql), connect_args={'charset':'utf8'})
# 短均线, 长均线
AVR_SHORT = 12
AVR_LONG = 40
#买卖标记
SIGNAL_BUY = 1 #买
SIGNAL_SALE = -1 #卖
SIGNAL_DEFAULT = 0
#阈值
Threshold_Buy_Count = 3
Threshold_Sale_Count = 2
#日志设置
from util.MyLogger import Logger
#infoLogger = Logger(logname='../Log/info.log', logger='I')
#errorLogger = Logger(logname='../Log/error.log', logger='E')
#配置文件 位置
config_file_path = '../config.ini' | [
1,
396,
29883,
3689,
29901,
9420,
29899,
29947,
13,
1649,
8921,
1649,
353,
525,
29883,
1327,
29915,
13,
13,
5215,
7481,
29892,
2897,
13,
3166,
4576,
284,
305,
6764,
1053,
1653,
29918,
10599,
13,
3166,
3667,
29889,
3421,
16363,
1053,
28468,
13,
13,
29937,
4051,
29918,
12982,
29979,
29901,
30354,
30763,
30946,
232,
133,
171,
30525,
30607,
525,
7638,
29915,
29871,
396,
470,
525,
7938,
29915,
470,
525,
1127,
275,
29915,
470,
525,
22793,
29915,
13,
4051,
29918,
12982,
29979,
353,
525,
7938,
29915,
13,
4051,
29918,
11889,
353,
525,
4632,
29915,
13,
4051,
29918,
29925,
24668,
353,
12801,
25711,
17013,
16299,
396,
470,
12801,
25711,
17013,
16299,
297,
5401,
29955,
13,
4051,
29918,
5813,
353,
525,
17712,
29915,
13,
22954,
9170,
353,
2897,
29889,
2084,
29889,
29886,
538,
381,
718,
8207,
17712,
1272,
22208,
396,
2897,
29889,
2084,
29889,
29886,
538,
381,
29901,
29871,
30429,
234,
189,
170,
30895,
31283,
13,
13,
29937,
5749,
16956,
13,
29937,
565,
7481,
29889,
5205,
580,
1275,
525,
7685,
2396,
13,
29937,
268,
3495,
29918,
7938,
353,
525,
7640,
29915,
13,
29937,
1683,
29901,
13,
29937,
268,
3495,
29918,
7938,
353,
525,
29896,
29929,
29906,
29889,
29896,
29953,
29947,
29889,
29941,
29889,
29896,
29896,
29915,
13,
3069,
29918,
7938,
353,
525,
29896,
29906,
29955,
29889,
29900,
29889,
29900,
29889,
29896,
29915,
13,
1792,
29918,
7938,
353,
525,
6406,
29915,
13,
29886,
9970,
29918,
7938,
353,
12801,
25711,
17013,
16299,
13,
2585,
29918,
978,
29918,
7938,
353,
525,
24447,
29918,
2585,
29915,
13,
13,
10599,
353,
1653,
29918,
10599,
877,
7938,
29974,
19268,
430,
29890,
597,
29995,
29879,
16664,
29879,
29992,
29995,
29879,
22584,
29879,
29915,
1273,
313,
1792,
29918,
7938,
29892,
282,
9970,
29918,
7938,
29892,
3495,
29918,
7938,
29892,
4833,
29918,
978,
29918,
7938,
511,
4511,
29918,
5085,
3790,
29915,
3090,
842,
22099,
9420,
29947,
29915,
1800,
13,
13,
13,
29937,
29871,
234,
162,
176,
232,
160,
138,
31532,
30214,
29871,
31143,
232,
160,
138,
31532,
13,
7520,
29934,
29918,
7068,
8476,
353,
29871,
29896,
29906,
13,
7520,
29934,
29918,
29931,
20614,
353,
29871,
29946,
29900,
13,
13,
29937,
231,
188,
179,
232,
144,
153,
31062,
31410,
13,
5425,
20728,
1964,
29918,
7838,
29979,
353,
29871,
29896,
29871,
396,
231,
188,
179,
13,
5425,
20728,
1964,
29918,
8132,
1307,
353,
448,
29896,
396,
232,
144,
153,
13,
5425,
20728,
1964,
29918,
23397,
353,
29871,
29900,
13,
13,
29937,
236,
155,
139,
30959,
13,
1349,
12268,
29918,
3727,
29891,
29918,
3981,
353,
29871,
29941,
13,
1349,
12268,
29918,
29903,
744,
29918,
3981,
353,
29871,
29906,
13,
13,
29937,
30325,
31096,
30872,
30669,
13,
3166,
3667,
29889,
3421,
16363,
1053,
28468,
13,
29937,
3888,
16363,
353,
28468,
29898,
1188,
978,
2433,
6995,
3403,
29914,
3888,
29889,
1188,
742,
17927,
2433,
29902,
1495,
13,
29937,
2704,
16363,
353,
28468,
29898,
1188,
978,
2433,
6995,
3403,
29914,
2704,
29889,
1188,
742,
17927,
2433,
29923,
1495,
13,
13,
29937,
31361,
30669,
30333,
30631,
29871,
30956,
30669,
13,
2917,
29918,
1445,
29918,
2084,
353,
525,
6995,
2917,
29889,
2172,
29915,
2
] |
pint_wrapper/form.py | s-avni/dimensional-analysis | 0 | 115563 | from flask_wtf import FlaskForm
from wtforms import StringField, SubmitField, FieldList, FormField
from wtforms.validators import DataRequired
MIN_VALIDATORS = 8
class VariablesForm(FlaskForm):
var_name = StringField('Name', validators=[DataRequired()])
var_dim = StringField('Dimension', validators=[DataRequired()])
class DimensionlessForm(FlaskForm):
vars = FieldList(FormField(VariablesForm), min_entries=MIN_VALIDATORS+1)
submit = SubmitField('Find combination!')
class DimensionForm(FlaskForm):
desired_dim = StringField('Desired dimension', validators=[DataRequired()])
vars = FieldList(FormField(VariablesForm), min_entries=MIN_VALIDATORS)
submit = SubmitField('Find combination!') | [
1,
515,
29784,
29918,
29893,
13264,
1053,
2379,
1278,
2500,
13,
3166,
281,
29873,
9514,
1053,
1714,
3073,
29892,
3323,
2415,
3073,
29892,
8989,
1293,
29892,
3812,
3073,
13,
3166,
281,
29873,
9514,
29889,
3084,
4097,
1053,
3630,
19347,
13,
13,
16173,
29918,
26707,
1299,
24125,
353,
29871,
29947,
13,
13,
13,
1990,
9586,
1849,
2500,
29898,
8754,
1278,
2500,
1125,
13,
1678,
722,
29918,
978,
353,
1714,
3073,
877,
1170,
742,
2854,
4097,
11759,
1469,
19347,
580,
2314,
13,
1678,
722,
29918,
6229,
353,
1714,
3073,
877,
16142,
2673,
742,
2854,
4097,
11759,
1469,
19347,
580,
2314,
13,
13,
13,
1990,
4792,
2673,
2222,
2500,
29898,
8754,
1278,
2500,
1125,
13,
1678,
24987,
353,
8989,
1293,
29898,
2500,
3073,
29898,
10444,
1849,
2500,
511,
1375,
29918,
26586,
29922,
16173,
29918,
26707,
1299,
24125,
29974,
29896,
29897,
13,
1678,
9752,
353,
3323,
2415,
3073,
877,
12542,
10296,
29991,
1495,
13,
13,
13,
1990,
4792,
2673,
2500,
29898,
8754,
1278,
2500,
1125,
13,
1678,
7429,
29918,
6229,
353,
1714,
3073,
877,
4002,
2859,
9927,
742,
2854,
4097,
11759,
1469,
19347,
580,
2314,
13,
1678,
24987,
353,
8989,
1293,
29898,
2500,
3073,
29898,
10444,
1849,
2500,
511,
1375,
29918,
26586,
29922,
16173,
29918,
26707,
1299,
24125,
29897,
13,
1678,
9752,
353,
3323,
2415,
3073,
877,
12542,
10296,
29991,
1495,
2
] |
display/__init__.py | dysfunctionals/soton-analytica-display | 1 | 110622 | from .text import Text | [
1,
515,
869,
726,
1053,
3992,
2
] |
b3files/cotacoeshistoricas.py | gbonesso/b3files | 0 | 1611064 | import numpy as np # linear algebra
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)
from datetime import datetime
import os
import zipfile
import logging
# Here we'll specify the columns width
__widths = [2, 8, 2, 12, 3, 12,
10, 3, 4, 13, 13, 13, 13, 13, 13, 13, 5, 18,
18, 13, 1, 8, 7, 13, 12, 3]
# and the columns names, based in the original specification
__column_names = [
'TIPREG', # Tipo de Registro - Fixo = "01"
'DATPRE', # Data do pregão - "AAAAMMDD"
'CODBDI', # Código BDI - Precisa de tabela auxiliar
'CODNEG', # Código de negociação do papel
'TPMERC', # Tipo de mercado - (Vista, Termo, etc...) Precisa de tabela auxiliar
'NOMRES', # Nome resumido da empresa emissora do papel
'ESPECI', # Especificação do papel - (ON, PN, LFT, etc...) Precisa de tabela auxiliar
'PRAZOT', # Prazo em dias do mercado a termo
'MODREF', # Moeda de referência usada na data do pregão
'PREABE', # Preço de abertura do papel no pregão
'PREMAX', 'PREMIN', 'PREMED', 'PREULT', 'PREOFC', 'PREOFV',
'TOTNEG', 'QUATOT', 'VOLTOT', 'PREEXE', 'INDOPC', 'DATVEN', 'FATCOT', 'PTOEXE',
'CODISI', 'DISMES']
def _convert_price(raw_price):
"""Convert the prices, adjusting for two decimals while loading the raw file.
Parameters:
raw_price (str): The price to be converted, the last two characters are the decimals.
Returns:
(float64): Converted price.
"""
return float(raw_price) / 100.0
def _convert_date(d):
"""Convert the raw date information.
The raw file uses '9999' in the year to indicate an invalid year.
Parameters:
d (str): The field format is 'YYYYMMDD'.
Returns:
dt (datetime64): Decoded date.
"""
if d.startswith('9999'):
return None
try:
dt = datetime.strptime(d, '%Y%m%d')
return dt
except ValueError:
return None
# Specify dtype while loading
__dtype_dict = {
'TOTNEG': np.int32
}
# Use the functions defined above to convert data while loading
__convert_dict = {
'DATPRE': _convert_date,
'PREABE': _convert_price, 'PREMAX': _convert_price,
'PREMIN': _convert_price,
'PREMED': _convert_price, 'PREULT': _convert_price, 'PREOFC': _convert_price,
'PREOFV': _convert_price,
'DATVEN': _convert_date,
}
def load_dir(dir_base):
"""Loads all the raw files in a given directory.
Parameters:
dir_base (str): inform the path of the directory to be loaded
Returns:
df: a dataframe with the decoded data
"""
df = pd.DataFrame() # Creates an empty Dataframe to append all the raw files
logging.debug('load_dir::dir_base: {}'.format(dir_base))
for dir_name, _, filenames in os.walk(dir_base):
for filename in filenames:
logging.debug(os.path.join(dir_name, filename))
'''z_file = zipfile.ZipFile(os.path.join(dir_name, filename))
files = z_file.namelist()
with z_file.open(files[0]) as raw_file:
# logging.debug(raw_file.readline()) # o readline() muda o ponteiro do arquivo? Estava perdendo duas linhas de dados?
# logging.debug(raw_file.readline())
df_temp = load_file(raw_file)'''
df_temp = load_zipfile(os.path.join(dir_name, filename))
logging.debug('File: {} #rows: {}'.format(
os.path.join(dir_name, filename), df_temp.shape[0])) # shape[0] = Number of rows...
df = df.append(df_temp, ignore_index=True)
logging.debug('Total df rows: {}'.format(df.shape[0]))
return df
def load_zipfile(zip_file_path):
"""Loads one zipped file
Parameters:
zip_file_path (str): inform the path of the zipped file to be loaded
Returns:
df: a dataframe with the decoded data
"""
# df = pd.DataFrame() # Creates an empty Dataframe to append all the raw files
logging.debug('load_zipfile::zip_file_path: {}'.format(zip_file_path))
z_file = zipfile.ZipFile(os.path.join(zip_file_path))
files = z_file.namelist()
with z_file.open(files[0]) as raw_file:
df = load_file(raw_file)
return df
def load_file(file_path):
"""Loads the raw file.
Parameters:
file_path (str): inform the file path of the raw file to be loaded
Returns:
df: a dataframe with the decode data
"""
df = pd.read_fwf(
file_path,
widths=__widths,
names=__column_names,
dtype=__dtype_dict,
converters=__convert_dict,
skiprows=1, # Skip the header row
skipfooter=1 # Skip the footer row
)
return df
| [
1,
1053,
12655,
408,
7442,
29871,
396,
5608,
9623,
13,
5215,
11701,
408,
10518,
29871,
396,
848,
9068,
29892,
16874,
934,
306,
29914,
29949,
313,
29872,
29889,
29887,
29889,
10518,
29889,
949,
29918,
7638,
29897,
13,
3166,
12865,
1053,
12865,
13,
5215,
2897,
13,
5215,
14319,
1445,
13,
5215,
12183,
13,
13,
29937,
2266,
591,
29915,
645,
6084,
278,
4341,
2920,
13,
1649,
2103,
29879,
353,
518,
29906,
29892,
29871,
29947,
29892,
29871,
29906,
29892,
29871,
29896,
29906,
29892,
29871,
29941,
29892,
29871,
29896,
29906,
29892,
13,
632,
29896,
29900,
29892,
29871,
29941,
29892,
29871,
29946,
29892,
29871,
29896,
29941,
29892,
29871,
29896,
29941,
29892,
29871,
29896,
29941,
29892,
29871,
29896,
29941,
29892,
29871,
29896,
29941,
29892,
29871,
29896,
29941,
29892,
29871,
29896,
29941,
29892,
29871,
29945,
29892,
29871,
29896,
29947,
29892,
13,
632,
29896,
29947,
29892,
29871,
29896,
29941,
29892,
29871,
29896,
29892,
29871,
29947,
29892,
29871,
29955,
29892,
29871,
29896,
29941,
29892,
29871,
29896,
29906,
29892,
29871,
29941,
29962,
13,
13,
29937,
322,
278,
4341,
2983,
29892,
2729,
297,
278,
2441,
21992,
13,
1649,
4914,
29918,
7039,
353,
518,
13,
1678,
525,
29911,
5690,
18166,
742,
29871,
396,
323,
22955,
316,
2169,
19150,
448,
24778,
29877,
353,
376,
29900,
29896,
29908,
13,
1678,
525,
25832,
15094,
742,
29871,
396,
3630,
437,
16177,
1368,
448,
376,
6344,
29909,
5194,
5773,
29928,
29908,
13,
1678,
525,
3217,
4051,
4571,
742,
29871,
396,
315,
17613,
350,
4571,
448,
4721,
3476,
29874,
316,
260,
1107,
29874,
29587,
279,
13,
1678,
525,
3217,
29928,
8186,
29954,
742,
29871,
396,
315,
17613,
316,
3480,
10183,
2340,
437,
23953,
13,
1678,
525,
3557,
29924,
1001,
29907,
742,
29871,
396,
323,
22955,
316,
16856,
912,
448,
313,
29963,
2079,
29892,
11814,
29877,
29892,
2992,
11410,
4721,
3476,
29874,
316,
260,
1107,
29874,
29587,
279,
13,
1678,
525,
29940,
6488,
15989,
742,
29871,
396,
405,
608,
620,
398,
1941,
1146,
20456,
953,
790,
2207,
437,
23953,
13,
1678,
525,
2890,
4162,
8426,
742,
29871,
396,
3423,
3135,
928,
8298,
437,
23953,
448,
313,
1164,
29892,
349,
29940,
29892,
365,
7818,
29892,
2992,
11410,
4721,
3476,
29874,
316,
260,
1107,
29874,
29587,
279,
13,
1678,
525,
29925,
4717,
29999,
2891,
742,
29871,
396,
9002,
2502,
953,
652,
294,
437,
16856,
912,
263,
1840,
29877,
13,
1678,
525,
6720,
29928,
25866,
742,
29871,
396,
4546,
8710,
316,
2737,
10544,
502,
1114,
1055,
848,
437,
16177,
1368,
13,
1678,
525,
15094,
2882,
29923,
742,
29871,
396,
4721,
6102,
316,
263,
2151,
2002,
437,
23953,
694,
16177,
1368,
13,
1678,
525,
15094,
12648,
742,
525,
15094,
16173,
742,
525,
15094,
2303,
29928,
742,
525,
15094,
8647,
742,
525,
15094,
29949,
8610,
742,
525,
15094,
9800,
29963,
742,
13,
1678,
525,
29911,
2891,
8186,
29954,
742,
525,
13356,
1299,
2891,
742,
525,
29963,
5607,
29911,
2891,
742,
525,
15094,
5746,
29923,
742,
525,
1177,
3970,
9026,
742,
525,
25832,
29963,
1430,
742,
525,
29943,
1299,
29907,
2891,
742,
525,
29925,
4986,
5746,
29923,
742,
13,
1678,
525,
3217,
23711,
29902,
742,
525,
23711,
2303,
29903,
2033,
13,
13,
13,
1753,
903,
13441,
29918,
9175,
29898,
1610,
29918,
9175,
1125,
13,
1678,
9995,
18455,
278,
26094,
29892,
10365,
292,
363,
1023,
1602,
326,
1338,
1550,
8363,
278,
10650,
934,
29889,
13,
1678,
12662,
2699,
29901,
13,
539,
10650,
29918,
9175,
313,
710,
1125,
450,
8666,
304,
367,
11543,
29892,
278,
1833,
1023,
4890,
526,
278,
1602,
326,
1338,
29889,
13,
1678,
16969,
29901,
13,
539,
313,
7411,
29953,
29946,
1125,
14806,
287,
8666,
29889,
13,
1678,
9995,
13,
1678,
736,
5785,
29898,
1610,
29918,
9175,
29897,
847,
29871,
29896,
29900,
29900,
29889,
29900,
13,
13,
13,
1753,
903,
13441,
29918,
1256,
29898,
29881,
1125,
13,
1678,
9995,
18455,
278,
10650,
2635,
2472,
29889,
13,
1678,
450,
10650,
934,
3913,
525,
29929,
29929,
29929,
29929,
29915,
297,
278,
1629,
304,
12266,
385,
8340,
1629,
29889,
13,
1678,
12662,
2699,
29901,
13,
539,
270,
313,
710,
1125,
450,
1746,
3402,
338,
525,
14995,
14995,
29924,
5773,
29928,
4286,
13,
1678,
16969,
29901,
13,
539,
11636,
313,
12673,
29953,
29946,
1125,
3826,
6797,
2635,
29889,
13,
1678,
9995,
13,
1678,
565,
270,
29889,
27382,
2541,
877,
29929,
29929,
29929,
29929,
29374,
13,
4706,
736,
6213,
13,
1678,
1018,
29901,
13,
4706,
11636,
353,
12865,
29889,
710,
415,
603,
29898,
29881,
29892,
14210,
29979,
29995,
29885,
29995,
29881,
1495,
13,
4706,
736,
11636,
13,
1678,
5174,
7865,
2392,
29901,
13,
4706,
736,
6213,
13,
13,
13,
29937,
12048,
1598,
26688,
1550,
8363,
13,
1649,
29881,
1853,
29918,
8977,
353,
426,
13,
1678,
525,
29911,
2891,
8186,
29954,
2396,
7442,
29889,
524,
29941,
29906,
13,
29913,
13,
13,
29937,
4803,
278,
3168,
3342,
2038,
304,
3588,
848,
1550,
8363,
13,
1649,
13441,
29918,
8977,
353,
426,
13,
1678,
525,
25832,
15094,
2396,
903,
13441,
29918,
1256,
29892,
13,
1678,
525,
15094,
2882,
29923,
2396,
903,
13441,
29918,
9175,
29892,
525,
15094,
12648,
2396,
903,
13441,
29918,
9175,
29892,
13,
1678,
525,
15094,
16173,
2396,
903,
13441,
29918,
9175,
29892,
13,
1678,
525,
15094,
2303,
29928,
2396,
903,
13441,
29918,
9175,
29892,
525,
15094,
8647,
2396,
903,
13441,
29918,
9175,
29892,
525,
15094,
29949,
8610,
2396,
903,
13441,
29918,
9175,
29892,
13,
1678,
525,
15094,
9800,
29963,
2396,
903,
13441,
29918,
9175,
29892,
13,
1678,
525,
25832,
29963,
1430,
2396,
903,
13441,
29918,
1256,
29892,
13,
29913,
13,
13,
13,
1753,
2254,
29918,
3972,
29898,
3972,
29918,
3188,
1125,
13,
1678,
9995,
5896,
29879,
599,
278,
10650,
2066,
297,
263,
2183,
3884,
29889,
13,
1678,
12662,
2699,
29901,
13,
539,
4516,
29918,
3188,
313,
710,
1125,
1871,
278,
2224,
310,
278,
3884,
304,
367,
7500,
13,
1678,
16969,
29901,
13,
539,
4489,
29901,
263,
12205,
411,
278,
1602,
6797,
848,
13,
1678,
9995,
13,
13,
1678,
4489,
353,
10518,
29889,
17271,
580,
29871,
396,
6760,
1078,
385,
4069,
3630,
2557,
304,
9773,
599,
278,
10650,
2066,
13,
1678,
12183,
29889,
8382,
877,
1359,
29918,
3972,
1057,
3972,
29918,
3188,
29901,
6571,
4286,
4830,
29898,
3972,
29918,
3188,
876,
13,
13,
1678,
363,
4516,
29918,
978,
29892,
17117,
977,
264,
1280,
297,
2897,
29889,
20919,
29898,
3972,
29918,
3188,
1125,
13,
4706,
363,
10422,
297,
977,
264,
1280,
29901,
13,
9651,
12183,
29889,
8382,
29898,
359,
29889,
2084,
29889,
7122,
29898,
3972,
29918,
978,
29892,
10422,
876,
13,
9651,
14550,
29920,
29918,
1445,
353,
14319,
1445,
29889,
26264,
2283,
29898,
359,
29889,
2084,
29889,
7122,
29898,
3972,
29918,
978,
29892,
10422,
876,
13,
9651,
2066,
353,
503,
29918,
1445,
29889,
8588,
295,
391,
580,
13,
9651,
411,
503,
29918,
1445,
29889,
3150,
29898,
5325,
29961,
29900,
2314,
408,
10650,
29918,
1445,
29901,
13,
18884,
396,
12183,
29889,
8382,
29898,
1610,
29918,
1445,
29889,
949,
1220,
3101,
29871,
396,
288,
1303,
1220,
580,
286,
6191,
288,
282,
9568,
3350,
437,
19325,
4243,
29973,
2661,
879,
11113,
2765,
27544,
6276,
5349,
316,
270,
2255,
29973,
13,
18884,
396,
12183,
29889,
8382,
29898,
1610,
29918,
1445,
29889,
949,
1220,
3101,
13,
18884,
4489,
29918,
7382,
353,
2254,
29918,
1445,
29898,
1610,
29918,
1445,
29897,
12008,
13,
9651,
4489,
29918,
7382,
353,
2254,
29918,
7554,
1445,
29898,
359,
29889,
2084,
29889,
7122,
29898,
3972,
29918,
978,
29892,
10422,
876,
13,
9651,
12183,
29889,
8382,
877,
2283,
29901,
6571,
396,
5727,
29901,
6571,
4286,
4830,
29898,
13,
18884,
2897,
29889,
2084,
29889,
7122,
29898,
3972,
29918,
978,
29892,
10422,
511,
4489,
29918,
7382,
29889,
12181,
29961,
29900,
12622,
29871,
396,
8267,
29961,
29900,
29962,
353,
9681,
310,
4206,
856,
13,
9651,
4489,
353,
4489,
29889,
4397,
29898,
2176,
29918,
7382,
29892,
11455,
29918,
2248,
29922,
5574,
29897,
13,
13,
1678,
12183,
29889,
8382,
877,
11536,
4489,
4206,
29901,
6571,
4286,
4830,
29898,
2176,
29889,
12181,
29961,
29900,
12622,
13,
1678,
736,
4489,
13,
13,
13,
1753,
2254,
29918,
7554,
1445,
29898,
7554,
29918,
1445,
29918,
2084,
1125,
13,
1678,
9995,
5896,
29879,
697,
503,
16242,
934,
13,
1678,
12662,
2699,
29901,
13,
539,
14319,
29918,
1445,
29918,
2084,
313,
710,
1125,
1871,
278,
2224,
310,
278,
503,
16242,
934,
304,
367,
7500,
13,
1678,
16969,
29901,
13,
539,
4489,
29901,
263,
12205,
411,
278,
1602,
6797,
848,
13,
1678,
9995,
13,
13,
1678,
396,
4489,
353,
10518,
29889,
17271,
580,
29871,
396,
6760,
1078,
385,
4069,
3630,
2557,
304,
9773,
599,
278,
10650,
2066,
13,
1678,
12183,
29889,
8382,
877,
1359,
29918,
7554,
1445,
1057,
7554,
29918,
1445,
29918,
2084,
29901,
6571,
4286,
4830,
29898,
7554,
29918,
1445,
29918,
2084,
876,
13,
13,
1678,
503,
29918,
1445,
353,
14319,
1445,
29889,
26264,
2283,
29898,
359,
29889,
2084,
29889,
7122,
29898,
7554,
29918,
1445,
29918,
2084,
876,
13,
1678,
2066,
353,
503,
29918,
1445,
29889,
8588,
295,
391,
580,
13,
1678,
411,
503,
29918,
1445,
29889,
3150,
29898,
5325,
29961,
29900,
2314,
408,
10650,
29918,
1445,
29901,
13,
4706,
4489,
353,
2254,
29918,
1445,
29898,
1610,
29918,
1445,
29897,
13,
13,
1678,
736,
4489,
13,
13,
13,
1753,
2254,
29918,
1445,
29898,
1445,
29918,
2084,
1125,
13,
1678,
9995,
5896,
29879,
278,
10650,
934,
29889,
13,
1678,
12662,
2699,
29901,
13,
539,
934,
29918,
2084,
313,
710,
1125,
1871,
278,
934,
2224,
310,
278,
10650,
934,
304,
367,
7500,
13,
1678,
16969,
29901,
13,
539,
4489,
29901,
263,
12205,
411,
278,
21822,
848,
13,
1678,
9995,
13,
1678,
4489,
353,
10518,
29889,
949,
29918,
25051,
29888,
29898,
13,
4706,
934,
29918,
2084,
29892,
13,
4706,
2920,
29879,
29922,
1649,
2103,
29879,
29892,
13,
4706,
2983,
29922,
1649,
4914,
29918,
7039,
29892,
13,
4706,
26688,
29922,
1649,
29881,
1853,
29918,
8977,
29892,
13,
4706,
5486,
2153,
29922,
1649,
13441,
29918,
8977,
29892,
13,
4706,
14383,
5727,
29922,
29896,
29892,
29871,
396,
4971,
666,
278,
4839,
1948,
13,
4706,
14383,
21720,
29922,
29896,
29871,
396,
4971,
666,
278,
24166,
1948,
13,
1678,
1723,
13,
1678,
736,
4489,
13,
2
] |
keras_transformer/keras_transformer/training/custom_callbacks/CustomCheckpointer.py | erelcan/keras-transformer | 3 | 4531 | <gh_stars>1-10
import os
from keras.callbacks import ModelCheckpoint
from keras_transformer.training.custom_callbacks.CustomCallbackABC import CustomCallbackABC
from keras_transformer.utils.io_utils import save_to_pickle
class CustomCheckpointer(ModelCheckpoint, CustomCallbackABC):
def __init__(self, workspace_path, artifacts, callbacks, **kwargs):
super().__init__(os.path.join(workspace_path, "model-{epoch:01d}.h5"), **kwargs)
self._workspace_path = workspace_path
self._artifacts = artifacts
self._completed_epoch = 0
self._callbacks = callbacks
def on_epoch_end(self, epoch, logs=None):
super().on_epoch_end(epoch, logs)
self._completed_epoch += 1
self.update_artifacts()
should_save = False
if self.epochs_since_last_save == 0:
if self.save_best_only:
current = logs.get(self.monitor)
if current == self.best:
should_save = True
else:
should_save = True
if should_save:
save_to_pickle(self._artifacts, os.path.join(self._workspace_path, "artifacts-" + str(epoch+1) + ".pkl"))
def update_artifacts(self):
for callback in self._callbacks:
self._artifacts["callbacks"][callback.get_name()] = callback.get_artifacts()
self._artifacts["callbacks"][self.get_name()] = self.get_artifacts()
def get_name(self):
return self.__class__.__name__
def get_artifacts(self):
return {"best_score": self.best, "completed_epoch": self._completed_epoch}
def prepare_from_artifacts(self, artifacts):
self.best = artifacts["best_score"]
self._completed_epoch = artifacts["completed_epoch"]
| [
1,
529,
12443,
29918,
303,
1503,
29958,
29896,
29899,
29896,
29900,
13,
5215,
2897,
13,
3166,
13023,
294,
29889,
14035,
29879,
1053,
8125,
5596,
3149,
13,
3166,
13023,
294,
29918,
9067,
261,
29889,
26495,
29889,
6341,
29918,
14035,
29879,
29889,
7281,
10717,
19658,
1053,
8701,
10717,
19658,
13,
13,
3166,
13023,
294,
29918,
9067,
261,
29889,
13239,
29889,
601,
29918,
13239,
1053,
4078,
29918,
517,
29918,
23945,
280,
13,
13,
13,
1990,
8701,
5596,
17226,
29898,
3195,
5596,
3149,
29892,
8701,
10717,
19658,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
664,
3493,
29918,
2084,
29892,
24238,
29879,
29892,
6939,
29879,
29892,
3579,
19290,
1125,
13,
4706,
2428,
2141,
1649,
2344,
12035,
359,
29889,
2084,
29889,
7122,
29898,
1287,
3493,
29918,
2084,
29892,
376,
4299,
29899,
29912,
1022,
2878,
29901,
29900,
29896,
29881,
1836,
29882,
29945,
4968,
3579,
19290,
29897,
13,
4706,
1583,
3032,
1287,
3493,
29918,
2084,
353,
664,
3493,
29918,
2084,
13,
4706,
1583,
3032,
8813,
29879,
353,
24238,
29879,
13,
4706,
1583,
3032,
5729,
9446,
29918,
1022,
2878,
353,
29871,
29900,
13,
4706,
1583,
3032,
14035,
29879,
353,
6939,
29879,
13,
13,
1678,
822,
373,
29918,
1022,
2878,
29918,
355,
29898,
1311,
29892,
21502,
305,
29892,
10748,
29922,
8516,
1125,
13,
4706,
2428,
2141,
265,
29918,
1022,
2878,
29918,
355,
29898,
1022,
2878,
29892,
10748,
29897,
13,
13,
4706,
1583,
3032,
5729,
9446,
29918,
1022,
2878,
4619,
29871,
29896,
13,
13,
4706,
1583,
29889,
5504,
29918,
8813,
29879,
580,
13,
13,
4706,
881,
29918,
7620,
353,
7700,
13,
4706,
565,
1583,
29889,
1022,
2878,
29879,
29918,
16076,
29918,
4230,
29918,
7620,
1275,
29871,
29900,
29901,
13,
9651,
565,
1583,
29889,
7620,
29918,
13318,
29918,
6194,
29901,
13,
18884,
1857,
353,
10748,
29889,
657,
29898,
1311,
29889,
3712,
2105,
29897,
13,
18884,
565,
1857,
1275,
1583,
29889,
13318,
29901,
13,
462,
1678,
881,
29918,
7620,
353,
5852,
13,
9651,
1683,
29901,
13,
18884,
881,
29918,
7620,
353,
5852,
13,
13,
4706,
565,
881,
29918,
7620,
29901,
13,
9651,
4078,
29918,
517,
29918,
23945,
280,
29898,
1311,
3032,
8813,
29879,
29892,
2897,
29889,
2084,
29889,
7122,
29898,
1311,
3032,
1287,
3493,
29918,
2084,
29892,
376,
8813,
29879,
29899,
29908,
718,
851,
29898,
1022,
2878,
29974,
29896,
29897,
718,
11393,
29886,
6321,
5783,
13,
13,
1678,
822,
2767,
29918,
8813,
29879,
29898,
1311,
1125,
13,
4706,
363,
6939,
297,
1583,
3032,
14035,
29879,
29901,
13,
9651,
1583,
3032,
8813,
29879,
3366,
14035,
29879,
3108,
29961,
14035,
29889,
657,
29918,
978,
580,
29962,
353,
6939,
29889,
657,
29918,
8813,
29879,
580,
13,
13,
4706,
1583,
3032,
8813,
29879,
3366,
14035,
29879,
3108,
29961,
1311,
29889,
657,
29918,
978,
580,
29962,
353,
1583,
29889,
657,
29918,
8813,
29879,
580,
13,
13,
1678,
822,
679,
29918,
978,
29898,
1311,
1125,
13,
4706,
736,
1583,
17255,
1990,
1649,
17255,
978,
1649,
13,
13,
1678,
822,
679,
29918,
8813,
29879,
29898,
1311,
1125,
13,
4706,
736,
8853,
13318,
29918,
13628,
1115,
1583,
29889,
13318,
29892,
376,
5729,
9446,
29918,
1022,
2878,
1115,
1583,
3032,
5729,
9446,
29918,
1022,
2878,
29913,
13,
13,
1678,
822,
19012,
29918,
3166,
29918,
8813,
29879,
29898,
1311,
29892,
24238,
29879,
1125,
13,
4706,
1583,
29889,
13318,
353,
24238,
29879,
3366,
13318,
29918,
13628,
3108,
13,
4706,
1583,
3032,
5729,
9446,
29918,
1022,
2878,
353,
24238,
29879,
3366,
5729,
9446,
29918,
1022,
2878,
3108,
13,
2
] |
functional/Decorator.py | sammffl/pythonPractice | 2 | 91490 | <gh_stars>1-10
# -*- coding: utf-8 -*-
import functools
# 装饰器
def log(func):
def wrapper(*args, **kw):
try:
print 'begin %s():' % func.__name__
return func(*args, **kw)
except Exception,e:
raise e
finally:
print 'end'
return wrapper
# 相当于 now = log(now)
@log
def now():
print '2016'
now()
# ================================
def log_high(text):
def decorator(func):
@functools.wraps(func)
def wrapper(*args, **kw):
print '%s %s():' % (text, func.__name__)
return func(*args, **kw)
return wrapper
return decorator
# now = log('execute')(now)
@log_high('execute')
def now_high():
print '2016'
now_high()
print now_high.__name__
# =================================
# begin end
def log_mixed(param):
if isinstance(param, str):
# 是字符串
def decorator(func):
@functools.wraps(func)
def wrapper(*args, **kw):
print ' %s %s ' % (param, func.__name__)
return func(*args, **kw)
return wrapper
return decorator
else:
def wrapper(*args, **kw):
print '%s' % param.__name__
return param(*args, **kw)
return wrapper
@log_mixed
def now_1():
print '2016'
return 'now_1'
@log_mixed("test")
def now_2():
print '2016'
print '======================='
ss = now_1()
now_2()
print ss
| [
1,
529,
12443,
29918,
303,
1503,
29958,
29896,
29899,
29896,
29900,
13,
29937,
448,
29930,
29899,
14137,
29901,
23616,
29899,
29947,
448,
29930,
29899,
13,
5215,
2090,
312,
8789,
13,
13,
13,
29937,
29871,
31905,
236,
168,
179,
30943,
13,
13,
13,
1753,
1480,
29898,
9891,
1125,
13,
1678,
822,
14476,
10456,
5085,
29892,
3579,
11022,
1125,
13,
4706,
1018,
29901,
13,
9651,
1596,
525,
463,
1273,
29879,
7295,
29915,
1273,
3653,
17255,
978,
1649,
13,
9651,
736,
3653,
10456,
5085,
29892,
3579,
11022,
29897,
13,
4706,
5174,
8960,
29892,
29872,
29901,
13,
9651,
12020,
321,
13,
4706,
7146,
29901,
13,
9651,
1596,
525,
355,
29915,
13,
1678,
736,
14476,
13,
13,
13,
29937,
29871,
30990,
30948,
30909,
1286,
353,
1480,
29898,
3707,
29897,
13,
29992,
1188,
13,
1753,
1286,
7295,
13,
1678,
1596,
525,
29906,
29900,
29896,
29953,
29915,
13,
13,
13,
3707,
580,
13,
13,
13,
29937,
1275,
9166,
4936,
2751,
1360,
13,
1753,
1480,
29918,
9812,
29898,
726,
1125,
13,
1678,
822,
10200,
1061,
29898,
9891,
1125,
13,
4706,
732,
7692,
312,
8789,
29889,
29893,
336,
567,
29898,
9891,
29897,
13,
4706,
822,
14476,
10456,
5085,
29892,
3579,
11022,
1125,
13,
9651,
1596,
14210,
29879,
1273,
29879,
7295,
29915,
1273,
313,
726,
29892,
3653,
17255,
978,
1649,
29897,
13,
9651,
736,
3653,
10456,
5085,
29892,
3579,
11022,
29897,
13,
13,
4706,
736,
14476,
13,
13,
1678,
736,
10200,
1061,
13,
13,
13,
29937,
29871,
1286,
353,
1480,
877,
7978,
1495,
29898,
3707,
29897,
13,
29992,
1188,
29918,
9812,
877,
7978,
1495,
13,
1753,
1286,
29918,
9812,
7295,
13,
1678,
1596,
525,
29906,
29900,
29896,
29953,
29915,
13,
13,
13,
3707,
29918,
9812,
580,
13,
2158,
1286,
29918,
9812,
17255,
978,
1649,
13,
13,
13,
29937,
1275,
9166,
4936,
2751,
25512,
13,
29937,
3380,
1095,
13,
13,
13,
1753,
1480,
29918,
29885,
11925,
29898,
3207,
1125,
13,
1678,
565,
338,
8758,
29898,
3207,
29892,
851,
1125,
13,
4706,
396,
29871,
30392,
30578,
31277,
31767,
13,
4706,
822,
10200,
1061,
29898,
9891,
1125,
13,
9651,
732,
7692,
312,
8789,
29889,
29893,
336,
567,
29898,
9891,
29897,
13,
9651,
822,
14476,
10456,
5085,
29892,
3579,
11022,
1125,
13,
18884,
1596,
525,
1273,
29879,
1273,
29879,
525,
1273,
313,
3207,
29892,
3653,
17255,
978,
1649,
29897,
13,
18884,
736,
3653,
10456,
5085,
29892,
3579,
11022,
29897,
13,
13,
9651,
736,
14476,
13,
13,
4706,
736,
10200,
1061,
13,
1678,
1683,
29901,
13,
4706,
822,
14476,
10456,
5085,
29892,
3579,
11022,
1125,
13,
9651,
1596,
14210,
29879,
29915,
1273,
1828,
17255,
978,
1649,
13,
9651,
736,
1828,
10456,
5085,
29892,
3579,
11022,
29897,
13,
13,
4706,
736,
14476,
13,
13,
13,
29992,
1188,
29918,
29885,
11925,
13,
1753,
1286,
29918,
29896,
7295,
13,
1678,
1596,
525,
29906,
29900,
29896,
29953,
29915,
13,
1678,
736,
525,
3707,
29918,
29896,
29915,
13,
13,
13,
29992,
1188,
29918,
29885,
11925,
703,
1688,
1159,
13,
1753,
1286,
29918,
29906,
7295,
13,
1678,
1596,
525,
29906,
29900,
29896,
29953,
29915,
13,
13,
13,
2158,
525,
9166,
2751,
1360,
2433,
13,
893,
353,
1286,
29918,
29896,
580,
13,
3707,
29918,
29906,
580,
13,
13,
2158,
17971,
13,
2
] |
ckanext/os/tests/model/test_spatial_data.py | datagovuk/ckanext-os | 2 | 1602575 | <reponame>datagovuk/ckanext-os
from ckanext.os import model.spatial_data as spatial_model
| [
1,
529,
276,
1112,
420,
29958,
4130,
351,
586,
2679,
29914,
384,
273,
1062,
29899,
359,
13,
3166,
274,
11052,
1062,
29889,
359,
1053,
1904,
29889,
1028,
15238,
29918,
1272,
408,
18652,
29918,
4299,
13,
2
] |
AmazonScraper/AmazonScraper/spiders/Deals.py | RyMaDe/Complete-Amazon-Scraper | 0 | 178301 | <filename>AmazonScraper/AmazonScraper/spiders/Deals.py
import scrapy
from ..items import DealsItem
from selenium import webdriver
from selenium.webdriver.firefox.options import Options
import time
class DealsSpider(scrapy.Spider):
name = 'deals'
allowed_domains = ['amazon.com', 'amazon.co.uk']
#To enable there to be a limit of how many pages to crawl we need to keep a count
count = 1
def __init__(self, q, dom=None, pages = None,dep=None):
self.q = q #Loading the multiprocessing list
self.pages = pages #Page crawl limit
self.dom=dom
self.dep = dep #dep should be the same as the text used for each category on the site
options = Options()
options.headless = True
self.driver = webdriver.Firefox(options=options)
#Deciding which function to use in start_requests() below.
#If a department was selected it will go to dep_parse(), otherwise it will go to parse().
if self.dep != None:
self.noDep = self.dep_parse
else:
self.noDep = self.parse
def start_requests(self):
if self.dom == "uk":
url = "https://www.amazon.co.uk/gp/goldbox/"
else:
#usa url will be the default
url = 'https://www.amazon.com/international-sales-offers/b/?ie=UTF8&node=15529609011'
self.driver.get(url)
yield scrapy.Request(url=url, callback=self.noDep)
def dep_parse(self,response):
time.sleep(3)
#Below we are loading the names of all the categories
if self.dom == "uk":
depts = self.driver.find_elements_by_css_selector("span.a-declarative [class='a-checkbox checkbox a-spacing-micro']")
else:#USA
#Need to expand list of all departments on US site
self.driver.find_element_by_css_selector("div.a-expander-inline-container span.a-expander-prompt").click()
time.sleep(1)
depts = self.driver.find_elements_by_css_selector("div.a-expander-inline-container span.a-declarative")
for dept in depts:
department = dept.find_element_by_css_selector("label span.a-checkbox-label").text
#Click the checkbox of the department specified by the user,
#then go to the parse function to scrape.
if self.dep == department:
dept.find_element_by_css_selector("label input").click()
link=self.driver.current_url
yield scrapy.Request(link, callback=self.parse, dont_filter=True)
break
def parse(self, response):
time.sleep(10) #Makes sure all the results will show
results = self.driver.find_elements_by_css_selector("div.a-row div.a-spacing-none.tallCellView")
#A list that contains all of the sections with a product
items = DealsItem()
for result in results:
try:
items["Product"] = result.find_element_by_css_selector("a.singleCellTitle span.a-declarative").text
except:
items["Product"] = "N/A"
try:
items["Price"] = result.find_element_by_css_selector("span.dealPriceText").text
except:
items["Price"] = "N/A"
try:
items["Pre_Price"] = result.find_element_by_css_selector("span.a-text-strike").text
except:
items["Pre_Price"] = "N/A"
try:
items["Rating"] = result.find_element_by_css_selector("div.reviewStars a.touchAnchor").get_attribute("aria-label").split(",")[0]
except:
items["Rating"] = "N/A"
try:
items["No_of_Ratings"] = int(result.find_element_by_css_selector("span.a-declarative span.a-size-small").text)
except:
items["No_of_Ratings"] = "N/A"
try:
items["Timer"] = result.find_element_by_css_selector("span[role='timer']").text
except:
items["Timer"] = "N/A"
try:
items["Claimed"] = result.find_element_by_css_selector("div.a-span5 span.a-size-mini").text
except:
items["Claimed"] = "N/A"
try:
items["URL"] = result.find_element_by_css_selector("a.a-link-normal[href]").get_attribute("href")
except:
items["URL"] = "N/A"
try:
items["IMG_URL"] = result.find_element_by_css_selector("img[src]").get_attribute("src")
except:
items["IMG_URL"] = "N/A"
yield items
try:#To go to the last page
NEXT_PAGE_SELECTOR = "[class='a-text-center'] ul.a-pagination li.a-last a[href]"
next_page = self.driver.find_element_by_css_selector(NEXT_PAGE_SELECTOR)
next_link = next_page.get_attribute("href")
next_page.click()
except:
next_page = None
#This will make sure to continue looping through all pages if a page limit is not set.
#If a limit is set, it makes sure to stay within the limit.
if next_page!=None and (self.pages==None or self.count<self.pages):
self.count+=1
yield scrapy.Request(response.urljoin(next_link), callback=self.parse, dont_filter=True)
else:
self.driver.quit() | [
1,
529,
9507,
29958,
29909,
655,
6626,
4421,
336,
546,
29914,
29909,
655,
6626,
4421,
336,
546,
29914,
1028,
11376,
29914,
2772,
1338,
29889,
2272,
13,
5215,
24559,
2272,
13,
3166,
6317,
7076,
1053,
897,
1338,
2001,
13,
13,
3166,
18866,
1053,
1856,
9465,
13,
3166,
18866,
29889,
29813,
29889,
8696,
8944,
29889,
6768,
1053,
25186,
13,
5215,
931,
13,
13,
1990,
897,
1338,
5592,
1241,
29898,
1557,
336,
2272,
29889,
5592,
1241,
1125,
13,
1678,
1024,
353,
525,
311,
1338,
29915,
13,
1678,
6068,
29918,
3129,
2708,
353,
6024,
17260,
29889,
510,
742,
525,
17260,
29889,
1111,
29889,
2679,
2033,
13,
1678,
396,
1762,
9025,
727,
304,
367,
263,
4046,
310,
920,
1784,
6515,
304,
29349,
29880,
591,
817,
304,
3013,
263,
2302,
13,
1678,
2302,
353,
29871,
29896,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
3855,
29892,
2432,
29922,
8516,
29892,
6515,
353,
6213,
29892,
2716,
29922,
8516,
1125,
13,
4706,
1583,
29889,
29939,
353,
3855,
396,
23456,
278,
6674,
307,
985,
292,
1051,
13,
4706,
1583,
29889,
12292,
353,
6515,
396,
5074,
29349,
29880,
4046,
13,
4706,
1583,
29889,
3129,
29922,
3129,
13,
4706,
1583,
29889,
2716,
353,
1401,
396,
2716,
881,
367,
278,
1021,
408,
278,
1426,
1304,
363,
1269,
7663,
373,
278,
3268,
13,
13,
4706,
3987,
353,
25186,
580,
13,
4706,
3987,
29889,
2813,
2222,
353,
5852,
13,
4706,
1583,
29889,
9465,
353,
1856,
9465,
29889,
18654,
8944,
29898,
6768,
29922,
6768,
29897,
13,
13,
4706,
396,
6185,
4821,
607,
740,
304,
671,
297,
1369,
29918,
24830,
580,
2400,
29889,
13,
4706,
396,
3644,
263,
14311,
471,
4629,
372,
674,
748,
304,
1401,
29918,
5510,
3285,
6467,
372,
674,
748,
304,
6088,
2141,
13,
4706,
565,
1583,
29889,
2716,
2804,
6213,
29901,
13,
9651,
1583,
29889,
1217,
8498,
353,
1583,
29889,
2716,
29918,
5510,
13,
4706,
1683,
29901,
13,
9651,
1583,
29889,
1217,
8498,
353,
1583,
29889,
5510,
13,
13,
1678,
822,
1369,
29918,
24830,
29898,
1311,
1125,
13,
4706,
565,
1583,
29889,
3129,
1275,
376,
2679,
1115,
13,
9651,
3142,
353,
376,
991,
597,
1636,
29889,
17260,
29889,
1111,
29889,
2679,
29914,
29887,
29886,
29914,
29887,
1025,
1884,
12975,
13,
4706,
1683,
29901,
13,
9651,
396,
11326,
3142,
674,
367,
278,
2322,
13,
9651,
3142,
353,
525,
991,
597,
1636,
29889,
17260,
29889,
510,
29914,
14168,
1288,
29899,
29879,
2122,
29899,
2696,
414,
29914,
29890,
13401,
347,
29922,
10496,
29947,
29987,
3177,
29922,
29896,
29945,
29945,
29906,
29929,
29953,
29900,
29929,
29900,
29896,
29896,
29915,
13,
13,
4706,
1583,
29889,
9465,
29889,
657,
29898,
2271,
29897,
13,
4706,
7709,
24559,
2272,
29889,
3089,
29898,
2271,
29922,
2271,
29892,
6939,
29922,
1311,
29889,
1217,
8498,
29897,
13,
13,
1678,
822,
1401,
29918,
5510,
29898,
1311,
29892,
5327,
1125,
13,
4706,
931,
29889,
17059,
29898,
29941,
29897,
13,
4706,
396,
21140,
340,
591,
526,
8363,
278,
2983,
310,
599,
278,
13997,
13,
4706,
565,
1583,
29889,
3129,
1275,
376,
2679,
1115,
13,
9651,
316,
16485,
353,
1583,
29889,
9465,
29889,
2886,
29918,
17664,
29918,
1609,
29918,
4268,
29918,
14357,
703,
9653,
29889,
29874,
29899,
311,
16544,
1230,
518,
1990,
2433,
29874,
29899,
12348,
12527,
263,
29899,
1028,
9390,
29899,
29885,
2357,
2033,
1159,
13,
4706,
1683,
21968,
27019,
13,
9651,
396,
8139,
287,
304,
7985,
1051,
310,
599,
5840,
1860,
373,
3148,
3268,
13,
9651,
1583,
29889,
9465,
29889,
2886,
29918,
5029,
29918,
1609,
29918,
4268,
29918,
14357,
703,
4563,
29889,
29874,
29899,
4548,
3825,
29899,
14764,
29899,
7611,
10638,
29889,
29874,
29899,
4548,
3825,
29899,
14032,
415,
2564,
3808,
580,
13,
9651,
931,
29889,
17059,
29898,
29896,
29897,
13,
9651,
316,
16485,
353,
1583,
29889,
9465,
29889,
2886,
29918,
17664,
29918,
1609,
29918,
4268,
29918,
14357,
703,
4563,
29889,
29874,
29899,
4548,
3825,
29899,
14764,
29899,
7611,
10638,
29889,
29874,
29899,
311,
16544,
1230,
1159,
13,
13,
4706,
363,
316,
415,
297,
316,
16485,
29901,
13,
9651,
14311,
353,
316,
415,
29889,
2886,
29918,
5029,
29918,
1609,
29918,
4268,
29918,
14357,
703,
1643,
10638,
29889,
29874,
29899,
12348,
29899,
1643,
2564,
726,
13,
13,
9651,
396,
4164,
278,
12527,
310,
278,
14311,
6790,
491,
278,
1404,
29892,
13,
9651,
396,
6098,
748,
304,
278,
6088,
740,
304,
24559,
412,
29889,
13,
9651,
565,
1583,
29889,
2716,
1275,
14311,
29901,
13,
18884,
316,
415,
29889,
2886,
29918,
5029,
29918,
1609,
29918,
4268,
29918,
14357,
703,
1643,
1881,
2564,
3808,
580,
13,
18884,
1544,
29922,
1311,
29889,
9465,
29889,
3784,
29918,
2271,
13,
13,
18884,
7709,
24559,
2272,
29889,
3089,
29898,
2324,
29892,
6939,
29922,
1311,
29889,
5510,
29892,
4555,
29918,
4572,
29922,
5574,
29897,
13,
18884,
2867,
13,
13,
1678,
822,
6088,
29898,
1311,
29892,
2933,
1125,
13,
4706,
931,
29889,
17059,
29898,
29896,
29900,
29897,
396,
29924,
6926,
1854,
599,
278,
2582,
674,
1510,
13,
4706,
2582,
353,
1583,
29889,
9465,
29889,
2886,
29918,
17664,
29918,
1609,
29918,
4268,
29918,
14357,
703,
4563,
29889,
29874,
29899,
798,
1933,
29889,
29874,
29899,
1028,
9390,
29899,
9290,
29889,
29873,
497,
4617,
1043,
1159,
13,
4706,
396,
29909,
1051,
393,
3743,
599,
310,
278,
13926,
411,
263,
3234,
13,
13,
4706,
4452,
353,
897,
1338,
2001,
580,
13,
4706,
363,
1121,
297,
2582,
29901,
13,
9651,
1018,
29901,
13,
18884,
4452,
3366,
7566,
3108,
353,
1121,
29889,
2886,
29918,
5029,
29918,
1609,
29918,
4268,
29918,
14357,
703,
29874,
29889,
14369,
4617,
7030,
10638,
29889,
29874,
29899,
311,
16544,
1230,
2564,
726,
13,
9651,
5174,
29901,
13,
18884,
4452,
3366,
7566,
3108,
353,
376,
29940,
29914,
29909,
29908,
13,
9651,
1018,
29901,
13,
18884,
4452,
3366,
13026,
3108,
353,
1121,
29889,
2886,
29918,
5029,
29918,
1609,
29918,
4268,
29918,
14357,
703,
9653,
29889,
311,
284,
13026,
1626,
2564,
726,
13,
9651,
5174,
29901,
13,
18884,
4452,
3366,
13026,
3108,
353,
376,
29940,
29914,
29909,
29908,
13,
9651,
1018,
29901,
13,
18884,
4452,
3366,
6572,
29918,
13026,
3108,
353,
1121,
29889,
2886,
29918,
5029,
29918,
1609,
29918,
4268,
29918,
14357,
703,
9653,
29889,
29874,
29899,
726,
29899,
303,
20995,
2564,
726,
13,
9651,
5174,
29901,
13,
18884,
4452,
3366,
6572,
29918,
13026,
3108,
353,
376,
29940,
29914,
29909,
29908,
13,
9651,
1018,
29901,
13,
18884,
4452,
3366,
29934,
1218,
3108,
353,
1121,
29889,
2886,
29918,
5029,
29918,
1609,
29918,
4268,
29918,
14357,
703,
4563,
29889,
27828,
855,
1503,
263,
29889,
16747,
24458,
2564,
657,
29918,
12715,
703,
4568,
29899,
1643,
2564,
5451,
28165,
1159,
29961,
29900,
29962,
13,
9651,
5174,
29901,
13,
18884,
4452,
3366,
29934,
1218,
3108,
353,
376,
29940,
29914,
29909,
29908,
13,
9651,
1018,
29901,
13,
18884,
4452,
3366,
3782,
29918,
974,
29918,
29934,
271,
886,
3108,
353,
938,
29898,
2914,
29889,
2886,
29918,
5029,
29918,
1609,
29918,
4268,
29918,
14357,
703,
9653,
29889,
29874,
29899,
311,
16544,
1230,
10638,
29889,
29874,
29899,
2311,
29899,
9278,
2564,
726,
29897,
13,
9651,
5174,
29901,
13,
18884,
4452,
3366,
3782,
29918,
974,
29918,
29934,
271,
886,
3108,
353,
376,
29940,
29914,
29909,
29908,
13,
9651,
1018,
29901,
13,
18884,
4452,
3366,
14745,
3108,
353,
1121,
29889,
2886,
29918,
5029,
29918,
1609,
29918,
4268,
29918,
14357,
703,
9653,
29961,
12154,
2433,
20404,
2033,
2564,
726,
13,
9651,
5174,
29901,
13,
18884,
4452,
3366,
14745,
3108,
353,
376,
29940,
29914,
29909,
29908,
13,
9651,
1018,
29901,
13,
18884,
4452,
3366,
29907,
13190,
3108,
353,
1121,
29889,
2886,
29918,
5029,
29918,
1609,
29918,
4268,
29918,
14357,
703,
4563,
29889,
29874,
29899,
9653,
29945,
10638,
29889,
29874,
29899,
2311,
29899,
1195,
29875,
2564,
726,
13,
9651,
5174,
29901,
13,
18884,
4452,
3366,
29907,
13190,
3108,
353,
376,
29940,
29914,
29909,
29908,
13,
9651,
1018,
29901,
13,
18884,
4452,
3366,
4219,
3108,
353,
1121,
29889,
2886,
29918,
5029,
29918,
1609,
29918,
4268,
29918,
14357,
703,
29874,
29889,
29874,
29899,
2324,
29899,
8945,
29961,
12653,
29962,
2564,
657,
29918,
12715,
703,
12653,
1159,
13,
9651,
5174,
29901,
13,
18884,
4452,
3366,
4219,
3108,
353,
376,
29940,
29914,
29909,
29908,
13,
9651,
1018,
29901,
13,
18884,
4452,
3366,
7833,
29954,
29918,
4219,
3108,
353,
1121,
29889,
2886,
29918,
5029,
29918,
1609,
29918,
4268,
29918,
14357,
703,
2492,
29961,
4351,
29962,
2564,
657,
29918,
12715,
703,
4351,
1159,
13,
9651,
5174,
29901,
13,
18884,
4452,
3366,
7833,
29954,
29918,
4219,
3108,
353,
376,
29940,
29914,
29909,
29908,
13,
13,
9651,
7709,
4452,
13,
13,
4706,
1018,
21968,
1762,
748,
304,
278,
1833,
1813,
13,
9651,
405,
12194,
29918,
7228,
1692,
29918,
6404,
1955,
353,
14704,
1990,
2433,
29874,
29899,
726,
29899,
5064,
2033,
9238,
29889,
29874,
29899,
13573,
3381,
619,
29889,
29874,
29899,
4230,
263,
29961,
12653,
18017,
13,
9651,
2446,
29918,
3488,
353,
1583,
29889,
9465,
29889,
2886,
29918,
5029,
29918,
1609,
29918,
4268,
29918,
14357,
29898,
29940,
12194,
29918,
7228,
1692,
29918,
6404,
1955,
29897,
13,
9651,
2446,
29918,
2324,
353,
2446,
29918,
3488,
29889,
657,
29918,
12715,
703,
12653,
1159,
13,
9651,
2446,
29918,
3488,
29889,
3808,
580,
13,
4706,
5174,
29901,
13,
9651,
2446,
29918,
3488,
353,
6213,
13,
13,
4706,
396,
4013,
674,
1207,
1854,
304,
6773,
26113,
1549,
599,
6515,
565,
263,
1813,
4046,
338,
451,
731,
29889,
13,
4706,
396,
3644,
263,
4046,
338,
731,
29892,
372,
3732,
1854,
304,
7952,
2629,
278,
4046,
29889,
13,
4706,
565,
2446,
29918,
3488,
19216,
8516,
322,
313,
1311,
29889,
12292,
1360,
8516,
470,
1583,
29889,
2798,
29966,
1311,
29889,
12292,
1125,
13,
9651,
1583,
29889,
2798,
23661,
29896,
13,
9651,
7709,
24559,
2272,
29889,
3089,
29898,
5327,
29889,
2271,
7122,
29898,
4622,
29918,
2324,
511,
6939,
29922,
1311,
29889,
5510,
29892,
4555,
29918,
4572,
29922,
5574,
29897,
13,
4706,
1683,
29901,
13,
9651,
1583,
29889,
9465,
29889,
28358,
580,
2
] |
adapted_network.py | Hong-Ming/Adaptive_Network_Slimming | 0 | 28117 |
import sys
sys.path.append('./train_model')
import torch
import torch.nn as nn
import torch.nn.functional as F
import torchvision
import torchvision.transforms as transforms
import numpy as np
import os
import argparse
parser = argparse.ArgumentParser(description='Adaptive Network Slimming')
parser.add_argument('-net', type=str, help='pretrained pkl file')
parser.add_argument('--nonuniform', action='store_true', help='set non-uniform pruning rate')
args = parser.parse_args()
# from models import *
transform_test = transforms.Compose(
[transforms.ToTensor(),
transforms.Normalize((0.4914, 0.4822, 0.4465), (0.2023, 0.1994, 0.2010))])
testset = torchvision.datasets.CIFAR10(root='./cifar10',train=False,download=True,transform=transform_test)
testloader = torch.utils.data.DataLoader(testset,batch_size=128,shuffle=False)
classes = ('plane','car','bird','cat','deer','dog','frog','horse','ship','truck')
input_shape = (3,32,32)
if args.net == "resnet18":
START = 0.2
END = 0.81
netnum = 18
elif args.net == "resnet34":
START = 0.2
END = 0.81
netnum = 34
elif args.net == "resnet50":
START = 0.2
END = 0.8
netnum = 50
elif args.net == "resnet101":
START = 0.2
END = 0.8
netnum = 101
elif args.net == "resnet152":
START = 0.21
END = 0.79
netnum = 152
if args.nonuniform:
PRUNE_RATE = np.arange(START,END,(END-START)/(netnum-1))
FC_PRUNE_RATE = END
Model_Name = "ResNet" + str(netnum) + " (Non-uniform Pruning Rate)"
else:
PRUNE_RATE = np.zeros([netnum-1,1]) + 0.5
FC_PRUNE_RATE = 0.5
Model_Name = "ResNet" + str(netnum) + " (Uniform Pruning Rate)"
# -------------- Load Pretrained Model---------------
File_Name = "./model_pkl/" + args.net + ".pkl"
net = torch.load(File_Name, map_location= "cpu")
def RunData():
correct = 0
total = 0
with torch.no_grad():
net.eval()
net.cuda()
for (x,y) in testloader:
xa = x.cuda()
ya = y.cuda()
out = net(xa)
_,predicted = torch.max(out.data,1)
total += y.size(0)
correct += (predicted.cpu() == y).sum()
net.cpu()
Accuracy = 100*correct.cpu().numpy()/total
return Accuracy
def RunData2():
correct = 0
total = 0
for _,layer in net.named_modules():
if isinstance(layer,nn.BatchNorm2d):
layer.track_running_stats=False
with torch.no_grad():
net.eval()
net.cuda()
for (x,y) in testloader:
xa = x.cuda()
ya = y.cuda()
out = net(xa)
_,predicted = torch.max(out.data,1)
total += y.size(0)
correct += (predicted.cpu() == y).sum()
net.cpu()
Accuracy = 100*correct.cpu().numpy()/total
return Accuracy
def prune_filter(layer,PRUNE_RATE):
prune = np.sum(abs(layer),axis = (1,2,3))
sort_prune = np.sort(prune)
mask = np.ones(layer.shape)
for i in range(len(prune)):
if prune[i] < sort_prune[int(np.floor(PRUNE_RATE*len(prune)))]:
mask[i,:] = 0
return mask
def prune_weight(layer,PRUNE_RATE):
layer_flatten_sort = np.sort(abs(layer.flatten()))
mask = np.ones(layer.shape)
for i in range(layer.shape[0]):
for j in range(layer.shape[1]):
if abs(layer[i][j]) < layer_flatten_sort[int(np.floor(PRUNE_RATE*len(layer_flatten_sort)))]:
mask[i][j] = 0
return mask
def Calculate_flop():
FLOP = 0
shape = input_shape[1]
for name,layer in net.named_modules():
if isinstance(layer,nn.Conv2d) and 'shortcut' not in name:
filter_data = layer.weight.data.numpy()
skip = sum(np.sum(abs(filter_data),axis = (1,2,3)) == 0)
filter_shape = layer.weight.data.numpy().shape
padding = layer.padding
stride = layer.stride
n = filter_shape[1] * filter_shape[2] * filter_shape[3] # vector length
fpn = n + (n - 1) # n multiplication, n-1 addition
step_x = np.floor(((shape - filter_shape[2] + 2 * padding[0]) / stride[0]) + 1)
shape = step_x
step = step_x**2
fpf = fpn*step
FLOP += fpf*(filter_shape[0] - skip)
elif isinstance(layer,nn.Linear):
filter_data = layer.weight.data.numpy()
skip = sum(sum(filter_data == 0))
filter_shape = layer.weight.data.numpy().shape
FLOP += 2 * (filter_shape[0] * filter_shape[1] - skip)
return FLOP
ACC_before = RunData()
print("Model Name: " + Model_Name)
print("Accuracy : " + str(ACC_before) + "%")
FLOP_before = Calculate_flop()
if FLOP_before / 1e9 > 1: # for Giga Flops
print("FLOP : %4.2f GFLOP" % (FLOP_before / 1e9))
else:
print("FLOP : %4.2f MFLOP" % (FLOP_before / 1e6))
print(" ")
print(" Start Pruning ")
print("---------------------------------------------------")
print("|Layer| FLOP |#Filter or #Weight|Pruning |Filter|")
print("| No. | Save | before/after | Type | Size |")
print("|-----|--------|------------------|--------|------|")
# pruning
TOTAL_WEIGHT = 0
PRUNE_WEIGHT = 0
i = 0
for parname,layer in net.named_modules():
if isinstance(layer,nn.Conv2d) and 'shortcut' not in parname:
par = layer.weight.data.numpy()
par_size = par.shape
mask = prune_filter(par,PRUNE_RATE[i])
par = (par * mask)
print("| %3i" % (i+1), "|"+
" %5.2f" % float((1-(np.count_nonzero(mask)/mask.size)) * 100) + "% |"+
" %4i" % int((mask.size-np.count_nonzero(mask))/(par_size[1]*par_size[2]*par_size[2])),"/",
"%4i" % int(mask.size/(par_size[1]*par_size[2]*par_size[2])) + " | Filter |"+
" %1ix%1i |" % (par_size[2], par_size[3]))
TOTAL_WEIGHT = TOTAL_WEIGHT + (mask.size/(par_size[1]))
PRUNE_WEIGHT = PRUNE_WEIGHT + ((mask.size-np.count_nonzero(mask))/(par_size[1]))
i = i + 1
layer.weight.data = torch.from_numpy(par).type(torch.FloatTensor)
elif isinstance(layer,nn.Linear):
par = layer.weight.data.numpy()
par_size = par.shape
mask = prune_weight(par,FC_PRUNE_RATE)
par = (par * mask)
print("| %3i" % (i+1), "|"+
" %5.2f" % float((1-(np.count_nonzero(mask)/mask.size)) * 100) + "% |"+
" %5i" % int(mask.size-np.count_nonzero(mask)),"/",
"%5i" % int(mask.size) + " | Weight |" + " none |")
TOTAL_WEIGHT = TOTAL_WEIGHT + (mask.size)
PRUNE_WEIGHT = PRUNE_WEIGHT + (mask.size-np.count_nonzero(mask))
i = i + 1
layer.weight.data = torch.from_numpy(par).type(torch.FloatTensor)
print("---------------------------------------------------")
ACC_after = RunData2()
FLOP_after = Calculate_flop()
print(" ")
print(" After Pruning ")
print("Accuracy : " + str(ACC_before) + "% -> " + str(ACC_after) + "%")
if FLOP_after / 1e9 > 1: # for Giga Flops
if FLOP_before / 1e9 > 1: # for Giga Flops
print("FLOP : %4.2f GFLOP" % (FLOP_before / 1e9) + " -> %4.2f GFLOP" % (FLOP_after / 1e9))
else:
print("FLOP : %4.2f MFLOP" % (FLOP_before / 1e6) + " -> %4.2f GFLOP" % (FLOP_after / 1e9))
else:
if FLOP_before / 1e9 > 1: # for Giga Flops
print("FLOP : %4.2f GFLOP" % (FLOP_before / 1e9) + " -> %4.2f MFLOP" % (FLOP_after / 1e6))
else:
print("FLOP : %4.2f MFLOP" % (FLOP_before / 1e6) + " -> %4.2f MFLOP" % (FLOP_after / 1e6))
print("FLOP save: %5.2f" % (100*(FLOP_before - FLOP_after)/FLOP_before),"%") | [
1,
29871,
13,
5215,
10876,
13,
9675,
29889,
2084,
29889,
4397,
877,
6904,
14968,
29918,
4299,
1495,
13,
13,
5215,
4842,
305,
13,
5215,
4842,
305,
29889,
15755,
408,
302,
29876,
13,
5215,
4842,
305,
29889,
15755,
29889,
2220,
284,
408,
383,
13,
5215,
4842,
305,
4924,
13,
5215,
4842,
305,
4924,
29889,
9067,
29879,
408,
4327,
29879,
13,
5215,
12655,
408,
7442,
13,
13,
5215,
2897,
13,
5215,
1852,
5510,
13,
13,
16680,
353,
1852,
5510,
29889,
15730,
11726,
29898,
8216,
2433,
29909,
1388,
415,
573,
8527,
317,
2576,
4056,
1495,
13,
16680,
29889,
1202,
29918,
23516,
877,
29899,
1212,
742,
1134,
29922,
710,
29892,
1371,
2433,
1457,
3018,
1312,
282,
6321,
934,
1495,
13,
16680,
29889,
1202,
29918,
23516,
877,
489,
5464,
29590,
742,
3158,
2433,
8899,
29918,
3009,
742,
1371,
2433,
842,
1661,
29899,
29590,
544,
27964,
6554,
1495,
13,
5085,
353,
13812,
29889,
5510,
29918,
5085,
580,
13,
13,
29937,
515,
4733,
1053,
334,
13,
13,
9067,
29918,
1688,
353,
4327,
29879,
29889,
1523,
4220,
29898,
13,
1678,
518,
9067,
29879,
29889,
1762,
29911,
6073,
3285,
13,
1678,
4327,
29879,
29889,
19077,
675,
3552,
29900,
29889,
29946,
29929,
29896,
29946,
29892,
29871,
29900,
29889,
29946,
29947,
29906,
29906,
29892,
29871,
29900,
29889,
29946,
29946,
29953,
29945,
511,
313,
29900,
29889,
29906,
29900,
29906,
29941,
29892,
29871,
29900,
29889,
29896,
29929,
29929,
29946,
29892,
29871,
29900,
29889,
29906,
29900,
29896,
29900,
876,
2314,
13,
13,
1688,
842,
353,
4842,
305,
4924,
29889,
14538,
1691,
29889,
29907,
6545,
1718,
29896,
29900,
29898,
4632,
2433,
6904,
29883,
361,
279,
29896,
29900,
742,
14968,
29922,
8824,
29892,
10382,
29922,
5574,
29892,
9067,
29922,
9067,
29918,
1688,
29897,
13,
1688,
12657,
353,
4842,
305,
29889,
13239,
29889,
1272,
29889,
1469,
10036,
29898,
1688,
842,
29892,
16175,
29918,
2311,
29922,
29896,
29906,
29947,
29892,
845,
21897,
29922,
8824,
29897,
13,
13,
13203,
353,
6702,
22116,
3788,
4287,
3788,
18513,
3788,
4117,
3788,
311,
261,
3788,
26169,
3788,
29888,
9102,
3788,
2015,
344,
3788,
3527,
3788,
509,
2707,
1495,
13,
13,
2080,
29918,
12181,
353,
313,
29941,
29892,
29941,
29906,
29892,
29941,
29906,
29897,
13,
361,
29871,
6389,
29889,
1212,
1275,
376,
690,
1212,
29896,
29947,
1115,
13,
1678,
6850,
8322,
353,
29871,
29900,
29889,
29906,
13,
1678,
11056,
353,
29871,
29900,
29889,
29947,
29896,
13,
1678,
7787,
1949,
353,
29871,
29896,
29947,
13,
23681,
6389,
29889,
1212,
1275,
376,
690,
1212,
29941,
29946,
1115,
13,
1678,
6850,
8322,
353,
29871,
29900,
29889,
29906,
13,
1678,
11056,
353,
29871,
29900,
29889,
29947,
29896,
13,
1678,
7787,
1949,
353,
29871,
29941,
29946,
13,
23681,
6389,
29889,
1212,
1275,
376,
690,
1212,
29945,
29900,
1115,
13,
1678,
6850,
8322,
353,
29871,
29900,
29889,
29906,
13,
1678,
11056,
353,
29871,
29900,
29889,
29947,
13,
1678,
7787,
1949,
353,
29871,
29945,
29900,
13,
23681,
6389,
29889,
1212,
1275,
376,
690,
1212,
29896,
29900,
29896,
1115,
13,
1678,
6850,
8322,
353,
29871,
29900,
29889,
29906,
13,
1678,
11056,
353,
29871,
29900,
29889,
29947,
13,
1678,
7787,
1949,
353,
29871,
29896,
29900,
29896,
13,
23681,
6389,
29889,
1212,
1275,
376,
690,
1212,
29896,
29945,
29906,
1115,
13,
1678,
6850,
8322,
353,
29871,
29900,
29889,
29906,
29896,
13,
1678,
11056,
353,
29871,
29900,
29889,
29955,
29929,
13,
1678,
7787,
1949,
353,
29871,
29896,
29945,
29906,
13,
13,
361,
6389,
29889,
5464,
29590,
29901,
13,
1678,
12089,
3904,
29923,
29918,
29934,
3040,
353,
7442,
29889,
279,
927,
29898,
25826,
29892,
11794,
22657,
11794,
29899,
25826,
6802,
29898,
1212,
1949,
29899,
29896,
876,
13,
1678,
7992,
29918,
10593,
3904,
29923,
29918,
29934,
3040,
353,
11056,
13,
1678,
8125,
29918,
1170,
353,
376,
1666,
6779,
29908,
718,
851,
29898,
1212,
1949,
29897,
718,
376,
313,
12283,
29899,
29590,
1588,
27964,
390,
403,
5513,
13,
2870,
29901,
13,
1678,
12089,
3904,
29923,
29918,
29934,
3040,
353,
7442,
29889,
3298,
359,
4197,
1212,
1949,
29899,
29896,
29892,
29896,
2314,
718,
29871,
29900,
29889,
29945,
13,
1678,
7992,
29918,
10593,
3904,
29923,
29918,
29934,
3040,
353,
29871,
29900,
29889,
29945,
13,
1678,
8125,
29918,
1170,
353,
376,
1666,
6779,
29908,
718,
851,
29898,
1212,
1949,
29897,
718,
376,
313,
2525,
5560,
1588,
27964,
390,
403,
5513,
13,
13,
29937,
448,
9072,
29899,
16012,
349,
2267,
22042,
8125,
9072,
5634,
13,
2283,
29918,
1170,
353,
376,
6904,
4299,
29918,
29886,
6321,
12975,
718,
6389,
29889,
1212,
718,
11393,
29886,
6321,
29908,
13,
1212,
353,
4842,
305,
29889,
1359,
29898,
2283,
29918,
1170,
29892,
2910,
29918,
5479,
29922,
376,
21970,
1159,
13,
13,
1753,
7525,
1469,
7295,
13,
1678,
1959,
353,
29871,
29900,
13,
1678,
3001,
353,
29871,
29900,
13,
1678,
411,
4842,
305,
29889,
1217,
29918,
5105,
7295,
13,
4706,
7787,
29889,
14513,
580,
13,
4706,
7787,
29889,
29883,
6191,
580,
13,
4706,
363,
313,
29916,
29892,
29891,
29897,
297,
1243,
12657,
29901,
13,
9651,
921,
29874,
353,
921,
29889,
29883,
6191,
580,
13,
9651,
9343,
353,
343,
29889,
29883,
6191,
580,
13,
9651,
714,
353,
7787,
29898,
17367,
29897,
13,
9651,
17117,
11965,
18186,
353,
4842,
305,
29889,
3317,
29898,
449,
29889,
1272,
29892,
29896,
29897,
13,
9651,
3001,
4619,
343,
29889,
2311,
29898,
29900,
29897,
13,
9651,
1959,
4619,
313,
11965,
18186,
29889,
21970,
580,
1275,
343,
467,
2083,
580,
13,
1678,
7787,
29889,
21970,
580,
13,
1678,
4831,
332,
4135,
353,
29871,
29896,
29900,
29900,
29930,
15728,
29889,
21970,
2141,
23749,
580,
29914,
7827,
13,
1678,
736,
4831,
332,
4135,
13,
13,
1753,
7525,
1469,
29906,
7295,
13,
1678,
1959,
353,
29871,
29900,
13,
1678,
3001,
353,
29871,
29900,
13,
1678,
363,
17117,
13148,
297,
7787,
29889,
17514,
29918,
7576,
7295,
13,
4706,
565,
338,
8758,
29898,
13148,
29892,
15755,
29889,
23145,
29940,
555,
29906,
29881,
1125,
13,
9651,
7546,
29889,
11294,
29918,
21094,
29918,
16202,
29922,
8824,
13,
13,
1678,
411,
4842,
305,
29889,
1217,
29918,
5105,
7295,
13,
4706,
7787,
29889,
14513,
580,
13,
4706,
7787,
29889,
29883,
6191,
580,
13,
4706,
363,
313,
29916,
29892,
29891,
29897,
297,
1243,
12657,
29901,
13,
9651,
921,
29874,
353,
921,
29889,
29883,
6191,
580,
13,
9651,
9343,
353,
343,
29889,
29883,
6191,
580,
13,
9651,
714,
353,
7787,
29898,
17367,
29897,
13,
9651,
17117,
11965,
18186,
353,
4842,
305,
29889,
3317,
29898,
449,
29889,
1272,
29892,
29896,
29897,
13,
9651,
3001,
4619,
343,
29889,
2311,
29898,
29900,
29897,
13,
9651,
1959,
4619,
313,
11965,
18186,
29889,
21970,
580,
1275,
343,
467,
2083,
580,
13,
4706,
7787,
29889,
21970,
580,
13,
4706,
4831,
332,
4135,
353,
29871,
29896,
29900,
29900,
29930,
15728,
29889,
21970,
2141,
23749,
580,
29914,
7827,
13,
1678,
736,
4831,
332,
4135,
13,
13,
1753,
544,
1540,
29918,
4572,
29898,
13148,
29892,
10593,
3904,
29923,
29918,
29934,
3040,
1125,
13,
1678,
544,
1540,
353,
7442,
29889,
2083,
29898,
6897,
29898,
13148,
511,
8990,
353,
313,
29896,
29892,
29906,
29892,
29941,
876,
13,
1678,
2656,
29918,
558,
1540,
353,
7442,
29889,
6605,
29898,
558,
1540,
29897,
13,
1678,
11105,
353,
7442,
29889,
2873,
29898,
13148,
29889,
12181,
29897,
13,
1678,
363,
474,
297,
3464,
29898,
2435,
29898,
558,
1540,
22164,
13,
4706,
565,
544,
1540,
29961,
29875,
29962,
529,
2656,
29918,
558,
1540,
29961,
524,
29898,
9302,
29889,
14939,
29898,
10593,
3904,
29923,
29918,
29934,
3040,
29930,
2435,
29898,
558,
1540,
876,
4638,
29901,
13,
9651,
11105,
29961,
29875,
29892,
17531,
353,
29871,
29900,
13,
1678,
736,
11105,
13,
13,
1753,
544,
1540,
29918,
7915,
29898,
13148,
29892,
10593,
3904,
29923,
29918,
29934,
3040,
1125,
13,
1678,
7546,
29918,
1579,
8606,
29918,
6605,
353,
7442,
29889,
6605,
29898,
6897,
29898,
13148,
29889,
1579,
8606,
22130,
13,
1678,
11105,
353,
7442,
29889,
2873,
29898,
13148,
29889,
12181,
29897,
13,
1678,
363,
474,
297,
3464,
29898,
13148,
29889,
12181,
29961,
29900,
29962,
1125,
13,
4706,
363,
432,
297,
3464,
29898,
13148,
29889,
12181,
29961,
29896,
29962,
1125,
13,
9651,
565,
6425,
29898,
13148,
29961,
29875,
3816,
29926,
2314,
529,
7546,
29918,
1579,
8606,
29918,
6605,
29961,
524,
29898,
9302,
29889,
14939,
29898,
10593,
3904,
29923,
29918,
29934,
3040,
29930,
2435,
29898,
13148,
29918,
1579,
8606,
29918,
6605,
876,
4638,
29901,
13,
18884,
11105,
29961,
29875,
3816,
29926,
29962,
353,
29871,
29900,
13,
1678,
736,
11105,
13,
13,
1753,
20535,
403,
29918,
29888,
4757,
7295,
13,
1678,
383,
3927,
29925,
353,
29871,
29900,
13,
1678,
8267,
353,
1881,
29918,
12181,
29961,
29896,
29962,
13,
1678,
363,
1024,
29892,
13148,
297,
7787,
29889,
17514,
29918,
7576,
7295,
13,
4706,
565,
338,
8758,
29898,
13148,
29892,
15755,
29889,
1168,
29894,
29906,
29881,
29897,
322,
525,
12759,
7582,
29915,
451,
297,
1024,
29901,
13,
9651,
4175,
29918,
1272,
353,
7546,
29889,
7915,
29889,
1272,
29889,
23749,
580,
13,
9651,
14383,
353,
2533,
29898,
9302,
29889,
2083,
29898,
6897,
29898,
4572,
29918,
1272,
511,
8990,
353,
313,
29896,
29892,
29906,
29892,
29941,
876,
1275,
29871,
29900,
29897,
13,
9651,
4175,
29918,
12181,
353,
7546,
29889,
7915,
29889,
1272,
29889,
23749,
2141,
12181,
13,
9651,
7164,
353,
7546,
29889,
12791,
13,
9651,
380,
2426,
353,
7546,
29889,
303,
2426,
13,
9651,
302,
353,
4175,
29918,
12181,
29961,
29896,
29962,
334,
4175,
29918,
12181,
29961,
29906,
29962,
334,
4175,
29918,
12181,
29961,
29941,
29962,
396,
4608,
3309,
13,
9651,
285,
21257,
353,
302,
718,
313,
29876,
448,
29871,
29896,
29897,
268,
396,
302,
21666,
29892,
302,
29899,
29896,
6124,
13,
9651,
4331,
29918,
29916,
353,
7442,
29889,
14939,
3552,
29898,
12181,
448,
4175,
29918,
12181,
29961,
29906,
29962,
718,
29871,
29906,
334,
7164,
29961,
29900,
2314,
847,
380,
2426,
29961,
29900,
2314,
718,
29871,
29896,
29897,
13,
9651,
8267,
353,
4331,
29918,
29916,
13,
9651,
4331,
353,
4331,
29918,
29916,
1068,
29906,
13,
9651,
285,
7810,
353,
285,
21257,
29930,
10568,
13,
9651,
383,
3927,
29925,
4619,
285,
7810,
16395,
4572,
29918,
12181,
29961,
29900,
29962,
448,
14383,
29897,
13,
268,
13,
4706,
25342,
338,
8758,
29898,
13148,
29892,
15755,
29889,
12697,
1125,
13,
9651,
4175,
29918,
1272,
353,
7546,
29889,
7915,
29889,
1272,
29889,
23749,
580,
13,
9651,
14383,
353,
2533,
29898,
2083,
29898,
4572,
29918,
1272,
1275,
29871,
29900,
876,
13,
9651,
4175,
29918,
12181,
353,
7546,
29889,
7915,
29889,
1272,
29889,
23749,
2141,
12181,
13,
9651,
383,
3927,
29925,
4619,
29871,
29906,
334,
313,
4572,
29918,
12181,
29961,
29900,
29962,
334,
4175,
29918,
12181,
29961,
29896,
29962,
448,
14383,
29897,
13,
1678,
736,
383,
3927,
29925,
13,
13,
2477,
29907,
29918,
11083,
353,
7525,
1469,
580,
13,
2158,
703,
3195,
4408,
29901,
376,
718,
8125,
29918,
1170,
29897,
13,
2158,
703,
7504,
332,
4135,
29871,
584,
376,
718,
851,
29898,
2477,
29907,
29918,
11083,
29897,
718,
11860,
1159,
13,
29943,
3927,
29925,
29918,
11083,
353,
20535,
403,
29918,
29888,
4757,
580,
13,
361,
383,
3927,
29925,
29918,
11083,
847,
29871,
29896,
29872,
29929,
1405,
29871,
29896,
29901,
259,
396,
363,
402,
4324,
26043,
567,
13,
1678,
1596,
703,
29943,
3927,
29925,
418,
584,
1273,
29946,
29889,
29906,
29888,
402,
29943,
3927,
29925,
29908,
1273,
313,
29943,
3927,
29925,
29918,
11083,
847,
29871,
29896,
29872,
29929,
876,
13,
2870,
29901,
13,
1678,
1596,
703,
29943,
3927,
29925,
418,
584,
1273,
29946,
29889,
29906,
29888,
341,
29943,
3927,
29925,
29908,
1273,
313,
29943,
3927,
29925,
29918,
11083,
847,
29871,
29896,
29872,
29953,
876,
13,
13,
2158,
703,
462,
462,
462,
259,
16521,
13,
2158,
703,
462,
259,
7370,
1588,
27964,
462,
259,
16521,
13,
2158,
703,
2683,
2683,
2683,
5634,
1159,
13,
2158,
703,
29989,
14420,
29989,
29871,
383,
3927,
29925,
29871,
891,
29937,
5072,
470,
396,
22676,
29989,
29925,
3389,
292,
891,
5072,
29989,
1159,
13,
2158,
703,
29989,
1939,
29889,
891,
29871,
16913,
29871,
891,
259,
1434,
29914,
7045,
259,
891,
5167,
259,
891,
21179,
891,
1159,
13,
2158,
703,
29989,
23648,
29989,
1378,
29989,
2683,
489,
29989,
1378,
29989,
22158,
29989,
1159,
13,
13,
29937,
544,
27964,
13,
29911,
2891,
1964,
29918,
8851,
22530,
353,
29871,
29900,
13,
10593,
3904,
29923,
29918,
8851,
22530,
353,
29871,
29900,
13,
29875,
353,
29871,
29900,
13,
1454,
610,
978,
29892,
13148,
297,
7787,
29889,
17514,
29918,
7576,
7295,
13,
13,
1678,
565,
338,
8758,
29898,
13148,
29892,
15755,
29889,
1168,
29894,
29906,
29881,
29897,
322,
525,
12759,
7582,
29915,
451,
297,
610,
978,
29901,
13,
4706,
610,
353,
7546,
29889,
7915,
29889,
1272,
29889,
23749,
580,
13,
4706,
610,
29918,
2311,
353,
610,
29889,
12181,
13,
259,
13,
4706,
11105,
353,
544,
1540,
29918,
4572,
29898,
862,
29892,
10593,
3904,
29923,
29918,
29934,
3040,
29961,
29875,
2314,
13,
4706,
610,
353,
313,
862,
334,
11105,
29897,
13,
4706,
1596,
703,
29989,
1273,
29941,
29875,
29908,
1273,
313,
29875,
29974,
29896,
511,
376,
29989,
17969,
29871,
13,
795,
376,
1273,
29945,
29889,
29906,
29888,
29908,
1273,
5785,
3552,
29896,
17722,
9302,
29889,
2798,
29918,
5464,
9171,
29898,
13168,
6802,
13168,
29889,
2311,
876,
334,
29871,
29896,
29900,
29900,
29897,
718,
11860,
891,
17969,
13,
795,
376,
1678,
1273,
29946,
29875,
29908,
1273,
938,
3552,
13168,
29889,
2311,
29899,
9302,
29889,
2798,
29918,
5464,
9171,
29898,
13168,
876,
14571,
862,
29918,
2311,
29961,
29896,
14178,
862,
29918,
2311,
29961,
29906,
14178,
862,
29918,
2311,
29961,
29906,
2314,
511,
23901,
613,
13,
795,
11860,
29946,
29875,
29908,
1273,
938,
29898,
13168,
29889,
2311,
14571,
862,
29918,
2311,
29961,
29896,
14178,
862,
29918,
2311,
29961,
29906,
14178,
862,
29918,
2311,
29961,
29906,
12622,
718,
376,
259,
891,
19916,
891,
17969,
13,
795,
376,
1273,
29896,
861,
29995,
29896,
29875,
29871,
891,
29908,
1273,
313,
862,
29918,
2311,
29961,
29906,
1402,
610,
29918,
2311,
29961,
29941,
12622,
13,
4706,
323,
2891,
1964,
29918,
8851,
22530,
353,
323,
2891,
1964,
29918,
8851,
22530,
718,
313,
13168,
29889,
2311,
14571,
862,
29918,
2311,
29961,
29896,
12622,
13,
4706,
12089,
3904,
29923,
29918,
8851,
22530,
353,
12089,
3904,
29923,
29918,
8851,
22530,
718,
5135,
13168,
29889,
2311,
29899,
9302,
29889,
2798,
29918,
5464,
9171,
29898,
13168,
876,
14571,
862,
29918,
2311,
29961,
29896,
12622,
13,
4706,
474,
353,
474,
718,
29871,
29896,
13,
4706,
7546,
29889,
7915,
29889,
1272,
353,
4842,
305,
29889,
3166,
29918,
23749,
29898,
862,
467,
1853,
29898,
7345,
305,
29889,
11031,
29911,
6073,
29897,
13,
13,
1678,
25342,
338,
8758,
29898,
13148,
29892,
15755,
29889,
12697,
1125,
13,
4706,
610,
353,
7546,
29889,
7915,
29889,
1272,
29889,
23749,
580,
13,
4706,
610,
29918,
2311,
353,
610,
29889,
12181,
13,
4706,
11105,
353,
544,
1540,
29918,
7915,
29898,
862,
29892,
8610,
29918,
10593,
3904,
29923,
29918,
29934,
3040,
29897,
13,
4706,
610,
353,
313,
862,
334,
11105,
29897,
13,
4706,
1596,
703,
29989,
1273,
29941,
29875,
29908,
1273,
313,
29875,
29974,
29896,
511,
376,
29989,
17969,
29871,
13,
795,
376,
1273,
29945,
29889,
29906,
29888,
29908,
1273,
5785,
3552,
29896,
17722,
9302,
29889,
2798,
29918,
5464,
9171,
29898,
13168,
6802,
13168,
29889,
2311,
876,
334,
29871,
29896,
29900,
29900,
29897,
718,
11860,
891,
17969,
13,
795,
376,
259,
1273,
29945,
29875,
29908,
1273,
938,
29898,
13168,
29889,
2311,
29899,
9302,
29889,
2798,
29918,
5464,
9171,
29898,
13168,
8243,
23901,
613,
13,
795,
11860,
29945,
29875,
29908,
1273,
938,
29898,
13168,
29889,
2311,
29897,
718,
376,
29871,
891,
1334,
523,
891,
29908,
718,
376,
5642,
891,
1159,
13,
4706,
323,
2891,
1964,
29918,
8851,
22530,
353,
323,
2891,
1964,
29918,
8851,
22530,
718,
313,
13168,
29889,
2311,
29897,
13,
4706,
12089,
3904,
29923,
29918,
8851,
22530,
353,
12089,
3904,
29923,
29918,
8851,
22530,
718,
313,
13168,
29889,
2311,
29899,
9302,
29889,
2798,
29918,
5464,
9171,
29898,
13168,
876,
13,
4706,
474,
353,
474,
718,
29871,
29896,
13,
4706,
7546,
29889,
7915,
29889,
1272,
353,
4842,
305,
29889,
3166,
29918,
23749,
29898,
862,
467,
1853,
29898,
7345,
305,
29889,
11031,
29911,
6073,
29897,
13,
13,
2158,
703,
2683,
2683,
2683,
5634,
1159,
13,
2477,
29907,
29918,
7045,
353,
7525,
1469,
29906,
580,
13,
29943,
3927,
29925,
29918,
7045,
353,
20535,
403,
29918,
29888,
4757,
580,
13,
2158,
703,
462,
462,
462,
259,
16521,
13,
2158,
703,
462,
259,
2860,
1588,
27964,
462,
259,
16521,
13,
2158,
703,
7504,
332,
4135,
584,
376,
718,
851,
29898,
2477,
29907,
29918,
11083,
29897,
718,
11860,
1599,
376,
718,
851,
29898,
2477,
29907,
29918,
7045,
29897,
718,
11860,
1159,
13,
361,
383,
3927,
29925,
29918,
7045,
847,
29871,
29896,
29872,
29929,
1405,
29871,
29896,
29901,
259,
396,
363,
402,
4324,
26043,
567,
13,
1678,
565,
383,
3927,
29925,
29918,
11083,
847,
29871,
29896,
29872,
29929,
1405,
29871,
29896,
29901,
259,
396,
363,
402,
4324,
26043,
567,
13,
4706,
1596,
703,
29943,
3927,
29925,
268,
584,
1273,
29946,
29889,
29906,
29888,
402,
29943,
3927,
29925,
29908,
1273,
313,
29943,
3927,
29925,
29918,
11083,
847,
29871,
29896,
29872,
29929,
29897,
718,
376,
1599,
1273,
29946,
29889,
29906,
29888,
402,
29943,
3927,
29925,
29908,
1273,
313,
29943,
3927,
29925,
29918,
7045,
847,
29871,
29896,
29872,
29929,
876,
13,
1678,
1683,
29901,
13,
4706,
1596,
703,
29943,
3927,
29925,
268,
584,
1273,
29946,
29889,
29906,
29888,
341,
29943,
3927,
29925,
29908,
1273,
313,
29943,
3927,
29925,
29918,
11083,
847,
29871,
29896,
29872,
29953,
29897,
718,
376,
1599,
1273,
29946,
29889,
29906,
29888,
402,
29943,
3927,
29925,
29908,
1273,
313,
29943,
3927,
29925,
29918,
7045,
847,
29871,
29896,
29872,
29929,
876,
13,
2870,
29901,
13,
1678,
565,
383,
3927,
29925,
29918,
11083,
847,
29871,
29896,
29872,
29929,
1405,
29871,
29896,
29901,
259,
396,
363,
402,
4324,
26043,
567,
13,
4706,
1596,
703,
29943,
3927,
29925,
268,
584,
1273,
29946,
29889,
29906,
29888,
402,
29943,
3927,
29925,
29908,
1273,
313,
29943,
3927,
29925,
29918,
11083,
847,
29871,
29896,
29872,
29929,
29897,
718,
376,
1599,
1273,
29946,
29889,
29906,
29888,
341,
29943,
3927,
29925,
29908,
1273,
313,
29943,
3927,
29925,
29918,
7045,
847,
29871,
29896,
29872,
29953,
876,
13,
1678,
1683,
29901,
13,
4706,
1596,
703,
29943,
3927,
29925,
268,
584,
1273,
29946,
29889,
29906,
29888,
341,
29943,
3927,
29925,
29908,
1273,
313,
29943,
3927,
29925,
29918,
11083,
847,
29871,
29896,
29872,
29953,
29897,
718,
376,
1599,
1273,
29946,
29889,
29906,
29888,
341,
29943,
3927,
29925,
29908,
1273,
313,
29943,
3927,
29925,
29918,
7045,
847,
29871,
29896,
29872,
29953,
876,
13,
13,
2158,
703,
29943,
3927,
29925,
4078,
29901,
1273,
29945,
29889,
29906,
29888,
29908,
1273,
313,
29896,
29900,
29900,
16395,
29943,
3927,
29925,
29918,
11083,
448,
383,
3927,
29925,
29918,
7045,
6802,
29943,
3927,
29925,
29918,
11083,
511,
29908,
29995,
1159,
2
] |
tests/test_request_helpers.py | fraymio/modis-tools | 2 | 1610352 | from datetime import timedelta
import sys
import pytest
try:
import shapely
import shapely.geometry
SHAPELY_TYPES = (
shapely.geometry.GeometryCollection,
shapely.geometry.LineString,
shapely.geometry.LinearRing,
shapely.geometry.MultiPolygon,
shapely.geometry.Point,
shapely.geometry.Polygon,
)
except ImportError:
...
try:
from osgeo import ogr
except ImportError:
...
from modis_tools.request_helpers import DateParams, SpatialQuery
NEED_OSGEO = "Requires installation of osgeo"
NEED_SHAPELY = "Requires installation of shapely"
class TestDateParams:
def test_with_one_date_raises_error(self):
with pytest.raises(Exception):
DateParams()
def test_time_delta_is_correct(self):
DateParams("2005-01-01", "2005-01-02", timedelta(days=1))
def test_start_after_end_raises_error(self):
with pytest.raises(Exception):
DateParams("2005-01-01", "2005-01-02", timedelta(days=2))
def test_can_infer_time_delta(self):
d = DateParams("2005-01-01", "2005-01-02")
assert d.time_delta == timedelta(days=1)
class TestSpatialQuery:
@pytest.mark.skipif("shapely" not in sys.modules, reason=NEED_SHAPELY)
def test_can_update_shapely_types(self):
for t in SHAPELY_TYPES:
assert issubclass(
t, shapely.geometry.base.BaseGeometry
), f"Shapely no longer considers {t} as a `BaseGeometry`. `SpatialQuery()` must be updated accordingly"
def test_can_parse_nga_list_bbox(self):
bbox = [2.1448863675, 4.002583177, 15.289420717, 14.275061098]
query = SpatialQuery(spatial=None, bounding_box=bbox)
assert query.coordinates == "2.1448863675,4.002583177,15.289420717,14.275061098"
assert query.geom_type == "bounding_box"
def test_parse_mock_list_bbox(self):
bbox = [1.2, 3.4, 5.6, 7.8]
query = SpatialQuery(spatial=None, bounding_box=bbox)
assert query.coordinates == "1.2,3.4,5.6,7.8"
assert query.geom_type == "bounding_box"
def test_parse_mock_tuple_bbox(self):
bbox = (1.2, 3.4, 5.6, 7.8)
query = SpatialQuery(spatial=None, bounding_box=bbox)
assert query.coordinates == "1.2,3.4,5.6,7.8"
assert query.geom_type == "bounding_box"
def test_parse_inverted_mock_list_bbox_fails(self):
bbox = [10, 10, 0, 0]
with pytest.raises(AssertionError):
query = SpatialQuery(spatial=None, bounding_box=bbox)
@pytest.mark.skipif("osgeo" not in sys.modules, reason=NEED_OSGEO)
def test_can_parse_bbox_from_gdal_bbox(self):
bbox = ogr.Geometry(ogr.wkbLinearRing)
bbox.AddPoint(1, 1)
bbox.AddPoint(1, 2)
bbox.AddPoint(2, 2)
bbox.AddPoint(2, 1)
query = SpatialQuery(spatial=None, bounding_box=bbox)
assert query.coordinates == "1.0,1.0,2.0,2.0"
assert query.geom_type == "bounding_box"
@pytest.mark.skipif("osgeo" not in sys.modules, reason=NEED_OSGEO)
def test_can_parse_spatial_from_gdal_bbox(self):
wkt = "POLYGON ((5 30, 5 33, 2 33, 2 30, 5 30))"
spatial = ogr.CreateGeometryFromWkt(wkt)
query = SpatialQuery(spatial=spatial, bounding_box=None)
assert (
query.coordinates
== "5.0000,30.0000,5.0000,33.0000,2.0000,33.0000,2.0000,30.0000,5.0000,30.0000"
)
assert query.geom_type == "polygon"
@pytest.mark.skipif("osgeo" not in sys.modules, reason=NEED_OSGEO)
def test_can_parse_bbox_from_gdal_diamond_polygon(self):
# Create a pentagon
bbox = ogr.Geometry(ogr.wkbLinearRing)
bbox.AddPoint(1, 2)
bbox.AddPoint(2, 3)
bbox.AddPoint(3, 2)
bbox.AddPoint(2, 1)
query = SpatialQuery(spatial=None, bounding_box=bbox)
assert query.coordinates == "1.0,1.0,3.0,3.0"
assert query.geom_type == "bounding_box"
@pytest.mark.skipif("osgeo" not in sys.modules, reason=NEED_OSGEO)
def test_can_parse_spatial_from_gdal_multipoligon(self):
multipolygon = ogr.Geometry(ogr.wkbMultiPolygon)
# Create ring #1
ring1 = ogr.Geometry(ogr.wkbLinearRing)
ring1.AddPoint(12.0, 63.0)
ring1.AddPoint(12.0, 62.0)
ring1.AddPoint(13.0, 62.0)
ring1.AddPoint(13.0, 63.0)
ring1.AddPoint(12.0, 63.0)
# Create polygon #1
poly1 = ogr.Geometry(ogr.wkbPolygon)
poly1.AddGeometry(ring1)
multipolygon.AddGeometry(poly1)
# Create ring #2
ring2 = ogr.Geometry(ogr.wkbLinearRing)
ring2.AddPoint(11.0, 64.0)
ring2.AddPoint(11.0, 62.0)
ring2.AddPoint(12.5, 62.0)
ring2.AddPoint(12.5, 64.0)
ring2.AddPoint(11.0, 64.0)
# Create polygon #2
poly2 = ogr.Geometry(ogr.wkbPolygon)
poly2.AddGeometry(ring2)
multipolygon.AddGeometry(poly2)
query = SpatialQuery(spatial=multipolygon, bounding_box=None)
assert (
query.coordinates
== "11.0000,62.0000,0.0000,13.0000,62.0000,0.0000,13.0000,63.0000,0.0000,12.5000,64.0000,0.0000,11.0000,64.0000,0.0000,11.0000,62.0000,0.0000"
)
assert query.geom_type == "polygon"
@pytest.mark.skipif("shapely" not in sys.modules, reason=NEED_SHAPELY)
def test_can_parse_bbox_from_shapely_box(self):
bbox = shapely.geometry.box(2, 30, 5, 33)
assert isinstance(bbox, shapely.geometry.base.BaseGeometry)
query = SpatialQuery(spatial=None, bounding_box=bbox)
assert query.coordinates == "2.0,30.0,5.0,33.0"
assert query.geom_type == "bounding_box"
@pytest.mark.skipif("shapely" not in sys.modules, reason=NEED_SHAPELY)
def test_can_parse_bbox_from_shapely_wkt(self):
bbox = shapely.wkt.loads("POLYGON ((5 30, 5 33, 2 33, 2 30, 5 30))")
assert isinstance(bbox, shapely.geometry.base.BaseGeometry)
query = SpatialQuery(spatial=None, bounding_box=bbox)
assert query.coordinates == "2.0,30.0,5.0,33.0"
assert query.geom_type == "bounding_box"
@pytest.mark.skipif("shapely" not in sys.modules, reason=NEED_SHAPELY)
def test_can_parse_spatial_from_shapely_wkt(self):
spatial = shapely.wkt.loads("POLYGON ((5 30, 5 33, 2 33, 2 30, 5 30))")
assert isinstance(spatial, shapely.geometry.base.BaseGeometry)
query = SpatialQuery(spatial=spatial, bounding_box=None)
assert (
query.coordinates
== "5.0000,30.0000,5.0000,33.0000,2.0000,33.0000,2.0000,30.0000,5.0000,30.0000"
)
assert query.geom_type == "polygon"
| [
1,
515,
12865,
1053,
5335,
287,
2554,
13,
5215,
10876,
13,
13,
5215,
11451,
1688,
13,
13,
2202,
29901,
13,
1678,
1053,
528,
481,
873,
13,
1678,
1053,
528,
481,
873,
29889,
19156,
13,
13,
1678,
24972,
3301,
6670,
29979,
29918,
15631,
29925,
2890,
353,
313,
13,
4706,
528,
481,
873,
29889,
19156,
29889,
7999,
7843,
7196,
29892,
13,
4706,
528,
481,
873,
29889,
19156,
29889,
3542,
1231,
29892,
13,
4706,
528,
481,
873,
29889,
19156,
29889,
12697,
29934,
292,
29892,
13,
4706,
528,
481,
873,
29889,
19156,
29889,
15329,
7713,
17125,
29892,
13,
4706,
528,
481,
873,
29889,
19156,
29889,
5228,
29892,
13,
4706,
528,
481,
873,
29889,
19156,
29889,
7713,
17125,
29892,
13,
1678,
1723,
13,
19499,
16032,
2392,
29901,
13,
1678,
2023,
13,
13,
2202,
29901,
13,
1678,
515,
2897,
24756,
1053,
288,
629,
13,
19499,
16032,
2392,
29901,
13,
1678,
2023,
13,
13,
3166,
878,
275,
29918,
8504,
29889,
3827,
29918,
3952,
6774,
1053,
4712,
9629,
29892,
1706,
15238,
3010,
13,
13,
8186,
3352,
29918,
3267,
1692,
29949,
353,
376,
1123,
339,
2658,
11161,
310,
2897,
24756,
29908,
13,
8186,
3352,
29918,
7068,
3301,
6670,
29979,
353,
376,
1123,
339,
2658,
11161,
310,
528,
481,
873,
29908,
13,
13,
1990,
4321,
2539,
9629,
29901,
13,
1678,
822,
1243,
29918,
2541,
29918,
650,
29918,
1256,
29918,
336,
4637,
29918,
2704,
29898,
1311,
1125,
13,
4706,
411,
11451,
1688,
29889,
336,
4637,
29898,
2451,
1125,
13,
9651,
4712,
9629,
580,
13,
13,
1678,
822,
1243,
29918,
2230,
29918,
4181,
29918,
275,
29918,
15728,
29898,
1311,
1125,
13,
4706,
4712,
9629,
703,
29906,
29900,
29900,
29945,
29899,
29900,
29896,
29899,
29900,
29896,
613,
376,
29906,
29900,
29900,
29945,
29899,
29900,
29896,
29899,
29900,
29906,
613,
5335,
287,
2554,
29898,
16700,
29922,
29896,
876,
13,
13,
1678,
822,
1243,
29918,
2962,
29918,
7045,
29918,
355,
29918,
336,
4637,
29918,
2704,
29898,
1311,
1125,
13,
4706,
411,
11451,
1688,
29889,
336,
4637,
29898,
2451,
1125,
13,
9651,
4712,
9629,
703,
29906,
29900,
29900,
29945,
29899,
29900,
29896,
29899,
29900,
29896,
613,
376,
29906,
29900,
29900,
29945,
29899,
29900,
29896,
29899,
29900,
29906,
613,
5335,
287,
2554,
29898,
16700,
29922,
29906,
876,
13,
13,
1678,
822,
1243,
29918,
3068,
29918,
262,
571,
29918,
2230,
29918,
4181,
29898,
1311,
1125,
13,
4706,
270,
353,
4712,
9629,
703,
29906,
29900,
29900,
29945,
29899,
29900,
29896,
29899,
29900,
29896,
613,
376,
29906,
29900,
29900,
29945,
29899,
29900,
29896,
29899,
29900,
29906,
1159,
13,
4706,
4974,
270,
29889,
2230,
29918,
4181,
1275,
5335,
287,
2554,
29898,
16700,
29922,
29896,
29897,
13,
13,
13,
1990,
4321,
29903,
5031,
616,
3010,
29901,
13,
1678,
732,
2272,
1688,
29889,
3502,
29889,
11014,
361,
703,
845,
481,
873,
29908,
451,
297,
10876,
29889,
7576,
29892,
2769,
29922,
8186,
3352,
29918,
7068,
3301,
6670,
29979,
29897,
13,
1678,
822,
1243,
29918,
3068,
29918,
5504,
29918,
845,
481,
873,
29918,
8768,
29898,
1311,
1125,
13,
4706,
363,
260,
297,
24972,
3301,
6670,
29979,
29918,
15631,
29925,
2890,
29901,
13,
9651,
4974,
338,
1491,
1990,
29898,
13,
18884,
260,
29892,
528,
481,
873,
29889,
19156,
29889,
3188,
29889,
5160,
7999,
7843,
13,
9651,
10353,
285,
29908,
2713,
481,
873,
694,
5520,
1136,
11376,
426,
29873,
29913,
408,
263,
421,
5160,
7999,
7843,
1412,
421,
29903,
5031,
616,
3010,
2555,
1818,
367,
4784,
16205,
29908,
13,
13,
1678,
822,
1243,
29918,
3068,
29918,
5510,
29918,
865,
29874,
29918,
1761,
29918,
29890,
1884,
29898,
1311,
1125,
13,
4706,
289,
1884,
353,
518,
29906,
29889,
29896,
29946,
29946,
29947,
29947,
29953,
29941,
29953,
29955,
29945,
29892,
29871,
29946,
29889,
29900,
29900,
29906,
29945,
29947,
29941,
29896,
29955,
29955,
29892,
29871,
29896,
29945,
29889,
29906,
29947,
29929,
29946,
29906,
29900,
29955,
29896,
29955,
29892,
29871,
29896,
29946,
29889,
29906,
29955,
29945,
29900,
29953,
29896,
29900,
29929,
29947,
29962,
13,
4706,
2346,
353,
1706,
15238,
3010,
29898,
1028,
15238,
29922,
8516,
29892,
3216,
292,
29918,
1884,
29922,
29890,
1884,
29897,
13,
4706,
4974,
2346,
29889,
1111,
24266,
1275,
376,
29906,
29889,
29896,
29946,
29946,
29947,
29947,
29953,
29941,
29953,
29955,
29945,
29892,
29946,
29889,
29900,
29900,
29906,
29945,
29947,
29941,
29896,
29955,
29955,
29892,
29896,
29945,
29889,
29906,
29947,
29929,
29946,
29906,
29900,
29955,
29896,
29955,
29892,
29896,
29946,
29889,
29906,
29955,
29945,
29900,
29953,
29896,
29900,
29929,
29947,
29908,
13,
4706,
4974,
2346,
29889,
479,
290,
29918,
1853,
1275,
376,
9917,
292,
29918,
1884,
29908,
13,
13,
1678,
822,
1243,
29918,
5510,
29918,
17640,
29918,
1761,
29918,
29890,
1884,
29898,
1311,
1125,
13,
4706,
289,
1884,
353,
518,
29896,
29889,
29906,
29892,
29871,
29941,
29889,
29946,
29892,
29871,
29945,
29889,
29953,
29892,
29871,
29955,
29889,
29947,
29962,
13,
4706,
2346,
353,
1706,
15238,
3010,
29898,
1028,
15238,
29922,
8516,
29892,
3216,
292,
29918,
1884,
29922,
29890,
1884,
29897,
13,
4706,
4974,
2346,
29889,
1111,
24266,
1275,
376,
29896,
29889,
29906,
29892,
29941,
29889,
29946,
29892,
29945,
29889,
29953,
29892,
29955,
29889,
29947,
29908,
13,
4706,
4974,
2346,
29889,
479,
290,
29918,
1853,
1275,
376,
9917,
292,
29918,
1884,
29908,
13,
13,
1678,
822,
1243,
29918,
5510,
29918,
17640,
29918,
23583,
29918,
29890,
1884,
29898,
1311,
1125,
13,
4706,
289,
1884,
353,
313,
29896,
29889,
29906,
29892,
29871,
29941,
29889,
29946,
29892,
29871,
29945,
29889,
29953,
29892,
29871,
29955,
29889,
29947,
29897,
13,
4706,
2346,
353,
1706,
15238,
3010,
29898,
1028,
15238,
29922,
8516,
29892,
3216,
292,
29918,
1884,
29922,
29890,
1884,
29897,
13,
4706,
4974,
2346,
29889,
1111,
24266,
1275,
376,
29896,
29889,
29906,
29892,
29941,
29889,
29946,
29892,
29945,
29889,
29953,
29892,
29955,
29889,
29947,
29908,
13,
4706,
4974,
2346,
29889,
479,
290,
29918,
1853,
1275,
376,
9917,
292,
29918,
1884,
29908,
13,
13,
1678,
822,
1243,
29918,
5510,
29918,
262,
1765,
287,
29918,
17640,
29918,
1761,
29918,
29890,
1884,
29918,
29888,
2234,
29898,
1311,
1125,
13,
4706,
289,
1884,
353,
518,
29896,
29900,
29892,
29871,
29896,
29900,
29892,
29871,
29900,
29892,
29871,
29900,
29962,
13,
4706,
411,
11451,
1688,
29889,
336,
4637,
29898,
14697,
291,
2392,
1125,
13,
9651,
2346,
353,
1706,
15238,
3010,
29898,
1028,
15238,
29922,
8516,
29892,
3216,
292,
29918,
1884,
29922,
29890,
1884,
29897,
13,
13,
1678,
732,
2272,
1688,
29889,
3502,
29889,
11014,
361,
703,
359,
24756,
29908,
451,
297,
10876,
29889,
7576,
29892,
2769,
29922,
8186,
3352,
29918,
3267,
1692,
29949,
29897,
13,
1678,
822,
1243,
29918,
3068,
29918,
5510,
29918,
29890,
1884,
29918,
3166,
29918,
29887,
12293,
29918,
29890,
1884,
29898,
1311,
1125,
13,
4706,
289,
1884,
353,
288,
629,
29889,
7999,
7843,
29898,
468,
29878,
29889,
29893,
21066,
12697,
29934,
292,
29897,
13,
4706,
289,
1884,
29889,
2528,
5228,
29898,
29896,
29892,
29871,
29896,
29897,
13,
4706,
289,
1884,
29889,
2528,
5228,
29898,
29896,
29892,
29871,
29906,
29897,
13,
4706,
289,
1884,
29889,
2528,
5228,
29898,
29906,
29892,
29871,
29906,
29897,
13,
4706,
289,
1884,
29889,
2528,
5228,
29898,
29906,
29892,
29871,
29896,
29897,
13,
4706,
2346,
353,
1706,
15238,
3010,
29898,
1028,
15238,
29922,
8516,
29892,
3216,
292,
29918,
1884,
29922,
29890,
1884,
29897,
13,
4706,
4974,
2346,
29889,
1111,
24266,
1275,
376,
29896,
29889,
29900,
29892,
29896,
29889,
29900,
29892,
29906,
29889,
29900,
29892,
29906,
29889,
29900,
29908,
13,
4706,
4974,
2346,
29889,
479,
290,
29918,
1853,
1275,
376,
9917,
292,
29918,
1884,
29908,
13,
13,
1678,
732,
2272,
1688,
29889,
3502,
29889,
11014,
361,
703,
359,
24756,
29908,
451,
297,
10876,
29889,
7576,
29892,
2769,
29922,
8186,
3352,
29918,
3267,
1692,
29949,
29897,
13,
1678,
822,
1243,
29918,
3068,
29918,
5510,
29918,
1028,
15238,
29918,
3166,
29918,
29887,
12293,
29918,
29890,
1884,
29898,
1311,
1125,
13,
4706,
281,
1193,
353,
376,
29925,
5607,
29979,
29954,
1164,
5135,
29945,
29871,
29941,
29900,
29892,
29871,
29945,
29871,
29941,
29941,
29892,
29871,
29906,
29871,
29941,
29941,
29892,
29871,
29906,
29871,
29941,
29900,
29892,
29871,
29945,
29871,
29941,
29900,
876,
29908,
13,
4706,
18652,
353,
288,
629,
29889,
4391,
7999,
7843,
4591,
29956,
1193,
29898,
29893,
1193,
29897,
13,
4706,
2346,
353,
1706,
15238,
3010,
29898,
1028,
15238,
29922,
1028,
15238,
29892,
3216,
292,
29918,
1884,
29922,
8516,
29897,
13,
4706,
4974,
313,
13,
9651,
2346,
29889,
1111,
24266,
13,
9651,
1275,
376,
29945,
29889,
29900,
29900,
29900,
29900,
29892,
29941,
29900,
29889,
29900,
29900,
29900,
29900,
29892,
29945,
29889,
29900,
29900,
29900,
29900,
29892,
29941,
29941,
29889,
29900,
29900,
29900,
29900,
29892,
29906,
29889,
29900,
29900,
29900,
29900,
29892,
29941,
29941,
29889,
29900,
29900,
29900,
29900,
29892,
29906,
29889,
29900,
29900,
29900,
29900,
29892,
29941,
29900,
29889,
29900,
29900,
29900,
29900,
29892,
29945,
29889,
29900,
29900,
29900,
29900,
29892,
29941,
29900,
29889,
29900,
29900,
29900,
29900,
29908,
13,
4706,
1723,
13,
4706,
4974,
2346,
29889,
479,
290,
29918,
1853,
1275,
376,
3733,
17125,
29908,
13,
13,
1678,
732,
2272,
1688,
29889,
3502,
29889,
11014,
361,
703,
359,
24756,
29908,
451,
297,
10876,
29889,
7576,
29892,
2769,
29922,
8186,
3352,
29918,
3267,
1692,
29949,
29897,
13,
1678,
822,
1243,
29918,
3068,
29918,
5510,
29918,
29890,
1884,
29918,
3166,
29918,
29887,
12293,
29918,
29881,
2829,
898,
29918,
3733,
17125,
29898,
1311,
1125,
13,
4706,
396,
6204,
263,
11137,
12841,
13,
4706,
289,
1884,
353,
288,
629,
29889,
7999,
7843,
29898,
468,
29878,
29889,
29893,
21066,
12697,
29934,
292,
29897,
13,
4706,
289,
1884,
29889,
2528,
5228,
29898,
29896,
29892,
29871,
29906,
29897,
13,
4706,
289,
1884,
29889,
2528,
5228,
29898,
29906,
29892,
29871,
29941,
29897,
13,
4706,
289,
1884,
29889,
2528,
5228,
29898,
29941,
29892,
29871,
29906,
29897,
13,
4706,
289,
1884,
29889,
2528,
5228,
29898,
29906,
29892,
29871,
29896,
29897,
13,
4706,
2346,
353,
1706,
15238,
3010,
29898,
1028,
15238,
29922,
8516,
29892,
3216,
292,
29918,
1884,
29922,
29890,
1884,
29897,
13,
4706,
4974,
2346,
29889,
1111,
24266,
1275,
376,
29896,
29889,
29900,
29892,
29896,
29889,
29900,
29892,
29941,
29889,
29900,
29892,
29941,
29889,
29900,
29908,
13,
4706,
4974,
2346,
29889,
479,
290,
29918,
1853,
1275,
376,
9917,
292,
29918,
1884,
29908,
13,
13,
1678,
732,
2272,
1688,
29889,
3502,
29889,
11014,
361,
703,
359,
24756,
29908,
451,
297,
10876,
29889,
7576,
29892,
2769,
29922,
8186,
3352,
29918,
3267,
1692,
29949,
29897,
13,
1678,
822,
1243,
29918,
3068,
29918,
5510,
29918,
1028,
15238,
29918,
3166,
29918,
29887,
12293,
29918,
18056,
324,
335,
265,
29898,
1311,
1125,
13,
4706,
6674,
324,
17125,
353,
288,
629,
29889,
7999,
7843,
29898,
468,
29878,
29889,
29893,
21066,
15329,
7713,
17125,
29897,
13,
13,
4706,
396,
6204,
9228,
396,
29896,
13,
4706,
9228,
29896,
353,
288,
629,
29889,
7999,
7843,
29898,
468,
29878,
29889,
29893,
21066,
12697,
29934,
292,
29897,
13,
4706,
9228,
29896,
29889,
2528,
5228,
29898,
29896,
29906,
29889,
29900,
29892,
29871,
29953,
29941,
29889,
29900,
29897,
13,
4706,
9228,
29896,
29889,
2528,
5228,
29898,
29896,
29906,
29889,
29900,
29892,
29871,
29953,
29906,
29889,
29900,
29897,
13,
4706,
9228,
29896,
29889,
2528,
5228,
29898,
29896,
29941,
29889,
29900,
29892,
29871,
29953,
29906,
29889,
29900,
29897,
13,
4706,
9228,
29896,
29889,
2528,
5228,
29898,
29896,
29941,
29889,
29900,
29892,
29871,
29953,
29941,
29889,
29900,
29897,
13,
4706,
9228,
29896,
29889,
2528,
5228,
29898,
29896,
29906,
29889,
29900,
29892,
29871,
29953,
29941,
29889,
29900,
29897,
13,
13,
4706,
396,
6204,
29807,
396,
29896,
13,
4706,
15680,
29896,
353,
288,
629,
29889,
7999,
7843,
29898,
468,
29878,
29889,
29893,
21066,
7713,
17125,
29897,
13,
4706,
15680,
29896,
29889,
2528,
7999,
7843,
29898,
5393,
29896,
29897,
13,
4706,
6674,
324,
17125,
29889,
2528,
7999,
7843,
29898,
22678,
29896,
29897,
13,
13,
4706,
396,
6204,
9228,
396,
29906,
13,
4706,
9228,
29906,
353,
288,
629,
29889,
7999,
7843,
29898,
468,
29878,
29889,
29893,
21066,
12697,
29934,
292,
29897,
13,
4706,
9228,
29906,
29889,
2528,
5228,
29898,
29896,
29896,
29889,
29900,
29892,
29871,
29953,
29946,
29889,
29900,
29897,
13,
4706,
9228,
29906,
29889,
2528,
5228,
29898,
29896,
29896,
29889,
29900,
29892,
29871,
29953,
29906,
29889,
29900,
29897,
13,
4706,
9228,
29906,
29889,
2528,
5228,
29898,
29896,
29906,
29889,
29945,
29892,
29871,
29953,
29906,
29889,
29900,
29897,
13,
4706,
9228,
29906,
29889,
2528,
5228,
29898,
29896,
29906,
29889,
29945,
29892,
29871,
29953,
29946,
29889,
29900,
29897,
13,
4706,
9228,
29906,
29889,
2528,
5228,
29898,
29896,
29896,
29889,
29900,
29892,
29871,
29953,
29946,
29889,
29900,
29897,
13,
13,
4706,
396,
6204,
29807,
396,
29906,
13,
4706,
15680,
29906,
353,
288,
629,
29889,
7999,
7843,
29898,
468,
29878,
29889,
29893,
21066,
7713,
17125,
29897,
13,
4706,
15680,
29906,
29889,
2528,
7999,
7843,
29898,
5393,
29906,
29897,
13,
4706,
6674,
324,
17125,
29889,
2528,
7999,
7843,
29898,
22678,
29906,
29897,
13,
13,
4706,
2346,
353,
1706,
15238,
3010,
29898,
1028,
15238,
29922,
18056,
324,
17125,
29892,
3216,
292,
29918,
1884,
29922,
8516,
29897,
13,
4706,
4974,
313,
13,
9651,
2346,
29889,
1111,
24266,
13,
9651,
1275,
376,
29896,
29896,
29889,
29900,
29900,
29900,
29900,
29892,
29953,
29906,
29889,
29900,
29900,
29900,
29900,
29892,
29900,
29889,
29900,
29900,
29900,
29900,
29892,
29896,
29941,
29889,
29900,
29900,
29900,
29900,
29892,
29953,
29906,
29889,
29900,
29900,
29900,
29900,
29892,
29900,
29889,
29900,
29900,
29900,
29900,
29892,
29896,
29941,
29889,
29900,
29900,
29900,
29900,
29892,
29953,
29941,
29889,
29900,
29900,
29900,
29900,
29892,
29900,
29889,
29900,
29900,
29900,
29900,
29892,
29896,
29906,
29889,
29945,
29900,
29900,
29900,
29892,
29953,
29946,
29889,
29900,
29900,
29900,
29900,
29892,
29900,
29889,
29900,
29900,
29900,
29900,
29892,
29896,
29896,
29889,
29900,
29900,
29900,
29900,
29892,
29953,
29946,
29889,
29900,
29900,
29900,
29900,
29892,
29900,
29889,
29900,
29900,
29900,
29900,
29892,
29896,
29896,
29889,
29900,
29900,
29900,
29900,
29892,
29953,
29906,
29889,
29900,
29900,
29900,
29900,
29892,
29900,
29889,
29900,
29900,
29900,
29900,
29908,
13,
4706,
1723,
13,
4706,
4974,
2346,
29889,
479,
290,
29918,
1853,
1275,
376,
3733,
17125,
29908,
13,
13,
1678,
732,
2272,
1688,
29889,
3502,
29889,
11014,
361,
703,
845,
481,
873,
29908,
451,
297,
10876,
29889,
7576,
29892,
2769,
29922,
8186,
3352,
29918,
7068,
3301,
6670,
29979,
29897,
13,
1678,
822,
1243,
29918,
3068,
29918,
5510,
29918,
29890,
1884,
29918,
3166,
29918,
845,
481,
873,
29918,
1884,
29898,
1311,
1125,
13,
4706,
289,
1884,
353,
528,
481,
873,
29889,
19156,
29889,
1884,
29898,
29906,
29892,
29871,
29941,
29900,
29892,
29871,
29945,
29892,
29871,
29941,
29941,
29897,
13,
4706,
4974,
338,
8758,
29898,
29890,
1884,
29892,
528,
481,
873,
29889,
19156,
29889,
3188,
29889,
5160,
7999,
7843,
29897,
13,
13,
4706,
2346,
353,
1706,
15238,
3010,
29898,
1028,
15238,
29922,
8516,
29892,
3216,
292,
29918,
1884,
29922,
29890,
1884,
29897,
13,
4706,
4974,
2346,
29889,
1111,
24266,
1275,
376,
29906,
29889,
29900,
29892,
29941,
29900,
29889,
29900,
29892,
29945,
29889,
29900,
29892,
29941,
29941,
29889,
29900,
29908,
13,
4706,
4974,
2346,
29889,
479,
290,
29918,
1853,
1275,
376,
9917,
292,
29918,
1884,
29908,
13,
13,
1678,
732,
2272,
1688,
29889,
3502,
29889,
11014,
361,
703,
845,
481,
873,
29908,
451,
297,
10876,
29889,
7576,
29892,
2769,
29922,
8186,
3352,
29918,
7068,
3301,
6670,
29979,
29897,
13,
1678,
822,
1243,
29918,
3068,
29918,
5510,
29918,
29890,
1884,
29918,
3166,
29918,
845,
481,
873,
29918,
29893,
1193,
29898,
1311,
1125,
13,
4706,
289,
1884,
353,
528,
481,
873,
29889,
29893,
1193,
29889,
18132,
703,
29925,
5607,
29979,
29954,
1164,
5135,
29945,
29871,
29941,
29900,
29892,
29871,
29945,
29871,
29941,
29941,
29892,
29871,
29906,
29871,
29941,
29941,
29892,
29871,
29906,
29871,
29941,
29900,
29892,
29871,
29945,
29871,
29941,
29900,
876,
1159,
13,
4706,
4974,
338,
8758,
29898,
29890,
1884,
29892,
528,
481,
873,
29889,
19156,
29889,
3188,
29889,
5160,
7999,
7843,
29897,
13,
13,
4706,
2346,
353,
1706,
15238,
3010,
29898,
1028,
15238,
29922,
8516,
29892,
3216,
292,
29918,
1884,
29922,
29890,
1884,
29897,
13,
4706,
4974,
2346,
29889,
1111,
24266,
1275,
376,
29906,
29889,
29900,
29892,
29941,
29900,
29889,
29900,
29892,
29945,
29889,
29900,
29892,
29941,
29941,
29889,
29900,
29908,
13,
4706,
4974,
2346,
29889,
479,
290,
29918,
1853,
1275,
376,
9917,
292,
29918,
1884,
29908,
13,
13,
1678,
732,
2272,
1688,
29889,
3502,
29889,
11014,
361,
703,
845,
481,
873,
29908,
451,
297,
10876,
29889,
7576,
29892,
2769,
29922,
8186,
3352,
29918,
7068,
3301,
6670,
29979,
29897,
13,
1678,
822,
1243,
29918,
3068,
29918,
5510,
29918,
1028,
15238,
29918,
3166,
29918,
845,
481,
873,
29918,
29893,
1193,
29898,
1311,
1125,
13,
4706,
18652,
353,
528,
481,
873,
29889,
29893,
1193,
29889,
18132,
703,
29925,
5607,
29979,
29954,
1164,
5135,
29945,
29871,
29941,
29900,
29892,
29871,
29945,
29871,
29941,
29941,
29892,
29871,
29906,
29871,
29941,
29941,
29892,
29871,
29906,
29871,
29941,
29900,
29892,
29871,
29945,
29871,
29941,
29900,
876,
1159,
13,
4706,
4974,
338,
8758,
29898,
1028,
15238,
29892,
528,
481,
873,
29889,
19156,
29889,
3188,
29889,
5160,
7999,
7843,
29897,
13,
13,
4706,
2346,
353,
1706,
15238,
3010,
29898,
1028,
15238,
29922,
1028,
15238,
29892,
3216,
292,
29918,
1884,
29922,
8516,
29897,
13,
4706,
4974,
313,
13,
9651,
2346,
29889,
1111,
24266,
13,
9651,
1275,
376,
29945,
29889,
29900,
29900,
29900,
29900,
29892,
29941,
29900,
29889,
29900,
29900,
29900,
29900,
29892,
29945,
29889,
29900,
29900,
29900,
29900,
29892,
29941,
29941,
29889,
29900,
29900,
29900,
29900,
29892,
29906,
29889,
29900,
29900,
29900,
29900,
29892,
29941,
29941,
29889,
29900,
29900,
29900,
29900,
29892,
29906,
29889,
29900,
29900,
29900,
29900,
29892,
29941,
29900,
29889,
29900,
29900,
29900,
29900,
29892,
29945,
29889,
29900,
29900,
29900,
29900,
29892,
29941,
29900,
29889,
29900,
29900,
29900,
29900,
29908,
13,
4706,
1723,
13,
4706,
4974,
2346,
29889,
479,
290,
29918,
1853,
1275,
376,
3733,
17125,
29908,
13,
2
] |
tests/resources/ok/ok.py | lleites/topyn | 10 | 31291 | <reponame>lleites/topyn
def my_function() -> str:
return "todo bien"
| [
1,
529,
276,
1112,
420,
29958,
19091,
3246,
29914,
3332,
948,
13,
1753,
590,
29918,
2220,
580,
1599,
851,
29901,
13,
1678,
736,
376,
29873,
8144,
6079,
29908,
13,
2
] |
TRMM/trmm_embrace_diurnal_mean.py | peterwilletts24/Python-Scripts | 4 | 1618053 | import cPickle as pickle
import numpy as np
from collections import defaultdict
from netCDF4 import Dataset
from scipy.interpolate import griddata
lon_high = 101.866
lon_low = 64.115
lat_high= 33.
lat_low=-6.79
#lon_high = 116
#lon_low = 30.5
#lat_high= 40
#lat_low=-11.25
pcp_dom, longitude_dom, latitude_dom, time_dom, time_hour = pickle.load(open('/nfs/a90/eepdw/Data/Saved_data/TRMM/trmm_emb_time_update_large.p', 'rb'))
# Load land sea mask. TRMM land sea mask is in % of water coverage so 100% is all water
nc = Dataset('/nfs/a90/eepdw/Data/Observations/Satellite/TRMM/TMPA_mask.nc')
# Regrid lsm to data grid (offset b 0.125 degrees
lsm_lons, lsm_lats = np.meshgrid(nc.variables['lon'][:],nc.variables['lat'][:])
lons_data, lats_data = np.meshgrid(longitude_dom[0], latitude_dom[0])
lsm_regrid = griddata((lsm_lats.flatten(), lsm_lons.flatten()), nc.variables['landseamask'][:].flatten(), (lats_data,lons_data), method='linear')
# Get min and max index positions for latitude and longitude - FOR LSM
# Get min and max index positions for latitude and longitude - FOR PCP
la_index_pcp = np.where((latitude_dom[0]<=lat_high) & (latitude_dom[0] >= lat_low))
lo_index_pcp = np.where((longitude_dom[0]<=lon_high) & (longitude_dom[0] >= lon_low))
la_i_max_pcp = np.max(la_index_pcp)
la_i_min_pcp = np.min(la_index_pcp)
lo_i_max_pcp = np.max(lo_index_pcp)
lo_i_min_pcp = np.min(lo_index_pcp)
print la_i_min_pcp,la_i_max_pcp, lo_i_min_pcp,lo_i_max_pcp
pcp_dom_2 = pcp_dom[:,la_i_min_pcp:la_i_max_pcp, lo_i_min_pcp:lo_i_max_pcp]
lsm= lsm_regrid[la_i_min_pcp:la_i_max_pcp, lo_i_min_pcp:lo_i_max_pcp]
print pcp_dom.shape
print pcp_dom_2.shape
print lsm.shape
####################################################
# Calculate mean for every time in the date range for entire area
mean_of_each_time = pcp_dom_2.reshape((pcp_dom_2.shape[0], -1)).mean(axis=1)
print pcp_dom_2.reshape(pcp_dom_2.shape[0], -1).shape
mean_and_hour=zip(mean_of_each_time,time_hour)
# OCEAN - Calculate mean for every time in the date range
lsm_weights=lsm/100
print pcp_dom_2.reshape(pcp_dom_2.shape[0], -1).shape
print lsm_weights.flatten().shape
mean_oc = np.ma.average(pcp_dom_2.reshape(pcp_dom_2.shape[0], -1), axis=1, weights=lsm_weights.flatten())
oc_mean_and_hour=zip(mean_oc,time_hour)
# LAND - Calculate mean for every time in the date range
lsm_weights=1-(lsm/100)
mean_la = np.ma.average(pcp_dom_2.reshape(pcp_dom_2.shape[0], -1), weights=lsm_weights.flatten(), axis=1)
la_mean_and_hour=zip(mean_la,time_hour)
#####################################################
# Sort into time of day #################
# Total
i = defaultdict(list)
for v,k in mean_and_hour:
i[k.strip()].append(v)
mean=[]
hour=[]
# Average for each time of day
for q,a in enumerate(i.items()):
#print a[1]
if a[1]:
mean.append(np.mean(a[1]))
hour.append(a[0])
print mean
print hour
# Land
i = defaultdict(list)
for v,k in la_mean_and_hour:
i[k.strip()].append(v)
mean_l=[]
hour_l=[]
# Average for each time of day
for q,a in enumerate(i.items()):
#print a[1]
if a[1]:
mean_l.append(np.mean(a[1]))
hour_l.append(a[0])
print mean_l
print hour_l
# Ocean
i = defaultdict(list)
for v,k in oc_mean_and_hour:
i[k.strip()].append(v)
mean_o=[]
hour_o=[]
# Average for each time of day
for q,a in enumerate(i.items()):
#print a[1]
if a[1]:
mean_o.append(np.mean(a[1]))
hour_o.append(a[0])
print mean_o
print hour_o
# Save
np.savez("/nfs/a90/eepdw/Data/Observations/Satellite/TRMM/Diurnal/total_trmm_diurnal_average_lat_%s_%s_lon_%s_%s" % (lat_low,lat_high, lon_low, lon_high), mean=mean, hour=hour )
np.savez("/nfs/a90/eepdw/Data/Observations/Satellite/TRMM/Diurnal/sea_trmm_diurnal_average_lat_%s_%s_lon_%s_%s" % (lat_low,lat_high, lon_low, lon_high), mean=mean_o, hour=hour_o )
np.savez("/nfs/a90/eepdw/Data/Observations/Satellite/TRMM/Diurnal/land_trmm_diurnal_average_lat_%s_%s_lon_%s_%s" % (lat_low,lat_high, lon_low, lon_high), mean=mean_l, hour=hour_l )
| [
1,
1053,
274,
29925,
860,
280,
408,
5839,
280,
13,
5215,
12655,
408,
7442,
13,
3166,
16250,
1053,
2322,
8977,
13,
3166,
7787,
29907,
4037,
29946,
1053,
13373,
24541,
13,
3166,
4560,
2272,
29889,
1639,
3733,
403,
1053,
6856,
1272,
13,
13,
12957,
29918,
9812,
353,
29871,
29896,
29900,
29896,
29889,
29947,
29953,
29953,
29871,
13,
12957,
29918,
677,
353,
29871,
29953,
29946,
29889,
29896,
29896,
29945,
13,
13,
5066,
29918,
9812,
29922,
29871,
29941,
29941,
29889,
13,
5066,
29918,
677,
10457,
29953,
29889,
29955,
29929,
13,
13,
29937,
12957,
29918,
9812,
353,
29871,
29896,
29896,
29953,
29871,
13,
29937,
12957,
29918,
677,
353,
29871,
29941,
29900,
29889,
29945,
13,
13,
29937,
5066,
29918,
9812,
29922,
29871,
29946,
29900,
13,
29937,
5066,
29918,
677,
10457,
29896,
29896,
29889,
29906,
29945,
13,
13,
6739,
29886,
29918,
3129,
29892,
28745,
29918,
3129,
29892,
26271,
29918,
3129,
29892,
931,
29918,
3129,
29892,
931,
29918,
18721,
353,
5839,
280,
29889,
1359,
29898,
3150,
11219,
29876,
5847,
29914,
29874,
29929,
29900,
29914,
29872,
1022,
28012,
29914,
1469,
29914,
29903,
10511,
29918,
1272,
29914,
5659,
7428,
29914,
509,
4317,
29918,
1590,
29918,
2230,
29918,
5504,
29918,
16961,
29889,
29886,
742,
525,
6050,
8785,
13,
13,
29937,
16012,
2982,
7205,
11105,
29889,
29871,
10014,
7428,
2982,
7205,
11105,
338,
297,
1273,
310,
4094,
23746,
577,
29871,
29896,
29900,
29900,
29995,
338,
599,
4094,
13,
13,
17608,
353,
13373,
24541,
11219,
29876,
5847,
29914,
29874,
29929,
29900,
29914,
29872,
1022,
28012,
29914,
1469,
29914,
6039,
2140,
800,
29914,
29903,
271,
20911,
29914,
5659,
7428,
29914,
29911,
3580,
29909,
29918,
13168,
29889,
17608,
1495,
13,
13,
29937,
29871,
2169,
2429,
301,
3844,
304,
848,
6856,
313,
10289,
289,
29871,
29900,
29889,
29896,
29906,
29945,
14496,
13,
13,
3137,
29885,
29918,
29880,
787,
29892,
301,
3844,
29918,
29880,
1446,
353,
7442,
29889,
4467,
29882,
7720,
29898,
17608,
29889,
20897,
1839,
12957,
2033,
7503,
1402,
17608,
29889,
20897,
1839,
5066,
2033,
7503,
2314,
13,
29880,
787,
29918,
1272,
29892,
301,
1446,
29918,
1272,
353,
7442,
29889,
4467,
29882,
7720,
29898,
5426,
4279,
29918,
3129,
29961,
29900,
1402,
26271,
29918,
3129,
29961,
29900,
2314,
13,
3137,
29885,
29918,
276,
7720,
353,
6856,
1272,
3552,
3137,
29885,
29918,
29880,
1446,
29889,
1579,
8606,
3285,
301,
3844,
29918,
29880,
787,
29889,
1579,
8606,
25739,
302,
29883,
29889,
20897,
1839,
1049,
344,
314,
1278,
2033,
7503,
1822,
1579,
8606,
3285,
313,
29880,
1446,
29918,
1272,
29892,
29880,
787,
29918,
1272,
511,
1158,
2433,
10660,
1495,
13,
13,
13,
29937,
3617,
1375,
322,
4236,
29871,
2380,
11909,
363,
26271,
322,
28745,
448,
15842,
365,
17061,
13,
13,
13,
13,
29937,
3617,
1375,
322,
4236,
29871,
2380,
11909,
363,
26271,
322,
28745,
448,
15842,
349,
6271,
13,
13,
433,
29918,
2248,
29918,
6739,
29886,
353,
7442,
29889,
3062,
3552,
5066,
4279,
29918,
3129,
29961,
29900,
29962,
14065,
5066,
29918,
9812,
29897,
669,
313,
5066,
4279,
29918,
3129,
29961,
29900,
29962,
6736,
3405,
29918,
677,
876,
13,
417,
29918,
2248,
29918,
6739,
29886,
353,
7442,
29889,
3062,
3552,
5426,
4279,
29918,
3129,
29961,
29900,
29962,
14065,
12957,
29918,
9812,
29897,
669,
313,
5426,
4279,
29918,
3129,
29961,
29900,
29962,
6736,
23123,
29918,
677,
876,
13,
13,
433,
29918,
29875,
29918,
3317,
29918,
6739,
29886,
353,
7442,
29889,
3317,
29898,
433,
29918,
2248,
29918,
6739,
29886,
29897,
13,
433,
29918,
29875,
29918,
1195,
29918,
6739,
29886,
353,
7442,
29889,
1195,
29898,
433,
29918,
2248,
29918,
6739,
29886,
29897,
13,
417,
29918,
29875,
29918,
3317,
29918,
6739,
29886,
353,
7442,
29889,
3317,
29898,
417,
29918,
2248,
29918,
6739,
29886,
29897,
13,
417,
29918,
29875,
29918,
1195,
29918,
6739,
29886,
353,
7442,
29889,
1195,
29898,
417,
29918,
2248,
29918,
6739,
29886,
29897,
13,
13,
2158,
425,
29918,
29875,
29918,
1195,
29918,
6739,
29886,
29892,
433,
29918,
29875,
29918,
3317,
29918,
6739,
29886,
29892,
658,
29918,
29875,
29918,
1195,
29918,
6739,
29886,
29892,
417,
29918,
29875,
29918,
3317,
29918,
6739,
29886,
13,
13,
6739,
29886,
29918,
3129,
29918,
29906,
353,
282,
6814,
29918,
3129,
7503,
29892,
433,
29918,
29875,
29918,
1195,
29918,
6739,
29886,
29901,
433,
29918,
29875,
29918,
3317,
29918,
6739,
29886,
29892,
658,
29918,
29875,
29918,
1195,
29918,
6739,
29886,
29901,
417,
29918,
29875,
29918,
3317,
29918,
6739,
29886,
29962,
13,
3137,
29885,
29922,
301,
3844,
29918,
276,
7720,
29961,
433,
29918,
29875,
29918,
1195,
29918,
6739,
29886,
29901,
433,
29918,
29875,
29918,
3317,
29918,
6739,
29886,
29892,
658,
29918,
29875,
29918,
1195,
29918,
6739,
29886,
29901,
417,
29918,
29875,
29918,
3317,
29918,
6739,
29886,
29962,
13,
13,
2158,
282,
6814,
29918,
3129,
29889,
12181,
13,
2158,
282,
6814,
29918,
3129,
29918,
29906,
29889,
12181,
13,
2158,
301,
3844,
29889,
12181,
13,
13383,
13383,
13383,
4136,
13,
13,
29937,
20535,
403,
2099,
363,
1432,
931,
297,
278,
2635,
3464,
363,
4152,
4038,
13,
13,
12676,
29918,
974,
29918,
4204,
29918,
2230,
353,
282,
6814,
29918,
3129,
29918,
29906,
29889,
690,
14443,
3552,
6739,
29886,
29918,
3129,
29918,
29906,
29889,
12181,
29961,
29900,
1402,
448,
29896,
8106,
12676,
29898,
8990,
29922,
29896,
29897,
13,
2158,
282,
6814,
29918,
3129,
29918,
29906,
29889,
690,
14443,
29898,
6739,
29886,
29918,
3129,
29918,
29906,
29889,
12181,
29961,
29900,
1402,
448,
29896,
467,
12181,
13,
12676,
29918,
392,
29918,
18721,
29922,
7554,
29898,
12676,
29918,
974,
29918,
4204,
29918,
2230,
29892,
2230,
29918,
18721,
29897,
13,
13,
29937,
438,
4741,
2190,
448,
20535,
403,
2099,
363,
1432,
931,
297,
278,
2635,
3464,
13,
13,
3137,
29885,
29918,
705,
5861,
29922,
3137,
29885,
29914,
29896,
29900,
29900,
13,
2158,
282,
6814,
29918,
3129,
29918,
29906,
29889,
690,
14443,
29898,
6739,
29886,
29918,
3129,
29918,
29906,
29889,
12181,
29961,
29900,
1402,
448,
29896,
467,
12181,
13,
2158,
301,
3844,
29918,
705,
5861,
29889,
1579,
8606,
2141,
12181,
13,
13,
12676,
29918,
542,
353,
7442,
29889,
655,
29889,
12483,
482,
29898,
6739,
29886,
29918,
3129,
29918,
29906,
29889,
690,
14443,
29898,
6739,
29886,
29918,
3129,
29918,
29906,
29889,
12181,
29961,
29900,
1402,
448,
29896,
511,
9685,
29922,
29896,
29892,
18177,
29922,
3137,
29885,
29918,
705,
5861,
29889,
1579,
8606,
3101,
13,
542,
29918,
12676,
29918,
392,
29918,
18721,
29922,
7554,
29898,
12676,
29918,
542,
29892,
2230,
29918,
18721,
29897,
13,
13,
29937,
365,
9468,
448,
20535,
403,
2099,
363,
1432,
931,
297,
278,
2635,
3464,
13,
13,
3137,
29885,
29918,
705,
5861,
29922,
29896,
17722,
3137,
29885,
29914,
29896,
29900,
29900,
29897,
13,
12676,
29918,
433,
353,
7442,
29889,
655,
29889,
12483,
482,
29898,
6739,
29886,
29918,
3129,
29918,
29906,
29889,
690,
14443,
29898,
6739,
29886,
29918,
3129,
29918,
29906,
29889,
12181,
29961,
29900,
1402,
448,
29896,
511,
18177,
29922,
3137,
29885,
29918,
705,
5861,
29889,
1579,
8606,
3285,
9685,
29922,
29896,
29897,
13,
433,
29918,
12676,
29918,
392,
29918,
18721,
29922,
7554,
29898,
12676,
29918,
433,
29892,
2230,
29918,
18721,
29897,
13,
13,
13383,
13383,
13383,
4136,
29937,
13,
13,
13,
29937,
20025,
964,
931,
310,
2462,
835,
7346,
4136,
2277,
13,
13,
29937,
14990,
13,
13,
29875,
353,
2322,
8977,
29898,
1761,
29897,
13,
13,
1454,
325,
29892,
29895,
297,
2099,
29918,
392,
29918,
18721,
29901,
13,
1678,
474,
29961,
29895,
29889,
17010,
580,
1822,
4397,
29898,
29894,
29897,
13,
13,
12676,
29922,
2636,
13,
18721,
29922,
2636,
13,
13,
29937,
319,
19698,
363,
1269,
931,
310,
2462,
13,
13,
1454,
3855,
29892,
29874,
297,
26985,
29898,
29875,
29889,
7076,
580,
1125,
13,
1678,
396,
2158,
263,
29961,
29896,
29962,
13,
1678,
565,
263,
29961,
29896,
5387,
13,
4706,
2099,
29889,
4397,
29898,
9302,
29889,
12676,
29898,
29874,
29961,
29896,
12622,
13,
4706,
7234,
29889,
4397,
29898,
29874,
29961,
29900,
2314,
13,
13,
2158,
2099,
13,
2158,
7234,
13,
13,
29937,
3172,
13,
13,
29875,
353,
2322,
8977,
29898,
1761,
29897,
13,
13,
1454,
325,
29892,
29895,
297,
425,
29918,
12676,
29918,
392,
29918,
18721,
29901,
13,
1678,
474,
29961,
29895,
29889,
17010,
580,
1822,
4397,
29898,
29894,
29897,
13,
13,
12676,
29918,
29880,
29922,
2636,
13,
18721,
29918,
29880,
29922,
2636,
13,
13,
29937,
319,
19698,
363,
1269,
931,
310,
2462,
13,
13,
1454,
3855,
29892,
29874,
297,
26985,
29898,
29875,
29889,
7076,
580,
1125,
13,
1678,
396,
2158,
263,
29961,
29896,
29962,
13,
1678,
565,
263,
29961,
29896,
5387,
13,
4706,
2099,
29918,
29880,
29889,
4397,
29898,
9302,
29889,
12676,
29898,
29874,
29961,
29896,
12622,
13,
4706,
7234,
29918,
29880,
29889,
4397,
29898,
29874,
29961,
29900,
2314,
13,
13,
2158,
2099,
29918,
29880,
13,
2158,
7234,
29918,
29880,
13,
13,
29937,
21091,
13,
13,
29875,
353,
2322,
8977,
29898,
1761,
29897,
13,
13,
1454,
325,
29892,
29895,
297,
12954,
29918,
12676,
29918,
392,
29918,
18721,
29901,
13,
1678,
474,
29961,
29895,
29889,
17010,
580,
1822,
4397,
29898,
29894,
29897,
13,
13,
12676,
29918,
29877,
29922,
2636,
13,
18721,
29918,
29877,
29922,
2636,
13,
13,
418,
396,
319,
19698,
363,
1269,
931,
310,
2462,
13,
13,
1454,
3855,
29892,
29874,
297,
26985,
29898,
29875,
29889,
7076,
580,
1125,
13,
1678,
396,
2158,
263,
29961,
29896,
29962,
13,
1678,
565,
263,
29961,
29896,
5387,
13,
4706,
2099,
29918,
29877,
29889,
4397,
29898,
9302,
29889,
12676,
29898,
29874,
29961,
29896,
12622,
13,
4706,
7234,
29918,
29877,
29889,
4397,
29898,
29874,
29961,
29900,
2314,
13,
13,
2158,
2099,
29918,
29877,
13,
2158,
7234,
29918,
29877,
13,
13,
29937,
16913,
13,
13,
9302,
29889,
7620,
29920,
11974,
29876,
5847,
29914,
29874,
29929,
29900,
29914,
29872,
1022,
28012,
29914,
1469,
29914,
6039,
2140,
800,
29914,
29903,
271,
20911,
29914,
5659,
7428,
29914,
12130,
595,
284,
29914,
7827,
29918,
509,
4317,
29918,
6051,
595,
284,
29918,
12483,
482,
29918,
5066,
29918,
29995,
29879,
29918,
29995,
29879,
29918,
12957,
29918,
29995,
29879,
29918,
29995,
29879,
29908,
1273,
313,
5066,
29918,
677,
29892,
5066,
29918,
9812,
29892,
23123,
29918,
677,
29892,
23123,
29918,
9812,
511,
2099,
29922,
12676,
29892,
7234,
29922,
18721,
1723,
13,
9302,
29889,
7620,
29920,
11974,
29876,
5847,
29914,
29874,
29929,
29900,
29914,
29872,
1022,
28012,
29914,
1469,
29914,
6039,
2140,
800,
29914,
29903,
271,
20911,
29914,
5659,
7428,
29914,
12130,
595,
284,
29914,
344,
29874,
29918,
509,
4317,
29918,
6051,
595,
284,
29918,
12483,
482,
29918,
5066,
29918,
29995,
29879,
29918,
29995,
29879,
29918,
12957,
29918,
29995,
29879,
29918,
29995,
29879,
29908,
1273,
313,
5066,
29918,
677,
29892,
5066,
29918,
9812,
29892,
23123,
29918,
677,
29892,
23123,
29918,
9812,
511,
2099,
29922,
12676,
29918,
29877,
29892,
7234,
29922,
18721,
29918,
29877,
1723,
13,
9302,
29889,
7620,
29920,
11974,
29876,
5847,
29914,
29874,
29929,
29900,
29914,
29872,
1022,
28012,
29914,
1469,
29914,
6039,
2140,
800,
29914,
29903,
271,
20911,
29914,
5659,
7428,
29914,
12130,
595,
284,
29914,
1049,
29918,
509,
4317,
29918,
6051,
595,
284,
29918,
12483,
482,
29918,
5066,
29918,
29995,
29879,
29918,
29995,
29879,
29918,
12957,
29918,
29995,
29879,
29918,
29995,
29879,
29908,
1273,
313,
5066,
29918,
677,
29892,
5066,
29918,
9812,
29892,
23123,
29918,
677,
29892,
23123,
29918,
9812,
511,
2099,
29922,
12676,
29918,
29880,
29892,
7234,
29922,
18721,
29918,
29880,
1723,
13,
2
] |
easiercfg/easiercfg.py | kistee/easiercfg | 0 | 146850 | from configparser import RawConfigParser
import os
import sys
class Config(RawConfigParser):
"""
Class for easy config file usage.
"""
def __init__(self):
"""
Initialize Class.
"""
# Parameter
self.filename = 'config.ini'
# Call parent constructor
super(Config, self).__init__()
# Load Config-File
self.__LoadConfig()
def __LoadConfig(self):
"""
Load Config-File.
"""
self.read(os.path.join(sys.path[0], self.filename))
def Show(self):
"""
Print all key and value pairs.
"""
config_dict = {}
for element in self.sections():
config_dict[element] = {}
for name, value in self.items(element):
print('{:15} = {}'.format(name, value))
config_dict[element][name] = value
def __setitem__(self, key, value):
"""
Set value of key-value-pair.
"""
self.Set(key, value)
def Set(self, key, value, section="settings"):
"""
Set value of key-value-pair.
"""
self.set(section, key, value)
self.__Save()
def __getitem__(self, key):
"""
Get corresponding value of key-value-pair.
"""
return self.Get(key)
def Get(self, key, section="settings"):
"""
Get corresponding value of key-value-pair.
"""
return self.get(section, key)
def __Save(self, filename=""):
"""
Save current config to file.
"""
# If no filename is specified use the one defined in parameters.
if filename == "":
filename = self.filename
# Write config to file
with open(filename, 'w') as configfile:
self.write(configfile)
| [
1,
515,
2295,
16680,
1053,
22038,
3991,
11726,
13,
5215,
2897,
13,
5215,
10876,
13,
13,
13,
1990,
12782,
29898,
22131,
3991,
11726,
1125,
13,
1678,
9995,
13,
1678,
4134,
363,
4780,
2295,
934,
8744,
29889,
13,
1678,
9995,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
1125,
13,
4706,
9995,
13,
4706,
25455,
4134,
29889,
13,
4706,
9995,
13,
4706,
396,
24953,
13,
4706,
1583,
29889,
9507,
353,
525,
2917,
29889,
2172,
29915,
13,
4706,
396,
8251,
3847,
5823,
13,
4706,
2428,
29898,
3991,
29892,
1583,
467,
1649,
2344,
1649,
580,
13,
4706,
396,
16012,
12782,
29899,
2283,
13,
4706,
1583,
17255,
5896,
3991,
580,
13,
13,
1678,
822,
4770,
5896,
3991,
29898,
1311,
1125,
13,
4706,
9995,
13,
4706,
16012,
12782,
29899,
2283,
29889,
13,
4706,
9995,
13,
4706,
1583,
29889,
949,
29898,
359,
29889,
2084,
29889,
7122,
29898,
9675,
29889,
2084,
29961,
29900,
1402,
1583,
29889,
9507,
876,
13,
13,
1678,
822,
7704,
29898,
1311,
1125,
13,
4706,
9995,
13,
4706,
13905,
599,
1820,
322,
995,
11000,
29889,
13,
4706,
9995,
13,
4706,
2295,
29918,
8977,
353,
6571,
13,
4706,
363,
1543,
297,
1583,
29889,
27117,
7295,
13,
9651,
2295,
29918,
8977,
29961,
5029,
29962,
353,
6571,
13,
9651,
363,
1024,
29892,
995,
297,
1583,
29889,
7076,
29898,
5029,
1125,
13,
18884,
1596,
877,
25641,
29896,
29945,
29913,
353,
6571,
4286,
4830,
29898,
978,
29892,
995,
876,
13,
18884,
2295,
29918,
8977,
29961,
5029,
3816,
978,
29962,
353,
995,
13,
13,
1678,
822,
4770,
842,
667,
12035,
1311,
29892,
1820,
29892,
995,
1125,
13,
4706,
9995,
13,
4706,
3789,
995,
310,
1820,
29899,
1767,
29899,
18784,
29889,
13,
4706,
9995,
13,
4706,
1583,
29889,
2697,
29898,
1989,
29892,
995,
29897,
13,
13,
1678,
822,
3789,
29898,
1311,
29892,
1820,
29892,
995,
29892,
4004,
543,
11027,
29908,
1125,
13,
4706,
9995,
13,
4706,
3789,
995,
310,
1820,
29899,
1767,
29899,
18784,
29889,
13,
4706,
9995,
13,
4706,
1583,
29889,
842,
29898,
2042,
29892,
1820,
29892,
995,
29897,
13,
4706,
1583,
17255,
11371,
580,
13,
13,
1678,
822,
4770,
657,
667,
12035,
1311,
29892,
1820,
1125,
13,
4706,
9995,
13,
4706,
3617,
6590,
995,
310,
1820,
29899,
1767,
29899,
18784,
29889,
13,
4706,
9995,
13,
4706,
736,
1583,
29889,
2577,
29898,
1989,
29897,
13,
13,
1678,
822,
3617,
29898,
1311,
29892,
1820,
29892,
4004,
543,
11027,
29908,
1125,
13,
4706,
9995,
13,
4706,
3617,
6590,
995,
310,
1820,
29899,
1767,
29899,
18784,
29889,
13,
4706,
9995,
13,
4706,
736,
1583,
29889,
657,
29898,
2042,
29892,
1820,
29897,
13,
13,
1678,
822,
4770,
11371,
29898,
1311,
29892,
10422,
13776,
1125,
13,
4706,
9995,
13,
4706,
16913,
1857,
2295,
304,
934,
29889,
13,
4706,
9995,
13,
4706,
396,
960,
694,
10422,
338,
6790,
671,
278,
697,
3342,
297,
4128,
29889,
13,
4706,
565,
10422,
1275,
376,
1115,
13,
9651,
10422,
353,
1583,
29889,
9507,
13,
4706,
396,
14350,
2295,
304,
934,
13,
4706,
411,
1722,
29898,
9507,
29892,
525,
29893,
1495,
408,
2295,
1445,
29901,
13,
9651,
1583,
29889,
3539,
29898,
2917,
1445,
29897,
13,
2
] |
firedetectionserver/src/inferenceserver.py | aj-ames/NSAC-NULLPointers | 1 | 47297 | <gh_stars>1-10
from maven import Maven
import numpy as np
import ast
import multiprocessing as mp
import cv2
import random
from PIL import Image
from flask import Flask, request, jsonify
flaskserver = Flask(__name__)
num_classes = 94
thresh_conf = 0.2
global maven, athena
class Athena:
''' Class to hold member methods and variables
for drawing detections. '''
def __init__(self):
''' Method called when class object is created. '''
self.path = 'classes.txt'
self.classes = self.read_class_names(self.path)
self.num_classes = len(self.classes)
self.colors = self.colorGenerator(self.num_classes)
def colorGenerator(self, num):
''' Method to generate random colors. '''
colors = dict()
for i in range(0, num):
temp = list()
b = random.randint(0, 255)
g = random.randint(0, 255)
r = random.randint(0, 255)
temp.append(b)
temp.append(g)
temp.append(r)
colors.update({i+1:temp})
return colors
def read_class_names(self, path):
''' Method to read the class names. '''
try:
names = dict()
with open(path, 'r') as data:
for ID, name in enumerate(data):
names[ID + 1] = name.strip('\n')
data.close()
return names
except:
print('Failed to read class names')
traceback.print_exc()
sys.exit(0)
def colorGenerator(self, num):
''' Method to generate random colors. '''
colors = dict()
for i in range(0, num):
temp = list()
b = random.randint(0, 255)
g = random.randint(0, 255)
r = random.randint(0, 255)
temp.append(b)
temp.append(g)
temp.append(r)
colors.update({i+1:temp})
return colors
def read_class_names(self, path):
''' Method to read the class names. '''
try:
names = dict()
with open(path, 'r') as data:
for ID, name in enumerate(data):
names[ID + 1] = name.strip('\n')
data.close()
return names
except:
print('Failed to read class names')
traceback.print_exc()
sys.exit(0)
def plotResults(self, frame, result):
''' Method to plot results. '''
class_ids = result[0][0]
confidence = result[0][1]
boundaries = result[0][2]
for counter in range(len(class_ids)):
class_id = self.classes[class_ids[counter]]
if(class_id == 'fire' or class_id == 'person'):
conf = str(confidence[counter])
x1 = int(boundaries[counter][0])
y1 = int(boundaries[counter][1])
x2 = int(boundaries[counter][2])
y2 = int(boundaries[counter][3])
color = self.colors[class_ids[counter]]
cv2.rectangle(frame, (x1, y1), (x2, y2), color, 2)
cv2.rectangle(frame, (x1, y1), (x1 + (len(class_id) + len(conf)) * 20,
y1 - 25) , color, -1, cv2.LINE_AA)
cv2.putText(frame, class_id + ':' + conf, (x1, y1),
cv2.FONT_HERSHEY_COMPLEX, 0.85, (0, 0, 0), 1, cv2.LINE_AA)
return frame
@flaskserver.route(rule='/detect_drone', methods=['POST'])
def detect_drone():
''' Method to perform detections and return the results. '''
content = request
data = ast.literal_eval(content.data.decode('utf-8'))
# Parse the Data
batch = data['Batch'] # Batch of Images
batch_len = data['BatchLength'] # Length of Batch
height = data['ImageHeight'] # Height of Image
width = data['ImageWidth'] # Width of Image
channels = data['Channels'] # Color Channels
# Get batch in NumPy
batch = np.fromstring(batch, np.uint8).reshape((batch_len, height, width, channels))
results = maven.infer(batch)
results_scrubbed = list()
for result in results.keys():
classes = list()
bbox = list()
confidence = list()
for cat in range(1, num_classes + 1):
for val in results[result][cat]:
conf = val[4]
if not conf > thresh_conf:
continue
x1 = val[0]
y1 = val[1]
x2 = val[2]
y2 = val[3]
classes.append(cat)
confidence.append(conf)
bbox.append([x1, y1, x2, y2])
results_scrubbed.append([classes, confidence, bbox])
return jsonify({'Response':str(results_scrubbed)})
@flaskserver.route(rule='/detect', methods=['POST'])
def detect():
''' Method to perform detections and return the results. '''
content = request
img = Image.open(content.files['file'].stream)
img = np.asarray(img)
img = cv2.cvtColor(img, cv2.COLOR_RGB2BGR)
# Parse the Data
batch = img.expand_dims(axis=0) # Batch of Images
# batch_len = batch.shape[0]# Length of Batch
# height = batch.shape[1] # Height of Image
# width = batch.shape[2] # Width of Image
# channels = batch.shape[3] # Color Channels
# # Get batch in NumPy
# batch = np.fromstring(batch, np.uint8).reshape((batch_len, height, width, channels))
results = maven.infer(batch)
results_scrubbed = list()
for result in results.keys():
classes = list()
bbox = list()
confidence = list()
for cat in range(1, num_classes + 1):
for val in results[result][cat]:
conf = val[4]
if not conf > thresh_conf:
continue
x1 = val[0]
y1 = val[1]
x2 = val[2]
y2 = val[3]
classes.append(cat)
confidence.append(conf)
bbox.append([x1, y1, x2, y2])
results_scrubbed.append([classes, confidence, bbox])
frame = batch.squeeze()
frame = athena.plotResults(frame, results_scrubbed)
cv2.namedWindow('Result', cv2.WINDOW_NORMAL)
cv2.imshow('Result', frame)
cv2.waitKey(0)
cv2.destroyAllWindows()
return jsonify({'Response':str(results_scrubbed)})
global maven, athena
maven = Maven()
athena = Athena()
if __name__ == '__main__':
flaskserver.run(host='127.0.0.1',
port=5000,
debug=True) | [
1,
529,
12443,
29918,
303,
1503,
29958,
29896,
29899,
29896,
29900,
13,
3166,
18304,
1053,
26435,
13,
5215,
12655,
408,
7442,
13,
5215,
8717,
13,
5215,
6674,
307,
985,
292,
408,
22326,
13,
5215,
13850,
29906,
13,
5215,
4036,
13,
3166,
349,
6227,
1053,
7084,
13,
13,
3166,
29784,
1053,
2379,
1278,
29892,
2009,
29892,
4390,
1598,
13,
1579,
1278,
2974,
353,
2379,
1278,
22168,
978,
1649,
29897,
13,
13,
1949,
29918,
13203,
353,
29871,
29929,
29946,
13,
386,
3781,
29918,
5527,
353,
29871,
29900,
29889,
29906,
13,
13,
10945,
18304,
29892,
17622,
2386,
13,
13,
1990,
9193,
2386,
29901,
13,
1678,
14550,
4134,
304,
4808,
4509,
3519,
322,
3651,
13,
4706,
363,
11580,
1439,
29872,
1953,
29889,
14550,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
1125,
13,
4706,
14550,
8108,
2000,
746,
770,
1203,
338,
2825,
29889,
14550,
13,
13,
4706,
1583,
29889,
2084,
353,
525,
13203,
29889,
3945,
29915,
13,
4706,
1583,
29889,
13203,
353,
1583,
29889,
949,
29918,
1990,
29918,
7039,
29898,
1311,
29889,
2084,
29897,
13,
4706,
1583,
29889,
1949,
29918,
13203,
353,
7431,
29898,
1311,
29889,
13203,
29897,
13,
4706,
1583,
29889,
27703,
353,
1583,
29889,
2780,
21575,
29898,
1311,
29889,
1949,
29918,
13203,
29897,
13,
13,
1678,
822,
2927,
21575,
29898,
1311,
29892,
954,
1125,
13,
4706,
14550,
8108,
304,
5706,
4036,
11955,
29889,
14550,
13,
13,
4706,
11955,
353,
9657,
580,
13,
4706,
363,
474,
297,
3464,
29898,
29900,
29892,
954,
1125,
13,
9651,
5694,
353,
1051,
580,
13,
9651,
289,
353,
4036,
29889,
9502,
524,
29898,
29900,
29892,
29871,
29906,
29945,
29945,
29897,
13,
9651,
330,
353,
4036,
29889,
9502,
524,
29898,
29900,
29892,
29871,
29906,
29945,
29945,
29897,
13,
9651,
364,
353,
4036,
29889,
9502,
524,
29898,
29900,
29892,
29871,
29906,
29945,
29945,
29897,
13,
9651,
5694,
29889,
4397,
29898,
29890,
29897,
13,
9651,
5694,
29889,
4397,
29898,
29887,
29897,
13,
9651,
5694,
29889,
4397,
29898,
29878,
29897,
13,
9651,
11955,
29889,
5504,
3319,
29875,
29974,
29896,
29901,
7382,
1800,
13,
13,
4706,
736,
11955,
13,
13,
1678,
822,
1303,
29918,
1990,
29918,
7039,
29898,
1311,
29892,
2224,
1125,
13,
4706,
14550,
8108,
304,
1303,
278,
770,
2983,
29889,
14550,
13,
4706,
1018,
29901,
13,
9651,
2983,
353,
9657,
580,
13,
9651,
411,
1722,
29898,
2084,
29892,
525,
29878,
1495,
408,
848,
29901,
13,
18884,
363,
3553,
29892,
1024,
297,
26985,
29898,
1272,
1125,
13,
462,
1678,
2983,
29961,
1367,
718,
29871,
29896,
29962,
353,
1024,
29889,
17010,
28909,
29876,
1495,
13,
9651,
848,
29889,
5358,
580,
13,
9651,
736,
2983,
13,
13,
4706,
5174,
29901,
13,
9651,
1596,
877,
17776,
304,
1303,
770,
2983,
1495,
13,
9651,
9637,
1627,
29889,
2158,
29918,
735,
29883,
580,
13,
9651,
10876,
29889,
13322,
29898,
29900,
29897,
13,
13,
1678,
822,
2927,
21575,
29898,
1311,
29892,
954,
1125,
13,
4706,
14550,
8108,
304,
5706,
4036,
11955,
29889,
14550,
13,
13,
4706,
11955,
353,
9657,
580,
13,
4706,
363,
474,
297,
3464,
29898,
29900,
29892,
954,
1125,
13,
9651,
5694,
353,
1051,
580,
13,
9651,
289,
353,
4036,
29889,
9502,
524,
29898,
29900,
29892,
29871,
29906,
29945,
29945,
29897,
13,
9651,
330,
353,
4036,
29889,
9502,
524,
29898,
29900,
29892,
29871,
29906,
29945,
29945,
29897,
13,
9651,
364,
353,
4036,
29889,
9502,
524,
29898,
29900,
29892,
29871,
29906,
29945,
29945,
29897,
13,
9651,
5694,
29889,
4397,
29898,
29890,
29897,
13,
9651,
5694,
29889,
4397,
29898,
29887,
29897,
13,
9651,
5694,
29889,
4397,
29898,
29878,
29897,
13,
9651,
11955,
29889,
5504,
3319,
29875,
29974,
29896,
29901,
7382,
1800,
13,
13,
4706,
736,
11955,
13,
13,
1678,
822,
1303,
29918,
1990,
29918,
7039,
29898,
1311,
29892,
2224,
1125,
13,
4706,
14550,
8108,
304,
1303,
278,
770,
2983,
29889,
14550,
13,
4706,
1018,
29901,
13,
9651,
2983,
353,
9657,
580,
13,
9651,
411,
1722,
29898,
2084,
29892,
525,
29878,
1495,
408,
848,
29901,
13,
18884,
363,
3553,
29892,
1024,
297,
26985,
29898,
1272,
1125,
13,
462,
1678,
2983,
29961,
1367,
718,
29871,
29896,
29962,
353,
1024,
29889,
17010,
28909,
29876,
1495,
13,
9651,
848,
29889,
5358,
580,
13,
9651,
736,
2983,
13,
13,
4706,
5174,
29901,
13,
9651,
1596,
877,
17776,
304,
1303,
770,
2983,
1495,
13,
9651,
9637,
1627,
29889,
2158,
29918,
735,
29883,
580,
13,
9651,
10876,
29889,
13322,
29898,
29900,
29897,
13,
13,
1678,
822,
6492,
12191,
29898,
1311,
29892,
3515,
29892,
1121,
1125,
13,
4706,
14550,
8108,
304,
6492,
2582,
29889,
14550,
13,
13,
4706,
770,
29918,
4841,
353,
1121,
29961,
29900,
3816,
29900,
29962,
13,
4706,
16420,
353,
1121,
29961,
29900,
3816,
29896,
29962,
13,
4706,
24371,
353,
1121,
29961,
29900,
3816,
29906,
29962,
13,
13,
4706,
363,
6795,
297,
3464,
29898,
2435,
29898,
1990,
29918,
4841,
22164,
13,
9651,
770,
29918,
333,
353,
1583,
29889,
13203,
29961,
1990,
29918,
4841,
29961,
11808,
5262,
13,
9651,
565,
29898,
1990,
29918,
333,
1275,
525,
8696,
29915,
470,
770,
29918,
333,
1275,
525,
10532,
29374,
13,
18884,
1970,
353,
851,
29898,
5527,
5084,
29961,
11808,
2314,
13,
18884,
921,
29896,
353,
938,
29898,
9917,
4314,
29961,
11808,
3816,
29900,
2314,
13,
18884,
343,
29896,
353,
938,
29898,
9917,
4314,
29961,
11808,
3816,
29896,
2314,
13,
18884,
921,
29906,
353,
938,
29898,
9917,
4314,
29961,
11808,
3816,
29906,
2314,
13,
18884,
343,
29906,
353,
938,
29898,
9917,
4314,
29961,
11808,
3816,
29941,
2314,
13,
18884,
2927,
353,
1583,
29889,
27703,
29961,
1990,
29918,
4841,
29961,
11808,
5262,
13,
18884,
13850,
29906,
29889,
1621,
2521,
29898,
2557,
29892,
313,
29916,
29896,
29892,
343,
29896,
511,
313,
29916,
29906,
29892,
343,
29906,
511,
2927,
29892,
29871,
29906,
29897,
13,
18884,
13850,
29906,
29889,
1621,
2521,
29898,
2557,
29892,
313,
29916,
29896,
29892,
343,
29896,
511,
313,
29916,
29896,
718,
313,
2435,
29898,
1990,
29918,
333,
29897,
718,
7431,
29898,
5527,
876,
334,
29871,
29906,
29900,
29892,
13,
462,
18884,
343,
29896,
448,
29871,
29906,
29945,
29897,
1919,
2927,
29892,
448,
29896,
29892,
13850,
29906,
29889,
18521,
29918,
6344,
29897,
13,
18884,
13850,
29906,
29889,
649,
1626,
29898,
2557,
29892,
770,
29918,
333,
718,
525,
11283,
718,
1970,
29892,
313,
29916,
29896,
29892,
343,
29896,
511,
13,
462,
9651,
13850,
29906,
29889,
29943,
1164,
29911,
29918,
4448,
7068,
13282,
29918,
21514,
1307,
29990,
29892,
29871,
29900,
29889,
29947,
29945,
29892,
313,
29900,
29892,
29871,
29900,
29892,
29871,
29900,
511,
29871,
29896,
29892,
13850,
29906,
29889,
18521,
29918,
6344,
29897,
13,
4706,
736,
3515,
13,
13,
29992,
1579,
1278,
2974,
29889,
13134,
29898,
7491,
2433,
29914,
4801,
522,
29918,
7707,
650,
742,
3519,
29922,
1839,
5438,
11287,
13,
1753,
6459,
29918,
7707,
650,
7295,
13,
1678,
14550,
8108,
304,
2189,
1439,
29872,
1953,
322,
736,
278,
2582,
29889,
14550,
13,
13,
1678,
2793,
353,
2009,
13,
13,
1678,
848,
353,
8717,
29889,
20889,
284,
29918,
14513,
29898,
3051,
29889,
1272,
29889,
13808,
877,
9420,
29899,
29947,
8785,
13,
13,
1678,
396,
20969,
278,
3630,
13,
1678,
9853,
353,
848,
1839,
23145,
2033,
396,
350,
905,
310,
1954,
1179,
13,
1678,
9853,
29918,
2435,
353,
848,
1839,
23145,
6513,
2033,
396,
365,
1477,
310,
350,
905,
13,
1678,
3171,
353,
848,
1839,
2940,
7011,
2033,
396,
22907,
310,
7084,
13,
1678,
2920,
353,
848,
1839,
2940,
6110,
2033,
396,
21485,
310,
7084,
13,
1678,
18196,
353,
848,
1839,
1451,
12629,
2033,
396,
9159,
678,
12629,
13,
13,
1678,
396,
3617,
9853,
297,
11848,
19737,
13,
1678,
9853,
353,
7442,
29889,
3166,
1807,
29898,
16175,
29892,
7442,
29889,
13470,
29947,
467,
690,
14443,
3552,
16175,
29918,
2435,
29892,
3171,
29892,
2920,
29892,
18196,
876,
13,
13,
1678,
2582,
353,
18304,
29889,
262,
571,
29898,
16175,
29897,
13,
1678,
2582,
29918,
10526,
431,
2580,
353,
1051,
580,
13,
13,
1678,
363,
1121,
297,
2582,
29889,
8149,
7295,
13,
4706,
4413,
353,
1051,
580,
13,
4706,
289,
1884,
353,
1051,
580,
13,
4706,
16420,
353,
1051,
580,
13,
4706,
363,
6635,
297,
3464,
29898,
29896,
29892,
954,
29918,
13203,
718,
29871,
29896,
1125,
13,
9651,
363,
659,
297,
2582,
29961,
2914,
3816,
4117,
5387,
13,
18884,
1970,
353,
659,
29961,
29946,
29962,
13,
18884,
565,
451,
1970,
1405,
266,
3781,
29918,
5527,
29901,
13,
462,
1678,
6773,
13,
18884,
921,
29896,
353,
659,
29961,
29900,
29962,
13,
18884,
343,
29896,
353,
659,
29961,
29896,
29962,
13,
18884,
921,
29906,
353,
659,
29961,
29906,
29962,
13,
18884,
343,
29906,
353,
659,
29961,
29941,
29962,
13,
18884,
4413,
29889,
4397,
29898,
4117,
29897,
13,
18884,
16420,
29889,
4397,
29898,
5527,
29897,
13,
18884,
289,
1884,
29889,
4397,
4197,
29916,
29896,
29892,
343,
29896,
29892,
921,
29906,
29892,
343,
29906,
2314,
13,
4706,
2582,
29918,
10526,
431,
2580,
29889,
4397,
4197,
13203,
29892,
16420,
29892,
289,
1884,
2314,
13,
1678,
736,
4390,
1598,
3319,
29915,
5103,
2396,
710,
29898,
9902,
29918,
10526,
431,
2580,
26972,
13,
13,
29992,
1579,
1278,
2974,
29889,
13134,
29898,
7491,
2433,
29914,
4801,
522,
742,
3519,
29922,
1839,
5438,
11287,
13,
1753,
6459,
7295,
13,
1678,
14550,
8108,
304,
2189,
1439,
29872,
1953,
322,
736,
278,
2582,
29889,
14550,
13,
13,
1678,
2793,
353,
2009,
13,
13,
1678,
10153,
353,
7084,
29889,
3150,
29898,
3051,
29889,
5325,
1839,
1445,
13359,
5461,
29897,
13,
1678,
10153,
353,
7442,
29889,
294,
2378,
29898,
2492,
29897,
13,
1678,
10153,
353,
13850,
29906,
29889,
11023,
29873,
3306,
29898,
2492,
29892,
13850,
29906,
29889,
15032,
1955,
29918,
28212,
29906,
29933,
14345,
29897,
13,
13,
1678,
396,
20969,
278,
3630,
13,
1678,
9853,
353,
10153,
29889,
18837,
29918,
6229,
29879,
29898,
8990,
29922,
29900,
29897,
396,
350,
905,
310,
1954,
1179,
13,
1678,
396,
9853,
29918,
2435,
353,
9853,
29889,
12181,
29961,
29900,
29962,
29937,
365,
1477,
310,
350,
905,
13,
1678,
396,
3171,
353,
9853,
29889,
12181,
29961,
29896,
29962,
396,
22907,
310,
7084,
13,
1678,
396,
2920,
353,
9853,
29889,
12181,
29961,
29906,
29962,
396,
21485,
310,
7084,
13,
1678,
396,
18196,
353,
9853,
29889,
12181,
29961,
29941,
29962,
396,
9159,
678,
12629,
13,
13,
1678,
396,
396,
3617,
9853,
297,
11848,
19737,
13,
1678,
396,
9853,
353,
7442,
29889,
3166,
1807,
29898,
16175,
29892,
7442,
29889,
13470,
29947,
467,
690,
14443,
3552,
16175,
29918,
2435,
29892,
3171,
29892,
2920,
29892,
18196,
876,
13,
1678,
2582,
353,
18304,
29889,
262,
571,
29898,
16175,
29897,
13,
1678,
2582,
29918,
10526,
431,
2580,
353,
1051,
580,
13,
13,
1678,
363,
1121,
297,
2582,
29889,
8149,
7295,
13,
4706,
4413,
353,
1051,
580,
13,
4706,
289,
1884,
353,
1051,
580,
13,
4706,
16420,
353,
1051,
580,
13,
4706,
363,
6635,
297,
3464,
29898,
29896,
29892,
954,
29918,
13203,
718,
29871,
29896,
1125,
13,
9651,
363,
659,
297,
2582,
29961,
2914,
3816,
4117,
5387,
13,
18884,
1970,
353,
659,
29961,
29946,
29962,
13,
18884,
565,
451,
1970,
1405,
266,
3781,
29918,
5527,
29901,
13,
462,
1678,
6773,
13,
18884,
921,
29896,
353,
659,
29961,
29900,
29962,
13,
18884,
343,
29896,
353,
659,
29961,
29896,
29962,
13,
18884,
921,
29906,
353,
659,
29961,
29906,
29962,
13,
18884,
343,
29906,
353,
659,
29961,
29941,
29962,
13,
18884,
4413,
29889,
4397,
29898,
4117,
29897,
13,
18884,
16420,
29889,
4397,
29898,
5527,
29897,
13,
18884,
289,
1884,
29889,
4397,
4197,
29916,
29896,
29892,
343,
29896,
29892,
921,
29906,
29892,
343,
29906,
2314,
13,
13,
4706,
2582,
29918,
10526,
431,
2580,
29889,
4397,
4197,
13203,
29892,
16420,
29892,
289,
1884,
2314,
13,
4706,
3515,
353,
9853,
29889,
29879,
802,
29872,
911,
580,
13,
4706,
3515,
353,
17622,
2386,
29889,
5317,
12191,
29898,
2557,
29892,
2582,
29918,
10526,
431,
2580,
29897,
13,
4706,
13850,
29906,
29889,
17514,
5907,
877,
3591,
742,
13850,
29906,
29889,
25152,
3970,
29956,
29918,
29940,
1955,
1529,
29931,
29897,
13,
4706,
13850,
29906,
29889,
326,
4294,
877,
3591,
742,
3515,
29897,
13,
4706,
13850,
29906,
29889,
10685,
2558,
29898,
29900,
29897,
13,
4706,
13850,
29906,
29889,
20524,
3596,
7685,
580,
13,
1678,
736,
4390,
1598,
3319,
29915,
5103,
2396,
710,
29898,
9902,
29918,
10526,
431,
2580,
26972,
13,
13,
10945,
18304,
29892,
17622,
2386,
13,
12419,
353,
26435,
580,
13,
493,
2386,
353,
9193,
2386,
580,
13,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
1678,
29784,
2974,
29889,
3389,
29898,
3069,
2433,
29896,
29906,
29955,
29889,
29900,
29889,
29900,
29889,
29896,
742,
13,
462,
1678,
2011,
29922,
29945,
29900,
29900,
29900,
29892,
13,
462,
1678,
4744,
29922,
5574,
29897,
2
] |
day03/part1.py | joeeoj/adventofcode2020 | 0 | 172184 | def find_tree(row, index):
if index > len(row):
row = row * ((index // len(row)) + 1)
if row[index] == '#':
return 1
return 0
if __name__ == '__main__':
with open('input.txt') as f:
data = [r.strip() for r in f.readlines()]
indices = range(0, len(data) * 3, 3)
tree_count = 0
for row, i in zip(data, indices):
tree_count += find_tree(row, i)
print(f'Total trees: {tree_count}')
| [
1,
822,
1284,
29918,
8336,
29898,
798,
29892,
2380,
1125,
13,
1678,
565,
2380,
1405,
7431,
29898,
798,
1125,
13,
4706,
1948,
353,
1948,
334,
5135,
2248,
849,
7431,
29898,
798,
876,
718,
29871,
29896,
29897,
13,
1678,
565,
1948,
29961,
2248,
29962,
1275,
16321,
2396,
13,
4706,
736,
29871,
29896,
13,
1678,
736,
29871,
29900,
13,
13,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
1678,
411,
1722,
877,
2080,
29889,
3945,
1495,
408,
285,
29901,
13,
4706,
848,
353,
518,
29878,
29889,
17010,
580,
363,
364,
297,
285,
29889,
949,
9012,
580,
29962,
13,
13,
1678,
16285,
353,
3464,
29898,
29900,
29892,
7431,
29898,
1272,
29897,
334,
29871,
29941,
29892,
29871,
29941,
29897,
13,
1678,
5447,
29918,
2798,
353,
29871,
29900,
13,
1678,
363,
1948,
29892,
474,
297,
14319,
29898,
1272,
29892,
16285,
1125,
13,
4706,
5447,
29918,
2798,
4619,
1284,
29918,
8336,
29898,
798,
29892,
474,
29897,
13,
13,
1678,
1596,
29898,
29888,
29915,
11536,
10697,
29901,
426,
8336,
29918,
2798,
29913,
1495,
13,
2
] |
tools/android/proguard_whitelister.py | brandonpollack23/bazel-buildfiles-upstream | 142 | 157456 | # Copyright 2015 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Checks for proguard configuration rules that cannot be combined across libs.
The only valid proguard arguments for a library are -keep, -assumenosideeffects,
and -dontnote and -dontwarn and -checkdiscard when they are provided with
arguments.
"""
import re
import sys
from third_party.py import gflags
gflags.DEFINE_string('path', None, 'Path to the proguard config to validate')
gflags.DEFINE_string('output', None, 'Where to put the validated config')
FLAGS = gflags.FLAGS
PROGUARD_COMMENTS_PATTERN = '#.*(\n|$)'
def main():
with open(FLAGS.path) as config:
config_string = config.read()
invalid_configs = Validate(config_string)
if invalid_configs:
raise RuntimeError('Invalid proguard config parameters: '
+ str(invalid_configs))
with open(FLAGS.output, 'w+') as outconfig:
config_string = ('# Merged from %s \n' % FLAGS.path) + config_string
outconfig.write(config_string)
def Validate(config):
"""Checks the config for illegal arguments."""
config = re.sub(PROGUARD_COMMENTS_PATTERN, '', config)
args = config.split('-')
invalid_configs = []
for arg in args:
arg = arg.strip()
if not arg:
continue
elif arg.startswith('checkdiscard'):
continue
elif arg.startswith('keep'):
continue
elif arg.startswith('assumenosideeffects'):
continue
elif arg.split()[0] == 'dontnote':
if len(arg.split()) > 1:
continue
elif arg.split()[0] == 'dontwarn':
if len(arg.split()) > 1:
continue
invalid_configs.append('-' + arg.split()[0])
return invalid_configs
if __name__ == '__main__':
FLAGS(sys.argv)
main()
| [
1,
396,
14187,
1266,
29871,
29906,
29900,
29896,
29945,
5087,
9266,
29889,
2178,
10462,
21676,
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,
1678,
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,
13,
15945,
29908,
5596,
29879,
363,
410,
17728,
5285,
6865,
393,
2609,
367,
12420,
4822,
4303,
29879,
29889,
13,
13,
1576,
871,
2854,
410,
17728,
6273,
363,
263,
3489,
526,
448,
17462,
29892,
448,
465,
14170,
359,
680,
15987,
29879,
29892,
13,
392,
448,
29881,
609,
6812,
322,
448,
29881,
609,
25442,
322,
448,
3198,
2218,
7543,
746,
896,
526,
4944,
411,
13,
25699,
29889,
13,
15945,
29908,
13,
13,
5215,
337,
13,
5215,
10876,
13,
13,
3166,
4654,
29918,
22633,
29889,
2272,
1053,
330,
15764,
13,
13,
29887,
15764,
29889,
24405,
8895,
29918,
1807,
877,
2084,
742,
6213,
29892,
525,
2605,
304,
278,
410,
17728,
2295,
304,
12725,
1495,
13,
29887,
15764,
29889,
24405,
8895,
29918,
1807,
877,
4905,
742,
6213,
29892,
525,
11921,
304,
1925,
278,
2854,
630,
2295,
1495,
13,
13,
18823,
10749,
353,
330,
15764,
29889,
18823,
10749,
13,
8618,
29954,
29965,
17011,
29918,
3217,
7428,
3919,
29903,
29918,
29925,
1299,
4945,
29940,
353,
16321,
5575,
1194,
29876,
29989,
10931,
29915,
13,
13,
13,
1753,
1667,
7295,
13,
29871,
411,
1722,
29898,
18823,
10749,
29889,
2084,
29897,
408,
2295,
29901,
13,
1678,
2295,
29918,
1807,
353,
2295,
29889,
949,
580,
13,
1678,
8340,
29918,
2917,
29879,
353,
15758,
403,
29898,
2917,
29918,
1807,
29897,
13,
1678,
565,
8340,
29918,
2917,
29879,
29901,
13,
418,
12020,
24875,
2392,
877,
13919,
410,
17728,
2295,
4128,
29901,
525,
13,
462,
308,
718,
851,
29898,
20965,
29918,
2917,
29879,
876,
13,
29871,
411,
1722,
29898,
18823,
10749,
29889,
4905,
29892,
525,
29893,
29974,
1495,
408,
714,
2917,
29901,
13,
1678,
2295,
29918,
1807,
353,
6702,
29937,
4702,
3192,
515,
1273,
29879,
320,
29876,
29915,
1273,
383,
4375,
10749,
29889,
2084,
29897,
718,
2295,
29918,
1807,
13,
1678,
714,
2917,
29889,
3539,
29898,
2917,
29918,
1807,
29897,
13,
13,
13,
1753,
15758,
403,
29898,
2917,
1125,
13,
29871,
9995,
5596,
29879,
278,
2295,
363,
27302,
6273,
1213,
15945,
13,
29871,
2295,
353,
337,
29889,
1491,
29898,
8618,
29954,
29965,
17011,
29918,
3217,
7428,
3919,
29903,
29918,
29925,
1299,
4945,
29940,
29892,
15516,
2295,
29897,
13,
29871,
6389,
353,
2295,
29889,
5451,
877,
29899,
1495,
13,
29871,
8340,
29918,
2917,
29879,
353,
5159,
13,
29871,
363,
1852,
297,
6389,
29901,
13,
1678,
1852,
353,
1852,
29889,
17010,
580,
13,
1678,
565,
451,
1852,
29901,
13,
418,
6773,
13,
1678,
25342,
1852,
29889,
27382,
2541,
877,
3198,
2218,
7543,
29374,
13,
418,
6773,
13,
1678,
25342,
1852,
29889,
27382,
2541,
877,
17462,
29374,
13,
418,
6773,
13,
1678,
25342,
1852,
29889,
27382,
2541,
877,
465,
14170,
359,
680,
15987,
29879,
29374,
13,
418,
6773,
13,
1678,
25342,
1852,
29889,
5451,
580,
29961,
29900,
29962,
1275,
525,
29881,
609,
6812,
2396,
13,
418,
565,
7431,
29898,
1191,
29889,
5451,
3101,
1405,
29871,
29896,
29901,
13,
4706,
6773,
13,
1678,
25342,
1852,
29889,
5451,
580,
29961,
29900,
29962,
1275,
525,
29881,
609,
25442,
2396,
13,
418,
565,
7431,
29898,
1191,
29889,
5451,
3101,
1405,
29871,
29896,
29901,
13,
4706,
6773,
13,
1678,
8340,
29918,
2917,
29879,
29889,
4397,
877,
29899,
29915,
718,
1852,
29889,
5451,
580,
29961,
29900,
2314,
13,
13,
29871,
736,
8340,
29918,
2917,
29879,
13,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
29871,
383,
4375,
10749,
29898,
9675,
29889,
19218,
29897,
13,
29871,
1667,
580,
13,
2
] |
Blasting/Start.py | Erosion2020/SpaceCore | 4 | 34481 | <filename>Blasting/Start.py
import Blasting
name = "Blasting"
input_message = f"[{name} #]"
def menu():
print("-------------------------------弱口令爆破子模块-------------------------------")
print("1、SSH弱口令爆破")
print("2、MySQL弱口令爆破")
print("输入exit退出")
print("-----------------------------------END-----------------------------------")
def start():
menu()
while True:
option = input(input_message)
if option == 'exit':
break
elif option == '1':
Blasting.SSH.ssh_blasting()
elif option == '2':
Blasting.MySQL.blasting_mysql()
elif option == 'help':
menu()
else:
print("无效的输入,请重新输入")
| [
1,
529,
9507,
29958,
29933,
4230,
292,
29914,
4763,
29889,
2272,
13,
5215,
3164,
579,
292,
13,
13,
978,
353,
376,
29933,
4230,
292,
29908,
13,
2080,
29918,
4906,
353,
285,
29908,
19660,
978,
29913,
396,
18017,
13,
13,
13,
1753,
6143,
7295,
13,
1678,
1596,
703,
2683,
9072,
5634,
232,
191,
180,
30856,
31650,
234,
139,
137,
234,
163,
183,
30319,
31382,
232,
160,
154,
2683,
9072,
5634,
1159,
13,
1678,
1596,
703,
29896,
30330,
1799,
29950,
232,
191,
180,
30856,
31650,
234,
139,
137,
234,
163,
183,
1159,
13,
1678,
1596,
703,
29906,
30330,
3421,
4176,
232,
191,
180,
30856,
31650,
234,
139,
137,
234,
163,
183,
1159,
13,
1678,
1596,
703,
31573,
30752,
13322,
236,
131,
131,
30544,
1159,
13,
1678,
1596,
703,
2683,
2683,
5634,
11794,
2683,
2683,
5634,
1159,
13,
13,
13,
1753,
1369,
7295,
13,
1678,
6143,
580,
13,
1678,
1550,
5852,
29901,
13,
4706,
2984,
353,
1881,
29898,
2080,
29918,
4906,
29897,
13,
4706,
565,
2984,
1275,
525,
13322,
2396,
13,
9651,
2867,
13,
4706,
25342,
2984,
1275,
525,
29896,
2396,
13,
9651,
3164,
579,
292,
29889,
1799,
29950,
29889,
15269,
29918,
23190,
292,
580,
13,
4706,
25342,
2984,
1275,
525,
29906,
2396,
13,
9651,
3164,
579,
292,
29889,
3421,
4176,
29889,
23190,
292,
29918,
7938,
580,
13,
4706,
25342,
2984,
1275,
525,
8477,
2396,
13,
9651,
6143,
580,
13,
4706,
1683,
29901,
13,
9651,
1596,
703,
31352,
31944,
30210,
31573,
30752,
29892,
31088,
30908,
30374,
31573,
30752,
1159,
13,
2
] |
PythonAPI/examples/spawn_assets.py | vishal-prgmr/carla | 0 | 171237 | <filename>PythonAPI/examples/spawn_assets.py
#!/usr/bin/env python
# Copyright (c) 2019 Computer Vision Center (CVC) at the Universitat Autonoma de
# Barcelona (UAB).
#
# This work is licensed under the terms of the MIT license.
# For a copy, see <https://opensource.org/licenses/MIT>.
#
#This script is used for dropping assets along the a lane section at random locations.
import glob
import os
import sys
import pandas as pd
try:
sys.path.append(glob.glob('../carla/dist/carla-*%d.%d-%s.egg' % (
sys.version_info.major,
sys.version_info.minor,
'win-amd64' if os.name == 'nt' else 'linux-x86_64'))[0])
except IndexError:
pass
import carla
import random
import time
import random
def main():
actor_list = []
# In this tutorial script, we are going to add a vehicle to the simulation
# and let it drive in autopilot. We will also create a camera attached to
# that vehicle, and save all the images generated by the camera to disk.
try:
# First of all, we need to create the client that will send the requests
# to the simulator. Here we'll assume the simulator is accepting
# requests in the localhost at port 2000.
client = carla.Client('localhost', 2000)
client.set_timeout(2.0)
# Once we have a client we can retrieve the world that is currently
# running.
world = client.get_world()
m = world.get_map()
# The world contains the list blueprints that we can use for adding new
# actors into the simulation.
blueprint_library = world.get_blueprint_library()
cone_bp = blueprint_library.find('static.prop.trafficcone01')
barrier_np = blueprint_library.find('static.prop.streetbarrier')
bp_list = [cone_bp, barrier_np]
#Waypoints
waypoints = m.generate_waypoints(1)
#lane width is 3.5
way_points = pd.DataFrame(data=None, columns=['x', 'y', 'z','id', 'type'])
x = []
y = []
z = []
Road_type = []
Road_id = []
for w in waypoints:
Road_id.append(w.road_id)
x.append(w.transform.location.x)
y.append(w.transform.location.y)
z.append(w.transform.location.z)
Road_type.append(str(w.lane_change))
way_points.x = x
way_points.y = y
way_points.z = z
way_points.id = Road_id
way_points.type = Road_type
way_points.to_csv("D:/Carla_Lidar/{}.csv".format("Way_pointsT2"), index=None)
print("Please note the lane type ( Left or Right) and the lane ID to spawn assets along this lane type")
time.sleep(5)
for index, rows in way_points.iterrows():
if rows['type'] == "Left":
name = 'L - ' + str(rows['id'])
world.debug.draw_string(carla.Location(x=rows['x'] , y=rows['y']), name, draw_shadow=False,
color=carla.Color(r=0, g=0, b=255), life_time=200.0,
persistent_lines=True)
elif rows['type'] == "Right":
name = 'R - ' + str(rows['id'])
world.debug.draw_string(carla.Location(x=rows['x'], y=rows['y']), name, draw_shadow=False,
color=carla.Color(r=0, g=255, b=0), life_time=200.0,
persistent_lines=True)
elif rows['type'] == "NONE":
name = 'N - ' + str(rows['id'])
world.debug.draw_string(carla.Location(x=rows['x'], y=rows['y']), name, draw_shadow=False,
color=carla.Color(r=100, g=0, b=100), life_time=200.0,
persistent_lines=True)
time.sleep(5)
chosen_road_ids = []
if len(chosen_road_ids) != 0:
for elem in chosen_road_ids:
xList = []
yList = []
coord = pd.DataFrame(data=None, columns=['x', 'y'])
for index, rows in way_points.iterrows():
if rows['id'] == elem:
xList.append(rows['x'])
yList.append(rows['y'])
coord.x = xList
coord.y = yList
coord = coord.sample(n=3)
for index,rows in coord.iterrows():
transform = carla.Transform(carla.Location(x=rows['x'], y=(rows['y']+3)),
carla.Rotation(yaw=random.choice([0,45, 60,90])))
world.debug.draw_string(carla.Location(x=rows['x'], y=rows['y']+3, z=100), 'X', draw_shadow=True,
color=carla.Color(r=255, g=0, b=0), life_time=200.0,
persistent_lines=True)
assets = world.spawn_actor(random.choice(bp_list), transform)
finally:
print('destroying actors')
for actor in actor_list:
actor.destroy()
print('done.')
if __name__ == '__main__':
main()
| [
1,
529,
9507,
29958,
11980,
8787,
29914,
19057,
29914,
1028,
18101,
29918,
16596,
29889,
2272,
13,
29937,
14708,
4855,
29914,
2109,
29914,
6272,
3017,
13,
13,
29937,
14187,
1266,
313,
29883,
29897,
29871,
29906,
29900,
29896,
29929,
20972,
478,
2459,
7817,
313,
29907,
8257,
29897,
472,
278,
2116,
7366,
5202,
265,
4125,
316,
13,
29937,
12408,
313,
29965,
2882,
467,
13,
29937,
13,
29937,
910,
664,
338,
7794,
21144,
1090,
278,
4958,
310,
278,
341,
1806,
19405,
29889,
13,
29937,
1152,
263,
3509,
29892,
1074,
529,
991,
597,
22156,
1167,
29889,
990,
29914,
506,
11259,
29914,
26349,
15513,
13,
29937,
13,
29937,
4013,
2471,
338,
1304,
363,
4441,
3262,
21608,
3412,
278,
263,
301,
1662,
4004,
472,
4036,
14354,
29889,
13,
13,
5215,
13149,
13,
5215,
2897,
13,
5215,
10876,
13,
5215,
11701,
408,
10518,
13,
13,
2202,
29901,
13,
1678,
10876,
29889,
2084,
29889,
4397,
29898,
23705,
29889,
23705,
877,
6995,
4287,
433,
29914,
5721,
29914,
4287,
433,
29899,
29930,
29995,
29881,
29889,
29995,
29881,
19222,
29879,
29889,
387,
29887,
29915,
1273,
313,
13,
4706,
10876,
29889,
3259,
29918,
3888,
29889,
21355,
29892,
13,
4706,
10876,
29889,
3259,
29918,
3888,
29889,
1195,
272,
29892,
13,
4706,
525,
5080,
29899,
22490,
29953,
29946,
29915,
565,
2897,
29889,
978,
1275,
525,
593,
29915,
1683,
525,
9389,
29899,
29916,
29947,
29953,
29918,
29953,
29946,
8785,
29961,
29900,
2314,
13,
19499,
11374,
2392,
29901,
13,
1678,
1209,
13,
13,
5215,
1559,
433,
13,
13,
5215,
4036,
13,
5215,
931,
13,
5215,
4036,
13,
13,
13,
1753,
1667,
7295,
13,
1678,
11339,
29918,
1761,
353,
5159,
13,
13,
1678,
396,
512,
445,
9673,
2471,
29892,
591,
526,
2675,
304,
788,
263,
19716,
304,
278,
17402,
13,
1678,
396,
322,
1235,
372,
7899,
297,
1120,
459,
309,
327,
29889,
1334,
674,
884,
1653,
263,
10656,
10959,
304,
13,
1678,
396,
393,
19716,
29892,
322,
4078,
599,
278,
4558,
5759,
491,
278,
10656,
304,
8086,
29889,
13,
13,
1678,
1018,
29901,
13,
4706,
396,
3824,
310,
599,
29892,
591,
817,
304,
1653,
278,
3132,
393,
674,
3638,
278,
7274,
13,
4706,
396,
304,
278,
1027,
9183,
29889,
2266,
591,
29915,
645,
5251,
278,
1027,
9183,
338,
25967,
13,
4706,
396,
7274,
297,
278,
15683,
472,
2011,
29871,
29906,
29900,
29900,
29900,
29889,
13,
4706,
3132,
353,
1559,
433,
29889,
4032,
877,
7640,
742,
29871,
29906,
29900,
29900,
29900,
29897,
13,
4706,
3132,
29889,
842,
29918,
15619,
29898,
29906,
29889,
29900,
29897,
13,
13,
4706,
396,
9038,
591,
505,
263,
3132,
591,
508,
10563,
278,
3186,
393,
338,
5279,
13,
4706,
396,
2734,
29889,
13,
4706,
3186,
353,
3132,
29889,
657,
29918,
11526,
580,
13,
4706,
286,
353,
3186,
29889,
657,
29918,
1958,
580,
13,
4706,
396,
450,
3186,
3743,
278,
1051,
7254,
2158,
29879,
393,
591,
508,
671,
363,
4417,
716,
13,
4706,
396,
29701,
964,
278,
17402,
29889,
13,
4706,
7254,
2158,
29918,
5258,
353,
3186,
29889,
657,
29918,
9539,
2158,
29918,
5258,
580,
13,
4706,
27843,
29918,
25288,
353,
7254,
2158,
29918,
5258,
29889,
2886,
877,
7959,
29889,
7728,
29889,
3018,
2416,
535,
29872,
29900,
29896,
1495,
13,
4706,
2594,
4336,
29918,
9302,
353,
7254,
2158,
29918,
5258,
29889,
2886,
877,
7959,
29889,
7728,
29889,
29352,
1646,
4336,
1495,
13,
4706,
289,
29886,
29918,
1761,
353,
518,
535,
29872,
29918,
25288,
29892,
2594,
4336,
29918,
9302,
29962,
13,
4706,
396,
29956,
388,
9748,
13,
4706,
982,
9748,
353,
286,
29889,
17158,
29918,
1582,
9748,
29898,
29896,
29897,
13,
4706,
396,
25821,
2920,
338,
29871,
29941,
29889,
29945,
13,
13,
4706,
982,
29918,
9748,
353,
10518,
29889,
17271,
29898,
1272,
29922,
8516,
29892,
4341,
29922,
1839,
29916,
742,
525,
29891,
742,
525,
29920,
3788,
333,
742,
525,
1853,
11287,
13,
4706,
921,
353,
5159,
13,
4706,
343,
353,
5159,
13,
4706,
503,
353,
5159,
13,
4706,
9321,
29918,
1853,
353,
5159,
13,
4706,
9321,
29918,
333,
353,
5159,
13,
4706,
363,
281,
297,
982,
9748,
29901,
13,
9651,
9321,
29918,
333,
29889,
4397,
29898,
29893,
29889,
9972,
29918,
333,
29897,
13,
9651,
921,
29889,
4397,
29898,
29893,
29889,
9067,
29889,
5479,
29889,
29916,
29897,
13,
9651,
343,
29889,
4397,
29898,
29893,
29889,
9067,
29889,
5479,
29889,
29891,
29897,
13,
9651,
503,
29889,
4397,
29898,
29893,
29889,
9067,
29889,
5479,
29889,
29920,
29897,
13,
9651,
9321,
29918,
1853,
29889,
4397,
29898,
710,
29898,
29893,
29889,
25821,
29918,
3167,
876,
13,
4706,
982,
29918,
9748,
29889,
29916,
353,
921,
13,
4706,
982,
29918,
9748,
29889,
29891,
353,
343,
13,
4706,
982,
29918,
9748,
29889,
29920,
353,
503,
13,
4706,
982,
29918,
9748,
29889,
333,
353,
9321,
29918,
333,
13,
4706,
982,
29918,
9748,
29889,
1853,
353,
9321,
29918,
1853,
13,
4706,
982,
29918,
9748,
29889,
517,
29918,
7638,
703,
29928,
8419,
8179,
433,
29918,
29931,
333,
279,
19248,
1836,
7638,
1642,
4830,
703,
29956,
388,
29918,
9748,
29911,
29906,
4968,
2380,
29922,
8516,
29897,
13,
4706,
1596,
703,
12148,
4443,
278,
301,
1662,
1134,
313,
19941,
470,
10428,
29897,
322,
278,
301,
1662,
3553,
304,
29178,
21608,
3412,
445,
301,
1662,
1134,
1159,
13,
4706,
931,
29889,
17059,
29898,
29945,
29897,
13,
4706,
363,
2380,
29892,
4206,
297,
982,
29918,
9748,
29889,
1524,
5727,
7295,
13,
9651,
565,
4206,
1839,
1853,
2033,
1275,
376,
8091,
1115,
13,
18884,
1024,
353,
525,
29931,
448,
525,
718,
851,
29898,
5727,
1839,
333,
11287,
13,
18884,
3186,
29889,
8382,
29889,
4012,
29918,
1807,
29898,
4287,
433,
29889,
6508,
29898,
29916,
29922,
5727,
1839,
29916,
2033,
1919,
343,
29922,
5727,
1839,
29891,
2033,
511,
1024,
29892,
4216,
29918,
17505,
29922,
8824,
29892,
13,
462,
462,
4706,
2927,
29922,
4287,
433,
29889,
3306,
29898,
29878,
29922,
29900,
29892,
330,
29922,
29900,
29892,
289,
29922,
29906,
29945,
29945,
511,
2834,
29918,
2230,
29922,
29906,
29900,
29900,
29889,
29900,
29892,
13,
462,
462,
4706,
28152,
29918,
9012,
29922,
5574,
29897,
13,
9651,
25342,
4206,
1839,
1853,
2033,
1275,
376,
7341,
1115,
13,
18884,
1024,
353,
525,
29934,
448,
525,
718,
851,
29898,
5727,
1839,
333,
11287,
13,
18884,
3186,
29889,
8382,
29889,
4012,
29918,
1807,
29898,
4287,
433,
29889,
6508,
29898,
29916,
29922,
5727,
1839,
29916,
7464,
343,
29922,
5727,
1839,
29891,
2033,
511,
1024,
29892,
4216,
29918,
17505,
29922,
8824,
29892,
13,
462,
462,
4706,
2927,
29922,
4287,
433,
29889,
3306,
29898,
29878,
29922,
29900,
29892,
330,
29922,
29906,
29945,
29945,
29892,
289,
29922,
29900,
511,
2834,
29918,
2230,
29922,
29906,
29900,
29900,
29889,
29900,
29892,
13,
462,
462,
4706,
28152,
29918,
9012,
29922,
5574,
29897,
13,
9651,
25342,
4206,
1839,
1853,
2033,
1275,
376,
29940,
12413,
1115,
13,
18884,
1024,
353,
525,
29940,
448,
525,
718,
851,
29898,
5727,
1839,
333,
11287,
13,
18884,
3186,
29889,
8382,
29889,
4012,
29918,
1807,
29898,
4287,
433,
29889,
6508,
29898,
29916,
29922,
5727,
1839,
29916,
7464,
343,
29922,
5727,
1839,
29891,
2033,
511,
1024,
29892,
4216,
29918,
17505,
29922,
8824,
29892,
13,
462,
462,
4706,
2927,
29922,
4287,
433,
29889,
3306,
29898,
29878,
29922,
29896,
29900,
29900,
29892,
330,
29922,
29900,
29892,
289,
29922,
29896,
29900,
29900,
511,
2834,
29918,
2230,
29922,
29906,
29900,
29900,
29889,
29900,
29892,
13,
462,
462,
4706,
28152,
29918,
9012,
29922,
5574,
29897,
13,
4706,
931,
29889,
17059,
29898,
29945,
29897,
13,
4706,
10434,
29918,
9972,
29918,
4841,
353,
5159,
13,
4706,
565,
7431,
29898,
305,
7749,
29918,
9972,
29918,
4841,
29897,
2804,
29871,
29900,
29901,
13,
9651,
363,
21268,
297,
10434,
29918,
9972,
29918,
4841,
29901,
13,
18884,
921,
1293,
353,
5159,
13,
18884,
343,
1293,
353,
5159,
13,
18884,
29311,
353,
10518,
29889,
17271,
29898,
1272,
29922,
8516,
29892,
4341,
29922,
1839,
29916,
742,
525,
29891,
11287,
13,
18884,
363,
2380,
29892,
4206,
297,
982,
29918,
9748,
29889,
1524,
5727,
7295,
13,
462,
1678,
565,
4206,
1839,
333,
2033,
1275,
21268,
29901,
13,
462,
4706,
921,
1293,
29889,
4397,
29898,
5727,
1839,
29916,
11287,
13,
462,
4706,
343,
1293,
29889,
4397,
29898,
5727,
1839,
29891,
11287,
13,
18884,
29311,
29889,
29916,
353,
921,
1293,
13,
18884,
29311,
29889,
29891,
353,
343,
1293,
13,
18884,
29311,
353,
29311,
29889,
11249,
29898,
29876,
29922,
29941,
29897,
13,
18884,
363,
2380,
29892,
5727,
297,
29311,
29889,
1524,
5727,
7295,
13,
462,
1678,
4327,
353,
1559,
433,
29889,
13372,
29898,
4287,
433,
29889,
6508,
29898,
29916,
29922,
5727,
1839,
29916,
7464,
343,
7607,
5727,
1839,
29891,
2033,
29974,
29941,
8243,
13,
462,
462,
18884,
1559,
433,
29889,
21281,
362,
29898,
29891,
1450,
29922,
8172,
29889,
16957,
4197,
29900,
29892,
29946,
29945,
29892,
29871,
29953,
29900,
29892,
29929,
29900,
29962,
4961,
13,
462,
1678,
3186,
29889,
8382,
29889,
4012,
29918,
1807,
29898,
4287,
433,
29889,
6508,
29898,
29916,
29922,
5727,
1839,
29916,
7464,
343,
29922,
5727,
1839,
29891,
2033,
29974,
29941,
29892,
503,
29922,
29896,
29900,
29900,
511,
525,
29990,
742,
4216,
29918,
17505,
29922,
5574,
29892,
13,
462,
462,
9651,
2927,
29922,
4287,
433,
29889,
3306,
29898,
29878,
29922,
29906,
29945,
29945,
29892,
330,
29922,
29900,
29892,
289,
29922,
29900,
511,
2834,
29918,
2230,
29922,
29906,
29900,
29900,
29889,
29900,
29892,
13,
462,
462,
9651,
28152,
29918,
9012,
29922,
5574,
29897,
13,
462,
1678,
21608,
353,
3186,
29889,
1028,
18101,
29918,
7168,
29898,
8172,
29889,
16957,
29898,
25288,
29918,
1761,
511,
4327,
29897,
13,
13,
13,
13,
1678,
7146,
29901,
13,
13,
4706,
1596,
877,
20524,
292,
29701,
1495,
13,
4706,
363,
11339,
297,
11339,
29918,
1761,
29901,
13,
9651,
11339,
29889,
20524,
580,
13,
4706,
1596,
877,
15091,
29889,
1495,
13,
13,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
13,
1678,
1667,
580,
13,
2
] |
query.py | IntimateMerger/dockerfile-aql | 0 | 47307 | <reponame>IntimateMerger/dockerfile-aql<gh_stars>0
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import time
import aerospike
from aerospike import predicates as p
if __name__ == "__main__":
if len(sys.argv) == 6:
as_host = str(sys.argv[1])
ns_name = str(sys.argv[2])
st_name = str(sys.argv[3])
key_name = str(sys.argv[4])
days = int(sys.argv[5])
now = int(time.time())
min_ts = now - (60 * 60 * 24 * days)
max_ts = 2147483647 # 2038-01-19 12:14:07
cl = aerospike.client({'hosts': [(as_host, 3000)]}).connect()
query = cl.query(ns_name, st_name)
query.select(key_name)
query.where(p.between("ts", min_ts, max_ts))
def echo((key, meta, bins)):
print(bins[key_name])
query.foreach(echo, {"timeout": 0})
else:
print("usage: python -u query.py [hostname] [namespace] [set] [key] [days]")
| [
1,
529,
276,
1112,
420,
29958,
2928,
6490,
15836,
914,
29914,
14695,
1445,
29899,
29874,
1519,
29966,
12443,
29918,
303,
1503,
29958,
29900,
13,
29937,
14708,
4855,
29914,
2109,
29914,
6272,
3017,
13,
29937,
448,
29930,
29899,
14137,
29901,
23616,
29899,
29947,
448,
29930,
29899,
13,
13,
5215,
10876,
13,
5215,
931,
13,
5215,
263,
9672,
1631,
446,
13,
3166,
263,
9672,
1631,
446,
1053,
4450,
293,
1078,
408,
282,
13,
13,
361,
4770,
978,
1649,
1275,
376,
1649,
3396,
1649,
1115,
13,
1678,
565,
7431,
29898,
9675,
29889,
19218,
29897,
1275,
29871,
29953,
29901,
13,
4706,
408,
29918,
3069,
353,
851,
29898,
9675,
29889,
19218,
29961,
29896,
2314,
13,
4706,
17534,
29918,
978,
353,
851,
29898,
9675,
29889,
19218,
29961,
29906,
2314,
13,
4706,
380,
29918,
978,
353,
851,
29898,
9675,
29889,
19218,
29961,
29941,
2314,
13,
4706,
1820,
29918,
978,
353,
851,
29898,
9675,
29889,
19218,
29961,
29946,
2314,
13,
4706,
3841,
353,
938,
29898,
9675,
29889,
19218,
29961,
29945,
2314,
13,
13,
4706,
1286,
353,
938,
29898,
2230,
29889,
2230,
3101,
13,
4706,
1375,
29918,
1372,
353,
1286,
448,
313,
29953,
29900,
334,
29871,
29953,
29900,
334,
29871,
29906,
29946,
334,
3841,
29897,
13,
4706,
4236,
29918,
1372,
353,
29871,
29906,
29896,
29946,
29955,
29946,
29947,
29941,
29953,
29946,
29955,
29871,
396,
29871,
29906,
29900,
29941,
29947,
29899,
29900,
29896,
29899,
29896,
29929,
29871,
29896,
29906,
29901,
29896,
29946,
29901,
29900,
29955,
13,
13,
4706,
1067,
353,
263,
9672,
1631,
446,
29889,
4645,
3319,
29915,
23525,
2396,
17288,
294,
29918,
3069,
29892,
29871,
29941,
29900,
29900,
29900,
4638,
7690,
6915,
580,
13,
4706,
2346,
353,
1067,
29889,
1972,
29898,
1983,
29918,
978,
29892,
380,
29918,
978,
29897,
13,
4706,
2346,
29889,
2622,
29898,
1989,
29918,
978,
29897,
13,
4706,
2346,
29889,
3062,
29898,
29886,
29889,
14811,
703,
1372,
613,
1375,
29918,
1372,
29892,
4236,
29918,
1372,
876,
13,
13,
4706,
822,
2916,
3552,
1989,
29892,
12700,
29892,
289,
1144,
22164,
13,
9651,
1596,
29898,
29890,
1144,
29961,
1989,
29918,
978,
2314,
13,
13,
4706,
2346,
29889,
13150,
29898,
8057,
29892,
8853,
15619,
1115,
29871,
29900,
1800,
13,
13,
1678,
1683,
29901,
13,
4706,
1596,
703,
21125,
29901,
3017,
448,
29884,
2346,
29889,
2272,
518,
28988,
29962,
518,
22377,
29962,
518,
842,
29962,
518,
1989,
29962,
518,
16700,
29962,
1159,
13,
2
] |
PYPI python package/multivicks/crud.py | imvickykumar999/100th-Repository-Morsetor-python-Package | 2 | 64261 | <gh_stars>1-10
# pip install imvickykumar999
# C:\Users\Vicky\anaconda3\Lib\site-packages\vicksbase
class HomeAutomation:
def __init__(self, link):
try:
from vicksbase import firebase as f
self.link = link
self.firebase_obj = f.FirebaseApplication(self.link, None)
print(self.pull(child = '/'))
except Exception as e:
print(e)
print('try: pip install imvickykumar999')
def show(self):
return self.link
def pull(self, child = 'A/B/C/Switch'):
result = self.firebase_obj.get(f'{child}', None)
return result
def push(self, data = 1, child = 'A/B/C/Switch'):
self.firebase_obj.put('/', child, data)
return self.pull(child = '/')
def remove(self, child = 'A/B/C/led2'):
data = self.firebase_obj.delete('/', child)
return self.pull(child = '/')
# link = 'https://led-blink-wifi-default-rtdb.firebaseio.com/'
# obj = HomeAutomation(link)
# f = obj.show()
# f = obj.pull()
# f = obj.push(1)
# f = obj.remove()
# print(f)
# input('Press Enter to Exit...')
| [
1,
529,
12443,
29918,
303,
1503,
29958,
29896,
29899,
29896,
29900,
13,
13,
29937,
8450,
2601,
527,
29894,
860,
12072,
24540,
29929,
29929,
29929,
13,
29937,
315,
3583,
5959,
29905,
29963,
18219,
29905,
1648,
18050,
29941,
29905,
14868,
29905,
2746,
29899,
8318,
29905,
29894,
7358,
3188,
13,
13,
1990,
8778,
28451,
362,
29901,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
1544,
1125,
13,
13,
4706,
1018,
29901,
13,
9651,
515,
325,
7358,
3188,
1053,
16119,
408,
285,
13,
9651,
1583,
29889,
2324,
353,
1544,
13,
9651,
1583,
29889,
17445,
29918,
5415,
353,
285,
29889,
18654,
3188,
4873,
29898,
1311,
29889,
2324,
29892,
6213,
29897,
13,
9651,
1596,
29898,
1311,
29889,
26746,
29898,
5145,
353,
8207,
8785,
13,
13,
4706,
5174,
8960,
408,
321,
29901,
13,
9651,
1596,
29898,
29872,
29897,
13,
9651,
1596,
877,
2202,
29901,
8450,
2601,
527,
29894,
860,
12072,
24540,
29929,
29929,
29929,
1495,
13,
13,
1678,
822,
1510,
29898,
1311,
1125,
13,
4706,
736,
1583,
29889,
2324,
13,
13,
1678,
822,
8206,
29898,
1311,
29892,
2278,
353,
525,
29909,
29914,
29933,
29914,
29907,
29914,
24995,
29374,
13,
4706,
1121,
353,
1583,
29889,
17445,
29918,
5415,
29889,
657,
29898,
29888,
29915,
29912,
5145,
29913,
742,
6213,
29897,
13,
4706,
736,
1121,
13,
13,
1678,
822,
5503,
29898,
1311,
29892,
848,
353,
29871,
29896,
29892,
2278,
353,
525,
29909,
29914,
29933,
29914,
29907,
29914,
24995,
29374,
13,
4706,
1583,
29889,
17445,
29918,
5415,
29889,
649,
11219,
742,
2278,
29892,
848,
29897,
13,
4706,
736,
1583,
29889,
26746,
29898,
5145,
353,
8207,
1495,
13,
13,
1678,
822,
3349,
29898,
1311,
29892,
2278,
353,
525,
29909,
29914,
29933,
29914,
29907,
29914,
839,
29906,
29374,
13,
4706,
848,
353,
1583,
29889,
17445,
29918,
5415,
29889,
8143,
11219,
742,
2278,
29897,
13,
4706,
736,
1583,
29889,
26746,
29898,
5145,
353,
8207,
1495,
13,
13,
13,
29937,
1544,
353,
525,
991,
597,
839,
29899,
2204,
682,
29899,
29893,
6832,
29899,
4381,
29899,
29878,
1594,
29890,
29889,
17445,
601,
29889,
510,
22208,
13,
29937,
5446,
353,
8778,
28451,
362,
29898,
2324,
29897,
13,
13,
29937,
285,
353,
5446,
29889,
4294,
580,
13,
29937,
285,
353,
5446,
29889,
26746,
580,
13,
29937,
285,
353,
5446,
29889,
5910,
29898,
29896,
29897,
13,
29937,
285,
353,
5446,
29889,
5992,
580,
13,
13,
29937,
1596,
29898,
29888,
29897,
13,
29937,
1881,
877,
10923,
9041,
304,
25954,
856,
1495,
13,
2
] |
rpsls.py | cmckni3-org/rpsls | 0 | 173114 | <filename>rpsls.py
#!/usr/bin/env python
import random
# Rock-paper-scissors-lizard-Spock
# The key idea of this program is to equate the strings
# "rock", "paper", "scissors", "lizard", "Spock" to numbers
# as follows:
#
# 0 - rock
# 1 - Spock
# 2 - paper
# 3 - lizard
# 4 - scissors
# helper functions
NAME_MAPPING = [(0, "rock"), (1, "Spock"), (2, "paper"), (3, "lizard"), (4, "scissors")]
def number_to_name(number):
for (key, value) in NAME_MAPPING:
if key == number:
return value
def name_to_number(name):
for (key, value) in NAME_MAPPING:
if value == name:
return key
def player_wins(player_choice):
# convert name to player_number using name_to_number
player_number = name_to_number(player_choice)
# compute random guess for comp_number using random.randrange()
comp_number = random.randrange(0, 5)
# compute difference of player_number and comp_number modulo five
difference = (player_number - comp_number) % 5
# convert comp_number to name using number_to_name
comp_name = number_to_name(comp_number)
# print results
print("Player chooses", player_choice)
print("Computer chooses", comp_name)
# use if/elif/else to determine winner
if difference == 0:
print("Player and computer tie!")
return None
elif difference > 2:
print("Computer wins!")
return False
else:
print("Player wins!")
return True
def print_game_title():
print('{:-^80}'.format(''))
print('{:^80}'.format("Rock Paper Scissors Lizard Spock"))
def print_final_score(computer, human):
print('{:-^80}'.format(''))
print('{:^80}'.format('Final Score'))
print('{:^40} {:^40}'.format('Computer', 'Human'))
print('{:^40} {:^40}'.format(computer, human))
print('{:-^80}'.format(''))
def main():
computer = 0
human = 0
play = True
print_game_title()
while play:
print('{:-^80}'.format(''))
player_choice = input("Please, enter a choice <rock, Spock, paper, lizard, scissors>: ")
if name_to_number(player_choice) != None:
winner = player_wins(player_choice)
if winner:
human += 1
elif winner == False:
computer += 1
else:
print("Invalid choice")
play_again = input("Play again? <Y, n>: ")
play = (play_again == 'Y' or play_again == 'y')
print_final_score(computer, human)
if __name__ == "__main__":
main()
| [
1,
529,
9507,
29958,
29878,
567,
3137,
29889,
2272,
13,
29937,
14708,
4855,
29914,
2109,
29914,
6272,
3017,
13,
13,
5215,
4036,
13,
29937,
8027,
29899,
19773,
29899,
1557,
790,
943,
29899,
29880,
17909,
29899,
29903,
1129,
384,
13,
13,
29937,
450,
1820,
2969,
310,
445,
1824,
338,
304,
1592,
403,
278,
6031,
13,
29937,
376,
20821,
613,
376,
19773,
613,
376,
1557,
790,
943,
613,
376,
29880,
17909,
613,
376,
29903,
1129,
384,
29908,
304,
3694,
13,
29937,
408,
4477,
29901,
13,
29937,
13,
29937,
29871,
29900,
448,
7679,
13,
29937,
29871,
29896,
448,
24674,
384,
13,
29937,
29871,
29906,
448,
5650,
13,
29937,
29871,
29941,
448,
301,
17909,
13,
29937,
29871,
29946,
448,
885,
790,
943,
13,
13,
29937,
16876,
3168,
13,
5813,
29918,
1529,
18009,
4214,
353,
17288,
29900,
29892,
376,
20821,
4968,
313,
29896,
29892,
376,
29903,
1129,
384,
4968,
313,
29906,
29892,
376,
19773,
4968,
313,
29941,
29892,
376,
29880,
17909,
4968,
313,
29946,
29892,
376,
1557,
790,
943,
13531,
13,
13,
1753,
1353,
29918,
517,
29918,
978,
29898,
4537,
1125,
13,
1678,
363,
313,
1989,
29892,
995,
29897,
297,
27085,
29918,
1529,
18009,
4214,
29901,
13,
4706,
565,
1820,
1275,
1353,
29901,
13,
9651,
736,
995,
13,
13,
1753,
1024,
29918,
517,
29918,
4537,
29898,
978,
1125,
13,
1678,
363,
313,
1989,
29892,
995,
29897,
297,
27085,
29918,
1529,
18009,
4214,
29901,
13,
4706,
565,
995,
1275,
1024,
29901,
13,
9651,
736,
1820,
13,
13,
1753,
4847,
29918,
29893,
1144,
29898,
9106,
29918,
16957,
1125,
13,
1678,
396,
3588,
1024,
304,
4847,
29918,
4537,
773,
1024,
29918,
517,
29918,
4537,
13,
1678,
4847,
29918,
4537,
353,
1024,
29918,
517,
29918,
4537,
29898,
9106,
29918,
16957,
29897,
13,
1678,
396,
10272,
4036,
4140,
363,
752,
29918,
4537,
773,
4036,
29889,
9502,
3881,
580,
13,
1678,
752,
29918,
4537,
259,
353,
4036,
29889,
9502,
3881,
29898,
29900,
29892,
29871,
29945,
29897,
13,
1678,
396,
10272,
4328,
310,
4847,
29918,
4537,
322,
752,
29918,
4537,
878,
7207,
5320,
13,
1678,
4328,
1678,
353,
313,
9106,
29918,
4537,
448,
752,
29918,
4537,
29897,
1273,
29871,
29945,
13,
1678,
396,
3588,
752,
29918,
4537,
304,
1024,
773,
1353,
29918,
517,
29918,
978,
13,
1678,
752,
29918,
978,
268,
353,
1353,
29918,
517,
29918,
978,
29898,
2388,
29918,
4537,
29897,
13,
1678,
396,
1596,
2582,
13,
1678,
1596,
703,
9075,
3060,
15806,
613,
4847,
29918,
16957,
29897,
13,
1678,
1596,
703,
20606,
261,
3060,
15806,
613,
752,
29918,
978,
29897,
13,
1678,
396,
671,
565,
29914,
23681,
29914,
2870,
304,
8161,
19576,
13,
1678,
565,
4328,
1275,
29871,
29900,
29901,
13,
4706,
1596,
703,
9075,
322,
6601,
22134,
29991,
1159,
13,
4706,
736,
6213,
13,
1678,
25342,
4328,
1405,
29871,
29906,
29901,
13,
4706,
1596,
703,
20606,
261,
21614,
29991,
1159,
13,
4706,
736,
7700,
13,
1678,
1683,
29901,
13,
4706,
1596,
703,
9075,
21614,
29991,
1159,
13,
4706,
736,
5852,
13,
13,
1753,
1596,
29918,
11802,
29918,
3257,
7295,
13,
1678,
1596,
877,
29912,
13018,
29985,
29947,
29900,
29913,
4286,
4830,
877,
8785,
13,
1678,
1596,
877,
25641,
29985,
29947,
29900,
29913,
4286,
4830,
703,
29934,
1698,
349,
7202,
2522,
790,
943,
365,
17909,
24674,
384,
5783,
13,
13,
1753,
1596,
29918,
8394,
29918,
13628,
29898,
12097,
261,
29892,
5199,
1125,
13,
1678,
1596,
877,
29912,
13018,
29985,
29947,
29900,
29913,
4286,
4830,
877,
8785,
13,
1678,
1596,
877,
25641,
29985,
29947,
29900,
29913,
4286,
4830,
877,
15790,
2522,
487,
8785,
13,
1678,
1596,
877,
25641,
29985,
29946,
29900,
29913,
12365,
29985,
29946,
29900,
29913,
4286,
4830,
877,
20606,
261,
742,
525,
29950,
7889,
8785,
13,
1678,
1596,
877,
25641,
29985,
29946,
29900,
29913,
12365,
29985,
29946,
29900,
29913,
4286,
4830,
29898,
12097,
261,
29892,
5199,
876,
13,
1678,
1596,
877,
29912,
13018,
29985,
29947,
29900,
29913,
4286,
4830,
877,
8785,
13,
13,
1753,
1667,
7295,
13,
1678,
6601,
353,
29871,
29900,
13,
1678,
5199,
1678,
353,
29871,
29900,
13,
1678,
1708,
268,
353,
5852,
13,
1678,
1596,
29918,
11802,
29918,
3257,
580,
13,
1678,
1550,
1708,
29901,
13,
4706,
1596,
877,
29912,
13018,
29985,
29947,
29900,
29913,
4286,
4830,
877,
8785,
13,
4706,
4847,
29918,
16957,
353,
1881,
703,
12148,
29892,
3896,
263,
7348,
529,
20821,
29892,
24674,
384,
29892,
5650,
29892,
301,
17909,
29892,
885,
790,
943,
23917,
16521,
13,
4706,
565,
1024,
29918,
517,
29918,
4537,
29898,
9106,
29918,
16957,
29897,
2804,
6213,
29901,
13,
9651,
19576,
353,
4847,
29918,
29893,
1144,
29898,
9106,
29918,
16957,
29897,
13,
9651,
565,
19576,
29901,
13,
18884,
5199,
4619,
29871,
29896,
13,
9651,
25342,
19576,
1275,
7700,
29901,
13,
18884,
6601,
4619,
29871,
29896,
13,
4706,
1683,
29901,
13,
9651,
1596,
703,
13919,
7348,
1159,
13,
4706,
1708,
29918,
351,
475,
353,
1881,
703,
13454,
1449,
29973,
529,
29979,
29892,
302,
23917,
16521,
13,
4706,
1708,
353,
313,
1456,
29918,
351,
475,
1275,
525,
29979,
29915,
470,
1708,
29918,
351,
475,
1275,
525,
29891,
1495,
13,
1678,
1596,
29918,
8394,
29918,
13628,
29898,
12097,
261,
29892,
5199,
29897,
13,
13,
361,
4770,
978,
1649,
1275,
376,
1649,
3396,
1649,
1115,
13,
1678,
1667,
580,
13,
2
] |
tests/test_lint.py | philvarner/stac-check | 8 | 120362 | <reponame>philvarner/stac-check
from re import L
from stac_check.lint import Linter
import pytest
def test_linter_bad_asset_requests():
file = "sample_files/1.0.0/core-item.json"
linter = Linter(file, assets=True)
asset_request_errors = [
"http://cool-sat.com/catalog/20201211_223832_CS2/20201211_223832_CS2.EPH"
]
assert linter.version == "1.0.0"
assert linter.valid_stac == True
assert linter.asset_type == "ITEM"
assert linter.invalid_asset_format == []
assert linter.invalid_asset_request == asset_request_errors
def test_linter_bad_assets():
file = "sample_files/1.0.0/core-item-bad-links.json"
linter = Linter(file, assets=True)
asset_format_errors = [
"https:/storage.googleapis.com/open-cogs/stac-examples/20201211_223832_CS2.jpg"
]
asset_request_errors = [
"https:/storage.googleapis.com/open-cogs/stac-examples/20201211_223832_CS2.jpg",
"http://cool-sat.com/catalog/20201211_223832_CS2/20201211_223832_CS2.EPH"
]
assert linter.version == "1.0.0"
assert linter.valid_stac == True
assert linter.asset_type == "ITEM"
assert linter.invalid_asset_format == asset_format_errors
assert linter.invalid_asset_request == asset_request_errors
def test_linter_bad_links():
file = "sample_files/1.0.0/core-item-bad-links.json"
linter = Linter(file, links=True)
link_format_errors = ["http:/remotdata.io/catalog/20201211_223832_CS2/index.html"]
link_request_errors = [
"http://catalog/collection.json",
"http:/remotdata.io/catalog/20201211_223832_CS2/index.html"
]
assert linter.version == "1.0.0"
assert linter.valid_stac == True
assert linter.asset_type == "ITEM"
assert len(linter.invalid_link_format) > 0
assert linter.invalid_link_format == link_format_errors
assert linter.invalid_link_request == link_request_errors
def test_linter_bad_links_assets():
file = "sample_files/1.0.0/core-item-bad-links.json"
linter = Linter(file, assets=True, links=True)
asset_format_errors = [
"https:/storage.googleapis.com/open-cogs/stac-examples/20201211_223832_CS2.jpg"
]
asset_request_errors = [
"https:/storage.googleapis.com/open-cogs/stac-examples/20201211_223832_CS2.jpg",
"http://cool-sat.com/catalog/20201211_223832_CS2/20201211_223832_CS2.EPH"
]
link_format_errors = ["http:/remotdata.io/catalog/20201211_223832_CS2/index.html"]
link_request_errors = [
"http://catalog/collection.json",
"http:/remotdata.io/catalog/20201211_223832_CS2/index.html"
]
assert linter.version == "1.0.0"
assert linter.valid_stac == True
assert linter.asset_type == "ITEM"
assert len(linter.invalid_link_format) > 0
assert linter.invalid_asset_format == asset_format_errors
assert linter.invalid_asset_request == asset_request_errors
assert linter.invalid_link_format == link_format_errors
assert linter.invalid_link_request == link_request_errors
def test_linter_collection():
file = "sample_files/1.0.0/collection.json"
linter = Linter(file, assets=False, links=False)
assert linter.version == "1.0.0"
assert linter.valid_stac == True
assert linter.asset_type == "COLLECTION"
assert linter.check_summaries() == True
def test_linter_collection_no_summaries():
file = "sample_files/1.0.0/collection-no-summaries.json"
linter = Linter(file, assets=False, links=False)
assert linter.version == "1.0.0"
assert linter.valid_stac == True
assert linter.asset_type == "COLLECTION"
assert linter.check_summaries() == False
assert linter.best_practices_msg == [
"STAC Best Practices: ",
" Object should be called 'collection.json' not 'collection-no-summaries.json'",
"",
" A STAC collection should contain a summaries field",
" It is recommended to store information like eo:bands in summaries",
""
]
def test_linter_catalog():
file = "sample_files/1.0.0/catalog.json"
linter = Linter(file, assets=False, links=False)
assert linter.version == "1.0.0"
assert linter.valid_stac == True
assert linter.asset_type == "CATALOG"
assert linter.check_bloated_links() == False
def test_linter_collection_recursive_remote():
file = "https://raw.githubusercontent.com/stac-utils/pystac/main/tests/data-files/examples/0.9.0/collection-spec/examples/landsat-collection.json"
linter = Linter(file, assets=False, links=False, recursive=True)
assert linter.version == "0.9.0"
assert linter.recursive == True
assert linter.recursive_error_msg == "Exception Could not read uri https://landsat-stac.s3.amazonaws.com/landsat-8-l1/paths/catalog.json"
def test_linter_item_id_not_matching_file_name():
file = "sample_files/1.0.0/core-item.json"
linter = Linter(file)
assert linter.file_name == "core-item"
assert linter.object_id == "20201211_223832_CS2"
assert linter.file_name != linter.object_id
assert linter.check_item_id_file_name() == False
def test_linter_collection_catalog_id():
file = "sample_files/1.0.0/collection-no-title.json"
linter = Linter(file)
assert linter.check_catalog_id_file_name() == False
def test_linter_item_id_format_best_practices():
file = "sample_files/1.0.0/core-item-invalid-id.json"
linter = Linter(file)
assert linter.check_searchable_identifiers() == False
assert linter.check_percent_encoded() == True
def test_datetime_set_to_null():
file = "sample_files/1.0.0/core-item-null-datetime.json"
linter = Linter(file)
assert linter.check_datetime_null()== True
def test_unlocated_item():
file = "sample_files/1.0.0/core-item-unlocated.json"
linter = Linter(file)
assert linter.check_unlocated() == True
assert linter.check_geometry_null() == True
def test_bloated_item():
file = "sample_files/1.0.0/core-item-bloated.json"
linter = Linter(file)
assert linter.check_bloated_metadata() == True
assert len(linter.data["properties"]) > 20
assert linter.check_bloated_links() == True
assert len(linter.data["links"]) > 20
def test_small_thumbnail():
file = "sample_files/1.0.0/core-item-large-thumbnail.json"
linter = Linter(file)
assert linter.check_thumbnail() != True
file = "sample_files/1.0.0/core-item.json"
linter = Linter(file)
assert linter.check_thumbnail() == True
def test_title_field():
file = "sample_files/1.0.0/collection-no-title.json"
linter = Linter(file)
assert linter.check_links_title_field() == False
def test_self_in_links():
file = "sample_files/1.0.0/collection-no-title.json"
linter = Linter(file)
assert linter.check_links_self() == False
def test_catalog_name():
file = "sample_files/1.0.0/catalog.json"
linter = Linter(file)
assert linter.check_catalog_id_file_name()
file = "sample_files/1.0.0/collection.json"
linter = Linter(file)
assert linter.check_catalog_id_file_name()
| [
1,
529,
276,
1112,
420,
29958,
561,
309,
1707,
1089,
29914,
303,
562,
29899,
3198,
13,
3166,
337,
1053,
365,
13,
3166,
380,
562,
29918,
3198,
29889,
27854,
1053,
365,
1639,
13,
5215,
11451,
1688,
13,
13,
1753,
1243,
29918,
29880,
1639,
29918,
12313,
29918,
24129,
29918,
24830,
7295,
13,
1678,
934,
353,
376,
11249,
29918,
5325,
29914,
29896,
29889,
29900,
29889,
29900,
29914,
3221,
29899,
667,
29889,
3126,
29908,
13,
1678,
301,
1639,
353,
365,
1639,
29898,
1445,
29892,
21608,
29922,
5574,
29897,
13,
1678,
24342,
29918,
3827,
29918,
12523,
353,
518,
13,
4706,
376,
1124,
597,
1111,
324,
29899,
29879,
271,
29889,
510,
29914,
28045,
29914,
29906,
29900,
29906,
29900,
29896,
29906,
29896,
29896,
29918,
29906,
29906,
29941,
29947,
29941,
29906,
29918,
9295,
29906,
29914,
29906,
29900,
29906,
29900,
29896,
29906,
29896,
29896,
29918,
29906,
29906,
29941,
29947,
29941,
29906,
29918,
9295,
29906,
29889,
15488,
29950,
29908,
13,
1678,
4514,
13,
1678,
4974,
301,
1639,
29889,
3259,
1275,
376,
29896,
29889,
29900,
29889,
29900,
29908,
13,
1678,
4974,
301,
1639,
29889,
3084,
29918,
303,
562,
1275,
5852,
13,
1678,
4974,
301,
1639,
29889,
24129,
29918,
1853,
1275,
376,
9094,
29924,
29908,
13,
1678,
4974,
301,
1639,
29889,
20965,
29918,
24129,
29918,
4830,
1275,
5159,
13,
1678,
4974,
301,
1639,
29889,
20965,
29918,
24129,
29918,
3827,
1275,
24342,
29918,
3827,
29918,
12523,
13,
13,
1753,
1243,
29918,
29880,
1639,
29918,
12313,
29918,
16596,
7295,
13,
1678,
934,
353,
376,
11249,
29918,
5325,
29914,
29896,
29889,
29900,
29889,
29900,
29914,
3221,
29899,
667,
29899,
12313,
29899,
4965,
29889,
3126,
29908,
13,
1678,
301,
1639,
353,
365,
1639,
29898,
1445,
29892,
21608,
29922,
5574,
29897,
13,
1678,
24342,
29918,
4830,
29918,
12523,
353,
518,
13,
4706,
376,
991,
8419,
12925,
29889,
15947,
29889,
510,
29914,
3150,
29899,
29883,
12099,
29914,
303,
562,
29899,
19057,
29914,
29906,
29900,
29906,
29900,
29896,
29906,
29896,
29896,
29918,
29906,
29906,
29941,
29947,
29941,
29906,
29918,
9295,
29906,
29889,
6173,
29908,
13,
1678,
4514,
13,
1678,
24342,
29918,
3827,
29918,
12523,
353,
518,
13,
4706,
376,
991,
8419,
12925,
29889,
15947,
29889,
510,
29914,
3150,
29899,
29883,
12099,
29914,
303,
562,
29899,
19057,
29914,
29906,
29900,
29906,
29900,
29896,
29906,
29896,
29896,
29918,
29906,
29906,
29941,
29947,
29941,
29906,
29918,
9295,
29906,
29889,
6173,
613,
13,
4706,
376,
1124,
597,
1111,
324,
29899,
29879,
271,
29889,
510,
29914,
28045,
29914,
29906,
29900,
29906,
29900,
29896,
29906,
29896,
29896,
29918,
29906,
29906,
29941,
29947,
29941,
29906,
29918,
9295,
29906,
29914,
29906,
29900,
29906,
29900,
29896,
29906,
29896,
29896,
29918,
29906,
29906,
29941,
29947,
29941,
29906,
29918,
9295,
29906,
29889,
15488,
29950,
29908,
13,
1678,
4514,
13,
1678,
4974,
301,
1639,
29889,
3259,
1275,
376,
29896,
29889,
29900,
29889,
29900,
29908,
13,
1678,
4974,
301,
1639,
29889,
3084,
29918,
303,
562,
1275,
5852,
13,
1678,
4974,
301,
1639,
29889,
24129,
29918,
1853,
1275,
376,
9094,
29924,
29908,
13,
1678,
4974,
301,
1639,
29889,
20965,
29918,
24129,
29918,
4830,
1275,
24342,
29918,
4830,
29918,
12523,
13,
1678,
4974,
301,
1639,
29889,
20965,
29918,
24129,
29918,
3827,
1275,
24342,
29918,
3827,
29918,
12523,
13,
13,
13,
1753,
1243,
29918,
29880,
1639,
29918,
12313,
29918,
4965,
7295,
13,
1678,
934,
353,
376,
11249,
29918,
5325,
29914,
29896,
29889,
29900,
29889,
29900,
29914,
3221,
29899,
667,
29899,
12313,
29899,
4965,
29889,
3126,
29908,
13,
1678,
301,
1639,
353,
365,
1639,
29898,
1445,
29892,
2988,
29922,
5574,
29897,
13,
1678,
1544,
29918,
4830,
29918,
12523,
353,
6796,
1124,
8419,
1745,
327,
1272,
29889,
601,
29914,
28045,
29914,
29906,
29900,
29906,
29900,
29896,
29906,
29896,
29896,
29918,
29906,
29906,
29941,
29947,
29941,
29906,
29918,
9295,
29906,
29914,
2248,
29889,
1420,
3108,
13,
1678,
1544,
29918,
3827,
29918,
12523,
353,
518,
13,
4706,
376,
1124,
597,
28045,
29914,
10855,
29889,
3126,
613,
29871,
13,
4706,
376,
1124,
8419,
1745,
327,
1272,
29889,
601,
29914,
28045,
29914,
29906,
29900,
29906,
29900,
29896,
29906,
29896,
29896,
29918,
29906,
29906,
29941,
29947,
29941,
29906,
29918,
9295,
29906,
29914,
2248,
29889,
1420,
29908,
13,
1678,
4514,
13,
1678,
4974,
301,
1639,
29889,
3259,
1275,
376,
29896,
29889,
29900,
29889,
29900,
29908,
13,
1678,
4974,
301,
1639,
29889,
3084,
29918,
303,
562,
1275,
5852,
13,
1678,
4974,
301,
1639,
29889,
24129,
29918,
1853,
1275,
376,
9094,
29924,
29908,
13,
1678,
4974,
7431,
29898,
29880,
1639,
29889,
20965,
29918,
2324,
29918,
4830,
29897,
1405,
29871,
29900,
13,
1678,
4974,
301,
1639,
29889,
20965,
29918,
2324,
29918,
4830,
1275,
1544,
29918,
4830,
29918,
12523,
13,
1678,
4974,
301,
1639,
29889,
20965,
29918,
2324,
29918,
3827,
1275,
1544,
29918,
3827,
29918,
12523,
13,
13,
13,
1753,
1243,
29918,
29880,
1639,
29918,
12313,
29918,
4965,
29918,
16596,
7295,
13,
1678,
934,
353,
376,
11249,
29918,
5325,
29914,
29896,
29889,
29900,
29889,
29900,
29914,
3221,
29899,
667,
29899,
12313,
29899,
4965,
29889,
3126,
29908,
13,
1678,
301,
1639,
353,
365,
1639,
29898,
1445,
29892,
21608,
29922,
5574,
29892,
2988,
29922,
5574,
29897,
13,
1678,
24342,
29918,
4830,
29918,
12523,
353,
518,
13,
4706,
376,
991,
8419,
12925,
29889,
15947,
29889,
510,
29914,
3150,
29899,
29883,
12099,
29914,
303,
562,
29899,
19057,
29914,
29906,
29900,
29906,
29900,
29896,
29906,
29896,
29896,
29918,
29906,
29906,
29941,
29947,
29941,
29906,
29918,
9295,
29906,
29889,
6173,
29908,
13,
1678,
4514,
13,
1678,
24342,
29918,
3827,
29918,
12523,
353,
518,
13,
4706,
376,
991,
8419,
12925,
29889,
15947,
29889,
510,
29914,
3150,
29899,
29883,
12099,
29914,
303,
562,
29899,
19057,
29914,
29906,
29900,
29906,
29900,
29896,
29906,
29896,
29896,
29918,
29906,
29906,
29941,
29947,
29941,
29906,
29918,
9295,
29906,
29889,
6173,
613,
13,
4706,
376,
1124,
597,
1111,
324,
29899,
29879,
271,
29889,
510,
29914,
28045,
29914,
29906,
29900,
29906,
29900,
29896,
29906,
29896,
29896,
29918,
29906,
29906,
29941,
29947,
29941,
29906,
29918,
9295,
29906,
29914,
29906,
29900,
29906,
29900,
29896,
29906,
29896,
29896,
29918,
29906,
29906,
29941,
29947,
29941,
29906,
29918,
9295,
29906,
29889,
15488,
29950,
29908,
13,
1678,
4514,
13,
1678,
1544,
29918,
4830,
29918,
12523,
353,
6796,
1124,
8419,
1745,
327,
1272,
29889,
601,
29914,
28045,
29914,
29906,
29900,
29906,
29900,
29896,
29906,
29896,
29896,
29918,
29906,
29906,
29941,
29947,
29941,
29906,
29918,
9295,
29906,
29914,
2248,
29889,
1420,
3108,
13,
1678,
1544,
29918,
3827,
29918,
12523,
353,
518,
13,
4706,
376,
1124,
597,
28045,
29914,
10855,
29889,
3126,
613,
29871,
13,
4706,
376,
1124,
8419,
1745,
327,
1272,
29889,
601,
29914,
28045,
29914,
29906,
29900,
29906,
29900,
29896,
29906,
29896,
29896,
29918,
29906,
29906,
29941,
29947,
29941,
29906,
29918,
9295,
29906,
29914,
2248,
29889,
1420,
29908,
13,
1678,
4514,
13,
1678,
4974,
301,
1639,
29889,
3259,
1275,
376,
29896,
29889,
29900,
29889,
29900,
29908,
13,
1678,
4974,
301,
1639,
29889,
3084,
29918,
303,
562,
1275,
5852,
13,
1678,
4974,
301,
1639,
29889,
24129,
29918,
1853,
1275,
376,
9094,
29924,
29908,
13,
1678,
4974,
7431,
29898,
29880,
1639,
29889,
20965,
29918,
2324,
29918,
4830,
29897,
1405,
29871,
29900,
13,
1678,
4974,
301,
1639,
29889,
20965,
29918,
24129,
29918,
4830,
1275,
24342,
29918,
4830,
29918,
12523,
13,
1678,
4974,
301,
1639,
29889,
20965,
29918,
24129,
29918,
3827,
1275,
24342,
29918,
3827,
29918,
12523,
13,
1678,
4974,
301,
1639,
29889,
20965,
29918,
2324,
29918,
4830,
1275,
1544,
29918,
4830,
29918,
12523,
13,
1678,
4974,
301,
1639,
29889,
20965,
29918,
2324,
29918,
3827,
1275,
1544,
29918,
3827,
29918,
12523,
13,
13,
1753,
1243,
29918,
29880,
1639,
29918,
10855,
7295,
13,
1678,
934,
353,
376,
11249,
29918,
5325,
29914,
29896,
29889,
29900,
29889,
29900,
29914,
10855,
29889,
3126,
29908,
13,
1678,
301,
1639,
353,
365,
1639,
29898,
1445,
29892,
21608,
29922,
8824,
29892,
2988,
29922,
8824,
29897,
13,
1678,
4974,
301,
1639,
29889,
3259,
1275,
376,
29896,
29889,
29900,
29889,
29900,
29908,
13,
1678,
4974,
301,
1639,
29889,
3084,
29918,
303,
562,
1275,
5852,
13,
1678,
4974,
301,
1639,
29889,
24129,
29918,
1853,
1275,
376,
15032,
3281,
2725,
29908,
13,
1678,
4974,
301,
1639,
29889,
3198,
29918,
2083,
3034,
583,
580,
1275,
5852,
13,
13,
1753,
1243,
29918,
29880,
1639,
29918,
10855,
29918,
1217,
29918,
2083,
3034,
583,
7295,
13,
1678,
934,
353,
376,
11249,
29918,
5325,
29914,
29896,
29889,
29900,
29889,
29900,
29914,
10855,
29899,
1217,
29899,
2083,
3034,
583,
29889,
3126,
29908,
13,
1678,
301,
1639,
353,
365,
1639,
29898,
1445,
29892,
21608,
29922,
8824,
29892,
2988,
29922,
8824,
29897,
13,
1678,
4974,
301,
1639,
29889,
3259,
1275,
376,
29896,
29889,
29900,
29889,
29900,
29908,
13,
1678,
4974,
301,
1639,
29889,
3084,
29918,
303,
562,
1275,
5852,
13,
1678,
4974,
301,
1639,
29889,
24129,
29918,
1853,
1275,
376,
15032,
3281,
2725,
29908,
13,
1678,
4974,
301,
1639,
29889,
3198,
29918,
2083,
3034,
583,
580,
1275,
7700,
13,
1678,
4974,
301,
1639,
29889,
13318,
29918,
29886,
1461,
1575,
29918,
7645,
1275,
518,
13,
4706,
376,
1254,
2477,
6407,
29124,
1575,
29901,
9162,
13,
4706,
376,
1678,
4669,
881,
367,
2000,
525,
10855,
29889,
3126,
29915,
451,
525,
10855,
29899,
1217,
29899,
2083,
3034,
583,
29889,
3126,
29915,
613,
13,
4706,
12633,
13,
4706,
376,
1678,
319,
6850,
2477,
4333,
881,
1712,
263,
19138,
583,
1746,
613,
13,
4706,
376,
1678,
739,
338,
13622,
304,
3787,
2472,
763,
321,
29877,
29901,
29890,
4167,
297,
19138,
583,
613,
13,
4706,
5124,
13,
1678,
4514,
13,
13,
1753,
1243,
29918,
29880,
1639,
29918,
28045,
7295,
13,
1678,
934,
353,
376,
11249,
29918,
5325,
29914,
29896,
29889,
29900,
29889,
29900,
29914,
28045,
29889,
3126,
29908,
13,
1678,
301,
1639,
353,
365,
1639,
29898,
1445,
29892,
21608,
29922,
8824,
29892,
2988,
29922,
8824,
29897,
13,
1678,
4974,
301,
1639,
29889,
3259,
1275,
376,
29896,
29889,
29900,
29889,
29900,
29908,
13,
1678,
4974,
301,
1639,
29889,
3084,
29918,
303,
562,
1275,
5852,
13,
1678,
4974,
301,
1639,
29889,
24129,
29918,
1853,
1275,
376,
23972,
1964,
29949,
29954,
29908,
13,
1678,
4974,
301,
1639,
29889,
3198,
29918,
14073,
630,
29918,
4965,
580,
1275,
7700,
13,
13,
1753,
1243,
29918,
29880,
1639,
29918,
10855,
29918,
3757,
25397,
29918,
16674,
7295,
13,
1678,
934,
353,
376,
991,
597,
1610,
29889,
3292,
1792,
3051,
29889,
510,
29914,
303,
562,
29899,
13239,
29914,
29886,
858,
562,
29914,
3396,
29914,
21150,
29914,
1272,
29899,
5325,
29914,
19057,
29914,
29900,
29889,
29929,
29889,
29900,
29914,
10855,
29899,
6550,
29914,
19057,
29914,
5252,
271,
29899,
10855,
29889,
3126,
29908,
13,
1678,
301,
1639,
353,
365,
1639,
29898,
1445,
29892,
21608,
29922,
8824,
29892,
2988,
29922,
8824,
29892,
16732,
29922,
5574,
29897,
13,
1678,
4974,
301,
1639,
29889,
3259,
1275,
376,
29900,
29889,
29929,
29889,
29900,
29908,
13,
1678,
4974,
301,
1639,
29889,
3757,
25397,
1275,
5852,
13,
1678,
4974,
301,
1639,
29889,
3757,
25397,
29918,
2704,
29918,
7645,
1275,
376,
2451,
6527,
451,
1303,
21333,
2045,
597,
5252,
271,
29899,
303,
562,
29889,
29879,
29941,
29889,
17260,
10467,
29889,
510,
29914,
5252,
271,
29899,
29947,
29899,
29880,
29896,
29914,
24772,
29914,
28045,
29889,
3126,
29908,
13,
13,
1753,
1243,
29918,
29880,
1639,
29918,
667,
29918,
333,
29918,
1333,
29918,
4352,
292,
29918,
1445,
29918,
978,
7295,
13,
1678,
934,
353,
376,
11249,
29918,
5325,
29914,
29896,
29889,
29900,
29889,
29900,
29914,
3221,
29899,
667,
29889,
3126,
29908,
13,
1678,
301,
1639,
353,
365,
1639,
29898,
1445,
29897,
13,
1678,
4974,
301,
1639,
29889,
1445,
29918,
978,
1275,
376,
3221,
29899,
667,
29908,
13,
1678,
4974,
301,
1639,
29889,
3318,
29918,
333,
1275,
376,
29906,
29900,
29906,
29900,
29896,
29906,
29896,
29896,
29918,
29906,
29906,
29941,
29947,
29941,
29906,
29918,
9295,
29906,
29908,
13,
1678,
4974,
301,
1639,
29889,
1445,
29918,
978,
2804,
301,
1639,
29889,
3318,
29918,
333,
13,
1678,
4974,
301,
1639,
29889,
3198,
29918,
667,
29918,
333,
29918,
1445,
29918,
978,
580,
1275,
7700,
13,
13,
1753,
1243,
29918,
29880,
1639,
29918,
10855,
29918,
28045,
29918,
333,
7295,
13,
1678,
934,
353,
376,
11249,
29918,
5325,
29914,
29896,
29889,
29900,
29889,
29900,
29914,
10855,
29899,
1217,
29899,
3257,
29889,
3126,
29908,
13,
1678,
301,
1639,
353,
365,
1639,
29898,
1445,
29897,
13,
1678,
4974,
301,
1639,
29889,
3198,
29918,
28045,
29918,
333,
29918,
1445,
29918,
978,
580,
1275,
7700,
13,
13,
1753,
1243,
29918,
29880,
1639,
29918,
667,
29918,
333,
29918,
4830,
29918,
13318,
29918,
29886,
1461,
1575,
7295,
13,
1678,
934,
353,
376,
11249,
29918,
5325,
29914,
29896,
29889,
29900,
29889,
29900,
29914,
3221,
29899,
667,
29899,
20965,
29899,
333,
29889,
3126,
29908,
13,
1678,
301,
1639,
353,
365,
1639,
29898,
1445,
29897,
13,
1678,
4974,
301,
1639,
29889,
3198,
29918,
4478,
519,
29918,
1693,
14903,
580,
1275,
7700,
13,
1678,
4974,
301,
1639,
29889,
3198,
29918,
25376,
29918,
26716,
580,
1275,
5852,
13,
13,
1753,
1243,
29918,
12673,
29918,
842,
29918,
517,
29918,
4304,
7295,
13,
1678,
934,
353,
376,
11249,
29918,
5325,
29914,
29896,
29889,
29900,
29889,
29900,
29914,
3221,
29899,
667,
29899,
4304,
29899,
12673,
29889,
3126,
29908,
13,
1678,
301,
1639,
353,
365,
1639,
29898,
1445,
29897,
13,
1678,
4974,
301,
1639,
29889,
3198,
29918,
12673,
29918,
4304,
580,
1360,
5852,
13,
13,
1753,
1243,
29918,
348,
28809,
29918,
667,
7295,
13,
1678,
934,
353,
376,
11249,
29918,
5325,
29914,
29896,
29889,
29900,
29889,
29900,
29914,
3221,
29899,
667,
29899,
348,
28809,
29889,
3126,
29908,
13,
1678,
301,
1639,
353,
365,
1639,
29898,
1445,
29897,
13,
1678,
4974,
301,
1639,
29889,
3198,
29918,
348,
28809,
580,
1275,
5852,
13,
1678,
4974,
301,
1639,
29889,
3198,
29918,
19156,
29918,
4304,
580,
1275,
5852,
13,
13,
1753,
1243,
29918,
14073,
630,
29918,
667,
7295,
13,
1678,
934,
353,
376,
11249,
29918,
5325,
29914,
29896,
29889,
29900,
29889,
29900,
29914,
3221,
29899,
667,
29899,
14073,
630,
29889,
3126,
29908,
13,
1678,
301,
1639,
353,
365,
1639,
29898,
1445,
29897,
13,
13,
1678,
4974,
301,
1639,
29889,
3198,
29918,
14073,
630,
29918,
19635,
580,
1275,
5852,
13,
1678,
4974,
7431,
29898,
29880,
1639,
29889,
1272,
3366,
11330,
20068,
1405,
29871,
29906,
29900,
13,
13,
1678,
4974,
301,
1639,
29889,
3198,
29918,
14073,
630,
29918,
4965,
580,
1275,
5852,
13,
1678,
4974,
7431,
29898,
29880,
1639,
29889,
1272,
3366,
4965,
20068,
1405,
29871,
29906,
29900,
13,
13,
1753,
1243,
29918,
9278,
29918,
386,
21145,
7295,
13,
1678,
934,
353,
376,
11249,
29918,
5325,
29914,
29896,
29889,
29900,
29889,
29900,
29914,
3221,
29899,
667,
29899,
16961,
29899,
386,
21145,
29889,
3126,
29908,
13,
1678,
301,
1639,
353,
365,
1639,
29898,
1445,
29897,
13,
13,
1678,
4974,
301,
1639,
29889,
3198,
29918,
386,
21145,
580,
2804,
5852,
13,
13,
1678,
934,
353,
376,
11249,
29918,
5325,
29914,
29896,
29889,
29900,
29889,
29900,
29914,
3221,
29899,
667,
29889,
3126,
29908,
13,
1678,
301,
1639,
353,
365,
1639,
29898,
1445,
29897,
13,
13,
1678,
4974,
301,
1639,
29889,
3198,
29918,
386,
21145,
580,
1275,
5852,
13,
13,
1753,
1243,
29918,
3257,
29918,
2671,
7295,
13,
1678,
934,
353,
376,
11249,
29918,
5325,
29914,
29896,
29889,
29900,
29889,
29900,
29914,
10855,
29899,
1217,
29899,
3257,
29889,
3126,
29908,
13,
1678,
301,
1639,
353,
365,
1639,
29898,
1445,
29897,
13,
13,
1678,
4974,
301,
1639,
29889,
3198,
29918,
4965,
29918,
3257,
29918,
2671,
580,
1275,
7700,
13,
13,
1753,
1243,
29918,
1311,
29918,
262,
29918,
4965,
7295,
13,
1678,
934,
353,
376,
11249,
29918,
5325,
29914,
29896,
29889,
29900,
29889,
29900,
29914,
10855,
29899,
1217,
29899,
3257,
29889,
3126,
29908,
13,
1678,
301,
1639,
353,
365,
1639,
29898,
1445,
29897,
13,
13,
1678,
4974,
301,
1639,
29889,
3198,
29918,
4965,
29918,
1311,
580,
1275,
7700,
13,
268,
13,
1753,
1243,
29918,
28045,
29918,
978,
7295,
13,
1678,
934,
353,
376,
11249,
29918,
5325,
29914,
29896,
29889,
29900,
29889,
29900,
29914,
28045,
29889,
3126,
29908,
13,
1678,
301,
1639,
353,
365,
1639,
29898,
1445,
29897,
13,
1678,
4974,
301,
1639,
29889,
3198,
29918,
28045,
29918,
333,
29918,
1445,
29918,
978,
580,
13,
1678,
934,
353,
376,
11249,
29918,
5325,
29914,
29896,
29889,
29900,
29889,
29900,
29914,
10855,
29889,
3126,
29908,
13,
1678,
301,
1639,
353,
365,
1639,
29898,
1445,
29897,
13,
1678,
4974,
301,
1639,
29889,
3198,
29918,
28045,
29918,
333,
29918,
1445,
29918,
978,
580,
13,
2
] |
code/meiduo_mall/apps/users/utils.py | Coding618/Django_base | 0 | 145226 | from itsdangerous import TimedJSONWebSignatureSerializer as Serializer
from meiduo_mall import settings
def generic_emial_verify_token(user_id):
# 1. 创建实例
s = Serializer(secret_key=settings.SECRET_KEY, expires_in=3600*24)
# 2. 加密数据
data = s.dumps({'user_id': user_id})
# 3. 返回数据
return data.decode()
def check_verify_token(token):
# 1. 创建实例
s = Serializer(secret_key=settings.SECRET_KEY, expires_in=3600*24)
# 2. 解密数据 --- 可能有异常
try:
result = s.loads(token)
except Exception as e:
return "token解密异常"
# 3. 获取数据
# result = {'user_id': user_id}
return result.get('user_id')
| [
1,
515,
967,
29881,
4600,
681,
1053,
7870,
287,
7249,
3609,
10140,
1535,
17679,
408,
18896,
3950,
13,
3166,
592,
333,
25608,
29918,
29885,
497,
1053,
6055,
13,
13,
1753,
10035,
29918,
331,
616,
29918,
27902,
29918,
6979,
29898,
1792,
29918,
333,
1125,
13,
1678,
396,
29871,
29896,
29889,
29871,
31441,
30886,
31195,
31507,
13,
1678,
269,
353,
18896,
3950,
29898,
19024,
29918,
1989,
29922,
11027,
29889,
1660,
22245,
29911,
29918,
10818,
29892,
1518,
2658,
29918,
262,
29922,
29941,
29953,
29900,
29900,
29930,
29906,
29946,
29897,
13,
1678,
396,
29871,
29906,
29889,
29871,
30666,
31461,
30354,
30763,
13,
1678,
848,
353,
269,
29889,
29881,
17204,
3319,
29915,
1792,
29918,
333,
2396,
1404,
29918,
333,
1800,
13,
1678,
396,
29871,
29941,
29889,
29871,
31086,
30742,
30354,
30763,
13,
1678,
736,
848,
29889,
13808,
580,
13,
13,
1753,
1423,
29918,
27902,
29918,
6979,
29898,
6979,
1125,
13,
1678,
396,
29871,
29896,
29889,
29871,
31441,
30886,
31195,
31507,
13,
1678,
269,
353,
18896,
3950,
29898,
19024,
29918,
1989,
29922,
11027,
29889,
1660,
22245,
29911,
29918,
10818,
29892,
1518,
2658,
29918,
262,
29922,
29941,
29953,
29900,
29900,
29930,
29906,
29946,
29897,
13,
1678,
396,
29871,
29906,
29889,
29871,
31201,
31461,
30354,
30763,
11474,
29871,
30682,
30815,
30417,
232,
191,
133,
31190,
13,
1678,
1018,
29901,
13,
4706,
1121,
353,
269,
29889,
18132,
29898,
6979,
29897,
13,
1678,
5174,
8960,
408,
321,
29901,
13,
4706,
736,
376,
6979,
31201,
31461,
232,
191,
133,
31190,
29908,
13,
1678,
396,
29871,
29941,
29889,
29871,
31024,
30683,
30354,
30763,
13,
1678,
396,
1121,
353,
11117,
1792,
29918,
333,
2396,
1404,
29918,
333,
29913,
13,
1678,
736,
1121,
29889,
657,
877,
1792,
29918,
333,
1495,
13,
13,
2
] |
odoo-13-docker/addons/odoo-debrand/models/models.py | kmrul/odoo-docker-ce | 1 | 86979 | # -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: <NAME>(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU AFFERO
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details.
#
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
# (AGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from odoo import models, fields, api, tools
class OdooDebrand(models.Model):
_inherit = "website"
def get_company_logo(self):
self.company_logo_url ="/web/image/res.company/%s/logo"%(self.id)
def get_favicon(self):
id = self.env['website'].sudo().search([])
self.favicon_url ="/web/image/website/%s/favicon"%(id[0].id)
favicon_url = fields.Text("Url", compute='get_favicon')
company_logo_url = fields.Text("Url", compute='get_company_logo')
| [
1,
396,
448,
29930,
29899,
14137,
29901,
23616,
29899,
29947,
448,
29930,
29899,
13,
13383,
13383,
13383,
13383,
7346,
4136,
29937,
13,
29937,
13,
29937,
1678,
8045,
29890,
1883,
952,
8364,
11763,
349,
21908,
29889,
19806,
29889,
13,
29937,
13,
29937,
1678,
14187,
1266,
313,
29907,
29897,
29871,
29906,
29900,
29896,
29929,
29899,
4986,
28658,
8045,
29890,
1883,
952,
8364,
11763,
29898,
29966,
991,
597,
1636,
29889,
1270,
29890,
1883,
952,
29889,
510,
29958,
467,
13,
29937,
1678,
13361,
29901,
529,
5813,
5961,
29966,
991,
597,
1636,
29889,
1270,
29890,
1883,
952,
29889,
510,
12948,
13,
29937,
13,
29937,
1678,
887,
508,
6623,
372,
1090,
278,
4958,
310,
278,
15143,
319,
28483,
29949,
13,
29937,
1678,
402,
1430,
1001,
1964,
349,
7466,
27888,
365,
2965,
1430,
1660,
313,
10051,
7390,
325,
29941,
511,
10079,
29871,
29941,
29889,
13,
29937,
13,
29937,
1678,
910,
1824,
338,
13235,
297,
278,
4966,
393,
372,
674,
367,
5407,
29892,
13,
29937,
1678,
541,
399,
1806,
8187,
2692,
13764,
29979,
399,
1718,
29934,
13566,
29979,
29936,
1728,
1584,
278,
2411,
2957,
1370,
21867,
29891,
310,
13,
29937,
1678,
341,
1001,
3210,
13566,
2882,
6227,
11937,
470,
383,
1806,
8186,
1799,
15842,
319,
349,
8322,
2965,
13309,
1718,
349,
4574,
13152,
1660,
29889,
29871,
2823,
278,
13,
29937,
1678,
15143,
319,
28483,
29949,
402,
1430,
1001,
1964,
349,
7466,
27888,
365,
2965,
1430,
1660,
313,
10051,
7390,
325,
29941,
29897,
363,
901,
4902,
29889,
13,
29937,
13,
29937,
1678,
887,
881,
505,
4520,
263,
3509,
310,
278,
15143,
319,
28483,
29949,
402,
1430,
1001,
1964,
349,
7466,
27888,
365,
2965,
1430,
1660,
13,
29937,
1678,
313,
10051,
7390,
325,
29941,
29897,
3412,
411,
445,
1824,
29889,
13,
29937,
1678,
960,
451,
29892,
1074,
529,
1124,
597,
1636,
29889,
18713,
29889,
990,
29914,
506,
11259,
3779,
29889,
13,
29937,
13,
13383,
13383,
13383,
13383,
7346,
4136,
29937,
13,
13,
3166,
288,
1867,
29877,
1053,
4733,
29892,
4235,
29892,
7882,
29892,
8492,
13,
13,
13,
1990,
438,
1867,
29877,
10251,
9502,
29898,
9794,
29889,
3195,
1125,
13,
1678,
903,
262,
27069,
353,
376,
22942,
29908,
13,
13,
1678,
822,
679,
29918,
14518,
29918,
14569,
29898,
1311,
1125,
13,
4706,
1583,
29889,
14518,
29918,
14569,
29918,
2271,
353,
23901,
2676,
29914,
3027,
29914,
690,
29889,
14518,
22584,
29879,
29914,
14569,
29908,
29995,
29898,
1311,
29889,
333,
29897,
13,
13,
1678,
822,
679,
29918,
29888,
485,
4144,
29898,
1311,
1125,
13,
4706,
1178,
353,
1583,
29889,
6272,
1839,
22942,
13359,
15360,
2141,
4478,
4197,
2314,
13,
4706,
1583,
29889,
29888,
485,
4144,
29918,
2271,
353,
23901,
2676,
29914,
3027,
29914,
22942,
22584,
29879,
29914,
29888,
485,
4144,
29908,
29995,
29898,
333,
29961,
29900,
1822,
333,
29897,
13,
13,
1678,
5025,
4144,
29918,
2271,
353,
4235,
29889,
1626,
703,
5983,
613,
268,
10272,
2433,
657,
29918,
29888,
485,
4144,
1495,
13,
1678,
5001,
29918,
14569,
29918,
2271,
353,
4235,
29889,
1626,
703,
5983,
613,
10272,
2433,
657,
29918,
14518,
29918,
14569,
1495,
13,
2
] |
pyproc/views/__init__.py | cmin764/pyproc | 0 | 41202 | <filename>pyproc/views/__init__.py
"""All views and routes exposed by the pyproc web app."""
from . import (
message,
)
| [
1,
529,
9507,
29958,
2272,
15439,
29914,
7406,
29914,
1649,
2344,
26914,
2272,
13,
15945,
29908,
3596,
8386,
322,
12049,
19884,
491,
278,
11451,
15439,
1856,
623,
1213,
15945,
13,
13,
13,
3166,
869,
1053,
313,
13,
1678,
2643,
29892,
13,
29897,
13,
2
] |
Heat_Transfer/4.3_Pipe_with_&_out_cover.py | Daz-Riza-Seriog/Transport_Phenomena | 4 | 50395 | # Code made for <NAME>
# 12 Abril 2021
# License MIT
# Transport Phenomena: Python Program-Assessment 4.3
import matplotlib.pyplot as plt
import seaborn as sns
import numpy as np
from scipy.optimize import minimize
sns.set()
# Solve for Temperature of Steam at given Pressure
class enviroment_convective:
def temp_steam_sat_reg(self, Sat_pressure_1, Sat_pressure_2, Temp_from_pressure_1, Temp_from_pressure_2,
Sat_pressure_system):
p1 = Sat_pressure_1 # [kPa]
p2 = Sat_pressure_2 # [kPa]
T1 = Temp_from_pressure_1 + 273.15 # [K]
T2 = Temp_from_pressure_2 + 273.15 # [K]
P_x = Sat_pressure_system # [kPa]
m = (T2 - T1) / (p2 - p1)
T = m * P_x - (m * p1) + T1
return T
# Optimice for the maximum difference allow
class Optimice:
def objective_T(self, x, *args):
T_supp, r = args[0], args[1]
thk = 0.015
x1 = x[0] # C1
x2 = x[1] # C2
return T_supp - ((x1 * np.log(r + thk)) - x2)
def constraint_BC1_BC2(self, x):
r, T_in = (0.025, 484.8362745098039)
K, thk, h_in, T_out, h_out, e = (15.6, 0.015, 30, 25 + 273.15, 5, 0.3)
x1 = x[0] # C1
x2 = x[1] # C2
R_conv_1 = (1 / (2 * np.pi * (r)) * h_in)
h_comb = (2 * np.pi * (r + thk)) * (h_out + e * 5.670e-8 * (x1 * np.log(r + thk) + x2 - T_out)
* ((x1 * np.log(r + thk) + x2) ** 2 + T_out ** 2))
R_cond = np.log(thk) / (2 * np.pi * K)
return ((T_in - T_out) / (R_conv_1 + R_cond + (1 / h_comb))) + ((K * x1) / r)
def objective_T_II(self, x, *args):
T_supp, r = args[0], args[1]
x1 = x[0] # C1
x2 = x[1] # C2
return T_supp - ((x1 * np.log(r)) - x2)
def constraint_BC1_BC2_II(self, x):
r, T_in = (0.025, 484.8362745098039)
K, thk_1, h_in, T_out, h_out = (15.6, 0.015, 30, 25 + 273.15, 5)
K_2, thk_2, e = (0.25, 0.012, 0.8)
x1 = x[0] # C1
x2 = x[1] # C2
R_conv_1 = (1 / (2 * np.pi * r) * h_in)
R_cond = np.log(thk_1) / (2 * np.pi * K)
R_cond_2 = np.log(thk_2) / (2 * np.pi * K_2)
h_comb = (2 * np.pi * (r + thk_1 + thk_2)) * (
h_out + e * 5.670e-8 * (x1 * np.log(r + thk_1 + thk_2) + x2 - T_out)
* ((x1 * np.log(r + thk_1 + thk_2) + x2) ** 2 + T_out ** 2))
return ((T_in - T_out) / (R_conv_1 + R_cond + R_cond_2 + (1 / h_comb))) + ((K * x1) / r)
# Determine the Q flux with cover and without cover
class Q_determine:
def Q_uncover(self, r, T_in, K, thk, h_in, T_out, h_out, e, Delta_T):
T_surf = (T_int - Delta_T) + 273.15
R_conv_1 = (1 / (2 * np.pi * r) * h_in)
h_comb = (2 * np.pi * (r + thk)) * (h_out + e * 5.670e-8 * (T_surf - T_out)
* (T_surf ** 2 + T_out ** 2))
R_cond = np.log(thk) / (2 * np.pi * K)
Q = ((T_in - T_out) / (R_conv_1 + R_cond + (1 / h_comb)))
return Q
def Q_cover(self, r, T_in, K, K_2, thk_1, thk_2, h_in, T_out, h_out, e, Delta_T):
T_surf = (T_int - Delta_T) + 273.15
R_conv_1 = (1 / (2 * np.pi * r) * h_in)
R_cond = np.log(thk_1) / (2 * np.pi * K)
R_cond_2 = np.log(thk_2) / (2 * np.pi * K_2)
h_comb = (2 * np.pi * (r + thk_1 + thk_2)) * (
h_out + e * 5.670e-8 * (T_surf - T_out)
* (T_surf ** 2 + T_out ** 2))
Q = ((T_in - T_out) / (R_conv_1 + R_cond + R_cond_2 + (1 / h_comb)))
return Q
# Temperature of T in of the cylinder iron
class T_profile_iron:
def T_in_II(self, Q_tot, r, K, thk, T_surf_out):
R_cond = np.log(r - thk) / (2 * np.pi * K)
T_surf_in = (-Q_tot * R_cond) + T_surf_out
return T_surf_in
env_conv = enviroment_convective()
Opt = Optimice()
Q_s = Q_determine()
T_iron = T_profile_iron()
T_int = env_conv.temp_steam_sat_reg(1553, 2318, 200, 220, 2000)
constraint_equal1 = {'type': 'eq', 'fun': Opt.constraint_BC1_BC2}
constraint = [constraint_equal1]
# T_suppose, Radius_max, T_in
arguments = (T_int, 0.025)
x0 = [0, 0] # This initial values are extracted from a first solution given by the method
sol = minimize(Opt.objective_T, x0, method='SLSQP', args=arguments, constraints=constraint, options={'maxiter': 5})
# BIG NOTE: modify the iteration to reach values according to reality--> You need more restrictions
# In the result you find the maximum difference that the system reach between the suppose and the reality
Q_1 = Q_s.Q_uncover(0.025, T_int, 15.6, 0.015, 30, 25 + 273.15, 5, 0.3, sol.fun)
T_in_iron = T_iron.T_in_II(Q_1, 0.025, 30, 0.015, (T_int - sol.fun) + 273.15)
########################################### Case 2 #####################################################################
constraint_equal1_II = {'type': 'eq', 'fun': Opt.constraint_BC1_BC2_II}
constraint_II = [constraint_equal1_II]
# T_suppose, Radius_max
arguments_II = (T_int, 0.025 + 0.015 + 0.012)
x0 = [0, 0] # This initial values are extracted from a first solution given by the method
sol_II = minimize(Opt.objective_T, x0, method='SLSQP', args=arguments_II, constraints=constraint_II,
options={'maxiter': 5})
# BIG NOTE: modify the iteration to reach values according to reality--> You need more restrictions
# In the result you find the maximum difference that the system reach between the suppose and the reality
Q_2 = Q_s.Q_cover(0.025, T_int, 15.6, 0.25, 0.015, 0.012, 30, 25 + 273.15, 5, 0.3, sol_II.fun)
print("========================= WITH UNCOVER ==============================================\n")
print("Temperature in the convective enviro. 1: {} [K]".format(T_int))
print("Temperature at the start of the cylinder: {} [K]".format(T_in_iron))
print("Temperature at the end of the cylinder: {} [K]".format((T_int - sol.fun) + 273.15))
print("Q for meter of cylinder: {} [W/m]\n".format(Q_1))
print("================================================================================")
print("========================= WITH COVER ==============================================\n")
print("Temperature in the convective enviro. 1: {} [K]".format(T_int))
print("Temperature at the end of the cylinder: {} [K]".format((T_int - sol_II.fun) + 273.15))
print("Q for meter of cylinder: {} [W/m]\n".format(Q_2))
print("================================================================================\n") | [
1,
396,
5920,
1754,
363,
529,
5813,
29958,
13,
29937,
29871,
29896,
29906,
27782,
309,
29871,
29906,
29900,
29906,
29896,
13,
29937,
19245,
341,
1806,
13,
29937,
15710,
1963,
264,
28342,
29901,
5132,
7835,
29899,
7900,
404,
358,
29871,
29946,
29889,
29941,
13,
13,
5215,
22889,
29889,
2272,
5317,
408,
14770,
13,
5215,
409,
370,
1398,
408,
269,
1983,
13,
5215,
12655,
408,
7442,
13,
3166,
4560,
2272,
29889,
20640,
675,
1053,
6260,
675,
13,
13,
29879,
1983,
29889,
842,
580,
13,
13,
29937,
4956,
345,
363,
6789,
546,
1535,
310,
2443,
314,
472,
2183,
5254,
545,
13,
1990,
427,
2405,
2932,
29918,
535,
345,
312,
573,
29901,
13,
13,
1678,
822,
5694,
29918,
1655,
314,
29918,
29879,
271,
29918,
1727,
29898,
1311,
29892,
12178,
29918,
2139,
545,
29918,
29896,
29892,
12178,
29918,
2139,
545,
29918,
29906,
29892,
21121,
29918,
3166,
29918,
2139,
545,
29918,
29896,
29892,
21121,
29918,
3166,
29918,
2139,
545,
29918,
29906,
29892,
13,
462,
965,
12178,
29918,
2139,
545,
29918,
5205,
1125,
13,
4706,
282,
29896,
353,
12178,
29918,
2139,
545,
29918,
29896,
29871,
396,
518,
29895,
11868,
29962,
13,
4706,
282,
29906,
353,
12178,
29918,
2139,
545,
29918,
29906,
29871,
396,
518,
29895,
11868,
29962,
13,
4706,
323,
29896,
353,
21121,
29918,
3166,
29918,
2139,
545,
29918,
29896,
718,
29871,
29906,
29955,
29941,
29889,
29896,
29945,
29871,
396,
518,
29968,
29962,
13,
4706,
323,
29906,
353,
21121,
29918,
3166,
29918,
2139,
545,
29918,
29906,
718,
29871,
29906,
29955,
29941,
29889,
29896,
29945,
29871,
396,
518,
29968,
29962,
13,
4706,
349,
29918,
29916,
353,
12178,
29918,
2139,
545,
29918,
5205,
29871,
396,
518,
29895,
11868,
29962,
13,
4706,
286,
353,
313,
29911,
29906,
448,
323,
29896,
29897,
847,
313,
29886,
29906,
448,
282,
29896,
29897,
13,
4706,
323,
353,
286,
334,
349,
29918,
29916,
448,
313,
29885,
334,
282,
29896,
29897,
718,
323,
29896,
13,
4706,
736,
323,
13,
13,
29937,
20693,
326,
625,
363,
278,
7472,
4328,
2758,
13,
1990,
20693,
326,
625,
29901,
13,
1678,
822,
12091,
29918,
29911,
29898,
1311,
29892,
921,
29892,
334,
5085,
1125,
13,
4706,
323,
29918,
19303,
29892,
364,
353,
6389,
29961,
29900,
1402,
6389,
29961,
29896,
29962,
13,
4706,
266,
29895,
353,
29871,
29900,
29889,
29900,
29896,
29945,
13,
4706,
921,
29896,
353,
921,
29961,
29900,
29962,
29871,
396,
315,
29896,
13,
4706,
921,
29906,
353,
921,
29961,
29896,
29962,
29871,
396,
315,
29906,
13,
4706,
736,
323,
29918,
19303,
448,
5135,
29916,
29896,
334,
7442,
29889,
1188,
29898,
29878,
718,
266,
29895,
876,
448,
921,
29906,
29897,
13,
13,
1678,
822,
7276,
29918,
5371,
29896,
29918,
5371,
29906,
29898,
1311,
29892,
921,
1125,
13,
4706,
364,
29892,
323,
29918,
262,
353,
313,
29900,
29889,
29900,
29906,
29945,
29892,
29871,
29946,
29947,
29946,
29889,
29947,
29941,
29953,
29906,
29955,
29946,
29945,
29900,
29929,
29947,
29900,
29941,
29929,
29897,
13,
4706,
476,
29892,
266,
29895,
29892,
298,
29918,
262,
29892,
323,
29918,
449,
29892,
298,
29918,
449,
29892,
321,
353,
313,
29896,
29945,
29889,
29953,
29892,
29871,
29900,
29889,
29900,
29896,
29945,
29892,
29871,
29941,
29900,
29892,
29871,
29906,
29945,
718,
29871,
29906,
29955,
29941,
29889,
29896,
29945,
29892,
29871,
29945,
29892,
29871,
29900,
29889,
29941,
29897,
13,
4706,
921,
29896,
353,
921,
29961,
29900,
29962,
29871,
396,
315,
29896,
13,
4706,
921,
29906,
353,
921,
29961,
29896,
29962,
29871,
396,
315,
29906,
13,
4706,
390,
29918,
20580,
29918,
29896,
353,
313,
29896,
847,
313,
29906,
334,
7442,
29889,
1631,
334,
313,
29878,
876,
334,
298,
29918,
262,
29897,
13,
4706,
298,
29918,
17743,
353,
313,
29906,
334,
7442,
29889,
1631,
334,
313,
29878,
718,
266,
29895,
876,
334,
313,
29882,
29918,
449,
718,
321,
334,
29871,
29945,
29889,
29953,
29955,
29900,
29872,
29899,
29947,
334,
313,
29916,
29896,
334,
7442,
29889,
1188,
29898,
29878,
718,
266,
29895,
29897,
718,
921,
29906,
448,
323,
29918,
449,
29897,
13,
462,
462,
9651,
334,
5135,
29916,
29896,
334,
7442,
29889,
1188,
29898,
29878,
718,
266,
29895,
29897,
718,
921,
29906,
29897,
3579,
29871,
29906,
718,
323,
29918,
449,
3579,
29871,
29906,
876,
13,
4706,
390,
29918,
1116,
353,
7442,
29889,
1188,
29898,
386,
29895,
29897,
847,
313,
29906,
334,
7442,
29889,
1631,
334,
476,
29897,
13,
4706,
736,
5135,
29911,
29918,
262,
448,
323,
29918,
449,
29897,
847,
313,
29934,
29918,
20580,
29918,
29896,
718,
390,
29918,
1116,
718,
313,
29896,
847,
298,
29918,
17743,
4961,
718,
5135,
29968,
334,
921,
29896,
29897,
847,
364,
29897,
13,
13,
1678,
822,
12091,
29918,
29911,
29918,
2687,
29898,
1311,
29892,
921,
29892,
334,
5085,
1125,
13,
4706,
323,
29918,
19303,
29892,
364,
353,
6389,
29961,
29900,
1402,
6389,
29961,
29896,
29962,
13,
4706,
921,
29896,
353,
921,
29961,
29900,
29962,
29871,
396,
315,
29896,
13,
4706,
921,
29906,
353,
921,
29961,
29896,
29962,
29871,
396,
315,
29906,
13,
4706,
736,
323,
29918,
19303,
448,
5135,
29916,
29896,
334,
7442,
29889,
1188,
29898,
29878,
876,
448,
921,
29906,
29897,
13,
13,
1678,
822,
7276,
29918,
5371,
29896,
29918,
5371,
29906,
29918,
2687,
29898,
1311,
29892,
921,
1125,
13,
4706,
364,
29892,
323,
29918,
262,
353,
313,
29900,
29889,
29900,
29906,
29945,
29892,
29871,
29946,
29947,
29946,
29889,
29947,
29941,
29953,
29906,
29955,
29946,
29945,
29900,
29929,
29947,
29900,
29941,
29929,
29897,
13,
4706,
476,
29892,
266,
29895,
29918,
29896,
29892,
298,
29918,
262,
29892,
323,
29918,
449,
29892,
298,
29918,
449,
353,
313,
29896,
29945,
29889,
29953,
29892,
29871,
29900,
29889,
29900,
29896,
29945,
29892,
29871,
29941,
29900,
29892,
29871,
29906,
29945,
718,
29871,
29906,
29955,
29941,
29889,
29896,
29945,
29892,
29871,
29945,
29897,
13,
4706,
476,
29918,
29906,
29892,
266,
29895,
29918,
29906,
29892,
321,
353,
313,
29900,
29889,
29906,
29945,
29892,
29871,
29900,
29889,
29900,
29896,
29906,
29892,
29871,
29900,
29889,
29947,
29897,
13,
4706,
921,
29896,
353,
921,
29961,
29900,
29962,
29871,
396,
315,
29896,
13,
4706,
921,
29906,
353,
921,
29961,
29896,
29962,
29871,
396,
315,
29906,
13,
4706,
390,
29918,
20580,
29918,
29896,
353,
313,
29896,
847,
313,
29906,
334,
7442,
29889,
1631,
334,
364,
29897,
334,
298,
29918,
262,
29897,
13,
4706,
390,
29918,
1116,
353,
7442,
29889,
1188,
29898,
386,
29895,
29918,
29896,
29897,
847,
313,
29906,
334,
7442,
29889,
1631,
334,
476,
29897,
13,
4706,
390,
29918,
1116,
29918,
29906,
353,
7442,
29889,
1188,
29898,
386,
29895,
29918,
29906,
29897,
847,
313,
29906,
334,
7442,
29889,
1631,
334,
476,
29918,
29906,
29897,
13,
4706,
298,
29918,
17743,
353,
313,
29906,
334,
7442,
29889,
1631,
334,
313,
29878,
718,
266,
29895,
29918,
29896,
718,
266,
29895,
29918,
29906,
876,
334,
313,
13,
18884,
298,
29918,
449,
718,
321,
334,
29871,
29945,
29889,
29953,
29955,
29900,
29872,
29899,
29947,
334,
313,
29916,
29896,
334,
7442,
29889,
1188,
29898,
29878,
718,
266,
29895,
29918,
29896,
718,
266,
29895,
29918,
29906,
29897,
718,
921,
29906,
448,
323,
29918,
449,
29897,
13,
18884,
334,
5135,
29916,
29896,
334,
7442,
29889,
1188,
29898,
29878,
718,
266,
29895,
29918,
29896,
718,
266,
29895,
29918,
29906,
29897,
718,
921,
29906,
29897,
3579,
29871,
29906,
718,
323,
29918,
449,
3579,
29871,
29906,
876,
13,
4706,
736,
5135,
29911,
29918,
262,
448,
323,
29918,
449,
29897,
847,
313,
29934,
29918,
20580,
29918,
29896,
718,
390,
29918,
1116,
718,
390,
29918,
1116,
29918,
29906,
718,
313,
29896,
847,
298,
29918,
17743,
4961,
718,
5135,
29968,
334,
921,
29896,
29897,
847,
364,
29897,
13,
13,
29937,
5953,
837,
457,
278,
660,
19389,
411,
4612,
322,
1728,
4612,
13,
1990,
660,
29918,
4801,
837,
457,
29901,
13,
13,
1678,
822,
660,
29918,
4661,
957,
29898,
1311,
29892,
364,
29892,
323,
29918,
262,
29892,
476,
29892,
266,
29895,
29892,
298,
29918,
262,
29892,
323,
29918,
449,
29892,
298,
29918,
449,
29892,
321,
29892,
360,
2554,
29918,
29911,
1125,
13,
4706,
323,
29918,
7610,
29888,
353,
313,
29911,
29918,
524,
448,
360,
2554,
29918,
29911,
29897,
718,
29871,
29906,
29955,
29941,
29889,
29896,
29945,
13,
4706,
390,
29918,
20580,
29918,
29896,
353,
313,
29896,
847,
313,
29906,
334,
7442,
29889,
1631,
334,
364,
29897,
334,
298,
29918,
262,
29897,
13,
4706,
298,
29918,
17743,
353,
313,
29906,
334,
7442,
29889,
1631,
334,
313,
29878,
718,
266,
29895,
876,
334,
313,
29882,
29918,
449,
718,
321,
334,
29871,
29945,
29889,
29953,
29955,
29900,
29872,
29899,
29947,
334,
313,
29911,
29918,
7610,
29888,
448,
323,
29918,
449,
29897,
13,
462,
462,
9651,
334,
313,
29911,
29918,
7610,
29888,
3579,
29871,
29906,
718,
323,
29918,
449,
3579,
29871,
29906,
876,
13,
4706,
390,
29918,
1116,
353,
7442,
29889,
1188,
29898,
386,
29895,
29897,
847,
313,
29906,
334,
7442,
29889,
1631,
334,
476,
29897,
13,
4706,
660,
353,
5135,
29911,
29918,
262,
448,
323,
29918,
449,
29897,
847,
313,
29934,
29918,
20580,
29918,
29896,
718,
390,
29918,
1116,
718,
313,
29896,
847,
298,
29918,
17743,
4961,
13,
4706,
736,
660,
13,
13,
1678,
822,
660,
29918,
11911,
29898,
1311,
29892,
364,
29892,
323,
29918,
262,
29892,
476,
29892,
476,
29918,
29906,
29892,
266,
29895,
29918,
29896,
29892,
266,
29895,
29918,
29906,
29892,
298,
29918,
262,
29892,
323,
29918,
449,
29892,
298,
29918,
449,
29892,
321,
29892,
360,
2554,
29918,
29911,
1125,
13,
4706,
323,
29918,
7610,
29888,
353,
313,
29911,
29918,
524,
448,
360,
2554,
29918,
29911,
29897,
718,
29871,
29906,
29955,
29941,
29889,
29896,
29945,
13,
4706,
390,
29918,
20580,
29918,
29896,
353,
313,
29896,
847,
313,
29906,
334,
7442,
29889,
1631,
334,
364,
29897,
334,
298,
29918,
262,
29897,
13,
4706,
390,
29918,
1116,
353,
7442,
29889,
1188,
29898,
386,
29895,
29918,
29896,
29897,
847,
313,
29906,
334,
7442,
29889,
1631,
334,
476,
29897,
13,
4706,
390,
29918,
1116,
29918,
29906,
353,
7442,
29889,
1188,
29898,
386,
29895,
29918,
29906,
29897,
847,
313,
29906,
334,
7442,
29889,
1631,
334,
476,
29918,
29906,
29897,
13,
4706,
298,
29918,
17743,
353,
313,
29906,
334,
7442,
29889,
1631,
334,
313,
29878,
718,
266,
29895,
29918,
29896,
718,
266,
29895,
29918,
29906,
876,
334,
313,
13,
18884,
298,
29918,
449,
718,
321,
334,
29871,
29945,
29889,
29953,
29955,
29900,
29872,
29899,
29947,
334,
313,
29911,
29918,
7610,
29888,
448,
323,
29918,
449,
29897,
13,
18884,
334,
313,
29911,
29918,
7610,
29888,
3579,
29871,
29906,
718,
323,
29918,
449,
3579,
29871,
29906,
876,
13,
4706,
660,
353,
5135,
29911,
29918,
262,
448,
323,
29918,
449,
29897,
847,
313,
29934,
29918,
20580,
29918,
29896,
718,
390,
29918,
1116,
718,
390,
29918,
1116,
29918,
29906,
718,
313,
29896,
847,
298,
29918,
17743,
4961,
13,
4706,
736,
660,
13,
13,
29937,
6789,
546,
1535,
310,
323,
297,
310,
278,
20396,
4995,
13977,
13,
1990,
323,
29918,
10185,
29918,
381,
265,
29901,
13,
13,
1678,
822,
323,
29918,
262,
29918,
2687,
29898,
1311,
29892,
660,
29918,
4260,
29892,
364,
29892,
476,
29892,
266,
29895,
29892,
323,
29918,
7610,
29888,
29918,
449,
1125,
13,
4706,
390,
29918,
1116,
353,
7442,
29889,
1188,
29898,
29878,
448,
266,
29895,
29897,
847,
313,
29906,
334,
7442,
29889,
1631,
334,
476,
29897,
13,
4706,
323,
29918,
7610,
29888,
29918,
262,
353,
8521,
29984,
29918,
4260,
334,
390,
29918,
1116,
29897,
718,
323,
29918,
7610,
29888,
29918,
449,
13,
4706,
736,
323,
29918,
7610,
29888,
29918,
262,
13,
13,
13,
6272,
29918,
20580,
353,
427,
2405,
2932,
29918,
535,
345,
312,
573,
580,
13,
20624,
353,
20693,
326,
625,
580,
13,
29984,
29918,
29879,
353,
660,
29918,
4801,
837,
457,
580,
13,
29911,
29918,
381,
265,
353,
323,
29918,
10185,
29918,
381,
265,
580,
13,
13,
29911,
29918,
524,
353,
8829,
29918,
20580,
29889,
7382,
29918,
1655,
314,
29918,
29879,
271,
29918,
1727,
29898,
29896,
29945,
29945,
29941,
29892,
29871,
29906,
29941,
29896,
29947,
29892,
29871,
29906,
29900,
29900,
29892,
29871,
29906,
29906,
29900,
29892,
29871,
29906,
29900,
29900,
29900,
29897,
13,
13,
13646,
29918,
11745,
29896,
353,
11117,
1853,
2396,
525,
1837,
742,
525,
7692,
2396,
20693,
29889,
13646,
29918,
5371,
29896,
29918,
5371,
29906,
29913,
13,
13,
13646,
353,
518,
13646,
29918,
11745,
29896,
29962,
13,
29937,
965,
323,
29918,
19303,
852,
29892,
4957,
2482,
29918,
3317,
29892,
323,
29918,
262,
13,
25699,
353,
313,
29911,
29918,
524,
29892,
29871,
29900,
29889,
29900,
29906,
29945,
29897,
13,
13,
29916,
29900,
353,
518,
29900,
29892,
29871,
29900,
29962,
29871,
396,
910,
2847,
1819,
526,
23892,
515,
263,
937,
1650,
2183,
491,
278,
1158,
13,
2929,
353,
6260,
675,
29898,
20624,
29889,
3318,
573,
29918,
29911,
29892,
921,
29900,
29892,
1158,
2433,
29903,
8547,
29984,
29925,
742,
6389,
29922,
25699,
29892,
11938,
29922,
13646,
29892,
3987,
3790,
29915,
3317,
1524,
2396,
29871,
29945,
1800,
13,
13,
29937,
350,
6259,
6058,
29923,
29901,
6623,
278,
12541,
304,
6159,
1819,
5034,
304,
16832,
15110,
887,
817,
901,
25091,
13,
29937,
512,
278,
1121,
366,
1284,
278,
7472,
4328,
393,
278,
1788,
6159,
1546,
278,
7755,
322,
278,
16832,
13,
13,
29984,
29918,
29896,
353,
660,
29918,
29879,
29889,
29984,
29918,
4661,
957,
29898,
29900,
29889,
29900,
29906,
29945,
29892,
323,
29918,
524,
29892,
29871,
29896,
29945,
29889,
29953,
29892,
29871,
29900,
29889,
29900,
29896,
29945,
29892,
29871,
29941,
29900,
29892,
29871,
29906,
29945,
718,
29871,
29906,
29955,
29941,
29889,
29896,
29945,
29892,
29871,
29945,
29892,
29871,
29900,
29889,
29941,
29892,
899,
29889,
7692,
29897,
13,
29911,
29918,
262,
29918,
381,
265,
353,
323,
29918,
381,
265,
29889,
29911,
29918,
262,
29918,
2687,
29898,
29984,
29918,
29896,
29892,
29871,
29900,
29889,
29900,
29906,
29945,
29892,
29871,
29941,
29900,
29892,
29871,
29900,
29889,
29900,
29896,
29945,
29892,
313,
29911,
29918,
524,
448,
899,
29889,
7692,
29897,
718,
29871,
29906,
29955,
29941,
29889,
29896,
29945,
29897,
13,
13,
13383,
13383,
7346,
2277,
29937,
11733,
29871,
29906,
835,
13383,
13383,
13383,
13383,
2277,
13,
13,
13646,
29918,
11745,
29896,
29918,
2687,
353,
11117,
1853,
2396,
525,
1837,
742,
525,
7692,
2396,
20693,
29889,
13646,
29918,
5371,
29896,
29918,
5371,
29906,
29918,
2687,
29913,
13,
13,
13646,
29918,
2687,
353,
518,
13646,
29918,
11745,
29896,
29918,
2687,
29962,
13,
29937,
965,
323,
29918,
19303,
852,
29892,
4957,
2482,
29918,
3317,
13,
25699,
29918,
2687,
353,
313,
29911,
29918,
524,
29892,
29871,
29900,
29889,
29900,
29906,
29945,
718,
29871,
29900,
29889,
29900,
29896,
29945,
718,
29871,
29900,
29889,
29900,
29896,
29906,
29897,
13,
13,
29916,
29900,
353,
518,
29900,
29892,
29871,
29900,
29962,
29871,
396,
910,
2847,
1819,
526,
23892,
515,
263,
937,
1650,
2183,
491,
278,
1158,
13,
2929,
29918,
2687,
353,
6260,
675,
29898,
20624,
29889,
3318,
573,
29918,
29911,
29892,
921,
29900,
29892,
1158,
2433,
29903,
8547,
29984,
29925,
742,
6389,
29922,
25699,
29918,
2687,
29892,
11938,
29922,
13646,
29918,
2687,
29892,
13,
462,
29871,
3987,
3790,
29915,
3317,
1524,
2396,
29871,
29945,
1800,
13,
13,
29937,
350,
6259,
6058,
29923,
29901,
6623,
278,
12541,
304,
6159,
1819,
5034,
304,
16832,
15110,
887,
817,
901,
25091,
13,
29937,
512,
278,
1121,
366,
1284,
278,
7472,
4328,
393,
278,
1788,
6159,
1546,
278,
7755,
322,
278,
16832,
13,
13,
29984,
29918,
29906,
353,
660,
29918,
29879,
29889,
29984,
29918,
11911,
29898,
29900,
29889,
29900,
29906,
29945,
29892,
323,
29918,
524,
29892,
29871,
29896,
29945,
29889,
29953,
29892,
29871,
29900,
29889,
29906,
29945,
29892,
29871,
29900,
29889,
29900,
29896,
29945,
29892,
29871,
29900,
29889,
29900,
29896,
29906,
29892,
29871,
29941,
29900,
29892,
29871,
29906,
29945,
718,
29871,
29906,
29955,
29941,
29889,
29896,
29945,
29892,
29871,
29945,
29892,
29871,
29900,
29889,
29941,
29892,
899,
29918,
2687,
29889,
7692,
29897,
13,
13,
13,
2158,
703,
9166,
4936,
29922,
22659,
8291,
3217,
5348,
1275,
9166,
9166,
4936,
2751,
29905,
29876,
1159,
13,
2158,
703,
5776,
546,
1535,
297,
278,
378,
345,
312,
573,
21061,
307,
29889,
29871,
29896,
29901,
6571,
518,
29968,
29962,
1642,
4830,
29898,
29911,
29918,
524,
876,
13,
2158,
703,
5776,
546,
1535,
472,
278,
1369,
310,
278,
20396,
4995,
29901,
6571,
518,
29968,
29962,
1642,
4830,
29898,
29911,
29918,
262,
29918,
381,
265,
876,
13,
2158,
703,
5776,
546,
1535,
472,
278,
1095,
310,
278,
20396,
4995,
29901,
6571,
518,
29968,
29962,
1642,
4830,
3552,
29911,
29918,
524,
448,
899,
29889,
7692,
29897,
718,
29871,
29906,
29955,
29941,
29889,
29896,
29945,
876,
13,
2158,
703,
29984,
363,
11134,
310,
20396,
4995,
29901,
6571,
518,
29956,
29914,
29885,
10725,
29876,
1642,
4830,
29898,
29984,
29918,
29896,
876,
13,
2158,
703,
9166,
9166,
9166,
9166,
4936,
2751,
25512,
543,
29897,
13,
2158,
703,
9166,
4936,
29922,
22659,
4810,
5348,
1275,
9166,
9166,
4936,
2751,
29905,
29876,
1159,
13,
2158,
703,
5776,
546,
1535,
297,
278,
378,
345,
312,
573,
21061,
307,
29889,
29871,
29896,
29901,
6571,
518,
29968,
29962,
1642,
4830,
29898,
29911,
29918,
524,
876,
13,
2158,
703,
5776,
546,
1535,
472,
278,
1095,
310,
278,
20396,
4995,
29901,
6571,
518,
29968,
29962,
1642,
4830,
3552,
29911,
29918,
524,
448,
899,
29918,
2687,
29889,
7692,
29897,
718,
29871,
29906,
29955,
29941,
29889,
29896,
29945,
876,
13,
2158,
703,
29984,
363,
11134,
310,
20396,
4995,
29901,
6571,
518,
29956,
29914,
29885,
10725,
29876,
1642,
4830,
29898,
29984,
29918,
29906,
876,
13,
2158,
703,
9166,
9166,
9166,
9166,
9166,
29905,
29876,
1159,
2
] |
manage.py | Vanzct/xp | 0 | 38676 | <gh_stars>0
# coding=utf-8
__author__ = 'Van'
import os
import sys
from flask.ext.script import Manager, Shell
# from flask.ext.migrate import Migrate, MigrateCommand
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
from app import create_app
mode = os.getenv('APP_CONFIG_MODE') or 'default'
if mode:
mode = mode.lower()
print 'current config mode %s' % mode
app = create_app(mode)
manager = Manager(app)
# manager.add_command("shell", Shell(make_context=make_shell_context))
# manager.add_command('db', MigrateCommand)
@manager.command
def test():
"""aRun the unit tests."""
import unittest
tests = unittest.TestLoader().discover('tests')
unittest.TextTestRunner(verbosity=2).run(tests)
if __name__ == '__main__':
app.debug = True
app.run(host='0.0.0.0', port=5001)
# manager.run()
| [
1,
529,
12443,
29918,
303,
1503,
29958,
29900,
13,
29937,
14137,
29922,
9420,
29899,
29947,
13,
1649,
8921,
1649,
353,
525,
29963,
273,
29915,
13,
13,
5215,
2897,
13,
5215,
10876,
13,
3166,
29784,
29889,
1062,
29889,
2154,
1053,
15629,
29892,
1383,
514,
13,
29937,
515,
29784,
29889,
1062,
29889,
26983,
403,
1053,
341,
4481,
403,
29892,
341,
4481,
403,
6255,
13,
9675,
29889,
2084,
29889,
4397,
29898,
359,
29889,
2084,
29889,
25721,
29898,
359,
29889,
2084,
29889,
370,
1028,
493,
22168,
1445,
1649,
4961,
13,
13,
3166,
623,
1053,
1653,
29918,
932,
13,
13,
8513,
353,
2897,
29889,
657,
6272,
877,
20576,
29918,
25903,
29918,
20387,
1495,
470,
525,
4381,
29915,
13,
361,
4464,
29901,
13,
1678,
4464,
353,
4464,
29889,
13609,
580,
13,
1678,
1596,
525,
3784,
2295,
4464,
1273,
29879,
29915,
1273,
4464,
13,
932,
353,
1653,
29918,
932,
29898,
8513,
29897,
13,
12847,
353,
15629,
29898,
932,
29897,
13,
13,
29937,
8455,
29889,
1202,
29918,
6519,
703,
15903,
613,
1383,
514,
29898,
5675,
29918,
4703,
29922,
5675,
29918,
15903,
29918,
4703,
876,
13,
29937,
8455,
29889,
1202,
29918,
6519,
877,
2585,
742,
341,
4481,
403,
6255,
29897,
13,
13,
13,
29992,
12847,
29889,
6519,
13,
1753,
1243,
7295,
13,
1678,
9995,
29874,
6558,
278,
5190,
6987,
1213,
15945,
13,
1678,
1053,
443,
27958,
13,
1678,
6987,
353,
443,
27958,
29889,
3057,
10036,
2141,
2218,
11911,
877,
21150,
1495,
13,
1678,
443,
27958,
29889,
1626,
3057,
16802,
29898,
18248,
359,
537,
29922,
29906,
467,
3389,
29898,
21150,
29897,
13,
13,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
1678,
623,
29889,
8382,
353,
5852,
13,
1678,
623,
29889,
3389,
29898,
3069,
2433,
29900,
29889,
29900,
29889,
29900,
29889,
29900,
742,
2011,
29922,
29945,
29900,
29900,
29896,
29897,
13,
1678,
396,
8455,
29889,
3389,
580,
13,
2
] |
json2csv.py | glvnst/json2csv | 3 | 161571 | #!/usr/bin/env python
"""
json2csv: Convert a json file into a csv file
"""
import argparse
import sys
import json
import csv
import codecs
import cStringIO
import os
import collections
class UnicodeWriter(object):
"""
A CSV writer which will write rows to output filehandle "stream",
which is encoded in the given encoding.
Mostly from https://docs.python.org/2/library/csv.html
"""
def __init__(self, stream, dialect=csv.excel, encoding="utf-8", **kwds):
# Redirect output to a queue
self.queue = cStringIO.StringIO()
self.writer = csv.writer(self.queue, dialect=dialect, **kwds)
self.stream = stream
self.encoder = codecs.getincrementalencoder(encoding)()
def writerow(self, raw_row_values):
""" Write a row to the output file (with hackery for unicode) """
safe_row_values = list()
for value in raw_row_values:
try:
if isinstance(value, unicode):
safe_row_values.append(value.encode("utf-8"))
continue
safe_row_values.append(value)
except UnicodeDecodeError:
print "{}:{}".format(type(value).__name__, value)
raise
self.writer.writerow(safe_row_values)
# Fetch UTF-8 output from the queue ...
data = self.queue.getvalue()
data = data.decode("utf-8")
# ... and reencode it into the target encoding
data = self.encoder.encode(data)
# write to the target stream
self.stream.write(data)
# empty queue
self.queue.truncate(0)
def writerows(self, rows):
""" Calls writerow on a collection of rows """
for row in rows:
self.writerow(row)
def not_none(input_value, replacement_value=""):
""" If the given input value is None, replace it with something else """
if input_value is None:
return replacement_value
return input_value
def json_to_table(json_filename):
"""
Convert a list of dicts into a table (list of lists of values). Return the
headings in the result row
"""
with open(json_filename, "r") as json_fh:
records = json.load(json_fh, encoding="utf-8",
object_pairs_hook=collections.OrderedDict)
headings = tuple(records[0].keys())
return [headings] + [[not_none(record[heading]) for heading in headings]
for record in records]
def safe_open(path, read=True, write=False, allow_create=True,
allow_overwrite=False, file_permissions=0755):
""" Uses os.open to avoid clobbering files that already exist """
flags = 0
mode = 'r'
if read and write:
flags |= os.O_RDWR
mode = 'r+'
elif read:
flags |= os.O_RDONLY
mode = 'r'
elif write:
flags |= os.O_WRONLY
mode = 'r+'
# This hurts me.
# 'w' and 'w+' truncate
# 'a' and 'a+' ONLY append (without regard to seek) on some platforms
else:
raise RuntimeError("a file must be opened for reading or writing")
if allow_create:
flags |= os.O_CREAT
if not allow_overwrite:
if not allow_create:
raise RuntimeError("safe_open must create or overwrite")
flags |= os.O_CREAT | os.O_EXCL
try:
return os.fdopen(os.open(path, flags, file_permissions), mode)
except OSError, error:
print error
sys.exit(1)
def make_output_filename(input_name, new_extension):
"""
Return an output filename based on an input filename; using basename and
splitext
"""
return os.path.splitext(os.path.basename(input_name))[0] + new_extension
def main():
"""
primary function for command-line execution. return an exit status integer
or a bool type (where True indicates successful exection)
"""
argp = argparse.ArgumentParser(description=(
"Create a CVS file from a JSON file. The input files must contain an "
"array of objects with uniform keys. Output will be written to the "
"current working directory. For example for the input file "
"'/something/thing.json' we create './thing.csv'. By default "
"existing files will not be overwritten."))
argp.add_argument('inputfile', nargs="+", help=(
"Input JSON file(s) "))
argp.add_argument('-w', '--overwrite', action="store_true", help=(
"Overwrite the output file(s) if they exist"))
argp.add_argument('-d', '--debug', action="store_true", help=(
"Print debugging output instead of generating CSV files"))
args = argp.parse_args()
# do things
if args.debug:
import pprint
dump = pprint.PrettyPrinter(indent=4).pprint
for input_filename in args.inputfile:
table = json_to_table(input_filename)
if args.debug:
dump(table)
continue
output_filename = make_output_filename(input_filename, '.csv')
with safe_open(output_filename, write=True,
allow_overwrite=args.overwrite) as output:
writer = UnicodeWriter(output, quoting=csv.QUOTE_MINIMAL)
writer.writerows(table)
print "Wrote {} records to {}".format(len(table), output_filename)
return True
if __name__ == '__main__':
EXIT_STATUS = main()
sys.exit(int(not EXIT_STATUS if isinstance(EXIT_STATUS, bool)
else EXIT_STATUS))
| [
1,
18787,
4855,
29914,
2109,
29914,
6272,
3017,
13,
15945,
29908,
13,
3126,
29906,
7638,
29901,
14806,
263,
4390,
934,
964,
263,
11799,
934,
13,
15945,
29908,
13,
5215,
1852,
5510,
13,
5215,
10876,
13,
5215,
4390,
13,
5215,
11799,
13,
5215,
775,
2395,
13,
5215,
274,
1231,
5971,
13,
5215,
2897,
13,
5215,
16250,
13,
13,
13,
1990,
23862,
10507,
29898,
3318,
1125,
13,
1678,
9995,
13,
1678,
319,
16874,
9227,
607,
674,
2436,
4206,
304,
1962,
934,
8411,
376,
5461,
613,
13,
1678,
607,
338,
18511,
297,
278,
2183,
8025,
29889,
13,
1678,
7849,
368,
515,
2045,
597,
2640,
29889,
4691,
29889,
990,
29914,
29906,
29914,
5258,
29914,
7638,
29889,
1420,
13,
1678,
9995,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
4840,
29892,
23725,
29922,
7638,
29889,
24633,
29892,
8025,
543,
9420,
29899,
29947,
613,
3579,
11022,
6289,
1125,
13,
4706,
396,
4367,
1088,
1962,
304,
263,
9521,
13,
4706,
1583,
29889,
9990,
353,
274,
1231,
5971,
29889,
1231,
5971,
580,
13,
4706,
1583,
29889,
13236,
353,
11799,
29889,
13236,
29898,
1311,
29889,
9990,
29892,
23725,
29922,
15321,
781,
29892,
3579,
11022,
6289,
29897,
13,
4706,
1583,
29889,
5461,
353,
4840,
13,
4706,
1583,
29889,
3977,
6119,
353,
775,
2395,
29889,
657,
25629,
284,
3977,
6119,
29898,
22331,
29897,
580,
13,
13,
1678,
822,
9227,
340,
29898,
1311,
29892,
10650,
29918,
798,
29918,
5975,
1125,
13,
4706,
9995,
14350,
263,
1948,
304,
278,
1962,
934,
313,
2541,
15833,
708,
363,
29104,
29897,
9995,
13,
4706,
9109,
29918,
798,
29918,
5975,
353,
1051,
580,
13,
4706,
363,
995,
297,
10650,
29918,
798,
29918,
5975,
29901,
13,
9651,
1018,
29901,
13,
18884,
565,
338,
8758,
29898,
1767,
29892,
29104,
1125,
13,
462,
1678,
9109,
29918,
798,
29918,
5975,
29889,
4397,
29898,
1767,
29889,
12508,
703,
9420,
29899,
29947,
5783,
13,
462,
1678,
6773,
13,
18884,
9109,
29918,
798,
29918,
5975,
29889,
4397,
29898,
1767,
29897,
13,
9651,
5174,
23862,
2772,
401,
2392,
29901,
13,
18884,
1596,
29850,
6177,
8875,
1642,
4830,
29898,
1853,
29898,
1767,
467,
1649,
978,
1649,
29892,
995,
29897,
13,
18884,
12020,
13,
4706,
1583,
29889,
13236,
29889,
13236,
340,
29898,
11177,
29918,
798,
29918,
5975,
29897,
13,
4706,
396,
383,
3486,
18351,
29899,
29947,
1962,
515,
278,
9521,
2023,
13,
4706,
848,
353,
1583,
29889,
9990,
29889,
657,
1767,
580,
13,
4706,
848,
353,
848,
29889,
13808,
703,
9420,
29899,
29947,
1159,
13,
4706,
396,
2023,
322,
337,
12508,
372,
964,
278,
3646,
8025,
13,
4706,
848,
353,
1583,
29889,
3977,
6119,
29889,
12508,
29898,
1272,
29897,
13,
4706,
396,
2436,
304,
278,
3646,
4840,
13,
4706,
1583,
29889,
5461,
29889,
3539,
29898,
1272,
29897,
13,
4706,
396,
4069,
9521,
13,
4706,
1583,
29889,
9990,
29889,
509,
4661,
403,
29898,
29900,
29897,
13,
13,
1678,
822,
9227,
1242,
29898,
1311,
29892,
4206,
1125,
13,
4706,
9995,
315,
4293,
9227,
340,
373,
263,
4333,
310,
4206,
9995,
13,
4706,
363,
1948,
297,
4206,
29901,
13,
9651,
1583,
29889,
13236,
340,
29898,
798,
29897,
13,
13,
13,
1753,
451,
29918,
9290,
29898,
2080,
29918,
1767,
29892,
16920,
29918,
1767,
13776,
1125,
13,
1678,
9995,
960,
278,
2183,
1881,
995,
338,
6213,
29892,
5191,
372,
411,
1554,
1683,
9995,
13,
1678,
565,
1881,
29918,
1767,
338,
6213,
29901,
13,
4706,
736,
16920,
29918,
1767,
13,
1678,
736,
1881,
29918,
1767,
13,
13,
13,
1753,
4390,
29918,
517,
29918,
2371,
29898,
3126,
29918,
9507,
1125,
13,
1678,
9995,
13,
1678,
14806,
263,
1051,
310,
9657,
29879,
964,
263,
1591,
313,
1761,
310,
8857,
310,
1819,
467,
7106,
278,
13,
1678,
2343,
886,
297,
278,
1121,
1948,
13,
1678,
9995,
13,
1678,
411,
1722,
29898,
3126,
29918,
9507,
29892,
376,
29878,
1159,
408,
4390,
29918,
29888,
29882,
29901,
13,
4706,
6475,
353,
4390,
29889,
1359,
29898,
3126,
29918,
29888,
29882,
29892,
8025,
543,
9420,
29899,
29947,
613,
13,
462,
9651,
1203,
29918,
29886,
7121,
29918,
20849,
29922,
29027,
29889,
7514,
287,
21533,
29897,
13,
1678,
2343,
886,
353,
18761,
29898,
3757,
4339,
29961,
29900,
1822,
8149,
3101,
13,
13,
1678,
736,
518,
2813,
886,
29962,
718,
5519,
1333,
29918,
9290,
29898,
11651,
29961,
2813,
292,
2314,
363,
28435,
297,
2343,
886,
29962,
13,
462,
308,
363,
2407,
297,
6475,
29962,
13,
13,
13,
1753,
9109,
29918,
3150,
29898,
2084,
29892,
1303,
29922,
5574,
29892,
2436,
29922,
8824,
29892,
2758,
29918,
3258,
29922,
5574,
29892,
13,
795,
2758,
29918,
957,
3539,
29922,
8824,
29892,
934,
29918,
17858,
6847,
29922,
29900,
29955,
29945,
29945,
1125,
13,
1678,
9995,
10783,
267,
2897,
29889,
3150,
304,
4772,
274,
2127,
495,
292,
2066,
393,
2307,
1863,
9995,
13,
1678,
13449,
353,
29871,
29900,
13,
1678,
4464,
353,
525,
29878,
29915,
13,
13,
1678,
565,
1303,
322,
2436,
29901,
13,
4706,
13449,
891,
29922,
2897,
29889,
29949,
29918,
29934,
29928,
9980,
13,
4706,
4464,
353,
525,
29878,
23097,
13,
1678,
25342,
1303,
29901,
13,
4706,
13449,
891,
29922,
2897,
29889,
29949,
29918,
29934,
29928,
1164,
16786,
13,
4706,
4464,
353,
525,
29878,
29915,
13,
1678,
25342,
2436,
29901,
13,
4706,
13449,
891,
29922,
2897,
29889,
29949,
29918,
9980,
1164,
16786,
13,
4706,
4464,
353,
525,
29878,
23097,
13,
4706,
396,
910,
12166,
1372,
592,
29889,
13,
4706,
396,
525,
29893,
29915,
322,
525,
29893,
23097,
21022,
403,
13,
4706,
396,
525,
29874,
29915,
322,
525,
29874,
23097,
6732,
16786,
9773,
313,
14037,
4880,
304,
16508,
29897,
373,
777,
21796,
13,
1678,
1683,
29901,
13,
4706,
12020,
24875,
2392,
703,
29874,
934,
1818,
367,
6496,
363,
5183,
470,
5007,
1159,
13,
13,
1678,
565,
2758,
29918,
3258,
29901,
13,
4706,
13449,
891,
29922,
2897,
29889,
29949,
29918,
22245,
1299,
13,
1678,
565,
451,
2758,
29918,
957,
3539,
29901,
13,
4706,
565,
451,
2758,
29918,
3258,
29901,
13,
9651,
12020,
24875,
2392,
703,
11177,
29918,
3150,
1818,
1653,
470,
26556,
1159,
13,
4706,
13449,
891,
29922,
2897,
29889,
29949,
29918,
22245,
1299,
891,
2897,
29889,
29949,
29918,
5746,
6154,
13,
13,
1678,
1018,
29901,
13,
4706,
736,
2897,
29889,
11512,
3150,
29898,
359,
29889,
3150,
29898,
2084,
29892,
13449,
29892,
934,
29918,
17858,
6847,
511,
4464,
29897,
13,
1678,
5174,
438,
29173,
29892,
1059,
29901,
13,
4706,
1596,
1059,
13,
4706,
10876,
29889,
13322,
29898,
29896,
29897,
13,
13,
13,
1753,
1207,
29918,
4905,
29918,
9507,
29898,
2080,
29918,
978,
29892,
716,
29918,
17588,
1125,
13,
1678,
9995,
13,
1678,
7106,
385,
1962,
10422,
2729,
373,
385,
1881,
10422,
29936,
773,
2362,
3871,
322,
13,
1678,
8536,
568,
486,
13,
1678,
9995,
13,
1678,
736,
2897,
29889,
2084,
29889,
23579,
568,
486,
29898,
359,
29889,
2084,
29889,
6500,
3871,
29898,
2080,
29918,
978,
876,
29961,
29900,
29962,
718,
716,
29918,
17588,
13,
13,
13,
1753,
1667,
7295,
13,
1678,
9995,
13,
1678,
7601,
740,
363,
1899,
29899,
1220,
8225,
29889,
736,
385,
6876,
4660,
6043,
13,
1678,
470,
263,
6120,
1134,
313,
3062,
5852,
14088,
9150,
429,
9739,
29897,
13,
1678,
9995,
13,
1678,
1852,
29886,
353,
1852,
5510,
29889,
15730,
11726,
29898,
8216,
7607,
13,
4706,
376,
4391,
263,
315,
21819,
934,
515,
263,
4663,
934,
29889,
450,
1881,
2066,
1818,
1712,
385,
376,
13,
4706,
376,
2378,
310,
3618,
411,
9090,
6611,
29889,
10604,
674,
367,
3971,
304,
278,
376,
13,
4706,
376,
3784,
1985,
3884,
29889,
1152,
1342,
363,
278,
1881,
934,
376,
13,
4706,
13577,
29914,
14481,
29914,
1918,
29889,
3126,
29915,
591,
1653,
19283,
1918,
29889,
7638,
4286,
2648,
2322,
376,
13,
4706,
376,
735,
15423,
2066,
674,
451,
367,
975,
17625,
1213,
876,
13,
1678,
1852,
29886,
29889,
1202,
29918,
23516,
877,
2080,
1445,
742,
302,
5085,
543,
29974,
613,
1371,
7607,
13,
4706,
376,
4290,
4663,
934,
29898,
29879,
29897,
376,
876,
13,
1678,
1852,
29886,
29889,
1202,
29918,
23516,
877,
29899,
29893,
742,
525,
489,
957,
3539,
742,
3158,
543,
8899,
29918,
3009,
613,
1371,
7607,
13,
4706,
376,
3563,
3539,
278,
1962,
934,
29898,
29879,
29897,
565,
896,
1863,
5783,
13,
1678,
1852,
29886,
29889,
1202,
29918,
23516,
877,
29899,
29881,
742,
525,
489,
8382,
742,
3158,
543,
8899,
29918,
3009,
613,
1371,
7607,
13,
4706,
376,
11816,
13490,
1962,
2012,
310,
14655,
16874,
2066,
5783,
13,
1678,
6389,
353,
1852,
29886,
29889,
5510,
29918,
5085,
580,
13,
13,
1678,
396,
437,
2712,
13,
1678,
565,
6389,
29889,
8382,
29901,
13,
4706,
1053,
282,
2158,
13,
4706,
16766,
353,
282,
2158,
29889,
6572,
4349,
4040,
1639,
29898,
12860,
29922,
29946,
467,
407,
29878,
524,
13,
13,
1678,
363,
1881,
29918,
9507,
297,
6389,
29889,
2080,
1445,
29901,
13,
4706,
1591,
353,
4390,
29918,
517,
29918,
2371,
29898,
2080,
29918,
9507,
29897,
13,
4706,
565,
6389,
29889,
8382,
29901,
13,
9651,
16766,
29898,
2371,
29897,
13,
9651,
6773,
13,
13,
4706,
1962,
29918,
9507,
353,
1207,
29918,
4905,
29918,
9507,
29898,
2080,
29918,
9507,
29892,
15300,
7638,
1495,
13,
13,
4706,
411,
9109,
29918,
3150,
29898,
4905,
29918,
9507,
29892,
2436,
29922,
5574,
29892,
13,
462,
539,
2758,
29918,
957,
3539,
29922,
5085,
29889,
957,
3539,
29897,
408,
1962,
29901,
13,
9651,
9227,
353,
23862,
10507,
29898,
4905,
29892,
439,
11427,
29922,
7638,
29889,
13356,
2891,
29923,
29918,
16173,
2260,
29931,
29897,
13,
9651,
9227,
29889,
13236,
1242,
29898,
2371,
29897,
13,
4706,
1596,
376,
29956,
4859,
6571,
6475,
304,
6571,
1642,
4830,
29898,
2435,
29898,
2371,
511,
1962,
29918,
9507,
29897,
13,
13,
1678,
736,
5852,
13,
13,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
1678,
8528,
1806,
29918,
27047,
353,
1667,
580,
13,
1678,
10876,
29889,
13322,
29898,
524,
29898,
1333,
8528,
1806,
29918,
27047,
565,
338,
8758,
29898,
5746,
1806,
29918,
27047,
29892,
6120,
29897,
13,
462,
1683,
8528,
1806,
29918,
27047,
876,
13,
2
] |
739.py | wilbertgeng/LeetCode_exercise | 0 | 79808 | """739. Daily Temperatures"""
class Solution(object):
def dailyTemperatures(self, T):
"""
:type T: List[int]
:rtype: List[int]
"""
## R2:
res = [0 for _ in range(len(T))]
stack = []
for pos, tem in enumerate(T):
while stack and T[stack[-1]] < tem:
cur = stack.pop()
res[cur] = pos - cur
stack.append(pos)
return res
## R1:
ans = [0 for _ in range(len(T))]
stack = []
for i, t in enumerate(T):
while stack and T[stack[-1]] < t:
cur = stack.pop()
ans[cur] = i - cur
stack.append(i)
return ans
| [
1,
9995,
29955,
29941,
29929,
29889,
23331,
6789,
546,
3698,
15945,
29908,
13,
13,
1990,
24380,
29898,
3318,
1125,
13,
1678,
822,
14218,
5776,
546,
3698,
29898,
1311,
29892,
323,
1125,
13,
4706,
9995,
13,
4706,
584,
1853,
323,
29901,
2391,
29961,
524,
29962,
13,
4706,
584,
29878,
1853,
29901,
2391,
29961,
524,
29962,
13,
4706,
9995,
13,
4706,
444,
390,
29906,
29901,
13,
4706,
620,
353,
518,
29900,
363,
903,
297,
3464,
29898,
2435,
29898,
29911,
28166,
13,
4706,
5096,
353,
5159,
13,
13,
4706,
363,
926,
29892,
1350,
297,
26985,
29898,
29911,
1125,
13,
9651,
1550,
5096,
322,
323,
29961,
1429,
14352,
29896,
5262,
529,
1350,
29901,
13,
18884,
3151,
353,
5096,
29889,
7323,
580,
13,
18884,
620,
29961,
2764,
29962,
353,
926,
448,
3151,
13,
9651,
5096,
29889,
4397,
29898,
1066,
29897,
13,
13,
4706,
736,
620,
13,
13,
13,
13,
4706,
444,
390,
29896,
29901,
13,
4706,
6063,
353,
518,
29900,
363,
903,
297,
3464,
29898,
2435,
29898,
29911,
28166,
13,
4706,
5096,
353,
5159,
13,
13,
4706,
363,
474,
29892,
260,
297,
26985,
29898,
29911,
1125,
13,
9651,
1550,
5096,
322,
323,
29961,
1429,
14352,
29896,
5262,
529,
260,
29901,
13,
18884,
3151,
353,
5096,
29889,
7323,
580,
13,
18884,
6063,
29961,
2764,
29962,
353,
474,
448,
3151,
13,
13,
9651,
5096,
29889,
4397,
29898,
29875,
29897,
13,
13,
4706,
736,
6063,
13,
2
] |
dateparser/data/numeral_translation_data/se.py | bazingarj/dateparser | 8 | 1608652 | <reponame>bazingarj/dateparser<gh_stars>1-10
# -*- coding: utf-8 -*-
info = {
"%spellout-cardinal": {
"0": "nolla;",
"1": "okta;",
"2": "guokte;",
"3": "golbma;",
"4": "njeallje;",
"5": "vihtta;",
"6": "guhtta;",
"7": "čieža;",
"8": "gávcci;",
"9": "ovcci;",
"10": "logi;",
"(11, 19)": ">>nuppelohkái;",
"(20, 99)": "<<logi[>>];",
"(100, 999)": "<<čuođi[>>];",
"(1000, 999999)": "<<duhát[ >>];",
"(1000000, 999999999)": "<< miljon[ >>];",
"(1000000000, 999999999999)": "<< miljard[ >>];",
"(1000000000000, 999999999999999)": "<< biljon[ >>];",
"(1000000000000000, 999999999999999999)": "<< biljard[ >>];",
"(1000000000000000000, 'inf')": "=#,##0=;"
},
"%spellout-numbering": {
"(0, 'inf')": "=%spellout-cardinal=;"
},
"%spellout-numbering-year": {
"(0, 9999)": "=%spellout-numbering=;",
"(10000, 'inf')": "=%spellout-numbering=;"
}
} | [
1,
529,
276,
1112,
420,
29958,
27975,
292,
279,
29926,
29914,
1256,
16680,
29966,
12443,
29918,
303,
1503,
29958,
29896,
29899,
29896,
29900,
13,
29937,
448,
29930,
29899,
14137,
29901,
23616,
29899,
29947,
448,
29930,
29899,
13,
3888,
353,
426,
13,
1678,
11860,
1028,
514,
449,
29899,
7543,
979,
1115,
426,
13,
4706,
376,
29900,
1115,
376,
29876,
324,
433,
29936,
613,
13,
4706,
376,
29896,
1115,
376,
554,
941,
29936,
613,
13,
4706,
376,
29906,
1115,
376,
2543,
554,
371,
29936,
613,
13,
4706,
376,
29941,
1115,
376,
29887,
324,
29890,
655,
29936,
613,
13,
4706,
376,
29946,
1115,
376,
29876,
1324,
497,
1324,
29936,
613,
13,
4706,
376,
29945,
1115,
376,
1403,
691,
29874,
29936,
613,
13,
4706,
376,
29953,
1115,
376,
2543,
691,
29874,
29936,
613,
13,
4706,
376,
29955,
1115,
376,
30026,
347,
30044,
29874,
29936,
613,
13,
4706,
376,
29947,
1115,
376,
29887,
29976,
7071,
455,
29936,
613,
13,
4706,
376,
29929,
1115,
376,
586,
29883,
455,
29936,
613,
13,
4706,
376,
29896,
29900,
1115,
376,
1188,
29875,
29936,
613,
13,
4706,
18227,
29896,
29896,
29892,
29871,
29896,
29929,
29897,
1115,
376,
6778,
30191,
3433,
4798,
30191,
417,
29882,
27817,
29875,
29936,
613,
13,
4706,
18227,
29906,
29900,
29892,
29871,
29929,
29929,
29897,
1115,
376,
9314,
30191,
1188,
29875,
29961,
30191,
6778,
1385,
613,
13,
4706,
18227,
29896,
29900,
29900,
29892,
29871,
29929,
29929,
29929,
29897,
1115,
376,
9314,
30191,
30026,
25608,
30128,
29875,
29961,
30191,
6778,
1385,
613,
13,
4706,
18227,
29896,
29900,
29900,
29900,
29892,
29871,
29929,
29929,
29929,
29929,
29929,
29929,
29897,
1115,
376,
9314,
30191,
700,
29882,
2682,
29961,
5099,
1385,
613,
13,
4706,
18227,
29896,
29900,
29900,
29900,
29900,
29900,
29900,
29892,
29871,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29897,
1115,
376,
9314,
2316,
13022,
29961,
5099,
1385,
613,
13,
4706,
18227,
29896,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29892,
29871,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29897,
1115,
376,
9314,
2316,
29926,
538,
29961,
5099,
1385,
613,
13,
4706,
18227,
29896,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29892,
29871,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29897,
1115,
376,
9314,
13181,
13022,
29961,
5099,
1385,
613,
13,
4706,
18227,
29896,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29892,
29871,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29897,
1115,
376,
9314,
13181,
29926,
538,
29961,
5099,
1385,
613,
13,
4706,
18227,
29896,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29892,
525,
7192,
1495,
1115,
376,
29922,
6552,
2277,
29900,
29922,
15458,
13,
1678,
2981,
13,
1678,
11860,
1028,
514,
449,
29899,
4537,
292,
1115,
426,
13,
4706,
18227,
29900,
29892,
525,
7192,
1495,
1115,
376,
16328,
1028,
514,
449,
29899,
7543,
979,
29922,
15458,
13,
1678,
2981,
13,
1678,
11860,
1028,
514,
449,
29899,
4537,
292,
29899,
6360,
1115,
426,
13,
4706,
18227,
29900,
29892,
29871,
29929,
29929,
29929,
29929,
29897,
1115,
376,
16328,
1028,
514,
449,
29899,
4537,
292,
29922,
29936,
613,
13,
4706,
18227,
29896,
29900,
29900,
29900,
29900,
29892,
525,
7192,
1495,
1115,
376,
16328,
1028,
514,
449,
29899,
4537,
292,
29922,
15458,
13,
1678,
500,
13,
29913,
2
] |
face.py | 1MT3J45/DS-StockAnalysis | 0 | 36263 | <reponame>1MT3J45/DS-StockAnalysis
from kivy.uix.boxlayout import BoxLayout
from kivy.lang import Builder
from kivy.app import App
import YP03
import sys
import dfgui
import pandas as pd
Builder.load_string('''
<faceTool>:
num1: num1
result: result
orientation: 'vertical'
BoxLayout:
orientation: 'horizontal'
Label:
id: num1
text: 'Stock Data Analysis'
BoxLayout:
orientation: 'horizontal'
GridLayout:
cols: 6
Label:
id: blank1
Label:
id: blank2
Button:
text: 'Execute'
height: 10
width: 30
on_press: root.display_fun(self)
Label:
text: 'EMPTY SLOT'
height: 10
width: 30
on_press:
Button:
text: "Show XLS Sheet"
height: 10
width: 30
on_press: root.graph()
Button:
text: "Clear"
height: 10
width: 30
on_press: root.clear_screen()
BoxLayout:
orientation: 'horizontal'
Label:
id: result
GridLayout:
cols: 2
size_hint_y: None
Button:
text: "Clear"
on_press: root.clear_screen()
height: 10
width: 30
BubbleButton:
text: 'Exit'
on_press: root.exit_it()
height: 10
width: 30
''')
class face_app(App):
def build(self):
return faceTool()
class faceTool(BoxLayout):
def __init__(self, **kwargs):
super(faceTool, self).__init__(**kwargs)
def display_fun(self, instance):
'''Fuction called when numeric buttons are pressed,
if the operation button is pressed the numbers after will be
on the right hand side.
'''
DayClusterNames, length = YP03.execute()
res = ''
for i in range(len(DayClusterNames)):
res = str(DayClusterNames[i])+'\n'+res
self.result.text = str(res)
def exit_it(self):
sys.exit()
def graph(self):
# xls = pd.read_excel('Res.xls')
# df = pd.DataFrame(xls)
# dfgui.show(df)
import main
def clear_screen(self):
self.result.text = ''
face_app().run()
| [
1,
529,
276,
1112,
420,
29958,
29896,
11490,
29941,
29967,
29946,
29945,
29914,
8452,
29899,
20754,
384,
21067,
4848,
13,
3166,
413,
440,
29891,
29889,
29884,
861,
29889,
1884,
2680,
1053,
11773,
3453,
13,
3166,
413,
440,
29891,
29889,
3893,
1053,
5373,
2700,
13,
3166,
413,
440,
29891,
29889,
932,
1053,
2401,
13,
5215,
612,
29925,
29900,
29941,
13,
5215,
10876,
13,
5215,
4489,
23569,
13,
5215,
11701,
408,
10518,
13,
13,
5627,
29889,
1359,
29918,
1807,
877,
4907,
13,
29966,
2161,
12229,
23917,
13,
1678,
954,
29896,
29901,
954,
29896,
13,
1678,
1121,
29901,
1121,
13,
1678,
19843,
29901,
525,
18575,
29915,
13,
1678,
11773,
3453,
29901,
13,
4706,
19843,
29901,
525,
22672,
29915,
13,
4706,
15796,
29901,
13,
9651,
1178,
29901,
954,
29896,
13,
9651,
1426,
29901,
525,
20754,
384,
3630,
24352,
29915,
13,
308,
13,
1678,
11773,
3453,
29901,
13,
4706,
19843,
29901,
525,
22672,
29915,
13,
4706,
11657,
3453,
29901,
13,
9651,
28730,
29901,
29871,
29953,
13,
9651,
15796,
29901,
13,
18884,
1178,
29901,
9654,
29896,
13,
9651,
15796,
29901,
13,
18884,
1178,
29901,
9654,
29906,
13,
9651,
11025,
29901,
13,
18884,
1426,
29901,
525,
12296,
29915,
13,
18884,
3171,
29901,
29871,
29896,
29900,
13,
18884,
2920,
29901,
29871,
29941,
29900,
13,
18884,
373,
29918,
2139,
29901,
3876,
29889,
4990,
29918,
7692,
29898,
1311,
29897,
13,
9651,
15796,
29901,
13,
18884,
1426,
29901,
525,
29923,
3580,
15631,
27146,
2891,
29915,
13,
18884,
3171,
29901,
29871,
29896,
29900,
13,
18884,
2920,
29901,
29871,
29941,
29900,
13,
18884,
373,
29918,
2139,
29901,
13,
9651,
11025,
29901,
13,
18884,
1426,
29901,
376,
8964,
1060,
8547,
2296,
300,
29908,
13,
18884,
3171,
29901,
29871,
29896,
29900,
13,
18884,
2920,
29901,
29871,
29941,
29900,
13,
18884,
373,
29918,
2139,
29901,
3876,
29889,
4262,
580,
13,
9651,
11025,
29901,
13,
18884,
1426,
29901,
376,
18759,
29908,
13,
18884,
3171,
29901,
29871,
29896,
29900,
13,
18884,
2920,
29901,
29871,
29941,
29900,
13,
18884,
373,
29918,
2139,
29901,
3876,
29889,
8551,
29918,
10525,
580,
13,
1678,
11773,
3453,
29901,
13,
4706,
19843,
29901,
525,
22672,
29915,
13,
4706,
15796,
29901,
13,
9651,
1178,
29901,
1121,
13,
1678,
11657,
3453,
29901,
13,
4706,
28730,
29901,
29871,
29906,
13,
4706,
2159,
29918,
29882,
524,
29918,
29891,
29901,
6213,
13,
13,
4706,
11025,
29901,
13,
9651,
1426,
29901,
376,
18759,
29908,
13,
9651,
373,
29918,
2139,
29901,
3876,
29889,
8551,
29918,
10525,
580,
13,
9651,
3171,
29901,
29871,
29896,
29900,
13,
9651,
2920,
29901,
29871,
29941,
29900,
13,
4706,
350,
23232,
3125,
29901,
13,
9651,
1426,
29901,
525,
24365,
29915,
13,
9651,
373,
29918,
2139,
29901,
3876,
29889,
13322,
29918,
277,
580,
13,
9651,
3171,
29901,
29871,
29896,
29900,
13,
9651,
2920,
29901,
29871,
29941,
29900,
13,
4907,
1495,
13,
13,
13,
1990,
3700,
29918,
932,
29898,
2052,
1125,
13,
1678,
822,
2048,
29898,
1311,
1125,
13,
4706,
736,
3700,
12229,
580,
13,
13,
13,
1990,
3700,
12229,
29898,
3313,
3453,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
3579,
19290,
1125,
13,
4706,
2428,
29898,
2161,
12229,
29892,
1583,
467,
1649,
2344,
12035,
1068,
19290,
29897,
13,
13,
1678,
822,
2479,
29918,
7692,
29898,
1311,
29892,
2777,
1125,
13,
4706,
14550,
29943,
29884,
428,
2000,
746,
16985,
9828,
526,
15385,
29892,
13,
4706,
565,
278,
5858,
2826,
338,
15385,
278,
3694,
1156,
674,
367,
13,
4706,
373,
278,
1492,
1361,
2625,
29889,
13,
4706,
14550,
13,
4706,
8373,
6821,
5402,
8659,
29892,
3309,
353,
612,
29925,
29900,
29941,
29889,
7978,
580,
13,
4706,
620,
353,
6629,
13,
4706,
363,
474,
297,
3464,
29898,
2435,
29898,
12742,
6821,
5402,
8659,
22164,
13,
9651,
620,
353,
851,
29898,
12742,
6821,
5402,
8659,
29961,
29875,
2314,
29974,
12764,
29876,
18717,
690,
13,
4706,
1583,
29889,
2914,
29889,
726,
353,
851,
29898,
690,
29897,
13,
13,
1678,
822,
6876,
29918,
277,
29898,
1311,
1125,
13,
4706,
10876,
29889,
13322,
580,
13,
13,
1678,
822,
3983,
29898,
1311,
1125,
13,
4706,
396,
921,
3137,
353,
10518,
29889,
949,
29918,
24633,
877,
1666,
29889,
20267,
1495,
13,
4706,
396,
4489,
353,
10518,
29889,
17271,
29898,
20267,
29897,
13,
4706,
396,
4489,
23569,
29889,
4294,
29898,
2176,
29897,
13,
4706,
1053,
1667,
13,
13,
1678,
822,
2821,
29918,
10525,
29898,
1311,
1125,
13,
4706,
1583,
29889,
2914,
29889,
726,
353,
6629,
13,
13,
13,
2161,
29918,
932,
2141,
3389,
580,
13,
2
] |
Basic Text/BasicTextEditor2.0.py | PyHubs/Workspace-UX | 0 | 169523 | <filename>Basic Text/BasicTextEditor2.0.py
from tkinter import*
from tkinter import filedialog
from tkinter import font
root=Tk()
root.title("Basictext2.0")
root.geometry("1199x650")
# creating main frame
my_frame = Frame(root).pack(pady=5)
# create main text box
my_text = Text(my_frame, width=97, height=25, font=("Arial", 16), selectbackground="Lightgrey", selectforeground="Black", undo=True)
my_text.pack()
#new file def
def new_file():
my_text.delete("1.0", END)
root.title("New file - Basictext2.0")
status_bar.config(text="New file")
#open file def
def open_file():
my_text.delete("1.0", END)
text_file = filedialog.askopenfilename(title="Open file", filetypes=(("Text Files", "*txt"), ("HTML Files", "*.html"), ("Python Files", "*.py"), ("All Files", "*.*")))
text_file = open(text_file, 'r')
stuff = text_file.read()
my_text.insert(END, stuff)
text_file.close()
def save_as_file():
text_file = filedialog.asksaveasfilename(filetypes=(("Text Files", "*txt"), ("HTML Files", "*.html"), ("Python Files", "*.py"), ("All Files", "*.*")))
#Menubars
my_menu = Menu(root)
root.config(menu=my_menu)
#filemenu
file_menu = Menu(my_menu, tearoff=False)
my_menu.add_cascade(label="File", menu=file_menu)
file_menu.add_command(label="New", command=new_file)
file_menu.add_command(label="Open", command=open_file)
file_menu.add_command(label="Save")
file_menu.add_command(label="Save As", command=save_as_file)
file_menu.add_separator()
file_menu.add_command(label="Exit", command=root.destroy)
#editmenu
edit_menu = Menu(my_menu, tearoff=False)
my_menu.add_cascade(label="Edit", menu=edit_menu)
edit_menu.add_command(label="Cut")
edit_menu.add_command(label="Copy")
edit_menu.add_command(label="Undo")
edit_menu.add_command(label="Redo")
#status bar
status_bar = Label(root, text="File in edit ", anchor=E).pack(fill=X, side=BOTTOM, ipady=5)
root.mainloop()
| [
1,
529,
9507,
29958,
16616,
3992,
29914,
16616,
1626,
15280,
29906,
29889,
29900,
29889,
2272,
13,
3166,
18883,
1639,
1053,
29930,
13,
3166,
18883,
1639,
1053,
934,
15901,
13,
3166,
18883,
1639,
1053,
4079,
13,
13,
4632,
29922,
29911,
29895,
580,
13,
4632,
29889,
3257,
703,
16616,
726,
29906,
29889,
29900,
1159,
13,
4632,
29889,
19156,
703,
29896,
29896,
29929,
29929,
29916,
29953,
29945,
29900,
1159,
13,
13,
29937,
4969,
1667,
3515,
13,
1357,
29918,
2557,
353,
12218,
29898,
4632,
467,
4058,
29898,
29886,
3714,
29922,
29945,
29897,
13,
13,
29937,
1653,
1667,
1426,
3800,
13,
1357,
29918,
726,
353,
3992,
29898,
1357,
29918,
2557,
29892,
2920,
29922,
29929,
29955,
29892,
3171,
29922,
29906,
29945,
29892,
4079,
29922,
703,
29909,
9315,
613,
29871,
29896,
29953,
511,
1831,
7042,
543,
20769,
7979,
29891,
613,
1831,
1454,
18128,
543,
18700,
613,
563,
29877,
29922,
5574,
29897,
13,
1357,
29918,
726,
29889,
4058,
580,
13,
13,
29937,
1482,
934,
822,
13,
1753,
716,
29918,
1445,
7295,
13,
1678,
590,
29918,
726,
29889,
8143,
703,
29896,
29889,
29900,
613,
11056,
29897,
13,
1678,
3876,
29889,
3257,
703,
4373,
934,
448,
19219,
726,
29906,
29889,
29900,
1159,
13,
1678,
4660,
29918,
1646,
29889,
2917,
29898,
726,
543,
4373,
934,
1159,
13,
13,
29937,
3150,
934,
822,
13,
1753,
1722,
29918,
1445,
7295,
13,
1678,
590,
29918,
726,
29889,
8143,
703,
29896,
29889,
29900,
613,
11056,
29897,
13,
1678,
1426,
29918,
1445,
353,
934,
15901,
29889,
1278,
3150,
9507,
29898,
3257,
543,
6585,
934,
613,
934,
8768,
7607,
703,
1626,
12745,
613,
26345,
3945,
4968,
4852,
7020,
12745,
613,
376,
10521,
1420,
4968,
4852,
11980,
12745,
613,
376,
10521,
2272,
4968,
4852,
3596,
12745,
613,
26345,
5575,
29908,
4961,
13,
1678,
1426,
29918,
1445,
353,
1722,
29898,
726,
29918,
1445,
29892,
525,
29878,
1495,
13,
1678,
6433,
353,
1426,
29918,
1445,
29889,
949,
580,
13,
1678,
590,
29918,
726,
29889,
7851,
29898,
11794,
29892,
6433,
29897,
13,
1678,
1426,
29918,
1445,
29889,
5358,
580,
13,
13,
1753,
4078,
29918,
294,
29918,
1445,
7295,
13,
1678,
1426,
29918,
1445,
353,
934,
15901,
29889,
1278,
7620,
294,
9507,
29898,
1445,
8768,
7607,
703,
1626,
12745,
613,
26345,
3945,
4968,
4852,
7020,
12745,
613,
376,
10521,
1420,
4968,
4852,
11980,
12745,
613,
376,
10521,
2272,
4968,
4852,
3596,
12745,
613,
26345,
5575,
29908,
4961,
13,
29937,
28154,
431,
1503,
13,
1357,
29918,
6510,
353,
20019,
29898,
4632,
29897,
13,
4632,
29889,
2917,
29898,
6510,
29922,
1357,
29918,
6510,
29897,
13,
268,
13,
29937,
1445,
6510,
13,
1445,
29918,
6510,
353,
20019,
29898,
1357,
29918,
6510,
29892,
734,
279,
2696,
29922,
8824,
29897,
13,
1357,
29918,
6510,
29889,
1202,
29918,
9398,
6332,
29898,
1643,
543,
2283,
613,
6143,
29922,
1445,
29918,
6510,
29897,
13,
1445,
29918,
6510,
29889,
1202,
29918,
6519,
29898,
1643,
543,
4373,
613,
1899,
29922,
1482,
29918,
1445,
29897,
13,
1445,
29918,
6510,
29889,
1202,
29918,
6519,
29898,
1643,
543,
6585,
613,
1899,
29922,
3150,
29918,
1445,
29897,
13,
1445,
29918,
6510,
29889,
1202,
29918,
6519,
29898,
1643,
543,
11371,
1159,
13,
1445,
29918,
6510,
29889,
1202,
29918,
6519,
29898,
1643,
543,
11371,
1094,
613,
1899,
29922,
7620,
29918,
294,
29918,
1445,
29897,
13,
1445,
29918,
6510,
29889,
1202,
29918,
344,
17954,
580,
13,
1445,
29918,
6510,
29889,
1202,
29918,
6519,
29898,
1643,
543,
24365,
613,
1899,
29922,
4632,
29889,
20524,
29897,
13,
13,
29937,
5628,
6510,
13,
5628,
29918,
6510,
353,
20019,
29898,
1357,
29918,
6510,
29892,
734,
279,
2696,
29922,
8824,
29897,
13,
1357,
29918,
6510,
29889,
1202,
29918,
9398,
6332,
29898,
1643,
543,
6103,
613,
6143,
29922,
5628,
29918,
6510,
29897,
13,
5628,
29918,
6510,
29889,
1202,
29918,
6519,
29898,
1643,
543,
29907,
329,
1159,
13,
5628,
29918,
6510,
29889,
1202,
29918,
6519,
29898,
1643,
543,
11882,
1159,
13,
5628,
29918,
6510,
29889,
1202,
29918,
6519,
29898,
1643,
543,
25263,
29877,
1159,
13,
5628,
29918,
6510,
29889,
1202,
29918,
6519,
29898,
1643,
543,
9039,
29877,
1159,
13,
13,
29937,
4882,
2594,
13,
4882,
29918,
1646,
353,
15796,
29898,
4632,
29892,
1426,
543,
2283,
297,
3863,
9162,
17360,
29922,
29923,
467,
4058,
29898,
5589,
29922,
29990,
29892,
2625,
29922,
29933,
2891,
4986,
29924,
29892,
10377,
3714,
29922,
29945,
29897,
13,
13,
4632,
29889,
3396,
7888,
580,
13,
2
] |
scraping codes/btis.py | shreyakupadhyay/prof-raj | 2 | 63459 | <gh_stars>1-10
import requests
import json
base_url = 'http://www.btis.in/bcity_issues_transport.txt'
headers = {"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/48.0.2564.82 Chrome/48.0.2564.82 Safari/537.36"}
html = requests.get(base_url,headers=headers)
htmltext = html.text
data = json.loads(htmltext)
length_data = len(data)
for i in range(0,length_data):
print data[i]['user']['name']
print data[i]['issue_no']
print data[i]['topic_id']
print data[i]['title']
print data[i]['status']
print data[i]['topic_name']
print data[i]['issue_type_name']
print data[i]['comments']
print data[i]['image_url']
print data[i]['agency_name']
print data[i]['created_at']
print data[i]['issue_type_id']
print data[i]['source']
print data[i]['desc']
print data[i]['id']
print data[i]['ward_name']
print data[i]['agency_id']
print length_data
| [
1,
529,
12443,
29918,
303,
1503,
29958,
29896,
29899,
29896,
29900,
13,
5215,
7274,
13,
5215,
4390,
13,
3188,
29918,
2271,
353,
525,
1124,
597,
1636,
29889,
3116,
275,
29889,
262,
29914,
12328,
537,
29918,
12175,
29918,
27882,
29889,
3945,
29915,
13,
13662,
353,
8853,
2659,
29899,
19661,
1115,
376,
29924,
2112,
2911,
29914,
29945,
29889,
29900,
313,
29990,
29896,
29896,
29936,
8074,
921,
29947,
29953,
29918,
29953,
29946,
29897,
12113,
3609,
13117,
29914,
29945,
29941,
29955,
29889,
29941,
29953,
313,
29968,
7020,
29892,
763,
1879,
27604,
29897,
8294,
678,
456,
1974,
29914,
29946,
29947,
29889,
29900,
29889,
29906,
29945,
29953,
29946,
29889,
29947,
29906,
10228,
29914,
29946,
29947,
29889,
29900,
29889,
29906,
29945,
29953,
29946,
29889,
29947,
29906,
24544,
29914,
29945,
29941,
29955,
29889,
29941,
29953,
9092,
13,
1420,
353,
7274,
29889,
657,
29898,
3188,
29918,
2271,
29892,
13662,
29922,
13662,
29897,
13,
1420,
726,
353,
3472,
29889,
726,
13,
1272,
353,
4390,
29889,
18132,
29898,
1420,
726,
29897,
13,
2848,
29918,
1272,
353,
7431,
29898,
1272,
29897,
13,
1454,
474,
297,
3464,
29898,
29900,
29892,
2848,
29918,
1272,
1125,
13,
1678,
1596,
848,
29961,
29875,
22322,
1792,
16215,
978,
2033,
13,
1678,
1596,
848,
29961,
29875,
22322,
15118,
29918,
1217,
2033,
13,
1678,
1596,
848,
29961,
29875,
22322,
13010,
29918,
333,
2033,
13,
1678,
1596,
848,
29961,
29875,
22322,
3257,
2033,
13,
1678,
1596,
848,
29961,
29875,
22322,
4882,
2033,
13,
1678,
1596,
848,
29961,
29875,
22322,
13010,
29918,
978,
2033,
13,
1678,
1596,
848,
29961,
29875,
22322,
15118,
29918,
1853,
29918,
978,
2033,
13,
1678,
1596,
848,
29961,
29875,
22322,
21032,
2033,
13,
1678,
1596,
848,
29961,
29875,
22322,
3027,
29918,
2271,
2033,
13,
1678,
1596,
848,
29961,
29875,
22322,
351,
3819,
29918,
978,
2033,
13,
1678,
1596,
848,
29961,
29875,
22322,
11600,
29918,
271,
2033,
13,
1678,
1596,
848,
29961,
29875,
22322,
15118,
29918,
1853,
29918,
333,
2033,
13,
1678,
1596,
848,
29961,
29875,
22322,
4993,
2033,
13,
1678,
1596,
848,
29961,
29875,
22322,
14273,
2033,
13,
1678,
1596,
848,
29961,
29875,
22322,
333,
2033,
13,
1678,
1596,
848,
29961,
29875,
22322,
1328,
29918,
978,
2033,
13,
1678,
1596,
848,
29961,
29875,
22322,
351,
3819,
29918,
333,
2033,
13,
2158,
3309,
29918,
1272,
13,
2
] |
texion/utils/preprocess.py | AnjanaRita/texion | 1 | 99916 | """text preprocessing utility functions"""
from textacy import preprocess, preprocess_text
| [
1,
9995,
726,
758,
19170,
19725,
3168,
15945,
29908,
13,
13,
13,
3166,
1426,
4135,
1053,
758,
5014,
29892,
758,
5014,
29918,
726,
13,
2
] |
setup.py | nrecoder/CardioPy | 3 | 48255 | import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name = 'cardiopy',
version = "1.0.0",
author = "<NAME>",
author_email = "<EMAIL>",
description = "Analysis package for single-lead clinical EKG data",
long_description = long_description,
long_description_content_type = "text/markdown",
url="https://github.com/CardioPy/CardioPy",
packages = setuptools.find_packages(),
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Medical Science Apps."
],
python_requires = '>=3.6',
install_requires = [
"datetime",
"matplotlib",
"pandas",
"scipy",
"statistics",
"mne",
"numpy",
"biosignalsnotebooks"
]
)
| [
1,
1053,
731,
21245,
8789,
13,
13,
2541,
1722,
703,
16310,
2303,
29889,
3487,
613,
376,
29878,
1159,
408,
285,
29882,
29901,
13,
12,
5426,
29918,
8216,
353,
285,
29882,
29889,
949,
580,
13,
13,
842,
21245,
8789,
29889,
14669,
29898,
13,
12,
978,
353,
525,
7543,
29875,
2270,
742,
13,
12,
3259,
353,
376,
29896,
29889,
29900,
29889,
29900,
613,
13,
12,
8921,
353,
9872,
5813,
28341,
13,
12,
8921,
29918,
5269,
353,
9872,
26862,
6227,
28341,
13,
12,
8216,
353,
376,
21067,
4848,
3577,
363,
2323,
29899,
280,
328,
24899,
936,
382,
29968,
29954,
848,
613,
13,
12,
5426,
29918,
8216,
353,
1472,
29918,
8216,
29892,
13,
12,
5426,
29918,
8216,
29918,
3051,
29918,
1853,
353,
376,
726,
29914,
3502,
3204,
613,
13,
12,
2271,
543,
991,
597,
3292,
29889,
510,
29914,
13200,
601,
19737,
29914,
13200,
601,
19737,
613,
13,
12,
8318,
353,
731,
21245,
8789,
29889,
2886,
29918,
8318,
3285,
13,
12,
1990,
14903,
353,
518,
13,
12,
12,
29908,
9283,
4056,
17088,
4761,
5132,
4761,
29871,
29941,
613,
13,
12,
12,
29908,
29931,
293,
1947,
4761,
438,
5425,
28268,
1490,
4761,
350,
7230,
19245,
613,
13,
12,
12,
29908,
7094,
1218,
2184,
4761,
6570,
25266,
613,
13,
12,
12,
29908,
2928,
2760,
319,
4749,
663,
4761,
9327,
29914,
1666,
2842,
613,
13,
12,
12,
29908,
7031,
293,
4761,
23753,
928,
29914,
12412,
3241,
4761,
20795,
9327,
2401,
29879,
1213,
13,
12,
12,
1402,
13,
12,
4691,
29918,
276,
339,
2658,
353,
525,
18572,
29941,
29889,
29953,
742,
13,
12,
6252,
29918,
276,
339,
2658,
353,
518,
13,
12,
12,
29908,
12673,
613,
13,
12,
12,
29908,
2922,
17357,
613,
13,
12,
12,
29908,
15112,
613,
13,
12,
12,
29908,
26167,
2272,
613,
13,
12,
12,
29908,
6112,
6765,
613,
13,
12,
12,
29908,
29885,
484,
613,
13,
12,
12,
29908,
23749,
613,
13,
18884,
376,
29890,
2363,
647,
1338,
1333,
19273,
29879,
29908,
13,
12,
29962,
13,
12,
29897,
13,
2
] |
release/stubs.min/System/ComponentModel/__init___parts/NullableConverter.py | tranconbv/ironpython-stubs | 0 | 1612823 | <reponame>tranconbv/ironpython-stubs
class NullableConverter(TypeConverter):
"""
Provides automatic conversion between a nullable type and its underlying primitive type.
NullableConverter(type: Type)
"""
def ZZZ(self):
"""hardcoded/mock instance of the class"""
return NullableConverter()
instance=ZZZ()
"""hardcoded/returns an instance of the class"""
def CanConvertFrom(self,*__args):
"""
CanConvertFrom(self: NullableConverter,context: ITypeDescriptorContext,sourceType: Type) -> bool
Returns whether this converter can convert an object of the given type to the type of this converter,using the specified context.
context: An System.ComponentModel.ITypeDescriptorContext that provides a format context.
sourceType: A System.Type that represents the type you want to convert from.
Returns: true if this converter can perform the conversion; otherwise,false.
"""
pass
def CanConvertTo(self,*__args):
"""
CanConvertTo(self: NullableConverter,context: ITypeDescriptorContext,destinationType: Type) -> bool
Returns whether this converter can convert the object to the specified type,using the specified context.
context: An System.ComponentModel.ITypeDescriptorContext that provides a format context.
destinationType: A System.Type that represents the type you want to convert to.
Returns: true if this converter can perform the conversion; otherwise,false.
"""
pass
def ConvertFrom(self,*__args):
"""
ConvertFrom(self: NullableConverter,context: ITypeDescriptorContext,culture: CultureInfo,value: object) -> object
Converts the given object to the type of this converter,using the specified context and culture information.
context: An System.ComponentModel.ITypeDescriptorContext that provides a format context.
culture: The System.Globalization.CultureInfo to use as the current culture.
value: The System.Object to convert.
Returns: An System.Object that represents the converted value.
"""
pass
def ConvertTo(self,*__args):
"""
ConvertTo(self: NullableConverter,context: ITypeDescriptorContext,culture: CultureInfo,value: object,destinationType: Type) -> object
Converts the given value object to the specified type,using the specified context and culture information.
context: An System.ComponentModel.ITypeDescriptorContext that provides a format context.
culture: The System.Globalization.CultureInfo to use as the current culture.
value: The System.Object to convert.
destinationType: The System.Type to convert the value parameter to.
Returns: An System.Object that represents the converted value.
"""
pass
def CreateInstance(self,*__args):
"""
CreateInstance(self: NullableConverter,context: ITypeDescriptorContext,propertyValues: IDictionary) -> object
context: An System.ComponentModel.ITypeDescriptorContext that provides a format context.
propertyValues: An System.Collections.IDictionary of new property values.
Returns: An System.Object representing the given System.Collections.IDictionary,or null if the object cannot be created. This method always returns null.
"""
pass
def GetCreateInstanceSupported(self,context=None):
"""
GetCreateInstanceSupported(self: NullableConverter,context: ITypeDescriptorContext) -> bool
context: An System.ComponentModel.ITypeDescriptorContext that provides a format context.
Returns: true if changing a property on this object requires a call to System.ComponentModel.TypeConverter.CreateInstance(System.Collections.IDictionary) to create a new value;
otherwise,false.
"""
pass
def GetProperties(self,*__args):
"""
GetProperties(self: NullableConverter,context: ITypeDescriptorContext,value: object,attributes: Array[Attribute]) -> PropertyDescriptorCollection
context: An System.ComponentModel.ITypeDescriptorContext that provides a format context.
value: An System.Object that specifies the type of array for which to get properties.
attributes: An array of type System.Attribute that is used as a filter.
Returns: A System.ComponentModel.PropertyDescriptorCollection with the properties that are exposed for this data type,or null if there are no properties.
"""
pass
def GetPropertiesSupported(self,context=None):
"""
GetPropertiesSupported(self: NullableConverter,context: ITypeDescriptorContext) -> bool
context: An System.ComponentModel.ITypeDescriptorContext that provides a format context.
Returns: true if System.ComponentModel.TypeConverter.GetProperties(System.Object) should be called to find the properties of this object; otherwise,false.
"""
pass
def GetStandardValues(self,context=None):
"""
GetStandardValues(self: NullableConverter,context: ITypeDescriptorContext) -> StandardValuesCollection
context: An System.ComponentModel.ITypeDescriptorContext that provides a format context that can be used to extract additional information about the environment from which this
converter is invoked. This parameter or properties of this parameter can be null.
Returns: A System.ComponentModel.TypeConverter.StandardValuesCollection that holds a standard set of valid values,or null if the data type does not support a standard set of values.
"""
pass
def GetStandardValuesExclusive(self,context=None):
"""
GetStandardValuesExclusive(self: NullableConverter,context: ITypeDescriptorContext) -> bool
context: An System.ComponentModel.ITypeDescriptorContext that provides a format context.
Returns: true if the System.ComponentModel.TypeConverter.StandardValuesCollection returned from System.ComponentModel.TypeConverter.GetStandardValues is an exhaustive list of
possible values; false if other values are possible.
"""
pass
def GetStandardValuesSupported(self,context=None):
"""
GetStandardValuesSupported(self: NullableConverter,context: ITypeDescriptorContext) -> bool
context: An System.ComponentModel.ITypeDescriptorContext that provides a format context.
Returns: true if System.ComponentModel.TypeConverter.GetStandardValues should be called to find a common set of values the object supports; otherwise,false.
"""
pass
def IsValid(self,*__args):
"""
IsValid(self: NullableConverter,context: ITypeDescriptorContext,value: object) -> bool
context: An System.ComponentModel.ITypeDescriptorContext that provides a format context.
value: The System.Object to test for validity.
"""
pass
@staticmethod
def __new__(self,type):
""" __new__(cls: type,type: Type) """
pass
NullableType=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the nullable type.
Get: NullableType(self: NullableConverter) -> Type
"""
UnderlyingType=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the underlying type.
Get: UnderlyingType(self: NullableConverter) -> Type
"""
UnderlyingTypeConverter=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the underlying type converter.
Get: UnderlyingTypeConverter(self: NullableConverter) -> TypeConverter
"""
| [
1,
529,
276,
1112,
420,
29958,
509,
273,
535,
29890,
29894,
29914,
381,
265,
4691,
29899,
303,
23954,
13,
1990,
19014,
519,
18545,
29898,
1542,
18545,
1125,
30004,
13,
9995,
30004,
13,
9133,
2247,
18428,
11301,
1546,
263,
1870,
519,
1134,
322,
967,
14407,
19269,
1134,
22993,
30004,
13,
6756,
30004,
13,
19014,
519,
18545,
29898,
1853,
29901,
5167,
8443,
13,
9995,
30004,
13,
822,
796,
29999,
29999,
29898,
1311,
1125,
30004,
13,
29871,
9995,
6800,
29659,
29914,
17640,
2777,
310,
278,
770,
15945,
19451,
13,
29871,
736,
19014,
519,
18545,
26471,
13,
2777,
29922,
29999,
29999,
29999,
26471,
13,
9995,
6800,
29659,
29914,
18280,
385,
2777,
310,
278,
770,
15945,
19451,
13,
822,
1815,
18455,
4591,
29898,
1311,
29892,
29930,
1649,
5085,
1125,
30004,
13,
29871,
9995,
30004,
13,
29871,
1815,
18455,
4591,
29898,
1311,
29901,
19014,
519,
18545,
29892,
4703,
29901,
306,
1542,
19124,
2677,
29892,
4993,
1542,
29901,
5167,
29897,
1599,
6120,
30004,
30004,
13,
29871,
6756,
30004,
13,
259,
16969,
3692,
445,
29105,
508,
3588,
385,
1203,
310,
278,
2183,
1134,
304,
278,
1134,
310,
445,
29105,
29892,
4746,
278,
6790,
3030,
22993,
30004,
13,
29871,
6756,
30004,
13,
259,
3030,
29901,
530,
2184,
29889,
5308,
3195,
29889,
29902,
1542,
19124,
2677,
29871,
393,
8128,
263,
3402,
3030,
22993,
30004,
13,
259,
2752,
1542,
29901,
319,
2184,
29889,
1542,
393,
11524,
278,
1134,
366,
864,
304,
3588,
515,
22993,
30004,
13,
259,
16969,
29901,
1565,
565,
445,
29105,
508,
2189,
278,
11301,
29936,
6467,
29892,
4541,
22993,
13,
29871,
9995,
30004,
13,
29871,
1209,
30004,
13,
822,
1815,
18455,
1762,
29898,
1311,
29892,
29930,
1649,
5085,
1125,
30004,
13,
29871,
9995,
30004,
13,
29871,
1815,
18455,
1762,
29898,
1311,
29901,
19014,
519,
18545,
29892,
4703,
29901,
306,
1542,
19124,
2677,
29892,
23848,
1542,
29901,
5167,
29897,
1599,
6120,
30004,
30004,
13,
29871,
6756,
30004,
13,
259,
16969,
3692,
445,
29105,
508,
3588,
278,
1203,
304,
278,
6790,
1134,
29892,
4746,
278,
6790,
3030,
22993,
30004,
13,
29871,
6756,
30004,
13,
259,
3030,
29901,
530,
2184,
29889,
5308,
3195,
29889,
29902,
1542,
19124,
2677,
393,
8128,
263,
3402,
3030,
22993,
30004,
13,
259,
12551,
1542,
29901,
319,
2184,
29889,
1542,
393,
11524,
278,
1134,
366,
864,
304,
3588,
304,
22993,
30004,
13,
259,
16969,
29901,
1565,
565,
445,
29105,
508,
2189,
278,
11301,
29936,
6467,
29892,
4541,
22993,
13,
29871,
9995,
30004,
13,
29871,
1209,
30004,
13,
822,
14806,
4591,
29898,
1311,
29892,
29930,
1649,
5085,
1125,
30004,
13,
29871,
9995,
30004,
13,
29871,
14806,
4591,
29898,
1311,
29901,
19014,
519,
18545,
29892,
4703,
29901,
306,
1542,
19124,
2677,
29892,
29883,
12896,
29901,
14062,
3401,
29892,
1767,
29901,
1203,
29897,
1599,
1203,
30004,
30004,
13,
29871,
6756,
30004,
13,
259,
1281,
369,
1372,
278,
2183,
1203,
304,
278,
1134,
310,
445,
29105,
29892,
4746,
278,
6790,
3030,
322,
9257,
2472,
22993,
30004,
13,
29871,
6756,
30004,
13,
259,
3030,
29901,
530,
2184,
29889,
5308,
3195,
29889,
29902,
1542,
19124,
2677,
393,
8128,
263,
3402,
3030,
22993,
30004,
13,
259,
9257,
29901,
450,
2184,
29889,
12756,
2133,
29889,
27926,
3401,
304,
671,
408,
278,
1857,
9257,
22993,
30004,
13,
259,
995,
29901,
450,
2184,
29889,
2061,
304,
3588,
22993,
30004,
13,
259,
16969,
29901,
530,
2184,
29889,
2061,
393,
11524,
278,
11543,
995,
22993,
13,
29871,
9995,
30004,
13,
29871,
1209,
30004,
13,
822,
14806,
1762,
29898,
1311,
29892,
29930,
1649,
5085,
1125,
30004,
13,
29871,
9995,
30004,
13,
29871,
14806,
1762,
29898,
1311,
29901,
19014,
519,
18545,
29892,
4703,
29901,
306,
1542,
19124,
2677,
29892,
29883,
12896,
29901,
14062,
3401,
29892,
1767,
29901,
1203,
29892,
23848,
1542,
29901,
5167,
29897,
1599,
1203,
30004,
30004,
13,
29871,
6756,
30004,
13,
259,
1281,
369,
1372,
278,
2183,
995,
1203,
304,
278,
6790,
1134,
29892,
4746,
278,
6790,
3030,
322,
9257,
2472,
22993,
30004,
13,
29871,
6756,
30004,
13,
259,
3030,
29901,
530,
2184,
29889,
5308,
3195,
29889,
29902,
1542,
19124,
2677,
393,
8128,
263,
3402,
3030,
22993,
30004,
13,
259,
9257,
29901,
450,
2184,
29889,
12756,
2133,
29889,
27926,
3401,
304,
671,
408,
278,
1857,
9257,
22993,
30004,
13,
259,
995,
29901,
450,
2184,
29889,
2061,
304,
3588,
22993,
30004,
13,
259,
12551,
1542,
29901,
450,
2184,
29889,
1542,
304,
3588,
278,
995,
3443,
304,
22993,
30004,
13,
259,
16969,
29901,
530,
2184,
29889,
2061,
393,
11524,
278,
11543,
995,
22993,
13,
29871,
9995,
30004,
13,
29871,
1209,
30004,
13,
822,
6204,
4998,
29898,
1311,
29892,
29930,
1649,
5085,
1125,
30004,
13,
29871,
9995,
30004,
13,
29871,
6204,
4998,
29898,
1311,
29901,
19014,
519,
18545,
29892,
4703,
29901,
306,
1542,
19124,
2677,
29892,
6799,
9065,
29901,
3553,
4334,
29897,
1599,
1203,
30004,
30004,
13,
29871,
6756,
30004,
13,
259,
3030,
29901,
530,
2184,
29889,
5308,
3195,
29889,
29902,
1542,
19124,
2677,
393,
8128,
263,
3402,
3030,
22993,
30004,
13,
259,
2875,
9065,
29901,
530,
2184,
29889,
19466,
29889,
1367,
4334,
310,
716,
2875,
1819,
22993,
30004,
13,
259,
16969,
29901,
530,
2184,
29889,
2061,
15783,
278,
2183,
2184,
29889,
19466,
29889,
1367,
4334,
29892,
272,
1870,
565,
278,
1203,
2609,
367,
2825,
29889,
910,
1158,
2337,
3639,
1870,
22993,
13,
29871,
9995,
30004,
13,
29871,
1209,
30004,
13,
822,
3617,
4391,
4998,
14039,
287,
29898,
1311,
29892,
4703,
29922,
8516,
1125,
30004,
13,
29871,
9995,
30004,
13,
29871,
3617,
4391,
4998,
14039,
287,
29898,
1311,
29901,
19014,
519,
18545,
29892,
4703,
29901,
306,
1542,
19124,
2677,
29897,
1599,
6120,
30004,
30004,
13,
29871,
6756,
30004,
13,
259,
3030,
29901,
530,
2184,
29889,
5308,
3195,
29889,
29902,
1542,
19124,
2677,
393,
8128,
263,
3402,
3030,
22993,
30004,
13,
259,
16969,
29901,
1565,
565,
6480,
263,
2875,
373,
445,
1203,
6858,
263,
1246,
304,
2184,
29889,
5308,
3195,
29889,
1542,
18545,
29889,
4391,
4998,
29898,
3924,
29889,
19466,
29889,
1367,
4334,
29897,
304,
1653,
263,
716,
995,
29936,
6756,
30004,
13,
1678,
6467,
29892,
4541,
22993,
13,
29871,
9995,
30004,
13,
29871,
1209,
30004,
13,
822,
3617,
11857,
29898,
1311,
29892,
29930,
1649,
5085,
1125,
30004,
13,
29871,
9995,
30004,
13,
29871,
3617,
11857,
29898,
1311,
29901,
19014,
519,
18545,
29892,
4703,
29901,
306,
1542,
19124,
2677,
29892,
1767,
29901,
1203,
29892,
15697,
29901,
4398,
29961,
6708,
2314,
1599,
9079,
19124,
7196,
30004,
30004,
13,
29871,
6756,
30004,
13,
259,
3030,
29901,
530,
2184,
29889,
5308,
3195,
29889,
29902,
1542,
19124,
2677,
393,
8128,
263,
3402,
3030,
22993,
30004,
13,
259,
995,
29901,
530,
2184,
29889,
2061,
393,
1580,
11057,
278,
1134,
310,
1409,
363,
607,
304,
679,
4426,
22993,
30004,
13,
259,
8393,
29901,
530,
1409,
310,
1134,
2184,
29889,
6708,
393,
338,
1304,
408,
263,
4175,
22993,
30004,
13,
259,
16969,
29901,
319,
2184,
29889,
5308,
3195,
29889,
4854,
19124,
7196,
411,
278,
4426,
393,
526,
19884,
363,
445,
848,
1134,
29892,
272,
1870,
565,
727,
526,
694,
4426,
22993,
13,
29871,
9995,
30004,
13,
29871,
1209,
30004,
13,
822,
3617,
11857,
14039,
287,
29898,
1311,
29892,
4703,
29922,
8516,
1125,
30004,
13,
29871,
9995,
30004,
13,
29871,
3617,
11857,
14039,
287,
29898,
1311,
29901,
19014,
519,
18545,
29892,
4703,
29901,
306,
1542,
19124,
2677,
29897,
1599,
6120,
30004,
30004,
13,
29871,
6756,
30004,
13,
259,
3030,
29901,
530,
2184,
29889,
5308,
3195,
29889,
29902,
1542,
19124,
2677,
393,
8128,
263,
3402,
3030,
22993,
30004,
13,
259,
16969,
29901,
1565,
565,
2184,
29889,
5308,
3195,
29889,
1542,
18545,
29889,
2577,
11857,
29898,
3924,
29889,
2061,
29897,
881,
367,
2000,
304,
1284,
278,
4426,
310,
445,
1203,
29936,
6467,
29892,
4541,
22993,
13,
29871,
9995,
30004,
13,
29871,
1209,
30004,
13,
822,
3617,
15449,
9065,
29898,
1311,
29892,
4703,
29922,
8516,
1125,
30004,
13,
29871,
9995,
30004,
13,
29871,
3617,
15449,
9065,
29898,
1311,
29901,
19014,
519,
18545,
29892,
4703,
29901,
306,
1542,
19124,
2677,
29897,
1599,
10117,
9065,
7196,
30004,
30004,
13,
29871,
6756,
30004,
13,
259,
3030,
29901,
530,
2184,
29889,
5308,
3195,
29889,
29902,
1542,
19124,
2677,
393,
8128,
263,
3402,
3030,
393,
508,
367,
1304,
304,
6597,
5684,
2472,
1048,
278,
5177,
515,
607,
445,
6756,
30004,
13,
1678,
29105,
338,
22336,
29889,
910,
3443,
470,
4426,
310,
445,
3443,
508,
367,
1870,
22993,
30004,
13,
29871,
6756,
30004,
13,
259,
16969,
29901,
319,
2184,
29889,
5308,
3195,
29889,
1542,
18545,
29889,
15449,
9065,
7196,
393,
8640,
263,
3918,
731,
310,
2854,
1819,
29892,
272,
1870,
565,
278,
848,
1134,
947,
451,
2304,
263,
3918,
731,
310,
1819,
22993,
13,
29871,
9995,
30004,
13,
29871,
1209,
30004,
13,
822,
3617,
15449,
9065,
1252,
7009,
573,
29898,
1311,
29892,
4703,
29922,
8516,
1125,
30004,
13,
29871,
9995,
30004,
13,
29871,
3617,
15449,
9065,
1252,
7009,
573,
29898,
1311,
29901,
19014,
519,
18545,
29892,
4703,
29901,
306,
1542,
19124,
2677,
29897,
1599,
6120,
30004,
30004,
13,
29871,
6756,
30004,
13,
259,
3030,
29901,
530,
2184,
29889,
5308,
3195,
29889,
29902,
1542,
19124,
2677,
393,
8128,
263,
3402,
3030,
22993,
30004,
13,
259,
16969,
29901,
1565,
565,
278,
2184,
29889,
5308,
3195,
29889,
1542,
18545,
29889,
15449,
9065,
7196,
4133,
515,
2184,
29889,
5308,
3195,
29889,
1542,
18545,
29889,
2577,
15449,
9065,
338,
385,
27096,
573,
1051,
310,
6756,
30004,
13,
1678,
1950,
1819,
29936,
2089,
565,
916,
1819,
526,
1950,
22993,
13,
29871,
9995,
30004,
13,
29871,
1209,
30004,
13,
822,
3617,
15449,
9065,
14039,
287,
29898,
1311,
29892,
4703,
29922,
8516,
1125,
30004,
13,
29871,
9995,
30004,
13,
29871,
3617,
15449,
9065,
14039,
287,
29898,
1311,
29901,
19014,
519,
18545,
29892,
4703,
29901,
306,
1542,
19124,
2677,
29897,
1599,
6120,
30004,
30004,
13,
29871,
6756,
30004,
13,
259,
3030,
29901,
530,
2184,
29889,
5308,
3195,
29889,
29902,
1542,
19124,
2677,
393,
8128,
263,
3402,
3030,
22993,
30004,
13,
259,
16969,
29901,
1565,
565,
2184,
29889,
5308,
3195,
29889,
1542,
18545,
29889,
2577,
15449,
9065,
881,
367,
2000,
304,
1284,
263,
3619,
731,
310,
1819,
278,
1203,
11286,
29936,
6467,
29892,
4541,
22993,
13,
29871,
9995,
30004,
13,
29871,
1209,
30004,
13,
822,
1317,
7211,
29898,
1311,
29892,
29930,
1649,
5085,
1125,
30004,
13,
29871,
9995,
30004,
13,
29871,
1317,
7211,
29898,
1311,
29901,
19014,
519,
18545,
29892,
4703,
29901,
306,
1542,
19124,
2677,
29892,
1767,
29901,
1203,
29897,
1599,
6120,
30004,
30004,
13,
29871,
6756,
30004,
13,
259,
3030,
29901,
530,
2184,
29889,
5308,
3195,
29889,
29902,
1542,
19124,
2677,
393,
8128,
263,
3402,
3030,
22993,
30004,
13,
259,
995,
29901,
450,
2184,
29889,
2061,
304,
1243,
363,
2854,
537,
22993,
13,
29871,
9995,
30004,
13,
29871,
1209,
30004,
13,
732,
7959,
5696,
30004,
13,
822,
4770,
1482,
12035,
1311,
29892,
1853,
1125,
30004,
13,
29871,
9995,
4770,
1482,
12035,
25932,
29901,
1134,
29892,
1853,
29901,
5167,
29897,
9995,
30004,
13,
29871,
1209,
30004,
13,
19014,
519,
1542,
29922,
6799,
29898,
2892,
1583,
29901,
1203,
3285,
2892,
1583,
29892,
29894,
29901,
6213,
29892,
2892,
1583,
29901,
6213,
8443,
13,
9995,
29954,
1691,
278,
1870,
519,
1134,
22993,
30004,
13,
30004,
30004,
13,
2577,
29901,
19014,
519,
1542,
29898,
1311,
29901,
19014,
519,
18545,
29897,
1599,
5167,
30004,
30004,
13,
30004,
30004,
13,
15945,
19451,
13,
30004,
13,
7634,
5890,
1542,
29922,
6799,
29898,
2892,
1583,
29901,
1203,
3285,
2892,
1583,
29892,
29894,
29901,
6213,
29892,
2892,
1583,
29901,
6213,
8443,
13,
9995,
29954,
1691,
278,
14407,
1134,
22993,
30004,
13,
30004,
30004,
13,
2577,
29901,
7634,
5890,
1542,
29898,
1311,
29901,
19014,
519,
18545,
29897,
1599,
5167,
30004,
30004,
13,
30004,
30004,
13,
15945,
19451,
13,
30004,
13,
7634,
5890,
1542,
18545,
29922,
6799,
29898,
2892,
1583,
29901,
1203,
3285,
2892,
1583,
29892,
29894,
29901,
6213,
29892,
2892,
1583,
29901,
6213,
8443,
13,
9995,
29954,
1691,
278,
14407,
1134,
29105,
22993,
30004,
13,
30004,
30004,
13,
2577,
29901,
7634,
5890,
1542,
18545,
29898,
1311,
29901,
19014,
519,
18545,
29897,
1599,
5167,
18545,
30004,
30004,
13,
30004,
30004,
13,
15945,
19451,
13,
30004,
13,
30004,
13,
2
] |
ihs/collector/tasks.py | la-mar/ihs-deo | 0 | 27085 | from __future__ import annotations
import logging
from datetime import date, datetime, timedelta
from typing import Dict, Generator, List, Optional, Union, Tuple
import pandas as pd
import metrics
from api.models import ( # noqa
ChangeDeleteLog,
County,
ProductionHorizontal,
ProductionMasterHorizontal,
ProductionMasterVertical,
ProductionVertical,
WellHorizontal,
WellMasterHorizontal,
WellMasterVertical,
WellVertical,
)
from collector import ExportJob # noqa
from collector import (
CDExporter,
Collector,
Endpoint,
ExportBuilder,
ExportParameter,
ExportRetriever,
ProductionList,
ProductionTransformer,
WellboreTransformer,
WellList,
XMLParser,
)
from collector.identity_list import IdentityList
from collector.task import Task
from config import ExportDataTypes, IdentityTemplates, get_active_config
from exc import CollectorError, NoIdsError
from ihs import create_app
logger = logging.getLogger(__name__)
conf = get_active_config()
endpoints = Endpoint.load_from_config(conf)
def run_endpoint_task(
endpoint_name: str, task_name: str
) -> Generator[dict, None, None]:
""" Unpack task options and assemble metadata for job configuration """
endpoint = endpoints[endpoint_name]
task = endpoint.tasks[task_name]
metrics.post(
"task.execution", 1, tags={"endpoint": endpoint_name, "task": task_name}
)
for config in task.configs:
yield config
def submit_job(job_options: dict, metadata: dict) -> Optional[ExportJob]:
endpoint_name = metadata.get("endpoint")
endpoint = endpoints[endpoint_name]
# name = metadata.get("name", None)
target_model = metadata.get("target_model", None)
task_name = metadata.get("task", None)
source_name = metadata.get("source_name", None)
try:
ep = ExportParameter(**job_options)
requestor = ExportBuilder(endpoint)
job = requestor.submit(ep, metadata=metadata or {})
return job
except CollectorError as e:
logger.warning(
f"({target_model}) Skipping job {task_name} -> {source_name}: {e}"
)
return None
def collect(job: Union[dict, ExportJob]):
if isinstance(job, dict):
job = ExportJob(**job)
is_identity_export = IdentityTemplates.has_member(job.template)
data = get_job_results(job)
if is_identity_export:
collect_identities(job, data)
else:
collect_data(job, data)
def get_job_results(job: Union[ExportJob, dict]) -> bytes:
if not isinstance(job, ExportJob):
job = ExportJob(**job)
retr = ExportRetriever(job, base_url=job.url, endpoint=endpoints[job.endpoint])
data = retr.get(auto_delete=True)
return data
def collect_data(job: ExportJob, xml: bytes):
if xml:
parser = XMLParser.load_from_config(conf.PARSER_CONFIG)
document = parser.parse(xml)
model = endpoints[job.endpoint].model
collector = Collector(model)
data: List[Dict] = []
if job.data_type == ExportDataTypes.WELL.value:
data = WellboreTransformer.extract_from_collection(document, model=model)
elif job.data_type == ExportDataTypes.PRODUCTION.value:
data = ProductionTransformer.extract_from_collection(document, model=model)
metrics.post("job.collection.success", len(data), tags=job.limited_dict())
collector.save(data, replace=True)
def collect_identities(job: ExportJob, data: bytes) -> IdentityList:
interface = None
if job.data_type == ExportDataTypes.WELL.value:
interface = WellList(job.name, job.hole_direction)
interface.ids = data
elif job.data_type == ExportDataTypes.PRODUCTION.value:
interface = ProductionList(job.name, job.hole_direction)
interface.ids = data
return interface
# def delete_job(job: ExportJob) -> bool:
# endpoint = endpoints[job.endpoint]
# requestor = ExportBuilder(endpoint)
# result = False
# if requestor.job_exists(job):
# result = requestor.delete_job(job)
# return result
def purge_remote_exports() -> bool:
eb = ExportBuilder(None)
eb.delete_all_jobs()
return True
def calc_remote_export_capacity() -> Dict[str, Union[float, int]]:
"""Calculate the amount of storage space currently consumed by job exports on IHS' servers.
Returns:
dict -- {
capacity_used: space used in KB,
njobs: number of existing completed jobs
"""
mean_doc_size_bytes = (
18000 * conf.TASK_BATCH_SIZE
) # average single entity document size
inflation_pct: float = 0.1 # over estimate the used capacity by this percentage
doc_size_bytes = mean_doc_size_bytes + (inflation_pct * mean_doc_size_bytes)
remote_capacity_bytes: int = 1000000000 # 1 GB
eb = ExportBuilder(None)
try:
njobs = len(eb.list_completed_jobs())
except CollectorError as e:
logger.exception(f"Unable to calculate export capacity -- {e}", stack_info=True)
return {}
return {
"remote.capacity.used": njobs * doc_size_bytes,
"remote.capacity.available": remote_capacity_bytes - (njobs * doc_size_bytes),
"remote.capacity.total": remote_capacity_bytes,
"remote.jobs": njobs,
}
def download_changes_and_deletes() -> int:
max_date = ChangeDeleteLog.max_date()
max_sequence = ChangeDeleteLog.max_sequence() or 0
today = datetime.now()
if max_date:
last_date = max_date - timedelta(days=1)
else:
last_date = date.today() - timedelta(days=30)
cde = CDExporter(from_date=last_date, to_date=today)
results = cde.get_all()
logger.info(f"Downloaded {len(results)} changes and deletes")
records: List[Dict] = []
for r in results:
new = {}
for k, v in r.items():
if v is not None:
if "uwi" in k:
v = str(v)
if k == "reasoncode":
k = "reason_code"
elif k == "activecode":
k = "active_code"
elif k == "referenceuwi":
k = "reference_uwi"
elif k == "newuwi":
k = "new_uwi"
new[k] = v
if new.get("sequence", 0) > max_sequence:
new["processed"] = False
records.append(new)
logger.info(
f"Found {len(records)} changes and deletes (filtered {len(results) - len(records)})"
)
collector = Collector(ChangeDeleteLog)
return collector.save(records)
# def process_changes_and_deletes():
# # reason_action_map = {
# # "no_action": [0, 6],
# # "update_to_new_uwi": [1, 5, 7, 8, 9],
# # "update_to_ref_uwi": [2],
# # "delete": [3, 4],
# # }
# reason_action_map = {
# 0: "no_action",
# 1: "update_to_new_uwi",
# 2: "update_to_ref_uwi",
# 3: "delete",
# 4: "delete",
# 5: "update_to_new_uwi",
# 6: "no_action",
# 7: "update_to_new_uwi",
# 8: "update_to_new_uwi",
# 9: "update_to_new_uwi",
# }
# objs = ChangeDeleteLog.objects(processed=False)
# obj = objs[len(objs) - 80]
# obj._data
# #! unfinished
# # for obj in objs:
# # if obj.processed is False:
# # action = reason_action_map[obj.reason_code]
# # if action == "delete":
# # document = WellHorizontal.objects(api14=obj.uwi).first()
# # document = WellVertical.objects(api14=obj.uwi).first()
def synchronize_master_lists():
county_model_name = County.__name__.split(".")[-1]
master_counties = County.as_df().index.tolist()
for model in [
WellMasterHorizontal,
WellMasterVertical,
ProductionMasterHorizontal,
ProductionMasterVertical,
]:
target_model_name = model.__name__.split(".")[-1]
model_counties = model.as_df().index.tolist()
missing_from_model = [x for x in master_counties if x not in model_counties]
# add missing counties to model
added = []
for county in missing_from_model:
i = model(name=county)
i.save()
added.append(county)
if added:
logger.info(
f"({target_model_name}) Added {len(added)} entries from {county_model_name} master: {added}" # noqa
)
missing_from_master = [x for x in model_counties if x not in master_counties]
if missing_from_master:
logger.info(
f"({target_model_name}) has {len(missing_from_master)} entries missing from {county_model_name} master" # noqa
)
logger.info(f"({target_model_name}) synchronized to {county_model_name} master")
def refresh_master_lists() -> List[Tuple[List[Dict], str, str]]:
endpoints = Endpoint.from_yaml(conf.COLLECTOR_CONFIG_PATH)
endpoints = {
k: v for k, v in endpoints.items() if "master" in v.model.__name__.lower()
}
all_endpoint_configs: List[Tuple[List[Dict], str, str]] = []
for endpoint_name, endpoint in endpoints.items():
# endpoint_name, endpoint = list(endpoints.items())[0]
target_model_name = endpoint.model.__name__.split(".")[-1]
county_record_dict = (
County.as_df().loc[:, ["county_code", "state_code"]].to_dict(orient="index")
)
task = endpoint.tasks["sync"]
task.options.matrix = county_record_dict # override the yaml defined matrix
configs = task.configs
logger.warning(f"({target_model_name}) refreshing {len(configs)} counties")
all_endpoint_configs.append((configs, endpoint_name, task.task_name))
return all_endpoint_configs
# job_options, metadata = task.configs[0].values()
# ep = ExportParameter(**job_options)
# print(ep.params["Query"])
if __name__ == "__main__":
import loggers
loggers.config(10)
logging.getLogger("collector.parser").setLevel(30)
logging.getLogger("zeep").setLevel(30)
from time import sleep
# from uuid import UUID
from ihs import create_app
logging.basicConfig(level=10)
app = create_app()
app.app_context().push()
# endpoint_name = "well_master_vertical"
# endpoint_name = "well_master_vertical"
# task_name = "sync"
# endpoint = endpoints[endpoint_name]
# task = endpoint.tasks[task_name]
# # configs =
# job_options, metadata = task.configs[0].values()
# for configs, endpoint_name, task_name in refresh_master_lists():
# for job
# ep = ExportParameter(**job_options)
# print(ep.params["Query"])
# requestor = ExportBuilder(endpoint)
# job = submit_job(job_options=job_options, metadata=metadata)
# # job.to_dict()
# sleep(5)
# if job:
# collect(job)
# xml = get_job_results(job)
# parser = XMLParser.load_from_config(conf.PARSER_CONFIG)
# document = parser.parse(xml)
# model = endpoint.model
# data = WellboreTransformer.extract_from_collection(document, model=model)
# len(data)
# [x["api14"] for x in data]
# collector = Collector(model)
# collector.save(data, replace=True)
# from api.models import County, WellMasterHorizontal
# import pandas as pd
# df = pd.DataFrame([x._data for x in County.objects.all()]).set_index("name")
# df.columns
# df = df.drop(columns=["state_code", "county_code"]).sort_values("well_h_last_run")
# df.shape
# hz_ids = (
# pd.DataFrame([x._data for x in WellMasterHorizontal.objects.all()])
# .set_index("name")
# .sort_index()
# )
# hz_ids.loc[~hz_ids.index.str.contains("County")].shape
# joined = df.join(hz_ids.ids)
# joined[joined.ids.isna()]
# # data[7]
# self = task.options
| [
1,
515,
4770,
29888,
9130,
1649,
1053,
25495,
13,
13,
5215,
12183,
13,
3166,
12865,
1053,
2635,
29892,
12865,
29892,
5335,
287,
2554,
13,
3166,
19229,
1053,
360,
919,
29892,
3251,
1061,
29892,
2391,
29892,
28379,
29892,
7761,
29892,
12603,
552,
13,
13,
5215,
11701,
408,
10518,
13,
13,
5215,
21556,
13,
3166,
7882,
29889,
9794,
1053,
313,
29871,
396,
694,
25621,
13,
1678,
10726,
12498,
3403,
29892,
13,
1678,
5127,
29892,
13,
1678,
19561,
24932,
29892,
13,
1678,
19561,
19203,
24932,
29892,
13,
1678,
19561,
19203,
29270,
29892,
13,
1678,
19561,
29270,
29892,
13,
1678,
5674,
24932,
29892,
13,
1678,
5674,
19203,
24932,
29892,
13,
1678,
5674,
19203,
29270,
29892,
13,
1678,
5674,
29270,
29892,
13,
29897,
13,
3166,
6314,
272,
1053,
1222,
637,
11947,
29871,
396,
694,
25621,
13,
3166,
6314,
272,
1053,
313,
13,
1678,
7307,
1252,
18505,
29892,
13,
1678,
24930,
272,
29892,
13,
1678,
2796,
3149,
29892,
13,
1678,
1222,
637,
5627,
29892,
13,
1678,
1222,
637,
9329,
29892,
13,
1678,
1222,
637,
8015,
2546,
369,
29892,
13,
1678,
19561,
1293,
29892,
13,
1678,
19561,
13372,
261,
29892,
13,
1678,
5674,
29890,
487,
13372,
261,
29892,
13,
1678,
5674,
1293,
29892,
13,
1678,
6560,
11726,
29892,
13,
29897,
13,
3166,
6314,
272,
29889,
22350,
29918,
1761,
1053,
27486,
1293,
13,
3166,
6314,
272,
29889,
7662,
1053,
9330,
13,
3166,
2295,
1053,
1222,
637,
1469,
10562,
29892,
27486,
5776,
9884,
29892,
679,
29918,
4925,
29918,
2917,
13,
3166,
5566,
1053,
24930,
272,
2392,
29892,
1939,
21943,
2392,
13,
3166,
4686,
29879,
1053,
1653,
29918,
932,
13,
13,
21707,
353,
12183,
29889,
657,
16363,
22168,
978,
1649,
29897,
13,
13,
5527,
353,
679,
29918,
4925,
29918,
2917,
580,
13,
355,
9748,
353,
2796,
3149,
29889,
1359,
29918,
3166,
29918,
2917,
29898,
5527,
29897,
13,
13,
13,
1753,
1065,
29918,
29734,
29918,
7662,
29898,
13,
1678,
16248,
29918,
978,
29901,
851,
29892,
3414,
29918,
978,
29901,
851,
13,
29897,
1599,
3251,
1061,
29961,
8977,
29892,
6213,
29892,
6213,
5387,
13,
1678,
9995,
853,
4058,
3414,
3987,
322,
24940,
15562,
363,
4982,
5285,
9995,
13,
1678,
16248,
353,
1095,
9748,
29961,
29734,
29918,
978,
29962,
13,
1678,
3414,
353,
16248,
29889,
20673,
29961,
7662,
29918,
978,
29962,
13,
1678,
21556,
29889,
2490,
29898,
13,
4706,
376,
7662,
29889,
22256,
613,
29871,
29896,
29892,
8282,
3790,
29908,
29734,
1115,
16248,
29918,
978,
29892,
376,
7662,
1115,
3414,
29918,
978,
29913,
13,
1678,
1723,
13,
1678,
363,
2295,
297,
3414,
29889,
2917,
29879,
29901,
13,
4706,
7709,
2295,
13,
13,
13,
1753,
9752,
29918,
9057,
29898,
9057,
29918,
6768,
29901,
9657,
29892,
15562,
29901,
9657,
29897,
1599,
28379,
29961,
26382,
11947,
5387,
13,
1678,
16248,
29918,
978,
353,
15562,
29889,
657,
703,
29734,
1159,
13,
1678,
16248,
353,
1095,
9748,
29961,
29734,
29918,
978,
29962,
13,
1678,
396,
1024,
353,
15562,
29889,
657,
703,
978,
613,
6213,
29897,
13,
1678,
3646,
29918,
4299,
353,
15562,
29889,
657,
703,
5182,
29918,
4299,
613,
6213,
29897,
13,
1678,
3414,
29918,
978,
353,
15562,
29889,
657,
703,
7662,
613,
6213,
29897,
13,
1678,
2752,
29918,
978,
353,
15562,
29889,
657,
703,
4993,
29918,
978,
613,
6213,
29897,
13,
13,
1678,
1018,
29901,
13,
4706,
9358,
353,
1222,
637,
9329,
29898,
1068,
9057,
29918,
6768,
29897,
13,
4706,
2009,
272,
353,
1222,
637,
5627,
29898,
29734,
29897,
13,
4706,
4982,
353,
2009,
272,
29889,
7892,
29898,
1022,
29892,
15562,
29922,
19635,
470,
426,
1800,
13,
4706,
736,
4982,
13,
1678,
5174,
24930,
272,
2392,
408,
321,
29901,
13,
4706,
17927,
29889,
27392,
29898,
13,
9651,
285,
29908,
3319,
5182,
29918,
4299,
1800,
28551,
3262,
4982,
426,
7662,
29918,
978,
29913,
1599,
426,
4993,
29918,
978,
6177,
426,
29872,
5038,
13,
4706,
1723,
13,
4706,
736,
6213,
13,
13,
13,
1753,
6314,
29898,
9057,
29901,
7761,
29961,
8977,
29892,
1222,
637,
11947,
29962,
1125,
13,
1678,
565,
338,
8758,
29898,
9057,
29892,
9657,
1125,
13,
4706,
4982,
353,
1222,
637,
11947,
29898,
1068,
9057,
29897,
13,
13,
1678,
338,
29918,
22350,
29918,
15843,
353,
27486,
5776,
9884,
29889,
5349,
29918,
14242,
29898,
9057,
29889,
6886,
29897,
13,
1678,
848,
353,
679,
29918,
9057,
29918,
9902,
29898,
9057,
29897,
13,
13,
1678,
565,
338,
29918,
22350,
29918,
15843,
29901,
13,
4706,
6314,
29918,
1693,
1907,
29898,
9057,
29892,
848,
29897,
13,
1678,
1683,
29901,
13,
4706,
6314,
29918,
1272,
29898,
9057,
29892,
848,
29897,
13,
13,
13,
1753,
679,
29918,
9057,
29918,
9902,
29898,
9057,
29901,
7761,
29961,
26382,
11947,
29892,
9657,
2314,
1599,
6262,
29901,
13,
1678,
565,
451,
338,
8758,
29898,
9057,
29892,
1222,
637,
11947,
1125,
13,
4706,
4982,
353,
1222,
637,
11947,
29898,
1068,
9057,
29897,
13,
1678,
5663,
353,
1222,
637,
8015,
2546,
369,
29898,
9057,
29892,
2967,
29918,
2271,
29922,
9057,
29889,
2271,
29892,
16248,
29922,
355,
9748,
29961,
9057,
29889,
29734,
2314,
13,
1678,
848,
353,
5663,
29889,
657,
29898,
6921,
29918,
8143,
29922,
5574,
29897,
13,
1678,
736,
848,
13,
13,
13,
1753,
6314,
29918,
1272,
29898,
9057,
29901,
1222,
637,
11947,
29892,
4903,
29901,
6262,
1125,
13,
1678,
565,
4903,
29901,
13,
4706,
13812,
353,
6560,
11726,
29889,
1359,
29918,
3166,
29918,
2917,
29898,
5527,
29889,
16320,
6304,
29918,
25903,
29897,
13,
4706,
1842,
353,
13812,
29889,
5510,
29898,
3134,
29897,
13,
4706,
1904,
353,
1095,
9748,
29961,
9057,
29889,
29734,
1822,
4299,
13,
4706,
6314,
272,
353,
24930,
272,
29898,
4299,
29897,
13,
4706,
848,
29901,
2391,
29961,
21533,
29962,
353,
5159,
13,
4706,
565,
4982,
29889,
1272,
29918,
1853,
1275,
1222,
637,
1469,
10562,
29889,
8851,
2208,
29889,
1767,
29901,
13,
9651,
848,
353,
5674,
29890,
487,
13372,
261,
29889,
21111,
29918,
3166,
29918,
10855,
29898,
3225,
29892,
1904,
29922,
4299,
29897,
13,
4706,
25342,
4982,
29889,
1272,
29918,
1853,
1275,
1222,
637,
1469,
10562,
29889,
8618,
14849,
9838,
29889,
1767,
29901,
13,
9651,
848,
353,
19561,
13372,
261,
29889,
21111,
29918,
3166,
29918,
10855,
29898,
3225,
29892,
1904,
29922,
4299,
29897,
13,
13,
4706,
21556,
29889,
2490,
703,
9057,
29889,
10855,
29889,
8698,
613,
7431,
29898,
1272,
511,
8282,
29922,
9057,
29889,
29044,
29918,
8977,
3101,
13,
4706,
6314,
272,
29889,
7620,
29898,
1272,
29892,
5191,
29922,
5574,
29897,
13,
13,
13,
1753,
6314,
29918,
1693,
1907,
29898,
9057,
29901,
1222,
637,
11947,
29892,
848,
29901,
6262,
29897,
1599,
27486,
1293,
29901,
13,
1678,
5067,
353,
6213,
13,
1678,
565,
4982,
29889,
1272,
29918,
1853,
1275,
1222,
637,
1469,
10562,
29889,
8851,
2208,
29889,
1767,
29901,
13,
4706,
5067,
353,
5674,
1293,
29898,
9057,
29889,
978,
29892,
4982,
29889,
29716,
29918,
20845,
29897,
13,
4706,
5067,
29889,
4841,
353,
848,
13,
1678,
25342,
4982,
29889,
1272,
29918,
1853,
1275,
1222,
637,
1469,
10562,
29889,
8618,
14849,
9838,
29889,
1767,
29901,
13,
4706,
5067,
353,
19561,
1293,
29898,
9057,
29889,
978,
29892,
4982,
29889,
29716,
29918,
20845,
29897,
13,
4706,
5067,
29889,
4841,
353,
848,
13,
13,
1678,
736,
5067,
13,
13,
13,
29937,
822,
5217,
29918,
9057,
29898,
9057,
29901,
1222,
637,
11947,
29897,
1599,
6120,
29901,
13,
29937,
268,
16248,
353,
1095,
9748,
29961,
9057,
29889,
29734,
29962,
13,
29937,
268,
2009,
272,
353,
1222,
637,
5627,
29898,
29734,
29897,
13,
29937,
268,
1121,
353,
7700,
13,
29937,
268,
565,
2009,
272,
29889,
9057,
29918,
9933,
29898,
9057,
1125,
13,
29937,
308,
1121,
353,
2009,
272,
29889,
8143,
29918,
9057,
29898,
9057,
29897,
13,
29937,
268,
736,
1121,
13,
13,
13,
1753,
3708,
479,
29918,
16674,
29918,
26500,
580,
1599,
6120,
29901,
13,
1678,
18230,
353,
1222,
637,
5627,
29898,
8516,
29897,
13,
1678,
18230,
29889,
8143,
29918,
497,
29918,
9057,
29879,
580,
13,
1678,
736,
5852,
13,
13,
13,
1753,
22235,
29918,
16674,
29918,
15843,
29918,
5030,
5946,
580,
1599,
360,
919,
29961,
710,
29892,
7761,
29961,
7411,
29892,
938,
5262,
29901,
13,
1678,
9995,
27065,
403,
278,
5253,
310,
8635,
2913,
5279,
11233,
287,
491,
4982,
29586,
373,
306,
14851,
29915,
12424,
29889,
13,
13,
1678,
16969,
29901,
13,
4706,
9657,
1192,
426,
13,
462,
13284,
29918,
3880,
29901,
2913,
1304,
297,
476,
29933,
29892,
13,
462,
302,
9057,
29879,
29901,
1353,
310,
5923,
8676,
17643,
13,
1678,
9995,
13,
1678,
2099,
29918,
1514,
29918,
2311,
29918,
13193,
353,
313,
13,
308,
29896,
29947,
29900,
29900,
29900,
334,
1970,
29889,
29911,
3289,
29968,
29918,
29933,
14789,
29918,
14226,
13,
1678,
1723,
29871,
396,
6588,
2323,
7855,
1842,
2159,
13,
1678,
4414,
362,
29918,
29886,
312,
29901,
5785,
353,
29871,
29900,
29889,
29896,
29871,
396,
975,
12678,
278,
1304,
13284,
491,
445,
19649,
13,
1678,
1574,
29918,
2311,
29918,
13193,
353,
2099,
29918,
1514,
29918,
2311,
29918,
13193,
718,
313,
13453,
362,
29918,
29886,
312,
334,
2099,
29918,
1514,
29918,
2311,
29918,
13193,
29897,
13,
1678,
7592,
29918,
5030,
5946,
29918,
13193,
29901,
938,
353,
29871,
29896,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29871,
396,
29871,
29896,
19289,
13,
1678,
18230,
353,
1222,
637,
5627,
29898,
8516,
29897,
13,
1678,
1018,
29901,
13,
4706,
302,
9057,
29879,
353,
7431,
29898,
774,
29889,
1761,
29918,
5729,
9446,
29918,
9057,
29879,
3101,
13,
1678,
5174,
24930,
272,
2392,
408,
321,
29901,
13,
4706,
17927,
29889,
11739,
29898,
29888,
29908,
2525,
519,
304,
8147,
5609,
13284,
1192,
426,
29872,
17671,
5096,
29918,
3888,
29922,
5574,
29897,
13,
4706,
736,
6571,
13,
13,
1678,
736,
426,
13,
4706,
376,
16674,
29889,
5030,
5946,
29889,
3880,
1115,
302,
9057,
29879,
334,
1574,
29918,
2311,
29918,
13193,
29892,
13,
4706,
376,
16674,
29889,
5030,
5946,
29889,
16515,
1115,
7592,
29918,
5030,
5946,
29918,
13193,
448,
313,
29876,
9057,
29879,
334,
1574,
29918,
2311,
29918,
13193,
511,
13,
4706,
376,
16674,
29889,
5030,
5946,
29889,
7827,
1115,
7592,
29918,
5030,
5946,
29918,
13193,
29892,
13,
4706,
376,
16674,
29889,
9057,
29879,
1115,
302,
9057,
29879,
29892,
13,
1678,
500,
13,
13,
13,
1753,
5142,
29918,
25990,
29918,
392,
29918,
311,
1026,
267,
580,
1599,
938,
29901,
13,
1678,
4236,
29918,
1256,
353,
10726,
12498,
3403,
29889,
3317,
29918,
1256,
580,
13,
1678,
4236,
29918,
16506,
353,
10726,
12498,
3403,
29889,
3317,
29918,
16506,
580,
470,
29871,
29900,
13,
13,
1678,
9826,
353,
12865,
29889,
3707,
580,
13,
13,
1678,
565,
4236,
29918,
1256,
29901,
13,
4706,
1833,
29918,
1256,
353,
4236,
29918,
1256,
448,
5335,
287,
2554,
29898,
16700,
29922,
29896,
29897,
13,
1678,
1683,
29901,
13,
4706,
1833,
29918,
1256,
353,
2635,
29889,
27765,
580,
448,
5335,
287,
2554,
29898,
16700,
29922,
29941,
29900,
29897,
13,
13,
1678,
274,
311,
353,
7307,
1252,
18505,
29898,
3166,
29918,
1256,
29922,
4230,
29918,
1256,
29892,
304,
29918,
1256,
29922,
27765,
29897,
13,
13,
1678,
2582,
353,
274,
311,
29889,
657,
29918,
497,
580,
13,
1678,
17927,
29889,
3888,
29898,
29888,
29908,
6767,
15638,
426,
2435,
29898,
9902,
2915,
3620,
322,
7374,
267,
1159,
13,
13,
1678,
6475,
29901,
2391,
29961,
21533,
29962,
353,
5159,
13,
1678,
363,
364,
297,
2582,
29901,
13,
4706,
716,
353,
6571,
13,
4706,
363,
413,
29892,
325,
297,
364,
29889,
7076,
7295,
13,
9651,
565,
325,
338,
451,
6213,
29901,
13,
18884,
565,
376,
29884,
4353,
29908,
297,
413,
29901,
13,
462,
1678,
325,
353,
851,
29898,
29894,
29897,
13,
13,
18884,
565,
413,
1275,
376,
23147,
401,
1115,
13,
462,
1678,
413,
353,
376,
23147,
29918,
401,
29908,
13,
18884,
25342,
413,
1275,
376,
4925,
401,
1115,
13,
462,
1678,
413,
353,
376,
4925,
29918,
401,
29908,
13,
18884,
25342,
413,
1275,
376,
5679,
29884,
4353,
1115,
13,
462,
1678,
413,
353,
376,
5679,
29918,
29884,
4353,
29908,
13,
18884,
25342,
413,
1275,
376,
1482,
29884,
4353,
1115,
13,
462,
1678,
413,
353,
376,
1482,
29918,
29884,
4353,
29908,
13,
13,
18884,
716,
29961,
29895,
29962,
353,
325,
13,
13,
4706,
565,
716,
29889,
657,
703,
16506,
613,
29871,
29900,
29897,
1405,
4236,
29918,
16506,
29901,
13,
9651,
716,
3366,
5014,
287,
3108,
353,
7700,
13,
13,
9651,
6475,
29889,
4397,
29898,
1482,
29897,
13,
13,
1678,
17927,
29889,
3888,
29898,
13,
4706,
285,
29908,
9692,
426,
2435,
29898,
3757,
4339,
2915,
3620,
322,
7374,
267,
313,
4572,
287,
426,
2435,
29898,
9902,
29897,
448,
7431,
29898,
3757,
4339,
26972,
29908,
13,
1678,
1723,
13,
1678,
6314,
272,
353,
24930,
272,
29898,
7277,
12498,
3403,
29897,
13,
1678,
736,
6314,
272,
29889,
7620,
29898,
3757,
4339,
29897,
13,
13,
1678,
396,
822,
1889,
29918,
25990,
29918,
392,
29918,
311,
1026,
267,
7295,
13,
1678,
396,
268,
396,
2769,
29918,
2467,
29918,
1958,
353,
426,
13,
1678,
396,
268,
396,
268,
376,
1217,
29918,
2467,
1115,
518,
29900,
29892,
29871,
29953,
1402,
13,
1678,
396,
268,
396,
268,
376,
5504,
29918,
517,
29918,
1482,
29918,
29884,
4353,
1115,
518,
29896,
29892,
29871,
29945,
29892,
29871,
29955,
29892,
29871,
29947,
29892,
29871,
29929,
1402,
13,
1678,
396,
268,
396,
268,
376,
5504,
29918,
517,
29918,
999,
29918,
29884,
4353,
1115,
518,
29906,
1402,
13,
1678,
396,
268,
396,
268,
376,
8143,
1115,
518,
29941,
29892,
29871,
29946,
1402,
13,
1678,
396,
268,
396,
500,
13,
1678,
396,
268,
2769,
29918,
2467,
29918,
1958,
353,
426,
13,
1678,
396,
3986,
29900,
29901,
376,
1217,
29918,
2467,
613,
13,
1678,
396,
3986,
29896,
29901,
376,
5504,
29918,
517,
29918,
1482,
29918,
29884,
4353,
613,
13,
1678,
396,
3986,
29906,
29901,
376,
5504,
29918,
517,
29918,
999,
29918,
29884,
4353,
613,
13,
1678,
396,
3986,
29941,
29901,
376,
8143,
613,
13,
1678,
396,
3986,
29946,
29901,
376,
8143,
613,
13,
1678,
396,
3986,
29945,
29901,
376,
5504,
29918,
517,
29918,
1482,
29918,
29884,
4353,
613,
13,
1678,
396,
3986,
29953,
29901,
376,
1217,
29918,
2467,
613,
13,
1678,
396,
3986,
29955,
29901,
376,
5504,
29918,
517,
29918,
1482,
29918,
29884,
4353,
613,
13,
1678,
396,
3986,
29947,
29901,
376,
5504,
29918,
517,
29918,
1482,
29918,
29884,
4353,
613,
13,
1678,
396,
3986,
29929,
29901,
376,
5504,
29918,
517,
29918,
1482,
29918,
29884,
4353,
613,
13,
1678,
396,
268,
500,
13,
13,
1678,
396,
268,
704,
1315,
353,
10726,
12498,
3403,
29889,
12650,
29898,
5014,
287,
29922,
8824,
29897,
13,
13,
1678,
396,
268,
5446,
353,
704,
1315,
29961,
2435,
29898,
711,
1315,
29897,
448,
29871,
29947,
29900,
29962,
13,
1678,
396,
268,
5446,
3032,
1272,
13,
1678,
396,
268,
396,
29991,
443,
4951,
3276,
13,
13,
1678,
396,
268,
396,
363,
5446,
297,
704,
1315,
29901,
13,
1678,
396,
268,
396,
268,
565,
5446,
29889,
5014,
287,
338,
7700,
29901,
13,
1678,
396,
268,
396,
308,
3158,
353,
2769,
29918,
2467,
29918,
1958,
29961,
5415,
29889,
23147,
29918,
401,
29962,
13,
13,
1678,
396,
268,
396,
308,
565,
3158,
1275,
376,
8143,
1115,
13,
1678,
396,
268,
396,
632,
1842,
353,
5674,
24932,
29889,
12650,
29898,
2754,
29896,
29946,
29922,
5415,
29889,
29884,
4353,
467,
4102,
580,
13,
1678,
396,
268,
396,
632,
1842,
353,
5674,
29270,
29889,
12650,
29898,
2754,
29896,
29946,
29922,
5415,
29889,
29884,
4353,
467,
4102,
580,
13,
13,
13,
1753,
12231,
675,
29918,
6207,
29918,
21513,
7295,
13,
1678,
15178,
29918,
4299,
29918,
978,
353,
5127,
17255,
978,
26914,
5451,
17350,
1159,
14352,
29896,
29962,
13,
1678,
5835,
29918,
2798,
583,
353,
5127,
29889,
294,
29918,
2176,
2141,
2248,
29889,
25027,
391,
580,
13,
13,
1678,
363,
1904,
297,
518,
13,
4706,
5674,
19203,
24932,
29892,
13,
4706,
5674,
19203,
29270,
29892,
13,
4706,
19561,
19203,
24932,
29892,
13,
4706,
19561,
19203,
29270,
29892,
13,
1678,
4514,
29901,
13,
4706,
3646,
29918,
4299,
29918,
978,
353,
1904,
17255,
978,
26914,
5451,
17350,
1159,
14352,
29896,
29962,
13,
4706,
1904,
29918,
2798,
583,
353,
1904,
29889,
294,
29918,
2176,
2141,
2248,
29889,
25027,
391,
580,
13,
4706,
4567,
29918,
3166,
29918,
4299,
353,
518,
29916,
363,
921,
297,
5835,
29918,
2798,
583,
565,
921,
451,
297,
1904,
29918,
2798,
583,
29962,
13,
13,
4706,
396,
788,
4567,
2302,
583,
304,
1904,
13,
4706,
2715,
353,
5159,
13,
4706,
363,
15178,
297,
4567,
29918,
3166,
29918,
4299,
29901,
13,
9651,
474,
353,
1904,
29898,
978,
29922,
2798,
29891,
29897,
13,
9651,
474,
29889,
7620,
580,
13,
9651,
2715,
29889,
4397,
29898,
2798,
29891,
29897,
13,
13,
4706,
565,
2715,
29901,
13,
9651,
17927,
29889,
3888,
29898,
13,
18884,
285,
29908,
3319,
5182,
29918,
4299,
29918,
978,
1800,
25601,
426,
2435,
29898,
23959,
2915,
9976,
515,
426,
2798,
29891,
29918,
4299,
29918,
978,
29913,
5835,
29901,
426,
23959,
5038,
29871,
396,
694,
25621,
13,
9651,
1723,
13,
4706,
4567,
29918,
3166,
29918,
6207,
353,
518,
29916,
363,
921,
297,
1904,
29918,
2798,
583,
565,
921,
451,
297,
5835,
29918,
2798,
583,
29962,
13,
4706,
565,
4567,
29918,
3166,
29918,
6207,
29901,
13,
9651,
17927,
29889,
3888,
29898,
13,
18884,
285,
29908,
3319,
5182,
29918,
4299,
29918,
978,
1800,
756,
426,
2435,
29898,
27259,
29918,
3166,
29918,
6207,
2915,
9976,
4567,
515,
426,
2798,
29891,
29918,
4299,
29918,
978,
29913,
5835,
29908,
29871,
396,
694,
25621,
13,
9651,
1723,
13,
13,
4706,
17927,
29889,
3888,
29898,
29888,
29908,
3319,
5182,
29918,
4299,
29918,
978,
1800,
12231,
1891,
304,
426,
2798,
29891,
29918,
4299,
29918,
978,
29913,
5835,
1159,
13,
13,
13,
1753,
11086,
29918,
6207,
29918,
21513,
580,
1599,
2391,
29961,
23215,
552,
29961,
1293,
29961,
21533,
1402,
851,
29892,
851,
5262,
29901,
13,
1678,
1095,
9748,
353,
2796,
3149,
29889,
3166,
29918,
25162,
29898,
5527,
29889,
15032,
3281,
1955,
29918,
25903,
29918,
10145,
29897,
13,
1678,
1095,
9748,
353,
426,
13,
4706,
413,
29901,
325,
363,
413,
29892,
325,
297,
1095,
9748,
29889,
7076,
580,
565,
376,
6207,
29908,
297,
325,
29889,
4299,
17255,
978,
26914,
13609,
580,
13,
1678,
500,
13,
13,
1678,
599,
29918,
29734,
29918,
2917,
29879,
29901,
2391,
29961,
23215,
552,
29961,
1293,
29961,
21533,
1402,
851,
29892,
851,
5262,
353,
5159,
13,
1678,
363,
16248,
29918,
978,
29892,
16248,
297,
1095,
9748,
29889,
7076,
7295,
13,
4706,
396,
16248,
29918,
978,
29892,
16248,
353,
1051,
29898,
355,
9748,
29889,
7076,
3101,
29961,
29900,
29962,
13,
4706,
3646,
29918,
4299,
29918,
978,
353,
16248,
29889,
4299,
17255,
978,
26914,
5451,
17350,
1159,
14352,
29896,
29962,
13,
13,
4706,
15178,
29918,
11651,
29918,
8977,
353,
313,
13,
9651,
5127,
29889,
294,
29918,
2176,
2141,
2029,
7503,
29892,
6796,
2798,
29891,
29918,
401,
613,
376,
3859,
29918,
401,
3108,
1822,
517,
29918,
8977,
29898,
12236,
543,
2248,
1159,
13,
4706,
1723,
13,
13,
4706,
3414,
353,
16248,
29889,
20673,
3366,
16593,
3108,
13,
4706,
3414,
29889,
6768,
29889,
5344,
353,
15178,
29918,
11651,
29918,
8977,
29871,
396,
5712,
278,
343,
8807,
3342,
4636,
13,
4706,
2295,
29879,
353,
3414,
29889,
2917,
29879,
13,
4706,
17927,
29889,
27392,
29898,
29888,
29908,
3319,
5182,
29918,
4299,
29918,
978,
1800,
2143,
690,
2790,
426,
2435,
29898,
2917,
29879,
2915,
2302,
583,
1159,
13,
4706,
599,
29918,
29734,
29918,
2917,
29879,
29889,
4397,
3552,
2917,
29879,
29892,
16248,
29918,
978,
29892,
3414,
29889,
7662,
29918,
978,
876,
13,
13,
1678,
736,
599,
29918,
29734,
29918,
2917,
29879,
13,
1678,
396,
4982,
29918,
6768,
29892,
15562,
353,
3414,
29889,
2917,
29879,
29961,
29900,
1822,
5975,
580,
13,
1678,
396,
9358,
353,
1222,
637,
9329,
29898,
1068,
9057,
29918,
6768,
29897,
13,
1678,
396,
1596,
29898,
1022,
29889,
7529,
3366,
3010,
20068,
13,
13,
13,
361,
4770,
978,
1649,
1275,
376,
1649,
3396,
1649,
1115,
13,
13,
1678,
1053,
1480,
5743,
13,
13,
1678,
1480,
5743,
29889,
2917,
29898,
29896,
29900,
29897,
13,
1678,
12183,
29889,
657,
16363,
703,
15914,
272,
29889,
16680,
2564,
842,
10108,
29898,
29941,
29900,
29897,
13,
1678,
12183,
29889,
657,
16363,
703,
911,
1022,
2564,
842,
10108,
29898,
29941,
29900,
29897,
13,
1678,
515,
931,
1053,
8709,
13,
13,
1678,
396,
515,
318,
5416,
1053,
501,
11150,
13,
1678,
515,
4686,
29879,
1053,
1653,
29918,
932,
13,
13,
1678,
12183,
29889,
16121,
3991,
29898,
5563,
29922,
29896,
29900,
29897,
13,
1678,
623,
353,
1653,
29918,
932,
580,
13,
1678,
623,
29889,
932,
29918,
4703,
2141,
5910,
580,
13,
13,
1678,
396,
16248,
29918,
978,
353,
376,
5872,
29918,
6207,
29918,
18575,
29908,
13,
1678,
396,
16248,
29918,
978,
353,
376,
5872,
29918,
6207,
29918,
18575,
29908,
13,
1678,
396,
3414,
29918,
978,
353,
376,
16593,
29908,
13,
1678,
396,
16248,
353,
1095,
9748,
29961,
29734,
29918,
978,
29962,
13,
1678,
396,
3414,
353,
16248,
29889,
20673,
29961,
7662,
29918,
978,
29962,
13,
1678,
396,
396,
2295,
29879,
353,
13,
1678,
396,
4982,
29918,
6768,
29892,
15562,
353,
3414,
29889,
2917,
29879,
29961,
29900,
1822,
5975,
580,
13,
13,
1678,
396,
363,
2295,
29879,
29892,
16248,
29918,
978,
29892,
3414,
29918,
978,
297,
11086,
29918,
6207,
29918,
21513,
7295,
13,
1678,
396,
268,
363,
4982,
13,
1678,
396,
268,
9358,
353,
1222,
637,
9329,
29898,
1068,
9057,
29918,
6768,
29897,
13,
1678,
396,
268,
1596,
29898,
1022,
29889,
7529,
3366,
3010,
20068,
13,
1678,
396,
268,
2009,
272,
353,
1222,
637,
5627,
29898,
29734,
29897,
13,
13,
1678,
396,
268,
4982,
353,
9752,
29918,
9057,
29898,
9057,
29918,
6768,
29922,
9057,
29918,
6768,
29892,
15562,
29922,
19635,
29897,
13,
1678,
396,
268,
396,
4982,
29889,
517,
29918,
8977,
580,
13,
13,
1678,
396,
268,
8709,
29898,
29945,
29897,
13,
13,
1678,
396,
268,
565,
4982,
29901,
13,
1678,
396,
308,
6314,
29898,
9057,
29897,
13,
13,
29937,
4903,
353,
679,
29918,
9057,
29918,
9902,
29898,
9057,
29897,
13,
29937,
13812,
353,
6560,
11726,
29889,
1359,
29918,
3166,
29918,
2917,
29898,
5527,
29889,
16320,
6304,
29918,
25903,
29897,
13,
29937,
1842,
353,
13812,
29889,
5510,
29898,
3134,
29897,
13,
29937,
1904,
353,
16248,
29889,
4299,
13,
29937,
848,
353,
5674,
29890,
487,
13372,
261,
29889,
21111,
29918,
3166,
29918,
10855,
29898,
3225,
29892,
1904,
29922,
4299,
29897,
13,
29937,
7431,
29898,
1272,
29897,
13,
29937,
518,
29916,
3366,
2754,
29896,
29946,
3108,
363,
921,
297,
848,
29962,
13,
29937,
6314,
272,
353,
24930,
272,
29898,
4299,
29897,
13,
29937,
6314,
272,
29889,
7620,
29898,
1272,
29892,
5191,
29922,
5574,
29897,
13,
29937,
515,
7882,
29889,
9794,
1053,
5127,
29892,
5674,
19203,
24932,
13,
29937,
1053,
11701,
408,
10518,
13,
13,
29937,
4489,
353,
10518,
29889,
17271,
4197,
29916,
3032,
1272,
363,
921,
297,
5127,
29889,
12650,
29889,
497,
580,
14664,
842,
29918,
2248,
703,
978,
1159,
13,
29937,
4489,
29889,
13099,
13,
29937,
4489,
353,
4489,
29889,
8865,
29898,
13099,
29922,
3366,
3859,
29918,
401,
613,
376,
2798,
29891,
29918,
401,
3108,
467,
6605,
29918,
5975,
703,
5872,
29918,
29882,
29918,
4230,
29918,
3389,
1159,
13,
29937,
4489,
29889,
12181,
13,
13,
29937,
298,
29920,
29918,
4841,
353,
313,
13,
29937,
268,
10518,
29889,
17271,
4197,
29916,
3032,
1272,
363,
921,
297,
5674,
19203,
24932,
29889,
12650,
29889,
497,
580,
2314,
13,
29937,
268,
869,
842,
29918,
2248,
703,
978,
1159,
13,
29937,
268,
869,
6605,
29918,
2248,
580,
13,
29937,
1723,
13,
29937,
298,
29920,
29918,
4841,
29889,
2029,
29961,
30022,
29882,
29920,
29918,
4841,
29889,
2248,
29889,
710,
29889,
11516,
703,
3981,
29891,
1159,
1822,
12181,
13,
13,
29937,
8772,
353,
4489,
29889,
7122,
29898,
29882,
29920,
29918,
4841,
29889,
4841,
29897,
13,
29937,
8772,
29961,
2212,
1312,
29889,
4841,
29889,
275,
1056,
580,
29962,
13,
13,
13,
29937,
396,
848,
29961,
29955,
29962,
13,
29937,
1583,
353,
3414,
29889,
6768,
13,
2
] |
code/advent_of_code_day3.py | erinleeryan/2020adventofcode | 0 | 3161 | <gh_stars>0
#!/usr/bin/env python
# coding: utf-8
# In[1]:
import numpy as np
import math
# In[2]:
fileObj = open('../data/advent_of_code_input_day_three.txt', "r") #opens the file in read mode.
items = fileObj. read(). splitlines() #puts the file into an array.
# In[3]:
#print (items)
def split(line):
return list(line)
holding = []
for i, line in enumerate(items):
result = split(line)
holding.append(result)
holding = np.array(holding)
holding[holding == '.'] = 0
holding[holding == '#'] = 1
holding = holding.astype(int)
print (holding)
# In[7]:
def dup_and_count(rightstep, downstep, basedata):
needed_slope_elements = math.floor(basedata.shape[0]/downstep)
replications_needed = (needed_slope_elements* rightstep)/basedata.shape[1]
duplicated = np.tile(basedata, math.ceil(replications_needed))
right = np.arange(0,(needed_slope_elements)*rightstep, rightstep).astype(int)
down = np.arange(0,(needed_slope_elements)*downstep,downstep).astype(int)
moves = []
for ii in range(len(right)):
moves.append(duplicated[down[ii], right[ii]])
hits = np.sum(moves)
return hits
down1_right3 = dup_and_count(3,1,holding)
down1_right1 = dup_and_count(1,1,holding)
down1_right5 = dup_and_count(5,1,holding)
down1_right7 = dup_and_count(7,1,holding)
down2_right1 = dup_and_count(1,2,holding)
results = np.array([down1_right3, down1_right1, down1_right5, down1_right7, down2_right1], dtype=np.int64)
print(results)
product = np.prod(results)
print (product)
# In[ ]:
| [
1,
529,
12443,
29918,
303,
1503,
29958,
29900,
13,
29937,
14708,
4855,
29914,
2109,
29914,
6272,
3017,
13,
29937,
14137,
29901,
23616,
29899,
29947,
13,
13,
29937,
512,
29961,
29896,
5387,
13,
13,
13,
5215,
12655,
408,
7442,
13,
5215,
5844,
13,
13,
13,
29937,
512,
29961,
29906,
5387,
13,
13,
13,
13,
1445,
9930,
353,
1722,
877,
6995,
1272,
29914,
328,
794,
29918,
974,
29918,
401,
29918,
2080,
29918,
3250,
29918,
17536,
29889,
3945,
742,
376,
29878,
1159,
396,
22156,
278,
934,
297,
1303,
4464,
29889,
13,
7076,
353,
934,
9930,
29889,
1303,
2141,
6219,
9012,
580,
396,
649,
29879,
278,
934,
964,
385,
1409,
29889,
13,
13,
13,
29937,
512,
29961,
29941,
5387,
13,
13,
13,
29937,
2158,
313,
7076,
29897,
13,
13,
1753,
6219,
29898,
1220,
1125,
29871,
13,
1678,
736,
1051,
29898,
1220,
29897,
13,
13,
8948,
292,
353,
5159,
13,
1454,
474,
29892,
1196,
297,
26985,
29898,
7076,
1125,
13,
1678,
1121,
353,
6219,
29898,
1220,
29897,
13,
1678,
13587,
29889,
4397,
29898,
2914,
29897,
13,
13,
8948,
292,
353,
7442,
29889,
2378,
29898,
8948,
292,
29897,
13,
8948,
292,
29961,
8948,
292,
1275,
15300,
2033,
353,
29871,
29900,
13,
8948,
292,
29961,
8948,
292,
1275,
16321,
2033,
353,
29871,
29896,
13,
13,
8948,
292,
353,
13587,
29889,
579,
668,
29898,
524,
29897,
13,
2158,
313,
8948,
292,
29897,
13,
13,
13,
29937,
512,
29961,
29955,
5387,
13,
13,
13,
13,
1753,
5141,
29918,
392,
29918,
2798,
29898,
1266,
10568,
29892,
1623,
10568,
29892,
2729,
532,
1125,
13,
1678,
4312,
29918,
29879,
417,
412,
29918,
17664,
353,
5844,
29889,
14939,
29898,
6707,
532,
29889,
12181,
29961,
29900,
16261,
3204,
10568,
29897,
13,
1678,
1634,
5795,
29918,
484,
19226,
353,
313,
484,
19226,
29918,
29879,
417,
412,
29918,
17664,
29930,
1492,
10568,
6802,
6707,
532,
29889,
12181,
29961,
29896,
29962,
13,
1678,
5141,
9169,
353,
7442,
29889,
29873,
488,
29898,
6707,
532,
29892,
5844,
29889,
27696,
29898,
3445,
5795,
29918,
484,
19226,
876,
13,
1678,
1492,
353,
7442,
29889,
279,
927,
29898,
29900,
22657,
484,
19226,
29918,
29879,
417,
412,
29918,
17664,
11877,
1266,
10568,
29892,
1492,
10568,
467,
579,
668,
29898,
524,
29897,
13,
1678,
1623,
353,
7442,
29889,
279,
927,
29898,
29900,
22657,
484,
19226,
29918,
29879,
417,
412,
29918,
17664,
11877,
3204,
10568,
29892,
3204,
10568,
467,
579,
668,
29898,
524,
29897,
13,
268,
13,
1678,
16229,
353,
5159,
13,
13,
1678,
363,
13607,
297,
3464,
29898,
2435,
29898,
1266,
22164,
13,
4706,
16229,
29889,
4397,
29898,
20908,
9169,
29961,
3204,
29961,
2236,
1402,
1492,
29961,
2236,
24960,
13,
268,
13,
1678,
19572,
353,
7442,
29889,
2083,
29898,
13529,
267,
29897,
13,
1678,
736,
19572,
13,
13,
3204,
29896,
29918,
1266,
29941,
353,
5141,
29918,
392,
29918,
2798,
29898,
29941,
29892,
29896,
29892,
8948,
292,
29897,
13,
3204,
29896,
29918,
1266,
29896,
353,
5141,
29918,
392,
29918,
2798,
29898,
29896,
29892,
29896,
29892,
8948,
292,
29897,
13,
3204,
29896,
29918,
1266,
29945,
353,
5141,
29918,
392,
29918,
2798,
29898,
29945,
29892,
29896,
29892,
8948,
292,
29897,
13,
3204,
29896,
29918,
1266,
29955,
353,
5141,
29918,
392,
29918,
2798,
29898,
29955,
29892,
29896,
29892,
8948,
292,
29897,
13,
3204,
29906,
29918,
1266,
29896,
353,
5141,
29918,
392,
29918,
2798,
29898,
29896,
29892,
29906,
29892,
8948,
292,
29897,
13,
13,
9902,
353,
7442,
29889,
2378,
4197,
3204,
29896,
29918,
1266,
29941,
29892,
1623,
29896,
29918,
1266,
29896,
29892,
1623,
29896,
29918,
1266,
29945,
29892,
1623,
29896,
29918,
1266,
29955,
29892,
1623,
29906,
29918,
1266,
29896,
1402,
26688,
29922,
9302,
29889,
524,
29953,
29946,
29897,
13,
2158,
29898,
9902,
29897,
29871,
13,
4704,
353,
7442,
29889,
10633,
29898,
9902,
29897,
13,
2158,
313,
4704,
29897,
13,
13,
13,
29937,
512,
29961,
4514,
29901,
13,
13,
13,
13,
13,
2
] |
PyOpdb/self_PyOpdb/format/handle.py | GodInLove/OPDB | 1 | 131641 | <filename>PyOpdb/self_PyOpdb/format/handle.py<gh_stars>1-10
import re
import os
import sys
import NCBI_API
def extract_Synonym(ref_path, result_path):
"""
:method: a method to change like "b0001" to "thrL"
:param ref_path: string
:param result_path: string
:return:void(some files in result_path)
"""
synonym = []
for item in os.listdir(ref_path):
if ".ptt" in item:
ptt_file = item
synonym = extract_Synonym_sub(ref_path + "/" + ptt_file, synonym)
if ".rnt" in item:
rnt_file = item
synonym = extract_Synonym_sub(ref_path + "/" + rnt_file, synonym)
# print(len(synoym))
for item in os.listdir(result_path):
if "operon" in item:
operon_file = item
f = open(result_path + "/" + operon_file, 'r')
content = f.read()
f.close()
# change like "b0001" to "thrL"
for it in synonym:
content = content.replace(it[0], it[1])
f = open(result_path + "/" + "_operon.txt", 'w')
f.write(content)
f.close()
os.system("rm " + result_path + "/*_operons.txt")
print("Operons written to file:\t" + result_path + "_operon.txt")
def extract_wig(wig_path, gff_path, result_path):
"""
:method: a method to convert wig to bigwig
:param wig_path: string
:param gff_path: string
:param result_path: string
:return: void(somefiles in result_path)
"""
# get chrome.sizes
chrome_path = result_path + "/chrome.size"
f = open(gff_path, 'r')
content = f.read()
f.close()
chrome = NCBI_API.findall_pat("\#\#sequence\-region ([NC\_0-9\.]+ 1 [0-9]+)", content)
chrome = chrome[0].split(" ")
f = open(chrome_path, 'w')
f.write(chrome[0] + "\t" + chrome[2] + "\n")
f.close()
# remove the "track_name" in wig file
f = open(wig_path, 'r')
trash = f.readline()
track = f.readline()
name = NCBI_API.findall_pat("chrom\=([NC\_0-9\.\|refgi]+)", track)
if len(name) == 1:
track = re.sub("chrom\=([NC\_0-9\.\|refgi]+)", "chrom=" + chrome[0], track)
content = f.read()
f.close()
os.system("rm " + wig_path)
f = open(wig_path, 'w')
f.write(track + "\n" + content)
f.close()
# run the bash to convert wig to bigwig
tools_path = "/home/lyd/Documents/OPDB/PyOpdb/tools/wigToBigwig"
# print(tools_path + " " + wig_path + " " + chrome_path + " " + result_path + "/operon.bw")
os.popen(tools_path + " " + wig_path + " " + chrome_path + " " + result_path + "/operon.bw")
def extract_Synonym_sub(infile, ref):
"""
:method: a sub-method
:param infile: string(path)
:param ref: string
:return:
"""
f = open(infile, 'r')
for i in range(0, 3):
f.readline()
while True:
line = f.readline().strip()
if not line:
break
li = line.split("\t")
ref.append([li[4], li[5]])
f.close()
return ref
def extract_3_4(infile, outfile):
f = open(infile, 'r')
out_f = open(outfile, 'w')
out_f.write("fwd,rev\n")
while True:
line = f.readline().strip()
if not line:
break
li = line.split()
out_f.write(li[2] + "," + li[3] + "\n")
f.close()
out_f.close()
def extract_some(infile, outfile):
f = open(infile, 'r')
out_f = open(outfile, 'w')
out_f.write("Start\tStop\tStrand\tNumber of Genes\tGenes\n")
line = f.readline()
pat = re.compile(r'\-')
while True:
line = f.readline().strip()
if not line:
break
li = line.split("\t")
li[7] = re.sub(pat, ",", li[7])
out_f.write(li[2] + "\t" + li[3] + "\t" + li[1] + "\t" + li[4] + "\t" + li[7] + "\n")
f.close()
out_f.close()
| [
1,
529,
9507,
29958,
19737,
11746,
2585,
29914,
1311,
29918,
19737,
11746,
2585,
29914,
4830,
29914,
8411,
29889,
2272,
29966,
12443,
29918,
303,
1503,
29958,
29896,
29899,
29896,
29900,
13,
5215,
337,
13,
13,
5215,
2897,
13,
13,
5215,
10876,
13,
13,
5215,
25166,
12809,
29918,
8787,
13,
13,
13,
1753,
6597,
29918,
29216,
4735,
29898,
999,
29918,
2084,
29892,
1121,
29918,
2084,
1125,
13,
1678,
9995,
13,
1678,
584,
5696,
29901,
263,
1158,
304,
1735,
763,
376,
29890,
29900,
29900,
29900,
29896,
29908,
304,
376,
386,
29878,
29931,
29908,
13,
1678,
584,
3207,
2143,
29918,
2084,
29901,
1347,
13,
1678,
584,
3207,
1121,
29918,
2084,
29901,
1347,
13,
1678,
584,
2457,
29901,
5405,
29898,
5372,
2066,
297,
1121,
29918,
2084,
29897,
13,
1678,
9995,
13,
1678,
5222,
4735,
353,
5159,
13,
1678,
363,
2944,
297,
2897,
29889,
1761,
3972,
29898,
999,
29918,
2084,
1125,
13,
4706,
565,
11393,
415,
29873,
29908,
297,
2944,
29901,
13,
9651,
282,
698,
29918,
1445,
353,
2944,
13,
9651,
5222,
4735,
353,
6597,
29918,
29216,
4735,
29918,
1491,
29898,
999,
29918,
2084,
718,
5591,
29908,
718,
282,
698,
29918,
1445,
29892,
5222,
4735,
29897,
13,
4706,
565,
11393,
29878,
593,
29908,
297,
2944,
29901,
13,
9651,
364,
593,
29918,
1445,
353,
2944,
13,
9651,
5222,
4735,
353,
6597,
29918,
29216,
4735,
29918,
1491,
29898,
999,
29918,
2084,
718,
5591,
29908,
718,
364,
593,
29918,
1445,
29892,
5222,
4735,
29897,
13,
1678,
396,
1596,
29898,
2435,
29898,
19274,
29877,
962,
876,
13,
1678,
363,
2944,
297,
2897,
29889,
1761,
3972,
29898,
2914,
29918,
2084,
1125,
13,
4706,
565,
376,
3372,
265,
29908,
297,
2944,
29901,
13,
9651,
1751,
265,
29918,
1445,
353,
2944,
13,
9651,
285,
353,
1722,
29898,
2914,
29918,
2084,
718,
5591,
29908,
718,
1751,
265,
29918,
1445,
29892,
525,
29878,
1495,
13,
9651,
2793,
353,
285,
29889,
949,
580,
13,
9651,
285,
29889,
5358,
580,
13,
9651,
396,
1735,
763,
376,
29890,
29900,
29900,
29900,
29896,
29908,
304,
376,
386,
29878,
29931,
29908,
13,
9651,
363,
372,
297,
5222,
4735,
29901,
13,
18884,
2793,
353,
2793,
29889,
6506,
29898,
277,
29961,
29900,
1402,
372,
29961,
29896,
2314,
13,
18884,
285,
353,
1722,
29898,
2914,
29918,
2084,
718,
5591,
29908,
718,
11119,
3372,
265,
29889,
3945,
613,
525,
29893,
1495,
13,
18884,
285,
29889,
3539,
29898,
3051,
29897,
13,
18884,
285,
29889,
5358,
580,
13,
1678,
2897,
29889,
5205,
703,
1758,
376,
718,
1121,
29918,
2084,
718,
376,
5515,
29918,
3372,
787,
29889,
3945,
1159,
13,
1678,
1596,
703,
7094,
787,
3971,
304,
934,
3583,
29873,
29908,
718,
1121,
29918,
2084,
718,
11119,
3372,
265,
29889,
3945,
1159,
13,
13,
13,
1753,
6597,
29918,
9192,
29898,
9192,
29918,
2084,
29892,
330,
600,
29918,
2084,
29892,
1121,
29918,
2084,
1125,
13,
1678,
9995,
13,
1678,
584,
5696,
29901,
263,
1158,
304,
3588,
281,
335,
304,
4802,
9192,
13,
1678,
584,
3207,
281,
335,
29918,
2084,
29901,
1347,
13,
1678,
584,
3207,
330,
600,
29918,
2084,
29901,
1347,
13,
1678,
584,
3207,
1121,
29918,
2084,
29901,
1347,
13,
1678,
584,
2457,
29901,
1780,
29898,
5372,
5325,
297,
1121,
29918,
2084,
29897,
13,
1678,
9995,
13,
1678,
396,
679,
16735,
29889,
29879,
7093,
13,
1678,
16735,
29918,
2084,
353,
1121,
29918,
2084,
718,
5591,
18114,
29889,
2311,
29908,
13,
1678,
285,
353,
1722,
29898,
29887,
600,
29918,
2084,
29892,
525,
29878,
1495,
13,
1678,
2793,
353,
285,
29889,
949,
580,
13,
1678,
285,
29889,
5358,
580,
13,
1678,
16735,
353,
25166,
12809,
29918,
8787,
29889,
2886,
497,
29918,
5031,
14182,
29937,
29905,
29937,
16506,
29905,
29899,
12803,
9310,
15868,
20122,
29900,
29899,
29929,
29905,
5586,
29974,
29871,
29896,
518,
29900,
29899,
29929,
10062,
19123,
2793,
29897,
13,
1678,
16735,
353,
16735,
29961,
29900,
1822,
5451,
703,
16521,
13,
1678,
285,
353,
1722,
29898,
18114,
29918,
2084,
29892,
525,
29893,
1495,
13,
1678,
285,
29889,
3539,
29898,
18114,
29961,
29900,
29962,
718,
6634,
29873,
29908,
718,
16735,
29961,
29906,
29962,
718,
6634,
29876,
1159,
13,
1678,
285,
29889,
5358,
580,
13,
1678,
396,
3349,
278,
376,
11294,
29918,
978,
29908,
297,
281,
335,
934,
13,
1678,
285,
353,
1722,
29898,
9192,
29918,
2084,
29892,
525,
29878,
1495,
13,
1678,
534,
1161,
353,
285,
29889,
949,
1220,
580,
13,
1678,
5702,
353,
285,
29889,
949,
1220,
580,
13,
1678,
1024,
353,
25166,
12809,
29918,
8787,
29889,
2886,
497,
29918,
5031,
703,
27433,
29905,
29922,
4197,
15868,
20122,
29900,
29899,
29929,
29905,
7790,
29989,
999,
3146,
10062,
19123,
5702,
29897,
13,
1678,
565,
7431,
29898,
978,
29897,
1275,
29871,
29896,
29901,
13,
4706,
5702,
353,
337,
29889,
1491,
703,
27433,
29905,
29922,
4197,
15868,
20122,
29900,
29899,
29929,
29905,
7790,
29989,
999,
3146,
10062,
19123,
376,
27433,
543,
718,
16735,
29961,
29900,
1402,
5702,
29897,
13,
1678,
2793,
353,
285,
29889,
949,
580,
13,
1678,
285,
29889,
5358,
580,
13,
1678,
2897,
29889,
5205,
703,
1758,
376,
718,
281,
335,
29918,
2084,
29897,
13,
1678,
285,
353,
1722,
29898,
9192,
29918,
2084,
29892,
525,
29893,
1495,
13,
1678,
285,
29889,
3539,
29898,
11294,
718,
6634,
29876,
29908,
718,
2793,
29897,
13,
1678,
285,
29889,
5358,
580,
13,
1678,
396,
1065,
278,
10891,
304,
3588,
281,
335,
304,
4802,
9192,
13,
1678,
8492,
29918,
2084,
353,
5591,
5184,
29914,
368,
29881,
29914,
20128,
29914,
4590,
4051,
29914,
19737,
11746,
2585,
29914,
8504,
29914,
9192,
1762,
6970,
9192,
29908,
13,
1678,
396,
1596,
29898,
8504,
29918,
2084,
718,
376,
376,
718,
281,
335,
29918,
2084,
718,
376,
376,
718,
16735,
29918,
2084,
718,
376,
376,
718,
1121,
29918,
2084,
718,
5591,
3372,
265,
29889,
29890,
29893,
1159,
13,
1678,
2897,
29889,
29886,
3150,
29898,
8504,
29918,
2084,
718,
376,
376,
718,
281,
335,
29918,
2084,
718,
376,
376,
718,
16735,
29918,
2084,
718,
376,
376,
718,
1121,
29918,
2084,
718,
5591,
3372,
265,
29889,
29890,
29893,
1159,
13,
13,
13,
1753,
6597,
29918,
29216,
4735,
29918,
1491,
29898,
262,
1445,
29892,
2143,
1125,
13,
1678,
9995,
13,
1678,
584,
5696,
29901,
263,
1014,
29899,
5696,
13,
1678,
584,
3207,
297,
1445,
29901,
1347,
29898,
2084,
29897,
13,
1678,
584,
3207,
2143,
29901,
1347,
13,
1678,
584,
2457,
29901,
13,
1678,
9995,
13,
1678,
285,
353,
1722,
29898,
262,
1445,
29892,
525,
29878,
1495,
13,
1678,
363,
474,
297,
3464,
29898,
29900,
29892,
29871,
29941,
1125,
13,
4706,
285,
29889,
949,
1220,
580,
13,
1678,
1550,
5852,
29901,
13,
4706,
1196,
353,
285,
29889,
949,
1220,
2141,
17010,
580,
13,
4706,
565,
451,
1196,
29901,
13,
9651,
2867,
13,
4706,
619,
353,
1196,
29889,
5451,
14182,
29873,
1159,
13,
4706,
2143,
29889,
4397,
4197,
492,
29961,
29946,
1402,
619,
29961,
29945,
24960,
13,
1678,
285,
29889,
5358,
580,
13,
1678,
736,
2143,
13,
13,
13,
1753,
6597,
29918,
29941,
29918,
29946,
29898,
262,
1445,
29892,
714,
1445,
1125,
13,
1678,
285,
353,
1722,
29898,
262,
1445,
29892,
525,
29878,
1495,
13,
1678,
714,
29918,
29888,
353,
1722,
29898,
449,
1445,
29892,
525,
29893,
1495,
13,
1678,
714,
29918,
29888,
29889,
3539,
703,
29888,
9970,
29892,
13478,
29905,
29876,
1159,
13,
1678,
1550,
5852,
29901,
13,
4706,
1196,
353,
285,
29889,
949,
1220,
2141,
17010,
580,
13,
4706,
565,
451,
1196,
29901,
13,
9651,
2867,
13,
4706,
619,
353,
1196,
29889,
5451,
580,
13,
4706,
714,
29918,
29888,
29889,
3539,
29898,
492,
29961,
29906,
29962,
718,
28796,
718,
619,
29961,
29941,
29962,
718,
6634,
29876,
1159,
13,
13,
1678,
285,
29889,
5358,
580,
13,
1678,
714,
29918,
29888,
29889,
5358,
580,
13,
13,
13,
1753,
6597,
29918,
5372,
29898,
262,
1445,
29892,
714,
1445,
1125,
13,
1678,
285,
353,
1722,
29898,
262,
1445,
29892,
525,
29878,
1495,
13,
1678,
714,
29918,
29888,
353,
1722,
29898,
449,
1445,
29892,
525,
29893,
1495,
13,
1678,
714,
29918,
29888,
29889,
3539,
703,
4763,
29905,
29873,
16329,
29905,
29873,
5015,
392,
29905,
29873,
4557,
310,
5739,
267,
29905,
29873,
15462,
267,
29905,
29876,
1159,
13,
1678,
1196,
353,
285,
29889,
949,
1220,
580,
13,
1678,
2373,
353,
337,
29889,
12198,
29898,
29878,
12764,
29899,
1495,
13,
1678,
1550,
5852,
29901,
13,
4706,
1196,
353,
285,
29889,
949,
1220,
2141,
17010,
580,
13,
4706,
565,
451,
1196,
29901,
13,
9651,
2867,
13,
4706,
619,
353,
1196,
29889,
5451,
14182,
29873,
1159,
13,
4706,
619,
29961,
29955,
29962,
353,
337,
29889,
1491,
29898,
5031,
29892,
9162,
613,
619,
29961,
29955,
2314,
13,
4706,
714,
29918,
29888,
29889,
3539,
29898,
492,
29961,
29906,
29962,
718,
6634,
29873,
29908,
718,
619,
29961,
29941,
29962,
718,
6634,
29873,
29908,
718,
619,
29961,
29896,
29962,
718,
6634,
29873,
29908,
718,
619,
29961,
29946,
29962,
718,
6634,
29873,
29908,
718,
619,
29961,
29955,
29962,
718,
6634,
29876,
1159,
13,
13,
1678,
285,
29889,
5358,
580,
13,
1678,
714,
29918,
29888,
29889,
5358,
580,
13,
2
] |
crossvalidation_pipeline.py | ktian08/6784-drugs | 1 | 26643 | # -*- coding: utf-8 -*-
"""
<NAME>
Computational Biologist
Target Sciences
GSK
<EMAIL>
"""
import sys
import get_generalizable_features
import get_merged_features
import get_useful_features
def main(validation_rep=0, validation_fold=0):
print('VALIDATION_REP: {0!s}, VALIDATION_FOLD:{1!s}'.format(validation_rep, validation_fold), flush=True)
print('GETTING GENERALIZABLE FEATURES...', flush=True)
get_generalizable_features.main(validation_rep, validation_fold)
print('GETTING MERGED FEATURES...', flush=True)
get_merged_features.main(validation_rep, validation_fold)
print('GETTING USEFUL FEATURES...', flush=True)
get_useful_features.main(validation_rep, validation_fold)
if __name__ == '__main__':
main(validation_rep=int(sys.argv[1]), validation_fold=int(sys.argv[2]))
| [
1,
396,
448,
29930,
29899,
14137,
29901,
23616,
29899,
29947,
448,
29930,
29899,
13,
15945,
29908,
13,
29966,
5813,
29958,
13,
20606,
1288,
3457,
19915,
13,
8667,
17253,
13,
10749,
29968,
13,
29966,
26862,
6227,
29958,
13,
15945,
29908,
13,
13,
5215,
10876,
13,
5215,
679,
29918,
17492,
13902,
29918,
22100,
13,
5215,
679,
29918,
1050,
3192,
29918,
22100,
13,
5215,
679,
29918,
1509,
1319,
29918,
22100,
13,
13,
1753,
1667,
29898,
18157,
29918,
3445,
29922,
29900,
29892,
8845,
29918,
8771,
29922,
29900,
1125,
13,
268,
13,
1678,
1596,
877,
26707,
8098,
29918,
1525,
29925,
29901,
426,
29900,
29991,
29879,
1118,
12599,
1367,
8098,
29918,
29943,
5607,
29928,
26254,
29896,
29991,
29879,
29913,
4286,
4830,
29898,
18157,
29918,
3445,
29892,
8845,
29918,
8771,
511,
28371,
29922,
5574,
29897,
13,
13,
1678,
1596,
877,
7194,
29911,
4214,
402,
1430,
1001,
1964,
26664,
6181,
383,
29923,
1299,
11499,
29903,
856,
742,
28371,
29922,
5574,
29897,
13,
1678,
679,
29918,
17492,
13902,
29918,
22100,
29889,
3396,
29898,
18157,
29918,
3445,
29892,
8845,
29918,
8771,
29897,
13,
268,
13,
1678,
1596,
877,
7194,
29911,
4214,
341,
1001,
1692,
29928,
383,
29923,
1299,
11499,
29903,
856,
742,
28371,
29922,
5574,
29897,
13,
1678,
679,
29918,
1050,
3192,
29918,
22100,
29889,
3396,
29898,
18157,
29918,
3445,
29892,
8845,
29918,
8771,
29897,
13,
268,
13,
1678,
1596,
877,
7194,
29911,
4214,
501,
1660,
29943,
13309,
383,
29923,
1299,
11499,
29903,
856,
742,
28371,
29922,
5574,
29897,
13,
1678,
679,
29918,
1509,
1319,
29918,
22100,
29889,
3396,
29898,
18157,
29918,
3445,
29892,
8845,
29918,
8771,
29897,
13,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
1678,
1667,
29898,
18157,
29918,
3445,
29922,
524,
29898,
9675,
29889,
19218,
29961,
29896,
11724,
8845,
29918,
8771,
29922,
524,
29898,
9675,
29889,
19218,
29961,
29906,
12622,
13,
2
] |
utils/nth_root.py | kbrose/project_euler | 1 | 1609301 | <filename>utils/nth_root.py
def nth_root(x,n): # credit http://stackoverflow.com/questions/356090/, <NAME>
"""Finds the integer component of the n'th root of x,
an integer such that y ** n <= x < (y + 1) ** n.
"""
high = 1
while high ** n < x:
high *= 2
low = high/2
while low < high:
mid = (low + high) / 2
if low < mid and mid**n < x:
low = mid
elif high > mid and mid**n > x:
high = mid
else:
return mid
return mid + 1
| [
1,
529,
9507,
29958,
13239,
29914,
20800,
29918,
4632,
29889,
2272,
13,
1753,
302,
386,
29918,
4632,
29898,
29916,
29892,
29876,
1125,
396,
16200,
1732,
597,
2417,
29889,
510,
29914,
2619,
29914,
29941,
29945,
29953,
29900,
29929,
29900,
19637,
529,
5813,
29958,
13,
1678,
9995,
12542,
29879,
278,
6043,
4163,
310,
278,
302,
29915,
386,
3876,
310,
921,
29892,
13,
1678,
385,
6043,
1316,
393,
343,
3579,
302,
5277,
921,
529,
313,
29891,
718,
29871,
29896,
29897,
3579,
302,
29889,
13,
1678,
9995,
13,
1678,
1880,
353,
29871,
29896,
13,
1678,
1550,
1880,
3579,
302,
529,
921,
29901,
13,
4706,
1880,
334,
29922,
29871,
29906,
13,
1678,
4482,
353,
1880,
29914,
29906,
13,
1678,
1550,
4482,
529,
1880,
29901,
13,
4706,
7145,
353,
313,
677,
718,
1880,
29897,
847,
29871,
29906,
13,
4706,
565,
4482,
529,
7145,
322,
7145,
1068,
29876,
529,
921,
29901,
13,
9651,
4482,
353,
7145,
13,
4706,
25342,
1880,
1405,
7145,
322,
7145,
1068,
29876,
1405,
921,
29901,
13,
9651,
1880,
353,
7145,
13,
4706,
1683,
29901,
13,
9651,
736,
7145,
13,
1678,
736,
7145,
718,
29871,
29896,
13,
2
] |
neo/test/coretest/test_irregularysampledsignal.py | alafuzof/python-neo | 0 | 130181 | # -*- coding: utf-8 -*-
"""
Tests of the neo.core.irregularlysampledsignal.IrregularySampledSignal class
"""
import unittest
import os
import pickle
import warnings
from copy import deepcopy
import numpy as np
import quantities as pq
from numpy.testing import assert_array_equal
from neo.core.dataobject import ArrayDict
try:
from IPython.lib.pretty import pretty
except ImportError as err:
HAVE_IPYTHON = False
else:
HAVE_IPYTHON = True
from neo.core.irregularlysampledsignal import IrregularlySampledSignal
from neo.core import Segment, ChannelIndex
from neo.core.baseneo import MergeError
from neo.test.tools import (assert_arrays_almost_equal, assert_arrays_equal,
assert_neo_object_is_compliant, assert_same_sub_schema,
assert_same_attributes, assert_same_annotations,
assert_same_array_annotations)
from neo.test.generate_datasets import (get_fake_value, get_fake_values, fake_neo,
TEST_ANNOTATIONS)
class Test__generate_datasets(unittest.TestCase):
def setUp(self):
np.random.seed(0)
self.annotations = dict(
[(str(x), TEST_ANNOTATIONS[x]) for x in range(len(TEST_ANNOTATIONS))])
def test__get_fake_values(self):
self.annotations['seed'] = 0
times = get_fake_value('times', pq.Quantity, seed=0, dim=1)
signal = get_fake_value('signal', pq.Quantity, seed=1, dim=2)
name = get_fake_value('name', str, seed=2, obj=IrregularlySampledSignal)
description = get_fake_value('description', str, seed=3, obj='IrregularlySampledSignal')
file_origin = get_fake_value('file_origin', str)
arr_ann = get_fake_value('array_annotations', dict, seed=5,
obj=IrregularlySampledSignal, n=1)
attrs1 = {'name': name, 'description': description, 'file_origin': file_origin}
attrs2 = attrs1.copy()
attrs2.update(self.annotations)
attrs2['array_annotations'] = arr_ann
res11 = get_fake_values(IrregularlySampledSignal, annotate=False, seed=0)
res12 = get_fake_values('IrregularlySampledSignal', annotate=False, seed=0)
res21 = get_fake_values(IrregularlySampledSignal, annotate=True, seed=0)
res22 = get_fake_values('IrregularlySampledSignal', annotate=True, seed=0)
assert_array_equal(res11.pop('times'), times)
assert_array_equal(res12.pop('times'), times)
assert_array_equal(res21.pop('times'), times)
assert_array_equal(res22.pop('times'), times)
assert_array_equal(res11.pop('signal'), signal)
assert_array_equal(res12.pop('signal'), signal)
assert_array_equal(res21.pop('signal'), signal)
assert_array_equal(res22.pop('signal'), signal)
self.assertEqual(res11, attrs1)
self.assertEqual(res12, attrs1)
# Array annotations need to be compared separately
# because numpy arrays define equality differently
arr_ann_res21 = res21.pop('array_annotations')
arr_ann_attrs2 = attrs2.pop('array_annotations')
self.assertEqual(res21, attrs2)
assert_arrays_equal(arr_ann_res21['valid'], arr_ann_attrs2['valid'])
assert_arrays_equal(arr_ann_res21['number'], arr_ann_attrs2['number'])
arr_ann_res22 = res22.pop('array_annotations')
self.assertEqual(res22, attrs2)
assert_arrays_equal(arr_ann_res22['valid'], arr_ann_attrs2['valid'])
assert_arrays_equal(arr_ann_res22['number'], arr_ann_attrs2['number'])
def test__fake_neo__cascade(self):
self.annotations['seed'] = None
obj_type = IrregularlySampledSignal
cascade = True
res = fake_neo(obj_type=obj_type, cascade=cascade)
self.assertTrue(isinstance(res, IrregularlySampledSignal))
assert_neo_object_is_compliant(res)
self.assertEqual(res.annotations, self.annotations)
def test__fake_neo__nocascade(self):
self.annotations['seed'] = None
obj_type = 'IrregularlySampledSignal'
cascade = False
res = fake_neo(obj_type=obj_type, cascade=cascade)
self.assertTrue(isinstance(res, IrregularlySampledSignal))
assert_neo_object_is_compliant(res)
self.assertEqual(res.annotations, self.annotations)
class TestIrregularlySampledSignalConstruction(unittest.TestCase):
def test_IrregularlySampledSignal_creation_times_units_signal_units(self):
params = {'test2': 'y1', 'test3': True}
arr_ann = {'anno1': [23], 'anno2': ['A']}
sig = IrregularlySampledSignal([1.1, 1.5, 1.7] * pq.ms, signal=[20., 40., 60.] * pq.mV,
name='test', description='tester', file_origin='test.file',
test1=1, array_annotations=arr_ann, **params)
sig.annotate(test1=1.1, test0=[1, 2])
assert_neo_object_is_compliant(sig)
assert_array_equal(sig.times, [1.1, 1.5, 1.7] * pq.ms)
assert_array_equal(np.asarray(sig).flatten(), np.array([20., 40., 60.]))
self.assertEqual(sig.units, pq.mV)
self.assertEqual(sig.name, 'test')
self.assertEqual(sig.description, 'tester')
self.assertEqual(sig.file_origin, 'test.file')
self.assertEqual(sig.annotations['test0'], [1, 2])
self.assertEqual(sig.annotations['test1'], 1.1)
self.assertEqual(sig.annotations['test2'], 'y1')
self.assertTrue(sig.annotations['test3'])
assert_arrays_equal(sig.array_annotations['anno1'], np.array([23]))
assert_arrays_equal(sig.array_annotations['anno2'], np.array(['A']))
self.assertIsInstance(sig.array_annotations, ArrayDict)
def test_IrregularlySampledSignal_creation_units_arg(self):
params = {'test2': 'y1', 'test3': True}
arr_ann = {'anno1': [23], 'anno2': ['A']}
sig = IrregularlySampledSignal([1.1, 1.5, 1.7], signal=[20., 40., 60.], units=pq.V,
time_units=pq.s, name='test', description='tester',
file_origin='test.file', test1=1,
array_annotations=arr_ann, **params)
sig.annotate(test1=1.1, test0=[1, 2])
assert_neo_object_is_compliant(sig)
assert_array_equal(sig.times, [1.1, 1.5, 1.7] * pq.s)
assert_array_equal(np.asarray(sig).flatten(), np.array([20., 40., 60.]))
self.assertEqual(sig.units, pq.V)
self.assertEqual(sig.name, 'test')
self.assertEqual(sig.description, 'tester')
self.assertEqual(sig.file_origin, 'test.file')
self.assertEqual(sig.annotations['test0'], [1, 2])
self.assertEqual(sig.annotations['test1'], 1.1)
self.assertEqual(sig.annotations['test2'], 'y1')
self.assertTrue(sig.annotations['test3'])
assert_arrays_equal(sig.array_annotations['anno1'], np.array([23]))
assert_arrays_equal(sig.array_annotations['anno2'], np.array(['A']))
self.assertIsInstance(sig.array_annotations, ArrayDict)
def test_IrregularlySampledSignal_creation_units_rescale(self):
params = {'test2': 'y1', 'test3': True}
arr_ann = {'anno1': [23], 'anno2': ['A']}
sig = IrregularlySampledSignal([1.1, 1.5, 1.7] * pq.s, signal=[2., 4., 6.] * pq.V,
units=pq.mV, time_units=pq.ms, name='test',
description='tester', file_origin='test.file', test1=1,
array_annotations=arr_ann, **params)
sig.annotate(test1=1.1, test0=[1, 2])
assert_neo_object_is_compliant(sig)
assert_array_equal(sig.times, [1100, 1500, 1700] * pq.ms)
assert_array_equal(np.asarray(sig).flatten(), np.array([2000., 4000., 6000.]))
self.assertEqual(sig.units, pq.mV)
self.assertEqual(sig.name, 'test')
self.assertEqual(sig.description, 'tester')
self.assertEqual(sig.file_origin, 'test.file')
self.assertEqual(sig.annotations['test0'], [1, 2])
self.assertEqual(sig.annotations['test1'], 1.1)
self.assertEqual(sig.annotations['test2'], 'y1')
self.assertTrue(sig.annotations['test3'])
assert_arrays_equal(sig.array_annotations['anno1'], np.array([23]))
assert_arrays_equal(sig.array_annotations['anno2'], np.array(['A']))
self.assertIsInstance(sig.array_annotations, ArrayDict)
def test_IrregularlySampledSignal_different_lens_ValueError(self):
times = [1.1, 1.5, 1.7] * pq.ms
signal = [20., 40., 60., 70.] * pq.mV
self.assertRaises(ValueError, IrregularlySampledSignal, times, signal)
def test_IrregularlySampledSignal_no_signal_units_ValueError(self):
times = [1.1, 1.5, 1.7] * pq.ms
signal = [20., 40., 60.]
self.assertRaises(ValueError, IrregularlySampledSignal, times, signal)
def test_IrregularlySampledSignal_no_time_units_ValueError(self):
times = [1.1, 1.5, 1.7]
signal = [20., 40., 60.] * pq.mV
self.assertRaises(ValueError, IrregularlySampledSignal, times, signal)
class TestIrregularlySampledSignalProperties(unittest.TestCase):
def setUp(self):
self.times = [np.arange(10.0) * pq.s, np.arange(-100.0, 100.0, 10.0) * pq.ms,
np.arange(100) * pq.ns]
self.data = [np.arange(10.0) * pq.nA, np.arange(-100.0, 100.0, 10.0) * pq.mV,
np.random.uniform(size=100) * pq.uV]
self.signals = [IrregularlySampledSignal(t, signal=D, testattr='test') for D, t in
zip(self.data, self.times)]
def test__compliant(self):
for signal in self.signals:
assert_neo_object_is_compliant(signal)
def test__t_start_getter(self):
for signal, times in zip(self.signals, self.times):
self.assertAlmostEqual(signal.t_start, times[0], delta=1e-15)
def test__t_stop_getter(self):
for signal, times in zip(self.signals, self.times):
self.assertAlmostEqual(signal.t_stop, times[-1], delta=1e-15)
def test__duration_getter(self):
for signal, times in zip(self.signals, self.times):
self.assertAlmostEqual(signal.duration, times[-1] - times[0], delta=1e-15)
def test__sampling_intervals_getter(self):
for signal, times in zip(self.signals, self.times):
assert_arrays_almost_equal(signal.sampling_intervals, np.diff(times), threshold=1e-15)
def test_IrregularlySampledSignal_repr(self):
sig = IrregularlySampledSignal([1.1, 1.5, 1.7] * pq.s, signal=[2., 4., 6.] * pq.V,
name='test', description='tester', file_origin='test.file',
test1=1)
assert_neo_object_is_compliant(sig)
if np.__version__.split(".")[:2] > ['1', '13']:
# see https://github.com/numpy/numpy/blob/master/doc/release/1.14.0-notes.rst#many
# -changes-to-array-printing-disableable-with-the-new-legacy-printing-mode
targ = (
'<IrregularlySampledSignal(array([[2.],\n [4.],\n [6.]]) * V '
'' + 'at times [1.1 1.5 1.7] s)>')
else:
targ = (
'<IrregularlySampledSignal(array([[ 2.],\n [ 4.],\n [ 6.]]) '
'* V ' + 'at times [ 1.1 1.5 1.7] s)>')
res = repr(sig)
self.assertEqual(targ, res)
class TestIrregularlySampledSignalArrayMethods(unittest.TestCase):
def setUp(self):
self.data1 = np.arange(10.0)
self.data1quant = self.data1 * pq.mV
self.time1 = np.logspace(1, 5, 10)
self.time1quant = self.time1 * pq.ms
self.arr_ann = {'anno1': [23], 'anno2': ['A']}
self.signal1 = IrregularlySampledSignal(self.time1quant, signal=self.data1quant,
name='spam', description='eggs',
file_origin='testfile.txt', arg1='test',
array_annotations=self.arr_ann)
self.signal1.segment = Segment()
self.signal1.channel_index = ChannelIndex([0])
def test__compliant(self):
assert_neo_object_is_compliant(self.signal1)
self.assertEqual(self.signal1.name, 'spam')
self.assertEqual(self.signal1.description, 'eggs')
self.assertEqual(self.signal1.file_origin, 'testfile.txt')
self.assertEqual(self.signal1.annotations, {'arg1': 'test'})
assert_arrays_equal(self.signal1.array_annotations['anno1'], np.array([23]))
assert_arrays_equal(self.signal1.array_annotations['anno2'], np.array(['A']))
self.assertIsInstance(self.signal1.array_annotations, ArrayDict)
def test__slice_should_return_IrregularlySampledSignal(self):
result = self.signal1[3:8]
self.assertIsInstance(result, IrregularlySampledSignal)
assert_neo_object_is_compliant(result)
self.assertEqual(result.name, 'spam')
self.assertEqual(result.description, 'eggs')
self.assertEqual(result.file_origin, 'testfile.txt')
self.assertEqual(result.annotations, {'arg1': 'test'})
self.assertEqual(result.size, 5)
self.assertEqual(result.t_start, self.time1quant[3])
self.assertEqual(result.t_stop, self.time1quant[7])
assert_array_equal(self.time1quant[3:8], result.times)
assert_array_equal(self.data1[3:8].reshape(-1, 1), result.magnitude)
# Test other attributes were copied over (in this case, defaults)
self.assertEqual(result.file_origin, self.signal1.file_origin)
self.assertEqual(result.name, self.signal1.name)
self.assertEqual(result.description, self.signal1.description)
self.assertEqual(result.annotations, self.signal1.annotations)
assert_arrays_equal(result.array_annotations['anno1'], np.array([23]))
assert_arrays_equal(result.array_annotations['anno2'], np.array(['A']))
self.assertIsInstance(result.array_annotations, ArrayDict)
def test__getitem_should_return_single_quantity(self):
self.assertEqual(self.signal1[0], 0 * pq.mV)
self.assertEqual(self.signal1[9], 9 * pq.mV)
self.assertRaises(IndexError, self.signal1.__getitem__, 10)
def test__getitem_out_of_bounds_IndexError(self):
self.assertRaises(IndexError, self.signal1.__getitem__, 10)
def test_comparison_operators(self):
assert_array_equal(self.signal1 >= 5 * pq.mV, np.array(
[[False, False, False, False, False, True, True, True, True, True]]).T)
assert_array_equal(self.signal1 == 5 * pq.mV, np.array(
[[False, False, False, False, False, True, False, False, False, False]]).T)
assert_array_equal(self.signal1 == self.signal1, np.array(
[[True, True, True, True, True, True, True, True, True, True]]).T)
def test__comparison_as_indexing_single_trace(self):
self.assertEqual(self.signal1[self.signal1 == 5], [5 * pq.mV])
def test__comparison_as_indexing_multi_trace(self):
signal = IrregularlySampledSignal(self.time1quant, np.arange(20).reshape((-1, 2)) * pq.V)
assert_array_equal(signal[signal < 10],
np.array([[0, 2, 4, 6, 8], [1, 3, 5, 7, 9]]).T * pq.V)
def test__indexing_keeps_order_across_channels(self):
# AnalogSignals with 10 traces each having 5 samples (eg. data[0] = [0,10,20,30,40])
data = np.array([range(10), range(10, 20), range(20, 30), range(30, 40), range(40, 50)])
mask = np.full((5, 10), fill_value=False, dtype=bool)
# selecting one entry per trace
mask[[0, 1, 0, 3, 0, 2, 4, 3, 1, 4], range(10)] = True
signal = IrregularlySampledSignal(np.arange(5) * pq.s, np.array(data) * pq.V)
assert_array_equal(signal[mask], np.array([[0, 11, 2, 33, 4, 25, 46, 37, 18, 49]]) * pq.V)
def test__indexing_keeps_order_across_time(self):
# AnalogSignals with 10 traces each having 5 samples (eg. data[0] = [0,10,20,30,40])
data = np.array([range(10), range(10, 20), range(20, 30), range(30, 40), range(40, 50)])
mask = np.full((5, 10), fill_value=False, dtype=bool)
# selecting two entries per trace
temporal_ids = [0, 1, 0, 3, 1, 2, 4, 2, 1, 4] + [4, 3, 2, 1, 0, 1, 2, 3, 2, 1]
mask[temporal_ids, list(range(10)) + list(range(10))] = True
signal = IrregularlySampledSignal(np.arange(5) * pq.s, np.array(data) * pq.V)
assert_array_equal(signal[mask], np.array([[0, 11, 2, 13, 4, 15, 26, 27, 18, 19],
[40, 31, 22, 33, 14, 25, 46, 37, 28,
49]]) * pq.V)
def test__comparison_with_inconsistent_units_should_raise_Exception(self):
self.assertRaises(ValueError, self.signal1.__gt__, 5 * pq.nA)
def test_simple_statistics(self):
targmean = self.signal1[:-1] * np.diff(self.time1quant).reshape(-1, 1)
targmean = targmean.sum() / (self.time1quant[-1] - self.time1quant[0])
self.assertEqual(self.signal1.max(), 9 * pq.mV)
self.assertEqual(self.signal1.min(), 0 * pq.mV)
self.assertEqual(self.signal1.mean(), targmean)
def test_mean_interpolation_NotImplementedError(self):
self.assertRaises(NotImplementedError, self.signal1.mean, True)
def test_resample_NotImplementedError(self):
self.assertRaises(NotImplementedError, self.signal1.resample, True)
def test__rescale_same(self):
result = self.signal1.copy()
result = result.rescale(pq.mV)
self.assertIsInstance(result, IrregularlySampledSignal)
assert_neo_object_is_compliant(result)
self.assertEqual(result.name, 'spam')
self.assertEqual(result.description, 'eggs')
self.assertEqual(result.file_origin, 'testfile.txt')
self.assertEqual(result.annotations, {'arg1': 'test'})
assert_arrays_equal(result.array_annotations['anno1'], np.array([23]))
assert_arrays_equal(result.array_annotations['anno2'], np.array(['A']))
self.assertIsInstance(result.array_annotations, ArrayDict)
self.assertEqual(result.units, 1 * pq.mV)
assert_array_equal(result.magnitude, self.data1.reshape(-1, 1))
assert_array_equal(result.times, self.time1quant)
assert_same_sub_schema(result, self.signal1)
self.assertIsInstance(result.channel_index, ChannelIndex)
self.assertIsInstance(result.segment, Segment)
self.assertIs(result.channel_index, self.signal1.channel_index)
self.assertIs(result.segment, self.signal1.segment)
def test__rescale_new(self):
result = self.signal1.copy()
result = result.rescale(pq.uV)
self.assertIsInstance(result, IrregularlySampledSignal)
assert_neo_object_is_compliant(result)
self.assertEqual(result.name, 'spam')
self.assertEqual(result.description, 'eggs')
self.assertEqual(result.file_origin, 'testfile.txt')
self.assertEqual(result.annotations, {'arg1': 'test'})
assert_arrays_equal(result.array_annotations['anno1'], np.array([23]))
assert_arrays_equal(result.array_annotations['anno2'], np.array(['A']))
self.assertIsInstance(result.array_annotations, ArrayDict)
self.assertEqual(result.units, 1 * pq.uV)
assert_arrays_almost_equal(np.array(result), self.data1.reshape(-1, 1) * 1000., 1e-10)
assert_array_equal(result.times, self.time1quant)
self.assertIsInstance(result.channel_index, ChannelIndex)
self.assertIsInstance(result.segment, Segment)
self.assertIs(result.channel_index, self.signal1.channel_index)
self.assertIs(result.segment, self.signal1.segment)
def test__rescale_new_incompatible_ValueError(self):
self.assertRaises(ValueError, self.signal1.rescale, pq.nA)
def test_time_slice(self):
targdataquant = [[1.0], [2.0], [3.0]] * pq.mV
targtime = np.logspace(1, 5, 10)
targtimequant = targtime[1:4] * pq.ms
targ_signal = IrregularlySampledSignal(targtimequant, signal=targdataquant, name='spam',
description='eggs', file_origin='testfile.txt',
arg1='test')
t_start = 15
t_stop = 250
result = self.signal1.time_slice(t_start, t_stop)
assert_array_equal(result, targ_signal)
assert_array_equal(result.times, targtimequant)
self.assertEqual(result.units, 1 * pq.mV)
self.assertIsInstance(result, IrregularlySampledSignal)
assert_neo_object_is_compliant(result)
self.assertEqual(result.name, 'spam')
self.assertEqual(result.description, 'eggs')
self.assertEqual(result.file_origin, 'testfile.txt')
self.assertEqual(result.annotations, {'arg1': 'test'})
assert_arrays_equal(result.array_annotations['anno1'], np.array([23]))
assert_arrays_equal(result.array_annotations['anno2'], np.array(['A']))
self.assertIsInstance(result.array_annotations, ArrayDict)
def test__time_slice_deepcopy_annotations(self):
params1 = {'test0': 'y1', 'test1': ['deeptest'], 'test2': True}
self.signal1.annotate(**params1)
result = self.signal1.time_slice(None, None)
# Change annotations of original
params2 = {'test0': 'y2', 'test2': False}
self.signal1.annotate(**params2)
self.signal1.annotations['test1'][0] = 'shallowtest'
self.assertNotEqual(self.signal1.annotations['test0'], result.annotations['test0'])
self.assertNotEqual(self.signal1.annotations['test1'], result.annotations['test1'])
self.assertNotEqual(self.signal1.annotations['test2'], result.annotations['test2'])
# Change annotations of result
params3 = {'test0': 'y3'}
result.annotate(**params3)
result.annotations['test1'][0] = 'shallowtest2'
self.assertNotEqual(self.signal1.annotations['test0'], result.annotations['test0'])
self.assertNotEqual(self.signal1.annotations['test1'], result.annotations['test1'])
self.assertNotEqual(self.signal1.annotations['test2'], result.annotations['test2'])
def test__time_slice_deepcopy_array_annotations(self):
length = self.signal1.shape[-1]
params1 = {'test0': ['y{}'.format(i) for i in range(length)],
'test1': ['deeptest' for i in range(length)],
'test2': [(-1)**i > 0 for i in range(length)]}
self.signal1.array_annotate(**params1)
result = self.signal1.time_slice(None, None)
# Change annotations of original
params2 = {'test0': ['x{}'.format(i) for i in range(length)],
'test2': [(-1) ** (i + 1) > 0 for i in range(length)]}
self.signal1.array_annotate(**params2)
self.signal1.array_annotations['test1'][0] = 'shallowtest'
self.assertFalse(all(self.signal1.array_annotations['test0']
== result.array_annotations['test0']))
self.assertFalse(all(self.signal1.array_annotations['test1']
== result.array_annotations['test1']))
self.assertFalse(all(self.signal1.array_annotations['test2']
== result.array_annotations['test2']))
# Change annotations of result
params3 = {'test0': ['z{}'.format(i) for i in range(1, result.shape[-1]+1)]}
result.array_annotate(**params3)
result.array_annotations['test1'][0] = 'shallow2'
self.assertFalse(all(self.signal1.array_annotations['test0']
== result.array_annotations['test0']))
self.assertFalse(all(self.signal1.array_annotations['test1']
== result.array_annotations['test1']))
self.assertFalse(all(self.signal1.array_annotations['test2']
== result.array_annotations['test2']))
def test__time_slice_deepcopy_data(self):
result = self.signal1.time_slice(None, None)
# Change values of original array
self.signal1[2] = 7.3*self.signal1.units
self.assertFalse(all(self.signal1 == result))
# Change values of sliced array
result[3] = 9.5*result.units
self.assertFalse(all(self.signal1 == result))
def test_time_slice_out_of_boundries(self):
targdataquant = self.data1quant
targtimequant = self.time1quant
targ_signal = IrregularlySampledSignal(targtimequant, signal=targdataquant, name='spam',
description='eggs', file_origin='testfile.txt',
arg1='test')
t_start = 0
t_stop = 2500000
result = self.signal1.time_slice(t_start, t_stop)
assert_array_equal(result, targ_signal)
assert_array_equal(result.times, targtimequant)
self.assertEqual(result.units, 1 * pq.mV)
self.assertIsInstance(result, IrregularlySampledSignal)
assert_neo_object_is_compliant(result)
self.assertEqual(result.name, 'spam')
self.assertEqual(result.description, 'eggs')
self.assertEqual(result.file_origin, 'testfile.txt')
self.assertEqual(result.annotations, {'arg1': 'test'})
assert_arrays_equal(result.array_annotations['anno1'], np.array([23]))
assert_arrays_equal(result.array_annotations['anno2'], np.array(['A']))
self.assertIsInstance(result.array_annotations, ArrayDict)
def test_time_slice_empty(self):
targdataquant = [] * pq.mV
targtimequant = [] * pq.ms
targ_signal = IrregularlySampledSignal(targtimequant, signal=targdataquant, name='spam',
description='eggs', file_origin='testfile.txt',
arg1='test')
t_start = 15
t_stop = 250
result = targ_signal.time_slice(t_start, t_stop)
assert_array_equal(result, targ_signal)
assert_array_equal(result.times, targtimequant)
self.assertEqual(result.units, 1 * pq.mV)
self.assertIsInstance(result, IrregularlySampledSignal)
assert_neo_object_is_compliant(result)
self.assertEqual(result.name, 'spam')
self.assertEqual(result.description, 'eggs')
self.assertEqual(result.file_origin, 'testfile.txt')
self.assertEqual(result.annotations, {'arg1': 'test'})
self.assertEqual(result.array_annotations, {})
self.assertIsInstance(result.array_annotations, ArrayDict)
def test_time_slice_none_stop(self):
targdataquant = [[1.0], [2.0], [3.0], [4.0], [5.0], [6.0], [7.0], [8.0], [9.0]] * pq.mV
targtime = np.logspace(1, 5, 10)
targtimequant = targtime[1:10] * pq.ms
targ_signal = IrregularlySampledSignal(targtimequant, signal=targdataquant, name='spam',
description='eggs', file_origin='testfile.txt',
arg1='test')
t_start = 15
t_stop = None
result = self.signal1.time_slice(t_start, t_stop)
assert_array_equal(result, targ_signal)
assert_array_equal(result.times, targtimequant)
self.assertEqual(result.units, 1 * pq.mV)
self.assertIsInstance(result, IrregularlySampledSignal)
assert_neo_object_is_compliant(result)
self.assertEqual(result.name, 'spam')
self.assertEqual(result.description, 'eggs')
self.assertEqual(result.file_origin, 'testfile.txt')
self.assertEqual(result.annotations, {'arg1': 'test'})
assert_arrays_equal(result.array_annotations['anno1'], np.array([23]))
assert_arrays_equal(result.array_annotations['anno2'], np.array(['A']))
self.assertIsInstance(result.array_annotations, ArrayDict)
def test_time_slice_none_start(self):
targdataquant = [[0.0], [1.0], [2.0], [3.0]] * pq.mV
targtime = np.logspace(1, 5, 10)
targtimequant = targtime[0:4] * pq.ms
targ_signal = IrregularlySampledSignal(targtimequant, signal=targdataquant, name='spam',
description='eggs', file_origin='testfile.txt',
arg1='test')
t_start = None
t_stop = 250
result = self.signal1.time_slice(t_start, t_stop)
assert_array_equal(result, targ_signal)
assert_array_equal(result.times, targtimequant)
self.assertEqual(result.units, 1 * pq.mV)
self.assertIsInstance(result, IrregularlySampledSignal)
assert_neo_object_is_compliant(result)
self.assertEqual(result.name, 'spam')
self.assertEqual(result.description, 'eggs')
self.assertEqual(result.file_origin, 'testfile.txt')
self.assertEqual(result.annotations, {'arg1': 'test'})
assert_arrays_equal(result.array_annotations['anno1'], np.array([23]))
assert_arrays_equal(result.array_annotations['anno2'], np.array(['A']))
self.assertIsInstance(result.array_annotations, ArrayDict)
def test_time_slice_none_both(self):
targdataquant = [[0.0], [1.0], [2.0], [3.0], [4.0], [5.0], [6.0], [7.0], [8.0],
[9.0]] * pq.mV
targtime = np.logspace(1, 5, 10)
targtimequant = targtime[0:10] * pq.ms
targ_signal = IrregularlySampledSignal(targtimequant, signal=targdataquant, name='spam',
description='eggs', file_origin='testfile.txt',
arg1='test')
t_start = None
t_stop = None
result = self.signal1.time_slice(t_start, t_stop)
assert_array_equal(result, targ_signal)
assert_array_equal(result.times, targtimequant)
self.assertEqual(result.units, 1 * pq.mV)
self.assertIsInstance(result, IrregularlySampledSignal)
assert_neo_object_is_compliant(result)
self.assertEqual(result.name, 'spam')
self.assertEqual(result.description, 'eggs')
self.assertEqual(result.file_origin, 'testfile.txt')
self.assertEqual(result.annotations, {'arg1': 'test'})
assert_arrays_equal(result.array_annotations['anno1'], np.array([23]))
assert_arrays_equal(result.array_annotations['anno2'], np.array(['A']))
self.assertIsInstance(result.array_annotations, ArrayDict)
def test_time_slice_differnt_units(self):
targdataquant = [[1.0], [2.0], [3.0]] * pq.mV
targtime = np.logspace(1, 5, 10)
targtimequant = targtime[1:4] * pq.ms
targ_signal = IrregularlySampledSignal(targtimequant, signal=targdataquant, name='spam',
description='eggs', file_origin='testfile.txt',
arg1='test')
t_start = 15
t_stop = 250
t_start = 0.015 * pq.s
t_stop = .250 * pq.s
result = self.signal1.time_slice(t_start, t_stop)
assert_array_equal(result, targ_signal)
assert_array_equal(result.times, targtimequant)
self.assertEqual(result.units, 1 * pq.mV)
self.assertIsInstance(result, IrregularlySampledSignal)
assert_neo_object_is_compliant(result)
self.assertEqual(result.name, 'spam')
self.assertEqual(result.description, 'eggs')
self.assertEqual(result.file_origin, 'testfile.txt')
self.assertEqual(result.annotations, {'arg1': 'test'})
assert_arrays_equal(result.array_annotations['anno1'], np.array([23]))
assert_arrays_equal(result.array_annotations['anno2'], np.array(['A']))
self.assertIsInstance(result.array_annotations, ArrayDict)
def test__time_slice_should_set_parents_to_None(self):
# When timeslicing, a deep copy is made,
# thus the reference to parent objects should be destroyed
result = self.signal1.time_slice(1 * pq.ms, 3 * pq.ms)
self.assertEqual(result.segment, None)
self.assertEqual(result.channel_index, None)
def test__deepcopy_should_set_parents_objects_to_None(self):
# Deepcopy should destroy references to parents
result = deepcopy(self.signal1)
self.assertEqual(result.segment, None)
self.assertEqual(result.channel_index, None)
def test__time_shift_same_attributes(self):
result = self.signal1.time_shift(1 * pq.ms)
assert_same_attributes(result, self.signal1, exclude=['times', 't_start', 't_stop'])
def test__time_shift_same_annotations(self):
result = self.signal1.time_shift(1 * pq.ms)
assert_same_annotations(result, self.signal1)
def test__time_shift_same_array_annotations(self):
result = self.signal1.time_shift(1 * pq.ms)
assert_same_array_annotations(result, self.signal1)
def test__time_shift_should_set_parents_to_None(self):
# When time-shifting, a deep copy is made,
# thus the reference to parent objects should be destroyed
result = self.signal1.time_shift(1 * pq.ms)
self.assertEqual(result.segment, None)
self.assertEqual(result.channel_index, None)
def test__time_shift_by_zero(self):
shifted = self.signal1.time_shift(0 * pq.ms)
assert_arrays_equal(shifted.times, self.signal1.times)
def test__time_shift_same_units(self):
shifted = self.signal1.time_shift(10 * pq.ms)
assert_arrays_equal(shifted.times, self.signal1.times + 10 * pq.ms)
def test__time_shift_different_units(self):
shifted = self.signal1.time_shift(1 * pq.s)
assert_arrays_equal(shifted.times, self.signal1.times + 1000 * pq.ms)
def test_as_array(self):
sig_as_arr = self.signal1.as_array()
self.assertIsInstance(sig_as_arr, np.ndarray)
assert_array_equal(self.data1, sig_as_arr.flat)
def test_as_quantity(self):
sig_as_q = self.signal1.as_quantity()
self.assertIsInstance(sig_as_q, pq.Quantity)
assert_array_equal(self.data1, sig_as_q.magnitude.flat)
def test__copy_should_preserve_parent_objects(self):
result = self.signal1.copy()
self.assertIs(result.segment, self.signal1.segment)
self.assertIs(result.channel_index, self.signal1.channel_index)
class TestIrregularlySampledSignalCombination(unittest.TestCase):
def setUp(self):
self.data1 = np.arange(10.0)
self.data1quant = self.data1 * pq.mV
self.time1 = np.logspace(1, 5, 10)
self.time1quant = self.time1 * pq.ms
self.arr_ann = {'anno1': [23], 'anno2': ['A']}
self.signal1 = IrregularlySampledSignal(self.time1quant, signal=self.data1quant,
name='spam', description='eggs',
file_origin='testfile.txt', arg1='test',
array_annotations=self.arr_ann)
def test__compliant(self):
assert_neo_object_is_compliant(self.signal1)
self.assertEqual(self.signal1.name, 'spam')
self.assertEqual(self.signal1.description, 'eggs')
self.assertEqual(self.signal1.file_origin, 'testfile.txt')
self.assertEqual(self.signal1.annotations, {'arg1': 'test'})
assert_arrays_equal(self.signal1.array_annotations['anno1'], np.array([23]))
assert_arrays_equal(self.signal1.array_annotations['anno2'], np.array(['A']))
self.assertIsInstance(self.signal1.array_annotations, ArrayDict)
def test__add_const_quantity_should_preserve_data_complement(self):
result = self.signal1 + 0.065 * pq.V
self.assertIsInstance(result, IrregularlySampledSignal)
assert_neo_object_is_compliant(result)
self.assertEqual(result.name, 'spam')
self.assertEqual(result.description, 'eggs')
self.assertEqual(result.file_origin, 'testfile.txt')
self.assertEqual(result.annotations, {'arg1': 'test'})
assert_arrays_equal(result.array_annotations['anno1'], np.array([23]))
assert_arrays_equal(result.array_annotations['anno2'], np.array(['A']))
self.assertIsInstance(result.array_annotations, ArrayDict)
assert_array_equal(result.magnitude, self.data1.reshape(-1, 1) + 65)
assert_array_equal(result.times, self.time1quant)
self.assertEqual(self.signal1[9], 9 * pq.mV)
self.assertEqual(result[9], 74 * pq.mV)
def test__add_two_consistent_signals_should_preserve_data_complement(self):
data2 = np.arange(10.0, 20.0)
data2quant = data2 * pq.mV
signal2 = IrregularlySampledSignal(self.time1quant, signal=data2quant)
assert_neo_object_is_compliant(signal2)
result = self.signal1 + signal2
self.assertIsInstance(result, IrregularlySampledSignal)
assert_neo_object_is_compliant(result)
self.assertEqual(result.name, 'spam')
self.assertEqual(result.description, 'eggs')
self.assertEqual(result.file_origin, 'testfile.txt')
self.assertEqual(result.annotations, {'arg1': 'test'})
assert_arrays_equal(result.array_annotations['anno1'], np.array([23]))
assert_arrays_equal(result.array_annotations['anno2'], np.array(['A']))
self.assertIsInstance(result.array_annotations, ArrayDict)
targ = IrregularlySampledSignal(self.time1quant, signal=np.arange(10.0, 30.0, 2.0),
units="mV", name='spam', description='eggs',
file_origin='testfile.txt', arg1='test')
assert_neo_object_is_compliant(targ)
assert_array_equal(result, targ)
assert_array_equal(self.time1quant, targ.times)
assert_array_equal(result.times, targ.times)
assert_same_sub_schema(result, targ)
def test__add_signals_with_inconsistent_times_AssertionError(self):
signal2 = IrregularlySampledSignal(self.time1quant * 2., signal=np.arange(10.0),
units="mV")
assert_neo_object_is_compliant(signal2)
self.assertRaises(ValueError, self.signal1.__add__, signal2)
def test__add_signals_with_inconsistent_dimension_ValueError(self):
signal2 = np.arange(20).reshape(2, 10)
self.assertRaises(ValueError, self.signal1.__add__, signal2)
def test__subtract_const_should_preserve_data_complement(self):
result = self.signal1 - 65 * pq.mV
self.assertIsInstance(result, IrregularlySampledSignal)
assert_neo_object_is_compliant(result)
self.assertEqual(result.name, 'spam')
self.assertEqual(result.description, 'eggs')
self.assertEqual(result.file_origin, 'testfile.txt')
self.assertEqual(result.annotations, {'arg1': 'test'})
assert_arrays_equal(result.array_annotations['anno1'], np.array([23]))
assert_arrays_equal(result.array_annotations['anno2'], np.array(['A']))
self.assertIsInstance(result.array_annotations, ArrayDict)
self.assertEqual(self.signal1[9], 9 * pq.mV)
self.assertEqual(result[9], -56 * pq.mV)
assert_array_equal(result.magnitude, (self.data1 - 65).reshape(-1, 1))
assert_array_equal(result.times, self.time1quant)
def test__subtract_from_const_should_return_signal(self):
result = 10 * pq.mV - self.signal1
self.assertIsInstance(result, IrregularlySampledSignal)
assert_neo_object_is_compliant(result)
self.assertEqual(result.name, 'spam')
self.assertEqual(result.description, 'eggs')
self.assertEqual(result.file_origin, 'testfile.txt')
self.assertEqual(result.annotations, {'arg1': 'test'})
assert_arrays_equal(result.array_annotations['anno1'], np.array([23]))
assert_arrays_equal(result.array_annotations['anno2'], np.array(['A']))
self.assertIsInstance(result.array_annotations, ArrayDict)
self.assertEqual(self.signal1[9], 9 * pq.mV)
self.assertEqual(result[9], 1 * pq.mV)
assert_array_equal(result.magnitude, (10 - self.data1).reshape(-1, 1))
assert_array_equal(result.times, self.time1quant)
def test__mult_signal_by_const_float_should_preserve_data_complement(self):
result = self.signal1 * 2.
self.assertIsInstance(result, IrregularlySampledSignal)
assert_neo_object_is_compliant(result)
self.assertEqual(result.name, 'spam')
self.assertEqual(result.description, 'eggs')
self.assertEqual(result.file_origin, 'testfile.txt')
self.assertEqual(result.annotations, {'arg1': 'test'})
assert_arrays_equal(result.array_annotations['anno1'], np.array([23]))
assert_arrays_equal(result.array_annotations['anno2'], np.array(['A']))
self.assertIsInstance(result.array_annotations, ArrayDict)
self.assertEqual(self.signal1[9], 9 * pq.mV)
self.assertEqual(result[9], 18 * pq.mV)
assert_array_equal(result.magnitude, self.data1.reshape(-1, 1) * 2)
assert_array_equal(result.times, self.time1quant)
def test__mult_signal_by_const_array_should_preserve_data_complement(self):
result = self.signal1 * np.array(2.)
self.assertIsInstance(result, IrregularlySampledSignal)
assert_neo_object_is_compliant(result)
self.assertEqual(result.name, 'spam')
self.assertEqual(result.description, 'eggs')
self.assertEqual(result.file_origin, 'testfile.txt')
self.assertEqual(result.annotations, {'arg1': 'test'})
assert_arrays_equal(result.array_annotations['anno1'], np.array([23]))
assert_arrays_equal(result.array_annotations['anno2'], np.array(['A']))
self.assertIsInstance(result.array_annotations, ArrayDict)
self.assertEqual(self.signal1[9], 9 * pq.mV)
self.assertEqual(result[9], 18 * pq.mV)
assert_array_equal(result.magnitude, self.data1.reshape(-1, 1) * 2)
assert_array_equal(result.times, self.time1quant)
def test__divide_signal_by_const_should_preserve_data_complement(self):
result = self.signal1 / 0.5
self.assertIsInstance(result, IrregularlySampledSignal)
assert_neo_object_is_compliant(result)
self.assertEqual(result.name, 'spam')
self.assertEqual(result.description, 'eggs')
self.assertEqual(result.file_origin, 'testfile.txt')
self.assertEqual(result.annotations, {'arg1': 'test'})
assert_arrays_equal(result.array_annotations['anno1'], np.array([23]))
assert_arrays_equal(result.array_annotations['anno2'], np.array(['A']))
self.assertIsInstance(result.array_annotations, ArrayDict)
self.assertEqual(self.signal1[9], 9 * pq.mV)
self.assertEqual(result[9], 18 * pq.mV)
assert_array_equal(result.magnitude, self.data1.reshape(-1, 1) / 0.5)
assert_array_equal(result.times, self.time1quant)
@unittest.skipUnless(HAVE_IPYTHON, "requires IPython")
def test__pretty(self):
res = pretty(self.signal1)
signal = self.signal1
targ = (("IrregularlySampledSignal with %d channels of length %d; units %s; datatype %s \n"
"" % (signal.shape[1], signal.shape[0], signal.units.dimensionality.unicode,
signal.dtype))
+ ("name: '%s'\ndescription: '%s'\n" % (signal.name, signal.description))
+ ("annotations: %s\n" % str(signal.annotations))
+ ("sample times: %s" % (signal.times[:10],)))
self.assertEqual(res, targ)
def test__merge(self):
data1 = np.arange(1000.0, 1066.0).reshape((11, 6)) * pq.uV
data2 = np.arange(2.0, 2.033, 0.001).reshape((11, 3)) * pq.mV
times1 = np.arange(11.0) * pq.ms
times2 = np.arange(1.0, 12.0) * pq.ms
arr_ann1 = {'anno1': np.arange(6), 'anno2': ['a', 'b', 'c', 'd', 'e', 'f']}
arr_ann2 = {'anno1': np.arange(100, 103), 'anno3': []}
signal1 = IrregularlySampledSignal(times1, data1, name='signal1',
description='test signal', file_origin='testfile.txt',
array_annotations=arr_ann1)
signal2 = IrregularlySampledSignal(times1, data2, name='signal2',
description='test signal', file_origin='testfile.txt',
array_annotations=arr_ann2)
signal3 = IrregularlySampledSignal(times2, data2, name='signal3',
description='test signal', file_origin='testfile.txt')
with warnings.catch_warnings(record=True) as w:
merged12 = signal1.merge(signal2)
self.assertTrue(len(w) == 1)
self.assertEqual(w[0].category, UserWarning)
self.assertSequenceEqual(str(w[0].message), "The following array annotations were "
"omitted, because they were only present"
" in one of the merged objects: "
"['anno2'] from the one that was merged "
"into and ['anno3'] from the one that "
"was merged into the other")
target_data12 = np.hstack([data1, data2.rescale(pq.uV)])
assert_neo_object_is_compliant(signal1)
assert_neo_object_is_compliant(signal2)
assert_neo_object_is_compliant(merged12)
self.assertAlmostEqual(merged12[5, 0], 1030.0 * pq.uV, 9)
self.assertAlmostEqual(merged12[5, 6], 2015.0 * pq.uV, 9)
self.assertEqual(merged12.name, 'merge(signal1, signal2)')
self.assertEqual(merged12.file_origin, 'testfile.txt')
assert_arrays_equal(merged12.array_annotations['anno1'],
np.array([0, 1, 2, 3, 4, 5, 100, 101, 102]))
self.assertIsInstance(merged12.array_annotations, ArrayDict)
assert_arrays_equal(merged12.magnitude, target_data12)
self.assertRaises(MergeError, signal1.merge, signal3)
class TestAnalogSignalFunctions(unittest.TestCase):
def test__pickle(self):
signal1 = IrregularlySampledSignal(np.arange(10.0) / 100 * pq.s, np.arange(10.0),
units="mV")
fobj = open('./pickle', 'wb')
pickle.dump(signal1, fobj)
fobj.close()
fobj = open('./pickle', 'rb')
try:
signal2 = pickle.load(fobj)
except ValueError:
signal2 = None
assert_array_equal(signal1, signal2)
fobj.close()
os.remove('./pickle')
class TestIrregularlySampledSignalEquality(unittest.TestCase):
def test__signals_with_different_times_should_be_not_equal(self):
signal1 = IrregularlySampledSignal(np.arange(10.0) / 100 * pq.s, np.arange(10.0),
units="mV")
signal2 = IrregularlySampledSignal(np.arange(10.0) / 100 * pq.ms, np.arange(10.0),
units="mV")
self.assertNotEqual(signal1, signal2)
if __name__ == "__main__":
unittest.main()
| [
1,
396,
448,
29930,
29899,
14137,
29901,
23616,
29899,
29947,
448,
29930,
29899,
13,
15945,
29908,
13,
24376,
310,
278,
452,
29877,
29889,
3221,
29889,
381,
15227,
368,
11249,
29881,
25436,
29889,
29902,
29878,
1727,
352,
653,
17708,
29881,
10140,
284,
770,
13,
15945,
29908,
13,
13,
5215,
443,
27958,
13,
13,
5215,
2897,
13,
5215,
5839,
280,
13,
5215,
18116,
13,
3166,
3509,
1053,
6483,
8552,
13,
13,
5215,
12655,
408,
7442,
13,
5215,
26855,
408,
282,
29939,
13,
3166,
12655,
29889,
13424,
1053,
4974,
29918,
2378,
29918,
11745,
13,
13,
3166,
452,
29877,
29889,
3221,
29889,
1272,
3318,
1053,
4398,
21533,
13,
13,
2202,
29901,
13,
1678,
515,
5641,
1656,
29889,
1982,
29889,
1457,
4349,
1053,
5051,
13,
19499,
16032,
2392,
408,
4589,
29901,
13,
1678,
379,
7520,
29923,
29918,
5690,
29979,
4690,
1164,
353,
7700,
13,
2870,
29901,
13,
1678,
379,
7520,
29923,
29918,
5690,
29979,
4690,
1164,
353,
5852,
13,
13,
3166,
452,
29877,
29889,
3221,
29889,
381,
15227,
368,
11249,
29881,
25436,
1053,
6600,
15227,
368,
17708,
29881,
10140,
284,
13,
3166,
452,
29877,
29889,
3221,
1053,
6667,
358,
29892,
17368,
3220,
13,
3166,
452,
29877,
29889,
3221,
29889,
6500,
1600,
29877,
1053,
4702,
479,
2392,
13,
3166,
452,
29877,
29889,
1688,
29889,
8504,
1053,
313,
9294,
29918,
2378,
29879,
29918,
284,
3242,
29918,
11745,
29892,
4974,
29918,
2378,
29879,
29918,
11745,
29892,
13,
462,
9651,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29892,
4974,
29918,
17642,
29918,
1491,
29918,
11010,
29892,
13,
462,
9651,
4974,
29918,
17642,
29918,
15697,
29892,
4974,
29918,
17642,
29918,
6735,
800,
29892,
13,
462,
9651,
4974,
29918,
17642,
29918,
2378,
29918,
6735,
800,
29897,
13,
3166,
452,
29877,
29889,
1688,
29889,
17158,
29918,
14538,
1691,
1053,
313,
657,
29918,
29888,
1296,
29918,
1767,
29892,
679,
29918,
29888,
1296,
29918,
5975,
29892,
25713,
29918,
11496,
29892,
13,
462,
462,
4706,
17067,
1254,
29918,
2190,
12256,
8098,
29903,
29897,
13,
13,
13,
1990,
4321,
1649,
17158,
29918,
14538,
1691,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
1678,
822,
731,
3373,
29898,
1311,
1125,
13,
4706,
7442,
29889,
8172,
29889,
26776,
29898,
29900,
29897,
13,
4706,
1583,
29889,
6735,
800,
353,
9657,
29898,
13,
9651,
17288,
710,
29898,
29916,
511,
17067,
1254,
29918,
2190,
12256,
8098,
29903,
29961,
29916,
2314,
363,
921,
297,
3464,
29898,
2435,
29898,
18267,
29918,
2190,
12256,
8098,
29903,
876,
2314,
13,
13,
1678,
822,
1243,
1649,
657,
29918,
29888,
1296,
29918,
5975,
29898,
1311,
1125,
13,
4706,
1583,
29889,
6735,
800,
1839,
26776,
2033,
353,
29871,
29900,
13,
4706,
3064,
353,
679,
29918,
29888,
1296,
29918,
1767,
877,
3706,
742,
282,
29939,
29889,
22930,
537,
29892,
16717,
29922,
29900,
29892,
3964,
29922,
29896,
29897,
13,
4706,
7182,
353,
679,
29918,
29888,
1296,
29918,
1767,
877,
25436,
742,
282,
29939,
29889,
22930,
537,
29892,
16717,
29922,
29896,
29892,
3964,
29922,
29906,
29897,
13,
4706,
1024,
353,
679,
29918,
29888,
1296,
29918,
1767,
877,
978,
742,
851,
29892,
16717,
29922,
29906,
29892,
5446,
29922,
29902,
29878,
15227,
368,
17708,
29881,
10140,
284,
29897,
13,
4706,
6139,
353,
679,
29918,
29888,
1296,
29918,
1767,
877,
8216,
742,
851,
29892,
16717,
29922,
29941,
29892,
5446,
2433,
29902,
29878,
15227,
368,
17708,
29881,
10140,
284,
1495,
13,
4706,
934,
29918,
12574,
353,
679,
29918,
29888,
1296,
29918,
1767,
877,
1445,
29918,
12574,
742,
851,
29897,
13,
4706,
3948,
29918,
812,
353,
679,
29918,
29888,
1296,
29918,
1767,
877,
2378,
29918,
6735,
800,
742,
9657,
29892,
16717,
29922,
29945,
29892,
13,
462,
462,
5446,
29922,
29902,
29878,
15227,
368,
17708,
29881,
10140,
284,
29892,
302,
29922,
29896,
29897,
13,
4706,
12421,
29879,
29896,
353,
11117,
978,
2396,
1024,
29892,
525,
8216,
2396,
6139,
29892,
525,
1445,
29918,
12574,
2396,
934,
29918,
12574,
29913,
13,
4706,
12421,
29879,
29906,
353,
12421,
29879,
29896,
29889,
8552,
580,
13,
4706,
12421,
29879,
29906,
29889,
5504,
29898,
1311,
29889,
6735,
800,
29897,
13,
4706,
12421,
29879,
29906,
1839,
2378,
29918,
6735,
800,
2033,
353,
3948,
29918,
812,
13,
13,
4706,
620,
29896,
29896,
353,
679,
29918,
29888,
1296,
29918,
5975,
29898,
29902,
29878,
15227,
368,
17708,
29881,
10140,
284,
29892,
9732,
403,
29922,
8824,
29892,
16717,
29922,
29900,
29897,
13,
4706,
620,
29896,
29906,
353,
679,
29918,
29888,
1296,
29918,
5975,
877,
29902,
29878,
15227,
368,
17708,
29881,
10140,
284,
742,
9732,
403,
29922,
8824,
29892,
16717,
29922,
29900,
29897,
13,
4706,
620,
29906,
29896,
353,
679,
29918,
29888,
1296,
29918,
5975,
29898,
29902,
29878,
15227,
368,
17708,
29881,
10140,
284,
29892,
9732,
403,
29922,
5574,
29892,
16717,
29922,
29900,
29897,
13,
4706,
620,
29906,
29906,
353,
679,
29918,
29888,
1296,
29918,
5975,
877,
29902,
29878,
15227,
368,
17708,
29881,
10140,
284,
742,
9732,
403,
29922,
5574,
29892,
16717,
29922,
29900,
29897,
13,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
690,
29896,
29896,
29889,
7323,
877,
3706,
5477,
3064,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
690,
29896,
29906,
29889,
7323,
877,
3706,
5477,
3064,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
690,
29906,
29896,
29889,
7323,
877,
3706,
5477,
3064,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
690,
29906,
29906,
29889,
7323,
877,
3706,
5477,
3064,
29897,
13,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
690,
29896,
29896,
29889,
7323,
877,
25436,
5477,
7182,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
690,
29896,
29906,
29889,
7323,
877,
25436,
5477,
7182,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
690,
29906,
29896,
29889,
7323,
877,
25436,
5477,
7182,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
690,
29906,
29906,
29889,
7323,
877,
25436,
5477,
7182,
29897,
13,
13,
4706,
1583,
29889,
9294,
9843,
29898,
690,
29896,
29896,
29892,
12421,
29879,
29896,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
690,
29896,
29906,
29892,
12421,
29879,
29896,
29897,
13,
4706,
396,
4398,
25495,
817,
304,
367,
9401,
16949,
13,
4706,
396,
1363,
12655,
7049,
4529,
17193,
17587,
13,
4706,
3948,
29918,
812,
29918,
690,
29906,
29896,
353,
620,
29906,
29896,
29889,
7323,
877,
2378,
29918,
6735,
800,
1495,
13,
4706,
3948,
29918,
812,
29918,
5552,
29879,
29906,
353,
12421,
29879,
29906,
29889,
7323,
877,
2378,
29918,
6735,
800,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
690,
29906,
29896,
29892,
12421,
29879,
29906,
29897,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2749,
29918,
812,
29918,
690,
29906,
29896,
1839,
3084,
7464,
3948,
29918,
812,
29918,
5552,
29879,
29906,
1839,
3084,
11287,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2749,
29918,
812,
29918,
690,
29906,
29896,
1839,
4537,
7464,
3948,
29918,
812,
29918,
5552,
29879,
29906,
1839,
4537,
11287,
13,
4706,
3948,
29918,
812,
29918,
690,
29906,
29906,
353,
620,
29906,
29906,
29889,
7323,
877,
2378,
29918,
6735,
800,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
690,
29906,
29906,
29892,
12421,
29879,
29906,
29897,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2749,
29918,
812,
29918,
690,
29906,
29906,
1839,
3084,
7464,
3948,
29918,
812,
29918,
5552,
29879,
29906,
1839,
3084,
11287,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2749,
29918,
812,
29918,
690,
29906,
29906,
1839,
4537,
7464,
3948,
29918,
812,
29918,
5552,
29879,
29906,
1839,
4537,
11287,
13,
13,
1678,
822,
1243,
1649,
29888,
1296,
29918,
11496,
1649,
9398,
6332,
29898,
1311,
1125,
13,
4706,
1583,
29889,
6735,
800,
1839,
26776,
2033,
353,
6213,
13,
4706,
5446,
29918,
1853,
353,
6600,
15227,
368,
17708,
29881,
10140,
284,
13,
4706,
3209,
6332,
353,
5852,
13,
4706,
620,
353,
25713,
29918,
11496,
29898,
5415,
29918,
1853,
29922,
5415,
29918,
1853,
29892,
3209,
6332,
29922,
9398,
6332,
29897,
13,
13,
4706,
1583,
29889,
9294,
5574,
29898,
275,
8758,
29898,
690,
29892,
6600,
15227,
368,
17708,
29881,
10140,
284,
876,
13,
4706,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29898,
690,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
690,
29889,
6735,
800,
29892,
1583,
29889,
6735,
800,
29897,
13,
13,
1678,
822,
1243,
1649,
29888,
1296,
29918,
11496,
1649,
10763,
294,
6332,
29898,
1311,
1125,
13,
4706,
1583,
29889,
6735,
800,
1839,
26776,
2033,
353,
6213,
13,
4706,
5446,
29918,
1853,
353,
525,
29902,
29878,
15227,
368,
17708,
29881,
10140,
284,
29915,
13,
4706,
3209,
6332,
353,
7700,
13,
4706,
620,
353,
25713,
29918,
11496,
29898,
5415,
29918,
1853,
29922,
5415,
29918,
1853,
29892,
3209,
6332,
29922,
9398,
6332,
29897,
13,
13,
4706,
1583,
29889,
9294,
5574,
29898,
275,
8758,
29898,
690,
29892,
6600,
15227,
368,
17708,
29881,
10140,
284,
876,
13,
4706,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29898,
690,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
690,
29889,
6735,
800,
29892,
1583,
29889,
6735,
800,
29897,
13,
13,
13,
1990,
4321,
29902,
29878,
15227,
368,
17708,
29881,
10140,
284,
12075,
4080,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
1678,
822,
1243,
29918,
29902,
29878,
15227,
368,
17708,
29881,
10140,
284,
29918,
1037,
362,
29918,
3706,
29918,
348,
1169,
29918,
25436,
29918,
348,
1169,
29898,
1311,
1125,
13,
4706,
8636,
353,
11117,
1688,
29906,
2396,
525,
29891,
29896,
742,
525,
1688,
29941,
2396,
5852,
29913,
13,
4706,
3948,
29918,
812,
353,
11117,
7665,
29896,
2396,
518,
29906,
29941,
1402,
525,
7665,
29906,
2396,
6024,
29909,
2033,
29913,
13,
4706,
4365,
353,
6600,
15227,
368,
17708,
29881,
10140,
284,
4197,
29896,
29889,
29896,
29892,
29871,
29896,
29889,
29945,
29892,
29871,
29896,
29889,
29955,
29962,
334,
282,
29939,
29889,
1516,
29892,
7182,
11759,
29906,
29900,
1696,
29871,
29946,
29900,
1696,
29871,
29953,
29900,
5586,
334,
282,
29939,
29889,
29885,
29963,
29892,
13,
462,
462,
539,
1024,
2433,
1688,
742,
6139,
2433,
1688,
261,
742,
934,
29918,
12574,
2433,
1688,
29889,
1445,
742,
13,
462,
462,
539,
1243,
29896,
29922,
29896,
29892,
1409,
29918,
6735,
800,
29922,
2749,
29918,
812,
29892,
3579,
7529,
29897,
13,
4706,
4365,
29889,
6735,
403,
29898,
1688,
29896,
29922,
29896,
29889,
29896,
29892,
1243,
29900,
11759,
29896,
29892,
29871,
29906,
2314,
13,
4706,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29898,
18816,
29897,
13,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
18816,
29889,
3706,
29892,
518,
29896,
29889,
29896,
29892,
29871,
29896,
29889,
29945,
29892,
29871,
29896,
29889,
29955,
29962,
334,
282,
29939,
29889,
1516,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
9302,
29889,
294,
2378,
29898,
18816,
467,
1579,
8606,
3285,
7442,
29889,
2378,
4197,
29906,
29900,
1696,
29871,
29946,
29900,
1696,
29871,
29953,
29900,
5586,
876,
13,
4706,
1583,
29889,
9294,
9843,
29898,
18816,
29889,
348,
1169,
29892,
282,
29939,
29889,
29885,
29963,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
18816,
29889,
978,
29892,
525,
1688,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
18816,
29889,
8216,
29892,
525,
1688,
261,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
18816,
29889,
1445,
29918,
12574,
29892,
525,
1688,
29889,
1445,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
18816,
29889,
6735,
800,
1839,
1688,
29900,
7464,
518,
29896,
29892,
29871,
29906,
2314,
13,
4706,
1583,
29889,
9294,
9843,
29898,
18816,
29889,
6735,
800,
1839,
1688,
29896,
7464,
29871,
29896,
29889,
29896,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
18816,
29889,
6735,
800,
1839,
1688,
29906,
7464,
525,
29891,
29896,
1495,
13,
4706,
1583,
29889,
9294,
5574,
29898,
18816,
29889,
6735,
800,
1839,
1688,
29941,
11287,
13,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
18816,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29896,
7464,
7442,
29889,
2378,
4197,
29906,
29941,
12622,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
18816,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29906,
7464,
7442,
29889,
2378,
18959,
29909,
25901,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
18816,
29889,
2378,
29918,
6735,
800,
29892,
4398,
21533,
29897,
13,
13,
1678,
822,
1243,
29918,
29902,
29878,
15227,
368,
17708,
29881,
10140,
284,
29918,
1037,
362,
29918,
348,
1169,
29918,
1191,
29898,
1311,
1125,
13,
4706,
8636,
353,
11117,
1688,
29906,
2396,
525,
29891,
29896,
742,
525,
1688,
29941,
2396,
5852,
29913,
13,
4706,
3948,
29918,
812,
353,
11117,
7665,
29896,
2396,
518,
29906,
29941,
1402,
525,
7665,
29906,
2396,
6024,
29909,
2033,
29913,
13,
4706,
4365,
353,
6600,
15227,
368,
17708,
29881,
10140,
284,
4197,
29896,
29889,
29896,
29892,
29871,
29896,
29889,
29945,
29892,
29871,
29896,
29889,
29955,
1402,
7182,
11759,
29906,
29900,
1696,
29871,
29946,
29900,
1696,
29871,
29953,
29900,
29889,
1402,
10340,
29922,
29886,
29939,
29889,
29963,
29892,
13,
462,
462,
539,
931,
29918,
348,
1169,
29922,
29886,
29939,
29889,
29879,
29892,
1024,
2433,
1688,
742,
6139,
2433,
1688,
261,
742,
13,
462,
462,
539,
934,
29918,
12574,
2433,
1688,
29889,
1445,
742,
1243,
29896,
29922,
29896,
29892,
13,
462,
462,
539,
1409,
29918,
6735,
800,
29922,
2749,
29918,
812,
29892,
3579,
7529,
29897,
13,
4706,
4365,
29889,
6735,
403,
29898,
1688,
29896,
29922,
29896,
29889,
29896,
29892,
1243,
29900,
11759,
29896,
29892,
29871,
29906,
2314,
13,
4706,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29898,
18816,
29897,
13,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
18816,
29889,
3706,
29892,
518,
29896,
29889,
29896,
29892,
29871,
29896,
29889,
29945,
29892,
29871,
29896,
29889,
29955,
29962,
334,
282,
29939,
29889,
29879,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
9302,
29889,
294,
2378,
29898,
18816,
467,
1579,
8606,
3285,
7442,
29889,
2378,
4197,
29906,
29900,
1696,
29871,
29946,
29900,
1696,
29871,
29953,
29900,
5586,
876,
13,
4706,
1583,
29889,
9294,
9843,
29898,
18816,
29889,
348,
1169,
29892,
282,
29939,
29889,
29963,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
18816,
29889,
978,
29892,
525,
1688,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
18816,
29889,
8216,
29892,
525,
1688,
261,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
18816,
29889,
1445,
29918,
12574,
29892,
525,
1688,
29889,
1445,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
18816,
29889,
6735,
800,
1839,
1688,
29900,
7464,
518,
29896,
29892,
29871,
29906,
2314,
13,
4706,
1583,
29889,
9294,
9843,
29898,
18816,
29889,
6735,
800,
1839,
1688,
29896,
7464,
29871,
29896,
29889,
29896,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
18816,
29889,
6735,
800,
1839,
1688,
29906,
7464,
525,
29891,
29896,
1495,
13,
4706,
1583,
29889,
9294,
5574,
29898,
18816,
29889,
6735,
800,
1839,
1688,
29941,
11287,
13,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
18816,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29896,
7464,
7442,
29889,
2378,
4197,
29906,
29941,
12622,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
18816,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29906,
7464,
7442,
29889,
2378,
18959,
29909,
25901,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
18816,
29889,
2378,
29918,
6735,
800,
29892,
4398,
21533,
29897,
13,
13,
1678,
822,
1243,
29918,
29902,
29878,
15227,
368,
17708,
29881,
10140,
284,
29918,
1037,
362,
29918,
348,
1169,
29918,
690,
29883,
744,
29898,
1311,
1125,
13,
4706,
8636,
353,
11117,
1688,
29906,
2396,
525,
29891,
29896,
742,
525,
1688,
29941,
2396,
5852,
29913,
13,
4706,
3948,
29918,
812,
353,
11117,
7665,
29896,
2396,
518,
29906,
29941,
1402,
525,
7665,
29906,
2396,
6024,
29909,
2033,
29913,
13,
4706,
4365,
353,
6600,
15227,
368,
17708,
29881,
10140,
284,
4197,
29896,
29889,
29896,
29892,
29871,
29896,
29889,
29945,
29892,
29871,
29896,
29889,
29955,
29962,
334,
282,
29939,
29889,
29879,
29892,
7182,
11759,
29906,
1696,
29871,
29946,
1696,
29871,
29953,
5586,
334,
282,
29939,
29889,
29963,
29892,
13,
462,
462,
539,
10340,
29922,
29886,
29939,
29889,
29885,
29963,
29892,
931,
29918,
348,
1169,
29922,
29886,
29939,
29889,
1516,
29892,
1024,
2433,
1688,
742,
13,
462,
462,
539,
6139,
2433,
1688,
261,
742,
934,
29918,
12574,
2433,
1688,
29889,
1445,
742,
1243,
29896,
29922,
29896,
29892,
13,
462,
462,
539,
1409,
29918,
6735,
800,
29922,
2749,
29918,
812,
29892,
3579,
7529,
29897,
13,
4706,
4365,
29889,
6735,
403,
29898,
1688,
29896,
29922,
29896,
29889,
29896,
29892,
1243,
29900,
11759,
29896,
29892,
29871,
29906,
2314,
13,
4706,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29898,
18816,
29897,
13,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
18816,
29889,
3706,
29892,
518,
29896,
29896,
29900,
29900,
29892,
29871,
29896,
29945,
29900,
29900,
29892,
29871,
29896,
29955,
29900,
29900,
29962,
334,
282,
29939,
29889,
1516,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
9302,
29889,
294,
2378,
29898,
18816,
467,
1579,
8606,
3285,
7442,
29889,
2378,
4197,
29906,
29900,
29900,
29900,
1696,
29871,
29946,
29900,
29900,
29900,
1696,
29871,
29953,
29900,
29900,
29900,
5586,
876,
13,
4706,
1583,
29889,
9294,
9843,
29898,
18816,
29889,
348,
1169,
29892,
282,
29939,
29889,
29885,
29963,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
18816,
29889,
978,
29892,
525,
1688,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
18816,
29889,
8216,
29892,
525,
1688,
261,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
18816,
29889,
1445,
29918,
12574,
29892,
525,
1688,
29889,
1445,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
18816,
29889,
6735,
800,
1839,
1688,
29900,
7464,
518,
29896,
29892,
29871,
29906,
2314,
13,
4706,
1583,
29889,
9294,
9843,
29898,
18816,
29889,
6735,
800,
1839,
1688,
29896,
7464,
29871,
29896,
29889,
29896,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
18816,
29889,
6735,
800,
1839,
1688,
29906,
7464,
525,
29891,
29896,
1495,
13,
4706,
1583,
29889,
9294,
5574,
29898,
18816,
29889,
6735,
800,
1839,
1688,
29941,
11287,
13,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
18816,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29896,
7464,
7442,
29889,
2378,
4197,
29906,
29941,
12622,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
18816,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29906,
7464,
7442,
29889,
2378,
18959,
29909,
25901,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
18816,
29889,
2378,
29918,
6735,
800,
29892,
4398,
21533,
29897,
13,
13,
1678,
822,
1243,
29918,
29902,
29878,
15227,
368,
17708,
29881,
10140,
284,
29918,
29881,
15622,
29918,
29880,
575,
29918,
1917,
2392,
29898,
1311,
1125,
13,
4706,
3064,
353,
518,
29896,
29889,
29896,
29892,
29871,
29896,
29889,
29945,
29892,
29871,
29896,
29889,
29955,
29962,
334,
282,
29939,
29889,
1516,
13,
4706,
7182,
353,
518,
29906,
29900,
1696,
29871,
29946,
29900,
1696,
29871,
29953,
29900,
1696,
29871,
29955,
29900,
5586,
334,
282,
29939,
29889,
29885,
29963,
13,
4706,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29892,
6600,
15227,
368,
17708,
29881,
10140,
284,
29892,
3064,
29892,
7182,
29897,
13,
13,
1678,
822,
1243,
29918,
29902,
29878,
15227,
368,
17708,
29881,
10140,
284,
29918,
1217,
29918,
25436,
29918,
348,
1169,
29918,
1917,
2392,
29898,
1311,
1125,
13,
4706,
3064,
353,
518,
29896,
29889,
29896,
29892,
29871,
29896,
29889,
29945,
29892,
29871,
29896,
29889,
29955,
29962,
334,
282,
29939,
29889,
1516,
13,
4706,
7182,
353,
518,
29906,
29900,
1696,
29871,
29946,
29900,
1696,
29871,
29953,
29900,
5586,
13,
4706,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29892,
6600,
15227,
368,
17708,
29881,
10140,
284,
29892,
3064,
29892,
7182,
29897,
13,
13,
1678,
822,
1243,
29918,
29902,
29878,
15227,
368,
17708,
29881,
10140,
284,
29918,
1217,
29918,
2230,
29918,
348,
1169,
29918,
1917,
2392,
29898,
1311,
1125,
13,
4706,
3064,
353,
518,
29896,
29889,
29896,
29892,
29871,
29896,
29889,
29945,
29892,
29871,
29896,
29889,
29955,
29962,
13,
4706,
7182,
353,
518,
29906,
29900,
1696,
29871,
29946,
29900,
1696,
29871,
29953,
29900,
5586,
334,
282,
29939,
29889,
29885,
29963,
13,
4706,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29892,
6600,
15227,
368,
17708,
29881,
10140,
284,
29892,
3064,
29892,
7182,
29897,
13,
13,
13,
1990,
4321,
29902,
29878,
15227,
368,
17708,
29881,
10140,
284,
11857,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
1678,
822,
731,
3373,
29898,
1311,
1125,
13,
4706,
1583,
29889,
3706,
353,
518,
9302,
29889,
279,
927,
29898,
29896,
29900,
29889,
29900,
29897,
334,
282,
29939,
29889,
29879,
29892,
7442,
29889,
279,
927,
6278,
29896,
29900,
29900,
29889,
29900,
29892,
29871,
29896,
29900,
29900,
29889,
29900,
29892,
29871,
29896,
29900,
29889,
29900,
29897,
334,
282,
29939,
29889,
1516,
29892,
13,
462,
418,
7442,
29889,
279,
927,
29898,
29896,
29900,
29900,
29897,
334,
282,
29939,
29889,
1983,
29962,
13,
4706,
1583,
29889,
1272,
353,
518,
9302,
29889,
279,
927,
29898,
29896,
29900,
29889,
29900,
29897,
334,
282,
29939,
29889,
29876,
29909,
29892,
7442,
29889,
279,
927,
6278,
29896,
29900,
29900,
29889,
29900,
29892,
29871,
29896,
29900,
29900,
29889,
29900,
29892,
29871,
29896,
29900,
29889,
29900,
29897,
334,
282,
29939,
29889,
29885,
29963,
29892,
13,
462,
268,
7442,
29889,
8172,
29889,
29590,
29898,
2311,
29922,
29896,
29900,
29900,
29897,
334,
282,
29939,
29889,
29884,
29963,
29962,
13,
4706,
1583,
29889,
4530,
1338,
353,
518,
29902,
29878,
15227,
368,
17708,
29881,
10140,
284,
29898,
29873,
29892,
7182,
29922,
29928,
29892,
1243,
5552,
2433,
1688,
1495,
363,
360,
29892,
260,
297,
13,
462,
4706,
14319,
29898,
1311,
29889,
1272,
29892,
1583,
29889,
3706,
4638,
13,
13,
1678,
822,
1243,
1649,
2388,
492,
424,
29898,
1311,
1125,
13,
4706,
363,
7182,
297,
1583,
29889,
4530,
1338,
29901,
13,
9651,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29898,
25436,
29897,
13,
13,
1678,
822,
1243,
1649,
29873,
29918,
2962,
29918,
657,
357,
29898,
1311,
1125,
13,
4706,
363,
7182,
29892,
3064,
297,
14319,
29898,
1311,
29889,
4530,
1338,
29892,
1583,
29889,
3706,
1125,
13,
9651,
1583,
29889,
9294,
2499,
3242,
9843,
29898,
25436,
29889,
29873,
29918,
2962,
29892,
3064,
29961,
29900,
1402,
19471,
29922,
29896,
29872,
29899,
29896,
29945,
29897,
13,
13,
1678,
822,
1243,
1649,
29873,
29918,
9847,
29918,
657,
357,
29898,
1311,
1125,
13,
4706,
363,
7182,
29892,
3064,
297,
14319,
29898,
1311,
29889,
4530,
1338,
29892,
1583,
29889,
3706,
1125,
13,
9651,
1583,
29889,
9294,
2499,
3242,
9843,
29898,
25436,
29889,
29873,
29918,
9847,
29892,
3064,
14352,
29896,
1402,
19471,
29922,
29896,
29872,
29899,
29896,
29945,
29897,
13,
13,
1678,
822,
1243,
1649,
19708,
29918,
657,
357,
29898,
1311,
1125,
13,
4706,
363,
7182,
29892,
3064,
297,
14319,
29898,
1311,
29889,
4530,
1338,
29892,
1583,
29889,
3706,
1125,
13,
9651,
1583,
29889,
9294,
2499,
3242,
9843,
29898,
25436,
29889,
19708,
29892,
3064,
14352,
29896,
29962,
448,
3064,
29961,
29900,
1402,
19471,
29922,
29896,
29872,
29899,
29896,
29945,
29897,
13,
13,
1678,
822,
1243,
1649,
13445,
10335,
29918,
19207,
29879,
29918,
657,
357,
29898,
1311,
1125,
13,
4706,
363,
7182,
29892,
3064,
297,
14319,
29898,
1311,
29889,
4530,
1338,
29892,
1583,
29889,
3706,
1125,
13,
9651,
4974,
29918,
2378,
29879,
29918,
284,
3242,
29918,
11745,
29898,
25436,
29889,
13445,
10335,
29918,
19207,
29879,
29892,
7442,
29889,
12765,
29898,
3706,
511,
16897,
29922,
29896,
29872,
29899,
29896,
29945,
29897,
13,
13,
1678,
822,
1243,
29918,
29902,
29878,
15227,
368,
17708,
29881,
10140,
284,
29918,
276,
558,
29898,
1311,
1125,
13,
4706,
4365,
353,
6600,
15227,
368,
17708,
29881,
10140,
284,
4197,
29896,
29889,
29896,
29892,
29871,
29896,
29889,
29945,
29892,
29871,
29896,
29889,
29955,
29962,
334,
282,
29939,
29889,
29879,
29892,
7182,
11759,
29906,
1696,
29871,
29946,
1696,
29871,
29953,
5586,
334,
282,
29939,
29889,
29963,
29892,
13,
462,
462,
539,
1024,
2433,
1688,
742,
6139,
2433,
1688,
261,
742,
934,
29918,
12574,
2433,
1688,
29889,
1445,
742,
13,
462,
462,
539,
1243,
29896,
29922,
29896,
29897,
13,
4706,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29898,
18816,
29897,
13,
13,
4706,
565,
7442,
17255,
3259,
26914,
5451,
17350,
1159,
7503,
29906,
29962,
1405,
6024,
29896,
742,
525,
29896,
29941,
2033,
29901,
13,
9651,
396,
1074,
2045,
597,
3292,
29889,
510,
29914,
23749,
29914,
23749,
29914,
10054,
29914,
6207,
29914,
1514,
29914,
14096,
29914,
29896,
29889,
29896,
29946,
29889,
29900,
29899,
16953,
29889,
29878,
303,
29937,
13011,
13,
9651,
396,
448,
25990,
29899,
517,
29899,
2378,
29899,
2158,
292,
29899,
20472,
519,
29899,
2541,
29899,
1552,
29899,
1482,
29899,
1397,
4135,
29899,
2158,
292,
29899,
8513,
13,
9651,
260,
1191,
353,
313,
13,
18884,
12801,
29902,
29878,
15227,
368,
17708,
29881,
10140,
284,
29898,
2378,
4197,
29961,
29906,
29889,
1402,
29905,
29876,
539,
518,
29946,
29889,
1402,
29905,
29876,
539,
518,
29953,
5586,
2314,
334,
478,
525,
13,
18884,
6629,
718,
525,
271,
3064,
518,
29896,
29889,
29896,
29871,
29896,
29889,
29945,
29871,
29896,
29889,
29955,
29962,
269,
15410,
1495,
13,
4706,
1683,
29901,
13,
9651,
260,
1191,
353,
313,
13,
18884,
12801,
29902,
29878,
15227,
368,
17708,
29881,
10140,
284,
29898,
2378,
4197,
29961,
29871,
29906,
29889,
1402,
29905,
29876,
539,
518,
29871,
29946,
29889,
1402,
29905,
29876,
539,
518,
29871,
29953,
5586,
2314,
525,
13,
18884,
525,
29930,
478,
525,
718,
525,
271,
3064,
518,
29871,
29896,
29889,
29896,
259,
29896,
29889,
29945,
259,
29896,
29889,
29955,
29962,
269,
15410,
1495,
13,
4706,
620,
353,
2062,
29898,
18816,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
29873,
1191,
29892,
620,
29897,
13,
13,
13,
1990,
4321,
29902,
29878,
15227,
368,
17708,
29881,
10140,
284,
2588,
26112,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
1678,
822,
731,
3373,
29898,
1311,
1125,
13,
4706,
1583,
29889,
1272,
29896,
353,
7442,
29889,
279,
927,
29898,
29896,
29900,
29889,
29900,
29897,
13,
4706,
1583,
29889,
1272,
29896,
12150,
353,
1583,
29889,
1272,
29896,
334,
282,
29939,
29889,
29885,
29963,
13,
4706,
1583,
29889,
2230,
29896,
353,
7442,
29889,
1188,
3493,
29898,
29896,
29892,
29871,
29945,
29892,
29871,
29896,
29900,
29897,
13,
4706,
1583,
29889,
2230,
29896,
12150,
353,
1583,
29889,
2230,
29896,
334,
282,
29939,
29889,
1516,
13,
4706,
1583,
29889,
2749,
29918,
812,
353,
11117,
7665,
29896,
2396,
518,
29906,
29941,
1402,
525,
7665,
29906,
2396,
6024,
29909,
2033,
29913,
13,
4706,
1583,
29889,
25436,
29896,
353,
6600,
15227,
368,
17708,
29881,
10140,
284,
29898,
1311,
29889,
2230,
29896,
12150,
29892,
7182,
29922,
1311,
29889,
1272,
29896,
12150,
29892,
13,
462,
462,
18884,
1024,
2433,
1028,
314,
742,
6139,
2433,
387,
3174,
742,
13,
462,
462,
18884,
934,
29918,
12574,
2433,
1688,
1445,
29889,
3945,
742,
1852,
29896,
2433,
1688,
742,
13,
462,
462,
18884,
1409,
29918,
6735,
800,
29922,
1311,
29889,
2749,
29918,
812,
29897,
13,
4706,
1583,
29889,
25436,
29896,
29889,
28192,
353,
6667,
358,
580,
13,
4706,
1583,
29889,
25436,
29896,
29889,
12719,
29918,
2248,
353,
17368,
3220,
4197,
29900,
2314,
13,
13,
1678,
822,
1243,
1649,
2388,
492,
424,
29898,
1311,
1125,
13,
4706,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29898,
1311,
29889,
25436,
29896,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1311,
29889,
25436,
29896,
29889,
978,
29892,
525,
1028,
314,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1311,
29889,
25436,
29896,
29889,
8216,
29892,
525,
387,
3174,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1311,
29889,
25436,
29896,
29889,
1445,
29918,
12574,
29892,
525,
1688,
1445,
29889,
3945,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1311,
29889,
25436,
29896,
29889,
6735,
800,
29892,
11117,
1191,
29896,
2396,
525,
1688,
29915,
1800,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
1311,
29889,
25436,
29896,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29896,
7464,
7442,
29889,
2378,
4197,
29906,
29941,
12622,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
1311,
29889,
25436,
29896,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29906,
7464,
7442,
29889,
2378,
18959,
29909,
25901,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
1311,
29889,
25436,
29896,
29889,
2378,
29918,
6735,
800,
29892,
4398,
21533,
29897,
13,
13,
1678,
822,
1243,
1649,
18337,
29918,
9344,
29918,
2457,
29918,
29902,
29878,
15227,
368,
17708,
29881,
10140,
284,
29898,
1311,
1125,
13,
4706,
1121,
353,
1583,
29889,
25436,
29896,
29961,
29941,
29901,
29947,
29962,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29892,
6600,
15227,
368,
17708,
29881,
10140,
284,
29897,
13,
4706,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29898,
2914,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
978,
29892,
525,
1028,
314,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
8216,
29892,
525,
387,
3174,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
1445,
29918,
12574,
29892,
525,
1688,
1445,
29889,
3945,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
6735,
800,
29892,
11117,
1191,
29896,
2396,
525,
1688,
29915,
1800,
13,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
2311,
29892,
29871,
29945,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
29873,
29918,
2962,
29892,
1583,
29889,
2230,
29896,
12150,
29961,
29941,
2314,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
29873,
29918,
9847,
29892,
1583,
29889,
2230,
29896,
12150,
29961,
29955,
2314,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
1311,
29889,
2230,
29896,
12150,
29961,
29941,
29901,
29947,
1402,
1121,
29889,
3706,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
1311,
29889,
1272,
29896,
29961,
29941,
29901,
29947,
1822,
690,
14443,
6278,
29896,
29892,
29871,
29896,
511,
1121,
29889,
29885,
4211,
4279,
29897,
13,
13,
4706,
396,
4321,
916,
8393,
892,
13746,
975,
313,
262,
445,
1206,
29892,
21274,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
1445,
29918,
12574,
29892,
1583,
29889,
25436,
29896,
29889,
1445,
29918,
12574,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
978,
29892,
1583,
29889,
25436,
29896,
29889,
978,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
8216,
29892,
1583,
29889,
25436,
29896,
29889,
8216,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
6735,
800,
29892,
1583,
29889,
25436,
29896,
29889,
6735,
800,
29897,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2914,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29896,
7464,
7442,
29889,
2378,
4197,
29906,
29941,
12622,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2914,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29906,
7464,
7442,
29889,
2378,
18959,
29909,
25901,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29889,
2378,
29918,
6735,
800,
29892,
4398,
21533,
29897,
13,
13,
1678,
822,
1243,
1649,
657,
667,
29918,
9344,
29918,
2457,
29918,
14369,
29918,
22640,
29898,
1311,
1125,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1311,
29889,
25436,
29896,
29961,
29900,
1402,
29871,
29900,
334,
282,
29939,
29889,
29885,
29963,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1311,
29889,
25436,
29896,
29961,
29929,
1402,
29871,
29929,
334,
282,
29939,
29889,
29885,
29963,
29897,
13,
4706,
1583,
29889,
9294,
29934,
1759,
267,
29898,
3220,
2392,
29892,
1583,
29889,
25436,
29896,
17255,
657,
667,
1649,
29892,
29871,
29896,
29900,
29897,
13,
13,
1678,
822,
1243,
1649,
657,
667,
29918,
449,
29918,
974,
29918,
23687,
29918,
3220,
2392,
29898,
1311,
1125,
13,
4706,
1583,
29889,
9294,
29934,
1759,
267,
29898,
3220,
2392,
29892,
1583,
29889,
25436,
29896,
17255,
657,
667,
1649,
29892,
29871,
29896,
29900,
29897,
13,
13,
1678,
822,
1243,
29918,
510,
20941,
29918,
3372,
4097,
29898,
1311,
1125,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
1311,
29889,
25436,
29896,
6736,
29871,
29945,
334,
282,
29939,
29889,
29885,
29963,
29892,
7442,
29889,
2378,
29898,
13,
9651,
5519,
8824,
29892,
7700,
29892,
7700,
29892,
7700,
29892,
7700,
29892,
5852,
29892,
5852,
29892,
5852,
29892,
5852,
29892,
5852,
5262,
467,
29911,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
1311,
29889,
25436,
29896,
1275,
29871,
29945,
334,
282,
29939,
29889,
29885,
29963,
29892,
7442,
29889,
2378,
29898,
13,
9651,
5519,
8824,
29892,
7700,
29892,
7700,
29892,
7700,
29892,
7700,
29892,
5852,
29892,
7700,
29892,
7700,
29892,
7700,
29892,
7700,
5262,
467,
29911,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
1311,
29889,
25436,
29896,
1275,
1583,
29889,
25436,
29896,
29892,
7442,
29889,
2378,
29898,
13,
9651,
5519,
5574,
29892,
5852,
29892,
5852,
29892,
5852,
29892,
5852,
29892,
5852,
29892,
5852,
29892,
5852,
29892,
5852,
29892,
5852,
5262,
467,
29911,
29897,
13,
13,
1678,
822,
1243,
1649,
510,
20941,
29918,
294,
29918,
2248,
292,
29918,
14369,
29918,
15003,
29898,
1311,
1125,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1311,
29889,
25436,
29896,
29961,
1311,
29889,
25436,
29896,
1275,
29871,
29945,
1402,
518,
29945,
334,
282,
29939,
29889,
29885,
29963,
2314,
13,
13,
1678,
822,
1243,
1649,
510,
20941,
29918,
294,
29918,
2248,
292,
29918,
9910,
29918,
15003,
29898,
1311,
1125,
13,
4706,
7182,
353,
6600,
15227,
368,
17708,
29881,
10140,
284,
29898,
1311,
29889,
2230,
29896,
12150,
29892,
7442,
29889,
279,
927,
29898,
29906,
29900,
467,
690,
14443,
3552,
29899,
29896,
29892,
29871,
29906,
876,
334,
282,
29939,
29889,
29963,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
25436,
29961,
25436,
529,
29871,
29896,
29900,
1402,
13,
462,
965,
7442,
29889,
2378,
4197,
29961,
29900,
29892,
29871,
29906,
29892,
29871,
29946,
29892,
29871,
29953,
29892,
29871,
29947,
1402,
518,
29896,
29892,
29871,
29941,
29892,
29871,
29945,
29892,
29871,
29955,
29892,
29871,
29929,
5262,
467,
29911,
334,
282,
29939,
29889,
29963,
29897,
13,
13,
1678,
822,
1243,
1649,
2248,
292,
29918,
446,
8961,
29918,
2098,
29918,
562,
2124,
29918,
305,
12629,
29898,
1311,
1125,
13,
4706,
396,
11597,
468,
10140,
1338,
411,
29871,
29896,
29900,
26695,
1269,
2534,
29871,
29945,
11916,
313,
387,
29889,
848,
29961,
29900,
29962,
353,
518,
29900,
29892,
29896,
29900,
29892,
29906,
29900,
29892,
29941,
29900,
29892,
29946,
29900,
2314,
13,
4706,
848,
353,
7442,
29889,
2378,
4197,
3881,
29898,
29896,
29900,
511,
3464,
29898,
29896,
29900,
29892,
29871,
29906,
29900,
511,
3464,
29898,
29906,
29900,
29892,
29871,
29941,
29900,
511,
3464,
29898,
29941,
29900,
29892,
29871,
29946,
29900,
511,
3464,
29898,
29946,
29900,
29892,
29871,
29945,
29900,
29897,
2314,
13,
4706,
11105,
353,
7442,
29889,
8159,
3552,
29945,
29892,
29871,
29896,
29900,
511,
5445,
29918,
1767,
29922,
8824,
29892,
26688,
29922,
11227,
29897,
13,
4706,
396,
18851,
697,
6251,
639,
9637,
13,
4706,
11105,
8999,
29900,
29892,
29871,
29896,
29892,
29871,
29900,
29892,
29871,
29941,
29892,
29871,
29900,
29892,
29871,
29906,
29892,
29871,
29946,
29892,
29871,
29941,
29892,
29871,
29896,
29892,
29871,
29946,
1402,
3464,
29898,
29896,
29900,
4638,
353,
5852,
13,
13,
4706,
7182,
353,
6600,
15227,
368,
17708,
29881,
10140,
284,
29898,
9302,
29889,
279,
927,
29898,
29945,
29897,
334,
282,
29939,
29889,
29879,
29892,
7442,
29889,
2378,
29898,
1272,
29897,
334,
282,
29939,
29889,
29963,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
25436,
29961,
13168,
1402,
7442,
29889,
2378,
4197,
29961,
29900,
29892,
29871,
29896,
29896,
29892,
29871,
29906,
29892,
29871,
29941,
29941,
29892,
29871,
29946,
29892,
29871,
29906,
29945,
29892,
29871,
29946,
29953,
29892,
29871,
29941,
29955,
29892,
29871,
29896,
29947,
29892,
29871,
29946,
29929,
24960,
334,
282,
29939,
29889,
29963,
29897,
13,
13,
1678,
822,
1243,
1649,
2248,
292,
29918,
446,
8961,
29918,
2098,
29918,
562,
2124,
29918,
2230,
29898,
1311,
1125,
13,
4706,
396,
11597,
468,
10140,
1338,
411,
29871,
29896,
29900,
26695,
1269,
2534,
29871,
29945,
11916,
313,
387,
29889,
848,
29961,
29900,
29962,
353,
518,
29900,
29892,
29896,
29900,
29892,
29906,
29900,
29892,
29941,
29900,
29892,
29946,
29900,
2314,
13,
4706,
848,
353,
7442,
29889,
2378,
4197,
3881,
29898,
29896,
29900,
511,
3464,
29898,
29896,
29900,
29892,
29871,
29906,
29900,
511,
3464,
29898,
29906,
29900,
29892,
29871,
29941,
29900,
511,
3464,
29898,
29941,
29900,
29892,
29871,
29946,
29900,
511,
3464,
29898,
29946,
29900,
29892,
29871,
29945,
29900,
29897,
2314,
13,
4706,
11105,
353,
7442,
29889,
8159,
3552,
29945,
29892,
29871,
29896,
29900,
511,
5445,
29918,
1767,
29922,
8824,
29892,
26688,
29922,
11227,
29897,
13,
4706,
396,
18851,
1023,
9976,
639,
9637,
13,
4706,
25406,
29918,
4841,
353,
518,
29900,
29892,
29871,
29896,
29892,
29871,
29900,
29892,
29871,
29941,
29892,
29871,
29896,
29892,
29871,
29906,
29892,
29871,
29946,
29892,
29871,
29906,
29892,
29871,
29896,
29892,
29871,
29946,
29962,
718,
518,
29946,
29892,
29871,
29941,
29892,
29871,
29906,
29892,
29871,
29896,
29892,
29871,
29900,
29892,
29871,
29896,
29892,
29871,
29906,
29892,
29871,
29941,
29892,
29871,
29906,
29892,
29871,
29896,
29962,
13,
4706,
11105,
29961,
1356,
1971,
284,
29918,
4841,
29892,
1051,
29898,
3881,
29898,
29896,
29900,
876,
718,
1051,
29898,
3881,
29898,
29896,
29900,
28166,
353,
5852,
13,
13,
4706,
7182,
353,
6600,
15227,
368,
17708,
29881,
10140,
284,
29898,
9302,
29889,
279,
927,
29898,
29945,
29897,
334,
282,
29939,
29889,
29879,
29892,
7442,
29889,
2378,
29898,
1272,
29897,
334,
282,
29939,
29889,
29963,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
25436,
29961,
13168,
1402,
7442,
29889,
2378,
4197,
29961,
29900,
29892,
29871,
29896,
29896,
29892,
29871,
29906,
29892,
29871,
29896,
29941,
29892,
29871,
29946,
29892,
29871,
29896,
29945,
29892,
29871,
29906,
29953,
29892,
29871,
29906,
29955,
29892,
29871,
29896,
29947,
29892,
29871,
29896,
29929,
1402,
13,
462,
462,
462,
259,
518,
29946,
29900,
29892,
29871,
29941,
29896,
29892,
29871,
29906,
29906,
29892,
29871,
29941,
29941,
29892,
29871,
29896,
29946,
29892,
29871,
29906,
29945,
29892,
29871,
29946,
29953,
29892,
29871,
29941,
29955,
29892,
29871,
29906,
29947,
29892,
13,
462,
462,
462,
268,
29946,
29929,
24960,
334,
282,
29939,
29889,
29963,
29897,
13,
13,
1678,
822,
1243,
1649,
510,
20941,
29918,
2541,
29918,
262,
3200,
9696,
29918,
348,
1169,
29918,
9344,
29918,
22692,
29918,
2451,
29898,
1311,
1125,
13,
4706,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29892,
1583,
29889,
25436,
29896,
17255,
4141,
1649,
29892,
29871,
29945,
334,
282,
29939,
29889,
29876,
29909,
29897,
13,
13,
1678,
822,
1243,
29918,
12857,
29918,
6112,
6765,
29898,
1311,
1125,
13,
4706,
260,
1191,
12676,
353,
1583,
29889,
25436,
29896,
7503,
29899,
29896,
29962,
334,
7442,
29889,
12765,
29898,
1311,
29889,
2230,
29896,
12150,
467,
690,
14443,
6278,
29896,
29892,
29871,
29896,
29897,
13,
4706,
260,
1191,
12676,
353,
260,
1191,
12676,
29889,
2083,
580,
847,
313,
1311,
29889,
2230,
29896,
12150,
14352,
29896,
29962,
448,
1583,
29889,
2230,
29896,
12150,
29961,
29900,
2314,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1311,
29889,
25436,
29896,
29889,
3317,
3285,
29871,
29929,
334,
282,
29939,
29889,
29885,
29963,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1311,
29889,
25436,
29896,
29889,
1195,
3285,
29871,
29900,
334,
282,
29939,
29889,
29885,
29963,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1311,
29889,
25436,
29896,
29889,
12676,
3285,
260,
1191,
12676,
29897,
13,
13,
1678,
822,
1243,
29918,
12676,
29918,
1639,
3733,
362,
29918,
3664,
1888,
2037,
287,
2392,
29898,
1311,
1125,
13,
4706,
1583,
29889,
9294,
29934,
1759,
267,
29898,
3664,
1888,
2037,
287,
2392,
29892,
1583,
29889,
25436,
29896,
29889,
12676,
29892,
5852,
29897,
13,
13,
1678,
822,
1243,
29918,
690,
981,
29918,
3664,
1888,
2037,
287,
2392,
29898,
1311,
1125,
13,
4706,
1583,
29889,
9294,
29934,
1759,
267,
29898,
3664,
1888,
2037,
287,
2392,
29892,
1583,
29889,
25436,
29896,
29889,
690,
981,
29892,
5852,
29897,
13,
13,
1678,
822,
1243,
1649,
690,
29883,
744,
29918,
17642,
29898,
1311,
1125,
13,
4706,
1121,
353,
1583,
29889,
25436,
29896,
29889,
8552,
580,
13,
4706,
1121,
353,
1121,
29889,
690,
29883,
744,
29898,
29886,
29939,
29889,
29885,
29963,
29897,
13,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29892,
6600,
15227,
368,
17708,
29881,
10140,
284,
29897,
13,
4706,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29898,
2914,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
978,
29892,
525,
1028,
314,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
8216,
29892,
525,
387,
3174,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
1445,
29918,
12574,
29892,
525,
1688,
1445,
29889,
3945,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
6735,
800,
29892,
11117,
1191,
29896,
2396,
525,
1688,
29915,
1800,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2914,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29896,
7464,
7442,
29889,
2378,
4197,
29906,
29941,
12622,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2914,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29906,
7464,
7442,
29889,
2378,
18959,
29909,
25901,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29889,
2378,
29918,
6735,
800,
29892,
4398,
21533,
29897,
13,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
348,
1169,
29892,
29871,
29896,
334,
282,
29939,
29889,
29885,
29963,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
2914,
29889,
29885,
4211,
4279,
29892,
1583,
29889,
1272,
29896,
29889,
690,
14443,
6278,
29896,
29892,
29871,
29896,
876,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
2914,
29889,
3706,
29892,
1583,
29889,
2230,
29896,
12150,
29897,
13,
4706,
4974,
29918,
17642,
29918,
1491,
29918,
11010,
29898,
2914,
29892,
1583,
29889,
25436,
29896,
29897,
13,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29889,
12719,
29918,
2248,
29892,
17368,
3220,
29897,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29889,
28192,
29892,
6667,
358,
29897,
13,
4706,
1583,
29889,
9294,
3624,
29898,
2914,
29889,
12719,
29918,
2248,
29892,
1583,
29889,
25436,
29896,
29889,
12719,
29918,
2248,
29897,
13,
4706,
1583,
29889,
9294,
3624,
29898,
2914,
29889,
28192,
29892,
1583,
29889,
25436,
29896,
29889,
28192,
29897,
13,
13,
1678,
822,
1243,
1649,
690,
29883,
744,
29918,
1482,
29898,
1311,
1125,
13,
4706,
1121,
353,
1583,
29889,
25436,
29896,
29889,
8552,
580,
13,
4706,
1121,
353,
1121,
29889,
690,
29883,
744,
29898,
29886,
29939,
29889,
29884,
29963,
29897,
13,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29892,
6600,
15227,
368,
17708,
29881,
10140,
284,
29897,
13,
4706,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29898,
2914,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
978,
29892,
525,
1028,
314,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
8216,
29892,
525,
387,
3174,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
1445,
29918,
12574,
29892,
525,
1688,
1445,
29889,
3945,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
6735,
800,
29892,
11117,
1191,
29896,
2396,
525,
1688,
29915,
1800,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2914,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29896,
7464,
7442,
29889,
2378,
4197,
29906,
29941,
12622,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2914,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29906,
7464,
7442,
29889,
2378,
18959,
29909,
25901,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29889,
2378,
29918,
6735,
800,
29892,
4398,
21533,
29897,
13,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
348,
1169,
29892,
29871,
29896,
334,
282,
29939,
29889,
29884,
29963,
29897,
13,
4706,
4974,
29918,
2378,
29879,
29918,
284,
3242,
29918,
11745,
29898,
9302,
29889,
2378,
29898,
2914,
511,
1583,
29889,
1272,
29896,
29889,
690,
14443,
6278,
29896,
29892,
29871,
29896,
29897,
334,
29871,
29896,
29900,
29900,
29900,
1696,
29871,
29896,
29872,
29899,
29896,
29900,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
2914,
29889,
3706,
29892,
1583,
29889,
2230,
29896,
12150,
29897,
13,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29889,
12719,
29918,
2248,
29892,
17368,
3220,
29897,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29889,
28192,
29892,
6667,
358,
29897,
13,
4706,
1583,
29889,
9294,
3624,
29898,
2914,
29889,
12719,
29918,
2248,
29892,
1583,
29889,
25436,
29896,
29889,
12719,
29918,
2248,
29897,
13,
4706,
1583,
29889,
9294,
3624,
29898,
2914,
29889,
28192,
29892,
1583,
29889,
25436,
29896,
29889,
28192,
29897,
13,
13,
1678,
822,
1243,
1649,
690,
29883,
744,
29918,
1482,
29918,
262,
23712,
29918,
1917,
2392,
29898,
1311,
1125,
13,
4706,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29892,
1583,
29889,
25436,
29896,
29889,
690,
29883,
744,
29892,
282,
29939,
29889,
29876,
29909,
29897,
13,
13,
1678,
822,
1243,
29918,
2230,
29918,
18337,
29898,
1311,
1125,
13,
4706,
260,
1191,
1272,
12150,
353,
5519,
29896,
29889,
29900,
1402,
518,
29906,
29889,
29900,
1402,
518,
29941,
29889,
29900,
5262,
334,
282,
29939,
29889,
29885,
29963,
13,
4706,
260,
1191,
2230,
353,
7442,
29889,
1188,
3493,
29898,
29896,
29892,
29871,
29945,
29892,
29871,
29896,
29900,
29897,
13,
4706,
260,
1191,
2230,
12150,
353,
260,
1191,
2230,
29961,
29896,
29901,
29946,
29962,
334,
282,
29939,
29889,
1516,
13,
4706,
260,
1191,
29918,
25436,
353,
6600,
15227,
368,
17708,
29881,
10140,
284,
29898,
29873,
1191,
2230,
12150,
29892,
7182,
29922,
29873,
1191,
1272,
12150,
29892,
1024,
2433,
1028,
314,
742,
13,
462,
462,
1669,
6139,
2433,
387,
3174,
742,
934,
29918,
12574,
2433,
1688,
1445,
29889,
3945,
742,
13,
462,
462,
1669,
1852,
29896,
2433,
1688,
1495,
13,
13,
4706,
260,
29918,
2962,
353,
29871,
29896,
29945,
13,
4706,
260,
29918,
9847,
353,
29871,
29906,
29945,
29900,
13,
4706,
1121,
353,
1583,
29889,
25436,
29896,
29889,
2230,
29918,
18337,
29898,
29873,
29918,
2962,
29892,
260,
29918,
9847,
29897,
13,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
2914,
29892,
260,
1191,
29918,
25436,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
2914,
29889,
3706,
29892,
260,
1191,
2230,
12150,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
348,
1169,
29892,
29871,
29896,
334,
282,
29939,
29889,
29885,
29963,
29897,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29892,
6600,
15227,
368,
17708,
29881,
10140,
284,
29897,
13,
4706,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29898,
2914,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
978,
29892,
525,
1028,
314,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
8216,
29892,
525,
387,
3174,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
1445,
29918,
12574,
29892,
525,
1688,
1445,
29889,
3945,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
6735,
800,
29892,
11117,
1191,
29896,
2396,
525,
1688,
29915,
1800,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2914,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29896,
7464,
7442,
29889,
2378,
4197,
29906,
29941,
12622,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2914,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29906,
7464,
7442,
29889,
2378,
18959,
29909,
25901,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29889,
2378,
29918,
6735,
800,
29892,
4398,
21533,
29897,
13,
13,
1678,
822,
1243,
1649,
2230,
29918,
18337,
29918,
24535,
8552,
29918,
6735,
800,
29898,
1311,
1125,
13,
4706,
8636,
29896,
353,
11117,
1688,
29900,
2396,
525,
29891,
29896,
742,
525,
1688,
29896,
2396,
6024,
311,
29872,
415,
342,
7464,
525,
1688,
29906,
2396,
5852,
29913,
13,
4706,
1583,
29889,
25436,
29896,
29889,
6735,
403,
29898,
1068,
7529,
29896,
29897,
13,
13,
4706,
1121,
353,
1583,
29889,
25436,
29896,
29889,
2230,
29918,
18337,
29898,
8516,
29892,
6213,
29897,
13,
13,
4706,
396,
10726,
25495,
310,
2441,
13,
4706,
8636,
29906,
353,
11117,
1688,
29900,
2396,
525,
29891,
29906,
742,
525,
1688,
29906,
2396,
7700,
29913,
13,
4706,
1583,
29889,
25436,
29896,
29889,
6735,
403,
29898,
1068,
7529,
29906,
29897,
13,
4706,
1583,
29889,
25436,
29896,
29889,
6735,
800,
1839,
1688,
29896,
2033,
29961,
29900,
29962,
353,
525,
845,
9536,
1688,
29915,
13,
13,
4706,
1583,
29889,
9294,
3664,
9843,
29898,
1311,
29889,
25436,
29896,
29889,
6735,
800,
1839,
1688,
29900,
7464,
1121,
29889,
6735,
800,
1839,
1688,
29900,
11287,
13,
4706,
1583,
29889,
9294,
3664,
9843,
29898,
1311,
29889,
25436,
29896,
29889,
6735,
800,
1839,
1688,
29896,
7464,
1121,
29889,
6735,
800,
1839,
1688,
29896,
11287,
13,
4706,
1583,
29889,
9294,
3664,
9843,
29898,
1311,
29889,
25436,
29896,
29889,
6735,
800,
1839,
1688,
29906,
7464,
1121,
29889,
6735,
800,
1839,
1688,
29906,
11287,
13,
13,
4706,
396,
10726,
25495,
310,
1121,
13,
4706,
8636,
29941,
353,
11117,
1688,
29900,
2396,
525,
29891,
29941,
10827,
13,
4706,
1121,
29889,
6735,
403,
29898,
1068,
7529,
29941,
29897,
13,
4706,
1121,
29889,
6735,
800,
1839,
1688,
29896,
2033,
29961,
29900,
29962,
353,
525,
845,
9536,
1688,
29906,
29915,
13,
13,
4706,
1583,
29889,
9294,
3664,
9843,
29898,
1311,
29889,
25436,
29896,
29889,
6735,
800,
1839,
1688,
29900,
7464,
1121,
29889,
6735,
800,
1839,
1688,
29900,
11287,
13,
4706,
1583,
29889,
9294,
3664,
9843,
29898,
1311,
29889,
25436,
29896,
29889,
6735,
800,
1839,
1688,
29896,
7464,
1121,
29889,
6735,
800,
1839,
1688,
29896,
11287,
13,
4706,
1583,
29889,
9294,
3664,
9843,
29898,
1311,
29889,
25436,
29896,
29889,
6735,
800,
1839,
1688,
29906,
7464,
1121,
29889,
6735,
800,
1839,
1688,
29906,
11287,
13,
13,
1678,
822,
1243,
1649,
2230,
29918,
18337,
29918,
24535,
8552,
29918,
2378,
29918,
6735,
800,
29898,
1311,
1125,
13,
4706,
3309,
353,
1583,
29889,
25436,
29896,
29889,
12181,
14352,
29896,
29962,
13,
4706,
8636,
29896,
353,
11117,
1688,
29900,
2396,
6024,
29891,
8875,
4286,
4830,
29898,
29875,
29897,
363,
474,
297,
3464,
29898,
2848,
29897,
1402,
13,
462,
259,
525,
1688,
29896,
2396,
6024,
311,
29872,
415,
342,
29915,
363,
474,
297,
3464,
29898,
2848,
29897,
1402,
13,
462,
259,
525,
1688,
29906,
2396,
518,
6278,
29896,
29897,
1068,
29875,
1405,
29871,
29900,
363,
474,
297,
3464,
29898,
2848,
4638,
29913,
13,
4706,
1583,
29889,
25436,
29896,
29889,
2378,
29918,
6735,
403,
29898,
1068,
7529,
29896,
29897,
13,
4706,
1121,
353,
1583,
29889,
25436,
29896,
29889,
2230,
29918,
18337,
29898,
8516,
29892,
6213,
29897,
13,
13,
4706,
396,
10726,
25495,
310,
2441,
13,
4706,
8636,
29906,
353,
11117,
1688,
29900,
2396,
6024,
29916,
8875,
4286,
4830,
29898,
29875,
29897,
363,
474,
297,
3464,
29898,
2848,
29897,
1402,
13,
462,
259,
525,
1688,
29906,
2396,
518,
6278,
29896,
29897,
3579,
313,
29875,
718,
29871,
29896,
29897,
1405,
29871,
29900,
363,
474,
297,
3464,
29898,
2848,
4638,
29913,
13,
4706,
1583,
29889,
25436,
29896,
29889,
2378,
29918,
6735,
403,
29898,
1068,
7529,
29906,
29897,
13,
4706,
1583,
29889,
25436,
29896,
29889,
2378,
29918,
6735,
800,
1839,
1688,
29896,
2033,
29961,
29900,
29962,
353,
525,
845,
9536,
1688,
29915,
13,
13,
4706,
1583,
29889,
9294,
8824,
29898,
497,
29898,
1311,
29889,
25436,
29896,
29889,
2378,
29918,
6735,
800,
1839,
1688,
29900,
2033,
13,
462,
632,
1275,
1121,
29889,
2378,
29918,
6735,
800,
1839,
1688,
29900,
25901,
13,
4706,
1583,
29889,
9294,
8824,
29898,
497,
29898,
1311,
29889,
25436,
29896,
29889,
2378,
29918,
6735,
800,
1839,
1688,
29896,
2033,
13,
462,
632,
1275,
1121,
29889,
2378,
29918,
6735,
800,
1839,
1688,
29896,
25901,
13,
4706,
1583,
29889,
9294,
8824,
29898,
497,
29898,
1311,
29889,
25436,
29896,
29889,
2378,
29918,
6735,
800,
1839,
1688,
29906,
2033,
13,
462,
632,
1275,
1121,
29889,
2378,
29918,
6735,
800,
1839,
1688,
29906,
25901,
13,
13,
4706,
396,
10726,
25495,
310,
1121,
13,
4706,
8636,
29941,
353,
11117,
1688,
29900,
2396,
6024,
29920,
8875,
4286,
4830,
29898,
29875,
29897,
363,
474,
297,
3464,
29898,
29896,
29892,
1121,
29889,
12181,
14352,
29896,
10062,
29896,
4638,
29913,
13,
4706,
1121,
29889,
2378,
29918,
6735,
403,
29898,
1068,
7529,
29941,
29897,
13,
4706,
1121,
29889,
2378,
29918,
6735,
800,
1839,
1688,
29896,
2033,
29961,
29900,
29962,
353,
525,
845,
9536,
29906,
29915,
13,
4706,
1583,
29889,
9294,
8824,
29898,
497,
29898,
1311,
29889,
25436,
29896,
29889,
2378,
29918,
6735,
800,
1839,
1688,
29900,
2033,
13,
462,
632,
1275,
1121,
29889,
2378,
29918,
6735,
800,
1839,
1688,
29900,
25901,
13,
4706,
1583,
29889,
9294,
8824,
29898,
497,
29898,
1311,
29889,
25436,
29896,
29889,
2378,
29918,
6735,
800,
1839,
1688,
29896,
2033,
13,
462,
632,
1275,
1121,
29889,
2378,
29918,
6735,
800,
1839,
1688,
29896,
25901,
13,
4706,
1583,
29889,
9294,
8824,
29898,
497,
29898,
1311,
29889,
25436,
29896,
29889,
2378,
29918,
6735,
800,
1839,
1688,
29906,
2033,
13,
462,
632,
1275,
1121,
29889,
2378,
29918,
6735,
800,
1839,
1688,
29906,
25901,
13,
13,
1678,
822,
1243,
1649,
2230,
29918,
18337,
29918,
24535,
8552,
29918,
1272,
29898,
1311,
1125,
13,
4706,
1121,
353,
1583,
29889,
25436,
29896,
29889,
2230,
29918,
18337,
29898,
8516,
29892,
6213,
29897,
13,
13,
4706,
396,
10726,
1819,
310,
2441,
1409,
13,
4706,
1583,
29889,
25436,
29896,
29961,
29906,
29962,
353,
29871,
29955,
29889,
29941,
29930,
1311,
29889,
25436,
29896,
29889,
348,
1169,
13,
13,
4706,
1583,
29889,
9294,
8824,
29898,
497,
29898,
1311,
29889,
25436,
29896,
1275,
1121,
876,
13,
13,
4706,
396,
10726,
1819,
310,
269,
506,
287,
1409,
13,
4706,
1121,
29961,
29941,
29962,
353,
29871,
29929,
29889,
29945,
29930,
2914,
29889,
348,
1169,
13,
13,
4706,
1583,
29889,
9294,
8824,
29898,
497,
29898,
1311,
29889,
25436,
29896,
1275,
1121,
876,
13,
13,
1678,
822,
1243,
29918,
2230,
29918,
18337,
29918,
449,
29918,
974,
29918,
9917,
2722,
29898,
1311,
1125,
13,
4706,
260,
1191,
1272,
12150,
353,
1583,
29889,
1272,
29896,
12150,
13,
4706,
260,
1191,
2230,
12150,
353,
1583,
29889,
2230,
29896,
12150,
13,
4706,
260,
1191,
29918,
25436,
353,
6600,
15227,
368,
17708,
29881,
10140,
284,
29898,
29873,
1191,
2230,
12150,
29892,
7182,
29922,
29873,
1191,
1272,
12150,
29892,
1024,
2433,
1028,
314,
742,
13,
462,
462,
1669,
6139,
2433,
387,
3174,
742,
934,
29918,
12574,
2433,
1688,
1445,
29889,
3945,
742,
13,
462,
462,
1669,
1852,
29896,
2433,
1688,
1495,
13,
13,
4706,
260,
29918,
2962,
353,
29871,
29900,
13,
4706,
260,
29918,
9847,
353,
29871,
29906,
29945,
29900,
29900,
29900,
29900,
29900,
13,
4706,
1121,
353,
1583,
29889,
25436,
29896,
29889,
2230,
29918,
18337,
29898,
29873,
29918,
2962,
29892,
260,
29918,
9847,
29897,
13,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
2914,
29892,
260,
1191,
29918,
25436,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
2914,
29889,
3706,
29892,
260,
1191,
2230,
12150,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
348,
1169,
29892,
29871,
29896,
334,
282,
29939,
29889,
29885,
29963,
29897,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29892,
6600,
15227,
368,
17708,
29881,
10140,
284,
29897,
13,
4706,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29898,
2914,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
978,
29892,
525,
1028,
314,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
8216,
29892,
525,
387,
3174,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
1445,
29918,
12574,
29892,
525,
1688,
1445,
29889,
3945,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
6735,
800,
29892,
11117,
1191,
29896,
2396,
525,
1688,
29915,
1800,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2914,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29896,
7464,
7442,
29889,
2378,
4197,
29906,
29941,
12622,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2914,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29906,
7464,
7442,
29889,
2378,
18959,
29909,
25901,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29889,
2378,
29918,
6735,
800,
29892,
4398,
21533,
29897,
13,
13,
1678,
822,
1243,
29918,
2230,
29918,
18337,
29918,
6310,
29898,
1311,
1125,
13,
4706,
260,
1191,
1272,
12150,
353,
5159,
334,
282,
29939,
29889,
29885,
29963,
13,
4706,
260,
1191,
2230,
12150,
353,
5159,
334,
282,
29939,
29889,
1516,
13,
4706,
260,
1191,
29918,
25436,
353,
6600,
15227,
368,
17708,
29881,
10140,
284,
29898,
29873,
1191,
2230,
12150,
29892,
7182,
29922,
29873,
1191,
1272,
12150,
29892,
1024,
2433,
1028,
314,
742,
13,
462,
462,
1669,
6139,
2433,
387,
3174,
742,
934,
29918,
12574,
2433,
1688,
1445,
29889,
3945,
742,
13,
462,
462,
1669,
1852,
29896,
2433,
1688,
1495,
13,
13,
4706,
260,
29918,
2962,
353,
29871,
29896,
29945,
13,
4706,
260,
29918,
9847,
353,
29871,
29906,
29945,
29900,
13,
4706,
1121,
353,
260,
1191,
29918,
25436,
29889,
2230,
29918,
18337,
29898,
29873,
29918,
2962,
29892,
260,
29918,
9847,
29897,
13,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
2914,
29892,
260,
1191,
29918,
25436,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
2914,
29889,
3706,
29892,
260,
1191,
2230,
12150,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
348,
1169,
29892,
29871,
29896,
334,
282,
29939,
29889,
29885,
29963,
29897,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29892,
6600,
15227,
368,
17708,
29881,
10140,
284,
29897,
13,
4706,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29898,
2914,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
978,
29892,
525,
1028,
314,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
8216,
29892,
525,
387,
3174,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
1445,
29918,
12574,
29892,
525,
1688,
1445,
29889,
3945,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
6735,
800,
29892,
11117,
1191,
29896,
2396,
525,
1688,
29915,
1800,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
2378,
29918,
6735,
800,
29892,
426,
1800,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29889,
2378,
29918,
6735,
800,
29892,
4398,
21533,
29897,
13,
13,
1678,
822,
1243,
29918,
2230,
29918,
18337,
29918,
9290,
29918,
9847,
29898,
1311,
1125,
13,
4706,
260,
1191,
1272,
12150,
353,
5519,
29896,
29889,
29900,
1402,
518,
29906,
29889,
29900,
1402,
518,
29941,
29889,
29900,
1402,
518,
29946,
29889,
29900,
1402,
518,
29945,
29889,
29900,
1402,
518,
29953,
29889,
29900,
1402,
518,
29955,
29889,
29900,
1402,
518,
29947,
29889,
29900,
1402,
518,
29929,
29889,
29900,
5262,
334,
282,
29939,
29889,
29885,
29963,
13,
4706,
260,
1191,
2230,
353,
7442,
29889,
1188,
3493,
29898,
29896,
29892,
29871,
29945,
29892,
29871,
29896,
29900,
29897,
13,
4706,
260,
1191,
2230,
12150,
353,
260,
1191,
2230,
29961,
29896,
29901,
29896,
29900,
29962,
334,
282,
29939,
29889,
1516,
13,
4706,
260,
1191,
29918,
25436,
353,
6600,
15227,
368,
17708,
29881,
10140,
284,
29898,
29873,
1191,
2230,
12150,
29892,
7182,
29922,
29873,
1191,
1272,
12150,
29892,
1024,
2433,
1028,
314,
742,
13,
462,
462,
1669,
6139,
2433,
387,
3174,
742,
934,
29918,
12574,
2433,
1688,
1445,
29889,
3945,
742,
13,
462,
462,
1669,
1852,
29896,
2433,
1688,
1495,
13,
13,
4706,
260,
29918,
2962,
353,
29871,
29896,
29945,
13,
4706,
260,
29918,
9847,
353,
6213,
13,
4706,
1121,
353,
1583,
29889,
25436,
29896,
29889,
2230,
29918,
18337,
29898,
29873,
29918,
2962,
29892,
260,
29918,
9847,
29897,
13,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
2914,
29892,
260,
1191,
29918,
25436,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
2914,
29889,
3706,
29892,
260,
1191,
2230,
12150,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
348,
1169,
29892,
29871,
29896,
334,
282,
29939,
29889,
29885,
29963,
29897,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29892,
6600,
15227,
368,
17708,
29881,
10140,
284,
29897,
13,
4706,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29898,
2914,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
978,
29892,
525,
1028,
314,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
8216,
29892,
525,
387,
3174,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
1445,
29918,
12574,
29892,
525,
1688,
1445,
29889,
3945,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
6735,
800,
29892,
11117,
1191,
29896,
2396,
525,
1688,
29915,
1800,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2914,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29896,
7464,
7442,
29889,
2378,
4197,
29906,
29941,
12622,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2914,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29906,
7464,
7442,
29889,
2378,
18959,
29909,
25901,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29889,
2378,
29918,
6735,
800,
29892,
4398,
21533,
29897,
13,
13,
1678,
822,
1243,
29918,
2230,
29918,
18337,
29918,
9290,
29918,
2962,
29898,
1311,
1125,
13,
4706,
260,
1191,
1272,
12150,
353,
5519,
29900,
29889,
29900,
1402,
518,
29896,
29889,
29900,
1402,
518,
29906,
29889,
29900,
1402,
518,
29941,
29889,
29900,
5262,
334,
282,
29939,
29889,
29885,
29963,
13,
4706,
260,
1191,
2230,
353,
7442,
29889,
1188,
3493,
29898,
29896,
29892,
29871,
29945,
29892,
29871,
29896,
29900,
29897,
13,
4706,
260,
1191,
2230,
12150,
353,
260,
1191,
2230,
29961,
29900,
29901,
29946,
29962,
334,
282,
29939,
29889,
1516,
13,
4706,
260,
1191,
29918,
25436,
353,
6600,
15227,
368,
17708,
29881,
10140,
284,
29898,
29873,
1191,
2230,
12150,
29892,
7182,
29922,
29873,
1191,
1272,
12150,
29892,
1024,
2433,
1028,
314,
742,
13,
462,
462,
1669,
6139,
2433,
387,
3174,
742,
934,
29918,
12574,
2433,
1688,
1445,
29889,
3945,
742,
13,
462,
462,
1669,
1852,
29896,
2433,
1688,
1495,
13,
13,
4706,
260,
29918,
2962,
353,
6213,
13,
4706,
260,
29918,
9847,
353,
29871,
29906,
29945,
29900,
13,
4706,
1121,
353,
1583,
29889,
25436,
29896,
29889,
2230,
29918,
18337,
29898,
29873,
29918,
2962,
29892,
260,
29918,
9847,
29897,
13,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
2914,
29892,
260,
1191,
29918,
25436,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
2914,
29889,
3706,
29892,
260,
1191,
2230,
12150,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
348,
1169,
29892,
29871,
29896,
334,
282,
29939,
29889,
29885,
29963,
29897,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29892,
6600,
15227,
368,
17708,
29881,
10140,
284,
29897,
13,
4706,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29898,
2914,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
978,
29892,
525,
1028,
314,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
8216,
29892,
525,
387,
3174,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
1445,
29918,
12574,
29892,
525,
1688,
1445,
29889,
3945,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
6735,
800,
29892,
11117,
1191,
29896,
2396,
525,
1688,
29915,
1800,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2914,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29896,
7464,
7442,
29889,
2378,
4197,
29906,
29941,
12622,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2914,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29906,
7464,
7442,
29889,
2378,
18959,
29909,
25901,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29889,
2378,
29918,
6735,
800,
29892,
4398,
21533,
29897,
13,
13,
1678,
822,
1243,
29918,
2230,
29918,
18337,
29918,
9290,
29918,
20313,
29898,
1311,
1125,
13,
4706,
260,
1191,
1272,
12150,
353,
5519,
29900,
29889,
29900,
1402,
518,
29896,
29889,
29900,
1402,
518,
29906,
29889,
29900,
1402,
518,
29941,
29889,
29900,
1402,
518,
29946,
29889,
29900,
1402,
518,
29945,
29889,
29900,
1402,
518,
29953,
29889,
29900,
1402,
518,
29955,
29889,
29900,
1402,
518,
29947,
29889,
29900,
1402,
13,
462,
308,
518,
29929,
29889,
29900,
5262,
334,
282,
29939,
29889,
29885,
29963,
13,
4706,
260,
1191,
2230,
353,
7442,
29889,
1188,
3493,
29898,
29896,
29892,
29871,
29945,
29892,
29871,
29896,
29900,
29897,
13,
4706,
260,
1191,
2230,
12150,
353,
260,
1191,
2230,
29961,
29900,
29901,
29896,
29900,
29962,
334,
282,
29939,
29889,
1516,
13,
4706,
260,
1191,
29918,
25436,
353,
6600,
15227,
368,
17708,
29881,
10140,
284,
29898,
29873,
1191,
2230,
12150,
29892,
7182,
29922,
29873,
1191,
1272,
12150,
29892,
1024,
2433,
1028,
314,
742,
13,
462,
462,
1669,
6139,
2433,
387,
3174,
742,
934,
29918,
12574,
2433,
1688,
1445,
29889,
3945,
742,
13,
462,
462,
1669,
1852,
29896,
2433,
1688,
1495,
13,
13,
4706,
260,
29918,
2962,
353,
6213,
13,
4706,
260,
29918,
9847,
353,
6213,
13,
4706,
1121,
353,
1583,
29889,
25436,
29896,
29889,
2230,
29918,
18337,
29898,
29873,
29918,
2962,
29892,
260,
29918,
9847,
29897,
13,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
2914,
29892,
260,
1191,
29918,
25436,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
2914,
29889,
3706,
29892,
260,
1191,
2230,
12150,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
348,
1169,
29892,
29871,
29896,
334,
282,
29939,
29889,
29885,
29963,
29897,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29892,
6600,
15227,
368,
17708,
29881,
10140,
284,
29897,
13,
4706,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29898,
2914,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
978,
29892,
525,
1028,
314,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
8216,
29892,
525,
387,
3174,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
1445,
29918,
12574,
29892,
525,
1688,
1445,
29889,
3945,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
6735,
800,
29892,
11117,
1191,
29896,
2396,
525,
1688,
29915,
1800,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2914,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29896,
7464,
7442,
29889,
2378,
4197,
29906,
29941,
12622,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2914,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29906,
7464,
7442,
29889,
2378,
18959,
29909,
25901,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29889,
2378,
29918,
6735,
800,
29892,
4398,
21533,
29897,
13,
13,
1678,
822,
1243,
29918,
2230,
29918,
18337,
29918,
29881,
8349,
593,
29918,
348,
1169,
29898,
1311,
1125,
13,
4706,
260,
1191,
1272,
12150,
353,
5519,
29896,
29889,
29900,
1402,
518,
29906,
29889,
29900,
1402,
518,
29941,
29889,
29900,
5262,
334,
282,
29939,
29889,
29885,
29963,
13,
4706,
260,
1191,
2230,
353,
7442,
29889,
1188,
3493,
29898,
29896,
29892,
29871,
29945,
29892,
29871,
29896,
29900,
29897,
13,
4706,
260,
1191,
2230,
12150,
353,
260,
1191,
2230,
29961,
29896,
29901,
29946,
29962,
334,
282,
29939,
29889,
1516,
13,
4706,
260,
1191,
29918,
25436,
353,
6600,
15227,
368,
17708,
29881,
10140,
284,
29898,
29873,
1191,
2230,
12150,
29892,
7182,
29922,
29873,
1191,
1272,
12150,
29892,
1024,
2433,
1028,
314,
742,
13,
462,
462,
1669,
6139,
2433,
387,
3174,
742,
934,
29918,
12574,
2433,
1688,
1445,
29889,
3945,
742,
13,
462,
462,
1669,
1852,
29896,
2433,
1688,
1495,
13,
13,
4706,
260,
29918,
2962,
353,
29871,
29896,
29945,
13,
4706,
260,
29918,
9847,
353,
29871,
29906,
29945,
29900,
13,
13,
4706,
260,
29918,
2962,
353,
29871,
29900,
29889,
29900,
29896,
29945,
334,
282,
29939,
29889,
29879,
13,
4706,
260,
29918,
9847,
353,
869,
29906,
29945,
29900,
334,
282,
29939,
29889,
29879,
13,
13,
4706,
1121,
353,
1583,
29889,
25436,
29896,
29889,
2230,
29918,
18337,
29898,
29873,
29918,
2962,
29892,
260,
29918,
9847,
29897,
13,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
2914,
29892,
260,
1191,
29918,
25436,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
2914,
29889,
3706,
29892,
260,
1191,
2230,
12150,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
348,
1169,
29892,
29871,
29896,
334,
282,
29939,
29889,
29885,
29963,
29897,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29892,
6600,
15227,
368,
17708,
29881,
10140,
284,
29897,
13,
4706,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29898,
2914,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
978,
29892,
525,
1028,
314,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
8216,
29892,
525,
387,
3174,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
1445,
29918,
12574,
29892,
525,
1688,
1445,
29889,
3945,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
6735,
800,
29892,
11117,
1191,
29896,
2396,
525,
1688,
29915,
1800,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2914,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29896,
7464,
7442,
29889,
2378,
4197,
29906,
29941,
12622,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2914,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29906,
7464,
7442,
29889,
2378,
18959,
29909,
25901,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29889,
2378,
29918,
6735,
800,
29892,
4398,
21533,
29897,
13,
13,
1678,
822,
1243,
1649,
2230,
29918,
18337,
29918,
9344,
29918,
842,
29918,
862,
1237,
29918,
517,
29918,
8516,
29898,
1311,
1125,
13,
4706,
396,
1932,
3064,
506,
292,
29892,
263,
6483,
3509,
338,
1754,
29892,
13,
4706,
396,
4550,
278,
3407,
304,
3847,
3618,
881,
367,
14416,
13,
4706,
1121,
353,
1583,
29889,
25436,
29896,
29889,
2230,
29918,
18337,
29898,
29896,
334,
282,
29939,
29889,
1516,
29892,
29871,
29941,
334,
282,
29939,
29889,
1516,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
28192,
29892,
6213,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
12719,
29918,
2248,
29892,
6213,
29897,
13,
13,
1678,
822,
1243,
1649,
24535,
8552,
29918,
9344,
29918,
842,
29918,
862,
1237,
29918,
12650,
29918,
517,
29918,
8516,
29898,
1311,
1125,
13,
4706,
396,
21784,
8552,
881,
8174,
9282,
304,
11825,
13,
4706,
1121,
353,
6483,
8552,
29898,
1311,
29889,
25436,
29896,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
28192,
29892,
6213,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
12719,
29918,
2248,
29892,
6213,
29897,
13,
13,
1678,
822,
1243,
1649,
2230,
29918,
10889,
29918,
17642,
29918,
15697,
29898,
1311,
1125,
13,
4706,
1121,
353,
1583,
29889,
25436,
29896,
29889,
2230,
29918,
10889,
29898,
29896,
334,
282,
29939,
29889,
1516,
29897,
13,
4706,
4974,
29918,
17642,
29918,
15697,
29898,
2914,
29892,
1583,
29889,
25436,
29896,
29892,
19060,
29922,
1839,
3706,
742,
525,
29873,
29918,
2962,
742,
525,
29873,
29918,
9847,
11287,
13,
13,
1678,
822,
1243,
1649,
2230,
29918,
10889,
29918,
17642,
29918,
6735,
800,
29898,
1311,
1125,
13,
4706,
1121,
353,
1583,
29889,
25436,
29896,
29889,
2230,
29918,
10889,
29898,
29896,
334,
282,
29939,
29889,
1516,
29897,
13,
4706,
4974,
29918,
17642,
29918,
6735,
800,
29898,
2914,
29892,
1583,
29889,
25436,
29896,
29897,
13,
13,
1678,
822,
1243,
1649,
2230,
29918,
10889,
29918,
17642,
29918,
2378,
29918,
6735,
800,
29898,
1311,
1125,
13,
4706,
1121,
353,
1583,
29889,
25436,
29896,
29889,
2230,
29918,
10889,
29898,
29896,
334,
282,
29939,
29889,
1516,
29897,
13,
4706,
4974,
29918,
17642,
29918,
2378,
29918,
6735,
800,
29898,
2914,
29892,
1583,
29889,
25436,
29896,
29897,
13,
13,
1678,
822,
1243,
1649,
2230,
29918,
10889,
29918,
9344,
29918,
842,
29918,
862,
1237,
29918,
517,
29918,
8516,
29898,
1311,
1125,
13,
4706,
396,
1932,
931,
29899,
845,
24377,
29892,
263,
6483,
3509,
338,
1754,
29892,
13,
4706,
396,
4550,
278,
3407,
304,
3847,
3618,
881,
367,
14416,
13,
4706,
1121,
353,
1583,
29889,
25436,
29896,
29889,
2230,
29918,
10889,
29898,
29896,
334,
282,
29939,
29889,
1516,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
28192,
29892,
6213,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
12719,
29918,
2248,
29892,
6213,
29897,
13,
13,
1678,
822,
1243,
1649,
2230,
29918,
10889,
29918,
1609,
29918,
9171,
29898,
1311,
1125,
13,
4706,
9500,
287,
353,
1583,
29889,
25436,
29896,
29889,
2230,
29918,
10889,
29898,
29900,
334,
282,
29939,
29889,
1516,
29897,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
10889,
287,
29889,
3706,
29892,
1583,
29889,
25436,
29896,
29889,
3706,
29897,
13,
13,
1678,
822,
1243,
1649,
2230,
29918,
10889,
29918,
17642,
29918,
348,
1169,
29898,
1311,
1125,
13,
4706,
9500,
287,
353,
1583,
29889,
25436,
29896,
29889,
2230,
29918,
10889,
29898,
29896,
29900,
334,
282,
29939,
29889,
1516,
29897,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
10889,
287,
29889,
3706,
29892,
1583,
29889,
25436,
29896,
29889,
3706,
718,
29871,
29896,
29900,
334,
282,
29939,
29889,
1516,
29897,
13,
13,
1678,
822,
1243,
1649,
2230,
29918,
10889,
29918,
29881,
15622,
29918,
348,
1169,
29898,
1311,
1125,
13,
4706,
9500,
287,
353,
1583,
29889,
25436,
29896,
29889,
2230,
29918,
10889,
29898,
29896,
334,
282,
29939,
29889,
29879,
29897,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
10889,
287,
29889,
3706,
29892,
1583,
29889,
25436,
29896,
29889,
3706,
718,
29871,
29896,
29900,
29900,
29900,
334,
282,
29939,
29889,
1516,
29897,
13,
13,
1678,
822,
1243,
29918,
294,
29918,
2378,
29898,
1311,
1125,
13,
4706,
4365,
29918,
294,
29918,
2749,
353,
1583,
29889,
25436,
29896,
29889,
294,
29918,
2378,
580,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
18816,
29918,
294,
29918,
2749,
29892,
7442,
29889,
299,
2378,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
1311,
29889,
1272,
29896,
29892,
4365,
29918,
294,
29918,
2749,
29889,
20620,
29897,
13,
13,
1678,
822,
1243,
29918,
294,
29918,
22640,
29898,
1311,
1125,
13,
4706,
4365,
29918,
294,
29918,
29939,
353,
1583,
29889,
25436,
29896,
29889,
294,
29918,
22640,
580,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
18816,
29918,
294,
29918,
29939,
29892,
282,
29939,
29889,
22930,
537,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
1311,
29889,
1272,
29896,
29892,
4365,
29918,
294,
29918,
29939,
29889,
29885,
4211,
4279,
29889,
20620,
29897,
13,
13,
1678,
822,
1243,
1649,
8552,
29918,
9344,
29918,
4569,
7143,
29918,
3560,
29918,
12650,
29898,
1311,
1125,
13,
4706,
1121,
353,
1583,
29889,
25436,
29896,
29889,
8552,
580,
13,
4706,
1583,
29889,
9294,
3624,
29898,
2914,
29889,
28192,
29892,
1583,
29889,
25436,
29896,
29889,
28192,
29897,
13,
4706,
1583,
29889,
9294,
3624,
29898,
2914,
29889,
12719,
29918,
2248,
29892,
1583,
29889,
25436,
29896,
29889,
12719,
29918,
2248,
29897,
13,
13,
13,
1990,
4321,
29902,
29878,
15227,
368,
17708,
29881,
10140,
284,
1523,
2109,
362,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
1678,
822,
731,
3373,
29898,
1311,
1125,
13,
4706,
1583,
29889,
1272,
29896,
353,
7442,
29889,
279,
927,
29898,
29896,
29900,
29889,
29900,
29897,
13,
4706,
1583,
29889,
1272,
29896,
12150,
353,
1583,
29889,
1272,
29896,
334,
282,
29939,
29889,
29885,
29963,
13,
4706,
1583,
29889,
2230,
29896,
353,
7442,
29889,
1188,
3493,
29898,
29896,
29892,
29871,
29945,
29892,
29871,
29896,
29900,
29897,
13,
4706,
1583,
29889,
2230,
29896,
12150,
353,
1583,
29889,
2230,
29896,
334,
282,
29939,
29889,
1516,
13,
4706,
1583,
29889,
2749,
29918,
812,
353,
11117,
7665,
29896,
2396,
518,
29906,
29941,
1402,
525,
7665,
29906,
2396,
6024,
29909,
2033,
29913,
13,
4706,
1583,
29889,
25436,
29896,
353,
6600,
15227,
368,
17708,
29881,
10140,
284,
29898,
1311,
29889,
2230,
29896,
12150,
29892,
7182,
29922,
1311,
29889,
1272,
29896,
12150,
29892,
13,
462,
462,
18884,
1024,
2433,
1028,
314,
742,
6139,
2433,
387,
3174,
742,
13,
462,
462,
18884,
934,
29918,
12574,
2433,
1688,
1445,
29889,
3945,
742,
1852,
29896,
2433,
1688,
742,
13,
462,
462,
18884,
1409,
29918,
6735,
800,
29922,
1311,
29889,
2749,
29918,
812,
29897,
13,
13,
1678,
822,
1243,
1649,
2388,
492,
424,
29898,
1311,
1125,
13,
4706,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29898,
1311,
29889,
25436,
29896,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1311,
29889,
25436,
29896,
29889,
978,
29892,
525,
1028,
314,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1311,
29889,
25436,
29896,
29889,
8216,
29892,
525,
387,
3174,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1311,
29889,
25436,
29896,
29889,
1445,
29918,
12574,
29892,
525,
1688,
1445,
29889,
3945,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1311,
29889,
25436,
29896,
29889,
6735,
800,
29892,
11117,
1191,
29896,
2396,
525,
1688,
29915,
1800,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
1311,
29889,
25436,
29896,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29896,
7464,
7442,
29889,
2378,
4197,
29906,
29941,
12622,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
1311,
29889,
25436,
29896,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29906,
7464,
7442,
29889,
2378,
18959,
29909,
25901,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
1311,
29889,
25436,
29896,
29889,
2378,
29918,
6735,
800,
29892,
4398,
21533,
29897,
13,
13,
1678,
822,
1243,
1649,
1202,
29918,
3075,
29918,
22640,
29918,
9344,
29918,
4569,
7143,
29918,
1272,
29918,
510,
2037,
29898,
1311,
1125,
13,
4706,
1121,
353,
1583,
29889,
25436,
29896,
718,
29871,
29900,
29889,
29900,
29953,
29945,
334,
282,
29939,
29889,
29963,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29892,
6600,
15227,
368,
17708,
29881,
10140,
284,
29897,
13,
4706,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29898,
2914,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
978,
29892,
525,
1028,
314,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
8216,
29892,
525,
387,
3174,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
1445,
29918,
12574,
29892,
525,
1688,
1445,
29889,
3945,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
6735,
800,
29892,
11117,
1191,
29896,
2396,
525,
1688,
29915,
1800,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2914,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29896,
7464,
7442,
29889,
2378,
4197,
29906,
29941,
12622,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2914,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29906,
7464,
7442,
29889,
2378,
18959,
29909,
25901,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29889,
2378,
29918,
6735,
800,
29892,
4398,
21533,
29897,
13,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
2914,
29889,
29885,
4211,
4279,
29892,
1583,
29889,
1272,
29896,
29889,
690,
14443,
6278,
29896,
29892,
29871,
29896,
29897,
718,
29871,
29953,
29945,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
2914,
29889,
3706,
29892,
1583,
29889,
2230,
29896,
12150,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1311,
29889,
25436,
29896,
29961,
29929,
1402,
29871,
29929,
334,
282,
29939,
29889,
29885,
29963,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29961,
29929,
1402,
29871,
29955,
29946,
334,
282,
29939,
29889,
29885,
29963,
29897,
13,
13,
1678,
822,
1243,
1649,
1202,
29918,
10184,
29918,
3200,
9696,
29918,
4530,
1338,
29918,
9344,
29918,
4569,
7143,
29918,
1272,
29918,
510,
2037,
29898,
1311,
1125,
13,
4706,
848,
29906,
353,
7442,
29889,
279,
927,
29898,
29896,
29900,
29889,
29900,
29892,
29871,
29906,
29900,
29889,
29900,
29897,
13,
4706,
848,
29906,
12150,
353,
848,
29906,
334,
282,
29939,
29889,
29885,
29963,
13,
4706,
7182,
29906,
353,
6600,
15227,
368,
17708,
29881,
10140,
284,
29898,
1311,
29889,
2230,
29896,
12150,
29892,
7182,
29922,
1272,
29906,
12150,
29897,
13,
4706,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29898,
25436,
29906,
29897,
13,
13,
4706,
1121,
353,
1583,
29889,
25436,
29896,
718,
7182,
29906,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29892,
6600,
15227,
368,
17708,
29881,
10140,
284,
29897,
13,
4706,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29898,
2914,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
978,
29892,
525,
1028,
314,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
8216,
29892,
525,
387,
3174,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
1445,
29918,
12574,
29892,
525,
1688,
1445,
29889,
3945,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
6735,
800,
29892,
11117,
1191,
29896,
2396,
525,
1688,
29915,
1800,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2914,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29896,
7464,
7442,
29889,
2378,
4197,
29906,
29941,
12622,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2914,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29906,
7464,
7442,
29889,
2378,
18959,
29909,
25901,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29889,
2378,
29918,
6735,
800,
29892,
4398,
21533,
29897,
13,
13,
4706,
260,
1191,
353,
6600,
15227,
368,
17708,
29881,
10140,
284,
29898,
1311,
29889,
2230,
29896,
12150,
29892,
7182,
29922,
9302,
29889,
279,
927,
29898,
29896,
29900,
29889,
29900,
29892,
29871,
29941,
29900,
29889,
29900,
29892,
29871,
29906,
29889,
29900,
511,
13,
462,
462,
4706,
10340,
543,
29885,
29963,
613,
1024,
2433,
1028,
314,
742,
6139,
2433,
387,
3174,
742,
13,
462,
462,
4706,
934,
29918,
12574,
2433,
1688,
1445,
29889,
3945,
742,
1852,
29896,
2433,
1688,
1495,
13,
4706,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29898,
29873,
1191,
29897,
13,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
2914,
29892,
260,
1191,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
1311,
29889,
2230,
29896,
12150,
29892,
260,
1191,
29889,
3706,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
2914,
29889,
3706,
29892,
260,
1191,
29889,
3706,
29897,
13,
4706,
4974,
29918,
17642,
29918,
1491,
29918,
11010,
29898,
2914,
29892,
260,
1191,
29897,
13,
13,
1678,
822,
1243,
1649,
1202,
29918,
4530,
1338,
29918,
2541,
29918,
262,
3200,
9696,
29918,
3706,
29918,
14697,
291,
2392,
29898,
1311,
1125,
13,
4706,
7182,
29906,
353,
6600,
15227,
368,
17708,
29881,
10140,
284,
29898,
1311,
29889,
2230,
29896,
12150,
334,
29871,
29906,
1696,
7182,
29922,
9302,
29889,
279,
927,
29898,
29896,
29900,
29889,
29900,
511,
13,
462,
462,
965,
10340,
543,
29885,
29963,
1159,
13,
4706,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29898,
25436,
29906,
29897,
13,
13,
4706,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29892,
1583,
29889,
25436,
29896,
17255,
1202,
1649,
29892,
7182,
29906,
29897,
13,
13,
1678,
822,
1243,
1649,
1202,
29918,
4530,
1338,
29918,
2541,
29918,
262,
3200,
9696,
29918,
6229,
2673,
29918,
1917,
2392,
29898,
1311,
1125,
13,
4706,
7182,
29906,
353,
7442,
29889,
279,
927,
29898,
29906,
29900,
467,
690,
14443,
29898,
29906,
29892,
29871,
29896,
29900,
29897,
13,
13,
4706,
1583,
29889,
9294,
29934,
1759,
267,
29898,
1917,
2392,
29892,
1583,
29889,
25436,
29896,
17255,
1202,
1649,
29892,
7182,
29906,
29897,
13,
13,
1678,
822,
1243,
1649,
1491,
29873,
1461,
29918,
3075,
29918,
9344,
29918,
4569,
7143,
29918,
1272,
29918,
510,
2037,
29898,
1311,
1125,
13,
4706,
1121,
353,
1583,
29889,
25436,
29896,
448,
29871,
29953,
29945,
334,
282,
29939,
29889,
29885,
29963,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29892,
6600,
15227,
368,
17708,
29881,
10140,
284,
29897,
13,
4706,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29898,
2914,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
978,
29892,
525,
1028,
314,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
8216,
29892,
525,
387,
3174,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
1445,
29918,
12574,
29892,
525,
1688,
1445,
29889,
3945,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
6735,
800,
29892,
11117,
1191,
29896,
2396,
525,
1688,
29915,
1800,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2914,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29896,
7464,
7442,
29889,
2378,
4197,
29906,
29941,
12622,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2914,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29906,
7464,
7442,
29889,
2378,
18959,
29909,
25901,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29889,
2378,
29918,
6735,
800,
29892,
4398,
21533,
29897,
13,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1311,
29889,
25436,
29896,
29961,
29929,
1402,
29871,
29929,
334,
282,
29939,
29889,
29885,
29963,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29961,
29929,
1402,
448,
29945,
29953,
334,
282,
29939,
29889,
29885,
29963,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
2914,
29889,
29885,
4211,
4279,
29892,
313,
1311,
29889,
1272,
29896,
448,
29871,
29953,
29945,
467,
690,
14443,
6278,
29896,
29892,
29871,
29896,
876,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
2914,
29889,
3706,
29892,
1583,
29889,
2230,
29896,
12150,
29897,
13,
13,
1678,
822,
1243,
1649,
1491,
29873,
1461,
29918,
3166,
29918,
3075,
29918,
9344,
29918,
2457,
29918,
25436,
29898,
1311,
1125,
13,
4706,
1121,
353,
29871,
29896,
29900,
334,
282,
29939,
29889,
29885,
29963,
448,
1583,
29889,
25436,
29896,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29892,
6600,
15227,
368,
17708,
29881,
10140,
284,
29897,
13,
4706,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29898,
2914,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
978,
29892,
525,
1028,
314,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
8216,
29892,
525,
387,
3174,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
1445,
29918,
12574,
29892,
525,
1688,
1445,
29889,
3945,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
6735,
800,
29892,
11117,
1191,
29896,
2396,
525,
1688,
29915,
1800,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2914,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29896,
7464,
7442,
29889,
2378,
4197,
29906,
29941,
12622,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2914,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29906,
7464,
7442,
29889,
2378,
18959,
29909,
25901,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29889,
2378,
29918,
6735,
800,
29892,
4398,
21533,
29897,
13,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1311,
29889,
25436,
29896,
29961,
29929,
1402,
29871,
29929,
334,
282,
29939,
29889,
29885,
29963,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29961,
29929,
1402,
29871,
29896,
334,
282,
29939,
29889,
29885,
29963,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
2914,
29889,
29885,
4211,
4279,
29892,
313,
29896,
29900,
448,
1583,
29889,
1272,
29896,
467,
690,
14443,
6278,
29896,
29892,
29871,
29896,
876,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
2914,
29889,
3706,
29892,
1583,
29889,
2230,
29896,
12150,
29897,
13,
13,
1678,
822,
1243,
1649,
4713,
29918,
25436,
29918,
1609,
29918,
3075,
29918,
7411,
29918,
9344,
29918,
4569,
7143,
29918,
1272,
29918,
510,
2037,
29898,
1311,
1125,
13,
4706,
1121,
353,
1583,
29889,
25436,
29896,
334,
29871,
29906,
29889,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29892,
6600,
15227,
368,
17708,
29881,
10140,
284,
29897,
13,
4706,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29898,
2914,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
978,
29892,
525,
1028,
314,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
8216,
29892,
525,
387,
3174,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
1445,
29918,
12574,
29892,
525,
1688,
1445,
29889,
3945,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
6735,
800,
29892,
11117,
1191,
29896,
2396,
525,
1688,
29915,
1800,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2914,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29896,
7464,
7442,
29889,
2378,
4197,
29906,
29941,
12622,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2914,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29906,
7464,
7442,
29889,
2378,
18959,
29909,
25901,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29889,
2378,
29918,
6735,
800,
29892,
4398,
21533,
29897,
13,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1311,
29889,
25436,
29896,
29961,
29929,
1402,
29871,
29929,
334,
282,
29939,
29889,
29885,
29963,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29961,
29929,
1402,
29871,
29896,
29947,
334,
282,
29939,
29889,
29885,
29963,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
2914,
29889,
29885,
4211,
4279,
29892,
1583,
29889,
1272,
29896,
29889,
690,
14443,
6278,
29896,
29892,
29871,
29896,
29897,
334,
29871,
29906,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
2914,
29889,
3706,
29892,
1583,
29889,
2230,
29896,
12150,
29897,
13,
13,
1678,
822,
1243,
1649,
4713,
29918,
25436,
29918,
1609,
29918,
3075,
29918,
2378,
29918,
9344,
29918,
4569,
7143,
29918,
1272,
29918,
510,
2037,
29898,
1311,
1125,
13,
4706,
1121,
353,
1583,
29889,
25436,
29896,
334,
7442,
29889,
2378,
29898,
29906,
1846,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29892,
6600,
15227,
368,
17708,
29881,
10140,
284,
29897,
13,
4706,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29898,
2914,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
978,
29892,
525,
1028,
314,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
8216,
29892,
525,
387,
3174,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
1445,
29918,
12574,
29892,
525,
1688,
1445,
29889,
3945,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
6735,
800,
29892,
11117,
1191,
29896,
2396,
525,
1688,
29915,
1800,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2914,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29896,
7464,
7442,
29889,
2378,
4197,
29906,
29941,
12622,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2914,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29906,
7464,
7442,
29889,
2378,
18959,
29909,
25901,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29889,
2378,
29918,
6735,
800,
29892,
4398,
21533,
29897,
13,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1311,
29889,
25436,
29896,
29961,
29929,
1402,
29871,
29929,
334,
282,
29939,
29889,
29885,
29963,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29961,
29929,
1402,
29871,
29896,
29947,
334,
282,
29939,
29889,
29885,
29963,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
2914,
29889,
29885,
4211,
4279,
29892,
1583,
29889,
1272,
29896,
29889,
690,
14443,
6278,
29896,
29892,
29871,
29896,
29897,
334,
29871,
29906,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
2914,
29889,
3706,
29892,
1583,
29889,
2230,
29896,
12150,
29897,
13,
13,
1678,
822,
1243,
1649,
4563,
680,
29918,
25436,
29918,
1609,
29918,
3075,
29918,
9344,
29918,
4569,
7143,
29918,
1272,
29918,
510,
2037,
29898,
1311,
1125,
13,
4706,
1121,
353,
1583,
29889,
25436,
29896,
847,
29871,
29900,
29889,
29945,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29892,
6600,
15227,
368,
17708,
29881,
10140,
284,
29897,
13,
4706,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29898,
2914,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
978,
29892,
525,
1028,
314,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
8216,
29892,
525,
387,
3174,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
1445,
29918,
12574,
29892,
525,
1688,
1445,
29889,
3945,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29889,
6735,
800,
29892,
11117,
1191,
29896,
2396,
525,
1688,
29915,
1800,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2914,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29896,
7464,
7442,
29889,
2378,
4197,
29906,
29941,
12622,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
2914,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29906,
7464,
7442,
29889,
2378,
18959,
29909,
25901,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
2914,
29889,
2378,
29918,
6735,
800,
29892,
4398,
21533,
29897,
13,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1311,
29889,
25436,
29896,
29961,
29929,
1402,
29871,
29929,
334,
282,
29939,
29889,
29885,
29963,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2914,
29961,
29929,
1402,
29871,
29896,
29947,
334,
282,
29939,
29889,
29885,
29963,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
2914,
29889,
29885,
4211,
4279,
29892,
1583,
29889,
1272,
29896,
29889,
690,
14443,
6278,
29896,
29892,
29871,
29896,
29897,
847,
29871,
29900,
29889,
29945,
29897,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
2914,
29889,
3706,
29892,
1583,
29889,
2230,
29896,
12150,
29897,
13,
13,
1678,
732,
348,
27958,
29889,
11014,
2525,
2222,
29898,
29950,
7520,
29923,
29918,
5690,
29979,
4690,
1164,
29892,
376,
276,
339,
2658,
5641,
1656,
1159,
13,
1678,
822,
1243,
1649,
1457,
4349,
29898,
1311,
1125,
13,
4706,
620,
353,
5051,
29898,
1311,
29889,
25436,
29896,
29897,
13,
4706,
7182,
353,
1583,
29889,
25436,
29896,
13,
4706,
260,
1191,
353,
313,
703,
29902,
29878,
15227,
368,
17708,
29881,
10140,
284,
411,
1273,
29881,
18196,
310,
3309,
1273,
29881,
29936,
10340,
1273,
29879,
29936,
1418,
23179,
1273,
29879,
320,
29876,
29908,
13,
462,
5124,
1273,
313,
25436,
29889,
12181,
29961,
29896,
1402,
7182,
29889,
12181,
29961,
29900,
1402,
7182,
29889,
348,
1169,
29889,
12531,
537,
29889,
2523,
356,
29892,
13,
462,
539,
7182,
29889,
29881,
1853,
876,
13,
18884,
718,
4852,
978,
29901,
14210,
29879,
12764,
299,
267,
3395,
29901,
14210,
29879,
12764,
29876,
29908,
1273,
313,
25436,
29889,
978,
29892,
7182,
29889,
8216,
876,
13,
18884,
718,
4852,
6735,
800,
29901,
1273,
29879,
29905,
29876,
29908,
1273,
851,
29898,
25436,
29889,
6735,
800,
876,
13,
18884,
718,
4852,
11249,
3064,
29901,
1273,
29879,
29908,
1273,
313,
25436,
29889,
3706,
7503,
29896,
29900,
1402,
4961,
13,
4706,
1583,
29889,
9294,
9843,
29898,
690,
29892,
260,
1191,
29897,
13,
13,
1678,
822,
1243,
1649,
14634,
29898,
1311,
1125,
13,
4706,
848,
29896,
353,
7442,
29889,
279,
927,
29898,
29896,
29900,
29900,
29900,
29889,
29900,
29892,
29871,
29896,
29900,
29953,
29953,
29889,
29900,
467,
690,
14443,
3552,
29896,
29896,
29892,
29871,
29953,
876,
334,
282,
29939,
29889,
29884,
29963,
13,
4706,
848,
29906,
353,
7442,
29889,
279,
927,
29898,
29906,
29889,
29900,
29892,
29871,
29906,
29889,
29900,
29941,
29941,
29892,
29871,
29900,
29889,
29900,
29900,
29896,
467,
690,
14443,
3552,
29896,
29896,
29892,
29871,
29941,
876,
334,
282,
29939,
29889,
29885,
29963,
13,
4706,
3064,
29896,
353,
7442,
29889,
279,
927,
29898,
29896,
29896,
29889,
29900,
29897,
334,
282,
29939,
29889,
1516,
13,
4706,
3064,
29906,
353,
7442,
29889,
279,
927,
29898,
29896,
29889,
29900,
29892,
29871,
29896,
29906,
29889,
29900,
29897,
334,
282,
29939,
29889,
1516,
13,
4706,
3948,
29918,
812,
29896,
353,
11117,
7665,
29896,
2396,
7442,
29889,
279,
927,
29898,
29953,
511,
525,
7665,
29906,
2396,
6024,
29874,
742,
525,
29890,
742,
525,
29883,
742,
525,
29881,
742,
525,
29872,
742,
525,
29888,
2033,
29913,
13,
4706,
3948,
29918,
812,
29906,
353,
11117,
7665,
29896,
2396,
7442,
29889,
279,
927,
29898,
29896,
29900,
29900,
29892,
29871,
29896,
29900,
29941,
511,
525,
7665,
29941,
2396,
5159,
29913,
13,
13,
4706,
7182,
29896,
353,
6600,
15227,
368,
17708,
29881,
10140,
284,
29898,
3706,
29896,
29892,
848,
29896,
29892,
1024,
2433,
25436,
29896,
742,
13,
462,
462,
965,
6139,
2433,
1688,
7182,
742,
934,
29918,
12574,
2433,
1688,
1445,
29889,
3945,
742,
13,
462,
462,
965,
1409,
29918,
6735,
800,
29922,
2749,
29918,
812,
29896,
29897,
13,
4706,
7182,
29906,
353,
6600,
15227,
368,
17708,
29881,
10140,
284,
29898,
3706,
29896,
29892,
848,
29906,
29892,
1024,
2433,
25436,
29906,
742,
13,
462,
462,
965,
6139,
2433,
1688,
7182,
742,
934,
29918,
12574,
2433,
1688,
1445,
29889,
3945,
742,
13,
462,
462,
965,
1409,
29918,
6735,
800,
29922,
2749,
29918,
812,
29906,
29897,
13,
4706,
7182,
29941,
353,
6600,
15227,
368,
17708,
29881,
10140,
284,
29898,
3706,
29906,
29892,
848,
29906,
29892,
1024,
2433,
25436,
29941,
742,
13,
462,
462,
965,
6139,
2433,
1688,
7182,
742,
934,
29918,
12574,
2433,
1688,
1445,
29889,
3945,
1495,
13,
13,
4706,
411,
18116,
29889,
12510,
29918,
25442,
886,
29898,
11651,
29922,
5574,
29897,
408,
281,
29901,
13,
9651,
19412,
29896,
29906,
353,
7182,
29896,
29889,
14634,
29898,
25436,
29906,
29897,
13,
13,
9651,
1583,
29889,
9294,
5574,
29898,
2435,
29898,
29893,
29897,
1275,
29871,
29896,
29897,
13,
9651,
1583,
29889,
9294,
9843,
29898,
29893,
29961,
29900,
1822,
7320,
29892,
4911,
22709,
29897,
13,
9651,
1583,
29889,
9294,
20529,
9843,
29898,
710,
29898,
29893,
29961,
29900,
1822,
4906,
511,
376,
1576,
1494,
1409,
25495,
892,
376,
13,
462,
462,
462,
4706,
376,
290,
4430,
29892,
1363,
896,
892,
871,
2198,
29908,
13,
462,
462,
462,
4706,
376,
297,
697,
310,
278,
19412,
3618,
29901,
376,
13,
462,
462,
462,
4706,
376,
1839,
7665,
29906,
2033,
515,
278,
697,
393,
471,
19412,
376,
13,
462,
462,
462,
4706,
376,
8941,
322,
6024,
7665,
29941,
2033,
515,
278,
697,
393,
376,
13,
462,
462,
462,
4706,
376,
11102,
19412,
964,
278,
916,
1159,
13,
13,
4706,
3646,
29918,
1272,
29896,
29906,
353,
7442,
29889,
29882,
1429,
4197,
1272,
29896,
29892,
848,
29906,
29889,
690,
29883,
744,
29898,
29886,
29939,
29889,
29884,
29963,
29897,
2314,
13,
13,
4706,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29898,
25436,
29896,
29897,
13,
4706,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29898,
25436,
29906,
29897,
13,
4706,
4974,
29918,
11496,
29918,
3318,
29918,
275,
29918,
2388,
492,
424,
29898,
1050,
3192,
29896,
29906,
29897,
13,
13,
4706,
1583,
29889,
9294,
2499,
3242,
9843,
29898,
1050,
3192,
29896,
29906,
29961,
29945,
29892,
29871,
29900,
1402,
29871,
29896,
29900,
29941,
29900,
29889,
29900,
334,
282,
29939,
29889,
29884,
29963,
29892,
29871,
29929,
29897,
13,
4706,
1583,
29889,
9294,
2499,
3242,
9843,
29898,
1050,
3192,
29896,
29906,
29961,
29945,
29892,
29871,
29953,
1402,
29871,
29906,
29900,
29896,
29945,
29889,
29900,
334,
282,
29939,
29889,
29884,
29963,
29892,
29871,
29929,
29897,
13,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1050,
3192,
29896,
29906,
29889,
978,
29892,
525,
14634,
29898,
25436,
29896,
29892,
7182,
29906,
29897,
1495,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1050,
3192,
29896,
29906,
29889,
1445,
29918,
12574,
29892,
525,
1688,
1445,
29889,
3945,
1495,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
1050,
3192,
29896,
29906,
29889,
2378,
29918,
6735,
800,
1839,
7665,
29896,
7464,
13,
462,
9651,
7442,
29889,
2378,
4197,
29900,
29892,
29871,
29896,
29892,
29871,
29906,
29892,
29871,
29941,
29892,
29871,
29946,
29892,
29871,
29945,
29892,
29871,
29896,
29900,
29900,
29892,
29871,
29896,
29900,
29896,
29892,
29871,
29896,
29900,
29906,
12622,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
1050,
3192,
29896,
29906,
29889,
2378,
29918,
6735,
800,
29892,
4398,
21533,
29897,
13,
13,
4706,
4974,
29918,
2378,
29879,
29918,
11745,
29898,
1050,
3192,
29896,
29906,
29889,
29885,
4211,
4279,
29892,
3646,
29918,
1272,
29896,
29906,
29897,
13,
13,
4706,
1583,
29889,
9294,
29934,
1759,
267,
29898,
15836,
479,
2392,
29892,
7182,
29896,
29889,
14634,
29892,
7182,
29941,
29897,
13,
13,
13,
1990,
4321,
21067,
468,
10140,
284,
6678,
29879,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
1678,
822,
1243,
1649,
23945,
280,
29898,
1311,
1125,
13,
4706,
7182,
29896,
353,
6600,
15227,
368,
17708,
29881,
10140,
284,
29898,
9302,
29889,
279,
927,
29898,
29896,
29900,
29889,
29900,
29897,
847,
29871,
29896,
29900,
29900,
334,
282,
29939,
29889,
29879,
29892,
7442,
29889,
279,
927,
29898,
29896,
29900,
29889,
29900,
511,
13,
462,
462,
965,
10340,
543,
29885,
29963,
1159,
13,
13,
4706,
285,
5415,
353,
1722,
877,
6904,
23945,
280,
742,
525,
29893,
29890,
1495,
13,
4706,
5839,
280,
29889,
15070,
29898,
25436,
29896,
29892,
285,
5415,
29897,
13,
4706,
285,
5415,
29889,
5358,
580,
13,
13,
4706,
285,
5415,
353,
1722,
877,
6904,
23945,
280,
742,
525,
6050,
1495,
13,
4706,
1018,
29901,
13,
9651,
7182,
29906,
353,
5839,
280,
29889,
1359,
29898,
29888,
5415,
29897,
13,
4706,
5174,
7865,
2392,
29901,
13,
9651,
7182,
29906,
353,
6213,
13,
13,
4706,
4974,
29918,
2378,
29918,
11745,
29898,
25436,
29896,
29892,
7182,
29906,
29897,
13,
4706,
285,
5415,
29889,
5358,
580,
13,
4706,
2897,
29889,
5992,
877,
6904,
23945,
280,
1495,
13,
13,
13,
1990,
4321,
29902,
29878,
15227,
368,
17708,
29881,
10140,
284,
6108,
2877,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
1678,
822,
1243,
1649,
4530,
1338,
29918,
2541,
29918,
29881,
15622,
29918,
3706,
29918,
9344,
29918,
915,
29918,
1333,
29918,
11745,
29898,
1311,
1125,
13,
4706,
7182,
29896,
353,
6600,
15227,
368,
17708,
29881,
10140,
284,
29898,
9302,
29889,
279,
927,
29898,
29896,
29900,
29889,
29900,
29897,
847,
29871,
29896,
29900,
29900,
334,
282,
29939,
29889,
29879,
29892,
7442,
29889,
279,
927,
29898,
29896,
29900,
29889,
29900,
511,
13,
462,
462,
965,
10340,
543,
29885,
29963,
1159,
13,
4706,
7182,
29906,
353,
6600,
15227,
368,
17708,
29881,
10140,
284,
29898,
9302,
29889,
279,
927,
29898,
29896,
29900,
29889,
29900,
29897,
847,
29871,
29896,
29900,
29900,
334,
282,
29939,
29889,
1516,
29892,
7442,
29889,
279,
927,
29898,
29896,
29900,
29889,
29900,
511,
13,
462,
462,
965,
10340,
543,
29885,
29963,
1159,
13,
4706,
1583,
29889,
9294,
3664,
9843,
29898,
25436,
29896,
29892,
7182,
29906,
29897,
13,
13,
13,
361,
4770,
978,
1649,
1275,
376,
1649,
3396,
1649,
1115,
13,
1678,
443,
27958,
29889,
3396,
580,
13,
2
] |
src/stactools/sentinel2/utils.py | constantinius/sentinel2 | 1 | 129896 | <gh_stars>1-10
def extract_gsd(image_path: str) -> float:
return float(image_path[-7:-5])
| [
1,
529,
12443,
29918,
303,
1503,
29958,
29896,
29899,
29896,
29900,
13,
1753,
6597,
29918,
3174,
29881,
29898,
3027,
29918,
2084,
29901,
851,
29897,
1599,
5785,
29901,
13,
1678,
736,
5785,
29898,
3027,
29918,
2084,
14352,
29955,
13018,
29945,
2314,
13,
2
] |
services/scraper.py | AlperRehaYAZGAN/ytu-web-data-mining-termpaper | 0 | 109275 | from urllib.request import urlopen
from bs4 import BeautifulSoup
import re
class Scraper():
Newlines = re.compile(r'[\r\n]\s+')
def __init__(self):
pass
def scrape_url_text_content(self,url):
return self.__get_page_text_content(url)
def __get_page_text_content(self,url):
# given a url, get page content
data = urlopen(url).read()
# parse as html structured document
bs = BeautifulSoup(data,"html.parser")
# kill javascript content
for s in bs.findAll('script'):
s.replaceWith('')
# find body and extract text
txt = bs.find('body').getText('\n')
# remove multiple linebreaks and whitespace
return self.Newlines.sub('\n', txt)
#def __get_content_with_trafilatura(self,url):
# downloaded = trafilatura.fetch_url(url)
# return trafilatura.extract(downloaded)
pass
| [
1,
515,
3142,
1982,
29889,
3827,
1053,
5065,
417,
2238,
29871,
13,
3166,
24512,
29946,
1053,
25685,
29903,
1132,
13,
5215,
337,
13,
13,
1990,
2522,
336,
546,
7295,
13,
1678,
1570,
9012,
353,
337,
29889,
12198,
29898,
29878,
29915,
7110,
29878,
29905,
29876,
10725,
29879,
29974,
1495,
13,
268,
13,
1678,
822,
4770,
2344,
12035,
1311,
1125,
13,
4706,
1209,
13,
13,
1678,
822,
24559,
412,
29918,
2271,
29918,
726,
29918,
3051,
29898,
1311,
29892,
2271,
1125,
13,
4706,
736,
1583,
17255,
657,
29918,
3488,
29918,
726,
29918,
3051,
29898,
2271,
29897,
268,
13,
308,
13,
1678,
822,
4770,
657,
29918,
3488,
29918,
726,
29918,
3051,
29898,
1311,
29892,
2271,
1125,
13,
4706,
396,
2183,
263,
3142,
29892,
679,
1813,
2793,
13,
4706,
848,
353,
5065,
417,
2238,
29898,
2271,
467,
949,
580,
13,
4706,
396,
6088,
408,
3472,
2281,
2955,
1842,
13,
4706,
24512,
353,
25685,
29903,
1132,
29898,
1272,
1699,
1420,
29889,
16680,
1159,
13,
4706,
396,
12088,
3513,
2793,
13,
4706,
363,
269,
297,
24512,
29889,
2886,
3596,
877,
2154,
29374,
13,
9651,
269,
29889,
6506,
3047,
877,
1495,
13,
4706,
396,
1284,
3573,
322,
6597,
1426,
13,
4706,
13872,
353,
24512,
29889,
2886,
877,
2587,
2824,
18516,
28909,
29876,
1495,
13,
4706,
396,
3349,
2999,
1196,
8690,
29879,
322,
24358,
13,
4706,
736,
1583,
29889,
4373,
9012,
29889,
1491,
28909,
29876,
742,
13872,
29897,
13,
268,
13,
1678,
396,
1753,
4770,
657,
29918,
3051,
29918,
2541,
29918,
3018,
1777,
7969,
29898,
1311,
29892,
2271,
1125,
13,
1678,
396,
1678,
16532,
353,
1020,
1777,
7969,
29889,
9155,
29918,
2271,
29898,
2271,
29897,
13,
1678,
396,
1678,
736,
1020,
1777,
7969,
29889,
21111,
29898,
10382,
287,
29897,
13,
268,
13,
1678,
1209,
13,
2
] |
Codigos Python/Contains_Duplicate_II.py | BrunoHarlis/Solucoes_LeetCode | 0 | 62387 | <filename>Codigos Python/Contains_Duplicate_II.py
# Fonte: https://leetcode.com/problems/contains-duplicate-ii/
# Autor: <NAME>
# Data: 21/09/2021
"""
PROBLEMA PROSPOSTO:
Dado um array inteiro nums e um inteiro k, retorna true se houver dois
índices distintos i e j no array tal nums[i] == nums[j] e abs(i - j) <= k.
Exemplo 1:
Entrada: nums = [1,2,3,1], k = 3
Saída: verdadeiro
Exemplo 2:
Entrada: nums = [1,0,1,1], k = 1
Saída: verdadeiro
Exemplo 3:
Entrada: nums = [1,2,3,1,2,3], k = 2
Saída: falso
Tempo de execução: 588 ms, mais rápido do que 90,50 % dos envios.
Uso de memória: 25,9 MB, menos de 83,66 % dos envios.
"""
def containsNearbyDuplicate(nums, k):
if len(nums) == len(set(nums)):
return False
for i in range(len(nums)):
for j in range(i+1, len(nums)):
if nums[i] == nums[j]:
if abs(i-j) <= k:
return True
else:
break
return False
| [
1,
529,
9507,
29958,
29907,
397,
19336,
5132,
29914,
21409,
29918,
29928,
786,
5926,
29918,
2687,
29889,
2272,
13,
29937,
383,
9568,
29901,
2045,
597,
280,
300,
401,
29889,
510,
29914,
17199,
29879,
29914,
11516,
29899,
20908,
5926,
29899,
2236,
29914,
13,
29937,
15811,
29901,
529,
5813,
29958,
13,
29937,
3630,
29901,
29871,
29906,
29896,
29914,
29900,
29929,
29914,
29906,
29900,
29906,
29896,
13,
13,
15945,
29908,
13,
8618,
29933,
1307,
1529,
13756,
29903,
5438,
29949,
29901,
13,
29928,
912,
1922,
1409,
2293,
3350,
954,
29879,
321,
1922,
2293,
3350,
413,
29892,
3240,
272,
1056,
1565,
409,
298,
8885,
19760,
29871,
13,
29983,
299,
1575,
28434,
359,
474,
321,
432,
694,
1409,
5969,
954,
29879,
29961,
29875,
29962,
1275,
954,
29879,
29961,
29926,
29962,
321,
6425,
29898,
29875,
448,
432,
29897,
5277,
413,
29889,
13,
13,
1252,
13141,
29871,
29896,
29901,
13,
2369,
509,
1114,
29901,
954,
29879,
353,
518,
29896,
29892,
29906,
29892,
29941,
29892,
29896,
1402,
413,
353,
29871,
29941,
13,
5701,
28815,
29901,
1147,
25372,
3350,
13,
13,
1252,
13141,
29871,
29906,
29901,
13,
2369,
509,
1114,
29901,
954,
29879,
353,
518,
29896,
29892,
29900,
29892,
29896,
29892,
29896,
1402,
413,
353,
29871,
29896,
13,
5701,
28815,
29901,
1147,
25372,
3350,
13,
13,
1252,
13141,
29871,
29941,
29901,
13,
2369,
509,
1114,
29901,
954,
29879,
353,
518,
29896,
29892,
29906,
29892,
29941,
29892,
29896,
29892,
29906,
29892,
29941,
1402,
413,
353,
29871,
29906,
13,
5701,
28815,
29901,
11092,
578,
13,
13,
5776,
1129,
316,
2279,
29884,
2340,
29901,
29871,
29945,
29947,
29947,
10887,
29892,
3503,
23504,
29886,
1941,
437,
712,
29871,
29929,
29900,
29892,
29945,
29900,
1273,
3248,
21061,
359,
29889,
13,
29965,
578,
316,
2626,
14389,
29901,
29871,
29906,
29945,
29892,
29929,
13232,
29892,
17275,
316,
29871,
29947,
29941,
29892,
29953,
29953,
1273,
3248,
21061,
359,
29889,
29871,
13,
13,
15945,
29908,
13,
13,
13,
1753,
3743,
29940,
799,
1609,
29928,
786,
5926,
29898,
1949,
29879,
29892,
413,
1125,
13,
1678,
565,
7431,
29898,
1949,
29879,
29897,
1275,
7431,
29898,
842,
29898,
1949,
29879,
22164,
13,
4706,
736,
7700,
13,
13,
1678,
363,
474,
297,
3464,
29898,
2435,
29898,
1949,
29879,
22164,
13,
4706,
363,
432,
297,
3464,
29898,
29875,
29974,
29896,
29892,
7431,
29898,
1949,
29879,
22164,
13,
9651,
565,
954,
29879,
29961,
29875,
29962,
1275,
954,
29879,
29961,
29926,
5387,
13,
18884,
565,
6425,
29898,
29875,
29899,
29926,
29897,
5277,
413,
29901,
13,
462,
1678,
736,
5852,
13,
18884,
1683,
29901,
13,
462,
1678,
2867,
13,
13,
1678,
736,
7700,
13,
2
] |
atrous_conv.py | pit-ray/Anime-Semantic-Segmentation-GAN | 36 | 89013 | # coding: utf-8
import chainer.links as L
from spectral_norms import SNConv, SNHookConv
class AtrousConv(L.DilatedConvolution2D):
def __init__(self, in_channels, out_channels, ksize=None, rate=1, initialW=None):
super().__init__(in_channels, out_channels, ksize=ksize, stride=1, pad=rate, dilate=rate, initialW=initialW)
class AtrousSNConv(SNConv):
def __init__(self, in_channels, out_channels, ksize=None, rate=1, initialW=None):
super().__init__(in_channels, out_channels, ksize=ksize, stride=1, pad=rate, dilate=rate, initialW=initialW)
class AtrousSNHookConv(SNHookConv):
def __init__(self, in_channels, out_channels, ksize=None, rate=1, initialW=None):
super().__init__(in_channels, out_channels, ksize=ksize, stride=1, pad=rate, dilate=rate, initialW=initialW)
def define_atrous_conv(opt):
if opt.conv_norm == 'original':
return AtrousConv
if opt.conv_norm == 'spectral_norm':
return AtrousSNConv
if opt.conv_norm == 'spectral_norm_hook':
return AtrousSNHookConv
| [
1,
396,
14137,
29901,
23616,
29899,
29947,
13,
5215,
521,
4008,
29889,
4965,
408,
365,
13,
3166,
23161,
29918,
12324,
29879,
1053,
21989,
1168,
29894,
29892,
21989,
29950,
2550,
1168,
29894,
13,
13,
13,
1990,
319,
509,
681,
1168,
29894,
29898,
29931,
29889,
29928,
309,
630,
1168,
4068,
29906,
29928,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
297,
29918,
305,
12629,
29892,
714,
29918,
305,
12629,
29892,
413,
2311,
29922,
8516,
29892,
6554,
29922,
29896,
29892,
2847,
29956,
29922,
8516,
1125,
13,
4706,
2428,
2141,
1649,
2344,
12035,
262,
29918,
305,
12629,
29892,
714,
29918,
305,
12629,
29892,
413,
2311,
29922,
2039,
675,
29892,
380,
2426,
29922,
29896,
29892,
17132,
29922,
10492,
29892,
21749,
403,
29922,
10492,
29892,
2847,
29956,
29922,
11228,
29956,
29897,
13,
13,
13,
1990,
319,
509,
681,
19296,
1168,
29894,
29898,
19296,
1168,
29894,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
297,
29918,
305,
12629,
29892,
714,
29918,
305,
12629,
29892,
413,
2311,
29922,
8516,
29892,
6554,
29922,
29896,
29892,
2847,
29956,
29922,
8516,
1125,
13,
4706,
2428,
2141,
1649,
2344,
12035,
262,
29918,
305,
12629,
29892,
714,
29918,
305,
12629,
29892,
413,
2311,
29922,
2039,
675,
29892,
380,
2426,
29922,
29896,
29892,
17132,
29922,
10492,
29892,
21749,
403,
29922,
10492,
29892,
2847,
29956,
29922,
11228,
29956,
29897,
13,
13,
13,
1990,
319,
509,
681,
19296,
29950,
2550,
1168,
29894,
29898,
19296,
29950,
2550,
1168,
29894,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
297,
29918,
305,
12629,
29892,
714,
29918,
305,
12629,
29892,
413,
2311,
29922,
8516,
29892,
6554,
29922,
29896,
29892,
2847,
29956,
29922,
8516,
1125,
13,
4706,
2428,
2141,
1649,
2344,
12035,
262,
29918,
305,
12629,
29892,
714,
29918,
305,
12629,
29892,
413,
2311,
29922,
2039,
675,
29892,
380,
2426,
29922,
29896,
29892,
17132,
29922,
10492,
29892,
21749,
403,
29922,
10492,
29892,
2847,
29956,
29922,
11228,
29956,
29897,
13,
13,
13,
1753,
4529,
29918,
8141,
681,
29918,
20580,
29898,
3670,
1125,
13,
1678,
565,
3523,
29889,
20580,
29918,
12324,
1275,
525,
13492,
2396,
13,
4706,
736,
319,
509,
681,
1168,
29894,
13,
268,
13,
1678,
565,
3523,
29889,
20580,
29918,
12324,
1275,
525,
21494,
1705,
29918,
12324,
2396,
13,
4706,
736,
319,
509,
681,
19296,
1168,
29894,
13,
268,
13,
1678,
565,
3523,
29889,
20580,
29918,
12324,
1275,
525,
21494,
1705,
29918,
12324,
29918,
20849,
2396,
13,
4706,
736,
319,
509,
681,
19296,
29950,
2550,
1168,
29894,
13,
2
] |
src/main.py | GiantBlargg/cbdl | 0 | 190548 | <gh_stars>0
import click
from squif import SquiCol
from sites import siteHandle
@click.command()
@click.option("--dest", "-d", type=click.Path(file_okay=False), default=".")
@click.option(
"--output", "-o", default="{{{series}}}/{{{title}}}.cbz/{{{name}}}.{{{ext}}}")
@click.argument("URL", nargs=-1, required=True)
def main(dest, output, url):
col = SquiCol(dest, output)
for u in url:
siteHandle(u, col)
col.close()
| [
1,
529,
12443,
29918,
303,
1503,
29958,
29900,
13,
5215,
2828,
13,
3166,
10674,
361,
1053,
317,
6578,
1625,
13,
3166,
11840,
1053,
3268,
13554,
13,
13,
13,
29992,
3808,
29889,
6519,
580,
13,
29992,
3808,
29889,
3385,
703,
489,
7854,
613,
11663,
29881,
613,
1134,
29922,
3808,
29889,
2605,
29898,
1445,
29918,
554,
388,
29922,
8824,
511,
2322,
543,
23157,
13,
29992,
3808,
29889,
3385,
29898,
13,
12,
29908,
489,
4905,
613,
11663,
29877,
613,
2322,
543,
6224,
29912,
13757,
930,
6822,
6224,
29912,
3257,
930,
1836,
10702,
29920,
29914,
6224,
29912,
978,
930,
1836,
6224,
29912,
1062,
12499,
1159,
13,
29992,
3808,
29889,
23516,
703,
4219,
613,
302,
5085,
10457,
29896,
29892,
3734,
29922,
5574,
29897,
13,
1753,
1667,
29898,
7854,
29892,
1962,
29892,
3142,
1125,
13,
12,
1054,
353,
317,
6578,
1625,
29898,
7854,
29892,
1962,
29897,
13,
12,
1454,
318,
297,
3142,
29901,
13,
12,
12,
2746,
13554,
29898,
29884,
29892,
784,
29897,
13,
12,
1054,
29889,
5358,
580,
13,
2
] |
py/tests/problems/linkedlist/partition_test.py | bmoretz/Daily-Coding-Problem | 1 | 146465 | import unittest
from dcp.problems.linkedlist.single import build_list
from dcp.problems.linkedlist.partition import partition1
class Test_Partition1(unittest.TestCase):
def setUp(self):
pass
def test_case1(self):
assert partition1(None, 0) == None
def test_case2(self):
head, partition = build_list([3, 5, 8, 5, 10, 2, 1]), 3
actual = partition1(head, partition)
expected = build_list([2, 1, 3, 5, 8, 5, 10])
assert actual == expected
def test_case3(self):
head, partition = build_list([3, 5, 8, 5, 10, 2, 1]), 5
actual = partition1(head, partition)
expected = build_list([3, 2, 1, 5, 8, 5, 10])
assert actual == expected
def test_case4(self):
head, partition = build_list([3, 5, 8, 5, 10, 2, 1]), 10
actual = partition1(head, partition)
expected = build_list([3, 5, 8, 5, 2, 1, 10])
assert actual == expected
def test_case5(self):
head, partition = build_list([3, 5, 8, 5, 10, 2, 1]), 1
actual = partition1(head, partition)
expected = build_list([3, 5, 8, 5, 10, 2, 1])
assert actual == expected | [
1,
1053,
443,
27958,
13,
13,
3166,
270,
6814,
29889,
17199,
29879,
29889,
2324,
287,
1761,
29889,
14369,
1053,
2048,
29918,
1761,
13,
3166,
270,
6814,
29889,
17199,
29879,
29889,
2324,
287,
1761,
29889,
16707,
1053,
8877,
29896,
13,
13,
1990,
4321,
29918,
7439,
654,
29896,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
268,
13,
1678,
822,
731,
3373,
29898,
1311,
1125,
13,
4706,
1209,
13,
13,
1678,
822,
1243,
29918,
4878,
29896,
29898,
1311,
1125,
13,
13,
4706,
4974,
8877,
29896,
29898,
8516,
29892,
29871,
29900,
29897,
1275,
6213,
13,
13,
1678,
822,
1243,
29918,
4878,
29906,
29898,
1311,
1125,
13,
308,
13,
4706,
2343,
29892,
8877,
353,
2048,
29918,
1761,
4197,
29941,
29892,
29871,
29945,
29892,
29871,
29947,
29892,
29871,
29945,
29892,
29871,
29896,
29900,
29892,
29871,
29906,
29892,
29871,
29896,
11724,
29871,
29941,
13,
13,
4706,
3935,
353,
8877,
29896,
29898,
2813,
29892,
8877,
29897,
13,
13,
4706,
3806,
353,
2048,
29918,
1761,
4197,
29906,
29892,
29871,
29896,
29892,
29871,
29941,
29892,
29871,
29945,
29892,
29871,
29947,
29892,
29871,
29945,
29892,
29871,
29896,
29900,
2314,
13,
308,
13,
4706,
4974,
3935,
1275,
3806,
13,
308,
13,
1678,
822,
1243,
29918,
4878,
29941,
29898,
1311,
1125,
13,
308,
13,
4706,
2343,
29892,
8877,
353,
2048,
29918,
1761,
4197,
29941,
29892,
29871,
29945,
29892,
29871,
29947,
29892,
29871,
29945,
29892,
29871,
29896,
29900,
29892,
29871,
29906,
29892,
29871,
29896,
11724,
29871,
29945,
13,
13,
4706,
3935,
353,
8877,
29896,
29898,
2813,
29892,
8877,
29897,
13,
13,
4706,
3806,
353,
2048,
29918,
1761,
4197,
29941,
29892,
29871,
29906,
29892,
29871,
29896,
29892,
29871,
29945,
29892,
29871,
29947,
29892,
29871,
29945,
29892,
29871,
29896,
29900,
2314,
13,
308,
13,
4706,
4974,
3935,
1275,
3806,
13,
13,
1678,
822,
1243,
29918,
4878,
29946,
29898,
1311,
1125,
13,
308,
13,
4706,
2343,
29892,
8877,
353,
2048,
29918,
1761,
4197,
29941,
29892,
29871,
29945,
29892,
29871,
29947,
29892,
29871,
29945,
29892,
29871,
29896,
29900,
29892,
29871,
29906,
29892,
29871,
29896,
11724,
29871,
29896,
29900,
13,
13,
4706,
3935,
353,
8877,
29896,
29898,
2813,
29892,
8877,
29897,
13,
13,
4706,
3806,
353,
2048,
29918,
1761,
4197,
29941,
29892,
29871,
29945,
29892,
29871,
29947,
29892,
29871,
29945,
29892,
29871,
29906,
29892,
29871,
29896,
29892,
29871,
29896,
29900,
2314,
13,
308,
13,
4706,
4974,
3935,
1275,
3806,
13,
13,
1678,
822,
1243,
29918,
4878,
29945,
29898,
1311,
1125,
13,
308,
13,
4706,
2343,
29892,
8877,
353,
2048,
29918,
1761,
4197,
29941,
29892,
29871,
29945,
29892,
29871,
29947,
29892,
29871,
29945,
29892,
29871,
29896,
29900,
29892,
29871,
29906,
29892,
29871,
29896,
11724,
29871,
29896,
13,
13,
4706,
3935,
353,
8877,
29896,
29898,
2813,
29892,
8877,
29897,
13,
13,
4706,
3806,
353,
2048,
29918,
1761,
4197,
29941,
29892,
29871,
29945,
29892,
29871,
29947,
29892,
29871,
29945,
29892,
29871,
29896,
29900,
29892,
29871,
29906,
29892,
29871,
29896,
2314,
13,
308,
13,
4706,
4974,
3935,
1275,
3806,
2
] |
spinup/algos/pytorch/dppo/test_hvp.py | XiaohanZhangCMU/spinningup | 2 | 191110 | <reponame>XiaohanZhangCMU/spinningup
# Demonstrate
# 1. Pearlmutter hvp theory works
# 2. j-towns 3 backward prop trick works
from autograd import numpy as np
import autograd.numpy.random as npr
from autograd.test_util import check_grads, check_equivalent
from autograd import (grad, elementwise_grad, jacobian, value_and_grad,
hessian_tensor_product, hessian, make_hvp,
tensor_jacobian_product, checkpoint, make_jvp,
make_ggnvp, grad_and_aux)
import torch
import timeit
npr.seed(1)
def jvp():
A = np.random.randn(2, 2)
def f(x):
return np.dot(A, x)
x = np.zeros(2)
jvp_f_x = make_jvp(f)(x)
print(jvp_f_x(np.array([1, 0]))) # f(0) and first column of f's Jacobian at 0
print(jvp_f_x(np.array([0, 1]))) # f(0) and second column of f's Jacobian at 0
def hvp():
hvp = make_hvp(fun)(a)[0]
s = hvp(u)
return s
def hessian1():
H = hessian(fun)(a)
s = np.dot(H, u)
return s
# Adapted using the trick: https://j-towns.github.io/2017/06/12/A-new-trick.html
def torchhvp():
L = torch.sum(torch.sin(x))
y, = torch.autograd.grad(L, x, create_graph=True, retain_graph=False)
w = torch.zeros(y.size(), requires_grad=True)
g = torch.autograd.grad(y, x, grad_outputs = w, create_graph = True)
r = torch.autograd.grad(g, w, grad_outputs = v, create_graph = False)
return r
class net(torch.nn.Module):
def __init__(self): #, D_in, H, D_out):
super(net, self).__init__()
def forward(self, x):
return torch.sum(torch.sin(x))
def torchwNet():
fun = net()
L = fun(x)
y, = torch.autograd.grad(L, x, create_graph=True, retain_graph=False)
w = torch.zeros(y.size(), requires_grad=True)
g = torch.autograd.grad(y, x, grad_outputs = w, create_graph = True)
r = torch.autograd.grad(g, w, grad_outputs = v, create_graph = False)
return r
fun = lambda a: np.sum(np.sin(a))
for size in range(50, 50000, 50):
x = torch.randn(size,)
v = torch.randn(size,)
x.requires_grad=True
a = x.detach().numpy()
u = v.detach().numpy()
print([timeit.timeit(hvp, number=10),timeit.timeit(hessian1, number=10), timeit.timeit(torchhvp, number=10), timeit.timeit(torchwNet, number=10)])
#print(fun(a))
#print(hvp())
#print(hessian1())
#print(torchhvp())
#print(torchwNet())
| [
1,
529,
276,
1112,
420,
29958,
29990,
423,
1148,
273,
29999,
11895,
24494,
29965,
29914,
1028,
262,
1076,
786,
13,
29937,
4432,
265,
710,
403,
13,
29937,
29871,
29896,
29889,
21265,
29880,
6149,
357,
298,
29894,
29886,
6368,
1736,
13,
29937,
29871,
29906,
29889,
432,
29899,
27734,
29879,
29871,
29941,
1250,
1328,
3107,
8938,
1736,
13,
13,
3166,
1120,
468,
3665,
1053,
12655,
408,
7442,
13,
5215,
1120,
468,
3665,
29889,
23749,
29889,
8172,
408,
302,
558,
13,
3166,
1120,
468,
3665,
29889,
1688,
29918,
4422,
1053,
1423,
29918,
5105,
29879,
29892,
1423,
29918,
1686,
27445,
13,
3166,
1120,
468,
3665,
1053,
313,
5105,
29892,
1543,
3538,
29918,
5105,
29892,
432,
562,
711,
713,
29892,
995,
29918,
392,
29918,
5105,
29892,
13,
462,
418,
298,
404,
713,
29918,
20158,
29918,
4704,
29892,
298,
404,
713,
29892,
1207,
29918,
29882,
29894,
29886,
29892,
13,
462,
418,
12489,
29918,
29926,
562,
711,
713,
29918,
4704,
29892,
1423,
3149,
29892,
1207,
29918,
29926,
29894,
29886,
29892,
13,
462,
418,
1207,
29918,
1505,
29876,
29894,
29886,
29892,
4656,
29918,
392,
29918,
2993,
29897,
13,
5215,
4842,
305,
13,
5215,
931,
277,
13,
13,
29876,
558,
29889,
26776,
29898,
29896,
29897,
13,
13,
1753,
432,
29894,
29886,
7295,
13,
1678,
319,
353,
7442,
29889,
8172,
29889,
9502,
29876,
29898,
29906,
29892,
29871,
29906,
29897,
13,
1678,
822,
285,
29898,
29916,
1125,
13,
4706,
736,
7442,
29889,
6333,
29898,
29909,
29892,
921,
29897,
13,
1678,
921,
353,
7442,
29889,
3298,
359,
29898,
29906,
29897,
13,
1678,
432,
29894,
29886,
29918,
29888,
29918,
29916,
353,
1207,
29918,
29926,
29894,
29886,
29898,
29888,
5033,
29916,
29897,
13,
1678,
1596,
29898,
29926,
29894,
29886,
29918,
29888,
29918,
29916,
29898,
9302,
29889,
2378,
4197,
29896,
29892,
29871,
29900,
29962,
4961,
29871,
396,
285,
29898,
29900,
29897,
322,
937,
1897,
310,
285,
29915,
29879,
10968,
713,
472,
29871,
29900,
13,
1678,
1596,
29898,
29926,
29894,
29886,
29918,
29888,
29918,
29916,
29898,
9302,
29889,
2378,
4197,
29900,
29892,
29871,
29896,
29962,
4961,
29871,
396,
285,
29898,
29900,
29897,
322,
1473,
1897,
310,
285,
29915,
29879,
10968,
713,
472,
29871,
29900,
13,
13,
13,
1753,
298,
29894,
29886,
7295,
13,
1678,
298,
29894,
29886,
353,
1207,
29918,
29882,
29894,
29886,
29898,
7692,
5033,
29874,
9601,
29900,
29962,
13,
1678,
269,
353,
298,
29894,
29886,
29898,
29884,
29897,
13,
1678,
736,
269,
13,
13,
1753,
298,
404,
713,
29896,
7295,
13,
1678,
379,
353,
298,
404,
713,
29898,
7692,
5033,
29874,
29897,
13,
1678,
269,
353,
7442,
29889,
6333,
29898,
29950,
29892,
318,
29897,
13,
1678,
736,
269,
13,
13,
29937,
23255,
415,
287,
773,
278,
8938,
29901,
2045,
597,
29926,
29899,
27734,
29879,
29889,
3292,
29889,
601,
29914,
29906,
29900,
29896,
29955,
29914,
29900,
29953,
29914,
29896,
29906,
29914,
29909,
29899,
1482,
29899,
509,
860,
29889,
1420,
13,
1753,
4842,
305,
29882,
29894,
29886,
7295,
13,
1678,
365,
353,
4842,
305,
29889,
2083,
29898,
7345,
305,
29889,
5223,
29898,
29916,
876,
13,
1678,
343,
29892,
353,
4842,
305,
29889,
1300,
468,
3665,
29889,
5105,
29898,
29931,
29892,
921,
29892,
1653,
29918,
4262,
29922,
5574,
29892,
11551,
29918,
4262,
29922,
8824,
29897,
13,
1678,
281,
353,
4842,
305,
29889,
3298,
359,
29898,
29891,
29889,
2311,
3285,
6858,
29918,
5105,
29922,
5574,
29897,
13,
1678,
330,
353,
4842,
305,
29889,
1300,
468,
3665,
29889,
5105,
29898,
29891,
29892,
921,
29892,
4656,
29918,
4905,
29879,
353,
281,
29892,
1653,
29918,
4262,
353,
5852,
29897,
13,
1678,
364,
353,
4842,
305,
29889,
1300,
468,
3665,
29889,
5105,
29898,
29887,
29892,
281,
29892,
4656,
29918,
4905,
29879,
353,
325,
29892,
1653,
29918,
4262,
353,
7700,
29897,
13,
1678,
736,
364,
13,
13,
1990,
7787,
29898,
7345,
305,
29889,
15755,
29889,
7355,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
1125,
396,
29892,
360,
29918,
262,
29892,
379,
29892,
360,
29918,
449,
1125,
13,
4706,
2428,
29898,
1212,
29892,
1583,
467,
1649,
2344,
1649,
580,
13,
13,
1678,
822,
6375,
29898,
1311,
29892,
921,
1125,
13,
4706,
736,
4842,
305,
29889,
2083,
29898,
7345,
305,
29889,
5223,
29898,
29916,
876,
13,
13,
1753,
4842,
305,
29893,
6779,
7295,
13,
1678,
2090,
353,
7787,
580,
13,
1678,
365,
353,
2090,
29898,
29916,
29897,
13,
1678,
343,
29892,
353,
4842,
305,
29889,
1300,
468,
3665,
29889,
5105,
29898,
29931,
29892,
921,
29892,
1653,
29918,
4262,
29922,
5574,
29892,
11551,
29918,
4262,
29922,
8824,
29897,
13,
1678,
281,
353,
4842,
305,
29889,
3298,
359,
29898,
29891,
29889,
2311,
3285,
6858,
29918,
5105,
29922,
5574,
29897,
13,
1678,
330,
353,
4842,
305,
29889,
1300,
468,
3665,
29889,
5105,
29898,
29891,
29892,
921,
29892,
4656,
29918,
4905,
29879,
353,
281,
29892,
1653,
29918,
4262,
353,
5852,
29897,
13,
1678,
364,
353,
4842,
305,
29889,
1300,
468,
3665,
29889,
5105,
29898,
29887,
29892,
281,
29892,
4656,
29918,
4905,
29879,
353,
325,
29892,
1653,
29918,
4262,
353,
7700,
29897,
13,
1678,
736,
364,
13,
13,
7692,
353,
14013,
263,
29901,
7442,
29889,
2083,
29898,
9302,
29889,
5223,
29898,
29874,
876,
13,
1454,
2159,
297,
3464,
29898,
29945,
29900,
29892,
29871,
29945,
29900,
29900,
29900,
29900,
29892,
29871,
29945,
29900,
1125,
13,
1678,
921,
353,
4842,
305,
29889,
9502,
29876,
29898,
2311,
29892,
29897,
13,
1678,
325,
353,
4842,
305,
29889,
9502,
29876,
29898,
2311,
29892,
29897,
13,
1678,
921,
29889,
276,
339,
2658,
29918,
5105,
29922,
5574,
13,
13,
1678,
263,
353,
921,
29889,
4801,
496,
2141,
23749,
580,
13,
1678,
318,
353,
325,
29889,
4801,
496,
2141,
23749,
580,
13,
1678,
1596,
4197,
2230,
277,
29889,
2230,
277,
29898,
29882,
29894,
29886,
29892,
1353,
29922,
29896,
29900,
511,
2230,
277,
29889,
2230,
277,
29898,
29882,
404,
713,
29896,
29892,
1353,
29922,
29896,
29900,
511,
931,
277,
29889,
2230,
277,
29898,
7345,
305,
29882,
29894,
29886,
29892,
1353,
29922,
29896,
29900,
511,
931,
277,
29889,
2230,
277,
29898,
7345,
305,
29893,
6779,
29892,
1353,
29922,
29896,
29900,
29897,
2314,
13,
13,
29937,
2158,
29898,
7692,
29898,
29874,
876,
13,
29937,
2158,
29898,
29882,
29894,
29886,
3101,
13,
29937,
2158,
29898,
29882,
404,
713,
29896,
3101,
13,
29937,
2158,
29898,
7345,
305,
29882,
29894,
29886,
3101,
13,
29937,
2158,
29898,
7345,
305,
29893,
6779,
3101,
13,
2
] |
draw_many_line.py | MeetDevin/WebCrawler | 3 | 98244 | <gh_stars>1-10
# coding: utf-8
# ---
# @File: draw_many_line.py
# @description: 用 matplotlib 在一幅图上绘多条折线,从读取 tensorboard 保存的数据,其在 eager_main 中保存
# @Author: <NAME>
# @E-mail: <EMAIL>
# @Time: 1月11, 2019
# ---
from tensorboard.backend.event_processing import event_accumulator
import matplotlib.pyplot as plt
import matplotlib
matplotlib.rcParams['font.size'] = 18
matplotlib.rcParams['font.family'] = 'Times New Roman'
# 加载tensorboard日志数据
ea_09 = event_accumulator.EventAccumulator('tensor_logs/over09_f/test/events.out.tfevents.1556093081.localhost.localdomain')
ea_09.Reload()
ea_08 = event_accumulator.EventAccumulator('tensor_logs/over08/test/events.out.tfevents.1556090611.localhost.localdomain')
ea_08.Reload()
ea_07 = event_accumulator.EventAccumulator('tensor_logs/over07/test/events.out.tfevents.1556630931.DEVIN-ENTERPRIS')
ea_07.Reload()
ea_06 = event_accumulator.EventAccumulator('tensor_logs/over06/test/events.out.tfevents.1556629252.DEVIN-ENTERPRIS')
ea_06.Reload()
ea_05 = event_accumulator.EventAccumulator('tensor_logs/over05/test/events.out.tfevents.1556628878.DEVIN-ENTERPRIS')
ea_05.Reload()
print(ea_08.scalars.Keys())
line_name = 'Loss'
index_line = 'loss'
line_09 = ea_09.scalars.Items(index_line)
line_08 = ea_08.scalars.Items(index_line)
line_07 = ea_07.scalars.Items(index_line)
line_06 = ea_06.scalars.Items(index_line)
line_05 = ea_05.scalars.Items(index_line)
print(len(line_08))
# def txt_read(logs_path):
# loss_history = []
# acc_history = []
# test_loss_history = []
# test_acc_history = []
# data_m = [loss_history, acc_history, test_loss_history, test_acc_history]
#
# file = open(logs_path, 'r')
# i_line = 0
# for line in file.readlines():
# line = line.strip('\n')
# for v in line.split('\t'):
# if v != '':
# data_m[i_line].append(v)
# i_line += 1
#
# file.close()
# return data_m
#
#
# line_name = 'Accuracy'
# index_line = 3
# # over in 6
# data_0 = txt_read('tensor_logs/lines2019-06-27-18-15-39.txt')
# data_25 = txt_read('tensor_logs/lines_over25.txt')
# data_5 = txt_read('tensor_logs/lines2019-06-27-20-21-23.txt')
# len_test = len(data_0[index_line])
fig = plt.figure(figsize=(6, 4))
ax1 = fig.add_subplot(111)
# # over in txt
# ax1.plot([float(i) for i in range(len_test)], [float(i) for i in data_0[index_line]], label='0.0')
# ax1.plot([float(i) for i in range(len_test)], [float(i) for i in data_25[index_line]], label='0.25')
# ax1.plot([float(i) for i in range(len_test)], [float(i) for i in data_5[index_line]], label='0.50')
# over in tensorboard
ax1.plot([i.step for i in line_09], [i.value for i in line_09], label='0.9')
ax1.plot([i.step for i in line_08], [i.value for i in line_08], label='0.8')
ax1.plot([i.step for i in line_07], [i.value for i in line_07], label='0.7')
ax1.plot([i.step for i in line_06], [i.value for i in line_06], label='0.6')
ax1.plot([i.step for i in line_05], [i.value for i in line_05], label='0.5')
# plt.xticks(fontsize=18)
# plt.yticks(fontsize=18)
ax1.set_xlabel("Step")
ax1.set_ylabel(line_name)
plt.legend(loc='lower right')
plt.show()
| [
1,
529,
12443,
29918,
303,
1503,
29958,
29896,
29899,
29896,
29900,
13,
29937,
14137,
29901,
23616,
29899,
29947,
13,
29937,
11474,
13,
29937,
732,
2283,
29901,
4216,
29918,
13011,
29918,
1220,
29889,
2272,
13,
29937,
732,
8216,
29901,
29871,
30406,
22889,
29871,
30505,
30287,
232,
188,
136,
30861,
30429,
234,
190,
155,
30923,
31217,
233,
141,
155,
31532,
30214,
31594,
235,
178,
190,
30683,
12489,
3377,
29871,
30982,
30946,
30210,
30354,
30763,
30214,
31149,
30505,
19888,
29918,
3396,
29871,
30275,
30982,
30946,
13,
29937,
732,
13720,
29901,
529,
5813,
29958,
13,
29937,
732,
29923,
29899,
2549,
29901,
529,
26862,
6227,
29958,
13,
29937,
732,
2481,
29901,
29871,
29896,
30534,
29896,
29896,
29892,
29871,
29906,
29900,
29896,
29929,
13,
29937,
11474,
13,
13,
3166,
12489,
3377,
29889,
27852,
29889,
3696,
29918,
19170,
1053,
1741,
29918,
5753,
398,
9183,
13,
5215,
22889,
29889,
2272,
5317,
408,
14770,
13,
5215,
22889,
13,
2922,
17357,
29889,
2214,
9629,
1839,
5657,
29889,
2311,
2033,
353,
29871,
29896,
29947,
13,
2922,
17357,
29889,
2214,
9629,
1839,
5657,
29889,
11922,
2033,
353,
525,
29164,
1570,
5917,
29915,
13,
13,
13,
29937,
29871,
30666,
31526,
20158,
3377,
30325,
31096,
30354,
30763,
13,
11248,
29918,
29900,
29929,
353,
1741,
29918,
5753,
398,
9183,
29889,
2624,
7504,
398,
9183,
877,
20158,
29918,
20756,
29914,
957,
29900,
29929,
29918,
29888,
29914,
1688,
29914,
13604,
29889,
449,
29889,
29873,
1725,
794,
29879,
29889,
29896,
29945,
29945,
29953,
29900,
29929,
29941,
29900,
29947,
29896,
29889,
7640,
29889,
2997,
7247,
1495,
13,
11248,
29918,
29900,
29929,
29889,
29934,
7078,
328,
580,
13,
11248,
29918,
29900,
29947,
353,
1741,
29918,
5753,
398,
9183,
29889,
2624,
7504,
398,
9183,
877,
20158,
29918,
20756,
29914,
957,
29900,
29947,
29914,
1688,
29914,
13604,
29889,
449,
29889,
29873,
1725,
794,
29879,
29889,
29896,
29945,
29945,
29953,
29900,
29929,
29900,
29953,
29896,
29896,
29889,
7640,
29889,
2997,
7247,
1495,
13,
11248,
29918,
29900,
29947,
29889,
29934,
7078,
328,
580,
13,
11248,
29918,
29900,
29955,
353,
1741,
29918,
5753,
398,
9183,
29889,
2624,
7504,
398,
9183,
877,
20158,
29918,
20756,
29914,
957,
29900,
29955,
29914,
1688,
29914,
13604,
29889,
449,
29889,
29873,
1725,
794,
29879,
29889,
29896,
29945,
29945,
29953,
29953,
29941,
29900,
29929,
29941,
29896,
29889,
2287,
29963,
1177,
29899,
3919,
1001,
10593,
3235,
1495,
13,
11248,
29918,
29900,
29955,
29889,
29934,
7078,
328,
580,
13,
11248,
29918,
29900,
29953,
353,
1741,
29918,
5753,
398,
9183,
29889,
2624,
7504,
398,
9183,
877,
20158,
29918,
20756,
29914,
957,
29900,
29953,
29914,
1688,
29914,
13604,
29889,
449,
29889,
29873,
1725,
794,
29879,
29889,
29896,
29945,
29945,
29953,
29953,
29906,
29929,
29906,
29945,
29906,
29889,
2287,
29963,
1177,
29899,
3919,
1001,
10593,
3235,
1495,
13,
11248,
29918,
29900,
29953,
29889,
29934,
7078,
328,
580,
13,
11248,
29918,
29900,
29945,
353,
1741,
29918,
5753,
398,
9183,
29889,
2624,
7504,
398,
9183,
877,
20158,
29918,
20756,
29914,
957,
29900,
29945,
29914,
1688,
29914,
13604,
29889,
449,
29889,
29873,
1725,
794,
29879,
29889,
29896,
29945,
29945,
29953,
29953,
29906,
29947,
29947,
29955,
29947,
29889,
2287,
29963,
1177,
29899,
3919,
1001,
10593,
3235,
1495,
13,
11248,
29918,
29900,
29945,
29889,
29934,
7078,
328,
580,
13,
2158,
29898,
11248,
29918,
29900,
29947,
29889,
19529,
1503,
29889,
15506,
3101,
13,
13,
1220,
29918,
978,
353,
525,
29931,
2209,
29915,
13,
2248,
29918,
1220,
353,
525,
6758,
29915,
13,
1220,
29918,
29900,
29929,
353,
321,
29874,
29918,
29900,
29929,
29889,
19529,
1503,
29889,
6913,
29898,
2248,
29918,
1220,
29897,
13,
1220,
29918,
29900,
29947,
353,
321,
29874,
29918,
29900,
29947,
29889,
19529,
1503,
29889,
6913,
29898,
2248,
29918,
1220,
29897,
13,
1220,
29918,
29900,
29955,
353,
321,
29874,
29918,
29900,
29955,
29889,
19529,
1503,
29889,
6913,
29898,
2248,
29918,
1220,
29897,
13,
1220,
29918,
29900,
29953,
353,
321,
29874,
29918,
29900,
29953,
29889,
19529,
1503,
29889,
6913,
29898,
2248,
29918,
1220,
29897,
13,
1220,
29918,
29900,
29945,
353,
321,
29874,
29918,
29900,
29945,
29889,
19529,
1503,
29889,
6913,
29898,
2248,
29918,
1220,
29897,
13,
2158,
29898,
2435,
29898,
1220,
29918,
29900,
29947,
876,
13,
13,
13,
29937,
822,
13872,
29918,
949,
29898,
20756,
29918,
2084,
1125,
13,
29937,
268,
6410,
29918,
18434,
353,
5159,
13,
29937,
268,
1035,
29918,
18434,
353,
5159,
13,
29937,
268,
1243,
29918,
6758,
29918,
18434,
353,
5159,
13,
29937,
268,
1243,
29918,
5753,
29918,
18434,
353,
5159,
13,
29937,
268,
848,
29918,
29885,
353,
518,
6758,
29918,
18434,
29892,
1035,
29918,
18434,
29892,
1243,
29918,
6758,
29918,
18434,
29892,
1243,
29918,
5753,
29918,
18434,
29962,
13,
29937,
13,
29937,
268,
934,
353,
1722,
29898,
20756,
29918,
2084,
29892,
525,
29878,
1495,
13,
29937,
268,
474,
29918,
1220,
353,
29871,
29900,
13,
29937,
268,
363,
1196,
297,
934,
29889,
949,
9012,
7295,
13,
29937,
308,
1196,
353,
1196,
29889,
17010,
28909,
29876,
1495,
13,
29937,
308,
363,
325,
297,
1196,
29889,
5451,
28909,
29873,
29374,
13,
29937,
632,
565,
325,
2804,
525,
2396,
13,
29937,
462,
848,
29918,
29885,
29961,
29875,
29918,
1220,
1822,
4397,
29898,
29894,
29897,
13,
29937,
308,
474,
29918,
1220,
4619,
29871,
29896,
13,
29937,
13,
29937,
268,
934,
29889,
5358,
580,
13,
29937,
268,
736,
848,
29918,
29885,
13,
29937,
13,
29937,
13,
29937,
1196,
29918,
978,
353,
525,
7504,
332,
4135,
29915,
13,
29937,
2380,
29918,
1220,
353,
29871,
29941,
13,
29937,
396,
975,
297,
29871,
29953,
13,
29937,
848,
29918,
29900,
353,
13872,
29918,
949,
877,
20158,
29918,
20756,
29914,
9012,
29906,
29900,
29896,
29929,
29899,
29900,
29953,
29899,
29906,
29955,
29899,
29896,
29947,
29899,
29896,
29945,
29899,
29941,
29929,
29889,
3945,
1495,
13,
29937,
848,
29918,
29906,
29945,
353,
13872,
29918,
949,
877,
20158,
29918,
20756,
29914,
9012,
29918,
957,
29906,
29945,
29889,
3945,
1495,
13,
29937,
848,
29918,
29945,
353,
13872,
29918,
949,
877,
20158,
29918,
20756,
29914,
9012,
29906,
29900,
29896,
29929,
29899,
29900,
29953,
29899,
29906,
29955,
29899,
29906,
29900,
29899,
29906,
29896,
29899,
29906,
29941,
29889,
3945,
1495,
13,
29937,
7431,
29918,
1688,
353,
7431,
29898,
1272,
29918,
29900,
29961,
2248,
29918,
1220,
2314,
13,
13,
1003,
353,
14770,
29889,
4532,
29898,
1003,
2311,
7607,
29953,
29892,
29871,
29946,
876,
13,
1165,
29896,
353,
2537,
29889,
1202,
29918,
1491,
5317,
29898,
29896,
29896,
29896,
29897,
13,
13,
13,
29937,
396,
975,
297,
13872,
13,
29937,
4853,
29896,
29889,
5317,
4197,
7411,
29898,
29875,
29897,
363,
474,
297,
3464,
29898,
2435,
29918,
1688,
29897,
1402,
518,
7411,
29898,
29875,
29897,
363,
474,
297,
848,
29918,
29900,
29961,
2248,
29918,
1220,
20526,
3858,
2433,
29900,
29889,
29900,
1495,
13,
29937,
4853,
29896,
29889,
5317,
4197,
7411,
29898,
29875,
29897,
363,
474,
297,
3464,
29898,
2435,
29918,
1688,
29897,
1402,
518,
7411,
29898,
29875,
29897,
363,
474,
297,
848,
29918,
29906,
29945,
29961,
2248,
29918,
1220,
20526,
3858,
2433,
29900,
29889,
29906,
29945,
1495,
13,
29937,
4853,
29896,
29889,
5317,
4197,
7411,
29898,
29875,
29897,
363,
474,
297,
3464,
29898,
2435,
29918,
1688,
29897,
1402,
518,
7411,
29898,
29875,
29897,
363,
474,
297,
848,
29918,
29945,
29961,
2248,
29918,
1220,
20526,
3858,
2433,
29900,
29889,
29945,
29900,
1495,
13,
29937,
975,
297,
12489,
3377,
13,
1165,
29896,
29889,
5317,
4197,
29875,
29889,
10568,
363,
474,
297,
1196,
29918,
29900,
29929,
1402,
518,
29875,
29889,
1767,
363,
474,
297,
1196,
29918,
29900,
29929,
1402,
3858,
2433,
29900,
29889,
29929,
1495,
13,
1165,
29896,
29889,
5317,
4197,
29875,
29889,
10568,
363,
474,
297,
1196,
29918,
29900,
29947,
1402,
518,
29875,
29889,
1767,
363,
474,
297,
1196,
29918,
29900,
29947,
1402,
3858,
2433,
29900,
29889,
29947,
1495,
13,
1165,
29896,
29889,
5317,
4197,
29875,
29889,
10568,
363,
474,
297,
1196,
29918,
29900,
29955,
1402,
518,
29875,
29889,
1767,
363,
474,
297,
1196,
29918,
29900,
29955,
1402,
3858,
2433,
29900,
29889,
29955,
1495,
13,
1165,
29896,
29889,
5317,
4197,
29875,
29889,
10568,
363,
474,
297,
1196,
29918,
29900,
29953,
1402,
518,
29875,
29889,
1767,
363,
474,
297,
1196,
29918,
29900,
29953,
1402,
3858,
2433,
29900,
29889,
29953,
1495,
13,
1165,
29896,
29889,
5317,
4197,
29875,
29889,
10568,
363,
474,
297,
1196,
29918,
29900,
29945,
1402,
518,
29875,
29889,
1767,
363,
474,
297,
1196,
29918,
29900,
29945,
1402,
3858,
2433,
29900,
29889,
29945,
1495,
13,
13,
29937,
14770,
29889,
486,
7358,
29898,
5657,
2311,
29922,
29896,
29947,
29897,
13,
29937,
14770,
29889,
3637,
7358,
29898,
5657,
2311,
29922,
29896,
29947,
29897,
13,
1165,
29896,
29889,
842,
29918,
29916,
1643,
703,
14448,
1159,
13,
1165,
29896,
29889,
842,
29918,
29891,
1643,
29898,
1220,
29918,
978,
29897,
13,
13,
572,
29873,
29889,
26172,
29898,
2029,
2433,
13609,
1492,
1495,
13,
572,
29873,
29889,
4294,
580,
13,
2
] |
anuga/structures/tests/test_inlet_operator.py | samcom12/anuga_core | 136 | 131945 | #!/usr/bin/env python
from __future__ import division
from past.utils import old_div
import unittest
import os.path
import sys
import numpy
import anuga
from anuga.abstract_2d_finite_volumes.mesh_factory import rectangular_cross
from anuga.shallow_water.shallow_water_domain import Domain
from anuga.abstract_2d_finite_volumes.util import file_function
from anuga.utilities.system_tools import get_pathname_from_package
from anuga.structures.inlet_operator import Inlet_operator
class Test_inlet_operator(unittest.TestCase):
"""
Test the boyd box operator, in particular the discharge_routine!
"""
def setUp(self):
pass
def tearDown(self):
try:
os.remove('Test_Outlet_Inlet.sww')
except:
pass
def _create_domain(self,d_length,
d_width,
dx,
dy,
elevation_0,
elevation_1,
stage_0,
stage_1):
points, vertices, boundary = rectangular_cross(int(old_div(d_length,dx)), int(old_div(d_width,dy)),
len1=d_length, len2=d_width)
domain = Domain(points, vertices, boundary)
domain.set_name('Test_Outlet_Inlet') # Output name
domain.set_store()
domain.set_default_order(2)
domain.H0 = 0.01
domain.tight_slope_limiters = 1
#print 'Size', len(domain)
#------------------------------------------------------------------------------
# Setup initial conditions
#------------------------------------------------------------------------------
def elevation(x, y):
"""Set up a elevation
"""
z = numpy.zeros(x.shape,dtype='d')
z[:] = elevation_0
numpy.putmask(z, x > old_div(d_length,2), elevation_1)
return z
def stage(x,y):
"""Set up stage
"""
z = numpy.zeros(x.shape,dtype='d')
z[:] = stage_0
numpy.putmask(z, x > old_div(d_length,2), stage_1)
return z
#print 'Setting Quantities....'
domain.set_quantity('elevation', elevation) # Use function for elevation
domain.set_quantity('stage', stage) # Use function for elevation
Br = anuga.Reflective_boundary(domain)
domain.set_boundary({'left': Br, 'right': Br, 'top': Br, 'bottom': Br})
return domain
def test_inlet_constant_Q(self):
"""test_inlet_Q
This tests that the inlet operator adds the correct amount of water
"""
stage_0 = 11.0
stage_1 = 10.0
elevation_0 = 10.0
elevation_1 = 10.0
domain_length = 200.0
domain_width = 200.0
domain = self._create_domain(d_length=domain_length,
d_width=domain_width,
dx = 10.0,
dy = 10.0,
elevation_0 = elevation_0,
elevation_1 = elevation_1,
stage_0 = stage_0,
stage_1 = stage_1)
vol0 = domain.compute_total_volume()
finaltime = 3.0
line1 = [[95.0, 10.0], [105.0, 10.0]]
Q1 = 5.00
line2 = [[10.0, 90.0], [20.0, 90.0]]
Q2 = 10.0
Inlet_operator(domain, line1, Q1, logging=False)
Inlet_operator(domain, line2, Q2)
for t in domain.evolve(yieldstep = 1.0, finaltime = finaltime):
#domain.write_time()
#print domain.volumetric_balance_statistics()
pass
vol1 = domain.compute_total_volume()
assert numpy.allclose((Q1+Q2)*finaltime, vol1-vol0, rtol=1.0e-8)
assert numpy.allclose((Q1+Q2)*finaltime, domain.fractional_step_volume_integral, rtol=1.0e-8)
def test_inlet_constant_Q_polygon(self):
"""test_inlet_Q
This tests that the inlet operator adds the correct amount of water
"""
stage_0 = 11.0
stage_1 = 10.0
elevation_0 = 10.0
elevation_1 = 10.0
domain_length = 200.0
domain_width = 200.0
domain = self._create_domain(d_length=domain_length,
d_width=domain_width,
dx = 10.0,
dy = 10.0,
elevation_0 = elevation_0,
elevation_1 = elevation_1,
stage_0 = stage_0,
stage_1 = stage_1)
vol0 = domain.compute_total_volume()
finaltime = 3.0
poly1 = [[95.0, 10.0], [105.0, 10.0], [105, 20.0], [95.0, 20.0]]
Q1 = 5.00
Inlet_operator(domain, poly1, Q1, logging=False)
for t in domain.evolve(yieldstep = 1.0, finaltime = finaltime):
#domain.write_time()
#print domain.volumetric_balance_statistics()
pass
vol1 = domain.compute_total_volume()
assert numpy.allclose((Q1)*finaltime, vol1-vol0, rtol=1.0e-8)
assert numpy.allclose((Q1)*finaltime, domain.fractional_step_volume_integral, rtol=1.0e-8)
def test_inlet_variable_Q(self):
"""test_inlet_Q
This tests that the inlet operator adds the correct amount of water
"""
stage_0 = 11.0
stage_1 = 10.0
elevation_0 = 10.0
elevation_1 = 10.0
domain_length = 200.0
domain_width = 200.0
domain = self._create_domain(d_length=domain_length,
d_width=domain_width,
dx = 10.0,
dy = 10.0,
elevation_0 = elevation_0,
elevation_1 = elevation_1,
stage_0 = stage_0,
stage_1 = stage_1)
vol0 = domain.compute_total_volume()
finaltime = 3.0
#Make sure we are inthe right directory to find the
#time series data for the inlets
import os
path = get_pathname_from_package('anuga.structures')
filename1 = os.path.join(path, 'tests', 'data', 'inlet_operator_test1.tms')
filename2 = os.path.join(path, 'tests', 'data', 'inlet_operator_test2.tms')
line1 = [[95.0, 10.0], [105.0, 10.0]]
Q1 = file_function(filename=filename1, quantities=['hydrograph'])
line2 = [[10.0, 90.0], [20.0, 90.0]]
Q2 = file_function(filename=filename2, quantities=['hydrograph'])
Inlet_operator(domain, line1, Q1)
Inlet_operator(domain, line2, Q2)
for t in domain.evolve(yieldstep = 1.0, finaltime = finaltime):
#domain.write_time()
#print domain.volumetric_balance_statistics()
pass
vol1 = domain.compute_total_volume()
#print vol1-vol0
assert numpy.allclose(13.5, vol1-vol0, rtol=1.0e-8)
assert numpy.allclose(vol1-vol0, domain.fractional_step_volume_integral, rtol=1.0e-8)
def test_inlet_variable_Q_default(self):
"""test_inlet_Q
This tests that the inlet operator adds the correct amount of water
"""
stage_0 = 11.0
stage_1 = 10.0
elevation_0 = 10.0
elevation_1 = 10.0
domain_length = 200.0
domain_width = 200.0
domain = self._create_domain(d_length=domain_length,
d_width=domain_width,
dx = 10.0,
dy = 10.0,
elevation_0 = elevation_0,
elevation_1 = elevation_1,
stage_0 = stage_0,
stage_1 = stage_1)
vol0 = domain.compute_total_volume()
finaltime = 5.0
#Make sure we are inthe right directory to find the
#time series data for the inlets
import os
baseDir = os.getcwd()
path = get_pathname_from_package('anuga.structures')
filename1 = os.path.join(path, 'tests', 'data', 'inlet_operator_test1.tms')
filename2 = os.path.join(path, 'tests', 'data', 'inlet_operator_test2.tms')
line1 = [[95.0, 10.0], [105.0, 10.0]]
Q1 = file_function(filename=filename1, quantities=['hydrograph'])
line2 = [[10.0, 90.0], [20.0, 90.0]]
Q2 = file_function(filename=filename2, quantities=['hydrograph'])
os.chdir(baseDir)
import warnings
warnings.simplefilter("ignore")
Inlet_operator(domain, line1, Q1, default=6)
Inlet_operator(domain, line2, Q2, default=3)
for t in domain.evolve(yieldstep = 1.0, finaltime = finaltime):
#domain.write_time()
#print domain.volumetric_balance_statistics()
pass
warnings.simplefilter("default")
vol1 = domain.compute_total_volume()
#print vol1-vol0
assert numpy.allclose(31.5, vol1-vol0, rtol=1.0e-8)
assert numpy.allclose(vol1-vol0, domain.fractional_step_volume_integral, rtol=1.0e-8)
# =========================================================================
if __name__ == "__main__":
suite = unittest.makeSuite(Test_inlet_operator, 'test')
runner = unittest.TextTestRunner()
runner.run(suite)
| [
1,
18787,
4855,
29914,
2109,
29914,
6272,
3017,
13,
13,
13,
3166,
4770,
29888,
9130,
1649,
1053,
8542,
13,
3166,
4940,
29889,
13239,
1053,
2030,
29918,
4563,
13,
5215,
443,
27958,
13,
5215,
2897,
29889,
2084,
13,
5215,
10876,
13,
13,
5215,
12655,
13,
5215,
385,
26281,
13,
13,
3166,
385,
26281,
29889,
16595,
29918,
29906,
29881,
29918,
18925,
29918,
1555,
9351,
29889,
4467,
29882,
29918,
14399,
1053,
7705,
6825,
29918,
19128,
13,
3166,
385,
26281,
29889,
845,
9536,
29918,
13405,
29889,
845,
9536,
29918,
13405,
29918,
7247,
1053,
28460,
13,
3166,
385,
26281,
29889,
16595,
29918,
29906,
29881,
29918,
18925,
29918,
1555,
9351,
29889,
4422,
1053,
934,
29918,
2220,
13,
3166,
385,
26281,
29889,
4422,
1907,
29889,
5205,
29918,
8504,
1053,
679,
29918,
2084,
978,
29918,
3166,
29918,
5113,
13,
13,
3166,
385,
26281,
29889,
4984,
1973,
29889,
262,
1026,
29918,
6891,
1053,
512,
1026,
29918,
6891,
13,
13,
13,
13,
1990,
4321,
29918,
262,
1026,
29918,
6891,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
1678,
9995,
13,
12,
3057,
278,
1045,
2941,
3800,
5455,
29892,
297,
3153,
278,
766,
23367,
29918,
14608,
457,
29991,
13,
1678,
9995,
13,
13,
1678,
822,
731,
3373,
29898,
1311,
1125,
13,
4706,
1209,
13,
13,
1678,
822,
734,
279,
6767,
29898,
1311,
1125,
13,
4706,
1018,
29901,
13,
9651,
2897,
29889,
5992,
877,
3057,
29918,
29377,
29918,
797,
1026,
29889,
29879,
1615,
1495,
13,
4706,
5174,
29901,
13,
9651,
1209,
13,
308,
13,
268,
13,
268,
13,
1678,
822,
903,
3258,
29918,
7247,
29898,
1311,
29892,
29881,
29918,
2848,
29892,
13,
462,
9651,
270,
29918,
2103,
29892,
13,
462,
9651,
15414,
29892,
13,
462,
9651,
13475,
29892,
13,
462,
9651,
11858,
362,
29918,
29900,
29892,
13,
462,
9651,
11858,
362,
29918,
29896,
29892,
13,
462,
9651,
7408,
29918,
29900,
29892,
13,
462,
9651,
7408,
29918,
29896,
1125,
13,
308,
13,
4706,
3291,
29892,
13791,
29892,
10452,
353,
7705,
6825,
29918,
19128,
29898,
524,
29898,
1025,
29918,
4563,
29898,
29881,
29918,
2848,
29892,
8235,
8243,
938,
29898,
1025,
29918,
4563,
29898,
29881,
29918,
2103,
29892,
4518,
8243,
13,
462,
462,
462,
4706,
7431,
29896,
29922,
29881,
29918,
2848,
29892,
7431,
29906,
29922,
29881,
29918,
2103,
29897,
13,
4706,
5354,
353,
28460,
29898,
9748,
29892,
13791,
29892,
10452,
29897,
1678,
13,
4706,
5354,
29889,
842,
29918,
978,
877,
3057,
29918,
29377,
29918,
797,
1026,
1495,
462,
396,
10604,
1024,
13,
4706,
5354,
29889,
842,
29918,
8899,
580,
13,
4706,
5354,
29889,
842,
29918,
4381,
29918,
2098,
29898,
29906,
29897,
13,
4706,
5354,
29889,
29950,
29900,
353,
29871,
29900,
29889,
29900,
29896,
13,
4706,
5354,
29889,
29873,
523,
29918,
29879,
417,
412,
29918,
13400,
414,
353,
29871,
29896,
13,
13,
4706,
396,
2158,
525,
3505,
742,
7431,
29898,
7247,
29897,
13,
13,
4706,
396,
2683,
2683,
2683,
2683,
9072,
489,
13,
4706,
396,
3789,
786,
2847,
5855,
13,
4706,
396,
2683,
2683,
2683,
2683,
9072,
489,
13,
13,
4706,
822,
11858,
362,
29898,
29916,
29892,
343,
1125,
13,
9651,
9995,
2697,
701,
263,
11858,
362,
13,
9651,
9995,
13,
632,
13,
9651,
503,
353,
12655,
29889,
3298,
359,
29898,
29916,
29889,
12181,
29892,
29881,
1853,
2433,
29881,
1495,
13,
9651,
503,
7503,
29962,
353,
11858,
362,
29918,
29900,
13,
632,
13,
9651,
12655,
29889,
649,
13168,
29898,
29920,
29892,
921,
1405,
2030,
29918,
4563,
29898,
29881,
29918,
2848,
29892,
29906,
511,
11858,
362,
29918,
29896,
29897,
13,
268,
13,
9651,
736,
503,
13,
632,
13,
4706,
822,
7408,
29898,
29916,
29892,
29891,
1125,
13,
9651,
9995,
2697,
701,
7408,
13,
9651,
9995,
13,
9651,
503,
353,
12655,
29889,
3298,
359,
29898,
29916,
29889,
12181,
29892,
29881,
1853,
2433,
29881,
1495,
13,
9651,
503,
7503,
29962,
353,
7408,
29918,
29900,
13,
632,
13,
9651,
12655,
29889,
649,
13168,
29898,
29920,
29892,
921,
1405,
2030,
29918,
4563,
29898,
29881,
29918,
2848,
29892,
29906,
511,
7408,
29918,
29896,
29897,
13,
13,
9651,
736,
503,
13,
632,
13,
4706,
396,
2158,
525,
29020,
22746,
1907,
3045,
29915,
13,
4706,
5354,
29889,
842,
29918,
22640,
877,
29872,
2608,
362,
742,
11858,
362,
29897,
29871,
396,
4803,
740,
363,
11858,
362,
13,
4706,
5354,
29889,
842,
29918,
22640,
877,
19190,
742,
29871,
7408,
29897,
259,
396,
4803,
740,
363,
11858,
362,
13,
13,
4706,
1771,
353,
385,
26281,
29889,
5620,
781,
573,
29918,
9917,
653,
29898,
7247,
29897,
13,
4706,
5354,
29889,
842,
29918,
9917,
653,
3319,
29915,
1563,
2396,
1771,
29892,
525,
1266,
2396,
1771,
29892,
525,
3332,
2396,
1771,
29892,
525,
8968,
2396,
1771,
1800,
13,
308,
13,
4706,
736,
5354,
13,
13,
1678,
822,
1243,
29918,
262,
1026,
29918,
23362,
29918,
29984,
29898,
1311,
1125,
13,
4706,
9995,
1688,
29918,
262,
1026,
29918,
29984,
13,
308,
13,
4706,
910,
6987,
393,
278,
297,
1026,
5455,
12778,
278,
1959,
5253,
310,
4094,
13,
4706,
9995,
13,
13,
4706,
7408,
29918,
29900,
353,
29871,
29896,
29896,
29889,
29900,
13,
4706,
7408,
29918,
29896,
353,
29871,
29896,
29900,
29889,
29900,
13,
4706,
11858,
362,
29918,
29900,
353,
29871,
29896,
29900,
29889,
29900,
13,
4706,
11858,
362,
29918,
29896,
353,
29871,
29896,
29900,
29889,
29900,
13,
13,
4706,
5354,
29918,
2848,
353,
29871,
29906,
29900,
29900,
29889,
29900,
13,
4706,
5354,
29918,
2103,
353,
29871,
29906,
29900,
29900,
29889,
29900,
13,
308,
13,
13,
4706,
5354,
353,
1583,
3032,
3258,
29918,
7247,
29898,
29881,
29918,
2848,
29922,
7247,
29918,
2848,
29892,
13,
462,
462,
268,
270,
29918,
2103,
29922,
7247,
29918,
2103,
29892,
13,
462,
462,
268,
15414,
353,
29871,
29896,
29900,
29889,
29900,
29892,
13,
462,
462,
268,
13475,
353,
29871,
29896,
29900,
29889,
29900,
29892,
13,
462,
462,
268,
11858,
362,
29918,
29900,
353,
11858,
362,
29918,
29900,
29892,
13,
462,
462,
268,
11858,
362,
29918,
29896,
353,
11858,
362,
29918,
29896,
29892,
13,
462,
462,
268,
7408,
29918,
29900,
353,
7408,
29918,
29900,
29892,
13,
462,
462,
268,
7408,
29918,
29896,
353,
7408,
29918,
29896,
29897,
13,
13,
4706,
1700,
29900,
353,
5354,
29889,
26017,
29918,
7827,
29918,
24623,
580,
13,
13,
4706,
2186,
2230,
353,
29871,
29941,
29889,
29900,
13,
4706,
1196,
29896,
353,
5519,
29929,
29945,
29889,
29900,
29892,
29871,
29896,
29900,
29889,
29900,
1402,
518,
29896,
29900,
29945,
29889,
29900,
29892,
29871,
29896,
29900,
29889,
29900,
5262,
13,
4706,
660,
29896,
353,
29871,
29945,
29889,
29900,
29900,
13,
308,
13,
4706,
1196,
29906,
353,
5519,
29896,
29900,
29889,
29900,
29892,
29871,
29929,
29900,
29889,
29900,
1402,
518,
29906,
29900,
29889,
29900,
29892,
29871,
29929,
29900,
29889,
29900,
5262,
13,
4706,
660,
29906,
353,
29871,
29896,
29900,
29889,
29900,
13,
308,
13,
4706,
512,
1026,
29918,
6891,
29898,
7247,
29892,
1196,
29896,
29892,
660,
29896,
29892,
12183,
29922,
8824,
29897,
13,
4706,
512,
1026,
29918,
6891,
29898,
7247,
29892,
1196,
29906,
29892,
660,
29906,
29897,
13,
13,
4706,
363,
260,
297,
5354,
29889,
29872,
1555,
345,
29898,
29891,
969,
10568,
353,
29871,
29896,
29889,
29900,
29892,
2186,
2230,
353,
2186,
2230,
1125,
13,
9651,
396,
7247,
29889,
3539,
29918,
2230,
580,
13,
9651,
396,
2158,
5354,
29889,
1555,
398,
300,
2200,
29918,
5521,
749,
29918,
6112,
6765,
580,
13,
9651,
1209,
13,
29871,
13,
13,
4706,
1700,
29896,
353,
5354,
29889,
26017,
29918,
7827,
29918,
24623,
580,
13,
13,
4706,
4974,
12655,
29889,
497,
5358,
3552,
29984,
29896,
29974,
29984,
29906,
11877,
8394,
2230,
29892,
1700,
29896,
29899,
1555,
29900,
29892,
364,
25027,
29922,
29896,
29889,
29900,
29872,
29899,
29947,
29897,
29871,
13,
4706,
4974,
12655,
29889,
497,
5358,
3552,
29984,
29896,
29974,
29984,
29906,
11877,
8394,
2230,
29892,
5354,
29889,
29888,
13857,
284,
29918,
10568,
29918,
24623,
29918,
14146,
284,
29892,
364,
25027,
29922,
29896,
29889,
29900,
29872,
29899,
29947,
29897,
29871,
13,
13,
13,
13,
1678,
822,
1243,
29918,
262,
1026,
29918,
23362,
29918,
29984,
29918,
3733,
17125,
29898,
1311,
1125,
13,
4706,
9995,
1688,
29918,
262,
1026,
29918,
29984,
13,
13,
4706,
910,
6987,
393,
278,
297,
1026,
5455,
12778,
278,
1959,
5253,
310,
4094,
13,
4706,
9995,
13,
13,
4706,
7408,
29918,
29900,
353,
29871,
29896,
29896,
29889,
29900,
13,
4706,
7408,
29918,
29896,
353,
29871,
29896,
29900,
29889,
29900,
13,
4706,
11858,
362,
29918,
29900,
353,
29871,
29896,
29900,
29889,
29900,
13,
4706,
11858,
362,
29918,
29896,
353,
29871,
29896,
29900,
29889,
29900,
13,
13,
4706,
5354,
29918,
2848,
353,
29871,
29906,
29900,
29900,
29889,
29900,
13,
4706,
5354,
29918,
2103,
353,
29871,
29906,
29900,
29900,
29889,
29900,
13,
13,
13,
4706,
5354,
353,
1583,
3032,
3258,
29918,
7247,
29898,
29881,
29918,
2848,
29922,
7247,
29918,
2848,
29892,
13,
462,
462,
268,
270,
29918,
2103,
29922,
7247,
29918,
2103,
29892,
13,
462,
462,
268,
15414,
353,
29871,
29896,
29900,
29889,
29900,
29892,
13,
462,
462,
268,
13475,
353,
29871,
29896,
29900,
29889,
29900,
29892,
13,
462,
462,
268,
11858,
362,
29918,
29900,
353,
11858,
362,
29918,
29900,
29892,
13,
462,
462,
268,
11858,
362,
29918,
29896,
353,
11858,
362,
29918,
29896,
29892,
13,
462,
462,
268,
7408,
29918,
29900,
353,
7408,
29918,
29900,
29892,
13,
462,
462,
268,
7408,
29918,
29896,
353,
7408,
29918,
29896,
29897,
13,
13,
4706,
1700,
29900,
353,
5354,
29889,
26017,
29918,
7827,
29918,
24623,
580,
13,
13,
4706,
2186,
2230,
353,
29871,
29941,
29889,
29900,
13,
4706,
15680,
29896,
353,
5519,
29929,
29945,
29889,
29900,
29892,
29871,
29896,
29900,
29889,
29900,
1402,
518,
29896,
29900,
29945,
29889,
29900,
29892,
29871,
29896,
29900,
29889,
29900,
1402,
518,
29896,
29900,
29945,
29892,
29871,
29906,
29900,
29889,
29900,
1402,
518,
29929,
29945,
29889,
29900,
29892,
29871,
29906,
29900,
29889,
29900,
5262,
13,
4706,
660,
29896,
353,
29871,
29945,
29889,
29900,
29900,
13,
13,
13,
4706,
512,
1026,
29918,
6891,
29898,
7247,
29892,
15680,
29896,
29892,
660,
29896,
29892,
12183,
29922,
8824,
29897,
13,
13,
13,
4706,
363,
260,
297,
5354,
29889,
29872,
1555,
345,
29898,
29891,
969,
10568,
353,
29871,
29896,
29889,
29900,
29892,
2186,
2230,
353,
2186,
2230,
1125,
13,
9651,
396,
7247,
29889,
3539,
29918,
2230,
580,
13,
9651,
396,
2158,
5354,
29889,
1555,
398,
300,
2200,
29918,
5521,
749,
29918,
6112,
6765,
580,
13,
9651,
1209,
13,
13,
13,
4706,
1700,
29896,
353,
5354,
29889,
26017,
29918,
7827,
29918,
24623,
580,
13,
13,
4706,
4974,
12655,
29889,
497,
5358,
3552,
29984,
29896,
11877,
8394,
2230,
29892,
1700,
29896,
29899,
1555,
29900,
29892,
364,
25027,
29922,
29896,
29889,
29900,
29872,
29899,
29947,
29897,
13,
4706,
4974,
12655,
29889,
497,
5358,
3552,
29984,
29896,
11877,
8394,
2230,
29892,
5354,
29889,
29888,
13857,
284,
29918,
10568,
29918,
24623,
29918,
14146,
284,
29892,
364,
25027,
29922,
29896,
29889,
29900,
29872,
29899,
29947,
29897,
29871,
13,
13,
13,
13,
1678,
822,
1243,
29918,
262,
1026,
29918,
11918,
29918,
29984,
29898,
1311,
1125,
13,
4706,
9995,
1688,
29918,
262,
1026,
29918,
29984,
13,
308,
13,
4706,
910,
6987,
393,
278,
297,
1026,
5455,
12778,
278,
1959,
5253,
310,
4094,
13,
4706,
9995,
13,
13,
4706,
7408,
29918,
29900,
353,
29871,
29896,
29896,
29889,
29900,
13,
4706,
7408,
29918,
29896,
353,
29871,
29896,
29900,
29889,
29900,
13,
4706,
11858,
362,
29918,
29900,
353,
29871,
29896,
29900,
29889,
29900,
13,
4706,
11858,
362,
29918,
29896,
353,
29871,
29896,
29900,
29889,
29900,
13,
13,
4706,
5354,
29918,
2848,
353,
29871,
29906,
29900,
29900,
29889,
29900,
13,
4706,
5354,
29918,
2103,
353,
29871,
29906,
29900,
29900,
29889,
29900,
13,
308,
13,
13,
4706,
5354,
353,
1583,
3032,
3258,
29918,
7247,
29898,
29881,
29918,
2848,
29922,
7247,
29918,
2848,
29892,
13,
462,
462,
268,
270,
29918,
2103,
29922,
7247,
29918,
2103,
29892,
13,
462,
462,
268,
15414,
353,
29871,
29896,
29900,
29889,
29900,
29892,
13,
462,
462,
268,
13475,
353,
29871,
29896,
29900,
29889,
29900,
29892,
13,
462,
462,
268,
11858,
362,
29918,
29900,
353,
11858,
362,
29918,
29900,
29892,
13,
462,
462,
268,
11858,
362,
29918,
29896,
353,
11858,
362,
29918,
29896,
29892,
13,
462,
462,
268,
7408,
29918,
29900,
353,
7408,
29918,
29900,
29892,
13,
462,
462,
268,
7408,
29918,
29896,
353,
7408,
29918,
29896,
29897,
13,
13,
4706,
1700,
29900,
353,
5354,
29889,
26017,
29918,
7827,
29918,
24623,
580,
13,
13,
4706,
2186,
2230,
353,
29871,
29941,
29889,
29900,
13,
13,
4706,
396,
9984,
1854,
591,
526,
938,
354,
1492,
3884,
304,
1284,
278,
13,
4706,
396,
2230,
3652,
848,
363,
278,
297,
10376,
13,
4706,
1053,
2897,
13,
308,
13,
4706,
2224,
353,
679,
29918,
2084,
978,
29918,
3166,
29918,
5113,
877,
273,
26281,
29889,
4984,
1973,
1495,
13,
4706,
10422,
29896,
353,
2897,
29889,
2084,
29889,
7122,
29898,
2084,
29892,
525,
21150,
742,
525,
1272,
742,
525,
262,
1026,
29918,
6891,
29918,
1688,
29896,
29889,
29873,
1516,
1495,
13,
4706,
10422,
29906,
353,
2897,
29889,
2084,
29889,
7122,
29898,
2084,
29892,
525,
21150,
742,
525,
1272,
742,
525,
262,
1026,
29918,
6891,
29918,
1688,
29906,
29889,
29873,
1516,
1495,
13,
13,
4706,
1196,
29896,
353,
5519,
29929,
29945,
29889,
29900,
29892,
29871,
29896,
29900,
29889,
29900,
1402,
518,
29896,
29900,
29945,
29889,
29900,
29892,
29871,
29896,
29900,
29889,
29900,
5262,
13,
4706,
660,
29896,
353,
934,
29918,
2220,
29898,
9507,
29922,
9507,
29896,
29892,
26855,
29922,
1839,
29882,
11279,
4262,
11287,
13,
308,
13,
4706,
1196,
29906,
353,
5519,
29896,
29900,
29889,
29900,
29892,
29871,
29929,
29900,
29889,
29900,
1402,
518,
29906,
29900,
29889,
29900,
29892,
29871,
29929,
29900,
29889,
29900,
5262,
13,
4706,
660,
29906,
353,
934,
29918,
2220,
29898,
9507,
29922,
9507,
29906,
29892,
26855,
29922,
1839,
29882,
11279,
4262,
11287,
13,
13,
308,
13,
4706,
512,
1026,
29918,
6891,
29898,
7247,
29892,
1196,
29896,
29892,
660,
29896,
29897,
13,
4706,
512,
1026,
29918,
6891,
29898,
7247,
29892,
1196,
29906,
29892,
660,
29906,
29897,
13,
13,
4706,
363,
260,
297,
5354,
29889,
29872,
1555,
345,
29898,
29891,
969,
10568,
353,
29871,
29896,
29889,
29900,
29892,
2186,
2230,
353,
2186,
2230,
1125,
13,
9651,
396,
7247,
29889,
3539,
29918,
2230,
580,
13,
9651,
396,
2158,
5354,
29889,
1555,
398,
300,
2200,
29918,
5521,
749,
29918,
6112,
6765,
580,
13,
9651,
1209,
13,
29871,
13,
13,
4706,
1700,
29896,
353,
5354,
29889,
26017,
29918,
7827,
29918,
24623,
580,
13,
13,
4706,
396,
2158,
1700,
29896,
29899,
1555,
29900,
13,
308,
13,
4706,
4974,
12655,
29889,
497,
5358,
29898,
29896,
29941,
29889,
29945,
29892,
1700,
29896,
29899,
1555,
29900,
29892,
364,
25027,
29922,
29896,
29889,
29900,
29872,
29899,
29947,
29897,
29871,
13,
4706,
4974,
12655,
29889,
497,
5358,
29898,
1555,
29896,
29899,
1555,
29900,
29892,
5354,
29889,
29888,
13857,
284,
29918,
10568,
29918,
24623,
29918,
14146,
284,
29892,
364,
25027,
29922,
29896,
29889,
29900,
29872,
29899,
29947,
29897,
29871,
13,
462,
13,
1678,
822,
1243,
29918,
262,
1026,
29918,
11918,
29918,
29984,
29918,
4381,
29898,
1311,
1125,
13,
4706,
9995,
1688,
29918,
262,
1026,
29918,
29984,
13,
13,
4706,
910,
6987,
393,
278,
297,
1026,
5455,
12778,
278,
1959,
5253,
310,
4094,
13,
4706,
9995,
13,
13,
4706,
7408,
29918,
29900,
353,
29871,
29896,
29896,
29889,
29900,
13,
4706,
7408,
29918,
29896,
353,
29871,
29896,
29900,
29889,
29900,
13,
4706,
11858,
362,
29918,
29900,
353,
29871,
29896,
29900,
29889,
29900,
13,
4706,
11858,
362,
29918,
29896,
353,
29871,
29896,
29900,
29889,
29900,
13,
13,
4706,
5354,
29918,
2848,
353,
29871,
29906,
29900,
29900,
29889,
29900,
13,
4706,
5354,
29918,
2103,
353,
29871,
29906,
29900,
29900,
29889,
29900,
13,
13,
13,
4706,
5354,
353,
1583,
3032,
3258,
29918,
7247,
29898,
29881,
29918,
2848,
29922,
7247,
29918,
2848,
29892,
13,
462,
462,
268,
270,
29918,
2103,
29922,
7247,
29918,
2103,
29892,
13,
462,
462,
268,
15414,
353,
29871,
29896,
29900,
29889,
29900,
29892,
13,
462,
462,
268,
13475,
353,
29871,
29896,
29900,
29889,
29900,
29892,
13,
462,
462,
268,
11858,
362,
29918,
29900,
353,
11858,
362,
29918,
29900,
29892,
13,
462,
462,
268,
11858,
362,
29918,
29896,
353,
11858,
362,
29918,
29896,
29892,
13,
462,
462,
268,
7408,
29918,
29900,
353,
7408,
29918,
29900,
29892,
13,
462,
462,
268,
7408,
29918,
29896,
353,
7408,
29918,
29896,
29897,
13,
13,
4706,
1700,
29900,
353,
5354,
29889,
26017,
29918,
7827,
29918,
24623,
580,
13,
13,
4706,
2186,
2230,
353,
29871,
29945,
29889,
29900,
13,
13,
4706,
396,
9984,
1854,
591,
526,
938,
354,
1492,
3884,
304,
1284,
278,
13,
4706,
396,
2230,
3652,
848,
363,
278,
297,
10376,
13,
4706,
1053,
2897,
13,
4706,
2967,
9170,
353,
2897,
29889,
657,
29883,
9970,
580,
13,
13,
4706,
2224,
353,
679,
29918,
2084,
978,
29918,
3166,
29918,
5113,
877,
273,
26281,
29889,
4984,
1973,
1495,
13,
4706,
10422,
29896,
353,
2897,
29889,
2084,
29889,
7122,
29898,
2084,
29892,
525,
21150,
742,
525,
1272,
742,
525,
262,
1026,
29918,
6891,
29918,
1688,
29896,
29889,
29873,
1516,
1495,
13,
4706,
10422,
29906,
353,
2897,
29889,
2084,
29889,
7122,
29898,
2084,
29892,
525,
21150,
742,
525,
1272,
742,
525,
262,
1026,
29918,
6891,
29918,
1688,
29906,
29889,
29873,
1516,
1495,
13,
13,
4706,
1196,
29896,
353,
5519,
29929,
29945,
29889,
29900,
29892,
29871,
29896,
29900,
29889,
29900,
1402,
518,
29896,
29900,
29945,
29889,
29900,
29892,
29871,
29896,
29900,
29889,
29900,
5262,
13,
4706,
660,
29896,
353,
934,
29918,
2220,
29898,
9507,
29922,
9507,
29896,
29892,
26855,
29922,
1839,
29882,
11279,
4262,
11287,
13,
13,
4706,
1196,
29906,
353,
5519,
29896,
29900,
29889,
29900,
29892,
29871,
29929,
29900,
29889,
29900,
1402,
518,
29906,
29900,
29889,
29900,
29892,
29871,
29929,
29900,
29889,
29900,
5262,
13,
4706,
660,
29906,
353,
934,
29918,
2220,
29898,
9507,
29922,
9507,
29906,
29892,
26855,
29922,
1839,
29882,
11279,
4262,
11287,
13,
13,
4706,
2897,
29889,
305,
3972,
29898,
3188,
9170,
29897,
13,
13,
4706,
1053,
18116,
13,
4706,
18116,
29889,
12857,
4572,
703,
17281,
1159,
13,
308,
13,
308,
13,
4706,
512,
1026,
29918,
6891,
29898,
7247,
29892,
1196,
29896,
29892,
660,
29896,
29892,
2322,
29922,
29953,
29897,
13,
4706,
512,
1026,
29918,
6891,
29898,
7247,
29892,
1196,
29906,
29892,
660,
29906,
29892,
2322,
29922,
29941,
29897,
13,
13,
4706,
363,
260,
297,
5354,
29889,
29872,
1555,
345,
29898,
29891,
969,
10568,
353,
29871,
29896,
29889,
29900,
29892,
2186,
2230,
353,
2186,
2230,
1125,
13,
9651,
396,
7247,
29889,
3539,
29918,
2230,
580,
13,
9651,
396,
2158,
5354,
29889,
1555,
398,
300,
2200,
29918,
5521,
749,
29918,
6112,
6765,
580,
13,
9651,
1209,
13,
13,
13,
4706,
18116,
29889,
12857,
4572,
703,
4381,
1159,
13,
4706,
1700,
29896,
353,
5354,
29889,
26017,
29918,
7827,
29918,
24623,
580,
13,
13,
4706,
396,
2158,
1700,
29896,
29899,
1555,
29900,
13,
13,
4706,
4974,
12655,
29889,
497,
5358,
29898,
29941,
29896,
29889,
29945,
29892,
1700,
29896,
29899,
1555,
29900,
29892,
364,
25027,
29922,
29896,
29889,
29900,
29872,
29899,
29947,
29897,
13,
4706,
4974,
12655,
29889,
497,
5358,
29898,
1555,
29896,
29899,
1555,
29900,
29892,
5354,
29889,
29888,
13857,
284,
29918,
10568,
29918,
24623,
29918,
14146,
284,
29892,
364,
25027,
29922,
29896,
29889,
29900,
29872,
29899,
29947,
29897,
29871,
13,
13,
29937,
1275,
9166,
9166,
9166,
9166,
2751,
25512,
13,
361,
4770,
978,
1649,
1275,
376,
1649,
3396,
1649,
1115,
13,
1678,
9460,
353,
443,
27958,
29889,
5675,
5091,
568,
29898,
3057,
29918,
262,
1026,
29918,
6891,
29892,
525,
1688,
1495,
13,
1678,
28877,
353,
443,
27958,
29889,
1626,
3057,
16802,
580,
13,
1678,
28877,
29889,
3389,
29898,
13495,
29897,
13,
2
] |
gitgud/skills/basics/__init__.py | osai-mirrors/git-gud | 133 | 132803 | <gh_stars>100-1000
from gitgud.util import Skill
from gitgud.util.level_builder import BasicLevel
skill = Skill(
'Basics',
'basics',
[
BasicLevel('Introduction to Commits', 'committing', __name__),
BasicLevel('Branching in Git', 'branching', __name__),
BasicLevel('Merging in Git', 'merging', __name__),
BasicLevel('Introduction to Rebasing', 'rebasing', __name__)
]
)
| [
1,
529,
12443,
29918,
303,
1503,
29958,
29896,
29900,
29900,
29899,
29896,
29900,
29900,
29900,
13,
3166,
6315,
29887,
566,
29889,
4422,
1053,
4971,
453,
13,
3166,
6315,
29887,
566,
29889,
4422,
29889,
5563,
29918,
16409,
1053,
19219,
10108,
13,
13,
808,
453,
353,
4971,
453,
29898,
13,
1678,
525,
9496,
1199,
742,
13,
1678,
525,
6500,
1199,
742,
13,
1678,
518,
13,
4706,
19219,
10108,
877,
25898,
304,
1876,
1169,
742,
525,
2055,
5367,
742,
4770,
978,
1649,
511,
13,
4706,
19219,
10108,
877,
29933,
4014,
292,
297,
11786,
742,
525,
17519,
292,
742,
4770,
978,
1649,
511,
13,
4706,
19219,
10108,
877,
15836,
3460,
297,
11786,
742,
525,
1050,
3460,
742,
4770,
978,
1649,
511,
13,
4706,
19219,
10108,
877,
25898,
304,
12936,
5832,
742,
525,
15203,
5832,
742,
4770,
978,
1649,
29897,
13,
1678,
4514,
13,
29897,
13,
2
] |
django_project/spa/urls.py | aliyaandabekova/DJANGO_PROJECT | 0 | 55060 | from django.urls import path
from .views import *
urlpatterns = [
path('',homepage,name='home'),
path('services/',services, name='services'),
path('masters/',masters, name='masters'),
path('register/',register_page,name='register'),
path('login/',login_page, name='login'),
path('master_detail/<int:master_id>/',master_detail,name='master_detail'),
path('logout/',logout_page,name='logout'),
] | [
1,
515,
9557,
29889,
26045,
1053,
2224,
13,
3166,
869,
7406,
1053,
334,
13,
13,
2271,
11037,
29879,
353,
518,
13,
1678,
2224,
877,
742,
5184,
3488,
29892,
978,
2433,
5184,
5477,
13,
1678,
2224,
877,
9916,
29914,
742,
9916,
29892,
1024,
2433,
9916,
5477,
13,
1678,
2224,
877,
6207,
29879,
29914,
742,
6207,
29879,
29892,
1024,
2433,
6207,
29879,
5477,
13,
1678,
2224,
877,
9573,
29914,
742,
9573,
29918,
3488,
29892,
978,
2433,
9573,
5477,
13,
1678,
2224,
877,
7507,
29914,
742,
7507,
29918,
3488,
29892,
1024,
2433,
7507,
5477,
13,
1678,
2224,
877,
6207,
29918,
16432,
29914,
29966,
524,
29901,
6207,
29918,
333,
20690,
742,
6207,
29918,
16432,
29892,
978,
2433,
6207,
29918,
16432,
5477,
13,
1678,
2224,
877,
1188,
449,
29914,
742,
1188,
449,
29918,
3488,
29892,
978,
2433,
1188,
449,
5477,
13,
13,
29962,
2
] |
python/zephyr/datasets/score_dataset.py | r-pad/zephyr | 18 | 6946 | <filename>python/zephyr/datasets/score_dataset.py
import os, copy
import cv2
from functools import partial
import numpy as np
import torch
import torchvision
from torch.utils.data import Dataset
from zephyr.data_util import to_np, vectorize, img2uint8
from zephyr.utils import torch_norm_fast
from zephyr.utils.mask_edge import getRendEdgeScore
from zephyr.utils.edges import generate_distance_image
from zephyr.normals import compute_normals
from zephyr.utils.timer import TorchTimer
try:
from zephyr.datasets.bop_raw_dataset import BopRawDataset
except ImportError:
pass
from zephyr.datasets.prep_dataset import PrepDataset
IMPORTANCE_ORDER = [
28, 27, 32, 33, 36, 35, 29, 16, 26, 22, 13, 4, 26, 21, 22
]
class ScoreDataset(Dataset):
def __init__(self, datapoints, dataset_root, dataset_name, args, mode='train', timing = False):
self.args = args
self.datapoints = datapoints
self.dataset_root = dataset_root
self.dataset_name = dataset_name
self.mode = mode
self.return_full_data = False
self.feature_size = args.feature_size
self.norm_cos_weight = args.norm_cos_weight
self.top_n_feat = args.top_n_feat
self.max_hypos = args.max_hypos
self.ppf_only = args.ppf_only
self.n_ppf_hypos = args.n_ppf_hypos
self.n_sift_hypos = args.n_sift_hypos
self.use_mask_test = args.use_mask_test
if args.raw_bop_dataset:
self.loader = BopRawDataset(
args.bop_root, self.dataset_name, args.split, args.split_name, args.ppf_result_file, no_sift=args.ppf_only, no_ppf=args.sift_only
)
else:
self.loader = PrepDataset(
self.dataset_root, self.feature_size
)
self.dim_point = 0
self.dim_render = 0
self.dim_agg = 0
# About timing
self.timing = timing
self.timing_list = []
if args.model_name == "maskconv":
print("Using Point Render dataset")
self.return_rend, self.return_points, self.return_agg = True, True, False
else:
self.return_rend = False
if args.dataset == "feat":
print("Using Agg Dataset")
self.return_points, self.return_agg = False, True
else: # Use PointNet dataset
if "mix" in args.dataset:
print("Using Mix Dataset")
self.return_points, self.return_agg = True, True
else:
print("Using PointNet Dataset")
self.return_points, self.return_agg = True, False
'''For aggregated features Data'''
if self.return_agg:
self.std = None
self.mean = None
self.feature_inliers = True
self.use_hsv = True
self.normalize = True
self.fs_thresh = 0.02
if args.selected_features is not None:
self.selected_features = args.selected_features
print("Using feature indices:", self.selected_features)
elif self.top_n_feat is not None:
self.selected_features = IMPORTANCE_ORDER[:self.top_n_feat]
print("ScoreDataset: Using top features N =", self.top_n_feat)
print("Using feature indices:", self.selected_features)
args.selected_features = self.selected_features
else:
self.selected_features = list(range(39))
print("Using all aggregated features")
args.selected_features = self.selected_features
self.dim_agg = len(self.selected_features)
self.vectorize = partial(vectorize,
use_hsv=self.use_hsv,
feature_inliers=self.feature_inliers,
norm_cos_weight=self.norm_cos_weight,
fs_thresh=self.fs_thresh
)
self.agg_cache = [None for _ in range(len(self.datapoints))]
'''For PointNet Data'''
self.point_x_labels = []
if self.return_points:
self.max_points = args.max_points
args.xyz_channel = [] # indices of point_x channels that define coordinates
args.model_channel = [] # indices of point_x channels that are specific to the object model
'''Mask channel'''
num_features = 0
# valid_proj.unsqueeze(-1).float(),
# valid_depth.unsqueeze(-1).float(),
if not self.args.no_valid_proj:
self.point_x_labels += ['valid_proj']
num_features += 1
if not self.args.no_valid_depth:
self.point_x_labels += ["valid_depth"]
num_features += 1
'''XYZ channel'''
self.uvd, self.uv = False, False
if "uvd" in args.dataset:
self.uvd = True
args.xyz_channel = list(range(num_features, num_features + 3))
num_features +=3
self.point_x_labels += ['u', 'v', 'd']
elif "uv" in args.dataset:
self.uv = True
args.xyz_channel = list(range(num_features, num_features + 2))
num_features += 2
self.point_x_labels += ['u', 'v']
else:
num_features += 0
args.model_channel += args.xyz_channel
num_non_data = num_features
'''Data channel'''
if "cos" in args.dataset:
self.point_x_labels += ['cam_norm_cos']
self.RGB, self.HSV, self.D, self.diff, self.cos, self.edge, self.ppfscore, self.norm_cos = \
False, False, False, False, False, False, False, False
if "RGB" in args.dataset:
self.RGB, self.HSV = True, False
args.model_channel += list(range(num_features, num_features + 3))
num_features += 6
self.point_x_labels += ['R_diff', 'G_diff', 'B_diff'] if "diff" in args.dataset else ["R1", "G1", "B1", "R2", "G2", "B2"]
elif "HSV" in args.dataset:
self.RGB, self.HSV = True, True
args.model_channel += list(range(num_features, num_features + 3))
num_features += 6
self.point_x_labels += ['H_diff', 'S_diff', 'V_diff'] if "diff" in args.dataset else ["H1", "S1", "V1", "H2", "S2", "V2"]
if "D" in args.dataset:
self.D = True
args.model_channel += list(range(num_features, num_features + 1))
num_features += 2
self.point_x_labels += ["D_diff"] if "diff" in args.dataset else ["D1", "D2"]
if "diff" in args.dataset:
self.diff = True
num_features = num_non_data + (num_features-num_non_data) // 2
if "cos" in args.dataset:
self.cos = True
num_features += 1
if "edge" in args.dataset:
self.edge = True
self.edgecos = "edgecos" in args.dataset
self.edgexnor = "edgexnor" in args.dataset
num_features += 1 if (self.edgecos or self.edgexnor) else 2
if self.edgecos:
self.point_x_labels += ['obs_edge_score']
elif self.edgexnor:
self.point_x_labels += ['edge_xnor']
else:
self.point_x_labels += ['obs_edge_score', "rend_edge_score"]
if "ppfscore" in args.dataset:
self.ppfscore = True
num_features += 1
self.point_x_labels += ['ppf_score']
if "norm" in args.dataset:
self.norm_cos = True
num_features += 1
self.point_x_labels += ['norm_cos']
self.seg_mask = False
if "seg" in args.dataset:
self.seg_mask = True
num_features += 1
self.point_x_labels += ['mask', "mask_edge"]
self.dim_point = num_features
'''Train/Test specific config'''
if self.mode == 'train':
print("Initializating training dataset", self.point_x_labels)
self.cojitter = args.cojitter
self.drop_ratio = args.drop_ratio
self.uv_rot = args.uv_rot
else:
print("Initializating %s dataset" % mode, self.point_x_labels)
self.cojitter = False
self.drop_ratio = 0
self.uv_rot = False
self.transform = torchvision.transforms.Compose([
torchvision.transforms.ToPILImage(),
torchvision.transforms.ColorJitter(brightness=0.2, contrast=0.2, saturation=0.2, hue=0.05),
torchvision.transforms.ToTensor(),
])
if self.cojitter:
self.transform_cojitter = torchvision.transforms.Compose([
torchvision.transforms.ToPILImage(),
torchvision.transforms.ColorJitter(brightness=0.5, contrast=0.5, saturation=0.5, hue=0.5),
torchvision.transforms.ToTensor(),
])
print("ScorePointnetDataset: Using cojitter")
if self.return_rend:
self.dim_render = self.dim_point - 1
def __len__(self):
return len(self.datapoints)
def setNormalization(self, var, mean):
var = torch.from_numpy(np.asarray(var))
mean = torch.from_numpy(np.asarray(mean))
self.std = torch.sqrt(var[self.selected_features]).float()
self.mean = mean[self.selected_features].float()
'''Return [n_hypo, n_features]'''
def getAggData(self, data):
x = self.vectorize(data)
x = x[:, self.selected_features]
if self.normalize:
x = (x-self.mean)/self.std
return x
'''Return [n_hypo, n_points, n_features]'''
def getPointNetData(self, data, return_uv_original=False):
with TorchTimer("Data convert 1", agg_list=self.timing_list, timing = self.timing, verbose=False):
img = data['img'].float() # float [0, 1]
depth = data['depth'].float()
if "pbr" in self.dataset_root and self.mode == "train":
# print("blur depth image")
depth = depth * (torch.ones_like(depth) + 0.003 * torch.randn_like(depth))
transforms = data['transforms'].float()
model_points = data['model_points'].float()
model_colors = data['model_colors'].float() # float [0, 1]
model_normals = data['model_normals'].float()
meta_data = data['meta_data']
with TorchTimer("Transform and project", agg_list=self.timing_list, timing = self.timing, verbose=False):
# Transform and project point cloud
trans_pts = torch.einsum('ijk,mk->imj', transforms[:,:3,:3], model_points) + transforms[:,:3,3].unsqueeze(1)
f_cam = torch.tensor([meta_data['camera_fx'], meta_data['camera_fy']])
c_cam = torch.tensor([meta_data['camera_cx'], meta_data['camera_cy']])
proj_pts = trans_pts[:,:,:2]/trans_pts[:,:,2:]*f_cam + c_cam
uv = proj_pts.long()
invalid_proj = (uv[:,:,1]>=img.shape[0]) + (uv[:,:,1]<0) \
+ (uv[:,:,0]>=img.shape[1]) + (uv[:,:,0]< 0)
uv[invalid_proj] = 0
# Projected depth
proj_depth = trans_pts[:,:,-1]
'''Jitter the color as data augmentation'''
if self.mode == "train":
img = img.permute(2, 0, 1) # (H, W, C) to (C, H, W)
img = self.transform(img)
img = img.permute(1, 2, 0) # (C, H, W) to (H, W, C)
if self.cojitter:
H, W, C = img.shape # (H, W, C)
N, _ = model_colors.shape
data_cojitter = torch.cat([
img.reshape((1, -1, 3)),
model_colors.reshape((1, -1, 3))
], dim=1)
data_cojitter = data_cojitter.permute(2, 0, 1)
cojittered = self.transform_cojitter(data_cojitter)
cojittered = cojittered.permute(1, 2, 0)
img = cojittered[0, :H*W, :].reshape((H, W, C))
model_colors = cojittered[0, H*W:, :].reshape((N, C))
# RGb to HSV
with TorchTimer("RGB to HSV", agg_list=self.timing_list, timing = self.timing, verbose=False):
if self.HSV:
with np.errstate(divide='ignore'):
img_rgb = img2uint8(to_np(img))
# img_hsv = rgb2hsv(img_rgb) # this will convert it to range [0, 1]
img_hsv = cv2.cvtColor(img_rgb,cv2.COLOR_RGB2HSV)
img_hsv = img_hsv.astype(float) / 255.0
img = torch.from_numpy(img_hsv).to(img.device).float()
model_colors_rgb = img2uint8(np.expand_dims(to_np(model_colors), 0))
# model_colors_hsv = rgb2hsv(model_colors_rgb)[0]
model_colors_hsv = cv2.cvtColor(model_colors_rgb,cv2.COLOR_RGB2HSV)[0]
model_colors_hsv = model_colors_hsv.astype(float) / 255.0
model_colors = torch.from_numpy(model_colors_hsv).to(model_colors.device).float()
# Sample the observed HSVD
with TorchTimer("Sample obvervation", agg_list=self.timing_list, timing = self.timing, verbose=False):
obs_color = img[uv[:,:,1], uv[:,:,0], :]
obs_depth = depth[uv[:,:,1], uv[:,:,0]]
with TorchTimer("Hypo Pruning", agg_list=self.timing_list, timing = self.timing, verbose=False):
if self.args.inconst_ratio_th is not None and self.mode == "test":
d_diff = proj_depth - obs_depth
n_points = model_points.shape[0]
invalid_count = (d_diff < -0.02).sum(-1).float()
invalid_ratio = invalid_count / n_points
th = self.args.inconst_ratio_th
idx = invalid_ratio < (th/100.0)
idx[-1] = True
# At least preserve some non-oracle hypos
if idx.sum() == 1:
idx[0] = True
pruning_mask = idx
transforms = transforms[idx]
trans_pts = trans_pts[idx]
obs_color = obs_color[idx]
obs_depth = obs_depth[idx]
uv = uv[idx]
invalid_proj = invalid_proj[idx]
proj_depth = proj_depth[idx]
self.SelectDataByIdx(data, idx)
uv_original = copy.deepcopy(uv)
data['uv_original'] = uv_original
# Transform normals
with TorchTimer("Transform and project 2", agg_list=self.timing_list, timing = self.timing, verbose=False):
trans_norms = torch.einsum('ijk,mk->imj', transforms[:,:3,:3], model_normals)
cam_norm_cos = (- trans_pts * trans_norms).sum(-1) / (torch_norm_fast(trans_pts, -1) * torch_norm_fast(trans_norms, -1))
valid_norm = cam_norm_cos > 0
valid_proj = valid_norm * torch.bitwise_not(invalid_proj)
data['valid_proj'] = valid_proj
# x = []
x = model_points.new_empty((len(transforms), len(model_points), self.dim_point))
idx_feat = 0
with TorchTimer("Valid proj/depth", agg_list=self.timing_list, timing = self.timing, verbose=False):
valid_depth = obs_depth > 0
'''Mask channel'''
if not self.args.no_valid_proj:
# x += [valid_proj.unsqueeze(-1).float()]
x[:, :, idx_feat] = valid_proj.float()
idx_feat += 1
if not self.args.no_valid_depth:
# x += [valid_depth.unsqueeze(-1).float()]
x[:, :, idx_feat] = valid_depth.float()
idx_feat += 1
'''XYZ channel'''
with TorchTimer("Normalize uv", agg_list=self.timing_list, timing = self.timing, verbose=False):
if self.uv or self.uvd:
uv = uv.float()
uv_mean = uv.mean(dim=1, keepdim=True)
uv_std = uv.std(dim=1, keepdim=True)
uv = (uv - uv_mean) / uv_std
if self.uv_rot:
n_hypo, n_point, n_coord = uv.shape
'''random flip'''
flip_mat = torch.rand((n_hypo, 1, n_coord)) > 0.5
flip_mat = (flip_mat.type(uv.dtype) - 0.5) * 2
uv = uv * flip_mat
'''random rotation'''
rot_mat = torch.rand((n_hypo, 1, 1)) * 2 * np.pi
rot_mat = torch.cat([
torch.cos(rot_mat), -torch.sin(rot_mat),
torch.sin(rot_mat), torch.cos(rot_mat)
], 2).reshape((-1, 1, 2, 2))
uv = uv.unsqueeze(-1)
uv = torch.matmul(rot_mat, uv)
uv = uv.squeeze()
# x += [uv]
x[:, :, idx_feat:idx_feat+2] = uv
idx_feat += 2
if self.uvd:
d_diff = proj_depth.unsqueeze(-1) - obs_depth.unsqueeze(-1)
d_diff = (d_diff - d_diff.mean(dim=1, keepdim=True)) / d_diff.std(dim=1, keepdim=True)
# x += [d_diff]
x[:, :, idx_feat:idx_feat+1] = d_diff
idx_feat += 1
'''Point data channel'''
if self.cos:
# x += [cam_norm_cos.unsqueeze(-1).float()]
x[:, :, idx_feat] = cam_norm_cos.float()
idx_feat += 1
with TorchTimer("Compute RGBD/HSVD diff", agg_list=self.timing_list, timing = self.timing, verbose=False):
if self.RGB or self.HSV:
if self.diff:
color_diff = model_colors.unsqueeze(0).expand(obs_color.shape) - obs_color
if self.HSV:
color_diff[:,:,0] = color_diff[:,:,0].abs()
color_diff[:,:,0] = np.minimum(color_diff[:,:,0], 1-color_diff[:,:,0])
# x += [color_diff]
x[:, :, idx_feat:idx_feat+3] = color_diff
idx_feat += 3
else:
# x += [model_colors.unsqueeze(0).expand(obs_color.shape), obs_color]
x[:, :, idx_feat:idx_feat+3] = model_colors.unsqueeze(0).expand(obs_color.shape)
idx_feat += 3
x[:, :, idx_feat:idx_feat+3] = obs_color
idx_feat += 3
if self.D:
if self.diff:
# x += [proj_depth.unsqueeze(-1) - obs_depth.unsqueeze(-1)]
x[:, :, idx_feat] = proj_depth - obs_depth
idx_feat += 1
else:
# x += [proj_depth.unsqueeze(-1), obs_depth.unsqueeze(-1)]
x[:, :, idx_feat] = proj_depth
idx_feat += 1
x[:, :, idx_feat] = obs_depth
idx_feat += 1
'''Edge channel'''
with TorchTimer("Edge", agg_list=self.timing_list, timing = self.timing, verbose=False):
if self.edge:
'''Observed edges'''
if "depth_for_edge" in data:
depth_for_edge = data['depth_for_edge']
# print("Using depth_for_edge", depth_for_edge.min(), depth_for_edge.max())
else:
depth_for_edge = depth
with TorchTimer("generate_distance_image", agg_list=self.timing_list, timing = self.timing, verbose=False):
edge_obs = generate_distance_image(depth_for_edge, canny_l=20, canny_h=50)[0,0]
with TorchTimer("Edge sampling", agg_list=self.timing_list, timing = self.timing, verbose=False):
uv = copy.deepcopy(uv_original) # Re-fetch the uv as it is changed before
edge_score_obs = edge_obs[uv[:,:,1], uv[:,:,0]]
edge_score_obs = torch.exp(-edge_score_obs / 24)
'''Projected edges'''
with TorchTimer("getRendEdgeScore", agg_list=self.timing_list, timing = self.timing, verbose=False):
if "edge_score_rend" in data:
edge_score_rend = data['edge_score_rend']
else:
with torch.no_grad():
edge_score_rend = getRendEdgeScore(img.to(self.args.edge_gpu), uv_original.to(self.args.edge_gpu)).to(uv_original.device)
'''Normalized edge scores'''
edge_score_rend = edge_score_rend / edge_score_rend.max(1, keepdim=True)[0]
# edge_score_obs = torch.exp(-edge_score_obs / )
if self.edgexnor:
edge_score = edge_score_rend * edge_score_obs + (1 - edge_score_rend) * (1 - edge_score_obs)
# x += [edge_score.unsqueeze(-1)]
x[:, :, idx_feat] = edge_score
idx_feat += 1
elif self.edgecos:
# x += [edge_score_obs.unsqueeze(-1)]
x[:, :, idx_feat] = edge_score_obs
idx_feat += 1
else:
# x += [edge_score_obs.unsqueeze(-1)]
# x += [edge_score_rend.unsqueeze(-1)]
x[:, :, idx_feat] = edge_score_obs
idx_feat += 1
x[:, :, idx_feat] = edge_score_rend
idx_feat += 1
if self.args.camera_scale is not None:
meta_data['camera_scale'] = self.args.camera_scale
'''Use the cos of the angle between observed and rendered normal vectors'''
with TorchTimer("Normal vector", agg_list=self.timing_list, timing = self.timing, verbose=False):
if self.norm_cos:
norm_downsample = self.args.norm_downsample
uv = uv_original # Re-fetch the uv as it is changed before
normals = compute_normals(to_np(depth)[::norm_downsample, ::norm_downsample].astype(np.double), meta_data = meta_data)
normals = torch.from_numpy(normals).float()
scene_normals_proj = normals[uv[:,:,1]//norm_downsample, uv[:,:,0]//norm_downsample]
model_normals_proj = trans_norms
norm_cos = (scene_normals_proj * model_normals_proj).sum(dim=-1) / (torch_norm_fast(scene_normals_proj, -1) * torch_norm_fast(model_normals_proj, -1))
norm_cos[norm_cos != norm_cos] = 0
# x += [norm_cos.unsqueeze(-1).float()]
x[:, :, idx_feat] = norm_cos.float()
idx_feat += 1
# with TorchTimer("torch.cat()", agg_list=self.timing_list, timing = self.timing, verbose=False):
# x = torch.cat(x, dim=-1)
# print(x.shape)
if self.args.hard_mask:
x[~valid_proj.bool()]=0
'''Sample the points'''
if self.drop_ratio >= 0 and self.mode == 'train':
n_hypo = x.shape[0]
n_point = x.shape[1]
n_point_kept = int((1.0-self.drop_ratio) * n_point)
if self.max_points is not None and n_point_kept > self.max_points:
n_point_kept = self.max_points
idx = []
for i in range(n_hypo):
idx.append(torch.randperm(n_point)[:n_point_kept].unsqueeze(0))
idx = torch.cat(idx, dim=0)
x = x[torch.arange(n_hypo).unsqueeze(1).expand(n_hypo, n_point_kept), idx]
uv_sampled = uv_original[torch.arange(n_hypo).unsqueeze(1).expand(n_hypo, n_point_kept), idx]
else:
uv_sampled = uv_original
if return_uv_original:
return x, uv_sampled
else:
return x
def getPointRenderData(self, data):
point_x, uv = self.getPointNetData(data, True)
crop_size = 96
pad_size = 2
n_hypo = uv.shape[0]
n_point = uv.shape[1]
span_min = pad_size
span_max = crop_size - pad_size
mask_index = [0]
# data_index = [0, 1] + list(range(4, point_x.shape[2]))
data_index = list(range(point_x.shape[2]))
n_feat = len(data_index)
point_mask = point_x[:, :, mask_index].bool()
point_data = point_x[:, :, data_index]
uv = uv.float()
uv_max = uv.max(dim=1, keepdim=True)[0]
uv_min = uv.min(dim=1, keepdim=True)[0]
uv_center = (uv_max + uv_min) / 2.0
uv_radius = (uv_max - uv_min).max(-1, True)[0] / 2.0
uv_norm = (uv - uv_center) / uv_radius # range in [-1, 1]
uv_resize = (uv_norm + 1) / 2 * (span_max - span_min) + span_min
uv_resize = uv_resize.long()
u = uv_resize[:, :, 0]
v = uv_resize[:, :, 1]
feature_map = torch.zeros(n_hypo, n_feat, crop_size, crop_size)
t = torch.arange(n_hypo).view(-1,1).repeat(1, n_point)
u = u.reshape(-1)[point_mask.view(-1)]
v = v.reshape(-1)[point_mask.view(-1)]
t = t.view(-1)[point_mask.view(-1)]
feature_map[t.view(-1), :, v.view(-1), u.view(-1)] = point_data.view(-1, n_feat)[point_mask.view(-1)]
mask_map = feature_map[:, 0:1, :, :]
data_map = feature_map[:, 1:, :, :]
return mask_map, data_map
def SelectDataByIdx(self, data, idx):
data['transforms'] = data['transforms'][idx]
data['pp_err'] = data['pp_err'][idx]
if "edge_score_rend" in data:
data['edge_score_rend'] = data['edge_score_rend'][idx]
return data
def __getitem__(self, idx):
dp = self.datapoints[idx]
to_return = {"object_id": dp[0], "scene_id": dp[1], "im_id": dp[2]}
obj_id = dp[0]
scene_id = dp[1]
im_id = dp[2]
'''If only used aggregated features, return the cached one'''
if self.return_agg and not self.return_points and self.agg_cache[idx] is not None:
to_return['agg_x'], to_return['pp_err'], to_return['transforms'] = self.agg_cache[idx]
return to_return
# data = loadData(*dp, feature_size = self.feature_size, base_path = self.dataset_root)
# '''Get the model data and send it into the processing function'''
# model_data = self.getModelData(dp[0])
# data.update(model_data)
data = self.loader.loadData(*dp)
assert len(data['pp_err']) == 101 or len(data['pp_err']) == 1101 or len(data['pp_err']) == 301
assert not (self.args.ppf_only and self.args.sift_only)
if self.args.ppf_only:
assert len(data['pp_err']) >= self.args.n_ppf_hypos + 1
idx = list(np.arange(self.args.n_ppf_hypos)) + [-1]
self.SelectDataByIdx(data, idx)
if self.args.sift_only:
assert len(data['pp_err']) >= self.args.n_ppf_hypos + self.args.n_sift_hypos + 1
idx = list(range(self.n_ppf_hypos, self.n_ppf_hypos+self.n_sift_hypos)) + [-1]
data = self.SelectDataByIdx(data, idx)
'''Sample the hypotheses'''
point_x = self.getPointNetData(data)
n_hypo = len(point_x)
to_return['object_id'] = to_return['object_id'].repeat(n_hypo)
to_return['scene_id'] = to_return['scene_id'].repeat(n_hypo)
to_return['im_id'] = to_return['im_id'].repeat(n_hypo)
to_return['pp_err'] = data['pp_err'].reshape(-1)
to_return['transforms'] = data['transforms']
if self.return_agg:
to_return['agg_x'] = self.getAggData(data)
self.agg_cache[idx] = (to_return['agg_x'], to_return['pp_err'], to_return['transforms'])
if self.return_points:
if self.return_rend:
to_return['rend_mask'], to_return['x_rend'] = self.getPointRenderData(data)
to_return['mask_x'] = to_return['rend_mask']
to_return['rend_x'] = to_return['x_rend']
else:
to_return['point_x'] = point_x
# print("to_return['pp_err']", to_return['pp_err'])
# print("to_return['pp_err']", to_return['pp_err'].shape)
# print("to_return['transforms']", to_return['transforms'].shape)
# print("to_return['point_x']", to_return['point_x'].shape)
to_return['dataset_i'] = 0
# For ICP post-processing
to_return['depth'] = data['depth']
to_return['meta_data'] = data['meta_data']
to_return['uv_original'] = data['uv_original']
to_return['model_points'] = data['model_points']
return to_return
| [
1,
529,
9507,
29958,
4691,
29914,
911,
561,
4316,
29914,
14538,
1691,
29914,
13628,
29918,
24713,
29889,
2272,
13,
5215,
2897,
29892,
3509,
30004,
13,
5215,
13850,
29906,
30004,
13,
3166,
2090,
312,
8789,
1053,
7687,
30004,
13,
30004,
13,
5215,
12655,
408,
7442,
30004,
13,
5215,
4842,
305,
30004,
13,
5215,
4842,
305,
4924,
30004,
13,
3166,
4842,
305,
29889,
13239,
29889,
1272,
1053,
13373,
24541,
30004,
13,
30004,
13,
3166,
3777,
561,
4316,
29889,
1272,
29918,
4422,
1053,
304,
29918,
9302,
29892,
4608,
675,
29892,
10153,
29906,
13470,
29947,
30004,
13,
3166,
3777,
561,
4316,
29889,
13239,
1053,
4842,
305,
29918,
12324,
29918,
11255,
30004,
13,
3166,
3777,
561,
4316,
29889,
13239,
29889,
13168,
29918,
12864,
1053,
679,
29934,
355,
23894,
20097,
30004,
13,
3166,
3777,
561,
4316,
29889,
13239,
29889,
287,
2710,
1053,
5706,
29918,
19244,
29918,
3027,
30004,
13,
3166,
3777,
561,
4316,
29889,
12324,
1338,
1053,
10272,
29918,
12324,
1338,
30004,
13,
3166,
3777,
561,
4316,
29889,
13239,
29889,
20404,
1053,
4794,
305,
14745,
30004,
13,
30004,
13,
2202,
29901,
30004,
13,
1678,
515,
3777,
561,
4316,
29889,
14538,
1691,
29889,
29890,
459,
29918,
1610,
29918,
24713,
1053,
350,
459,
22131,
16390,
24541,
30004,
13,
19499,
16032,
2392,
29901,
30004,
13,
1678,
1209,
30004,
13,
3166,
3777,
561,
4316,
29889,
14538,
1691,
29889,
15287,
29918,
24713,
1053,
349,
3445,
16390,
24541,
30004,
13,
30004,
13,
29902,
3580,
8476,
23219,
29918,
22364,
353,
518,
30004,
13,
268,
29906,
29947,
29892,
29871,
29906,
29955,
29892,
29871,
29941,
29906,
29892,
29871,
29941,
29941,
29892,
29871,
29941,
29953,
29892,
29871,
29941,
29945,
29892,
29871,
29906,
29929,
29892,
29871,
29896,
29953,
29892,
29871,
29906,
29953,
29892,
29871,
29906,
29906,
29892,
29871,
29896,
29941,
29892,
29871,
29946,
29892,
29871,
29906,
29953,
29892,
29871,
29906,
29896,
29892,
29871,
29906,
29906,
30004,
13,
29962,
30004,
13,
30004,
13,
1990,
2522,
487,
16390,
24541,
29898,
16390,
24541,
1125,
30004,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
1418,
481,
2461,
29879,
29892,
8783,
29918,
4632,
29892,
8783,
29918,
978,
29892,
6389,
29892,
4464,
2433,
14968,
742,
28750,
353,
7700,
1125,
30004,
13,
4706,
1583,
29889,
5085,
353,
6389,
30004,
13,
4706,
1583,
29889,
4130,
481,
2461,
29879,
353,
1418,
481,
2461,
29879,
30004,
13,
4706,
1583,
29889,
24713,
29918,
4632,
353,
8783,
29918,
4632,
30004,
13,
4706,
1583,
29889,
24713,
29918,
978,
353,
8783,
29918,
978,
30004,
13,
4706,
1583,
29889,
8513,
353,
4464,
30004,
13,
4706,
1583,
29889,
2457,
29918,
8159,
29918,
1272,
353,
7700,
30004,
13,
30004,
13,
4706,
1583,
29889,
14394,
29918,
2311,
353,
6389,
29889,
14394,
29918,
2311,
30004,
13,
4706,
1583,
29889,
12324,
29918,
3944,
29918,
7915,
353,
6389,
29889,
12324,
29918,
3944,
29918,
7915,
30004,
13,
4706,
1583,
29889,
3332,
29918,
29876,
29918,
1725,
271,
353,
6389,
29889,
3332,
29918,
29876,
29918,
1725,
271,
30004,
13,
4706,
1583,
29889,
3317,
29918,
5819,
1066,
353,
6389,
29889,
3317,
29918,
5819,
1066,
30004,
13,
4706,
1583,
29889,
407,
29888,
29918,
6194,
353,
6389,
29889,
407,
29888,
29918,
6194,
30004,
13,
4706,
1583,
29889,
29876,
29918,
407,
29888,
29918,
5819,
1066,
353,
6389,
29889,
29876,
29918,
407,
29888,
29918,
5819,
1066,
30004,
13,
4706,
1583,
29889,
29876,
29918,
29879,
2027,
29918,
5819,
1066,
353,
6389,
29889,
29876,
29918,
29879,
2027,
29918,
5819,
1066,
30004,
13,
4706,
1583,
29889,
1509,
29918,
13168,
29918,
1688,
353,
6389,
29889,
1509,
29918,
13168,
29918,
1688,
30004,
13,
30004,
13,
4706,
565,
6389,
29889,
1610,
29918,
29890,
459,
29918,
24713,
29901,
30004,
13,
9651,
1583,
29889,
12657,
353,
350,
459,
22131,
16390,
24541,
29898,
30004,
13,
18884,
6389,
29889,
29890,
459,
29918,
4632,
29892,
1583,
29889,
24713,
29918,
978,
29892,
6389,
29889,
5451,
29892,
6389,
29889,
5451,
29918,
978,
29892,
6389,
29889,
407,
29888,
29918,
2914,
29918,
1445,
29892,
694,
29918,
29879,
2027,
29922,
5085,
29889,
407,
29888,
29918,
6194,
29892,
694,
29918,
407,
29888,
29922,
5085,
29889,
29879,
2027,
29918,
6194,
30004,
13,
18884,
1723,
30004,
13,
4706,
1683,
29901,
30004,
13,
9651,
1583,
29889,
12657,
353,
349,
3445,
16390,
24541,
29898,
30004,
13,
18884,
1583,
29889,
24713,
29918,
4632,
29892,
1583,
29889,
14394,
29918,
2311,
30004,
13,
9651,
1723,
30004,
13,
30004,
13,
4706,
1583,
29889,
6229,
29918,
3149,
353,
29871,
29900,
30004,
13,
4706,
1583,
29889,
6229,
29918,
9482,
353,
29871,
29900,
30004,
13,
4706,
1583,
29889,
6229,
29918,
16170,
353,
29871,
29900,
30004,
13,
30004,
13,
4706,
396,
13611,
28750,
30004,
13,
4706,
1583,
29889,
9346,
292,
353,
28750,
30004,
13,
4706,
1583,
29889,
9346,
292,
29918,
1761,
353,
5159,
30004,
13,
30004,
13,
4706,
565,
6389,
29889,
4299,
29918,
978,
1275,
376,
13168,
20580,
1115,
30004,
13,
9651,
1596,
703,
15156,
8984,
26000,
8783,
1159,
30004,
13,
9651,
1583,
29889,
2457,
29918,
28759,
29892,
1583,
29889,
2457,
29918,
9748,
29892,
1583,
29889,
2457,
29918,
16170,
353,
5852,
29892,
5852,
29892,
7700,
30004,
13,
4706,
1683,
29901,
30004,
13,
9651,
1583,
29889,
2457,
29918,
28759,
353,
7700,
30004,
13,
9651,
565,
6389,
29889,
24713,
1275,
376,
1725,
271,
1115,
30004,
13,
18884,
1596,
703,
15156,
319,
1505,
13373,
24541,
1159,
30004,
13,
18884,
1583,
29889,
2457,
29918,
9748,
29892,
1583,
29889,
2457,
29918,
16170,
353,
7700,
29892,
5852,
30004,
13,
9651,
1683,
29901,
396,
4803,
8984,
6779,
8783,
30004,
13,
18884,
565,
376,
28084,
29908,
297,
6389,
29889,
24713,
29901,
30004,
13,
462,
1678,
1596,
703,
15156,
23478,
13373,
24541,
1159,
30004,
13,
462,
1678,
1583,
29889,
2457,
29918,
9748,
29892,
1583,
29889,
2457,
29918,
16170,
353,
5852,
29892,
5852,
30004,
13,
18884,
1683,
29901,
30004,
13,
462,
1678,
1596,
703,
15156,
8984,
6779,
13373,
24541,
1159,
30004,
13,
462,
1678,
1583,
29889,
2457,
29918,
9748,
29892,
1583,
29889,
2457,
29918,
16170,
353,
5852,
29892,
7700,
30004,
13,
30004,
13,
4706,
14550,
2831,
11404,
630,
5680,
3630,
12008,
30004,
13,
4706,
565,
1583,
29889,
2457,
29918,
16170,
29901,
30004,
13,
9651,
1583,
29889,
4172,
353,
6213,
30004,
13,
9651,
1583,
29889,
12676,
353,
6213,
30004,
13,
30004,
13,
9651,
1583,
29889,
14394,
29918,
262,
27801,
353,
5852,
30004,
13,
9651,
1583,
29889,
1509,
29918,
29882,
4501,
353,
5852,
30004,
13,
9651,
1583,
29889,
8945,
675,
353,
5852,
30004,
13,
9651,
1583,
29889,
5847,
29918,
386,
3781,
353,
29871,
29900,
29889,
29900,
29906,
30004,
13,
30004,
13,
9651,
565,
6389,
29889,
8391,
29918,
22100,
338,
451,
6213,
29901,
30004,
13,
18884,
1583,
29889,
8391,
29918,
22100,
353,
6389,
29889,
8391,
29918,
22100,
30004,
13,
18884,
1596,
703,
15156,
4682,
16285,
29901,
613,
1583,
29889,
8391,
29918,
22100,
8443,
13,
9651,
25342,
1583,
29889,
3332,
29918,
29876,
29918,
1725,
271,
338,
451,
6213,
29901,
30004,
13,
18884,
1583,
29889,
8391,
29918,
22100,
353,
306,
3580,
8476,
23219,
29918,
22364,
7503,
1311,
29889,
3332,
29918,
29876,
29918,
1725,
271,
29962,
30004,
13,
18884,
1596,
703,
20097,
16390,
24541,
29901,
5293,
2246,
5680,
405,
353,
613,
1583,
29889,
3332,
29918,
29876,
29918,
1725,
271,
8443,
13,
18884,
1596,
703,
15156,
4682,
16285,
29901,
613,
1583,
29889,
8391,
29918,
22100,
8443,
13,
18884,
6389,
29889,
8391,
29918,
22100,
353,
1583,
29889,
8391,
29918,
22100,
30004,
13,
9651,
1683,
29901,
30004,
13,
18884,
1583,
29889,
8391,
29918,
22100,
353,
1051,
29898,
3881,
29898,
29941,
29929,
876,
30004,
13,
18884,
1596,
703,
15156,
599,
11404,
630,
5680,
1159,
30004,
13,
18884,
6389,
29889,
8391,
29918,
22100,
353,
1583,
29889,
8391,
29918,
22100,
30004,
13,
30004,
13,
9651,
1583,
29889,
6229,
29918,
16170,
353,
7431,
29898,
1311,
29889,
8391,
29918,
22100,
8443,
13,
30004,
13,
9651,
1583,
29889,
8111,
675,
353,
7687,
29898,
8111,
675,
11167,
13,
18884,
671,
29918,
29882,
4501,
29922,
1311,
29889,
1509,
29918,
29882,
4501,
11167,
13,
18884,
4682,
29918,
262,
27801,
29922,
1311,
29889,
14394,
29918,
262,
27801,
11167,
13,
18884,
6056,
29918,
3944,
29918,
7915,
29922,
1311,
29889,
12324,
29918,
3944,
29918,
7915,
11167,
13,
18884,
18920,
29918,
386,
3781,
29922,
1311,
29889,
5847,
29918,
386,
3781,
30004,
13,
18884,
1723,
30004,
13,
30004,
13,
9651,
1583,
29889,
16170,
29918,
8173,
353,
518,
8516,
363,
903,
297,
3464,
29898,
2435,
29898,
1311,
29889,
4130,
481,
2461,
29879,
28166,
30004,
13,
30004,
13,
4706,
14550,
2831,
8984,
6779,
3630,
12008,
30004,
13,
4706,
1583,
29889,
3149,
29918,
29916,
29918,
21134,
353,
5159,
30004,
13,
4706,
565,
1583,
29889,
2457,
29918,
9748,
29901,
30004,
13,
9651,
1583,
29889,
3317,
29918,
9748,
353,
6389,
29889,
3317,
29918,
9748,
30004,
13,
9651,
6389,
29889,
20230,
29918,
12719,
353,
5159,
396,
16285,
310,
1298,
29918,
29916,
18196,
393,
4529,
10350,
30004,
13,
9651,
6389,
29889,
4299,
29918,
12719,
353,
5159,
396,
16285,
310,
1298,
29918,
29916,
18196,
393,
526,
2702,
304,
278,
1203,
1904,
30004,
13,
30004,
13,
9651,
14550,
19832,
8242,
12008,
30004,
13,
9651,
954,
29918,
22100,
353,
29871,
29900,
30004,
13,
9651,
396,
2854,
29918,
20865,
29889,
6948,
802,
29872,
911,
6278,
29896,
467,
7411,
3285,
30004,
13,
9651,
396,
2854,
29918,
19488,
29889,
6948,
802,
29872,
911,
6278,
29896,
467,
7411,
3285,
30004,
13,
30004,
13,
9651,
565,
451,
1583,
29889,
5085,
29889,
1217,
29918,
3084,
29918,
20865,
29901,
30004,
13,
18884,
1583,
29889,
3149,
29918,
29916,
29918,
21134,
4619,
6024,
3084,
29918,
20865,
2033,
30004,
13,
18884,
954,
29918,
22100,
4619,
29871,
29896,
30004,
13,
9651,
565,
451,
1583,
29889,
5085,
29889,
1217,
29918,
3084,
29918,
19488,
29901,
30004,
13,
18884,
1583,
29889,
3149,
29918,
29916,
29918,
21134,
4619,
6796,
3084,
29918,
19488,
3108,
30004,
13,
18884,
954,
29918,
22100,
4619,
29871,
29896,
30004,
13,
30004,
13,
9651,
14550,
18454,
29999,
8242,
12008,
30004,
13,
9651,
1583,
29889,
4090,
29881,
29892,
1583,
29889,
4090,
353,
7700,
29892,
7700,
30004,
13,
9651,
565,
376,
4090,
29881,
29908,
297,
6389,
29889,
24713,
29901,
30004,
13,
18884,
1583,
29889,
4090,
29881,
353,
5852,
30004,
13,
18884,
6389,
29889,
20230,
29918,
12719,
353,
1051,
29898,
3881,
29898,
1949,
29918,
22100,
29892,
954,
29918,
22100,
718,
29871,
29941,
876,
30004,
13,
18884,
954,
29918,
22100,
4619,
29941,
30004,
13,
18884,
1583,
29889,
3149,
29918,
29916,
29918,
21134,
4619,
6024,
29884,
742,
525,
29894,
742,
525,
29881,
2033,
30004,
13,
9651,
25342,
376,
4090,
29908,
297,
6389,
29889,
24713,
29901,
30004,
13,
18884,
1583,
29889,
4090,
353,
5852,
30004,
13,
18884,
6389,
29889,
20230,
29918,
12719,
353,
1051,
29898,
3881,
29898,
1949,
29918,
22100,
29892,
954,
29918,
22100,
718,
29871,
29906,
876,
30004,
13,
18884,
954,
29918,
22100,
4619,
29871,
29906,
30004,
13,
18884,
1583,
29889,
3149,
29918,
29916,
29918,
21134,
4619,
6024,
29884,
742,
525,
29894,
2033,
30004,
13,
9651,
1683,
29901,
30004,
13,
18884,
954,
29918,
22100,
4619,
29871,
29900,
30004,
13,
9651,
6389,
29889,
4299,
29918,
12719,
4619,
6389,
29889,
20230,
29918,
12719,
30004,
13,
9651,
954,
29918,
5464,
29918,
1272,
353,
954,
29918,
22100,
30004,
13,
30004,
13,
9651,
14550,
1469,
8242,
12008,
30004,
13,
9651,
565,
376,
3944,
29908,
297,
6389,
29889,
24713,
29901,
30004,
13,
18884,
1583,
29889,
3149,
29918,
29916,
29918,
21134,
4619,
6024,
11108,
29918,
12324,
29918,
3944,
2033,
30004,
13,
30004,
13,
9651,
1583,
29889,
28212,
29892,
1583,
29889,
29950,
7597,
29892,
1583,
29889,
29928,
29892,
1583,
29889,
12765,
29892,
1583,
29889,
3944,
29892,
1583,
29889,
12864,
29892,
1583,
29889,
407,
29888,
13628,
29892,
1583,
29889,
12324,
29918,
3944,
353,
320,
30004,
13,
18884,
7700,
29892,
7700,
29892,
7700,
29892,
7700,
29892,
7700,
29892,
7700,
29892,
7700,
29892,
7700,
30004,
13,
9651,
565,
376,
28212,
29908,
297,
6389,
29889,
24713,
29901,
30004,
13,
18884,
1583,
29889,
28212,
29892,
1583,
29889,
29950,
7597,
353,
5852,
29892,
7700,
30004,
13,
18884,
6389,
29889,
4299,
29918,
12719,
4619,
1051,
29898,
3881,
29898,
1949,
29918,
22100,
29892,
954,
29918,
22100,
718,
29871,
29941,
876,
30004,
13,
18884,
954,
29918,
22100,
4619,
29871,
29953,
30004,
13,
18884,
1583,
29889,
3149,
29918,
29916,
29918,
21134,
4619,
6024,
29934,
29918,
12765,
742,
525,
29954,
29918,
12765,
742,
525,
29933,
29918,
12765,
2033,
565,
376,
12765,
29908,
297,
6389,
29889,
24713,
1683,
6796,
29934,
29896,
613,
376,
29954,
29896,
613,
376,
29933,
29896,
613,
376,
29934,
29906,
613,
376,
29954,
29906,
613,
376,
29933,
29906,
3108,
30004,
13,
9651,
25342,
376,
29950,
7597,
29908,
297,
6389,
29889,
24713,
29901,
30004,
13,
18884,
1583,
29889,
28212,
29892,
1583,
29889,
29950,
7597,
353,
5852,
29892,
5852,
30004,
13,
18884,
6389,
29889,
4299,
29918,
12719,
4619,
1051,
29898,
3881,
29898,
1949,
29918,
22100,
29892,
954,
29918,
22100,
718,
29871,
29941,
876,
30004,
13,
18884,
954,
29918,
22100,
4619,
29871,
29953,
30004,
13,
18884,
1583,
29889,
3149,
29918,
29916,
29918,
21134,
4619,
6024,
29950,
29918,
12765,
742,
525,
29903,
29918,
12765,
742,
525,
29963,
29918,
12765,
2033,
565,
376,
12765,
29908,
297,
6389,
29889,
24713,
1683,
6796,
29950,
29896,
613,
376,
29903,
29896,
613,
376,
29963,
29896,
613,
376,
29950,
29906,
613,
376,
29903,
29906,
613,
376,
29963,
29906,
3108,
30004,
13,
9651,
565,
376,
29928,
29908,
297,
6389,
29889,
24713,
29901,
30004,
13,
18884,
1583,
29889,
29928,
353,
5852,
30004,
13,
18884,
6389,
29889,
4299,
29918,
12719,
4619,
1051,
29898,
3881,
29898,
1949,
29918,
22100,
29892,
954,
29918,
22100,
718,
29871,
29896,
876,
30004,
13,
18884,
954,
29918,
22100,
4619,
29871,
29906,
30004,
13,
18884,
1583,
29889,
3149,
29918,
29916,
29918,
21134,
4619,
6796,
29928,
29918,
12765,
3108,
565,
376,
12765,
29908,
297,
6389,
29889,
24713,
1683,
6796,
29928,
29896,
613,
376,
29928,
29906,
3108,
30004,
13,
30004,
13,
9651,
565,
376,
12765,
29908,
297,
6389,
29889,
24713,
29901,
30004,
13,
18884,
1583,
29889,
12765,
353,
5852,
30004,
13,
18884,
954,
29918,
22100,
353,
954,
29918,
5464,
29918,
1272,
718,
313,
1949,
29918,
22100,
29899,
1949,
29918,
5464,
29918,
1272,
29897,
849,
29871,
29906,
30004,
13,
30004,
13,
9651,
565,
376,
3944,
29908,
297,
6389,
29889,
24713,
29901,
30004,
13,
18884,
1583,
29889,
3944,
353,
5852,
30004,
13,
18884,
954,
29918,
22100,
4619,
29871,
29896,
30004,
13,
30004,
13,
9651,
565,
376,
12864,
29908,
297,
6389,
29889,
24713,
29901,
30004,
13,
18884,
1583,
29889,
12864,
353,
5852,
30004,
13,
18884,
1583,
29889,
12864,
3944,
353,
376,
12864,
3944,
29908,
297,
6389,
29889,
24713,
30004,
13,
18884,
1583,
29889,
287,
5082,
15459,
353,
376,
287,
5082,
15459,
29908,
297,
6389,
29889,
24713,
30004,
13,
18884,
954,
29918,
22100,
4619,
29871,
29896,
565,
313,
1311,
29889,
12864,
3944,
470,
1583,
29889,
287,
5082,
15459,
29897,
1683,
29871,
29906,
30004,
13,
18884,
565,
1583,
29889,
12864,
3944,
29901,
30004,
13,
462,
1678,
1583,
29889,
3149,
29918,
29916,
29918,
21134,
4619,
6024,
26290,
29918,
12864,
29918,
13628,
2033,
30004,
13,
18884,
25342,
1583,
29889,
287,
5082,
15459,
29901,
30004,
13,
462,
1678,
1583,
29889,
3149,
29918,
29916,
29918,
21134,
4619,
6024,
12864,
29918,
29916,
15459,
2033,
30004,
13,
18884,
1683,
29901,
30004,
13,
462,
1678,
1583,
29889,
3149,
29918,
29916,
29918,
21134,
4619,
6024,
26290,
29918,
12864,
29918,
13628,
742,
376,
28759,
29918,
12864,
29918,
13628,
3108,
30004,
13,
9651,
565,
376,
407,
29888,
13628,
29908,
297,
6389,
29889,
24713,
29901,
30004,
13,
18884,
1583,
29889,
407,
29888,
13628,
353,
5852,
30004,
13,
18884,
954,
29918,
22100,
4619,
29871,
29896,
30004,
13,
18884,
1583,
29889,
3149,
29918,
29916,
29918,
21134,
4619,
6024,
407,
29888,
29918,
13628,
2033,
30004,
13,
30004,
13,
9651,
565,
376,
12324,
29908,
297,
6389,
29889,
24713,
29901,
30004,
13,
18884,
1583,
29889,
12324,
29918,
3944,
353,
5852,
30004,
13,
18884,
954,
29918,
22100,
4619,
29871,
29896,
30004,
13,
18884,
1583,
29889,
3149,
29918,
29916,
29918,
21134,
4619,
6024,
12324,
29918,
3944,
2033,
30004,
13,
30004,
13,
9651,
1583,
29889,
10199,
29918,
13168,
353,
7700,
30004,
13,
9651,
565,
376,
10199,
29908,
297,
6389,
29889,
24713,
29901,
30004,
13,
18884,
1583,
29889,
10199,
29918,
13168,
353,
5852,
30004,
13,
18884,
954,
29918,
22100,
4619,
29871,
29896,
30004,
13,
18884,
1583,
29889,
3149,
29918,
29916,
29918,
21134,
4619,
6024,
13168,
742,
376,
13168,
29918,
12864,
3108,
30004,
13,
30004,
13,
9651,
1583,
29889,
6229,
29918,
3149,
353,
954,
29918,
22100,
30004,
13,
30004,
13,
9651,
14550,
5323,
262,
29914,
3057,
2702,
2295,
12008,
30004,
13,
9651,
565,
1583,
29889,
8513,
1275,
525,
14968,
2396,
30004,
13,
18884,
1596,
703,
15514,
466,
1218,
6694,
8783,
613,
1583,
29889,
3149,
29918,
29916,
29918,
21134,
8443,
13,
18884,
1583,
29889,
1111,
29926,
5171,
353,
6389,
29889,
1111,
29926,
5171,
30004,
13,
18884,
1583,
29889,
8865,
29918,
3605,
601,
353,
6389,
29889,
8865,
29918,
3605,
601,
30004,
13,
18884,
1583,
29889,
4090,
29918,
5450,
353,
6389,
29889,
4090,
29918,
5450,
30004,
13,
9651,
1683,
29901,
30004,
13,
18884,
1596,
703,
15514,
466,
1218,
1273,
29879,
8783,
29908,
1273,
4464,
29892,
1583,
29889,
3149,
29918,
29916,
29918,
21134,
8443,
13,
18884,
1583,
29889,
1111,
29926,
5171,
353,
7700,
30004,
13,
18884,
1583,
29889,
8865,
29918,
3605,
601,
353,
29871,
29900,
30004,
13,
18884,
1583,
29889,
4090,
29918,
5450,
353,
7700,
30004,
13,
30004,
13,
9651,
1583,
29889,
9067,
353,
4842,
305,
4924,
29889,
9067,
29879,
29889,
1523,
4220,
4197,
30004,
13,
18884,
4842,
305,
4924,
29889,
9067,
29879,
29889,
1762,
2227,
29931,
2940,
3285,
30004,
13,
18884,
4842,
305,
4924,
29889,
9067,
29879,
29889,
3306,
29967,
5171,
29898,
1182,
523,
2264,
29922,
29900,
29889,
29906,
29892,
12814,
29922,
29900,
29889,
29906,
29892,
269,
1337,
362,
29922,
29900,
29889,
29906,
29892,
298,
434,
29922,
29900,
29889,
29900,
29945,
511,
30004,
13,
18884,
4842,
305,
4924,
29889,
9067,
29879,
29889,
1762,
29911,
6073,
3285,
30004,
13,
632,
2314,
30004,
13,
9651,
565,
1583,
29889,
1111,
29926,
5171,
29901,
30004,
13,
18884,
1583,
29889,
9067,
29918,
1111,
29926,
5171,
353,
4842,
305,
4924,
29889,
9067,
29879,
29889,
1523,
4220,
4197,
30004,
13,
462,
1678,
4842,
305,
4924,
29889,
9067,
29879,
29889,
1762,
2227,
29931,
2940,
3285,
30004,
13,
462,
1678,
4842,
305,
4924,
29889,
9067,
29879,
29889,
3306,
29967,
5171,
29898,
1182,
523,
2264,
29922,
29900,
29889,
29945,
29892,
12814,
29922,
29900,
29889,
29945,
29892,
269,
1337,
362,
29922,
29900,
29889,
29945,
29892,
298,
434,
29922,
29900,
29889,
29945,
511,
30004,
13,
462,
1678,
4842,
305,
4924,
29889,
9067,
29879,
29889,
1762,
29911,
6073,
3285,
30004,
13,
462,
2314,
30004,
13,
18884,
1596,
703,
20097,
5228,
1212,
16390,
24541,
29901,
5293,
1302,
29926,
5171,
1159,
30004,
13,
30004,
13,
9651,
565,
1583,
29889,
2457,
29918,
28759,
29901,
30004,
13,
18884,
1583,
29889,
6229,
29918,
9482,
353,
1583,
29889,
6229,
29918,
3149,
448,
29871,
29896,
30004,
13,
30004,
13,
1678,
822,
4770,
2435,
12035,
1311,
1125,
30004,
13,
4706,
736,
7431,
29898,
1311,
29889,
4130,
481,
2461,
29879,
8443,
13,
30004,
13,
1678,
822,
731,
19077,
2133,
29898,
1311,
29892,
722,
29892,
2099,
1125,
30004,
13,
4706,
722,
353,
4842,
305,
29889,
3166,
29918,
23749,
29898,
9302,
29889,
294,
2378,
29898,
1707,
876,
30004,
13,
4706,
2099,
353,
4842,
305,
29889,
3166,
29918,
23749,
29898,
9302,
29889,
294,
2378,
29898,
12676,
876,
30004,
13,
4706,
1583,
29889,
4172,
353,
4842,
305,
29889,
3676,
29898,
1707,
29961,
1311,
29889,
8391,
29918,
22100,
14664,
7411,
26471,
13,
4706,
1583,
29889,
12676,
353,
2099,
29961,
1311,
29889,
8391,
29918,
22100,
1822,
7411,
26471,
13,
30004,
13,
1678,
14550,
11609,
518,
29876,
29918,
5819,
1129,
29892,
302,
29918,
22100,
29962,
12008,
30004,
13,
1678,
822,
679,
29909,
1505,
1469,
29898,
1311,
29892,
848,
1125,
30004,
13,
4706,
921,
353,
1583,
29889,
8111,
675,
29898,
1272,
8443,
13,
30004,
13,
4706,
921,
353,
921,
7503,
29892,
1583,
29889,
8391,
29918,
22100,
29962,
30004,
13,
30004,
13,
4706,
565,
1583,
29889,
8945,
675,
29901,
30004,
13,
9651,
921,
353,
313,
29916,
29899,
1311,
29889,
12676,
6802,
1311,
29889,
4172,
30004,
13,
4706,
736,
921,
30004,
13,
30004,
13,
1678,
14550,
11609,
518,
29876,
29918,
5819,
1129,
29892,
302,
29918,
9748,
29892,
302,
29918,
22100,
29962,
12008,
30004,
13,
1678,
822,
679,
5228,
6779,
1469,
29898,
1311,
29892,
848,
29892,
736,
29918,
4090,
29918,
13492,
29922,
8824,
1125,
30004,
13,
4706,
411,
4794,
305,
14745,
703,
1469,
3588,
29871,
29896,
613,
946,
29887,
29918,
1761,
29922,
1311,
29889,
9346,
292,
29918,
1761,
29892,
28750,
353,
1583,
29889,
9346,
292,
29892,
26952,
29922,
8824,
1125,
30004,
13,
9651,
10153,
353,
848,
1839,
2492,
13359,
7411,
580,
396,
5785,
518,
29900,
29892,
29871,
29896,
29962,
30004,
13,
9651,
10809,
353,
848,
1839,
19488,
13359,
7411,
26471,
13,
30004,
13,
9651,
565,
376,
29886,
1182,
29908,
297,
1583,
29889,
24713,
29918,
4632,
322,
1583,
29889,
8513,
1275,
376,
14968,
1115,
30004,
13,
18884,
396,
1596,
703,
2204,
332,
10809,
1967,
1159,
30004,
13,
18884,
10809,
353,
10809,
334,
313,
7345,
305,
29889,
2873,
29918,
4561,
29898,
19488,
29897,
718,
29871,
29900,
29889,
29900,
29900,
29941,
334,
4842,
305,
29889,
9502,
29876,
29918,
4561,
29898,
19488,
876,
30004,
13,
30004,
13,
9651,
4327,
29879,
353,
848,
1839,
9067,
29879,
13359,
7411,
26471,
13,
9651,
1904,
29918,
9748,
353,
848,
1839,
4299,
29918,
9748,
13359,
7411,
26471,
13,
9651,
1904,
29918,
27703,
353,
848,
1839,
4299,
29918,
27703,
13359,
7411,
580,
396,
5785,
518,
29900,
29892,
29871,
29896,
29962,
30004,
13,
9651,
1904,
29918,
12324,
1338,
353,
848,
1839,
4299,
29918,
12324,
1338,
13359,
7411,
26471,
13,
9651,
12700,
29918,
1272,
353,
848,
1839,
7299,
29918,
1272,
2033,
30004,
13,
30004,
13,
4706,
411,
4794,
305,
14745,
703,
13372,
322,
2060,
613,
946,
29887,
29918,
1761,
29922,
1311,
29889,
9346,
292,
29918,
1761,
29892,
28750,
353,
1583,
29889,
9346,
292,
29892,
26952,
29922,
8824,
1125,
30004,
13,
9651,
396,
4103,
689,
322,
2060,
1298,
9570,
30004,
13,
9651,
1301,
29918,
16485,
353,
4842,
305,
29889,
29872,
1144,
398,
877,
13535,
29892,
11256,
976,
326,
29926,
742,
4327,
29879,
7503,
29892,
29901,
29941,
29892,
29901,
29941,
1402,
1904,
29918,
9748,
29897,
718,
4327,
29879,
7503,
29892,
29901,
29941,
29892,
29941,
1822,
6948,
802,
29872,
911,
29898,
29896,
8443,
13,
9651,
285,
29918,
11108,
353,
4842,
305,
29889,
20158,
4197,
7299,
29918,
1272,
1839,
26065,
29918,
11093,
7464,
12700,
29918,
1272,
1839,
26065,
29918,
29888,
29891,
2033,
2314,
30004,
13,
9651,
274,
29918,
11108,
353,
4842,
305,
29889,
20158,
4197,
7299,
29918,
1272,
1839,
26065,
29918,
18904,
7464,
12700,
29918,
1272,
1839,
26065,
29918,
1270,
2033,
2314,
30004,
13,
9651,
410,
29926,
29918,
16485,
353,
1301,
29918,
16485,
7503,
29892,
29901,
29892,
29901,
29906,
16261,
3286,
29918,
16485,
7503,
29892,
29901,
29892,
29906,
29901,
14178,
29888,
29918,
11108,
718,
274,
29918,
11108,
30004,
13,
9651,
318,
29894,
353,
410,
29926,
29918,
16485,
29889,
5426,
26471,
13,
9651,
8340,
29918,
20865,
353,
313,
4090,
7503,
29892,
29901,
29892,
29896,
29962,
18572,
2492,
29889,
12181,
29961,
29900,
2314,
718,
313,
4090,
7503,
29892,
29901,
29892,
29896,
29962,
29966,
29900,
29897,
320,
30004,
13,
18884,
718,
313,
4090,
7503,
29892,
29901,
29892,
29900,
29962,
18572,
2492,
29889,
12181,
29961,
29896,
2314,
718,
313,
4090,
7503,
29892,
29901,
29892,
29900,
29962,
29966,
29871,
29900,
8443,
13,
9651,
318,
29894,
29961,
20965,
29918,
20865,
29962,
353,
29871,
29900,
30004,
13,
30004,
13,
9651,
396,
8010,
287,
10809,
30004,
13,
9651,
410,
29926,
29918,
19488,
353,
1301,
29918,
16485,
7503,
29892,
29901,
6653,
29896,
29962,
30004,
13,
30004,
13,
4706,
14550,
29967,
5171,
278,
2927,
408,
848,
18765,
362,
12008,
30004,
13,
4706,
565,
1583,
29889,
8513,
1275,
376,
14968,
1115,
30004,
13,
9651,
10153,
353,
10153,
29889,
17858,
1082,
29898,
29906,
29892,
29871,
29900,
29892,
29871,
29896,
29897,
396,
313,
29950,
29892,
399,
29892,
315,
29897,
304,
313,
29907,
29892,
379,
29892,
399,
8443,
13,
9651,
10153,
353,
1583,
29889,
9067,
29898,
2492,
8443,
13,
9651,
10153,
353,
10153,
29889,
17858,
1082,
29898,
29896,
29892,
29871,
29906,
29892,
29871,
29900,
29897,
396,
313,
29907,
29892,
379,
29892,
399,
29897,
304,
313,
29950,
29892,
399,
29892,
315,
8443,
13,
30004,
13,
9651,
565,
1583,
29889,
1111,
29926,
5171,
29901,
30004,
13,
18884,
379,
29892,
399,
29892,
315,
353,
10153,
29889,
12181,
396,
313,
29950,
29892,
399,
29892,
315,
8443,
13,
18884,
405,
29892,
903,
353,
1904,
29918,
27703,
29889,
12181,
30004,
13,
18884,
848,
29918,
1111,
29926,
5171,
353,
4842,
305,
29889,
4117,
4197,
30004,
13,
462,
1678,
10153,
29889,
690,
14443,
3552,
29896,
29892,
448,
29896,
29892,
29871,
29941,
8243,
30004,
13,
462,
1678,
1904,
29918,
27703,
29889,
690,
14443,
3552,
29896,
29892,
448,
29896,
29892,
29871,
29941,
876,
30004,
13,
18884,
21251,
3964,
29922,
29896,
8443,
13,
30004,
13,
18884,
848,
29918,
1111,
29926,
5171,
353,
848,
29918,
1111,
29926,
5171,
29889,
17858,
1082,
29898,
29906,
29892,
29871,
29900,
29892,
29871,
29896,
8443,
13,
18884,
1302,
29926,
5171,
287,
353,
1583,
29889,
9067,
29918,
1111,
29926,
5171,
29898,
1272,
29918,
1111,
29926,
5171,
8443,
13,
18884,
1302,
29926,
5171,
287,
353,
1302,
29926,
5171,
287,
29889,
17858,
1082,
29898,
29896,
29892,
29871,
29906,
29892,
29871,
29900,
8443,
13,
30004,
13,
18884,
10153,
353,
1302,
29926,
5171,
287,
29961,
29900,
29892,
584,
29950,
29930,
29956,
29892,
584,
1822,
690,
14443,
3552,
29950,
29892,
399,
29892,
315,
876,
30004,
13,
18884,
1904,
29918,
27703,
353,
1302,
29926,
5171,
287,
29961,
29900,
29892,
379,
29930,
29956,
29901,
29892,
584,
1822,
690,
14443,
3552,
29940,
29892,
315,
876,
30004,
13,
30004,
13,
4706,
396,
390,
29954,
29890,
304,
379,
7597,
30004,
13,
4706,
411,
4794,
305,
14745,
703,
28212,
304,
379,
7597,
613,
946,
29887,
29918,
1761,
29922,
1311,
29889,
9346,
292,
29918,
1761,
29892,
28750,
353,
1583,
29889,
9346,
292,
29892,
26952,
29922,
8824,
1125,
30004,
13,
9651,
565,
1583,
29889,
29950,
7597,
29901,
30004,
13,
18884,
411,
7442,
29889,
3127,
3859,
29898,
4563,
680,
2433,
17281,
29374,
30004,
13,
462,
1678,
10153,
29918,
23973,
353,
10153,
29906,
13470,
29947,
29898,
517,
29918,
9302,
29898,
2492,
876,
30004,
13,
462,
1678,
396,
10153,
29918,
29882,
4501,
353,
15552,
29890,
29906,
29882,
4501,
29898,
2492,
29918,
23973,
29897,
396,
445,
674,
3588,
372,
304,
3464,
518,
29900,
29892,
29871,
29896,
29962,
30004,
13,
462,
1678,
10153,
29918,
29882,
4501,
353,
13850,
29906,
29889,
11023,
29873,
3306,
29898,
2492,
29918,
23973,
29892,
11023,
29906,
29889,
15032,
1955,
29918,
28212,
29906,
29950,
7597,
8443,
13,
462,
1678,
10153,
29918,
29882,
4501,
353,
10153,
29918,
29882,
4501,
29889,
579,
668,
29898,
7411,
29897,
847,
29871,
29906,
29945,
29945,
29889,
29900,
30004,
13,
462,
1678,
10153,
353,
4842,
305,
29889,
3166,
29918,
23749,
29898,
2492,
29918,
29882,
4501,
467,
517,
29898,
2492,
29889,
10141,
467,
7411,
26471,
13,
462,
1678,
1904,
29918,
27703,
29918,
23973,
353,
10153,
29906,
13470,
29947,
29898,
9302,
29889,
18837,
29918,
6229,
29879,
29898,
517,
29918,
9302,
29898,
4299,
29918,
27703,
511,
29871,
29900,
876,
30004,
13,
462,
1678,
396,
1904,
29918,
27703,
29918,
29882,
4501,
353,
15552,
29890,
29906,
29882,
4501,
29898,
4299,
29918,
27703,
29918,
23973,
9601,
29900,
29962,
30004,
13,
462,
1678,
1904,
29918,
27703,
29918,
29882,
4501,
353,
13850,
29906,
29889,
11023,
29873,
3306,
29898,
4299,
29918,
27703,
29918,
23973,
29892,
11023,
29906,
29889,
15032,
1955,
29918,
28212,
29906,
29950,
7597,
9601,
29900,
29962,
30004,
13,
462,
1678,
1904,
29918,
27703,
29918,
29882,
4501,
353,
1904,
29918,
27703,
29918,
29882,
4501,
29889,
579,
668,
29898,
7411,
29897,
847,
29871,
29906,
29945,
29945,
29889,
29900,
30004,
13,
462,
1678,
1904,
29918,
27703,
353,
4842,
305,
29889,
3166,
29918,
23749,
29898,
4299,
29918,
27703,
29918,
29882,
4501,
467,
517,
29898,
4299,
29918,
27703,
29889,
10141,
467,
7411,
26471,
13,
30004,
13,
4706,
396,
21029,
278,
8900,
379,
7597,
29928,
30004,
13,
4706,
411,
4794,
305,
14745,
703,
17708,
704,
369,
29894,
362,
613,
946,
29887,
29918,
1761,
29922,
1311,
29889,
9346,
292,
29918,
1761,
29892,
28750,
353,
1583,
29889,
9346,
292,
29892,
26952,
29922,
8824,
1125,
30004,
13,
9651,
20881,
29918,
2780,
353,
10153,
29961,
4090,
7503,
29892,
29901,
29892,
29896,
1402,
318,
29894,
7503,
29892,
29901,
29892,
29900,
1402,
584,
29962,
30004,
13,
9651,
20881,
29918,
19488,
353,
10809,
29961,
4090,
7503,
29892,
29901,
29892,
29896,
1402,
318,
29894,
7503,
29892,
29901,
29892,
29900,
5262,
30004,
13,
30004,
13,
4706,
411,
4794,
305,
14745,
703,
26322,
1129,
1588,
27964,
613,
946,
29887,
29918,
1761,
29922,
1311,
29889,
9346,
292,
29918,
1761,
29892,
28750,
353,
1583,
29889,
9346,
292,
29892,
26952,
29922,
8824,
1125,
30004,
13,
9651,
565,
1583,
29889,
5085,
29889,
262,
3075,
29918,
3605,
601,
29918,
386,
338,
451,
6213,
322,
1583,
29889,
8513,
1275,
376,
1688,
1115,
30004,
13,
18884,
270,
29918,
12765,
353,
410,
29926,
29918,
19488,
448,
20881,
29918,
19488,
30004,
13,
18884,
302,
29918,
9748,
353,
1904,
29918,
9748,
29889,
12181,
29961,
29900,
29962,
30004,
13,
18884,
8340,
29918,
2798,
353,
313,
29881,
29918,
12765,
529,
448,
29900,
29889,
29900,
29906,
467,
2083,
6278,
29896,
467,
7411,
26471,
13,
18884,
8340,
29918,
3605,
601,
353,
8340,
29918,
2798,
847,
302,
29918,
9748,
30004,
13,
18884,
266,
353,
1583,
29889,
5085,
29889,
262,
3075,
29918,
3605,
601,
29918,
386,
30004,
13,
18884,
22645,
353,
8340,
29918,
3605,
601,
529,
313,
386,
29914,
29896,
29900,
29900,
29889,
29900,
8443,
13,
18884,
22645,
14352,
29896,
29962,
353,
5852,
30004,
13,
30004,
13,
18884,
396,
2180,
3203,
19905,
777,
1661,
29899,
11347,
7498,
1066,
30004,
13,
18884,
565,
22645,
29889,
2083,
580,
1275,
29871,
29896,
29901,
30004,
13,
462,
1678,
22645,
29961,
29900,
29962,
353,
5852,
30004,
13,
30004,
13,
18884,
544,
27964,
29918,
13168,
353,
22645,
30004,
13,
30004,
13,
18884,
4327,
29879,
353,
4327,
29879,
29961,
13140,
29962,
30004,
13,
18884,
1301,
29918,
16485,
353,
1301,
29918,
16485,
29961,
13140,
29962,
30004,
13,
18884,
20881,
29918,
2780,
353,
20881,
29918,
2780,
29961,
13140,
29962,
30004,
13,
18884,
20881,
29918,
19488,
353,
20881,
29918,
19488,
29961,
13140,
29962,
30004,
13,
18884,
318,
29894,
353,
318,
29894,
29961,
13140,
29962,
30004,
13,
18884,
8340,
29918,
20865,
353,
8340,
29918,
20865,
29961,
13140,
29962,
30004,
13,
18884,
410,
29926,
29918,
19488,
353,
410,
29926,
29918,
19488,
29961,
13140,
29962,
30004,
13,
30004,
13,
18884,
1583,
29889,
3549,
1469,
4499,
29916,
29898,
1272,
29892,
22645,
8443,
13,
30004,
13,
9651,
318,
29894,
29918,
13492,
353,
3509,
29889,
24535,
8552,
29898,
4090,
8443,
13,
9651,
848,
1839,
4090,
29918,
13492,
2033,
353,
318,
29894,
29918,
13492,
30004,
13,
30004,
13,
4706,
396,
4103,
689,
6056,
1338,
30004,
13,
4706,
411,
4794,
305,
14745,
703,
13372,
322,
2060,
29871,
29906,
613,
946,
29887,
29918,
1761,
29922,
1311,
29889,
9346,
292,
29918,
1761,
29892,
28750,
353,
1583,
29889,
9346,
292,
29892,
26952,
29922,
8824,
1125,
30004,
13,
9651,
1301,
29918,
12324,
29879,
353,
4842,
305,
29889,
29872,
1144,
398,
877,
13535,
29892,
11256,
976,
326,
29926,
742,
4327,
29879,
7503,
29892,
29901,
29941,
29892,
29901,
29941,
1402,
1904,
29918,
12324,
1338,
8443,
13,
9651,
3949,
29918,
12324,
29918,
3944,
353,
8521,
1301,
29918,
16485,
334,
1301,
29918,
12324,
29879,
467,
2083,
6278,
29896,
29897,
847,
313,
7345,
305,
29918,
12324,
29918,
11255,
29898,
3286,
29918,
16485,
29892,
448,
29896,
29897,
334,
4842,
305,
29918,
12324,
29918,
11255,
29898,
3286,
29918,
12324,
29879,
29892,
448,
29896,
876,
30004,
13,
9651,
2854,
29918,
12324,
353,
3949,
29918,
12324,
29918,
3944,
1405,
29871,
29900,
30004,
13,
9651,
2854,
29918,
20865,
353,
2854,
29918,
12324,
334,
4842,
305,
29889,
2966,
3538,
29918,
1333,
29898,
20965,
29918,
20865,
8443,
13,
9651,
6756,
13,
4706,
848,
1839,
3084,
29918,
20865,
2033,
353,
2854,
29918,
20865,
30004,
13,
30004,
13,
4706,
396,
921,
353,
5159,
30004,
13,
4706,
921,
353,
1904,
29918,
9748,
29889,
1482,
29918,
6310,
3552,
2435,
29898,
9067,
29879,
511,
7431,
29898,
4299,
29918,
9748,
511,
1583,
29889,
6229,
29918,
3149,
876,
30004,
13,
4706,
22645,
29918,
1725,
271,
353,
29871,
29900,
30004,
13,
30004,
13,
4706,
411,
4794,
305,
14745,
703,
7211,
410,
29926,
29914,
19488,
613,
946,
29887,
29918,
1761,
29922,
1311,
29889,
9346,
292,
29918,
1761,
29892,
28750,
353,
1583,
29889,
9346,
292,
29892,
26952,
29922,
8824,
1125,
30004,
13,
9651,
2854,
29918,
19488,
353,
20881,
29918,
19488,
1405,
29871,
29900,
30004,
13,
9651,
14550,
19832,
8242,
12008,
30004,
13,
9651,
565,
451,
1583,
29889,
5085,
29889,
1217,
29918,
3084,
29918,
20865,
29901,
30004,
13,
18884,
396,
921,
4619,
518,
3084,
29918,
20865,
29889,
6948,
802,
29872,
911,
6278,
29896,
467,
7411,
580,
29962,
30004,
13,
18884,
921,
7503,
29892,
584,
29892,
22645,
29918,
1725,
271,
29962,
353,
2854,
29918,
20865,
29889,
7411,
26471,
13,
18884,
22645,
29918,
1725,
271,
4619,
29871,
29896,
30004,
13,
9651,
565,
451,
1583,
29889,
5085,
29889,
1217,
29918,
3084,
29918,
19488,
29901,
30004,
13,
18884,
396,
921,
4619,
518,
3084,
29918,
19488,
29889,
6948,
802,
29872,
911,
6278,
29896,
467,
7411,
580,
29962,
30004,
13,
18884,
921,
7503,
29892,
584,
29892,
22645,
29918,
1725,
271,
29962,
353,
2854,
29918,
19488,
29889,
7411,
26471,
13,
18884,
22645,
29918,
1725,
271,
4619,
29871,
29896,
30004,
13,
30004,
13,
4706,
14550,
18454,
29999,
8242,
12008,
30004,
13,
4706,
411,
4794,
305,
14745,
703,
19077,
675,
318,
29894,
613,
946,
29887,
29918,
1761,
29922,
1311,
29889,
9346,
292,
29918,
1761,
29892,
28750,
353,
1583,
29889,
9346,
292,
29892,
26952,
29922,
8824,
1125,
30004,
13,
9651,
565,
1583,
29889,
4090,
470,
1583,
29889,
4090,
29881,
29901,
30004,
13,
18884,
318,
29894,
353,
318,
29894,
29889,
7411,
26471,
13,
18884,
318,
29894,
29918,
12676,
353,
318,
29894,
29889,
12676,
29898,
6229,
29922,
29896,
29892,
3013,
6229,
29922,
5574,
8443,
13,
18884,
318,
29894,
29918,
4172,
353,
318,
29894,
29889,
4172,
29898,
6229,
29922,
29896,
29892,
3013,
6229,
29922,
5574,
8443,
13,
18884,
318,
29894,
353,
313,
4090,
448,
318,
29894,
29918,
12676,
29897,
847,
318,
29894,
29918,
4172,
30004,
13,
18884,
565,
1583,
29889,
4090,
29918,
5450,
29901,
30004,
13,
462,
1678,
302,
29918,
5819,
1129,
29892,
302,
29918,
3149,
29892,
302,
29918,
1111,
536,
353,
318,
29894,
29889,
12181,
30004,
13,
30004,
13,
462,
1678,
14550,
8172,
285,
3466,
12008,
30004,
13,
462,
1678,
285,
3466,
29918,
2922,
353,
4842,
305,
29889,
9502,
3552,
29876,
29918,
5819,
1129,
29892,
29871,
29896,
29892,
302,
29918,
1111,
536,
876,
1405,
29871,
29900,
29889,
29945,
30004,
13,
462,
1678,
285,
3466,
29918,
2922,
353,
313,
29888,
3466,
29918,
2922,
29889,
1853,
29898,
4090,
29889,
29881,
1853,
29897,
448,
29871,
29900,
29889,
29945,
29897,
334,
29871,
29906,
30004,
13,
462,
1678,
318,
29894,
353,
318,
29894,
334,
285,
3466,
29918,
2922,
30004,
13,
30004,
13,
462,
1678,
14550,
8172,
13733,
12008,
30004,
13,
462,
1678,
5731,
29918,
2922,
353,
4842,
305,
29889,
9502,
3552,
29876,
29918,
5819,
1129,
29892,
29871,
29896,
29892,
29871,
29896,
876,
334,
29871,
29906,
334,
7442,
29889,
1631,
30004,
13,
462,
1678,
5731,
29918,
2922,
353,
4842,
305,
29889,
4117,
4197,
30004,
13,
462,
4706,
4842,
305,
29889,
3944,
29898,
5450,
29918,
2922,
511,
448,
7345,
305,
29889,
5223,
29898,
5450,
29918,
2922,
511,
30004,
13,
462,
4706,
4842,
305,
29889,
5223,
29898,
5450,
29918,
2922,
511,
4842,
305,
29889,
3944,
29898,
5450,
29918,
2922,
8443,
13,
462,
1678,
21251,
29871,
29906,
467,
690,
14443,
3552,
29899,
29896,
29892,
29871,
29896,
29892,
29871,
29906,
29892,
29871,
29906,
876,
30004,
13,
462,
1678,
318,
29894,
353,
318,
29894,
29889,
6948,
802,
29872,
911,
6278,
29896,
8443,
13,
462,
1678,
318,
29894,
353,
4842,
305,
29889,
2922,
16109,
29898,
5450,
29918,
2922,
29892,
318,
29894,
8443,
13,
462,
1678,
318,
29894,
353,
318,
29894,
29889,
29879,
802,
29872,
911,
26471,
13,
30004,
13,
18884,
396,
921,
4619,
518,
4090,
29962,
30004,
13,
18884,
921,
7503,
29892,
584,
29892,
22645,
29918,
1725,
271,
29901,
13140,
29918,
1725,
271,
29974,
29906,
29962,
353,
318,
29894,
30004,
13,
18884,
22645,
29918,
1725,
271,
4619,
29871,
29906,
30004,
13,
18884,
565,
1583,
29889,
4090,
29881,
29901,
30004,
13,
462,
1678,
270,
29918,
12765,
353,
410,
29926,
29918,
19488,
29889,
6948,
802,
29872,
911,
6278,
29896,
29897,
448,
20881,
29918,
19488,
29889,
6948,
802,
29872,
911,
6278,
29896,
8443,
13,
462,
1678,
270,
29918,
12765,
353,
313,
29881,
29918,
12765,
448,
270,
29918,
12765,
29889,
12676,
29898,
6229,
29922,
29896,
29892,
3013,
6229,
29922,
5574,
876,
847,
270,
29918,
12765,
29889,
4172,
29898,
6229,
29922,
29896,
29892,
3013,
6229,
29922,
5574,
8443,
13,
462,
1678,
396,
921,
4619,
518,
29881,
29918,
12765,
29962,
30004,
13,
462,
1678,
921,
7503,
29892,
584,
29892,
22645,
29918,
1725,
271,
29901,
13140,
29918,
1725,
271,
29974,
29896,
29962,
353,
270,
29918,
12765,
30004,
13,
462,
1678,
22645,
29918,
1725,
271,
4619,
29871,
29896,
30004,
13,
30004,
13,
4706,
14550,
5228,
848,
8242,
12008,
30004,
13,
4706,
565,
1583,
29889,
3944,
29901,
30004,
13,
9651,
396,
921,
4619,
518,
11108,
29918,
12324,
29918,
3944,
29889,
6948,
802,
29872,
911,
6278,
29896,
467,
7411,
580,
29962,
30004,
13,
9651,
921,
7503,
29892,
584,
29892,
22645,
29918,
1725,
271,
29962,
353,
3949,
29918,
12324,
29918,
3944,
29889,
7411,
26471,
13,
9651,
22645,
29918,
1725,
271,
4619,
29871,
29896,
30004,
13,
30004,
13,
4706,
411,
4794,
305,
14745,
703,
20606,
29872,
390,
7210,
29928,
29914,
29950,
7597,
29928,
2923,
613,
946,
29887,
29918,
1761,
29922,
1311,
29889,
9346,
292,
29918,
1761,
29892,
28750,
353,
1583,
29889,
9346,
292,
29892,
26952,
29922,
8824,
1125,
30004,
13,
9651,
565,
1583,
29889,
28212,
470,
1583,
29889,
29950,
7597,
29901,
30004,
13,
18884,
565,
1583,
29889,
12765,
29901,
30004,
13,
462,
1678,
2927,
29918,
12765,
353,
1904,
29918,
27703,
29889,
6948,
802,
29872,
911,
29898,
29900,
467,
18837,
29898,
26290,
29918,
2780,
29889,
12181,
29897,
448,
20881,
29918,
2780,
30004,
13,
462,
1678,
565,
1583,
29889,
29950,
7597,
29901,
30004,
13,
462,
4706,
2927,
29918,
12765,
7503,
29892,
29901,
29892,
29900,
29962,
353,
2927,
29918,
12765,
7503,
29892,
29901,
29892,
29900,
1822,
6897,
26471,
13,
462,
4706,
2927,
29918,
12765,
7503,
29892,
29901,
29892,
29900,
29962,
353,
7442,
29889,
1195,
12539,
29898,
2780,
29918,
12765,
7503,
29892,
29901,
29892,
29900,
1402,
29871,
29896,
29899,
2780,
29918,
12765,
7503,
29892,
29901,
29892,
29900,
2314,
30004,
13,
462,
1678,
396,
921,
4619,
518,
2780,
29918,
12765,
29962,
30004,
13,
462,
1678,
921,
7503,
29892,
584,
29892,
22645,
29918,
1725,
271,
29901,
13140,
29918,
1725,
271,
29974,
29941,
29962,
353,
2927,
29918,
12765,
30004,
13,
462,
1678,
22645,
29918,
1725,
271,
4619,
29871,
29941,
30004,
13,
18884,
1683,
29901,
30004,
13,
462,
1678,
396,
921,
4619,
518,
4299,
29918,
27703,
29889,
6948,
802,
29872,
911,
29898,
29900,
467,
18837,
29898,
26290,
29918,
2780,
29889,
12181,
511,
20881,
29918,
2780,
29962,
30004,
13,
462,
1678,
921,
7503,
29892,
584,
29892,
22645,
29918,
1725,
271,
29901,
13140,
29918,
1725,
271,
29974,
29941,
29962,
353,
1904,
29918,
27703,
29889,
6948,
802,
29872,
911,
29898,
29900,
467,
18837,
29898,
26290,
29918,
2780,
29889,
12181,
8443,
13,
462,
1678,
22645,
29918,
1725,
271,
4619,
29871,
29941,
30004,
13,
462,
1678,
921,
7503,
29892,
584,
29892,
22645,
29918,
1725,
271,
29901,
13140,
29918,
1725,
271,
29974,
29941,
29962,
353,
20881,
29918,
2780,
30004,
13,
462,
1678,
22645,
29918,
1725,
271,
4619,
29871,
29941,
30004,
13,
30004,
13,
9651,
565,
1583,
29889,
29928,
29901,
30004,
13,
18884,
565,
1583,
29889,
12765,
29901,
30004,
13,
462,
1678,
396,
921,
4619,
518,
20865,
29918,
19488,
29889,
6948,
802,
29872,
911,
6278,
29896,
29897,
448,
20881,
29918,
19488,
29889,
6948,
802,
29872,
911,
6278,
29896,
4638,
30004,
13,
462,
1678,
921,
7503,
29892,
584,
29892,
22645,
29918,
1725,
271,
29962,
353,
410,
29926,
29918,
19488,
448,
20881,
29918,
19488,
30004,
13,
462,
1678,
22645,
29918,
1725,
271,
4619,
29871,
29896,
30004,
13,
18884,
1683,
29901,
30004,
13,
462,
1678,
396,
921,
4619,
518,
20865,
29918,
19488,
29889,
6948,
802,
29872,
911,
6278,
29896,
511,
20881,
29918,
19488,
29889,
6948,
802,
29872,
911,
6278,
29896,
4638,
30004,
13,
462,
1678,
921,
7503,
29892,
584,
29892,
22645,
29918,
1725,
271,
29962,
353,
410,
29926,
29918,
19488,
30004,
13,
462,
1678,
22645,
29918,
1725,
271,
4619,
29871,
29896,
30004,
13,
462,
1678,
921,
7503,
29892,
584,
29892,
22645,
29918,
1725,
271,
29962,
353,
20881,
29918,
19488,
30004,
13,
462,
1678,
22645,
29918,
1725,
271,
4619,
29871,
29896,
30004,
13,
30004,
13,
4706,
14550,
23894,
8242,
12008,
30004,
13,
4706,
411,
4794,
305,
14745,
703,
23894,
613,
946,
29887,
29918,
1761,
29922,
1311,
29889,
9346,
292,
29918,
1761,
29892,
28750,
353,
1583,
29889,
9346,
292,
29892,
26952,
29922,
8824,
1125,
30004,
13,
9651,
565,
1583,
29889,
12864,
29901,
30004,
13,
18884,
14550,
6039,
643,
1490,
12770,
12008,
30004,
13,
18884,
565,
376,
19488,
29918,
1454,
29918,
12864,
29908,
297,
848,
29901,
30004,
13,
462,
1678,
10809,
29918,
1454,
29918,
12864,
353,
848,
1839,
19488,
29918,
1454,
29918,
12864,
2033,
30004,
13,
462,
1678,
396,
1596,
703,
15156,
10809,
29918,
1454,
29918,
12864,
613,
10809,
29918,
1454,
29918,
12864,
29889,
1195,
3285,
10809,
29918,
1454,
29918,
12864,
29889,
3317,
3101,
30004,
13,
18884,
1683,
29901,
30004,
13,
462,
1678,
10809,
29918,
1454,
29918,
12864,
353,
10809,
30004,
13,
30004,
13,
18884,
411,
4794,
305,
14745,
703,
17158,
29918,
19244,
29918,
3027,
613,
946,
29887,
29918,
1761,
29922,
1311,
29889,
9346,
292,
29918,
1761,
29892,
28750,
353,
1583,
29889,
9346,
292,
29892,
26952,
29922,
8824,
1125,
30004,
13,
462,
1678,
7636,
29918,
26290,
353,
5706,
29918,
19244,
29918,
3027,
29898,
19488,
29918,
1454,
29918,
12864,
29892,
508,
1460,
29918,
29880,
29922,
29906,
29900,
29892,
508,
1460,
29918,
29882,
29922,
29945,
29900,
9601,
29900,
29892,
29900,
29962,
30004,
13,
30004,
13,
18884,
411,
4794,
305,
14745,
703,
23894,
23460,
613,
946,
29887,
29918,
1761,
29922,
1311,
29889,
9346,
292,
29918,
1761,
29892,
28750,
353,
1583,
29889,
9346,
292,
29892,
26952,
29922,
8824,
1125,
30004,
13,
462,
1678,
318,
29894,
353,
3509,
29889,
24535,
8552,
29898,
4090,
29918,
13492,
29897,
396,
830,
29899,
9155,
278,
318,
29894,
408,
372,
338,
3939,
1434,
30004,
13,
462,
1678,
7636,
29918,
13628,
29918,
26290,
353,
7636,
29918,
26290,
29961,
4090,
7503,
29892,
29901,
29892,
29896,
1402,
318,
29894,
7503,
29892,
29901,
29892,
29900,
5262,
30004,
13,
462,
1678,
7636,
29918,
13628,
29918,
26290,
353,
4842,
305,
29889,
4548,
6278,
12864,
29918,
13628,
29918,
26290,
847,
29871,
29906,
29946,
8443,
13,
30004,
13,
18884,
14550,
7653,
287,
12770,
12008,
30004,
13,
30004,
13,
18884,
411,
4794,
305,
14745,
703,
657,
29934,
355,
23894,
20097,
613,
946,
29887,
29918,
1761,
29922,
1311,
29889,
9346,
292,
29918,
1761,
29892,
28750,
353,
1583,
29889,
9346,
292,
29892,
26952,
29922,
8824,
1125,
30004,
13,
462,
1678,
565,
376,
12864,
29918,
13628,
29918,
28759,
29908,
297,
848,
29901,
30004,
13,
462,
4706,
7636,
29918,
13628,
29918,
28759,
353,
848,
1839,
12864,
29918,
13628,
29918,
28759,
2033,
30004,
13,
462,
1678,
1683,
29901,
30004,
13,
462,
4706,
411,
4842,
305,
29889,
1217,
29918,
5105,
7295,
30004,
13,
462,
9651,
7636,
29918,
13628,
29918,
28759,
353,
679,
29934,
355,
23894,
20097,
29898,
2492,
29889,
517,
29898,
1311,
29889,
5085,
29889,
12864,
29918,
29887,
3746,
511,
318,
29894,
29918,
13492,
29889,
517,
29898,
1311,
29889,
5085,
29889,
12864,
29918,
29887,
3746,
8106,
517,
29898,
4090,
29918,
13492,
29889,
10141,
8443,
13,
30004,
13,
18884,
14550,
19077,
1891,
7636,
19435,
12008,
30004,
13,
18884,
7636,
29918,
13628,
29918,
28759,
353,
7636,
29918,
13628,
29918,
28759,
847,
7636,
29918,
13628,
29918,
28759,
29889,
3317,
29898,
29896,
29892,
3013,
6229,
29922,
5574,
9601,
29900,
29962,
30004,
13,
18884,
396,
7636,
29918,
13628,
29918,
26290,
353,
4842,
305,
29889,
4548,
6278,
12864,
29918,
13628,
29918,
26290,
847,
1723,
30004,
13,
30004,
13,
18884,
565,
1583,
29889,
287,
5082,
15459,
29901,
30004,
13,
462,
1678,
7636,
29918,
13628,
353,
7636,
29918,
13628,
29918,
28759,
334,
7636,
29918,
13628,
29918,
26290,
718,
313,
29896,
448,
7636,
29918,
13628,
29918,
28759,
29897,
334,
313,
29896,
448,
7636,
29918,
13628,
29918,
26290,
8443,
13,
462,
1678,
396,
921,
4619,
518,
12864,
29918,
13628,
29889,
6948,
802,
29872,
911,
6278,
29896,
4638,
30004,
13,
462,
1678,
921,
7503,
29892,
584,
29892,
22645,
29918,
1725,
271,
29962,
353,
7636,
29918,
13628,
30004,
13,
462,
1678,
22645,
29918,
1725,
271,
4619,
29871,
29896,
30004,
13,
18884,
25342,
1583,
29889,
12864,
3944,
29901,
30004,
13,
462,
1678,
396,
921,
4619,
518,
12864,
29918,
13628,
29918,
26290,
29889,
6948,
802,
29872,
911,
6278,
29896,
4638,
30004,
13,
462,
1678,
921,
7503,
29892,
584,
29892,
22645,
29918,
1725,
271,
29962,
353,
7636,
29918,
13628,
29918,
26290,
30004,
13,
462,
1678,
22645,
29918,
1725,
271,
4619,
29871,
29896,
30004,
13,
18884,
1683,
29901,
30004,
13,
462,
1678,
396,
921,
4619,
518,
12864,
29918,
13628,
29918,
26290,
29889,
6948,
802,
29872,
911,
6278,
29896,
4638,
30004,
13,
462,
1678,
396,
921,
4619,
518,
12864,
29918,
13628,
29918,
28759,
29889,
6948,
802,
29872,
911,
6278,
29896,
4638,
30004,
13,
462,
1678,
921,
7503,
29892,
584,
29892,
22645,
29918,
1725,
271,
29962,
353,
7636,
29918,
13628,
29918,
26290,
30004,
13,
462,
1678,
22645,
29918,
1725,
271,
4619,
29871,
29896,
30004,
13,
462,
1678,
921,
7503,
29892,
584,
29892,
22645,
29918,
1725,
271,
29962,
353,
7636,
29918,
13628,
29918,
28759,
30004,
13,
462,
1678,
22645,
29918,
1725,
271,
4619,
29871,
29896,
30004,
13,
30004,
13,
4706,
565,
1583,
29889,
5085,
29889,
26065,
29918,
7052,
338,
451,
6213,
29901,
30004,
13,
9651,
12700,
29918,
1272,
1839,
26065,
29918,
7052,
2033,
353,
1583,
29889,
5085,
29889,
26065,
29918,
7052,
30004,
13,
9651,
6756,
13,
4706,
14550,
11403,
278,
6776,
310,
278,
10696,
1546,
8900,
322,
13751,
4226,
12047,
12008,
30004,
13,
4706,
411,
4794,
305,
14745,
703,
19077,
4608,
613,
946,
29887,
29918,
1761,
29922,
1311,
29889,
9346,
292,
29918,
1761,
29892,
28750,
353,
1583,
29889,
9346,
292,
29892,
26952,
29922,
8824,
1125,
30004,
13,
9651,
565,
1583,
29889,
12324,
29918,
3944,
29901,
30004,
13,
18884,
6056,
29918,
3204,
11249,
353,
1583,
29889,
5085,
29889,
12324,
29918,
3204,
11249,
30004,
13,
18884,
318,
29894,
353,
318,
29894,
29918,
13492,
396,
830,
29899,
9155,
278,
318,
29894,
408,
372,
338,
3939,
1434,
30004,
13,
18884,
6056,
1338,
353,
10272,
29918,
12324,
1338,
29898,
517,
29918,
9302,
29898,
19488,
9601,
1057,
12324,
29918,
3204,
11249,
29892,
4761,
12324,
29918,
3204,
11249,
1822,
579,
668,
29898,
9302,
29889,
8896,
511,
12700,
29918,
1272,
353,
12700,
29918,
1272,
8443,
13,
18884,
6056,
1338,
353,
4842,
305,
29889,
3166,
29918,
23749,
29898,
12324,
1338,
467,
7411,
26471,
13,
18884,
9088,
29918,
12324,
1338,
29918,
20865,
353,
6056,
1338,
29961,
4090,
7503,
29892,
29901,
29892,
29896,
29962,
458,
12324,
29918,
3204,
11249,
29892,
318,
29894,
7503,
29892,
29901,
29892,
29900,
29962,
458,
12324,
29918,
3204,
11249,
29962,
30004,
13,
18884,
1904,
29918,
12324,
1338,
29918,
20865,
353,
1301,
29918,
12324,
29879,
30004,
13,
18884,
6056,
29918,
3944,
353,
313,
24645,
29918,
12324,
1338,
29918,
20865,
334,
1904,
29918,
12324,
1338,
29918,
20865,
467,
2083,
29898,
6229,
10457,
29896,
29897,
847,
313,
7345,
305,
29918,
12324,
29918,
11255,
29898,
24645,
29918,
12324,
1338,
29918,
20865,
29892,
448,
29896,
29897,
334,
4842,
305,
29918,
12324,
29918,
11255,
29898,
4299,
29918,
12324,
1338,
29918,
20865,
29892,
448,
29896,
876,
30004,
13,
18884,
6056,
29918,
3944,
29961,
12324,
29918,
3944,
2804,
6056,
29918,
3944,
29962,
353,
29871,
29900,
30004,
13,
18884,
396,
921,
4619,
518,
12324,
29918,
3944,
29889,
6948,
802,
29872,
911,
6278,
29896,
467,
7411,
580,
29962,
30004,
13,
18884,
921,
7503,
29892,
584,
29892,
22645,
29918,
1725,
271,
29962,
353,
6056,
29918,
3944,
29889,
7411,
26471,
13,
18884,
22645,
29918,
1725,
271,
4619,
29871,
29896,
30004,
13,
30004,
13,
4706,
396,
411,
4794,
305,
14745,
703,
7345,
305,
29889,
4117,
580,
613,
946,
29887,
29918,
1761,
29922,
1311,
29889,
9346,
292,
29918,
1761,
29892,
28750,
353,
1583,
29889,
9346,
292,
29892,
26952,
29922,
8824,
1125,
30004,
13,
4706,
396,
268,
921,
353,
4842,
305,
29889,
4117,
29898,
29916,
29892,
3964,
10457,
29896,
8443,
13,
4706,
396,
1596,
29898,
29916,
29889,
12181,
8443,
13,
30004,
13,
4706,
565,
1583,
29889,
5085,
29889,
6800,
29918,
13168,
29901,
30004,
13,
9651,
921,
29961,
30022,
3084,
29918,
20865,
29889,
11227,
580,
13192,
29900,
30004,
13,
30004,
13,
4706,
14550,
17708,
278,
3291,
12008,
30004,
13,
4706,
565,
1583,
29889,
8865,
29918,
3605,
601,
6736,
29871,
29900,
322,
1583,
29889,
8513,
1275,
525,
14968,
2396,
30004,
13,
9651,
302,
29918,
5819,
1129,
353,
921,
29889,
12181,
29961,
29900,
29962,
30004,
13,
9651,
302,
29918,
3149,
353,
921,
29889,
12181,
29961,
29896,
29962,
30004,
13,
9651,
302,
29918,
3149,
29918,
446,
415,
353,
938,
3552,
29896,
29889,
29900,
29899,
1311,
29889,
8865,
29918,
3605,
601,
29897,
334,
302,
29918,
3149,
8443,
13,
30004,
13,
9651,
565,
1583,
29889,
3317,
29918,
9748,
338,
451,
6213,
322,
302,
29918,
3149,
29918,
446,
415,
1405,
1583,
29889,
3317,
29918,
9748,
29901,
30004,
13,
18884,
302,
29918,
3149,
29918,
446,
415,
353,
1583,
29889,
3317,
29918,
9748,
30004,
13,
30004,
13,
9651,
22645,
353,
5159,
30004,
13,
9651,
363,
474,
297,
3464,
29898,
29876,
29918,
5819,
1129,
1125,
30004,
13,
18884,
22645,
29889,
4397,
29898,
7345,
305,
29889,
9502,
17858,
29898,
29876,
29918,
3149,
29897,
7503,
29876,
29918,
3149,
29918,
446,
415,
1822,
6948,
802,
29872,
911,
29898,
29900,
876,
30004,
13,
9651,
22645,
353,
4842,
305,
29889,
4117,
29898,
13140,
29892,
3964,
29922,
29900,
8443,
13,
9651,
921,
353,
921,
29961,
7345,
305,
29889,
279,
927,
29898,
29876,
29918,
5819,
1129,
467,
6948,
802,
29872,
911,
29898,
29896,
467,
18837,
29898,
29876,
29918,
5819,
1129,
29892,
302,
29918,
3149,
29918,
446,
415,
511,
22645,
29962,
30004,
13,
9651,
318,
29894,
29918,
11249,
29881,
353,
318,
29894,
29918,
13492,
29961,
7345,
305,
29889,
279,
927,
29898,
29876,
29918,
5819,
1129,
467,
6948,
802,
29872,
911,
29898,
29896,
467,
18837,
29898,
29876,
29918,
5819,
1129,
29892,
302,
29918,
3149,
29918,
446,
415,
511,
22645,
29962,
30004,
13,
4706,
1683,
29901,
30004,
13,
9651,
318,
29894,
29918,
11249,
29881,
353,
318,
29894,
29918,
13492,
30004,
13,
30004,
13,
4706,
565,
736,
29918,
4090,
29918,
13492,
29901,
30004,
13,
9651,
736,
921,
29892,
318,
29894,
29918,
11249,
29881,
30004,
13,
4706,
1683,
29901,
30004,
13,
9651,
736,
921,
30004,
13,
30004,
13,
1678,
822,
679,
5228,
10716,
1469,
29898,
1311,
29892,
848,
1125,
30004,
13,
4706,
1298,
29918,
29916,
29892,
318,
29894,
353,
1583,
29889,
657,
5228,
6779,
1469,
29898,
1272,
29892,
5852,
8443,
13,
30004,
13,
4706,
274,
1336,
29918,
2311,
353,
29871,
29929,
29953,
30004,
13,
4706,
17132,
29918,
2311,
353,
29871,
29906,
30004,
13,
4706,
302,
29918,
5819,
1129,
353,
318,
29894,
29889,
12181,
29961,
29900,
29962,
30004,
13,
4706,
302,
29918,
3149,
353,
318,
29894,
29889,
12181,
29961,
29896,
29962,
30004,
13,
30004,
13,
4706,
10638,
29918,
1195,
353,
17132,
29918,
2311,
30004,
13,
4706,
10638,
29918,
3317,
353,
274,
1336,
29918,
2311,
448,
17132,
29918,
2311,
30004,
13,
30004,
13,
4706,
11105,
29918,
2248,
353,
518,
29900,
29962,
30004,
13,
4706,
396,
848,
29918,
2248,
353,
518,
29900,
29892,
29871,
29896,
29962,
718,
1051,
29898,
3881,
29898,
29946,
29892,
1298,
29918,
29916,
29889,
12181,
29961,
29906,
12622,
30004,
13,
4706,
848,
29918,
2248,
353,
1051,
29898,
3881,
29898,
3149,
29918,
29916,
29889,
12181,
29961,
29906,
12622,
30004,
13,
30004,
13,
4706,
302,
29918,
1725,
271,
353,
7431,
29898,
1272,
29918,
2248,
8443,
13,
30004,
13,
4706,
1298,
29918,
13168,
353,
1298,
29918,
29916,
7503,
29892,
584,
29892,
11105,
29918,
2248,
1822,
11227,
26471,
13,
4706,
1298,
29918,
1272,
353,
1298,
29918,
29916,
7503,
29892,
584,
29892,
848,
29918,
2248,
29962,
30004,
13,
30004,
13,
4706,
318,
29894,
353,
318,
29894,
29889,
7411,
26471,
13,
4706,
318,
29894,
29918,
3317,
353,
318,
29894,
29889,
3317,
29898,
6229,
29922,
29896,
29892,
3013,
6229,
29922,
5574,
9601,
29900,
29962,
30004,
13,
4706,
318,
29894,
29918,
1195,
353,
318,
29894,
29889,
1195,
29898,
6229,
29922,
29896,
29892,
3013,
6229,
29922,
5574,
9601,
29900,
29962,
30004,
13,
30004,
13,
4706,
318,
29894,
29918,
5064,
353,
313,
4090,
29918,
3317,
718,
318,
29894,
29918,
1195,
29897,
847,
29871,
29906,
29889,
29900,
30004,
13,
4706,
318,
29894,
29918,
13471,
353,
313,
4090,
29918,
3317,
448,
318,
29894,
29918,
1195,
467,
3317,
6278,
29896,
29892,
5852,
9601,
29900,
29962,
847,
29871,
29906,
29889,
29900,
30004,
13,
30004,
13,
4706,
318,
29894,
29918,
12324,
353,
313,
4090,
448,
318,
29894,
29918,
5064,
29897,
847,
318,
29894,
29918,
13471,
396,
3464,
297,
21069,
29896,
29892,
29871,
29896,
29962,
30004,
13,
4706,
318,
29894,
29918,
21476,
353,
313,
4090,
29918,
12324,
718,
29871,
29896,
29897,
847,
29871,
29906,
334,
313,
9653,
29918,
3317,
448,
10638,
29918,
1195,
29897,
718,
10638,
29918,
1195,
30004,
13,
4706,
318,
29894,
29918,
21476,
353,
318,
29894,
29918,
21476,
29889,
5426,
26471,
13,
4706,
318,
353,
318,
29894,
29918,
21476,
7503,
29892,
584,
29892,
29871,
29900,
29962,
30004,
13,
4706,
325,
353,
318,
29894,
29918,
21476,
7503,
29892,
584,
29892,
29871,
29896,
29962,
30004,
13,
30004,
13,
4706,
4682,
29918,
1958,
353,
4842,
305,
29889,
3298,
359,
29898,
29876,
29918,
5819,
1129,
29892,
302,
29918,
1725,
271,
29892,
274,
1336,
29918,
2311,
29892,
274,
1336,
29918,
2311,
8443,
13,
4706,
260,
353,
4842,
305,
29889,
279,
927,
29898,
29876,
29918,
5819,
1129,
467,
1493,
6278,
29896,
29892,
29896,
467,
14358,
29898,
29896,
29892,
302,
29918,
3149,
8443,
13,
4706,
318,
353,
318,
29889,
690,
14443,
6278,
29896,
9601,
3149,
29918,
13168,
29889,
1493,
6278,
29896,
4638,
30004,
13,
4706,
325,
353,
325,
29889,
690,
14443,
6278,
29896,
9601,
3149,
29918,
13168,
29889,
1493,
6278,
29896,
4638,
30004,
13,
4706,
260,
353,
260,
29889,
1493,
6278,
29896,
9601,
3149,
29918,
13168,
29889,
1493,
6278,
29896,
4638,
30004,
13,
30004,
13,
4706,
4682,
29918,
1958,
29961,
29873,
29889,
1493,
6278,
29896,
511,
584,
29892,
325,
29889,
1493,
6278,
29896,
511,
318,
29889,
1493,
6278,
29896,
4638,
353,
1298,
29918,
1272,
29889,
1493,
6278,
29896,
29892,
302,
29918,
1725,
271,
9601,
3149,
29918,
13168,
29889,
1493,
6278,
29896,
4638,
30004,
13,
4706,
11105,
29918,
1958,
353,
4682,
29918,
1958,
7503,
29892,
29871,
29900,
29901,
29896,
29892,
584,
29892,
584,
29962,
30004,
13,
4706,
848,
29918,
1958,
353,
4682,
29918,
1958,
7503,
29892,
29871,
29896,
29901,
29892,
584,
29892,
584,
29962,
30004,
13,
30004,
13,
4706,
736,
11105,
29918,
1958,
29892,
848,
29918,
1958,
30004,
13,
30004,
13,
1678,
822,
7605,
1469,
4499,
29916,
29898,
1311,
29892,
848,
29892,
22645,
1125,
30004,
13,
4706,
848,
1839,
9067,
29879,
2033,
353,
848,
1839,
9067,
29879,
2033,
29961,
13140,
29962,
30004,
13,
4706,
848,
1839,
407,
29918,
3127,
2033,
353,
848,
1839,
407,
29918,
3127,
2033,
29961,
13140,
29962,
30004,
13,
4706,
565,
376,
12864,
29918,
13628,
29918,
28759,
29908,
297,
848,
29901,
30004,
13,
9651,
848,
1839,
12864,
29918,
13628,
29918,
28759,
2033,
353,
848,
1839,
12864,
29918,
13628,
29918,
28759,
2033,
29961,
13140,
29962,
30004,
13,
4706,
736,
848,
30004,
13,
30004,
13,
1678,
822,
4770,
657,
667,
12035,
1311,
29892,
22645,
1125,
30004,
13,
4706,
270,
29886,
353,
1583,
29889,
4130,
481,
2461,
29879,
29961,
13140,
29962,
30004,
13,
4706,
304,
29918,
2457,
353,
8853,
3318,
29918,
333,
1115,
270,
29886,
29961,
29900,
1402,
376,
24645,
29918,
333,
1115,
270,
29886,
29961,
29896,
1402,
376,
326,
29918,
333,
1115,
270,
29886,
29961,
29906,
29962,
8117,
13,
4706,
5446,
29918,
333,
353,
270,
29886,
29961,
29900,
29962,
30004,
13,
4706,
9088,
29918,
333,
353,
270,
29886,
29961,
29896,
29962,
30004,
13,
4706,
527,
29918,
333,
353,
270,
29886,
29961,
29906,
29962,
30004,
13,
30004,
13,
4706,
14550,
3644,
871,
1304,
11404,
630,
5680,
29892,
736,
278,
22152,
697,
12008,
30004,
13,
4706,
565,
1583,
29889,
2457,
29918,
16170,
322,
451,
1583,
29889,
2457,
29918,
9748,
322,
1583,
29889,
16170,
29918,
8173,
29961,
13140,
29962,
338,
451,
6213,
29901,
30004,
13,
9651,
304,
29918,
2457,
1839,
16170,
29918,
29916,
7464,
304,
29918,
2457,
1839,
407,
29918,
3127,
7464,
304,
29918,
2457,
1839,
9067,
29879,
2033,
353,
1583,
29889,
16170,
29918,
8173,
29961,
13140,
29962,
30004,
13,
9651,
736,
304,
29918,
2457,
30004,
13,
30004,
13,
4706,
396,
848,
353,
2254,
1469,
10456,
6099,
29892,
4682,
29918,
2311,
353,
1583,
29889,
14394,
29918,
2311,
29892,
2967,
29918,
2084,
353,
1583,
29889,
24713,
29918,
4632,
8443,
13,
30004,
13,
4706,
396,
14550,
2577,
278,
1904,
848,
322,
3638,
372,
964,
278,
9068,
740,
12008,
30004,
13,
4706,
396,
1904,
29918,
1272,
353,
1583,
29889,
657,
3195,
1469,
29898,
6099,
29961,
29900,
2314,
30004,
13,
4706,
396,
848,
29889,
5504,
29898,
4299,
29918,
1272,
8443,
13,
30004,
13,
4706,
848,
353,
1583,
29889,
12657,
29889,
1359,
1469,
10456,
6099,
8443,
13,
30004,
13,
4706,
4974,
7431,
29898,
1272,
1839,
407,
29918,
3127,
11287,
1275,
29871,
29896,
29900,
29896,
470,
7431,
29898,
1272,
1839,
407,
29918,
3127,
11287,
1275,
29871,
29896,
29896,
29900,
29896,
470,
7431,
29898,
1272,
1839,
407,
29918,
3127,
11287,
1275,
29871,
29941,
29900,
29896,
30004,
13,
30004,
13,
4706,
4974,
451,
313,
1311,
29889,
5085,
29889,
407,
29888,
29918,
6194,
322,
1583,
29889,
5085,
29889,
29879,
2027,
29918,
6194,
8443,
13,
4706,
565,
1583,
29889,
5085,
29889,
407,
29888,
29918,
6194,
29901,
30004,
13,
9651,
4974,
7431,
29898,
1272,
1839,
407,
29918,
3127,
11287,
6736,
1583,
29889,
5085,
29889,
29876,
29918,
407,
29888,
29918,
5819,
1066,
718,
29871,
29896,
30004,
13,
9651,
22645,
353,
1051,
29898,
9302,
29889,
279,
927,
29898,
1311,
29889,
5085,
29889,
29876,
29918,
407,
29888,
29918,
5819,
1066,
876,
718,
21069,
29896,
29962,
30004,
13,
9651,
1583,
29889,
3549,
1469,
4499,
29916,
29898,
1272,
29892,
22645,
8443,
13,
30004,
13,
4706,
565,
1583,
29889,
5085,
29889,
29879,
2027,
29918,
6194,
29901,
30004,
13,
9651,
4974,
7431,
29898,
1272,
1839,
407,
29918,
3127,
11287,
6736,
1583,
29889,
5085,
29889,
29876,
29918,
407,
29888,
29918,
5819,
1066,
718,
1583,
29889,
5085,
29889,
29876,
29918,
29879,
2027,
29918,
5819,
1066,
718,
29871,
29896,
30004,
13,
9651,
22645,
353,
1051,
29898,
3881,
29898,
1311,
29889,
29876,
29918,
407,
29888,
29918,
5819,
1066,
29892,
1583,
29889,
29876,
29918,
407,
29888,
29918,
5819,
1066,
29974,
1311,
29889,
29876,
29918,
29879,
2027,
29918,
5819,
1066,
876,
718,
21069,
29896,
29962,
30004,
13,
9651,
848,
353,
1583,
29889,
3549,
1469,
4499,
29916,
29898,
1272,
29892,
22645,
8443,
13,
30004,
13,
4706,
14550,
17708,
278,
13752,
21523,
12008,
30004,
13,
4706,
1298,
29918,
29916,
353,
1583,
29889,
657,
5228,
6779,
1469,
29898,
1272,
8443,
13,
30004,
13,
4706,
302,
29918,
5819,
1129,
353,
7431,
29898,
3149,
29918,
29916,
8443,
13,
4706,
304,
29918,
2457,
1839,
3318,
29918,
333,
2033,
353,
304,
29918,
2457,
1839,
3318,
29918,
333,
13359,
14358,
29898,
29876,
29918,
5819,
1129,
8443,
13,
4706,
304,
29918,
2457,
1839,
24645,
29918,
333,
2033,
353,
304,
29918,
2457,
1839,
24645,
29918,
333,
13359,
14358,
29898,
29876,
29918,
5819,
1129,
8443,
13,
4706,
304,
29918,
2457,
1839,
326,
29918,
333,
2033,
353,
304,
29918,
2457,
1839,
326,
29918,
333,
13359,
14358,
29898,
29876,
29918,
5819,
1129,
8443,
13,
4706,
304,
29918,
2457,
1839,
407,
29918,
3127,
2033,
353,
848,
1839,
407,
29918,
3127,
13359,
690,
14443,
6278,
29896,
8443,
13,
4706,
304,
29918,
2457,
1839,
9067,
29879,
2033,
353,
848,
1839,
9067,
29879,
2033,
30004,
13,
30004,
13,
4706,
565,
1583,
29889,
2457,
29918,
16170,
29901,
30004,
13,
9651,
304,
29918,
2457,
1839,
16170,
29918,
29916,
2033,
353,
1583,
29889,
657,
29909,
1505,
1469,
29898,
1272,
8443,
13,
9651,
1583,
29889,
16170,
29918,
8173,
29961,
13140,
29962,
353,
313,
517,
29918,
2457,
1839,
16170,
29918,
29916,
7464,
304,
29918,
2457,
1839,
407,
29918,
3127,
7464,
304,
29918,
2457,
1839,
9067,
29879,
2033,
8443,
13,
4706,
565,
1583,
29889,
2457,
29918,
9748,
29901,
30004,
13,
9651,
565,
1583,
29889,
2457,
29918,
28759,
29901,
30004,
13,
18884,
304,
29918,
2457,
1839,
28759,
29918,
13168,
7464,
304,
29918,
2457,
1839,
29916,
29918,
28759,
2033,
353,
1583,
29889,
657,
5228,
10716,
1469,
29898,
1272,
8443,
13,
18884,
304,
29918,
2457,
1839,
13168,
29918,
29916,
2033,
353,
304,
29918,
2457,
1839,
28759,
29918,
13168,
2033,
30004,
13,
18884,
304,
29918,
2457,
1839,
28759,
29918,
29916,
2033,
353,
304,
29918,
2457,
1839,
29916,
29918,
28759,
2033,
30004,
13,
9651,
1683,
29901,
30004,
13,
18884,
304,
29918,
2457,
1839,
3149,
29918,
29916,
2033,
353,
1298,
29918,
29916,
30004,
13,
30004,
13,
4706,
396,
1596,
703,
517,
29918,
2457,
1839,
407,
29918,
3127,
2033,
613,
304,
29918,
2457,
1839,
407,
29918,
3127,
2033,
8443,
13,
4706,
396,
1596,
703,
517,
29918,
2457,
1839,
407,
29918,
3127,
2033,
613,
304,
29918,
2457,
1839,
407,
29918,
3127,
13359,
12181,
8443,
13,
4706,
396,
1596,
703,
517,
29918,
2457,
1839,
9067,
29879,
2033,
613,
304,
29918,
2457,
1839,
9067,
29879,
13359,
12181,
8443,
13,
4706,
396,
1596,
703,
517,
29918,
2457,
1839,
3149,
29918,
29916,
2033,
613,
304,
29918,
2457,
1839,
3149,
29918,
29916,
13359,
12181,
8443,
13,
30004,
13,
4706,
304,
29918,
2457,
1839,
24713,
29918,
29875,
2033,
353,
29871,
29900,
30004,
13,
30004,
13,
4706,
396,
1152,
306,
6271,
1400,
29899,
19170,
30004,
13,
4706,
304,
29918,
2457,
1839,
19488,
2033,
353,
848,
1839,
19488,
2033,
30004,
13,
4706,
304,
29918,
2457,
1839,
7299,
29918,
1272,
2033,
353,
848,
1839,
7299,
29918,
1272,
2033,
30004,
13,
4706,
304,
29918,
2457,
1839,
4090,
29918,
13492,
2033,
353,
848,
1839,
4090,
29918,
13492,
2033,
30004,
13,
4706,
304,
29918,
2457,
1839,
4299,
29918,
9748,
2033,
353,
848,
1839,
4299,
29918,
9748,
2033,
30004,
13,
30004,
13,
4706,
736,
304,
29918,
2457,
30004,
13,
2
] |
test_mini_project6.py | chubbypanda/principles-of-computing | 22 | 127729 | # unit tests for Mini-project 6 (Tic-Tac-Toe), by k., 07/25/2014
import unittest
from mini_project6 import TTTBoard
from mini_project6 import mm_move
from mini_project6 import DRAW, EMPTY, PLAYERO, PLAYERX
class TestFunction(unittest.TestCase):
def setUp(self):
pass
def test_move_it(self):
board = TTTBoard(3, False, [[PLAYERO, PLAYERX, PLAYERX], [PLAYERO, PLAYERX, PLAYERO], [PLAYERX, PLAYERO, PLAYERX]])
self.assertIsInstance(board, TTTBoard)
self.assertIs(type(mm_move(board, PLAYERX)), tuple)
score, move = mm_move(board, PLAYERX)
self.assertIs(type(score), int)
self.assertIs(type(move), tuple)
self.assertEqual(mm_move(board, PLAYERX), (1, (-1, -1)))
board = TTTBoard(3, False, [[PLAYERO, PLAYERX, PLAYERX], [PLAYERX, PLAYERO, PLAYERO], [PLAYERO, PLAYERX, PLAYERX]])
self.assertEqual(mm_move(board, DRAW), (0, (-1, -1)))
board = TTTBoard(3, False, [[PLAYERO, PLAYERX, PLAYERX], [PLAYERO, PLAYERX, PLAYERO], [PLAYERO, PLAYERO, PLAYERX]])
self.assertEqual(mm_move(board, PLAYERO), (-1, (-1, -1)))
def test_won_it(self):
board = TTTBoard(3, False, [[PLAYERX, PLAYERX, PLAYERO], [PLAYERO, PLAYERX, PLAYERX], [PLAYERO, EMPTY, PLAYERO]])
self.assertEqual(mm_move(board, PLAYERX), (1, (2, 1)))
board = TTTBoard(2, False, [[EMPTY, EMPTY], [EMPTY, EMPTY]])
self.assertEqual(mm_move(board, PLAYERX), (1, (0, 0)))
def test_draw(self):
board = TTTBoard(3, False, [[EMPTY, EMPTY, PLAYERX], [EMPTY, EMPTY, EMPTY], [EMPTY, EMPTY, EMPTY]])
self.assertEqual(mm_move(board, PLAYERO), (0, (1, 1)))
board = TTTBoard(3, False, [[PLAYERX, EMPTY, EMPTY], [PLAYERO, PLAYERO, EMPTY], [EMPTY, PLAYERX, EMPTY]])
self.assertEqual(mm_move(board, PLAYERX), (0, (1, 2)))
board = TTTBoard(3, False, [[EMPTY, EMPTY, PLAYERX], [EMPTY, EMPTY, EMPTY], [EMPTY, EMPTY, EMPTY]])
self.assertEqual(mm_move(board, PLAYERO), (0, (1, 1)))
def test_lost_it(self):
board = TTTBoard(3, False, [[PLAYERX, PLAYERX, PLAYERO], [EMPTY, PLAYERX, PLAYERX], [PLAYERO, EMPTY, PLAYERO]])
self.assertEqual(mm_move(board, PLAYERO), (-1, (2, 1)))
board = TTTBoard(3, False, [[PLAYERX, PLAYERX, PLAYERO], [EMPTY, PLAYERX, PLAYERX], [PLAYERO, EMPTY, PLAYERO]])
self.assertEqual(mm_move(board, PLAYERO), (-1, (2, 1)))
# let's run it in IDLE
if __name__ == '__main__':
unittest.main(exit=False)
| [
1,
396,
5190,
6987,
363,
341,
2172,
29899,
4836,
29871,
29953,
313,
29911,
293,
29899,
29911,
562,
29899,
1762,
29872,
511,
491,
413,
1696,
29871,
29900,
29955,
29914,
29906,
29945,
29914,
29906,
29900,
29896,
29946,
13,
13,
5215,
443,
27958,
13,
3166,
20629,
29918,
4836,
29953,
1053,
323,
19988,
28397,
13,
3166,
20629,
29918,
4836,
29953,
1053,
5654,
29918,
11631,
13,
3166,
20629,
29918,
4836,
29953,
1053,
360,
4717,
29956,
29892,
382,
3580,
15631,
29892,
349,
18799,
1001,
29949,
29892,
349,
18799,
1001,
29990,
13,
13,
13,
1990,
4321,
6678,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
1678,
822,
731,
3373,
29898,
1311,
1125,
13,
4706,
1209,
13,
1678,
822,
1243,
29918,
11631,
29918,
277,
29898,
1311,
1125,
13,
4706,
7613,
353,
323,
19988,
28397,
29898,
29941,
29892,
7700,
29892,
5519,
29925,
18799,
1001,
29949,
29892,
349,
18799,
1001,
29990,
29892,
349,
18799,
1001,
29990,
1402,
518,
29925,
18799,
1001,
29949,
29892,
349,
18799,
1001,
29990,
29892,
349,
18799,
1001,
29949,
1402,
518,
29925,
18799,
1001,
29990,
29892,
349,
18799,
1001,
29949,
29892,
349,
18799,
1001,
29990,
24960,
13,
4706,
1583,
29889,
9294,
3624,
4998,
29898,
3377,
29892,
323,
19988,
28397,
29897,
13,
4706,
1583,
29889,
9294,
3624,
29898,
1853,
29898,
4317,
29918,
11631,
29898,
3377,
29892,
349,
18799,
1001,
29990,
8243,
18761,
29897,
13,
4706,
8158,
29892,
4337,
353,
5654,
29918,
11631,
29898,
3377,
29892,
349,
18799,
1001,
29990,
29897,
13,
4706,
1583,
29889,
9294,
3624,
29898,
1853,
29898,
13628,
511,
938,
29897,
13,
4706,
1583,
29889,
9294,
3624,
29898,
1853,
29898,
11631,
511,
18761,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
4317,
29918,
11631,
29898,
3377,
29892,
349,
18799,
1001,
29990,
511,
313,
29896,
29892,
8521,
29896,
29892,
448,
29896,
4961,
13,
4706,
7613,
353,
323,
19988,
28397,
29898,
29941,
29892,
7700,
29892,
5519,
29925,
18799,
1001,
29949,
29892,
349,
18799,
1001,
29990,
29892,
349,
18799,
1001,
29990,
1402,
518,
29925,
18799,
1001,
29990,
29892,
349,
18799,
1001,
29949,
29892,
349,
18799,
1001,
29949,
1402,
518,
29925,
18799,
1001,
29949,
29892,
349,
18799,
1001,
29990,
29892,
349,
18799,
1001,
29990,
24960,
13,
4706,
1583,
29889,
9294,
9843,
29898,
4317,
29918,
11631,
29898,
3377,
29892,
360,
4717,
29956,
511,
313,
29900,
29892,
8521,
29896,
29892,
448,
29896,
4961,
13,
4706,
7613,
353,
323,
19988,
28397,
29898,
29941,
29892,
7700,
29892,
5519,
29925,
18799,
1001,
29949,
29892,
349,
18799,
1001,
29990,
29892,
349,
18799,
1001,
29990,
1402,
518,
29925,
18799,
1001,
29949,
29892,
349,
18799,
1001,
29990,
29892,
349,
18799,
1001,
29949,
1402,
518,
29925,
18799,
1001,
29949,
29892,
349,
18799,
1001,
29949,
29892,
349,
18799,
1001,
29990,
24960,
13,
4706,
1583,
29889,
9294,
9843,
29898,
4317,
29918,
11631,
29898,
3377,
29892,
349,
18799,
1001,
29949,
511,
8521,
29896,
29892,
8521,
29896,
29892,
448,
29896,
4961,
13,
1678,
822,
1243,
29918,
12620,
29918,
277,
29898,
1311,
1125,
13,
4706,
7613,
353,
323,
19988,
28397,
29898,
29941,
29892,
7700,
29892,
5519,
29925,
18799,
1001,
29990,
29892,
349,
18799,
1001,
29990,
29892,
349,
18799,
1001,
29949,
1402,
518,
29925,
18799,
1001,
29949,
29892,
349,
18799,
1001,
29990,
29892,
349,
18799,
1001,
29990,
1402,
518,
29925,
18799,
1001,
29949,
29892,
382,
3580,
15631,
29892,
349,
18799,
1001,
29949,
24960,
13,
4706,
1583,
29889,
9294,
9843,
29898,
4317,
29918,
11631,
29898,
3377,
29892,
349,
18799,
1001,
29990,
511,
313,
29896,
29892,
313,
29906,
29892,
29871,
29896,
4961,
13,
4706,
7613,
353,
323,
19988,
28397,
29898,
29906,
29892,
7700,
29892,
5519,
29923,
3580,
15631,
29892,
382,
3580,
15631,
1402,
518,
29923,
3580,
15631,
29892,
382,
3580,
15631,
24960,
13,
4706,
1583,
29889,
9294,
9843,
29898,
4317,
29918,
11631,
29898,
3377,
29892,
349,
18799,
1001,
29990,
511,
313,
29896,
29892,
313,
29900,
29892,
29871,
29900,
4961,
13,
1678,
822,
1243,
29918,
4012,
29898,
1311,
1125,
13,
4706,
7613,
353,
323,
19988,
28397,
29898,
29941,
29892,
7700,
29892,
5519,
29923,
3580,
15631,
29892,
382,
3580,
15631,
29892,
349,
18799,
1001,
29990,
1402,
518,
29923,
3580,
15631,
29892,
382,
3580,
15631,
29892,
382,
3580,
15631,
1402,
518,
29923,
3580,
15631,
29892,
382,
3580,
15631,
29892,
382,
3580,
15631,
24960,
13,
4706,
1583,
29889,
9294,
9843,
29898,
4317,
29918,
11631,
29898,
3377,
29892,
349,
18799,
1001,
29949,
511,
313,
29900,
29892,
313,
29896,
29892,
29871,
29896,
4961,
13,
4706,
7613,
353,
323,
19988,
28397,
29898,
29941,
29892,
7700,
29892,
5519,
29925,
18799,
1001,
29990,
29892,
382,
3580,
15631,
29892,
382,
3580,
15631,
1402,
518,
29925,
18799,
1001,
29949,
29892,
349,
18799,
1001,
29949,
29892,
382,
3580,
15631,
1402,
518,
29923,
3580,
15631,
29892,
349,
18799,
1001,
29990,
29892,
382,
3580,
15631,
24960,
13,
4706,
1583,
29889,
9294,
9843,
29898,
4317,
29918,
11631,
29898,
3377,
29892,
349,
18799,
1001,
29990,
511,
313,
29900,
29892,
313,
29896,
29892,
29871,
29906,
4961,
13,
4706,
7613,
353,
323,
19988,
28397,
29898,
29941,
29892,
7700,
29892,
5519,
29923,
3580,
15631,
29892,
382,
3580,
15631,
29892,
349,
18799,
1001,
29990,
1402,
518,
29923,
3580,
15631,
29892,
382,
3580,
15631,
29892,
382,
3580,
15631,
1402,
518,
29923,
3580,
15631,
29892,
382,
3580,
15631,
29892,
382,
3580,
15631,
24960,
13,
4706,
1583,
29889,
9294,
9843,
29898,
4317,
29918,
11631,
29898,
3377,
29892,
349,
18799,
1001,
29949,
511,
313,
29900,
29892,
313,
29896,
29892,
29871,
29896,
4961,
259,
13,
1678,
822,
1243,
29918,
18767,
29918,
277,
29898,
1311,
1125,
13,
4706,
7613,
353,
323,
19988,
28397,
29898,
29941,
29892,
7700,
29892,
5519,
29925,
18799,
1001,
29990,
29892,
349,
18799,
1001,
29990,
29892,
349,
18799,
1001,
29949,
1402,
518,
29923,
3580,
15631,
29892,
349,
18799,
1001,
29990,
29892,
349,
18799,
1001,
29990,
1402,
518,
29925,
18799,
1001,
29949,
29892,
382,
3580,
15631,
29892,
349,
18799,
1001,
29949,
24960,
13,
4706,
1583,
29889,
9294,
9843,
29898,
4317,
29918,
11631,
29898,
3377,
29892,
349,
18799,
1001,
29949,
511,
8521,
29896,
29892,
313,
29906,
29892,
29871,
29896,
4961,
13,
4706,
7613,
353,
323,
19988,
28397,
29898,
29941,
29892,
7700,
29892,
5519,
29925,
18799,
1001,
29990,
29892,
349,
18799,
1001,
29990,
29892,
349,
18799,
1001,
29949,
1402,
518,
29923,
3580,
15631,
29892,
349,
18799,
1001,
29990,
29892,
349,
18799,
1001,
29990,
1402,
518,
29925,
18799,
1001,
29949,
29892,
382,
3580,
15631,
29892,
349,
18799,
1001,
29949,
24960,
13,
4706,
1583,
29889,
9294,
9843,
29898,
4317,
29918,
11631,
29898,
3377,
29892,
349,
18799,
1001,
29949,
511,
8521,
29896,
29892,
313,
29906,
29892,
29871,
29896,
4961,
13,
13,
1669,
13,
29937,
1235,
29915,
29879,
1065,
372,
297,
3553,
1307,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
1678,
443,
27958,
29889,
3396,
29898,
13322,
29922,
8824,
29897,
13,
2
] |
datastore/shared/postgresql_backend/create_schema.py | jsangmeister/openslides-datastore-service | 0 | 181707 | import os
from datastore.shared.di import injector
from datastore.shared.postgresql_backend import ConnectionHandler
def create_schema() -> None:
"""
Helper function to write the database schema into the database.
"""
connection_handler = injector.get(ConnectionHandler)
with connection_handler.get_connection_context():
with connection_handler.get_current_connection().cursor() as cursor:
path = os.path.realpath(
os.path.join(os.getcwd(), os.path.dirname(__file__), "schema.sql")
)
cursor.execute(open(path, "r").read(), [])
| [
1,
1053,
2897,
13,
13,
3166,
1418,
579,
487,
29889,
12366,
29889,
6051,
1053,
11658,
272,
13,
3166,
1418,
579,
487,
29889,
12366,
29889,
29272,
29918,
27852,
1053,
15160,
4598,
13,
13,
13,
1753,
1653,
29918,
11010,
580,
1599,
6213,
29901,
13,
1678,
9995,
13,
1678,
6162,
546,
740,
304,
2436,
278,
2566,
10938,
964,
278,
2566,
29889,
13,
1678,
9995,
13,
1678,
3957,
29918,
13789,
353,
11658,
272,
29889,
657,
29898,
5350,
4598,
29897,
13,
1678,
411,
3957,
29918,
13789,
29889,
657,
29918,
9965,
29918,
4703,
7295,
13,
4706,
411,
3957,
29918,
13789,
29889,
657,
29918,
3784,
29918,
9965,
2141,
18127,
580,
408,
10677,
29901,
13,
9651,
2224,
353,
2897,
29889,
2084,
29889,
6370,
2084,
29898,
13,
18884,
2897,
29889,
2084,
29889,
7122,
29898,
359,
29889,
657,
29883,
9970,
3285,
2897,
29889,
2084,
29889,
25721,
22168,
1445,
1649,
511,
376,
11010,
29889,
2850,
1159,
13,
9651,
1723,
13,
9651,
10677,
29889,
7978,
29898,
3150,
29898,
2084,
29892,
376,
29878,
2564,
949,
3285,
518,
2314,
13,
2
] |
iap/example_gce_backend.py | HoleCat/echarlosperros | 0 | 98685 | # Copyright 2017 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import platform
import flask
import validate_jwt
CLOUD_PROJECT_ID = 'YOUR_PROJECT_ID'
BACKEND_SERVICE_ID = 'YOUR_BACKEND_SERVICE_ID'
app = flask.Flask(__name__)
@app.route('/')
def root():
jwt = flask.request.headers.get('x-goog-iap-jwt-assertion')
if jwt is None:
return 'Unauthorized request.'
expected_audience = '/projects/{}/global/backendServices/{}'.format(CLOUD_PROJECT_ID, BACKEND_SERVICE_ID)
user_id, user_email, error_str = (
validate_jwt.validate_iap_jwt(
jwt, expected_audience))
if error_str:
return 'Error: {}'.format(error_str)
else:
return 'Hi, {}. I am {}.'.format(user_email, platform.node())
if __name__ == '__main__':
app.run()
| [
1,
396,
14187,
1266,
29871,
29906,
29900,
29896,
29955,
5087,
9266,
29889,
2178,
26863,
2538,
9841,
22993,
13,
29937,
30004,
13,
29937,
10413,
21144,
1090,
278,
13380,
19245,
29892,
10079,
29871,
29906,
29889,
29900,
313,
1552,
376,
29931,
293,
1947,
18584,
13,
29937,
366,
1122,
451,
671,
445,
934,
5174,
297,
752,
13036,
411,
278,
19245,
22993,
13,
29937,
887,
1122,
4017,
263,
3509,
310,
278,
19245,
472,
30004,
13,
29937,
30004,
13,
29937,
418,
1732,
597,
1636,
29889,
4288,
29889,
990,
29914,
506,
11259,
29914,
27888,
1430,
1660,
29899,
29906,
29889,
29900,
30004,
13,
29937,
30004,
13,
29937,
25870,
3734,
491,
22903,
4307,
470,
15502,
304,
297,
5007,
29892,
7047,
30004,
13,
29937,
13235,
1090,
278,
19245,
338,
13235,
373,
385,
376,
3289,
8519,
29908,
350,
3289,
3235,
11167,
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,
22993,
13,
29937,
2823,
278,
19245,
363,
278,
2702,
4086,
14765,
1076,
11239,
322,
30004,
13,
29937,
27028,
1090,
278,
19245,
22993,
13,
30004,
13,
5215,
7481,
30004,
13,
30004,
13,
5215,
29784,
30004,
13,
30004,
13,
5215,
12725,
29918,
29926,
14554,
30004,
13,
30004,
13,
29907,
3927,
15789,
29918,
8618,
17637,
29918,
1367,
353,
525,
29979,
22970,
29918,
8618,
17637,
29918,
1367,
29915,
30004,
13,
29933,
11375,
11794,
29918,
6304,
19059,
29918,
1367,
353,
525,
29979,
22970,
29918,
29933,
11375,
11794,
29918,
6304,
19059,
29918,
1367,
29915,
30004,
13,
30004,
13,
932,
353,
29784,
29889,
8754,
1278,
22168,
978,
1649,
8443,
13,
30004,
13,
30004,
13,
29992,
932,
29889,
13134,
11219,
1495,
30004,
13,
1753,
3876,
7295,
30004,
13,
1678,
432,
14554,
353,
29784,
29889,
3827,
29889,
13662,
29889,
657,
877,
29916,
29899,
1484,
468,
29899,
423,
29886,
29899,
29926,
14554,
29899,
9294,
291,
1495,
30004,
13,
1678,
565,
432,
14554,
338,
6213,
29901,
30004,
13,
4706,
736,
525,
29965,
1056,
329,
2015,
1891,
2009,
6169,
30004,
13,
1678,
3806,
29918,
28863,
663,
353,
8207,
16418,
19248,
6822,
10945,
29914,
27852,
13779,
29914,
8875,
4286,
4830,
29898,
29907,
3927,
15789,
29918,
8618,
17637,
29918,
1367,
29892,
350,
11375,
11794,
29918,
6304,
19059,
29918,
1367,
8443,
13,
1678,
1404,
29918,
333,
29892,
1404,
29918,
5269,
29892,
1059,
29918,
710,
353,
313,
30004,
13,
4706,
12725,
29918,
29926,
14554,
29889,
15480,
29918,
423,
29886,
29918,
29926,
14554,
29898,
30004,
13,
9651,
432,
14554,
29892,
3806,
29918,
28863,
663,
876,
30004,
13,
1678,
565,
1059,
29918,
710,
29901,
30004,
13,
4706,
736,
525,
2392,
29901,
6571,
4286,
4830,
29898,
2704,
29918,
710,
8443,
13,
1678,
1683,
29901,
30004,
13,
4706,
736,
525,
18567,
29892,
426,
1836,
306,
626,
426,
1836,
4286,
4830,
29898,
1792,
29918,
5269,
29892,
7481,
29889,
3177,
3101,
30004,
13,
30004,
13,
30004,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
30004,
13,
1678,
623,
29889,
3389,
26471,
13,
2
] |
curious_classes.py | sebball/etsy-shop-manager-api-v3 | 1 | 185411 | import curious_functions as cf
import curious_variables as cv
import typing
import logging
import useful_functions
# import curious_variables as cv
logging.basicConfig(format='%(levelname)s:%(message)s', level=logging.CRITICAL)
log = logging.critical("Testing program:")
class Shop:
def __init__(self):
self.type_object = "shop"
self.info = Info(parent_object=self)
# if secrets:
# for this_secret in self.secrets:
# self.secrets[nesecret] = secret
# get_new_info = input("Do you want to add or change secret information? y/n: ")
# if get_new_info == "y":
#
# if
# print("You need to add a 'secret_variables_RichmondCuriosities.txt' file")
# return
# secrets = cf.get_secret_dictionary()
#
# def ask_for_secret(self, secret):
# secret_choices = []
#
#
#
# self.,my_api_key = my_api_key
# self.my_shop_id = my_shop_id
#
# class ShopSecrets(self, ):
#
# def new_secrets(self, self):
#
# def get_secret_dictionary():
# secret_path = Path("secret_variables_RichmondCuriosities.txt")
# if secret_path.is_file():
# secret_object = open("secret_variables_RichmondCuriosities.txt", "r")
# secret_dictionary = secret_object.read()
# return secret_dictionary
class Info:
"""Return information dictionary from etsy api about the class it calls
Attributes
dict: Dictionary of values returned by etsy api calls. Contents depend on the type of the parent object.
type: Small description of classes use
parent_object: the object (type of info: eg shop, listings) Info is assigned to"""
def __init__(self, parent_object, api_call=""):
self.type = "info"
self.dict = {}
self.parent_object = parent_object
if parent_object.type_object == "shop":
self.dict.update({"end_points": cv.end_points})
elif parent_object.type_object == "listings":
self.dict.update()
# class Listings:
# def __init__(self):
# self.type = "listings"
# self.parent_object = "shop"
# def get_info(type):
# self.info = Info(parent_object="listings", api_call="")
shop = Shop()
shop2 = Shop()
print(shop.info.parent_object.type_object)
# self.shoprequired = ["shop_id", "shop_name"]
# self.shop = info_dictionary
# log.critical(f"{self.shop}")
#
# # def add(self, dict_to_update):
# # log(f"add function start: self = {type(self)} {self.shop}")
# self_copy = useful_functions.dict_fresh_id(self)
# #log(f"add function self copied: self = {self}, self_copy = {self_copy}")
# for i, key in enumerate(dict_to_update):
# # log(f"add function i: {i}, key: {key}, self = {self}, self_copy:{self_copy}")
# for value in dict_to_update[key]:
# self_copy[key] = value
# self = self_copy
# del self_copy
# def check_required(info_object):
# for requirement in info_class.required:
# assert requirement in info_class
#
# curious_info = {"shop_id": "32027063", "shop_name": "RichmondCuriosities",}
# shop = Shop()
# print(type(curious_info))
# info = Info(info_dictionary=curious_info)
# # log(f"{info_dictionary.shop}")
# print(info, info.shop["shop_id"])
#
# info.add(dict_to_update={"he;;op": "rffae"})
# print(info.shop)
#
# new_info = Info(shop_info=curious_info)
# print(new_info.shop)
# new_info.add({['did', 'add'], ['it', '?']})
# print(new_info.shop) | [
1,
1053,
12758,
29918,
12171,
408,
274,
29888,
30004,
13,
5215,
12758,
29918,
20897,
408,
13850,
30004,
13,
5215,
19229,
30004,
13,
5215,
12183,
30004,
13,
30004,
13,
30004,
13,
5215,
5407,
29918,
12171,
30004,
13,
29937,
1053,
12758,
29918,
20897,
408,
13850,
30004,
13,
30004,
13,
30004,
13,
21027,
29889,
16121,
3991,
29898,
4830,
2433,
29995,
29898,
5563,
978,
29897,
29879,
16664,
29898,
4906,
29897,
29879,
742,
3233,
29922,
21027,
29889,
11341,
1806,
2965,
1964,
8443,
13,
1188,
353,
12183,
29889,
9695,
936,
703,
3057,
292,
1824,
29901,
1159,
30004,
13,
30004,
13,
1990,
1383,
459,
29901,
30004,
13,
1678,
822,
4770,
2344,
12035,
1311,
1125,
30004,
13,
4706,
1583,
29889,
1853,
29918,
3318,
353,
376,
19032,
19451,
13,
4706,
1583,
29889,
3888,
353,
22140,
29898,
3560,
29918,
3318,
29922,
1311,
8443,
13,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
4706,
396,
565,
22183,
1372,
29901,
30004,
13,
4706,
396,
268,
363,
445,
29918,
19024,
297,
1583,
29889,
344,
1037,
1372,
29901,
30004,
13,
4706,
396,
308,
1583,
29889,
344,
1037,
1372,
29961,
4515,
687,
2267,
29962,
353,
7035,
30004,
13,
4706,
396,
679,
29918,
1482,
29918,
3888,
353,
1881,
703,
6132,
366,
864,
304,
788,
470,
1735,
7035,
2472,
29973,
343,
29914,
29876,
29901,
376,
8443,
13,
4706,
396,
565,
679,
29918,
1482,
29918,
3888,
1275,
376,
29891,
1115,
30004,
13,
4706,
396,
30004,
13,
4706,
396,
565,
30004,
13,
4706,
396,
268,
1596,
703,
3492,
817,
304,
788,
263,
525,
19024,
29918,
20897,
29918,
25627,
8315,
23902,
2363,
1907,
29889,
3945,
29915,
934,
1159,
30004,
13,
4706,
396,
268,
736,
30004,
13,
4706,
396,
22183,
1372,
353,
274,
29888,
29889,
657,
29918,
19024,
29918,
27126,
26471,
13,
4706,
396,
30004,
13,
4706,
396,
822,
2244,
29918,
1454,
29918,
19024,
29898,
1311,
29892,
7035,
1125,
30004,
13,
4706,
396,
268,
7035,
29918,
1859,
1575,
353,
5159,
30004,
13,
4706,
396,
30004,
13,
4706,
396,
30004,
13,
4706,
396,
30004,
13,
4706,
396,
1583,
1696,
1357,
29918,
2754,
29918,
1989,
353,
590,
29918,
2754,
29918,
1989,
30004,
13,
4706,
396,
1583,
29889,
1357,
29918,
19032,
29918,
333,
353,
590,
29918,
19032,
29918,
333,
30004,
13,
1678,
396,
30004,
13,
30004,
13,
30004,
13,
1678,
396,
770,
1383,
459,
7898,
27487,
29898,
1311,
29892,
29871,
1125,
30004,
13,
1678,
396,
30004,
13,
1678,
396,
822,
716,
29918,
344,
1037,
1372,
29898,
1311,
29892,
1583,
1125,
30004,
13,
1678,
396,
30004,
13,
1678,
396,
822,
679,
29918,
19024,
29918,
27126,
7295,
30004,
13,
1678,
396,
268,
7035,
29918,
2084,
353,
10802,
703,
19024,
29918,
20897,
29918,
25627,
8315,
23902,
2363,
1907,
29889,
3945,
1159,
30004,
13,
1678,
396,
268,
565,
7035,
29918,
2084,
29889,
275,
29918,
1445,
7295,
30004,
13,
1678,
396,
308,
7035,
29918,
3318,
353,
1722,
703,
19024,
29918,
20897,
29918,
25627,
8315,
23902,
2363,
1907,
29889,
3945,
613,
376,
29878,
1159,
30004,
13,
1678,
396,
308,
7035,
29918,
27126,
353,
7035,
29918,
3318,
29889,
949,
26471,
13,
1678,
396,
308,
736,
7035,
29918,
27126,
30004,
13,
30004,
13,
30004,
13,
1990,
22140,
29901,
30004,
13,
1678,
9995,
11609,
2472,
8600,
515,
634,
29879,
29891,
7882,
1048,
278,
770,
372,
5717,
30004,
13,
30004,
13,
1678,
6212,
5026,
30004,
13,
1678,
9657,
29901,
13343,
310,
1819,
4133,
491,
634,
29879,
29891,
7882,
5717,
29889,
2866,
1237,
8839,
373,
278,
1134,
310,
278,
3847,
1203,
22993,
13,
1678,
1134,
29901,
18285,
6139,
310,
4413,
671,
30004,
13,
1678,
3847,
29918,
3318,
29901,
278,
1203,
313,
1853,
310,
5235,
29901,
8087,
18296,
29892,
1051,
886,
29897,
22140,
338,
9859,
304,
15945,
19451,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
3847,
29918,
3318,
29892,
7882,
29918,
4804,
13776,
1125,
30004,
13,
30004,
13,
4706,
1583,
29889,
1853,
353,
376,
3888,
19451,
13,
4706,
1583,
29889,
8977,
353,
6571,
30004,
13,
4706,
1583,
29889,
3560,
29918,
3318,
353,
3847,
29918,
3318,
30004,
13,
30004,
13,
4706,
565,
3847,
29918,
3318,
29889,
1853,
29918,
3318,
1275,
376,
19032,
1115,
30004,
13,
9651,
1583,
29889,
8977,
29889,
5504,
3319,
29908,
355,
29918,
9748,
1115,
13850,
29889,
355,
29918,
9748,
1800,
30004,
13,
4706,
25342,
3847,
29918,
3318,
29889,
1853,
29918,
3318,
1275,
376,
1761,
886,
1115,
30004,
13,
9651,
1583,
29889,
8977,
29889,
5504,
26471,
13,
30004,
13,
30004,
13,
30004,
13,
29937,
770,
2391,
886,
29901,
30004,
13,
29937,
268,
822,
4770,
2344,
12035,
1311,
1125,
30004,
13,
29937,
308,
1583,
29889,
1853,
353,
376,
1761,
886,
19451,
13,
29937,
308,
1583,
29889,
3560,
29918,
3318,
353,
376,
19032,
19451,
13,
29937,
308,
822,
679,
29918,
3888,
29898,
1853,
1125,
30004,
13,
29937,
632,
1583,
29889,
3888,
353,
22140,
29898,
3560,
29918,
3318,
543,
1761,
886,
613,
7882,
29918,
4804,
543,
1159,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
19032,
353,
1383,
459,
26471,
13,
19032,
29906,
29871,
353,
1383,
459,
26471,
13,
30004,
13,
30004,
13,
2158,
29898,
19032,
29889,
3888,
29889,
3560,
29918,
3318,
29889,
1853,
29918,
3318,
8443,
13,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
1678,
396,
268,
1583,
29889,
19032,
12403,
353,
6796,
19032,
29918,
333,
613,
376,
19032,
29918,
978,
3108,
30004,
13,
1678,
396,
268,
1583,
29889,
19032,
353,
5235,
29918,
27126,
30004,
13,
1678,
396,
268,
1480,
29889,
9695,
936,
29898,
29888,
29908,
29912,
1311,
29889,
19032,
27195,
30004,
13,
1678,
396,
30004,
13,
1678,
396,
396,
822,
788,
29898,
1311,
29892,
9657,
29918,
517,
29918,
5504,
1125,
30004,
13,
1678,
396,
396,
268,
1480,
29898,
29888,
29908,
1202,
740,
1369,
29901,
1583,
353,
426,
1853,
29898,
1311,
2915,
426,
1311,
29889,
19032,
27195,
30004,
13,
1678,
396,
268,
1583,
29918,
8552,
353,
5407,
29918,
12171,
29889,
8977,
29918,
29888,
3781,
29918,
333,
29898,
1311,
8443,
13,
1678,
396,
268,
396,
1188,
29898,
29888,
29908,
1202,
740,
1583,
13746,
29901,
1583,
353,
426,
1311,
1118,
1583,
29918,
8552,
353,
426,
1311,
29918,
8552,
27195,
30004,
13,
1678,
396,
268,
363,
474,
29892,
1820,
297,
26985,
29898,
8977,
29918,
517,
29918,
5504,
1125,
30004,
13,
1678,
396,
4706,
396,
1480,
29898,
29888,
29908,
1202,
740,
474,
29901,
426,
29875,
1118,
1820,
29901,
426,
1989,
1118,
1583,
353,
426,
1311,
1118,
1583,
29918,
8552,
26254,
1311,
29918,
8552,
27195,
30004,
13,
1678,
396,
308,
363,
995,
297,
9657,
29918,
517,
29918,
5504,
29961,
1989,
5387,
30004,
13,
1678,
396,
632,
1583,
29918,
8552,
29961,
1989,
29962,
353,
995,
30004,
13,
1678,
396,
268,
1583,
353,
1583,
29918,
8552,
30004,
13,
1678,
396,
268,
628,
1583,
29918,
8552,
30004,
13,
30004,
13,
30004,
13,
30004,
13,
1678,
396,
822,
1423,
29918,
12403,
29898,
3888,
29918,
3318,
1125,
30004,
13,
1678,
396,
268,
363,
11809,
297,
5235,
29918,
1990,
29889,
12403,
29901,
30004,
13,
1678,
396,
308,
4974,
11809,
297,
5235,
29918,
1990,
30004,
13,
29937,
30004,
13,
29937,
12758,
29918,
3888,
353,
8853,
19032,
29918,
333,
1115,
376,
29941,
29906,
29900,
29906,
29955,
29900,
29953,
29941,
613,
376,
19032,
29918,
978,
1115,
376,
25627,
8315,
23902,
2363,
1907,
613,
8117,
13,
29937,
18296,
353,
1383,
459,
26471,
13,
29937,
1596,
29898,
1853,
29898,
2764,
2738,
29918,
3888,
876,
30004,
13,
29937,
5235,
353,
22140,
29898,
3888,
29918,
27126,
29922,
2764,
2738,
29918,
3888,
8443,
13,
29937,
396,
1480,
29898,
29888,
29908,
29912,
3888,
29918,
27126,
29889,
19032,
27195,
30004,
13,
29937,
1596,
29898,
3888,
29892,
5235,
29889,
19032,
3366,
19032,
29918,
333,
20068,
30004,
13,
29937,
30004,
13,
29937,
5235,
29889,
1202,
29898,
8977,
29918,
517,
29918,
5504,
3790,
29908,
354,
7859,
459,
1115,
376,
29878,
600,
3660,
29908,
1800,
30004,
13,
29937,
1596,
29898,
3888,
29889,
19032,
8443,
13,
29937,
30004,
13,
29937,
716,
29918,
3888,
353,
22140,
29898,
19032,
29918,
3888,
29922,
2764,
2738,
29918,
3888,
8443,
13,
29937,
1596,
29898,
1482,
29918,
3888,
29889,
19032,
8443,
13,
29937,
716,
29918,
3888,
29889,
1202,
3319,
1839,
18361,
742,
525,
1202,
7464,
6024,
277,
742,
525,
29973,
2033,
1800,
30004,
13,
29937,
1596,
29898,
1482,
29918,
3888,
29889,
19032,
29897,
2
] |
Website Code/flask_backend/database/module_db.py | camillesanchez/history-movie-index2 | 0 | 99403 | from historical_periods.scraping_histo_periods_tt import get_dictionary_from_json, get_historical_dictionary, save_dictionary_as_json
import sys, os
sys.path.insert(0,"/Users/camillesanchez/Desktop/hmi/imdbpy-master/")
from imdb import IMDb
def getIMDbDataFromFields(IMDb_id, *fields):
""" Returns IMDb Datas from IMDb film ID
Note: All IMDB ID starts with tt (i.e. "tt8579674" for the film "1917"),
which need to be removed to use the IMDbPy modules. """
ia = IMDb()
film = ia.get_movie(IMDb_id[2:])
person_fields = ["director","writer","cast"]
fields_data = []
for field in fields:
try:
if field in person_fields:
data = []
for person_name in film[field]:
data.append(str(person_name))
else:
data = film.get(field)
except KeyError:
data = None
fields_data.append(data)
url = ia.get_imdbURL(film)
fields_data.append(url)
return fields_data
def getHistoricalPeriodsJSON(history_terminology_json, new_filename):
""" From history_terminology.json and the totallytimelines webscraping,
returns updated JSON file of historical_periods.json """
# Gets history_terminology dictionary:
history_terminology_path = os.path.join("./historical_periods/", history_terminology_json)
history_terminology = get_dictionary_from_json(history_terminology_path)
# Creates json file with the scraped website data & historical terminology to make periods dictionary:
historical_dictionary = get_historical_dictionary(history_terminology)
save_dictionary_as_json(historical_dictionary, "historical_periods.json")
return new_filename
####### TESTING AREA #######
# # To test getHistoricalPeriodsJSON(history_terminology_json, new_filename):
# print(getHistoricalPeriodsJSON("history_terminology.json", "historical_periods.json"))
# To test getIMDbDataFromFields(IMDb_id, field):
# print(getIMDbDataFromFields("tt8579674", "plot", "synopsis","director","writer","cast", "cover url"))
| [
1,
515,
15839,
29918,
19145,
29879,
29889,
1557,
2390,
292,
29918,
29882,
5137,
29918,
19145,
29879,
29918,
698,
1053,
679,
29918,
27126,
29918,
3166,
29918,
3126,
29892,
679,
29918,
16211,
936,
29918,
27126,
29892,
4078,
29918,
27126,
29918,
294,
29918,
3126,
13,
5215,
10876,
29892,
2897,
13,
9675,
29889,
2084,
29889,
7851,
29898,
29900,
1699,
29914,
5959,
29914,
11108,
7545,
20372,
29920,
29914,
17600,
29914,
29882,
2460,
29914,
326,
2585,
2272,
29899,
6207,
29914,
1159,
13,
3166,
527,
2585,
1053,
11769,
13,
13,
1753,
679,
29902,
11602,
1469,
4591,
14256,
29898,
29902,
11602,
29918,
333,
29892,
334,
9621,
1125,
13,
1678,
9995,
16969,
11769,
13373,
294,
515,
11769,
2706,
3553,
29871,
13,
13,
1678,
3940,
29901,
2178,
22313,
4051,
3553,
8665,
411,
260,
29873,
313,
29875,
29889,
29872,
29889,
376,
698,
29947,
29945,
29955,
29929,
29953,
29955,
29946,
29908,
363,
278,
2706,
376,
29896,
29929,
29896,
29955,
4968,
29871,
13,
1678,
607,
817,
304,
367,
6206,
304,
671,
278,
11769,
19737,
10585,
29889,
9995,
13,
13,
268,
423,
353,
11769,
580,
13,
1678,
2706,
353,
29871,
423,
29889,
657,
29918,
27362,
29898,
29902,
11602,
29918,
333,
29961,
29906,
29901,
2314,
13,
268,
13,
1678,
2022,
29918,
9621,
353,
6796,
11851,
272,
3284,
13236,
3284,
4384,
3108,
13,
13,
1678,
4235,
29918,
1272,
353,
5159,
13,
1678,
363,
1746,
297,
4235,
29901,
13,
4706,
1018,
29901,
13,
9651,
565,
1746,
297,
2022,
29918,
9621,
29901,
13,
18884,
848,
353,
5159,
13,
18884,
363,
2022,
29918,
978,
297,
2706,
29961,
2671,
5387,
13,
462,
1678,
848,
29889,
4397,
29898,
710,
29898,
10532,
29918,
978,
876,
13,
9651,
1683,
29901,
13,
18884,
848,
353,
2706,
29889,
657,
29898,
2671,
29897,
13,
4706,
5174,
7670,
2392,
29901,
13,
9651,
848,
353,
6213,
13,
13,
4706,
4235,
29918,
1272,
29889,
4397,
29898,
1272,
29897,
13,
13,
1678,
3142,
353,
29871,
423,
29889,
657,
29918,
326,
2585,
4219,
29898,
9663,
29897,
13,
1678,
4235,
29918,
1272,
29889,
4397,
29898,
2271,
29897,
13,
13,
1678,
736,
4235,
29918,
1272,
13,
13,
1753,
679,
29950,
2118,
936,
29853,
29879,
7249,
29898,
18434,
29918,
18821,
3002,
29918,
3126,
29892,
716,
29918,
9507,
1125,
13,
1678,
9995,
3645,
4955,
29918,
18821,
3002,
29889,
3126,
322,
278,
14909,
9346,
24210,
1856,
1557,
2390,
292,
29892,
29871,
13,
1678,
3639,
4784,
4663,
934,
310,
15839,
29918,
19145,
29879,
29889,
3126,
9995,
13,
13,
1678,
396,
402,
1691,
4955,
29918,
18821,
3002,
8600,
29901,
13,
1678,
4955,
29918,
18821,
3002,
29918,
2084,
353,
2897,
29889,
2084,
29889,
7122,
703,
6904,
16211,
936,
29918,
19145,
29879,
29914,
613,
4955,
29918,
18821,
3002,
29918,
3126,
29897,
13,
1678,
4955,
29918,
18821,
3002,
353,
679,
29918,
27126,
29918,
3166,
29918,
3126,
29898,
18434,
29918,
18821,
3002,
29918,
2084,
29897,
13,
268,
13,
1678,
396,
6760,
1078,
4390,
934,
411,
278,
885,
2390,
287,
4700,
848,
669,
15839,
6624,
3002,
304,
1207,
23704,
8600,
29901,
13,
1678,
15839,
29918,
27126,
353,
679,
29918,
16211,
936,
29918,
27126,
29898,
18434,
29918,
18821,
3002,
29897,
13,
268,
13,
1678,
4078,
29918,
27126,
29918,
294,
29918,
3126,
29898,
16211,
936,
29918,
27126,
29892,
376,
16211,
936,
29918,
19145,
29879,
29889,
3126,
1159,
13,
13,
1678,
736,
716,
29918,
9507,
13,
13,
13,
13,
13,
4136,
2277,
29937,
17067,
1254,
4214,
319,
1525,
29909,
835,
4136,
13,
13,
29937,
396,
1763,
1243,
679,
29950,
2118,
936,
29853,
29879,
7249,
29898,
18434,
29918,
18821,
3002,
29918,
3126,
29892,
716,
29918,
9507,
1125,
13,
29937,
1596,
29898,
657,
29950,
2118,
936,
29853,
29879,
7249,
703,
18434,
29918,
18821,
3002,
29889,
3126,
613,
376,
16211,
936,
29918,
19145,
29879,
29889,
3126,
5783,
13,
13,
29937,
1763,
1243,
679,
29902,
11602,
1469,
4591,
14256,
29898,
29902,
11602,
29918,
333,
29892,
1746,
1125,
13,
29937,
1596,
29898,
657,
29902,
11602,
1469,
4591,
14256,
703,
698,
29947,
29945,
29955,
29929,
29953,
29955,
29946,
613,
376,
5317,
613,
376,
19274,
15368,
3284,
11851,
272,
3284,
13236,
3284,
4384,
613,
376,
11911,
3142,
5783,
13,
13,
13,
13,
2
] |
tests/unit/dynamodb/test_layer1.py | prufrax/boto | 0 | 1611099 | #!/usr/bin/env python
import json
import mock
import boto
from mock import Mock
try:
import unittest2 as unittest
except ImportError:
import unittest
from boto.dynamodb.layer1 import Layer1
class TestDDBConnectionProviderOverride(unittest.TestCase):
def test_provider_override(self):
alt_provider = Mock(spec=boto.provider.Provider)
alt_provider.host = None
alt_provider.host_header = None
alt_provider.port = None
alt_provider.secret_key = 'alt_secret_key'
layer1 = Layer1(aws_access_key_id='aws_access_key', aws_secret_access_key='aws_secret_key', provider=alt_provider)
self.assertEqual(alt_provider, layer1.provider)
| [
1,
18787,
4855,
29914,
2109,
29914,
6272,
3017,
13,
13,
5215,
4390,
13,
5215,
11187,
13,
5215,
289,
3747,
13,
3166,
11187,
1053,
26297,
13,
2202,
29901,
13,
1678,
1053,
443,
27958,
29906,
408,
443,
27958,
13,
19499,
16032,
2392,
29901,
13,
1678,
1053,
443,
27958,
13,
3166,
289,
3747,
29889,
29881,
2926,
10396,
29889,
13148,
29896,
1053,
365,
2747,
29896,
13,
13,
1990,
4321,
29928,
4051,
5350,
6980,
4640,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
1678,
822,
1243,
29918,
18121,
29918,
15752,
29898,
1311,
1125,
13,
4706,
5272,
29918,
18121,
353,
26297,
29898,
6550,
29922,
29890,
3747,
29889,
18121,
29889,
6980,
29897,
13,
4706,
5272,
29918,
18121,
29889,
3069,
353,
6213,
13,
4706,
5272,
29918,
18121,
29889,
3069,
29918,
6672,
353,
6213,
13,
4706,
5272,
29918,
18121,
29889,
637,
353,
6213,
13,
4706,
5272,
29918,
18121,
29889,
19024,
29918,
1989,
353,
525,
1997,
29918,
19024,
29918,
1989,
29915,
13,
4706,
7546,
29896,
353,
365,
2747,
29896,
29898,
10467,
29918,
5943,
29918,
1989,
29918,
333,
2433,
10467,
29918,
5943,
29918,
1989,
742,
25879,
29918,
19024,
29918,
5943,
29918,
1989,
2433,
10467,
29918,
19024,
29918,
1989,
742,
13113,
29922,
1997,
29918,
18121,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1997,
29918,
18121,
29892,
7546,
29896,
29889,
18121,
29897,
13,
13,
2
] |
afterglow_core/schemas/api/v1/jobs/photometry_job.py | SkynetRTN/afterglow-access-server | 2 | 71583 | <gh_stars>1-10
"""
Afterglow Core: batch photometry job schemas
"""
from typing import List as TList
from marshmallow.fields import Integer, List, Nested
from ..job import JobSchema, JobResultSchema
from ..photometry import PhotSettingsSchema, PhotometryDataSchema
from ..source_extraction import SourceExtractionDataSchema
__all__ = ['PhotometryJobResultSchema', 'PhotometryJobSchema']
class PhotometryJobResultSchema(JobResultSchema):
data: TList[PhotometryDataSchema] = List(
Nested(PhotometryDataSchema), default=[])
class PhotometryJobSchema(JobSchema):
type = 'photometry'
result: PhotometryJobResultSchema = Nested(
PhotometryJobResultSchema, default={})
file_ids: TList[int] = List(Integer(), default=[])
sources: TList[SourceExtractionDataSchema] = List(
Nested(SourceExtractionDataSchema), default=[])
settings: PhotSettingsSchema = Nested(PhotSettingsSchema, default={})
| [
1,
529,
12443,
29918,
303,
1503,
29958,
29896,
29899,
29896,
29900,
13,
15945,
29908,
13,
13555,
29887,
677,
10239,
29901,
9853,
6731,
7843,
4982,
1364,
8609,
13,
15945,
29908,
13,
13,
3166,
19229,
1053,
2391,
408,
323,
1293,
13,
13,
3166,
1766,
845,
29885,
9536,
29889,
9621,
1053,
8102,
29892,
2391,
29892,
405,
2868,
13,
13,
3166,
6317,
9057,
1053,
17163,
12763,
29892,
17163,
3591,
12763,
13,
3166,
6317,
561,
327,
7843,
1053,
19040,
9585,
12763,
29892,
19040,
7843,
1469,
12763,
13,
3166,
6317,
4993,
29918,
1062,
13857,
1053,
7562,
5647,
13857,
1469,
12763,
13,
13,
13,
1649,
497,
1649,
353,
6024,
4819,
327,
7843,
11947,
3591,
12763,
742,
525,
4819,
327,
7843,
11947,
12763,
2033,
13,
13,
13,
1990,
19040,
7843,
11947,
3591,
12763,
29898,
11947,
3591,
12763,
1125,
13,
1678,
848,
29901,
323,
1293,
29961,
4819,
327,
7843,
1469,
12763,
29962,
353,
2391,
29898,
13,
4706,
405,
2868,
29898,
4819,
327,
7843,
1469,
12763,
511,
2322,
11759,
2314,
13,
13,
13,
1990,
19040,
7843,
11947,
12763,
29898,
11947,
12763,
1125,
13,
1678,
1134,
353,
525,
561,
327,
7843,
29915,
13,
13,
1678,
1121,
29901,
19040,
7843,
11947,
3591,
12763,
353,
405,
2868,
29898,
13,
4706,
19040,
7843,
11947,
3591,
12763,
29892,
2322,
3790,
1800,
13,
1678,
934,
29918,
4841,
29901,
323,
1293,
29961,
524,
29962,
353,
2391,
29898,
7798,
3285,
2322,
11759,
2314,
13,
1678,
8974,
29901,
323,
1293,
29961,
4435,
5647,
13857,
1469,
12763,
29962,
353,
2391,
29898,
13,
4706,
405,
2868,
29898,
4435,
5647,
13857,
1469,
12763,
511,
2322,
11759,
2314,
13,
1678,
6055,
29901,
19040,
9585,
12763,
353,
405,
2868,
29898,
4819,
327,
9585,
12763,
29892,
2322,
3790,
1800,
13,
2
] |
cle/backends/externs/__init__.py | orion--/cle | 0 | 1616901 | import logging
from cle.backends import Backend, Symbol, Segment, SymbolType
from cle.backends.relocation import Relocation
from cle.utils import ALIGN_UP
from cle.errors import CLEOperationError, CLEError
from cle.address_translator import AT
l = logging.getLogger(name=__name__)
class ExternSegment(Segment):
def __init__(self, map_size):
super().__init__(None, 0, None, map_size)
def addr_to_offset(self, addr):
raise CLEOperationError("'offset' operations on the extern object are meaningless as it is not mapped from a file")
def offset_to_addr(self, offset):
raise CLEOperationError("'offset' operations on the extern object are meaningless as it is not mapped from a file")
def contains_offset(self, offset):
return False
is_readable = True
is_writable = True
is_executable = True
class TOCRelocation(Relocation):
@property
def value(self):
return self.resolvedby.rebased_addr
class ExternObject(Backend):
def __init__(self, loader, map_size=0, tls_size=0):
super().__init__('cle##externs', None, loader=loader)
self._next_object = None
self._delayed_writes = []
self.next_addr = 0
self.map_size = map_size
self.set_arch(loader.main_object.arch)
self.provides = 'extern-address space'
self.pic = True
self._import_symbols = {}
self._warned_data_import = False
self.tls_data_size = tls_size
self.tls_next_addr = 0
self._tls_mapped = False
def _finalize_tls(self):
if self._is_mapped or self._tls_mapped:
raise Exception("programming error")
if self.tls_data_size != 0:
self.tls_used = True
self.tls_data_start = self._allocate(self.tls_data_size, alignment=0x10)
self.tls_block_size = self.tls_data_size
self._tls_mapped = True
def rebase(self, new_base):
if self._is_mapped:
return
if not self._tls_mapped:
self._finalize_tls()
backer = bytearray(self.map_size)
for simdata in self._delayed_writes:
value = simdata.value()
start_addr = simdata.relative_addr
if simdata.type == SymbolType.TYPE_TLS_OBJECT:
start_addr += self.tls_data_size
backer[start_addr:start_addr+len(value)] = value
self.memory.add_backer(0, bytes(backer))
self.segments.append(ExternSegment(self.map_size))
super().rebase(new_base)
def make_extern(self, name, size=0, alignment=None, thumb=False, sym_type=SymbolType.TYPE_FUNCTION, point_to=None, libname=None) -> Symbol:
try:
return self._symbol_cache[name]
except KeyError:
pass
tls = sym_type == SymbolType.TYPE_TLS_OBJECT
SymbolCls = Symbol
if point_to is not None:
simdata = PointToPrecise
else:
simdata = lookup(name, libname)
if simdata is not None:
SymbolCls = simdata
size = simdata.static_size(self)
if sym_type != simdata.type:
l.warning("Symbol type mismatch between export request and response for %s. What's going on?", name)
real_size = max(size, 1)
if alignment is None:
alignment = self.arch.bytes
make_toc = getattr(self.loader.main_object, 'is_ppc64_abiv1', False) and sym_type == SymbolType.TYPE_FUNCTION
toc_symbol = None
if make_toc:
# we make two symbols, one for the func and one for the toc
# the one for the func ends up named with the #func suffix, the toc gets the normal name
# we return the one for the toc
toc_symbol = self.make_extern(name, size=0x18, alignment=8, sym_type=SymbolType.TYPE_OBJECT)
name += '#func'
if size == 0 and sym_type in (SymbolType.TYPE_NONE, SymbolType.TYPE_OBJECT, SymbolType.TYPE_TLS_OBJECT):
l.warning("Symbol was allocated without a known size; emulation may fail if it is used non-opaquely: %s", name)
self._warned_data_import = True
real_size = 8
local_addr = self._allocate(real_size, alignment=alignment, thumb=thumb, tls=tls)
if local_addr is None:
if self._next_object is None:
# we're at the end of the line. make a new extern object
# this should only be hit if we're doing this outside a loading pass
self._make_new_externs(real_size, alignment, tls)
return self._next_object.make_extern(name, size=size, alignment=alignment, sym_type=sym_type, libname=libname)
l.info("Created extern symbol for %s", name)
new_symbol = SymbolCls(self, name, local_addr, size, sym_type)
new_symbol.is_export = True
new_symbol.is_extern = True
if point_to is not None:
new_symbol.pointto_name = point_to.name
new_symbol.pointto_type = point_to.type
new_symbol.pointto_precise = point_to
self._symbol_cache[name] = new_symbol
self.symbols.add(new_symbol)
self._init_symbol(new_symbol)
if make_toc:
# write the pointer to the func into the toc
# i.e. make a relocation for it
# then if we're already mapped, apply the relocation manually
reloc = TOCRelocation(self, toc_symbol, toc_symbol.relative_addr)
reloc.resolve(new_symbol)
self.relocs.append(reloc)
if self._is_mapped:
reloc.relocate()
return toc_symbol
return new_symbol
def get_pseudo_addr(self, name) -> int:
if not self._is_mapped:
raise CLEError("Can't allocate with extern object before it is mapped")
return self.make_extern(name).rebased_addr
def allocate(self, size=1, alignment=8, thumb=False, tls=False) -> int:
if not self._is_mapped:
raise CLEError("Can't allocate with extern object before it is mapped")
result = self._allocate(size=size, alignment=alignment, thumb=thumb, tls=tls)
if result is None:
if self._next_object is None:
# we're at the end of the line. make a new extern object
# this should only be hit if we're doing this outside a loading pass
self._make_new_externs(size, alignment, tls)
result = self._next_object.allocate(size=size, alignment=alignment, thumb=thumb, tls=tls)
return result + (0 if tls else self.mapped_base)
def _make_new_externs(self, size, alignment, tls):
self._next_object = ExternObject(self.loader, map_size=max(size + alignment, 0x8000) if not tls else 0x8000, tls_size=max(size + alignment, 0x1000) if tls else 0x1000)
self._next_object._finalize_tls()
self.loader._internal_load(self._next_object)
def _allocate(self, size=1, alignment=8, thumb=False, tls=False):
if tls:
start = self.tls_next_addr
limit = self.tls_data_size
else:
start = self.next_addr
limit = self.map_size
addr = ALIGN_UP(start, alignment) | thumb
next_start = addr + size
if next_start >= limit:
if self._is_mapped:
return None
else:
if tls:
self.tls_data_size += next_start - limit
else:
self.map_size += next_start - limit
if tls:
self.tls_next_addr = next_start
return addr
else:
self.next_addr = next_start
return addr
@property
def max_addr(self):
return AT.from_rva(self.map_size, self).to_mva()
def make_import(self, name, sym_type):
if name not in self.imports:
sym = Symbol(self, name, 0, 0, sym_type)
sym.is_import = True
sym.is_extern = True
# this is kind of tricky... normally if you have an import and an export of the same name in the binary
# the two symbols are *the same symbol*, usually with a copy relocation. but we don't know ahead of time
# whether we will have the symbol here in externs, so we will not expose the import symbol to the rest of
# the world.
self._import_symbols[name] = sym
return sym
else:
sym = self._import_symbols[name]
if sym.type != sym_type:
raise CLEOperationError("Created the same extern import %s with two different types. Something isn't right!")
return sym
def _init_symbol(self, symbol):
if isinstance(symbol, SimData):
relocs = symbol.relocations()
self.relocs.extend(relocs)
if self._is_mapped:
# TODO: is this right for tls?
if symbol.type == SymbolType.TYPE_TLS_OBJECT:
self.memory.store(self.tls_block_size, symbol.value())
else:
self.memory.store(symbol.relative_addr, symbol.value())
for reloc in relocs:
reloc.relocate()
else:
self._delayed_writes.append(symbol)
class KernelObject(Backend):
def __init__(self, loader, map_size=0x8000):
super().__init__('cle##kernel', None, loader=loader)
self.map_size = map_size
self.set_arch(loader.main_object.arch)
self.memory.add_backer(0, bytes(map_size))
self.provides = 'kernel space'
self.pic = True
def add_name(self, name, addr):
self._symbol_cache[name] = Symbol(self, name, AT.from_mva(addr, self).to_rva(), 1, SymbolType.TYPE_FUNCTION)
@property
def max_addr(self):
return AT.from_rva(self.map_size, self).to_mva()
from .simdata import lookup, SimData
from .simdata.common import PointTo, SimDataSimpleRelocation
class PointToPrecise(PointTo):
pointto_precise = None
def relocations(self):
return [SimDataSimpleRelocation(
self.owner,
self.pointto_precise,
self.relative_addr,
self.addend,
preresolved=True,
)]
| [
1,
1053,
12183,
13,
13,
3166,
4531,
29889,
1627,
1975,
1053,
7437,
355,
29892,
23858,
29892,
6667,
358,
29892,
23858,
1542,
13,
3166,
4531,
29889,
1627,
1975,
29889,
276,
5479,
1053,
6376,
10610,
13,
3166,
4531,
29889,
13239,
1053,
319,
5265,
20728,
29918,
4897,
13,
3166,
4531,
29889,
12523,
1053,
315,
1307,
10925,
2392,
29892,
315,
1307,
2392,
13,
3166,
4531,
29889,
7328,
29918,
3286,
29880,
1061,
1053,
15531,
13,
13,
29880,
353,
12183,
29889,
657,
16363,
29898,
978,
29922,
1649,
978,
1649,
29897,
13,
13,
1990,
8930,
17669,
358,
29898,
17669,
358,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
2910,
29918,
2311,
1125,
13,
4706,
2428,
2141,
1649,
2344,
12035,
8516,
29892,
29871,
29900,
29892,
6213,
29892,
2910,
29918,
2311,
29897,
13,
13,
1678,
822,
28915,
29918,
517,
29918,
10289,
29898,
1311,
29892,
28915,
1125,
13,
4706,
12020,
315,
1307,
10925,
2392,
703,
29915,
10289,
29915,
6931,
373,
278,
3622,
1203,
526,
6593,
2222,
408,
372,
338,
451,
20545,
515,
263,
934,
1159,
13,
13,
1678,
822,
9210,
29918,
517,
29918,
10030,
29898,
1311,
29892,
9210,
1125,
13,
4706,
12020,
315,
1307,
10925,
2392,
703,
29915,
10289,
29915,
6931,
373,
278,
3622,
1203,
526,
6593,
2222,
408,
372,
338,
451,
20545,
515,
263,
934,
1159,
13,
13,
1678,
822,
3743,
29918,
10289,
29898,
1311,
29892,
9210,
1125,
13,
4706,
736,
7700,
13,
13,
1678,
338,
29918,
949,
519,
353,
5852,
13,
1678,
338,
29918,
8231,
519,
353,
5852,
13,
1678,
338,
29918,
4258,
9246,
353,
5852,
13,
13,
13,
1990,
7495,
29907,
9662,
10610,
29898,
9662,
10610,
1125,
13,
1678,
732,
6799,
13,
1678,
822,
995,
29898,
1311,
1125,
13,
4706,
736,
1583,
29889,
9778,
1490,
1609,
29889,
276,
6707,
29918,
10030,
13,
13,
13,
1990,
8930,
2061,
29898,
5841,
355,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
23466,
29892,
2910,
29918,
2311,
29922,
29900,
29892,
260,
3137,
29918,
2311,
29922,
29900,
1125,
13,
4706,
2428,
2141,
1649,
2344,
1649,
877,
2841,
2277,
735,
725,
29879,
742,
6213,
29892,
23466,
29922,
12657,
29897,
13,
4706,
1583,
3032,
4622,
29918,
3318,
353,
6213,
13,
4706,
1583,
3032,
18829,
287,
29918,
8231,
267,
353,
5159,
13,
13,
4706,
1583,
29889,
4622,
29918,
10030,
353,
29871,
29900,
13,
4706,
1583,
29889,
1958,
29918,
2311,
353,
2910,
29918,
2311,
13,
4706,
1583,
29889,
842,
29918,
1279,
29898,
12657,
29889,
3396,
29918,
3318,
29889,
1279,
29897,
13,
4706,
1583,
29889,
16123,
2247,
353,
525,
735,
725,
29899,
7328,
2913,
29915,
13,
4706,
1583,
29889,
16447,
353,
5852,
13,
4706,
1583,
3032,
5215,
29918,
18098,
29879,
353,
6571,
13,
4706,
1583,
3032,
25442,
287,
29918,
1272,
29918,
5215,
353,
7700,
13,
13,
4706,
1583,
29889,
29873,
3137,
29918,
1272,
29918,
2311,
353,
260,
3137,
29918,
2311,
13,
4706,
1583,
29889,
29873,
3137,
29918,
4622,
29918,
10030,
353,
29871,
29900,
13,
4706,
1583,
3032,
29873,
3137,
29918,
655,
2986,
353,
7700,
13,
13,
1678,
822,
903,
8394,
675,
29918,
29873,
3137,
29898,
1311,
1125,
13,
4706,
565,
1583,
3032,
275,
29918,
655,
2986,
470,
1583,
3032,
29873,
3137,
29918,
655,
2986,
29901,
13,
9651,
12020,
8960,
703,
28426,
1059,
1159,
13,
13,
4706,
565,
1583,
29889,
29873,
3137,
29918,
1272,
29918,
2311,
2804,
29871,
29900,
29901,
13,
9651,
1583,
29889,
29873,
3137,
29918,
3880,
353,
5852,
13,
9651,
1583,
29889,
29873,
3137,
29918,
1272,
29918,
2962,
353,
1583,
3032,
15956,
403,
29898,
1311,
29889,
29873,
3137,
29918,
1272,
29918,
2311,
29892,
22239,
29922,
29900,
29916,
29896,
29900,
29897,
13,
9651,
1583,
29889,
29873,
3137,
29918,
1271,
29918,
2311,
353,
1583,
29889,
29873,
3137,
29918,
1272,
29918,
2311,
13,
9651,
1583,
3032,
29873,
3137,
29918,
655,
2986,
353,
5852,
13,
13,
1678,
822,
337,
3188,
29898,
1311,
29892,
716,
29918,
3188,
1125,
13,
4706,
565,
1583,
3032,
275,
29918,
655,
2986,
29901,
13,
9651,
736,
13,
13,
4706,
565,
451,
1583,
3032,
29873,
3137,
29918,
655,
2986,
29901,
13,
9651,
1583,
3032,
8394,
675,
29918,
29873,
3137,
580,
13,
13,
4706,
1250,
261,
353,
7023,
2378,
29898,
1311,
29889,
1958,
29918,
2311,
29897,
13,
4706,
363,
1027,
1272,
297,
1583,
3032,
18829,
287,
29918,
8231,
267,
29901,
13,
9651,
995,
353,
1027,
1272,
29889,
1767,
580,
13,
9651,
1369,
29918,
10030,
353,
1027,
1272,
29889,
22925,
29918,
10030,
13,
9651,
565,
1027,
1272,
29889,
1853,
1275,
23858,
1542,
29889,
11116,
29918,
29911,
8547,
29918,
14824,
17637,
29901,
13,
18884,
1369,
29918,
10030,
4619,
1583,
29889,
29873,
3137,
29918,
1272,
29918,
2311,
13,
9651,
1250,
261,
29961,
2962,
29918,
10030,
29901,
2962,
29918,
10030,
29974,
2435,
29898,
1767,
4638,
353,
995,
13,
13,
4706,
1583,
29889,
14834,
29889,
1202,
29918,
1627,
261,
29898,
29900,
29892,
6262,
29898,
1627,
261,
876,
13,
4706,
1583,
29889,
10199,
1860,
29889,
4397,
29898,
1252,
725,
17669,
358,
29898,
1311,
29889,
1958,
29918,
2311,
876,
13,
4706,
2428,
2141,
276,
3188,
29898,
1482,
29918,
3188,
29897,
13,
13,
1678,
822,
1207,
29918,
735,
725,
29898,
1311,
29892,
1024,
29892,
2159,
29922,
29900,
29892,
22239,
29922,
8516,
29892,
28968,
29922,
8824,
29892,
5016,
29918,
1853,
29922,
14730,
1542,
29889,
11116,
29918,
29943,
28700,
29892,
1298,
29918,
517,
29922,
8516,
29892,
4303,
978,
29922,
8516,
29897,
1599,
23858,
29901,
13,
4706,
1018,
29901,
13,
9651,
736,
1583,
3032,
18098,
29918,
8173,
29961,
978,
29962,
13,
4706,
5174,
7670,
2392,
29901,
13,
9651,
1209,
13,
13,
4706,
260,
3137,
353,
5016,
29918,
1853,
1275,
23858,
1542,
29889,
11116,
29918,
29911,
8547,
29918,
14824,
17637,
13,
4706,
23858,
29907,
3137,
353,
23858,
13,
4706,
565,
1298,
29918,
517,
338,
451,
6213,
29901,
13,
9651,
1027,
1272,
353,
8984,
1762,
29925,
3757,
895,
13,
4706,
1683,
29901,
13,
9651,
1027,
1272,
353,
16280,
29898,
978,
29892,
4303,
978,
29897,
13,
4706,
565,
1027,
1272,
338,
451,
6213,
29901,
13,
9651,
23858,
29907,
3137,
353,
1027,
1272,
13,
9651,
2159,
353,
1027,
1272,
29889,
7959,
29918,
2311,
29898,
1311,
29897,
13,
9651,
565,
5016,
29918,
1853,
2804,
1027,
1272,
29889,
1853,
29901,
13,
18884,
301,
29889,
27392,
703,
14730,
1134,
29635,
1546,
5609,
2009,
322,
2933,
363,
1273,
29879,
29889,
1724,
29915,
29879,
2675,
373,
29973,
613,
1024,
29897,
13,
13,
4706,
1855,
29918,
2311,
353,
4236,
29898,
2311,
29892,
29871,
29896,
29897,
13,
13,
4706,
565,
22239,
338,
6213,
29901,
13,
9651,
22239,
353,
1583,
29889,
1279,
29889,
13193,
13,
13,
4706,
1207,
29918,
517,
29883,
353,
679,
5552,
29898,
1311,
29889,
12657,
29889,
3396,
29918,
3318,
29892,
525,
275,
29918,
407,
29883,
29953,
29946,
29918,
370,
440,
29896,
742,
7700,
29897,
322,
5016,
29918,
1853,
1275,
23858,
1542,
29889,
11116,
29918,
29943,
28700,
13,
4706,
304,
29883,
29918,
18098,
353,
6213,
13,
4706,
565,
1207,
29918,
517,
29883,
29901,
13,
9651,
396,
591,
1207,
1023,
15072,
29892,
697,
363,
278,
3653,
322,
697,
363,
278,
304,
29883,
13,
9651,
396,
278,
697,
363,
278,
3653,
10614,
701,
4257,
411,
278,
396,
9891,
25557,
29892,
278,
304,
29883,
4947,
278,
4226,
1024,
13,
9651,
396,
591,
736,
278,
697,
363,
278,
304,
29883,
13,
9651,
304,
29883,
29918,
18098,
353,
1583,
29889,
5675,
29918,
735,
725,
29898,
978,
29892,
2159,
29922,
29900,
29916,
29896,
29947,
29892,
22239,
29922,
29947,
29892,
5016,
29918,
1853,
29922,
14730,
1542,
29889,
11116,
29918,
14824,
17637,
29897,
13,
9651,
1024,
4619,
16321,
9891,
29915,
13,
13,
4706,
565,
2159,
1275,
29871,
29900,
322,
5016,
29918,
1853,
297,
313,
14730,
1542,
29889,
11116,
29918,
29940,
12413,
29892,
23858,
1542,
29889,
11116,
29918,
14824,
17637,
29892,
23858,
1542,
29889,
11116,
29918,
29911,
8547,
29918,
14824,
17637,
1125,
13,
9651,
301,
29889,
27392,
703,
14730,
471,
19591,
1728,
263,
2998,
2159,
29936,
953,
2785,
1122,
4418,
565,
372,
338,
1304,
1661,
29899,
459,
18463,
873,
29901,
1273,
29879,
613,
1024,
29897,
13,
9651,
1583,
3032,
25442,
287,
29918,
1272,
29918,
5215,
353,
5852,
13,
9651,
1855,
29918,
2311,
353,
29871,
29947,
13,
13,
4706,
1887,
29918,
10030,
353,
1583,
3032,
15956,
403,
29898,
6370,
29918,
2311,
29892,
22239,
29922,
2520,
358,
29892,
28968,
29922,
386,
3774,
29892,
260,
3137,
29922,
29873,
3137,
29897,
13,
4706,
565,
1887,
29918,
10030,
338,
6213,
29901,
13,
9651,
565,
1583,
3032,
4622,
29918,
3318,
338,
6213,
29901,
13,
18884,
396,
591,
29915,
276,
472,
278,
1095,
310,
278,
1196,
29889,
1207,
263,
716,
3622,
1203,
13,
18884,
396,
445,
881,
871,
367,
7124,
565,
591,
29915,
276,
2599,
445,
5377,
263,
8363,
1209,
13,
18884,
1583,
3032,
5675,
29918,
1482,
29918,
735,
725,
29879,
29898,
6370,
29918,
2311,
29892,
22239,
29892,
260,
3137,
29897,
13,
9651,
736,
1583,
3032,
4622,
29918,
3318,
29889,
5675,
29918,
735,
725,
29898,
978,
29892,
2159,
29922,
2311,
29892,
22239,
29922,
2520,
358,
29892,
5016,
29918,
1853,
29922,
11967,
29918,
1853,
29892,
4303,
978,
29922,
1982,
978,
29897,
13,
13,
4706,
301,
29889,
3888,
703,
20399,
3622,
5829,
363,
1273,
29879,
613,
1024,
29897,
13,
13,
4706,
716,
29918,
18098,
353,
23858,
29907,
3137,
29898,
1311,
29892,
1024,
29892,
1887,
29918,
10030,
29892,
2159,
29892,
5016,
29918,
1853,
29897,
13,
4706,
716,
29918,
18098,
29889,
275,
29918,
15843,
353,
5852,
13,
4706,
716,
29918,
18098,
29889,
275,
29918,
735,
725,
353,
5852,
13,
13,
4706,
565,
1298,
29918,
517,
338,
451,
6213,
29901,
13,
9651,
716,
29918,
18098,
29889,
3149,
517,
29918,
978,
353,
1298,
29918,
517,
29889,
978,
13,
9651,
716,
29918,
18098,
29889,
3149,
517,
29918,
1853,
353,
1298,
29918,
517,
29889,
1853,
13,
9651,
716,
29918,
18098,
29889,
3149,
517,
29918,
17990,
895,
353,
1298,
29918,
517,
13,
13,
4706,
1583,
3032,
18098,
29918,
8173,
29961,
978,
29962,
353,
716,
29918,
18098,
13,
4706,
1583,
29889,
18098,
29879,
29889,
1202,
29898,
1482,
29918,
18098,
29897,
13,
4706,
1583,
3032,
2344,
29918,
18098,
29898,
1482,
29918,
18098,
29897,
13,
13,
4706,
565,
1207,
29918,
517,
29883,
29901,
13,
9651,
396,
2436,
278,
4879,
304,
278,
3653,
964,
278,
304,
29883,
13,
9651,
396,
474,
29889,
29872,
29889,
1207,
263,
337,
5479,
363,
372,
13,
9651,
396,
769,
565,
591,
29915,
276,
2307,
20545,
29892,
3394,
278,
337,
5479,
7522,
13,
9651,
337,
2029,
353,
7495,
29907,
9662,
10610,
29898,
1311,
29892,
304,
29883,
29918,
18098,
29892,
304,
29883,
29918,
18098,
29889,
22925,
29918,
10030,
29897,
13,
9651,
337,
2029,
29889,
17863,
29898,
1482,
29918,
18098,
29897,
13,
9651,
1583,
29889,
276,
2029,
29879,
29889,
4397,
29898,
276,
2029,
29897,
13,
9651,
565,
1583,
3032,
275,
29918,
655,
2986,
29901,
13,
18884,
337,
2029,
29889,
276,
2029,
403,
580,
13,
13,
9651,
736,
304,
29883,
29918,
18098,
13,
4706,
736,
716,
29918,
18098,
13,
13,
1678,
822,
679,
29918,
27358,
5333,
29918,
10030,
29898,
1311,
29892,
1024,
29897,
1599,
938,
29901,
13,
4706,
565,
451,
1583,
3032,
275,
29918,
655,
2986,
29901,
13,
9651,
12020,
315,
1307,
2392,
703,
6028,
29915,
29873,
23632,
411,
3622,
1203,
1434,
372,
338,
20545,
1159,
13,
13,
4706,
736,
1583,
29889,
5675,
29918,
735,
725,
29898,
978,
467,
276,
6707,
29918,
10030,
13,
13,
1678,
822,
23632,
29898,
1311,
29892,
2159,
29922,
29896,
29892,
22239,
29922,
29947,
29892,
28968,
29922,
8824,
29892,
260,
3137,
29922,
8824,
29897,
1599,
938,
29901,
13,
4706,
565,
451,
1583,
3032,
275,
29918,
655,
2986,
29901,
13,
9651,
12020,
315,
1307,
2392,
703,
6028,
29915,
29873,
23632,
411,
3622,
1203,
1434,
372,
338,
20545,
1159,
13,
13,
4706,
1121,
353,
1583,
3032,
15956,
403,
29898,
2311,
29922,
2311,
29892,
22239,
29922,
2520,
358,
29892,
28968,
29922,
386,
3774,
29892,
260,
3137,
29922,
29873,
3137,
29897,
13,
4706,
565,
1121,
338,
6213,
29901,
13,
9651,
565,
1583,
3032,
4622,
29918,
3318,
338,
6213,
29901,
13,
18884,
396,
591,
29915,
276,
472,
278,
1095,
310,
278,
1196,
29889,
1207,
263,
716,
3622,
1203,
13,
18884,
396,
445,
881,
871,
367,
7124,
565,
591,
29915,
276,
2599,
445,
5377,
263,
8363,
1209,
13,
18884,
1583,
3032,
5675,
29918,
1482,
29918,
735,
725,
29879,
29898,
2311,
29892,
22239,
29892,
260,
3137,
29897,
13,
9651,
1121,
353,
1583,
3032,
4622,
29918,
3318,
29889,
15956,
403,
29898,
2311,
29922,
2311,
29892,
22239,
29922,
2520,
358,
29892,
28968,
29922,
386,
3774,
29892,
260,
3137,
29922,
29873,
3137,
29897,
13,
4706,
736,
1121,
718,
313,
29900,
565,
260,
3137,
1683,
1583,
29889,
655,
2986,
29918,
3188,
29897,
13,
13,
1678,
822,
903,
5675,
29918,
1482,
29918,
735,
725,
29879,
29898,
1311,
29892,
2159,
29892,
22239,
29892,
260,
3137,
1125,
13,
4706,
1583,
3032,
4622,
29918,
3318,
353,
8930,
2061,
29898,
1311,
29889,
12657,
29892,
2910,
29918,
2311,
29922,
3317,
29898,
2311,
718,
22239,
29892,
29871,
29900,
29916,
29947,
29900,
29900,
29900,
29897,
565,
451,
260,
3137,
1683,
29871,
29900,
29916,
29947,
29900,
29900,
29900,
29892,
260,
3137,
29918,
2311,
29922,
3317,
29898,
2311,
718,
22239,
29892,
29871,
29900,
29916,
29896,
29900,
29900,
29900,
29897,
565,
260,
3137,
1683,
29871,
29900,
29916,
29896,
29900,
29900,
29900,
29897,
13,
4706,
1583,
3032,
4622,
29918,
3318,
3032,
8394,
675,
29918,
29873,
3137,
580,
13,
4706,
1583,
29889,
12657,
3032,
7564,
29918,
1359,
29898,
1311,
3032,
4622,
29918,
3318,
29897,
13,
13,
1678,
822,
903,
15956,
403,
29898,
1311,
29892,
2159,
29922,
29896,
29892,
22239,
29922,
29947,
29892,
28968,
29922,
8824,
29892,
260,
3137,
29922,
8824,
1125,
13,
4706,
565,
260,
3137,
29901,
13,
9651,
1369,
353,
1583,
29889,
29873,
3137,
29918,
4622,
29918,
10030,
13,
9651,
4046,
353,
1583,
29889,
29873,
3137,
29918,
1272,
29918,
2311,
13,
4706,
1683,
29901,
13,
9651,
1369,
353,
1583,
29889,
4622,
29918,
10030,
13,
9651,
4046,
353,
1583,
29889,
1958,
29918,
2311,
13,
13,
4706,
28915,
353,
319,
5265,
20728,
29918,
4897,
29898,
2962,
29892,
22239,
29897,
891,
28968,
13,
4706,
2446,
29918,
2962,
353,
28915,
718,
2159,
13,
4706,
565,
2446,
29918,
2962,
6736,
4046,
29901,
13,
9651,
565,
1583,
3032,
275,
29918,
655,
2986,
29901,
13,
18884,
736,
6213,
13,
9651,
1683,
29901,
13,
18884,
565,
260,
3137,
29901,
13,
462,
1678,
1583,
29889,
29873,
3137,
29918,
1272,
29918,
2311,
4619,
2446,
29918,
2962,
448,
4046,
13,
18884,
1683,
29901,
13,
462,
1678,
1583,
29889,
1958,
29918,
2311,
4619,
2446,
29918,
2962,
448,
4046,
13,
13,
4706,
565,
260,
3137,
29901,
13,
9651,
1583,
29889,
29873,
3137,
29918,
4622,
29918,
10030,
353,
2446,
29918,
2962,
13,
9651,
736,
28915,
13,
4706,
1683,
29901,
13,
9651,
1583,
29889,
4622,
29918,
10030,
353,
2446,
29918,
2962,
13,
9651,
736,
28915,
13,
13,
1678,
732,
6799,
13,
1678,
822,
4236,
29918,
10030,
29898,
1311,
1125,
13,
4706,
736,
15531,
29889,
3166,
29918,
29878,
1564,
29898,
1311,
29889,
1958,
29918,
2311,
29892,
1583,
467,
517,
29918,
29885,
1564,
580,
13,
13,
1678,
822,
1207,
29918,
5215,
29898,
1311,
29892,
1024,
29892,
5016,
29918,
1853,
1125,
13,
4706,
565,
1024,
451,
297,
1583,
29889,
326,
4011,
29901,
13,
9651,
5016,
353,
23858,
29898,
1311,
29892,
1024,
29892,
29871,
29900,
29892,
29871,
29900,
29892,
5016,
29918,
1853,
29897,
13,
9651,
5016,
29889,
275,
29918,
5215,
353,
5852,
13,
9651,
5016,
29889,
275,
29918,
735,
725,
353,
5852,
13,
9651,
396,
445,
338,
2924,
310,
28722,
856,
12891,
565,
366,
505,
385,
1053,
322,
385,
5609,
310,
278,
1021,
1024,
297,
278,
7581,
13,
9651,
396,
278,
1023,
15072,
526,
334,
1552,
1021,
5829,
15966,
5491,
411,
263,
3509,
337,
5479,
29889,
541,
591,
1016,
29915,
29873,
1073,
14432,
310,
931,
13,
9651,
396,
3692,
591,
674,
505,
278,
5829,
1244,
297,
26478,
29892,
577,
591,
674,
451,
24396,
278,
1053,
5829,
304,
278,
1791,
310,
13,
9651,
396,
278,
3186,
29889,
13,
9651,
1583,
3032,
5215,
29918,
18098,
29879,
29961,
978,
29962,
353,
5016,
13,
9651,
736,
5016,
13,
4706,
1683,
29901,
13,
9651,
5016,
353,
1583,
3032,
5215,
29918,
18098,
29879,
29961,
978,
29962,
13,
9651,
565,
5016,
29889,
1853,
2804,
5016,
29918,
1853,
29901,
13,
18884,
12020,
315,
1307,
10925,
2392,
703,
20399,
278,
1021,
3622,
1053,
1273,
29879,
411,
1023,
1422,
4072,
29889,
12538,
3508,
29915,
29873,
1492,
29991,
1159,
13,
9651,
736,
5016,
13,
13,
1678,
822,
903,
2344,
29918,
18098,
29898,
1311,
29892,
5829,
1125,
13,
4706,
565,
338,
8758,
29898,
18098,
29892,
3439,
1469,
1125,
13,
9651,
337,
2029,
29879,
353,
5829,
29889,
276,
2029,
800,
580,
13,
9651,
1583,
29889,
276,
2029,
29879,
29889,
21843,
29898,
276,
2029,
29879,
29897,
13,
13,
9651,
565,
1583,
3032,
275,
29918,
655,
2986,
29901,
13,
18884,
396,
14402,
29901,
338,
445,
1492,
363,
260,
3137,
29973,
13,
18884,
565,
5829,
29889,
1853,
1275,
23858,
1542,
29889,
11116,
29918,
29911,
8547,
29918,
14824,
17637,
29901,
13,
462,
1678,
1583,
29889,
14834,
29889,
8899,
29898,
1311,
29889,
29873,
3137,
29918,
1271,
29918,
2311,
29892,
5829,
29889,
1767,
3101,
13,
18884,
1683,
29901,
13,
462,
1678,
1583,
29889,
14834,
29889,
8899,
29898,
18098,
29889,
22925,
29918,
10030,
29892,
5829,
29889,
1767,
3101,
13,
13,
18884,
363,
337,
2029,
297,
337,
2029,
29879,
29901,
13,
462,
1678,
337,
2029,
29889,
276,
2029,
403,
580,
13,
9651,
1683,
29901,
13,
18884,
1583,
3032,
18829,
287,
29918,
8231,
267,
29889,
4397,
29898,
18098,
29897,
13,
13,
13,
1990,
476,
5851,
2061,
29898,
5841,
355,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
23466,
29892,
2910,
29918,
2311,
29922,
29900,
29916,
29947,
29900,
29900,
29900,
1125,
13,
4706,
2428,
2141,
1649,
2344,
1649,
877,
2841,
2277,
17460,
742,
6213,
29892,
23466,
29922,
12657,
29897,
13,
4706,
1583,
29889,
1958,
29918,
2311,
353,
2910,
29918,
2311,
13,
4706,
1583,
29889,
842,
29918,
1279,
29898,
12657,
29889,
3396,
29918,
3318,
29889,
1279,
29897,
13,
4706,
1583,
29889,
14834,
29889,
1202,
29918,
1627,
261,
29898,
29900,
29892,
6262,
29898,
1958,
29918,
2311,
876,
13,
4706,
1583,
29889,
16123,
2247,
353,
525,
17460,
2913,
29915,
13,
4706,
1583,
29889,
16447,
353,
5852,
13,
13,
1678,
822,
788,
29918,
978,
29898,
1311,
29892,
1024,
29892,
28915,
1125,
13,
4706,
1583,
3032,
18098,
29918,
8173,
29961,
978,
29962,
353,
23858,
29898,
1311,
29892,
1024,
29892,
15531,
29889,
3166,
29918,
29885,
1564,
29898,
10030,
29892,
1583,
467,
517,
29918,
29878,
1564,
3285,
29871,
29896,
29892,
23858,
1542,
29889,
11116,
29918,
29943,
28700,
29897,
13,
13,
1678,
732,
6799,
13,
1678,
822,
4236,
29918,
10030,
29898,
1311,
1125,
13,
4706,
736,
15531,
29889,
3166,
29918,
29878,
1564,
29898,
1311,
29889,
1958,
29918,
2311,
29892,
1583,
467,
517,
29918,
29885,
1564,
580,
13,
13,
3166,
869,
3601,
1272,
1053,
16280,
29892,
3439,
1469,
13,
3166,
869,
3601,
1272,
29889,
9435,
1053,
8984,
1762,
29892,
3439,
1469,
15427,
9662,
10610,
13,
13,
1990,
8984,
1762,
29925,
3757,
895,
29898,
5228,
1762,
1125,
13,
1678,
1298,
517,
29918,
17990,
895,
353,
6213,
13,
13,
1678,
822,
337,
2029,
800,
29898,
1311,
1125,
13,
4706,
736,
518,
8942,
1469,
15427,
9662,
10610,
29898,
13,
9651,
1583,
29889,
20348,
29892,
13,
9651,
1583,
29889,
3149,
517,
29918,
17990,
895,
29892,
13,
9651,
1583,
29889,
22925,
29918,
10030,
29892,
13,
9651,
1583,
29889,
1202,
355,
29892,
13,
9651,
544,
11175,
324,
1490,
29922,
5574,
29892,
13,
4706,
1723,
29962,
13,
2
] |
.frameworks/skdaccess/GLDAS_Data.py | MITeaps/codesnippets | 0 | 57365 | # Start and end date
gldas_start_date = '2010-01-01'
gldas_end_date = '2014-01-01'
# Location (Latitude and Longitude)
gldas_geo_point = AutoParam([(38, -117), (38, -118)])
# Create data fetcher
gldasdf = GLDASDF([gldas_geo_point],start_date=gldas_start_date,
end_date=gldas_end_date, resample=False)
| [
1,
396,
7370,
322,
1095,
2635,
13,
29887,
430,
294,
29918,
2962,
29918,
1256,
353,
525,
29906,
29900,
29896,
29900,
29899,
29900,
29896,
29899,
29900,
29896,
29915,
13,
29887,
430,
294,
29918,
355,
29918,
1256,
259,
353,
525,
29906,
29900,
29896,
29946,
29899,
29900,
29896,
29899,
29900,
29896,
29915,
13,
13,
29937,
17015,
313,
13992,
4279,
322,
6242,
4279,
29897,
13,
29887,
430,
294,
29918,
24756,
29918,
3149,
353,
11133,
4736,
4197,
29898,
29941,
29947,
29892,
448,
29896,
29896,
29955,
511,
313,
29941,
29947,
29892,
448,
29896,
29896,
29947,
29897,
2314,
13,
13,
29937,
6204,
848,
6699,
261,
13,
29887,
430,
294,
2176,
353,
402,
10249,
3289,
4037,
4197,
29887,
430,
294,
29918,
24756,
29918,
3149,
1402,
2962,
29918,
1256,
29922,
29887,
430,
294,
29918,
2962,
29918,
1256,
29892,
13,
462,
29871,
1095,
29918,
1256,
29922,
29887,
430,
294,
29918,
355,
29918,
1256,
29892,
620,
981,
29922,
8824,
29897,
13,
2
] |
polltask/tasks/task_execute_system_opt.py | xuweiliang/Codelibrary | 0 | 62772 | #-*- coding: utf-8 -*-
from polltask.task import Task
class TaskExecuteSystemOpt(Task):
def __init__(self, status_queue):
super(TaskExecuteSystemOpt, self).__init__(status_queue,
'TaskExecuteSystemOpt',
'subwsgi',
task_desc="Execute system command")
def register(self, mapper, loader):
mapper.connect('system_opt', '/system_opt/{action}', controller=loader.load_app('system_opt'))
| [
1,
396,
29899,
29930,
29899,
14137,
29901,
23616,
29899,
29947,
448,
29930,
29899,
29871,
13,
13,
3166,
1248,
1896,
1278,
29889,
7662,
1053,
9330,
13,
13,
13,
1990,
9330,
12296,
3924,
20624,
29898,
5398,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
4660,
29918,
9990,
1125,
13,
4706,
2428,
29898,
5398,
12296,
3924,
20624,
29892,
1583,
467,
1649,
2344,
12035,
4882,
29918,
9990,
29892,
13,
462,
462,
462,
259,
525,
5398,
12296,
3924,
20624,
742,
13,
462,
462,
462,
259,
525,
1491,
5652,
3146,
742,
13,
462,
462,
462,
259,
3414,
29918,
14273,
543,
12296,
1788,
1899,
1159,
13,
13,
13,
1678,
822,
6036,
29898,
1311,
29892,
611,
2496,
29892,
23466,
1125,
13,
4706,
611,
2496,
29889,
6915,
877,
5205,
29918,
3670,
742,
8207,
5205,
29918,
3670,
19248,
2467,
29913,
742,
4701,
29922,
12657,
29889,
1359,
29918,
932,
877,
5205,
29918,
3670,
8785,
13,
268,
13,
2
] |
util/import/raze/crates.bzl | silas-enf/rules_rust | 1 | 13202 | <reponame>silas-enf/rules_rust<gh_stars>1-10
"""
@generated
cargo-raze generated Bazel file.
DO NOT EDIT! Replaced on runs of cargo-raze
"""
load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository") # buildifier: disable=load
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") # buildifier: disable=load
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") # buildifier: disable=load
def rules_rust_util_import_fetch_remote_crates():
"""This function defines a collection of repos and should be called in a WORKSPACE file"""
maybe(
http_archive,
name = "rules_rust_util_import__aho_corasick__0_7_15",
url = "https://crates.io/api/v1/crates/aho-corasick/0.7.15/download",
type = "tar.gz",
sha256 = "7404febffaa47dac81aa44dba71523c9d069b1bdc50a77db41195149e17f68e5",
strip_prefix = "aho-corasick-0.7.15",
build_file = Label("//util/import/raze/remote:BUILD.aho-corasick-0.7.15.bazel"),
)
maybe(
http_archive,
name = "rules_rust_util_import__cfg_if__1_0_0",
url = "https://crates.io/api/v1/crates/cfg-if/1.0.0/download",
type = "tar.gz",
sha256 = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd",
strip_prefix = "cfg-if-1.0.0",
build_file = Label("//util/import/raze/remote:BUILD.cfg-if-1.0.0.bazel"),
)
maybe(
http_archive,
name = "rules_rust_util_import__env_logger__0_8_4",
url = "https://crates.io/api/v1/crates/env_logger/0.8.4/download",
type = "tar.gz",
sha256 = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3",
strip_prefix = "env_logger-0.8.4",
build_file = Label("//util/import/raze/remote:BUILD.env_logger-0.8.4.bazel"),
)
maybe(
http_archive,
name = "rules_rust_util_import__getrandom__0_2_3",
url = "https://crates.io/api/v1/crates/getrandom/0.2.3/download",
type = "tar.gz",
sha256 = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753",
strip_prefix = "getrandom-0.2.3",
build_file = Label("//util/import/raze/remote:BUILD.getrandom-0.2.3.bazel"),
)
maybe(
http_archive,
name = "rules_rust_util_import__lazy_static__1_4_0",
url = "https://crates.io/api/v1/crates/lazy_static/1.4.0/download",
type = "tar.gz",
sha256 = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646",
strip_prefix = "lazy_static-1.4.0",
build_file = Label("//util/import/raze/remote:BUILD.lazy_static-1.4.0.bazel"),
)
maybe(
http_archive,
name = "rules_rust_util_import__libc__0_2_112",
url = "https://crates.io/api/v1/crates/libc/0.2.112/download",
type = "tar.gz",
sha256 = "1b03d17f364a3a042d5e5d46b053bbbf82c92c9430c592dd4c064dc6ee997125",
strip_prefix = "libc-0.2.112",
build_file = Label("//util/import/raze/remote:BUILD.libc-0.2.112.bazel"),
)
maybe(
http_archive,
name = "rules_rust_util_import__log__0_4_14",
url = "https://crates.io/api/v1/crates/log/0.4.14/download",
type = "tar.gz",
sha256 = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710",
strip_prefix = "log-0.4.14",
build_file = Label("//util/import/raze/remote:BUILD.log-0.4.14.bazel"),
)
maybe(
http_archive,
name = "rules_rust_util_import__memchr__2_4_1",
url = "https://crates.io/api/v1/crates/memchr/2.4.1/download",
type = "tar.gz",
sha256 = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a",
strip_prefix = "memchr-2.4.1",
build_file = Label("//util/import/raze/remote:BUILD.memchr-2.4.1.bazel"),
)
maybe(
http_archive,
name = "rules_rust_util_import__proc_macro2__1_0_33",
url = "https://crates.io/api/v1/crates/proc-macro2/1.0.33/download",
type = "tar.gz",
sha256 = "fb37d2df5df740e582f28f8560cf425f52bb267d872fe58358eadb554909f07a",
strip_prefix = "proc-macro2-1.0.33",
build_file = Label("//util/import/raze/remote:BUILD.proc-macro2-1.0.33.bazel"),
)
maybe(
http_archive,
name = "rules_rust_util_import__quickcheck__1_0_3",
url = "https://crates.io/api/v1/crates/quickcheck/1.0.3/download",
type = "tar.gz",
sha256 = "588f6378e4dd99458b60ec275b4477add41ce4fa9f64dcba6f15adccb19b50d6",
strip_prefix = "quickcheck-1.0.3",
build_file = Label("//util/import/raze/remote:BUILD.quickcheck-1.0.3.bazel"),
)
maybe(
http_archive,
name = "rules_rust_util_import__quote__1_0_10",
url = "https://crates.io/api/v1/crates/quote/1.0.10/download",
type = "tar.gz",
sha256 = "38bc8cc6a5f2e3655e0899c1b848643b2562f853f114bfec7be120678e3ace05",
strip_prefix = "quote-1.0.10",
build_file = Label("//util/import/raze/remote:BUILD.quote-1.0.10.bazel"),
)
maybe(
http_archive,
name = "rules_rust_util_import__rand__0_8_4",
url = "https://crates.io/api/v1/crates/rand/0.8.4/download",
type = "tar.gz",
sha256 = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8",
strip_prefix = "rand-0.8.4",
build_file = Label("//util/import/raze/remote:BUILD.rand-0.8.4.bazel"),
)
maybe(
http_archive,
name = "rules_rust_util_import__rand_core__0_6_3",
url = "https://crates.io/api/v1/crates/rand_core/0.6.3/download",
type = "tar.gz",
sha256 = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7",
strip_prefix = "rand_core-0.6.3",
build_file = Label("//util/import/raze/remote:BUILD.rand_core-0.6.3.bazel"),
)
maybe(
http_archive,
name = "rules_rust_util_import__regex__1_4_6",
url = "https://crates.io/api/v1/crates/regex/1.4.6/download",
type = "tar.gz",
sha256 = "2a26af418b574bd56588335b3a3659a65725d4e636eb1016c2f9e3b38c7cc759",
strip_prefix = "regex-1.4.6",
build_file = Label("//util/import/raze/remote:BUILD.regex-1.4.6.bazel"),
)
maybe(
http_archive,
name = "rules_rust_util_import__regex_syntax__0_6_25",
url = "https://crates.io/api/v1/crates/regex-syntax/0.6.25/download",
type = "tar.gz",
sha256 = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b",
strip_prefix = "regex-syntax-0.6.25",
build_file = Label("//util/import/raze/remote:BUILD.regex-syntax-0.6.25.bazel"),
)
maybe(
http_archive,
name = "rules_rust_util_import__syn__1_0_82",
url = "https://crates.io/api/v1/crates/syn/1.0.82/download",
type = "tar.gz",
sha256 = "8daf5dd0bb60cbd4137b1b587d2fc0ae729bc07cf01cd70b36a1ed5ade3b9d59",
strip_prefix = "syn-1.0.82",
build_file = Label("//util/import/raze/remote:BUILD.syn-1.0.82.bazel"),
)
maybe(
http_archive,
name = "rules_rust_util_import__unicode_xid__0_2_2",
url = "https://crates.io/api/v1/crates/unicode-xid/0.2.2/download",
type = "tar.gz",
sha256 = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3",
strip_prefix = "unicode-xid-0.2.2",
build_file = Label("//util/import/raze/remote:BUILD.unicode-xid-0.2.2.bazel"),
)
maybe(
http_archive,
name = "rules_rust_util_import__wasi__0_10_2_wasi_snapshot_preview1",
url = "https://crates.io/api/v1/crates/wasi/0.10.2+wasi-snapshot-preview1/download",
type = "tar.gz",
sha256 = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6",
strip_prefix = "wasi-0.10.2+wasi-snapshot-preview1",
build_file = Label("//util/import/raze/remote:BUILD.wasi-0.10.2+wasi-snapshot-preview1.bazel"),
)
| [
1,
529,
276,
1112,
420,
29958,
25590,
294,
29899,
23578,
29914,
19238,
29918,
23575,
29966,
12443,
29918,
303,
1503,
29958,
29896,
29899,
29896,
29900,
13,
15945,
29908,
13,
29992,
13525,
13,
29883,
7921,
29899,
336,
911,
5759,
350,
834,
295,
934,
29889,
13,
13,
3970,
6058,
11488,
29991,
10088,
433,
1133,
373,
6057,
310,
17040,
29899,
336,
911,
13,
15945,
29908,
13,
13,
1359,
29475,
27975,
295,
29918,
8504,
458,
8504,
29914,
4282,
29918,
1753,
29879,
29914,
20095,
29901,
5559,
29889,
29890,
29920,
29880,
613,
376,
1482,
29918,
5559,
29918,
19033,
1159,
29871,
396,
2048,
3709,
29901,
11262,
29922,
1359,
13,
1359,
29475,
27975,
295,
29918,
8504,
458,
8504,
29914,
4282,
29918,
1753,
29879,
29914,
20095,
29901,
1124,
29889,
29890,
29920,
29880,
613,
376,
1124,
29918,
10867,
1159,
29871,
396,
2048,
3709,
29901,
11262,
29922,
1359,
13,
1359,
29475,
27975,
295,
29918,
8504,
458,
8504,
29914,
4282,
29918,
1753,
29879,
29914,
20095,
29901,
13239,
29889,
29890,
29920,
29880,
613,
376,
26026,
1159,
29871,
396,
2048,
3709,
29901,
11262,
29922,
1359,
13,
13,
1753,
6865,
29918,
23575,
29918,
4422,
29918,
5215,
29918,
9155,
29918,
16674,
29918,
7283,
1078,
7295,
13,
1678,
9995,
4013,
740,
17645,
263,
4333,
310,
17573,
322,
881,
367,
2000,
297,
263,
399,
1955,
29968,
5550,
11538,
934,
15945,
29908,
13,
1678,
5505,
29898,
13,
4706,
1732,
29918,
10867,
29892,
13,
4706,
1024,
353,
376,
19238,
29918,
23575,
29918,
4422,
29918,
5215,
1649,
29745,
29918,
2616,
294,
860,
1649,
29900,
29918,
29955,
29918,
29896,
29945,
613,
13,
4706,
3142,
353,
376,
991,
597,
7283,
1078,
29889,
601,
29914,
2754,
29914,
29894,
29896,
29914,
7283,
1078,
29914,
29745,
29899,
2616,
294,
860,
29914,
29900,
29889,
29955,
29889,
29896,
29945,
29914,
10382,
613,
13,
4706,
1134,
353,
376,
12637,
29889,
18828,
613,
13,
4706,
528,
29874,
29906,
29945,
29953,
353,
376,
29955,
29946,
29900,
29946,
29888,
774,
600,
7340,
29946,
29955,
29881,
562,
29947,
29896,
7340,
29946,
29946,
29881,
2291,
29955,
29896,
29945,
29906,
29941,
29883,
29929,
29881,
29900,
29953,
29929,
29890,
29896,
6448,
29883,
29945,
29900,
29874,
29955,
29955,
2585,
29946,
29896,
29896,
29929,
29945,
29896,
29946,
29929,
29872,
29896,
29955,
29888,
29953,
29947,
29872,
29945,
613,
13,
4706,
17820,
29918,
13506,
353,
376,
29745,
29899,
2616,
294,
860,
29899,
29900,
29889,
29955,
29889,
29896,
29945,
613,
13,
4706,
2048,
29918,
1445,
353,
15796,
703,
458,
4422,
29914,
5215,
29914,
336,
911,
29914,
16674,
29901,
29933,
25282,
29889,
29745,
29899,
2616,
294,
860,
29899,
29900,
29889,
29955,
29889,
29896,
29945,
29889,
27975,
295,
4968,
13,
1678,
1723,
13,
13,
1678,
5505,
29898,
13,
4706,
1732,
29918,
10867,
29892,
13,
4706,
1024,
353,
376,
19238,
29918,
23575,
29918,
4422,
29918,
5215,
1649,
16859,
29918,
361,
1649,
29896,
29918,
29900,
29918,
29900,
613,
13,
4706,
3142,
353,
376,
991,
597,
7283,
1078,
29889,
601,
29914,
2754,
29914,
29894,
29896,
29914,
7283,
1078,
29914,
16859,
29899,
361,
29914,
29896,
29889,
29900,
29889,
29900,
29914,
10382,
613,
13,
4706,
1134,
353,
376,
12637,
29889,
18828,
613,
13,
4706,
528,
29874,
29906,
29945,
29953,
353,
376,
29890,
2142,
29896,
311,
29946,
29941,
29941,
29929,
29955,
29953,
29896,
29945,
29947,
29947,
12328,
29900,
29953,
29896,
29929,
29872,
29941,
10702,
29883,
29900,
29896,
29906,
29900,
3905,
29945,
29947,
29906,
27885,
29955,
29946,
29890,
29945,
29941,
29890,
29946,
1389,
1635,
29955,
29929,
29896,
29896,
29955,
6448,
29906,
1388,
29946,
29900,
11512,
613,
13,
4706,
17820,
29918,
13506,
353,
376,
16859,
29899,
361,
29899,
29896,
29889,
29900,
29889,
29900,
613,
13,
4706,
2048,
29918,
1445,
353,
15796,
703,
458,
4422,
29914,
5215,
29914,
336,
911,
29914,
16674,
29901,
29933,
25282,
29889,
16859,
29899,
361,
29899,
29896,
29889,
29900,
29889,
29900,
29889,
27975,
295,
4968,
13,
1678,
1723,
13,
13,
1678,
5505,
29898,
13,
4706,
1732,
29918,
10867,
29892,
13,
4706,
1024,
353,
376,
19238,
29918,
23575,
29918,
4422,
29918,
5215,
1649,
6272,
29918,
21707,
1649,
29900,
29918,
29947,
29918,
29946,
613,
13,
4706,
3142,
353,
376,
991,
597,
7283,
1078,
29889,
601,
29914,
2754,
29914,
29894,
29896,
29914,
7283,
1078,
29914,
6272,
29918,
21707,
29914,
29900,
29889,
29947,
29889,
29946,
29914,
10382,
613,
13,
4706,
1134,
353,
376,
12637,
29889,
18828,
613,
13,
4706,
528,
29874,
29906,
29945,
29953,
353,
376,
29874,
29896,
29929,
29896,
29947,
29955,
1725,
29874,
29941,
562,
29955,
29872,
29947,
29946,
1388,
29955,
29881,
562,
29888,
29946,
29947,
311,
29900,
29883,
29946,
29945,
29881,
29953,
29941,
29883,
29953,
29874,
29955,
29953,
29888,
29929,
29946,
29929,
29900,
1388,
29872,
29941,
29947,
29929,
29874,
1479,
29896,
29953,
29883,
29906,
29946,
29941,
29888,
346,
29941,
613,
13,
4706,
17820,
29918,
13506,
353,
376,
6272,
29918,
21707,
29899,
29900,
29889,
29947,
29889,
29946,
613,
13,
4706,
2048,
29918,
1445,
353,
15796,
703,
458,
4422,
29914,
5215,
29914,
336,
911,
29914,
16674,
29901,
29933,
25282,
29889,
6272,
29918,
21707,
29899,
29900,
29889,
29947,
29889,
29946,
29889,
27975,
295,
4968,
13,
1678,
1723,
13,
13,
1678,
5505,
29898,
13,
4706,
1732,
29918,
10867,
29892,
13,
4706,
1024,
353,
376,
19238,
29918,
23575,
29918,
4422,
29918,
5215,
1649,
657,
8172,
1649,
29900,
29918,
29906,
29918,
29941,
613,
13,
4706,
3142,
353,
376,
991,
597,
7283,
1078,
29889,
601,
29914,
2754,
29914,
29894,
29896,
29914,
7283,
1078,
29914,
657,
8172,
29914,
29900,
29889,
29906,
29889,
29941,
29914,
10382,
613,
13,
4706,
1134,
353,
376,
12637,
29889,
18828,
613,
13,
4706,
528,
29874,
29906,
29945,
29953,
353,
376,
29955,
29888,
2252,
29929,
29929,
29929,
29946,
29953,
29941,
29945,
29906,
29946,
29883,
29945,
29906,
29953,
29945,
29929,
29945,
29896,
29955,
1725,
29906,
346,
29874,
29929,
29947,
29946,
29929,
29941,
29883,
1725,
29946,
29947,
29945,
29881,
29896,
29900,
29945,
29953,
29945,
29872,
29955,
29890,
29900,
14943,
29900,
29955,
29881,
1327,
29874,
29955,
328,
29906,
29955,
29945,
29941,
613,
13,
4706,
17820,
29918,
13506,
353,
376,
657,
8172,
29899,
29900,
29889,
29906,
29889,
29941,
613,
13,
4706,
2048,
29918,
1445,
353,
15796,
703,
458,
4422,
29914,
5215,
29914,
336,
911,
29914,
16674,
29901,
29933,
25282,
29889,
657,
8172,
29899,
29900,
29889,
29906,
29889,
29941,
29889,
27975,
295,
4968,
13,
1678,
1723,
13,
13,
1678,
5505,
29898,
13,
4706,
1732,
29918,
10867,
29892,
13,
4706,
1024,
353,
376,
19238,
29918,
23575,
29918,
4422,
29918,
5215,
1649,
433,
1537,
29918,
7959,
1649,
29896,
29918,
29946,
29918,
29900,
613,
13,
4706,
3142,
353,
376,
991,
597,
7283,
1078,
29889,
601,
29914,
2754,
29914,
29894,
29896,
29914,
7283,
1078,
29914,
433,
1537,
29918,
7959,
29914,
29896,
29889,
29946,
29889,
29900,
29914,
10382,
613,
13,
4706,
1134,
353,
376,
12637,
29889,
18828,
613,
13,
4706,
528,
29874,
29906,
29945,
29953,
353,
376,
29872,
29906,
20143,
29906,
29941,
29888,
12328,
29946,
29906,
29890,
29941,
29955,
29900,
29900,
29888,
29906,
29888,
29906,
29955,
29929,
29947,
29946,
29946,
13891,
29947,
29941,
29906,
328,
29890,
29906,
29890,
29906,
774,
29900,
29953,
29929,
29890,
29906,
2176,
29929,
29896,
29947,
29888,
29946,
29945,
29945,
29883,
29946,
29872,
29896,
29947,
617,
29953,
29946,
29953,
613,
13,
4706,
17820,
29918,
13506,
353,
376,
433,
1537,
29918,
7959,
29899,
29896,
29889,
29946,
29889,
29900,
613,
13,
4706,
2048,
29918,
1445,
353,
15796,
703,
458,
4422,
29914,
5215,
29914,
336,
911,
29914,
16674,
29901,
29933,
25282,
29889,
433,
1537,
29918,
7959,
29899,
29896,
29889,
29946,
29889,
29900,
29889,
27975,
295,
4968,
13,
1678,
1723,
13,
13,
1678,
5505,
29898,
13,
4706,
1732,
29918,
10867,
29892,
13,
4706,
1024,
353,
376,
19238,
29918,
23575,
29918,
4422,
29918,
5215,
1649,
1982,
29883,
1649,
29900,
29918,
29906,
29918,
29896,
29896,
29906,
613,
13,
4706,
3142,
353,
376,
991,
597,
7283,
1078,
29889,
601,
29914,
2754,
29914,
29894,
29896,
29914,
7283,
1078,
29914,
1982,
29883,
29914,
29900,
29889,
29906,
29889,
29896,
29896,
29906,
29914,
10382,
613,
13,
4706,
1134,
353,
376,
12637,
29889,
18828,
613,
13,
4706,
528,
29874,
29906,
29945,
29953,
353,
376,
29896,
29890,
29900,
29941,
29881,
29896,
29955,
29888,
29941,
29953,
29946,
29874,
29941,
29874,
29900,
29946,
29906,
29881,
29945,
29872,
29945,
29881,
29946,
29953,
29890,
29900,
29945,
29941,
1327,
1635,
29947,
29906,
29883,
29929,
29906,
29883,
29929,
29946,
29941,
29900,
29883,
29945,
29929,
29906,
1289,
29946,
29883,
29900,
29953,
29946,
13891,
29953,
3905,
29929,
29929,
29955,
29896,
29906,
29945,
613,
13,
4706,
17820,
29918,
13506,
353,
376,
1982,
29883,
29899,
29900,
29889,
29906,
29889,
29896,
29896,
29906,
613,
13,
4706,
2048,
29918,
1445,
353,
15796,
703,
458,
4422,
29914,
5215,
29914,
336,
911,
29914,
16674,
29901,
29933,
25282,
29889,
1982,
29883,
29899,
29900,
29889,
29906,
29889,
29896,
29896,
29906,
29889,
27975,
295,
4968,
13,
1678,
1723,
13,
13,
1678,
5505,
29898,
13,
4706,
1732,
29918,
10867,
29892,
13,
4706,
1024,
353,
376,
19238,
29918,
23575,
29918,
4422,
29918,
5215,
1649,
1188,
1649,
29900,
29918,
29946,
29918,
29896,
29946,
613,
13,
4706,
3142,
353,
376,
991,
597,
7283,
1078,
29889,
601,
29914,
2754,
29914,
29894,
29896,
29914,
7283,
1078,
29914,
1188,
29914,
29900,
29889,
29946,
29889,
29896,
29946,
29914,
10382,
613,
13,
4706,
1134,
353,
376,
12637,
29889,
18828,
613,
13,
4706,
528,
29874,
29906,
29945,
29953,
353,
376,
29945,
29896,
29890,
29929,
9967,
29953,
29883,
29946,
29955,
29881,
29945,
29896,
13801,
29941,
29872,
29896,
29874,
29929,
29890,
29929,
29946,
29945,
29929,
29953,
29945,
29929,
29946,
29953,
29890,
29946,
29883,
29946,
29946,
29896,
29946,
29906,
370,
29947,
29955,
29929,
29906,
29883,
29945,
29900,
29947,
29941,
29945,
29874,
29929,
29947,
29900,
29881,
29941,
29953,
29906,
29883,
29906,
29955,
29896,
29900,
613,
13,
4706,
17820,
29918,
13506,
353,
376,
1188,
29899,
29900,
29889,
29946,
29889,
29896,
29946,
613,
13,
4706,
2048,
29918,
1445,
353,
15796,
703,
458,
4422,
29914,
5215,
29914,
336,
911,
29914,
16674,
29901,
29933,
25282,
29889,
1188,
29899,
29900,
29889,
29946,
29889,
29896,
29946,
29889,
27975,
295,
4968,
13,
1678,
1723,
13,
13,
1678,
5505,
29898,
13,
4706,
1732,
29918,
10867,
29892,
13,
4706,
1024,
353,
376,
19238,
29918,
23575,
29918,
4422,
29918,
5215,
1649,
6954,
22495,
1649,
29906,
29918,
29946,
29918,
29896,
613,
13,
4706,
3142,
353,
376,
991,
597,
7283,
1078,
29889,
601,
29914,
2754,
29914,
29894,
29896,
29914,
7283,
1078,
29914,
6954,
22495,
29914,
29906,
29889,
29946,
29889,
29896,
29914,
10382,
613,
13,
4706,
1134,
353,
376,
12637,
29889,
18828,
613,
13,
4706,
528,
29874,
29906,
29945,
29953,
353,
376,
29941,
29900,
29947,
617,
29941,
29929,
915,
29900,
29896,
29890,
29955,
29941,
29881,
29900,
29881,
29896,
29947,
29888,
29947,
29906,
29874,
29900,
29872,
29955,
29890,
29906,
29874,
29941,
2176,
29947,
29945,
29906,
29946,
29945,
29888,
29947,
29946,
2142,
29929,
29953,
29888,
1289,
13891,
29945,
29881,
29906,
29900,
29906,
29881,
29906,
29955,
29872,
29946,
29955,
29890,
29947,
29953,
29874,
613,
13,
4706,
17820,
29918,
13506,
353,
376,
6954,
22495,
29899,
29906,
29889,
29946,
29889,
29896,
613,
13,
4706,
2048,
29918,
1445,
353,
15796,
703,
458,
4422,
29914,
5215,
29914,
336,
911,
29914,
16674,
29901,
29933,
25282,
29889,
6954,
22495,
29899,
29906,
29889,
29946,
29889,
29896,
29889,
27975,
295,
4968,
13,
1678,
1723,
13,
13,
1678,
5505,
29898,
13,
4706,
1732,
29918,
10867,
29892,
13,
4706,
1024,
353,
376,
19238,
29918,
23575,
29918,
4422,
29918,
5215,
1649,
15439,
29918,
25254,
29906,
1649,
29896,
29918,
29900,
29918,
29941,
29941,
613,
13,
4706,
3142,
353,
376,
991,
597,
7283,
1078,
29889,
601,
29914,
2754,
29914,
29894,
29896,
29914,
7283,
1078,
29914,
15439,
29899,
25254,
29906,
29914,
29896,
29889,
29900,
29889,
29941,
29941,
29914,
10382,
613,
13,
4706,
1134,
353,
376,
12637,
29889,
18828,
613,
13,
4706,
528,
29874,
29906,
29945,
29953,
353,
376,
14943,
29941,
29955,
29881,
29906,
2176,
29945,
2176,
29955,
29946,
29900,
29872,
29945,
29947,
29906,
29888,
29906,
29947,
29888,
29947,
29945,
29953,
29900,
6854,
29946,
29906,
29945,
29888,
29945,
29906,
1327,
29906,
29953,
29955,
29881,
29947,
29955,
29906,
1725,
29945,
29947,
29941,
29945,
29947,
1479,
29890,
29945,
29945,
29946,
29929,
29900,
29929,
29888,
29900,
29955,
29874,
613,
13,
4706,
17820,
29918,
13506,
353,
376,
15439,
29899,
25254,
29906,
29899,
29896,
29889,
29900,
29889,
29941,
29941,
613,
13,
4706,
2048,
29918,
1445,
353,
15796,
703,
458,
4422,
29914,
5215,
29914,
336,
911,
29914,
16674,
29901,
29933,
25282,
29889,
15439,
29899,
25254,
29906,
29899,
29896,
29889,
29900,
29889,
29941,
29941,
29889,
27975,
295,
4968,
13,
1678,
1723,
13,
13,
1678,
5505,
29898,
13,
4706,
1732,
29918,
10867,
29892,
13,
4706,
1024,
353,
376,
19238,
29918,
23575,
29918,
4422,
29918,
5215,
1649,
24561,
3198,
1649,
29896,
29918,
29900,
29918,
29941,
613,
13,
4706,
3142,
353,
376,
991,
597,
7283,
1078,
29889,
601,
29914,
2754,
29914,
29894,
29896,
29914,
7283,
1078,
29914,
24561,
3198,
29914,
29896,
29889,
29900,
29889,
29941,
29914,
10382,
613,
13,
4706,
1134,
353,
376,
12637,
29889,
18828,
613,
13,
4706,
528,
29874,
29906,
29945,
29953,
353,
376,
29945,
29947,
29947,
29888,
29953,
29941,
29955,
29947,
29872,
29946,
1289,
29929,
29929,
29946,
29945,
29947,
29890,
29953,
29900,
687,
29906,
29955,
29945,
29890,
29946,
29946,
29955,
29955,
1202,
29946,
29896,
346,
29946,
5444,
29929,
29888,
29953,
29946,
13891,
2291,
29953,
29888,
29896,
29945,
328,
617,
29890,
29896,
29929,
29890,
29945,
29900,
29881,
29953,
613,
13,
4706,
17820,
29918,
13506,
353,
376,
24561,
3198,
29899,
29896,
29889,
29900,
29889,
29941,
613,
13,
4706,
2048,
29918,
1445,
353,
15796,
703,
458,
4422,
29914,
5215,
29914,
336,
911,
29914,
16674,
29901,
29933,
25282,
29889,
24561,
3198,
29899,
29896,
29889,
29900,
29889,
29941,
29889,
27975,
295,
4968,
13,
1678,
1723,
13,
13,
1678,
5505,
29898,
13,
4706,
1732,
29918,
10867,
29892,
13,
4706,
1024,
353,
376,
19238,
29918,
23575,
29918,
4422,
29918,
5215,
1649,
1396,
1649,
29896,
29918,
29900,
29918,
29896,
29900,
613,
13,
4706,
3142,
353,
376,
991,
597,
7283,
1078,
29889,
601,
29914,
2754,
29914,
29894,
29896,
29914,
7283,
1078,
29914,
1396,
29914,
29896,
29889,
29900,
29889,
29896,
29900,
29914,
10382,
613,
13,
4706,
1134,
353,
376,
12637,
29889,
18828,
613,
13,
4706,
528,
29874,
29906,
29945,
29953,
353,
376,
29941,
29947,
12328,
29947,
617,
29953,
29874,
29945,
29888,
29906,
29872,
29941,
29953,
29945,
29945,
29872,
29900,
29947,
29929,
29929,
29883,
29896,
29890,
29947,
29946,
29947,
29953,
29946,
29941,
29890,
29906,
29945,
29953,
29906,
29888,
29947,
29945,
29941,
29888,
29896,
29896,
29946,
1635,
687,
29955,
915,
29896,
29906,
29900,
29953,
29955,
29947,
29872,
29941,
815,
29900,
29945,
613,
13,
4706,
17820,
29918,
13506,
353,
376,
1396,
29899,
29896,
29889,
29900,
29889,
29896,
29900,
613,
13,
4706,
2048,
29918,
1445,
353,
15796,
703,
458,
4422,
29914,
5215,
29914,
336,
911,
29914,
16674,
29901,
29933,
25282,
29889,
1396,
29899,
29896,
29889,
29900,
29889,
29896,
29900,
29889,
27975,
295,
4968,
13,
1678,
1723,
13,
13,
1678,
5505,
29898,
13,
4706,
1732,
29918,
10867,
29892,
13,
4706,
1024,
353,
376,
19238,
29918,
23575,
29918,
4422,
29918,
5215,
1649,
9502,
1649,
29900,
29918,
29947,
29918,
29946,
613,
13,
4706,
3142,
353,
376,
991,
597,
7283,
1078,
29889,
601,
29914,
2754,
29914,
29894,
29896,
29914,
7283,
1078,
29914,
9502,
29914,
29900,
29889,
29947,
29889,
29946,
29914,
10382,
613,
13,
4706,
1134,
353,
376,
12637,
29889,
18828,
613,
13,
4706,
528,
29874,
29906,
29945,
29953,
353,
376,
29906,
29872,
29955,
29945,
29955,
29941,
29953,
29941,
29906,
29872,
29953,
29946,
29945,
29946,
6854,
29953,
29890,
29929,
29929,
29881,
29955,
29874,
562,
29946,
617,
1113,
29945,
29946,
915,
29900,
29953,
1388,
29900,
29945,
11989,
29906,
1389,
29955,
29946,
29906,
29941,
29881,
29906,
29906,
29881,
29906,
29955,
29881,
29946,
29881,
29946,
29890,
2252,
29947,
613,
13,
4706,
17820,
29918,
13506,
353,
376,
9502,
29899,
29900,
29889,
29947,
29889,
29946,
613,
13,
4706,
2048,
29918,
1445,
353,
15796,
703,
458,
4422,
29914,
5215,
29914,
336,
911,
29914,
16674,
29901,
29933,
25282,
29889,
9502,
29899,
29900,
29889,
29947,
29889,
29946,
29889,
27975,
295,
4968,
13,
1678,
1723,
13,
13,
1678,
5505,
29898,
13,
4706,
1732,
29918,
10867,
29892,
13,
4706,
1024,
353,
376,
19238,
29918,
23575,
29918,
4422,
29918,
5215,
1649,
9502,
29918,
3221,
1649,
29900,
29918,
29953,
29918,
29941,
613,
13,
4706,
3142,
353,
376,
991,
597,
7283,
1078,
29889,
601,
29914,
2754,
29914,
29894,
29896,
29914,
7283,
1078,
29914,
9502,
29918,
3221,
29914,
29900,
29889,
29953,
29889,
29941,
29914,
10382,
613,
13,
4706,
1134,
353,
376,
12637,
29889,
18828,
613,
13,
4706,
528,
29874,
29906,
29945,
29953,
353,
376,
29881,
29941,
29946,
29888,
29896,
29946,
29900,
29947,
29888,
29945,
29945,
29906,
29929,
29946,
29946,
29945,
29941,
29955,
29929,
29900,
29883,
29946,
29947,
29890,
29906,
29888,
29896,
774,
1327,
29896,
29883,
29945,
29890,
29946,
29890,
29955,
29945,
29953,
29941,
774,
29896,
29888,
29946,
29896,
29947,
29890,
6854,
6854,
29881,
1327,
29900,
29953,
27885,
29946,
29872,
29955,
613,
13,
4706,
17820,
29918,
13506,
353,
376,
9502,
29918,
3221,
29899,
29900,
29889,
29953,
29889,
29941,
613,
13,
4706,
2048,
29918,
1445,
353,
15796,
703,
458,
4422,
29914,
5215,
29914,
336,
911,
29914,
16674,
29901,
29933,
25282,
29889,
9502,
29918,
3221,
29899,
29900,
29889,
29953,
29889,
29941,
29889,
27975,
295,
4968,
13,
1678,
1723,
13,
13,
1678,
5505,
29898,
13,
4706,
1732,
29918,
10867,
29892,
13,
4706,
1024,
353,
376,
19238,
29918,
23575,
29918,
4422,
29918,
5215,
1649,
13087,
1649,
29896,
29918,
29946,
29918,
29953,
613,
13,
4706,
3142,
353,
376,
991,
597,
7283,
1078,
29889,
601,
29914,
2754,
29914,
29894,
29896,
29914,
7283,
1078,
29914,
13087,
29914,
29896,
29889,
29946,
29889,
29953,
29914,
10382,
613,
13,
4706,
1134,
353,
376,
12637,
29889,
18828,
613,
13,
4706,
528,
29874,
29906,
29945,
29953,
353,
376,
29906,
29874,
29906,
29953,
2142,
29946,
29896,
29947,
29890,
29945,
29955,
29946,
6448,
29945,
29953,
29945,
29947,
29947,
29941,
29941,
29945,
29890,
29941,
29874,
29941,
29953,
29945,
29929,
29874,
29953,
29945,
29955,
29906,
29945,
29881,
29946,
29872,
29953,
29941,
29953,
774,
29896,
29900,
29896,
29953,
29883,
29906,
29888,
29929,
29872,
29941,
29890,
29941,
29947,
29883,
29955,
617,
29955,
29945,
29929,
613,
13,
4706,
17820,
29918,
13506,
353,
376,
13087,
29899,
29896,
29889,
29946,
29889,
29953,
613,
13,
4706,
2048,
29918,
1445,
353,
15796,
703,
458,
4422,
29914,
5215,
29914,
336,
911,
29914,
16674,
29901,
29933,
25282,
29889,
13087,
29899,
29896,
29889,
29946,
29889,
29953,
29889,
27975,
295,
4968,
13,
1678,
1723,
13,
13,
1678,
5505,
29898,
13,
4706,
1732,
29918,
10867,
29892,
13,
4706,
1024,
353,
376,
19238,
29918,
23575,
29918,
4422,
29918,
5215,
1649,
13087,
29918,
29562,
1649,
29900,
29918,
29953,
29918,
29906,
29945,
613,
13,
4706,
3142,
353,
376,
991,
597,
7283,
1078,
29889,
601,
29914,
2754,
29914,
29894,
29896,
29914,
7283,
1078,
29914,
13087,
29899,
29562,
29914,
29900,
29889,
29953,
29889,
29906,
29945,
29914,
10382,
613,
13,
4706,
1134,
353,
376,
12637,
29889,
18828,
613,
13,
4706,
528,
29874,
29906,
29945,
29953,
353,
376,
29888,
29946,
29929,
29955,
29906,
29947,
29945,
29947,
29947,
29946,
29888,
29941,
13801,
600,
29946,
29906,
29946,
600,
29883,
29929,
29941,
29941,
29872,
29945,
29953,
29881,
29955,
10702,
1113,
29945,
29896,
29896,
1753,
29900,
29883,
29929,
29947,
29941,
29896,
29874,
29955,
29888,
29929,
29890,
29945,
29888,
29953,
29896,
29945,
29941,
29872,
29941,
617,
29947,
29929,
29890,
613,
13,
4706,
17820,
29918,
13506,
353,
376,
13087,
29899,
29562,
29899,
29900,
29889,
29953,
29889,
29906,
29945,
613,
13,
4706,
2048,
29918,
1445,
353,
15796,
703,
458,
4422,
29914,
5215,
29914,
336,
911,
29914,
16674,
29901,
29933,
25282,
29889,
13087,
29899,
29562,
29899,
29900,
29889,
29953,
29889,
29906,
29945,
29889,
27975,
295,
4968,
13,
1678,
1723,
13,
13,
1678,
5505,
29898,
13,
4706,
1732,
29918,
10867,
29892,
13,
4706,
1024,
353,
376,
19238,
29918,
23575,
29918,
4422,
29918,
5215,
1649,
19274,
1649,
29896,
29918,
29900,
29918,
29947,
29906,
613,
13,
4706,
3142,
353,
376,
991,
597,
7283,
1078,
29889,
601,
29914,
2754,
29914,
29894,
29896,
29914,
7283,
1078,
29914,
19274,
29914,
29896,
29889,
29900,
29889,
29947,
29906,
29914,
10382,
613,
13,
4706,
1134,
353,
376,
12637,
29889,
18828,
613,
13,
4706,
528,
29874,
29906,
29945,
29953,
353,
376,
29947,
1388,
29888,
29945,
1289,
29900,
1327,
29953,
29900,
29883,
6448,
29946,
29896,
29941,
29955,
29890,
29896,
29890,
29945,
29947,
29955,
29881,
29906,
13801,
29900,
3660,
29955,
29906,
29929,
12328,
29900,
29955,
6854,
29900,
29896,
2252,
29955,
29900,
29890,
29941,
29953,
29874,
29896,
287,
29945,
1943,
29941,
29890,
29929,
29881,
29945,
29929,
613,
13,
4706,
17820,
29918,
13506,
353,
376,
19274,
29899,
29896,
29889,
29900,
29889,
29947,
29906,
613,
13,
4706,
2048,
29918,
1445,
353,
15796,
703,
458,
4422,
29914,
5215,
29914,
336,
911,
29914,
16674,
29901,
29933,
25282,
29889,
19274,
29899,
29896,
29889,
29900,
29889,
29947,
29906,
29889,
27975,
295,
4968,
13,
1678,
1723,
13,
13,
1678,
5505,
29898,
13,
4706,
1732,
29918,
10867,
29892,
13,
4706,
1024,
353,
376,
19238,
29918,
23575,
29918,
4422,
29918,
5215,
1649,
2523,
356,
29918,
29916,
333,
1649,
29900,
29918,
29906,
29918,
29906,
613,
13,
4706,
3142,
353,
376,
991,
597,
7283,
1078,
29889,
601,
29914,
2754,
29914,
29894,
29896,
29914,
7283,
1078,
29914,
2523,
356,
29899,
29916,
333,
29914,
29900,
29889,
29906,
29889,
29906,
29914,
10382,
613,
13,
4706,
1134,
353,
376,
12637,
29889,
18828,
613,
13,
4706,
528,
29874,
29906,
29945,
29953,
353,
376,
29947,
617,
29890,
29947,
29906,
29881,
29953,
29896,
29888,
29947,
29900,
29874,
29953,
29953,
29941,
25790,
29896,
29888,
29955,
29947,
29955,
29874,
29945,
29896,
29890,
29896,
29953,
29890,
29945,
29874,
29945,
29896,
29872,
29941,
29941,
29896,
29946,
29881,
29953,
562,
29941,
29953,
29945,
29890,
29900,
29947,
29953,
29941,
29929,
29888,
29945,
29906,
29941,
29947,
29955,
29890,
29941,
29941,
29888,
29941,
613,
13,
4706,
17820,
29918,
13506,
353,
376,
2523,
356,
29899,
29916,
333,
29899,
29900,
29889,
29906,
29889,
29906,
613,
13,
4706,
2048,
29918,
1445,
353,
15796,
703,
458,
4422,
29914,
5215,
29914,
336,
911,
29914,
16674,
29901,
29933,
25282,
29889,
2523,
356,
29899,
29916,
333,
29899,
29900,
29889,
29906,
29889,
29906,
29889,
27975,
295,
4968,
13,
1678,
1723,
13,
13,
1678,
5505,
29898,
13,
4706,
1732,
29918,
10867,
29892,
13,
4706,
1024,
353,
376,
19238,
29918,
23575,
29918,
4422,
29918,
5215,
1649,
29893,
6840,
1649,
29900,
29918,
29896,
29900,
29918,
29906,
29918,
29893,
6840,
29918,
29879,
14551,
29918,
25347,
29896,
613,
13,
4706,
3142,
353,
376,
991,
597,
7283,
1078,
29889,
601,
29914,
2754,
29914,
29894,
29896,
29914,
7283,
1078,
29914,
29893,
6840,
29914,
29900,
29889,
29896,
29900,
29889,
29906,
29974,
29893,
6840,
29899,
29879,
14551,
29899,
25347,
29896,
29914,
10382,
613,
13,
4706,
1134,
353,
376,
12637,
29889,
18828,
613,
13,
4706,
528,
29874,
29906,
29945,
29953,
353,
376,
11512,
29953,
29888,
6448,
29929,
29874,
29955,
29929,
29947,
29906,
29929,
1289,
29896,
328,
29900,
617,
29906,
29900,
29953,
29906,
29955,
1635,
29896,
287,
29953,
29900,
29953,
29955,
29945,
29953,
29874,
29955,
29888,
29955,
29955,
287,
600,
29955,
29890,
29953,
29953,
29890,
29955,
29900,
29953,
29946,
29888,
29929,
10702,
29941,
29906,
29955,
29883,
29953,
613,
13,
4706,
17820,
29918,
13506,
353,
376,
29893,
6840,
29899,
29900,
29889,
29896,
29900,
29889,
29906,
29974,
29893,
6840,
29899,
29879,
14551,
29899,
25347,
29896,
613,
13,
4706,
2048,
29918,
1445,
353,
15796,
703,
458,
4422,
29914,
5215,
29914,
336,
911,
29914,
16674,
29901,
29933,
25282,
29889,
29893,
6840,
29899,
29900,
29889,
29896,
29900,
29889,
29906,
29974,
29893,
6840,
29899,
29879,
14551,
29899,
25347,
29896,
29889,
27975,
295,
4968,
13,
1678,
1723,
13,
2
] |
eigenface.py | lion-tohiro/MyEigenface | 0 | 39249 | from cv2 import cv2
import numpy as np
import sys
import os
from base import normalize
# some parameters of training and testing data
train_sub_count = 40
train_img_count = 5
total_face = 200
row = 70
col = 70
def eigenfaces_train(src_path):
img_list = np.empty((row*col, total_face))
count = 0
# read all the faces and flatten them
for i in range(1, train_sub_count+1):
for j in range(1, train_img_count+1):
img_path = src_path + "/s" + str(i) + "/" + str(j) + ".png"
img = cv2.imread(img_path, 0)
img_col = np.array(img).flatten()
img_list[:, count] = img_col[:]
count += 1
# compute the average of the faces
img_mean = np.sum(img_list, axis=1) / total_face
diff = np.empty((row*col, total_face))
# compute the difference matrix
for i in range(0, total_face):
diff[:, i] = img_list[:, i] - img_mean[:]
cov = np.mat(diff)*np.mat(diff.T) / total_face
eigen_values, eigen_vectors = np.linalg.eigh(cov)
# sort the eigenvalues and eigenvectors by desc
sort_index = np.argsort(-eigen_values)
eigen_values = eigen_values[sort_index]
eigen_vectors = eigen_vectors[:, sort_index]
# print(eigen_values)
'''
compute the coveriance matrix
here we don't use original algrithom to avoid computing an 10000+ * 10000+ coveriance matrix later
oringinal: cov = 1/m * A*A^T => it will be an 10000+ * 10000+ matrix
when the dimension of the image (here we mean row*col) > the total number of the training images (here we mean total_face)
(1)cov*v = A*A^T*v = e*v (e is eigenvalue of cov, v is eigenvector of cov) => original
(2)let cov'*u = A^T*A*u = e*u
thus, on both sides of the equation(2) left side multiplied by A, we can get the equation below
(3)A*A^T*A*u = A*e2*u = e2*A*u
compare (1) with (3), if u is eigenvector of cov' of eigenvalue e, we can find that A*u = v
(e is not zero, cov and cov' have the same not-zero eigenvalues, but have different number of zero eigenvalue, it can be proofed)
so we can compute A^T*A instead of A*A^T to simplify the computation (which will generate a matrix with only 200 * 200 data)
cov = np.matrix(diff.T)*np.matrix(diff) / total_face
# compute the eigen values and eigen vectors of cov
eigen_values, vectors = np.linalg.eigh(cov)
eigen_vectors = np.matrix(diff)*np.matrix(vectors)
# sort the eigenvalues and eigenvectors by desc
sort_index = np.argsort(-eigen_values)
eigen_values = eigen_values[sort_index]
eigen_vectors = eigen_vectors[:, sort_index]
print(eigen_values)
'''
# for each image we compute the y (y = A^T * x, weight) and we will compare yf(the input image) with yf, find the nearest one
eigenfaces_weight = np.matrix(eigen_vectors.T)*np.matrix(diff)
return img_mean, eigen_values, eigen_vectors, eigenfaces_weight | [
1,
515,
13850,
29906,
1053,
13850,
29906,
30004,
13,
5215,
12655,
408,
7442,
30004,
13,
5215,
10876,
30004,
13,
5215,
2897,
30004,
13,
3166,
2967,
1053,
4226,
675,
30004,
13,
30004,
13,
29937,
777,
4128,
310,
6694,
322,
6724,
848,
30004,
13,
14968,
29918,
1491,
29918,
2798,
353,
29871,
29946,
29900,
30004,
13,
14968,
29918,
2492,
29918,
2798,
353,
29871,
29945,
30004,
13,
7827,
29918,
2161,
353,
29871,
29906,
29900,
29900,
30004,
13,
798,
353,
29871,
29955,
29900,
30004,
13,
1054,
353,
29871,
29955,
29900,
30004,
13,
30004,
13,
1753,
7388,
8726,
29918,
14968,
29898,
4351,
29918,
2084,
1125,
30004,
13,
1678,
10153,
29918,
1761,
353,
7442,
29889,
6310,
3552,
798,
29930,
1054,
29892,
3001,
29918,
2161,
876,
30004,
13,
1678,
2302,
353,
29871,
29900,
30004,
13,
30004,
13,
1678,
396,
1303,
599,
278,
17240,
322,
1652,
8606,
963,
30004,
13,
1678,
363,
474,
297,
3464,
29898,
29896,
29892,
7945,
29918,
1491,
29918,
2798,
29974,
29896,
1125,
30004,
13,
4706,
363,
432,
297,
3464,
29898,
29896,
29892,
7945,
29918,
2492,
29918,
2798,
29974,
29896,
1125,
30004,
13,
9651,
10153,
29918,
2084,
353,
4765,
29918,
2084,
718,
5591,
29879,
29908,
718,
851,
29898,
29875,
29897,
718,
5591,
29908,
718,
851,
29898,
29926,
29897,
718,
11393,
2732,
19451,
13,
9651,
10153,
353,
13850,
29906,
29889,
326,
949,
29898,
2492,
29918,
2084,
29892,
29871,
29900,
8443,
13,
30004,
13,
9651,
10153,
29918,
1054,
353,
7442,
29889,
2378,
29898,
2492,
467,
1579,
8606,
26471,
13,
9651,
10153,
29918,
1761,
7503,
29892,
2302,
29962,
353,
10153,
29918,
1054,
7503,
29962,
30004,
13,
9651,
2302,
4619,
29871,
29896,
30004,
13,
1678,
6756,
13,
1678,
396,
10272,
278,
6588,
310,
278,
17240,
30004,
13,
1678,
10153,
29918,
12676,
353,
7442,
29889,
2083,
29898,
2492,
29918,
1761,
29892,
9685,
29922,
29896,
29897,
847,
3001,
29918,
2161,
30004,
13,
30004,
13,
1678,
2923,
353,
7442,
29889,
6310,
3552,
798,
29930,
1054,
29892,
3001,
29918,
2161,
876,
30004,
13,
1678,
396,
10272,
278,
4328,
4636,
30004,
13,
1678,
363,
474,
297,
3464,
29898,
29900,
29892,
3001,
29918,
2161,
1125,
30004,
13,
4706,
2923,
7503,
29892,
474,
29962,
353,
10153,
29918,
1761,
7503,
29892,
474,
29962,
448,
10153,
29918,
12676,
7503,
29962,
30004,
13,
30004,
13,
1678,
18838,
353,
7442,
29889,
2922,
29898,
12765,
11877,
9302,
29889,
2922,
29898,
12765,
29889,
29911,
29897,
847,
3001,
29918,
2161,
30004,
13,
1678,
7388,
29918,
5975,
29892,
7388,
29918,
345,
14359,
353,
7442,
29889,
29880,
979,
29887,
29889,
29872,
1141,
29898,
24542,
8443,
13,
1678,
396,
2656,
278,
25973,
322,
7388,
345,
14359,
491,
5153,
30004,
13,
1678,
2656,
29918,
2248,
353,
7442,
29889,
5085,
441,
6278,
29872,
2101,
29918,
5975,
8443,
13,
1678,
7388,
29918,
5975,
353,
7388,
29918,
5975,
29961,
6605,
29918,
2248,
29962,
30004,
13,
1678,
7388,
29918,
345,
14359,
353,
7388,
29918,
345,
14359,
7503,
29892,
2656,
29918,
2248,
29962,
30004,
13,
1678,
396,
1596,
29898,
29872,
2101,
29918,
5975,
8443,
13,
1678,
14550,
30004,
13,
1678,
10272,
278,
4612,
8837,
4636,
30004,
13,
1678,
1244,
591,
1016,
29915,
29873,
671,
2441,
394,
629,
389,
290,
304,
4772,
20602,
385,
29871,
29896,
29900,
29900,
29900,
29900,
29974,
334,
29871,
29896,
29900,
29900,
29900,
29900,
29974,
4612,
8837,
4636,
2678,
30004,
13,
1678,
470,
292,
979,
29901,
18838,
353,
29871,
29896,
29914,
29885,
334,
319,
29930,
29909,
29985,
29911,
1149,
372,
674,
367,
385,
29871,
29896,
29900,
29900,
29900,
29900,
29974,
334,
29871,
29896,
29900,
29900,
29900,
29900,
29974,
4636,
30004,
13,
1678,
746,
278,
9927,
310,
278,
1967,
313,
4150,
591,
2099,
1948,
29930,
1054,
29897,
1405,
278,
3001,
1353,
310,
278,
6694,
4558,
313,
4150,
591,
2099,
3001,
29918,
2161,
8443,
13,
1678,
313,
29896,
29897,
24542,
29930,
29894,
353,
319,
29930,
29909,
29985,
29911,
29930,
29894,
353,
321,
29930,
29894,
313,
29872,
338,
7388,
1767,
310,
18838,
29892,
325,
338,
7388,
8111,
310,
18838,
29897,
1149,
2441,
30004,
13,
1678,
313,
29906,
29897,
1026,
18838,
29915,
29930,
29884,
353,
319,
29985,
29911,
29930,
29909,
29930,
29884,
353,
321,
29930,
29884,
30004,
13,
1678,
4550,
29892,
373,
1716,
11192,
310,
278,
6306,
29898,
29906,
29897,
2175,
2625,
6674,
2957,
491,
319,
29892,
591,
508,
679,
278,
6306,
2400,
30004,
13,
1678,
313,
29941,
29897,
29909,
29930,
29909,
29985,
29911,
29930,
29909,
29930,
29884,
353,
319,
29930,
29872,
29906,
29930,
29884,
353,
321,
29906,
29930,
29909,
29930,
29884,
30004,
13,
1678,
7252,
313,
29896,
29897,
411,
313,
29941,
511,
565,
318,
338,
7388,
8111,
310,
18838,
29915,
310,
7388,
1767,
321,
29892,
591,
508,
1284,
393,
319,
29930,
29884,
353,
325,
30004,
13,
1678,
313,
29872,
338,
451,
5225,
29892,
18838,
322,
18838,
29915,
505,
278,
1021,
451,
29899,
9171,
25973,
29892,
541,
505,
1422,
1353,
310,
5225,
7388,
1767,
29892,
372,
508,
367,
5296,
287,
8443,
13,
1678,
577,
591,
508,
10272,
319,
29985,
29911,
29930,
29909,
2012,
310,
319,
29930,
29909,
29985,
29911,
304,
21092,
278,
16287,
313,
4716,
674,
5706,
263,
4636,
411,
871,
29871,
29906,
29900,
29900,
334,
29871,
29906,
29900,
29900,
848,
8443,
13,
1678,
6756,
13,
1678,
18838,
353,
7442,
29889,
5344,
29898,
12765,
29889,
29911,
11877,
9302,
29889,
5344,
29898,
12765,
29897,
847,
3001,
29918,
2161,
30004,
13,
1678,
396,
10272,
278,
7388,
1819,
322,
7388,
12047,
310,
18838,
30004,
13,
1678,
7388,
29918,
5975,
29892,
12047,
353,
7442,
29889,
29880,
979,
29887,
29889,
29872,
1141,
29898,
24542,
8443,
13,
30004,
13,
1678,
7388,
29918,
345,
14359,
353,
7442,
29889,
5344,
29898,
12765,
11877,
9302,
29889,
5344,
29898,
345,
14359,
8443,
13,
1678,
396,
2656,
278,
25973,
322,
7388,
345,
14359,
491,
5153,
30004,
13,
1678,
2656,
29918,
2248,
353,
7442,
29889,
5085,
441,
6278,
29872,
2101,
29918,
5975,
8443,
13,
1678,
7388,
29918,
5975,
353,
7388,
29918,
5975,
29961,
6605,
29918,
2248,
29962,
30004,
13,
1678,
7388,
29918,
345,
14359,
353,
7388,
29918,
345,
14359,
7503,
29892,
2656,
29918,
2248,
29962,
30004,
13,
1678,
1596,
29898,
29872,
2101,
29918,
5975,
8443,
13,
1678,
14550,
30004,
13,
30004,
13,
1678,
396,
363,
1269,
1967,
591,
10272,
278,
343,
313,
29891,
353,
319,
29985,
29911,
334,
921,
29892,
7688,
29897,
322,
591,
674,
7252,
343,
29888,
29898,
1552,
1881,
1967,
29897,
411,
343,
29888,
29892,
1284,
278,
20471,
697,
30004,
13,
1678,
7388,
8726,
29918,
7915,
353,
7442,
29889,
5344,
29898,
29872,
2101,
29918,
345,
14359,
29889,
29911,
11877,
9302,
29889,
5344,
29898,
12765,
8443,
13,
1678,
6756,
13,
1678,
736,
10153,
29918,
12676,
29892,
7388,
29918,
5975,
29892,
7388,
29918,
345,
14359,
29892,
7388,
8726,
29918,
7915,
2
] |
compiler/extensions/python/runtime/src/zserio/bitfield.py | PeachOS/zserio | 2 | 26963 | <filename>compiler/extensions/python/runtime/src/zserio/bitfield.py
"""
The module provides help methods for bit fields calculation.
"""
from zserio.exception import PythonRuntimeException
def getBitFieldLowerBound(length):
"""
Gets the lower bound of a unsigned bitfield type with given length.
:param length: Length of the unsigned bitfield in bits.
:returns: The lowest value the unsigned bitfield can hold.
:raises PythonRuntimeException: If unsigned bitfield with wrong length has been specified.
"""
_checkBitFieldLength(length, MAX_UNSIGNED_BITFIELD_BITS)
return 0
def getBitFieldUpperBound(length):
"""
Gets the upper bound of a unsigned bitfield type with given length.
:param length: Length of the unsigned bitfield in bits.
:returns: The largest value the unsigned bitfield can hold.
:raises PythonRuntimeException: If unsigned bitfield with wrong length has been specified.
"""
_checkBitFieldLength(length, MAX_UNSIGNED_BITFIELD_BITS)
return (1 << length) - 1
def getSignedBitFieldLowerBound(length):
"""
Gets the lower bound of a signed bitfield type with given length.
:param length: Length of the signed bitfield in bits.
:returns: The lowest value the signed bitfield can hold.
:raises PythonRuntimeException: If signed bitfield with wrong length has been specified.
"""
_checkBitFieldLength(length, MAX_SIGNED_BITFIELD_BITS)
return -(1 << (length - 1))
def getSignedBitFieldUpperBound(length):
"""
Gets the upper bound of a signed bitfield type with given length.
:param length: Length of the signed bitfield in bits.
:returns: The largest value the signed bitfield can hold.
:raises PythonRuntimeException: If signed bitfield with wrong length has been specified.
"""
_checkBitFieldLength(length, MAX_SIGNED_BITFIELD_BITS)
return (1 << (length - 1)) - 1
def _checkBitFieldLength(length, maxBitFieldLength):
if length <= 0 or length > maxBitFieldLength:
raise PythonRuntimeException("Asking for bound of bitfield with invalid length %d!" % length)
MAX_SIGNED_BITFIELD_BITS = 64
MAX_UNSIGNED_BITFIELD_BITS = 63
| [
1,
529,
9507,
29958,
21789,
29914,
24299,
29914,
4691,
29914,
15634,
29914,
4351,
29914,
29920,
643,
601,
29914,
2966,
2671,
29889,
2272,
13,
15945,
29908,
13,
1576,
3883,
8128,
1371,
3519,
363,
2586,
4235,
13944,
29889,
13,
15945,
29908,
13,
13,
3166,
503,
643,
601,
29889,
11739,
1053,
5132,
7944,
2451,
13,
13,
1753,
679,
21591,
3073,
19357,
17109,
29898,
2848,
1125,
13,
1678,
9995,
13,
1678,
402,
1691,
278,
5224,
3216,
310,
263,
12780,
2586,
2671,
1134,
411,
2183,
3309,
29889,
13,
13,
1678,
584,
3207,
3309,
29901,
365,
1477,
310,
278,
12780,
2586,
2671,
297,
9978,
29889,
13,
1678,
584,
18280,
29901,
450,
19604,
995,
278,
12780,
2586,
2671,
508,
4808,
29889,
13,
1678,
584,
336,
4637,
5132,
7944,
2451,
29901,
960,
12780,
2586,
2671,
411,
2743,
3309,
756,
1063,
6790,
29889,
13,
1678,
9995,
13,
13,
1678,
903,
3198,
21591,
3073,
6513,
29898,
2848,
29892,
18134,
29918,
29965,
3059,
17298,
3352,
29918,
22698,
3738,
27286,
29918,
22698,
29903,
29897,
13,
1678,
736,
29871,
29900,
13,
13,
1753,
679,
21591,
3073,
26214,
17109,
29898,
2848,
1125,
13,
13,
1678,
9995,
13,
1678,
402,
1691,
278,
7568,
3216,
310,
263,
12780,
2586,
2671,
1134,
411,
2183,
3309,
29889,
13,
13,
1678,
584,
3207,
3309,
29901,
365,
1477,
310,
278,
12780,
2586,
2671,
297,
9978,
29889,
13,
1678,
584,
18280,
29901,
450,
10150,
995,
278,
12780,
2586,
2671,
508,
4808,
29889,
13,
1678,
584,
336,
4637,
5132,
7944,
2451,
29901,
960,
12780,
2586,
2671,
411,
2743,
3309,
756,
1063,
6790,
29889,
13,
1678,
9995,
13,
13,
1678,
903,
3198,
21591,
3073,
6513,
29898,
2848,
29892,
18134,
29918,
29965,
3059,
17298,
3352,
29918,
22698,
3738,
27286,
29918,
22698,
29903,
29897,
13,
1678,
736,
313,
29896,
3532,
3309,
29897,
448,
29871,
29896,
13,
13,
1753,
679,
10140,
287,
21591,
3073,
19357,
17109,
29898,
2848,
1125,
13,
1678,
9995,
13,
1678,
402,
1691,
278,
5224,
3216,
310,
263,
8794,
2586,
2671,
1134,
411,
2183,
3309,
29889,
13,
13,
1678,
584,
3207,
3309,
29901,
365,
1477,
310,
278,
8794,
2586,
2671,
297,
9978,
29889,
13,
1678,
584,
18280,
29901,
450,
19604,
995,
278,
8794,
2586,
2671,
508,
4808,
29889,
13,
1678,
584,
336,
4637,
5132,
7944,
2451,
29901,
960,
8794,
2586,
2671,
411,
2743,
3309,
756,
1063,
6790,
29889,
13,
1678,
9995,
13,
13,
1678,
903,
3198,
21591,
3073,
6513,
29898,
2848,
29892,
18134,
29918,
5425,
20728,
3352,
29918,
22698,
3738,
27286,
29918,
22698,
29903,
29897,
13,
1678,
736,
19691,
29896,
3532,
313,
2848,
448,
29871,
29896,
876,
13,
13,
1753,
679,
10140,
287,
21591,
3073,
26214,
17109,
29898,
2848,
1125,
13,
1678,
9995,
13,
1678,
402,
1691,
278,
7568,
3216,
310,
263,
8794,
2586,
2671,
1134,
411,
2183,
3309,
29889,
13,
13,
1678,
584,
3207,
3309,
29901,
365,
1477,
310,
278,
8794,
2586,
2671,
297,
9978,
29889,
13,
1678,
584,
18280,
29901,
450,
10150,
995,
278,
8794,
2586,
2671,
508,
4808,
29889,
13,
1678,
584,
336,
4637,
5132,
7944,
2451,
29901,
960,
8794,
2586,
2671,
411,
2743,
3309,
756,
1063,
6790,
29889,
13,
1678,
9995,
13,
13,
1678,
903,
3198,
21591,
3073,
6513,
29898,
2848,
29892,
18134,
29918,
5425,
20728,
3352,
29918,
22698,
3738,
27286,
29918,
22698,
29903,
29897,
13,
1678,
736,
313,
29896,
3532,
313,
2848,
448,
29871,
29896,
876,
448,
29871,
29896,
13,
13,
1753,
903,
3198,
21591,
3073,
6513,
29898,
2848,
29892,
4236,
21591,
3073,
6513,
1125,
13,
1678,
565,
3309,
5277,
29871,
29900,
470,
3309,
1405,
4236,
21591,
3073,
6513,
29901,
13,
4706,
12020,
5132,
7944,
2451,
703,
29909,
808,
292,
363,
3216,
310,
2586,
2671,
411,
8340,
3309,
1273,
29881,
3850,
1273,
3309,
29897,
13,
13,
12648,
29918,
5425,
20728,
3352,
29918,
22698,
3738,
27286,
29918,
22698,
29903,
353,
29871,
29953,
29946,
13,
12648,
29918,
29965,
3059,
17298,
3352,
29918,
22698,
3738,
27286,
29918,
22698,
29903,
353,
29871,
29953,
29941,
13,
2
] |
functions/dissectData/lambda_handler.py | zinedine-zeitnot/anomaly-detection | 3 | 23678 | <filename>functions/dissectData/lambda_handler.py<gh_stars>1-10
from data_dissector import DataDissector
def handler(event, _):
switchpoint_trio = DataDissector.dissect_data(data=event['data'])
return {
"switchpoint": switchpoint_trio.switchpoint,
"preSwitchAverage": switchpoint_trio.pre_switch_average,
"postSwitchAverage": switchpoint_trio.post_switch_average,
}
| [
1,
529,
9507,
29958,
12171,
29914,
2218,
8803,
1469,
29914,
2892,
29918,
13789,
29889,
2272,
29966,
12443,
29918,
303,
1503,
29958,
29896,
29899,
29896,
29900,
13,
3166,
848,
29918,
2218,
344,
2801,
1053,
3630,
4205,
344,
2801,
13,
13,
13,
1753,
7834,
29898,
3696,
29892,
903,
1125,
13,
1678,
4607,
3149,
29918,
3626,
29877,
353,
3630,
4205,
344,
2801,
29889,
2218,
8803,
29918,
1272,
29898,
1272,
29922,
3696,
1839,
1272,
11287,
13,
268,
13,
1678,
736,
426,
13,
4706,
376,
15123,
3149,
1115,
4607,
3149,
29918,
3626,
29877,
29889,
15123,
3149,
29892,
13,
4706,
376,
1457,
24995,
29909,
19698,
1115,
4607,
3149,
29918,
3626,
29877,
29889,
1457,
29918,
15123,
29918,
12483,
482,
29892,
13,
4706,
376,
2490,
24995,
29909,
19698,
1115,
4607,
3149,
29918,
3626,
29877,
29889,
2490,
29918,
15123,
29918,
12483,
482,
29892,
13,
1678,
500,
29871,
13,
2
] |
VkChatBot/bot.py | valerii-chirkov/PythonToolsAndPrograms | 0 | 69954 | import requests
from pony.orm import db_session
from chatbot import handlers
import _token
from chatbot.models import UserState, Registration
try:
import settings
except ImportError:
exit('Do cp settings.py.default settings.py and set token!')
from vk_api import VkApi
from vk_api.bot_longpoll import VkBotLongPoll, VkBotEventType
import random
import logging
log = logging.getLogger("bot")
def configure_logging():
stream_handler = logging.StreamHandler()
stream_handler.setFormatter(logging.Formatter("%(levelname)s %(message)s"))
stream_handler.setLevel(logging.INFO)
log.addHandler(stream_handler)
file_handler = logging.FileHandler("bot.log")
logging.Formatter.default_time_format = '%d-%m-%Y %H:%M'
file_handler.setFormatter(logging.Formatter("%(asctime)s %(levelname)s %(message)s"))
file_handler.setLevel(logging.DEBUG)
log.addHandler(file_handler)
log.setLevel(logging.DEBUG)
class Bot:
"""
Echo bot for vk.com
Use python >3.7
"""
def __init__(self, group_id, token):
"""
:param group_id: group id
:param token: secret token
"""
self.group_id = group_id
self.token = token
self.vk = VkApi(token=self.token)
self.long_poller = VkBotLongPoll(vk=self.vk, group_id=self.group_id)
self.api = self.vk.get_api()
def run(self):
for event in self.long_poller.listen():
try:
self.on_event(event)
except Exception as ex:
log.exception('Ошибка в обработке события. %s', type(ex))
@db_session
def on_event(self, event):
if event.type != VkBotEventType.MESSAGE_NEW:
log.info('Мы пока не умеем обрабатывать события такого типа. %s', event.type)
return
user_id = event.object.peer_id
text = event.object.text
state = UserState.get(user_id=str(user_id))
if state is not None:
self.continue_scenario(text, state, user_id)
else:
# search intent
for intent in settings.INTENTS:
log.debug(f'User got {intent}')
if any(token in text.lower() for token in intent['tokens']):
# run intent
if intent['answer']:
self.send_text(intent['answer'], user_id)
else:
self.start_scenario(user_id, intent['scenario'], text)
break
else:
self.send_text(settings.DEFAULT_ANSWER, user_id)
def send_text(self, text_to_send, user_id):
self.api.messages.send(
message=text_to_send,
random_id=random.randint(0, 2 ** 20),
peer_id=user_id)
def send_image(self, image, user_id):
upload_url = self.api.photos.getMessagesUploadServer()['upload_url']
upload_data = requests.post(url=upload_url, files={'photo': ('image.png', image, 'image/png')}).json()
image_data = self.api.photos.saveMessagesPhoto(**upload_data)
owner_id = image_data[0]['owner_id']
media_id = image_data[0]['id']
attachment = f'photo{owner_id}_{media_id}'
self.api.messages.send(
attachment=attachment,
random_id=random.randint(0, 2 ** 20),
peer_id=user_id)
def send_step(self, step, user_id, text, context):
if 'text' in step:
self.send_text(step['text'].format(**context), user_id)
if 'image' in step:
handler = getattr(handlers, step['image'])
image = handler(text, context)
self.send_image(image, user_id)
def start_scenario(self, user_id, scenario_name, text):
scenario = settings.SCENARIOS[scenario_name]
first_step = scenario['first_step']
step = scenario['steps'][first_step]
self.send_step(step, user_id, text, context={})
UserState(user_id=str(user_id), scenario_name=scenario_name, step_name=first_step, context={})
def continue_scenario(self, text, state, user_id):
steps = settings.SCENARIOS[state.scenario_name]['steps']
step = steps[state.step_name]
handler = getattr(handlers, step['handler'])
if handler(text=text, context=state.context):
# next_step
next_step = steps[step['next_step']]
self.send_step(next_step, user_id, text, state.context)
if next_step['next_step']:
# switch to next step
state.step_name = step['next_step']
else:
# finish scenario
log.info('Registered {name} {email}'.format(**state.context))
Registration(name=state.context['name'], email=state.context['email'])
state.delete()
else:
# retry current step
text_to_send = step['failure_text'].format(**state.context)
self.send_text(text_to_send, user_id)
if __name__ == '__main__':
configure_logging()
bot = Bot(_token.GROUP_ID, _token.TOKEN)
bot.run()
| [
1,
1053,
7274,
13,
3166,
282,
2592,
29889,
555,
1053,
4833,
29918,
7924,
13,
13,
3166,
13563,
7451,
1053,
25795,
13,
5215,
903,
6979,
13,
3166,
13563,
7451,
29889,
9794,
1053,
4911,
2792,
29892,
2169,
8306,
13,
13,
2202,
29901,
13,
1678,
1053,
6055,
13,
19499,
16032,
2392,
29901,
13,
1678,
6876,
877,
6132,
21447,
6055,
29889,
2272,
29889,
4381,
6055,
29889,
2272,
322,
731,
5993,
29991,
1495,
13,
13,
3166,
325,
29895,
29918,
2754,
1053,
478,
29895,
11713,
13,
3166,
325,
29895,
29918,
2754,
29889,
7451,
29918,
5426,
29886,
3028,
1053,
478,
29895,
29933,
327,
8208,
29925,
3028,
29892,
478,
29895,
29933,
327,
2624,
1542,
13,
13,
5215,
4036,
13,
5215,
12183,
13,
13,
1188,
353,
12183,
29889,
657,
16363,
703,
7451,
1159,
13,
13,
13,
1753,
10822,
29918,
21027,
7295,
13,
1678,
4840,
29918,
13789,
353,
12183,
29889,
3835,
4598,
580,
13,
1678,
4840,
29918,
13789,
29889,
842,
18522,
29898,
21027,
29889,
18522,
11702,
29898,
5563,
978,
29897,
29879,
1273,
29898,
4906,
29897,
29879,
5783,
13,
1678,
4840,
29918,
13789,
29889,
842,
10108,
29898,
21027,
29889,
11690,
29897,
13,
1678,
1480,
29889,
1202,
4598,
29898,
5461,
29918,
13789,
29897,
13,
13,
1678,
934,
29918,
13789,
353,
12183,
29889,
2283,
4598,
703,
7451,
29889,
1188,
1159,
13,
1678,
12183,
29889,
18522,
29889,
4381,
29918,
2230,
29918,
4830,
353,
14210,
29881,
19222,
29885,
19222,
29979,
1273,
29950,
16664,
29924,
29915,
13,
1678,
934,
29918,
13789,
29889,
842,
18522,
29898,
21027,
29889,
18522,
11702,
29898,
294,
312,
603,
29897,
29879,
1273,
29898,
5563,
978,
29897,
29879,
1273,
29898,
4906,
29897,
29879,
5783,
13,
1678,
934,
29918,
13789,
29889,
842,
10108,
29898,
21027,
29889,
18525,
29897,
13,
13,
1678,
1480,
29889,
1202,
4598,
29898,
1445,
29918,
13789,
29897,
13,
1678,
1480,
29889,
842,
10108,
29898,
21027,
29889,
18525,
29897,
13,
13,
13,
1990,
11273,
29901,
13,
1678,
9995,
13,
1678,
382,
1859,
9225,
363,
325,
29895,
29889,
510,
13,
1678,
4803,
3017,
1405,
29941,
29889,
29955,
13,
1678,
9995,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
2318,
29918,
333,
29892,
5993,
1125,
13,
4706,
9995,
13,
4706,
584,
3207,
2318,
29918,
333,
29901,
2318,
1178,
13,
4706,
584,
3207,
5993,
29901,
7035,
5993,
13,
4706,
9995,
13,
4706,
1583,
29889,
2972,
29918,
333,
353,
2318,
29918,
333,
13,
4706,
1583,
29889,
6979,
353,
5993,
13,
4706,
1583,
29889,
29894,
29895,
353,
478,
29895,
11713,
29898,
6979,
29922,
1311,
29889,
6979,
29897,
13,
4706,
1583,
29889,
5426,
29918,
3733,
1358,
353,
478,
29895,
29933,
327,
8208,
29925,
3028,
29898,
29894,
29895,
29922,
1311,
29889,
29894,
29895,
29892,
2318,
29918,
333,
29922,
1311,
29889,
2972,
29918,
333,
29897,
13,
4706,
1583,
29889,
2754,
353,
1583,
29889,
29894,
29895,
29889,
657,
29918,
2754,
580,
13,
13,
1678,
822,
1065,
29898,
1311,
1125,
13,
4706,
363,
1741,
297,
1583,
29889,
5426,
29918,
3733,
1358,
29889,
20631,
7295,
13,
9651,
1018,
29901,
13,
18884,
1583,
29889,
265,
29918,
3696,
29898,
3696,
29897,
13,
9651,
5174,
8960,
408,
429,
29901,
13,
18884,
1480,
29889,
11739,
877,
30038,
1911,
23348,
490,
9111,
1782,
29932,
2476,
1778,
6326,
8883,
29889,
1273,
29879,
742,
1134,
29898,
735,
876,
13,
13,
1678,
732,
2585,
29918,
7924,
13,
1678,
822,
373,
29918,
3696,
29898,
1311,
29892,
1741,
1125,
13,
4706,
565,
1741,
29889,
1853,
2804,
478,
29895,
29933,
327,
2624,
1542,
29889,
2303,
1799,
10461,
29918,
28577,
29901,
13,
9651,
1480,
29889,
3888,
877,
30017,
29982,
25693,
1538,
863,
1488,
3098,
9111,
3102,
3327,
24058,
1778,
6326,
8883,
1710,
8199,
7109,
1843,
29889,
1273,
29879,
742,
1741,
29889,
1853,
29897,
13,
9651,
736,
13,
13,
4706,
1404,
29918,
333,
353,
1741,
29889,
3318,
29889,
412,
261,
29918,
333,
13,
4706,
1426,
353,
1741,
29889,
3318,
29889,
726,
13,
4706,
2106,
353,
4911,
2792,
29889,
657,
29898,
1792,
29918,
333,
29922,
710,
29898,
1792,
29918,
333,
876,
13,
13,
4706,
565,
2106,
338,
451,
6213,
29901,
13,
9651,
1583,
29889,
19878,
29918,
1557,
24893,
29898,
726,
29892,
2106,
29892,
1404,
29918,
333,
29897,
13,
4706,
1683,
29901,
13,
9651,
396,
2740,
7609,
13,
9651,
363,
7609,
297,
6055,
29889,
10192,
3919,
29903,
29901,
13,
18884,
1480,
29889,
8382,
29898,
29888,
29915,
2659,
2355,
426,
14029,
29913,
1495,
13,
18884,
565,
738,
29898,
6979,
297,
1426,
29889,
13609,
580,
363,
5993,
297,
7609,
1839,
517,
12360,
2033,
1125,
13,
462,
1678,
396,
1065,
7609,
13,
462,
1678,
565,
7609,
1839,
12011,
2033,
29901,
13,
462,
4706,
1583,
29889,
6717,
29918,
726,
29898,
14029,
1839,
12011,
7464,
1404,
29918,
333,
29897,
13,
462,
1678,
1683,
29901,
13,
462,
4706,
1583,
29889,
2962,
29918,
1557,
24893,
29898,
1792,
29918,
333,
29892,
7609,
1839,
1557,
24893,
7464,
1426,
29897,
13,
462,
1678,
2867,
13,
9651,
1683,
29901,
13,
18884,
1583,
29889,
6717,
29918,
726,
29898,
11027,
29889,
23397,
29918,
2190,
23066,
1001,
29892,
1404,
29918,
333,
29897,
13,
13,
1678,
822,
3638,
29918,
726,
29898,
1311,
29892,
1426,
29918,
517,
29918,
6717,
29892,
1404,
29918,
333,
1125,
13,
4706,
1583,
29889,
2754,
29889,
19158,
29889,
6717,
29898,
13,
9651,
2643,
29922,
726,
29918,
517,
29918,
6717,
29892,
13,
9651,
4036,
29918,
333,
29922,
8172,
29889,
9502,
524,
29898,
29900,
29892,
29871,
29906,
3579,
29871,
29906,
29900,
511,
13,
9651,
23533,
29918,
333,
29922,
1792,
29918,
333,
29897,
13,
13,
1678,
822,
3638,
29918,
3027,
29898,
1311,
29892,
1967,
29892,
1404,
29918,
333,
1125,
13,
4706,
6441,
29918,
2271,
353,
1583,
29889,
2754,
29889,
561,
15788,
29889,
657,
25510,
17553,
6004,
580,
1839,
9009,
29918,
2271,
2033,
13,
4706,
6441,
29918,
1272,
353,
7274,
29889,
2490,
29898,
2271,
29922,
9009,
29918,
2271,
29892,
2066,
3790,
29915,
21596,
2396,
6702,
3027,
29889,
2732,
742,
1967,
29892,
525,
3027,
29914,
2732,
1495,
7690,
3126,
580,
13,
4706,
1967,
29918,
1272,
353,
1583,
29889,
2754,
29889,
561,
15788,
29889,
7620,
25510,
25971,
29898,
1068,
9009,
29918,
1272,
29897,
13,
13,
4706,
12271,
29918,
333,
353,
1967,
29918,
1272,
29961,
29900,
22322,
20348,
29918,
333,
2033,
13,
4706,
5745,
29918,
333,
353,
1967,
29918,
1272,
29961,
29900,
22322,
333,
2033,
13,
4706,
26305,
353,
285,
29915,
21596,
29912,
20348,
29918,
333,
3227,
9799,
29918,
333,
10162,
13,
13,
4706,
1583,
29889,
2754,
29889,
19158,
29889,
6717,
29898,
13,
9651,
26305,
29922,
14930,
358,
29892,
13,
9651,
4036,
29918,
333,
29922,
8172,
29889,
9502,
524,
29898,
29900,
29892,
29871,
29906,
3579,
29871,
29906,
29900,
511,
13,
9651,
23533,
29918,
333,
29922,
1792,
29918,
333,
29897,
13,
13,
1678,
822,
3638,
29918,
10568,
29898,
1311,
29892,
4331,
29892,
1404,
29918,
333,
29892,
1426,
29892,
3030,
1125,
13,
4706,
565,
525,
726,
29915,
297,
4331,
29901,
13,
9651,
1583,
29889,
6717,
29918,
726,
29898,
10568,
1839,
726,
13359,
4830,
29898,
1068,
4703,
511,
1404,
29918,
333,
29897,
13,
4706,
565,
525,
3027,
29915,
297,
4331,
29901,
13,
9651,
7834,
353,
679,
5552,
29898,
3179,
9306,
29892,
4331,
1839,
3027,
11287,
13,
9651,
1967,
353,
7834,
29898,
726,
29892,
3030,
29897,
13,
9651,
1583,
29889,
6717,
29918,
3027,
29898,
3027,
29892,
1404,
29918,
333,
29897,
13,
13,
1678,
822,
1369,
29918,
1557,
24893,
29898,
1311,
29892,
1404,
29918,
333,
29892,
10483,
29918,
978,
29892,
1426,
1125,
13,
4706,
10483,
353,
6055,
29889,
7187,
1430,
1718,
25925,
29961,
1557,
24893,
29918,
978,
29962,
13,
4706,
937,
29918,
10568,
353,
10483,
1839,
4102,
29918,
10568,
2033,
13,
4706,
4331,
353,
10483,
1839,
24530,
2033,
29961,
4102,
29918,
10568,
29962,
13,
4706,
1583,
29889,
6717,
29918,
10568,
29898,
10568,
29892,
1404,
29918,
333,
29892,
1426,
29892,
3030,
3790,
1800,
13,
4706,
4911,
2792,
29898,
1792,
29918,
333,
29922,
710,
29898,
1792,
29918,
333,
511,
10483,
29918,
978,
29922,
1557,
24893,
29918,
978,
29892,
4331,
29918,
978,
29922,
4102,
29918,
10568,
29892,
3030,
3790,
1800,
13,
13,
1678,
822,
6773,
29918,
1557,
24893,
29898,
1311,
29892,
1426,
29892,
2106,
29892,
1404,
29918,
333,
1125,
13,
4706,
6576,
353,
6055,
29889,
7187,
1430,
1718,
25925,
29961,
3859,
29889,
1557,
24893,
29918,
978,
22322,
24530,
2033,
13,
4706,
4331,
353,
6576,
29961,
3859,
29889,
10568,
29918,
978,
29962,
13,
13,
4706,
7834,
353,
679,
5552,
29898,
3179,
9306,
29892,
4331,
1839,
13789,
11287,
13,
4706,
565,
7834,
29898,
726,
29922,
726,
29892,
3030,
29922,
3859,
29889,
4703,
1125,
13,
9651,
396,
2446,
29918,
10568,
13,
9651,
2446,
29918,
10568,
353,
6576,
29961,
10568,
1839,
4622,
29918,
10568,
2033,
29962,
13,
9651,
1583,
29889,
6717,
29918,
10568,
29898,
4622,
29918,
10568,
29892,
1404,
29918,
333,
29892,
1426,
29892,
2106,
29889,
4703,
29897,
13,
13,
9651,
565,
2446,
29918,
10568,
1839,
4622,
29918,
10568,
2033,
29901,
13,
18884,
396,
4607,
304,
2446,
4331,
13,
18884,
2106,
29889,
10568,
29918,
978,
353,
4331,
1839,
4622,
29918,
10568,
2033,
13,
9651,
1683,
29901,
13,
18884,
396,
8341,
10483,
13,
18884,
1480,
29889,
3888,
877,
15213,
287,
426,
978,
29913,
426,
5269,
29913,
4286,
4830,
29898,
1068,
3859,
29889,
4703,
876,
13,
18884,
2169,
8306,
29898,
978,
29922,
3859,
29889,
4703,
1839,
978,
7464,
4876,
29922,
3859,
29889,
4703,
1839,
5269,
11287,
13,
18884,
2106,
29889,
8143,
580,
13,
4706,
1683,
29901,
13,
9651,
396,
337,
2202,
1857,
4331,
13,
9651,
1426,
29918,
517,
29918,
6717,
353,
4331,
1839,
14057,
545,
29918,
726,
13359,
4830,
29898,
1068,
3859,
29889,
4703,
29897,
13,
9651,
1583,
29889,
6717,
29918,
726,
29898,
726,
29918,
517,
29918,
6717,
29892,
1404,
29918,
333,
29897,
13,
13,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
1678,
10822,
29918,
21027,
580,
13,
1678,
9225,
353,
11273,
7373,
6979,
29889,
26284,
29918,
1367,
29892,
903,
6979,
29889,
4986,
29968,
1430,
29897,
13,
1678,
9225,
29889,
3389,
580,
13,
2
] |
_conf.py | rohe/dstester | 1 | 61130 | <gh_stars>1-10
from saml2 import BINDING_HTTP_REDIRECT
from saml2 import BINDING_HTTP_POST
from saml2.extension.idpdisc import BINDING_DISCO
from saml2.saml import NAME_FORMAT_URI
#BASE= "http://localhost:8087"
BASE = "https://lingon.ladok.umu.se:8087"
CONFIG = {
"entityid": "%s/sp.xml" % BASE,
"description": "My SP",
"service": {
"sp": {
"name": "DS Tester",
"endpoints": {
"assertion_consumer_service": [
("%s/acs/redirect" % BASE, BINDING_HTTP_REDIRECT),
("%s/acs/post" % BASE, BINDING_HTTP_POST)],
"single_logout_service": [
("%s/slo" % BASE, BINDING_HTTP_REDIRECT)],
"discovery_response": [
("%s/disco" % BASE, BINDING_DISCO)
]
},
}
},
"debug": 1,
"key_file": "pki/mykey.pem",
"cert_file": "pki/mycert.pem",
"attribute_map_dir": "./attributemaps",
"metadata": {"mdfile": ["./swamid2.md"]},
# -- below used by make_metadata --
"organization": {
"name": "ITS",
"display_name": [("Umea Universitet - ITS", "se"),
("Umea Universitet ITS", "en")],
"url": "http://www.its.umu.se",
},
"contact_person": [
{
"given_name": "Roland",
"sur_name": "Hedberg",
"email_address": ["<EMAIL>"],
"contact_type": "technical",
},
],
"xmlsec_binary": "/opt/local/bin/xmlsec1",
"name_form": NAME_FORMAT_URI,
"logger": {
"rotating": {
"filename": "sp.log",
"maxBytes": 1000000,
"backupCount": 5,
},
"loglevel": "debug",
}
}
| [
1,
529,
12443,
29918,
303,
1503,
29958,
29896,
29899,
29896,
29900,
13,
3166,
3514,
29880,
29906,
1053,
350,
22255,
4214,
29918,
10493,
29918,
1525,
4571,
26282,
13,
3166,
3514,
29880,
29906,
1053,
350,
22255,
4214,
29918,
10493,
29918,
5438,
13,
3166,
3514,
29880,
29906,
29889,
17588,
29889,
333,
29886,
2218,
29883,
1053,
350,
22255,
4214,
29918,
23711,
3217,
13,
3166,
3514,
29880,
29906,
29889,
29879,
8807,
1053,
27085,
29918,
19094,
1299,
29918,
15551,
13,
13,
29937,
25416,
29922,
376,
1124,
597,
7640,
29901,
29947,
29900,
29947,
29955,
29908,
13,
25416,
353,
376,
991,
597,
1847,
265,
29889,
4528,
554,
29889,
398,
29884,
29889,
344,
29901,
29947,
29900,
29947,
29955,
29908,
13,
13,
25903,
353,
426,
13,
1678,
376,
10041,
333,
1115,
11860,
29879,
29914,
1028,
29889,
3134,
29908,
1273,
350,
8127,
29892,
13,
1678,
376,
8216,
1115,
376,
3421,
10937,
613,
13,
1678,
376,
5509,
1115,
426,
13,
4706,
376,
1028,
1115,
426,
13,
9651,
376,
978,
1115,
376,
8452,
323,
4156,
613,
13,
9651,
376,
355,
9748,
1115,
426,
13,
18884,
376,
9294,
291,
29918,
25978,
261,
29918,
5509,
1115,
518,
13,
462,
1678,
4852,
29995,
29879,
29914,
16815,
29914,
17886,
29908,
1273,
350,
8127,
29892,
350,
22255,
4214,
29918,
10493,
29918,
1525,
4571,
26282,
511,
13,
462,
1678,
4852,
29995,
29879,
29914,
16815,
29914,
2490,
29908,
1273,
350,
8127,
29892,
350,
22255,
4214,
29918,
10493,
29918,
5438,
29897,
1402,
13,
18884,
376,
14369,
29918,
1188,
449,
29918,
5509,
1115,
518,
13,
462,
1678,
4852,
29995,
29879,
29914,
29879,
417,
29908,
1273,
350,
8127,
29892,
350,
22255,
4214,
29918,
10493,
29918,
1525,
4571,
26282,
29897,
1402,
13,
18884,
376,
2218,
11911,
29891,
29918,
5327,
1115,
518,
13,
462,
1678,
4852,
29995,
29879,
29914,
2218,
1111,
29908,
1273,
350,
8127,
29892,
350,
22255,
4214,
29918,
23711,
3217,
29897,
13,
18884,
4514,
13,
9651,
2981,
13,
4706,
500,
13,
1678,
2981,
13,
1678,
376,
8382,
1115,
29871,
29896,
29892,
13,
1678,
376,
1989,
29918,
1445,
1115,
376,
29886,
1984,
29914,
1357,
1989,
29889,
29886,
331,
613,
13,
1678,
376,
6327,
29918,
1445,
1115,
376,
29886,
1984,
29914,
1357,
6327,
29889,
29886,
331,
613,
13,
1678,
376,
12715,
29918,
1958,
29918,
3972,
1115,
376,
6904,
1131,
1091,
329,
331,
2547,
613,
13,
1678,
376,
19635,
1115,
8853,
3487,
1445,
1115,
518,
1642,
29914,
2774,
314,
333,
29906,
29889,
3487,
3108,
1118,
13,
1678,
396,
1192,
2400,
1304,
491,
1207,
29918,
19635,
1192,
13,
1678,
376,
6388,
2133,
1115,
426,
13,
4706,
376,
978,
1115,
376,
1806,
29903,
613,
13,
4706,
376,
4990,
29918,
978,
1115,
518,
703,
29965,
1004,
29874,
2116,
7369,
448,
306,
9375,
613,
376,
344,
4968,
13,
462,
308,
4852,
29965,
1004,
29874,
2116,
7369,
306,
9375,
613,
376,
264,
1159,
1402,
13,
4706,
376,
2271,
1115,
376,
1124,
597,
1636,
29889,
1169,
29889,
398,
29884,
29889,
344,
613,
13,
1678,
2981,
13,
1678,
376,
12346,
29918,
10532,
1115,
518,
13,
4706,
426,
13,
9651,
376,
29887,
5428,
29918,
978,
1115,
376,
29934,
324,
392,
613,
13,
9651,
376,
7610,
29918,
978,
1115,
376,
29950,
287,
2552,
613,
13,
9651,
376,
5269,
29918,
7328,
1115,
6796,
29966,
26862,
6227,
11903,
1402,
13,
9651,
376,
12346,
29918,
1853,
1115,
376,
21695,
936,
613,
13,
4706,
2981,
13,
1678,
21251,
13,
1678,
376,
3134,
3471,
29918,
19541,
1115,
5591,
3670,
29914,
2997,
29914,
2109,
29914,
3134,
3471,
29896,
613,
13,
1678,
376,
978,
29918,
689,
1115,
27085,
29918,
19094,
1299,
29918,
15551,
29892,
13,
1678,
376,
21707,
1115,
426,
13,
4706,
376,
5450,
1218,
1115,
426,
13,
9651,
376,
9507,
1115,
376,
1028,
29889,
1188,
613,
13,
9651,
376,
3317,
11207,
1115,
29871,
29896,
29900,
29900,
29900,
29900,
29900,
29900,
29892,
13,
9651,
376,
1627,
786,
3981,
1115,
29871,
29945,
29892,
13,
4706,
2981,
13,
4706,
376,
1188,
5563,
1115,
376,
8382,
613,
13,
1678,
500,
13,
29913,
13,
2
] |
import_data.py | arcyfelix/Object-Shape-Classification-Utilizing-Magnetic-Field-Disturbance-and-Supervised-Machine-Learning | 1 | 88381 | <filename>import_data.py<gh_stars>1-10
import pandas as pd
import numpy as np
from tflearn.data_utils import to_categorical
from import_data import *
def import_csv(file_path, shuffle = False):
data = pd.read_csv(file_path)
print('*' * 70)
print('Import CSV file has been successful!')
if shuffle == True:
data.reindex(np.random.permutation(data.index))
print('The data has been shuffled!')
else:
print('The data has not been shuffled!')
return data
def labels_info(output_data):
labels_names = np.unique(output_data)
number_of_labels = labels_names.shape[0]
print('*' * 70)
print("Number of uniques categories:", number_of_labels)
labels_as_numbers = np.arange(number_of_labels)
print("Categories as numbers", labels_as_numbers)
for _ in labels_as_numbers:
print('Category ' + str(_) + ' is ' + str(labels_names[_]))
return number_of_labels
def labels_as_numbers(output_data):
_, output_data_as_numbers = np.unique(output_data, return_inverse=True)
return output_data_as_numbers
# -------------------------------------------------------------------------------
# Acquiring the data
def get_data_MNIST():
folder = 'Digit Recognizer'
file_name = 'train.csv'
specific_dataset_source = folder + '/' + file_name
output_columns = ['label']
data = import_csv(specific_dataset_source, shuffle = True)
# Data split into the input and output
x_data = data
y_data = np.array(data.pop('label'))
print('Shape of the input data:', x_data.shape)
print('Shape of the output data:', y_data.shape)
# Standalization
x_data = x_data / 255
num_samples = x_data.shape[0]
input_features = x_data.shape[1]
print('Number of samples:', num_samples)
print('Number of the input features:', input_features)
y_data_as_numbers = labels_as_numbers(y_data)
# Cross validation data preparation
split_percentage = 80
split_index = int(x_data.shape[0]/(100/split_percentage))
x_train = np.array(x_data[:split_index])
x_val = np.array(x_data[split_index:])
y_train = np.array(y_data_as_numbers[:split_index])
y_val = np.array(y_data_as_numbers[split_index:])
# Information about the data
print(x_train.shape)
print(x_val.shape)
print(y_train.shape)
print(y_val.shape)
# Shaping data into the correct shape.
x_train = x_train.reshape([-1, 28, 28, 1])
x_val = x_val.reshape([-1, 28, 28, 1])
y_train = to_categorical(y_train, nb_classes = 10)
y_val = to_categorical(y_val, nb_classes = 10)
return x_train, x_val, y_train, y_val
def get_data_MNIST_test():
# Loading the test data
file_name_test = 'test.csv'
folder = 'Digit Recognizer'
source = folder + '/' + file_name_test
data = pd.read_csv(source)
test_input = data.loc[:, :]
return test_input.as_matrix()
# Oxford Flowers Dataset
def get_data_oxford_flowers():
import tflearn.datasets.oxflower17 as oxflower17
X, Y = oxflower17.load_data(one_hot = True, resize_pics = (227, 227))
split_percentage = 80
split_index = int(X.shape[0]/(100/split_percentage))
x_train = np.array(X[:split_index])
x_val = np.array(X[split_index:])
y_train = np.array(Y[:split_index])
y_val = np.array(Y[split_index:])
return x_train, x_val, y_train, y_val
def get_data_CIFAR10(dataset = 'Train + Val'):
from tflearn.datasets import cifar10
(X, Y), (X_test, Y_test) = cifar10.load_data(one_hot=True)
# Size is 32, 32, 3
split_percentage = 100
split_index = int(X.shape[0]/(100/split_percentage))
x_train = np.array(X[:split_index])
x_val = np.array(X[split_index:])
y_train = np.array(Y[:split_index])
y_val = np.array(Y[split_index:])
if dataset == 'Train + Val':
return x_train, x_val, y_train, y_val
else:
return X_test, Y_test
def get_data_MNIST_native(dataset = 'Train + Val'):
import tflearn.datasets.mnist as mnist
X, Y, X_test, Y_test = mnist.load_data(one_hot =True)
X = X.reshape([-1, 28, 28, 1])
X_test = X_test.reshape([-1, 28, 28, 1])
# Size is 28, 28, 1
split_percentage = 100
split_index = int(X.shape[0]/(100/split_percentage))
x_train = np.array(X[:split_index])
x_val = np.array(X[split_index:])
y_train = np.array(Y[:split_index])
y_val = np.array(Y[split_index:])
if dataset == 'Train + Val':
return x_train, x_val, y_train, y_val
else:
return X_test, Y_test
| [
1,
529,
9507,
29958,
5215,
29918,
1272,
29889,
2272,
29966,
12443,
29918,
303,
1503,
29958,
29896,
29899,
29896,
29900,
13,
5215,
11701,
408,
10518,
13,
5215,
12655,
408,
7442,
13,
3166,
15886,
19668,
29889,
1272,
29918,
13239,
1053,
304,
29918,
29883,
20440,
936,
13,
3166,
1053,
29918,
1272,
1053,
334,
13,
13,
1753,
1053,
29918,
7638,
29898,
1445,
29918,
2084,
29892,
528,
21897,
353,
7700,
1125,
13,
1678,
848,
353,
10518,
29889,
949,
29918,
7638,
29898,
1445,
29918,
2084,
29897,
13,
1678,
1596,
877,
29930,
29915,
334,
29871,
29955,
29900,
29897,
13,
1678,
1596,
877,
17518,
16874,
934,
756,
1063,
9150,
29991,
1495,
13,
1678,
565,
528,
21897,
1275,
5852,
29901,
13,
4706,
848,
29889,
276,
2248,
29898,
9302,
29889,
8172,
29889,
546,
6149,
362,
29898,
1272,
29889,
2248,
876,
13,
4706,
1596,
877,
1576,
848,
756,
1063,
528,
3096,
839,
29991,
1495,
13,
1678,
1683,
29901,
13,
4706,
1596,
877,
1576,
848,
756,
451,
1063,
528,
3096,
839,
29991,
1495,
13,
1678,
736,
848,
13,
13,
1753,
11073,
29918,
3888,
29898,
4905,
29918,
1272,
1125,
13,
1678,
11073,
29918,
7039,
353,
7442,
29889,
13092,
29898,
4905,
29918,
1272,
29897,
13,
1678,
1353,
29918,
974,
29918,
21134,
353,
11073,
29918,
7039,
29889,
12181,
29961,
29900,
29962,
13,
1678,
1596,
877,
29930,
29915,
334,
29871,
29955,
29900,
29897,
13,
1678,
1596,
703,
4557,
310,
443,
3783,
13997,
29901,
613,
1353,
29918,
974,
29918,
21134,
29897,
13,
1678,
11073,
29918,
294,
29918,
20326,
353,
7442,
29889,
279,
927,
29898,
4537,
29918,
974,
29918,
21134,
29897,
13,
1678,
1596,
703,
29907,
14404,
408,
3694,
613,
11073,
29918,
294,
29918,
20326,
29897,
13,
13,
1678,
363,
903,
297,
11073,
29918,
294,
29918,
20326,
29901,
13,
4706,
1596,
877,
10900,
525,
718,
851,
7373,
29897,
718,
525,
338,
525,
718,
851,
29898,
21134,
29918,
7039,
28513,
12622,
13,
1678,
736,
1353,
29918,
974,
29918,
21134,
13,
13,
1753,
11073,
29918,
294,
29918,
20326,
29898,
4905,
29918,
1272,
1125,
13,
1678,
17117,
1962,
29918,
1272,
29918,
294,
29918,
20326,
353,
7442,
29889,
13092,
29898,
4905,
29918,
1272,
29892,
736,
29918,
262,
3901,
29922,
5574,
29897,
13,
1678,
736,
1962,
29918,
1272,
29918,
294,
29918,
20326,
13,
13,
29937,
448,
2683,
2683,
2683,
2683,
9072,
489,
13,
29937,
7255,
339,
8491,
278,
848,
13,
1753,
679,
29918,
1272,
29918,
29924,
29940,
9047,
7295,
13,
12,
12083,
353,
525,
14991,
277,
3599,
3811,
3950,
29915,
13,
12,
1445,
29918,
978,
353,
525,
14968,
29889,
7638,
29915,
13,
12,
14940,
29918,
24713,
29918,
4993,
353,
4138,
718,
8207,
29915,
718,
934,
29918,
978,
13,
12,
4905,
29918,
13099,
353,
6024,
1643,
2033,
13,
13,
12,
1272,
353,
1053,
29918,
7638,
29898,
14940,
29918,
24713,
29918,
4993,
29892,
528,
21897,
353,
5852,
29897,
13,
13,
12,
29937,
3630,
6219,
964,
278,
1881,
322,
1962,
13,
12,
29916,
29918,
1272,
353,
848,
13,
12,
29891,
29918,
1272,
353,
7442,
29889,
2378,
29898,
1272,
29889,
7323,
877,
1643,
8785,
13,
13,
12,
2158,
877,
24111,
310,
278,
1881,
848,
29901,
742,
921,
29918,
1272,
29889,
12181,
29897,
13,
12,
2158,
877,
24111,
310,
278,
1962,
848,
29901,
742,
343,
29918,
1272,
29889,
12181,
29897,
13,
13,
13,
12,
29937,
6679,
284,
2133,
13,
12,
29916,
29918,
1272,
353,
921,
29918,
1272,
847,
29871,
29906,
29945,
29945,
13,
13,
12,
1949,
29918,
27736,
353,
921,
29918,
1272,
29889,
12181,
29961,
29900,
29962,
13,
12,
2080,
29918,
22100,
353,
921,
29918,
1272,
29889,
12181,
29961,
29896,
29962,
13,
13,
12,
2158,
877,
4557,
310,
11916,
29901,
742,
954,
29918,
27736,
29897,
13,
12,
2158,
877,
4557,
310,
278,
1881,
5680,
29901,
742,
1881,
29918,
22100,
29897,
13,
13,
12,
29891,
29918,
1272,
29918,
294,
29918,
20326,
353,
11073,
29918,
294,
29918,
20326,
29898,
29891,
29918,
1272,
29897,
13,
13,
13,
12,
29937,
11189,
8845,
848,
10223,
362,
13,
12,
5451,
29918,
25376,
482,
353,
29871,
29947,
29900,
13,
12,
5451,
29918,
2248,
353,
938,
29898,
29916,
29918,
1272,
29889,
12181,
29961,
29900,
29962,
14571,
29896,
29900,
29900,
29914,
5451,
29918,
25376,
482,
876,
13,
13,
12,
29916,
29918,
14968,
353,
7442,
29889,
2378,
29898,
29916,
29918,
1272,
7503,
5451,
29918,
2248,
2314,
13,
12,
29916,
29918,
791,
353,
7442,
29889,
2378,
29898,
29916,
29918,
1272,
29961,
5451,
29918,
2248,
29901,
2314,
13,
13,
12,
29891,
29918,
14968,
353,
7442,
29889,
2378,
29898,
29891,
29918,
1272,
29918,
294,
29918,
20326,
7503,
5451,
29918,
2248,
2314,
13,
12,
29891,
29918,
791,
353,
7442,
29889,
2378,
29898,
29891,
29918,
1272,
29918,
294,
29918,
20326,
29961,
5451,
29918,
2248,
29901,
2314,
13,
13,
13,
12,
29937,
10343,
1048,
278,
848,
13,
12,
2158,
29898,
29916,
29918,
14968,
29889,
12181,
29897,
13,
12,
2158,
29898,
29916,
29918,
791,
29889,
12181,
29897,
13,
12,
2158,
29898,
29891,
29918,
14968,
29889,
12181,
29897,
13,
12,
2158,
29898,
29891,
29918,
791,
29889,
12181,
29897,
13,
13,
12,
29937,
1383,
21430,
848,
964,
278,
1959,
8267,
29889,
13,
12,
29916,
29918,
14968,
353,
921,
29918,
14968,
29889,
690,
14443,
4197,
29899,
29896,
29892,
29871,
29906,
29947,
29892,
29871,
29906,
29947,
29892,
29871,
29896,
2314,
13,
12,
29916,
29918,
791,
353,
921,
29918,
791,
29889,
690,
14443,
4197,
29899,
29896,
29892,
29871,
29906,
29947,
29892,
29871,
29906,
29947,
29892,
29871,
29896,
2314,
13,
12,
29891,
29918,
14968,
353,
304,
29918,
29883,
20440,
936,
29898,
29891,
29918,
14968,
29892,
302,
29890,
29918,
13203,
353,
29871,
29896,
29900,
29897,
13,
12,
29891,
29918,
791,
353,
304,
29918,
29883,
20440,
936,
29898,
29891,
29918,
791,
29892,
302,
29890,
29918,
13203,
353,
29871,
29896,
29900,
29897,
13,
13,
12,
2457,
921,
29918,
14968,
29892,
921,
29918,
791,
29892,
343,
29918,
14968,
29892,
343,
29918,
791,
1678,
13,
13,
1753,
679,
29918,
1272,
29918,
29924,
29940,
9047,
29918,
1688,
7295,
13,
12,
29937,
4309,
9382,
278,
1243,
848,
13,
12,
1445,
29918,
978,
29918,
1688,
353,
525,
1688,
29889,
7638,
29915,
13,
12,
12083,
353,
525,
14991,
277,
3599,
3811,
3950,
29915,
13,
13,
12,
4993,
353,
4138,
718,
8207,
29915,
718,
934,
29918,
978,
29918,
1688,
13,
12,
1272,
353,
10518,
29889,
949,
29918,
7638,
29898,
4993,
29897,
13,
13,
12,
1688,
29918,
2080,
353,
848,
29889,
2029,
7503,
29892,
584,
29962,
13,
13,
12,
2457,
1243,
29918,
2080,
29889,
294,
29918,
5344,
580,
13,
13,
29937,
11045,
22787,
414,
13373,
24541,
13,
1753,
679,
29918,
1272,
29918,
2251,
4006,
29918,
1731,
414,
7295,
13,
12,
5215,
15886,
19668,
29889,
14538,
1691,
29889,
2251,
1731,
261,
29896,
29955,
408,
19100,
1731,
261,
29896,
29955,
13,
12,
29990,
29892,
612,
353,
19100,
1731,
261,
29896,
29955,
29889,
1359,
29918,
1272,
29898,
650,
29918,
8711,
353,
5852,
29892,
19490,
29918,
29886,
1199,
353,
313,
29906,
29906,
29955,
29892,
29871,
29906,
29906,
29955,
876,
13,
13,
12,
5451,
29918,
25376,
482,
353,
29871,
29947,
29900,
13,
12,
5451,
29918,
2248,
353,
938,
29898,
29990,
29889,
12181,
29961,
29900,
29962,
14571,
29896,
29900,
29900,
29914,
5451,
29918,
25376,
482,
876,
13,
13,
12,
29916,
29918,
14968,
353,
7442,
29889,
2378,
29898,
29990,
7503,
5451,
29918,
2248,
2314,
13,
12,
29916,
29918,
791,
353,
7442,
29889,
2378,
29898,
29990,
29961,
5451,
29918,
2248,
29901,
2314,
13,
13,
12,
29891,
29918,
14968,
353,
7442,
29889,
2378,
29898,
29979,
7503,
5451,
29918,
2248,
2314,
13,
12,
29891,
29918,
791,
353,
7442,
29889,
2378,
29898,
29979,
29961,
5451,
29918,
2248,
29901,
2314,
13,
12,
2457,
921,
29918,
14968,
29892,
921,
29918,
791,
29892,
343,
29918,
14968,
29892,
343,
29918,
791,
29871,
13,
13,
1753,
679,
29918,
1272,
29918,
29907,
6545,
1718,
29896,
29900,
29898,
24713,
353,
525,
5323,
262,
718,
2630,
29374,
13,
12,
3166,
15886,
19668,
29889,
14538,
1691,
1053,
274,
361,
279,
29896,
29900,
13,
12,
29898,
29990,
29892,
612,
511,
313,
29990,
29918,
1688,
29892,
612,
29918,
1688,
29897,
353,
274,
361,
279,
29896,
29900,
29889,
1359,
29918,
1272,
29898,
650,
29918,
8711,
29922,
5574,
29897,
13,
12,
13,
12,
29937,
21179,
338,
29871,
29941,
29906,
29892,
29871,
29941,
29906,
29892,
29871,
29941,
13,
12,
13,
12,
5451,
29918,
25376,
482,
353,
29871,
29896,
29900,
29900,
13,
12,
5451,
29918,
2248,
353,
938,
29898,
29990,
29889,
12181,
29961,
29900,
29962,
14571,
29896,
29900,
29900,
29914,
5451,
29918,
25376,
482,
876,
13,
13,
12,
29916,
29918,
14968,
353,
7442,
29889,
2378,
29898,
29990,
7503,
5451,
29918,
2248,
2314,
13,
12,
29916,
29918,
791,
353,
7442,
29889,
2378,
29898,
29990,
29961,
5451,
29918,
2248,
29901,
2314,
13,
13,
12,
29891,
29918,
14968,
353,
7442,
29889,
2378,
29898,
29979,
7503,
5451,
29918,
2248,
2314,
13,
12,
29891,
29918,
791,
353,
7442,
29889,
2378,
29898,
29979,
29961,
5451,
29918,
2248,
29901,
2314,
13,
12,
13,
12,
361,
8783,
1275,
525,
5323,
262,
718,
2630,
2396,
13,
12,
12,
2457,
921,
29918,
14968,
29892,
921,
29918,
791,
29892,
343,
29918,
14968,
29892,
343,
29918,
791,
29871,
13,
12,
2870,
29901,
13,
12,
12,
2457,
1060,
29918,
1688,
29892,
612,
29918,
1688,
29871,
13,
13,
12,
13,
1753,
679,
29918,
1272,
29918,
29924,
29940,
9047,
29918,
11487,
29898,
24713,
353,
525,
5323,
262,
718,
2630,
29374,
13,
12,
5215,
15886,
19668,
29889,
14538,
1691,
29889,
23521,
391,
408,
28597,
391,
13,
12,
29990,
29892,
612,
29892,
1060,
29918,
1688,
29892,
612,
29918,
1688,
353,
28597,
391,
29889,
1359,
29918,
1272,
29898,
650,
29918,
8711,
353,
5574,
29897,
13,
12,
29990,
353,
1060,
29889,
690,
14443,
4197,
29899,
29896,
29892,
29871,
29906,
29947,
29892,
29871,
29906,
29947,
29892,
29871,
29896,
2314,
13,
12,
29990,
29918,
1688,
353,
1060,
29918,
1688,
29889,
690,
14443,
4197,
29899,
29896,
29892,
29871,
29906,
29947,
29892,
29871,
29906,
29947,
29892,
29871,
29896,
2314,
13,
12,
13,
12,
29937,
21179,
338,
29871,
29906,
29947,
29892,
29871,
29906,
29947,
29892,
29871,
29896,
13,
12,
13,
12,
5451,
29918,
25376,
482,
353,
29871,
29896,
29900,
29900,
13,
12,
5451,
29918,
2248,
353,
938,
29898,
29990,
29889,
12181,
29961,
29900,
29962,
14571,
29896,
29900,
29900,
29914,
5451,
29918,
25376,
482,
876,
13,
13,
12,
29916,
29918,
14968,
353,
7442,
29889,
2378,
29898,
29990,
7503,
5451,
29918,
2248,
2314,
13,
12,
29916,
29918,
791,
353,
7442,
29889,
2378,
29898,
29990,
29961,
5451,
29918,
2248,
29901,
2314,
13,
13,
12,
29891,
29918,
14968,
353,
7442,
29889,
2378,
29898,
29979,
7503,
5451,
29918,
2248,
2314,
13,
12,
29891,
29918,
791,
353,
7442,
29889,
2378,
29898,
29979,
29961,
5451,
29918,
2248,
29901,
2314,
13,
12,
13,
13,
12,
361,
8783,
1275,
525,
5323,
262,
718,
2630,
2396,
13,
12,
12,
2457,
921,
29918,
14968,
29892,
921,
29918,
791,
29892,
343,
29918,
14968,
29892,
343,
29918,
791,
29871,
13,
12,
2870,
29901,
13,
12,
12,
2457,
1060,
29918,
1688,
29892,
612,
29918,
1688,
29871,
13,
2
] |
pynics/binparse/castep_bin_results.py | ThatPerson/pynics | 2 | 17712 | <filename>pynics/binparse/castep_bin_results.py
# Python 2-to-3 compatibility code
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import collections
from pynics.binparse.forbinfile import RecordError
def cbin_results_parse(binfile, results_store, curr_version, params,
current_cell, tolerant=False):
# First, parse the elec results part (always present)
results_store['elec'] = collections.OrderedDict()
cbin_elec_parse(binfile, results_store[
'elec'], curr_version, params, current_cell)
# Then go for the optional stuff
cbin_optional_parse(binfile, results_store, curr_version)
def cbin_elec_parse(binfile, elec_store, curr_version, params, current_cell):
# A few informations are stored
elec_store['found_ground_state_wvfn'] = not (
binfile.read_record('i')[0] == 0) # Logical value
elec_store['found_ground_state_den'] = not (
binfile.read_record('i')[0] == 0) # Logical value
elec_store['total_energy'] = binfile.read_record('d')[0]
elec_store['fermi_energy'] = binfile.read_record('d')
# Fermi energy for both spins if we have two. This relies on param being
# already parsed
if params['nspins'] == 2:
elec_store['fermi_energy'] = (elec_store['fermi_energy'][
0], elec_store['fermi_energy'][0])
elec_store['wvfn_nbands'], elec_store[
'wvfn_nspins'] = binfile.read_record('i')
# Read occupation eigenvalues for the Kohn-Sham states. This relies on
# cell being already parsed
elec_store['occupation'] = {}
for kp_i in range(0, current_cell['nkpts']):
kp = binfile.read_record('d')
elec_store['occupation'][kp] = {'occ': [], 'nrg': []}
for ns_i in range(0, elec_store['wvfn_nspins']):
elec_store['occupation'][kp]['occ'].append(
binfile.read_record('d')) # Occupation
elec_store['occupation'][kp]['nrg'].append(
binfile.read_record('d')) # Energies
# Why is this here again? Whatever.
elec_store['found_ground_state_den'] = not (
binfile.read_record('i')[0] == 0) # Logical value
# Read the fine grid size, keep the information because it is of use for
# various other parsing operations
elec_store['model_ngx_fine'], elec_store['model_ngy_fine'], elec_store[
'model_ngz_fine'] = binfile.read_record('i')
# Finally, dummy read of density
for n in range(0, elec_store['model_ngx_fine'] *
elec_store['model_ngy_fine']):
dummy_int = binfile.read_record('i')
def cbin_optional_parse(binfile, results_store, curr_version, tolerant=False):
if (tolerant): # In this case, unknown sections will simply be ignored
def skip_optional():
while True:
header = self.binfile.read_string_record()
if header.isalpha():
self.binfile.backspace()
break
try:
while True:
header = binfile.read_string_record()
if (header == 'END'):
break
try:
castep_bin_olist[header](binfile, results_store, curr_version)
except KeyError:
if (tolerant):
print("Skipping unrecognized header " + header)
skip_optional()
else:
# The default case, doesn't account for forward
# compatibility for now
raise CastepBinError('Unknown optional section found')
except RecordError:
raise CastepBinError(
'End of file reached while parsing optional blocks')
# Utility routine
def tensor_reshape(V):
return tuple([
tuple([
tuple([V[i+j+k] for i in range(0, 3)
]) for j in range(0, 9, 3)
]) for k in range(0, len(V), 9)])
def opt_e_fermi_parse(binfile, results_store, curr_version):
# Parse Fermi energy for second spin
efermi_2 = binfile.read_record('d')[0]
results_store['elec']['fermi_energy'] = (
results_store['elec']['fermi_energy'][0], efermi_2)
def opt_oep_pot_parse(binfile, results_store, curr_version):
# Parse optimized effective potential
results_store['oep_pot'] = {}
results_store['oep_pot']['found_oep_ground_state'] = not (
binfile.read_record('i') == 0)
results_store['oep_pot']['oep_energy_difference'] = (binfile
.read_record('d')[0])
# We need nspins, we get it indirectly
nspins = len(results_store['elec']['fermi_energy'])
ngx_fine = results_store['elec']['model_ngx_fine']
ngy_fine = results_store['elec']['model_ngy_fine']
ngz_fine = results_store['elec']['model_ngz_fine']
# Sort of necessary to initialize here
results_store['oep_pot']['pot_fine'] = [[0.0 for s in range(
0, nspins)]]*ngx_fine*ngy_fine*ngz_fine
for s_i in range(0, nspins):
for nx1 in range(0, ngx_fine):
for ny1 in range(0, ngy_fine):
nx, ny, grid_charge_r, grid_charge_im = binfile.read_record(
'iidd')
# Fortran convention needs to be used
for nz in range(1, ngz_fine+1):
# Back to Python convention, arrays count from 0
igrid = (nx-1)+(ny-1)*ngx_fine+(nz-1)*ngx_fine*ngy_fine
results_store['oep_pot']['pot_fine'][igrid][
s_i] = (grid_charge_r, grid_charge_im)
def opt_de_dloge_parse(binfile, results_store, curr_version):
# Parse energy logarithmic derivative
results_store['de_dloge'] = binfile.read_record('d')[0]
def opt_forces_parse(binfile, results_store, curr_version):
# Parse forces
f = binfile.read_record('d')
# Reshape
results_store['forces'] = tuple(
[tuple([f[i+j] for i in range(0, 3)]) for j in range(0, len(f), 3)])
def opt_stress_parse(binfile, results_store, curr_version):
# Parse stress & strain tensors
results_store['stress'] = {}
stress = binfile.read_record('d')
strain = binfile.read_record('d')
results_store['stress']['stress'] = stress
results_store['stress']['strain'] = tensor_reshape(strain)
def opt_shielding_parse(binfile, results_store, curr_version):
# Parse NMR shieldings
results_store['shielding'] = {}
results_store['shielding']['ms'] = binfile.read_record('d')
results_store['shielding']['sus'] = binfile.read_record('d')
# Reshape ms as a list of tensors
results_store['shielding']['ms'] = tensor_reshape(
results_store['shielding']['ms'])
def opt_efg_parse(binfile, results_store, curr_version):
results_store['efg'] = binfile.read_record('d')
results_store['efg'] = tensor_reshape(results_store['efg'])
castep_bin_olist = {
'E_FERMI': opt_e_fermi_parse,
'OEP_POT': opt_oep_pot_parse,
'DE_DLOGE': opt_de_dloge_parse,
'FORCES': opt_forces_parse,
'STRESS': opt_stress_parse,
'SHIELDING': opt_shielding_parse,
'EFG': opt_efg_parse,
}
| [
1,
529,
9507,
29958,
29886,
948,
1199,
29914,
2109,
5510,
29914,
29883,
4350,
29886,
29918,
2109,
29918,
9902,
29889,
2272,
13,
29937,
5132,
29871,
29906,
29899,
517,
29899,
29941,
24521,
775,
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,
5215,
16250,
13,
3166,
282,
948,
1199,
29889,
2109,
5510,
29889,
1454,
2109,
1445,
1053,
14164,
2392,
13,
13,
13,
1753,
274,
2109,
29918,
9902,
29918,
5510,
29898,
2109,
1445,
29892,
2582,
29918,
8899,
29892,
16256,
29918,
3259,
29892,
8636,
29892,
13,
462,
539,
1857,
29918,
3729,
29892,
20341,
424,
29922,
8824,
1125,
13,
13,
1678,
396,
3824,
29892,
6088,
278,
4552,
29883,
2582,
760,
313,
21936,
2198,
29897,
13,
1678,
2582,
29918,
8899,
1839,
6146,
29883,
2033,
353,
16250,
29889,
7514,
287,
21533,
580,
13,
1678,
274,
2109,
29918,
6146,
29883,
29918,
5510,
29898,
2109,
1445,
29892,
2582,
29918,
8899,
29961,
13,
462,
1678,
525,
6146,
29883,
7464,
16256,
29918,
3259,
29892,
8636,
29892,
1857,
29918,
3729,
29897,
13,
1678,
396,
1987,
748,
363,
278,
13136,
6433,
13,
1678,
274,
2109,
29918,
25253,
29918,
5510,
29898,
2109,
1445,
29892,
2582,
29918,
8899,
29892,
16256,
29918,
3259,
29897,
13,
13,
13,
1753,
274,
2109,
29918,
6146,
29883,
29918,
5510,
29898,
2109,
1445,
29892,
4552,
29883,
29918,
8899,
29892,
16256,
29918,
3259,
29892,
8636,
29892,
1857,
29918,
3729,
1125,
13,
13,
1678,
396,
319,
2846,
19313,
526,
6087,
13,
1678,
4552,
29883,
29918,
8899,
1839,
11940,
29918,
2057,
29918,
3859,
29918,
29893,
29894,
9144,
2033,
353,
451,
313,
13,
4706,
9016,
1445,
29889,
949,
29918,
11651,
877,
29875,
29861,
29900,
29962,
1275,
29871,
29900,
29897,
259,
396,
4522,
936,
995,
13,
1678,
4552,
29883,
29918,
8899,
1839,
11940,
29918,
2057,
29918,
3859,
29918,
1145,
2033,
353,
451,
313,
13,
4706,
9016,
1445,
29889,
949,
29918,
11651,
877,
29875,
29861,
29900,
29962,
1275,
29871,
29900,
29897,
259,
396,
4522,
936,
995,
13,
13,
1678,
4552,
29883,
29918,
8899,
1839,
7827,
29918,
27548,
2033,
353,
9016,
1445,
29889,
949,
29918,
11651,
877,
29881,
29861,
29900,
29962,
13,
1678,
4552,
29883,
29918,
8899,
1839,
571,
2460,
29918,
27548,
2033,
353,
9016,
1445,
29889,
949,
29918,
11651,
877,
29881,
1495,
13,
13,
1678,
396,
383,
837,
29875,
5864,
363,
1716,
805,
1144,
565,
591,
505,
1023,
29889,
910,
337,
3687,
373,
1828,
1641,
13,
1678,
396,
2307,
21213,
13,
1678,
565,
8636,
1839,
29876,
1028,
1144,
2033,
1275,
29871,
29906,
29901,
13,
4706,
4552,
29883,
29918,
8899,
1839,
571,
2460,
29918,
27548,
2033,
353,
313,
6146,
29883,
29918,
8899,
1839,
571,
2460,
29918,
27548,
2033,
29961,
13,
462,
462,
539,
29900,
1402,
4552,
29883,
29918,
8899,
1839,
571,
2460,
29918,
27548,
2033,
29961,
29900,
2314,
13,
13,
1678,
4552,
29883,
29918,
8899,
1839,
29893,
29894,
9144,
29918,
9877,
4167,
7464,
4552,
29883,
29918,
8899,
29961,
13,
4706,
525,
29893,
29894,
9144,
29918,
29876,
1028,
1144,
2033,
353,
9016,
1445,
29889,
949,
29918,
11651,
877,
29875,
1495,
13,
13,
1678,
396,
7523,
26818,
25973,
363,
278,
476,
6547,
29899,
2713,
314,
5922,
29889,
910,
337,
3687,
373,
13,
1678,
396,
3038,
1641,
2307,
21213,
13,
13,
1678,
4552,
29883,
29918,
8899,
1839,
26601,
2033,
353,
6571,
13,
13,
1678,
363,
413,
29886,
29918,
29875,
297,
3464,
29898,
29900,
29892,
1857,
29918,
3729,
1839,
29876,
29895,
16485,
2033,
1125,
13,
4706,
413,
29886,
353,
9016,
1445,
29889,
949,
29918,
11651,
877,
29881,
1495,
13,
4706,
4552,
29883,
29918,
8899,
1839,
26601,
2033,
29961,
29895,
29886,
29962,
353,
11117,
15693,
2396,
19997,
525,
29876,
11007,
2396,
5159,
29913,
13,
4706,
363,
17534,
29918,
29875,
297,
3464,
29898,
29900,
29892,
4552,
29883,
29918,
8899,
1839,
29893,
29894,
9144,
29918,
29876,
1028,
1144,
2033,
1125,
13,
9651,
4552,
29883,
29918,
8899,
1839,
26601,
2033,
29961,
29895,
29886,
22322,
15693,
13359,
4397,
29898,
13,
18884,
9016,
1445,
29889,
949,
29918,
11651,
877,
29881,
8785,
29871,
396,
16117,
786,
362,
13,
9651,
4552,
29883,
29918,
8899,
1839,
26601,
2033,
29961,
29895,
29886,
22322,
29876,
11007,
13359,
4397,
29898,
13,
18884,
9016,
1445,
29889,
949,
29918,
11651,
877,
29881,
8785,
29871,
396,
15163,
29887,
583,
13,
13,
1678,
396,
3750,
338,
445,
1244,
1449,
29973,
806,
5564,
29889,
13,
1678,
4552,
29883,
29918,
8899,
1839,
11940,
29918,
2057,
29918,
3859,
29918,
1145,
2033,
353,
451,
313,
13,
4706,
9016,
1445,
29889,
949,
29918,
11651,
877,
29875,
29861,
29900,
29962,
1275,
29871,
29900,
29897,
1678,
396,
4522,
936,
995,
13,
13,
1678,
396,
7523,
278,
2691,
6856,
2159,
29892,
3013,
278,
2472,
1363,
372,
338,
310,
671,
363,
13,
1678,
396,
5164,
916,
13755,
6931,
13,
1678,
4552,
29883,
29918,
8899,
1839,
4299,
29918,
865,
29916,
29918,
29888,
457,
7464,
4552,
29883,
29918,
8899,
1839,
4299,
29918,
865,
29891,
29918,
29888,
457,
7464,
4552,
29883,
29918,
8899,
29961,
13,
4706,
525,
4299,
29918,
865,
29920,
29918,
29888,
457,
2033,
353,
9016,
1445,
29889,
949,
29918,
11651,
877,
29875,
1495,
13,
13,
1678,
396,
9788,
29892,
20254,
1303,
310,
9027,
13,
1678,
363,
302,
297,
3464,
29898,
29900,
29892,
4552,
29883,
29918,
8899,
1839,
4299,
29918,
865,
29916,
29918,
29888,
457,
2033,
334,
13,
462,
259,
4552,
29883,
29918,
8899,
1839,
4299,
29918,
865,
29891,
29918,
29888,
457,
2033,
1125,
13,
4706,
20254,
29918,
524,
353,
9016,
1445,
29889,
949,
29918,
11651,
877,
29875,
1495,
13,
13,
13,
1753,
274,
2109,
29918,
25253,
29918,
5510,
29898,
2109,
1445,
29892,
2582,
29918,
8899,
29892,
16256,
29918,
3259,
29892,
20341,
424,
29922,
8824,
1125,
13,
13,
1678,
565,
313,
25027,
261,
424,
1125,
29871,
396,
512,
445,
1206,
29892,
9815,
13926,
674,
3763,
367,
17262,
13,
4706,
822,
14383,
29918,
25253,
7295,
13,
9651,
1550,
5852,
29901,
13,
18884,
4839,
353,
1583,
29889,
2109,
1445,
29889,
949,
29918,
1807,
29918,
11651,
580,
13,
18884,
565,
4839,
29889,
275,
2312,
7295,
13,
462,
1678,
1583,
29889,
2109,
1445,
29889,
1627,
3493,
580,
13,
462,
1678,
2867,
13,
13,
1678,
1018,
29901,
13,
4706,
1550,
5852,
29901,
13,
9651,
4839,
353,
9016,
1445,
29889,
949,
29918,
1807,
29918,
11651,
580,
13,
13,
9651,
565,
313,
6672,
1275,
525,
11794,
29374,
13,
18884,
2867,
13,
13,
9651,
1018,
29901,
13,
18884,
3209,
371,
29886,
29918,
2109,
29918,
324,
391,
29961,
6672,
850,
2109,
1445,
29892,
2582,
29918,
8899,
29892,
16256,
29918,
3259,
29897,
13,
9651,
5174,
7670,
2392,
29901,
13,
18884,
565,
313,
25027,
261,
424,
1125,
13,
462,
1678,
1596,
703,
29903,
1984,
3262,
443,
29423,
1891,
4839,
376,
718,
4839,
29897,
13,
462,
1678,
14383,
29918,
25253,
580,
13,
18884,
1683,
29901,
13,
462,
1678,
396,
450,
2322,
1206,
29892,
1838,
29915,
29873,
3633,
363,
6375,
13,
462,
1678,
396,
24521,
363,
1286,
13,
462,
1678,
12020,
315,
4350,
29886,
29933,
262,
2392,
877,
14148,
13136,
4004,
1476,
1495,
13,
13,
1678,
5174,
14164,
2392,
29901,
13,
4706,
12020,
315,
4350,
29886,
29933,
262,
2392,
29898,
13,
9651,
525,
5044,
310,
934,
7450,
1550,
13755,
13136,
10930,
1495,
13,
13,
29937,
22310,
537,
26529,
13,
13,
13,
1753,
12489,
29918,
690,
14443,
29898,
29963,
1125,
13,
1678,
736,
18761,
4197,
13,
4706,
18761,
4197,
13,
9651,
18761,
4197,
29963,
29961,
29875,
29974,
29926,
29974,
29895,
29962,
363,
474,
297,
3464,
29898,
29900,
29892,
29871,
29941,
29897,
13,
462,
1678,
2314,
363,
432,
297,
3464,
29898,
29900,
29892,
29871,
29929,
29892,
29871,
29941,
29897,
13,
308,
2314,
363,
413,
297,
3464,
29898,
29900,
29892,
7431,
29898,
29963,
511,
29871,
29929,
29897,
2314,
13,
13,
13,
1753,
3523,
29918,
29872,
29918,
571,
2460,
29918,
5510,
29898,
2109,
1445,
29892,
2582,
29918,
8899,
29892,
16256,
29918,
3259,
1125,
13,
13,
1678,
396,
20969,
383,
837,
29875,
5864,
363,
1473,
10917,
13,
1678,
321,
571,
2460,
29918,
29906,
353,
9016,
1445,
29889,
949,
29918,
11651,
877,
29881,
29861,
29900,
29962,
13,
1678,
2582,
29918,
8899,
1839,
6146,
29883,
16215,
571,
2460,
29918,
27548,
2033,
353,
313,
13,
4706,
2582,
29918,
8899,
1839,
6146,
29883,
16215,
571,
2460,
29918,
27548,
2033,
29961,
29900,
1402,
321,
571,
2460,
29918,
29906,
29897,
13,
13,
13,
1753,
3523,
29918,
29877,
1022,
29918,
17765,
29918,
5510,
29898,
2109,
1445,
29892,
2582,
29918,
8899,
29892,
16256,
29918,
3259,
1125,
13,
13,
1678,
396,
20969,
27545,
11828,
7037,
13,
1678,
2582,
29918,
8899,
1839,
29877,
1022,
29918,
17765,
2033,
353,
6571,
13,
1678,
2582,
29918,
8899,
1839,
29877,
1022,
29918,
17765,
16215,
11940,
29918,
29877,
1022,
29918,
2057,
29918,
3859,
2033,
353,
451,
313,
13,
4706,
9016,
1445,
29889,
949,
29918,
11651,
877,
29875,
1495,
1275,
29871,
29900,
29897,
13,
1678,
2582,
29918,
8899,
1839,
29877,
1022,
29918,
17765,
16215,
29877,
1022,
29918,
27548,
29918,
29881,
17678,
2033,
353,
313,
2109,
1445,
13,
462,
462,
462,
308,
869,
949,
29918,
11651,
877,
29881,
29861,
29900,
2314,
13,
13,
1678,
396,
1334,
817,
302,
1028,
1144,
29892,
591,
679,
372,
26377,
368,
13,
1678,
302,
1028,
1144,
353,
7431,
29898,
9902,
29918,
8899,
1839,
6146,
29883,
16215,
571,
2460,
29918,
27548,
11287,
13,
1678,
8736,
29916,
29918,
29888,
457,
353,
2582,
29918,
8899,
1839,
6146,
29883,
16215,
4299,
29918,
865,
29916,
29918,
29888,
457,
2033,
13,
1678,
302,
1927,
29918,
29888,
457,
353,
2582,
29918,
8899,
1839,
6146,
29883,
16215,
4299,
29918,
865,
29891,
29918,
29888,
457,
2033,
13,
1678,
8736,
29920,
29918,
29888,
457,
353,
2582,
29918,
8899,
1839,
6146,
29883,
16215,
4299,
29918,
865,
29920,
29918,
29888,
457,
2033,
13,
13,
1678,
396,
20025,
310,
5181,
304,
11905,
1244,
13,
1678,
2582,
29918,
8899,
1839,
29877,
1022,
29918,
17765,
16215,
17765,
29918,
29888,
457,
2033,
353,
5519,
29900,
29889,
29900,
363,
269,
297,
3464,
29898,
13,
308,
29900,
29892,
302,
1028,
1144,
4638,
14178,
865,
29916,
29918,
29888,
457,
29930,
865,
29891,
29918,
29888,
457,
29930,
865,
29920,
29918,
29888,
457,
13,
13,
1678,
363,
269,
29918,
29875,
297,
3464,
29898,
29900,
29892,
302,
1028,
1144,
1125,
13,
4706,
363,
302,
29916,
29896,
297,
3464,
29898,
29900,
29892,
8736,
29916,
29918,
29888,
457,
1125,
13,
9651,
363,
7098,
29896,
297,
3464,
29898,
29900,
29892,
302,
1927,
29918,
29888,
457,
1125,
13,
18884,
302,
29916,
29892,
7098,
29892,
6856,
29918,
23367,
29918,
29878,
29892,
6856,
29918,
23367,
29918,
326,
353,
9016,
1445,
29889,
949,
29918,
11651,
29898,
13,
462,
1678,
525,
29875,
2205,
1495,
13,
18884,
396,
7236,
661,
15687,
4225,
304,
367,
1304,
13,
18884,
363,
302,
29920,
297,
3464,
29898,
29896,
29892,
8736,
29920,
29918,
29888,
457,
29974,
29896,
1125,
13,
462,
1678,
396,
7437,
304,
5132,
15687,
29892,
7049,
2302,
515,
29871,
29900,
13,
462,
1678,
8919,
2429,
353,
313,
23818,
29899,
29896,
7240,
29898,
1460,
29899,
29896,
11877,
865,
29916,
29918,
29888,
457,
17108,
29876,
29920,
29899,
29896,
11877,
865,
29916,
29918,
29888,
457,
29930,
865,
29891,
29918,
29888,
457,
13,
462,
1678,
2582,
29918,
8899,
1839,
29877,
1022,
29918,
17765,
16215,
17765,
29918,
29888,
457,
2033,
29961,
335,
2429,
3816,
13,
462,
4706,
269,
29918,
29875,
29962,
353,
313,
7720,
29918,
23367,
29918,
29878,
29892,
6856,
29918,
23367,
29918,
326,
29897,
13,
13,
13,
1753,
3523,
29918,
311,
29918,
29881,
417,
479,
29918,
5510,
29898,
2109,
1445,
29892,
2582,
29918,
8899,
29892,
16256,
29918,
3259,
1125,
13,
13,
1678,
396,
20969,
5864,
1480,
23830,
13076,
16291,
13,
1678,
2582,
29918,
8899,
1839,
311,
29918,
29881,
417,
479,
2033,
353,
9016,
1445,
29889,
949,
29918,
11651,
877,
29881,
29861,
29900,
29962,
13,
13,
13,
1753,
3523,
29918,
1454,
778,
29918,
5510,
29898,
2109,
1445,
29892,
2582,
29918,
8899,
29892,
16256,
29918,
3259,
1125,
13,
13,
1678,
396,
20969,
8249,
13,
1678,
285,
353,
9016,
1445,
29889,
949,
29918,
11651,
877,
29881,
1495,
13,
1678,
396,
2538,
14443,
13,
1678,
2582,
29918,
8899,
1839,
1454,
778,
2033,
353,
18761,
29898,
13,
4706,
518,
23583,
4197,
29888,
29961,
29875,
29974,
29926,
29962,
363,
474,
297,
3464,
29898,
29900,
29892,
29871,
29941,
29897,
2314,
363,
432,
297,
3464,
29898,
29900,
29892,
7431,
29898,
29888,
511,
29871,
29941,
29897,
2314,
13,
13,
13,
1753,
3523,
29918,
710,
404,
29918,
5510,
29898,
2109,
1445,
29892,
2582,
29918,
8899,
29892,
16256,
29918,
3259,
1125,
13,
13,
1678,
396,
20969,
22884,
669,
5312,
262,
25187,
943,
13,
1678,
2582,
29918,
8899,
1839,
710,
404,
2033,
353,
6571,
13,
1678,
22884,
353,
9016,
1445,
29889,
949,
29918,
11651,
877,
29881,
1495,
13,
1678,
5312,
262,
353,
9016,
1445,
29889,
949,
29918,
11651,
877,
29881,
1495,
13,
1678,
2582,
29918,
8899,
1839,
710,
404,
16215,
710,
404,
2033,
353,
22884,
13,
1678,
2582,
29918,
8899,
1839,
710,
404,
16215,
4151,
262,
2033,
353,
12489,
29918,
690,
14443,
29898,
4151,
262,
29897,
13,
13,
13,
1753,
3523,
29918,
845,
969,
292,
29918,
5510,
29898,
2109,
1445,
29892,
2582,
29918,
8899,
29892,
16256,
29918,
3259,
1125,
13,
13,
1678,
396,
20969,
405,
21055,
28761,
886,
13,
1678,
2582,
29918,
8899,
1839,
845,
969,
292,
2033,
353,
6571,
13,
1678,
2582,
29918,
8899,
1839,
845,
969,
292,
16215,
1516,
2033,
353,
9016,
1445,
29889,
949,
29918,
11651,
877,
29881,
1495,
13,
1678,
2582,
29918,
8899,
1839,
845,
969,
292,
16215,
29879,
375,
2033,
353,
9016,
1445,
29889,
949,
29918,
11651,
877,
29881,
1495,
13,
13,
1678,
396,
2538,
14443,
10887,
408,
263,
1051,
310,
25187,
943,
13,
1678,
2582,
29918,
8899,
1839,
845,
969,
292,
16215,
1516,
2033,
353,
12489,
29918,
690,
14443,
29898,
13,
4706,
2582,
29918,
8899,
1839,
845,
969,
292,
16215,
1516,
11287,
13,
13,
13,
1753,
3523,
29918,
1389,
29887,
29918,
5510,
29898,
2109,
1445,
29892,
2582,
29918,
8899,
29892,
16256,
29918,
3259,
1125,
13,
13,
1678,
2582,
29918,
8899,
1839,
1389,
29887,
2033,
353,
9016,
1445,
29889,
949,
29918,
11651,
877,
29881,
1495,
13,
1678,
2582,
29918,
8899,
1839,
1389,
29887,
2033,
353,
12489,
29918,
690,
14443,
29898,
9902,
29918,
8899,
1839,
1389,
29887,
11287,
13,
13,
29883,
4350,
29886,
29918,
2109,
29918,
324,
391,
353,
426,
13,
13,
1678,
525,
29923,
29918,
29943,
1001,
10403,
2396,
3523,
29918,
29872,
29918,
571,
2460,
29918,
5510,
29892,
13,
1678,
525,
29949,
15488,
29918,
29925,
2891,
2396,
3523,
29918,
29877,
1022,
29918,
17765,
29918,
5510,
29892,
13,
1678,
525,
2287,
29918,
29928,
3927,
1692,
2396,
3523,
29918,
311,
29918,
29881,
417,
479,
29918,
5510,
29892,
13,
1678,
525,
22051,
27266,
2396,
3523,
29918,
1454,
778,
29918,
5510,
29892,
13,
1678,
525,
1254,
26785,
2396,
3523,
29918,
710,
404,
29918,
5510,
29892,
13,
1678,
525,
7068,
29902,
27286,
4214,
2396,
3523,
29918,
845,
969,
292,
29918,
5510,
29892,
13,
1678,
525,
29638,
29954,
2396,
3523,
29918,
1389,
29887,
29918,
5510,
29892,
13,
13,
29913,
13,
2
] |
common/read_fasta.py | christophfeinauer/PairwiseDistillations | 1 | 91315 | import numpy as np
from collections import defaultdict
import sys
import argparse
# we rely on ordered dictionaries here
assert sys.version_info >= (3, 6)
def read_fasta(fasta_path, alphabet='ACDEFGHIKLMNPQRSTVWY-', default_index=20):
# read all the sequences into a dictionary
seq_dict = {}
with open(fasta_path, 'r') as file_handle:
seq_id = None
for line in file_handle:
line = line.strip()
if line.startswith(">"):
seq_id = line
seq_dict[seq_id] = ""
continue
assert seq_id is not None
line = ''.join([c for c in line if c.isupper() or c == '-'])
seq_dict[seq_id] += line
aa_index = defaultdict(lambda: default_index, {alphabet[i]: i for i in range(len(alphabet))})
seq_msa = []
keys_list = []
for k in seq_dict.keys():
seq_msa.append([aa_index[s] for s in seq_dict[k]])
keys_list.append(k)
seq_msa = np.array(seq_msa, dtype=int)
# reweighting sequences
seq_weight = np.zeros(seq_msa.shape)
for j in range(seq_msa.shape[1]):
aa_type, aa_counts = np.unique(seq_msa[:, j], return_counts=True)
num_type = len(aa_type)
aa_dict = {}
for a in aa_type:
aa_dict[a] = aa_counts[list(aa_type).index(a)]
for i in range(seq_msa.shape[0]):
seq_weight[i, j] = (1.0 / num_type) * (1.0 / aa_dict[seq_msa[i, j]])
tot_weight = np.sum(seq_weight)
seq_weight = seq_weight.sum(1) / tot_weight
return seq_msa, seq_weight, len(alphabet)
def get_seq_len(fasta_path):
seq_len = 0
first_line = True
with open(fasta_path, 'r') as file_handle:
for line in file_handle:
if first_line:
if not line.startswith(">"):
raise ValueError("Expect first line to start with >")
first_line = False
continue
if (first_line is False and line.startswith(">")):
return seq_len
seq_len += len([c for c in line if c.isupper() or c == '-'])
raise ValueError("Could not determine sequence length")
if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.add_argument('--print_seq_len', action='store_true')
parser.add_argument('--fasta_path', type=str, default=None)
args = parser.parse_args()
if args.fasta_path is None and args.print_seq_len:
raise ValueError("need fasta_path if printing seq_len")
if args.print_seq_len:
seq_len = get_seq_len(args.fasta_path)
print(seq_len)
| [
1,
1053,
12655,
408,
7442,
13,
3166,
16250,
1053,
2322,
8977,
13,
5215,
10876,
13,
5215,
1852,
5510,
13,
13,
29937,
591,
19104,
373,
10372,
21503,
4314,
1244,
13,
9294,
10876,
29889,
3259,
29918,
3888,
6736,
313,
29941,
29892,
29871,
29953,
29897,
13,
13,
13,
1753,
1303,
29918,
29888,
5427,
29898,
29888,
5427,
29918,
2084,
29892,
22968,
2433,
2477,
24405,
29954,
17628,
29968,
26369,
25500,
29984,
29934,
1254,
29963,
29956,
29979,
29899,
742,
2322,
29918,
2248,
29922,
29906,
29900,
1125,
13,
13,
1678,
396,
1303,
599,
278,
15602,
964,
263,
8600,
13,
1678,
19359,
29918,
8977,
353,
6571,
13,
1678,
411,
1722,
29898,
29888,
5427,
29918,
2084,
29892,
525,
29878,
1495,
408,
934,
29918,
8411,
29901,
13,
4706,
19359,
29918,
333,
353,
6213,
13,
4706,
363,
1196,
297,
934,
29918,
8411,
29901,
13,
9651,
1196,
353,
1196,
29889,
17010,
580,
13,
9651,
565,
1196,
29889,
27382,
2541,
703,
11903,
1125,
13,
18884,
19359,
29918,
333,
353,
1196,
13,
18884,
19359,
29918,
8977,
29961,
11762,
29918,
333,
29962,
353,
5124,
13,
18884,
6773,
13,
9651,
4974,
19359,
29918,
333,
338,
451,
6213,
13,
9651,
1196,
353,
525,
4286,
7122,
4197,
29883,
363,
274,
297,
1196,
565,
274,
29889,
275,
21064,
580,
470,
274,
1275,
17411,
11287,
13,
9651,
19359,
29918,
8977,
29961,
11762,
29918,
333,
29962,
4619,
1196,
13,
13,
1678,
29099,
29918,
2248,
353,
2322,
8977,
29898,
2892,
29901,
2322,
29918,
2248,
29892,
426,
284,
17416,
29961,
29875,
5387,
474,
363,
474,
297,
3464,
29898,
2435,
29898,
284,
17416,
876,
1800,
13,
13,
1678,
19359,
29918,
1516,
29874,
353,
5159,
13,
1678,
6611,
29918,
1761,
353,
5159,
13,
1678,
363,
413,
297,
19359,
29918,
8977,
29889,
8149,
7295,
13,
4706,
19359,
29918,
1516,
29874,
29889,
4397,
4197,
7340,
29918,
2248,
29961,
29879,
29962,
363,
269,
297,
19359,
29918,
8977,
29961,
29895,
24960,
13,
4706,
6611,
29918,
1761,
29889,
4397,
29898,
29895,
29897,
13,
13,
1678,
19359,
29918,
1516,
29874,
353,
7442,
29889,
2378,
29898,
11762,
29918,
1516,
29874,
29892,
26688,
29922,
524,
29897,
13,
13,
1678,
396,
337,
7915,
292,
15602,
13,
1678,
19359,
29918,
7915,
353,
7442,
29889,
3298,
359,
29898,
11762,
29918,
1516,
29874,
29889,
12181,
29897,
13,
1678,
363,
432,
297,
3464,
29898,
11762,
29918,
1516,
29874,
29889,
12181,
29961,
29896,
29962,
1125,
13,
4706,
29099,
29918,
1853,
29892,
29099,
29918,
2798,
29879,
353,
7442,
29889,
13092,
29898,
11762,
29918,
1516,
29874,
7503,
29892,
432,
1402,
736,
29918,
2798,
29879,
29922,
5574,
29897,
13,
4706,
954,
29918,
1853,
353,
7431,
29898,
7340,
29918,
1853,
29897,
13,
4706,
29099,
29918,
8977,
353,
6571,
13,
4706,
363,
263,
297,
29099,
29918,
1853,
29901,
13,
9651,
29099,
29918,
8977,
29961,
29874,
29962,
353,
29099,
29918,
2798,
29879,
29961,
1761,
29898,
7340,
29918,
1853,
467,
2248,
29898,
29874,
4638,
13,
4706,
363,
474,
297,
3464,
29898,
11762,
29918,
1516,
29874,
29889,
12181,
29961,
29900,
29962,
1125,
13,
9651,
19359,
29918,
7915,
29961,
29875,
29892,
432,
29962,
353,
313,
29896,
29889,
29900,
847,
954,
29918,
1853,
29897,
334,
313,
29896,
29889,
29900,
847,
29099,
29918,
8977,
29961,
11762,
29918,
1516,
29874,
29961,
29875,
29892,
432,
24960,
13,
1678,
2025,
29918,
7915,
353,
7442,
29889,
2083,
29898,
11762,
29918,
7915,
29897,
13,
1678,
19359,
29918,
7915,
353,
19359,
29918,
7915,
29889,
2083,
29898,
29896,
29897,
847,
2025,
29918,
7915,
13,
13,
1678,
736,
19359,
29918,
1516,
29874,
29892,
19359,
29918,
7915,
29892,
7431,
29898,
284,
17416,
29897,
13,
13,
13,
1753,
679,
29918,
11762,
29918,
2435,
29898,
29888,
5427,
29918,
2084,
1125,
13,
13,
1678,
19359,
29918,
2435,
353,
29871,
29900,
13,
1678,
937,
29918,
1220,
353,
5852,
13,
13,
1678,
411,
1722,
29898,
29888,
5427,
29918,
2084,
29892,
525,
29878,
1495,
408,
934,
29918,
8411,
29901,
13,
13,
4706,
363,
1196,
297,
934,
29918,
8411,
29901,
13,
13,
9651,
565,
937,
29918,
1220,
29901,
13,
18884,
565,
451,
1196,
29889,
27382,
2541,
703,
11903,
1125,
13,
462,
1678,
12020,
7865,
2392,
703,
1252,
1103,
937,
1196,
304,
1369,
411,
1405,
1159,
13,
18884,
937,
29918,
1220,
353,
7700,
13,
18884,
6773,
13,
13,
9651,
565,
313,
4102,
29918,
1220,
338,
7700,
322,
1196,
29889,
27382,
2541,
703,
29958,
5783,
29901,
13,
18884,
736,
19359,
29918,
2435,
13,
13,
9651,
19359,
29918,
2435,
4619,
7431,
4197,
29883,
363,
274,
297,
1196,
565,
274,
29889,
275,
21064,
580,
470,
274,
1275,
17411,
11287,
13,
13,
1678,
12020,
7865,
2392,
703,
23323,
451,
8161,
5665,
3309,
1159,
13,
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,
2158,
29918,
11762,
29918,
2435,
742,
3158,
2433,
8899,
29918,
3009,
1495,
13,
1678,
13812,
29889,
1202,
29918,
23516,
877,
489,
29888,
5427,
29918,
2084,
742,
1134,
29922,
710,
29892,
2322,
29922,
8516,
29897,
13,
13,
1678,
6389,
353,
13812,
29889,
5510,
29918,
5085,
580,
13,
13,
1678,
565,
6389,
29889,
29888,
5427,
29918,
2084,
338,
6213,
322,
6389,
29889,
2158,
29918,
11762,
29918,
2435,
29901,
13,
4706,
12020,
7865,
2392,
703,
26180,
5172,
29874,
29918,
2084,
565,
14010,
19359,
29918,
2435,
1159,
13,
13,
1678,
565,
6389,
29889,
2158,
29918,
11762,
29918,
2435,
29901,
13,
4706,
19359,
29918,
2435,
353,
679,
29918,
11762,
29918,
2435,
29898,
5085,
29889,
29888,
5427,
29918,
2084,
29897,
13,
4706,
1596,
29898,
11762,
29918,
2435,
29897,
13,
2
] |
tpi1/tree_search.py | vascoalramos/ia | 1 | 78981 | <filename>tpi1/tree_search.py<gh_stars>1-10
# Module: tree_search
#
# This module provides a set o classes for automated
# problem solving through tree search:
# SearchDomain - problem domains
# SearchProblem - concrete problems to be solved
# SearchNode - search tree nodes
# SearchTree - search tree with the necessary methods for searhing
#
# (c) <NAME>
# Introducao a Inteligencia Artificial, 2012-2019,
# Inteligência Artificial, 2014-2019
from abc import ABC, abstractmethod
# Dominios de pesquisa
# Permitem calcular
# as accoes possiveis em cada estado, etc
class SearchDomain(ABC):
# construtor
@abstractmethod
def __init__(self):
pass
# lista de accoes possiveis num estado
@abstractmethod
def actions(self, state):
pass
# resultado de uma accao num estado, ou seja, o estado seguinte
@abstractmethod
def result(self, state, action):
pass
# custo de uma accao num estado
@abstractmethod
def cost(self, state, action):
pass
# custo estimado de chegar de um estado a outro
@abstractmethod
def heuristic(self, state, goal):
pass
# test if the given "goal" is satisfied in "state"
@abstractmethod
def satisfies(self, state, goal):
pass
# Problemas concretos a resolver
# dentro de um determinado dominio
class SearchProblem:
def __init__(self, domain, initial, goal):
self.domain = domain
self.initial = initial
self.goal = goal
def goal_test(self, state):
return self.domain.satisfies(state,self.goal)
# Nos de uma arvore de pesquisa
class SearchNode:
def __init__(self,state,parent):
self.state = state
self.parent = parent
def __str__(self):
return "no(" + str(self.state) + "," + str(self.parent) + ")"
def __repr__(self):
return str(self)
# Arvores de pesquisa
class SearchTree:
# construtor
def __init__(self,problem, strategy='breadth'):
self.problem = problem
self.root = SearchNode(problem.initial, None)
self.open_nodes = [self.root]
self.strategy = strategy
# obter o caminho (sequencia de estados) da raiz ate um no
def get_path(self,node):
if node.parent == None:
return [node.state]
path = self.get_path(node.parent)
path += [node.state]
return(path)
# procurar a solucao
def search(self):
while self.open_nodes != []:
node = self.open_nodes.pop(0)
if self.problem.goal_test(node.state):
return self.get_path(node)
lnewnodes = []
for a in self.problem.domain.actions(node.state):
newstate = self.problem.domain.result(node.state,a)
if newstate not in self.get_path(node):
newnode = SearchNode(newstate,node)
lnewnodes.append(newnode)
self.add_to_open(lnewnodes)
return None
# juntar novos nos a lista de nos abertos de acordo com a estrategia
def add_to_open(self,lnewnodes):
if self.strategy == 'breadth':
self.open_nodes.extend(lnewnodes)
elif self.strategy == 'depth':
self.open_nodes[:0] = lnewnodes
elif self.strategy == 'astar':
self.astar_add_to_open(lnewnodes)
elif self.strategy == 'uniform':
pass
| [
1,
529,
9507,
29958,
29873,
1631,
29896,
29914,
8336,
29918,
4478,
29889,
2272,
29966,
12443,
29918,
303,
1503,
29958,
29896,
29899,
29896,
29900,
13,
30004,
13,
29937,
15591,
29901,
5447,
29918,
4478,
30004,
13,
29937,
6756,
13,
29937,
910,
3883,
8128,
263,
731,
288,
4413,
363,
3345,
630,
30004,
13,
29937,
1108,
17069,
1549,
5447,
2740,
29901,
30004,
13,
29937,
1678,
11856,
15951,
29871,
448,
1108,
21904,
30004,
13,
29937,
1678,
11856,
26604,
448,
18387,
4828,
304,
367,
7484,
30004,
13,
29937,
1678,
11856,
4247,
1678,
448,
2740,
5447,
7573,
30004,
13,
29937,
1678,
11856,
9643,
1678,
448,
2740,
5447,
411,
278,
5181,
3519,
363,
409,
279,
2790,
30004,
13,
29937,
30004,
13,
29937,
29871,
313,
29883,
29897,
529,
5813,
3238,
13,
29937,
29871,
3159,
3518,
1113,
29877,
263,
18555,
2101,
1512,
3012,
928,
616,
29892,
29871,
29906,
29900,
29896,
29906,
29899,
29906,
29900,
29896,
29929,
11167,
13,
29937,
29871,
18555,
335,
10544,
3012,
928,
616,
29892,
29871,
29906,
29900,
29896,
29946,
29899,
29906,
29900,
29896,
29929,
30004,
13,
30004,
13,
3166,
25638,
1053,
16417,
29892,
9846,
5696,
30004,
13,
30004,
13,
29937,
7809,
2172,
359,
316,
8928,
7680,
29874,
30004,
13,
29937,
20894,
667,
1208,
16637,
30004,
13,
29937,
408,
1035,
29877,
267,
3119,
573,
275,
953,
9747,
12082,
29892,
2992,
30004,
13,
1990,
11856,
15951,
29898,
19658,
1125,
30004,
13,
30004,
13,
1678,
396,
378,
710,
3406,
30004,
13,
1678,
732,
16595,
5696,
30004,
13,
1678,
822,
4770,
2344,
12035,
1311,
1125,
30004,
13,
4706,
1209,
30004,
13,
30004,
13,
1678,
396,
15023,
316,
1035,
29877,
267,
3119,
573,
275,
954,
12082,
30004,
13,
1678,
732,
16595,
5696,
30004,
13,
1678,
822,
8820,
29898,
1311,
29892,
2106,
1125,
30004,
13,
4706,
1209,
30004,
13,
30004,
13,
1678,
396,
24578,
316,
3672,
1035,
6241,
954,
12082,
29892,
2123,
409,
1764,
29892,
288,
12082,
7025,
6693,
30004,
13,
1678,
732,
16595,
5696,
30004,
13,
1678,
822,
1121,
29898,
1311,
29892,
2106,
29892,
3158,
1125,
30004,
13,
4706,
1209,
30004,
13,
30004,
13,
1678,
396,
274,
23065,
316,
3672,
1035,
6241,
954,
12082,
30004,
13,
1678,
732,
16595,
5696,
30004,
13,
1678,
822,
3438,
29898,
1311,
29892,
2106,
29892,
3158,
1125,
30004,
13,
4706,
1209,
30004,
13,
30004,
13,
1678,
396,
274,
23065,
4844,
912,
316,
923,
5397,
316,
1922,
12082,
263,
714,
307,
30004,
13,
1678,
732,
16595,
5696,
30004,
13,
1678,
822,
540,
332,
4695,
29898,
1311,
29892,
2106,
29892,
7306,
1125,
30004,
13,
4706,
1209,
30004,
13,
30004,
13,
1678,
396,
1243,
565,
278,
2183,
376,
28111,
29908,
338,
15787,
297,
376,
3859,
19451,
13,
1678,
732,
16595,
5696,
30004,
13,
1678,
822,
17150,
29898,
1311,
29892,
2106,
29892,
7306,
1125,
30004,
13,
4706,
1209,
30004,
13,
30004,
13,
30004,
13,
29937,
11583,
294,
378,
4838,
359,
263,
3770,
369,
30004,
13,
29937,
16018,
316,
1922,
11806,
912,
8022,
601,
30004,
13,
1990,
11856,
26604,
29901,
30004,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
5354,
29892,
2847,
29892,
7306,
1125,
30004,
13,
4706,
1583,
29889,
7247,
353,
5354,
30004,
13,
4706,
1583,
29889,
11228,
353,
2847,
30004,
13,
4706,
1583,
29889,
28111,
353,
7306,
30004,
13,
1678,
822,
7306,
29918,
1688,
29898,
1311,
29892,
2106,
1125,
30004,
13,
4706,
736,
1583,
29889,
7247,
29889,
29879,
27685,
583,
29898,
3859,
29892,
1311,
29889,
28111,
8443,
13,
30004,
13,
29937,
405,
359,
316,
3672,
564,
29894,
487,
316,
8928,
7680,
29874,
30004,
13,
1990,
11856,
4247,
29901,
30004,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
3859,
29892,
3560,
1125,
6756,
13,
4706,
1583,
29889,
3859,
353,
2106,
30004,
13,
4706,
1583,
29889,
3560,
353,
3847,
30004,
13,
1678,
822,
4770,
710,
12035,
1311,
1125,
30004,
13,
4706,
736,
376,
1217,
703,
718,
851,
29898,
1311,
29889,
3859,
29897,
718,
28796,
718,
851,
29898,
1311,
29889,
3560,
29897,
718,
376,
5513,
30004,
13,
1678,
822,
4770,
276,
558,
12035,
1311,
1125,
30004,
13,
4706,
736,
851,
29898,
1311,
8443,
13,
30004,
13,
29937,
826,
29894,
2361,
316,
8928,
7680,
29874,
30004,
13,
1990,
11856,
9643,
29901,
30004,
13,
30004,
13,
1678,
396,
378,
710,
3406,
30004,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
17199,
29892,
13705,
2433,
29890,
949,
386,
29374,
6756,
13,
4706,
1583,
29889,
17199,
353,
1108,
30004,
13,
4706,
1583,
29889,
4632,
353,
11856,
4247,
29898,
17199,
29889,
11228,
29892,
6213,
8443,
13,
4706,
1583,
29889,
3150,
29918,
18010,
353,
518,
1311,
29889,
4632,
29962,
30004,
13,
4706,
1583,
29889,
710,
8963,
353,
13705,
30004,
13,
30004,
13,
1678,
396,
704,
357,
288,
3949,
21307,
313,
6831,
5760,
316,
707,
2255,
29897,
1146,
1153,
466,
263,
371,
1922,
694,
30004,
13,
1678,
822,
679,
29918,
2084,
29898,
1311,
29892,
3177,
1125,
30004,
13,
4706,
565,
2943,
29889,
3560,
1275,
6213,
29901,
30004,
13,
9651,
736,
518,
3177,
29889,
3859,
29962,
30004,
13,
4706,
2224,
353,
1583,
29889,
657,
29918,
2084,
29898,
3177,
29889,
3560,
8443,
13,
4706,
2224,
4619,
518,
3177,
29889,
3859,
29962,
30004,
13,
4706,
736,
29898,
2084,
8443,
13,
30004,
13,
1678,
396,
410,
2764,
279,
263,
899,
18393,
29877,
30004,
13,
1678,
822,
2740,
29898,
1311,
1125,
30004,
13,
4706,
1550,
1583,
29889,
3150,
29918,
18010,
2804,
5159,
29901,
30004,
13,
9651,
2943,
353,
1583,
29889,
3150,
29918,
18010,
29889,
7323,
29898,
29900,
8443,
13,
9651,
565,
1583,
29889,
17199,
29889,
28111,
29918,
1688,
29898,
3177,
29889,
3859,
1125,
30004,
13,
18884,
736,
1583,
29889,
657,
29918,
2084,
29898,
3177,
8443,
13,
9651,
301,
484,
1233,
2631,
353,
5159,
30004,
13,
9651,
363,
263,
297,
1583,
29889,
17199,
29889,
7247,
29889,
7387,
29898,
3177,
29889,
3859,
1125,
30004,
13,
18884,
716,
3859,
353,
1583,
29889,
17199,
29889,
7247,
29889,
2914,
29898,
3177,
29889,
3859,
29892,
29874,
8443,
13,
18884,
565,
716,
3859,
451,
297,
1583,
29889,
657,
29918,
2084,
29898,
3177,
1125,
30004,
13,
462,
1678,
716,
3177,
353,
11856,
4247,
29898,
1482,
3859,
29892,
3177,
8443,
13,
462,
1678,
301,
484,
1233,
2631,
29889,
4397,
29898,
484,
1233,
356,
8443,
13,
9651,
1583,
29889,
1202,
29918,
517,
29918,
3150,
29898,
29880,
484,
1233,
2631,
8443,
13,
4706,
736,
6213,
30004,
13,
30004,
13,
1678,
396,
25296,
279,
2420,
359,
7814,
263,
15023,
316,
7814,
263,
2151,
359,
316,
1274,
20584,
419,
263,
707,
29878,
1845,
423,
30004,
13,
1678,
822,
788,
29918,
517,
29918,
3150,
29898,
1311,
29892,
29880,
484,
1233,
2631,
1125,
30004,
13,
4706,
565,
1583,
29889,
710,
8963,
1275,
525,
29890,
949,
386,
2396,
30004,
13,
9651,
1583,
29889,
3150,
29918,
18010,
29889,
21843,
29898,
29880,
484,
1233,
2631,
8443,
13,
4706,
25342,
1583,
29889,
710,
8963,
1275,
525,
19488,
2396,
30004,
13,
9651,
1583,
29889,
3150,
29918,
18010,
7503,
29900,
29962,
353,
301,
484,
1233,
2631,
30004,
13,
4706,
25342,
1583,
29889,
710,
8963,
1275,
525,
579,
279,
2396,
30004,
13,
9651,
1583,
29889,
579,
279,
29918,
1202,
29918,
517,
29918,
3150,
29898,
29880,
484,
1233,
2631,
8443,
13,
4706,
25342,
1583,
29889,
710,
8963,
1275,
525,
29590,
2396,
30004,
13,
9651,
1209,
30004,
13,
30004,
13,
2
] |
pbr/scene/shadowcatcher.py | vuvuzella/nubots-pbr | 1 | 173309 | #!/usr/local/blender -P
import bpy
from scene.blender_object import BlenderObject
class ShadowCatcher(BlenderObject):
def __init__(self):
bpy.ops.mesh.primitive_plane_add()
self.obj = bpy.data.objects["Plane"]
self.obj.name = "SC_Plane"
self.obj.cycles.is_shadow_catcher = True
self.obj.cycles.show_transparent = True
self.obj.scale = (50, 50, 1)
self.obj.location = (0, 0, -0.0001)
| [
1,
18787,
4855,
29914,
2997,
29914,
2204,
1581,
448,
29925,
13,
13,
5215,
289,
2272,
13,
13,
3166,
9088,
29889,
2204,
1581,
29918,
3318,
1053,
3164,
1581,
2061,
13,
13,
13,
1990,
1383,
6986,
29907,
905,
261,
29898,
10358,
1581,
2061,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
1125,
13,
4706,
289,
2272,
29889,
3554,
29889,
4467,
29882,
29889,
9469,
3321,
29918,
22116,
29918,
1202,
580,
13,
4706,
1583,
29889,
5415,
353,
289,
2272,
29889,
1272,
29889,
12650,
3366,
3247,
1662,
3108,
13,
4706,
1583,
29889,
5415,
29889,
978,
353,
376,
7187,
29918,
3247,
1662,
29908,
13,
4706,
1583,
29889,
5415,
29889,
1270,
7799,
29889,
275,
29918,
17505,
29918,
12510,
261,
353,
5852,
13,
4706,
1583,
29889,
5415,
29889,
1270,
7799,
29889,
4294,
29918,
3286,
3560,
353,
5852,
13,
4706,
1583,
29889,
5415,
29889,
7052,
353,
313,
29945,
29900,
29892,
29871,
29945,
29900,
29892,
29871,
29896,
29897,
13,
4706,
1583,
29889,
5415,
29889,
5479,
353,
313,
29900,
29892,
29871,
29900,
29892,
448,
29900,
29889,
29900,
29900,
29900,
29896,
29897,
13,
2
] |
keystone/tests/unit/test_v3_assignment.py | crowdy/keystone | 0 | 101 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
import datetime
import random
import uuid
import freezegun
import http.client
from testtools import matchers
from keystone.common import provider_api
import keystone.conf
from keystone import exception
from keystone.resource.backends import base as resource_base
from keystone.tests import unit
from keystone.tests.unit import test_v3
CONF = keystone.conf.CONF
PROVIDERS = provider_api.ProviderAPIs
class SystemRoleAssignmentMixin(object):
def _create_new_role(self):
"""Create a role available for use anywhere and return the ID."""
ref = unit.new_role_ref()
response = self.post('/roles', body={'role': ref})
# We only really need the role ID, so omit the rest of the response and
# return the ID of the role we just created.
return response.json_body['role']['id']
def _create_group(self):
body = {
'group': {
'domain_id': self.domain_id,
'name': uuid.uuid4().hex
}
}
response = self.post('/groups/', body=body)
return response.json_body['group']
def _create_user(self):
body = {
'user': {
'domain_id': self.domain_id,
'name': uuid.uuid4().hex
}
}
response = self.post('/users/', body=body)
return response.json_body['user']
class AssignmentTestCase(test_v3.RestfulTestCase,
test_v3.AssignmentTestMixin,
SystemRoleAssignmentMixin):
"""Test roles and role assignments."""
def setUp(self):
super(AssignmentTestCase, self).setUp()
self.group = unit.new_group_ref(domain_id=self.domain_id)
self.group = PROVIDERS.identity_api.create_group(self.group)
self.group_id = self.group['id']
# Role CRUD tests
def test_create_role(self):
"""Call ``POST /roles``."""
ref = unit.new_role_ref()
r = self.post(
'/roles',
body={'role': ref})
return self.assertValidRoleResponse(r, ref)
def test_create_role_bad_request(self):
"""Call ``POST /roles``."""
self.post('/roles', body={'role': {}},
expected_status=http.client.BAD_REQUEST)
def test_list_head_roles(self):
"""Call ``GET & HEAD /roles``."""
resource_url = '/roles'
r = self.get(resource_url)
self.assertValidRoleListResponse(r, ref=self.role,
resource_url=resource_url)
self.head(resource_url, expected_status=http.client.OK)
def test_get_head_role(self):
"""Call ``GET & HEAD /roles/{role_id}``."""
resource_url = '/roles/%(role_id)s' % {
'role_id': self.role_id}
r = self.get(resource_url)
self.assertValidRoleResponse(r, self.role)
self.head(resource_url, expected_status=http.client.OK)
def test_update_role(self):
"""Call ``PATCH /roles/{role_id}``."""
ref = unit.new_role_ref()
del ref['id']
r = self.patch('/roles/%(role_id)s' % {
'role_id': self.role_id},
body={'role': ref})
self.assertValidRoleResponse(r, ref)
def test_delete_role(self):
"""Call ``DELETE /roles/{role_id}``."""
self.delete('/roles/%(role_id)s' % {
'role_id': self.role_id})
# Role Grants tests
def test_crud_user_project_role_grants(self):
role = unit.new_role_ref()
PROVIDERS.role_api.create_role(role['id'], role)
collection_url = (
'/projects/%(project_id)s/users/%(user_id)s/roles' % {
'project_id': self.project['id'],
'user_id': self.user['id']})
member_url = '%(collection_url)s/%(role_id)s' % {
'collection_url': collection_url,
'role_id': role['id']}
# There is a role assignment for self.user on self.project
r = self.get(collection_url)
self.assertValidRoleListResponse(r, ref=self.role,
expected_length=1)
self.put(member_url)
self.head(member_url)
self.get(member_url, expected_status=http.client.NO_CONTENT)
r = self.get(collection_url)
self.assertValidRoleListResponse(r, ref=role,
resource_url=collection_url,
expected_length=2)
self.head(collection_url, expected_status=http.client.OK)
self.delete(member_url)
r = self.get(collection_url)
self.assertValidRoleListResponse(r, ref=self.role, expected_length=1)
self.assertIn(collection_url, r.result['links']['self'])
self.head(collection_url, expected_status=http.client.OK)
def test_crud_user_project_role_grants_no_user(self):
"""Grant role on a project to a user that doesn't exist.
When grant a role on a project to a user that doesn't exist, the server
returns Not Found for the user.
"""
user_id = uuid.uuid4().hex
collection_url = (
'/projects/%(project_id)s/users/%(user_id)s/roles' % {
'project_id': self.project['id'], 'user_id': user_id})
member_url = '%(collection_url)s/%(role_id)s' % {
'collection_url': collection_url,
'role_id': self.role_id}
self.put(member_url, expected_status=http.client.NOT_FOUND)
self.head(member_url, expected_status=http.client.NOT_FOUND)
self.get(member_url, expected_status=http.client.NOT_FOUND)
def test_crud_user_domain_role_grants(self):
time = datetime.datetime.utcnow()
with freezegun.freeze_time(time) as frozen_datetime:
collection_url = (
'/domains/%(domain_id)s/users/%(user_id)s/roles' % {
'domain_id': self.domain_id,
'user_id': self.user['id']})
member_url = '%(collection_url)s/%(role_id)s' % {
'collection_url': collection_url,
'role_id': self.role_id}
self.put(member_url)
self.head(member_url)
self.get(member_url, expected_status=http.client.NO_CONTENT)
r = self.get(collection_url)
self.assertValidRoleListResponse(r, ref=self.role,
resource_url=collection_url)
self.head(collection_url, expected_status=http.client.OK)
self.delete(member_url)
# NOTE(lbragstad): Make sure we wait a second before we ask for the
# roles. This ensures the token we use isn't considered revoked
# because it was issued within the same second as a revocation
# event.
frozen_datetime.tick(delta=datetime.timedelta(seconds=1))
r = self.get(collection_url)
self.assertValidRoleListResponse(r, expected_length=0,
resource_url=collection_url)
self.head(collection_url, expected_status=http.client.OK)
def test_crud_user_domain_role_grants_no_user(self):
"""Grant role on a domain to a user that doesn't exist.
When grant a role on a domain to a user that doesn't exist, the server
returns 404 Not Found for the user.
"""
user_id = uuid.uuid4().hex
collection_url = (
'/domains/%(domain_id)s/users/%(user_id)s/roles' % {
'domain_id': self.domain_id, 'user_id': user_id})
member_url = '%(collection_url)s/%(role_id)s' % {
'collection_url': collection_url,
'role_id': self.role_id}
self.put(member_url, expected_status=http.client.NOT_FOUND)
self.head(member_url, expected_status=http.client.NOT_FOUND)
self.get(member_url, expected_status=http.client.NOT_FOUND)
def test_crud_group_project_role_grants(self):
time = datetime.datetime.utcnow()
with freezegun.freeze_time(time) as frozen_datetime:
collection_url = (
'/projects/%(project_id)s/groups/%(group_id)s/roles' % {
'project_id': self.project_id,
'group_id': self.group_id})
member_url = '%(collection_url)s/%(role_id)s' % {
'collection_url': collection_url,
'role_id': self.role_id}
self.put(member_url)
self.head(member_url)
self.get(member_url, expected_status=http.client.NO_CONTENT)
r = self.get(collection_url)
self.assertValidRoleListResponse(r, ref=self.role,
resource_url=collection_url)
self.head(collection_url, expected_status=http.client.OK)
self.delete(member_url)
# NOTE(lbragstad): Make sure we wait a second before we ask for the
# roles. This ensures the token we use isn't considered revoked
# because it was issued within the same second as a revocation
# event.
frozen_datetime.tick(delta=datetime.timedelta(seconds=1))
r = self.get(collection_url)
self.assertValidRoleListResponse(r, expected_length=0,
resource_url=collection_url)
self.head(collection_url, expected_status=http.client.OK)
def test_crud_group_project_role_grants_no_group(self):
"""Grant role on a project to a group that doesn't exist.
When grant a role on a project to a group that doesn't exist, the
server returns 404 Not Found for the group.
"""
group_id = uuid.uuid4().hex
collection_url = (
'/projects/%(project_id)s/groups/%(group_id)s/roles' % {
'project_id': self.project_id,
'group_id': group_id})
member_url = '%(collection_url)s/%(role_id)s' % {
'collection_url': collection_url,
'role_id': self.role_id}
self.put(member_url, expected_status=http.client.NOT_FOUND)
self.head(member_url, expected_status=http.client.NOT_FOUND)
self.get(member_url, expected_status=http.client.NOT_FOUND)
def test_crud_group_domain_role_grants(self):
time = datetime.datetime.utcnow()
with freezegun.freeze_time(time) as frozen_datetime:
collection_url = (
'/domains/%(domain_id)s/groups/%(group_id)s/roles' % {
'domain_id': self.domain_id,
'group_id': self.group_id})
member_url = '%(collection_url)s/%(role_id)s' % {
'collection_url': collection_url,
'role_id': self.role_id}
self.put(member_url)
self.head(member_url)
self.get(member_url, expected_status=http.client.NO_CONTENT)
r = self.get(collection_url)
self.assertValidRoleListResponse(r, ref=self.role,
resource_url=collection_url)
self.head(collection_url, expected_status=http.client.OK)
self.delete(member_url)
# NOTE(lbragstad): Make sure we wait a second before we ask for the
# roles. This ensures the token we use isn't considered revoked
# because it was issued within the same second as a revocation
# event.
frozen_datetime.tick(delta=datetime.timedelta(seconds=1))
r = self.get(collection_url)
self.assertValidRoleListResponse(r, expected_length=0,
resource_url=collection_url)
self.head(collection_url, expected_status=http.client.OK)
def test_crud_group_domain_role_grants_no_group(self):
"""Grant role on a domain to a group that doesn't exist.
When grant a role on a domain to a group that doesn't exist, the server
returns 404 Not Found for the group.
"""
group_id = uuid.uuid4().hex
collection_url = (
'/domains/%(domain_id)s/groups/%(group_id)s/roles' % {
'domain_id': self.domain_id,
'group_id': group_id})
member_url = '%(collection_url)s/%(role_id)s' % {
'collection_url': collection_url,
'role_id': self.role_id}
self.put(member_url, expected_status=http.client.NOT_FOUND)
self.head(member_url, expected_status=http.client.NOT_FOUND)
self.get(member_url, expected_status=http.client.NOT_FOUND)
def _create_new_user_and_assign_role_on_project(self):
"""Create a new user and assign user a role on a project."""
# Create a new user
new_user = unit.new_user_ref(domain_id=self.domain_id)
user_ref = PROVIDERS.identity_api.create_user(new_user)
# Assign the user a role on the project
collection_url = (
'/projects/%(project_id)s/users/%(user_id)s/roles' % {
'project_id': self.project_id,
'user_id': user_ref['id']})
member_url = ('%(collection_url)s/%(role_id)s' % {
'collection_url': collection_url,
'role_id': self.role_id})
self.put(member_url)
# Check the user has the role assigned
self.head(member_url)
self.get(member_url, expected_status=http.client.NO_CONTENT)
return member_url, user_ref
def test_delete_user_before_removing_role_assignment_succeeds(self):
"""Call ``DELETE`` on the user before the role assignment."""
member_url, user = self._create_new_user_and_assign_role_on_project()
# Delete the user from identity backend
PROVIDERS.identity_api.driver.delete_user(user['id'])
# Clean up the role assignment
self.delete(member_url)
# Make sure the role is gone
self.head(member_url, expected_status=http.client.NOT_FOUND)
def test_delete_group_before_removing_role_assignment_succeeds(self):
# Disable the cache so that we perform a fresh check of the identity
# backend when attempting to remove the role assignment.
self.config_fixture.config(group='cache', enabled=False)
# Create a new group
group = unit.new_group_ref(domain_id=self.domain_id)
group_ref = PROVIDERS.identity_api.create_group(group)
# Assign the user a role on the project
collection_url = (
'/projects/%(project_id)s/groups/%(group_id)s/roles' % {
'project_id': self.project_id,
'group_id': group_ref['id']})
member_url = ('%(collection_url)s/%(role_id)s' % {
'collection_url': collection_url,
'role_id': self.role_id})
self.put(member_url)
# Check the user has the role assigned
self.head(member_url)
self.get(member_url, expected_status=http.client.NO_CONTENT)
# Simulate removing the group via LDAP by directly removing it from the
# identity backend.
PROVIDERS.identity_api.driver.delete_group(group_ref['id'])
# Ensure we can clean up the role assignment even though the group
# doesn't exist
self.delete(member_url)
def test_delete_user_before_removing_system_assignments_succeeds(self):
system_role = self._create_new_role()
user = self._create_user()
path = (
'/system/users/%(user_id)s/roles/%(role_id)s' %
{'user_id': user['id'], 'role_id': system_role}
)
self.put(path)
response = self.get('/role_assignments')
number_of_assignments = len(response.json_body['role_assignments'])
path = '/users/%(user_id)s' % {'user_id': user['id']}
self.delete(path)
# The user with the system role assignment is a new user and only has
# one role on the system. We should expect one less role assignment in
# the list.
response = self.get('/role_assignments')
self.assertValidRoleAssignmentListResponse(
response, expected_length=number_of_assignments - 1
)
def test_delete_user_and_check_role_assignment_fails(self):
"""Call ``DELETE`` on the user and check the role assignment."""
member_url, user = self._create_new_user_and_assign_role_on_project()
# Delete the user from identity backend
PROVIDERS.identity_api.delete_user(user['id'])
# We should get a 404 Not Found when looking for the user in the
# identity backend because we're not performing a delete operation on
# the role.
self.head(member_url, expected_status=http.client.NOT_FOUND)
def test_token_revoked_once_group_role_grant_revoked(self):
"""Test token invalid when direct & indirect role on user is revoked.
When a role granted to a group is revoked for a given scope,
and user direct role is revoked, then tokens created
by user will be invalid.
"""
time = datetime.datetime.utcnow()
with freezegun.freeze_time(time) as frozen_datetime:
# creates grant from group on project.
PROVIDERS.assignment_api.create_grant(
role_id=self.role['id'], project_id=self.project['id'],
group_id=self.group['id']
)
# adds user to the group.
PROVIDERS.identity_api.add_user_to_group(
user_id=self.user['id'], group_id=self.group['id']
)
# creates a token for the user
auth_body = self.build_authentication_request(
user_id=self.user['id'],
password=<PASSWORD>['password'],
project_id=self.project['id'])
token_resp = self.post('/auth/tokens', body=auth_body)
token = token_resp.headers.get('x-subject-token')
# validates the returned token; it should be valid.
self.head('/auth/tokens',
headers={'x-subject-token': token},
expected_status=http.client.OK)
frozen_datetime.tick(delta=datetime.timedelta(seconds=1))
# revokes the grant from group on project.
PROVIDERS.assignment_api.delete_grant(
role_id=self.role['id'], project_id=self.project['id'],
group_id=self.group['id'])
# revokes the direct role form user on project
PROVIDERS.assignment_api.delete_grant(
role_id=self.role['id'], project_id=self.project['id'],
user_id=self.user['id']
)
frozen_datetime.tick(delta=datetime.timedelta(seconds=1))
# validates the same token again; it should not longer be valid.
self.head('/auth/tokens', token=token,
expected_status=http.client.UNAUTHORIZED)
def test_delete_group_before_removing_system_assignments_succeeds(self):
system_role = self._create_new_role()
group = self._create_group()
path = (
'/system/groups/%(group_id)s/roles/%(role_id)s' %
{'group_id': group['id'], 'role_id': system_role}
)
self.put(path)
response = self.get('/role_assignments')
number_of_assignments = len(response.json_body['role_assignments'])
path = '/groups/%(group_id)s' % {'group_id': group['id']}
self.delete(path)
# The group with the system role assignment is a new group and only has
# one role on the system. We should expect one less role assignment in
# the list.
response = self.get('/role_assignments')
self.assertValidRoleAssignmentListResponse(
response, expected_length=number_of_assignments - 1
)
@unit.skip_if_cache_disabled('assignment')
def test_delete_grant_from_user_and_project_invalidate_cache(self):
# create a new project
new_project = unit.new_project_ref(domain_id=self.domain_id)
PROVIDERS.resource_api.create_project(new_project['id'], new_project)
collection_url = (
'/projects/%(project_id)s/users/%(user_id)s/roles' % {
'project_id': new_project['id'],
'user_id': self.user['id']})
member_url = '%(collection_url)s/%(role_id)s' % {
'collection_url': collection_url,
'role_id': self.role_id}
# create the user a grant on the new project
self.put(member_url)
# check the grant that was just created
self.head(member_url)
self.get(member_url, expected_status=http.client.NO_CONTENT)
resp = self.get(collection_url)
self.assertValidRoleListResponse(resp, ref=self.role,
resource_url=collection_url)
# delete the grant
self.delete(member_url)
# get the collection and ensure there are no roles on the project
resp = self.get(collection_url)
self.assertListEqual(resp.json_body['roles'], [])
@unit.skip_if_cache_disabled('assignment')
def test_delete_grant_from_user_and_domain_invalidates_cache(self):
# create a new domain
new_domain = unit.new_domain_ref()
PROVIDERS.resource_api.create_domain(new_domain['id'], new_domain)
collection_url = (
'/domains/%(domain_id)s/users/%(user_id)s/roles' % {
'domain_id': new_domain['id'],
'user_id': self.user['id']})
member_url = '%(collection_url)s/%(role_id)s' % {
'collection_url': collection_url,
'role_id': self.role_id}
# create the user a grant on the new domain
self.put(member_url)
# check the grant that was just created
self.head(member_url)
self.get(member_url, expected_status=http.client.NO_CONTENT)
resp = self.get(collection_url)
self.assertValidRoleListResponse(resp, ref=self.role,
resource_url=collection_url)
# delete the grant
self.delete(member_url)
# get the collection and ensure there are no roles on the domain
resp = self.get(collection_url)
self.assertListEqual(resp.json_body['roles'], [])
@unit.skip_if_cache_disabled('assignment')
def test_delete_grant_from_group_and_project_invalidates_cache(self):
# create a new project
new_project = unit.new_project_ref(domain_id=self.domain_id)
PROVIDERS.resource_api.create_project(new_project['id'], new_project)
collection_url = (
'/projects/%(project_id)s/groups/%(group_id)s/roles' % {
'project_id': new_project['id'],
'group_id': self.group['id']})
member_url = '%(collection_url)s/%(role_id)s' % {
'collection_url': collection_url,
'role_id': self.role_id}
# create the group a grant on the new project
self.put(member_url)
# check the grant that was just created
self.head(member_url)
self.get(member_url, expected_status=http.client.NO_CONTENT)
resp = self.get(collection_url)
self.assertValidRoleListResponse(resp, ref=self.role,
resource_url=collection_url)
# delete the grant
self.delete(member_url)
# get the collection and ensure there are no roles on the project
resp = self.get(collection_url)
self.assertListEqual(resp.json_body['roles'], [])
@unit.skip_if_cache_disabled('assignment')
def test_delete_grant_from_group_and_domain_invalidates_cache(self):
# create a new domain
new_domain = unit.new_domain_ref()
PROVIDERS.resource_api.create_domain(new_domain['id'], new_domain)
collection_url = (
'/domains/%(domain_id)s/groups/%(group_id)s/roles' % {
'domain_id': new_domain['id'],
'group_id': self.group['id']})
member_url = '%(collection_url)s/%(role_id)s' % {
'collection_url': collection_url,
'role_id': self.role_id}
# create the group a grant on the new domain
self.put(member_url)
# check the grant that was just created
self.head(member_url)
self.get(member_url, expected_status=http.client.NO_CONTENT)
resp = self.get(collection_url)
self.assertValidRoleListResponse(resp, ref=self.role,
resource_url=collection_url)
# delete the grant
self.delete(member_url)
# get the collection and ensure there are no roles on the domain
resp = self.get(collection_url)
self.assertListEqual(resp.json_body['roles'], [])
# Role Assignments tests
def test_get_head_role_assignments(self):
"""Call ``GET & HEAD /role_assignments``.
The sample data set up already has a user, group and project
that is part of self.domain. We use these plus a new user
we create as our data set, making sure we ignore any
role assignments that are already in existence.
Since we don't yet support a first class entity for role
assignments, we are only testing the LIST API. To create
and delete the role assignments we use the old grant APIs.
Test Plan:
- Create extra user for tests
- Get a list of all existing role assignments
- Add a new assignment for each of the four combinations, i.e.
group+domain, user+domain, group+project, user+project, using
the same role each time
- Get a new list of all role assignments, checking these four new
ones have been added
- Then delete the four we added
- Get a new list of all role assignments, checking the four have
been removed
"""
time = datetime.datetime.utcnow()
with freezegun.freeze_time(time) as frozen_datetime:
# Since the default fixtures already assign some roles to the
# user it creates, we also need a new user that will not have any
# existing assignments
user1 = unit.new_user_ref(domain_id=self.domain['id'])
user1 = PROVIDERS.identity_api.create_user(user1)
role = unit.new_role_ref()
PROVIDERS.role_api.create_role(role['id'], role)
collection_url = '/role_assignments'
r = self.get(collection_url)
self.assertValidRoleAssignmentListResponse(
r, resource_url=collection_url)
self.head(collection_url, expected_status=http.client.OK)
existing_assignments = len(r.result.get('role_assignments'))
# Now add one of each of the four types of assignment, making sure
# that we get them all back.
gd_entity = self.build_role_assignment_entity(
domain_id=self.domain_id,
group_id=self.group_id,
role_id=role['id'])
self.put(gd_entity['links']['assignment'])
r = self.get(collection_url)
self.assertValidRoleAssignmentListResponse(
r,
expected_length=existing_assignments + 1,
resource_url=collection_url)
self.assertRoleAssignmentInListResponse(r, gd_entity)
self.head(collection_url, expected_status=http.client.OK)
ud_entity = self.build_role_assignment_entity(
domain_id=self.domain_id,
user_id=user1['id'],
role_id=role['id'])
self.put(ud_entity['links']['assignment'])
r = self.get(collection_url)
self.assertValidRoleAssignmentListResponse(
r,
expected_length=existing_assignments + 2,
resource_url=collection_url)
self.assertRoleAssignmentInListResponse(r, ud_entity)
self.head(collection_url, expected_status=http.client.OK)
gp_entity = self.build_role_assignment_entity(
project_id=self.project_id, group_id=self.group_id,
role_id=role['id'])
self.put(gp_entity['links']['assignment'])
r = self.get(collection_url)
self.assertValidRoleAssignmentListResponse(
r,
expected_length=existing_assignments + 3,
resource_url=collection_url)
self.assertRoleAssignmentInListResponse(r, gp_entity)
self.head(collection_url, expected_status=http.client.OK)
up_entity = self.build_role_assignment_entity(
project_id=self.project_id, user_id=user1['id'],
role_id=role['id'])
self.put(up_entity['links']['assignment'])
r = self.get(collection_url)
self.assertValidRoleAssignmentListResponse(
r,
expected_length=existing_assignments + 4,
resource_url=collection_url)
self.assertRoleAssignmentInListResponse(r, up_entity)
self.head(collection_url, expected_status=http.client.OK)
# Now delete the four we added and make sure they are removed
# from the collection.
self.delete(gd_entity['links']['assignment'])
self.delete(ud_entity['links']['assignment'])
self.delete(gp_entity['links']['assignment'])
self.delete(up_entity['links']['assignment'])
frozen_datetime.tick(delta=datetime.timedelta(seconds=1))
r = self.get(collection_url)
self.assertValidRoleAssignmentListResponse(
r,
expected_length=existing_assignments,
resource_url=collection_url)
self.assertRoleAssignmentNotInListResponse(r, gd_entity)
self.assertRoleAssignmentNotInListResponse(r, ud_entity)
self.assertRoleAssignmentNotInListResponse(r, gp_entity)
self.assertRoleAssignmentNotInListResponse(r, up_entity)
self.head(collection_url, expected_status=http.client.OK)
def test_get_effective_role_assignments(self):
"""Call ``GET /role_assignments?effective``.
Test Plan:
- Create two extra user for tests
- Add these users to a group
- Add a role assignment for the group on a domain
- Get a list of all role assignments, checking one has been added
- Then get a list of all effective role assignments - the group
assignment should have turned into assignments on the domain
for each of the group members.
"""
user1 = unit.create_user(PROVIDERS.identity_api,
domain_id=self.domain['id'])
user2 = unit.create_user(PROVIDERS.identity_api,
domain_id=self.domain['id'])
PROVIDERS.identity_api.add_user_to_group(user1['id'], self.group['id'])
PROVIDERS.identity_api.add_user_to_group(user2['id'], self.group['id'])
collection_url = '/role_assignments'
r = self.get(collection_url)
self.assertValidRoleAssignmentListResponse(r,
resource_url=collection_url)
existing_assignments = len(r.result.get('role_assignments'))
gd_entity = self.build_role_assignment_entity(domain_id=self.domain_id,
group_id=self.group_id,
role_id=self.role_id)
self.put(gd_entity['links']['assignment'])
r = self.get(collection_url)
self.assertValidRoleAssignmentListResponse(
r,
expected_length=existing_assignments + 1,
resource_url=collection_url)
self.assertRoleAssignmentInListResponse(r, gd_entity)
# Now re-read the collection asking for effective roles - this
# should mean the group assignment is translated into the two
# member user assignments
collection_url = '/role_assignments?effective'
r = self.get(collection_url)
self.assertValidRoleAssignmentListResponse(
r,
expected_length=existing_assignments + 2,
resource_url=collection_url)
ud_entity = self.build_role_assignment_entity(
link=gd_entity['links']['assignment'], domain_id=self.domain_id,
user_id=user1['id'], role_id=self.role_id)
self.assertRoleAssignmentInListResponse(r, ud_entity)
ud_entity = self.build_role_assignment_entity(
link=gd_entity['links']['assignment'], domain_id=self.domain_id,
user_id=user2['id'], role_id=self.role_id)
self.assertRoleAssignmentInListResponse(r, ud_entity)
def test_check_effective_values_for_role_assignments(self):
"""Call ``GET & HEAD /role_assignments?effective=value``.
Check the various ways of specifying the 'effective'
query parameter. If the 'effective' query parameter
is included then this should always be treated as meaning 'True'
unless it is specified as:
{url}?effective=0
This is by design to match the agreed way of handling
policy checking on query/filter parameters.
Test Plan:
- Create two extra user for tests
- Add these users to a group
- Add a role assignment for the group on a domain
- Get a list of all role assignments, checking one has been added
- Then issue various request with different ways of defining
the 'effective' query parameter. As we have tested the
correctness of the data coming back when we get effective roles
in other tests, here we just use the count of entities to
know if we are getting effective roles or not
"""
user1 = unit.create_user(PROVIDERS.identity_api,
domain_id=self.domain['id'])
user2 = unit.create_user(PROVIDERS.identity_api,
domain_id=self.domain['id'])
PROVIDERS.identity_api.add_user_to_group(user1['id'], self.group['id'])
PROVIDERS.identity_api.add_user_to_group(user2['id'], self.group['id'])
collection_url = '/role_assignments'
r = self.get(collection_url, expected_status=http.client.OK)
self.head(collection_url, expected_status=http.client.OK)
self.assertValidRoleAssignmentListResponse(r,
resource_url=collection_url)
existing_assignments = len(r.result.get('role_assignments'))
gd_entity = self.build_role_assignment_entity(domain_id=self.domain_id,
group_id=self.group_id,
role_id=self.role_id)
self.put(gd_entity['links']['assignment'])
r = self.get(collection_url, expected_status=http.client.OK)
self.head(collection_url, expected_status=http.client.OK)
self.assertValidRoleAssignmentListResponse(
r,
expected_length=existing_assignments + 1,
resource_url=collection_url)
self.assertRoleAssignmentInListResponse(r, gd_entity)
# Now re-read the collection asking for effective roles,
# using the most common way of defining "effective'. This
# should mean the group assignment is translated into the two
# member user assignments
collection_url = '/role_assignments?effective'
r = self.get(collection_url, expected_status=http.client.OK)
self.head(collection_url, expected_status=http.client.OK)
self.assertValidRoleAssignmentListResponse(
r,
expected_length=existing_assignments + 2,
resource_url=collection_url)
# Now set 'effective' to false explicitly - should get
# back the regular roles
collection_url = '/role_assignments?effective=0'
r = self.get(collection_url, expected_status=http.client.OK)
self.head(collection_url, expected_status=http.client.OK)
self.assertValidRoleAssignmentListResponse(
r,
expected_length=existing_assignments + 1,
resource_url=collection_url)
# Now try setting 'effective' to 'False' explicitly- this is
# NOT supported as a way of setting a query or filter
# parameter to false by design. Hence we should get back
# effective roles.
collection_url = '/role_assignments?effective=False'
r = self.get(collection_url, expected_status=http.client.OK)
self.head(collection_url, expected_status=http.client.OK)
self.assertValidRoleAssignmentListResponse(
r,
expected_length=existing_assignments + 2,
resource_url=collection_url)
# Now set 'effective' to True explicitly
collection_url = '/role_assignments?effective=True'
r = self.get(collection_url, expected_status=http.client.OK)
self.head(collection_url, expected_status=http.client.OK)
self.assertValidRoleAssignmentListResponse(
r,
expected_length=existing_assignments + 2,
resource_url=collection_url)
def test_filtered_role_assignments(self):
"""Call ``GET /role_assignments?filters``.
Test Plan:
- Create extra users, group, role and project for tests
- Make the following assignments:
Give group1, role1 on project1 and domain
Give user1, role2 on project1 and domain
Make User1 a member of Group1
- Test a series of single filter list calls, checking that
the correct results are obtained
- Test a multi-filtered list call
- Test listing all effective roles for a given user
- Test the equivalent of the list of roles in a project scoped
token (all effective roles for a user on a project)
"""
# Since the default fixtures already assign some roles to the
# user it creates, we also need a new user that will not have any
# existing assignments
user1 = unit.create_user(PROVIDERS.identity_api,
domain_id=self.domain['id'])
user2 = unit.create_user(PROVIDERS.identity_api,
domain_id=self.domain['id'])
group1 = unit.new_group_ref(domain_id=self.domain['id'])
group1 = PROVIDERS.identity_api.create_group(group1)
PROVIDERS.identity_api.add_user_to_group(user1['id'], group1['id'])
PROVIDERS.identity_api.add_user_to_group(user2['id'], group1['id'])
project1 = unit.new_project_ref(domain_id=self.domain['id'])
PROVIDERS.resource_api.create_project(project1['id'], project1)
self.role1 = unit.new_role_ref()
PROVIDERS.role_api.create_role(self.role1['id'], self.role1)
self.role2 = unit.new_role_ref()
PROVIDERS.role_api.create_role(self.role2['id'], self.role2)
# Now add one of each of the six types of assignment
gd_entity = self.build_role_assignment_entity(
domain_id=self.domain_id, group_id=group1['id'],
role_id=self.role1['id'])
self.put(gd_entity['links']['assignment'])
ud_entity = self.build_role_assignment_entity(domain_id=self.domain_id,
user_id=user1['id'],
role_id=self.role2['id'])
self.put(ud_entity['links']['assignment'])
gp_entity = self.build_role_assignment_entity(
project_id=project1['id'],
group_id=group1['id'],
role_id=self.role1['id'])
self.put(gp_entity['links']['assignment'])
up_entity = self.build_role_assignment_entity(
project_id=project1['id'],
user_id=user1['id'],
role_id=self.role2['id'])
self.put(up_entity['links']['assignment'])
gs_entity = self.build_role_assignment_entity(
system='all',
group_id=group1['id'],
role_id=self.role1['id'])
self.put(gs_entity['links']['assignment'])
us_entity = self.build_role_assignment_entity(
system='all',
user_id=user1['id'],
role_id=self.role2['id'])
self.put(us_entity['links']['assignment'])
us2_entity = self.build_role_assignment_entity(
system='all',
user_id=user2['id'],
role_id=self.role2['id'])
self.put(us2_entity['links']['assignment'])
# Now list by various filters to make sure we get back the right ones
collection_url = ('/role_assignments?scope.project.id=%s' %
project1['id'])
r = self.get(collection_url, expected_status=http.client.OK)
self.head(collection_url, expected_status=http.client.OK)
self.assertValidRoleAssignmentListResponse(r,
expected_length=2,
resource_url=collection_url)
self.assertRoleAssignmentInListResponse(r, up_entity)
self.assertRoleAssignmentInListResponse(r, gp_entity)
collection_url = ('/role_assignments?scope.domain.id=%s' %
self.domain['id'])
r = self.get(collection_url, expected_status=http.client.OK)
self.head(collection_url, expected_status=http.client.OK)
self.assertValidRoleAssignmentListResponse(r,
expected_length=2,
resource_url=collection_url)
self.assertRoleAssignmentInListResponse(r, ud_entity)
self.assertRoleAssignmentInListResponse(r, gd_entity)
collection_url = '/role_assignments?user.id=%s' % user1['id']
r = self.get(collection_url, expected_status=http.client.OK)
self.head(collection_url, expected_status=http.client.OK)
self.assertValidRoleAssignmentListResponse(r,
expected_length=3,
resource_url=collection_url)
self.assertRoleAssignmentInListResponse(r, up_entity)
self.assertRoleAssignmentInListResponse(r, ud_entity)
collection_url = '/role_assignments?group.id=%s' % group1['id']
r = self.get(collection_url, expected_status=http.client.OK)
self.head(collection_url, expected_status=http.client.OK)
self.assertValidRoleAssignmentListResponse(r,
expected_length=3,
resource_url=collection_url)
self.assertRoleAssignmentInListResponse(r, gd_entity)
self.assertRoleAssignmentInListResponse(r, gp_entity)
collection_url = '/role_assignments?role.id=%s' % self.role1['id']
r = self.get(collection_url, expected_status=http.client.OK)
self.head(collection_url, expected_status=http.client.OK)
self.assertValidRoleAssignmentListResponse(r,
expected_length=3,
resource_url=collection_url)
self.assertRoleAssignmentInListResponse(r, gd_entity)
self.assertRoleAssignmentInListResponse(r, gp_entity)
self.assertRoleAssignmentInListResponse(r, gs_entity)
collection_url = '/role_assignments?role.id=%s' % self.role2['id']
r = self.get(collection_url, expected_status=http.client.OK)
self.head(collection_url, expected_status=http.client.OK)
self.assertValidRoleAssignmentListResponse(r,
expected_length=4,
resource_url=collection_url)
self.assertRoleAssignmentInListResponse(r, ud_entity)
self.assertRoleAssignmentInListResponse(r, up_entity)
self.assertRoleAssignmentInListResponse(r, us_entity)
# Let's try combining two filers together....
collection_url = (
'/role_assignments?user.id=%(user_id)s'
'&scope.project.id=%(project_id)s' % {
'user_id': user1['id'],
'project_id': project1['id']})
r = self.get(collection_url, expected_status=http.client.OK)
self.head(collection_url, expected_status=http.client.OK)
self.assertValidRoleAssignmentListResponse(r,
expected_length=1,
resource_url=collection_url)
self.assertRoleAssignmentInListResponse(r, up_entity)
# Now for a harder one - filter for user with effective
# roles - this should return role assignment that were directly
# assigned as well as by virtue of group membership
collection_url = ('/role_assignments?effective&user.id=%s' %
user1['id'])
r = self.get(collection_url, expected_status=http.client.OK)
self.head(collection_url, expected_status=http.client.OK)
self.assertValidRoleAssignmentListResponse(r,
expected_length=4,
resource_url=collection_url)
# Should have the two direct roles...
self.assertRoleAssignmentInListResponse(r, up_entity)
self.assertRoleAssignmentInListResponse(r, ud_entity)
# ...and the two via group membership...
gp1_link = self.build_role_assignment_link(
project_id=project1['id'],
group_id=group1['id'],
role_id=self.role1['id'])
gd1_link = self.build_role_assignment_link(domain_id=self.domain_id,
group_id=group1['id'],
role_id=self.role1['id'])
up1_entity = self.build_role_assignment_entity(
link=gp1_link, project_id=project1['id'],
user_id=user1['id'], role_id=self.role1['id'])
ud1_entity = self.build_role_assignment_entity(
link=gd1_link, domain_id=self.domain_id, user_id=user1['id'],
role_id=self.role1['id'])
self.assertRoleAssignmentInListResponse(r, up1_entity)
self.assertRoleAssignmentInListResponse(r, ud1_entity)
# ...and for the grand-daddy of them all, simulate the request
# that would generate the list of effective roles in a project
# scoped token.
collection_url = (
'/role_assignments?effective&user.id=%(user_id)s'
'&scope.project.id=%(project_id)s' % {
'user_id': user1['id'],
'project_id': project1['id']})
r = self.get(collection_url, expected_status=http.client.OK)
self.head(collection_url, expected_status=http.client.OK)
self.assertValidRoleAssignmentListResponse(r,
expected_length=2,
resource_url=collection_url)
# Should have one direct role and one from group membership...
self.assertRoleAssignmentInListResponse(r, up_entity)
self.assertRoleAssignmentInListResponse(r, up1_entity)
def test_list_system_role_assignments(self):
# create a bunch of roles
user_system_role_id = self._create_new_role()
user_domain_role_id = self._create_new_role()
user_project_role_id = self._create_new_role()
group_system_role_id = self._create_new_role()
group_domain_role_id = self._create_new_role()
group_project_role_id = self._create_new_role()
# create a user and grant the user a role on the system, domain, and
# project
user = self._create_user()
url = '/system/users/%s/roles/%s' % (user['id'], user_system_role_id)
self.put(url)
url = '/domains/%s/users/%s/roles/%s' % (
self.domain_id, user['id'], user_domain_role_id
)
self.put(url)
url = '/projects/%s/users/%s/roles/%s' % (
self.project_id, user['id'], user_project_role_id
)
self.put(url)
# create a group and grant the group a role on the system, domain, and
# project
group = self._create_group()
url = '/system/groups/%s/roles/%s' % (
group['id'], group_system_role_id
)
self.put(url)
url = '/domains/%s/groups/%s/roles/%s' % (
self.domain_id, group['id'], group_domain_role_id
)
self.put(url)
url = '/projects/%s/groups/%s/roles/%s' % (
self.project_id, group['id'], group_project_role_id
)
self.put(url)
# /v3/role_assignments?scope.system=all should return two assignments
response = self.get('/role_assignments?scope.system=all')
self.assertValidRoleAssignmentListResponse(response, expected_length=2)
for assignment in response.json_body['role_assignments']:
self.assertTrue(assignment['scope']['system']['all'])
if assignment.get('user'):
self.assertEqual(user_system_role_id, assignment['role']['id'])
if assignment.get('group'):
self.assertEqual(
group_system_role_id,
assignment['role']['id']
)
# /v3/role_assignments?scope_system=all&user.id=$USER_ID should return
# one role assignment
url = '/role_assignments?scope.system=all&user.id=%s' % user['id']
response = self.get(url)
self.assertValidRoleAssignmentListResponse(response, expected_length=1)
self.assertEqual(
user_system_role_id,
response.json_body['role_assignments'][0]['role']['id']
)
# /v3/role_assignments?scope_system=all&group.id=$GROUP_ID should
# return one role assignment
url = '/role_assignments?scope.system=all&group.id=%s' % group['id']
response = self.get(url)
self.assertValidRoleAssignmentListResponse(response, expected_length=1)
self.assertEqual(
group_system_role_id,
response.json_body['role_assignments'][0]['role']['id']
)
# /v3/role_assignments?user.id=$USER_ID should return 3 assignments
# and system should be in that list of assignments
url = '/role_assignments?user.id=%s' % user['id']
response = self.get(url)
self.assertValidRoleAssignmentListResponse(response, expected_length=3)
for assignment in response.json_body['role_assignments']:
if 'system' in assignment['scope']:
self.assertEqual(
user_system_role_id, assignment['role']['id']
)
if 'domain' in assignment['scope']:
self.assertEqual(
user_domain_role_id, assignment['role']['id']
)
if 'project' in assignment['scope']:
self.assertEqual(
user_project_role_id, assignment['role']['id']
)
# /v3/role_assignments?group.id=$GROUP_ID should return 3 assignments
# and system should be in that list of assignments
url = '/role_assignments?group.id=%s' % group['id']
response = self.get(url)
self.assertValidRoleAssignmentListResponse(response, expected_length=3)
for assignment in response.json_body['role_assignments']:
if 'system' in assignment['scope']:
self.assertEqual(
group_system_role_id, assignment['role']['id']
)
if 'domain' in assignment['scope']:
self.assertEqual(
group_domain_role_id, assignment['role']['id']
)
if 'project' in assignment['scope']:
self.assertEqual(
group_project_role_id, assignment['role']['id']
)
class RoleAssignmentBaseTestCase(test_v3.RestfulTestCase,
test_v3.AssignmentTestMixin):
"""Base class for testing /v3/role_assignments API behavior."""
MAX_HIERARCHY_BREADTH = 3
MAX_HIERARCHY_DEPTH = CONF.max_project_tree_depth - 1
def load_sample_data(self):
"""Create sample data to be used on tests.
Created data are i) a role and ii) a domain containing: a project
hierarchy and 3 users within 3 groups.
"""
def create_project_hierarchy(parent_id, depth):
"""Create a random project hierarchy."""
if depth == 0:
return
breadth = random.randint(1, self.MAX_HIERARCHY_BREADTH)
subprojects = []
for i in range(breadth):
subprojects.append(unit.new_project_ref(
domain_id=self.domain_id, parent_id=parent_id))
PROVIDERS.resource_api.create_project(
subprojects[-1]['id'], subprojects[-1]
)
new_parent = subprojects[random.randint(0, breadth - 1)]
create_project_hierarchy(new_parent['id'], depth - 1)
super(RoleAssignmentBaseTestCase, self).load_sample_data()
# Create a domain
self.domain = unit.new_domain_ref()
self.domain_id = self.domain['id']
PROVIDERS.resource_api.create_domain(self.domain_id, self.domain)
# Create a project hierarchy
self.project = unit.new_project_ref(domain_id=self.domain_id)
self.project_id = self.project['id']
PROVIDERS.resource_api.create_project(self.project_id, self.project)
# Create a random project hierarchy
create_project_hierarchy(self.project_id,
random.randint(1, self.MAX_HIERARCHY_DEPTH))
# Create 3 users
self.user_ids = []
for i in range(3):
user = unit.new_user_ref(domain_id=self.domain_id)
user = PROVIDERS.identity_api.create_user(user)
self.user_ids.append(user['id'])
# Create 3 groups
self.group_ids = []
for i in range(3):
group = unit.new_group_ref(domain_id=self.domain_id)
group = PROVIDERS.identity_api.create_group(group)
self.group_ids.append(group['id'])
# Put 2 members on each group
PROVIDERS.identity_api.add_user_to_group(
user_id=self.user_ids[i], group_id=group['id']
)
PROVIDERS.identity_api.add_user_to_group(
user_id=self.user_ids[i % 2], group_id=group['id']
)
PROVIDERS.assignment_api.create_grant(
user_id=self.user_id, project_id=self.project_id,
role_id=self.role_id
)
# Create a role
self.role = unit.new_role_ref()
self.role_id = self.role['id']
PROVIDERS.role_api.create_role(self.role_id, self.role)
# Set default user and group to be used on tests
self.default_user_id = self.user_ids[0]
self.default_group_id = self.group_ids[0]
def get_role_assignments(self, expected_status=http.client.OK, **filters):
"""Return the result from querying role assignment API + queried URL.
Calls GET /v3/role_assignments?<params> and returns its result, where
<params> is the HTTP query parameters form of effective option plus
filters, if provided. Queried URL is returned as well.
:returns: a tuple containing the list role assignments API response and
queried URL.
"""
query_url = self._get_role_assignments_query_url(**filters)
response = self.get(query_url, expected_status=expected_status)
return (response, query_url)
def _get_role_assignments_query_url(self, **filters):
"""Return non-effective role assignments query URL from given filters.
:param filters: query parameters are created with the provided filters
on role assignments attributes. Valid filters are:
role_id, domain_id, project_id, group_id, user_id and
inherited_to_projects.
:returns: role assignments query URL.
"""
return self.build_role_assignment_query_url(**filters)
class RoleAssignmentFailureTestCase(RoleAssignmentBaseTestCase):
"""Class for testing invalid query params on /v3/role_assignments API.
Querying domain and project, or user and group results in a HTTP 400 Bad
Request, since a role assignment must contain only a single pair of (actor,
target). In addition, since filtering on role assignments applies only to
the final result, effective mode cannot be combined with i) group or ii)
domain and inherited, because it would always result in an empty list.
"""
def test_get_role_assignments_by_domain_and_project(self):
self.get_role_assignments(domain_id=self.domain_id,
project_id=self.project_id,
expected_status=http.client.BAD_REQUEST)
def test_get_role_assignments_by_user_and_group(self):
self.get_role_assignments(user_id=self.default_user_id,
group_id=self.default_group_id,
expected_status=http.client.BAD_REQUEST)
def test_get_role_assignments_by_effective_and_inherited(self):
self.get_role_assignments(domain_id=self.domain_id, effective=True,
inherited_to_projects=True,
expected_status=http.client.BAD_REQUEST)
def test_get_role_assignments_by_effective_and_group(self):
self.get_role_assignments(effective=True,
group_id=self.default_group_id,
expected_status=http.client.BAD_REQUEST)
class RoleAssignmentDirectTestCase(RoleAssignmentBaseTestCase):
"""Class for testing direct assignments on /v3/role_assignments API.
Direct assignments on a domain or project have effect on them directly,
instead of on their project hierarchy, i.e they are non-inherited. In
addition, group direct assignments are not expanded to group's users.
Tests on this class make assertions on the representation and API filtering
of direct assignments.
"""
def _test_get_role_assignments(self, **filters):
"""Generic filtering test method.
According to the provided filters, this method:
- creates a new role assignment;
- asserts that list role assignments API reponds correctly;
- deletes the created role assignment.
:param filters: filters to be considered when listing role assignments.
Valid filters are: role_id, domain_id, project_id,
group_id, user_id and inherited_to_projects.
"""
# Fills default assignment with provided filters
test_assignment = self._set_default_assignment_attributes(**filters)
# Create new role assignment for this test
PROVIDERS.assignment_api.create_grant(**test_assignment)
# Get expected role assignments
expected_assignments = self._list_expected_role_assignments(
**test_assignment)
# Get role assignments from API
response, query_url = self.get_role_assignments(**test_assignment)
self.assertValidRoleAssignmentListResponse(response,
resource_url=query_url)
self.assertEqual(len(expected_assignments),
len(response.result.get('role_assignments')))
# Assert that expected role assignments were returned by the API call
for assignment in expected_assignments:
self.assertRoleAssignmentInListResponse(response, assignment)
# Delete created role assignment
PROVIDERS.assignment_api.delete_grant(**test_assignment)
def _set_default_assignment_attributes(self, **attribs):
"""Insert default values for missing attributes of role assignment.
If no actor, target or role are provided, they will default to values
from sample data.
:param attribs: info from a role assignment entity. Valid attributes
are: role_id, domain_id, project_id, group_id, user_id
and inherited_to_projects.
"""
if not any(target in attribs
for target in ('domain_id', 'projects_id')):
attribs['project_id'] = self.project_id
if not any(actor in attribs for actor in ('user_id', 'group_id')):
attribs['user_id'] = self.default_user_id
if 'role_id' not in attribs:
attribs['role_id'] = self.role_id
return attribs
def _list_expected_role_assignments(self, **filters):
"""Given the filters, it returns expected direct role assignments.
:param filters: filters that will be considered when listing role
assignments. Valid filters are: role_id, domain_id,
project_id, group_id, user_id and
inherited_to_projects.
:returns: the list of the expected role assignments.
"""
return [self.build_role_assignment_entity(**filters)]
# Test cases below call the generic test method, providing different filter
# combinations. Filters are provided as specified in the method name, after
# 'by'. For example, test_get_role_assignments_by_project_user_and_role
# calls the generic test method with project_id, user_id and role_id.
def test_get_role_assignments_by_domain(self, **filters):
self._test_get_role_assignments(domain_id=self.domain_id, **filters)
def test_get_role_assignments_by_project(self, **filters):
self._test_get_role_assignments(project_id=self.project_id, **filters)
def test_get_role_assignments_by_user(self, **filters):
self._test_get_role_assignments(user_id=self.default_user_id,
**filters)
def test_get_role_assignments_by_group(self, **filters):
self._test_get_role_assignments(group_id=self.default_group_id,
**filters)
def test_get_role_assignments_by_role(self, **filters):
self._test_get_role_assignments(role_id=self.role_id, **filters)
def test_get_role_assignments_by_domain_and_user(self, **filters):
self.test_get_role_assignments_by_domain(user_id=self.default_user_id,
**filters)
def test_get_role_assignments_by_domain_and_group(self, **filters):
self.test_get_role_assignments_by_domain(
group_id=self.default_group_id, **filters)
def test_get_role_assignments_by_project_and_user(self, **filters):
self.test_get_role_assignments_by_project(user_id=self.default_user_id,
**filters)
def test_get_role_assignments_by_project_and_group(self, **filters):
self.test_get_role_assignments_by_project(
group_id=self.default_group_id, **filters)
def test_get_role_assignments_by_domain_user_and_role(self, **filters):
self.test_get_role_assignments_by_domain_and_user(role_id=self.role_id,
**filters)
def test_get_role_assignments_by_domain_group_and_role(self, **filters):
self.test_get_role_assignments_by_domain_and_group(
role_id=self.role_id, **filters)
def test_get_role_assignments_by_project_user_and_role(self, **filters):
self.test_get_role_assignments_by_project_and_user(
role_id=self.role_id, **filters)
def test_get_role_assignments_by_project_group_and_role(self, **filters):
self.test_get_role_assignments_by_project_and_group(
role_id=self.role_id, **filters)
class RoleAssignmentInheritedTestCase(RoleAssignmentDirectTestCase):
"""Class for testing inherited assignments on /v3/role_assignments API.
Inherited assignments on a domain or project have no effect on them
directly, but on the projects under them instead.
Tests on this class do not make assertions on the effect of inherited
assignments, but in their representation and API filtering.
"""
def _test_get_role_assignments(self, **filters):
"""Add inherited_to_project filter to expected entity in tests."""
super(RoleAssignmentInheritedTestCase,
self)._test_get_role_assignments(inherited_to_projects=True,
**filters)
class RoleAssignmentEffectiveTestCase(RoleAssignmentInheritedTestCase):
"""Class for testing inheritance effects on /v3/role_assignments API.
Inherited assignments on a domain or project have no effect on them
directly, but on the projects under them instead.
Tests on this class make assertions on the effect of inherited assignments
and API filtering.
"""
def _get_role_assignments_query_url(self, **filters):
"""Return effective role assignments query URL from given filters.
For test methods in this class, effetive will always be true. As in
effective mode, inherited_to_projects, group_id, domain_id and
project_id will always be desconsidered from provided filters.
:param filters: query parameters are created with the provided filters.
Valid filters are: role_id, domain_id, project_id,
group_id, user_id and inherited_to_projects.
:returns: role assignments query URL.
"""
query_filters = filters.copy()
query_filters.pop('inherited_to_projects')
query_filters.pop('group_id', None)
query_filters.pop('domain_id', None)
query_filters.pop('project_id', None)
return self.build_role_assignment_query_url(effective=True,
**query_filters)
def _list_expected_role_assignments(self, **filters):
"""Given the filters, it returns expected direct role assignments.
:param filters: filters that will be considered when listing role
assignments. Valid filters are: role_id, domain_id,
project_id, group_id, user_id and
inherited_to_projects.
:returns: the list of the expected role assignments.
"""
# Get assignment link, to be put on 'links': {'assignment': link}
assignment_link = self.build_role_assignment_link(**filters)
# Expand group membership
user_ids = [None]
if filters.get('group_id'):
user_ids = [user['id'] for user in
PROVIDERS.identity_api.list_users_in_group(
filters['group_id'])]
else:
user_ids = [self.default_user_id]
# Expand role inheritance
project_ids = [None]
if filters.get('domain_id'):
project_ids = [project['id'] for project in
PROVIDERS.resource_api.list_projects_in_domain(
filters.pop('domain_id'))]
else:
project_ids = [project['id'] for project in
PROVIDERS.resource_api.list_projects_in_subtree(
self.project_id)]
# Compute expected role assignments
assignments = []
for project_id in project_ids:
filters['project_id'] = project_id
for user_id in user_ids:
filters['user_id'] = user_id
assignments.append(self.build_role_assignment_entity(
link=assignment_link, **filters))
return assignments
class AssignmentInheritanceTestCase(test_v3.RestfulTestCase,
test_v3.AssignmentTestMixin):
"""Test inheritance crud and its effects."""
def test_get_token_from_inherited_user_domain_role_grants(self):
# Create a new user to ensure that no grant is loaded from sample data
user = unit.create_user(
PROVIDERS.identity_api, domain_id=self.domain_id
)
# Define domain and project authentication data
domain_auth_data = self.build_authentication_request(
user_id=user['id'],
password=<PASSWORD>['password'],
domain_id=self.domain_id)
project_auth_data = self.build_authentication_request(
user_id=user['id'],
password=<PASSWORD>['password'],
project_id=self.project_id)
# Check the user cannot get a domain nor a project token
self.v3_create_token(domain_auth_data,
expected_status=http.client.UNAUTHORIZED)
self.v3_create_token(project_auth_data,
expected_status=http.client.UNAUTHORIZED)
# Grant non-inherited role for user on domain
non_inher_ud_link = self.build_role_assignment_link(
domain_id=self.domain_id, user_id=user['id'], role_id=self.role_id)
self.put(non_inher_ud_link)
# Check the user can get only a domain token
self.v3_create_token(domain_auth_data)
self.v3_create_token(project_auth_data,
expected_status=http.client.UNAUTHORIZED)
# Create inherited role
inherited_role = unit.new_role_ref(name='inherited')
PROVIDERS.role_api.create_role(inherited_role['id'], inherited_role)
# Grant inherited role for user on domain
inher_ud_link = self.build_role_assignment_link(
domain_id=self.domain_id, user_id=user['id'],
role_id=inherited_role['id'], inherited_to_projects=True)
self.put(inher_ud_link)
# Check the user can get both a domain and a project token
self.v3_create_token(domain_auth_data)
self.v3_create_token(project_auth_data)
# Delete inherited grant
self.delete(inher_ud_link)
# Check the user can only get a domain token
self.v3_create_token(domain_auth_data)
self.v3_create_token(project_auth_data,
expected_status=http.client.UNAUTHORIZED)
# Delete non-inherited grant
self.delete(non_inher_ud_link)
# Check the user cannot get a domain token anymore
self.v3_create_token(domain_auth_data,
expected_status=http.client.UNAUTHORIZED)
def test_get_token_from_inherited_group_domain_role_grants(self):
# Create a new group and put a new user in it to
# ensure that no grant is loaded from sample data
user = unit.create_user(
PROVIDERS.identity_api, domain_id=self.domain_id
)
group = unit.new_group_ref(domain_id=self.domain['id'])
group = PROVIDERS.identity_api.create_group(group)
PROVIDERS.identity_api.add_user_to_group(user['id'], group['id'])
# Define domain and project authentication data
domain_auth_data = self.build_authentication_request(
user_id=user['id'],
password=<PASSWORD>['password'],
domain_id=self.domain_id)
project_auth_data = self.build_authentication_request(
user_id=user['id'],
password=user['password'],
project_id=self.project_id)
# Check the user cannot get a domain nor a project token
self.v3_create_token(domain_auth_data,
expected_status=http.client.UNAUTHORIZED)
self.v3_create_token(project_auth_data,
expected_status=http.client.UNAUTHORIZED)
# Grant non-inherited role for user on domain
non_inher_gd_link = self.build_role_assignment_link(
domain_id=self.domain_id, user_id=user['id'], role_id=self.role_id)
self.put(non_inher_gd_link)
# Check the user can get only a domain token
self.v3_create_token(domain_auth_data)
self.v3_create_token(project_auth_data,
expected_status=http.client.UNAUTHORIZED)
# Create inherited role
inherited_role = unit.new_role_ref(name='inherited')
PROVIDERS.role_api.create_role(inherited_role['id'], inherited_role)
# Grant inherited role for user on domain
inher_gd_link = self.build_role_assignment_link(
domain_id=self.domain_id, user_id=user['id'],
role_id=inherited_role['id'], inherited_to_projects=True)
self.put(inher_gd_link)
# Check the user can get both a domain and a project token
self.v3_create_token(domain_auth_data)
self.v3_create_token(project_auth_data)
# Delete inherited grant
self.delete(inher_gd_link)
# Check the user can only get a domain token
self.v3_create_token(domain_auth_data)
self.v3_create_token(project_auth_data,
expected_status=http.client.UNAUTHORIZED)
# Delete non-inherited grant
self.delete(non_inher_gd_link)
# Check the user cannot get a domain token anymore
self.v3_create_token(domain_auth_data,
expected_status=http.client.UNAUTHORIZED)
def _test_crud_inherited_and_direct_assignment_on_target(self, target_url):
time = datetime.datetime.utcnow()
with freezegun.freeze_time(time) as frozen_datetime:
# Create a new role to avoid assignments loaded from sample data
role = unit.new_role_ref()
PROVIDERS.role_api.create_role(role['id'], role)
# Define URLs
direct_url = '%s/users/%s/roles/%s' % (
target_url, self.user_id, role['id'])
inherited_url = ('/OS-INHERIT/%s/inherited_to_projects' %
direct_url.lstrip('/'))
# Create the direct assignment
self.put(direct_url)
# Check the direct assignment exists, but the inherited one does
# not
self.head(direct_url)
self.head(inherited_url, expected_status=http.client.NOT_FOUND)
# Now add the inherited assignment
self.put(inherited_url)
# Check both the direct and inherited assignment exist
self.head(direct_url)
self.head(inherited_url)
# Delete indirect assignment
self.delete(inherited_url)
frozen_datetime.tick(delta=datetime.timedelta(seconds=1))
# Check the direct assignment exists, but the inherited one does
# not
self.head(direct_url)
self.head(inherited_url, expected_status=http.client.NOT_FOUND)
# Now delete the inherited assignment
self.delete(direct_url)
# Check that none of them exist
self.head(direct_url, expected_status=http.client.NOT_FOUND)
self.head(inherited_url, expected_status=http.client.NOT_FOUND)
def test_crud_inherited_and_direct_assignment_on_domains(self):
self._test_crud_inherited_and_direct_assignment_on_target(
'/domains/%s' % self.domain_id)
def test_crud_inherited_and_direct_assignment_on_projects(self):
self._test_crud_inherited_and_direct_assignment_on_target(
'/projects/%s' % self.project_id)
def test_crud_user_inherited_domain_role_grants(self):
role_list = []
for _ in range(2):
role = unit.new_role_ref()
PROVIDERS.role_api.create_role(role['id'], role)
role_list.append(role)
# Create a non-inherited role as a spoiler
PROVIDERS.assignment_api.create_grant(
role_list[1]['id'], user_id=self.user['id'],
domain_id=self.domain_id)
base_collection_url = (
'/OS-INHERIT/domains/%(domain_id)s/users/%(user_id)s/roles' % {
'domain_id': self.domain_id,
'user_id': self.user['id']})
member_url = '%(collection_url)s/%(role_id)s/inherited_to_projects' % {
'collection_url': base_collection_url,
'role_id': role_list[0]['id']}
collection_url = base_collection_url + '/inherited_to_projects'
self.put(member_url)
# Check we can read it back
self.head(member_url)
self.get(member_url, expected_status=http.client.NO_CONTENT)
r = self.get(collection_url)
self.assertValidRoleListResponse(r, ref=role_list[0],
resource_url=collection_url)
# Now delete and check its gone
self.delete(member_url)
r = self.get(collection_url)
self.assertValidRoleListResponse(r, expected_length=0,
resource_url=collection_url)
def test_list_role_assignments_for_inherited_domain_grants(self):
"""Call ``GET /role_assignments with inherited domain grants``.
Test Plan:
- Create 4 roles
- Create a domain with a user and two projects
- Assign two direct roles to project1
- Assign a spoiler role to project2
- Issue the URL to add inherited role to the domain
- Issue the URL to check it is indeed on the domain
- Issue the URL to check effective roles on project1 - this
should return 3 roles.
"""
role_list = []
for _ in range(4):
role = unit.new_role_ref()
PROVIDERS.role_api.create_role(role['id'], role)
role_list.append(role)
domain = unit.new_domain_ref()
PROVIDERS.resource_api.create_domain(domain['id'], domain)
user1 = unit.create_user(
PROVIDERS.identity_api, domain_id=domain['id']
)
project1 = unit.new_project_ref(domain_id=domain['id'])
PROVIDERS.resource_api.create_project(project1['id'], project1)
project2 = unit.new_project_ref(domain_id=domain['id'])
PROVIDERS.resource_api.create_project(project2['id'], project2)
# Add some roles to the project
PROVIDERS.assignment_api.add_role_to_user_and_project(
user1['id'], project1['id'], role_list[0]['id'])
PROVIDERS.assignment_api.add_role_to_user_and_project(
user1['id'], project1['id'], role_list[1]['id'])
# ..and one on a different project as a spoiler
PROVIDERS.assignment_api.add_role_to_user_and_project(
user1['id'], project2['id'], role_list[2]['id'])
# Now create our inherited role on the domain
base_collection_url = (
'/OS-INHERIT/domains/%(domain_id)s/users/%(user_id)s/roles' % {
'domain_id': domain['id'],
'user_id': user1['id']})
member_url = '%(collection_url)s/%(role_id)s/inherited_to_projects' % {
'collection_url': base_collection_url,
'role_id': role_list[3]['id']}
collection_url = base_collection_url + '/inherited_to_projects'
self.put(member_url)
self.head(member_url)
self.get(member_url, expected_status=http.client.NO_CONTENT)
r = self.get(collection_url)
self.assertValidRoleListResponse(r, ref=role_list[3],
resource_url=collection_url)
# Now use the list domain role assignments api to check if this
# is included
collection_url = (
'/role_assignments?user.id=%(user_id)s'
'&scope.domain.id=%(domain_id)s' % {
'user_id': user1['id'],
'domain_id': domain['id']})
r = self.get(collection_url)
self.assertValidRoleAssignmentListResponse(r,
expected_length=1,
resource_url=collection_url)
ud_entity = self.build_role_assignment_entity(
domain_id=domain['id'], user_id=user1['id'],
role_id=role_list[3]['id'], inherited_to_projects=True)
self.assertRoleAssignmentInListResponse(r, ud_entity)
# Now ask for effective list role assignments - the role should
# turn into a project role, along with the two direct roles that are
# on the project
collection_url = (
'/role_assignments?effective&user.id=%(user_id)s'
'&scope.project.id=%(project_id)s' % {
'user_id': user1['id'],
'project_id': project1['id']})
r = self.get(collection_url)
self.assertValidRoleAssignmentListResponse(r,
expected_length=3,
resource_url=collection_url)
# An effective role for an inherited role will be a project
# entity, with a domain link to the inherited assignment
ud_url = self.build_role_assignment_link(
domain_id=domain['id'], user_id=user1['id'],
role_id=role_list[3]['id'], inherited_to_projects=True)
up_entity = self.build_role_assignment_entity(
link=ud_url, project_id=project1['id'],
user_id=user1['id'], role_id=role_list[3]['id'],
inherited_to_projects=True)
self.assertRoleAssignmentInListResponse(r, up_entity)
def _test_list_role_assignments_include_names(self, role1):
"""Call ``GET /role_assignments with include names``.
Test Plan:
- Create a domain with a group and a user
- Create a project with a group and a user
"""
role1 = unit.new_role_ref()
PROVIDERS.role_api.create_role(role1['id'], role1)
user1 = unit.create_user(
PROVIDERS.identity_api, domain_id=self.domain_id
)
group = unit.new_group_ref(domain_id=self.domain_id)
group = PROVIDERS.identity_api.create_group(group)
project1 = unit.new_project_ref(domain_id=self.domain_id)
PROVIDERS.resource_api.create_project(project1['id'], project1)
expected_entity1 = self.build_role_assignment_entity_include_names(
role_ref=role1,
project_ref=project1,
user_ref=user1)
self.put(expected_entity1['links']['assignment'])
expected_entity2 = self.build_role_assignment_entity_include_names(
role_ref=role1,
domain_ref=self.domain,
group_ref=group)
self.put(expected_entity2['links']['assignment'])
expected_entity3 = self.build_role_assignment_entity_include_names(
role_ref=role1,
domain_ref=self.domain,
user_ref=user1)
self.put(expected_entity3['links']['assignment'])
expected_entity4 = self.build_role_assignment_entity_include_names(
role_ref=role1,
project_ref=project1,
group_ref=group)
self.put(expected_entity4['links']['assignment'])
collection_url_domain = (
'/role_assignments?include_names&scope.domain.id=%(domain_id)s' % {
'domain_id': self.domain_id})
rs_domain = self.get(collection_url_domain)
collection_url_project = (
'/role_assignments?include_names&'
'scope.project.id=%(project_id)s' % {
'project_id': project1['id']})
rs_project = self.get(collection_url_project)
collection_url_group = (
'/role_assignments?include_names&group.id=%(group_id)s' % {
'group_id': group['id']})
rs_group = self.get(collection_url_group)
collection_url_user = (
'/role_assignments?include_names&user.id=%(user_id)s' % {
'user_id': user1['id']})
rs_user = self.get(collection_url_user)
collection_url_role = (
'/role_assignments?include_names&role.id=%(role_id)s' % {
'role_id': role1['id']})
rs_role = self.get(collection_url_role)
# Make sure all entities were created successfully
self.assertEqual(http.client.OK, rs_domain.status_int)
self.assertEqual(http.client.OK, rs_project.status_int)
self.assertEqual(http.client.OK, rs_group.status_int)
self.assertEqual(http.client.OK, rs_user.status_int)
# Make sure we can get back the correct number of entities
self.assertValidRoleAssignmentListResponse(
rs_domain,
expected_length=2,
resource_url=collection_url_domain)
self.assertValidRoleAssignmentListResponse(
rs_project,
expected_length=2,
resource_url=collection_url_project)
self.assertValidRoleAssignmentListResponse(
rs_group,
expected_length=2,
resource_url=collection_url_group)
self.assertValidRoleAssignmentListResponse(
rs_user,
expected_length=2,
resource_url=collection_url_user)
self.assertValidRoleAssignmentListResponse(
rs_role,
expected_length=4,
resource_url=collection_url_role)
# Verify all types of entities have the correct format
self.assertRoleAssignmentInListResponse(rs_domain, expected_entity2)
self.assertRoleAssignmentInListResponse(rs_project, expected_entity1)
self.assertRoleAssignmentInListResponse(rs_group, expected_entity4)
self.assertRoleAssignmentInListResponse(rs_user, expected_entity3)
self.assertRoleAssignmentInListResponse(rs_role, expected_entity1)
def test_list_role_assignments_include_names_global_role(self):
role = unit.new_role_ref()
PROVIDERS.role_api.create_role(role['id'], role)
self._test_list_role_assignments_include_names(role)
def test_list_role_assignments_include_names_domain_role(self):
role = unit.new_role_ref(domain_id=self.domain['id'])
PROVIDERS.role_api.create_role(role['id'], role)
self._test_list_role_assignments_include_names(role)
def test_remove_assignment_for_project_acting_as_domain(self):
"""Test goal: remove assignment for project acting as domain.
Ensure when we have two role assignments for the project
acting as domain, one dealing with it as a domain and other as a
project, we still able to remove those assignments later.
Test plan:
- Create a role and a domain with a user;
- Grant a role for this user in this domain;
- Grant a role for this user in the same entity as a project;
- Ensure that both assignments were created and it was valid;
- Remove the domain assignment for the user and show that the project
assignment for him still valid
"""
role = unit.new_role_ref()
PROVIDERS.role_api.create_role(role['id'], role)
domain = unit.new_domain_ref()
PROVIDERS.resource_api.create_domain(domain['id'], domain)
user = unit.create_user(PROVIDERS.identity_api, domain_id=domain['id'])
assignment_domain = self.build_role_assignment_entity(
role_id=role['id'], domain_id=domain['id'], user_id=user['id'],
inherited_to_projects=False)
assignment_project = self.build_role_assignment_entity(
role_id=role['id'], project_id=domain['id'], user_id=user['id'],
inherited_to_projects=False)
self.put(assignment_domain['links']['assignment'])
self.put(assignment_project['links']['assignment'])
collection_url = '/role_assignments?user.id=%(user_id)s' % (
{'user_id': user['id']})
result = self.get(collection_url)
# We have two role assignments based in both roles for the domain and
# project scope
self.assertValidRoleAssignmentListResponse(
result, expected_length=2, resource_url=collection_url)
self.assertRoleAssignmentInListResponse(result, assignment_domain)
domain_url = '/domains/%s/users/%s/roles/%s' % (
domain['id'], user['id'], role['id'])
self.delete(domain_url)
collection_url = '/role_assignments?user.id=%(user_id)s' % (
{'user_id': user['id']})
result = self.get(collection_url)
# Now we only have one assignment for the project scope since the
# domain scope was removed.
self.assertValidRoleAssignmentListResponse(
result, expected_length=1, resource_url=collection_url)
self.assertRoleAssignmentInListResponse(result, assignment_project)
def test_list_inherited_role_assignments_include_names(self):
"""Call ``GET /role_assignments?include_names``.
Test goal: ensure calling list role assignments including names
honors the inherited role assignments flag.
Test plan:
- Create a role and a domain with a user;
- Create a inherited role assignment;
- List role assignments for that user;
- List role assignments for that user including names.
"""
role = unit.new_role_ref()
PROVIDERS.role_api.create_role(role['id'], role)
domain = unit.new_domain_ref()
PROVIDERS.resource_api.create_domain(domain['id'], domain)
user = unit.create_user(PROVIDERS.identity_api, domain_id=domain['id'])
# Create and store expected assignment refs
assignment = self.build_role_assignment_entity(
role_id=role['id'], domain_id=domain['id'], user_id=user['id'],
inherited_to_projects=True)
assignment_names = self.build_role_assignment_entity_include_names(
role_ref=role, domain_ref=domain, user_ref=user,
inherited_assignment=True)
# Ensure expected assignment refs are inherited and have the same URL
self.assertEqual('projects',
assignment['scope']['OS-INHERIT:inherited_to'])
self.assertEqual('projects',
assignment_names['scope']['OS-INHERIT:inherited_to'])
self.assertEqual(assignment['links']['assignment'],
assignment_names['links']['assignment'])
self.put(assignment['links']['assignment'])
collection_url = '/role_assignments?user.id=%(user_id)s' % (
{'user_id': user['id']})
result = self.get(collection_url)
self.assertValidRoleAssignmentListResponse(
result, expected_length=1, resource_url=collection_url)
self.assertRoleAssignmentInListResponse(result, assignment)
collection_url = ('/role_assignments?include_names&'
'user.id=%(user_id)s' % {'user_id': user['id']})
result = self.get(collection_url)
self.assertValidRoleAssignmentListResponse(
result, expected_length=1, resource_url=collection_url)
self.assertRoleAssignmentInListResponse(result, assignment_names)
def test_list_role_assignments_for_disabled_inheritance_extension(self):
"""Call ``GET /role_assignments with inherited domain grants``.
Test Plan:
- Issue the URL to add inherited role to the domain
- Issue the URL to check effective roles on project include the
inherited role
- Disable the extension
- Re-check the effective roles, proving the inherited role no longer
shows up.
"""
role_list = []
for _ in range(4):
role = unit.new_role_ref()
PROVIDERS.role_api.create_role(role['id'], role)
role_list.append(role)
domain = unit.new_domain_ref()
PROVIDERS.resource_api.create_domain(domain['id'], domain)
user1 = unit.create_user(
PROVIDERS.identity_api, domain_id=domain['id']
)
project1 = unit.new_project_ref(domain_id=domain['id'])
PROVIDERS.resource_api.create_project(project1['id'], project1)
project2 = unit.new_project_ref(domain_id=domain['id'])
PROVIDERS.resource_api.create_project(project2['id'], project2)
# Add some roles to the project
PROVIDERS.assignment_api.add_role_to_user_and_project(
user1['id'], project1['id'], role_list[0]['id'])
PROVIDERS.assignment_api.add_role_to_user_and_project(
user1['id'], project1['id'], role_list[1]['id'])
# ..and one on a different project as a spoiler
PROVIDERS.assignment_api.add_role_to_user_and_project(
user1['id'], project2['id'], role_list[2]['id'])
# Now create our inherited role on the domain
base_collection_url = (
'/OS-INHERIT/domains/%(domain_id)s/users/%(user_id)s/roles' % {
'domain_id': domain['id'],
'user_id': user1['id']})
member_url = '%(collection_url)s/%(role_id)s/inherited_to_projects' % {
'collection_url': base_collection_url,
'role_id': role_list[3]['id']}
collection_url = base_collection_url + '/inherited_to_projects'
self.put(member_url)
self.head(member_url)
self.get(member_url, expected_status=http.client.NO_CONTENT)
r = self.get(collection_url)
self.assertValidRoleListResponse(r, ref=role_list[3],
resource_url=collection_url)
# Get effective list role assignments - the role should
# turn into a project role, along with the two direct roles that are
# on the project
collection_url = (
'/role_assignments?effective&user.id=%(user_id)s'
'&scope.project.id=%(project_id)s' % {
'user_id': user1['id'],
'project_id': project1['id']})
r = self.get(collection_url)
self.assertValidRoleAssignmentListResponse(r,
expected_length=3,
resource_url=collection_url)
ud_url = self.build_role_assignment_link(
domain_id=domain['id'], user_id=user1['id'],
role_id=role_list[3]['id'], inherited_to_projects=True)
up_entity = self.build_role_assignment_entity(
link=ud_url, project_id=project1['id'],
user_id=user1['id'], role_id=role_list[3]['id'],
inherited_to_projects=True)
self.assertRoleAssignmentInListResponse(r, up_entity)
def test_list_role_assignments_for_inherited_group_domain_grants(self):
"""Call ``GET /role_assignments with inherited group domain grants``.
Test Plan:
- Create 4 roles
- Create a domain with a user and two projects
- Assign two direct roles to project1
- Assign a spoiler role to project2
- Issue the URL to add inherited role to the domain
- Issue the URL to check it is indeed on the domain
- Issue the URL to check effective roles on project1 - this
should return 3 roles.
"""
role_list = []
for _ in range(4):
role = unit.new_role_ref()
PROVIDERS.role_api.create_role(role['id'], role)
role_list.append(role)
domain = unit.new_domain_ref()
PROVIDERS.resource_api.create_domain(domain['id'], domain)
user1 = unit.create_user(
PROVIDERS.identity_api, domain_id=domain['id']
)
user2 = unit.create_user(
PROVIDERS.identity_api, domain_id=domain['id']
)
group1 = unit.new_group_ref(domain_id=domain['id'])
group1 = PROVIDERS.identity_api.create_group(group1)
PROVIDERS.identity_api.add_user_to_group(
user1['id'], group1['id']
)
PROVIDERS.identity_api.add_user_to_group(
user2['id'], group1['id']
)
project1 = unit.new_project_ref(domain_id=domain['id'])
PROVIDERS.resource_api.create_project(project1['id'], project1)
project2 = unit.new_project_ref(domain_id=domain['id'])
PROVIDERS.resource_api.create_project(project2['id'], project2)
# Add some roles to the project
PROVIDERS.assignment_api.add_role_to_user_and_project(
user1['id'], project1['id'], role_list[0]['id'])
PROVIDERS.assignment_api.add_role_to_user_and_project(
user1['id'], project1['id'], role_list[1]['id'])
# ..and one on a different project as a spoiler
PROVIDERS.assignment_api.add_role_to_user_and_project(
user1['id'], project2['id'], role_list[2]['id'])
# Now create our inherited role on the domain
base_collection_url = (
'/OS-INHERIT/domains/%(domain_id)s/groups/%(group_id)s/roles' % {
'domain_id': domain['id'],
'group_id': group1['id']})
member_url = '%(collection_url)s/%(role_id)s/inherited_to_projects' % {
'collection_url': base_collection_url,
'role_id': role_list[3]['id']}
collection_url = base_collection_url + '/inherited_to_projects'
self.put(member_url)
self.head(member_url)
self.get(member_url, expected_status=http.client.NO_CONTENT)
r = self.get(collection_url)
self.assertValidRoleListResponse(r, ref=role_list[3],
resource_url=collection_url)
# Now use the list domain role assignments api to check if this
# is included
collection_url = (
'/role_assignments?group.id=%(group_id)s'
'&scope.domain.id=%(domain_id)s' % {
'group_id': group1['id'],
'domain_id': domain['id']})
r = self.get(collection_url)
self.assertValidRoleAssignmentListResponse(r,
expected_length=1,
resource_url=collection_url)
gd_entity = self.build_role_assignment_entity(
domain_id=domain['id'], group_id=group1['id'],
role_id=role_list[3]['id'], inherited_to_projects=True)
self.assertRoleAssignmentInListResponse(r, gd_entity)
# Now ask for effective list role assignments - the role should
# turn into a user project role, along with the two direct roles
# that are on the project
collection_url = (
'/role_assignments?effective&user.id=%(user_id)s'
'&scope.project.id=%(project_id)s' % {
'user_id': user1['id'],
'project_id': project1['id']})
r = self.get(collection_url)
self.assertValidRoleAssignmentListResponse(r,
expected_length=3,
resource_url=collection_url)
# An effective role for an inherited role will be a project
# entity, with a domain link to the inherited assignment
up_entity = self.build_role_assignment_entity(
link=gd_entity['links']['assignment'], project_id=project1['id'],
user_id=user1['id'], role_id=role_list[3]['id'],
inherited_to_projects=True)
self.assertRoleAssignmentInListResponse(r, up_entity)
def test_filtered_role_assignments_for_inherited_grants(self):
"""Call ``GET /role_assignments?scope.OS-INHERIT:inherited_to``.
Test Plan:
- Create 5 roles
- Create a domain with a user, group and two projects
- Assign three direct spoiler roles to projects
- Issue the URL to add an inherited user role to the domain
- Issue the URL to add an inherited group role to the domain
- Issue the URL to filter by inherited roles - this should
return just the 2 inherited roles.
"""
role_list = []
for _ in range(5):
role = unit.new_role_ref()
PROVIDERS.role_api.create_role(role['id'], role)
role_list.append(role)
domain = unit.new_domain_ref()
PROVIDERS.resource_api.create_domain(domain['id'], domain)
user1 = unit.create_user(
PROVIDERS.identity_api, domain_id=domain['id']
)
group1 = unit.new_group_ref(domain_id=domain['id'])
group1 = PROVIDERS.identity_api.create_group(group1)
project1 = unit.new_project_ref(domain_id=domain['id'])
PROVIDERS.resource_api.create_project(project1['id'], project1)
project2 = unit.new_project_ref(domain_id=domain['id'])
PROVIDERS.resource_api.create_project(project2['id'], project2)
# Add some spoiler roles to the projects
PROVIDERS.assignment_api.add_role_to_user_and_project(
user1['id'], project1['id'], role_list[0]['id'])
PROVIDERS.assignment_api.add_role_to_user_and_project(
user1['id'], project2['id'], role_list[1]['id'])
# Create a non-inherited role as a spoiler
PROVIDERS.assignment_api.create_grant(
role_list[2]['id'], user_id=user1['id'], domain_id=domain['id'])
# Now create two inherited roles on the domain, one for a user
# and one for a domain
base_collection_url = (
'/OS-INHERIT/domains/%(domain_id)s/users/%(user_id)s/roles' % {
'domain_id': domain['id'],
'user_id': user1['id']})
member_url = '%(collection_url)s/%(role_id)s/inherited_to_projects' % {
'collection_url': base_collection_url,
'role_id': role_list[3]['id']}
collection_url = base_collection_url + '/inherited_to_projects'
self.put(member_url)
self.head(member_url)
self.get(member_url, expected_status=http.client.NO_CONTENT)
r = self.get(collection_url)
self.assertValidRoleListResponse(r, ref=role_list[3],
resource_url=collection_url)
base_collection_url = (
'/OS-INHERIT/domains/%(domain_id)s/groups/%(group_id)s/roles' % {
'domain_id': domain['id'],
'group_id': group1['id']})
member_url = '%(collection_url)s/%(role_id)s/inherited_to_projects' % {
'collection_url': base_collection_url,
'role_id': role_list[4]['id']}
collection_url = base_collection_url + '/inherited_to_projects'
self.put(member_url)
self.head(member_url)
self.get(member_url, expected_status=http.client.NO_CONTENT)
r = self.get(collection_url)
self.assertValidRoleListResponse(r, ref=role_list[4],
resource_url=collection_url)
# Now use the list role assignments api to get a list of inherited
# roles on the domain - should get back the two roles
collection_url = (
'/role_assignments?scope.OS-INHERIT:inherited_to=projects')
r = self.get(collection_url)
self.assertValidRoleAssignmentListResponse(r,
expected_length=2,
resource_url=collection_url)
ud_entity = self.build_role_assignment_entity(
domain_id=domain['id'], user_id=user1['id'],
role_id=role_list[3]['id'], inherited_to_projects=True)
gd_entity = self.build_role_assignment_entity(
domain_id=domain['id'], group_id=group1['id'],
role_id=role_list[4]['id'], inherited_to_projects=True)
self.assertRoleAssignmentInListResponse(r, ud_entity)
self.assertRoleAssignmentInListResponse(r, gd_entity)
def _setup_hierarchical_projects_scenario(self):
"""Create basic hierarchical projects scenario.
This basic scenario contains a root with one leaf project and
two roles with the following names: non-inherited and inherited.
"""
# Create project hierarchy
root = unit.new_project_ref(domain_id=self.domain['id'])
leaf = unit.new_project_ref(domain_id=self.domain['id'],
parent_id=root['id'])
PROVIDERS.resource_api.create_project(root['id'], root)
PROVIDERS.resource_api.create_project(leaf['id'], leaf)
# Create 'non-inherited' and 'inherited' roles
non_inherited_role = unit.new_role_ref(name='non-inherited')
PROVIDERS.role_api.create_role(
non_inherited_role['id'], non_inherited_role
)
inherited_role = unit.new_role_ref(name='inherited')
PROVIDERS.role_api.create_role(inherited_role['id'], inherited_role)
return (root['id'], leaf['id'],
non_inherited_role['id'], inherited_role['id'])
def test_get_token_from_inherited_user_project_role_grants(self):
# Create default scenario
root_id, leaf_id, non_inherited_role_id, inherited_role_id = (
self._setup_hierarchical_projects_scenario())
# Define root and leaf projects authentication data
root_project_auth_data = self.build_authentication_request(
user_id=self.user['id'],
password=<PASSWORD>['password'],
project_id=root_id)
leaf_project_auth_data = self.build_authentication_request(
user_id=self.user['id'],
password=<PASSWORD>['password'],
project_id=leaf_id)
# Check the user cannot get a token on root nor leaf project
self.v3_create_token(root_project_auth_data,
expected_status=http.client.UNAUTHORIZED)
self.v3_create_token(leaf_project_auth_data,
expected_status=http.client.UNAUTHORIZED)
# Grant non-inherited role for user on leaf project
non_inher_up_link = self.build_role_assignment_link(
project_id=leaf_id, user_id=self.user['id'],
role_id=non_inherited_role_id)
self.put(non_inher_up_link)
# Check the user can only get a token on leaf project
self.v3_create_token(root_project_auth_data,
expected_status=http.client.UNAUTHORIZED)
self.v3_create_token(leaf_project_auth_data)
# Grant inherited role for user on root project
inher_up_link = self.build_role_assignment_link(
project_id=root_id, user_id=self.user['id'],
role_id=inherited_role_id, inherited_to_projects=True)
self.put(inher_up_link)
# Check the user still can get a token only on leaf project
self.v3_create_token(root_project_auth_data,
expected_status=http.client.UNAUTHORIZED)
self.v3_create_token(leaf_project_auth_data)
# Delete non-inherited grant
self.delete(non_inher_up_link)
# Check the inherited role still applies for leaf project
self.v3_create_token(root_project_auth_data,
expected_status=http.client.UNAUTHORIZED)
self.v3_create_token(leaf_project_auth_data)
# Delete inherited grant
self.delete(inher_up_link)
# Check the user cannot get a token on leaf project anymore
self.v3_create_token(leaf_project_auth_data,
expected_status=http.client.UNAUTHORIZED)
def test_get_token_from_inherited_group_project_role_grants(self):
# Create default scenario
root_id, leaf_id, non_inherited_role_id, inherited_role_id = (
self._setup_hierarchical_projects_scenario())
# Create group and add user to it
group = unit.new_group_ref(domain_id=self.domain['id'])
group = PROVIDERS.identity_api.create_group(group)
PROVIDERS.identity_api.add_user_to_group(self.user['id'], group['id'])
# Define root and leaf projects authentication data
root_project_auth_data = self.build_authentication_request(
user_id=self.user['id'],
password=<PASSWORD>['password'],
project_id=root_id)
leaf_project_auth_data = self.build_authentication_request(
user_id=self.user['id'],
password=<PASSWORD>['password'],
project_id=leaf_id)
# Check the user cannot get a token on root nor leaf project
self.v3_create_token(root_project_auth_data,
expected_status=http.client.UNAUTHORIZED)
self.v3_create_token(leaf_project_auth_data,
expected_status=http.client.UNAUTHORIZED)
# Grant non-inherited role for group on leaf project
non_inher_gp_link = self.build_role_assignment_link(
project_id=leaf_id, group_id=group['id'],
role_id=non_inherited_role_id)
self.put(non_inher_gp_link)
# Check the user can only get a token on leaf project
self.v3_create_token(root_project_auth_data,
expected_status=http.client.UNAUTHORIZED)
self.v3_create_token(leaf_project_auth_data)
# Grant inherited role for group on root project
inher_gp_link = self.build_role_assignment_link(
project_id=root_id, group_id=group['id'],
role_id=inherited_role_id, inherited_to_projects=True)
self.put(inher_gp_link)
# Check the user still can get a token only on leaf project
self.v3_create_token(root_project_auth_data,
expected_status=http.client.UNAUTHORIZED)
self.v3_create_token(leaf_project_auth_data)
# Delete no-inherited grant
self.delete(non_inher_gp_link)
# Check the inherited role still applies for leaf project
self.v3_create_token(leaf_project_auth_data)
# Delete inherited grant
self.delete(inher_gp_link)
# Check the user cannot get a token on leaf project anymore
self.v3_create_token(leaf_project_auth_data,
expected_status=http.client.UNAUTHORIZED)
def test_get_role_assignments_for_project_hierarchy(self):
"""Call ``GET /role_assignments``.
Test Plan:
- Create 2 roles
- Create a hierarchy of projects with one root and one leaf project
- Issue the URL to add a non-inherited user role to the root project
- Issue the URL to add an inherited user role to the root project
- Issue the URL to get all role assignments - this should return just
2 roles (non-inherited and inherited) in the root project.
"""
# Create default scenario
root_id, leaf_id, non_inherited_role_id, inherited_role_id = (
self._setup_hierarchical_projects_scenario())
# Grant non-inherited role
non_inher_up_entity = self.build_role_assignment_entity(
project_id=root_id, user_id=self.user['id'],
role_id=non_inherited_role_id)
self.put(non_inher_up_entity['links']['assignment'])
# Grant inherited role
inher_up_entity = self.build_role_assignment_entity(
project_id=root_id, user_id=self.user['id'],
role_id=inherited_role_id, inherited_to_projects=True)
self.put(inher_up_entity['links']['assignment'])
# Get role assignments
collection_url = '/role_assignments'
r = self.get(collection_url)
self.assertValidRoleAssignmentListResponse(r,
resource_url=collection_url)
# Assert that the user has non-inherited role on root project
self.assertRoleAssignmentInListResponse(r, non_inher_up_entity)
# Assert that the user has inherited role on root project
self.assertRoleAssignmentInListResponse(r, inher_up_entity)
# Assert that the user does not have non-inherited role on leaf project
non_inher_up_entity = self.build_role_assignment_entity(
project_id=leaf_id, user_id=self.user['id'],
role_id=non_inherited_role_id)
self.assertRoleAssignmentNotInListResponse(r, non_inher_up_entity)
# Assert that the user does not have inherited role on leaf project
inher_up_entity['scope']['project']['id'] = leaf_id
self.assertRoleAssignmentNotInListResponse(r, inher_up_entity)
def test_get_effective_role_assignments_for_project_hierarchy(self):
"""Call ``GET /role_assignments?effective``.
Test Plan:
- Create 2 roles
- Create a hierarchy of projects with one root and one leaf project
- Issue the URL to add a non-inherited user role to the root project
- Issue the URL to add an inherited user role to the root project
- Issue the URL to get effective role assignments - this should return
1 role (non-inherited) on the root project and 1 role (inherited) on
the leaf project.
"""
# Create default scenario
root_id, leaf_id, non_inherited_role_id, inherited_role_id = (
self._setup_hierarchical_projects_scenario())
# Grant non-inherited role
non_inher_up_entity = self.build_role_assignment_entity(
project_id=root_id, user_id=self.user['id'],
role_id=non_inherited_role_id)
self.put(non_inher_up_entity['links']['assignment'])
# Grant inherited role
inher_up_entity = self.build_role_assignment_entity(
project_id=root_id, user_id=self.user['id'],
role_id=inherited_role_id, inherited_to_projects=True)
self.put(inher_up_entity['links']['assignment'])
# Get effective role assignments
collection_url = '/role_assignments?effective'
r = self.get(collection_url)
self.assertValidRoleAssignmentListResponse(r,
resource_url=collection_url)
# Assert that the user has non-inherited role on root project
self.assertRoleAssignmentInListResponse(r, non_inher_up_entity)
# Assert that the user does not have inherited role on root project
self.assertRoleAssignmentNotInListResponse(r, inher_up_entity)
# Assert that the user does not have non-inherited role on leaf project
non_inher_up_entity = self.build_role_assignment_entity(
project_id=leaf_id, user_id=self.user['id'],
role_id=non_inherited_role_id)
self.assertRoleAssignmentNotInListResponse(r, non_inher_up_entity)
# Assert that the user has inherited role on leaf project
inher_up_entity['scope']['project']['id'] = leaf_id
self.assertRoleAssignmentInListResponse(r, inher_up_entity)
def test_project_id_specified_if_include_subtree_specified(self):
"""When using include_subtree, you must specify a project ID."""
r = self.get('/role_assignments?include_subtree=True',
expected_status=http.client.BAD_REQUEST)
error_msg = ("scope.project.id must be specified if include_subtree "
"is also specified")
self.assertEqual(error_msg, r.result['error']['message'])
r = self.get('/role_assignments?scope.project.id&'
'include_subtree=True',
expected_status=http.client.BAD_REQUEST)
self.assertEqual(error_msg, r.result['error']['message'])
def test_get_role_assignments_for_project_tree(self):
"""Get role_assignment?scope.project.id=X&include_subtree``.
Test Plan:
- Create 2 roles and a hierarchy of projects with one root and one leaf
- Issue the URL to add a non-inherited user role to the root project
and the leaf project
- Issue the URL to get role assignments for the root project but
not the subtree - this should return just the root assignment
- Issue the URL to get role assignments for the root project and
it's subtree - this should return both assignments
- Check that explicitly setting include_subtree to False is the
equivalent to not including it at all in the query.
"""
# Create default scenario
root_id, leaf_id, non_inherited_role_id, unused_role_id = (
self._setup_hierarchical_projects_scenario())
# Grant non-inherited role to root and leaf projects
non_inher_entity_root = self.build_role_assignment_entity(
project_id=root_id, user_id=self.user['id'],
role_id=non_inherited_role_id)
self.put(non_inher_entity_root['links']['assignment'])
non_inher_entity_leaf = self.build_role_assignment_entity(
project_id=leaf_id, user_id=self.user['id'],
role_id=non_inherited_role_id)
self.put(non_inher_entity_leaf['links']['assignment'])
# Without the subtree, we should get the one assignment on the
# root project
collection_url = (
'/role_assignments?scope.project.id=%(project)s' % {
'project': root_id})
r = self.get(collection_url)
self.assertValidRoleAssignmentListResponse(
r, resource_url=collection_url)
self.assertThat(r.result['role_assignments'], matchers.HasLength(1))
self.assertRoleAssignmentInListResponse(r, non_inher_entity_root)
# With the subtree, we should get both assignments
collection_url = (
'/role_assignments?scope.project.id=%(project)s'
'&include_subtree=True' % {
'project': root_id})
r = self.get(collection_url)
self.assertValidRoleAssignmentListResponse(
r, resource_url=collection_url)
self.assertThat(r.result['role_assignments'], matchers.HasLength(2))
self.assertRoleAssignmentInListResponse(r, non_inher_entity_root)
self.assertRoleAssignmentInListResponse(r, non_inher_entity_leaf)
# With subtree=0, we should also only get the one assignment on the
# root project
collection_url = (
'/role_assignments?scope.project.id=%(project)s'
'&include_subtree=0' % {
'project': root_id})
r = self.get(collection_url)
self.assertValidRoleAssignmentListResponse(
r, resource_url=collection_url)
self.assertThat(r.result['role_assignments'], matchers.HasLength(1))
self.assertRoleAssignmentInListResponse(r, non_inher_entity_root)
def test_get_effective_role_assignments_for_project_tree(self):
"""Get role_assignment ?project_id=X&include_subtree=True&effective``.
Test Plan:
- Create 2 roles and a hierarchy of projects with one root and 4 levels
of child project
- Issue the URL to add a non-inherited user role to the root project
and a level 1 project
- Issue the URL to add an inherited user role on the level 2 project
- Issue the URL to get effective role assignments for the level 1
project and it's subtree - this should return a role (non-inherited)
on the level 1 project and roles (inherited) on each of the level
2, 3 and 4 projects
"""
# Create default scenario
root_id, leaf_id, non_inherited_role_id, inherited_role_id = (
self._setup_hierarchical_projects_scenario())
# Add some extra projects to the project hierarchy
level2 = unit.new_project_ref(domain_id=self.domain['id'],
parent_id=leaf_id)
level3 = unit.new_project_ref(domain_id=self.domain['id'],
parent_id=level2['id'])
level4 = unit.new_project_ref(domain_id=self.domain['id'],
parent_id=level3['id'])
PROVIDERS.resource_api.create_project(level2['id'], level2)
PROVIDERS.resource_api.create_project(level3['id'], level3)
PROVIDERS.resource_api.create_project(level4['id'], level4)
# Grant non-inherited role to root (as a spoiler) and to
# the level 1 (leaf) project
non_inher_entity_root = self.build_role_assignment_entity(
project_id=root_id, user_id=self.user['id'],
role_id=non_inherited_role_id)
self.put(non_inher_entity_root['links']['assignment'])
non_inher_entity_leaf = self.build_role_assignment_entity(
project_id=leaf_id, user_id=self.user['id'],
role_id=non_inherited_role_id)
self.put(non_inher_entity_leaf['links']['assignment'])
# Grant inherited role to level 2
inher_entity = self.build_role_assignment_entity(
project_id=level2['id'], user_id=self.user['id'],
role_id=inherited_role_id, inherited_to_projects=True)
self.put(inher_entity['links']['assignment'])
# Get effective role assignments
collection_url = (
'/role_assignments?scope.project.id=%(project)s'
'&include_subtree=True&effective' % {
'project': leaf_id})
r = self.get(collection_url)
self.assertValidRoleAssignmentListResponse(
r, resource_url=collection_url)
# There should be three assignments returned in total
self.assertThat(r.result['role_assignments'], matchers.HasLength(3))
# Assert that the user does not non-inherited role on root project
self.assertRoleAssignmentNotInListResponse(r, non_inher_entity_root)
# Assert that the user does have non-inherited role on leaf project
self.assertRoleAssignmentInListResponse(r, non_inher_entity_leaf)
# Assert that the user has inherited role on levels 3 and 4
inher_entity['scope']['project']['id'] = level3['id']
self.assertRoleAssignmentInListResponse(r, inher_entity)
inher_entity['scope']['project']['id'] = level4['id']
self.assertRoleAssignmentInListResponse(r, inher_entity)
def test_get_inherited_role_assignments_for_project_hierarchy(self):
"""Call ``GET /role_assignments?scope.OS-INHERIT:inherited_to``.
Test Plan:
- Create 2 roles
- Create a hierarchy of projects with one root and one leaf project
- Issue the URL to add a non-inherited user role to the root project
- Issue the URL to add an inherited user role to the root project
- Issue the URL to filter inherited to projects role assignments - this
should return 1 role (inherited) on the root project.
"""
# Create default scenario
root_id, leaf_id, non_inherited_role_id, inherited_role_id = (
self._setup_hierarchical_projects_scenario())
# Grant non-inherited role
non_inher_up_entity = self.build_role_assignment_entity(
project_id=root_id, user_id=self.user['id'],
role_id=non_inherited_role_id)
self.put(non_inher_up_entity['links']['assignment'])
# Grant inherited role
inher_up_entity = self.build_role_assignment_entity(
project_id=root_id, user_id=self.user['id'],
role_id=inherited_role_id, inherited_to_projects=True)
self.put(inher_up_entity['links']['assignment'])
# Get inherited role assignments
collection_url = ('/role_assignments'
'?scope.OS-INHERIT:inherited_to=projects')
r = self.get(collection_url)
self.assertValidRoleAssignmentListResponse(r,
resource_url=collection_url)
# Assert that the user does not have non-inherited role on root project
self.assertRoleAssignmentNotInListResponse(r, non_inher_up_entity)
# Assert that the user has inherited role on root project
self.assertRoleAssignmentInListResponse(r, inher_up_entity)
# Assert that the user does not have non-inherited role on leaf project
non_inher_up_entity = self.build_role_assignment_entity(
project_id=leaf_id, user_id=self.user['id'],
role_id=non_inherited_role_id)
self.assertRoleAssignmentNotInListResponse(r, non_inher_up_entity)
# Assert that the user does not have inherited role on leaf project
inher_up_entity['scope']['project']['id'] = leaf_id
self.assertRoleAssignmentNotInListResponse(r, inher_up_entity)
class ImpliedRolesTests(test_v3.RestfulTestCase, test_v3.AssignmentTestMixin,
unit.TestCase):
def _create_role(self):
"""Call ``POST /roles``."""
ref = unit.new_role_ref()
r = self.post('/roles', body={'role': ref})
return self.assertValidRoleResponse(r, ref)
def test_list_implied_roles_none(self):
self.prior = self._create_role()
url = '/roles/%s/implies' % (self.prior['id'])
response = self.get(url).json["role_inference"]
self.head(url, expected_status=http.client.OK)
self.assertEqual(self.prior['id'], response['prior_role']['id'])
self.assertEqual(0, len(response['implies']))
def _create_implied_role(self, prior, implied):
self.put('/roles/%s/implies/%s' % (prior['id'], implied['id']),
expected_status=http.client.CREATED)
def _delete_implied_role(self, prior, implied):
self.delete('/roles/%s/implies/%s' % (prior['id'], implied['id']))
def _setup_prior_two_implied(self):
self.prior = self._create_role()
self.implied1 = self._create_role()
self._create_implied_role(self.prior, self.implied1)
self.implied2 = self._create_role()
self._create_implied_role(self.prior, self.implied2)
def _assert_expected_implied_role_response(
self, expected_prior_id, expected_implied_ids):
r = self.get('/roles/%s/implies' % expected_prior_id)
response = r.json
role_inference = response['role_inference']
self.assertEqual(expected_prior_id, role_inference['prior_role']['id'])
prior_link = '/v3/roles/' + expected_prior_id + '/implies'
self.assertThat(response['links']['self'],
matchers.EndsWith(prior_link))
actual_implied_ids = [implied['id']
for implied in role_inference['implies']]
self.assertItemsEqual(expected_implied_ids, actual_implied_ids)
self.assertIsNotNone(role_inference['prior_role']['links']['self'])
for implied in role_inference['implies']:
self.assertIsNotNone(implied['links']['self'])
def _assert_expected_role_inference_rule_response(
self, expected_prior_id, expected_implied_id):
url = '/roles/%s/implies/%s' % (expected_prior_id, expected_implied_id)
response = self.get(url).json
self.assertThat(response['links']['self'],
matchers.EndsWith('/v3%s' % url))
role_inference = response['role_inference']
prior_role = role_inference['prior_role']
self.assertEqual(expected_prior_id, prior_role['id'])
self.assertIsNotNone(prior_role['name'])
self.assertThat(prior_role['links']['self'],
matchers.EndsWith('/v3/roles/%s' % expected_prior_id))
implied_role = role_inference['implies']
self.assertEqual(expected_implied_id, implied_role['id'])
self.assertIsNotNone(implied_role['name'])
self.assertThat(implied_role['links']['self'], matchers.EndsWith(
'/v3/roles/%s' % expected_implied_id))
def _assert_two_roles_implied(self):
self._assert_expected_implied_role_response(
self.prior['id'], [self.implied1['id'], self.implied2['id']])
self._assert_expected_role_inference_rule_response(
self.prior['id'], self.implied1['id'])
self._assert_expected_role_inference_rule_response(
self.prior['id'], self.implied2['id'])
def _assert_one_role_implied(self):
self._assert_expected_implied_role_response(
self.prior['id'], [self.implied1['id']])
self.get('/roles/%s/implies/%s' %
(self.prior['id'], self.implied2['id']),
expected_status=http.client.NOT_FOUND)
def _assert_two_rules_defined(self):
r = self.get('/role_inferences/')
rules = r.result['role_inferences']
self.assertEqual(self.prior['id'], rules[0]['prior_role']['id'])
self.assertEqual(2, len(rules[0]['implies']))
implied_ids = [implied['id'] for implied in rules[0]['implies']]
implied_names = [implied['name'] for implied in rules[0]['implies']]
self.assertIn(self.implied1['id'], implied_ids)
self.assertIn(self.implied2['id'], implied_ids)
self.assertIn(self.implied1['name'], implied_names)
self.assertIn(self.implied2['name'], implied_names)
def _assert_one_rule_defined(self):
r = self.get('/role_inferences/')
rules = r.result['role_inferences']
self.assertEqual(self.prior['id'], rules[0]['prior_role']['id'])
self.assertEqual(self.implied1['id'], rules[0]['implies'][0]['id'])
self.assertEqual(self.implied1['name'], rules[0]['implies'][0]['name'])
self.assertEqual(1, len(rules[0]['implies']))
def test_list_all_rules(self):
self._setup_prior_two_implied()
self._assert_two_rules_defined()
self._delete_implied_role(self.prior, self.implied2)
self._assert_one_rule_defined()
def test_CRD_implied_roles(self):
self._setup_prior_two_implied()
self._assert_two_roles_implied()
self._delete_implied_role(self.prior, self.implied2)
self._assert_one_role_implied()
def _create_three_roles(self):
self.role_list = []
for _ in range(3):
role = unit.new_role_ref()
PROVIDERS.role_api.create_role(role['id'], role)
self.role_list.append(role)
def _create_test_domain_user_project(self):
domain = unit.new_domain_ref()
PROVIDERS.resource_api.create_domain(domain['id'], domain)
user = unit.create_user(PROVIDERS.identity_api, domain_id=domain['id'])
project = unit.new_project_ref(domain_id=domain['id'])
PROVIDERS.resource_api.create_project(project['id'], project)
return domain, user, project
def _assign_top_role_to_user_on_project(self, user, project):
PROVIDERS.assignment_api.add_role_to_user_and_project(
user['id'], project['id'], self.role_list[0]['id'])
def _build_effective_role_assignments_url(self, user):
return '/role_assignments?effective&user.id=%(user_id)s' % {
'user_id': user['id']}
def _assert_all_roles_in_assignment(self, response, user):
# Now use the list role assignments api to check that all three roles
# appear in the collection
self.assertValidRoleAssignmentListResponse(
response,
expected_length=len(self.role_list),
resource_url=self._build_effective_role_assignments_url(user))
def _assert_initial_assignment_in_effective(self, response, user, project):
# The initial assignment should be there (the link url will be
# generated and checked automatically since it matches the assignment)
entity = self.build_role_assignment_entity(
project_id=project['id'],
user_id=user['id'], role_id=self.role_list[0]['id'])
self.assertRoleAssignmentInListResponse(response, entity)
def _assert_effective_role_for_implied_has_prior_in_links(
self, response, user, project, prior_index, implied_index):
# An effective role for an implied role will have the prior role
# assignment in the links
prior_link = '/prior_roles/%(prior)s/implies/%(implied)s' % {
'prior': self.role_list[prior_index]['id'],
'implied': self.role_list[implied_index]['id']}
link = self.build_role_assignment_link(
project_id=project['id'], user_id=user['id'],
role_id=self.role_list[prior_index]['id'])
entity = self.build_role_assignment_entity(
link=link, project_id=project['id'],
user_id=user['id'], role_id=self.role_list[implied_index]['id'],
prior_link=prior_link)
self.assertRoleAssignmentInListResponse(response, entity)
def test_list_role_assignments_with_implied_roles(self):
"""Call ``GET /role_assignments`` with implied role grant.
Test Plan:
- Create a domain with a user and a project
- Create 3 roles
- Role 0 implies role 1 and role 1 implies role 2
- Assign the top role to the project
- Issue the URL to check effective roles on project - this
should return all 3 roles.
- Check the links of the 3 roles indicate the prior role where
appropriate
"""
(domain, user, project) = self._create_test_domain_user_project()
self._create_three_roles()
self._create_implied_role(self.role_list[0], self.role_list[1])
self._create_implied_role(self.role_list[1], self.role_list[2])
self._assign_top_role_to_user_on_project(user, project)
response = self.get(self._build_effective_role_assignments_url(user))
r = response
self._assert_all_roles_in_assignment(r, user)
self._assert_initial_assignment_in_effective(response, user, project)
self._assert_effective_role_for_implied_has_prior_in_links(
response, user, project, 0, 1)
self._assert_effective_role_for_implied_has_prior_in_links(
response, user, project, 1, 2)
def _create_named_role(self, name):
role = unit.new_role_ref()
role['name'] = name
PROVIDERS.role_api.create_role(role['id'], role)
return role
def test_root_role_as_implied_role_forbidden(self):
"""Test root role is forbidden to be set as an implied role.
Create 2 roles that are prohibited from being an implied role.
Create 1 additional role which should be accepted as an implied
role. Assure the prohibited role names cannot be set as an implied
role. Assure the accepted role name which is not a member of the
prohibited implied role list can be successfully set an implied
role.
"""
prohibited_name1 = 'root1'
prohibited_name2 = 'root2'
accepted_name1 = 'implied1'
prohibited_names = [prohibited_name1, prohibited_name2]
self.config_fixture.config(group='assignment',
prohibited_implied_role=prohibited_names)
prior_role = self._create_role()
prohibited_role1 = self._create_named_role(prohibited_name1)
url = '/roles/{prior_role_id}/implies/{implied_role_id}'.format(
prior_role_id=prior_role['id'],
implied_role_id=prohibited_role1['id'])
self.put(url, expected_status=http.client.FORBIDDEN)
prohibited_role2 = self._create_named_role(prohibited_name2)
url = '/roles/{prior_role_id}/implies/{implied_role_id}'.format(
prior_role_id=prior_role['id'],
implied_role_id=prohibited_role2['id'])
self.put(url, expected_status=http.client.FORBIDDEN)
accepted_role1 = self._create_named_role(accepted_name1)
url = '/roles/{prior_role_id}/implies/{implied_role_id}'.format(
prior_role_id=prior_role['id'],
implied_role_id=accepted_role1['id'])
self.put(url, expected_status=http.client.CREATED)
def test_trusts_from_implied_role(self):
self._create_three_roles()
self._create_implied_role(self.role_list[0], self.role_list[1])
self._create_implied_role(self.role_list[1], self.role_list[2])
self._assign_top_role_to_user_on_project(self.user, self.project)
# Create a trustee and assign the prior role to her
trustee = unit.create_user(
PROVIDERS.identity_api, domain_id=self.domain_id
)
ref = unit.new_trust_ref(
trustor_user_id=self.user['id'],
trustee_user_id=trustee['id'],
project_id=self.project['id'],
role_ids=[self.role_list[0]['id']])
r = self.post('/OS-TRUST/trusts', body={'trust': ref})
trust = r.result['trust']
# Only the role that was specified is in the trust, NOT implied roles
self.assertEqual(self.role_list[0]['id'], trust['roles'][0]['id'])
self.assertThat(trust['roles'], matchers.HasLength(1))
# Authenticate as the trustee
auth_data = self.build_authentication_request(
user_id=trustee['id'],
password=trustee['password'],
trust_id=trust['id'])
r = self.v3_create_token(auth_data)
token = r.result['token']
self.assertThat(token['roles'],
matchers.HasLength(len(self.role_list)))
for role in token['roles']:
self.assertIn(role, self.role_list)
for role in self.role_list:
self.assertIn(role, token['roles'])
def test_trusts_from_domain_specific_implied_role(self):
self._create_three_roles()
# Overwrite the first role with a domain specific role
role = unit.new_role_ref(domain_id=self.domain_id)
self.role_list[0] = PROVIDERS.role_api.create_role(role['id'], role)
self._create_implied_role(self.role_list[0], self.role_list[1])
self._create_implied_role(self.role_list[1], self.role_list[2])
self._assign_top_role_to_user_on_project(self.user, self.project)
# Create a trustee and assign the prior role to her
trustee = unit.create_user(
PROVIDERS.identity_api, domain_id=self.domain_id
)
ref = unit.new_trust_ref(
trustor_user_id=self.user['id'],
trustee_user_id=trustee['id'],
project_id=self.project['id'],
role_ids=[self.role_list[0]['id']])
r = self.post('/OS-TRUST/trusts', body={'trust': ref})
trust = r.result['trust']
# Only the role that was specified is in the trust, NOT implied roles
self.assertEqual(self.role_list[0]['id'], trust['roles'][0]['id'])
self.assertThat(trust['roles'], matchers.HasLength(1))
# Authenticate as the trustee
auth_data = self.build_authentication_request(
user_id=trustee['id'],
password=<PASSWORD>ee['password'],
trust_id=trust['id'])
r = self.v3_create_token(auth_data)
token = r.result['token']
# The token should have the roles implies by the domain specific role,
# but not the domain specific role itself.
self.assertThat(token['roles'],
matchers.HasLength(len(self.role_list) - 1))
for role in token['roles']:
self.assertIn(role, self.role_list)
for role in [self.role_list[1], self.role_list[2]]:
self.assertIn(role, token['roles'])
self.assertNotIn(self.role_list[0], token['roles'])
def test_global_role_cannot_imply_domain_specific_role(self):
domain = unit.new_domain_ref()
PROVIDERS.resource_api.create_domain(domain['id'], domain)
domain_role_ref = unit.new_role_ref(domain_id=domain['id'])
domain_role = PROVIDERS.role_api.create_role(
domain_role_ref['id'], domain_role_ref
)
global_role_ref = unit.new_role_ref()
global_role = PROVIDERS.role_api.create_role(
global_role_ref['id'], global_role_ref
)
self.put('/roles/%s/implies/%s' % (global_role['id'],
domain_role['id']),
expected_status=http.client.FORBIDDEN)
class DomainSpecificRoleTests(test_v3.RestfulTestCase, unit.TestCase):
def setUp(self):
def create_role(domain_id=None):
"""Call ``POST /roles``."""
ref = unit.new_role_ref(domain_id=domain_id)
r = self.post(
'/roles',
body={'role': ref})
return self.assertValidRoleResponse(r, ref)
super(DomainSpecificRoleTests, self).setUp()
self.domainA = unit.new_domain_ref()
PROVIDERS.resource_api.create_domain(self.domainA['id'], self.domainA)
self.domainB = unit.new_domain_ref()
PROVIDERS.resource_api.create_domain(self.domainB['id'], self.domainB)
self.global_role1 = create_role()
self.global_role2 = create_role()
# Since there maybe other global roles already created, let's count
# them, so we can ensure we can check subsequent list responses
# are correct
r = self.get('/roles')
self.existing_global_roles = len(r.result['roles'])
# And now create some domain specific roles
self.domainA_role1 = create_role(domain_id=self.domainA['id'])
self.domainA_role2 = create_role(domain_id=self.domainA['id'])
self.domainB_role = create_role(domain_id=self.domainB['id'])
def test_get_and_list_domain_specific_roles(self):
# Check we can get a domain specific role
r = self.get('/roles/%s' % self.domainA_role1['id'])
self.assertValidRoleResponse(r, self.domainA_role1)
# If we list without specifying a domain, we should only get global
# roles back.
r = self.get('/roles')
self.assertValidRoleListResponse(
r, expected_length=self.existing_global_roles)
self.assertRoleInListResponse(r, self.global_role1)
self.assertRoleInListResponse(r, self.global_role2)
self.assertRoleNotInListResponse(r, self.domainA_role1)
self.assertRoleNotInListResponse(r, self.domainA_role2)
self.assertRoleNotInListResponse(r, self.domainB_role)
# Now list those in domainA, making sure that's all we get back
r = self.get('/roles?domain_id=%s' % self.domainA['id'])
self.assertValidRoleListResponse(r, expected_length=2)
self.assertRoleInListResponse(r, self.domainA_role1)
self.assertRoleInListResponse(r, self.domainA_role2)
def test_update_domain_specific_roles(self):
self.domainA_role1['name'] = uuid.uuid4().hex
self.patch('/roles/%(role_id)s' % {
'role_id': self.domainA_role1['id']},
body={'role': self.domainA_role1})
r = self.get('/roles/%s' % self.domainA_role1['id'])
self.assertValidRoleResponse(r, self.domainA_role1)
def test_delete_domain_specific_roles(self):
# Check delete only removes that one domain role
self.delete('/roles/%(role_id)s' % {
'role_id': self.domainA_role1['id']})
self.get('/roles/%s' % self.domainA_role1['id'],
expected_status=http.client.NOT_FOUND)
# Now re-list those in domainA, making sure there's only one left
r = self.get('/roles?domain_id=%s' % self.domainA['id'])
self.assertValidRoleListResponse(r, expected_length=1)
self.assertRoleInListResponse(r, self.domainA_role2)
def test_same_domain_assignment(self):
user = unit.create_user(PROVIDERS.identity_api,
domain_id=self.domainA['id'])
projectA = unit.new_project_ref(domain_id=self.domainA['id'])
PROVIDERS.resource_api.create_project(projectA['id'], projectA)
PROVIDERS.assignment_api.create_grant(
self.domainA_role1['id'], user_id=user['id'],
project_id=projectA['id']
)
def test_cross_domain_assignment_valid(self):
user = unit.create_user(PROVIDERS.identity_api,
domain_id=self.domainB['id'])
projectA = unit.new_project_ref(domain_id=self.domainA['id'])
PROVIDERS.resource_api.create_project(projectA['id'], projectA)
# Positive: a role on domainA can be assigned to a user from domainB
# but only for use on a project from domainA
PROVIDERS.assignment_api.create_grant(
self.domainA_role1['id'], user_id=user['id'],
project_id=projectA['id']
)
def test_cross_domain_assignment_invalid(self):
user = unit.create_user(PROVIDERS.identity_api,
domain_id=self.domainB['id'])
projectB = unit.new_project_ref(domain_id=self.domainB['id'])
PROVIDERS.resource_api.create_project(projectB['id'], projectB)
# Negative: a role on domainA can be assigned to a user from domainB
# only for a project from domainA
self.assertRaises(exception.DomainSpecificRoleMismatch,
PROVIDERS.assignment_api.create_grant,
self.domainA_role1['id'],
user_id=user['id'],
project_id=projectB['id'])
def test_cross_domain_implied_roles_authentication(self):
# Create a user in domainB
user = unit.create_user(PROVIDERS.identity_api,
domain_id=self.domainB['id'])
# Create project in domainA
projectA = unit.new_project_ref(domain_id=self.domainA['id'])
PROVIDERS.resource_api.create_project(projectA['id'], projectA)
# Now we create an implied rule from a role in domainA to a
# role in domainB
self.put('/roles/%s/implies/%s' %
(self.domainA_role1['id'], self.domainB_role['id']),
expected_status=http.client.CREATED)
# A role in domainA can be assigned to a user from domainB
# only for a project from domainA
PROVIDERS.assignment_api.create_grant(
self.domainA_role1['id'], user_id=user['id'],
project_id=projectA['id']
)
# The role assignments should return an empty list since domain roles
# can only be used to imply another roles
assignments = PROVIDERS.assignment_api.list_role_assignments(
user_id=user['id'], effective=True)
self.assertEqual([], assignments)
# This also means we can't authenticate using the existing assignment
auth_body = self.build_authentication_request(
user_id=user['id'],
password=<PASSWORD>['password'],
project_id=projectA['id'])
self.post('/auth/tokens', body=auth_body,
expected_status=http.client.UNAUTHORIZED)
class ListUserProjectsTestCase(test_v3.RestfulTestCase):
"""Test for /users/<user>/projects."""
def load_sample_data(self):
# do not load base class's data, keep it focused on the tests
self.auths = []
self.domains = []
self.projects = []
self.roles = []
self.users = []
root_domain = unit.new_domain_ref(
id=resource_base.NULL_DOMAIN_ID,
name=resource_base.NULL_DOMAIN_ID
)
self.resource_api.create_domain(resource_base.NULL_DOMAIN_ID,
root_domain)
# Create 3 sets of domain, roles, projects, and users to demonstrate
# the right user's data is loaded and only projects they can access
# are returned.
for _ in range(3):
domain = unit.new_domain_ref()
PROVIDERS.resource_api.create_domain(domain['id'], domain)
user = unit.create_user(
PROVIDERS.identity_api, domain_id=domain['id']
)
role = unit.new_role_ref()
PROVIDERS.role_api.create_role(role['id'], role)
PROVIDERS.assignment_api.create_grant(
role['id'], user_id=user['id'], domain_id=domain['id']
)
project = unit.new_project_ref(domain_id=domain['id'])
PROVIDERS.resource_api.create_project(project['id'], project)
PROVIDERS.assignment_api.create_grant(
role['id'], user_id=user['id'], project_id=project['id']
)
auth = self.build_authentication_request(
user_id=user['id'],
password=<PASSWORD>['password'],
domain_id=domain['id'])
self.auths.append(auth)
self.domains.append(domain)
self.projects.append(project)
self.roles.append(role)
self.users.append(user)
def test_list_head_all(self):
for i in range(len(self.users)):
user = self.users[i]
auth = self.auths[i]
url = '/users/%s/projects' % user['id']
result = self.get(url, auth=auth)
projects_result = result.json['projects']
self.assertEqual(1, len(projects_result))
self.assertEqual(self.projects[i]['id'], projects_result[0]['id'])
self.head(url, auth=auth, expected_status=http.client.OK)
def test_list_enabled(self):
for i in range(len(self.users)):
user = self.users[i]
auth = self.auths[i]
# There are no disabled projects
url = '/users/%s/projects?enabled=True' % user['id']
result = self.get(url, auth=auth)
projects_result = result.json['projects']
self.assertEqual(1, len(projects_result))
self.assertEqual(self.projects[i]['id'], projects_result[0]['id'])
def test_list_disabled(self):
for i in range(len(self.users)):
user = self.users[i]
auth = self.auths[i]
project = self.projects[i]
# There are no disabled projects
url = '/users/%s/projects?enabled=False' % user['id']
result = self.get(url, auth=auth)
self.assertEqual(0, len(result.json['projects']))
# disable this one and check again
project['enabled'] = False
PROVIDERS.resource_api.update_project(project['id'], project)
result = self.get(url, auth=auth)
projects_result = result.json['projects']
self.assertEqual(1, len(projects_result))
self.assertEqual(self.projects[i]['id'], projects_result[0]['id'])
def test_list_by_domain_id(self):
for i in range(len(self.users)):
user = self.users[i]
domain = self.domains[i]
auth = self.auths[i]
# Try looking for projects with a non-existent domain_id
url = '/users/%s/projects?domain_id=%s' % (user['id'],
uuid.uuid4().hex)
result = self.get(url, auth=auth)
self.assertEqual(0, len(result.json['projects']))
# Now try a valid one
url = '/users/%s/projects?domain_id=%s' % (user['id'],
domain['id'])
result = self.get(url, auth=auth)
projects_result = result.json['projects']
self.assertEqual(1, len(projects_result))
self.assertEqual(self.projects[i]['id'], projects_result[0]['id'])
# FIXME(lbragstad): These tests contain system-level API calls, which means
# they will log a warning message if they are called with a project-scoped
# token, regardless of the role assignment on the project. We need to fix
# them by using a proper system-scoped admin token to make the call instead
# of a project scoped token.
class UserSystemRoleAssignmentTestCase(test_v3.RestfulTestCase,
SystemRoleAssignmentMixin):
def test_assign_system_role_to_user(self):
system_role_id = self._create_new_role()
# assign the user a role on the system
member_url = (
'/system/users/%(user_id)s/roles/%(role_id)s' % {
'user_id': self.user['id'],
'role_id': system_role_id
}
)
self.put(member_url)
# validate the role assignment
self.head(member_url)
# list system roles
collection_url = (
'/system/users/%(user_id)s/roles' % {'user_id': self.user['id']}
)
roles = self.get(collection_url).json_body['roles']
self.assertEqual(len(roles), 1)
self.assertEqual(roles[0]['id'], system_role_id)
self.head(collection_url, expected_status=http.client.OK)
response = self.get(
'/role_assignments?scope.system=all&user.id=%(user_id)s' % {
'user_id': self.user['id']
}
)
self.assertValidRoleAssignmentListResponse(response)
def test_list_role_assignments_for_user_returns_all_assignments(self):
system_role_id = self._create_new_role()
# assign the user a role on the system
member_url = '/system/users/%(user_id)s/roles/%(role_id)s' % {
'user_id': self.user['id'],
'role_id': system_role_id
}
self.put(member_url)
# the response should contain one role assignment for the system role
# and one for a role that was setup during setUp().
response = self.get(
'/role_assignments?user.id=%(user_id)s' % {
'user_id': self.user['id']
}
)
self.assertValidRoleAssignmentListResponse(response, expected_length=2)
def test_list_system_roles_for_user_returns_none_without_assignment(self):
# list system roles for user
collection_url = '/system/users/%(user_id)s/roles' % {
'user_id': self.user['id']
}
response = self.get(collection_url)
# assert that the user doesn't have any system role assignments, which
# is denoted by an empty list
self.assertEqual(response.json_body['roles'], [])
response = self.get(
'/role_assignments?scope.system=all&user.id=%(user_id)s' % {
'user_id': self.user['id']
}
)
self.assertEqual(len(response.json_body['role_assignments']), 0)
self.assertValidRoleAssignmentListResponse(response)
def test_list_system_roles_for_user_does_not_return_project_roles(self):
system_role_id = self._create_new_role()
# assign the user a role on the system
member_url = '/system/users/%(user_id)s/roles/%(role_id)s' % {
'user_id': self.user['id'],
'role_id': system_role_id
}
self.put(member_url)
# list project role assignments and save the role id of that
# assignment, this assignment was created during setUp
response = self.get(
'/projects/%(project_id)s/users/%(user_id)s/roles' % {
'project_id': self.project['id'],
'user_id': self.user['id']
}
)
self.assertEqual(len(response.json_body['roles']), 1)
project_role_id = response.json_body['roles'][0]['id']
# list system role assignments
collection_url = '/system/users/%(user_id)s/roles' % {
'user_id': self.user['id']
}
response = self.get(collection_url)
# assert the project role assignment is not in the system role
# assignments
for role in response.json_body['roles']:
self.assertNotEqual(role['id'], project_role_id)
# make sure the role_assignment API filters correctly based on system
# scope
response = self.get(
'/role_assignments?scope.system=all&user.id=%(user_id)s' % {
'user_id': self.user['id']
}
)
self.assertEqual(len(response.json_body['role_assignments']), 1)
system_assignment = response.json_body['role_assignments'][0]
self.assertEqual(system_assignment['role']['id'], system_role_id)
self.assertTrue(system_assignment['scope']['system']['all'])
# make sure the role_assignment API doesn't include the system role
# assignment when we filter based on project
path = (
'/role_assignments?scope.project.id=%(project_id)s&'
'user.id=%(user_id)s'
) % {'project_id': self.project['id'],
'user_id': self.user['id']}
response = self.get(path)
self.assertEqual(len(response.json_body['role_assignments']), 1)
project_assignment = response.json_body['role_assignments'][0]
self.assertEqual(project_assignment['role']['id'], project_role_id)
def test_list_system_roles_for_user_does_not_return_domain_roles(self):
system_role_id = self._create_new_role()
domain_role_id = self._create_new_role()
# assign a role to the user on a domain
domain_member_url = (
'/domains/%(domain_id)s/users/%(user_id)s/roles/%(role_id)s' % {
'domain_id': self.user['domain_id'],
'user_id': self.user['id'],
'role_id': domain_role_id
}
)
self.put(domain_member_url)
# assign the user a role on the system
member_url = '/system/users/%(user_id)s/roles/%(role_id)s' % {
'user_id': self.user['id'],
'role_id': system_role_id
}
self.put(member_url)
# list domain role assignments
response = self.get(
'/domains/%(domain_id)s/users/%(user_id)s/roles' % {
'domain_id': self.user['domain_id'],
'user_id': self.user['id']
}
)
self.assertEqual(len(response.json_body['roles']), 1)
# list system role assignments
collection_url = '/system/users/%(user_id)s/roles' % {
'user_id': self.user['id']
}
response = self.get(collection_url)
# assert the domain role assignment is not in the system role
# assignments
for role in response.json_body['roles']:
self.assertNotEqual(role['id'], domain_role_id)
# make sure the role_assignment API filters correctly based on system
# scope
response = self.get(
'/role_assignments?scope.system=all&user.id=%(user_id)s' % {
'user_id': self.user['id']
}
)
self.assertEqual(len(response.json_body['role_assignments']), 1)
system_assignment = response.json_body['role_assignments'][0]
self.assertEqual(system_assignment['role']['id'], system_role_id)
self.assertTrue(system_assignment['scope']['system']['all'])
# make sure the role_assignment API doesn't include the system role
# assignment when we filter based on domain
path = (
'/role_assignments?scope.domain.id=%(domain_id)s&'
'user.id=%(user_id)s'
) % {'domain_id': self.user['domain_id'],
'user_id': self.user['id']}
response = self.get(path)
self.assertEqual(len(response.json_body['role_assignments']), 1)
domain_assignment = response.json_body['role_assignments'][0]
self.assertEqual(domain_assignment['role']['id'], domain_role_id)
def test_check_user_has_system_role_when_assignment_exists(self):
system_role_id = self._create_new_role()
# assign the user a role on the system
member_url = '/system/users/%(user_id)s/roles/%(role_id)s' % {
'user_id': self.user['id'],
'role_id': system_role_id
}
self.put(member_url)
# check the user has the system role assignment
self.head(member_url)
def test_check_user_does_not_have_system_role_without_assignment(self):
system_role_id = self._create_new_role()
# check the user does't have the system role assignment
member_url = '/system/users/%(user_id)s/roles/%(role_id)s' % {
'user_id': self.user['id'],
'role_id': system_role_id
}
self.head(member_url, expected_status=http.client.NOT_FOUND)
response = self.get(
'/role_assignments?scope.system=all&user.id=%(user_id)s' % {
'user_id': self.user['id']
}
)
self.assertEqual(len(response.json_body['role_assignments']), 0)
self.assertValidRoleAssignmentListResponse(response)
def test_unassign_system_role_from_user(self):
system_role_id = self._create_new_role()
# assign the user a role on the system
member_url = '/system/users/%(user_id)s/roles/%(role_id)s' % {
'user_id': self.user['id'],
'role_id': system_role_id
}
self.put(member_url)
# ensure the user has the role assignment
self.head(member_url)
response = self.get(
'/role_assignments?scope.system=all&user.id=%(user_id)s' % {
'user_id': self.user['id']
}
)
self.assertEqual(len(response.json_body['role_assignments']), 1)
self.assertValidRoleAssignmentListResponse(response)
# remove the system role assignment from the user
self.delete(member_url)
# ensure the user doesn't have any system role assignments
collection_url = '/system/users/%(user_id)s/roles' % {
'user_id': self.user['id']
}
response = self.get(collection_url)
self.assertEqual(len(response.json_body['roles']), 0)
response = self.get(
'/role_assignments?scope.system=all&user.id=%(user_id)s' % {
'user_id': self.user['id']
}
)
self.assertValidRoleAssignmentListResponse(response, expected_length=0)
def test_query_for_system_scope_and_domain_scope_fails(self):
# When asking for assignments and providing query parameters, we
# shouldn't be able to ask for two different types of scope. This is
# also true for project + domain scope.
path = (
'/role_assignments?scope.system=all'
'&scope.domain.id=%(domain_id)s'
) % {'domain_id': self.domain_id}
self.get(path, expected_status=http.client.BAD_REQUEST)
def test_query_for_system_scope_and_project_scope_fails(self):
# When asking for assignments and providing query parameters, we
# shouldn't be able to ask for two different types of scope. This is
# also true for project + domain scope.
path = (
'/role_assignments?scope.system=all'
'&scope.project.id=%(project_id)s'
) % {'project_id': self.project_id}
self.get(path, expected_status=http.client.BAD_REQUEST)
def test_query_for_role_id_does_not_return_system_user_roles(self):
system_role_id = self._create_new_role()
# assign the user a role on the system
member_url = '/system/users/%(user_id)s/roles/%(role_id)s' % {
'user_id': self.user['id'],
'role_id': system_role_id
}
self.put(member_url)
# Make sure we only get one role assignment back since the system role
# assignment shouldn't be returned.
path = (
'/role_assignments?role.id=%(role_id)s&user.id=%(user_id)s'
) % {'role_id': self.role_id, 'user_id': self.user['id']}
response = self.get(path)
self.assertValidRoleAssignmentListResponse(response, expected_length=1)
# FIXME(lbragstad): These tests contain system-level API calls, which means
# they will log a warning message if they are called with a project-scoped
# token, regardless of the role assignment on the project. We need to fix
# them by using a proper system-scoped admin token to make the call instead
# of a project scoped token.
class GroupSystemRoleAssignmentTestCase(test_v3.RestfulTestCase,
SystemRoleAssignmentMixin):
def test_assign_system_role_to_group(self):
system_role_id = self._create_new_role()
group = self._create_group()
# assign the role to the group globally
member_url = '/system/groups/%(group_id)s/roles/%(role_id)s' % {
'group_id': group['id'],
'role_id': system_role_id
}
self.put(member_url)
# validate the role assignment
self.head(member_url)
# list global roles
collection_url = '/system/groups/%(group_id)s/roles' % {
'group_id': group['id']
}
roles = self.get(collection_url).json_body['roles']
self.assertEqual(len(roles), 1)
self.assertEqual(roles[0]['id'], system_role_id)
self.head(collection_url, expected_status=http.client.OK)
response = self.get(
'/role_assignments?scope.system=all&group.id=%(group_id)s' % {
'group_id': group['id']
}
)
self.assertValidRoleAssignmentListResponse(response, expected_length=1)
self.assertEqual(
response.json_body['role_assignments'][0]['role']['id'],
system_role_id
)
def test_assign_system_role_to_non_existant_group_fails(self):
system_role_id = self._create_new_role()
group_id = uuid.uuid4().hex
# assign the role to the group globally
member_url = '/system/groups/%(group_id)s/roles/%(role_id)s' % {
'group_id': group_id,
'role_id': system_role_id
}
self.put(member_url, expected_status=http.client.NOT_FOUND)
def test_list_role_assignments_for_group_returns_all_assignments(self):
system_role_id = self._create_new_role()
group = self._create_group()
# assign the role to the group globally and on a single project
member_url = '/system/groups/%(group_id)s/roles/%(role_id)s' % {
'group_id': group['id'],
'role_id': system_role_id
}
self.put(member_url)
member_url = (
'/projects/%(project_id)s/groups/%(group_id)s/'
'roles/%(role_id)s'
) % {
'project_id': self.project_id,
'group_id': group['id'],
'role_id': system_role_id
}
self.put(member_url)
# make sure both assignments exist in the response, there should be two
response = self.get(
'/role_assignments?group.id=%(group_id)s' % {
'group_id': group['id']
}
)
self.assertValidRoleAssignmentListResponse(response, expected_length=2)
def test_list_system_roles_for_group_returns_none_without_assignment(self):
group = self._create_group()
# list global roles for group
collection_url = '/system/groups/%(group_id)s/roles' % {
'group_id': group['id']
}
response = self.get(collection_url)
# assert that the group doesn't have any system role assignments, which
# is denoted by an empty list
self.assertEqual(response.json_body['roles'], [])
response = self.get(
'/role_assignments?scope.system=all&group.id=%(group_id)s' % {
'group_id': group['id']
}
)
self.assertValidRoleAssignmentListResponse(response, expected_length=0)
def test_list_system_roles_for_group_does_not_return_project_roles(self):
system_role_id = self._create_new_role()
project_role_id = self._create_new_role()
group = self._create_group()
# assign the group a role on the system and a role on a project
member_url = '/system/groups/%(group_id)s/roles/%(role_id)s' % {
'group_id': group['id'], 'role_id': system_role_id
}
self.put(member_url)
member_url = (
'/projects/%(project_id)s/groups/%(group_id)s/'
'roles/%(role_id)s'
) % {
'project_id': self.project_id,
'group_id': group['id'],
'role_id': project_role_id
}
self.put(member_url)
# list system role assignments
collection_url = '/system/groups/%(group_id)s/roles' % {
'group_id': group['id']
}
response = self.get(collection_url)
# assert the project role assignment is not in the system role
# assignments
for role in response.json_body['roles']:
self.assertNotEqual(role['id'], project_role_id)
response = self.get(
'/role_assignments?scope.system=all&group.id=%(group_id)s' % {
'group_id': group['id']
}
)
self.assertValidRoleAssignmentListResponse(response, expected_length=1)
def test_list_system_roles_for_group_does_not_return_domain_roles(self):
system_role_id = self._create_new_role()
domain_role_id = self._create_new_role()
group = self._create_group()
# assign a role to the group on a domain
domain_member_url = (
'/domains/%(domain_id)s/groups/%(group_id)s/'
'roles/%(role_id)s' % {
'domain_id': group['domain_id'],
'group_id': group['id'],
'role_id': domain_role_id
}
)
self.put(domain_member_url)
# assign the group a role on the system
member_url = '/system/groups/%(group_id)s/roles/%(role_id)s' % {
'group_id': group['id'],
'role_id': system_role_id
}
self.put(member_url)
# list domain role assignments
response = self.get(
'/domains/%(domain_id)s/groups/%(group_id)s/roles' % {
'domain_id': group['domain_id'], 'group_id': group['id']
}
)
self.assertEqual(len(response.json_body['roles']), 1)
# list system role assignments
collection_url = '/system/groups/%(group_id)s/roles' % {
'group_id': group['id']
}
response = self.get(collection_url)
# assert the domain role assignment is not in the system role
# assignments
for role in response.json_body['roles']:
self.assertNotEqual(role['id'], domain_role_id)
response = self.get(
'/role_assignments?scope.system=all&group.id=%(group_id)s' % {
'group_id': group['id']
}
)
self.assertValidRoleAssignmentListResponse(response, expected_length=1)
def test_check_group_has_system_role_when_assignment_exists(self):
system_role_id = self._create_new_role()
group = self._create_group()
# assign the group a role on the system
member_url = '/system/groups/%(group_id)s/roles/%(role_id)s' % {
'group_id': group['id'],
'role_id': system_role_id
}
self.put(member_url)
# check the group has the system role assignment
self.head(member_url)
response = self.get(
'/role_assignments?scope.system=all&group.id=%(group_id)s' % {
'group_id': group['id']
}
)
self.assertValidRoleAssignmentListResponse(response, expected_length=1)
self.assertEqual(
response.json_body['role_assignments'][0]['role']['id'],
system_role_id
)
def test_check_group_does_not_have_system_role_without_assignment(self):
system_role_id = self._create_new_role()
group = self._create_group()
# check the group does't have the system role assignment
member_url = '/system/groups/%(group_id)s/roles/%(role_id)s' % {
'group_id': group['id'],
'role_id': system_role_id
}
self.head(member_url, expected_status=http.client.NOT_FOUND)
response = self.get(
'/role_assignments?scope.system=all&group.id=%(group_id)s' % {
'group_id': group['id']
}
)
self.assertValidRoleAssignmentListResponse(response, expected_length=0)
def test_unassign_system_role_from_group(self):
system_role_id = self._create_new_role()
group = self._create_group()
# assign the group a role on the system
member_url = '/system/groups/%(group_id)s/roles/%(role_id)s' % {
'group_id': group['id'],
'role_id': system_role_id
}
self.put(member_url)
# ensure the group has the role assignment
self.head(member_url)
response = self.get(
'/role_assignments?scope.system=all&group.id=%(group_id)s' % {
'group_id': group['id']
}
)
self.assertEqual(len(response.json_body['role_assignments']), 1)
self.assertValidRoleAssignmentListResponse(response)
# remove the system role assignment from the group
self.delete(member_url)
# ensure the group doesn't have any system role assignments
collection_url = '/system/groups/%(group_id)s/roles' % {
'group_id': group['id']
}
response = self.get(collection_url)
self.assertEqual(len(response.json_body['roles']), 0)
response = self.get(
'/role_assignments?scope.system=all&group.id=%(group_id)s' % {
'group_id': group['id']
}
)
self.assertValidRoleAssignmentListResponse(response, expected_length=0)
def test_query_for_role_id_does_not_return_system_group_roles(self):
system_role_id = self._create_new_role()
group = self._create_group()
# assign the group a role on the system
member_url = '/system/groups/%(group_id)s/roles/%(role_id)s' % {
'group_id': group['id'],
'role_id': system_role_id
}
self.put(member_url)
# assign the group a role on the system
member_url = (
'/projects/%(project_id)s/groups/%(group_id)s/roles/%(role_id)s' %
{'project_id': self.project_id,
'group_id': group['id'],
'role_id': self.role_id}
)
self.put(member_url)
# Make sure we only get one role assignment back since the system role
# assignment shouldn't be returned.
path = (
'/role_assignments?role.id=%(role_id)s&group.id=%(group_id)s'
) % {'role_id': self.role_id, 'group_id': group['id']}
response = self.get(path)
self.assertValidRoleAssignmentListResponse(response, expected_length=1)
| [
1,
396,
10413,
21144,
1090,
278,
13380,
19245,
29892,
10079,
29871,
29906,
29889,
29900,
313,
1552,
376,
29931,
293,
1947,
1496,
366,
1122,
13,
29937,
451,
671,
445,
934,
5174,
297,
752,
13036,
411,
278,
19245,
29889,
887,
1122,
4017,
13,
29937,
263,
3509,
310,
278,
19245,
472,
13,
29937,
13,
29937,
418,
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,
399,
1806,
8187,
2692,
13,
29937,
399,
1718,
29934,
13566,
29059,
6323,
8707,
29928,
22122,
29903,
8079,
13764,
29979,
476,
22255,
29892,
2845,
4653,
470,
2411,
2957,
29889,
2823,
278,
13,
29937,
19245,
363,
278,
2702,
4086,
14765,
1076,
11239,
322,
27028,
13,
29937,
1090,
278,
19245,
29889,
13,
13,
5215,
12865,
13,
5215,
4036,
13,
5215,
318,
5416,
13,
13,
5215,
3889,
28530,
348,
13,
5215,
1732,
29889,
4645,
13,
3166,
1243,
8504,
1053,
1993,
414,
13,
13,
3166,
1589,
858,
650,
29889,
9435,
1053,
13113,
29918,
2754,
13,
5215,
1589,
858,
650,
29889,
5527,
13,
3166,
1589,
858,
650,
1053,
3682,
13,
3166,
1589,
858,
650,
29889,
10314,
29889,
1627,
1975,
1053,
2967,
408,
6503,
29918,
3188,
13,
3166,
1589,
858,
650,
29889,
21150,
1053,
5190,
13,
3166,
1589,
858,
650,
29889,
21150,
29889,
5441,
1053,
1243,
29918,
29894,
29941,
13,
13,
13,
6007,
29943,
353,
1589,
858,
650,
29889,
5527,
29889,
6007,
29943,
13,
8618,
13044,
23598,
353,
13113,
29918,
2754,
29889,
6980,
8787,
29879,
13,
13,
13,
1990,
2184,
16727,
7900,
10194,
29924,
861,
262,
29898,
3318,
1125,
13,
13,
1678,
822,
903,
3258,
29918,
1482,
29918,
12154,
29898,
1311,
1125,
13,
4706,
9995,
4391,
263,
6297,
3625,
363,
671,
12214,
322,
736,
278,
3553,
1213,
15945,
13,
4706,
2143,
353,
5190,
29889,
1482,
29918,
12154,
29918,
999,
580,
13,
4706,
2933,
353,
1583,
29889,
2490,
11219,
307,
793,
742,
3573,
3790,
29915,
12154,
2396,
2143,
1800,
13,
4706,
396,
1334,
871,
2289,
817,
278,
6297,
3553,
29892,
577,
288,
2415,
278,
1791,
310,
278,
2933,
322,
13,
4706,
396,
736,
278,
3553,
310,
278,
6297,
591,
925,
2825,
29889,
13,
4706,
736,
2933,
29889,
3126,
29918,
2587,
1839,
12154,
16215,
333,
2033,
13,
13,
1678,
822,
903,
3258,
29918,
2972,
29898,
1311,
1125,
13,
4706,
3573,
353,
426,
13,
9651,
525,
2972,
2396,
426,
13,
18884,
525,
7247,
29918,
333,
2396,
1583,
29889,
7247,
29918,
333,
29892,
13,
18884,
525,
978,
2396,
318,
5416,
29889,
25118,
29946,
2141,
20970,
13,
9651,
500,
13,
4706,
500,
13,
4706,
2933,
353,
1583,
29889,
2490,
11219,
13155,
29914,
742,
3573,
29922,
2587,
29897,
13,
4706,
736,
2933,
29889,
3126,
29918,
2587,
1839,
2972,
2033,
13,
13,
1678,
822,
903,
3258,
29918,
1792,
29898,
1311,
1125,
13,
4706,
3573,
353,
426,
13,
9651,
525,
1792,
2396,
426,
13,
18884,
525,
7247,
29918,
333,
2396,
1583,
29889,
7247,
29918,
333,
29892,
13,
18884,
525,
978,
2396,
318,
5416,
29889,
25118,
29946,
2141,
20970,
13,
9651,
500,
13,
4706,
500,
13,
4706,
2933,
353,
1583,
29889,
2490,
11219,
7193,
29914,
742,
3573,
29922,
2587,
29897,
13,
4706,
736,
2933,
29889,
3126,
29918,
2587,
1839,
1792,
2033,
13,
13,
13,
1990,
4007,
10194,
3057,
8259,
29898,
1688,
29918,
29894,
29941,
29889,
15078,
1319,
3057,
8259,
29892,
13,
462,
308,
1243,
29918,
29894,
29941,
29889,
7900,
10194,
3057,
29924,
861,
262,
29892,
13,
462,
308,
2184,
16727,
7900,
10194,
29924,
861,
262,
1125,
13,
1678,
9995,
3057,
16178,
322,
6297,
3566,
1860,
1213,
15945,
13,
13,
1678,
822,
731,
3373,
29898,
1311,
1125,
13,
4706,
2428,
29898,
7900,
10194,
3057,
8259,
29892,
1583,
467,
842,
3373,
580,
13,
13,
4706,
1583,
29889,
2972,
353,
5190,
29889,
1482,
29918,
2972,
29918,
999,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
29897,
13,
4706,
1583,
29889,
2972,
353,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29889,
3258,
29918,
2972,
29898,
1311,
29889,
2972,
29897,
13,
4706,
1583,
29889,
2972,
29918,
333,
353,
1583,
29889,
2972,
1839,
333,
2033,
13,
13,
1678,
396,
1528,
280,
15600,
15789,
6987,
13,
13,
1678,
822,
1243,
29918,
3258,
29918,
12154,
29898,
1311,
1125,
13,
4706,
9995,
5594,
4954,
5438,
847,
307,
793,
16159,
1213,
15945,
13,
4706,
2143,
353,
5190,
29889,
1482,
29918,
12154,
29918,
999,
580,
13,
4706,
364,
353,
1583,
29889,
2490,
29898,
13,
9651,
8207,
307,
793,
742,
13,
9651,
3573,
3790,
29915,
12154,
2396,
2143,
1800,
13,
4706,
736,
1583,
29889,
9294,
7211,
16727,
5103,
29898,
29878,
29892,
2143,
29897,
13,
13,
1678,
822,
1243,
29918,
3258,
29918,
12154,
29918,
12313,
29918,
3827,
29898,
1311,
1125,
13,
4706,
9995,
5594,
4954,
5438,
847,
307,
793,
16159,
1213,
15945,
13,
4706,
1583,
29889,
2490,
11219,
307,
793,
742,
3573,
3790,
29915,
12154,
2396,
426,
11656,
13,
462,
29871,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
29933,
3035,
29918,
16244,
29897,
13,
13,
1678,
822,
1243,
29918,
1761,
29918,
2813,
29918,
307,
793,
29898,
1311,
1125,
13,
4706,
9995,
5594,
4954,
7194,
669,
17714,
3035,
847,
307,
793,
16159,
1213,
15945,
13,
4706,
6503,
29918,
2271,
353,
8207,
307,
793,
29915,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10314,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
1293,
5103,
29898,
29878,
29892,
2143,
29922,
1311,
29889,
12154,
29892,
13,
462,
462,
308,
6503,
29918,
2271,
29922,
10314,
29918,
2271,
29897,
13,
4706,
1583,
29889,
2813,
29898,
10314,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
2813,
29918,
12154,
29898,
1311,
1125,
13,
4706,
9995,
5594,
4954,
7194,
669,
17714,
3035,
847,
307,
793,
19248,
12154,
29918,
333,
10114,
29952,
1213,
15945,
13,
4706,
6503,
29918,
2271,
353,
8207,
307,
793,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
12154,
29918,
333,
2396,
1583,
29889,
12154,
29918,
333,
29913,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10314,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
5103,
29898,
29878,
29892,
1583,
29889,
12154,
29897,
13,
4706,
1583,
29889,
2813,
29898,
10314,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
13,
1678,
822,
1243,
29918,
5504,
29918,
12154,
29898,
1311,
1125,
13,
4706,
9995,
5594,
4954,
29925,
14789,
847,
307,
793,
19248,
12154,
29918,
333,
10114,
29952,
1213,
15945,
13,
4706,
2143,
353,
5190,
29889,
1482,
29918,
12154,
29918,
999,
580,
13,
4706,
628,
2143,
1839,
333,
2033,
13,
4706,
364,
353,
1583,
29889,
5041,
11219,
307,
793,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
12154,
29918,
333,
2396,
1583,
29889,
12154,
29918,
333,
1118,
13,
9651,
3573,
3790,
29915,
12154,
2396,
2143,
1800,
13,
4706,
1583,
29889,
9294,
7211,
16727,
5103,
29898,
29878,
29892,
2143,
29897,
13,
13,
1678,
822,
1243,
29918,
8143,
29918,
12154,
29898,
1311,
1125,
13,
4706,
9995,
5594,
4954,
2287,
18476,
847,
307,
793,
19248,
12154,
29918,
333,
10114,
29952,
1213,
15945,
13,
4706,
1583,
29889,
8143,
11219,
307,
793,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
12154,
29918,
333,
2396,
1583,
29889,
12154,
29918,
333,
1800,
13,
13,
1678,
396,
1528,
280,
1632,
1934,
6987,
13,
13,
1678,
822,
1243,
29918,
7283,
566,
29918,
1792,
29918,
4836,
29918,
12154,
29918,
629,
1934,
29898,
1311,
1125,
13,
4706,
6297,
353,
5190,
29889,
1482,
29918,
12154,
29918,
999,
580,
13,
4706,
13756,
13044,
23598,
29889,
12154,
29918,
2754,
29889,
3258,
29918,
12154,
29898,
12154,
1839,
333,
7464,
6297,
29897,
13,
13,
4706,
4333,
29918,
2271,
353,
313,
13,
9651,
8207,
16418,
22584,
29898,
4836,
29918,
333,
29897,
29879,
29914,
7193,
22584,
29898,
1792,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
426,
13,
18884,
525,
4836,
29918,
333,
2396,
1583,
29889,
4836,
1839,
333,
7464,
13,
18884,
525,
1792,
29918,
333,
2396,
1583,
29889,
1792,
1839,
333,
2033,
1800,
13,
4706,
4509,
29918,
2271,
353,
14210,
29898,
10855,
29918,
2271,
29897,
29879,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
10855,
29918,
2271,
2396,
4333,
29918,
2271,
29892,
13,
9651,
525,
12154,
29918,
333,
2396,
6297,
1839,
333,
2033,
29913,
13,
13,
4706,
396,
1670,
338,
263,
6297,
12827,
363,
1583,
29889,
1792,
373,
1583,
29889,
4836,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
1293,
5103,
29898,
29878,
29892,
2143,
29922,
1311,
29889,
12154,
29892,
13,
462,
462,
308,
3806,
29918,
2848,
29922,
29896,
29897,
13,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
4706,
1583,
29889,
2813,
29898,
14242,
29918,
2271,
29897,
13,
4706,
1583,
29889,
657,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
6632,
29918,
22412,
3919,
29897,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
1293,
5103,
29898,
29878,
29892,
2143,
29922,
12154,
29892,
13,
462,
462,
308,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29892,
13,
462,
462,
308,
3806,
29918,
2848,
29922,
29906,
29897,
13,
4706,
1583,
29889,
2813,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
13,
4706,
1583,
29889,
8143,
29898,
14242,
29918,
2271,
29897,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
1293,
5103,
29898,
29878,
29892,
2143,
29922,
1311,
29889,
12154,
29892,
3806,
29918,
2848,
29922,
29896,
29897,
13,
4706,
1583,
29889,
9294,
797,
29898,
10855,
29918,
2271,
29892,
364,
29889,
2914,
1839,
4965,
16215,
1311,
11287,
13,
4706,
1583,
29889,
2813,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
13,
1678,
822,
1243,
29918,
7283,
566,
29918,
1792,
29918,
4836,
29918,
12154,
29918,
629,
1934,
29918,
1217,
29918,
1792,
29898,
1311,
1125,
13,
4706,
9995,
3338,
424,
6297,
373,
263,
2060,
304,
263,
1404,
393,
1838,
29915,
29873,
1863,
29889,
13,
13,
4706,
1932,
16690,
263,
6297,
373,
263,
2060,
304,
263,
1404,
393,
1838,
29915,
29873,
1863,
29892,
278,
1923,
13,
4706,
3639,
2216,
7460,
363,
278,
1404,
29889,
13,
13,
4706,
9995,
13,
4706,
1404,
29918,
333,
353,
318,
5416,
29889,
25118,
29946,
2141,
20970,
13,
13,
4706,
4333,
29918,
2271,
353,
313,
13,
9651,
8207,
16418,
22584,
29898,
4836,
29918,
333,
29897,
29879,
29914,
7193,
22584,
29898,
1792,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
426,
13,
18884,
525,
4836,
29918,
333,
2396,
1583,
29889,
4836,
1839,
333,
7464,
525,
1792,
29918,
333,
2396,
1404,
29918,
333,
1800,
13,
4706,
4509,
29918,
2271,
353,
14210,
29898,
10855,
29918,
2271,
29897,
29879,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
10855,
29918,
2271,
2396,
4333,
29918,
2271,
29892,
13,
9651,
525,
12154,
29918,
333,
2396,
1583,
29889,
12154,
29918,
333,
29913,
13,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
12256,
29918,
5800,
18783,
29897,
13,
4706,
1583,
29889,
2813,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
12256,
29918,
5800,
18783,
29897,
13,
4706,
1583,
29889,
657,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
12256,
29918,
5800,
18783,
29897,
13,
13,
1678,
822,
1243,
29918,
7283,
566,
29918,
1792,
29918,
7247,
29918,
12154,
29918,
629,
1934,
29898,
1311,
1125,
13,
4706,
931,
353,
12865,
29889,
12673,
29889,
329,
29883,
3707,
580,
13,
4706,
411,
3889,
28530,
348,
29889,
9021,
911,
29918,
2230,
29898,
2230,
29897,
408,
14671,
2256,
29918,
12673,
29901,
13,
9651,
4333,
29918,
2271,
353,
313,
13,
18884,
8207,
3129,
2708,
22584,
29898,
7247,
29918,
333,
29897,
29879,
29914,
7193,
22584,
29898,
1792,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
426,
13,
462,
1678,
525,
7247,
29918,
333,
2396,
1583,
29889,
7247,
29918,
333,
29892,
13,
462,
1678,
525,
1792,
29918,
333,
2396,
1583,
29889,
1792,
1839,
333,
2033,
1800,
13,
9651,
4509,
29918,
2271,
353,
14210,
29898,
10855,
29918,
2271,
29897,
29879,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
10855,
29918,
2271,
2396,
4333,
29918,
2271,
29892,
13,
18884,
525,
12154,
29918,
333,
2396,
1583,
29889,
12154,
29918,
333,
29913,
13,
13,
9651,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
9651,
1583,
29889,
2813,
29898,
14242,
29918,
2271,
29897,
13,
9651,
1583,
29889,
657,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
6632,
29918,
22412,
3919,
29897,
13,
9651,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
9651,
1583,
29889,
9294,
7211,
16727,
1293,
5103,
29898,
29878,
29892,
2143,
29922,
1311,
29889,
12154,
29892,
13,
462,
462,
632,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
9651,
1583,
29889,
2813,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
13,
9651,
1583,
29889,
8143,
29898,
14242,
29918,
2271,
29897,
13,
9651,
396,
6058,
29923,
29898,
27728,
1431,
17569,
1125,
8561,
1854,
591,
4480,
263,
1473,
1434,
591,
2244,
363,
278,
13,
9651,
396,
16178,
29889,
910,
5662,
1973,
278,
5993,
591,
671,
3508,
29915,
29873,
5545,
6664,
12504,
13,
9651,
396,
1363,
372,
471,
16610,
2629,
278,
1021,
1473,
408,
263,
6664,
10610,
13,
9651,
396,
1741,
29889,
13,
9651,
14671,
2256,
29918,
12673,
29889,
24667,
29898,
4181,
29922,
12673,
29889,
9346,
287,
2554,
29898,
23128,
29922,
29896,
876,
13,
9651,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
9651,
1583,
29889,
9294,
7211,
16727,
1293,
5103,
29898,
29878,
29892,
3806,
29918,
2848,
29922,
29900,
29892,
13,
462,
462,
632,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
9651,
1583,
29889,
2813,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
13,
1678,
822,
1243,
29918,
7283,
566,
29918,
1792,
29918,
7247,
29918,
12154,
29918,
629,
1934,
29918,
1217,
29918,
1792,
29898,
1311,
1125,
13,
4706,
9995,
3338,
424,
6297,
373,
263,
5354,
304,
263,
1404,
393,
1838,
29915,
29873,
1863,
29889,
13,
13,
4706,
1932,
16690,
263,
6297,
373,
263,
5354,
304,
263,
1404,
393,
1838,
29915,
29873,
1863,
29892,
278,
1923,
13,
4706,
3639,
29871,
29946,
29900,
29946,
2216,
7460,
363,
278,
1404,
29889,
13,
13,
4706,
9995,
13,
4706,
1404,
29918,
333,
353,
318,
5416,
29889,
25118,
29946,
2141,
20970,
13,
13,
4706,
4333,
29918,
2271,
353,
313,
13,
9651,
8207,
3129,
2708,
22584,
29898,
7247,
29918,
333,
29897,
29879,
29914,
7193,
22584,
29898,
1792,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
426,
13,
18884,
525,
7247,
29918,
333,
2396,
1583,
29889,
7247,
29918,
333,
29892,
525,
1792,
29918,
333,
2396,
1404,
29918,
333,
1800,
13,
4706,
4509,
29918,
2271,
353,
14210,
29898,
10855,
29918,
2271,
29897,
29879,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
10855,
29918,
2271,
2396,
4333,
29918,
2271,
29892,
13,
9651,
525,
12154,
29918,
333,
2396,
1583,
29889,
12154,
29918,
333,
29913,
13,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
12256,
29918,
5800,
18783,
29897,
13,
4706,
1583,
29889,
2813,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
12256,
29918,
5800,
18783,
29897,
13,
4706,
1583,
29889,
657,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
12256,
29918,
5800,
18783,
29897,
13,
13,
1678,
822,
1243,
29918,
7283,
566,
29918,
2972,
29918,
4836,
29918,
12154,
29918,
629,
1934,
29898,
1311,
1125,
13,
4706,
931,
353,
12865,
29889,
12673,
29889,
329,
29883,
3707,
580,
13,
4706,
411,
3889,
28530,
348,
29889,
9021,
911,
29918,
2230,
29898,
2230,
29897,
408,
14671,
2256,
29918,
12673,
29901,
13,
9651,
4333,
29918,
2271,
353,
313,
13,
18884,
8207,
16418,
22584,
29898,
4836,
29918,
333,
29897,
29879,
29914,
13155,
22584,
29898,
2972,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
426,
13,
462,
1678,
525,
4836,
29918,
333,
2396,
1583,
29889,
4836,
29918,
333,
29892,
13,
462,
1678,
525,
2972,
29918,
333,
2396,
1583,
29889,
2972,
29918,
333,
1800,
13,
9651,
4509,
29918,
2271,
353,
14210,
29898,
10855,
29918,
2271,
29897,
29879,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
10855,
29918,
2271,
2396,
4333,
29918,
2271,
29892,
13,
18884,
525,
12154,
29918,
333,
2396,
1583,
29889,
12154,
29918,
333,
29913,
13,
13,
9651,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
9651,
1583,
29889,
2813,
29898,
14242,
29918,
2271,
29897,
13,
9651,
1583,
29889,
657,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
6632,
29918,
22412,
3919,
29897,
13,
9651,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
9651,
1583,
29889,
9294,
7211,
16727,
1293,
5103,
29898,
29878,
29892,
2143,
29922,
1311,
29889,
12154,
29892,
13,
462,
462,
632,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
9651,
1583,
29889,
2813,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
13,
9651,
1583,
29889,
8143,
29898,
14242,
29918,
2271,
29897,
13,
9651,
396,
6058,
29923,
29898,
27728,
1431,
17569,
1125,
8561,
1854,
591,
4480,
263,
1473,
1434,
591,
2244,
363,
278,
13,
9651,
396,
16178,
29889,
910,
5662,
1973,
278,
5993,
591,
671,
3508,
29915,
29873,
5545,
6664,
12504,
13,
9651,
396,
1363,
372,
471,
16610,
2629,
278,
1021,
1473,
408,
263,
6664,
10610,
13,
9651,
396,
1741,
29889,
13,
9651,
14671,
2256,
29918,
12673,
29889,
24667,
29898,
4181,
29922,
12673,
29889,
9346,
287,
2554,
29898,
23128,
29922,
29896,
876,
13,
9651,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
9651,
1583,
29889,
9294,
7211,
16727,
1293,
5103,
29898,
29878,
29892,
3806,
29918,
2848,
29922,
29900,
29892,
13,
462,
462,
632,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
9651,
1583,
29889,
2813,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
13,
1678,
822,
1243,
29918,
7283,
566,
29918,
2972,
29918,
4836,
29918,
12154,
29918,
629,
1934,
29918,
1217,
29918,
2972,
29898,
1311,
1125,
13,
4706,
9995,
3338,
424,
6297,
373,
263,
2060,
304,
263,
2318,
393,
1838,
29915,
29873,
1863,
29889,
13,
13,
4706,
1932,
16690,
263,
6297,
373,
263,
2060,
304,
263,
2318,
393,
1838,
29915,
29873,
1863,
29892,
278,
13,
4706,
1923,
3639,
29871,
29946,
29900,
29946,
2216,
7460,
363,
278,
2318,
29889,
13,
13,
4706,
9995,
13,
4706,
2318,
29918,
333,
353,
318,
5416,
29889,
25118,
29946,
2141,
20970,
13,
13,
4706,
4333,
29918,
2271,
353,
313,
13,
9651,
8207,
16418,
22584,
29898,
4836,
29918,
333,
29897,
29879,
29914,
13155,
22584,
29898,
2972,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
426,
13,
18884,
525,
4836,
29918,
333,
2396,
1583,
29889,
4836,
29918,
333,
29892,
13,
18884,
525,
2972,
29918,
333,
2396,
2318,
29918,
333,
1800,
13,
4706,
4509,
29918,
2271,
353,
14210,
29898,
10855,
29918,
2271,
29897,
29879,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
10855,
29918,
2271,
2396,
4333,
29918,
2271,
29892,
13,
9651,
525,
12154,
29918,
333,
2396,
1583,
29889,
12154,
29918,
333,
29913,
13,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
12256,
29918,
5800,
18783,
29897,
13,
4706,
1583,
29889,
2813,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
12256,
29918,
5800,
18783,
29897,
13,
4706,
1583,
29889,
657,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
12256,
29918,
5800,
18783,
29897,
13,
13,
1678,
822,
1243,
29918,
7283,
566,
29918,
2972,
29918,
7247,
29918,
12154,
29918,
629,
1934,
29898,
1311,
1125,
13,
4706,
931,
353,
12865,
29889,
12673,
29889,
329,
29883,
3707,
580,
13,
4706,
411,
3889,
28530,
348,
29889,
9021,
911,
29918,
2230,
29898,
2230,
29897,
408,
14671,
2256,
29918,
12673,
29901,
13,
9651,
4333,
29918,
2271,
353,
313,
13,
18884,
8207,
3129,
2708,
22584,
29898,
7247,
29918,
333,
29897,
29879,
29914,
13155,
22584,
29898,
2972,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
426,
13,
462,
1678,
525,
7247,
29918,
333,
2396,
1583,
29889,
7247,
29918,
333,
29892,
13,
462,
1678,
525,
2972,
29918,
333,
2396,
1583,
29889,
2972,
29918,
333,
1800,
13,
9651,
4509,
29918,
2271,
353,
14210,
29898,
10855,
29918,
2271,
29897,
29879,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
10855,
29918,
2271,
2396,
4333,
29918,
2271,
29892,
13,
18884,
525,
12154,
29918,
333,
2396,
1583,
29889,
12154,
29918,
333,
29913,
13,
13,
9651,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
9651,
1583,
29889,
2813,
29898,
14242,
29918,
2271,
29897,
13,
9651,
1583,
29889,
657,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
6632,
29918,
22412,
3919,
29897,
13,
9651,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
9651,
1583,
29889,
9294,
7211,
16727,
1293,
5103,
29898,
29878,
29892,
2143,
29922,
1311,
29889,
12154,
29892,
13,
462,
462,
632,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
9651,
1583,
29889,
2813,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
13,
9651,
1583,
29889,
8143,
29898,
14242,
29918,
2271,
29897,
13,
9651,
396,
6058,
29923,
29898,
27728,
1431,
17569,
1125,
8561,
1854,
591,
4480,
263,
1473,
1434,
591,
2244,
363,
278,
13,
9651,
396,
16178,
29889,
910,
5662,
1973,
278,
5993,
591,
671,
3508,
29915,
29873,
5545,
6664,
12504,
13,
9651,
396,
1363,
372,
471,
16610,
2629,
278,
1021,
1473,
408,
263,
6664,
10610,
13,
9651,
396,
1741,
29889,
13,
9651,
14671,
2256,
29918,
12673,
29889,
24667,
29898,
4181,
29922,
12673,
29889,
9346,
287,
2554,
29898,
23128,
29922,
29896,
876,
13,
9651,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
9651,
1583,
29889,
9294,
7211,
16727,
1293,
5103,
29898,
29878,
29892,
3806,
29918,
2848,
29922,
29900,
29892,
13,
462,
462,
632,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
9651,
1583,
29889,
2813,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
13,
1678,
822,
1243,
29918,
7283,
566,
29918,
2972,
29918,
7247,
29918,
12154,
29918,
629,
1934,
29918,
1217,
29918,
2972,
29898,
1311,
1125,
13,
4706,
9995,
3338,
424,
6297,
373,
263,
5354,
304,
263,
2318,
393,
1838,
29915,
29873,
1863,
29889,
13,
13,
4706,
1932,
16690,
263,
6297,
373,
263,
5354,
304,
263,
2318,
393,
1838,
29915,
29873,
1863,
29892,
278,
1923,
13,
4706,
3639,
29871,
29946,
29900,
29946,
2216,
7460,
363,
278,
2318,
29889,
13,
13,
4706,
9995,
13,
4706,
2318,
29918,
333,
353,
318,
5416,
29889,
25118,
29946,
2141,
20970,
13,
13,
4706,
4333,
29918,
2271,
353,
313,
13,
9651,
8207,
3129,
2708,
22584,
29898,
7247,
29918,
333,
29897,
29879,
29914,
13155,
22584,
29898,
2972,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
426,
13,
18884,
525,
7247,
29918,
333,
2396,
1583,
29889,
7247,
29918,
333,
29892,
13,
18884,
525,
2972,
29918,
333,
2396,
2318,
29918,
333,
1800,
13,
4706,
4509,
29918,
2271,
353,
14210,
29898,
10855,
29918,
2271,
29897,
29879,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
10855,
29918,
2271,
2396,
4333,
29918,
2271,
29892,
13,
9651,
525,
12154,
29918,
333,
2396,
1583,
29889,
12154,
29918,
333,
29913,
13,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
12256,
29918,
5800,
18783,
29897,
13,
4706,
1583,
29889,
2813,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
12256,
29918,
5800,
18783,
29897,
13,
4706,
1583,
29889,
657,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
12256,
29918,
5800,
18783,
29897,
13,
13,
1678,
822,
903,
3258,
29918,
1482,
29918,
1792,
29918,
392,
29918,
16645,
29918,
12154,
29918,
265,
29918,
4836,
29898,
1311,
1125,
13,
4706,
9995,
4391,
263,
716,
1404,
322,
3566,
1404,
263,
6297,
373,
263,
2060,
1213,
15945,
13,
4706,
396,
6204,
263,
716,
1404,
13,
4706,
716,
29918,
1792,
353,
5190,
29889,
1482,
29918,
1792,
29918,
999,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
29897,
13,
4706,
1404,
29918,
999,
353,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29889,
3258,
29918,
1792,
29898,
1482,
29918,
1792,
29897,
13,
4706,
396,
4007,
647,
278,
1404,
263,
6297,
373,
278,
2060,
13,
4706,
4333,
29918,
2271,
353,
313,
13,
9651,
8207,
16418,
22584,
29898,
4836,
29918,
333,
29897,
29879,
29914,
7193,
22584,
29898,
1792,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
426,
13,
18884,
525,
4836,
29918,
333,
2396,
1583,
29889,
4836,
29918,
333,
29892,
13,
18884,
525,
1792,
29918,
333,
2396,
1404,
29918,
999,
1839,
333,
2033,
1800,
13,
4706,
4509,
29918,
2271,
353,
6702,
29995,
29898,
10855,
29918,
2271,
29897,
29879,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
10855,
29918,
2271,
2396,
4333,
29918,
2271,
29892,
13,
9651,
525,
12154,
29918,
333,
2396,
1583,
29889,
12154,
29918,
333,
1800,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
4706,
396,
5399,
278,
1404,
756,
278,
6297,
9859,
13,
4706,
1583,
29889,
2813,
29898,
14242,
29918,
2271,
29897,
13,
4706,
1583,
29889,
657,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
6632,
29918,
22412,
3919,
29897,
13,
4706,
736,
4509,
29918,
2271,
29892,
1404,
29918,
999,
13,
13,
1678,
822,
1243,
29918,
8143,
29918,
1792,
29918,
11083,
29918,
1745,
21081,
29918,
12154,
29918,
465,
10194,
29918,
29879,
1682,
3947,
29879,
29898,
1311,
1125,
13,
4706,
9995,
5594,
4954,
2287,
18476,
16159,
373,
278,
1404,
1434,
278,
6297,
12827,
1213,
15945,
13,
4706,
4509,
29918,
2271,
29892,
1404,
353,
1583,
3032,
3258,
29918,
1482,
29918,
1792,
29918,
392,
29918,
16645,
29918,
12154,
29918,
265,
29918,
4836,
580,
13,
4706,
396,
21267,
278,
1404,
515,
10110,
14998,
13,
4706,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29889,
9465,
29889,
8143,
29918,
1792,
29898,
1792,
1839,
333,
11287,
13,
4706,
396,
315,
14044,
701,
278,
6297,
12827,
13,
4706,
1583,
29889,
8143,
29898,
14242,
29918,
2271,
29897,
13,
4706,
396,
8561,
1854,
278,
6297,
338,
7695,
13,
4706,
1583,
29889,
2813,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
12256,
29918,
5800,
18783,
29897,
13,
13,
1678,
822,
1243,
29918,
8143,
29918,
2972,
29918,
11083,
29918,
1745,
21081,
29918,
12154,
29918,
465,
10194,
29918,
29879,
1682,
3947,
29879,
29898,
1311,
1125,
13,
4706,
396,
3295,
519,
278,
7090,
577,
393,
591,
2189,
263,
10849,
1423,
310,
278,
10110,
13,
4706,
396,
14998,
746,
15661,
304,
3349,
278,
6297,
12827,
29889,
13,
4706,
1583,
29889,
2917,
29918,
7241,
15546,
29889,
2917,
29898,
2972,
2433,
8173,
742,
9615,
29922,
8824,
29897,
13,
13,
4706,
396,
6204,
263,
716,
2318,
13,
4706,
2318,
353,
5190,
29889,
1482,
29918,
2972,
29918,
999,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
29897,
13,
4706,
2318,
29918,
999,
353,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29889,
3258,
29918,
2972,
29898,
2972,
29897,
13,
13,
4706,
396,
4007,
647,
278,
1404,
263,
6297,
373,
278,
2060,
13,
4706,
4333,
29918,
2271,
353,
313,
13,
9651,
8207,
16418,
22584,
29898,
4836,
29918,
333,
29897,
29879,
29914,
13155,
22584,
29898,
2972,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
426,
13,
18884,
525,
4836,
29918,
333,
2396,
1583,
29889,
4836,
29918,
333,
29892,
13,
18884,
525,
2972,
29918,
333,
2396,
2318,
29918,
999,
1839,
333,
2033,
1800,
13,
4706,
4509,
29918,
2271,
353,
6702,
29995,
29898,
10855,
29918,
2271,
29897,
29879,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
10855,
29918,
2271,
2396,
4333,
29918,
2271,
29892,
13,
9651,
525,
12154,
29918,
333,
2396,
1583,
29889,
12154,
29918,
333,
1800,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
13,
4706,
396,
5399,
278,
1404,
756,
278,
6297,
9859,
13,
4706,
1583,
29889,
2813,
29898,
14242,
29918,
2271,
29897,
13,
4706,
1583,
29889,
657,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
6632,
29918,
22412,
3919,
29897,
13,
13,
4706,
396,
3439,
5987,
11077,
278,
2318,
3025,
365,
29928,
3301,
491,
4153,
11077,
372,
515,
278,
13,
4706,
396,
10110,
14998,
29889,
13,
4706,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29889,
9465,
29889,
8143,
29918,
2972,
29898,
2972,
29918,
999,
1839,
333,
11287,
13,
13,
4706,
396,
22521,
545,
591,
508,
5941,
701,
278,
6297,
12827,
1584,
2466,
278,
2318,
13,
4706,
396,
1838,
29915,
29873,
1863,
13,
4706,
1583,
29889,
8143,
29898,
14242,
29918,
2271,
29897,
13,
13,
1678,
822,
1243,
29918,
8143,
29918,
1792,
29918,
11083,
29918,
1745,
21081,
29918,
5205,
29918,
16645,
1860,
29918,
29879,
1682,
3947,
29879,
29898,
1311,
1125,
13,
4706,
1788,
29918,
12154,
353,
1583,
3032,
3258,
29918,
1482,
29918,
12154,
580,
13,
4706,
1404,
353,
1583,
3032,
3258,
29918,
1792,
580,
13,
4706,
2224,
353,
313,
13,
9651,
8207,
5205,
29914,
7193,
22584,
29898,
1792,
29918,
333,
29897,
29879,
29914,
307,
793,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
13,
9651,
11117,
1792,
29918,
333,
2396,
1404,
1839,
333,
7464,
525,
12154,
29918,
333,
2396,
1788,
29918,
12154,
29913,
13,
4706,
1723,
13,
4706,
1583,
29889,
649,
29898,
2084,
29897,
13,
13,
4706,
2933,
353,
1583,
29889,
657,
11219,
12154,
29918,
16645,
1860,
1495,
13,
4706,
1353,
29918,
974,
29918,
16645,
1860,
353,
7431,
29898,
5327,
29889,
3126,
29918,
2587,
1839,
12154,
29918,
16645,
1860,
11287,
13,
13,
4706,
2224,
353,
8207,
7193,
22584,
29898,
1792,
29918,
333,
29897,
29879,
29915,
1273,
11117,
1792,
29918,
333,
2396,
1404,
1839,
333,
2033,
29913,
13,
4706,
1583,
29889,
8143,
29898,
2084,
29897,
13,
13,
4706,
396,
450,
1404,
411,
278,
1788,
6297,
12827,
338,
263,
716,
1404,
322,
871,
756,
13,
4706,
396,
697,
6297,
373,
278,
1788,
29889,
1334,
881,
2149,
697,
3109,
6297,
12827,
297,
13,
4706,
396,
278,
1051,
29889,
13,
4706,
2933,
353,
1583,
29889,
657,
11219,
12154,
29918,
16645,
1860,
1495,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
13,
9651,
2933,
29892,
3806,
29918,
2848,
29922,
4537,
29918,
974,
29918,
16645,
1860,
448,
29871,
29896,
13,
4706,
1723,
13,
13,
1678,
822,
1243,
29918,
8143,
29918,
1792,
29918,
392,
29918,
3198,
29918,
12154,
29918,
465,
10194,
29918,
29888,
2234,
29898,
1311,
1125,
13,
4706,
9995,
5594,
4954,
2287,
18476,
16159,
373,
278,
1404,
322,
1423,
278,
6297,
12827,
1213,
15945,
13,
4706,
4509,
29918,
2271,
29892,
1404,
353,
1583,
3032,
3258,
29918,
1482,
29918,
1792,
29918,
392,
29918,
16645,
29918,
12154,
29918,
265,
29918,
4836,
580,
13,
4706,
396,
21267,
278,
1404,
515,
10110,
14998,
13,
4706,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29889,
8143,
29918,
1792,
29898,
1792,
1839,
333,
11287,
13,
4706,
396,
1334,
881,
679,
263,
29871,
29946,
29900,
29946,
2216,
7460,
746,
3063,
363,
278,
1404,
297,
278,
13,
4706,
396,
10110,
14998,
1363,
591,
29915,
276,
451,
15859,
263,
5217,
5858,
373,
13,
4706,
396,
278,
6297,
29889,
13,
4706,
1583,
29889,
2813,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
12256,
29918,
5800,
18783,
29897,
13,
13,
1678,
822,
1243,
29918,
6979,
29918,
13478,
12504,
29918,
10646,
29918,
2972,
29918,
12154,
29918,
629,
424,
29918,
13478,
12504,
29898,
1311,
1125,
13,
4706,
9995,
3057,
5993,
8340,
746,
1513,
669,
26377,
6297,
373,
1404,
338,
6664,
12504,
29889,
13,
13,
4706,
1932,
263,
6297,
16896,
304,
263,
2318,
338,
6664,
12504,
363,
263,
2183,
6874,
29892,
13,
4706,
322,
1404,
1513,
6297,
338,
6664,
12504,
29892,
769,
18897,
2825,
13,
4706,
491,
1404,
674,
367,
8340,
29889,
13,
13,
4706,
9995,
13,
4706,
931,
353,
12865,
29889,
12673,
29889,
329,
29883,
3707,
580,
13,
4706,
411,
3889,
28530,
348,
29889,
9021,
911,
29918,
2230,
29898,
2230,
29897,
408,
14671,
2256,
29918,
12673,
29901,
13,
9651,
396,
10017,
16690,
515,
2318,
373,
2060,
29889,
13,
9651,
13756,
13044,
23598,
29889,
465,
10194,
29918,
2754,
29889,
3258,
29918,
629,
424,
29898,
13,
18884,
6297,
29918,
333,
29922,
1311,
29889,
12154,
1839,
333,
7464,
2060,
29918,
333,
29922,
1311,
29889,
4836,
1839,
333,
7464,
13,
18884,
2318,
29918,
333,
29922,
1311,
29889,
2972,
1839,
333,
2033,
13,
9651,
1723,
13,
13,
9651,
396,
12778,
1404,
304,
278,
2318,
29889,
13,
9651,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29889,
1202,
29918,
1792,
29918,
517,
29918,
2972,
29898,
13,
18884,
1404,
29918,
333,
29922,
1311,
29889,
1792,
1839,
333,
7464,
2318,
29918,
333,
29922,
1311,
29889,
2972,
1839,
333,
2033,
13,
9651,
1723,
13,
13,
9651,
396,
10017,
263,
5993,
363,
278,
1404,
13,
9651,
4817,
29918,
2587,
353,
1583,
29889,
4282,
29918,
23055,
29918,
3827,
29898,
13,
18884,
1404,
29918,
333,
29922,
1311,
29889,
1792,
1839,
333,
7464,
13,
18884,
4800,
29922,
29966,
25711,
17013,
29958,
1839,
5630,
7464,
13,
18884,
2060,
29918,
333,
29922,
1311,
29889,
4836,
1839,
333,
11287,
13,
9651,
5993,
29918,
13713,
353,
1583,
29889,
2490,
11219,
5150,
29914,
517,
12360,
742,
3573,
29922,
5150,
29918,
2587,
29897,
13,
9651,
5993,
353,
5993,
29918,
13713,
29889,
13662,
29889,
657,
877,
29916,
29899,
16009,
29899,
6979,
1495,
13,
13,
9651,
396,
2854,
1078,
278,
4133,
5993,
29936,
372,
881,
367,
2854,
29889,
13,
9651,
1583,
29889,
2813,
11219,
5150,
29914,
517,
12360,
742,
13,
462,
418,
9066,
3790,
29915,
29916,
29899,
16009,
29899,
6979,
2396,
5993,
1118,
13,
462,
418,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
13,
9651,
14671,
2256,
29918,
12673,
29889,
24667,
29898,
4181,
29922,
12673,
29889,
9346,
287,
2554,
29898,
23128,
29922,
29896,
876,
13,
9651,
396,
6664,
23195,
278,
16690,
515,
2318,
373,
2060,
29889,
13,
9651,
13756,
13044,
23598,
29889,
465,
10194,
29918,
2754,
29889,
8143,
29918,
629,
424,
29898,
13,
18884,
6297,
29918,
333,
29922,
1311,
29889,
12154,
1839,
333,
7464,
2060,
29918,
333,
29922,
1311,
29889,
4836,
1839,
333,
7464,
13,
18884,
2318,
29918,
333,
29922,
1311,
29889,
2972,
1839,
333,
11287,
13,
9651,
396,
6664,
23195,
278,
1513,
6297,
883,
1404,
373,
2060,
13,
9651,
13756,
13044,
23598,
29889,
465,
10194,
29918,
2754,
29889,
8143,
29918,
629,
424,
29898,
13,
18884,
6297,
29918,
333,
29922,
1311,
29889,
12154,
1839,
333,
7464,
2060,
29918,
333,
29922,
1311,
29889,
4836,
1839,
333,
7464,
13,
18884,
1404,
29918,
333,
29922,
1311,
29889,
1792,
1839,
333,
2033,
13,
9651,
1723,
13,
13,
9651,
14671,
2256,
29918,
12673,
29889,
24667,
29898,
4181,
29922,
12673,
29889,
9346,
287,
2554,
29898,
23128,
29922,
29896,
876,
13,
9651,
396,
2854,
1078,
278,
1021,
5993,
1449,
29936,
372,
881,
451,
5520,
367,
2854,
29889,
13,
9651,
1583,
29889,
2813,
11219,
5150,
29914,
517,
12360,
742,
5993,
29922,
6979,
29892,
13,
462,
418,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
29965,
3521,
2692,
29950,
1955,
26664,
3352,
29897,
13,
13,
1678,
822,
1243,
29918,
8143,
29918,
2972,
29918,
11083,
29918,
1745,
21081,
29918,
5205,
29918,
16645,
1860,
29918,
29879,
1682,
3947,
29879,
29898,
1311,
1125,
13,
4706,
1788,
29918,
12154,
353,
1583,
3032,
3258,
29918,
1482,
29918,
12154,
580,
13,
4706,
2318,
353,
1583,
3032,
3258,
29918,
2972,
580,
13,
4706,
2224,
353,
313,
13,
9651,
8207,
5205,
29914,
13155,
22584,
29898,
2972,
29918,
333,
29897,
29879,
29914,
307,
793,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
13,
9651,
11117,
2972,
29918,
333,
2396,
2318,
1839,
333,
7464,
525,
12154,
29918,
333,
2396,
1788,
29918,
12154,
29913,
13,
4706,
1723,
13,
4706,
1583,
29889,
649,
29898,
2084,
29897,
13,
13,
4706,
2933,
353,
1583,
29889,
657,
11219,
12154,
29918,
16645,
1860,
1495,
13,
4706,
1353,
29918,
974,
29918,
16645,
1860,
353,
7431,
29898,
5327,
29889,
3126,
29918,
2587,
1839,
12154,
29918,
16645,
1860,
11287,
13,
13,
4706,
2224,
353,
8207,
13155,
22584,
29898,
2972,
29918,
333,
29897,
29879,
29915,
1273,
11117,
2972,
29918,
333,
2396,
2318,
1839,
333,
2033,
29913,
13,
4706,
1583,
29889,
8143,
29898,
2084,
29897,
13,
13,
4706,
396,
450,
2318,
411,
278,
1788,
6297,
12827,
338,
263,
716,
2318,
322,
871,
756,
13,
4706,
396,
697,
6297,
373,
278,
1788,
29889,
1334,
881,
2149,
697,
3109,
6297,
12827,
297,
13,
4706,
396,
278,
1051,
29889,
13,
4706,
2933,
353,
1583,
29889,
657,
11219,
12154,
29918,
16645,
1860,
1495,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
13,
9651,
2933,
29892,
3806,
29918,
2848,
29922,
4537,
29918,
974,
29918,
16645,
1860,
448,
29871,
29896,
13,
4706,
1723,
13,
13,
1678,
732,
5441,
29889,
11014,
29918,
361,
29918,
8173,
29918,
18279,
877,
465,
10194,
1495,
13,
1678,
822,
1243,
29918,
8143,
29918,
629,
424,
29918,
3166,
29918,
1792,
29918,
392,
29918,
4836,
29918,
262,
15480,
29918,
8173,
29898,
1311,
1125,
13,
4706,
396,
1653,
263,
716,
2060,
13,
4706,
716,
29918,
4836,
353,
5190,
29889,
1482,
29918,
4836,
29918,
999,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
29897,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
4836,
29898,
1482,
29918,
4836,
1839,
333,
7464,
716,
29918,
4836,
29897,
13,
13,
4706,
4333,
29918,
2271,
353,
313,
13,
9651,
8207,
16418,
22584,
29898,
4836,
29918,
333,
29897,
29879,
29914,
7193,
22584,
29898,
1792,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
426,
13,
18884,
525,
4836,
29918,
333,
2396,
716,
29918,
4836,
1839,
333,
7464,
13,
18884,
525,
1792,
29918,
333,
2396,
1583,
29889,
1792,
1839,
333,
2033,
1800,
13,
4706,
4509,
29918,
2271,
353,
14210,
29898,
10855,
29918,
2271,
29897,
29879,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
10855,
29918,
2271,
2396,
4333,
29918,
2271,
29892,
13,
9651,
525,
12154,
29918,
333,
2396,
1583,
29889,
12154,
29918,
333,
29913,
13,
13,
4706,
396,
1653,
278,
1404,
263,
16690,
373,
278,
716,
2060,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
13,
4706,
396,
1423,
278,
16690,
393,
471,
925,
2825,
13,
4706,
1583,
29889,
2813,
29898,
14242,
29918,
2271,
29897,
13,
4706,
1583,
29889,
657,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
6632,
29918,
22412,
3919,
29897,
13,
4706,
4613,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
1293,
5103,
29898,
13713,
29892,
2143,
29922,
1311,
29889,
12154,
29892,
13,
462,
462,
308,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
13,
4706,
396,
5217,
278,
16690,
13,
4706,
1583,
29889,
8143,
29898,
14242,
29918,
2271,
29897,
13,
13,
4706,
396,
679,
278,
4333,
322,
9801,
727,
526,
694,
16178,
373,
278,
2060,
13,
4706,
4613,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
1293,
9843,
29898,
13713,
29889,
3126,
29918,
2587,
1839,
307,
793,
7464,
518,
2314,
13,
13,
1678,
732,
5441,
29889,
11014,
29918,
361,
29918,
8173,
29918,
18279,
877,
465,
10194,
1495,
13,
1678,
822,
1243,
29918,
8143,
29918,
629,
424,
29918,
3166,
29918,
1792,
29918,
392,
29918,
7247,
29918,
20965,
1078,
29918,
8173,
29898,
1311,
1125,
13,
4706,
396,
1653,
263,
716,
5354,
13,
4706,
716,
29918,
7247,
353,
5190,
29889,
1482,
29918,
7247,
29918,
999,
580,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
7247,
29898,
1482,
29918,
7247,
1839,
333,
7464,
716,
29918,
7247,
29897,
13,
13,
4706,
4333,
29918,
2271,
353,
313,
13,
9651,
8207,
3129,
2708,
22584,
29898,
7247,
29918,
333,
29897,
29879,
29914,
7193,
22584,
29898,
1792,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
426,
13,
18884,
525,
7247,
29918,
333,
2396,
716,
29918,
7247,
1839,
333,
7464,
13,
18884,
525,
1792,
29918,
333,
2396,
1583,
29889,
1792,
1839,
333,
2033,
1800,
13,
4706,
4509,
29918,
2271,
353,
14210,
29898,
10855,
29918,
2271,
29897,
29879,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
10855,
29918,
2271,
2396,
4333,
29918,
2271,
29892,
13,
9651,
525,
12154,
29918,
333,
2396,
1583,
29889,
12154,
29918,
333,
29913,
13,
13,
4706,
396,
1653,
278,
1404,
263,
16690,
373,
278,
716,
5354,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
13,
4706,
396,
1423,
278,
16690,
393,
471,
925,
2825,
13,
4706,
1583,
29889,
2813,
29898,
14242,
29918,
2271,
29897,
13,
4706,
1583,
29889,
657,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
6632,
29918,
22412,
3919,
29897,
13,
4706,
4613,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
1293,
5103,
29898,
13713,
29892,
2143,
29922,
1311,
29889,
12154,
29892,
13,
462,
462,
308,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
13,
4706,
396,
5217,
278,
16690,
13,
4706,
1583,
29889,
8143,
29898,
14242,
29918,
2271,
29897,
13,
13,
4706,
396,
679,
278,
4333,
322,
9801,
727,
526,
694,
16178,
373,
278,
5354,
13,
4706,
4613,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
1293,
9843,
29898,
13713,
29889,
3126,
29918,
2587,
1839,
307,
793,
7464,
518,
2314,
13,
13,
1678,
732,
5441,
29889,
11014,
29918,
361,
29918,
8173,
29918,
18279,
877,
465,
10194,
1495,
13,
1678,
822,
1243,
29918,
8143,
29918,
629,
424,
29918,
3166,
29918,
2972,
29918,
392,
29918,
4836,
29918,
20965,
1078,
29918,
8173,
29898,
1311,
1125,
13,
4706,
396,
1653,
263,
716,
2060,
13,
4706,
716,
29918,
4836,
353,
5190,
29889,
1482,
29918,
4836,
29918,
999,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
29897,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
4836,
29898,
1482,
29918,
4836,
1839,
333,
7464,
716,
29918,
4836,
29897,
13,
13,
4706,
4333,
29918,
2271,
353,
313,
13,
9651,
8207,
16418,
22584,
29898,
4836,
29918,
333,
29897,
29879,
29914,
13155,
22584,
29898,
2972,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
426,
13,
18884,
525,
4836,
29918,
333,
2396,
716,
29918,
4836,
1839,
333,
7464,
13,
18884,
525,
2972,
29918,
333,
2396,
1583,
29889,
2972,
1839,
333,
2033,
1800,
13,
4706,
4509,
29918,
2271,
353,
14210,
29898,
10855,
29918,
2271,
29897,
29879,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
10855,
29918,
2271,
2396,
4333,
29918,
2271,
29892,
13,
9651,
525,
12154,
29918,
333,
2396,
1583,
29889,
12154,
29918,
333,
29913,
13,
13,
4706,
396,
1653,
278,
2318,
263,
16690,
373,
278,
716,
2060,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
13,
4706,
396,
1423,
278,
16690,
393,
471,
925,
2825,
13,
4706,
1583,
29889,
2813,
29898,
14242,
29918,
2271,
29897,
13,
4706,
1583,
29889,
657,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
6632,
29918,
22412,
3919,
29897,
13,
4706,
4613,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
1293,
5103,
29898,
13713,
29892,
2143,
29922,
1311,
29889,
12154,
29892,
13,
462,
462,
308,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
13,
4706,
396,
5217,
278,
16690,
13,
4706,
1583,
29889,
8143,
29898,
14242,
29918,
2271,
29897,
13,
13,
4706,
396,
679,
278,
4333,
322,
9801,
727,
526,
694,
16178,
373,
278,
2060,
13,
4706,
4613,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
1293,
9843,
29898,
13713,
29889,
3126,
29918,
2587,
1839,
307,
793,
7464,
518,
2314,
13,
13,
1678,
732,
5441,
29889,
11014,
29918,
361,
29918,
8173,
29918,
18279,
877,
465,
10194,
1495,
13,
1678,
822,
1243,
29918,
8143,
29918,
629,
424,
29918,
3166,
29918,
2972,
29918,
392,
29918,
7247,
29918,
20965,
1078,
29918,
8173,
29898,
1311,
1125,
13,
4706,
396,
1653,
263,
716,
5354,
13,
4706,
716,
29918,
7247,
353,
5190,
29889,
1482,
29918,
7247,
29918,
999,
580,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
7247,
29898,
1482,
29918,
7247,
1839,
333,
7464,
716,
29918,
7247,
29897,
13,
13,
4706,
4333,
29918,
2271,
353,
313,
13,
9651,
8207,
3129,
2708,
22584,
29898,
7247,
29918,
333,
29897,
29879,
29914,
13155,
22584,
29898,
2972,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
426,
13,
18884,
525,
7247,
29918,
333,
2396,
716,
29918,
7247,
1839,
333,
7464,
13,
18884,
525,
2972,
29918,
333,
2396,
1583,
29889,
2972,
1839,
333,
2033,
1800,
13,
4706,
4509,
29918,
2271,
353,
14210,
29898,
10855,
29918,
2271,
29897,
29879,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
10855,
29918,
2271,
2396,
4333,
29918,
2271,
29892,
13,
9651,
525,
12154,
29918,
333,
2396,
1583,
29889,
12154,
29918,
333,
29913,
13,
13,
4706,
396,
1653,
278,
2318,
263,
16690,
373,
278,
716,
5354,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
13,
4706,
396,
1423,
278,
16690,
393,
471,
925,
2825,
13,
4706,
1583,
29889,
2813,
29898,
14242,
29918,
2271,
29897,
13,
4706,
1583,
29889,
657,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
6632,
29918,
22412,
3919,
29897,
13,
4706,
4613,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
1293,
5103,
29898,
13713,
29892,
2143,
29922,
1311,
29889,
12154,
29892,
13,
462,
462,
308,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
13,
4706,
396,
5217,
278,
16690,
13,
4706,
1583,
29889,
8143,
29898,
14242,
29918,
2271,
29897,
13,
13,
4706,
396,
679,
278,
4333,
322,
9801,
727,
526,
694,
16178,
373,
278,
5354,
13,
4706,
4613,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
1293,
9843,
29898,
13713,
29889,
3126,
29918,
2587,
1839,
307,
793,
7464,
518,
2314,
13,
13,
1678,
396,
1528,
280,
4007,
647,
1860,
6987,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
2813,
29918,
12154,
29918,
16645,
1860,
29898,
1311,
1125,
13,
4706,
9995,
5594,
4954,
7194,
669,
17714,
3035,
847,
12154,
29918,
16645,
1860,
29952,
1412,
13,
13,
4706,
450,
4559,
848,
731,
701,
2307,
756,
263,
1404,
29892,
2318,
322,
2060,
13,
4706,
393,
338,
760,
310,
1583,
29889,
7247,
29889,
1334,
671,
1438,
2298,
263,
716,
1404,
13,
4706,
591,
1653,
408,
1749,
848,
731,
29892,
3907,
1854,
591,
11455,
738,
13,
4706,
6297,
3566,
1860,
393,
526,
2307,
297,
10379,
29889,
13,
13,
4706,
4001,
591,
1016,
29915,
29873,
3447,
2304,
263,
937,
770,
7855,
363,
6297,
13,
4706,
3566,
1860,
29892,
591,
526,
871,
6724,
278,
365,
9047,
3450,
29889,
29871,
1763,
1653,
13,
4706,
322,
5217,
278,
6297,
3566,
1860,
591,
671,
278,
2030,
16690,
23649,
29889,
13,
13,
4706,
4321,
8402,
29901,
13,
13,
4706,
448,
6204,
4805,
1404,
363,
6987,
13,
4706,
448,
3617,
263,
1051,
310,
599,
5923,
6297,
3566,
1860,
13,
4706,
448,
3462,
263,
716,
12827,
363,
1269,
310,
278,
3023,
18240,
29892,
474,
29889,
29872,
29889,
13,
3986,
2318,
29974,
7247,
29892,
1404,
29974,
7247,
29892,
2318,
29974,
4836,
29892,
1404,
29974,
4836,
29892,
773,
13,
3986,
278,
1021,
6297,
1269,
931,
13,
4706,
448,
3617,
263,
716,
1051,
310,
599,
6297,
3566,
1860,
29892,
8454,
1438,
3023,
716,
13,
3986,
6743,
505,
1063,
2715,
13,
4706,
448,
1987,
5217,
278,
3023,
591,
2715,
13,
4706,
448,
3617,
263,
716,
1051,
310,
599,
6297,
3566,
1860,
29892,
8454,
278,
3023,
505,
13,
3986,
1063,
6206,
13,
13,
4706,
9995,
13,
4706,
931,
353,
12865,
29889,
12673,
29889,
329,
29883,
3707,
580,
13,
4706,
411,
3889,
28530,
348,
29889,
9021,
911,
29918,
2230,
29898,
2230,
29897,
408,
14671,
2256,
29918,
12673,
29901,
13,
9651,
396,
4001,
278,
2322,
5713,
486,
1973,
2307,
3566,
777,
16178,
304,
278,
13,
9651,
396,
1404,
372,
10017,
29892,
591,
884,
817,
263,
716,
1404,
393,
674,
451,
505,
738,
13,
9651,
396,
5923,
3566,
1860,
13,
9651,
1404,
29896,
353,
5190,
29889,
1482,
29918,
1792,
29918,
999,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
1839,
333,
11287,
13,
9651,
1404,
29896,
353,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29889,
3258,
29918,
1792,
29898,
1792,
29896,
29897,
13,
13,
9651,
6297,
353,
5190,
29889,
1482,
29918,
12154,
29918,
999,
580,
13,
9651,
13756,
13044,
23598,
29889,
12154,
29918,
2754,
29889,
3258,
29918,
12154,
29898,
12154,
1839,
333,
7464,
6297,
29897,
13,
13,
9651,
4333,
29918,
2271,
353,
8207,
12154,
29918,
16645,
1860,
29915,
13,
9651,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
9651,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
13,
18884,
364,
29892,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
9651,
1583,
29889,
2813,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
9651,
5923,
29918,
16645,
1860,
353,
7431,
29898,
29878,
29889,
2914,
29889,
657,
877,
12154,
29918,
16645,
1860,
8785,
13,
13,
9651,
396,
2567,
788,
697,
310,
1269,
310,
278,
3023,
4072,
310,
12827,
29892,
3907,
1854,
13,
9651,
396,
393,
591,
679,
963,
599,
1250,
29889,
13,
9651,
330,
29881,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
18884,
5354,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
29892,
13,
18884,
2318,
29918,
333,
29922,
1311,
29889,
2972,
29918,
333,
29892,
13,
18884,
6297,
29918,
333,
29922,
12154,
1839,
333,
11287,
13,
9651,
1583,
29889,
649,
29898,
29887,
29881,
29918,
10041,
1839,
4965,
16215,
465,
10194,
11287,
13,
9651,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
9651,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
13,
18884,
364,
29892,
13,
18884,
3806,
29918,
2848,
29922,
735,
15423,
29918,
16645,
1860,
718,
29871,
29896,
29892,
13,
18884,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
9651,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
330,
29881,
29918,
10041,
29897,
13,
9651,
1583,
29889,
2813,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
13,
9651,
11430,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
18884,
5354,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
29892,
13,
18884,
1404,
29918,
333,
29922,
1792,
29896,
1839,
333,
7464,
13,
18884,
6297,
29918,
333,
29922,
12154,
1839,
333,
11287,
13,
9651,
1583,
29889,
649,
29898,
566,
29918,
10041,
1839,
4965,
16215,
465,
10194,
11287,
13,
9651,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
9651,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
13,
18884,
364,
29892,
13,
18884,
3806,
29918,
2848,
29922,
735,
15423,
29918,
16645,
1860,
718,
29871,
29906,
29892,
13,
18884,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
9651,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
11430,
29918,
10041,
29897,
13,
9651,
1583,
29889,
2813,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
13,
9651,
330,
29886,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
18884,
2060,
29918,
333,
29922,
1311,
29889,
4836,
29918,
333,
29892,
2318,
29918,
333,
29922,
1311,
29889,
2972,
29918,
333,
29892,
13,
18884,
6297,
29918,
333,
29922,
12154,
1839,
333,
11287,
13,
9651,
1583,
29889,
649,
29898,
29887,
29886,
29918,
10041,
1839,
4965,
16215,
465,
10194,
11287,
13,
9651,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
9651,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
13,
18884,
364,
29892,
13,
18884,
3806,
29918,
2848,
29922,
735,
15423,
29918,
16645,
1860,
718,
29871,
29941,
29892,
13,
18884,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
9651,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
330,
29886,
29918,
10041,
29897,
13,
9651,
1583,
29889,
2813,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
13,
9651,
701,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
18884,
2060,
29918,
333,
29922,
1311,
29889,
4836,
29918,
333,
29892,
1404,
29918,
333,
29922,
1792,
29896,
1839,
333,
7464,
13,
18884,
6297,
29918,
333,
29922,
12154,
1839,
333,
11287,
13,
9651,
1583,
29889,
649,
29898,
786,
29918,
10041,
1839,
4965,
16215,
465,
10194,
11287,
13,
9651,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
9651,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
13,
18884,
364,
29892,
13,
18884,
3806,
29918,
2848,
29922,
735,
15423,
29918,
16645,
1860,
718,
29871,
29946,
29892,
13,
18884,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
9651,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
701,
29918,
10041,
29897,
13,
9651,
1583,
29889,
2813,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
13,
9651,
396,
2567,
5217,
278,
3023,
591,
2715,
322,
1207,
1854,
896,
526,
6206,
13,
9651,
396,
515,
278,
4333,
29889,
13,
13,
9651,
1583,
29889,
8143,
29898,
29887,
29881,
29918,
10041,
1839,
4965,
16215,
465,
10194,
11287,
13,
9651,
1583,
29889,
8143,
29898,
566,
29918,
10041,
1839,
4965,
16215,
465,
10194,
11287,
13,
9651,
1583,
29889,
8143,
29898,
29887,
29886,
29918,
10041,
1839,
4965,
16215,
465,
10194,
11287,
13,
9651,
1583,
29889,
8143,
29898,
786,
29918,
10041,
1839,
4965,
16215,
465,
10194,
11287,
13,
9651,
14671,
2256,
29918,
12673,
29889,
24667,
29898,
4181,
29922,
12673,
29889,
9346,
287,
2554,
29898,
23128,
29922,
29896,
876,
13,
9651,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
9651,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
13,
18884,
364,
29892,
13,
18884,
3806,
29918,
2848,
29922,
735,
15423,
29918,
16645,
1860,
29892,
13,
18884,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
9651,
1583,
29889,
9294,
16727,
7900,
10194,
3664,
797,
1293,
5103,
29898,
29878,
29892,
330,
29881,
29918,
10041,
29897,
13,
9651,
1583,
29889,
9294,
16727,
7900,
10194,
3664,
797,
1293,
5103,
29898,
29878,
29892,
11430,
29918,
10041,
29897,
13,
9651,
1583,
29889,
9294,
16727,
7900,
10194,
3664,
797,
1293,
5103,
29898,
29878,
29892,
330,
29886,
29918,
10041,
29897,
13,
9651,
1583,
29889,
9294,
16727,
7900,
10194,
3664,
797,
1293,
5103,
29898,
29878,
29892,
701,
29918,
10041,
29897,
13,
9651,
1583,
29889,
2813,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
15987,
573,
29918,
12154,
29918,
16645,
1860,
29898,
1311,
1125,
13,
4706,
9995,
5594,
4954,
7194,
847,
12154,
29918,
16645,
1860,
29973,
15987,
573,
29952,
1412,
13,
13,
4706,
4321,
8402,
29901,
13,
13,
4706,
448,
6204,
1023,
4805,
1404,
363,
6987,
13,
4706,
448,
3462,
1438,
4160,
304,
263,
2318,
13,
4706,
448,
3462,
263,
6297,
12827,
363,
278,
2318,
373,
263,
5354,
13,
4706,
448,
3617,
263,
1051,
310,
599,
6297,
3566,
1860,
29892,
8454,
697,
756,
1063,
2715,
13,
4706,
448,
1987,
679,
263,
1051,
310,
599,
11828,
6297,
3566,
1860,
448,
278,
2318,
13,
3986,
12827,
881,
505,
6077,
964,
3566,
1860,
373,
278,
5354,
13,
3986,
363,
1269,
310,
278,
2318,
5144,
29889,
13,
13,
4706,
9995,
13,
4706,
1404,
29896,
353,
5190,
29889,
3258,
29918,
1792,
29898,
8618,
13044,
23598,
29889,
22350,
29918,
2754,
29892,
13,
462,
462,
5354,
29918,
333,
29922,
1311,
29889,
7247,
1839,
333,
11287,
13,
4706,
1404,
29906,
353,
5190,
29889,
3258,
29918,
1792,
29898,
8618,
13044,
23598,
29889,
22350,
29918,
2754,
29892,
13,
462,
462,
5354,
29918,
333,
29922,
1311,
29889,
7247,
1839,
333,
11287,
13,
13,
4706,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29889,
1202,
29918,
1792,
29918,
517,
29918,
2972,
29898,
1792,
29896,
1839,
333,
7464,
1583,
29889,
2972,
1839,
333,
11287,
13,
4706,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29889,
1202,
29918,
1792,
29918,
517,
29918,
2972,
29898,
1792,
29906,
1839,
333,
7464,
1583,
29889,
2972,
1839,
333,
11287,
13,
13,
4706,
4333,
29918,
2271,
353,
8207,
12154,
29918,
16645,
1860,
29915,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
29878,
29892,
13,
462,
462,
462,
259,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
4706,
5923,
29918,
16645,
1860,
353,
7431,
29898,
29878,
29889,
2914,
29889,
657,
877,
12154,
29918,
16645,
1860,
8785,
13,
13,
4706,
330,
29881,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
29892,
13,
462,
462,
462,
418,
2318,
29918,
333,
29922,
1311,
29889,
2972,
29918,
333,
29892,
13,
462,
462,
462,
418,
6297,
29918,
333,
29922,
1311,
29889,
12154,
29918,
333,
29897,
13,
4706,
1583,
29889,
649,
29898,
29887,
29881,
29918,
10041,
1839,
4965,
16215,
465,
10194,
11287,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
13,
9651,
364,
29892,
13,
9651,
3806,
29918,
2848,
29922,
735,
15423,
29918,
16645,
1860,
718,
29871,
29896,
29892,
13,
9651,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
330,
29881,
29918,
10041,
29897,
13,
13,
4706,
396,
2567,
337,
29899,
949,
278,
4333,
6721,
363,
11828,
16178,
448,
445,
13,
4706,
396,
881,
2099,
278,
2318,
12827,
338,
20512,
964,
278,
1023,
13,
4706,
396,
4509,
1404,
3566,
1860,
13,
4706,
4333,
29918,
2271,
353,
8207,
12154,
29918,
16645,
1860,
29973,
15987,
573,
29915,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
13,
9651,
364,
29892,
13,
9651,
3806,
29918,
2848,
29922,
735,
15423,
29918,
16645,
1860,
718,
29871,
29906,
29892,
13,
9651,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
4706,
11430,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
1544,
29922,
29887,
29881,
29918,
10041,
1839,
4965,
16215,
465,
10194,
7464,
5354,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
29892,
13,
9651,
1404,
29918,
333,
29922,
1792,
29896,
1839,
333,
7464,
6297,
29918,
333,
29922,
1311,
29889,
12154,
29918,
333,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
11430,
29918,
10041,
29897,
13,
4706,
11430,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
1544,
29922,
29887,
29881,
29918,
10041,
1839,
4965,
16215,
465,
10194,
7464,
5354,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
29892,
13,
9651,
1404,
29918,
333,
29922,
1792,
29906,
1839,
333,
7464,
6297,
29918,
333,
29922,
1311,
29889,
12154,
29918,
333,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
11430,
29918,
10041,
29897,
13,
13,
1678,
822,
1243,
29918,
3198,
29918,
15987,
573,
29918,
5975,
29918,
1454,
29918,
12154,
29918,
16645,
1860,
29898,
1311,
1125,
13,
4706,
9995,
5594,
4954,
7194,
669,
17714,
3035,
847,
12154,
29918,
16645,
1860,
29973,
15987,
573,
29922,
1767,
29952,
1412,
13,
13,
4706,
5399,
278,
5164,
5837,
310,
22146,
278,
525,
15987,
573,
29915,
13,
4706,
2346,
3443,
29889,
29871,
960,
278,
525,
15987,
573,
29915,
2346,
3443,
13,
4706,
338,
5134,
769,
445,
881,
2337,
367,
14914,
408,
6593,
525,
5574,
29915,
13,
4706,
6521,
372,
338,
6790,
408,
29901,
13,
13,
4706,
426,
2271,
29913,
29973,
15987,
573,
29922,
29900,
13,
13,
4706,
910,
338,
491,
2874,
304,
1993,
278,
15502,
982,
310,
11415,
13,
4706,
8898,
8454,
373,
2346,
29914,
4572,
4128,
29889,
13,
13,
4706,
4321,
8402,
29901,
13,
13,
4706,
448,
6204,
1023,
4805,
1404,
363,
6987,
13,
4706,
448,
3462,
1438,
4160,
304,
263,
2318,
13,
4706,
448,
3462,
263,
6297,
12827,
363,
278,
2318,
373,
263,
5354,
13,
4706,
448,
3617,
263,
1051,
310,
599,
6297,
3566,
1860,
29892,
8454,
697,
756,
1063,
2715,
13,
4706,
448,
1987,
2228,
5164,
2009,
411,
1422,
5837,
310,
16184,
13,
3986,
278,
525,
15987,
573,
29915,
2346,
3443,
29889,
1094,
591,
505,
9528,
278,
13,
3986,
1959,
2264,
310,
278,
848,
6421,
1250,
746,
591,
679,
11828,
16178,
13,
3986,
297,
916,
6987,
29892,
1244,
591,
925,
671,
278,
2302,
310,
16212,
304,
13,
3986,
1073,
565,
591,
526,
2805,
11828,
16178,
470,
451,
13,
13,
4706,
9995,
13,
4706,
1404,
29896,
353,
5190,
29889,
3258,
29918,
1792,
29898,
8618,
13044,
23598,
29889,
22350,
29918,
2754,
29892,
13,
462,
462,
5354,
29918,
333,
29922,
1311,
29889,
7247,
1839,
333,
11287,
13,
4706,
1404,
29906,
353,
5190,
29889,
3258,
29918,
1792,
29898,
8618,
13044,
23598,
29889,
22350,
29918,
2754,
29892,
13,
462,
462,
5354,
29918,
333,
29922,
1311,
29889,
7247,
1839,
333,
11287,
13,
13,
4706,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29889,
1202,
29918,
1792,
29918,
517,
29918,
2972,
29898,
1792,
29896,
1839,
333,
7464,
1583,
29889,
2972,
1839,
333,
11287,
13,
4706,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29889,
1202,
29918,
1792,
29918,
517,
29918,
2972,
29898,
1792,
29906,
1839,
333,
7464,
1583,
29889,
2972,
1839,
333,
11287,
13,
13,
4706,
4333,
29918,
2271,
353,
8207,
12154,
29918,
16645,
1860,
29915,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
4706,
1583,
29889,
2813,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
29878,
29892,
13,
462,
462,
462,
259,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
4706,
5923,
29918,
16645,
1860,
353,
7431,
29898,
29878,
29889,
2914,
29889,
657,
877,
12154,
29918,
16645,
1860,
8785,
13,
13,
4706,
330,
29881,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
29892,
13,
462,
462,
462,
418,
2318,
29918,
333,
29922,
1311,
29889,
2972,
29918,
333,
29892,
13,
462,
462,
462,
418,
6297,
29918,
333,
29922,
1311,
29889,
12154,
29918,
333,
29897,
13,
4706,
1583,
29889,
649,
29898,
29887,
29881,
29918,
10041,
1839,
4965,
16215,
465,
10194,
11287,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
4706,
1583,
29889,
2813,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
13,
9651,
364,
29892,
13,
9651,
3806,
29918,
2848,
29922,
735,
15423,
29918,
16645,
1860,
718,
29871,
29896,
29892,
13,
9651,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
330,
29881,
29918,
10041,
29897,
13,
13,
4706,
396,
2567,
337,
29899,
949,
278,
4333,
6721,
363,
11828,
16178,
29892,
13,
4706,
396,
773,
278,
1556,
3619,
982,
310,
16184,
376,
15987,
573,
4286,
910,
13,
4706,
396,
881,
2099,
278,
2318,
12827,
338,
20512,
964,
278,
1023,
13,
4706,
396,
4509,
1404,
3566,
1860,
13,
4706,
4333,
29918,
2271,
353,
8207,
12154,
29918,
16645,
1860,
29973,
15987,
573,
29915,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
4706,
1583,
29889,
2813,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
13,
9651,
364,
29892,
13,
9651,
3806,
29918,
2848,
29922,
735,
15423,
29918,
16645,
1860,
718,
29871,
29906,
29892,
13,
9651,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
4706,
396,
2567,
731,
525,
15987,
573,
29915,
304,
2089,
9479,
448,
881,
679,
13,
4706,
396,
1250,
278,
4943,
16178,
13,
4706,
4333,
29918,
2271,
353,
8207,
12154,
29918,
16645,
1860,
29973,
15987,
573,
29922,
29900,
29915,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
4706,
1583,
29889,
2813,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
13,
9651,
364,
29892,
13,
9651,
3806,
29918,
2848,
29922,
735,
15423,
29918,
16645,
1860,
718,
29871,
29896,
29892,
13,
9651,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
4706,
396,
2567,
1018,
4444,
29871,
525,
15987,
573,
29915,
304,
525,
8824,
29915,
9479,
29899,
445,
338,
13,
4706,
396,
6058,
6969,
408,
263,
982,
310,
4444,
263,
2346,
470,
4175,
13,
4706,
396,
3443,
304,
2089,
491,
2874,
29889,
10133,
591,
881,
679,
1250,
13,
4706,
396,
11828,
16178,
29889,
13,
4706,
4333,
29918,
2271,
353,
8207,
12154,
29918,
16645,
1860,
29973,
15987,
573,
29922,
8824,
29915,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
4706,
1583,
29889,
2813,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
13,
9651,
364,
29892,
13,
9651,
3806,
29918,
2848,
29922,
735,
15423,
29918,
16645,
1860,
718,
29871,
29906,
29892,
13,
9651,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
4706,
396,
2567,
731,
525,
15987,
573,
29915,
304,
5852,
9479,
13,
4706,
4333,
29918,
2271,
353,
8207,
12154,
29918,
16645,
1860,
29973,
15987,
573,
29922,
5574,
29915,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
4706,
1583,
29889,
2813,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
13,
9651,
364,
29892,
13,
9651,
3806,
29918,
2848,
29922,
735,
15423,
29918,
16645,
1860,
718,
29871,
29906,
29892,
13,
9651,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
13,
1678,
822,
1243,
29918,
4572,
287,
29918,
12154,
29918,
16645,
1860,
29898,
1311,
1125,
13,
4706,
9995,
5594,
4954,
7194,
847,
12154,
29918,
16645,
1860,
29973,
26705,
29952,
1412,
13,
13,
4706,
4321,
8402,
29901,
13,
13,
4706,
448,
6204,
4805,
4160,
29892,
2318,
29892,
6297,
322,
2060,
363,
6987,
13,
4706,
448,
8561,
278,
1494,
3566,
1860,
29901,
13,
3986,
25538,
2318,
29896,
29892,
6297,
29896,
373,
2060,
29896,
322,
5354,
13,
3986,
25538,
1404,
29896,
29892,
6297,
29906,
373,
2060,
29896,
322,
5354,
13,
3986,
8561,
4911,
29896,
263,
4509,
310,
6431,
29896,
13,
4706,
448,
4321,
263,
3652,
310,
2323,
4175,
1051,
5717,
29892,
8454,
393,
13,
3986,
278,
1959,
2582,
526,
7625,
13,
4706,
448,
4321,
263,
2473,
29899,
4572,
287,
1051,
1246,
13,
4706,
448,
4321,
18028,
599,
11828,
16178,
363,
263,
2183,
1404,
13,
4706,
448,
4321,
278,
7126,
310,
278,
1051,
310,
16178,
297,
263,
2060,
16505,
287,
13,
3986,
5993,
313,
497,
11828,
16178,
363,
263,
1404,
373,
263,
2060,
29897,
13,
13,
4706,
9995,
13,
4706,
396,
4001,
278,
2322,
5713,
486,
1973,
2307,
3566,
777,
16178,
304,
278,
13,
4706,
396,
1404,
372,
10017,
29892,
591,
884,
817,
263,
716,
1404,
393,
674,
451,
505,
738,
13,
4706,
396,
5923,
3566,
1860,
13,
4706,
1404,
29896,
353,
5190,
29889,
3258,
29918,
1792,
29898,
8618,
13044,
23598,
29889,
22350,
29918,
2754,
29892,
13,
462,
462,
5354,
29918,
333,
29922,
1311,
29889,
7247,
1839,
333,
11287,
13,
4706,
1404,
29906,
353,
5190,
29889,
3258,
29918,
1792,
29898,
8618,
13044,
23598,
29889,
22350,
29918,
2754,
29892,
13,
462,
462,
5354,
29918,
333,
29922,
1311,
29889,
7247,
1839,
333,
11287,
13,
13,
4706,
2318,
29896,
353,
5190,
29889,
1482,
29918,
2972,
29918,
999,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
1839,
333,
11287,
13,
4706,
2318,
29896,
353,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29889,
3258,
29918,
2972,
29898,
2972,
29896,
29897,
13,
4706,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29889,
1202,
29918,
1792,
29918,
517,
29918,
2972,
29898,
1792,
29896,
1839,
333,
7464,
2318,
29896,
1839,
333,
11287,
13,
4706,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29889,
1202,
29918,
1792,
29918,
517,
29918,
2972,
29898,
1792,
29906,
1839,
333,
7464,
2318,
29896,
1839,
333,
11287,
13,
4706,
2060,
29896,
353,
5190,
29889,
1482,
29918,
4836,
29918,
999,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
1839,
333,
11287,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
4836,
29898,
4836,
29896,
1839,
333,
7464,
2060,
29896,
29897,
13,
4706,
1583,
29889,
12154,
29896,
353,
5190,
29889,
1482,
29918,
12154,
29918,
999,
580,
13,
4706,
13756,
13044,
23598,
29889,
12154,
29918,
2754,
29889,
3258,
29918,
12154,
29898,
1311,
29889,
12154,
29896,
1839,
333,
7464,
1583,
29889,
12154,
29896,
29897,
13,
4706,
1583,
29889,
12154,
29906,
353,
5190,
29889,
1482,
29918,
12154,
29918,
999,
580,
13,
4706,
13756,
13044,
23598,
29889,
12154,
29918,
2754,
29889,
3258,
29918,
12154,
29898,
1311,
29889,
12154,
29906,
1839,
333,
7464,
1583,
29889,
12154,
29906,
29897,
13,
13,
4706,
396,
2567,
788,
697,
310,
1269,
310,
278,
4832,
4072,
310,
12827,
13,
13,
4706,
330,
29881,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
5354,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
29892,
2318,
29918,
333,
29922,
2972,
29896,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
1311,
29889,
12154,
29896,
1839,
333,
11287,
13,
4706,
1583,
29889,
649,
29898,
29887,
29881,
29918,
10041,
1839,
4965,
16215,
465,
10194,
11287,
13,
13,
4706,
11430,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
29892,
13,
462,
462,
462,
418,
1404,
29918,
333,
29922,
1792,
29896,
1839,
333,
7464,
13,
462,
462,
462,
418,
6297,
29918,
333,
29922,
1311,
29889,
12154,
29906,
1839,
333,
11287,
13,
4706,
1583,
29889,
649,
29898,
566,
29918,
10041,
1839,
4965,
16215,
465,
10194,
11287,
13,
13,
4706,
330,
29886,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
2060,
29918,
333,
29922,
4836,
29896,
1839,
333,
7464,
13,
9651,
2318,
29918,
333,
29922,
2972,
29896,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
1311,
29889,
12154,
29896,
1839,
333,
11287,
13,
4706,
1583,
29889,
649,
29898,
29887,
29886,
29918,
10041,
1839,
4965,
16215,
465,
10194,
11287,
13,
13,
4706,
701,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
2060,
29918,
333,
29922,
4836,
29896,
1839,
333,
7464,
13,
9651,
1404,
29918,
333,
29922,
1792,
29896,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
1311,
29889,
12154,
29906,
1839,
333,
11287,
13,
4706,
1583,
29889,
649,
29898,
786,
29918,
10041,
1839,
4965,
16215,
465,
10194,
11287,
13,
13,
4706,
330,
29879,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
1788,
2433,
497,
742,
13,
9651,
2318,
29918,
333,
29922,
2972,
29896,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
1311,
29889,
12154,
29896,
1839,
333,
11287,
13,
4706,
1583,
29889,
649,
29898,
3174,
29918,
10041,
1839,
4965,
16215,
465,
10194,
11287,
13,
4706,
502,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
1788,
2433,
497,
742,
13,
9651,
1404,
29918,
333,
29922,
1792,
29896,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
1311,
29889,
12154,
29906,
1839,
333,
11287,
13,
4706,
1583,
29889,
649,
29898,
375,
29918,
10041,
1839,
4965,
16215,
465,
10194,
11287,
13,
4706,
502,
29906,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
1788,
2433,
497,
742,
13,
9651,
1404,
29918,
333,
29922,
1792,
29906,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
1311,
29889,
12154,
29906,
1839,
333,
11287,
13,
4706,
1583,
29889,
649,
29898,
375,
29906,
29918,
10041,
1839,
4965,
16215,
465,
10194,
11287,
13,
13,
4706,
396,
2567,
1051,
491,
5164,
18094,
304,
1207,
1854,
591,
679,
1250,
278,
1492,
6743,
13,
13,
4706,
4333,
29918,
2271,
353,
6702,
29914,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
4836,
29889,
333,
16328,
29879,
29915,
1273,
13,
462,
3986,
2060,
29896,
1839,
333,
11287,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
4706,
1583,
29889,
2813,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
29878,
29892,
13,
462,
462,
462,
259,
3806,
29918,
2848,
29922,
29906,
29892,
13,
462,
462,
462,
259,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
701,
29918,
10041,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
330,
29886,
29918,
10041,
29897,
13,
13,
4706,
4333,
29918,
2271,
353,
6702,
29914,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
7247,
29889,
333,
16328,
29879,
29915,
1273,
13,
462,
3986,
1583,
29889,
7247,
1839,
333,
11287,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
4706,
1583,
29889,
2813,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
29878,
29892,
13,
462,
462,
462,
259,
3806,
29918,
2848,
29922,
29906,
29892,
13,
462,
462,
462,
259,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
11430,
29918,
10041,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
330,
29881,
29918,
10041,
29897,
13,
13,
4706,
4333,
29918,
2271,
353,
8207,
12154,
29918,
16645,
1860,
29973,
1792,
29889,
333,
16328,
29879,
29915,
1273,
1404,
29896,
1839,
333,
2033,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
4706,
1583,
29889,
2813,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
29878,
29892,
13,
462,
462,
462,
259,
3806,
29918,
2848,
29922,
29941,
29892,
13,
462,
462,
462,
259,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
701,
29918,
10041,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
11430,
29918,
10041,
29897,
13,
13,
4706,
4333,
29918,
2271,
353,
8207,
12154,
29918,
16645,
1860,
29973,
2972,
29889,
333,
16328,
29879,
29915,
1273,
2318,
29896,
1839,
333,
2033,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
4706,
1583,
29889,
2813,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
29878,
29892,
13,
462,
462,
462,
259,
3806,
29918,
2848,
29922,
29941,
29892,
13,
462,
462,
462,
259,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
330,
29881,
29918,
10041,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
330,
29886,
29918,
10041,
29897,
13,
13,
4706,
4333,
29918,
2271,
353,
8207,
12154,
29918,
16645,
1860,
29973,
12154,
29889,
333,
16328,
29879,
29915,
1273,
1583,
29889,
12154,
29896,
1839,
333,
2033,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
4706,
1583,
29889,
2813,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
29878,
29892,
13,
462,
462,
462,
259,
3806,
29918,
2848,
29922,
29941,
29892,
13,
462,
462,
462,
259,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
330,
29881,
29918,
10041,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
330,
29886,
29918,
10041,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
330,
29879,
29918,
10041,
29897,
13,
13,
4706,
4333,
29918,
2271,
353,
8207,
12154,
29918,
16645,
1860,
29973,
12154,
29889,
333,
16328,
29879,
29915,
1273,
1583,
29889,
12154,
29906,
1839,
333,
2033,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
4706,
1583,
29889,
2813,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
29878,
29892,
13,
462,
462,
462,
259,
3806,
29918,
2848,
29922,
29946,
29892,
13,
462,
462,
462,
259,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
11430,
29918,
10041,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
701,
29918,
10041,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
502,
29918,
10041,
29897,
13,
13,
4706,
396,
2803,
29915,
29879,
1018,
29299,
1023,
977,
414,
4208,
3045,
13,
13,
4706,
4333,
29918,
2271,
353,
313,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
1792,
29889,
333,
16328,
29898,
1792,
29918,
333,
29897,
29879,
29915,
13,
9651,
525,
29987,
6078,
29889,
4836,
29889,
333,
16328,
29898,
4836,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
1792,
29918,
333,
2396,
1404,
29896,
1839,
333,
7464,
13,
18884,
525,
4836,
29918,
333,
2396,
2060,
29896,
1839,
333,
2033,
1800,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
4706,
1583,
29889,
2813,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
29878,
29892,
13,
462,
462,
462,
259,
3806,
29918,
2848,
29922,
29896,
29892,
13,
462,
462,
462,
259,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
701,
29918,
10041,
29897,
13,
13,
4706,
396,
2567,
363,
263,
22622,
697,
448,
4175,
363,
1404,
411,
11828,
13,
4706,
396,
16178,
448,
445,
881,
736,
6297,
12827,
393,
892,
4153,
13,
4706,
396,
9859,
408,
1532,
408,
491,
27935,
310,
2318,
28512,
13,
13,
4706,
4333,
29918,
2271,
353,
6702,
29914,
12154,
29918,
16645,
1860,
29973,
15987,
573,
29987,
1792,
29889,
333,
16328,
29879,
29915,
1273,
13,
462,
3986,
1404,
29896,
1839,
333,
11287,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
4706,
1583,
29889,
2813,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
29878,
29892,
13,
462,
462,
462,
259,
3806,
29918,
2848,
29922,
29946,
29892,
13,
462,
462,
462,
259,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
4706,
396,
10575,
505,
278,
1023,
1513,
16178,
856,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
701,
29918,
10041,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
11430,
29918,
10041,
29897,
13,
4706,
396,
2023,
392,
278,
1023,
3025,
2318,
28512,
856,
13,
4706,
330,
29886,
29896,
29918,
2324,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
2324,
29898,
13,
9651,
2060,
29918,
333,
29922,
4836,
29896,
1839,
333,
7464,
13,
9651,
2318,
29918,
333,
29922,
2972,
29896,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
1311,
29889,
12154,
29896,
1839,
333,
11287,
13,
4706,
330,
29881,
29896,
29918,
2324,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
2324,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
29892,
13,
462,
462,
462,
259,
2318,
29918,
333,
29922,
2972,
29896,
1839,
333,
7464,
13,
462,
462,
462,
259,
6297,
29918,
333,
29922,
1311,
29889,
12154,
29896,
1839,
333,
11287,
13,
13,
4706,
701,
29896,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
1544,
29922,
29887,
29886,
29896,
29918,
2324,
29892,
2060,
29918,
333,
29922,
4836,
29896,
1839,
333,
7464,
13,
9651,
1404,
29918,
333,
29922,
1792,
29896,
1839,
333,
7464,
6297,
29918,
333,
29922,
1311,
29889,
12154,
29896,
1839,
333,
11287,
13,
4706,
11430,
29896,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
1544,
29922,
29887,
29881,
29896,
29918,
2324,
29892,
5354,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
29892,
1404,
29918,
333,
29922,
1792,
29896,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
1311,
29889,
12154,
29896,
1839,
333,
11287,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
701,
29896,
29918,
10041,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
11430,
29896,
29918,
10041,
29897,
13,
13,
4706,
396,
2023,
392,
363,
278,
4595,
29899,
29881,
25644,
310,
963,
599,
29892,
29611,
278,
2009,
13,
4706,
396,
393,
723,
5706,
278,
1051,
310,
11828,
16178,
297,
263,
2060,
13,
4706,
396,
16505,
287,
5993,
29889,
13,
13,
4706,
4333,
29918,
2271,
353,
313,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
15987,
573,
29987,
1792,
29889,
333,
16328,
29898,
1792,
29918,
333,
29897,
29879,
29915,
13,
9651,
525,
29987,
6078,
29889,
4836,
29889,
333,
16328,
29898,
4836,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
1792,
29918,
333,
2396,
1404,
29896,
1839,
333,
7464,
13,
18884,
525,
4836,
29918,
333,
2396,
2060,
29896,
1839,
333,
2033,
1800,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
4706,
1583,
29889,
2813,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
29878,
29892,
13,
462,
462,
462,
259,
3806,
29918,
2848,
29922,
29906,
29892,
13,
462,
462,
462,
259,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
4706,
396,
10575,
505,
697,
1513,
6297,
322,
697,
515,
2318,
28512,
856,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
701,
29918,
10041,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
701,
29896,
29918,
10041,
29897,
13,
13,
1678,
822,
1243,
29918,
1761,
29918,
5205,
29918,
12154,
29918,
16645,
1860,
29898,
1311,
1125,
13,
4706,
396,
1653,
263,
14928,
310,
16178,
13,
4706,
1404,
29918,
5205,
29918,
12154,
29918,
333,
353,
1583,
3032,
3258,
29918,
1482,
29918,
12154,
580,
13,
4706,
1404,
29918,
7247,
29918,
12154,
29918,
333,
353,
1583,
3032,
3258,
29918,
1482,
29918,
12154,
580,
13,
4706,
1404,
29918,
4836,
29918,
12154,
29918,
333,
353,
1583,
3032,
3258,
29918,
1482,
29918,
12154,
580,
13,
4706,
2318,
29918,
5205,
29918,
12154,
29918,
333,
353,
1583,
3032,
3258,
29918,
1482,
29918,
12154,
580,
13,
4706,
2318,
29918,
7247,
29918,
12154,
29918,
333,
353,
1583,
3032,
3258,
29918,
1482,
29918,
12154,
580,
13,
4706,
2318,
29918,
4836,
29918,
12154,
29918,
333,
353,
1583,
3032,
3258,
29918,
1482,
29918,
12154,
580,
13,
13,
4706,
396,
1653,
263,
1404,
322,
16690,
278,
1404,
263,
6297,
373,
278,
1788,
29892,
5354,
29892,
322,
13,
4706,
396,
2060,
13,
4706,
1404,
353,
1583,
3032,
3258,
29918,
1792,
580,
13,
4706,
3142,
353,
8207,
5205,
29914,
7193,
22584,
29879,
29914,
307,
793,
22584,
29879,
29915,
1273,
313,
1792,
1839,
333,
7464,
1404,
29918,
5205,
29918,
12154,
29918,
333,
29897,
13,
4706,
1583,
29889,
649,
29898,
2271,
29897,
13,
4706,
3142,
353,
8207,
3129,
2708,
22584,
29879,
29914,
7193,
22584,
29879,
29914,
307,
793,
22584,
29879,
29915,
1273,
313,
13,
9651,
1583,
29889,
7247,
29918,
333,
29892,
1404,
1839,
333,
7464,
1404,
29918,
7247,
29918,
12154,
29918,
333,
13,
4706,
1723,
13,
4706,
1583,
29889,
649,
29898,
2271,
29897,
13,
4706,
3142,
353,
8207,
16418,
22584,
29879,
29914,
7193,
22584,
29879,
29914,
307,
793,
22584,
29879,
29915,
1273,
313,
13,
9651,
1583,
29889,
4836,
29918,
333,
29892,
1404,
1839,
333,
7464,
1404,
29918,
4836,
29918,
12154,
29918,
333,
13,
4706,
1723,
13,
4706,
1583,
29889,
649,
29898,
2271,
29897,
13,
13,
4706,
396,
1653,
263,
2318,
322,
16690,
278,
2318,
263,
6297,
373,
278,
1788,
29892,
5354,
29892,
322,
13,
4706,
396,
2060,
13,
4706,
2318,
353,
1583,
3032,
3258,
29918,
2972,
580,
13,
4706,
3142,
353,
8207,
5205,
29914,
13155,
22584,
29879,
29914,
307,
793,
22584,
29879,
29915,
1273,
313,
13,
9651,
2318,
1839,
333,
7464,
2318,
29918,
5205,
29918,
12154,
29918,
333,
13,
4706,
1723,
13,
4706,
1583,
29889,
649,
29898,
2271,
29897,
13,
4706,
3142,
353,
8207,
3129,
2708,
22584,
29879,
29914,
13155,
22584,
29879,
29914,
307,
793,
22584,
29879,
29915,
1273,
313,
13,
9651,
1583,
29889,
7247,
29918,
333,
29892,
2318,
1839,
333,
7464,
2318,
29918,
7247,
29918,
12154,
29918,
333,
13,
4706,
1723,
13,
4706,
1583,
29889,
649,
29898,
2271,
29897,
13,
4706,
3142,
353,
8207,
16418,
22584,
29879,
29914,
13155,
22584,
29879,
29914,
307,
793,
22584,
29879,
29915,
1273,
313,
13,
9651,
1583,
29889,
4836,
29918,
333,
29892,
2318,
1839,
333,
7464,
2318,
29918,
4836,
29918,
12154,
29918,
333,
13,
4706,
1723,
13,
4706,
1583,
29889,
649,
29898,
2271,
29897,
13,
13,
4706,
396,
847,
29894,
29941,
29914,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
5205,
29922,
497,
881,
736,
1023,
3566,
1860,
13,
4706,
2933,
353,
1583,
29889,
657,
11219,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
5205,
29922,
497,
1495,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
5327,
29892,
3806,
29918,
2848,
29922,
29906,
29897,
13,
4706,
363,
12827,
297,
2933,
29889,
3126,
29918,
2587,
1839,
12154,
29918,
16645,
1860,
2033,
29901,
13,
9651,
1583,
29889,
9294,
5574,
29898,
465,
10194,
1839,
6078,
16215,
5205,
16215,
497,
11287,
13,
9651,
565,
12827,
29889,
657,
877,
1792,
29374,
13,
18884,
1583,
29889,
9294,
9843,
29898,
1792,
29918,
5205,
29918,
12154,
29918,
333,
29892,
12827,
1839,
12154,
16215,
333,
11287,
13,
9651,
565,
12827,
29889,
657,
877,
2972,
29374,
13,
18884,
1583,
29889,
9294,
9843,
29898,
13,
462,
1678,
2318,
29918,
5205,
29918,
12154,
29918,
333,
29892,
13,
462,
1678,
12827,
1839,
12154,
16215,
333,
2033,
13,
18884,
1723,
13,
13,
4706,
396,
847,
29894,
29941,
29914,
12154,
29918,
16645,
1860,
29973,
6078,
29918,
5205,
29922,
497,
29987,
1792,
29889,
333,
6080,
11889,
29918,
1367,
881,
736,
13,
4706,
396,
697,
6297,
12827,
13,
4706,
3142,
353,
8207,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
5205,
29922,
497,
29987,
1792,
29889,
333,
16328,
29879,
29915,
1273,
1404,
1839,
333,
2033,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
5327,
29892,
3806,
29918,
2848,
29922,
29896,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
13,
9651,
1404,
29918,
5205,
29918,
12154,
29918,
333,
29892,
13,
9651,
2933,
29889,
3126,
29918,
2587,
1839,
12154,
29918,
16645,
1860,
2033,
29961,
29900,
22322,
12154,
16215,
333,
2033,
13,
4706,
1723,
13,
13,
4706,
396,
847,
29894,
29941,
29914,
12154,
29918,
16645,
1860,
29973,
6078,
29918,
5205,
29922,
497,
29987,
2972,
29889,
333,
6080,
26284,
29918,
1367,
881,
13,
4706,
396,
736,
697,
6297,
12827,
13,
4706,
3142,
353,
8207,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
5205,
29922,
497,
29987,
2972,
29889,
333,
16328,
29879,
29915,
1273,
2318,
1839,
333,
2033,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
5327,
29892,
3806,
29918,
2848,
29922,
29896,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
13,
9651,
2318,
29918,
5205,
29918,
12154,
29918,
333,
29892,
13,
9651,
2933,
29889,
3126,
29918,
2587,
1839,
12154,
29918,
16645,
1860,
2033,
29961,
29900,
22322,
12154,
16215,
333,
2033,
13,
4706,
1723,
13,
13,
4706,
396,
847,
29894,
29941,
29914,
12154,
29918,
16645,
1860,
29973,
1792,
29889,
333,
6080,
11889,
29918,
1367,
881,
736,
29871,
29941,
3566,
1860,
13,
4706,
396,
322,
1788,
881,
367,
297,
393,
1051,
310,
3566,
1860,
13,
4706,
3142,
353,
8207,
12154,
29918,
16645,
1860,
29973,
1792,
29889,
333,
16328,
29879,
29915,
1273,
1404,
1839,
333,
2033,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
5327,
29892,
3806,
29918,
2848,
29922,
29941,
29897,
13,
4706,
363,
12827,
297,
2933,
29889,
3126,
29918,
2587,
1839,
12154,
29918,
16645,
1860,
2033,
29901,
13,
9651,
565,
525,
5205,
29915,
297,
12827,
1839,
6078,
2033,
29901,
13,
18884,
1583,
29889,
9294,
9843,
29898,
13,
462,
1678,
1404,
29918,
5205,
29918,
12154,
29918,
333,
29892,
12827,
1839,
12154,
16215,
333,
2033,
13,
18884,
1723,
13,
9651,
565,
525,
7247,
29915,
297,
12827,
1839,
6078,
2033,
29901,
13,
18884,
1583,
29889,
9294,
9843,
29898,
13,
462,
1678,
1404,
29918,
7247,
29918,
12154,
29918,
333,
29892,
12827,
1839,
12154,
16215,
333,
2033,
13,
18884,
1723,
13,
9651,
565,
525,
4836,
29915,
297,
12827,
1839,
6078,
2033,
29901,
13,
18884,
1583,
29889,
9294,
9843,
29898,
13,
462,
1678,
1404,
29918,
4836,
29918,
12154,
29918,
333,
29892,
12827,
1839,
12154,
16215,
333,
2033,
13,
18884,
1723,
13,
13,
4706,
396,
847,
29894,
29941,
29914,
12154,
29918,
16645,
1860,
29973,
2972,
29889,
333,
6080,
26284,
29918,
1367,
881,
736,
29871,
29941,
3566,
1860,
13,
4706,
396,
322,
1788,
881,
367,
297,
393,
1051,
310,
3566,
1860,
13,
4706,
3142,
353,
8207,
12154,
29918,
16645,
1860,
29973,
2972,
29889,
333,
16328,
29879,
29915,
1273,
2318,
1839,
333,
2033,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
5327,
29892,
3806,
29918,
2848,
29922,
29941,
29897,
13,
4706,
363,
12827,
297,
2933,
29889,
3126,
29918,
2587,
1839,
12154,
29918,
16645,
1860,
2033,
29901,
13,
9651,
565,
525,
5205,
29915,
297,
12827,
1839,
6078,
2033,
29901,
13,
18884,
1583,
29889,
9294,
9843,
29898,
13,
462,
1678,
2318,
29918,
5205,
29918,
12154,
29918,
333,
29892,
12827,
1839,
12154,
16215,
333,
2033,
13,
18884,
1723,
13,
9651,
565,
525,
7247,
29915,
297,
12827,
1839,
6078,
2033,
29901,
13,
18884,
1583,
29889,
9294,
9843,
29898,
13,
462,
1678,
2318,
29918,
7247,
29918,
12154,
29918,
333,
29892,
12827,
1839,
12154,
16215,
333,
2033,
13,
18884,
1723,
13,
9651,
565,
525,
4836,
29915,
297,
12827,
1839,
6078,
2033,
29901,
13,
18884,
1583,
29889,
9294,
9843,
29898,
13,
462,
1678,
2318,
29918,
4836,
29918,
12154,
29918,
333,
29892,
12827,
1839,
12154,
16215,
333,
2033,
13,
18884,
1723,
13,
13,
13,
1990,
1528,
280,
7900,
10194,
5160,
3057,
8259,
29898,
1688,
29918,
29894,
29941,
29889,
15078,
1319,
3057,
8259,
29892,
13,
462,
462,
1243,
29918,
29894,
29941,
29889,
7900,
10194,
3057,
29924,
861,
262,
1125,
13,
1678,
9995,
5160,
770,
363,
6724,
847,
29894,
29941,
29914,
12154,
29918,
16645,
1860,
3450,
6030,
1213,
15945,
13,
13,
1678,
18134,
29918,
17628,
1001,
1718,
3210,
29979,
29918,
29933,
16310,
4690,
353,
29871,
29941,
13,
1678,
18134,
29918,
17628,
1001,
1718,
3210,
29979,
29918,
2287,
29925,
4690,
353,
8707,
29943,
29889,
3317,
29918,
4836,
29918,
8336,
29918,
19488,
448,
29871,
29896,
13,
13,
1678,
822,
2254,
29918,
11249,
29918,
1272,
29898,
1311,
1125,
13,
4706,
9995,
4391,
4559,
848,
304,
367,
1304,
373,
6987,
29889,
13,
13,
4706,
6760,
630,
848,
526,
474,
29897,
263,
6297,
322,
13607,
29897,
263,
5354,
6943,
29901,
263,
2060,
13,
4706,
21277,
322,
29871,
29941,
4160,
2629,
29871,
29941,
6471,
29889,
13,
13,
4706,
9995,
13,
4706,
822,
1653,
29918,
4836,
29918,
29882,
631,
12040,
29898,
3560,
29918,
333,
29892,
10809,
1125,
13,
9651,
9995,
4391,
263,
4036,
2060,
21277,
1213,
15945,
13,
9651,
565,
10809,
1275,
29871,
29900,
29901,
13,
18884,
736,
13,
13,
9651,
18423,
386,
353,
4036,
29889,
9502,
524,
29898,
29896,
29892,
1583,
29889,
12648,
29918,
17628,
1001,
1718,
3210,
29979,
29918,
29933,
16310,
4690,
29897,
13,
13,
9651,
1014,
16418,
353,
5159,
13,
9651,
363,
474,
297,
3464,
29898,
29890,
949,
386,
1125,
13,
18884,
1014,
16418,
29889,
4397,
29898,
5441,
29889,
1482,
29918,
4836,
29918,
999,
29898,
13,
462,
1678,
5354,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
29892,
3847,
29918,
333,
29922,
3560,
29918,
333,
876,
13,
18884,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
4836,
29898,
13,
462,
1678,
1014,
16418,
14352,
29896,
22322,
333,
7464,
1014,
16418,
14352,
29896,
29962,
13,
18884,
1723,
13,
13,
9651,
716,
29918,
3560,
353,
1014,
16418,
29961,
8172,
29889,
9502,
524,
29898,
29900,
29892,
18423,
386,
448,
29871,
29896,
4638,
13,
9651,
1653,
29918,
4836,
29918,
29882,
631,
12040,
29898,
1482,
29918,
3560,
1839,
333,
7464,
10809,
448,
29871,
29896,
29897,
13,
13,
4706,
2428,
29898,
16727,
7900,
10194,
5160,
3057,
8259,
29892,
1583,
467,
1359,
29918,
11249,
29918,
1272,
580,
13,
13,
4706,
396,
6204,
263,
5354,
13,
4706,
1583,
29889,
7247,
353,
5190,
29889,
1482,
29918,
7247,
29918,
999,
580,
13,
4706,
1583,
29889,
7247,
29918,
333,
353,
1583,
29889,
7247,
1839,
333,
2033,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
7247,
29898,
1311,
29889,
7247,
29918,
333,
29892,
1583,
29889,
7247,
29897,
13,
13,
4706,
396,
6204,
263,
2060,
21277,
13,
4706,
1583,
29889,
4836,
353,
5190,
29889,
1482,
29918,
4836,
29918,
999,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
29897,
13,
4706,
1583,
29889,
4836,
29918,
333,
353,
1583,
29889,
4836,
1839,
333,
2033,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
4836,
29898,
1311,
29889,
4836,
29918,
333,
29892,
1583,
29889,
4836,
29897,
13,
13,
4706,
396,
6204,
263,
4036,
2060,
21277,
13,
4706,
1653,
29918,
4836,
29918,
29882,
631,
12040,
29898,
1311,
29889,
4836,
29918,
333,
29892,
13,
462,
462,
4036,
29889,
9502,
524,
29898,
29896,
29892,
1583,
29889,
12648,
29918,
17628,
1001,
1718,
3210,
29979,
29918,
2287,
29925,
4690,
876,
13,
13,
4706,
396,
6204,
29871,
29941,
4160,
13,
4706,
1583,
29889,
1792,
29918,
4841,
353,
5159,
13,
4706,
363,
474,
297,
3464,
29898,
29941,
1125,
13,
9651,
1404,
353,
5190,
29889,
1482,
29918,
1792,
29918,
999,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
29897,
13,
9651,
1404,
353,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29889,
3258,
29918,
1792,
29898,
1792,
29897,
13,
9651,
1583,
29889,
1792,
29918,
4841,
29889,
4397,
29898,
1792,
1839,
333,
11287,
13,
13,
4706,
396,
6204,
29871,
29941,
6471,
13,
4706,
1583,
29889,
2972,
29918,
4841,
353,
5159,
13,
4706,
363,
474,
297,
3464,
29898,
29941,
1125,
13,
9651,
2318,
353,
5190,
29889,
1482,
29918,
2972,
29918,
999,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
29897,
13,
9651,
2318,
353,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29889,
3258,
29918,
2972,
29898,
2972,
29897,
13,
9651,
1583,
29889,
2972,
29918,
4841,
29889,
4397,
29898,
2972,
1839,
333,
11287,
13,
13,
9651,
396,
12065,
29871,
29906,
5144,
373,
1269,
2318,
13,
9651,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29889,
1202,
29918,
1792,
29918,
517,
29918,
2972,
29898,
13,
18884,
1404,
29918,
333,
29922,
1311,
29889,
1792,
29918,
4841,
29961,
29875,
1402,
2318,
29918,
333,
29922,
2972,
1839,
333,
2033,
13,
9651,
1723,
13,
9651,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29889,
1202,
29918,
1792,
29918,
517,
29918,
2972,
29898,
13,
18884,
1404,
29918,
333,
29922,
1311,
29889,
1792,
29918,
4841,
29961,
29875,
1273,
29871,
29906,
1402,
2318,
29918,
333,
29922,
2972,
1839,
333,
2033,
13,
9651,
1723,
13,
13,
4706,
13756,
13044,
23598,
29889,
465,
10194,
29918,
2754,
29889,
3258,
29918,
629,
424,
29898,
13,
9651,
1404,
29918,
333,
29922,
1311,
29889,
1792,
29918,
333,
29892,
2060,
29918,
333,
29922,
1311,
29889,
4836,
29918,
333,
29892,
13,
9651,
6297,
29918,
333,
29922,
1311,
29889,
12154,
29918,
333,
13,
4706,
1723,
13,
13,
4706,
396,
6204,
263,
6297,
13,
4706,
1583,
29889,
12154,
353,
5190,
29889,
1482,
29918,
12154,
29918,
999,
580,
13,
4706,
1583,
29889,
12154,
29918,
333,
353,
1583,
29889,
12154,
1839,
333,
2033,
13,
4706,
13756,
13044,
23598,
29889,
12154,
29918,
2754,
29889,
3258,
29918,
12154,
29898,
1311,
29889,
12154,
29918,
333,
29892,
1583,
29889,
12154,
29897,
13,
13,
4706,
396,
3789,
2322,
1404,
322,
2318,
304,
367,
1304,
373,
6987,
13,
4706,
1583,
29889,
4381,
29918,
1792,
29918,
333,
353,
1583,
29889,
1792,
29918,
4841,
29961,
29900,
29962,
13,
4706,
1583,
29889,
4381,
29918,
2972,
29918,
333,
353,
1583,
29889,
2972,
29918,
4841,
29961,
29900,
29962,
13,
13,
1678,
822,
679,
29918,
12154,
29918,
16645,
1860,
29898,
1311,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29892,
3579,
26705,
1125,
13,
4706,
9995,
11609,
278,
1121,
515,
2346,
292,
6297,
12827,
3450,
718,
22320,
1000,
3988,
29889,
13,
13,
4706,
315,
4293,
12354,
847,
29894,
29941,
29914,
12154,
29918,
16645,
1860,
29973,
29966,
7529,
29958,
322,
3639,
967,
1121,
29892,
988,
13,
4706,
529,
7529,
29958,
338,
278,
7331,
2346,
4128,
883,
310,
11828,
2984,
2298,
13,
4706,
18094,
29892,
565,
4944,
29889,
751,
261,
1000,
3988,
338,
4133,
408,
1532,
29889,
13,
13,
4706,
584,
18280,
29901,
263,
18761,
6943,
278,
1051,
6297,
3566,
1860,
3450,
2933,
322,
13,
462,
29871,
22320,
1000,
3988,
29889,
13,
13,
4706,
9995,
13,
4706,
2346,
29918,
2271,
353,
1583,
3032,
657,
29918,
12154,
29918,
16645,
1860,
29918,
1972,
29918,
2271,
29898,
1068,
26705,
29897,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
1972,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
9684,
29918,
4882,
29897,
13,
13,
4706,
736,
313,
5327,
29892,
2346,
29918,
2271,
29897,
13,
13,
1678,
822,
903,
657,
29918,
12154,
29918,
16645,
1860,
29918,
1972,
29918,
2271,
29898,
1311,
29892,
3579,
26705,
1125,
13,
4706,
9995,
11609,
1661,
29899,
15987,
573,
6297,
3566,
1860,
2346,
3988,
515,
2183,
18094,
29889,
13,
13,
4706,
584,
3207,
18094,
29901,
2346,
4128,
526,
2825,
411,
278,
4944,
18094,
13,
462,
4706,
373,
6297,
3566,
1860,
8393,
29889,
15758,
18094,
526,
29901,
13,
462,
4706,
6297,
29918,
333,
29892,
5354,
29918,
333,
29892,
2060,
29918,
333,
29892,
2318,
29918,
333,
29892,
1404,
29918,
333,
322,
13,
462,
4706,
23878,
29918,
517,
29918,
16418,
29889,
13,
13,
4706,
584,
18280,
29901,
6297,
3566,
1860,
2346,
3988,
29889,
13,
13,
4706,
9995,
13,
4706,
736,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
1972,
29918,
2271,
29898,
1068,
26705,
29897,
13,
13,
13,
1990,
1528,
280,
7900,
10194,
24155,
3057,
8259,
29898,
16727,
7900,
10194,
5160,
3057,
8259,
1125,
13,
1678,
9995,
2385,
363,
6724,
8340,
2346,
8636,
373,
847,
29894,
29941,
29914,
12154,
29918,
16645,
1860,
3450,
29889,
13,
13,
1678,
13641,
292,
5354,
322,
2060,
29892,
470,
1404,
322,
2318,
2582,
297,
263,
7331,
29871,
29946,
29900,
29900,
9178,
13,
1678,
10729,
29892,
1951,
263,
6297,
12827,
1818,
1712,
871,
263,
2323,
5101,
310,
313,
7168,
29892,
13,
1678,
3646,
467,
512,
6124,
29892,
1951,
21166,
373,
6297,
3566,
1860,
16058,
871,
304,
13,
1678,
278,
2186,
1121,
29892,
11828,
4464,
2609,
367,
12420,
411,
474,
29897,
2318,
470,
13607,
29897,
13,
1678,
5354,
322,
23878,
29892,
1363,
372,
723,
2337,
1121,
297,
385,
4069,
1051,
29889,
13,
13,
1678,
9995,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29918,
1609,
29918,
7247,
29918,
392,
29918,
4836,
29898,
1311,
1125,
13,
4706,
1583,
29889,
657,
29918,
12154,
29918,
16645,
1860,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
29892,
13,
462,
462,
29871,
2060,
29918,
333,
29922,
1311,
29889,
4836,
29918,
333,
29892,
13,
462,
462,
29871,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
29933,
3035,
29918,
16244,
29897,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29918,
1609,
29918,
1792,
29918,
392,
29918,
2972,
29898,
1311,
1125,
13,
4706,
1583,
29889,
657,
29918,
12154,
29918,
16645,
1860,
29898,
1792,
29918,
333,
29922,
1311,
29889,
4381,
29918,
1792,
29918,
333,
29892,
13,
462,
462,
29871,
2318,
29918,
333,
29922,
1311,
29889,
4381,
29918,
2972,
29918,
333,
29892,
13,
462,
462,
29871,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
29933,
3035,
29918,
16244,
29897,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29918,
1609,
29918,
15987,
573,
29918,
392,
29918,
262,
2276,
1573,
29898,
1311,
1125,
13,
4706,
1583,
29889,
657,
29918,
12154,
29918,
16645,
1860,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
29892,
11828,
29922,
5574,
29892,
13,
462,
462,
29871,
23878,
29918,
517,
29918,
16418,
29922,
5574,
29892,
13,
462,
462,
29871,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
29933,
3035,
29918,
16244,
29897,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29918,
1609,
29918,
15987,
573,
29918,
392,
29918,
2972,
29898,
1311,
1125,
13,
4706,
1583,
29889,
657,
29918,
12154,
29918,
16645,
1860,
29898,
15987,
573,
29922,
5574,
29892,
13,
462,
462,
29871,
2318,
29918,
333,
29922,
1311,
29889,
4381,
29918,
2972,
29918,
333,
29892,
13,
462,
462,
29871,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
29933,
3035,
29918,
16244,
29897,
13,
13,
13,
1990,
1528,
280,
7900,
10194,
17392,
3057,
8259,
29898,
16727,
7900,
10194,
5160,
3057,
8259,
1125,
13,
1678,
9995,
2385,
363,
6724,
1513,
3566,
1860,
373,
847,
29894,
29941,
29914,
12154,
29918,
16645,
1860,
3450,
29889,
13,
13,
1678,
8797,
3566,
1860,
373,
263,
5354,
470,
2060,
505,
2779,
373,
963,
4153,
29892,
13,
1678,
2012,
310,
373,
1009,
2060,
21277,
29892,
474,
29889,
29872,
896,
526,
1661,
29899,
262,
2276,
1573,
29889,
512,
13,
1678,
6124,
29892,
2318,
1513,
3566,
1860,
526,
451,
17832,
304,
2318,
29915,
29879,
4160,
29889,
13,
13,
1678,
4321,
29879,
373,
445,
770,
1207,
4974,
1080,
373,
278,
8954,
322,
3450,
21166,
13,
1678,
310,
1513,
3566,
1860,
29889,
13,
13,
1678,
9995,
13,
13,
1678,
822,
903,
1688,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29898,
1311,
29892,
3579,
26705,
1125,
13,
4706,
9995,
15809,
21166,
1243,
1158,
29889,
13,
13,
4706,
7579,
304,
278,
4944,
18094,
29892,
445,
1158,
29901,
13,
4706,
448,
10017,
263,
716,
6297,
12827,
29936,
13,
4706,
448,
408,
643,
1372,
393,
1051,
6297,
3566,
1860,
3450,
1634,
13788,
5149,
29936,
13,
4706,
448,
7374,
267,
278,
2825,
6297,
12827,
29889,
13,
13,
4706,
584,
3207,
18094,
29901,
18094,
304,
367,
5545,
746,
18028,
6297,
3566,
1860,
29889,
13,
462,
4706,
15758,
18094,
526,
29901,
6297,
29918,
333,
29892,
5354,
29918,
333,
29892,
2060,
29918,
333,
29892,
13,
462,
4706,
2318,
29918,
333,
29892,
1404,
29918,
333,
322,
23878,
29918,
517,
29918,
16418,
29889,
13,
13,
4706,
9995,
13,
4706,
396,
383,
6090,
2322,
12827,
411,
4944,
18094,
13,
4706,
1243,
29918,
465,
10194,
353,
1583,
3032,
842,
29918,
4381,
29918,
465,
10194,
29918,
15697,
29898,
1068,
26705,
29897,
13,
13,
4706,
396,
6204,
716,
6297,
12827,
363,
445,
1243,
13,
4706,
13756,
13044,
23598,
29889,
465,
10194,
29918,
2754,
29889,
3258,
29918,
629,
424,
29898,
1068,
1688,
29918,
465,
10194,
29897,
13,
13,
4706,
396,
3617,
3806,
6297,
3566,
1860,
13,
4706,
3806,
29918,
16645,
1860,
353,
1583,
3032,
1761,
29918,
9684,
29918,
12154,
29918,
16645,
1860,
29898,
13,
9651,
3579,
1688,
29918,
465,
10194,
29897,
13,
13,
4706,
396,
3617,
6297,
3566,
1860,
515,
3450,
13,
4706,
2933,
29892,
2346,
29918,
2271,
353,
1583,
29889,
657,
29918,
12154,
29918,
16645,
1860,
29898,
1068,
1688,
29918,
465,
10194,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
5327,
29892,
13,
462,
462,
462,
259,
6503,
29918,
2271,
29922,
1972,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2435,
29898,
9684,
29918,
16645,
1860,
511,
13,
462,
308,
7431,
29898,
5327,
29889,
2914,
29889,
657,
877,
12154,
29918,
16645,
1860,
29915,
4961,
13,
13,
4706,
396,
16499,
393,
3806,
6297,
3566,
1860,
892,
4133,
491,
278,
3450,
1246,
13,
4706,
363,
12827,
297,
3806,
29918,
16645,
1860,
29901,
13,
9651,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
5327,
29892,
12827,
29897,
13,
13,
4706,
396,
21267,
2825,
6297,
12827,
13,
4706,
13756,
13044,
23598,
29889,
465,
10194,
29918,
2754,
29889,
8143,
29918,
629,
424,
29898,
1068,
1688,
29918,
465,
10194,
29897,
13,
13,
1678,
822,
903,
842,
29918,
4381,
29918,
465,
10194,
29918,
15697,
29898,
1311,
29892,
3579,
1131,
1091,
29879,
1125,
13,
4706,
9995,
17491,
2322,
1819,
363,
4567,
8393,
310,
6297,
12827,
29889,
13,
13,
4706,
960,
694,
11339,
29892,
3646,
470,
6297,
526,
4944,
29892,
896,
674,
2322,
304,
1819,
13,
4706,
515,
4559,
848,
29889,
13,
13,
4706,
584,
3207,
1098,
1091,
29879,
29901,
5235,
515,
263,
6297,
12827,
7855,
29889,
15758,
8393,
13,
462,
4706,
526,
29901,
6297,
29918,
333,
29892,
5354,
29918,
333,
29892,
2060,
29918,
333,
29892,
2318,
29918,
333,
29892,
1404,
29918,
333,
13,
462,
4706,
322,
23878,
29918,
517,
29918,
16418,
29889,
13,
13,
4706,
9995,
13,
4706,
565,
451,
738,
29898,
5182,
297,
1098,
1091,
29879,
13,
462,
259,
363,
3646,
297,
6702,
7247,
29918,
333,
742,
525,
16418,
29918,
333,
8785,
29901,
13,
9651,
1098,
1091,
29879,
1839,
4836,
29918,
333,
2033,
353,
1583,
29889,
4836,
29918,
333,
13,
13,
4706,
565,
451,
738,
29898,
7168,
297,
1098,
1091,
29879,
363,
11339,
297,
6702,
1792,
29918,
333,
742,
525,
2972,
29918,
333,
8785,
29901,
13,
9651,
1098,
1091,
29879,
1839,
1792,
29918,
333,
2033,
353,
1583,
29889,
4381,
29918,
1792,
29918,
333,
13,
13,
4706,
565,
525,
12154,
29918,
333,
29915,
451,
297,
1098,
1091,
29879,
29901,
13,
9651,
1098,
1091,
29879,
1839,
12154,
29918,
333,
2033,
353,
1583,
29889,
12154,
29918,
333,
13,
13,
4706,
736,
1098,
1091,
29879,
13,
13,
1678,
822,
903,
1761,
29918,
9684,
29918,
12154,
29918,
16645,
1860,
29898,
1311,
29892,
3579,
26705,
1125,
13,
4706,
9995,
29954,
5428,
278,
18094,
29892,
372,
3639,
3806,
1513,
6297,
3566,
1860,
29889,
13,
13,
4706,
584,
3207,
18094,
29901,
18094,
393,
674,
367,
5545,
746,
18028,
6297,
13,
462,
4706,
3566,
1860,
29889,
15758,
18094,
526,
29901,
6297,
29918,
333,
29892,
5354,
29918,
333,
29892,
13,
462,
4706,
2060,
29918,
333,
29892,
2318,
29918,
333,
29892,
1404,
29918,
333,
322,
13,
462,
4706,
23878,
29918,
517,
29918,
16418,
29889,
13,
13,
4706,
584,
18280,
29901,
278,
1051,
310,
278,
3806,
6297,
3566,
1860,
29889,
13,
13,
4706,
9995,
13,
4706,
736,
518,
1311,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
1068,
26705,
4638,
13,
13,
1678,
396,
4321,
4251,
2400,
1246,
278,
10035,
1243,
1158,
29892,
13138,
1422,
4175,
13,
1678,
396,
18240,
29889,
2514,
2153,
526,
4944,
408,
6790,
297,
278,
1158,
1024,
29892,
1156,
13,
1678,
396,
525,
1609,
4286,
1152,
1342,
29892,
1243,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29918,
1609,
29918,
4836,
29918,
1792,
29918,
392,
29918,
12154,
13,
1678,
396,
5717,
278,
10035,
1243,
1158,
411,
2060,
29918,
333,
29892,
1404,
29918,
333,
322,
6297,
29918,
333,
29889,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29918,
1609,
29918,
7247,
29898,
1311,
29892,
3579,
26705,
1125,
13,
4706,
1583,
3032,
1688,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
29892,
3579,
26705,
29897,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29918,
1609,
29918,
4836,
29898,
1311,
29892,
3579,
26705,
1125,
13,
4706,
1583,
3032,
1688,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29898,
4836,
29918,
333,
29922,
1311,
29889,
4836,
29918,
333,
29892,
3579,
26705,
29897,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29918,
1609,
29918,
1792,
29898,
1311,
29892,
3579,
26705,
1125,
13,
4706,
1583,
3032,
1688,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29898,
1792,
29918,
333,
29922,
1311,
29889,
4381,
29918,
1792,
29918,
333,
29892,
13,
462,
462,
4706,
3579,
26705,
29897,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29918,
1609,
29918,
2972,
29898,
1311,
29892,
3579,
26705,
1125,
13,
4706,
1583,
3032,
1688,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29898,
2972,
29918,
333,
29922,
1311,
29889,
4381,
29918,
2972,
29918,
333,
29892,
13,
462,
462,
4706,
3579,
26705,
29897,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29918,
1609,
29918,
12154,
29898,
1311,
29892,
3579,
26705,
1125,
13,
4706,
1583,
3032,
1688,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29898,
12154,
29918,
333,
29922,
1311,
29889,
12154,
29918,
333,
29892,
3579,
26705,
29897,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29918,
1609,
29918,
7247,
29918,
392,
29918,
1792,
29898,
1311,
29892,
3579,
26705,
1125,
13,
4706,
1583,
29889,
1688,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29918,
1609,
29918,
7247,
29898,
1792,
29918,
333,
29922,
1311,
29889,
4381,
29918,
1792,
29918,
333,
29892,
13,
462,
462,
462,
3579,
26705,
29897,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29918,
1609,
29918,
7247,
29918,
392,
29918,
2972,
29898,
1311,
29892,
3579,
26705,
1125,
13,
4706,
1583,
29889,
1688,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29918,
1609,
29918,
7247,
29898,
13,
9651,
2318,
29918,
333,
29922,
1311,
29889,
4381,
29918,
2972,
29918,
333,
29892,
3579,
26705,
29897,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29918,
1609,
29918,
4836,
29918,
392,
29918,
1792,
29898,
1311,
29892,
3579,
26705,
1125,
13,
4706,
1583,
29889,
1688,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29918,
1609,
29918,
4836,
29898,
1792,
29918,
333,
29922,
1311,
29889,
4381,
29918,
1792,
29918,
333,
29892,
13,
462,
462,
462,
29871,
3579,
26705,
29897,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29918,
1609,
29918,
4836,
29918,
392,
29918,
2972,
29898,
1311,
29892,
3579,
26705,
1125,
13,
4706,
1583,
29889,
1688,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29918,
1609,
29918,
4836,
29898,
13,
9651,
2318,
29918,
333,
29922,
1311,
29889,
4381,
29918,
2972,
29918,
333,
29892,
3579,
26705,
29897,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29918,
1609,
29918,
7247,
29918,
1792,
29918,
392,
29918,
12154,
29898,
1311,
29892,
3579,
26705,
1125,
13,
4706,
1583,
29889,
1688,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29918,
1609,
29918,
7247,
29918,
392,
29918,
1792,
29898,
12154,
29918,
333,
29922,
1311,
29889,
12154,
29918,
333,
29892,
13,
462,
462,
462,
3986,
3579,
26705,
29897,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29918,
1609,
29918,
7247,
29918,
2972,
29918,
392,
29918,
12154,
29898,
1311,
29892,
3579,
26705,
1125,
13,
4706,
1583,
29889,
1688,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29918,
1609,
29918,
7247,
29918,
392,
29918,
2972,
29898,
13,
9651,
6297,
29918,
333,
29922,
1311,
29889,
12154,
29918,
333,
29892,
3579,
26705,
29897,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29918,
1609,
29918,
4836,
29918,
1792,
29918,
392,
29918,
12154,
29898,
1311,
29892,
3579,
26705,
1125,
13,
4706,
1583,
29889,
1688,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29918,
1609,
29918,
4836,
29918,
392,
29918,
1792,
29898,
13,
9651,
6297,
29918,
333,
29922,
1311,
29889,
12154,
29918,
333,
29892,
3579,
26705,
29897,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29918,
1609,
29918,
4836,
29918,
2972,
29918,
392,
29918,
12154,
29898,
1311,
29892,
3579,
26705,
1125,
13,
4706,
1583,
29889,
1688,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29918,
1609,
29918,
4836,
29918,
392,
29918,
2972,
29898,
13,
9651,
6297,
29918,
333,
29922,
1311,
29889,
12154,
29918,
333,
29892,
3579,
26705,
29897,
13,
13,
13,
1990,
1528,
280,
7900,
10194,
797,
2276,
1573,
3057,
8259,
29898,
16727,
7900,
10194,
17392,
3057,
8259,
1125,
13,
1678,
9995,
2385,
363,
6724,
23878,
3566,
1860,
373,
847,
29894,
29941,
29914,
12154,
29918,
16645,
1860,
3450,
29889,
13,
13,
1678,
512,
2276,
1573,
3566,
1860,
373,
263,
5354,
470,
2060,
505,
694,
2779,
373,
963,
13,
1678,
4153,
29892,
541,
373,
278,
9279,
1090,
963,
2012,
29889,
13,
13,
1678,
4321,
29879,
373,
445,
770,
437,
451,
1207,
4974,
1080,
373,
278,
2779,
310,
23878,
13,
1678,
3566,
1860,
29892,
541,
297,
1009,
8954,
322,
3450,
21166,
29889,
13,
13,
1678,
9995,
13,
13,
1678,
822,
903,
1688,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29898,
1311,
29892,
3579,
26705,
1125,
13,
4706,
9995,
2528,
23878,
29918,
517,
29918,
4836,
4175,
304,
3806,
7855,
297,
6987,
1213,
15945,
13,
4706,
2428,
29898,
16727,
7900,
10194,
797,
2276,
1573,
3057,
8259,
29892,
13,
795,
1583,
467,
29918,
1688,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29898,
262,
2276,
1573,
29918,
517,
29918,
16418,
29922,
5574,
29892,
13,
462,
462,
1669,
3579,
26705,
29897,
13,
13,
13,
1990,
1528,
280,
7900,
10194,
13971,
573,
3057,
8259,
29898,
16727,
7900,
10194,
797,
2276,
1573,
3057,
8259,
1125,
13,
1678,
9995,
2385,
363,
6724,
20328,
9545,
373,
847,
29894,
29941,
29914,
12154,
29918,
16645,
1860,
3450,
29889,
13,
13,
1678,
512,
2276,
1573,
3566,
1860,
373,
263,
5354,
470,
2060,
505,
694,
2779,
373,
963,
13,
1678,
4153,
29892,
541,
373,
278,
9279,
1090,
963,
2012,
29889,
13,
13,
1678,
4321,
29879,
373,
445,
770,
1207,
4974,
1080,
373,
278,
2779,
310,
23878,
3566,
1860,
13,
1678,
322,
3450,
21166,
29889,
13,
13,
1678,
9995,
13,
13,
1678,
822,
903,
657,
29918,
12154,
29918,
16645,
1860,
29918,
1972,
29918,
2271,
29898,
1311,
29892,
3579,
26705,
1125,
13,
4706,
9995,
11609,
11828,
6297,
3566,
1860,
2346,
3988,
515,
2183,
18094,
29889,
13,
13,
4706,
1152,
1243,
3519,
297,
445,
770,
29892,
20744,
573,
674,
2337,
367,
1565,
29889,
1094,
297,
13,
4706,
11828,
4464,
29892,
23878,
29918,
517,
29918,
16418,
29892,
2318,
29918,
333,
29892,
5354,
29918,
333,
322,
13,
4706,
2060,
29918,
333,
674,
2337,
367,
553,
3200,
1241,
287,
515,
4944,
18094,
29889,
13,
13,
4706,
584,
3207,
18094,
29901,
2346,
4128,
526,
2825,
411,
278,
4944,
18094,
29889,
13,
462,
4706,
15758,
18094,
526,
29901,
6297,
29918,
333,
29892,
5354,
29918,
333,
29892,
2060,
29918,
333,
29892,
13,
462,
4706,
2318,
29918,
333,
29892,
1404,
29918,
333,
322,
23878,
29918,
517,
29918,
16418,
29889,
13,
13,
4706,
584,
18280,
29901,
6297,
3566,
1860,
2346,
3988,
29889,
13,
13,
4706,
9995,
13,
4706,
2346,
29918,
26705,
353,
18094,
29889,
8552,
580,
13,
4706,
2346,
29918,
26705,
29889,
7323,
877,
262,
2276,
1573,
29918,
517,
29918,
16418,
1495,
13,
13,
4706,
2346,
29918,
26705,
29889,
7323,
877,
2972,
29918,
333,
742,
6213,
29897,
13,
4706,
2346,
29918,
26705,
29889,
7323,
877,
7247,
29918,
333,
742,
6213,
29897,
13,
4706,
2346,
29918,
26705,
29889,
7323,
877,
4836,
29918,
333,
742,
6213,
29897,
13,
13,
4706,
736,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
1972,
29918,
2271,
29898,
15987,
573,
29922,
5574,
29892,
13,
462,
462,
462,
1678,
3579,
1972,
29918,
26705,
29897,
13,
13,
1678,
822,
903,
1761,
29918,
9684,
29918,
12154,
29918,
16645,
1860,
29898,
1311,
29892,
3579,
26705,
1125,
13,
4706,
9995,
29954,
5428,
278,
18094,
29892,
372,
3639,
3806,
1513,
6297,
3566,
1860,
29889,
13,
13,
4706,
584,
3207,
18094,
29901,
18094,
393,
674,
367,
5545,
746,
18028,
6297,
13,
462,
4706,
3566,
1860,
29889,
15758,
18094,
526,
29901,
6297,
29918,
333,
29892,
5354,
29918,
333,
29892,
13,
462,
4706,
2060,
29918,
333,
29892,
2318,
29918,
333,
29892,
1404,
29918,
333,
322,
13,
462,
4706,
23878,
29918,
517,
29918,
16418,
29889,
13,
13,
4706,
584,
18280,
29901,
278,
1051,
310,
278,
3806,
6297,
3566,
1860,
29889,
13,
13,
4706,
9995,
13,
4706,
396,
3617,
12827,
1544,
29892,
304,
367,
1925,
373,
525,
4965,
2396,
11117,
465,
10194,
2396,
1544,
29913,
13,
4706,
12827,
29918,
2324,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
2324,
29898,
1068,
26705,
29897,
13,
13,
4706,
396,
12027,
392,
2318,
28512,
13,
4706,
1404,
29918,
4841,
353,
518,
8516,
29962,
13,
4706,
565,
18094,
29889,
657,
877,
2972,
29918,
333,
29374,
13,
9651,
1404,
29918,
4841,
353,
518,
1792,
1839,
333,
2033,
363,
1404,
297,
13,
462,
4706,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29889,
1761,
29918,
7193,
29918,
262,
29918,
2972,
29898,
13,
462,
9651,
18094,
1839,
2972,
29918,
333,
2033,
4638,
13,
4706,
1683,
29901,
13,
9651,
1404,
29918,
4841,
353,
518,
1311,
29889,
4381,
29918,
1792,
29918,
333,
29962,
13,
13,
4706,
396,
12027,
392,
6297,
20328,
13,
4706,
2060,
29918,
4841,
353,
518,
8516,
29962,
13,
4706,
565,
18094,
29889,
657,
877,
7247,
29918,
333,
29374,
13,
9651,
2060,
29918,
4841,
353,
518,
4836,
1839,
333,
2033,
363,
2060,
297,
13,
462,
965,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
1761,
29918,
16418,
29918,
262,
29918,
7247,
29898,
13,
462,
1669,
18094,
29889,
7323,
877,
7247,
29918,
333,
8785,
29962,
13,
4706,
1683,
29901,
13,
9651,
2060,
29918,
4841,
353,
518,
4836,
1839,
333,
2033,
363,
2060,
297,
13,
462,
965,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
1761,
29918,
16418,
29918,
262,
29918,
1491,
8336,
29898,
13,
462,
1669,
1583,
29889,
4836,
29918,
333,
4638,
13,
13,
4706,
396,
11796,
29872,
3806,
6297,
3566,
1860,
13,
4706,
3566,
1860,
353,
5159,
13,
4706,
363,
2060,
29918,
333,
297,
2060,
29918,
4841,
29901,
13,
9651,
18094,
1839,
4836,
29918,
333,
2033,
353,
2060,
29918,
333,
13,
9651,
363,
1404,
29918,
333,
297,
1404,
29918,
4841,
29901,
13,
18884,
18094,
1839,
1792,
29918,
333,
2033,
353,
1404,
29918,
333,
13,
18884,
3566,
1860,
29889,
4397,
29898,
1311,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
462,
1678,
1544,
29922,
465,
10194,
29918,
2324,
29892,
3579,
26705,
876,
13,
13,
4706,
736,
3566,
1860,
13,
13,
13,
1990,
4007,
10194,
797,
27069,
749,
3057,
8259,
29898,
1688,
29918,
29894,
29941,
29889,
15078,
1319,
3057,
8259,
29892,
13,
462,
462,
1678,
1243,
29918,
29894,
29941,
29889,
7900,
10194,
3057,
29924,
861,
262,
1125,
13,
1678,
9995,
3057,
20328,
2181,
566,
322,
967,
9545,
1213,
15945,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
6979,
29918,
3166,
29918,
262,
2276,
1573,
29918,
1792,
29918,
7247,
29918,
12154,
29918,
629,
1934,
29898,
1311,
1125,
13,
4706,
396,
6204,
263,
716,
1404,
304,
9801,
393,
694,
16690,
338,
7500,
515,
4559,
848,
13,
4706,
1404,
353,
5190,
29889,
3258,
29918,
1792,
29898,
13,
9651,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29892,
5354,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
13,
4706,
1723,
13,
13,
4706,
396,
22402,
5354,
322,
2060,
10760,
848,
13,
4706,
5354,
29918,
5150,
29918,
1272,
353,
1583,
29889,
4282,
29918,
23055,
29918,
3827,
29898,
13,
9651,
1404,
29918,
333,
29922,
1792,
1839,
333,
7464,
13,
9651,
4800,
29922,
29966,
25711,
17013,
29958,
1839,
5630,
7464,
13,
9651,
5354,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
29897,
13,
4706,
2060,
29918,
5150,
29918,
1272,
353,
1583,
29889,
4282,
29918,
23055,
29918,
3827,
29898,
13,
9651,
1404,
29918,
333,
29922,
1792,
1839,
333,
7464,
13,
9651,
4800,
29922,
29966,
25711,
17013,
29958,
1839,
5630,
7464,
13,
9651,
2060,
29918,
333,
29922,
1311,
29889,
4836,
29918,
333,
29897,
13,
13,
4706,
396,
5399,
278,
1404,
2609,
679,
263,
5354,
3643,
263,
2060,
5993,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
7247,
29918,
5150,
29918,
1272,
29892,
13,
462,
632,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
29965,
3521,
2692,
29950,
1955,
26664,
3352,
29897,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
4836,
29918,
5150,
29918,
1272,
29892,
13,
462,
632,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
29965,
3521,
2692,
29950,
1955,
26664,
3352,
29897,
13,
13,
4706,
396,
18102,
1661,
29899,
262,
2276,
1573,
6297,
363,
1404,
373,
5354,
13,
4706,
1661,
29918,
262,
2276,
29918,
566,
29918,
2324,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
2324,
29898,
13,
9651,
5354,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
29892,
1404,
29918,
333,
29922,
1792,
1839,
333,
7464,
6297,
29918,
333,
29922,
1311,
29889,
12154,
29918,
333,
29897,
13,
4706,
1583,
29889,
649,
29898,
5464,
29918,
262,
2276,
29918,
566,
29918,
2324,
29897,
13,
13,
4706,
396,
5399,
278,
1404,
508,
679,
871,
263,
5354,
5993,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
7247,
29918,
5150,
29918,
1272,
29897,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
4836,
29918,
5150,
29918,
1272,
29892,
13,
462,
632,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
29965,
3521,
2692,
29950,
1955,
26664,
3352,
29897,
13,
13,
4706,
396,
6204,
23878,
6297,
13,
4706,
23878,
29918,
12154,
353,
5190,
29889,
1482,
29918,
12154,
29918,
999,
29898,
978,
2433,
262,
2276,
1573,
1495,
13,
4706,
13756,
13044,
23598,
29889,
12154,
29918,
2754,
29889,
3258,
29918,
12154,
29898,
262,
2276,
1573,
29918,
12154,
1839,
333,
7464,
23878,
29918,
12154,
29897,
13,
13,
4706,
396,
18102,
23878,
6297,
363,
1404,
373,
5354,
13,
4706,
7846,
29918,
566,
29918,
2324,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
2324,
29898,
13,
9651,
5354,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
29892,
1404,
29918,
333,
29922,
1792,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
262,
2276,
1573,
29918,
12154,
1839,
333,
7464,
23878,
29918,
517,
29918,
16418,
29922,
5574,
29897,
13,
4706,
1583,
29889,
649,
29898,
262,
2276,
29918,
566,
29918,
2324,
29897,
13,
13,
4706,
396,
5399,
278,
1404,
508,
679,
1716,
263,
5354,
322,
263,
2060,
5993,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
7247,
29918,
5150,
29918,
1272,
29897,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
4836,
29918,
5150,
29918,
1272,
29897,
13,
13,
4706,
396,
21267,
23878,
16690,
13,
4706,
1583,
29889,
8143,
29898,
262,
2276,
29918,
566,
29918,
2324,
29897,
13,
13,
4706,
396,
5399,
278,
1404,
508,
871,
679,
263,
5354,
5993,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
7247,
29918,
5150,
29918,
1272,
29897,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
4836,
29918,
5150,
29918,
1272,
29892,
13,
462,
632,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
29965,
3521,
2692,
29950,
1955,
26664,
3352,
29897,
13,
13,
4706,
396,
21267,
1661,
29899,
262,
2276,
1573,
16690,
13,
4706,
1583,
29889,
8143,
29898,
5464,
29918,
262,
2276,
29918,
566,
29918,
2324,
29897,
13,
13,
4706,
396,
5399,
278,
1404,
2609,
679,
263,
5354,
5993,
15128,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
7247,
29918,
5150,
29918,
1272,
29892,
13,
462,
632,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
29965,
3521,
2692,
29950,
1955,
26664,
3352,
29897,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
6979,
29918,
3166,
29918,
262,
2276,
1573,
29918,
2972,
29918,
7247,
29918,
12154,
29918,
629,
1934,
29898,
1311,
1125,
13,
4706,
396,
6204,
263,
716,
2318,
322,
1925,
263,
716,
1404,
297,
372,
304,
13,
4706,
396,
9801,
393,
694,
16690,
338,
7500,
515,
4559,
848,
13,
4706,
1404,
353,
5190,
29889,
3258,
29918,
1792,
29898,
13,
9651,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29892,
5354,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
13,
4706,
1723,
13,
13,
4706,
2318,
353,
5190,
29889,
1482,
29918,
2972,
29918,
999,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
1839,
333,
11287,
13,
4706,
2318,
353,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29889,
3258,
29918,
2972,
29898,
2972,
29897,
13,
4706,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29889,
1202,
29918,
1792,
29918,
517,
29918,
2972,
29898,
1792,
1839,
333,
7464,
2318,
1839,
333,
11287,
13,
13,
4706,
396,
22402,
5354,
322,
2060,
10760,
848,
13,
4706,
5354,
29918,
5150,
29918,
1272,
353,
1583,
29889,
4282,
29918,
23055,
29918,
3827,
29898,
13,
9651,
1404,
29918,
333,
29922,
1792,
1839,
333,
7464,
13,
9651,
4800,
29922,
29966,
25711,
17013,
29958,
1839,
5630,
7464,
13,
9651,
5354,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
29897,
13,
4706,
2060,
29918,
5150,
29918,
1272,
353,
1583,
29889,
4282,
29918,
23055,
29918,
3827,
29898,
13,
9651,
1404,
29918,
333,
29922,
1792,
1839,
333,
7464,
13,
9651,
4800,
29922,
1792,
1839,
5630,
7464,
13,
9651,
2060,
29918,
333,
29922,
1311,
29889,
4836,
29918,
333,
29897,
13,
13,
4706,
396,
5399,
278,
1404,
2609,
679,
263,
5354,
3643,
263,
2060,
5993,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
7247,
29918,
5150,
29918,
1272,
29892,
13,
462,
632,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
29965,
3521,
2692,
29950,
1955,
26664,
3352,
29897,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
4836,
29918,
5150,
29918,
1272,
29892,
13,
462,
632,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
29965,
3521,
2692,
29950,
1955,
26664,
3352,
29897,
13,
13,
4706,
396,
18102,
1661,
29899,
262,
2276,
1573,
6297,
363,
1404,
373,
5354,
13,
4706,
1661,
29918,
262,
2276,
29918,
29887,
29881,
29918,
2324,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
2324,
29898,
13,
9651,
5354,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
29892,
1404,
29918,
333,
29922,
1792,
1839,
333,
7464,
6297,
29918,
333,
29922,
1311,
29889,
12154,
29918,
333,
29897,
13,
4706,
1583,
29889,
649,
29898,
5464,
29918,
262,
2276,
29918,
29887,
29881,
29918,
2324,
29897,
13,
13,
4706,
396,
5399,
278,
1404,
508,
679,
871,
263,
5354,
5993,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
7247,
29918,
5150,
29918,
1272,
29897,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
4836,
29918,
5150,
29918,
1272,
29892,
13,
462,
632,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
29965,
3521,
2692,
29950,
1955,
26664,
3352,
29897,
13,
13,
4706,
396,
6204,
23878,
6297,
13,
4706,
23878,
29918,
12154,
353,
5190,
29889,
1482,
29918,
12154,
29918,
999,
29898,
978,
2433,
262,
2276,
1573,
1495,
13,
4706,
13756,
13044,
23598,
29889,
12154,
29918,
2754,
29889,
3258,
29918,
12154,
29898,
262,
2276,
1573,
29918,
12154,
1839,
333,
7464,
23878,
29918,
12154,
29897,
13,
13,
4706,
396,
18102,
23878,
6297,
363,
1404,
373,
5354,
13,
4706,
7846,
29918,
29887,
29881,
29918,
2324,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
2324,
29898,
13,
9651,
5354,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
29892,
1404,
29918,
333,
29922,
1792,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
262,
2276,
1573,
29918,
12154,
1839,
333,
7464,
23878,
29918,
517,
29918,
16418,
29922,
5574,
29897,
13,
4706,
1583,
29889,
649,
29898,
262,
2276,
29918,
29887,
29881,
29918,
2324,
29897,
13,
13,
4706,
396,
5399,
278,
1404,
508,
679,
1716,
263,
5354,
322,
263,
2060,
5993,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
7247,
29918,
5150,
29918,
1272,
29897,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
4836,
29918,
5150,
29918,
1272,
29897,
13,
13,
4706,
396,
21267,
23878,
16690,
13,
4706,
1583,
29889,
8143,
29898,
262,
2276,
29918,
29887,
29881,
29918,
2324,
29897,
13,
13,
4706,
396,
5399,
278,
1404,
508,
871,
679,
263,
5354,
5993,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
7247,
29918,
5150,
29918,
1272,
29897,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
4836,
29918,
5150,
29918,
1272,
29892,
13,
462,
632,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
29965,
3521,
2692,
29950,
1955,
26664,
3352,
29897,
13,
13,
4706,
396,
21267,
1661,
29899,
262,
2276,
1573,
16690,
13,
4706,
1583,
29889,
8143,
29898,
5464,
29918,
262,
2276,
29918,
29887,
29881,
29918,
2324,
29897,
13,
13,
4706,
396,
5399,
278,
1404,
2609,
679,
263,
5354,
5993,
15128,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
7247,
29918,
5150,
29918,
1272,
29892,
13,
462,
632,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
29965,
3521,
2692,
29950,
1955,
26664,
3352,
29897,
13,
13,
1678,
822,
903,
1688,
29918,
7283,
566,
29918,
262,
2276,
1573,
29918,
392,
29918,
11851,
29918,
465,
10194,
29918,
265,
29918,
5182,
29898,
1311,
29892,
3646,
29918,
2271,
1125,
13,
4706,
931,
353,
12865,
29889,
12673,
29889,
329,
29883,
3707,
580,
13,
4706,
411,
3889,
28530,
348,
29889,
9021,
911,
29918,
2230,
29898,
2230,
29897,
408,
14671,
2256,
29918,
12673,
29901,
13,
9651,
396,
6204,
263,
716,
6297,
304,
4772,
3566,
1860,
7500,
515,
4559,
848,
13,
9651,
6297,
353,
5190,
29889,
1482,
29918,
12154,
29918,
999,
580,
13,
9651,
13756,
13044,
23598,
29889,
12154,
29918,
2754,
29889,
3258,
29918,
12154,
29898,
12154,
1839,
333,
7464,
6297,
29897,
13,
13,
9651,
396,
22402,
24295,
13,
9651,
1513,
29918,
2271,
353,
14210,
29879,
29914,
7193,
22584,
29879,
29914,
307,
793,
22584,
29879,
29915,
1273,
313,
13,
18884,
3646,
29918,
2271,
29892,
1583,
29889,
1792,
29918,
333,
29892,
6297,
1839,
333,
11287,
13,
9651,
23878,
29918,
2271,
353,
6702,
29914,
3267,
29899,
1177,
4448,
1806,
22584,
29879,
29914,
262,
2276,
1573,
29918,
517,
29918,
16418,
29915,
1273,
13,
462,
632,
1513,
29918,
2271,
29889,
29880,
17010,
11219,
8785,
13,
13,
9651,
396,
6204,
278,
1513,
12827,
13,
9651,
1583,
29889,
649,
29898,
11851,
29918,
2271,
29897,
13,
9651,
396,
5399,
278,
1513,
12827,
4864,
29892,
541,
278,
23878,
697,
947,
13,
9651,
396,
451,
13,
9651,
1583,
29889,
2813,
29898,
11851,
29918,
2271,
29897,
13,
9651,
1583,
29889,
2813,
29898,
262,
2276,
1573,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
12256,
29918,
5800,
18783,
29897,
13,
13,
9651,
396,
2567,
788,
278,
23878,
12827,
13,
9651,
1583,
29889,
649,
29898,
262,
2276,
1573,
29918,
2271,
29897,
13,
9651,
396,
5399,
1716,
278,
1513,
322,
23878,
12827,
1863,
13,
9651,
1583,
29889,
2813,
29898,
11851,
29918,
2271,
29897,
13,
9651,
1583,
29889,
2813,
29898,
262,
2276,
1573,
29918,
2271,
29897,
13,
13,
9651,
396,
21267,
26377,
12827,
13,
9651,
1583,
29889,
8143,
29898,
262,
2276,
1573,
29918,
2271,
29897,
13,
9651,
14671,
2256,
29918,
12673,
29889,
24667,
29898,
4181,
29922,
12673,
29889,
9346,
287,
2554,
29898,
23128,
29922,
29896,
876,
13,
9651,
396,
5399,
278,
1513,
12827,
4864,
29892,
541,
278,
23878,
697,
947,
13,
9651,
396,
451,
13,
9651,
1583,
29889,
2813,
29898,
11851,
29918,
2271,
29897,
13,
9651,
1583,
29889,
2813,
29898,
262,
2276,
1573,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
12256,
29918,
5800,
18783,
29897,
13,
13,
9651,
396,
2567,
5217,
278,
23878,
12827,
13,
9651,
1583,
29889,
8143,
29898,
11851,
29918,
2271,
29897,
13,
9651,
396,
5399,
393,
5642,
310,
963,
1863,
13,
9651,
1583,
29889,
2813,
29898,
11851,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
12256,
29918,
5800,
18783,
29897,
13,
9651,
1583,
29889,
2813,
29898,
262,
2276,
1573,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
12256,
29918,
5800,
18783,
29897,
13,
13,
1678,
822,
1243,
29918,
7283,
566,
29918,
262,
2276,
1573,
29918,
392,
29918,
11851,
29918,
465,
10194,
29918,
265,
29918,
3129,
2708,
29898,
1311,
1125,
13,
4706,
1583,
3032,
1688,
29918,
7283,
566,
29918,
262,
2276,
1573,
29918,
392,
29918,
11851,
29918,
465,
10194,
29918,
265,
29918,
5182,
29898,
13,
9651,
8207,
3129,
2708,
22584,
29879,
29915,
1273,
1583,
29889,
7247,
29918,
333,
29897,
13,
13,
1678,
822,
1243,
29918,
7283,
566,
29918,
262,
2276,
1573,
29918,
392,
29918,
11851,
29918,
465,
10194,
29918,
265,
29918,
16418,
29898,
1311,
1125,
13,
4706,
1583,
3032,
1688,
29918,
7283,
566,
29918,
262,
2276,
1573,
29918,
392,
29918,
11851,
29918,
465,
10194,
29918,
265,
29918,
5182,
29898,
13,
9651,
8207,
16418,
22584,
29879,
29915,
1273,
1583,
29889,
4836,
29918,
333,
29897,
13,
13,
1678,
822,
1243,
29918,
7283,
566,
29918,
1792,
29918,
262,
2276,
1573,
29918,
7247,
29918,
12154,
29918,
629,
1934,
29898,
1311,
1125,
13,
4706,
6297,
29918,
1761,
353,
5159,
13,
4706,
363,
903,
297,
3464,
29898,
29906,
1125,
13,
9651,
6297,
353,
5190,
29889,
1482,
29918,
12154,
29918,
999,
580,
13,
9651,
13756,
13044,
23598,
29889,
12154,
29918,
2754,
29889,
3258,
29918,
12154,
29898,
12154,
1839,
333,
7464,
6297,
29897,
13,
9651,
6297,
29918,
1761,
29889,
4397,
29898,
12154,
29897,
13,
13,
4706,
396,
6204,
263,
1661,
29899,
262,
2276,
1573,
6297,
408,
263,
13345,
3955,
13,
4706,
13756,
13044,
23598,
29889,
465,
10194,
29918,
2754,
29889,
3258,
29918,
629,
424,
29898,
13,
9651,
6297,
29918,
1761,
29961,
29896,
22322,
333,
7464,
1404,
29918,
333,
29922,
1311,
29889,
1792,
1839,
333,
7464,
13,
9651,
5354,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
29897,
13,
13,
4706,
2967,
29918,
10855,
29918,
2271,
353,
313,
13,
9651,
8207,
3267,
29899,
1177,
4448,
1806,
29914,
3129,
2708,
22584,
29898,
7247,
29918,
333,
29897,
29879,
29914,
7193,
22584,
29898,
1792,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
426,
13,
18884,
525,
7247,
29918,
333,
2396,
1583,
29889,
7247,
29918,
333,
29892,
13,
18884,
525,
1792,
29918,
333,
2396,
1583,
29889,
1792,
1839,
333,
2033,
1800,
13,
4706,
4509,
29918,
2271,
353,
14210,
29898,
10855,
29918,
2271,
29897,
29879,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29914,
262,
2276,
1573,
29918,
517,
29918,
16418,
29915,
1273,
426,
13,
9651,
525,
10855,
29918,
2271,
2396,
2967,
29918,
10855,
29918,
2271,
29892,
13,
9651,
525,
12154,
29918,
333,
2396,
6297,
29918,
1761,
29961,
29900,
22322,
333,
2033,
29913,
13,
4706,
4333,
29918,
2271,
353,
2967,
29918,
10855,
29918,
2271,
718,
8207,
262,
2276,
1573,
29918,
517,
29918,
16418,
29915,
13,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
13,
4706,
396,
5399,
591,
508,
1303,
372,
1250,
13,
4706,
1583,
29889,
2813,
29898,
14242,
29918,
2271,
29897,
13,
4706,
1583,
29889,
657,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
6632,
29918,
22412,
3919,
29897,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
1293,
5103,
29898,
29878,
29892,
2143,
29922,
12154,
29918,
1761,
29961,
29900,
1402,
13,
462,
462,
308,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
13,
4706,
396,
2567,
5217,
322,
1423,
967,
7695,
13,
4706,
1583,
29889,
8143,
29898,
14242,
29918,
2271,
29897,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
1293,
5103,
29898,
29878,
29892,
3806,
29918,
2848,
29922,
29900,
29892,
13,
462,
462,
308,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
13,
1678,
822,
1243,
29918,
1761,
29918,
12154,
29918,
16645,
1860,
29918,
1454,
29918,
262,
2276,
1573,
29918,
7247,
29918,
629,
1934,
29898,
1311,
1125,
13,
4706,
9995,
5594,
4954,
7194,
847,
12154,
29918,
16645,
1860,
411,
23878,
5354,
867,
1934,
29952,
1412,
13,
13,
4706,
4321,
8402,
29901,
13,
13,
4706,
448,
6204,
29871,
29946,
16178,
13,
4706,
448,
6204,
263,
5354,
411,
263,
1404,
322,
1023,
9279,
13,
4706,
448,
4007,
647,
1023,
1513,
16178,
304,
2060,
29896,
13,
4706,
448,
4007,
647,
263,
13345,
3955,
6297,
304,
2060,
29906,
13,
4706,
448,
26246,
278,
3988,
304,
788,
23878,
6297,
304,
278,
5354,
13,
4706,
448,
26246,
278,
3988,
304,
1423,
372,
338,
6200,
373,
278,
5354,
13,
4706,
448,
26246,
278,
3988,
304,
1423,
11828,
16178,
373,
2060,
29896,
448,
445,
13,
3986,
881,
736,
29871,
29941,
16178,
29889,
13,
13,
4706,
9995,
13,
4706,
6297,
29918,
1761,
353,
5159,
13,
4706,
363,
903,
297,
3464,
29898,
29946,
1125,
13,
9651,
6297,
353,
5190,
29889,
1482,
29918,
12154,
29918,
999,
580,
13,
9651,
13756,
13044,
23598,
29889,
12154,
29918,
2754,
29889,
3258,
29918,
12154,
29898,
12154,
1839,
333,
7464,
6297,
29897,
13,
9651,
6297,
29918,
1761,
29889,
4397,
29898,
12154,
29897,
13,
13,
4706,
5354,
353,
5190,
29889,
1482,
29918,
7247,
29918,
999,
580,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
7247,
29898,
7247,
1839,
333,
7464,
5354,
29897,
13,
4706,
1404,
29896,
353,
5190,
29889,
3258,
29918,
1792,
29898,
13,
9651,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29892,
5354,
29918,
333,
29922,
7247,
1839,
333,
2033,
13,
4706,
1723,
13,
4706,
2060,
29896,
353,
5190,
29889,
1482,
29918,
4836,
29918,
999,
29898,
7247,
29918,
333,
29922,
7247,
1839,
333,
11287,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
4836,
29898,
4836,
29896,
1839,
333,
7464,
2060,
29896,
29897,
13,
4706,
2060,
29906,
353,
5190,
29889,
1482,
29918,
4836,
29918,
999,
29898,
7247,
29918,
333,
29922,
7247,
1839,
333,
11287,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
4836,
29898,
4836,
29906,
1839,
333,
7464,
2060,
29906,
29897,
13,
4706,
396,
3462,
777,
16178,
304,
278,
2060,
13,
4706,
13756,
13044,
23598,
29889,
465,
10194,
29918,
2754,
29889,
1202,
29918,
12154,
29918,
517,
29918,
1792,
29918,
392,
29918,
4836,
29898,
13,
9651,
1404,
29896,
1839,
333,
7464,
2060,
29896,
1839,
333,
7464,
6297,
29918,
1761,
29961,
29900,
22322,
333,
11287,
13,
4706,
13756,
13044,
23598,
29889,
465,
10194,
29918,
2754,
29889,
1202,
29918,
12154,
29918,
517,
29918,
1792,
29918,
392,
29918,
4836,
29898,
13,
9651,
1404,
29896,
1839,
333,
7464,
2060,
29896,
1839,
333,
7464,
6297,
29918,
1761,
29961,
29896,
22322,
333,
11287,
13,
4706,
396,
6317,
392,
697,
373,
263,
1422,
2060,
408,
263,
13345,
3955,
13,
4706,
13756,
13044,
23598,
29889,
465,
10194,
29918,
2754,
29889,
1202,
29918,
12154,
29918,
517,
29918,
1792,
29918,
392,
29918,
4836,
29898,
13,
9651,
1404,
29896,
1839,
333,
7464,
2060,
29906,
1839,
333,
7464,
6297,
29918,
1761,
29961,
29906,
22322,
333,
11287,
13,
13,
4706,
396,
2567,
1653,
1749,
23878,
6297,
373,
278,
5354,
13,
4706,
2967,
29918,
10855,
29918,
2271,
353,
313,
13,
9651,
8207,
3267,
29899,
1177,
4448,
1806,
29914,
3129,
2708,
22584,
29898,
7247,
29918,
333,
29897,
29879,
29914,
7193,
22584,
29898,
1792,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
426,
13,
18884,
525,
7247,
29918,
333,
2396,
5354,
1839,
333,
7464,
13,
18884,
525,
1792,
29918,
333,
2396,
1404,
29896,
1839,
333,
2033,
1800,
13,
4706,
4509,
29918,
2271,
353,
14210,
29898,
10855,
29918,
2271,
29897,
29879,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29914,
262,
2276,
1573,
29918,
517,
29918,
16418,
29915,
1273,
426,
13,
9651,
525,
10855,
29918,
2271,
2396,
2967,
29918,
10855,
29918,
2271,
29892,
13,
9651,
525,
12154,
29918,
333,
2396,
6297,
29918,
1761,
29961,
29941,
22322,
333,
2033,
29913,
13,
4706,
4333,
29918,
2271,
353,
2967,
29918,
10855,
29918,
2271,
718,
8207,
262,
2276,
1573,
29918,
517,
29918,
16418,
29915,
13,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
4706,
1583,
29889,
2813,
29898,
14242,
29918,
2271,
29897,
13,
4706,
1583,
29889,
657,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
6632,
29918,
22412,
3919,
29897,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
1293,
5103,
29898,
29878,
29892,
2143,
29922,
12154,
29918,
1761,
29961,
29941,
1402,
13,
462,
462,
308,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
13,
4706,
396,
2567,
671,
278,
1051,
5354,
6297,
3566,
1860,
7882,
304,
1423,
565,
445,
13,
4706,
396,
338,
5134,
13,
4706,
4333,
29918,
2271,
353,
313,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
1792,
29889,
333,
16328,
29898,
1792,
29918,
333,
29897,
29879,
29915,
13,
9651,
525,
29987,
6078,
29889,
7247,
29889,
333,
16328,
29898,
7247,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
1792,
29918,
333,
2396,
1404,
29896,
1839,
333,
7464,
13,
18884,
525,
7247,
29918,
333,
2396,
5354,
1839,
333,
2033,
1800,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
29878,
29892,
13,
462,
462,
462,
259,
3806,
29918,
2848,
29922,
29896,
29892,
13,
462,
462,
462,
259,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
4706,
11430,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
5354,
29918,
333,
29922,
7247,
1839,
333,
7464,
1404,
29918,
333,
29922,
1792,
29896,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
12154,
29918,
1761,
29961,
29941,
22322,
333,
7464,
23878,
29918,
517,
29918,
16418,
29922,
5574,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
11430,
29918,
10041,
29897,
13,
13,
4706,
396,
2567,
2244,
363,
11828,
1051,
6297,
3566,
1860,
448,
278,
6297,
881,
13,
4706,
396,
2507,
964,
263,
2060,
6297,
29892,
3412,
411,
278,
1023,
1513,
16178,
393,
526,
13,
4706,
396,
373,
278,
2060,
13,
4706,
4333,
29918,
2271,
353,
313,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
15987,
573,
29987,
1792,
29889,
333,
16328,
29898,
1792,
29918,
333,
29897,
29879,
29915,
13,
9651,
525,
29987,
6078,
29889,
4836,
29889,
333,
16328,
29898,
4836,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
1792,
29918,
333,
2396,
1404,
29896,
1839,
333,
7464,
13,
18884,
525,
4836,
29918,
333,
2396,
2060,
29896,
1839,
333,
2033,
1800,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
29878,
29892,
13,
462,
462,
462,
259,
3806,
29918,
2848,
29922,
29941,
29892,
13,
462,
462,
462,
259,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
4706,
396,
530,
11828,
6297,
363,
385,
23878,
6297,
674,
367,
263,
2060,
13,
4706,
396,
7855,
29892,
411,
263,
5354,
1544,
304,
278,
23878,
12827,
13,
4706,
11430,
29918,
2271,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
2324,
29898,
13,
9651,
5354,
29918,
333,
29922,
7247,
1839,
333,
7464,
1404,
29918,
333,
29922,
1792,
29896,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
12154,
29918,
1761,
29961,
29941,
22322,
333,
7464,
23878,
29918,
517,
29918,
16418,
29922,
5574,
29897,
13,
4706,
701,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
1544,
29922,
566,
29918,
2271,
29892,
2060,
29918,
333,
29922,
4836,
29896,
1839,
333,
7464,
13,
9651,
1404,
29918,
333,
29922,
1792,
29896,
1839,
333,
7464,
6297,
29918,
333,
29922,
12154,
29918,
1761,
29961,
29941,
22322,
333,
7464,
13,
9651,
23878,
29918,
517,
29918,
16418,
29922,
5574,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
701,
29918,
10041,
29897,
13,
13,
1678,
822,
903,
1688,
29918,
1761,
29918,
12154,
29918,
16645,
1860,
29918,
2856,
29918,
7039,
29898,
1311,
29892,
6297,
29896,
1125,
13,
4706,
9995,
5594,
4954,
7194,
847,
12154,
29918,
16645,
1860,
411,
3160,
2983,
29952,
1412,
13,
13,
4706,
4321,
8402,
29901,
13,
13,
4706,
448,
6204,
263,
5354,
411,
263,
2318,
322,
263,
1404,
13,
4706,
448,
6204,
263,
2060,
411,
263,
2318,
322,
263,
1404,
13,
13,
4706,
9995,
13,
4706,
6297,
29896,
353,
5190,
29889,
1482,
29918,
12154,
29918,
999,
580,
13,
4706,
13756,
13044,
23598,
29889,
12154,
29918,
2754,
29889,
3258,
29918,
12154,
29898,
12154,
29896,
1839,
333,
7464,
6297,
29896,
29897,
13,
4706,
1404,
29896,
353,
5190,
29889,
3258,
29918,
1792,
29898,
13,
9651,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29892,
5354,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
13,
4706,
1723,
13,
4706,
2318,
353,
5190,
29889,
1482,
29918,
2972,
29918,
999,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
29897,
13,
4706,
2318,
353,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29889,
3258,
29918,
2972,
29898,
2972,
29897,
13,
4706,
2060,
29896,
353,
5190,
29889,
1482,
29918,
4836,
29918,
999,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
29897,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
4836,
29898,
4836,
29896,
1839,
333,
7464,
2060,
29896,
29897,
13,
13,
4706,
3806,
29918,
10041,
29896,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29918,
2856,
29918,
7039,
29898,
13,
9651,
6297,
29918,
999,
29922,
12154,
29896,
29892,
13,
9651,
2060,
29918,
999,
29922,
4836,
29896,
29892,
13,
9651,
1404,
29918,
999,
29922,
1792,
29896,
29897,
13,
4706,
1583,
29889,
649,
29898,
9684,
29918,
10041,
29896,
1839,
4965,
16215,
465,
10194,
11287,
13,
4706,
3806,
29918,
10041,
29906,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29918,
2856,
29918,
7039,
29898,
13,
9651,
6297,
29918,
999,
29922,
12154,
29896,
29892,
13,
9651,
5354,
29918,
999,
29922,
1311,
29889,
7247,
29892,
13,
9651,
2318,
29918,
999,
29922,
2972,
29897,
13,
4706,
1583,
29889,
649,
29898,
9684,
29918,
10041,
29906,
1839,
4965,
16215,
465,
10194,
11287,
13,
4706,
3806,
29918,
10041,
29941,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29918,
2856,
29918,
7039,
29898,
13,
9651,
6297,
29918,
999,
29922,
12154,
29896,
29892,
13,
9651,
5354,
29918,
999,
29922,
1311,
29889,
7247,
29892,
13,
9651,
1404,
29918,
999,
29922,
1792,
29896,
29897,
13,
4706,
1583,
29889,
649,
29898,
9684,
29918,
10041,
29941,
1839,
4965,
16215,
465,
10194,
11287,
13,
4706,
3806,
29918,
10041,
29946,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29918,
2856,
29918,
7039,
29898,
13,
9651,
6297,
29918,
999,
29922,
12154,
29896,
29892,
13,
9651,
2060,
29918,
999,
29922,
4836,
29896,
29892,
13,
9651,
2318,
29918,
999,
29922,
2972,
29897,
13,
4706,
1583,
29889,
649,
29898,
9684,
29918,
10041,
29946,
1839,
4965,
16215,
465,
10194,
11287,
13,
13,
4706,
4333,
29918,
2271,
29918,
7247,
353,
313,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
2856,
29918,
7039,
29987,
6078,
29889,
7247,
29889,
333,
16328,
29898,
7247,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
7247,
29918,
333,
2396,
1583,
29889,
7247,
29918,
333,
1800,
13,
4706,
20371,
29918,
7247,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29918,
7247,
29897,
13,
4706,
4333,
29918,
2271,
29918,
4836,
353,
313,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
2856,
29918,
7039,
29987,
29915,
13,
9651,
525,
6078,
29889,
4836,
29889,
333,
16328,
29898,
4836,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
4836,
29918,
333,
2396,
2060,
29896,
1839,
333,
2033,
1800,
13,
4706,
20371,
29918,
4836,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29918,
4836,
29897,
13,
4706,
4333,
29918,
2271,
29918,
2972,
353,
313,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
2856,
29918,
7039,
29987,
2972,
29889,
333,
16328,
29898,
2972,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
2972,
29918,
333,
2396,
2318,
1839,
333,
2033,
1800,
13,
4706,
20371,
29918,
2972,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29918,
2972,
29897,
13,
4706,
4333,
29918,
2271,
29918,
1792,
353,
313,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
2856,
29918,
7039,
29987,
1792,
29889,
333,
16328,
29898,
1792,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
1792,
29918,
333,
2396,
1404,
29896,
1839,
333,
2033,
1800,
13,
4706,
20371,
29918,
1792,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29918,
1792,
29897,
13,
4706,
4333,
29918,
2271,
29918,
12154,
353,
313,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
2856,
29918,
7039,
29987,
12154,
29889,
333,
16328,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
12154,
29918,
333,
2396,
6297,
29896,
1839,
333,
2033,
1800,
13,
4706,
20371,
29918,
12154,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29918,
12154,
29897,
13,
4706,
396,
8561,
1854,
599,
16212,
892,
2825,
8472,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1124,
29889,
4645,
29889,
8949,
29892,
20371,
29918,
7247,
29889,
4882,
29918,
524,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1124,
29889,
4645,
29889,
8949,
29892,
20371,
29918,
4836,
29889,
4882,
29918,
524,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1124,
29889,
4645,
29889,
8949,
29892,
20371,
29918,
2972,
29889,
4882,
29918,
524,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1124,
29889,
4645,
29889,
8949,
29892,
20371,
29918,
1792,
29889,
4882,
29918,
524,
29897,
13,
4706,
396,
8561,
1854,
591,
508,
679,
1250,
278,
1959,
1353,
310,
16212,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
13,
9651,
20371,
29918,
7247,
29892,
13,
9651,
3806,
29918,
2848,
29922,
29906,
29892,
13,
9651,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29918,
7247,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
13,
9651,
20371,
29918,
4836,
29892,
13,
9651,
3806,
29918,
2848,
29922,
29906,
29892,
13,
9651,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29918,
4836,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
13,
9651,
20371,
29918,
2972,
29892,
13,
9651,
3806,
29918,
2848,
29922,
29906,
29892,
13,
9651,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29918,
2972,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
13,
9651,
20371,
29918,
1792,
29892,
13,
9651,
3806,
29918,
2848,
29922,
29906,
29892,
13,
9651,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29918,
1792,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
13,
9651,
20371,
29918,
12154,
29892,
13,
9651,
3806,
29918,
2848,
29922,
29946,
29892,
13,
9651,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29918,
12154,
29897,
13,
4706,
396,
1798,
1598,
599,
4072,
310,
16212,
505,
278,
1959,
3402,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
2288,
29918,
7247,
29892,
3806,
29918,
10041,
29906,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
2288,
29918,
4836,
29892,
3806,
29918,
10041,
29896,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
2288,
29918,
2972,
29892,
3806,
29918,
10041,
29946,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
2288,
29918,
1792,
29892,
3806,
29918,
10041,
29941,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
2288,
29918,
12154,
29892,
3806,
29918,
10041,
29896,
29897,
13,
13,
1678,
822,
1243,
29918,
1761,
29918,
12154,
29918,
16645,
1860,
29918,
2856,
29918,
7039,
29918,
10945,
29918,
12154,
29898,
1311,
1125,
13,
4706,
6297,
353,
5190,
29889,
1482,
29918,
12154,
29918,
999,
580,
13,
4706,
13756,
13044,
23598,
29889,
12154,
29918,
2754,
29889,
3258,
29918,
12154,
29898,
12154,
1839,
333,
7464,
6297,
29897,
13,
13,
4706,
1583,
3032,
1688,
29918,
1761,
29918,
12154,
29918,
16645,
1860,
29918,
2856,
29918,
7039,
29898,
12154,
29897,
13,
13,
1678,
822,
1243,
29918,
1761,
29918,
12154,
29918,
16645,
1860,
29918,
2856,
29918,
7039,
29918,
7247,
29918,
12154,
29898,
1311,
1125,
13,
4706,
6297,
353,
5190,
29889,
1482,
29918,
12154,
29918,
999,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
1839,
333,
11287,
13,
4706,
13756,
13044,
23598,
29889,
12154,
29918,
2754,
29889,
3258,
29918,
12154,
29898,
12154,
1839,
333,
7464,
6297,
29897,
13,
13,
4706,
1583,
3032,
1688,
29918,
1761,
29918,
12154,
29918,
16645,
1860,
29918,
2856,
29918,
7039,
29898,
12154,
29897,
13,
13,
1678,
822,
1243,
29918,
5992,
29918,
465,
10194,
29918,
1454,
29918,
4836,
29918,
627,
292,
29918,
294,
29918,
7247,
29898,
1311,
1125,
13,
4706,
9995,
3057,
7306,
29901,
3349,
12827,
363,
2060,
16684,
408,
5354,
29889,
13,
13,
4706,
22521,
545,
746,
591,
505,
1023,
6297,
3566,
1860,
363,
278,
2060,
13,
4706,
16684,
408,
5354,
29892,
697,
16743,
411,
372,
408,
263,
5354,
322,
916,
408,
263,
13,
4706,
2060,
29892,
591,
1603,
2221,
304,
3349,
1906,
3566,
1860,
2678,
29889,
13,
13,
4706,
4321,
3814,
29901,
13,
4706,
448,
6204,
263,
6297,
322,
263,
5354,
411,
263,
1404,
29936,
13,
4706,
448,
18102,
263,
6297,
363,
445,
1404,
297,
445,
5354,
29936,
13,
4706,
448,
18102,
263,
6297,
363,
445,
1404,
297,
278,
1021,
7855,
408,
263,
2060,
29936,
13,
4706,
448,
22521,
545,
393,
1716,
3566,
1860,
892,
2825,
322,
372,
471,
2854,
29936,
13,
4706,
448,
15154,
278,
5354,
12827,
363,
278,
1404,
322,
1510,
393,
278,
2060,
13,
4706,
12827,
363,
1075,
1603,
2854,
13,
13,
4706,
9995,
13,
4706,
6297,
353,
5190,
29889,
1482,
29918,
12154,
29918,
999,
580,
13,
4706,
13756,
13044,
23598,
29889,
12154,
29918,
2754,
29889,
3258,
29918,
12154,
29898,
12154,
1839,
333,
7464,
6297,
29897,
13,
4706,
5354,
353,
5190,
29889,
1482,
29918,
7247,
29918,
999,
580,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
7247,
29898,
7247,
1839,
333,
7464,
5354,
29897,
13,
4706,
1404,
353,
5190,
29889,
3258,
29918,
1792,
29898,
8618,
13044,
23598,
29889,
22350,
29918,
2754,
29892,
5354,
29918,
333,
29922,
7247,
1839,
333,
11287,
13,
13,
4706,
12827,
29918,
7247,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
6297,
29918,
333,
29922,
12154,
1839,
333,
7464,
5354,
29918,
333,
29922,
7247,
1839,
333,
7464,
1404,
29918,
333,
29922,
1792,
1839,
333,
7464,
13,
9651,
23878,
29918,
517,
29918,
16418,
29922,
8824,
29897,
13,
4706,
12827,
29918,
4836,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
6297,
29918,
333,
29922,
12154,
1839,
333,
7464,
2060,
29918,
333,
29922,
7247,
1839,
333,
7464,
1404,
29918,
333,
29922,
1792,
1839,
333,
7464,
13,
9651,
23878,
29918,
517,
29918,
16418,
29922,
8824,
29897,
13,
13,
4706,
1583,
29889,
649,
29898,
465,
10194,
29918,
7247,
1839,
4965,
16215,
465,
10194,
11287,
13,
4706,
1583,
29889,
649,
29898,
465,
10194,
29918,
4836,
1839,
4965,
16215,
465,
10194,
11287,
13,
13,
4706,
4333,
29918,
2271,
353,
8207,
12154,
29918,
16645,
1860,
29973,
1792,
29889,
333,
16328,
29898,
1792,
29918,
333,
29897,
29879,
29915,
1273,
313,
13,
462,
308,
11117,
1792,
29918,
333,
2396,
1404,
1839,
333,
2033,
1800,
13,
4706,
1121,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
396,
1334,
505,
1023,
6297,
3566,
1860,
2729,
297,
1716,
16178,
363,
278,
5354,
322,
13,
4706,
396,
2060,
6874,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
13,
9651,
1121,
29892,
3806,
29918,
2848,
29922,
29906,
29892,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
2914,
29892,
12827,
29918,
7247,
29897,
13,
13,
4706,
5354,
29918,
2271,
353,
8207,
3129,
2708,
22584,
29879,
29914,
7193,
22584,
29879,
29914,
307,
793,
22584,
29879,
29915,
1273,
313,
13,
9651,
5354,
1839,
333,
7464,
1404,
1839,
333,
7464,
6297,
1839,
333,
11287,
13,
4706,
1583,
29889,
8143,
29898,
7247,
29918,
2271,
29897,
13,
13,
4706,
4333,
29918,
2271,
353,
8207,
12154,
29918,
16645,
1860,
29973,
1792,
29889,
333,
16328,
29898,
1792,
29918,
333,
29897,
29879,
29915,
1273,
313,
13,
462,
308,
11117,
1792,
29918,
333,
2396,
1404,
1839,
333,
2033,
1800,
13,
4706,
1121,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
396,
2567,
591,
871,
505,
697,
12827,
363,
278,
2060,
6874,
1951,
278,
13,
4706,
396,
5354,
6874,
471,
6206,
29889,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
13,
9651,
1121,
29892,
3806,
29918,
2848,
29922,
29896,
29892,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
2914,
29892,
12827,
29918,
4836,
29897,
13,
13,
1678,
822,
1243,
29918,
1761,
29918,
262,
2276,
1573,
29918,
12154,
29918,
16645,
1860,
29918,
2856,
29918,
7039,
29898,
1311,
1125,
13,
4706,
9995,
5594,
4954,
7194,
847,
12154,
29918,
16645,
1860,
29973,
2856,
29918,
7039,
29952,
1412,
13,
13,
4706,
4321,
7306,
29901,
9801,
5432,
1051,
6297,
3566,
1860,
3704,
2983,
13,
4706,
4207,
943,
278,
23878,
6297,
3566,
1860,
7353,
29889,
13,
13,
4706,
4321,
3814,
29901,
13,
4706,
448,
6204,
263,
6297,
322,
263,
5354,
411,
263,
1404,
29936,
13,
4706,
448,
6204,
263,
23878,
6297,
12827,
29936,
13,
4706,
448,
2391,
6297,
3566,
1860,
363,
393,
1404,
29936,
13,
4706,
448,
2391,
6297,
3566,
1860,
363,
393,
1404,
3704,
2983,
29889,
13,
13,
4706,
9995,
13,
4706,
6297,
353,
5190,
29889,
1482,
29918,
12154,
29918,
999,
580,
13,
4706,
13756,
13044,
23598,
29889,
12154,
29918,
2754,
29889,
3258,
29918,
12154,
29898,
12154,
1839,
333,
7464,
6297,
29897,
13,
4706,
5354,
353,
5190,
29889,
1482,
29918,
7247,
29918,
999,
580,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
7247,
29898,
7247,
1839,
333,
7464,
5354,
29897,
13,
4706,
1404,
353,
5190,
29889,
3258,
29918,
1792,
29898,
8618,
13044,
23598,
29889,
22350,
29918,
2754,
29892,
5354,
29918,
333,
29922,
7247,
1839,
333,
11287,
13,
13,
4706,
396,
6204,
322,
3787,
3806,
12827,
2143,
29879,
13,
4706,
12827,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
6297,
29918,
333,
29922,
12154,
1839,
333,
7464,
5354,
29918,
333,
29922,
7247,
1839,
333,
7464,
1404,
29918,
333,
29922,
1792,
1839,
333,
7464,
13,
9651,
23878,
29918,
517,
29918,
16418,
29922,
5574,
29897,
13,
4706,
12827,
29918,
7039,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29918,
2856,
29918,
7039,
29898,
13,
9651,
6297,
29918,
999,
29922,
12154,
29892,
5354,
29918,
999,
29922,
7247,
29892,
1404,
29918,
999,
29922,
1792,
29892,
13,
9651,
23878,
29918,
465,
10194,
29922,
5574,
29897,
13,
13,
4706,
396,
22521,
545,
3806,
12827,
2143,
29879,
526,
23878,
322,
505,
278,
1021,
3988,
13,
4706,
1583,
29889,
9294,
9843,
877,
16418,
742,
13,
462,
308,
12827,
1839,
6078,
16215,
3267,
29899,
1177,
4448,
1806,
29901,
262,
2276,
1573,
29918,
517,
11287,
13,
4706,
1583,
29889,
9294,
9843,
877,
16418,
742,
13,
462,
308,
12827,
29918,
7039,
1839,
6078,
16215,
3267,
29899,
1177,
4448,
1806,
29901,
262,
2276,
1573,
29918,
517,
11287,
13,
4706,
1583,
29889,
9294,
9843,
29898,
465,
10194,
1839,
4965,
16215,
465,
10194,
7464,
13,
462,
308,
12827,
29918,
7039,
1839,
4965,
16215,
465,
10194,
11287,
13,
13,
4706,
1583,
29889,
649,
29898,
465,
10194,
1839,
4965,
16215,
465,
10194,
11287,
13,
13,
4706,
4333,
29918,
2271,
353,
8207,
12154,
29918,
16645,
1860,
29973,
1792,
29889,
333,
16328,
29898,
1792,
29918,
333,
29897,
29879,
29915,
1273,
313,
13,
462,
308,
11117,
1792,
29918,
333,
2396,
1404,
1839,
333,
2033,
1800,
13,
4706,
1121,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
13,
9651,
1121,
29892,
3806,
29918,
2848,
29922,
29896,
29892,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
2914,
29892,
12827,
29897,
13,
13,
4706,
4333,
29918,
2271,
353,
6702,
29914,
12154,
29918,
16645,
1860,
29973,
2856,
29918,
7039,
29987,
29915,
13,
462,
3986,
525,
1792,
29889,
333,
16328,
29898,
1792,
29918,
333,
29897,
29879,
29915,
1273,
11117,
1792,
29918,
333,
2396,
1404,
1839,
333,
2033,
1800,
13,
4706,
1121,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
13,
9651,
1121,
29892,
3806,
29918,
2848,
29922,
29896,
29892,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
2914,
29892,
12827,
29918,
7039,
29897,
13,
13,
1678,
822,
1243,
29918,
1761,
29918,
12154,
29918,
16645,
1860,
29918,
1454,
29918,
18279,
29918,
262,
27069,
749,
29918,
17588,
29898,
1311,
1125,
13,
4706,
9995,
5594,
4954,
7194,
847,
12154,
29918,
16645,
1860,
411,
23878,
5354,
867,
1934,
29952,
1412,
13,
13,
4706,
4321,
8402,
29901,
13,
13,
4706,
448,
26246,
278,
3988,
304,
788,
23878,
6297,
304,
278,
5354,
13,
4706,
448,
26246,
278,
3988,
304,
1423,
11828,
16178,
373,
2060,
3160,
278,
13,
3986,
23878,
6297,
13,
4706,
448,
3295,
519,
278,
6081,
13,
4706,
448,
830,
29899,
3198,
278,
11828,
16178,
29892,
1326,
292,
278,
23878,
6297,
694,
5520,
13,
3986,
3697,
701,
29889,
13,
13,
4706,
9995,
13,
4706,
6297,
29918,
1761,
353,
5159,
13,
4706,
363,
903,
297,
3464,
29898,
29946,
1125,
13,
9651,
6297,
353,
5190,
29889,
1482,
29918,
12154,
29918,
999,
580,
13,
9651,
13756,
13044,
23598,
29889,
12154,
29918,
2754,
29889,
3258,
29918,
12154,
29898,
12154,
1839,
333,
7464,
6297,
29897,
13,
9651,
6297,
29918,
1761,
29889,
4397,
29898,
12154,
29897,
13,
13,
4706,
5354,
353,
5190,
29889,
1482,
29918,
7247,
29918,
999,
580,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
7247,
29898,
7247,
1839,
333,
7464,
5354,
29897,
13,
4706,
1404,
29896,
353,
5190,
29889,
3258,
29918,
1792,
29898,
13,
9651,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29892,
5354,
29918,
333,
29922,
7247,
1839,
333,
2033,
13,
4706,
1723,
13,
4706,
2060,
29896,
353,
5190,
29889,
1482,
29918,
4836,
29918,
999,
29898,
7247,
29918,
333,
29922,
7247,
1839,
333,
11287,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
4836,
29898,
4836,
29896,
1839,
333,
7464,
2060,
29896,
29897,
13,
4706,
2060,
29906,
353,
5190,
29889,
1482,
29918,
4836,
29918,
999,
29898,
7247,
29918,
333,
29922,
7247,
1839,
333,
11287,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
4836,
29898,
4836,
29906,
1839,
333,
7464,
2060,
29906,
29897,
13,
4706,
396,
3462,
777,
16178,
304,
278,
2060,
13,
4706,
13756,
13044,
23598,
29889,
465,
10194,
29918,
2754,
29889,
1202,
29918,
12154,
29918,
517,
29918,
1792,
29918,
392,
29918,
4836,
29898,
13,
9651,
1404,
29896,
1839,
333,
7464,
2060,
29896,
1839,
333,
7464,
6297,
29918,
1761,
29961,
29900,
22322,
333,
11287,
13,
4706,
13756,
13044,
23598,
29889,
465,
10194,
29918,
2754,
29889,
1202,
29918,
12154,
29918,
517,
29918,
1792,
29918,
392,
29918,
4836,
29898,
13,
9651,
1404,
29896,
1839,
333,
7464,
2060,
29896,
1839,
333,
7464,
6297,
29918,
1761,
29961,
29896,
22322,
333,
11287,
13,
4706,
396,
6317,
392,
697,
373,
263,
1422,
2060,
408,
263,
13345,
3955,
13,
4706,
13756,
13044,
23598,
29889,
465,
10194,
29918,
2754,
29889,
1202,
29918,
12154,
29918,
517,
29918,
1792,
29918,
392,
29918,
4836,
29898,
13,
9651,
1404,
29896,
1839,
333,
7464,
2060,
29906,
1839,
333,
7464,
6297,
29918,
1761,
29961,
29906,
22322,
333,
11287,
13,
13,
4706,
396,
2567,
1653,
1749,
23878,
6297,
373,
278,
5354,
13,
4706,
2967,
29918,
10855,
29918,
2271,
353,
313,
13,
9651,
8207,
3267,
29899,
1177,
4448,
1806,
29914,
3129,
2708,
22584,
29898,
7247,
29918,
333,
29897,
29879,
29914,
7193,
22584,
29898,
1792,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
426,
13,
18884,
525,
7247,
29918,
333,
2396,
5354,
1839,
333,
7464,
13,
18884,
525,
1792,
29918,
333,
2396,
1404,
29896,
1839,
333,
2033,
1800,
13,
4706,
4509,
29918,
2271,
353,
14210,
29898,
10855,
29918,
2271,
29897,
29879,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29914,
262,
2276,
1573,
29918,
517,
29918,
16418,
29915,
1273,
426,
13,
9651,
525,
10855,
29918,
2271,
2396,
2967,
29918,
10855,
29918,
2271,
29892,
13,
9651,
525,
12154,
29918,
333,
2396,
6297,
29918,
1761,
29961,
29941,
22322,
333,
2033,
29913,
13,
4706,
4333,
29918,
2271,
353,
2967,
29918,
10855,
29918,
2271,
718,
8207,
262,
2276,
1573,
29918,
517,
29918,
16418,
29915,
13,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
4706,
1583,
29889,
2813,
29898,
14242,
29918,
2271,
29897,
13,
4706,
1583,
29889,
657,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
6632,
29918,
22412,
3919,
29897,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
1293,
5103,
29898,
29878,
29892,
2143,
29922,
12154,
29918,
1761,
29961,
29941,
1402,
13,
462,
462,
308,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
13,
4706,
396,
3617,
11828,
1051,
6297,
3566,
1860,
448,
278,
6297,
881,
13,
4706,
396,
2507,
964,
263,
2060,
6297,
29892,
3412,
411,
278,
1023,
1513,
16178,
393,
526,
13,
4706,
396,
373,
278,
2060,
13,
4706,
4333,
29918,
2271,
353,
313,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
15987,
573,
29987,
1792,
29889,
333,
16328,
29898,
1792,
29918,
333,
29897,
29879,
29915,
13,
9651,
525,
29987,
6078,
29889,
4836,
29889,
333,
16328,
29898,
4836,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
1792,
29918,
333,
2396,
1404,
29896,
1839,
333,
7464,
13,
18884,
525,
4836,
29918,
333,
2396,
2060,
29896,
1839,
333,
2033,
1800,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
29878,
29892,
13,
462,
462,
462,
259,
3806,
29918,
2848,
29922,
29941,
29892,
13,
462,
462,
462,
259,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
13,
4706,
11430,
29918,
2271,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
2324,
29898,
13,
9651,
5354,
29918,
333,
29922,
7247,
1839,
333,
7464,
1404,
29918,
333,
29922,
1792,
29896,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
12154,
29918,
1761,
29961,
29941,
22322,
333,
7464,
23878,
29918,
517,
29918,
16418,
29922,
5574,
29897,
13,
4706,
701,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
1544,
29922,
566,
29918,
2271,
29892,
2060,
29918,
333,
29922,
4836,
29896,
1839,
333,
7464,
13,
9651,
1404,
29918,
333,
29922,
1792,
29896,
1839,
333,
7464,
6297,
29918,
333,
29922,
12154,
29918,
1761,
29961,
29941,
22322,
333,
7464,
13,
9651,
23878,
29918,
517,
29918,
16418,
29922,
5574,
29897,
13,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
701,
29918,
10041,
29897,
13,
13,
1678,
822,
1243,
29918,
1761,
29918,
12154,
29918,
16645,
1860,
29918,
1454,
29918,
262,
2276,
1573,
29918,
2972,
29918,
7247,
29918,
629,
1934,
29898,
1311,
1125,
13,
4706,
9995,
5594,
4954,
7194,
847,
12154,
29918,
16645,
1860,
411,
23878,
2318,
5354,
867,
1934,
29952,
1412,
13,
13,
4706,
4321,
8402,
29901,
13,
13,
4706,
448,
6204,
29871,
29946,
16178,
13,
4706,
448,
6204,
263,
5354,
411,
263,
1404,
322,
1023,
9279,
13,
4706,
448,
4007,
647,
1023,
1513,
16178,
304,
2060,
29896,
13,
4706,
448,
4007,
647,
263,
13345,
3955,
6297,
304,
2060,
29906,
13,
4706,
448,
26246,
278,
3988,
304,
788,
23878,
6297,
304,
278,
5354,
13,
4706,
448,
26246,
278,
3988,
304,
1423,
372,
338,
6200,
373,
278,
5354,
13,
4706,
448,
26246,
278,
3988,
304,
1423,
11828,
16178,
373,
2060,
29896,
448,
445,
13,
3986,
881,
736,
29871,
29941,
16178,
29889,
13,
13,
4706,
9995,
13,
4706,
6297,
29918,
1761,
353,
5159,
13,
4706,
363,
903,
297,
3464,
29898,
29946,
1125,
13,
9651,
6297,
353,
5190,
29889,
1482,
29918,
12154,
29918,
999,
580,
13,
9651,
13756,
13044,
23598,
29889,
12154,
29918,
2754,
29889,
3258,
29918,
12154,
29898,
12154,
1839,
333,
7464,
6297,
29897,
13,
9651,
6297,
29918,
1761,
29889,
4397,
29898,
12154,
29897,
13,
13,
4706,
5354,
353,
5190,
29889,
1482,
29918,
7247,
29918,
999,
580,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
7247,
29898,
7247,
1839,
333,
7464,
5354,
29897,
13,
4706,
1404,
29896,
353,
5190,
29889,
3258,
29918,
1792,
29898,
13,
9651,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29892,
5354,
29918,
333,
29922,
7247,
1839,
333,
2033,
13,
4706,
1723,
13,
4706,
1404,
29906,
353,
5190,
29889,
3258,
29918,
1792,
29898,
13,
9651,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29892,
5354,
29918,
333,
29922,
7247,
1839,
333,
2033,
13,
4706,
1723,
13,
4706,
2318,
29896,
353,
5190,
29889,
1482,
29918,
2972,
29918,
999,
29898,
7247,
29918,
333,
29922,
7247,
1839,
333,
11287,
13,
4706,
2318,
29896,
353,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29889,
3258,
29918,
2972,
29898,
2972,
29896,
29897,
13,
4706,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29889,
1202,
29918,
1792,
29918,
517,
29918,
2972,
29898,
13,
9651,
1404,
29896,
1839,
333,
7464,
2318,
29896,
1839,
333,
2033,
13,
4706,
1723,
13,
4706,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29889,
1202,
29918,
1792,
29918,
517,
29918,
2972,
29898,
13,
9651,
1404,
29906,
1839,
333,
7464,
2318,
29896,
1839,
333,
2033,
13,
4706,
1723,
13,
4706,
2060,
29896,
353,
5190,
29889,
1482,
29918,
4836,
29918,
999,
29898,
7247,
29918,
333,
29922,
7247,
1839,
333,
11287,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
4836,
29898,
4836,
29896,
1839,
333,
7464,
2060,
29896,
29897,
13,
4706,
2060,
29906,
353,
5190,
29889,
1482,
29918,
4836,
29918,
999,
29898,
7247,
29918,
333,
29922,
7247,
1839,
333,
11287,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
4836,
29898,
4836,
29906,
1839,
333,
7464,
2060,
29906,
29897,
13,
4706,
396,
3462,
777,
16178,
304,
278,
2060,
13,
4706,
13756,
13044,
23598,
29889,
465,
10194,
29918,
2754,
29889,
1202,
29918,
12154,
29918,
517,
29918,
1792,
29918,
392,
29918,
4836,
29898,
13,
9651,
1404,
29896,
1839,
333,
7464,
2060,
29896,
1839,
333,
7464,
6297,
29918,
1761,
29961,
29900,
22322,
333,
11287,
13,
4706,
13756,
13044,
23598,
29889,
465,
10194,
29918,
2754,
29889,
1202,
29918,
12154,
29918,
517,
29918,
1792,
29918,
392,
29918,
4836,
29898,
13,
9651,
1404,
29896,
1839,
333,
7464,
2060,
29896,
1839,
333,
7464,
6297,
29918,
1761,
29961,
29896,
22322,
333,
11287,
13,
4706,
396,
6317,
392,
697,
373,
263,
1422,
2060,
408,
263,
13345,
3955,
13,
4706,
13756,
13044,
23598,
29889,
465,
10194,
29918,
2754,
29889,
1202,
29918,
12154,
29918,
517,
29918,
1792,
29918,
392,
29918,
4836,
29898,
13,
9651,
1404,
29896,
1839,
333,
7464,
2060,
29906,
1839,
333,
7464,
6297,
29918,
1761,
29961,
29906,
22322,
333,
11287,
13,
13,
4706,
396,
2567,
1653,
1749,
23878,
6297,
373,
278,
5354,
13,
4706,
2967,
29918,
10855,
29918,
2271,
353,
313,
13,
9651,
8207,
3267,
29899,
1177,
4448,
1806,
29914,
3129,
2708,
22584,
29898,
7247,
29918,
333,
29897,
29879,
29914,
13155,
22584,
29898,
2972,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
426,
13,
18884,
525,
7247,
29918,
333,
2396,
5354,
1839,
333,
7464,
13,
18884,
525,
2972,
29918,
333,
2396,
2318,
29896,
1839,
333,
2033,
1800,
13,
4706,
4509,
29918,
2271,
353,
14210,
29898,
10855,
29918,
2271,
29897,
29879,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29914,
262,
2276,
1573,
29918,
517,
29918,
16418,
29915,
1273,
426,
13,
9651,
525,
10855,
29918,
2271,
2396,
2967,
29918,
10855,
29918,
2271,
29892,
13,
9651,
525,
12154,
29918,
333,
2396,
6297,
29918,
1761,
29961,
29941,
22322,
333,
2033,
29913,
13,
4706,
4333,
29918,
2271,
353,
2967,
29918,
10855,
29918,
2271,
718,
8207,
262,
2276,
1573,
29918,
517,
29918,
16418,
29915,
13,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
4706,
1583,
29889,
2813,
29898,
14242,
29918,
2271,
29897,
13,
4706,
1583,
29889,
657,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
6632,
29918,
22412,
3919,
29897,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
1293,
5103,
29898,
29878,
29892,
2143,
29922,
12154,
29918,
1761,
29961,
29941,
1402,
13,
462,
462,
308,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
13,
4706,
396,
2567,
671,
278,
1051,
5354,
6297,
3566,
1860,
7882,
304,
1423,
565,
445,
13,
4706,
396,
338,
5134,
13,
4706,
4333,
29918,
2271,
353,
313,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
2972,
29889,
333,
16328,
29898,
2972,
29918,
333,
29897,
29879,
29915,
13,
9651,
525,
29987,
6078,
29889,
7247,
29889,
333,
16328,
29898,
7247,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
2972,
29918,
333,
2396,
2318,
29896,
1839,
333,
7464,
13,
18884,
525,
7247,
29918,
333,
2396,
5354,
1839,
333,
2033,
1800,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
29878,
29892,
13,
462,
462,
462,
259,
3806,
29918,
2848,
29922,
29896,
29892,
13,
462,
462,
462,
259,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
4706,
330,
29881,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
5354,
29918,
333,
29922,
7247,
1839,
333,
7464,
2318,
29918,
333,
29922,
2972,
29896,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
12154,
29918,
1761,
29961,
29941,
22322,
333,
7464,
23878,
29918,
517,
29918,
16418,
29922,
5574,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
330,
29881,
29918,
10041,
29897,
13,
13,
4706,
396,
2567,
2244,
363,
11828,
1051,
6297,
3566,
1860,
448,
278,
6297,
881,
13,
4706,
396,
2507,
964,
263,
1404,
2060,
6297,
29892,
3412,
411,
278,
1023,
1513,
16178,
13,
4706,
396,
393,
526,
373,
278,
2060,
13,
4706,
4333,
29918,
2271,
353,
313,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
15987,
573,
29987,
1792,
29889,
333,
16328,
29898,
1792,
29918,
333,
29897,
29879,
29915,
13,
9651,
525,
29987,
6078,
29889,
4836,
29889,
333,
16328,
29898,
4836,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
1792,
29918,
333,
2396,
1404,
29896,
1839,
333,
7464,
13,
18884,
525,
4836,
29918,
333,
2396,
2060,
29896,
1839,
333,
2033,
1800,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
29878,
29892,
13,
462,
462,
462,
259,
3806,
29918,
2848,
29922,
29941,
29892,
13,
462,
462,
462,
259,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
4706,
396,
530,
11828,
6297,
363,
385,
23878,
6297,
674,
367,
263,
2060,
13,
4706,
396,
7855,
29892,
411,
263,
5354,
1544,
304,
278,
23878,
12827,
13,
4706,
701,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
1544,
29922,
29887,
29881,
29918,
10041,
1839,
4965,
16215,
465,
10194,
7464,
2060,
29918,
333,
29922,
4836,
29896,
1839,
333,
7464,
13,
9651,
1404,
29918,
333,
29922,
1792,
29896,
1839,
333,
7464,
6297,
29918,
333,
29922,
12154,
29918,
1761,
29961,
29941,
22322,
333,
7464,
13,
9651,
23878,
29918,
517,
29918,
16418,
29922,
5574,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
701,
29918,
10041,
29897,
13,
13,
1678,
822,
1243,
29918,
4572,
287,
29918,
12154,
29918,
16645,
1860,
29918,
1454,
29918,
262,
2276,
1573,
29918,
629,
1934,
29898,
1311,
1125,
13,
4706,
9995,
5594,
4954,
7194,
847,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
3267,
29899,
1177,
4448,
1806,
29901,
262,
2276,
1573,
29918,
517,
29952,
1412,
13,
13,
4706,
4321,
8402,
29901,
13,
13,
4706,
448,
6204,
29871,
29945,
16178,
13,
4706,
448,
6204,
263,
5354,
411,
263,
1404,
29892,
2318,
322,
1023,
9279,
13,
4706,
448,
4007,
647,
2211,
1513,
13345,
3955,
16178,
304,
9279,
13,
4706,
448,
26246,
278,
3988,
304,
788,
385,
23878,
1404,
6297,
304,
278,
5354,
13,
4706,
448,
26246,
278,
3988,
304,
788,
385,
23878,
2318,
6297,
304,
278,
5354,
13,
4706,
448,
26246,
278,
3988,
304,
4175,
491,
23878,
16178,
448,
445,
881,
13,
3986,
736,
925,
278,
29871,
29906,
23878,
16178,
29889,
13,
13,
4706,
9995,
13,
4706,
6297,
29918,
1761,
353,
5159,
13,
4706,
363,
903,
297,
3464,
29898,
29945,
1125,
13,
9651,
6297,
353,
5190,
29889,
1482,
29918,
12154,
29918,
999,
580,
13,
9651,
13756,
13044,
23598,
29889,
12154,
29918,
2754,
29889,
3258,
29918,
12154,
29898,
12154,
1839,
333,
7464,
6297,
29897,
13,
9651,
6297,
29918,
1761,
29889,
4397,
29898,
12154,
29897,
13,
13,
4706,
5354,
353,
5190,
29889,
1482,
29918,
7247,
29918,
999,
580,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
7247,
29898,
7247,
1839,
333,
7464,
5354,
29897,
13,
4706,
1404,
29896,
353,
5190,
29889,
3258,
29918,
1792,
29898,
13,
9651,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29892,
5354,
29918,
333,
29922,
7247,
1839,
333,
2033,
13,
4706,
1723,
13,
4706,
2318,
29896,
353,
5190,
29889,
1482,
29918,
2972,
29918,
999,
29898,
7247,
29918,
333,
29922,
7247,
1839,
333,
11287,
13,
4706,
2318,
29896,
353,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29889,
3258,
29918,
2972,
29898,
2972,
29896,
29897,
13,
4706,
2060,
29896,
353,
5190,
29889,
1482,
29918,
4836,
29918,
999,
29898,
7247,
29918,
333,
29922,
7247,
1839,
333,
11287,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
4836,
29898,
4836,
29896,
1839,
333,
7464,
2060,
29896,
29897,
13,
4706,
2060,
29906,
353,
5190,
29889,
1482,
29918,
4836,
29918,
999,
29898,
7247,
29918,
333,
29922,
7247,
1839,
333,
11287,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
4836,
29898,
4836,
29906,
1839,
333,
7464,
2060,
29906,
29897,
13,
4706,
396,
3462,
777,
13345,
3955,
16178,
304,
278,
9279,
13,
4706,
13756,
13044,
23598,
29889,
465,
10194,
29918,
2754,
29889,
1202,
29918,
12154,
29918,
517,
29918,
1792,
29918,
392,
29918,
4836,
29898,
13,
9651,
1404,
29896,
1839,
333,
7464,
2060,
29896,
1839,
333,
7464,
6297,
29918,
1761,
29961,
29900,
22322,
333,
11287,
13,
4706,
13756,
13044,
23598,
29889,
465,
10194,
29918,
2754,
29889,
1202,
29918,
12154,
29918,
517,
29918,
1792,
29918,
392,
29918,
4836,
29898,
13,
9651,
1404,
29896,
1839,
333,
7464,
2060,
29906,
1839,
333,
7464,
6297,
29918,
1761,
29961,
29896,
22322,
333,
11287,
13,
4706,
396,
6204,
263,
1661,
29899,
262,
2276,
1573,
6297,
408,
263,
13345,
3955,
13,
4706,
13756,
13044,
23598,
29889,
465,
10194,
29918,
2754,
29889,
3258,
29918,
629,
424,
29898,
13,
9651,
6297,
29918,
1761,
29961,
29906,
22322,
333,
7464,
1404,
29918,
333,
29922,
1792,
29896,
1839,
333,
7464,
5354,
29918,
333,
29922,
7247,
1839,
333,
11287,
13,
13,
4706,
396,
2567,
1653,
1023,
23878,
16178,
373,
278,
5354,
29892,
697,
363,
263,
1404,
13,
4706,
396,
322,
697,
363,
263,
5354,
13,
4706,
2967,
29918,
10855,
29918,
2271,
353,
313,
13,
9651,
8207,
3267,
29899,
1177,
4448,
1806,
29914,
3129,
2708,
22584,
29898,
7247,
29918,
333,
29897,
29879,
29914,
7193,
22584,
29898,
1792,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
426,
13,
18884,
525,
7247,
29918,
333,
2396,
5354,
1839,
333,
7464,
13,
18884,
525,
1792,
29918,
333,
2396,
1404,
29896,
1839,
333,
2033,
1800,
13,
4706,
4509,
29918,
2271,
353,
14210,
29898,
10855,
29918,
2271,
29897,
29879,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29914,
262,
2276,
1573,
29918,
517,
29918,
16418,
29915,
1273,
426,
13,
9651,
525,
10855,
29918,
2271,
2396,
2967,
29918,
10855,
29918,
2271,
29892,
13,
9651,
525,
12154,
29918,
333,
2396,
6297,
29918,
1761,
29961,
29941,
22322,
333,
2033,
29913,
13,
4706,
4333,
29918,
2271,
353,
2967,
29918,
10855,
29918,
2271,
718,
8207,
262,
2276,
1573,
29918,
517,
29918,
16418,
29915,
13,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
4706,
1583,
29889,
2813,
29898,
14242,
29918,
2271,
29897,
13,
4706,
1583,
29889,
657,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
6632,
29918,
22412,
3919,
29897,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
1293,
5103,
29898,
29878,
29892,
2143,
29922,
12154,
29918,
1761,
29961,
29941,
1402,
13,
462,
462,
308,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
13,
4706,
2967,
29918,
10855,
29918,
2271,
353,
313,
13,
9651,
8207,
3267,
29899,
1177,
4448,
1806,
29914,
3129,
2708,
22584,
29898,
7247,
29918,
333,
29897,
29879,
29914,
13155,
22584,
29898,
2972,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
426,
13,
18884,
525,
7247,
29918,
333,
2396,
5354,
1839,
333,
7464,
13,
18884,
525,
2972,
29918,
333,
2396,
2318,
29896,
1839,
333,
2033,
1800,
13,
4706,
4509,
29918,
2271,
353,
14210,
29898,
10855,
29918,
2271,
29897,
29879,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29914,
262,
2276,
1573,
29918,
517,
29918,
16418,
29915,
1273,
426,
13,
9651,
525,
10855,
29918,
2271,
2396,
2967,
29918,
10855,
29918,
2271,
29892,
13,
9651,
525,
12154,
29918,
333,
2396,
6297,
29918,
1761,
29961,
29946,
22322,
333,
2033,
29913,
13,
4706,
4333,
29918,
2271,
353,
2967,
29918,
10855,
29918,
2271,
718,
8207,
262,
2276,
1573,
29918,
517,
29918,
16418,
29915,
13,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
4706,
1583,
29889,
2813,
29898,
14242,
29918,
2271,
29897,
13,
4706,
1583,
29889,
657,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
6632,
29918,
22412,
3919,
29897,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
1293,
5103,
29898,
29878,
29892,
2143,
29922,
12154,
29918,
1761,
29961,
29946,
1402,
13,
462,
462,
308,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
13,
4706,
396,
2567,
671,
278,
1051,
6297,
3566,
1860,
7882,
304,
679,
263,
1051,
310,
23878,
13,
4706,
396,
16178,
373,
278,
5354,
448,
881,
679,
1250,
278,
1023,
16178,
13,
4706,
4333,
29918,
2271,
353,
313,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
3267,
29899,
1177,
4448,
1806,
29901,
262,
2276,
1573,
29918,
517,
29922,
16418,
1495,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
29878,
29892,
13,
462,
462,
462,
259,
3806,
29918,
2848,
29922,
29906,
29892,
13,
462,
462,
462,
259,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
4706,
11430,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
5354,
29918,
333,
29922,
7247,
1839,
333,
7464,
1404,
29918,
333,
29922,
1792,
29896,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
12154,
29918,
1761,
29961,
29941,
22322,
333,
7464,
23878,
29918,
517,
29918,
16418,
29922,
5574,
29897,
13,
4706,
330,
29881,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
5354,
29918,
333,
29922,
7247,
1839,
333,
7464,
2318,
29918,
333,
29922,
2972,
29896,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
12154,
29918,
1761,
29961,
29946,
22322,
333,
7464,
23878,
29918,
517,
29918,
16418,
29922,
5574,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
11430,
29918,
10041,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
330,
29881,
29918,
10041,
29897,
13,
13,
1678,
822,
903,
14669,
29918,
29882,
631,
1279,
936,
29918,
16418,
29918,
1557,
24893,
29898,
1311,
1125,
13,
4706,
9995,
4391,
6996,
6128,
1279,
936,
9279,
10483,
29889,
13,
13,
4706,
910,
6996,
10483,
3743,
263,
3876,
411,
697,
20447,
2060,
322,
13,
4706,
1023,
16178,
411,
278,
1494,
2983,
29901,
1661,
29899,
262,
2276,
1573,
322,
23878,
29889,
13,
13,
4706,
9995,
13,
4706,
396,
6204,
2060,
21277,
13,
4706,
3876,
353,
5190,
29889,
1482,
29918,
4836,
29918,
999,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
1839,
333,
11287,
13,
4706,
20447,
353,
5190,
29889,
1482,
29918,
4836,
29918,
999,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
1839,
333,
7464,
13,
462,
462,
1678,
3847,
29918,
333,
29922,
4632,
1839,
333,
11287,
13,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
4836,
29898,
4632,
1839,
333,
7464,
3876,
29897,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
4836,
29898,
29500,
1839,
333,
7464,
20447,
29897,
13,
13,
4706,
396,
6204,
525,
5464,
29899,
262,
2276,
1573,
29915,
322,
525,
262,
2276,
1573,
29915,
16178,
13,
4706,
1661,
29918,
262,
2276,
1573,
29918,
12154,
353,
5190,
29889,
1482,
29918,
12154,
29918,
999,
29898,
978,
2433,
5464,
29899,
262,
2276,
1573,
1495,
13,
4706,
13756,
13044,
23598,
29889,
12154,
29918,
2754,
29889,
3258,
29918,
12154,
29898,
13,
9651,
1661,
29918,
262,
2276,
1573,
29918,
12154,
1839,
333,
7464,
1661,
29918,
262,
2276,
1573,
29918,
12154,
13,
4706,
1723,
13,
4706,
23878,
29918,
12154,
353,
5190,
29889,
1482,
29918,
12154,
29918,
999,
29898,
978,
2433,
262,
2276,
1573,
1495,
13,
4706,
13756,
13044,
23598,
29889,
12154,
29918,
2754,
29889,
3258,
29918,
12154,
29898,
262,
2276,
1573,
29918,
12154,
1839,
333,
7464,
23878,
29918,
12154,
29897,
13,
13,
4706,
736,
313,
4632,
1839,
333,
7464,
20447,
1839,
333,
7464,
13,
18884,
1661,
29918,
262,
2276,
1573,
29918,
12154,
1839,
333,
7464,
23878,
29918,
12154,
1839,
333,
11287,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
6979,
29918,
3166,
29918,
262,
2276,
1573,
29918,
1792,
29918,
4836,
29918,
12154,
29918,
629,
1934,
29898,
1311,
1125,
13,
4706,
396,
6204,
2322,
10483,
13,
4706,
3876,
29918,
333,
29892,
20447,
29918,
333,
29892,
1661,
29918,
262,
2276,
1573,
29918,
12154,
29918,
333,
29892,
23878,
29918,
12154,
29918,
333,
353,
313,
13,
9651,
1583,
3032,
14669,
29918,
29882,
631,
1279,
936,
29918,
16418,
29918,
1557,
24893,
3101,
13,
13,
4706,
396,
22402,
3876,
322,
20447,
9279,
10760,
848,
13,
4706,
3876,
29918,
4836,
29918,
5150,
29918,
1272,
353,
1583,
29889,
4282,
29918,
23055,
29918,
3827,
29898,
13,
9651,
1404,
29918,
333,
29922,
1311,
29889,
1792,
1839,
333,
7464,
13,
9651,
4800,
29922,
29966,
25711,
17013,
29958,
1839,
5630,
7464,
13,
9651,
2060,
29918,
333,
29922,
4632,
29918,
333,
29897,
13,
4706,
20447,
29918,
4836,
29918,
5150,
29918,
1272,
353,
1583,
29889,
4282,
29918,
23055,
29918,
3827,
29898,
13,
9651,
1404,
29918,
333,
29922,
1311,
29889,
1792,
1839,
333,
7464,
13,
9651,
4800,
29922,
29966,
25711,
17013,
29958,
1839,
5630,
7464,
13,
9651,
2060,
29918,
333,
29922,
29500,
29918,
333,
29897,
13,
13,
4706,
396,
5399,
278,
1404,
2609,
679,
263,
5993,
373,
3876,
3643,
20447,
2060,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
4632,
29918,
4836,
29918,
5150,
29918,
1272,
29892,
13,
462,
632,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
29965,
3521,
2692,
29950,
1955,
26664,
3352,
29897,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
29500,
29918,
4836,
29918,
5150,
29918,
1272,
29892,
13,
462,
632,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
29965,
3521,
2692,
29950,
1955,
26664,
3352,
29897,
13,
13,
4706,
396,
18102,
1661,
29899,
262,
2276,
1573,
6297,
363,
1404,
373,
20447,
2060,
13,
4706,
1661,
29918,
262,
2276,
29918,
786,
29918,
2324,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
2324,
29898,
13,
9651,
2060,
29918,
333,
29922,
29500,
29918,
333,
29892,
1404,
29918,
333,
29922,
1311,
29889,
1792,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
5464,
29918,
262,
2276,
1573,
29918,
12154,
29918,
333,
29897,
13,
4706,
1583,
29889,
649,
29898,
5464,
29918,
262,
2276,
29918,
786,
29918,
2324,
29897,
13,
13,
4706,
396,
5399,
278,
1404,
508,
871,
679,
263,
5993,
373,
20447,
2060,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
4632,
29918,
4836,
29918,
5150,
29918,
1272,
29892,
13,
462,
632,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
29965,
3521,
2692,
29950,
1955,
26664,
3352,
29897,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
29500,
29918,
4836,
29918,
5150,
29918,
1272,
29897,
13,
13,
4706,
396,
18102,
23878,
6297,
363,
1404,
373,
3876,
2060,
13,
4706,
7846,
29918,
786,
29918,
2324,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
2324,
29898,
13,
9651,
2060,
29918,
333,
29922,
4632,
29918,
333,
29892,
1404,
29918,
333,
29922,
1311,
29889,
1792,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
262,
2276,
1573,
29918,
12154,
29918,
333,
29892,
23878,
29918,
517,
29918,
16418,
29922,
5574,
29897,
13,
4706,
1583,
29889,
649,
29898,
262,
2276,
29918,
786,
29918,
2324,
29897,
13,
13,
4706,
396,
5399,
278,
1404,
1603,
508,
679,
263,
5993,
871,
373,
20447,
2060,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
4632,
29918,
4836,
29918,
5150,
29918,
1272,
29892,
13,
462,
632,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
29965,
3521,
2692,
29950,
1955,
26664,
3352,
29897,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
29500,
29918,
4836,
29918,
5150,
29918,
1272,
29897,
13,
13,
4706,
396,
21267,
1661,
29899,
262,
2276,
1573,
16690,
13,
4706,
1583,
29889,
8143,
29898,
5464,
29918,
262,
2276,
29918,
786,
29918,
2324,
29897,
13,
13,
4706,
396,
5399,
278,
23878,
6297,
1603,
16058,
363,
20447,
2060,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
4632,
29918,
4836,
29918,
5150,
29918,
1272,
29892,
13,
462,
632,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
29965,
3521,
2692,
29950,
1955,
26664,
3352,
29897,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
29500,
29918,
4836,
29918,
5150,
29918,
1272,
29897,
13,
13,
4706,
396,
21267,
23878,
16690,
13,
4706,
1583,
29889,
8143,
29898,
262,
2276,
29918,
786,
29918,
2324,
29897,
13,
13,
4706,
396,
5399,
278,
1404,
2609,
679,
263,
5993,
373,
20447,
2060,
15128,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
29500,
29918,
4836,
29918,
5150,
29918,
1272,
29892,
13,
462,
632,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
29965,
3521,
2692,
29950,
1955,
26664,
3352,
29897,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
6979,
29918,
3166,
29918,
262,
2276,
1573,
29918,
2972,
29918,
4836,
29918,
12154,
29918,
629,
1934,
29898,
1311,
1125,
13,
4706,
396,
6204,
2322,
10483,
13,
4706,
3876,
29918,
333,
29892,
20447,
29918,
333,
29892,
1661,
29918,
262,
2276,
1573,
29918,
12154,
29918,
333,
29892,
23878,
29918,
12154,
29918,
333,
353,
313,
13,
9651,
1583,
3032,
14669,
29918,
29882,
631,
1279,
936,
29918,
16418,
29918,
1557,
24893,
3101,
13,
13,
4706,
396,
6204,
2318,
322,
788,
1404,
304,
372,
13,
4706,
2318,
353,
5190,
29889,
1482,
29918,
2972,
29918,
999,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
1839,
333,
11287,
13,
4706,
2318,
353,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29889,
3258,
29918,
2972,
29898,
2972,
29897,
13,
4706,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29889,
1202,
29918,
1792,
29918,
517,
29918,
2972,
29898,
1311,
29889,
1792,
1839,
333,
7464,
2318,
1839,
333,
11287,
13,
13,
4706,
396,
22402,
3876,
322,
20447,
9279,
10760,
848,
13,
4706,
3876,
29918,
4836,
29918,
5150,
29918,
1272,
353,
1583,
29889,
4282,
29918,
23055,
29918,
3827,
29898,
13,
9651,
1404,
29918,
333,
29922,
1311,
29889,
1792,
1839,
333,
7464,
13,
9651,
4800,
29922,
29966,
25711,
17013,
29958,
1839,
5630,
7464,
13,
9651,
2060,
29918,
333,
29922,
4632,
29918,
333,
29897,
13,
4706,
20447,
29918,
4836,
29918,
5150,
29918,
1272,
353,
1583,
29889,
4282,
29918,
23055,
29918,
3827,
29898,
13,
9651,
1404,
29918,
333,
29922,
1311,
29889,
1792,
1839,
333,
7464,
13,
9651,
4800,
29922,
29966,
25711,
17013,
29958,
1839,
5630,
7464,
13,
9651,
2060,
29918,
333,
29922,
29500,
29918,
333,
29897,
13,
13,
4706,
396,
5399,
278,
1404,
2609,
679,
263,
5993,
373,
3876,
3643,
20447,
2060,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
4632,
29918,
4836,
29918,
5150,
29918,
1272,
29892,
13,
462,
632,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
29965,
3521,
2692,
29950,
1955,
26664,
3352,
29897,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
29500,
29918,
4836,
29918,
5150,
29918,
1272,
29892,
13,
462,
632,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
29965,
3521,
2692,
29950,
1955,
26664,
3352,
29897,
13,
13,
4706,
396,
18102,
1661,
29899,
262,
2276,
1573,
6297,
363,
2318,
373,
20447,
2060,
13,
4706,
1661,
29918,
262,
2276,
29918,
29887,
29886,
29918,
2324,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
2324,
29898,
13,
9651,
2060,
29918,
333,
29922,
29500,
29918,
333,
29892,
2318,
29918,
333,
29922,
2972,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
5464,
29918,
262,
2276,
1573,
29918,
12154,
29918,
333,
29897,
13,
4706,
1583,
29889,
649,
29898,
5464,
29918,
262,
2276,
29918,
29887,
29886,
29918,
2324,
29897,
13,
13,
4706,
396,
5399,
278,
1404,
508,
871,
679,
263,
5993,
373,
20447,
2060,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
4632,
29918,
4836,
29918,
5150,
29918,
1272,
29892,
13,
462,
632,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
29965,
3521,
2692,
29950,
1955,
26664,
3352,
29897,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
29500,
29918,
4836,
29918,
5150,
29918,
1272,
29897,
13,
13,
4706,
396,
18102,
23878,
6297,
363,
2318,
373,
3876,
2060,
13,
4706,
7846,
29918,
29887,
29886,
29918,
2324,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
2324,
29898,
13,
9651,
2060,
29918,
333,
29922,
4632,
29918,
333,
29892,
2318,
29918,
333,
29922,
2972,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
262,
2276,
1573,
29918,
12154,
29918,
333,
29892,
23878,
29918,
517,
29918,
16418,
29922,
5574,
29897,
13,
4706,
1583,
29889,
649,
29898,
262,
2276,
29918,
29887,
29886,
29918,
2324,
29897,
13,
13,
4706,
396,
5399,
278,
1404,
1603,
508,
679,
263,
5993,
871,
373,
20447,
2060,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
4632,
29918,
4836,
29918,
5150,
29918,
1272,
29892,
13,
462,
632,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
29965,
3521,
2692,
29950,
1955,
26664,
3352,
29897,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
29500,
29918,
4836,
29918,
5150,
29918,
1272,
29897,
13,
13,
4706,
396,
21267,
694,
29899,
262,
2276,
1573,
16690,
13,
4706,
1583,
29889,
8143,
29898,
5464,
29918,
262,
2276,
29918,
29887,
29886,
29918,
2324,
29897,
13,
13,
4706,
396,
5399,
278,
23878,
6297,
1603,
16058,
363,
20447,
2060,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
29500,
29918,
4836,
29918,
5150,
29918,
1272,
29897,
13,
13,
4706,
396,
21267,
23878,
16690,
13,
4706,
1583,
29889,
8143,
29898,
262,
2276,
29918,
29887,
29886,
29918,
2324,
29897,
13,
13,
4706,
396,
5399,
278,
1404,
2609,
679,
263,
5993,
373,
20447,
2060,
15128,
13,
4706,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
29500,
29918,
4836,
29918,
5150,
29918,
1272,
29892,
13,
462,
632,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
29965,
3521,
2692,
29950,
1955,
26664,
3352,
29897,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29918,
1454,
29918,
4836,
29918,
29882,
631,
12040,
29898,
1311,
1125,
13,
4706,
9995,
5594,
4954,
7194,
847,
12154,
29918,
16645,
1860,
29952,
1412,
13,
13,
4706,
4321,
8402,
29901,
13,
13,
4706,
448,
6204,
29871,
29906,
16178,
13,
4706,
448,
6204,
263,
21277,
310,
9279,
411,
697,
3876,
322,
697,
20447,
2060,
13,
4706,
448,
26246,
278,
3988,
304,
788,
263,
1661,
29899,
262,
2276,
1573,
1404,
6297,
304,
278,
3876,
2060,
13,
4706,
448,
26246,
278,
3988,
304,
788,
385,
23878,
1404,
6297,
304,
278,
3876,
2060,
13,
4706,
448,
26246,
278,
3988,
304,
679,
599,
6297,
3566,
1860,
448,
445,
881,
736,
925,
13,
965,
29906,
16178,
313,
5464,
29899,
262,
2276,
1573,
322,
23878,
29897,
297,
278,
3876,
2060,
29889,
13,
13,
4706,
9995,
13,
4706,
396,
6204,
2322,
10483,
13,
4706,
3876,
29918,
333,
29892,
20447,
29918,
333,
29892,
1661,
29918,
262,
2276,
1573,
29918,
12154,
29918,
333,
29892,
23878,
29918,
12154,
29918,
333,
353,
313,
13,
9651,
1583,
3032,
14669,
29918,
29882,
631,
1279,
936,
29918,
16418,
29918,
1557,
24893,
3101,
13,
13,
4706,
396,
18102,
1661,
29899,
262,
2276,
1573,
6297,
13,
4706,
1661,
29918,
262,
2276,
29918,
786,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
2060,
29918,
333,
29922,
4632,
29918,
333,
29892,
1404,
29918,
333,
29922,
1311,
29889,
1792,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
5464,
29918,
262,
2276,
1573,
29918,
12154,
29918,
333,
29897,
13,
4706,
1583,
29889,
649,
29898,
5464,
29918,
262,
2276,
29918,
786,
29918,
10041,
1839,
4965,
16215,
465,
10194,
11287,
13,
13,
4706,
396,
18102,
23878,
6297,
13,
4706,
7846,
29918,
786,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
2060,
29918,
333,
29922,
4632,
29918,
333,
29892,
1404,
29918,
333,
29922,
1311,
29889,
1792,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
262,
2276,
1573,
29918,
12154,
29918,
333,
29892,
23878,
29918,
517,
29918,
16418,
29922,
5574,
29897,
13,
4706,
1583,
29889,
649,
29898,
262,
2276,
29918,
786,
29918,
10041,
1839,
4965,
16215,
465,
10194,
11287,
13,
13,
4706,
396,
3617,
6297,
3566,
1860,
13,
4706,
4333,
29918,
2271,
353,
8207,
12154,
29918,
16645,
1860,
29915,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
29878,
29892,
13,
462,
462,
462,
259,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
13,
4706,
396,
16499,
393,
278,
1404,
756,
1661,
29899,
262,
2276,
1573,
6297,
373,
3876,
2060,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
1661,
29918,
262,
2276,
29918,
786,
29918,
10041,
29897,
13,
13,
4706,
396,
16499,
393,
278,
1404,
756,
23878,
6297,
373,
3876,
2060,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
7846,
29918,
786,
29918,
10041,
29897,
13,
13,
4706,
396,
16499,
393,
278,
1404,
947,
451,
505,
1661,
29899,
262,
2276,
1573,
6297,
373,
20447,
2060,
13,
4706,
1661,
29918,
262,
2276,
29918,
786,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
2060,
29918,
333,
29922,
29500,
29918,
333,
29892,
1404,
29918,
333,
29922,
1311,
29889,
1792,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
5464,
29918,
262,
2276,
1573,
29918,
12154,
29918,
333,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
3664,
797,
1293,
5103,
29898,
29878,
29892,
1661,
29918,
262,
2276,
29918,
786,
29918,
10041,
29897,
13,
13,
4706,
396,
16499,
393,
278,
1404,
947,
451,
505,
23878,
6297,
373,
20447,
2060,
13,
4706,
7846,
29918,
786,
29918,
10041,
1839,
6078,
16215,
4836,
16215,
333,
2033,
353,
20447,
29918,
333,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
3664,
797,
1293,
5103,
29898,
29878,
29892,
7846,
29918,
786,
29918,
10041,
29897,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
15987,
573,
29918,
12154,
29918,
16645,
1860,
29918,
1454,
29918,
4836,
29918,
29882,
631,
12040,
29898,
1311,
1125,
13,
4706,
9995,
5594,
4954,
7194,
847,
12154,
29918,
16645,
1860,
29973,
15987,
573,
29952,
1412,
13,
13,
4706,
4321,
8402,
29901,
13,
13,
4706,
448,
6204,
29871,
29906,
16178,
13,
4706,
448,
6204,
263,
21277,
310,
9279,
411,
697,
3876,
322,
697,
20447,
2060,
13,
4706,
448,
26246,
278,
3988,
304,
788,
263,
1661,
29899,
262,
2276,
1573,
1404,
6297,
304,
278,
3876,
2060,
13,
4706,
448,
26246,
278,
3988,
304,
788,
385,
23878,
1404,
6297,
304,
278,
3876,
2060,
13,
4706,
448,
26246,
278,
3988,
304,
679,
11828,
6297,
3566,
1860,
448,
445,
881,
736,
13,
965,
29896,
6297,
313,
5464,
29899,
262,
2276,
1573,
29897,
373,
278,
3876,
2060,
322,
29871,
29896,
6297,
313,
262,
2276,
1573,
29897,
373,
13,
3986,
278,
20447,
2060,
29889,
13,
13,
4706,
9995,
13,
4706,
396,
6204,
2322,
10483,
13,
4706,
3876,
29918,
333,
29892,
20447,
29918,
333,
29892,
1661,
29918,
262,
2276,
1573,
29918,
12154,
29918,
333,
29892,
23878,
29918,
12154,
29918,
333,
353,
313,
13,
9651,
1583,
3032,
14669,
29918,
29882,
631,
1279,
936,
29918,
16418,
29918,
1557,
24893,
3101,
13,
13,
4706,
396,
18102,
1661,
29899,
262,
2276,
1573,
6297,
13,
4706,
1661,
29918,
262,
2276,
29918,
786,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
2060,
29918,
333,
29922,
4632,
29918,
333,
29892,
1404,
29918,
333,
29922,
1311,
29889,
1792,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
5464,
29918,
262,
2276,
1573,
29918,
12154,
29918,
333,
29897,
13,
4706,
1583,
29889,
649,
29898,
5464,
29918,
262,
2276,
29918,
786,
29918,
10041,
1839,
4965,
16215,
465,
10194,
11287,
13,
13,
4706,
396,
18102,
23878,
6297,
13,
4706,
7846,
29918,
786,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
2060,
29918,
333,
29922,
4632,
29918,
333,
29892,
1404,
29918,
333,
29922,
1311,
29889,
1792,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
262,
2276,
1573,
29918,
12154,
29918,
333,
29892,
23878,
29918,
517,
29918,
16418,
29922,
5574,
29897,
13,
4706,
1583,
29889,
649,
29898,
262,
2276,
29918,
786,
29918,
10041,
1839,
4965,
16215,
465,
10194,
11287,
13,
13,
4706,
396,
3617,
11828,
6297,
3566,
1860,
13,
4706,
4333,
29918,
2271,
353,
8207,
12154,
29918,
16645,
1860,
29973,
15987,
573,
29915,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
29878,
29892,
13,
462,
462,
462,
259,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
13,
4706,
396,
16499,
393,
278,
1404,
756,
1661,
29899,
262,
2276,
1573,
6297,
373,
3876,
2060,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
1661,
29918,
262,
2276,
29918,
786,
29918,
10041,
29897,
13,
13,
4706,
396,
16499,
393,
278,
1404,
947,
451,
505,
23878,
6297,
373,
3876,
2060,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
3664,
797,
1293,
5103,
29898,
29878,
29892,
7846,
29918,
786,
29918,
10041,
29897,
13,
13,
4706,
396,
16499,
393,
278,
1404,
947,
451,
505,
1661,
29899,
262,
2276,
1573,
6297,
373,
20447,
2060,
13,
4706,
1661,
29918,
262,
2276,
29918,
786,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
2060,
29918,
333,
29922,
29500,
29918,
333,
29892,
1404,
29918,
333,
29922,
1311,
29889,
1792,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
5464,
29918,
262,
2276,
1573,
29918,
12154,
29918,
333,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
3664,
797,
1293,
5103,
29898,
29878,
29892,
1661,
29918,
262,
2276,
29918,
786,
29918,
10041,
29897,
13,
13,
4706,
396,
16499,
393,
278,
1404,
756,
23878,
6297,
373,
20447,
2060,
13,
4706,
7846,
29918,
786,
29918,
10041,
1839,
6078,
16215,
4836,
16215,
333,
2033,
353,
20447,
29918,
333,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
7846,
29918,
786,
29918,
10041,
29897,
13,
13,
1678,
822,
1243,
29918,
4836,
29918,
333,
29918,
6550,
2164,
29918,
361,
29918,
2856,
29918,
1491,
8336,
29918,
6550,
2164,
29898,
1311,
1125,
13,
4706,
9995,
10401,
773,
3160,
29918,
1491,
8336,
29892,
366,
1818,
6084,
263,
2060,
3553,
1213,
15945,
13,
4706,
364,
353,
1583,
29889,
657,
11219,
12154,
29918,
16645,
1860,
29973,
2856,
29918,
1491,
8336,
29922,
5574,
742,
13,
462,
268,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
29933,
3035,
29918,
16244,
29897,
13,
4706,
1059,
29918,
7645,
353,
4852,
6078,
29889,
4836,
29889,
333,
1818,
367,
6790,
565,
3160,
29918,
1491,
8336,
376,
13,
462,
268,
376,
275,
884,
6790,
1159,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2704,
29918,
7645,
29892,
364,
29889,
2914,
1839,
2704,
16215,
4906,
11287,
13,
4706,
364,
353,
1583,
29889,
657,
11219,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
4836,
29889,
333,
29987,
29915,
13,
462,
268,
525,
2856,
29918,
1491,
8336,
29922,
5574,
742,
13,
462,
268,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
29933,
3035,
29918,
16244,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2704,
29918,
7645,
29892,
364,
29889,
2914,
1839,
2704,
16215,
4906,
11287,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
12154,
29918,
16645,
1860,
29918,
1454,
29918,
4836,
29918,
8336,
29898,
1311,
1125,
13,
4706,
9995,
2577,
6297,
29918,
465,
10194,
29973,
6078,
29889,
4836,
29889,
333,
29922,
29990,
29987,
2856,
29918,
1491,
8336,
29952,
1412,
13,
13,
4706,
4321,
8402,
29901,
13,
13,
4706,
448,
6204,
29871,
29906,
16178,
322,
263,
21277,
310,
9279,
411,
697,
3876,
322,
697,
20447,
13,
4706,
448,
26246,
278,
3988,
304,
788,
263,
1661,
29899,
262,
2276,
1573,
1404,
6297,
304,
278,
3876,
2060,
13,
3986,
322,
278,
20447,
2060,
13,
4706,
448,
26246,
278,
3988,
304,
679,
6297,
3566,
1860,
363,
278,
3876,
2060,
541,
13,
3986,
451,
278,
1014,
8336,
448,
445,
881,
736,
925,
278,
3876,
12827,
13,
4706,
448,
26246,
278,
3988,
304,
679,
6297,
3566,
1860,
363,
278,
3876,
2060,
322,
13,
3986,
372,
29915,
29879,
1014,
8336,
448,
445,
881,
736,
1716,
3566,
1860,
13,
4706,
448,
5399,
393,
9479,
4444,
3160,
29918,
1491,
8336,
304,
7700,
338,
278,
13,
3986,
7126,
304,
451,
3704,
372,
472,
599,
297,
278,
2346,
29889,
13,
13,
4706,
9995,
13,
4706,
396,
6204,
2322,
10483,
13,
4706,
3876,
29918,
333,
29892,
20447,
29918,
333,
29892,
1661,
29918,
262,
2276,
1573,
29918,
12154,
29918,
333,
29892,
443,
3880,
29918,
12154,
29918,
333,
353,
313,
13,
9651,
1583,
3032,
14669,
29918,
29882,
631,
1279,
936,
29918,
16418,
29918,
1557,
24893,
3101,
13,
13,
4706,
396,
18102,
1661,
29899,
262,
2276,
1573,
6297,
304,
3876,
322,
20447,
9279,
13,
4706,
1661,
29918,
262,
2276,
29918,
10041,
29918,
4632,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
2060,
29918,
333,
29922,
4632,
29918,
333,
29892,
1404,
29918,
333,
29922,
1311,
29889,
1792,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
5464,
29918,
262,
2276,
1573,
29918,
12154,
29918,
333,
29897,
13,
4706,
1583,
29889,
649,
29898,
5464,
29918,
262,
2276,
29918,
10041,
29918,
4632,
1839,
4965,
16215,
465,
10194,
11287,
13,
4706,
1661,
29918,
262,
2276,
29918,
10041,
29918,
29500,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
2060,
29918,
333,
29922,
29500,
29918,
333,
29892,
1404,
29918,
333,
29922,
1311,
29889,
1792,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
5464,
29918,
262,
2276,
1573,
29918,
12154,
29918,
333,
29897,
13,
4706,
1583,
29889,
649,
29898,
5464,
29918,
262,
2276,
29918,
10041,
29918,
29500,
1839,
4965,
16215,
465,
10194,
11287,
13,
13,
4706,
396,
13932,
278,
1014,
8336,
29892,
591,
881,
679,
278,
697,
12827,
373,
278,
13,
4706,
396,
3876,
2060,
13,
4706,
4333,
29918,
2271,
353,
313,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
4836,
29889,
333,
16328,
29898,
4836,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
4836,
2396,
3876,
29918,
333,
1800,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
13,
9651,
364,
29892,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
13,
4706,
1583,
29889,
9294,
7058,
29898,
29878,
29889,
2914,
1839,
12154,
29918,
16645,
1860,
7464,
1993,
414,
29889,
14510,
6513,
29898,
29896,
876,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
1661,
29918,
262,
2276,
29918,
10041,
29918,
4632,
29897,
13,
13,
4706,
396,
2973,
278,
1014,
8336,
29892,
591,
881,
679,
1716,
3566,
1860,
13,
4706,
4333,
29918,
2271,
353,
313,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
4836,
29889,
333,
16328,
29898,
4836,
29897,
29879,
29915,
13,
9651,
525,
29987,
2856,
29918,
1491,
8336,
29922,
5574,
29915,
1273,
426,
13,
18884,
525,
4836,
2396,
3876,
29918,
333,
1800,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
13,
9651,
364,
29892,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
13,
4706,
1583,
29889,
9294,
7058,
29898,
29878,
29889,
2914,
1839,
12154,
29918,
16645,
1860,
7464,
1993,
414,
29889,
14510,
6513,
29898,
29906,
876,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
1661,
29918,
262,
2276,
29918,
10041,
29918,
4632,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
1661,
29918,
262,
2276,
29918,
10041,
29918,
29500,
29897,
13,
13,
4706,
396,
2973,
1014,
8336,
29922,
29900,
29892,
591,
881,
884,
871,
679,
278,
697,
12827,
373,
278,
13,
4706,
396,
3876,
2060,
13,
4706,
4333,
29918,
2271,
353,
313,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
4836,
29889,
333,
16328,
29898,
4836,
29897,
29879,
29915,
13,
9651,
525,
29987,
2856,
29918,
1491,
8336,
29922,
29900,
29915,
1273,
426,
13,
18884,
525,
4836,
2396,
3876,
29918,
333,
1800,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
13,
9651,
364,
29892,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
13,
4706,
1583,
29889,
9294,
7058,
29898,
29878,
29889,
2914,
1839,
12154,
29918,
16645,
1860,
7464,
1993,
414,
29889,
14510,
6513,
29898,
29896,
876,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
1661,
29918,
262,
2276,
29918,
10041,
29918,
4632,
29897,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
15987,
573,
29918,
12154,
29918,
16645,
1860,
29918,
1454,
29918,
4836,
29918,
8336,
29898,
1311,
1125,
13,
4706,
9995,
2577,
6297,
29918,
465,
10194,
1577,
4836,
29918,
333,
29922,
29990,
29987,
2856,
29918,
1491,
8336,
29922,
5574,
29987,
15987,
573,
29952,
1412,
13,
13,
4706,
4321,
8402,
29901,
13,
13,
4706,
448,
6204,
29871,
29906,
16178,
322,
263,
21277,
310,
9279,
411,
697,
3876,
322,
29871,
29946,
11174,
13,
3986,
310,
2278,
2060,
13,
4706,
448,
26246,
278,
3988,
304,
788,
263,
1661,
29899,
262,
2276,
1573,
1404,
6297,
304,
278,
3876,
2060,
13,
3986,
322,
263,
3233,
29871,
29896,
2060,
13,
4706,
448,
26246,
278,
3988,
304,
788,
385,
23878,
1404,
6297,
373,
278,
3233,
29871,
29906,
2060,
13,
4706,
448,
26246,
278,
3988,
304,
679,
11828,
6297,
3566,
1860,
363,
278,
3233,
29871,
29896,
13,
3986,
2060,
322,
372,
29915,
29879,
1014,
8336,
448,
445,
881,
736,
263,
6297,
313,
5464,
29899,
262,
2276,
1573,
29897,
13,
3986,
373,
278,
3233,
29871,
29896,
2060,
322,
16178,
313,
262,
2276,
1573,
29897,
373,
1269,
310,
278,
3233,
13,
965,
29906,
29892,
29871,
29941,
322,
29871,
29946,
9279,
13,
13,
4706,
9995,
13,
4706,
396,
6204,
2322,
10483,
13,
4706,
3876,
29918,
333,
29892,
20447,
29918,
333,
29892,
1661,
29918,
262,
2276,
1573,
29918,
12154,
29918,
333,
29892,
23878,
29918,
12154,
29918,
333,
353,
313,
13,
9651,
1583,
3032,
14669,
29918,
29882,
631,
1279,
936,
29918,
16418,
29918,
1557,
24893,
3101,
13,
13,
4706,
396,
3462,
777,
4805,
9279,
304,
278,
2060,
21277,
13,
4706,
3233,
29906,
353,
5190,
29889,
1482,
29918,
4836,
29918,
999,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
1839,
333,
7464,
13,
462,
462,
418,
3847,
29918,
333,
29922,
29500,
29918,
333,
29897,
13,
4706,
3233,
29941,
353,
5190,
29889,
1482,
29918,
4836,
29918,
999,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
1839,
333,
7464,
13,
462,
462,
418,
3847,
29918,
333,
29922,
5563,
29906,
1839,
333,
11287,
13,
4706,
3233,
29946,
353,
5190,
29889,
1482,
29918,
4836,
29918,
999,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
1839,
333,
7464,
13,
462,
462,
418,
3847,
29918,
333,
29922,
5563,
29941,
1839,
333,
11287,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
4836,
29898,
5563,
29906,
1839,
333,
7464,
3233,
29906,
29897,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
4836,
29898,
5563,
29941,
1839,
333,
7464,
3233,
29941,
29897,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
4836,
29898,
5563,
29946,
1839,
333,
7464,
3233,
29946,
29897,
13,
13,
4706,
396,
18102,
1661,
29899,
262,
2276,
1573,
6297,
304,
3876,
313,
294,
263,
13345,
3955,
29897,
322,
304,
13,
4706,
396,
278,
3233,
29871,
29896,
313,
29500,
29897,
2060,
13,
4706,
1661,
29918,
262,
2276,
29918,
10041,
29918,
4632,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
2060,
29918,
333,
29922,
4632,
29918,
333,
29892,
1404,
29918,
333,
29922,
1311,
29889,
1792,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
5464,
29918,
262,
2276,
1573,
29918,
12154,
29918,
333,
29897,
13,
4706,
1583,
29889,
649,
29898,
5464,
29918,
262,
2276,
29918,
10041,
29918,
4632,
1839,
4965,
16215,
465,
10194,
11287,
13,
4706,
1661,
29918,
262,
2276,
29918,
10041,
29918,
29500,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
2060,
29918,
333,
29922,
29500,
29918,
333,
29892,
1404,
29918,
333,
29922,
1311,
29889,
1792,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
5464,
29918,
262,
2276,
1573,
29918,
12154,
29918,
333,
29897,
13,
4706,
1583,
29889,
649,
29898,
5464,
29918,
262,
2276,
29918,
10041,
29918,
29500,
1839,
4965,
16215,
465,
10194,
11287,
13,
13,
4706,
396,
18102,
23878,
6297,
304,
3233,
29871,
29906,
13,
4706,
7846,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
2060,
29918,
333,
29922,
5563,
29906,
1839,
333,
7464,
1404,
29918,
333,
29922,
1311,
29889,
1792,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
262,
2276,
1573,
29918,
12154,
29918,
333,
29892,
23878,
29918,
517,
29918,
16418,
29922,
5574,
29897,
13,
4706,
1583,
29889,
649,
29898,
262,
2276,
29918,
10041,
1839,
4965,
16215,
465,
10194,
11287,
13,
13,
4706,
396,
3617,
11828,
6297,
3566,
1860,
13,
4706,
4333,
29918,
2271,
353,
313,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
4836,
29889,
333,
16328,
29898,
4836,
29897,
29879,
29915,
13,
9651,
525,
29987,
2856,
29918,
1491,
8336,
29922,
5574,
29987,
15987,
573,
29915,
1273,
426,
13,
18884,
525,
4836,
2396,
20447,
29918,
333,
1800,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
13,
9651,
364,
29892,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
13,
4706,
396,
1670,
881,
367,
2211,
3566,
1860,
4133,
297,
3001,
13,
4706,
1583,
29889,
9294,
7058,
29898,
29878,
29889,
2914,
1839,
12154,
29918,
16645,
1860,
7464,
1993,
414,
29889,
14510,
6513,
29898,
29941,
876,
13,
13,
4706,
396,
16499,
393,
278,
1404,
947,
451,
1661,
29899,
262,
2276,
1573,
6297,
373,
3876,
2060,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
3664,
797,
1293,
5103,
29898,
29878,
29892,
1661,
29918,
262,
2276,
29918,
10041,
29918,
4632,
29897,
13,
13,
4706,
396,
16499,
393,
278,
1404,
947,
505,
1661,
29899,
262,
2276,
1573,
6297,
373,
20447,
2060,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
1661,
29918,
262,
2276,
29918,
10041,
29918,
29500,
29897,
13,
13,
4706,
396,
16499,
393,
278,
1404,
756,
23878,
6297,
373,
11174,
29871,
29941,
322,
29871,
29946,
13,
4706,
7846,
29918,
10041,
1839,
6078,
16215,
4836,
16215,
333,
2033,
353,
3233,
29941,
1839,
333,
2033,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
7846,
29918,
10041,
29897,
13,
4706,
7846,
29918,
10041,
1839,
6078,
16215,
4836,
16215,
333,
2033,
353,
3233,
29946,
1839,
333,
2033,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
7846,
29918,
10041,
29897,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
262,
2276,
1573,
29918,
12154,
29918,
16645,
1860,
29918,
1454,
29918,
4836,
29918,
29882,
631,
12040,
29898,
1311,
1125,
13,
4706,
9995,
5594,
4954,
7194,
847,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
3267,
29899,
1177,
4448,
1806,
29901,
262,
2276,
1573,
29918,
517,
29952,
1412,
13,
13,
4706,
4321,
8402,
29901,
13,
13,
4706,
448,
6204,
29871,
29906,
16178,
13,
4706,
448,
6204,
263,
21277,
310,
9279,
411,
697,
3876,
322,
697,
20447,
2060,
13,
4706,
448,
26246,
278,
3988,
304,
788,
263,
1661,
29899,
262,
2276,
1573,
1404,
6297,
304,
278,
3876,
2060,
13,
4706,
448,
26246,
278,
3988,
304,
788,
385,
23878,
1404,
6297,
304,
278,
3876,
2060,
13,
4706,
448,
26246,
278,
3988,
304,
4175,
23878,
304,
9279,
6297,
3566,
1860,
448,
445,
13,
3986,
881,
736,
29871,
29896,
6297,
313,
262,
2276,
1573,
29897,
373,
278,
3876,
2060,
29889,
13,
13,
4706,
9995,
13,
4706,
396,
6204,
2322,
10483,
13,
4706,
3876,
29918,
333,
29892,
20447,
29918,
333,
29892,
1661,
29918,
262,
2276,
1573,
29918,
12154,
29918,
333,
29892,
23878,
29918,
12154,
29918,
333,
353,
313,
13,
9651,
1583,
3032,
14669,
29918,
29882,
631,
1279,
936,
29918,
16418,
29918,
1557,
24893,
3101,
13,
13,
4706,
396,
18102,
1661,
29899,
262,
2276,
1573,
6297,
13,
4706,
1661,
29918,
262,
2276,
29918,
786,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
2060,
29918,
333,
29922,
4632,
29918,
333,
29892,
1404,
29918,
333,
29922,
1311,
29889,
1792,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
5464,
29918,
262,
2276,
1573,
29918,
12154,
29918,
333,
29897,
13,
4706,
1583,
29889,
649,
29898,
5464,
29918,
262,
2276,
29918,
786,
29918,
10041,
1839,
4965,
16215,
465,
10194,
11287,
13,
13,
4706,
396,
18102,
23878,
6297,
13,
4706,
7846,
29918,
786,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
2060,
29918,
333,
29922,
4632,
29918,
333,
29892,
1404,
29918,
333,
29922,
1311,
29889,
1792,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
262,
2276,
1573,
29918,
12154,
29918,
333,
29892,
23878,
29918,
517,
29918,
16418,
29922,
5574,
29897,
13,
4706,
1583,
29889,
649,
29898,
262,
2276,
29918,
786,
29918,
10041,
1839,
4965,
16215,
465,
10194,
11287,
13,
13,
4706,
396,
3617,
23878,
6297,
3566,
1860,
13,
4706,
4333,
29918,
2271,
353,
6702,
29914,
12154,
29918,
16645,
1860,
29915,
13,
462,
3986,
525,
29973,
6078,
29889,
3267,
29899,
1177,
4448,
1806,
29901,
262,
2276,
1573,
29918,
517,
29922,
16418,
1495,
13,
4706,
364,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
29878,
29892,
13,
462,
462,
462,
259,
6503,
29918,
2271,
29922,
10855,
29918,
2271,
29897,
13,
13,
4706,
396,
16499,
393,
278,
1404,
947,
451,
505,
1661,
29899,
262,
2276,
1573,
6297,
373,
3876,
2060,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
3664,
797,
1293,
5103,
29898,
29878,
29892,
1661,
29918,
262,
2276,
29918,
786,
29918,
10041,
29897,
13,
13,
4706,
396,
16499,
393,
278,
1404,
756,
23878,
6297,
373,
3876,
2060,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
29878,
29892,
7846,
29918,
786,
29918,
10041,
29897,
13,
13,
4706,
396,
16499,
393,
278,
1404,
947,
451,
505,
1661,
29899,
262,
2276,
1573,
6297,
373,
20447,
2060,
13,
4706,
1661,
29918,
262,
2276,
29918,
786,
29918,
10041,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
2060,
29918,
333,
29922,
29500,
29918,
333,
29892,
1404,
29918,
333,
29922,
1311,
29889,
1792,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
5464,
29918,
262,
2276,
1573,
29918,
12154,
29918,
333,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
3664,
797,
1293,
5103,
29898,
29878,
29892,
1661,
29918,
262,
2276,
29918,
786,
29918,
10041,
29897,
13,
13,
4706,
396,
16499,
393,
278,
1404,
947,
451,
505,
23878,
6297,
373,
20447,
2060,
13,
4706,
7846,
29918,
786,
29918,
10041,
1839,
6078,
16215,
4836,
16215,
333,
2033,
353,
20447,
29918,
333,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
3664,
797,
1293,
5103,
29898,
29878,
29892,
7846,
29918,
786,
29918,
10041,
29897,
13,
13,
13,
1990,
14305,
2957,
29934,
6544,
24376,
29898,
1688,
29918,
29894,
29941,
29889,
15078,
1319,
3057,
8259,
29892,
1243,
29918,
29894,
29941,
29889,
7900,
10194,
3057,
29924,
861,
262,
29892,
13,
462,
4706,
5190,
29889,
3057,
8259,
1125,
13,
1678,
822,
903,
3258,
29918,
12154,
29898,
1311,
1125,
13,
4706,
9995,
5594,
4954,
5438,
847,
307,
793,
16159,
1213,
15945,
13,
4706,
2143,
353,
5190,
29889,
1482,
29918,
12154,
29918,
999,
580,
13,
4706,
364,
353,
1583,
29889,
2490,
11219,
307,
793,
742,
3573,
3790,
29915,
12154,
2396,
2143,
1800,
13,
4706,
736,
1583,
29889,
9294,
7211,
16727,
5103,
29898,
29878,
29892,
2143,
29897,
13,
13,
1678,
822,
1243,
29918,
1761,
29918,
6574,
2957,
29918,
307,
793,
29918,
9290,
29898,
1311,
1125,
13,
4706,
1583,
29889,
29886,
13479,
353,
1583,
3032,
3258,
29918,
12154,
580,
13,
4706,
3142,
353,
8207,
307,
793,
22584,
29879,
29914,
21304,
29915,
1273,
313,
1311,
29889,
29886,
13479,
1839,
333,
11287,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
2271,
467,
3126,
3366,
12154,
29918,
262,
1659,
3108,
13,
4706,
1583,
29889,
2813,
29898,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1311,
29889,
29886,
13479,
1839,
333,
7464,
2933,
1839,
29886,
13479,
29918,
12154,
16215,
333,
11287,
13,
4706,
1583,
29889,
9294,
9843,
29898,
29900,
29892,
7431,
29898,
5327,
1839,
21304,
25901,
13,
13,
1678,
822,
903,
3258,
29918,
6574,
2957,
29918,
12154,
29898,
1311,
29892,
7536,
29892,
2411,
2957,
1125,
13,
4706,
1583,
29889,
649,
11219,
307,
793,
22584,
29879,
29914,
21304,
22584,
29879,
29915,
1273,
313,
29886,
13479,
1839,
333,
7464,
2411,
2957,
1839,
333,
2033,
511,
13,
462,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
27045,
29928,
29897,
13,
13,
1678,
822,
903,
8143,
29918,
6574,
2957,
29918,
12154,
29898,
1311,
29892,
7536,
29892,
2411,
2957,
1125,
13,
4706,
1583,
29889,
8143,
11219,
307,
793,
22584,
29879,
29914,
21304,
22584,
29879,
29915,
1273,
313,
29886,
13479,
1839,
333,
7464,
2411,
2957,
1839,
333,
25901,
13,
13,
1678,
822,
903,
14669,
29918,
29886,
13479,
29918,
10184,
29918,
6574,
2957,
29898,
1311,
1125,
13,
4706,
1583,
29889,
29886,
13479,
353,
1583,
3032,
3258,
29918,
12154,
580,
13,
4706,
1583,
29889,
6574,
2957,
29896,
353,
1583,
3032,
3258,
29918,
12154,
580,
13,
4706,
1583,
3032,
3258,
29918,
6574,
2957,
29918,
12154,
29898,
1311,
29889,
29886,
13479,
29892,
1583,
29889,
6574,
2957,
29896,
29897,
13,
4706,
1583,
29889,
6574,
2957,
29906,
353,
1583,
3032,
3258,
29918,
12154,
580,
13,
4706,
1583,
3032,
3258,
29918,
6574,
2957,
29918,
12154,
29898,
1311,
29889,
29886,
13479,
29892,
1583,
29889,
6574,
2957,
29906,
29897,
13,
13,
1678,
822,
903,
9294,
29918,
9684,
29918,
6574,
2957,
29918,
12154,
29918,
5327,
29898,
13,
9651,
1583,
29892,
3806,
29918,
29886,
13479,
29918,
333,
29892,
3806,
29918,
6574,
2957,
29918,
4841,
1125,
13,
4706,
364,
353,
1583,
29889,
657,
11219,
307,
793,
22584,
29879,
29914,
21304,
29915,
1273,
3806,
29918,
29886,
13479,
29918,
333,
29897,
13,
4706,
2933,
353,
364,
29889,
3126,
13,
4706,
6297,
29918,
262,
1659,
353,
2933,
1839,
12154,
29918,
262,
1659,
2033,
13,
4706,
1583,
29889,
9294,
9843,
29898,
9684,
29918,
29886,
13479,
29918,
333,
29892,
6297,
29918,
262,
1659,
1839,
29886,
13479,
29918,
12154,
16215,
333,
11287,
13,
4706,
7536,
29918,
2324,
353,
8207,
29894,
29941,
29914,
307,
793,
22208,
718,
3806,
29918,
29886,
13479,
29918,
333,
718,
8207,
21304,
29915,
13,
4706,
1583,
29889,
9294,
7058,
29898,
5327,
1839,
4965,
16215,
1311,
7464,
13,
462,
4706,
1993,
414,
29889,
5044,
29879,
3047,
29898,
29886,
13479,
29918,
2324,
876,
13,
13,
4706,
3935,
29918,
6574,
2957,
29918,
4841,
353,
518,
6574,
2957,
1839,
333,
2033,
13,
462,
795,
363,
2411,
2957,
297,
6297,
29918,
262,
1659,
1839,
21304,
2033,
29962,
13,
13,
4706,
1583,
29889,
9294,
6913,
9843,
29898,
9684,
29918,
6574,
2957,
29918,
4841,
29892,
3935,
29918,
6574,
2957,
29918,
4841,
29897,
13,
13,
4706,
1583,
29889,
9294,
3624,
3664,
8516,
29898,
12154,
29918,
262,
1659,
1839,
29886,
13479,
29918,
12154,
16215,
4965,
16215,
1311,
11287,
13,
4706,
363,
2411,
2957,
297,
6297,
29918,
262,
1659,
1839,
21304,
2033,
29901,
13,
9651,
1583,
29889,
9294,
3624,
3664,
8516,
29898,
6574,
2957,
1839,
4965,
16215,
1311,
11287,
13,
13,
1678,
822,
903,
9294,
29918,
9684,
29918,
12154,
29918,
262,
1659,
29918,
7491,
29918,
5327,
29898,
13,
9651,
1583,
29892,
3806,
29918,
29886,
13479,
29918,
333,
29892,
3806,
29918,
6574,
2957,
29918,
333,
1125,
13,
4706,
3142,
353,
8207,
307,
793,
22584,
29879,
29914,
21304,
22584,
29879,
29915,
1273,
313,
9684,
29918,
29886,
13479,
29918,
333,
29892,
3806,
29918,
6574,
2957,
29918,
333,
29897,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
2271,
467,
3126,
13,
4706,
1583,
29889,
9294,
7058,
29898,
5327,
1839,
4965,
16215,
1311,
7464,
13,
462,
4706,
1993,
414,
29889,
5044,
29879,
3047,
11219,
29894,
29941,
29995,
29879,
29915,
1273,
3142,
876,
13,
4706,
6297,
29918,
262,
1659,
353,
2933,
1839,
12154,
29918,
262,
1659,
2033,
13,
4706,
7536,
29918,
12154,
353,
6297,
29918,
262,
1659,
1839,
29886,
13479,
29918,
12154,
2033,
13,
4706,
1583,
29889,
9294,
9843,
29898,
9684,
29918,
29886,
13479,
29918,
333,
29892,
7536,
29918,
12154,
1839,
333,
11287,
13,
4706,
1583,
29889,
9294,
3624,
3664,
8516,
29898,
29886,
13479,
29918,
12154,
1839,
978,
11287,
13,
4706,
1583,
29889,
9294,
7058,
29898,
29886,
13479,
29918,
12154,
1839,
4965,
16215,
1311,
7464,
13,
462,
4706,
1993,
414,
29889,
5044,
29879,
3047,
11219,
29894,
29941,
29914,
307,
793,
22584,
29879,
29915,
1273,
3806,
29918,
29886,
13479,
29918,
333,
876,
13,
4706,
2411,
2957,
29918,
12154,
353,
6297,
29918,
262,
1659,
1839,
21304,
2033,
13,
4706,
1583,
29889,
9294,
9843,
29898,
9684,
29918,
6574,
2957,
29918,
333,
29892,
2411,
2957,
29918,
12154,
1839,
333,
11287,
13,
4706,
1583,
29889,
9294,
3624,
3664,
8516,
29898,
6574,
2957,
29918,
12154,
1839,
978,
11287,
13,
4706,
1583,
29889,
9294,
7058,
29898,
6574,
2957,
29918,
12154,
1839,
4965,
16215,
1311,
7464,
1993,
414,
29889,
5044,
29879,
3047,
29898,
13,
9651,
8207,
29894,
29941,
29914,
307,
793,
22584,
29879,
29915,
1273,
3806,
29918,
6574,
2957,
29918,
333,
876,
13,
13,
1678,
822,
903,
9294,
29918,
10184,
29918,
307,
793,
29918,
6574,
2957,
29898,
1311,
1125,
13,
4706,
1583,
3032,
9294,
29918,
9684,
29918,
6574,
2957,
29918,
12154,
29918,
5327,
29898,
13,
9651,
1583,
29889,
29886,
13479,
1839,
333,
7464,
518,
1311,
29889,
6574,
2957,
29896,
1839,
333,
7464,
1583,
29889,
6574,
2957,
29906,
1839,
333,
2033,
2314,
13,
4706,
1583,
3032,
9294,
29918,
9684,
29918,
12154,
29918,
262,
1659,
29918,
7491,
29918,
5327,
29898,
13,
9651,
1583,
29889,
29886,
13479,
1839,
333,
7464,
1583,
29889,
6574,
2957,
29896,
1839,
333,
11287,
13,
4706,
1583,
3032,
9294,
29918,
9684,
29918,
12154,
29918,
262,
1659,
29918,
7491,
29918,
5327,
29898,
13,
9651,
1583,
29889,
29886,
13479,
1839,
333,
7464,
1583,
29889,
6574,
2957,
29906,
1839,
333,
11287,
13,
13,
1678,
822,
903,
9294,
29918,
650,
29918,
12154,
29918,
6574,
2957,
29898,
1311,
1125,
13,
4706,
1583,
3032,
9294,
29918,
9684,
29918,
6574,
2957,
29918,
12154,
29918,
5327,
29898,
13,
9651,
1583,
29889,
29886,
13479,
1839,
333,
7464,
518,
1311,
29889,
6574,
2957,
29896,
1839,
333,
2033,
2314,
13,
13,
4706,
1583,
29889,
657,
11219,
307,
793,
22584,
29879,
29914,
21304,
22584,
29879,
29915,
1273,
13,
462,
313,
1311,
29889,
29886,
13479,
1839,
333,
7464,
1583,
29889,
6574,
2957,
29906,
1839,
333,
2033,
511,
13,
462,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
12256,
29918,
5800,
18783,
29897,
13,
13,
1678,
822,
903,
9294,
29918,
10184,
29918,
19238,
29918,
12119,
29898,
1311,
1125,
13,
4706,
364,
353,
1583,
29889,
657,
11219,
12154,
29918,
262,
10662,
29914,
1495,
13,
13,
4706,
6865,
353,
364,
29889,
2914,
1839,
12154,
29918,
262,
10662,
2033,
13,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1311,
29889,
29886,
13479,
1839,
333,
7464,
6865,
29961,
29900,
22322,
29886,
13479,
29918,
12154,
16215,
333,
11287,
13,
4706,
1583,
29889,
9294,
9843,
29898,
29906,
29892,
7431,
29898,
19238,
29961,
29900,
22322,
21304,
25901,
13,
4706,
2411,
2957,
29918,
4841,
353,
518,
6574,
2957,
1839,
333,
2033,
363,
2411,
2957,
297,
6865,
29961,
29900,
22322,
21304,
2033,
29962,
13,
4706,
2411,
2957,
29918,
7039,
353,
518,
6574,
2957,
1839,
978,
2033,
363,
2411,
2957,
297,
6865,
29961,
29900,
22322,
21304,
2033,
29962,
13,
13,
4706,
1583,
29889,
9294,
797,
29898,
1311,
29889,
6574,
2957,
29896,
1839,
333,
7464,
2411,
2957,
29918,
4841,
29897,
13,
4706,
1583,
29889,
9294,
797,
29898,
1311,
29889,
6574,
2957,
29906,
1839,
333,
7464,
2411,
2957,
29918,
4841,
29897,
13,
4706,
1583,
29889,
9294,
797,
29898,
1311,
29889,
6574,
2957,
29896,
1839,
978,
7464,
2411,
2957,
29918,
7039,
29897,
13,
4706,
1583,
29889,
9294,
797,
29898,
1311,
29889,
6574,
2957,
29906,
1839,
978,
7464,
2411,
2957,
29918,
7039,
29897,
13,
13,
1678,
822,
903,
9294,
29918,
650,
29918,
7491,
29918,
12119,
29898,
1311,
1125,
13,
4706,
364,
353,
1583,
29889,
657,
11219,
12154,
29918,
262,
10662,
29914,
1495,
13,
4706,
6865,
353,
364,
29889,
2914,
1839,
12154,
29918,
262,
10662,
2033,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1311,
29889,
29886,
13479,
1839,
333,
7464,
6865,
29961,
29900,
22322,
29886,
13479,
29918,
12154,
16215,
333,
11287,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1311,
29889,
6574,
2957,
29896,
1839,
333,
7464,
6865,
29961,
29900,
22322,
21304,
2033,
29961,
29900,
22322,
333,
11287,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1311,
29889,
6574,
2957,
29896,
1839,
978,
7464,
6865,
29961,
29900,
22322,
21304,
2033,
29961,
29900,
22322,
978,
11287,
13,
4706,
1583,
29889,
9294,
9843,
29898,
29896,
29892,
7431,
29898,
19238,
29961,
29900,
22322,
21304,
25901,
13,
13,
1678,
822,
1243,
29918,
1761,
29918,
497,
29918,
19238,
29898,
1311,
1125,
13,
4706,
1583,
3032,
14669,
29918,
29886,
13479,
29918,
10184,
29918,
6574,
2957,
580,
13,
4706,
1583,
3032,
9294,
29918,
10184,
29918,
19238,
29918,
12119,
580,
13,
13,
4706,
1583,
3032,
8143,
29918,
6574,
2957,
29918,
12154,
29898,
1311,
29889,
29886,
13479,
29892,
1583,
29889,
6574,
2957,
29906,
29897,
13,
4706,
1583,
3032,
9294,
29918,
650,
29918,
7491,
29918,
12119,
580,
13,
13,
1678,
822,
1243,
29918,
11341,
29928,
29918,
6574,
2957,
29918,
307,
793,
29898,
1311,
1125,
13,
13,
4706,
1583,
3032,
14669,
29918,
29886,
13479,
29918,
10184,
29918,
6574,
2957,
580,
13,
4706,
1583,
3032,
9294,
29918,
10184,
29918,
307,
793,
29918,
6574,
2957,
580,
13,
13,
4706,
1583,
3032,
8143,
29918,
6574,
2957,
29918,
12154,
29898,
1311,
29889,
29886,
13479,
29892,
1583,
29889,
6574,
2957,
29906,
29897,
13,
4706,
1583,
3032,
9294,
29918,
650,
29918,
12154,
29918,
6574,
2957,
580,
13,
13,
1678,
822,
903,
3258,
29918,
17536,
29918,
307,
793,
29898,
1311,
1125,
13,
4706,
1583,
29889,
12154,
29918,
1761,
353,
5159,
13,
4706,
363,
903,
297,
3464,
29898,
29941,
1125,
13,
9651,
6297,
353,
5190,
29889,
1482,
29918,
12154,
29918,
999,
580,
13,
9651,
13756,
13044,
23598,
29889,
12154,
29918,
2754,
29889,
3258,
29918,
12154,
29898,
12154,
1839,
333,
7464,
6297,
29897,
13,
9651,
1583,
29889,
12154,
29918,
1761,
29889,
4397,
29898,
12154,
29897,
13,
13,
1678,
822,
903,
3258,
29918,
1688,
29918,
7247,
29918,
1792,
29918,
4836,
29898,
1311,
1125,
13,
4706,
5354,
353,
5190,
29889,
1482,
29918,
7247,
29918,
999,
580,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
7247,
29898,
7247,
1839,
333,
7464,
5354,
29897,
13,
4706,
1404,
353,
5190,
29889,
3258,
29918,
1792,
29898,
8618,
13044,
23598,
29889,
22350,
29918,
2754,
29892,
5354,
29918,
333,
29922,
7247,
1839,
333,
11287,
13,
4706,
2060,
353,
5190,
29889,
1482,
29918,
4836,
29918,
999,
29898,
7247,
29918,
333,
29922,
7247,
1839,
333,
11287,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
4836,
29898,
4836,
1839,
333,
7464,
2060,
29897,
13,
4706,
736,
5354,
29892,
1404,
29892,
2060,
13,
13,
1678,
822,
903,
16645,
29918,
3332,
29918,
12154,
29918,
517,
29918,
1792,
29918,
265,
29918,
4836,
29898,
1311,
29892,
1404,
29892,
2060,
1125,
13,
4706,
13756,
13044,
23598,
29889,
465,
10194,
29918,
2754,
29889,
1202,
29918,
12154,
29918,
517,
29918,
1792,
29918,
392,
29918,
4836,
29898,
13,
9651,
1404,
1839,
333,
7464,
2060,
1839,
333,
7464,
1583,
29889,
12154,
29918,
1761,
29961,
29900,
22322,
333,
11287,
13,
13,
1678,
822,
903,
4282,
29918,
15987,
573,
29918,
12154,
29918,
16645,
1860,
29918,
2271,
29898,
1311,
29892,
1404,
1125,
13,
4706,
736,
8207,
12154,
29918,
16645,
1860,
29973,
15987,
573,
29987,
1792,
29889,
333,
16328,
29898,
1792,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
1792,
29918,
333,
2396,
1404,
1839,
333,
2033,
29913,
13,
13,
1678,
822,
903,
9294,
29918,
497,
29918,
307,
793,
29918,
262,
29918,
465,
10194,
29898,
1311,
29892,
2933,
29892,
1404,
1125,
13,
4706,
396,
2567,
671,
278,
1051,
6297,
3566,
1860,
7882,
304,
1423,
393,
599,
2211,
16178,
13,
4706,
396,
2615,
297,
278,
4333,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
13,
9651,
2933,
29892,
13,
9651,
3806,
29918,
2848,
29922,
2435,
29898,
1311,
29889,
12154,
29918,
1761,
511,
13,
9651,
6503,
29918,
2271,
29922,
1311,
3032,
4282,
29918,
15987,
573,
29918,
12154,
29918,
16645,
1860,
29918,
2271,
29898,
1792,
876,
13,
13,
1678,
822,
903,
9294,
29918,
11228,
29918,
465,
10194,
29918,
262,
29918,
15987,
573,
29898,
1311,
29892,
2933,
29892,
1404,
29892,
2060,
1125,
13,
4706,
396,
450,
2847,
12827,
881,
367,
727,
313,
1552,
1544,
3142,
674,
367,
13,
4706,
396,
5759,
322,
7120,
6336,
1951,
372,
7087,
278,
12827,
29897,
13,
4706,
7855,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
2060,
29918,
333,
29922,
4836,
1839,
333,
7464,
13,
9651,
1404,
29918,
333,
29922,
1792,
1839,
333,
7464,
6297,
29918,
333,
29922,
1311,
29889,
12154,
29918,
1761,
29961,
29900,
22322,
333,
11287,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
5327,
29892,
7855,
29897,
13,
13,
1678,
822,
903,
9294,
29918,
15987,
573,
29918,
12154,
29918,
1454,
29918,
6574,
2957,
29918,
5349,
29918,
29886,
13479,
29918,
262,
29918,
4965,
29898,
13,
9651,
1583,
29892,
2933,
29892,
1404,
29892,
2060,
29892,
7536,
29918,
2248,
29892,
2411,
2957,
29918,
2248,
1125,
13,
4706,
396,
530,
11828,
6297,
363,
385,
2411,
2957,
6297,
674,
505,
278,
7536,
6297,
13,
4706,
396,
12827,
297,
278,
2988,
13,
4706,
7536,
29918,
2324,
353,
8207,
29886,
13479,
29918,
307,
793,
22584,
29898,
29886,
13479,
29897,
29879,
29914,
21304,
22584,
29898,
6574,
2957,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
29886,
13479,
2396,
1583,
29889,
12154,
29918,
1761,
29961,
29886,
13479,
29918,
2248,
22322,
333,
7464,
13,
9651,
525,
6574,
2957,
2396,
1583,
29889,
12154,
29918,
1761,
29961,
6574,
2957,
29918,
2248,
22322,
333,
2033,
29913,
13,
4706,
1544,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
2324,
29898,
13,
9651,
2060,
29918,
333,
29922,
4836,
1839,
333,
7464,
1404,
29918,
333,
29922,
1792,
1839,
333,
7464,
13,
9651,
6297,
29918,
333,
29922,
1311,
29889,
12154,
29918,
1761,
29961,
29886,
13479,
29918,
2248,
22322,
333,
11287,
13,
4706,
7855,
353,
1583,
29889,
4282,
29918,
12154,
29918,
465,
10194,
29918,
10041,
29898,
13,
9651,
1544,
29922,
2324,
29892,
2060,
29918,
333,
29922,
4836,
1839,
333,
7464,
13,
9651,
1404,
29918,
333,
29922,
1792,
1839,
333,
7464,
6297,
29918,
333,
29922,
1311,
29889,
12154,
29918,
1761,
29961,
6574,
2957,
29918,
2248,
22322,
333,
7464,
13,
9651,
7536,
29918,
2324,
29922,
29886,
13479,
29918,
2324,
29897,
13,
4706,
1583,
29889,
9294,
16727,
7900,
10194,
797,
1293,
5103,
29898,
5327,
29892,
7855,
29897,
13,
13,
1678,
822,
1243,
29918,
1761,
29918,
12154,
29918,
16645,
1860,
29918,
2541,
29918,
6574,
2957,
29918,
307,
793,
29898,
1311,
1125,
13,
4706,
9995,
5594,
4954,
7194,
847,
12154,
29918,
16645,
1860,
16159,
411,
2411,
2957,
6297,
16690,
29889,
13,
13,
4706,
4321,
8402,
29901,
13,
13,
4706,
448,
6204,
263,
5354,
411,
263,
1404,
322,
263,
2060,
13,
4706,
448,
6204,
29871,
29941,
16178,
13,
4706,
448,
1528,
280,
29871,
29900,
10469,
6297,
29871,
29896,
322,
6297,
29871,
29896,
10469,
6297,
29871,
29906,
13,
4706,
448,
4007,
647,
278,
2246,
6297,
304,
278,
2060,
13,
4706,
448,
26246,
278,
3988,
304,
1423,
11828,
16178,
373,
2060,
448,
445,
13,
3986,
881,
736,
599,
29871,
29941,
16178,
29889,
13,
4706,
448,
5399,
278,
2988,
310,
278,
29871,
29941,
16178,
12266,
278,
7536,
6297,
988,
13,
3986,
8210,
13,
13,
4706,
9995,
13,
4706,
313,
7247,
29892,
1404,
29892,
2060,
29897,
353,
1583,
3032,
3258,
29918,
1688,
29918,
7247,
29918,
1792,
29918,
4836,
580,
13,
4706,
1583,
3032,
3258,
29918,
17536,
29918,
307,
793,
580,
13,
4706,
1583,
3032,
3258,
29918,
6574,
2957,
29918,
12154,
29898,
1311,
29889,
12154,
29918,
1761,
29961,
29900,
1402,
1583,
29889,
12154,
29918,
1761,
29961,
29896,
2314,
13,
4706,
1583,
3032,
3258,
29918,
6574,
2957,
29918,
12154,
29898,
1311,
29889,
12154,
29918,
1761,
29961,
29896,
1402,
1583,
29889,
12154,
29918,
1761,
29961,
29906,
2314,
13,
4706,
1583,
3032,
16645,
29918,
3332,
29918,
12154,
29918,
517,
29918,
1792,
29918,
265,
29918,
4836,
29898,
1792,
29892,
2060,
29897,
13,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
1311,
3032,
4282,
29918,
15987,
573,
29918,
12154,
29918,
16645,
1860,
29918,
2271,
29898,
1792,
876,
13,
4706,
364,
353,
2933,
13,
13,
4706,
1583,
3032,
9294,
29918,
497,
29918,
307,
793,
29918,
262,
29918,
465,
10194,
29898,
29878,
29892,
1404,
29897,
13,
4706,
1583,
3032,
9294,
29918,
11228,
29918,
465,
10194,
29918,
262,
29918,
15987,
573,
29898,
5327,
29892,
1404,
29892,
2060,
29897,
13,
4706,
1583,
3032,
9294,
29918,
15987,
573,
29918,
12154,
29918,
1454,
29918,
6574,
2957,
29918,
5349,
29918,
29886,
13479,
29918,
262,
29918,
4965,
29898,
13,
9651,
2933,
29892,
1404,
29892,
2060,
29892,
29871,
29900,
29892,
29871,
29896,
29897,
13,
4706,
1583,
3032,
9294,
29918,
15987,
573,
29918,
12154,
29918,
1454,
29918,
6574,
2957,
29918,
5349,
29918,
29886,
13479,
29918,
262,
29918,
4965,
29898,
13,
9651,
2933,
29892,
1404,
29892,
2060,
29892,
29871,
29896,
29892,
29871,
29906,
29897,
13,
13,
1678,
822,
903,
3258,
29918,
17514,
29918,
12154,
29898,
1311,
29892,
1024,
1125,
13,
4706,
6297,
353,
5190,
29889,
1482,
29918,
12154,
29918,
999,
580,
13,
4706,
6297,
1839,
978,
2033,
353,
1024,
13,
4706,
13756,
13044,
23598,
29889,
12154,
29918,
2754,
29889,
3258,
29918,
12154,
29898,
12154,
1839,
333,
7464,
6297,
29897,
13,
4706,
736,
6297,
13,
13,
1678,
822,
1243,
29918,
4632,
29918,
12154,
29918,
294,
29918,
6574,
2957,
29918,
12154,
29918,
1454,
29890,
4215,
29898,
1311,
1125,
13,
4706,
9995,
3057,
3876,
6297,
338,
19752,
4215,
304,
367,
731,
408,
385,
2411,
2957,
6297,
29889,
13,
13,
4706,
6204,
29871,
29906,
16178,
393,
526,
21460,
1573,
515,
1641,
385,
2411,
2957,
6297,
29889,
13,
4706,
6204,
29871,
29896,
5684,
6297,
607,
881,
367,
9259,
408,
385,
2411,
2957,
13,
4706,
6297,
29889,
4007,
545,
278,
21460,
1573,
6297,
2983,
2609,
367,
731,
408,
385,
2411,
2957,
13,
4706,
6297,
29889,
4007,
545,
278,
9259,
6297,
1024,
607,
338,
451,
263,
4509,
310,
278,
13,
4706,
21460,
1573,
2411,
2957,
6297,
1051,
508,
367,
8472,
731,
385,
2411,
2957,
13,
4706,
6297,
29889,
13,
4706,
9995,
13,
4706,
21460,
1573,
29918,
978,
29896,
353,
525,
4632,
29896,
29915,
13,
4706,
21460,
1573,
29918,
978,
29906,
353,
525,
4632,
29906,
29915,
13,
4706,
9259,
29918,
978,
29896,
353,
525,
6574,
2957,
29896,
29915,
13,
13,
4706,
21460,
1573,
29918,
7039,
353,
518,
771,
6335,
1573,
29918,
978,
29896,
29892,
21460,
1573,
29918,
978,
29906,
29962,
13,
4706,
1583,
29889,
2917,
29918,
7241,
15546,
29889,
2917,
29898,
2972,
2433,
465,
10194,
742,
13,
462,
462,
259,
21460,
1573,
29918,
6574,
2957,
29918,
12154,
29922,
771,
6335,
1573,
29918,
7039,
29897,
13,
13,
4706,
7536,
29918,
12154,
353,
1583,
3032,
3258,
29918,
12154,
580,
13,
13,
4706,
21460,
1573,
29918,
12154,
29896,
353,
1583,
3032,
3258,
29918,
17514,
29918,
12154,
29898,
771,
6335,
1573,
29918,
978,
29896,
29897,
13,
4706,
3142,
353,
8207,
307,
793,
19248,
29886,
13479,
29918,
12154,
29918,
333,
6822,
21304,
19248,
6574,
2957,
29918,
12154,
29918,
333,
29913,
4286,
4830,
29898,
13,
9651,
7536,
29918,
12154,
29918,
333,
29922,
29886,
13479,
29918,
12154,
1839,
333,
7464,
13,
9651,
2411,
2957,
29918,
12154,
29918,
333,
29922,
771,
6335,
1573,
29918,
12154,
29896,
1839,
333,
11287,
13,
4706,
1583,
29889,
649,
29898,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
22051,
29933,
1367,
29928,
1430,
29897,
13,
13,
4706,
21460,
1573,
29918,
12154,
29906,
353,
1583,
3032,
3258,
29918,
17514,
29918,
12154,
29898,
771,
6335,
1573,
29918,
978,
29906,
29897,
13,
4706,
3142,
353,
8207,
307,
793,
19248,
29886,
13479,
29918,
12154,
29918,
333,
6822,
21304,
19248,
6574,
2957,
29918,
12154,
29918,
333,
29913,
4286,
4830,
29898,
13,
9651,
7536,
29918,
12154,
29918,
333,
29922,
29886,
13479,
29918,
12154,
1839,
333,
7464,
13,
9651,
2411,
2957,
29918,
12154,
29918,
333,
29922,
771,
6335,
1573,
29918,
12154,
29906,
1839,
333,
11287,
13,
4706,
1583,
29889,
649,
29898,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
22051,
29933,
1367,
29928,
1430,
29897,
13,
13,
4706,
9259,
29918,
12154,
29896,
353,
1583,
3032,
3258,
29918,
17514,
29918,
12154,
29898,
16044,
287,
29918,
978,
29896,
29897,
13,
4706,
3142,
353,
8207,
307,
793,
19248,
29886,
13479,
29918,
12154,
29918,
333,
6822,
21304,
19248,
6574,
2957,
29918,
12154,
29918,
333,
29913,
4286,
4830,
29898,
13,
9651,
7536,
29918,
12154,
29918,
333,
29922,
29886,
13479,
29918,
12154,
1839,
333,
7464,
13,
9651,
2411,
2957,
29918,
12154,
29918,
333,
29922,
16044,
287,
29918,
12154,
29896,
1839,
333,
11287,
13,
4706,
1583,
29889,
649,
29898,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
27045,
29928,
29897,
13,
13,
1678,
822,
1243,
29918,
509,
504,
29879,
29918,
3166,
29918,
6574,
2957,
29918,
12154,
29898,
1311,
1125,
13,
4706,
1583,
3032,
3258,
29918,
17536,
29918,
307,
793,
580,
13,
4706,
1583,
3032,
3258,
29918,
6574,
2957,
29918,
12154,
29898,
1311,
29889,
12154,
29918,
1761,
29961,
29900,
1402,
1583,
29889,
12154,
29918,
1761,
29961,
29896,
2314,
13,
4706,
1583,
3032,
3258,
29918,
6574,
2957,
29918,
12154,
29898,
1311,
29889,
12154,
29918,
1761,
29961,
29896,
1402,
1583,
29889,
12154,
29918,
1761,
29961,
29906,
2314,
13,
4706,
1583,
3032,
16645,
29918,
3332,
29918,
12154,
29918,
517,
29918,
1792,
29918,
265,
29918,
4836,
29898,
1311,
29889,
1792,
29892,
1583,
29889,
4836,
29897,
13,
13,
4706,
396,
6204,
263,
9311,
3905,
322,
3566,
278,
7536,
6297,
304,
902,
13,
4706,
9311,
3905,
353,
5190,
29889,
3258,
29918,
1792,
29898,
13,
9651,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29892,
5354,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
13,
4706,
1723,
13,
4706,
2143,
353,
5190,
29889,
1482,
29918,
509,
504,
29918,
999,
29898,
13,
9651,
9311,
272,
29918,
1792,
29918,
333,
29922,
1311,
29889,
1792,
1839,
333,
7464,
13,
9651,
9311,
3905,
29918,
1792,
29918,
333,
29922,
509,
504,
3905,
1839,
333,
7464,
13,
9651,
2060,
29918,
333,
29922,
1311,
29889,
4836,
1839,
333,
7464,
13,
9651,
6297,
29918,
4841,
11759,
1311,
29889,
12154,
29918,
1761,
29961,
29900,
22322,
333,
2033,
2314,
13,
4706,
364,
353,
1583,
29889,
2490,
11219,
3267,
29899,
5659,
17321,
29914,
509,
504,
29879,
742,
3573,
3790,
29915,
509,
504,
2396,
2143,
1800,
13,
4706,
9311,
353,
364,
29889,
2914,
1839,
509,
504,
2033,
13,
13,
4706,
396,
9333,
278,
6297,
393,
471,
6790,
338,
297,
278,
9311,
29892,
6058,
2411,
2957,
16178,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1311,
29889,
12154,
29918,
1761,
29961,
29900,
22322,
333,
7464,
9311,
1839,
307,
793,
2033,
29961,
29900,
22322,
333,
11287,
13,
4706,
1583,
29889,
9294,
7058,
29898,
509,
504,
1839,
307,
793,
7464,
1993,
414,
29889,
14510,
6513,
29898,
29896,
876,
13,
13,
4706,
396,
13189,
4173,
403,
408,
278,
9311,
3905,
13,
4706,
4817,
29918,
1272,
353,
1583,
29889,
4282,
29918,
23055,
29918,
3827,
29898,
13,
9651,
1404,
29918,
333,
29922,
509,
504,
3905,
1839,
333,
7464,
13,
9651,
4800,
29922,
509,
504,
3905,
1839,
5630,
7464,
13,
9651,
9311,
29918,
333,
29922,
509,
504,
1839,
333,
11287,
13,
4706,
364,
353,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
5150,
29918,
1272,
29897,
13,
4706,
5993,
353,
364,
29889,
2914,
1839,
6979,
2033,
13,
4706,
1583,
29889,
9294,
7058,
29898,
6979,
1839,
307,
793,
7464,
13,
462,
4706,
1993,
414,
29889,
14510,
6513,
29898,
2435,
29898,
1311,
29889,
12154,
29918,
1761,
4961,
13,
4706,
363,
6297,
297,
5993,
1839,
307,
793,
2033,
29901,
13,
9651,
1583,
29889,
9294,
797,
29898,
12154,
29892,
1583,
29889,
12154,
29918,
1761,
29897,
13,
4706,
363,
6297,
297,
1583,
29889,
12154,
29918,
1761,
29901,
13,
9651,
1583,
29889,
9294,
797,
29898,
12154,
29892,
5993,
1839,
307,
793,
11287,
13,
13,
1678,
822,
1243,
29918,
509,
504,
29879,
29918,
3166,
29918,
7247,
29918,
14940,
29918,
6574,
2957,
29918,
12154,
29898,
1311,
1125,
13,
4706,
1583,
3032,
3258,
29918,
17536,
29918,
307,
793,
580,
13,
4706,
396,
6811,
3539,
278,
937,
6297,
411,
263,
5354,
2702,
6297,
13,
4706,
6297,
353,
5190,
29889,
1482,
29918,
12154,
29918,
999,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
29897,
13,
4706,
1583,
29889,
12154,
29918,
1761,
29961,
29900,
29962,
353,
13756,
13044,
23598,
29889,
12154,
29918,
2754,
29889,
3258,
29918,
12154,
29898,
12154,
1839,
333,
7464,
6297,
29897,
13,
4706,
1583,
3032,
3258,
29918,
6574,
2957,
29918,
12154,
29898,
1311,
29889,
12154,
29918,
1761,
29961,
29900,
1402,
1583,
29889,
12154,
29918,
1761,
29961,
29896,
2314,
13,
4706,
1583,
3032,
3258,
29918,
6574,
2957,
29918,
12154,
29898,
1311,
29889,
12154,
29918,
1761,
29961,
29896,
1402,
1583,
29889,
12154,
29918,
1761,
29961,
29906,
2314,
13,
4706,
1583,
3032,
16645,
29918,
3332,
29918,
12154,
29918,
517,
29918,
1792,
29918,
265,
29918,
4836,
29898,
1311,
29889,
1792,
29892,
1583,
29889,
4836,
29897,
13,
13,
4706,
396,
6204,
263,
9311,
3905,
322,
3566,
278,
7536,
6297,
304,
902,
13,
4706,
9311,
3905,
353,
5190,
29889,
3258,
29918,
1792,
29898,
13,
9651,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29892,
5354,
29918,
333,
29922,
1311,
29889,
7247,
29918,
333,
13,
4706,
1723,
13,
4706,
2143,
353,
5190,
29889,
1482,
29918,
509,
504,
29918,
999,
29898,
13,
9651,
9311,
272,
29918,
1792,
29918,
333,
29922,
1311,
29889,
1792,
1839,
333,
7464,
13,
9651,
9311,
3905,
29918,
1792,
29918,
333,
29922,
509,
504,
3905,
1839,
333,
7464,
13,
9651,
2060,
29918,
333,
29922,
1311,
29889,
4836,
1839,
333,
7464,
13,
9651,
6297,
29918,
4841,
11759,
1311,
29889,
12154,
29918,
1761,
29961,
29900,
22322,
333,
2033,
2314,
13,
4706,
364,
353,
1583,
29889,
2490,
11219,
3267,
29899,
5659,
17321,
29914,
509,
504,
29879,
742,
3573,
3790,
29915,
509,
504,
2396,
2143,
1800,
13,
4706,
9311,
353,
364,
29889,
2914,
1839,
509,
504,
2033,
13,
13,
4706,
396,
9333,
278,
6297,
393,
471,
6790,
338,
297,
278,
9311,
29892,
6058,
2411,
2957,
16178,
13,
4706,
1583,
29889,
9294,
9843,
29898,
1311,
29889,
12154,
29918,
1761,
29961,
29900,
22322,
333,
7464,
9311,
1839,
307,
793,
2033,
29961,
29900,
22322,
333,
11287,
13,
4706,
1583,
29889,
9294,
7058,
29898,
509,
504,
1839,
307,
793,
7464,
1993,
414,
29889,
14510,
6513,
29898,
29896,
876,
13,
13,
4706,
396,
13189,
4173,
403,
408,
278,
9311,
3905,
13,
4706,
4817,
29918,
1272,
353,
1583,
29889,
4282,
29918,
23055,
29918,
3827,
29898,
13,
9651,
1404,
29918,
333,
29922,
509,
504,
3905,
1839,
333,
7464,
13,
9651,
4800,
29922,
29966,
25711,
17013,
29958,
3905,
1839,
5630,
7464,
13,
9651,
9311,
29918,
333,
29922,
509,
504,
1839,
333,
11287,
13,
4706,
364,
353,
1583,
29889,
29894,
29941,
29918,
3258,
29918,
6979,
29898,
5150,
29918,
1272,
29897,
13,
4706,
5993,
353,
364,
29889,
2914,
1839,
6979,
2033,
13,
13,
4706,
396,
450,
5993,
881,
505,
278,
16178,
10469,
491,
278,
5354,
2702,
6297,
29892,
13,
4706,
396,
541,
451,
278,
5354,
2702,
6297,
3528,
29889,
13,
4706,
1583,
29889,
9294,
7058,
29898,
6979,
1839,
307,
793,
7464,
13,
462,
4706,
1993,
414,
29889,
14510,
6513,
29898,
2435,
29898,
1311,
29889,
12154,
29918,
1761,
29897,
448,
29871,
29896,
876,
13,
4706,
363,
6297,
297,
5993,
1839,
307,
793,
2033,
29901,
13,
9651,
1583,
29889,
9294,
797,
29898,
12154,
29892,
1583,
29889,
12154,
29918,
1761,
29897,
13,
4706,
363,
6297,
297,
518,
1311,
29889,
12154,
29918,
1761,
29961,
29896,
1402,
1583,
29889,
12154,
29918,
1761,
29961,
29906,
5262,
29901,
13,
9651,
1583,
29889,
9294,
797,
29898,
12154,
29892,
5993,
1839,
307,
793,
11287,
13,
4706,
1583,
29889,
9294,
3664,
797,
29898,
1311,
29889,
12154,
29918,
1761,
29961,
29900,
1402,
5993,
1839,
307,
793,
11287,
13,
13,
1678,
822,
1243,
29918,
10945,
29918,
12154,
29918,
29883,
6735,
29918,
6574,
368,
29918,
7247,
29918,
14940,
29918,
12154,
29898,
1311,
1125,
13,
4706,
5354,
353,
5190,
29889,
1482,
29918,
7247,
29918,
999,
580,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
7247,
29898,
7247,
1839,
333,
7464,
5354,
29897,
13,
13,
4706,
5354,
29918,
12154,
29918,
999,
353,
5190,
29889,
1482,
29918,
12154,
29918,
999,
29898,
7247,
29918,
333,
29922,
7247,
1839,
333,
11287,
13,
4706,
5354,
29918,
12154,
353,
13756,
13044,
23598,
29889,
12154,
29918,
2754,
29889,
3258,
29918,
12154,
29898,
13,
9651,
5354,
29918,
12154,
29918,
999,
1839,
333,
7464,
5354,
29918,
12154,
29918,
999,
13,
4706,
1723,
13,
4706,
5534,
29918,
12154,
29918,
999,
353,
5190,
29889,
1482,
29918,
12154,
29918,
999,
580,
13,
4706,
5534,
29918,
12154,
353,
13756,
13044,
23598,
29889,
12154,
29918,
2754,
29889,
3258,
29918,
12154,
29898,
13,
9651,
5534,
29918,
12154,
29918,
999,
1839,
333,
7464,
5534,
29918,
12154,
29918,
999,
13,
4706,
1723,
13,
13,
4706,
1583,
29889,
649,
11219,
307,
793,
22584,
29879,
29914,
21304,
22584,
29879,
29915,
1273,
313,
10945,
29918,
12154,
1839,
333,
7464,
13,
462,
462,
965,
5354,
29918,
12154,
1839,
333,
2033,
511,
13,
462,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
22051,
29933,
1367,
29928,
1430,
29897,
13,
13,
13,
1990,
28460,
10299,
928,
16727,
24376,
29898,
1688,
29918,
29894,
29941,
29889,
15078,
1319,
3057,
8259,
29892,
5190,
29889,
3057,
8259,
1125,
13,
1678,
822,
731,
3373,
29898,
1311,
1125,
13,
4706,
822,
1653,
29918,
12154,
29898,
7247,
29918,
333,
29922,
8516,
1125,
13,
9651,
9995,
5594,
4954,
5438,
847,
307,
793,
16159,
1213,
15945,
13,
9651,
2143,
353,
5190,
29889,
1482,
29918,
12154,
29918,
999,
29898,
7247,
29918,
333,
29922,
7247,
29918,
333,
29897,
13,
9651,
364,
353,
1583,
29889,
2490,
29898,
13,
18884,
8207,
307,
793,
742,
13,
18884,
3573,
3790,
29915,
12154,
2396,
2143,
1800,
13,
9651,
736,
1583,
29889,
9294,
7211,
16727,
5103,
29898,
29878,
29892,
2143,
29897,
13,
13,
4706,
2428,
29898,
15951,
10299,
928,
16727,
24376,
29892,
1583,
467,
842,
3373,
580,
13,
4706,
1583,
29889,
7247,
29909,
353,
5190,
29889,
1482,
29918,
7247,
29918,
999,
580,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
7247,
29898,
1311,
29889,
7247,
29909,
1839,
333,
7464,
1583,
29889,
7247,
29909,
29897,
13,
4706,
1583,
29889,
7247,
29933,
353,
5190,
29889,
1482,
29918,
7247,
29918,
999,
580,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
7247,
29898,
1311,
29889,
7247,
29933,
1839,
333,
7464,
1583,
29889,
7247,
29933,
29897,
13,
13,
4706,
1583,
29889,
10945,
29918,
12154,
29896,
353,
1653,
29918,
12154,
580,
13,
4706,
1583,
29889,
10945,
29918,
12154,
29906,
353,
1653,
29918,
12154,
580,
13,
4706,
396,
4001,
727,
5505,
916,
5534,
16178,
2307,
2825,
29892,
1235,
29915,
29879,
2302,
13,
4706,
396,
963,
29892,
577,
591,
508,
9801,
591,
508,
1423,
15352,
1051,
20890,
13,
4706,
396,
526,
1959,
13,
4706,
364,
353,
1583,
29889,
657,
11219,
307,
793,
1495,
13,
4706,
1583,
29889,
735,
15423,
29918,
10945,
29918,
307,
793,
353,
7431,
29898,
29878,
29889,
2914,
1839,
307,
793,
11287,
13,
13,
4706,
396,
1126,
1286,
1653,
777,
5354,
2702,
16178,
13,
4706,
1583,
29889,
7247,
29909,
29918,
12154,
29896,
353,
1653,
29918,
12154,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
29909,
1839,
333,
11287,
13,
4706,
1583,
29889,
7247,
29909,
29918,
12154,
29906,
353,
1653,
29918,
12154,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
29909,
1839,
333,
11287,
13,
4706,
1583,
29889,
7247,
29933,
29918,
12154,
353,
1653,
29918,
12154,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
29933,
1839,
333,
11287,
13,
13,
1678,
822,
1243,
29918,
657,
29918,
392,
29918,
1761,
29918,
7247,
29918,
14940,
29918,
307,
793,
29898,
1311,
1125,
13,
4706,
396,
5399,
591,
508,
679,
263,
5354,
2702,
6297,
13,
4706,
364,
353,
1583,
29889,
657,
11219,
307,
793,
22584,
29879,
29915,
1273,
1583,
29889,
7247,
29909,
29918,
12154,
29896,
1839,
333,
11287,
13,
4706,
1583,
29889,
9294,
7211,
16727,
5103,
29898,
29878,
29892,
1583,
29889,
7247,
29909,
29918,
12154,
29896,
29897,
13,
13,
4706,
396,
960,
591,
1051,
1728,
22146,
263,
5354,
29892,
591,
881,
871,
679,
5534,
13,
4706,
396,
16178,
1250,
29889,
13,
4706,
364,
353,
1583,
29889,
657,
11219,
307,
793,
1495,
13,
4706,
1583,
29889,
9294,
7211,
16727,
1293,
5103,
29898,
13,
9651,
364,
29892,
3806,
29918,
2848,
29922,
1311,
29889,
735,
15423,
29918,
10945,
29918,
307,
793,
29897,
13,
4706,
1583,
29889,
9294,
16727,
797,
1293,
5103,
29898,
29878,
29892,
1583,
29889,
10945,
29918,
12154,
29896,
29897,
13,
4706,
1583,
29889,
9294,
16727,
797,
1293,
5103,
29898,
29878,
29892,
1583,
29889,
10945,
29918,
12154,
29906,
29897,
13,
4706,
1583,
29889,
9294,
16727,
3664,
797,
1293,
5103,
29898,
29878,
29892,
1583,
29889,
7247,
29909,
29918,
12154,
29896,
29897,
13,
4706,
1583,
29889,
9294,
16727,
3664,
797,
1293,
5103,
29898,
29878,
29892,
1583,
29889,
7247,
29909,
29918,
12154,
29906,
29897,
13,
4706,
1583,
29889,
9294,
16727,
3664,
797,
1293,
5103,
29898,
29878,
29892,
1583,
29889,
7247,
29933,
29918,
12154,
29897,
13,
13,
4706,
396,
2567,
1051,
1906,
297,
5354,
29909,
29892,
3907,
1854,
393,
29915,
29879,
599,
591,
679,
1250,
13,
4706,
364,
353,
1583,
29889,
657,
11219,
307,
793,
29973,
7247,
29918,
333,
16328,
29879,
29915,
1273,
1583,
29889,
7247,
29909,
1839,
333,
11287,
13,
4706,
1583,
29889,
9294,
7211,
16727,
1293,
5103,
29898,
29878,
29892,
3806,
29918,
2848,
29922,
29906,
29897,
13,
4706,
1583,
29889,
9294,
16727,
797,
1293,
5103,
29898,
29878,
29892,
1583,
29889,
7247,
29909,
29918,
12154,
29896,
29897,
13,
4706,
1583,
29889,
9294,
16727,
797,
1293,
5103,
29898,
29878,
29892,
1583,
29889,
7247,
29909,
29918,
12154,
29906,
29897,
13,
13,
1678,
822,
1243,
29918,
5504,
29918,
7247,
29918,
14940,
29918,
307,
793,
29898,
1311,
1125,
13,
4706,
1583,
29889,
7247,
29909,
29918,
12154,
29896,
1839,
978,
2033,
353,
318,
5416,
29889,
25118,
29946,
2141,
20970,
13,
4706,
1583,
29889,
5041,
11219,
307,
793,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
12154,
29918,
333,
2396,
1583,
29889,
7247,
29909,
29918,
12154,
29896,
1839,
333,
2033,
1118,
13,
9651,
3573,
3790,
29915,
12154,
2396,
1583,
29889,
7247,
29909,
29918,
12154,
29896,
1800,
13,
4706,
364,
353,
1583,
29889,
657,
11219,
307,
793,
22584,
29879,
29915,
1273,
1583,
29889,
7247,
29909,
29918,
12154,
29896,
1839,
333,
11287,
13,
4706,
1583,
29889,
9294,
7211,
16727,
5103,
29898,
29878,
29892,
1583,
29889,
7247,
29909,
29918,
12154,
29896,
29897,
13,
13,
1678,
822,
1243,
29918,
8143,
29918,
7247,
29918,
14940,
29918,
307,
793,
29898,
1311,
1125,
13,
4706,
396,
5399,
5217,
871,
25388,
393,
697,
5354,
6297,
13,
4706,
1583,
29889,
8143,
11219,
307,
793,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
12154,
29918,
333,
2396,
1583,
29889,
7247,
29909,
29918,
12154,
29896,
1839,
333,
2033,
1800,
13,
13,
4706,
1583,
29889,
657,
11219,
307,
793,
22584,
29879,
29915,
1273,
1583,
29889,
7247,
29909,
29918,
12154,
29896,
1839,
333,
7464,
13,
462,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
12256,
29918,
5800,
18783,
29897,
13,
4706,
396,
2567,
337,
29899,
1761,
1906,
297,
5354,
29909,
29892,
3907,
1854,
727,
29915,
29879,
871,
697,
2175,
13,
4706,
364,
353,
1583,
29889,
657,
11219,
307,
793,
29973,
7247,
29918,
333,
16328,
29879,
29915,
1273,
1583,
29889,
7247,
29909,
1839,
333,
11287,
13,
4706,
1583,
29889,
9294,
7211,
16727,
1293,
5103,
29898,
29878,
29892,
3806,
29918,
2848,
29922,
29896,
29897,
13,
4706,
1583,
29889,
9294,
16727,
797,
1293,
5103,
29898,
29878,
29892,
1583,
29889,
7247,
29909,
29918,
12154,
29906,
29897,
13,
13,
1678,
822,
1243,
29918,
17642,
29918,
7247,
29918,
465,
10194,
29898,
1311,
1125,
13,
4706,
1404,
353,
5190,
29889,
3258,
29918,
1792,
29898,
8618,
13044,
23598,
29889,
22350,
29918,
2754,
29892,
13,
462,
18884,
5354,
29918,
333,
29922,
1311,
29889,
7247,
29909,
1839,
333,
11287,
13,
13,
4706,
2060,
29909,
353,
5190,
29889,
1482,
29918,
4836,
29918,
999,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
29909,
1839,
333,
11287,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
4836,
29898,
4836,
29909,
1839,
333,
7464,
2060,
29909,
29897,
13,
13,
4706,
13756,
13044,
23598,
29889,
465,
10194,
29918,
2754,
29889,
3258,
29918,
629,
424,
29898,
13,
9651,
1583,
29889,
7247,
29909,
29918,
12154,
29896,
1839,
333,
7464,
1404,
29918,
333,
29922,
1792,
1839,
333,
7464,
13,
9651,
2060,
29918,
333,
29922,
4836,
29909,
1839,
333,
2033,
13,
4706,
1723,
13,
13,
1678,
822,
1243,
29918,
19128,
29918,
7247,
29918,
465,
10194,
29918,
3084,
29898,
1311,
1125,
13,
4706,
1404,
353,
5190,
29889,
3258,
29918,
1792,
29898,
8618,
13044,
23598,
29889,
22350,
29918,
2754,
29892,
13,
462,
18884,
5354,
29918,
333,
29922,
1311,
29889,
7247,
29933,
1839,
333,
11287,
13,
13,
4706,
2060,
29909,
353,
5190,
29889,
1482,
29918,
4836,
29918,
999,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
29909,
1839,
333,
11287,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
4836,
29898,
4836,
29909,
1839,
333,
7464,
2060,
29909,
29897,
13,
13,
4706,
396,
10321,
3321,
29901,
263,
6297,
373,
5354,
29909,
508,
367,
9859,
304,
263,
1404,
515,
5354,
29933,
13,
4706,
396,
541,
871,
363,
671,
373,
263,
2060,
515,
5354,
29909,
13,
4706,
13756,
13044,
23598,
29889,
465,
10194,
29918,
2754,
29889,
3258,
29918,
629,
424,
29898,
13,
9651,
1583,
29889,
7247,
29909,
29918,
12154,
29896,
1839,
333,
7464,
1404,
29918,
333,
29922,
1792,
1839,
333,
7464,
13,
9651,
2060,
29918,
333,
29922,
4836,
29909,
1839,
333,
2033,
13,
4706,
1723,
13,
13,
1678,
822,
1243,
29918,
19128,
29918,
7247,
29918,
465,
10194,
29918,
20965,
29898,
1311,
1125,
13,
4706,
1404,
353,
5190,
29889,
3258,
29918,
1792,
29898,
8618,
13044,
23598,
29889,
22350,
29918,
2754,
29892,
13,
462,
18884,
5354,
29918,
333,
29922,
1311,
29889,
7247,
29933,
1839,
333,
11287,
13,
13,
4706,
2060,
29933,
353,
5190,
29889,
1482,
29918,
4836,
29918,
999,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
29933,
1839,
333,
11287,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
4836,
29898,
4836,
29933,
1839,
333,
7464,
2060,
29933,
29897,
13,
13,
4706,
396,
12610,
1230,
29901,
263,
6297,
373,
5354,
29909,
508,
367,
9859,
304,
263,
1404,
515,
5354,
29933,
13,
4706,
396,
871,
363,
263,
2060,
515,
5354,
29909,
13,
4706,
1583,
29889,
9294,
29934,
1759,
267,
29898,
11739,
29889,
15951,
10299,
928,
16727,
29924,
1608,
905,
29892,
13,
462,
3986,
13756,
13044,
23598,
29889,
465,
10194,
29918,
2754,
29889,
3258,
29918,
629,
424,
29892,
13,
462,
3986,
1583,
29889,
7247,
29909,
29918,
12154,
29896,
1839,
333,
7464,
13,
462,
3986,
1404,
29918,
333,
29922,
1792,
1839,
333,
7464,
13,
462,
3986,
2060,
29918,
333,
29922,
4836,
29933,
1839,
333,
11287,
13,
13,
1678,
822,
1243,
29918,
19128,
29918,
7247,
29918,
6574,
2957,
29918,
307,
793,
29918,
23055,
29898,
1311,
1125,
13,
4706,
396,
6204,
263,
1404,
297,
5354,
29933,
13,
4706,
1404,
353,
5190,
29889,
3258,
29918,
1792,
29898,
8618,
13044,
23598,
29889,
22350,
29918,
2754,
29892,
13,
462,
18884,
5354,
29918,
333,
29922,
1311,
29889,
7247,
29933,
1839,
333,
11287,
13,
13,
4706,
396,
6204,
2060,
297,
5354,
29909,
13,
4706,
2060,
29909,
353,
5190,
29889,
1482,
29918,
4836,
29918,
999,
29898,
7247,
29918,
333,
29922,
1311,
29889,
7247,
29909,
1839,
333,
11287,
13,
4706,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
4836,
29898,
4836,
29909,
1839,
333,
7464,
2060,
29909,
29897,
13,
13,
4706,
396,
2567,
591,
1653,
385,
2411,
2957,
5751,
515,
263,
6297,
297,
5354,
29909,
304,
263,
13,
4706,
396,
6297,
297,
5354,
29933,
13,
4706,
1583,
29889,
649,
11219,
307,
793,
22584,
29879,
29914,
21304,
22584,
29879,
29915,
1273,
13,
462,
313,
1311,
29889,
7247,
29909,
29918,
12154,
29896,
1839,
333,
7464,
1583,
29889,
7247,
29933,
29918,
12154,
1839,
333,
2033,
511,
13,
462,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
27045,
29928,
29897,
13,
13,
4706,
396,
319,
6297,
297,
5354,
29909,
508,
367,
9859,
304,
263,
1404,
515,
5354,
29933,
13,
4706,
396,
871,
363,
263,
2060,
515,
5354,
29909,
13,
4706,
13756,
13044,
23598,
29889,
465,
10194,
29918,
2754,
29889,
3258,
29918,
629,
424,
29898,
13,
9651,
1583,
29889,
7247,
29909,
29918,
12154,
29896,
1839,
333,
7464,
1404,
29918,
333,
29922,
1792,
1839,
333,
7464,
13,
9651,
2060,
29918,
333,
29922,
4836,
29909,
1839,
333,
2033,
13,
4706,
1723,
13,
13,
4706,
396,
450,
6297,
3566,
1860,
881,
736,
385,
4069,
1051,
1951,
5354,
16178,
13,
4706,
396,
508,
871,
367,
1304,
304,
22366,
1790,
16178,
13,
4706,
3566,
1860,
353,
13756,
13044,
23598,
29889,
465,
10194,
29918,
2754,
29889,
1761,
29918,
12154,
29918,
16645,
1860,
29898,
13,
9651,
1404,
29918,
333,
29922,
1792,
1839,
333,
7464,
11828,
29922,
5574,
29897,
13,
4706,
1583,
29889,
9294,
9843,
4197,
1402,
3566,
1860,
29897,
13,
13,
4706,
396,
910,
884,
2794,
591,
508,
29915,
29873,
15585,
403,
773,
278,
5923,
12827,
13,
4706,
4817,
29918,
2587,
353,
1583,
29889,
4282,
29918,
23055,
29918,
3827,
29898,
13,
9651,
1404,
29918,
333,
29922,
1792,
1839,
333,
7464,
13,
9651,
4800,
29922,
29966,
25711,
17013,
29958,
1839,
5630,
7464,
13,
9651,
2060,
29918,
333,
29922,
4836,
29909,
1839,
333,
11287,
13,
4706,
1583,
29889,
2490,
11219,
5150,
29914,
517,
12360,
742,
3573,
29922,
5150,
29918,
2587,
29892,
13,
462,
29871,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
29965,
3521,
2692,
29950,
1955,
26664,
3352,
29897,
13,
13,
13,
1990,
2391,
2659,
25119,
3057,
8259,
29898,
1688,
29918,
29894,
29941,
29889,
15078,
1319,
3057,
8259,
1125,
13,
1678,
9995,
3057,
363,
847,
7193,
29914,
29966,
1792,
20690,
16418,
1213,
15945,
13,
13,
1678,
822,
2254,
29918,
11249,
29918,
1272,
29898,
1311,
1125,
13,
4706,
396,
437,
451,
2254,
2967,
770,
29915,
29879,
848,
29892,
3013,
372,
21309,
373,
278,
6987,
13,
13,
4706,
1583,
29889,
5150,
29879,
353,
5159,
13,
4706,
1583,
29889,
3129,
2708,
353,
5159,
13,
4706,
1583,
29889,
16418,
353,
5159,
13,
4706,
1583,
29889,
307,
793,
353,
5159,
13,
4706,
1583,
29889,
7193,
353,
5159,
13,
13,
4706,
3876,
29918,
7247,
353,
5190,
29889,
1482,
29918,
7247,
29918,
999,
29898,
13,
9651,
1178,
29922,
10314,
29918,
3188,
29889,
10074,
29918,
3970,
29032,
29918,
1367,
29892,
13,
9651,
1024,
29922,
10314,
29918,
3188,
29889,
10074,
29918,
3970,
29032,
29918,
1367,
13,
4706,
1723,
13,
4706,
1583,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
7247,
29898,
10314,
29918,
3188,
29889,
10074,
29918,
3970,
29032,
29918,
1367,
29892,
13,
462,
462,
4706,
3876,
29918,
7247,
29897,
13,
13,
4706,
396,
6204,
29871,
29941,
6166,
310,
5354,
29892,
16178,
29892,
9279,
29892,
322,
4160,
304,
22222,
13,
4706,
396,
278,
1492,
1404,
29915,
29879,
848,
338,
7500,
322,
871,
9279,
896,
508,
2130,
13,
4706,
396,
526,
4133,
29889,
13,
13,
4706,
363,
903,
297,
3464,
29898,
29941,
1125,
13,
9651,
5354,
353,
5190,
29889,
1482,
29918,
7247,
29918,
999,
580,
13,
9651,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
7247,
29898,
7247,
1839,
333,
7464,
5354,
29897,
13,
13,
9651,
1404,
353,
5190,
29889,
3258,
29918,
1792,
29898,
13,
18884,
13756,
13044,
23598,
29889,
22350,
29918,
2754,
29892,
5354,
29918,
333,
29922,
7247,
1839,
333,
2033,
13,
9651,
1723,
13,
13,
9651,
6297,
353,
5190,
29889,
1482,
29918,
12154,
29918,
999,
580,
13,
9651,
13756,
13044,
23598,
29889,
12154,
29918,
2754,
29889,
3258,
29918,
12154,
29898,
12154,
1839,
333,
7464,
6297,
29897,
13,
13,
9651,
13756,
13044,
23598,
29889,
465,
10194,
29918,
2754,
29889,
3258,
29918,
629,
424,
29898,
13,
18884,
6297,
1839,
333,
7464,
1404,
29918,
333,
29922,
1792,
1839,
333,
7464,
5354,
29918,
333,
29922,
7247,
1839,
333,
2033,
13,
9651,
1723,
13,
13,
9651,
2060,
353,
5190,
29889,
1482,
29918,
4836,
29918,
999,
29898,
7247,
29918,
333,
29922,
7247,
1839,
333,
11287,
13,
9651,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
3258,
29918,
4836,
29898,
4836,
1839,
333,
7464,
2060,
29897,
13,
13,
9651,
13756,
13044,
23598,
29889,
465,
10194,
29918,
2754,
29889,
3258,
29918,
629,
424,
29898,
13,
18884,
6297,
1839,
333,
7464,
1404,
29918,
333,
29922,
1792,
1839,
333,
7464,
2060,
29918,
333,
29922,
4836,
1839,
333,
2033,
13,
9651,
1723,
13,
13,
9651,
4817,
353,
1583,
29889,
4282,
29918,
23055,
29918,
3827,
29898,
13,
18884,
1404,
29918,
333,
29922,
1792,
1839,
333,
7464,
13,
18884,
4800,
29922,
29966,
25711,
17013,
29958,
1839,
5630,
7464,
13,
18884,
5354,
29918,
333,
29922,
7247,
1839,
333,
11287,
13,
13,
9651,
1583,
29889,
5150,
29879,
29889,
4397,
29898,
5150,
29897,
13,
9651,
1583,
29889,
3129,
2708,
29889,
4397,
29898,
7247,
29897,
13,
9651,
1583,
29889,
16418,
29889,
4397,
29898,
4836,
29897,
13,
9651,
1583,
29889,
307,
793,
29889,
4397,
29898,
12154,
29897,
13,
9651,
1583,
29889,
7193,
29889,
4397,
29898,
1792,
29897,
13,
13,
1678,
822,
1243,
29918,
1761,
29918,
2813,
29918,
497,
29898,
1311,
1125,
13,
4706,
363,
474,
297,
3464,
29898,
2435,
29898,
1311,
29889,
7193,
22164,
13,
9651,
1404,
353,
1583,
29889,
7193,
29961,
29875,
29962,
13,
9651,
4817,
353,
1583,
29889,
5150,
29879,
29961,
29875,
29962,
13,
13,
9651,
3142,
353,
8207,
7193,
22584,
29879,
29914,
16418,
29915,
1273,
1404,
1839,
333,
2033,
13,
9651,
1121,
353,
1583,
29889,
657,
29898,
2271,
29892,
4817,
29922,
5150,
29897,
13,
9651,
9279,
29918,
2914,
353,
1121,
29889,
3126,
1839,
16418,
2033,
13,
9651,
1583,
29889,
9294,
9843,
29898,
29896,
29892,
7431,
29898,
16418,
29918,
2914,
876,
13,
9651,
1583,
29889,
9294,
9843,
29898,
1311,
29889,
16418,
29961,
29875,
22322,
333,
7464,
9279,
29918,
2914,
29961,
29900,
22322,
333,
11287,
13,
9651,
1583,
29889,
2813,
29898,
2271,
29892,
4817,
29922,
5150,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
13,
1678,
822,
1243,
29918,
1761,
29918,
17590,
29898,
1311,
1125,
13,
4706,
363,
474,
297,
3464,
29898,
2435,
29898,
1311,
29889,
7193,
22164,
13,
9651,
1404,
353,
1583,
29889,
7193,
29961,
29875,
29962,
13,
9651,
4817,
353,
1583,
29889,
5150,
29879,
29961,
29875,
29962,
13,
13,
9651,
396,
1670,
526,
694,
12708,
9279,
13,
9651,
3142,
353,
8207,
7193,
22584,
29879,
29914,
16418,
29973,
17590,
29922,
5574,
29915,
1273,
1404,
1839,
333,
2033,
13,
9651,
1121,
353,
1583,
29889,
657,
29898,
2271,
29892,
4817,
29922,
5150,
29897,
13,
9651,
9279,
29918,
2914,
353,
1121,
29889,
3126,
1839,
16418,
2033,
13,
9651,
1583,
29889,
9294,
9843,
29898,
29896,
29892,
7431,
29898,
16418,
29918,
2914,
876,
13,
9651,
1583,
29889,
9294,
9843,
29898,
1311,
29889,
16418,
29961,
29875,
22322,
333,
7464,
9279,
29918,
2914,
29961,
29900,
22322,
333,
11287,
13,
13,
1678,
822,
1243,
29918,
1761,
29918,
18279,
29898,
1311,
1125,
13,
4706,
363,
474,
297,
3464,
29898,
2435,
29898,
1311,
29889,
7193,
22164,
13,
9651,
1404,
353,
1583,
29889,
7193,
29961,
29875,
29962,
13,
9651,
4817,
353,
1583,
29889,
5150,
29879,
29961,
29875,
29962,
13,
9651,
2060,
353,
1583,
29889,
16418,
29961,
29875,
29962,
13,
13,
9651,
396,
1670,
526,
694,
12708,
9279,
13,
9651,
3142,
353,
8207,
7193,
22584,
29879,
29914,
16418,
29973,
17590,
29922,
8824,
29915,
1273,
1404,
1839,
333,
2033,
13,
9651,
1121,
353,
1583,
29889,
657,
29898,
2271,
29892,
4817,
29922,
5150,
29897,
13,
9651,
1583,
29889,
9294,
9843,
29898,
29900,
29892,
7431,
29898,
2914,
29889,
3126,
1839,
16418,
25901,
13,
13,
9651,
396,
11262,
445,
697,
322,
1423,
1449,
13,
9651,
2060,
1839,
17590,
2033,
353,
7700,
13,
9651,
13756,
13044,
23598,
29889,
10314,
29918,
2754,
29889,
5504,
29918,
4836,
29898,
4836,
1839,
333,
7464,
2060,
29897,
13,
9651,
1121,
353,
1583,
29889,
657,
29898,
2271,
29892,
4817,
29922,
5150,
29897,
13,
9651,
9279,
29918,
2914,
353,
1121,
29889,
3126,
1839,
16418,
2033,
13,
9651,
1583,
29889,
9294,
9843,
29898,
29896,
29892,
7431,
29898,
16418,
29918,
2914,
876,
13,
9651,
1583,
29889,
9294,
9843,
29898,
1311,
29889,
16418,
29961,
29875,
22322,
333,
7464,
9279,
29918,
2914,
29961,
29900,
22322,
333,
11287,
13,
13,
1678,
822,
1243,
29918,
1761,
29918,
1609,
29918,
7247,
29918,
333,
29898,
1311,
1125,
13,
4706,
363,
474,
297,
3464,
29898,
2435,
29898,
1311,
29889,
7193,
22164,
13,
9651,
1404,
353,
1583,
29889,
7193,
29961,
29875,
29962,
13,
9651,
5354,
353,
1583,
29889,
3129,
2708,
29961,
29875,
29962,
13,
9651,
4817,
353,
1583,
29889,
5150,
29879,
29961,
29875,
29962,
13,
13,
9651,
396,
3967,
3063,
363,
9279,
411,
263,
1661,
29899,
735,
9696,
5354,
29918,
333,
13,
9651,
3142,
353,
8207,
7193,
22584,
29879,
29914,
16418,
29973,
7247,
29918,
333,
16328,
29879,
29915,
1273,
313,
1792,
1839,
333,
7464,
13,
462,
462,
462,
539,
318,
5416,
29889,
25118,
29946,
2141,
20970,
29897,
13,
9651,
1121,
353,
1583,
29889,
657,
29898,
2271,
29892,
4817,
29922,
5150,
29897,
13,
9651,
1583,
29889,
9294,
9843,
29898,
29900,
29892,
7431,
29898,
2914,
29889,
3126,
1839,
16418,
25901,
13,
13,
9651,
396,
2567,
1018,
263,
2854,
697,
13,
9651,
3142,
353,
8207,
7193,
22584,
29879,
29914,
16418,
29973,
7247,
29918,
333,
16328,
29879,
29915,
1273,
313,
1792,
1839,
333,
7464,
13,
462,
462,
462,
539,
5354,
1839,
333,
11287,
13,
9651,
1121,
353,
1583,
29889,
657,
29898,
2271,
29892,
4817,
29922,
5150,
29897,
13,
9651,
9279,
29918,
2914,
353,
1121,
29889,
3126,
1839,
16418,
2033,
13,
9651,
1583,
29889,
9294,
9843,
29898,
29896,
29892,
7431,
29898,
16418,
29918,
2914,
876,
13,
9651,
1583,
29889,
9294,
9843,
29898,
1311,
29889,
16418,
29961,
29875,
22322,
333,
7464,
9279,
29918,
2914,
29961,
29900,
22322,
333,
11287,
13,
13,
13,
29937,
383,
6415,
2303,
29898,
27728,
1431,
17569,
1125,
4525,
6987,
1712,
1788,
29899,
5563,
3450,
5717,
29892,
607,
2794,
13,
29937,
896,
674,
1480,
263,
9177,
2643,
565,
896,
526,
2000,
411,
263,
2060,
29899,
21785,
287,
13,
29937,
5993,
29892,
17126,
310,
278,
6297,
12827,
373,
278,
2060,
29889,
29871,
1334,
817,
304,
2329,
13,
29937,
963,
491,
773,
263,
1571,
1788,
29899,
21785,
287,
4113,
5993,
304,
1207,
278,
1246,
2012,
13,
29937,
310,
263,
2060,
16505,
287,
5993,
29889,
13,
1990,
4911,
3924,
16727,
7900,
10194,
3057,
8259,
29898,
1688,
29918,
29894,
29941,
29889,
15078,
1319,
3057,
8259,
29892,
13,
462,
462,
539,
2184,
16727,
7900,
10194,
29924,
861,
262,
1125,
13,
13,
1678,
822,
1243,
29918,
16645,
29918,
5205,
29918,
12154,
29918,
517,
29918,
1792,
29898,
1311,
1125,
13,
4706,
1788,
29918,
12154,
29918,
333,
353,
1583,
3032,
3258,
29918,
1482,
29918,
12154,
580,
13,
13,
4706,
396,
3566,
278,
1404,
263,
6297,
373,
278,
1788,
13,
4706,
4509,
29918,
2271,
353,
313,
13,
9651,
8207,
5205,
29914,
7193,
22584,
29898,
1792,
29918,
333,
29897,
29879,
29914,
307,
793,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
1792,
29918,
333,
2396,
1583,
29889,
1792,
1839,
333,
7464,
13,
18884,
525,
12154,
29918,
333,
2396,
1788,
29918,
12154,
29918,
333,
13,
9651,
500,
13,
4706,
1723,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
13,
4706,
396,
12725,
278,
6297,
12827,
13,
4706,
1583,
29889,
2813,
29898,
14242,
29918,
2271,
29897,
13,
13,
4706,
396,
1051,
1788,
16178,
13,
4706,
4333,
29918,
2271,
353,
313,
13,
9651,
8207,
5205,
29914,
7193,
22584,
29898,
1792,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
11117,
1792,
29918,
333,
2396,
1583,
29889,
1792,
1839,
333,
2033,
29913,
13,
4706,
1723,
13,
4706,
16178,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
467,
3126,
29918,
2587,
1839,
307,
793,
2033,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2435,
29898,
307,
793,
511,
29871,
29896,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
307,
793,
29961,
29900,
22322,
333,
7464,
1788,
29918,
12154,
29918,
333,
29897,
13,
4706,
1583,
29889,
2813,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
5205,
29922,
497,
29987,
1792,
29889,
333,
16328,
29898,
1792,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
1792,
29918,
333,
2396,
1583,
29889,
1792,
1839,
333,
2033,
13,
9651,
500,
13,
4706,
1723,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
5327,
29897,
13,
13,
1678,
822,
1243,
29918,
1761,
29918,
12154,
29918,
16645,
1860,
29918,
1454,
29918,
1792,
29918,
18280,
29918,
497,
29918,
16645,
1860,
29898,
1311,
1125,
13,
4706,
1788,
29918,
12154,
29918,
333,
353,
1583,
3032,
3258,
29918,
1482,
29918,
12154,
580,
13,
13,
4706,
396,
3566,
278,
1404,
263,
6297,
373,
278,
1788,
13,
4706,
4509,
29918,
2271,
353,
8207,
5205,
29914,
7193,
22584,
29898,
1792,
29918,
333,
29897,
29879,
29914,
307,
793,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
1792,
29918,
333,
2396,
1583,
29889,
1792,
1839,
333,
7464,
13,
9651,
525,
12154,
29918,
333,
2396,
1788,
29918,
12154,
29918,
333,
13,
4706,
500,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
13,
4706,
396,
278,
2933,
881,
1712,
697,
6297,
12827,
363,
278,
1788,
6297,
13,
4706,
396,
322,
697,
363,
263,
6297,
393,
471,
6230,
2645,
731,
3373,
2141,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
1792,
29889,
333,
16328,
29898,
1792,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
1792,
29918,
333,
2396,
1583,
29889,
1792,
1839,
333,
2033,
13,
9651,
500,
13,
4706,
1723,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
5327,
29892,
3806,
29918,
2848,
29922,
29906,
29897,
13,
13,
1678,
822,
1243,
29918,
1761,
29918,
5205,
29918,
307,
793,
29918,
1454,
29918,
1792,
29918,
18280,
29918,
9290,
29918,
14037,
29918,
465,
10194,
29898,
1311,
1125,
13,
4706,
396,
1051,
1788,
16178,
363,
1404,
13,
4706,
4333,
29918,
2271,
353,
8207,
5205,
29914,
7193,
22584,
29898,
1792,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
426,
13,
9651,
525,
1792,
29918,
333,
2396,
1583,
29889,
1792,
1839,
333,
2033,
13,
4706,
500,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
13,
4706,
396,
4974,
393,
278,
1404,
1838,
29915,
29873,
505,
738,
1788,
6297,
3566,
1860,
29892,
607,
13,
4706,
396,
338,
27291,
491,
385,
4069,
1051,
13,
4706,
1583,
29889,
9294,
9843,
29898,
5327,
29889,
3126,
29918,
2587,
1839,
307,
793,
7464,
518,
2314,
13,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
5205,
29922,
497,
29987,
1792,
29889,
333,
16328,
29898,
1792,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
1792,
29918,
333,
2396,
1583,
29889,
1792,
1839,
333,
2033,
13,
9651,
500,
13,
4706,
1723,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2435,
29898,
5327,
29889,
3126,
29918,
2587,
1839,
12154,
29918,
16645,
1860,
2033,
511,
29871,
29900,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
5327,
29897,
13,
13,
1678,
822,
1243,
29918,
1761,
29918,
5205,
29918,
307,
793,
29918,
1454,
29918,
1792,
29918,
13221,
29918,
1333,
29918,
2457,
29918,
4836,
29918,
307,
793,
29898,
1311,
1125,
13,
4706,
1788,
29918,
12154,
29918,
333,
353,
1583,
3032,
3258,
29918,
1482,
29918,
12154,
580,
13,
13,
4706,
396,
3566,
278,
1404,
263,
6297,
373,
278,
1788,
13,
4706,
4509,
29918,
2271,
353,
8207,
5205,
29914,
7193,
22584,
29898,
1792,
29918,
333,
29897,
29879,
29914,
307,
793,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
1792,
29918,
333,
2396,
1583,
29889,
1792,
1839,
333,
7464,
13,
9651,
525,
12154,
29918,
333,
2396,
1788,
29918,
12154,
29918,
333,
13,
4706,
500,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
13,
4706,
396,
1051,
2060,
6297,
3566,
1860,
322,
4078,
278,
6297,
1178,
310,
393,
13,
4706,
396,
12827,
29892,
445,
12827,
471,
2825,
2645,
731,
3373,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
13,
9651,
8207,
16418,
22584,
29898,
4836,
29918,
333,
29897,
29879,
29914,
7193,
22584,
29898,
1792,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
426,
13,
18884,
525,
4836,
29918,
333,
2396,
1583,
29889,
4836,
1839,
333,
7464,
13,
18884,
525,
1792,
29918,
333,
2396,
1583,
29889,
1792,
1839,
333,
2033,
13,
9651,
500,
13,
4706,
1723,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2435,
29898,
5327,
29889,
3126,
29918,
2587,
1839,
307,
793,
2033,
511,
29871,
29896,
29897,
13,
4706,
2060,
29918,
12154,
29918,
333,
353,
2933,
29889,
3126,
29918,
2587,
1839,
307,
793,
2033,
29961,
29900,
22322,
333,
2033,
13,
13,
4706,
396,
1051,
1788,
6297,
3566,
1860,
13,
4706,
4333,
29918,
2271,
353,
8207,
5205,
29914,
7193,
22584,
29898,
1792,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
426,
13,
9651,
525,
1792,
29918,
333,
2396,
1583,
29889,
1792,
1839,
333,
2033,
13,
4706,
500,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
13,
4706,
396,
4974,
278,
2060,
6297,
12827,
338,
451,
297,
278,
1788,
6297,
13,
4706,
396,
3566,
1860,
13,
4706,
363,
6297,
297,
2933,
29889,
3126,
29918,
2587,
1839,
307,
793,
2033,
29901,
13,
9651,
1583,
29889,
9294,
3664,
9843,
29898,
12154,
1839,
333,
7464,
2060,
29918,
12154,
29918,
333,
29897,
13,
13,
4706,
396,
1207,
1854,
278,
6297,
29918,
465,
10194,
3450,
18094,
5149,
2729,
373,
1788,
13,
4706,
396,
6874,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
5205,
29922,
497,
29987,
1792,
29889,
333,
16328,
29898,
1792,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
1792,
29918,
333,
2396,
1583,
29889,
1792,
1839,
333,
2033,
13,
9651,
500,
13,
4706,
1723,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2435,
29898,
5327,
29889,
3126,
29918,
2587,
1839,
12154,
29918,
16645,
1860,
2033,
511,
29871,
29896,
29897,
13,
4706,
1788,
29918,
465,
10194,
353,
2933,
29889,
3126,
29918,
2587,
1839,
12154,
29918,
16645,
1860,
2033,
29961,
29900,
29962,
13,
4706,
1583,
29889,
9294,
9843,
29898,
5205,
29918,
465,
10194,
1839,
12154,
16215,
333,
7464,
1788,
29918,
12154,
29918,
333,
29897,
13,
4706,
1583,
29889,
9294,
5574,
29898,
5205,
29918,
465,
10194,
1839,
6078,
16215,
5205,
16215,
497,
11287,
13,
13,
4706,
396,
1207,
1854,
278,
6297,
29918,
465,
10194,
3450,
1838,
29915,
29873,
3160,
278,
1788,
6297,
13,
4706,
396,
12827,
746,
591,
4175,
2729,
373,
2060,
13,
4706,
2224,
353,
313,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
4836,
29889,
333,
16328,
29898,
4836,
29918,
333,
29897,
29879,
29987,
29915,
13,
9651,
525,
1792,
29889,
333,
16328,
29898,
1792,
29918,
333,
29897,
29879,
29915,
13,
4706,
1723,
1273,
11117,
4836,
29918,
333,
2396,
1583,
29889,
4836,
1839,
333,
7464,
13,
632,
525,
1792,
29918,
333,
2396,
1583,
29889,
1792,
1839,
333,
2033,
29913,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
2084,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2435,
29898,
5327,
29889,
3126,
29918,
2587,
1839,
12154,
29918,
16645,
1860,
2033,
511,
29871,
29896,
29897,
13,
4706,
2060,
29918,
465,
10194,
353,
2933,
29889,
3126,
29918,
2587,
1839,
12154,
29918,
16645,
1860,
2033,
29961,
29900,
29962,
13,
4706,
1583,
29889,
9294,
9843,
29898,
4836,
29918,
465,
10194,
1839,
12154,
16215,
333,
7464,
2060,
29918,
12154,
29918,
333,
29897,
13,
13,
1678,
822,
1243,
29918,
1761,
29918,
5205,
29918,
307,
793,
29918,
1454,
29918,
1792,
29918,
13221,
29918,
1333,
29918,
2457,
29918,
7247,
29918,
307,
793,
29898,
1311,
1125,
13,
4706,
1788,
29918,
12154,
29918,
333,
353,
1583,
3032,
3258,
29918,
1482,
29918,
12154,
580,
13,
4706,
5354,
29918,
12154,
29918,
333,
353,
1583,
3032,
3258,
29918,
1482,
29918,
12154,
580,
13,
13,
4706,
396,
3566,
263,
6297,
304,
278,
1404,
373,
263,
5354,
13,
4706,
5354,
29918,
14242,
29918,
2271,
353,
313,
13,
9651,
8207,
3129,
2708,
22584,
29898,
7247,
29918,
333,
29897,
29879,
29914,
7193,
22584,
29898,
1792,
29918,
333,
29897,
29879,
29914,
307,
793,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
7247,
29918,
333,
2396,
1583,
29889,
1792,
1839,
7247,
29918,
333,
7464,
13,
18884,
525,
1792,
29918,
333,
2396,
1583,
29889,
1792,
1839,
333,
7464,
13,
18884,
525,
12154,
29918,
333,
2396,
5354,
29918,
12154,
29918,
333,
13,
9651,
500,
13,
4706,
1723,
13,
4706,
1583,
29889,
649,
29898,
7247,
29918,
14242,
29918,
2271,
29897,
13,
13,
4706,
396,
3566,
278,
1404,
263,
6297,
373,
278,
1788,
13,
4706,
4509,
29918,
2271,
353,
8207,
5205,
29914,
7193,
22584,
29898,
1792,
29918,
333,
29897,
29879,
29914,
307,
793,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
1792,
29918,
333,
2396,
1583,
29889,
1792,
1839,
333,
7464,
13,
9651,
525,
12154,
29918,
333,
2396,
1788,
29918,
12154,
29918,
333,
13,
4706,
500,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
13,
4706,
396,
1051,
5354,
6297,
3566,
1860,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
13,
9651,
8207,
3129,
2708,
22584,
29898,
7247,
29918,
333,
29897,
29879,
29914,
7193,
22584,
29898,
1792,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
426,
13,
18884,
525,
7247,
29918,
333,
2396,
1583,
29889,
1792,
1839,
7247,
29918,
333,
7464,
13,
18884,
525,
1792,
29918,
333,
2396,
1583,
29889,
1792,
1839,
333,
2033,
13,
9651,
500,
13,
4706,
1723,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2435,
29898,
5327,
29889,
3126,
29918,
2587,
1839,
307,
793,
2033,
511,
29871,
29896,
29897,
13,
13,
4706,
396,
1051,
1788,
6297,
3566,
1860,
13,
4706,
4333,
29918,
2271,
353,
8207,
5205,
29914,
7193,
22584,
29898,
1792,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
426,
13,
9651,
525,
1792,
29918,
333,
2396,
1583,
29889,
1792,
1839,
333,
2033,
13,
4706,
500,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
13,
4706,
396,
4974,
278,
5354,
6297,
12827,
338,
451,
297,
278,
1788,
6297,
13,
4706,
396,
3566,
1860,
13,
4706,
363,
6297,
297,
2933,
29889,
3126,
29918,
2587,
1839,
307,
793,
2033,
29901,
13,
9651,
1583,
29889,
9294,
3664,
9843,
29898,
12154,
1839,
333,
7464,
5354,
29918,
12154,
29918,
333,
29897,
13,
13,
4706,
396,
1207,
1854,
278,
6297,
29918,
465,
10194,
3450,
18094,
5149,
2729,
373,
1788,
13,
4706,
396,
6874,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
5205,
29922,
497,
29987,
1792,
29889,
333,
16328,
29898,
1792,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
1792,
29918,
333,
2396,
1583,
29889,
1792,
1839,
333,
2033,
13,
9651,
500,
13,
4706,
1723,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2435,
29898,
5327,
29889,
3126,
29918,
2587,
1839,
12154,
29918,
16645,
1860,
2033,
511,
29871,
29896,
29897,
13,
4706,
1788,
29918,
465,
10194,
353,
2933,
29889,
3126,
29918,
2587,
1839,
12154,
29918,
16645,
1860,
2033,
29961,
29900,
29962,
13,
4706,
1583,
29889,
9294,
9843,
29898,
5205,
29918,
465,
10194,
1839,
12154,
16215,
333,
7464,
1788,
29918,
12154,
29918,
333,
29897,
13,
4706,
1583,
29889,
9294,
5574,
29898,
5205,
29918,
465,
10194,
1839,
6078,
16215,
5205,
16215,
497,
11287,
13,
13,
4706,
396,
1207,
1854,
278,
6297,
29918,
465,
10194,
3450,
1838,
29915,
29873,
3160,
278,
1788,
6297,
13,
4706,
396,
12827,
746,
591,
4175,
2729,
373,
5354,
13,
4706,
2224,
353,
313,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
7247,
29889,
333,
16328,
29898,
7247,
29918,
333,
29897,
29879,
29987,
29915,
13,
9651,
525,
1792,
29889,
333,
16328,
29898,
1792,
29918,
333,
29897,
29879,
29915,
13,
4706,
1723,
1273,
11117,
7247,
29918,
333,
2396,
1583,
29889,
1792,
1839,
7247,
29918,
333,
7464,
13,
632,
525,
1792,
29918,
333,
2396,
1583,
29889,
1792,
1839,
333,
2033,
29913,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
2084,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2435,
29898,
5327,
29889,
3126,
29918,
2587,
1839,
12154,
29918,
16645,
1860,
2033,
511,
29871,
29896,
29897,
13,
4706,
5354,
29918,
465,
10194,
353,
2933,
29889,
3126,
29918,
2587,
1839,
12154,
29918,
16645,
1860,
2033,
29961,
29900,
29962,
13,
4706,
1583,
29889,
9294,
9843,
29898,
7247,
29918,
465,
10194,
1839,
12154,
16215,
333,
7464,
5354,
29918,
12154,
29918,
333,
29897,
13,
13,
1678,
822,
1243,
29918,
3198,
29918,
1792,
29918,
5349,
29918,
5205,
29918,
12154,
29918,
8256,
29918,
465,
10194,
29918,
9933,
29898,
1311,
1125,
13,
4706,
1788,
29918,
12154,
29918,
333,
353,
1583,
3032,
3258,
29918,
1482,
29918,
12154,
580,
13,
13,
4706,
396,
3566,
278,
1404,
263,
6297,
373,
278,
1788,
13,
4706,
4509,
29918,
2271,
353,
8207,
5205,
29914,
7193,
22584,
29898,
1792,
29918,
333,
29897,
29879,
29914,
307,
793,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
1792,
29918,
333,
2396,
1583,
29889,
1792,
1839,
333,
7464,
13,
9651,
525,
12154,
29918,
333,
2396,
1788,
29918,
12154,
29918,
333,
13,
4706,
500,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
13,
4706,
396,
1423,
278,
1404,
756,
278,
1788,
6297,
12827,
13,
4706,
1583,
29889,
2813,
29898,
14242,
29918,
2271,
29897,
13,
13,
1678,
822,
1243,
29918,
3198,
29918,
1792,
29918,
13221,
29918,
1333,
29918,
17532,
29918,
5205,
29918,
12154,
29918,
14037,
29918,
465,
10194,
29898,
1311,
1125,
13,
4706,
1788,
29918,
12154,
29918,
333,
353,
1583,
3032,
3258,
29918,
1482,
29918,
12154,
580,
13,
13,
4706,
396,
1423,
278,
1404,
947,
29915,
29873,
505,
278,
1788,
6297,
12827,
13,
4706,
4509,
29918,
2271,
353,
8207,
5205,
29914,
7193,
22584,
29898,
1792,
29918,
333,
29897,
29879,
29914,
307,
793,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
1792,
29918,
333,
2396,
1583,
29889,
1792,
1839,
333,
7464,
13,
9651,
525,
12154,
29918,
333,
2396,
1788,
29918,
12154,
29918,
333,
13,
4706,
500,
13,
4706,
1583,
29889,
2813,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
12256,
29918,
5800,
18783,
29897,
13,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
5205,
29922,
497,
29987,
1792,
29889,
333,
16328,
29898,
1792,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
1792,
29918,
333,
2396,
1583,
29889,
1792,
1839,
333,
2033,
13,
9651,
500,
13,
4706,
1723,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2435,
29898,
5327,
29889,
3126,
29918,
2587,
1839,
12154,
29918,
16645,
1860,
2033,
511,
29871,
29900,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
5327,
29897,
13,
13,
1678,
822,
1243,
29918,
348,
16645,
29918,
5205,
29918,
12154,
29918,
3166,
29918,
1792,
29898,
1311,
1125,
13,
4706,
1788,
29918,
12154,
29918,
333,
353,
1583,
3032,
3258,
29918,
1482,
29918,
12154,
580,
13,
13,
4706,
396,
3566,
278,
1404,
263,
6297,
373,
278,
1788,
13,
4706,
4509,
29918,
2271,
353,
8207,
5205,
29914,
7193,
22584,
29898,
1792,
29918,
333,
29897,
29879,
29914,
307,
793,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
1792,
29918,
333,
2396,
1583,
29889,
1792,
1839,
333,
7464,
13,
9651,
525,
12154,
29918,
333,
2396,
1788,
29918,
12154,
29918,
333,
13,
4706,
500,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
13,
4706,
396,
9801,
278,
1404,
756,
278,
6297,
12827,
13,
4706,
1583,
29889,
2813,
29898,
14242,
29918,
2271,
29897,
13,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
5205,
29922,
497,
29987,
1792,
29889,
333,
16328,
29898,
1792,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
1792,
29918,
333,
2396,
1583,
29889,
1792,
1839,
333,
2033,
13,
9651,
500,
13,
4706,
1723,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2435,
29898,
5327,
29889,
3126,
29918,
2587,
1839,
12154,
29918,
16645,
1860,
2033,
511,
29871,
29896,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
5327,
29897,
13,
13,
4706,
396,
3349,
278,
1788,
6297,
12827,
515,
278,
1404,
13,
4706,
1583,
29889,
8143,
29898,
14242,
29918,
2271,
29897,
13,
13,
4706,
396,
9801,
278,
1404,
1838,
29915,
29873,
505,
738,
1788,
6297,
3566,
1860,
13,
4706,
4333,
29918,
2271,
353,
8207,
5205,
29914,
7193,
22584,
29898,
1792,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
426,
13,
9651,
525,
1792,
29918,
333,
2396,
1583,
29889,
1792,
1839,
333,
2033,
13,
4706,
500,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2435,
29898,
5327,
29889,
3126,
29918,
2587,
1839,
307,
793,
2033,
511,
29871,
29900,
29897,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
5205,
29922,
497,
29987,
1792,
29889,
333,
16328,
29898,
1792,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
1792,
29918,
333,
2396,
1583,
29889,
1792,
1839,
333,
2033,
13,
9651,
500,
13,
4706,
1723,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
5327,
29892,
3806,
29918,
2848,
29922,
29900,
29897,
13,
13,
1678,
822,
1243,
29918,
1972,
29918,
1454,
29918,
5205,
29918,
6078,
29918,
392,
29918,
7247,
29918,
6078,
29918,
29888,
2234,
29898,
1311,
1125,
13,
4706,
396,
1932,
6721,
363,
3566,
1860,
322,
13138,
2346,
4128,
29892,
591,
13,
4706,
396,
9273,
29915,
29873,
367,
2221,
304,
2244,
363,
1023,
1422,
4072,
310,
6874,
29889,
910,
338,
13,
4706,
396,
884,
1565,
363,
2060,
718,
5354,
6874,
29889,
13,
4706,
2224,
353,
313,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
5205,
29922,
497,
29915,
13,
9651,
525,
29987,
6078,
29889,
7247,
29889,
333,
16328,
29898,
7247,
29918,
333,
29897,
29879,
29915,
13,
4706,
1723,
1273,
11117,
7247,
29918,
333,
2396,
1583,
29889,
7247,
29918,
333,
29913,
13,
4706,
1583,
29889,
657,
29898,
2084,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
29933,
3035,
29918,
16244,
29897,
13,
13,
1678,
822,
1243,
29918,
1972,
29918,
1454,
29918,
5205,
29918,
6078,
29918,
392,
29918,
4836,
29918,
6078,
29918,
29888,
2234,
29898,
1311,
1125,
13,
4706,
396,
1932,
6721,
363,
3566,
1860,
322,
13138,
2346,
4128,
29892,
591,
13,
4706,
396,
9273,
29915,
29873,
367,
2221,
304,
2244,
363,
1023,
1422,
4072,
310,
6874,
29889,
910,
338,
13,
4706,
396,
884,
1565,
363,
2060,
718,
5354,
6874,
29889,
13,
4706,
2224,
353,
313,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
5205,
29922,
497,
29915,
13,
9651,
525,
29987,
6078,
29889,
4836,
29889,
333,
16328,
29898,
4836,
29918,
333,
29897,
29879,
29915,
13,
4706,
1723,
1273,
11117,
4836,
29918,
333,
2396,
1583,
29889,
4836,
29918,
333,
29913,
13,
4706,
1583,
29889,
657,
29898,
2084,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
29933,
3035,
29918,
16244,
29897,
13,
13,
1678,
822,
1243,
29918,
1972,
29918,
1454,
29918,
12154,
29918,
333,
29918,
13221,
29918,
1333,
29918,
2457,
29918,
5205,
29918,
1792,
29918,
307,
793,
29898,
1311,
1125,
13,
4706,
1788,
29918,
12154,
29918,
333,
353,
1583,
3032,
3258,
29918,
1482,
29918,
12154,
580,
13,
13,
4706,
396,
3566,
278,
1404,
263,
6297,
373,
278,
1788,
13,
4706,
4509,
29918,
2271,
353,
8207,
5205,
29914,
7193,
22584,
29898,
1792,
29918,
333,
29897,
29879,
29914,
307,
793,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
1792,
29918,
333,
2396,
1583,
29889,
1792,
1839,
333,
7464,
13,
9651,
525,
12154,
29918,
333,
2396,
1788,
29918,
12154,
29918,
333,
13,
4706,
500,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
13,
4706,
396,
8561,
1854,
591,
871,
679,
697,
6297,
12827,
1250,
1951,
278,
1788,
6297,
13,
4706,
396,
12827,
9273,
29915,
29873,
367,
4133,
29889,
13,
4706,
2224,
353,
313,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
12154,
29889,
333,
16328,
29898,
12154,
29918,
333,
29897,
29879,
29987,
1792,
29889,
333,
16328,
29898,
1792,
29918,
333,
29897,
29879,
29915,
13,
4706,
1723,
1273,
11117,
12154,
29918,
333,
2396,
1583,
29889,
12154,
29918,
333,
29892,
525,
1792,
29918,
333,
2396,
1583,
29889,
1792,
1839,
333,
2033,
29913,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
2084,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
5327,
29892,
3806,
29918,
2848,
29922,
29896,
29897,
13,
13,
13,
29937,
383,
6415,
2303,
29898,
27728,
1431,
17569,
1125,
4525,
6987,
1712,
1788,
29899,
5563,
3450,
5717,
29892,
607,
2794,
13,
29937,
896,
674,
1480,
263,
9177,
2643,
565,
896,
526,
2000,
411,
263,
2060,
29899,
21785,
287,
13,
29937,
5993,
29892,
17126,
310,
278,
6297,
12827,
373,
278,
2060,
29889,
29871,
1334,
817,
304,
2329,
13,
29937,
963,
491,
773,
263,
1571,
1788,
29899,
21785,
287,
4113,
5993,
304,
1207,
278,
1246,
2012,
13,
29937,
310,
263,
2060,
16505,
287,
5993,
29889,
13,
1990,
6431,
3924,
16727,
7900,
10194,
3057,
8259,
29898,
1688,
29918,
29894,
29941,
29889,
15078,
1319,
3057,
8259,
29892,
13,
462,
462,
4706,
2184,
16727,
7900,
10194,
29924,
861,
262,
1125,
13,
13,
1678,
822,
1243,
29918,
16645,
29918,
5205,
29918,
12154,
29918,
517,
29918,
2972,
29898,
1311,
1125,
13,
4706,
1788,
29918,
12154,
29918,
333,
353,
1583,
3032,
3258,
29918,
1482,
29918,
12154,
580,
13,
4706,
2318,
353,
1583,
3032,
3258,
29918,
2972,
580,
13,
13,
4706,
396,
3566,
278,
6297,
304,
278,
2318,
13149,
635,
13,
4706,
4509,
29918,
2271,
353,
8207,
5205,
29914,
13155,
22584,
29898,
2972,
29918,
333,
29897,
29879,
29914,
307,
793,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
2972,
29918,
333,
2396,
2318,
1839,
333,
7464,
13,
9651,
525,
12154,
29918,
333,
2396,
1788,
29918,
12154,
29918,
333,
13,
4706,
500,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
13,
4706,
396,
12725,
278,
6297,
12827,
13,
4706,
1583,
29889,
2813,
29898,
14242,
29918,
2271,
29897,
13,
13,
4706,
396,
1051,
5534,
16178,
13,
4706,
4333,
29918,
2271,
353,
8207,
5205,
29914,
13155,
22584,
29898,
2972,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
426,
13,
9651,
525,
2972,
29918,
333,
2396,
2318,
1839,
333,
2033,
13,
4706,
500,
13,
4706,
16178,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
467,
3126,
29918,
2587,
1839,
307,
793,
2033,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2435,
29898,
307,
793,
511,
29871,
29896,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
307,
793,
29961,
29900,
22322,
333,
7464,
1788,
29918,
12154,
29918,
333,
29897,
13,
4706,
1583,
29889,
2813,
29898,
10855,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
8949,
29897,
13,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
5205,
29922,
497,
29987,
2972,
29889,
333,
16328,
29898,
2972,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
2972,
29918,
333,
2396,
2318,
1839,
333,
2033,
13,
9651,
500,
13,
4706,
1723,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
5327,
29892,
3806,
29918,
2848,
29922,
29896,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
13,
9651,
2933,
29889,
3126,
29918,
2587,
1839,
12154,
29918,
16645,
1860,
2033,
29961,
29900,
22322,
12154,
16215,
333,
7464,
13,
9651,
1788,
29918,
12154,
29918,
333,
13,
4706,
1723,
13,
13,
1678,
822,
1243,
29918,
16645,
29918,
5205,
29918,
12154,
29918,
517,
29918,
5464,
29918,
735,
22137,
29918,
2972,
29918,
29888,
2234,
29898,
1311,
1125,
13,
4706,
1788,
29918,
12154,
29918,
333,
353,
1583,
3032,
3258,
29918,
1482,
29918,
12154,
580,
13,
4706,
2318,
29918,
333,
353,
318,
5416,
29889,
25118,
29946,
2141,
20970,
13,
13,
4706,
396,
3566,
278,
6297,
304,
278,
2318,
13149,
635,
13,
4706,
4509,
29918,
2271,
353,
8207,
5205,
29914,
13155,
22584,
29898,
2972,
29918,
333,
29897,
29879,
29914,
307,
793,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
2972,
29918,
333,
2396,
2318,
29918,
333,
29892,
13,
9651,
525,
12154,
29918,
333,
2396,
1788,
29918,
12154,
29918,
333,
13,
4706,
500,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
12256,
29918,
5800,
18783,
29897,
13,
13,
1678,
822,
1243,
29918,
1761,
29918,
12154,
29918,
16645,
1860,
29918,
1454,
29918,
2972,
29918,
18280,
29918,
497,
29918,
16645,
1860,
29898,
1311,
1125,
13,
4706,
1788,
29918,
12154,
29918,
333,
353,
1583,
3032,
3258,
29918,
1482,
29918,
12154,
580,
13,
4706,
2318,
353,
1583,
3032,
3258,
29918,
2972,
580,
13,
13,
4706,
396,
3566,
278,
6297,
304,
278,
2318,
13149,
635,
322,
373,
263,
2323,
2060,
13,
4706,
4509,
29918,
2271,
353,
8207,
5205,
29914,
13155,
22584,
29898,
2972,
29918,
333,
29897,
29879,
29914,
307,
793,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
2972,
29918,
333,
2396,
2318,
1839,
333,
7464,
13,
9651,
525,
12154,
29918,
333,
2396,
1788,
29918,
12154,
29918,
333,
13,
4706,
500,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
4706,
4509,
29918,
2271,
353,
313,
13,
9651,
8207,
16418,
22584,
29898,
4836,
29918,
333,
29897,
29879,
29914,
13155,
22584,
29898,
2972,
29918,
333,
29897,
29879,
22208,
13,
9651,
525,
307,
793,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
13,
4706,
1723,
1273,
426,
13,
9651,
525,
4836,
29918,
333,
2396,
1583,
29889,
4836,
29918,
333,
29892,
13,
9651,
525,
2972,
29918,
333,
2396,
2318,
1839,
333,
7464,
13,
9651,
525,
12154,
29918,
333,
2396,
1788,
29918,
12154,
29918,
333,
13,
4706,
500,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
13,
4706,
396,
1207,
1854,
1716,
3566,
1860,
1863,
297,
278,
2933,
29892,
727,
881,
367,
1023,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
2972,
29889,
333,
16328,
29898,
2972,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
2972,
29918,
333,
2396,
2318,
1839,
333,
2033,
13,
9651,
500,
13,
4706,
1723,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
5327,
29892,
3806,
29918,
2848,
29922,
29906,
29897,
13,
13,
1678,
822,
1243,
29918,
1761,
29918,
5205,
29918,
307,
793,
29918,
1454,
29918,
2972,
29918,
18280,
29918,
9290,
29918,
14037,
29918,
465,
10194,
29898,
1311,
1125,
13,
4706,
2318,
353,
1583,
3032,
3258,
29918,
2972,
580,
13,
13,
4706,
396,
1051,
5534,
16178,
363,
2318,
13,
4706,
4333,
29918,
2271,
353,
8207,
5205,
29914,
13155,
22584,
29898,
2972,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
426,
13,
9651,
525,
2972,
29918,
333,
2396,
2318,
1839,
333,
2033,
13,
4706,
500,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
13,
4706,
396,
4974,
393,
278,
2318,
1838,
29915,
29873,
505,
738,
1788,
6297,
3566,
1860,
29892,
607,
13,
4706,
396,
338,
27291,
491,
385,
4069,
1051,
13,
4706,
1583,
29889,
9294,
9843,
29898,
5327,
29889,
3126,
29918,
2587,
1839,
307,
793,
7464,
518,
2314,
13,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
5205,
29922,
497,
29987,
2972,
29889,
333,
16328,
29898,
2972,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
2972,
29918,
333,
2396,
2318,
1839,
333,
2033,
13,
9651,
500,
13,
4706,
1723,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
5327,
29892,
3806,
29918,
2848,
29922,
29900,
29897,
13,
13,
1678,
822,
1243,
29918,
1761,
29918,
5205,
29918,
307,
793,
29918,
1454,
29918,
2972,
29918,
13221,
29918,
1333,
29918,
2457,
29918,
4836,
29918,
307,
793,
29898,
1311,
1125,
13,
4706,
1788,
29918,
12154,
29918,
333,
353,
1583,
3032,
3258,
29918,
1482,
29918,
12154,
580,
13,
4706,
2060,
29918,
12154,
29918,
333,
353,
1583,
3032,
3258,
29918,
1482,
29918,
12154,
580,
13,
4706,
2318,
353,
1583,
3032,
3258,
29918,
2972,
580,
13,
13,
4706,
396,
3566,
278,
2318,
263,
6297,
373,
278,
1788,
322,
263,
6297,
373,
263,
2060,
13,
4706,
4509,
29918,
2271,
353,
8207,
5205,
29914,
13155,
22584,
29898,
2972,
29918,
333,
29897,
29879,
29914,
307,
793,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
2972,
29918,
333,
2396,
2318,
1839,
333,
7464,
525,
12154,
29918,
333,
2396,
1788,
29918,
12154,
29918,
333,
13,
4706,
500,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
4706,
4509,
29918,
2271,
353,
313,
13,
9651,
8207,
16418,
22584,
29898,
4836,
29918,
333,
29897,
29879,
29914,
13155,
22584,
29898,
2972,
29918,
333,
29897,
29879,
22208,
13,
9651,
525,
307,
793,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
13,
4706,
1723,
1273,
426,
13,
9651,
525,
4836,
29918,
333,
2396,
1583,
29889,
4836,
29918,
333,
29892,
13,
9651,
525,
2972,
29918,
333,
2396,
2318,
1839,
333,
7464,
13,
9651,
525,
12154,
29918,
333,
2396,
2060,
29918,
12154,
29918,
333,
13,
4706,
500,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
13,
4706,
396,
1051,
1788,
6297,
3566,
1860,
13,
4706,
4333,
29918,
2271,
353,
8207,
5205,
29914,
13155,
22584,
29898,
2972,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
426,
13,
9651,
525,
2972,
29918,
333,
2396,
2318,
1839,
333,
2033,
13,
4706,
500,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
13,
4706,
396,
4974,
278,
2060,
6297,
12827,
338,
451,
297,
278,
1788,
6297,
13,
4706,
396,
3566,
1860,
13,
4706,
363,
6297,
297,
2933,
29889,
3126,
29918,
2587,
1839,
307,
793,
2033,
29901,
13,
9651,
1583,
29889,
9294,
3664,
9843,
29898,
12154,
1839,
333,
7464,
2060,
29918,
12154,
29918,
333,
29897,
13,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
5205,
29922,
497,
29987,
2972,
29889,
333,
16328,
29898,
2972,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
2972,
29918,
333,
2396,
2318,
1839,
333,
2033,
13,
9651,
500,
13,
4706,
1723,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
5327,
29892,
3806,
29918,
2848,
29922,
29896,
29897,
13,
13,
1678,
822,
1243,
29918,
1761,
29918,
5205,
29918,
307,
793,
29918,
1454,
29918,
2972,
29918,
13221,
29918,
1333,
29918,
2457,
29918,
7247,
29918,
307,
793,
29898,
1311,
1125,
13,
4706,
1788,
29918,
12154,
29918,
333,
353,
1583,
3032,
3258,
29918,
1482,
29918,
12154,
580,
13,
4706,
5354,
29918,
12154,
29918,
333,
353,
1583,
3032,
3258,
29918,
1482,
29918,
12154,
580,
13,
4706,
2318,
353,
1583,
3032,
3258,
29918,
2972,
580,
13,
13,
4706,
396,
3566,
263,
6297,
304,
278,
2318,
373,
263,
5354,
13,
4706,
5354,
29918,
14242,
29918,
2271,
353,
313,
13,
9651,
8207,
3129,
2708,
22584,
29898,
7247,
29918,
333,
29897,
29879,
29914,
13155,
22584,
29898,
2972,
29918,
333,
29897,
29879,
22208,
13,
9651,
525,
307,
793,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
7247,
29918,
333,
2396,
2318,
1839,
7247,
29918,
333,
7464,
13,
18884,
525,
2972,
29918,
333,
2396,
2318,
1839,
333,
7464,
13,
18884,
525,
12154,
29918,
333,
2396,
5354,
29918,
12154,
29918,
333,
13,
9651,
500,
13,
4706,
1723,
13,
4706,
1583,
29889,
649,
29898,
7247,
29918,
14242,
29918,
2271,
29897,
13,
13,
4706,
396,
3566,
278,
2318,
263,
6297,
373,
278,
1788,
13,
4706,
4509,
29918,
2271,
353,
8207,
5205,
29914,
13155,
22584,
29898,
2972,
29918,
333,
29897,
29879,
29914,
307,
793,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
2972,
29918,
333,
2396,
2318,
1839,
333,
7464,
13,
9651,
525,
12154,
29918,
333,
2396,
1788,
29918,
12154,
29918,
333,
13,
4706,
500,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
13,
4706,
396,
1051,
5354,
6297,
3566,
1860,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
13,
9651,
8207,
3129,
2708,
22584,
29898,
7247,
29918,
333,
29897,
29879,
29914,
13155,
22584,
29898,
2972,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
426,
13,
18884,
525,
7247,
29918,
333,
2396,
2318,
1839,
7247,
29918,
333,
7464,
525,
2972,
29918,
333,
2396,
2318,
1839,
333,
2033,
13,
9651,
500,
13,
4706,
1723,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2435,
29898,
5327,
29889,
3126,
29918,
2587,
1839,
307,
793,
2033,
511,
29871,
29896,
29897,
13,
13,
4706,
396,
1051,
1788,
6297,
3566,
1860,
13,
4706,
4333,
29918,
2271,
353,
8207,
5205,
29914,
13155,
22584,
29898,
2972,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
426,
13,
9651,
525,
2972,
29918,
333,
2396,
2318,
1839,
333,
2033,
13,
4706,
500,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
13,
4706,
396,
4974,
278,
5354,
6297,
12827,
338,
451,
297,
278,
1788,
6297,
13,
4706,
396,
3566,
1860,
13,
4706,
363,
6297,
297,
2933,
29889,
3126,
29918,
2587,
1839,
307,
793,
2033,
29901,
13,
9651,
1583,
29889,
9294,
3664,
9843,
29898,
12154,
1839,
333,
7464,
5354,
29918,
12154,
29918,
333,
29897,
13,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
5205,
29922,
497,
29987,
2972,
29889,
333,
16328,
29898,
2972,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
2972,
29918,
333,
2396,
2318,
1839,
333,
2033,
13,
9651,
500,
13,
4706,
1723,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
5327,
29892,
3806,
29918,
2848,
29922,
29896,
29897,
13,
13,
1678,
822,
1243,
29918,
3198,
29918,
2972,
29918,
5349,
29918,
5205,
29918,
12154,
29918,
8256,
29918,
465,
10194,
29918,
9933,
29898,
1311,
1125,
13,
4706,
1788,
29918,
12154,
29918,
333,
353,
1583,
3032,
3258,
29918,
1482,
29918,
12154,
580,
13,
4706,
2318,
353,
1583,
3032,
3258,
29918,
2972,
580,
13,
13,
4706,
396,
3566,
278,
2318,
263,
6297,
373,
278,
1788,
13,
4706,
4509,
29918,
2271,
353,
8207,
5205,
29914,
13155,
22584,
29898,
2972,
29918,
333,
29897,
29879,
29914,
307,
793,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
2972,
29918,
333,
2396,
2318,
1839,
333,
7464,
13,
9651,
525,
12154,
29918,
333,
2396,
1788,
29918,
12154,
29918,
333,
13,
4706,
500,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
13,
4706,
396,
1423,
278,
2318,
756,
278,
1788,
6297,
12827,
13,
4706,
1583,
29889,
2813,
29898,
14242,
29918,
2271,
29897,
13,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
5205,
29922,
497,
29987,
2972,
29889,
333,
16328,
29898,
2972,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
2972,
29918,
333,
2396,
2318,
1839,
333,
2033,
13,
9651,
500,
13,
4706,
1723,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
5327,
29892,
3806,
29918,
2848,
29922,
29896,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
13,
9651,
2933,
29889,
3126,
29918,
2587,
1839,
12154,
29918,
16645,
1860,
2033,
29961,
29900,
22322,
12154,
16215,
333,
7464,
13,
9651,
1788,
29918,
12154,
29918,
333,
13,
4706,
1723,
13,
13,
1678,
822,
1243,
29918,
3198,
29918,
2972,
29918,
13221,
29918,
1333,
29918,
17532,
29918,
5205,
29918,
12154,
29918,
14037,
29918,
465,
10194,
29898,
1311,
1125,
13,
4706,
1788,
29918,
12154,
29918,
333,
353,
1583,
3032,
3258,
29918,
1482,
29918,
12154,
580,
13,
4706,
2318,
353,
1583,
3032,
3258,
29918,
2972,
580,
13,
13,
4706,
396,
1423,
278,
2318,
947,
29915,
29873,
505,
278,
1788,
6297,
12827,
13,
4706,
4509,
29918,
2271,
353,
8207,
5205,
29914,
13155,
22584,
29898,
2972,
29918,
333,
29897,
29879,
29914,
307,
793,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
2972,
29918,
333,
2396,
2318,
1839,
333,
7464,
13,
9651,
525,
12154,
29918,
333,
2396,
1788,
29918,
12154,
29918,
333,
13,
4706,
500,
13,
4706,
1583,
29889,
2813,
29898,
14242,
29918,
2271,
29892,
3806,
29918,
4882,
29922,
1124,
29889,
4645,
29889,
12256,
29918,
5800,
18783,
29897,
13,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
5205,
29922,
497,
29987,
2972,
29889,
333,
16328,
29898,
2972,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
2972,
29918,
333,
2396,
2318,
1839,
333,
2033,
13,
9651,
500,
13,
4706,
1723,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
5327,
29892,
3806,
29918,
2848,
29922,
29900,
29897,
13,
13,
1678,
822,
1243,
29918,
348,
16645,
29918,
5205,
29918,
12154,
29918,
3166,
29918,
2972,
29898,
1311,
1125,
13,
4706,
1788,
29918,
12154,
29918,
333,
353,
1583,
3032,
3258,
29918,
1482,
29918,
12154,
580,
13,
4706,
2318,
353,
1583,
3032,
3258,
29918,
2972,
580,
13,
13,
4706,
396,
3566,
278,
2318,
263,
6297,
373,
278,
1788,
13,
4706,
4509,
29918,
2271,
353,
8207,
5205,
29914,
13155,
22584,
29898,
2972,
29918,
333,
29897,
29879,
29914,
307,
793,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
2972,
29918,
333,
2396,
2318,
1839,
333,
7464,
13,
9651,
525,
12154,
29918,
333,
2396,
1788,
29918,
12154,
29918,
333,
13,
4706,
500,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
13,
4706,
396,
9801,
278,
2318,
756,
278,
6297,
12827,
13,
4706,
1583,
29889,
2813,
29898,
14242,
29918,
2271,
29897,
13,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
5205,
29922,
497,
29987,
2972,
29889,
333,
16328,
29898,
2972,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
2972,
29918,
333,
2396,
2318,
1839,
333,
2033,
13,
9651,
500,
13,
4706,
1723,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2435,
29898,
5327,
29889,
3126,
29918,
2587,
1839,
12154,
29918,
16645,
1860,
2033,
511,
29871,
29896,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
5327,
29897,
13,
13,
4706,
396,
3349,
278,
1788,
6297,
12827,
515,
278,
2318,
13,
4706,
1583,
29889,
8143,
29898,
14242,
29918,
2271,
29897,
13,
13,
4706,
396,
9801,
278,
2318,
1838,
29915,
29873,
505,
738,
1788,
6297,
3566,
1860,
13,
4706,
4333,
29918,
2271,
353,
8207,
5205,
29914,
13155,
22584,
29898,
2972,
29918,
333,
29897,
29879,
29914,
307,
793,
29915,
1273,
426,
13,
9651,
525,
2972,
29918,
333,
2396,
2318,
1839,
333,
2033,
13,
4706,
500,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
10855,
29918,
2271,
29897,
13,
4706,
1583,
29889,
9294,
9843,
29898,
2435,
29898,
5327,
29889,
3126,
29918,
2587,
1839,
307,
793,
2033,
511,
29871,
29900,
29897,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
6078,
29889,
5205,
29922,
497,
29987,
2972,
29889,
333,
16328,
29898,
2972,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
18884,
525,
2972,
29918,
333,
2396,
2318,
1839,
333,
2033,
13,
9651,
500,
13,
4706,
1723,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
5327,
29892,
3806,
29918,
2848,
29922,
29900,
29897,
13,
13,
1678,
822,
1243,
29918,
1972,
29918,
1454,
29918,
12154,
29918,
333,
29918,
13221,
29918,
1333,
29918,
2457,
29918,
5205,
29918,
2972,
29918,
307,
793,
29898,
1311,
1125,
13,
4706,
1788,
29918,
12154,
29918,
333,
353,
1583,
3032,
3258,
29918,
1482,
29918,
12154,
580,
13,
4706,
2318,
353,
1583,
3032,
3258,
29918,
2972,
580,
13,
13,
4706,
396,
3566,
278,
2318,
263,
6297,
373,
278,
1788,
13,
4706,
4509,
29918,
2271,
353,
8207,
5205,
29914,
13155,
22584,
29898,
2972,
29918,
333,
29897,
29879,
29914,
307,
793,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
426,
13,
9651,
525,
2972,
29918,
333,
2396,
2318,
1839,
333,
7464,
13,
9651,
525,
12154,
29918,
333,
2396,
1788,
29918,
12154,
29918,
333,
13,
4706,
500,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
13,
4706,
396,
3566,
278,
2318,
263,
6297,
373,
278,
1788,
13,
4706,
4509,
29918,
2271,
353,
313,
13,
9651,
8207,
16418,
22584,
29898,
4836,
29918,
333,
29897,
29879,
29914,
13155,
22584,
29898,
2972,
29918,
333,
29897,
29879,
29914,
307,
793,
22584,
29898,
12154,
29918,
333,
29897,
29879,
29915,
1273,
13,
9651,
11117,
4836,
29918,
333,
2396,
1583,
29889,
4836,
29918,
333,
29892,
13,
632,
525,
2972,
29918,
333,
2396,
2318,
1839,
333,
7464,
13,
632,
525,
12154,
29918,
333,
2396,
1583,
29889,
12154,
29918,
333,
29913,
13,
4706,
1723,
13,
4706,
1583,
29889,
649,
29898,
14242,
29918,
2271,
29897,
13,
13,
4706,
396,
8561,
1854,
591,
871,
679,
697,
6297,
12827,
1250,
1951,
278,
1788,
6297,
13,
4706,
396,
12827,
9273,
29915,
29873,
367,
4133,
29889,
13,
4706,
2224,
353,
313,
13,
9651,
8207,
12154,
29918,
16645,
1860,
29973,
12154,
29889,
333,
16328,
29898,
12154,
29918,
333,
29897,
29879,
29987,
2972,
29889,
333,
16328,
29898,
2972,
29918,
333,
29897,
29879,
29915,
13,
4706,
1723,
1273,
11117,
12154,
29918,
333,
2396,
1583,
29889,
12154,
29918,
333,
29892,
525,
2972,
29918,
333,
2396,
2318,
1839,
333,
2033,
29913,
13,
4706,
2933,
353,
1583,
29889,
657,
29898,
2084,
29897,
13,
4706,
1583,
29889,
9294,
7211,
16727,
7900,
10194,
1293,
5103,
29898,
5327,
29892,
3806,
29918,
2848,
29922,
29896,
29897,
13,
2
] |
Other/pdf2imageTest.py | Wanganator414/python | 1 | 29291 | from pdf2image import convert_from_path, convert_from_bytes
from pdf2image.exceptions import (
PDFInfoNotInstalledError,
PDFPageCountError,
PDFSyntaxError
)
images = convert_from_path('.\git_cheat_sheet.pdf')
| [
1,
515,
13552,
29906,
3027,
1053,
3588,
29918,
3166,
29918,
2084,
29892,
3588,
29918,
3166,
29918,
13193,
13,
3166,
13552,
29906,
3027,
29889,
11739,
29879,
1053,
313,
13,
1678,
11328,
3401,
3664,
3379,
4212,
2392,
29892,
13,
1678,
11328,
5074,
3981,
2392,
29892,
13,
1678,
11328,
16676,
2392,
13,
29897,
13,
8346,
353,
3588,
29918,
3166,
29918,
2084,
877,
7790,
5559,
29918,
1173,
271,
29918,
9855,
29889,
5140,
1495,
13,
2
] |
cmd_chess_util.py | ilius/chess-challange | 1 | 1603125 | """
contains some chess-related utility functions to use in command line
"""
from pieces import ChessPiece
from cmd_util import input_int
PIECE_SYMBOLS = 'KQBRN' # must not re-order
def input_pieces_count(row_count, col_count):
"""
ask the user the number or chess pieces of each type
return a dict { piece_symbol => count }
row_count: number of rows
col_count: number of columns
"""
cell_count = row_count * col_count
count_by_symbol = {}
total_count = 0
for symbol in PIECE_SYMBOLS:
cls = ChessPiece.class_by_symbol[symbol]
plural_name = cls.name.capitalize() + 's'
count = input_int(
'Number of %s: ' % plural_name,
default=0,
minimum=0,
maximum=cell_count-total_count,
)
count_by_symbol[symbol] = count
total_count += count
return count_by_symbol
def input_problem():
"""
get the board size and pieces count from stdin
"""
row_count = input_int('Number of rows: ', minimum=2)
col_count = input_int('Number of columns: ', minimum=2)
print()
count_by_symbol = input_pieces_count(row_count, col_count)
return row_count, col_count, count_by_symbol
def mark_board_under_attack_cells(board, row_count, col_count, symbol='.'):
"""
fill the empty cells that are under attack by other cells,
with given symbol
return a new board dict
"""
new_board = {}
for row_num in range(row_count):
for col_num in range(col_count):
try:
new_board[(row_num, col_num)] = board[(row_num, col_num)]
except KeyError:
if ChessPiece.pos_attacked_by_board(row_num, col_num, board):
new_board[(row_num, col_num)] = symbol
return new_board
# ______________________ Test Functions ______________________ #
def test_input_pieces_count(row_count, col_count):
"""test `input_pieces_count` function"""
count_by_symbol = input_pieces_count(row_count, col_count)
assert set(count_by_symbol.keys()) == \
set(ChessPiece.class_by_symbol.keys())
for count in count_by_symbol.values():
assert isinstance(count, int)
assert count >= 0
assert sum(count_by_symbol.values()) <= row_count * col_count
for symbol, count in count_by_symbol.items():
print('%s: %s' % (symbol, count))
if __name__ == '__main__':
test_input_pieces_count(7, 7)
| [
1,
9995,
13,
11516,
777,
521,
404,
29899,
12817,
19725,
3168,
304,
671,
297,
1899,
1196,
13,
15945,
29908,
13,
13,
3166,
12785,
1053,
678,
404,
29925,
347,
346,
13,
3166,
9920,
29918,
4422,
1053,
1881,
29918,
524,
13,
13,
2227,
29923,
4741,
29918,
14816,
9486,
5607,
29903,
353,
525,
29968,
29984,
15176,
29940,
29915,
29871,
396,
1818,
451,
337,
29899,
2098,
13,
13,
13,
1753,
1881,
29918,
12343,
778,
29918,
2798,
29898,
798,
29918,
2798,
29892,
784,
29918,
2798,
1125,
13,
1678,
9995,
13,
1678,
2244,
278,
1404,
278,
1353,
470,
521,
404,
12785,
310,
1269,
1134,
13,
1678,
736,
263,
9657,
426,
8424,
29918,
18098,
1149,
2302,
500,
13,
13,
1678,
1948,
29918,
2798,
29901,
1353,
310,
4206,
13,
1678,
784,
29918,
2798,
29901,
1353,
310,
4341,
13,
1678,
9995,
13,
1678,
3038,
29918,
2798,
353,
1948,
29918,
2798,
334,
784,
29918,
2798,
13,
1678,
2302,
29918,
1609,
29918,
18098,
353,
6571,
13,
1678,
3001,
29918,
2798,
353,
29871,
29900,
13,
1678,
363,
5829,
297,
349,
8673,
4741,
29918,
14816,
9486,
5607,
29903,
29901,
13,
4706,
1067,
29879,
353,
678,
404,
29925,
347,
346,
29889,
1990,
29918,
1609,
29918,
18098,
29961,
18098,
29962,
13,
4706,
715,
3631,
29918,
978,
353,
1067,
29879,
29889,
978,
29889,
5030,
2410,
675,
580,
718,
525,
29879,
29915,
13,
4706,
2302,
353,
1881,
29918,
524,
29898,
13,
9651,
525,
4557,
310,
1273,
29879,
29901,
525,
1273,
715,
3631,
29918,
978,
29892,
13,
9651,
2322,
29922,
29900,
29892,
13,
9651,
9212,
29922,
29900,
29892,
13,
9651,
7472,
29922,
3729,
29918,
2798,
29899,
7827,
29918,
2798,
29892,
13,
4706,
1723,
13,
4706,
2302,
29918,
1609,
29918,
18098,
29961,
18098,
29962,
353,
2302,
13,
4706,
3001,
29918,
2798,
4619,
2302,
13,
1678,
736,
2302,
29918,
1609,
29918,
18098,
13,
13,
13,
1753,
1881,
29918,
17199,
7295,
13,
1678,
9995,
13,
1678,
679,
278,
7613,
2159,
322,
12785,
2302,
515,
3659,
262,
13,
1678,
9995,
13,
1678,
1948,
29918,
2798,
353,
1881,
29918,
524,
877,
4557,
310,
4206,
29901,
13420,
9212,
29922,
29906,
29897,
13,
1678,
784,
29918,
2798,
353,
1881,
29918,
524,
877,
4557,
310,
4341,
29901,
13420,
9212,
29922,
29906,
29897,
13,
1678,
1596,
580,
13,
1678,
2302,
29918,
1609,
29918,
18098,
353,
1881,
29918,
12343,
778,
29918,
2798,
29898,
798,
29918,
2798,
29892,
784,
29918,
2798,
29897,
13,
13,
1678,
736,
1948,
29918,
2798,
29892,
784,
29918,
2798,
29892,
2302,
29918,
1609,
29918,
18098,
13,
13,
13,
1753,
2791,
29918,
3377,
29918,
5062,
29918,
1131,
547,
29918,
3729,
29879,
29898,
3377,
29892,
1948,
29918,
2798,
29892,
784,
29918,
2798,
29892,
5829,
2433,
6169,
1125,
13,
1678,
9995,
13,
1678,
5445,
278,
4069,
9101,
393,
526,
1090,
5337,
491,
916,
9101,
29892,
13,
1678,
411,
2183,
5829,
13,
1678,
736,
263,
716,
7613,
9657,
13,
1678,
9995,
13,
1678,
716,
29918,
3377,
353,
6571,
13,
1678,
363,
1948,
29918,
1949,
297,
3464,
29898,
798,
29918,
2798,
1125,
13,
4706,
363,
784,
29918,
1949,
297,
3464,
29898,
1054,
29918,
2798,
1125,
13,
9651,
1018,
29901,
13,
18884,
716,
29918,
3377,
15625,
798,
29918,
1949,
29892,
784,
29918,
1949,
4638,
353,
7613,
15625,
798,
29918,
1949,
29892,
784,
29918,
1949,
4638,
13,
9651,
5174,
7670,
2392,
29901,
13,
18884,
565,
678,
404,
29925,
347,
346,
29889,
1066,
29918,
1131,
547,
287,
29918,
1609,
29918,
3377,
29898,
798,
29918,
1949,
29892,
784,
29918,
1949,
29892,
7613,
1125,
13,
462,
1678,
716,
29918,
3377,
15625,
798,
29918,
1949,
29892,
784,
29918,
1949,
4638,
353,
5829,
13,
1678,
736,
716,
29918,
3377,
13,
13,
13,
29937,
903,
27097,
7652,
29918,
4321,
6680,
29879,
903,
27097,
7652,
29918,
396,
13,
13,
13,
1753,
1243,
29918,
2080,
29918,
12343,
778,
29918,
2798,
29898,
798,
29918,
2798,
29892,
784,
29918,
2798,
1125,
13,
1678,
9995,
1688,
421,
2080,
29918,
12343,
778,
29918,
2798,
29952,
740,
15945,
29908,
13,
1678,
2302,
29918,
1609,
29918,
18098,
353,
1881,
29918,
12343,
778,
29918,
2798,
29898,
798,
29918,
2798,
29892,
784,
29918,
2798,
29897,
13,
1678,
4974,
731,
29898,
2798,
29918,
1609,
29918,
18098,
29889,
8149,
3101,
1275,
320,
13,
4706,
731,
29898,
1451,
404,
29925,
347,
346,
29889,
1990,
29918,
1609,
29918,
18098,
29889,
8149,
3101,
13,
1678,
363,
2302,
297,
2302,
29918,
1609,
29918,
18098,
29889,
5975,
7295,
13,
4706,
4974,
338,
8758,
29898,
2798,
29892,
938,
29897,
13,
4706,
4974,
2302,
6736,
29871,
29900,
13,
13,
1678,
4974,
2533,
29898,
2798,
29918,
1609,
29918,
18098,
29889,
5975,
3101,
5277,
1948,
29918,
2798,
334,
784,
29918,
2798,
13,
13,
1678,
363,
5829,
29892,
2302,
297,
2302,
29918,
1609,
29918,
18098,
29889,
7076,
7295,
13,
4706,
1596,
877,
29995,
29879,
29901,
1273,
29879,
29915,
1273,
313,
18098,
29892,
2302,
876,
13,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
1678,
1243,
29918,
2080,
29918,
12343,
778,
29918,
2798,
29898,
29955,
29892,
29871,
29955,
29897,
13,
2
] |
var/spack/repos/builtin/packages/py-flit-core/package.py | zygyz/spack | 348 | 46740 | # Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
import glob
import os
import zipfile
from spack import *
class PyFlitCore(PythonPackage):
"""Distribution-building parts of Flit."""
homepage = "https://github.com/takluyver/flit"
url = "https://github.com/takluyver/flit/archive/refs/tags/3.3.0.tar.gz"
maintainers = ['takluyver']
version('3.3.0', sha256='f5340b268563dd408bf8e2df6dbc8d4d08bc76cdff0d8c7f8a4be94e5f01f22f')
depends_on('[email protected]:', type=('build', 'run'))
depends_on('py-toml', type=('build', 'run'))
def build(self, spec, prefix):
with working_dir('flit_core'):
python('build_dists.py')
def install(self, spec, prefix):
wheel = glob.glob(os.path.join('flit_core', 'dist', '*.whl'))[0]
with zipfile.ZipFile(wheel) as f:
f.extractall(python_purelib)
| [
1,
396,
14187,
1266,
29871,
29906,
29900,
29896,
29941,
29899,
29906,
29900,
29906,
29896,
19520,
22469,
5514,
3086,
14223,
29892,
365,
12182,
322,
916,
13,
29937,
1706,
547,
8010,
10682,
414,
29889,
2823,
278,
2246,
29899,
5563,
315,
4590,
29979,
22789,
3912,
934,
363,
4902,
29889,
13,
29937,
13,
29937,
10937,
29928,
29990,
29899,
29931,
293,
1947,
29899,
12889,
29901,
313,
17396,
1829,
29899,
29906,
29889,
29900,
6323,
341,
1806,
29897,
13,
13,
5215,
13149,
13,
5215,
2897,
13,
5215,
14319,
1445,
13,
13,
3166,
805,
547,
1053,
334,
13,
13,
13,
1990,
10772,
8754,
277,
9203,
29898,
11980,
14459,
1125,
13,
1678,
9995,
13398,
3224,
29899,
25237,
5633,
310,
2379,
277,
1213,
15945,
13,
13,
1678,
3271,
3488,
353,
376,
991,
597,
3292,
29889,
510,
29914,
29873,
557,
6092,
29891,
369,
29914,
1579,
277,
29908,
13,
1678,
3142,
353,
376,
991,
597,
3292,
29889,
510,
29914,
29873,
557,
6092,
29891,
369,
29914,
1579,
277,
29914,
10867,
29914,
24539,
29914,
11338,
29914,
29941,
29889,
29941,
29889,
29900,
29889,
12637,
29889,
18828,
29908,
13,
1678,
7344,
414,
353,
6024,
29873,
557,
6092,
29891,
369,
2033,
13,
13,
1678,
1873,
877,
29941,
29889,
29941,
29889,
29900,
742,
528,
29874,
29906,
29945,
29953,
2433,
29888,
29945,
29941,
29946,
29900,
29890,
29906,
29953,
29947,
29945,
29953,
29941,
1289,
29946,
29900,
29947,
1635,
29947,
29872,
29906,
2176,
29953,
11140,
29947,
29881,
29946,
29881,
29900,
29947,
12328,
29955,
29953,
2252,
600,
29900,
29881,
29947,
29883,
29955,
29888,
29947,
29874,
29946,
915,
29929,
29946,
29872,
29945,
29888,
29900,
29896,
29888,
29906,
29906,
29888,
1495,
13,
13,
1678,
7111,
29918,
265,
877,
4691,
29992,
29941,
29889,
29946,
29901,
742,
1134,
29922,
877,
4282,
742,
525,
3389,
8785,
13,
1678,
7111,
29918,
265,
877,
2272,
29899,
15135,
29880,
742,
1134,
29922,
877,
4282,
742,
525,
3389,
8785,
13,
13,
1678,
822,
2048,
29898,
1311,
29892,
1580,
29892,
10944,
1125,
13,
4706,
411,
1985,
29918,
3972,
877,
1579,
277,
29918,
3221,
29374,
13,
9651,
3017,
877,
4282,
29918,
29881,
2879,
29889,
2272,
1495,
13,
13,
1678,
822,
2601,
29898,
1311,
29892,
1580,
29892,
10944,
1125,
13,
4706,
18875,
353,
13149,
29889,
23705,
29898,
359,
29889,
2084,
29889,
7122,
877,
1579,
277,
29918,
3221,
742,
525,
5721,
742,
525,
10521,
1332,
29880,
8785,
29961,
29900,
29962,
13,
4706,
411,
14319,
1445,
29889,
26264,
2283,
29898,
29893,
10552,
29897,
408,
285,
29901,
13,
9651,
285,
29889,
21111,
497,
29898,
4691,
29918,
29886,
545,
1982,
29897,
13,
2
] |
peekingduck/pipeline/nodes/draw/group_bbox_and_tag.py | ericleehy/PeekingDuck | 1 | 53931 | <gh_stars>1-10
# Copyright 2022 AI Singapore
#
# 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.
"""
Draws large bounding boxes with tags, over identified groups of bounding boxes.
"""
from typing import Any, Dict, List
import numpy as np
from peekingduck.pipeline.nodes.draw.utils.bbox import draw_bboxes, draw_tags
from peekingduck.pipeline.nodes.draw.utils.constants import TOMATO
from peekingduck.pipeline.nodes.abstract_node import AbstractNode
class Node(AbstractNode):
"""Draws large bounding boxes with tags over multiple object bounding boxes
which have been identified as belonging to the same group.
The :term:`large_groups` data type from :mod:`dabble.check_large_groups`,
and the ``groups`` key of the :term:`obj_attrs` data type from
:mod:`dabble.group_nearby_objs`, are inputs for this node which identifies
the different groups, and the group associated with each bounding box.
For better understanding, refer to
the :doc:`Group Size Checking use case </use_cases/group_size_checking>`.
Inputs:
|img_data|
|bboxes_data|
|obj_attrs_data|
:mod:`draw.group_bbox_and_tag` requires the ``groups`` attribute from
:mod:`dabble.group_nearby_objs`.
|large_groups_data|
Outputs:
|none_output_data|
Configs:
tag (:obj:`str`): **default = "LARGE GROUP!"**. |br|
The string message printed when a large group is detected.
.. versionchanged:: 1.2.0
:mod:`draw.group_bbox_and_tag` used to take in ``obj_tags``
(:obj:`List[str]`) as an input data type, which has been deprecated and
now subsumed under :term:`obj_attrs`. The same attribute is accessed by
using the ``groups`` key of :term:`obj_attrs`.
"""
def __init__(self, config: Dict[str, Any] = None, **kwargs: Any) -> None:
super().__init__(config, node_path=__name__, **kwargs)
def run(self, inputs: Dict[str, Any]) -> Dict[str, Any]:
"""Draws large bounding boxes over multiple object bounding boxes
which have been identified as belonging to large groups.
Args:
inputs (dict): Dictionary with keys "img", "bboxes", "obj_attrs",
"large_groups".
Returns:
outputs (dict): Dictionary with keys "none".
"""
group_bboxes = self._get_group_bbox_coords(
inputs["large_groups"], inputs["bboxes"], inputs["obj_attrs"]["groups"]
)
group_tags = self._get_group_tags(inputs["large_groups"], self.tag)
# show labels set to False to reduce clutter on display
draw_bboxes(inputs["img"], group_bboxes, [], False, TOMATO)
draw_tags(inputs["img"], group_bboxes, group_tags, TOMATO)
return {}
@staticmethod
def _get_group_bbox_coords(
large_groups: List[int], bboxes: List[np.ndarray], obj_groups: List[int]
) -> List[np.ndarray]:
"""For bboxes that belong to the same large group, get the coordinates of
a large bbox that combines all these individual bboxes. Repeat for all large
groups.
"""
group_bboxes = []
bboxes = np.array(bboxes)
obj_groups = np.array(obj_groups)
for group in large_groups:
# filter relevant bboxes, select top-left and bot-right corners
group_bbox = np.array([1.0, 1.0, 0.0, 0.0])
selected_bboxes = bboxes[obj_groups == group]
group_bbox[:2] = np.amin(selected_bboxes, axis=0)[:2]
group_bbox[2:] = np.amax(selected_bboxes, axis=0)[2:]
group_bboxes.append(group_bbox)
return group_bboxes
@staticmethod
def _get_group_tags(large_groups: List[int], tag: str) -> List[str]:
"""Creates a list of tags to be used for the draw_tags function."""
group_tags = [tag for _ in range(len(large_groups))]
return group_tags
| [
1,
529,
12443,
29918,
303,
1503,
29958,
29896,
29899,
29896,
29900,
13,
29937,
14187,
1266,
29871,
29906,
29900,
29906,
29906,
319,
29902,
25960,
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,
15945,
29908,
13,
8537,
29879,
2919,
3216,
292,
16273,
411,
8282,
29892,
975,
15659,
6471,
310,
3216,
292,
16273,
29889,
13,
15945,
29908,
13,
13,
3166,
19229,
1053,
3139,
29892,
360,
919,
29892,
2391,
13,
13,
5215,
12655,
408,
7442,
13,
13,
3166,
1236,
1416,
292,
700,
384,
29889,
13096,
5570,
29889,
18010,
29889,
4012,
29889,
13239,
29889,
29890,
1884,
1053,
4216,
29918,
29890,
1884,
267,
29892,
4216,
29918,
11338,
13,
3166,
1236,
1416,
292,
700,
384,
29889,
13096,
5570,
29889,
18010,
29889,
4012,
29889,
13239,
29889,
3075,
1934,
1053,
323,
6488,
1299,
29949,
13,
3166,
1236,
1416,
292,
700,
384,
29889,
13096,
5570,
29889,
18010,
29889,
16595,
29918,
3177,
1053,
25513,
4247,
13,
13,
13,
1990,
9071,
29898,
9118,
4247,
1125,
13,
1678,
9995,
8537,
29879,
2919,
3216,
292,
16273,
411,
8282,
975,
2999,
1203,
3216,
292,
16273,
13,
1678,
607,
505,
1063,
15659,
408,
23329,
304,
278,
1021,
2318,
29889,
13,
13,
1678,
450,
584,
8489,
18078,
16961,
29918,
13155,
29952,
848,
1134,
515,
584,
1545,
18078,
29881,
370,
569,
29889,
3198,
29918,
16961,
29918,
13155,
1673,
13,
1678,
322,
278,
4954,
13155,
16159,
1820,
310,
278,
584,
8489,
18078,
5415,
29918,
5552,
29879,
29952,
848,
1134,
515,
13,
1678,
584,
1545,
18078,
29881,
370,
569,
29889,
2972,
29918,
28502,
1609,
29918,
711,
1315,
1673,
526,
10970,
363,
445,
2943,
607,
2893,
11057,
13,
1678,
278,
1422,
6471,
29892,
322,
278,
2318,
6942,
411,
1269,
3216,
292,
3800,
29889,
13,
13,
1678,
1152,
2253,
8004,
29892,
2737,
304,
13,
1678,
278,
584,
1514,
18078,
4782,
21179,
5399,
292,
671,
1206,
1533,
1509,
29918,
11436,
29914,
2972,
29918,
2311,
29918,
3198,
292,
29958,
1412,
13,
13,
1678,
10567,
29879,
29901,
13,
4706,
891,
2492,
29918,
1272,
29989,
13,
13,
4706,
891,
29890,
1884,
267,
29918,
1272,
29989,
13,
13,
4706,
891,
5415,
29918,
5552,
29879,
29918,
1272,
29989,
13,
4706,
584,
1545,
18078,
4012,
29889,
2972,
29918,
29890,
1884,
29918,
392,
29918,
4039,
29952,
6858,
278,
4954,
13155,
16159,
5352,
515,
13,
4706,
584,
1545,
18078,
29881,
370,
569,
29889,
2972,
29918,
28502,
1609,
29918,
711,
1315,
1412,
13,
13,
4706,
891,
16961,
29918,
13155,
29918,
1272,
29989,
13,
13,
1678,
10604,
29879,
29901,
13,
4706,
891,
9290,
29918,
4905,
29918,
1272,
29989,
13,
13,
1678,
12782,
29879,
29901,
13,
4706,
4055,
13940,
5415,
18078,
710,
29952,
1125,
3579,
4381,
353,
376,
29931,
1718,
1692,
15345,
3850,
1068,
29889,
891,
1182,
29989,
13,
9651,
450,
1347,
2643,
13350,
746,
263,
2919,
2318,
338,
17809,
29889,
13,
13,
1678,
6317,
1873,
15033,
1057,
29871,
29896,
29889,
29906,
29889,
29900,
13,
4706,
584,
1545,
18078,
4012,
29889,
2972,
29918,
29890,
1884,
29918,
392,
29918,
4039,
29952,
1304,
304,
2125,
297,
4954,
5415,
29918,
11338,
16159,
13,
4706,
13940,
5415,
18078,
1293,
29961,
710,
29962,
6348,
408,
385,
1881,
848,
1134,
29892,
607,
756,
1063,
18164,
322,
13,
4706,
1286,
1014,
2083,
287,
1090,
584,
8489,
18078,
5415,
29918,
5552,
29879,
1412,
450,
1021,
5352,
338,
20592,
491,
13,
4706,
773,
278,
4954,
13155,
16159,
1820,
310,
584,
8489,
18078,
5415,
29918,
5552,
29879,
1412,
13,
1678,
9995,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
2295,
29901,
360,
919,
29961,
710,
29892,
3139,
29962,
353,
6213,
29892,
3579,
19290,
29901,
3139,
29897,
1599,
6213,
29901,
13,
4706,
2428,
2141,
1649,
2344,
12035,
2917,
29892,
2943,
29918,
2084,
29922,
1649,
978,
1649,
29892,
3579,
19290,
29897,
13,
13,
1678,
822,
1065,
29898,
1311,
29892,
10970,
29901,
360,
919,
29961,
710,
29892,
3139,
2314,
1599,
360,
919,
29961,
710,
29892,
3139,
5387,
13,
4706,
9995,
8537,
29879,
2919,
3216,
292,
16273,
975,
2999,
1203,
3216,
292,
16273,
13,
4706,
607,
505,
1063,
15659,
408,
23329,
304,
2919,
6471,
29889,
13,
13,
4706,
826,
3174,
29901,
13,
9651,
10970,
313,
8977,
1125,
13343,
411,
6611,
376,
2492,
613,
376,
29890,
1884,
267,
613,
376,
5415,
29918,
5552,
29879,
613,
13,
18884,
376,
16961,
29918,
13155,
1642,
13,
13,
4706,
16969,
29901,
13,
9651,
14391,
313,
8977,
1125,
13343,
411,
6611,
376,
9290,
1642,
13,
4706,
9995,
13,
4706,
2318,
29918,
29890,
1884,
267,
353,
1583,
3032,
657,
29918,
2972,
29918,
29890,
1884,
29918,
1111,
4339,
29898,
13,
9651,
10970,
3366,
16961,
29918,
13155,
12436,
10970,
3366,
29890,
1884,
267,
12436,
10970,
3366,
5415,
29918,
5552,
29879,
3108,
3366,
13155,
3108,
13,
4706,
1723,
13,
4706,
2318,
29918,
11338,
353,
1583,
3032,
657,
29918,
2972,
29918,
11338,
29898,
2080,
29879,
3366,
16961,
29918,
13155,
12436,
1583,
29889,
4039,
29897,
13,
13,
4706,
396,
1510,
11073,
731,
304,
7700,
304,
10032,
1067,
6463,
373,
2479,
13,
4706,
4216,
29918,
29890,
1884,
267,
29898,
2080,
29879,
3366,
2492,
12436,
2318,
29918,
29890,
1884,
267,
29892,
19997,
7700,
29892,
323,
6488,
1299,
29949,
29897,
13,
4706,
4216,
29918,
11338,
29898,
2080,
29879,
3366,
2492,
12436,
2318,
29918,
29890,
1884,
267,
29892,
2318,
29918,
11338,
29892,
323,
6488,
1299,
29949,
29897,
13,
13,
4706,
736,
6571,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
903,
657,
29918,
2972,
29918,
29890,
1884,
29918,
1111,
4339,
29898,
13,
4706,
2919,
29918,
13155,
29901,
2391,
29961,
524,
1402,
289,
1884,
267,
29901,
2391,
29961,
9302,
29889,
299,
2378,
1402,
5446,
29918,
13155,
29901,
2391,
29961,
524,
29962,
13,
1678,
1723,
1599,
2391,
29961,
9302,
29889,
299,
2378,
5387,
13,
4706,
9995,
2831,
289,
1884,
267,
393,
6852,
304,
278,
1021,
2919,
2318,
29892,
679,
278,
10350,
310,
13,
4706,
263,
2919,
289,
1884,
393,
4145,
1475,
599,
1438,
5375,
289,
1884,
267,
29889,
830,
11666,
363,
599,
2919,
13,
4706,
6471,
29889,
13,
4706,
9995,
13,
4706,
2318,
29918,
29890,
1884,
267,
353,
5159,
13,
4706,
289,
1884,
267,
353,
7442,
29889,
2378,
29898,
29890,
1884,
267,
29897,
13,
4706,
5446,
29918,
13155,
353,
7442,
29889,
2378,
29898,
5415,
29918,
13155,
29897,
13,
4706,
363,
2318,
297,
2919,
29918,
13155,
29901,
13,
9651,
396,
4175,
8018,
289,
1884,
267,
29892,
1831,
2246,
29899,
1563,
322,
9225,
29899,
1266,
26995,
13,
9651,
2318,
29918,
29890,
1884,
353,
7442,
29889,
2378,
4197,
29896,
29889,
29900,
29892,
29871,
29896,
29889,
29900,
29892,
29871,
29900,
29889,
29900,
29892,
29871,
29900,
29889,
29900,
2314,
13,
9651,
4629,
29918,
29890,
1884,
267,
353,
289,
1884,
267,
29961,
5415,
29918,
13155,
1275,
2318,
29962,
13,
9651,
2318,
29918,
29890,
1884,
7503,
29906,
29962,
353,
7442,
29889,
9103,
29898,
8391,
29918,
29890,
1884,
267,
29892,
9685,
29922,
29900,
29897,
7503,
29906,
29962,
13,
9651,
2318,
29918,
29890,
1884,
29961,
29906,
17531,
353,
7442,
29889,
314,
1165,
29898,
8391,
29918,
29890,
1884,
267,
29892,
9685,
29922,
29900,
9601,
29906,
17531,
13,
9651,
2318,
29918,
29890,
1884,
267,
29889,
4397,
29898,
2972,
29918,
29890,
1884,
29897,
13,
13,
4706,
736,
2318,
29918,
29890,
1884,
267,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
903,
657,
29918,
2972,
29918,
11338,
29898,
16961,
29918,
13155,
29901,
2391,
29961,
524,
1402,
4055,
29901,
851,
29897,
1599,
2391,
29961,
710,
5387,
13,
4706,
9995,
9832,
1078,
263,
1051,
310,
8282,
304,
367,
1304,
363,
278,
4216,
29918,
11338,
740,
1213,
15945,
13,
4706,
2318,
29918,
11338,
353,
518,
4039,
363,
903,
297,
3464,
29898,
2435,
29898,
16961,
29918,
13155,
28166,
13,
13,
4706,
736,
2318,
29918,
11338,
13,
2
] |
inventory.py | Jongerr/vendor_receiving | 0 | 6705 | import json
import os
import random
import requests
from passlib.hash import pbkdf2_sha256 as pbk
from PyQt5.QtSql import QSqlDatabase, QSqlQuery
from pprint import pprint
ENCODING = 'utf-8'
DB_PATH = os.path.join(os.path.curdir, 'inventory.db')
def scrambleWord(word):
"""Randomize the letters in word and return the resulting string."""
word_list = list(word)
random.shuffle(word_list)
word = ''.join(word_list)
return word
def generateItems():
"""Generate a dictionary of retail products and store the data in items.json.
Pulls a list of items and artificially doubles it with scrambled item names.
Each item is given a random PLU, UPC, and department number.
Each dictionary key is the item's PLU.
"""
response = requests.get('https://www.randomlists.com/data/things.json')
json_data = response.json()
items = json_data['RandL']['items']
#double sample size by scrambling item names
scrambled_list = []
for item in items:
scrambled_item = scrambleWord(item)
scrambled_list.append(scrambled_item)
items = items + scrambled_list
data = {}
for item in items:
random.seed(item)
upc = random.randint(100000000000, 999999999999)
plu = random.randint(1000, 9999999)
department = (plu % 7) + 1
print('UPC:{0} | PLU:{1} | Item:{2} | D{3}'.format(upc, plu, item, department))
if plu in data:
print('Duplicate found: {}'.format(plu))
continue
data[plu] = {'upc':upc, 'department':department, 'model':item}
with open('items.json', 'w') as f:
json.dump(data, f)
def generatePO():
"""Create dumby Purchase Orders and store them in pos.json.
Each PO is asigned one random vendor and department number,
along with a random length list of items belonging to said department.
Returns: True if items.json successfully opens, False otherwise.
"""
try:
with open('items.json', 'r') as f:
items_dict = json.load(f)
except FileNotFoundError:
return False
vendors = ['Dyson', 'Ingrammicro', 'LKG', 'Inland', 'Sandisk', 'Seagate', 'Hasbro', 'Mattel',\
'Gear Head', 'Logitech', 'NTE', 'Dell', 'Microsoft', 'Right Stuff', 'Alliance', 'Energizer']
po_dict = {}
for i in range(50):
po_num = 24000000 + random.randint(1, 999999)
if po_num in po_dict:
continue
po_dict[po_num] = {'department': (po_num % 7) + 1, 'items': {}, 'vendor': random.choice(vendors)}
for key in items_dict:
match_found = False
loops = 0
while not match_found:
loops += 1
if loops > 200:
print('\n\nToo many loops.\n\n')
break
po, department = random.choice(list(po_dict.items()))
department = department['department']
print('PO department: {}'.format(department))
print('item plu: {} department: {}'.format(key, items_dict[key]['department']))
if items_dict[key]['department'] == department:
max_count = random.randint(1, 20)
po_dict[po]['items'][key] = max_count
match_found = True
with open('pos.json', 'w') as f:
json.dump(po_dict, f)
return True
def fillDB():
"""Create a database and populate two tables(named items and purchase_order).
The 'items' and 'purchase_order' tables are populated with the data from items.json
and pos.json respectively.
"""
with open('items.json') as f:
data = json.load(f)
db = QSqlDatabase.addDatabase('QSQLITE')
db.setDatabaseName(DB_PATH)
if not db.open():
print('DB could not be opened')
error = QSqlDatabase.lastError()
print(error.text())
return False
query = QSqlQuery()
if query.exec_("drop table items"):
print('successfully dropped table')
else:
print('unsuccessfully dropped table')
print(query.lastError().text())
if query.exec_("create table items(plu int primary key, upc varchar(12) unique, "
"model varchar(20), department int)"):
print('success')
else:
print('failure')
print(query.lastError().text())
for key in data:
if query.exec_("insert into items values({}, '{}', '{}', {})".format(key, data[key]['upc'],
data[key]['model'], data[key]['department'])):
print("values({}, {}, {}, {}) successfully inserted.".format(key, data[key]['upc'], data[key]['model'], data[key]['department']))
else:
print("values({}, {}, {}, {}) unsuccessfully inserted.".format(key, data[key]['upc'], data[key]['model'], data[key]['department']))
print(query.lastError().text())
with open('pos.json') as f:
po_dict = json.load(f)
if query.exec_("drop table purchase_order"):
print('successfully dropped table')
else:
print('unsuccessfully dropped table')
print(query.lastError().text())
if query.exec_("create table purchase_order(po int primary key, vendor varchar(30), "
"department int, items blob)"):
print('success')
else:
print('failure')
print(query.lastError().text())
for key in po_dict:
item_string = json.dumps(po_dict[key]['items'])
item_blob = item_string.encode(ENCODING)
if query.exec_("insert into purchase_order values({}, '{}', {}, '{}')"\
.format(key, po_dict[key]['vendor'], po_dict[key]['department'], item_string)):
print("values({}, {}, {}, {}) successfully inserted."\
.format(key, po_dict[key]['vendor'], po_dict[key]['department'], item_string))
else:
print("values({}, {}, {}, {}) unsuccessfully inserted."\
.format(key, po_dict[key]['vendor'], po_dict[key]['department'], item_blob))
print(query.lastError().text())
def createEmployeeTable():
db = QSqlDatabase.addDatabase('QSQLITE')
db.setDatabaseName(DB_PATH)
if not db.open():
print('DB could not be opened')
error = QSqlDatabase.lastError()
print(error.text())
return False
query = QSqlQuery()
if not query.exec_("drop table employee"):
print(query.lastError().text())
if not query.exec_("create table employee(id int primary key, first_name varchar(10), "\
"last_name varchar(10), posistion int, pass_hash varchar(200))"):
print(query.lastError().text())
if not query.exec_("insert into employee values({}, '{}', '{}', {}, '{}')".\
format(162973, 'Jon', 'Michie', 2, pbk.hash('Michie'))):
print(query.lastError().text())
query.exec_("insert into employee values({}, '{}', '{}', {}, '{}')".\
format(131901, 'Ben', 'Terry', 3, pbk.hash('Terry')))
query.exec_("insert into employee values({}, '{}', '{}', {}, '{}')".\
format(150697, 'Daniel', 'Silva', 2, pbk.hash('Silva')))
query.exec_("insert into employee values({}, '{}', '{}', {}, '{}')".\
format(68412, 'James', 'Hutchetson', 2, pbk.hash('Hutchetson')))
query.exec_("insert into employee values({}, '{}', '{}', {}, '{}')".\
format(161844, 'MacKenly', 'Gamble', 1, pbk.hash('Gamble')))
query.exec_("insert into employee values({}, '{}', '{}', {}, '{}')".\
format(141047, 'George', 'Huston', 1, pbk.hash('Huston')))
query.exec_("insert into employee values({}, '{}', '{}', {}, '{}')".\
format(46045, 'Arthur', 'Art', 1, pbk.hash('Art')))
def testHashVerification(name):
db = QSqlDatabase.addDatabase('QSQLITE')
db.setDatabaseName(DB_PATH)
if not db.open():
print('DB could not be opened')
error = QSqlDatabase.lastError()
print(error.text())
return False
query = QSqlQuery()
if not query.exec_("select pass_hash from employee where last_name = '{}'".format(name)):
print(query.lastError().text())
elif not query.next():
print('Table values not found')
else:
pass_hash = query.value(0)
if pbk.verify(name, pass_hash):
print('It\'s a match!')
else:
print('Match not found.')
if __name__ == '__main__':
generateItems()
generatePO()
fillDB()
createEmployeeTable()
testHashVerification('Terry')
| [
1,
1053,
4390,
13,
5215,
2897,
13,
5215,
4036,
13,
5215,
7274,
13,
3166,
1209,
1982,
29889,
8568,
1053,
282,
29890,
29895,
2176,
29906,
29918,
17051,
29906,
29945,
29953,
408,
282,
29890,
29895,
13,
3166,
10772,
17303,
29945,
29889,
17303,
10520,
1053,
660,
10520,
9112,
29892,
660,
10520,
3010,
13,
3166,
282,
2158,
1053,
282,
2158,
13,
13,
13,
1430,
3217,
29928,
4214,
353,
525,
9420,
29899,
29947,
29915,
13,
4051,
29918,
10145,
353,
2897,
29889,
2084,
29889,
7122,
29898,
359,
29889,
2084,
29889,
2764,
3972,
29892,
525,
262,
23886,
29889,
2585,
1495,
13,
13,
13,
1753,
885,
2572,
569,
14463,
29898,
1742,
1125,
13,
1678,
9995,
17875,
675,
278,
8721,
297,
1734,
322,
736,
278,
9819,
1347,
1213,
15945,
13,
1678,
1734,
29918,
1761,
353,
1051,
29898,
1742,
29897,
13,
1678,
4036,
29889,
845,
21897,
29898,
1742,
29918,
1761,
29897,
13,
1678,
1734,
353,
525,
4286,
7122,
29898,
1742,
29918,
1761,
29897,
13,
1678,
736,
1734,
13,
13,
13,
1753,
5706,
6913,
7295,
13,
1678,
9995,
5631,
403,
263,
8600,
310,
3240,
737,
9316,
322,
3787,
278,
848,
297,
4452,
29889,
3126,
29889,
13,
13,
1678,
349,
913,
29879,
263,
1051,
310,
4452,
322,
23116,
368,
27641,
372,
411,
885,
2572,
27225,
2944,
2983,
29889,
13,
1678,
7806,
2944,
338,
2183,
263,
4036,
16507,
29965,
29892,
501,
9026,
29892,
322,
14311,
1353,
29889,
13,
1678,
7806,
8600,
1820,
338,
278,
2944,
29915,
29879,
16507,
29965,
29889,
13,
1678,
9995,
13,
1678,
2933,
353,
7274,
29889,
657,
877,
991,
597,
1636,
29889,
8172,
21513,
29889,
510,
29914,
1272,
29914,
386,
886,
29889,
3126,
1495,
13,
1678,
4390,
29918,
1272,
353,
2933,
29889,
3126,
580,
13,
1678,
4452,
353,
4390,
29918,
1272,
1839,
29934,
392,
29931,
16215,
7076,
2033,
13,
13,
1678,
396,
8896,
4559,
2159,
491,
14387,
1117,
1847,
2944,
2983,
13,
1678,
885,
2572,
27225,
29918,
1761,
353,
5159,
13,
1678,
363,
2944,
297,
4452,
29901,
13,
4706,
885,
2572,
27225,
29918,
667,
353,
885,
2572,
569,
14463,
29898,
667,
29897,
13,
4706,
885,
2572,
27225,
29918,
1761,
29889,
4397,
29898,
1557,
2572,
27225,
29918,
667,
29897,
13,
13,
1678,
4452,
353,
4452,
718,
885,
2572,
27225,
29918,
1761,
13,
13,
1678,
848,
353,
6571,
13,
1678,
363,
2944,
297,
4452,
29901,
13,
4706,
4036,
29889,
26776,
29898,
667,
29897,
13,
4706,
701,
29883,
353,
4036,
29889,
9502,
524,
29898,
29896,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29900,
29892,
29871,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29897,
13,
4706,
715,
29884,
353,
4036,
29889,
9502,
524,
29898,
29896,
29900,
29900,
29900,
29892,
29871,
29929,
29929,
29929,
29929,
29929,
29929,
29929,
29897,
13,
4706,
14311,
353,
313,
572,
29884,
1273,
29871,
29955,
29897,
718,
29871,
29896,
13,
4706,
1596,
877,
4897,
29907,
26254,
29900,
29913,
891,
16507,
29965,
26254,
29896,
29913,
891,
10976,
26254,
29906,
29913,
891,
360,
29912,
29941,
29913,
4286,
4830,
29898,
786,
29883,
29892,
715,
29884,
29892,
2944,
29892,
14311,
876,
13,
13,
4706,
565,
715,
29884,
297,
848,
29901,
13,
9651,
1596,
877,
29928,
786,
5926,
1476,
29901,
6571,
4286,
4830,
29898,
572,
29884,
876,
13,
9651,
6773,
13,
13,
4706,
848,
29961,
572,
29884,
29962,
353,
11117,
786,
29883,
2396,
786,
29883,
29892,
525,
311,
8076,
2396,
311,
8076,
29892,
525,
4299,
2396,
667,
29913,
13,
13,
1678,
411,
1722,
877,
7076,
29889,
3126,
742,
525,
29893,
1495,
408,
285,
29901,
13,
4706,
4390,
29889,
15070,
29898,
1272,
29892,
285,
29897,
13,
13,
13,
1753,
5706,
13152,
7295,
13,
1678,
9995,
4391,
270,
398,
1609,
349,
27574,
1394,
8623,
322,
3787,
963,
297,
926,
29889,
3126,
29889,
13,
13,
1678,
7806,
21521,
338,
408,
12961,
697,
4036,
27042,
322,
14311,
1353,
29892,
13,
1678,
3412,
411,
263,
4036,
3309,
1051,
310,
4452,
23329,
304,
1497,
14311,
29889,
13,
13,
1678,
16969,
29901,
5852,
565,
4452,
29889,
3126,
8472,
13246,
29892,
7700,
6467,
29889,
13,
1678,
9995,
13,
1678,
1018,
29901,
13,
4706,
411,
1722,
877,
7076,
29889,
3126,
742,
525,
29878,
1495,
408,
285,
29901,
13,
9651,
4452,
29918,
8977,
353,
4390,
29889,
1359,
29898,
29888,
29897,
13,
1678,
5174,
3497,
17413,
2392,
29901,
13,
4706,
736,
7700,
13,
268,
13,
1678,
9691,
943,
353,
6024,
29928,
952,
265,
742,
525,
797,
1393,
29885,
2357,
742,
525,
29931,
29968,
29954,
742,
525,
797,
1049,
742,
525,
29903,
392,
3873,
742,
525,
2008,
351,
403,
742,
525,
14510,
6729,
742,
525,
29924,
1131,
295,
742,
29905,
13,
1669,
525,
29954,
799,
12252,
742,
525,
3403,
568,
305,
742,
525,
29940,
4330,
742,
525,
29928,
514,
742,
525,
11277,
742,
525,
7341,
624,
3096,
742,
525,
2499,
13036,
742,
525,
29923,
1089,
29887,
3950,
2033,
13,
13,
1678,
772,
29918,
8977,
353,
6571,
13,
1678,
363,
474,
297,
3464,
29898,
29945,
29900,
1125,
13,
4706,
772,
29918,
1949,
353,
29871,
29906,
29946,
29900,
29900,
29900,
29900,
29900,
29900,
718,
4036,
29889,
9502,
524,
29898,
29896,
29892,
29871,
29929,
29929,
29929,
29929,
29929,
29929,
29897,
13,
4706,
565,
772,
29918,
1949,
297,
772,
29918,
8977,
29901,
13,
9651,
6773,
13,
4706,
772,
29918,
8977,
29961,
1129,
29918,
1949,
29962,
353,
11117,
311,
8076,
2396,
313,
1129,
29918,
1949,
1273,
29871,
29955,
29897,
718,
29871,
29896,
29892,
525,
7076,
2396,
24335,
525,
19167,
2396,
4036,
29889,
16957,
29898,
29894,
355,
943,
2915,
13,
13,
1678,
363,
1820,
297,
4452,
29918,
8977,
29901,
13,
4706,
1993,
29918,
11940,
353,
7700,
13,
4706,
12104,
353,
29871,
29900,
13,
4706,
1550,
451,
1993,
29918,
11940,
29901,
13,
9651,
12104,
4619,
29871,
29896,
13,
9651,
565,
12104,
1405,
29871,
29906,
29900,
29900,
29901,
13,
18884,
1596,
28909,
29876,
29905,
29876,
1762,
29877,
1784,
12104,
7790,
29876,
29905,
29876,
1495,
13,
18884,
2867,
13,
9651,
772,
29892,
14311,
353,
4036,
29889,
16957,
29898,
1761,
29898,
1129,
29918,
8977,
29889,
7076,
22130,
13,
9651,
14311,
353,
14311,
1839,
311,
8076,
2033,
13,
9651,
1596,
877,
13152,
14311,
29901,
6571,
4286,
4830,
29898,
311,
8076,
876,
13,
9651,
1596,
877,
667,
715,
29884,
29901,
6571,
14311,
29901,
6571,
4286,
4830,
29898,
1989,
29892,
4452,
29918,
8977,
29961,
1989,
22322,
311,
8076,
25901,
13,
9651,
565,
4452,
29918,
8977,
29961,
1989,
22322,
311,
8076,
2033,
1275,
14311,
29901,
13,
18884,
4236,
29918,
2798,
353,
4036,
29889,
9502,
524,
29898,
29896,
29892,
29871,
29906,
29900,
29897,
13,
18884,
772,
29918,
8977,
29961,
1129,
22322,
7076,
2033,
29961,
1989,
29962,
353,
4236,
29918,
2798,
13,
18884,
1993,
29918,
11940,
353,
5852,
13,
13,
1678,
411,
1722,
877,
1066,
29889,
3126,
742,
525,
29893,
1495,
408,
285,
29901,
13,
4706,
4390,
29889,
15070,
29898,
1129,
29918,
8977,
29892,
285,
29897,
13,
1678,
736,
5852,
13,
13,
13,
1753,
5445,
4051,
7295,
13,
1678,
9995,
4391,
263,
2566,
322,
19450,
1023,
6131,
29898,
17514,
4452,
322,
20590,
29918,
2098,
467,
13,
13,
1678,
450,
525,
7076,
29915,
322,
525,
29886,
27574,
29918,
2098,
29915,
6131,
526,
24146,
411,
278,
848,
515,
4452,
29889,
3126,
13,
1678,
322,
926,
29889,
3126,
8307,
29889,
13,
1678,
9995,
13,
1678,
411,
1722,
877,
7076,
29889,
3126,
1495,
408,
285,
29901,
13,
4706,
848,
353,
4390,
29889,
1359,
29898,
29888,
29897,
13,
13,
1678,
4833,
353,
660,
10520,
9112,
29889,
1202,
9112,
877,
29984,
4176,
9094,
1495,
13,
1678,
4833,
29889,
842,
9112,
1170,
29898,
4051,
29918,
10145,
29897,
13,
1678,
565,
451,
4833,
29889,
3150,
7295,
13,
4706,
1596,
877,
4051,
1033,
451,
367,
6496,
1495,
13,
4706,
1059,
353,
660,
10520,
9112,
29889,
4230,
2392,
580,
13,
4706,
1596,
29898,
2704,
29889,
726,
3101,
13,
4706,
736,
7700,
13,
13,
1678,
2346,
353,
660,
10520,
3010,
580,
13,
1678,
565,
2346,
29889,
4258,
29918,
703,
8865,
1591,
4452,
29908,
1125,
13,
4706,
1596,
877,
8698,
3730,
13700,
1591,
1495,
13,
1678,
1683,
29901,
13,
4706,
1596,
877,
348,
8698,
3730,
13700,
1591,
1495,
13,
4706,
1596,
29898,
1972,
29889,
4230,
2392,
2141,
726,
3101,
13,
1678,
565,
2346,
29889,
4258,
29918,
703,
3258,
1591,
4452,
29898,
572,
29884,
938,
7601,
1820,
29892,
701,
29883,
15236,
29898,
29896,
29906,
29897,
5412,
29892,
376,
13,
18884,
376,
4299,
15236,
29898,
29906,
29900,
511,
14311,
938,
5513,
1125,
13,
4706,
1596,
877,
8698,
1495,
13,
1678,
1683,
29901,
13,
4706,
1596,
877,
14057,
545,
1495,
13,
4706,
1596,
29898,
1972,
29889,
4230,
2392,
2141,
726,
3101,
13,
1678,
363,
1820,
297,
848,
29901,
13,
4706,
565,
2346,
29889,
4258,
29918,
703,
7851,
964,
4452,
1819,
3319,
1118,
525,
8875,
742,
525,
8875,
742,
426,
1800,
1642,
4830,
29898,
1989,
29892,
848,
29961,
1989,
22322,
786,
29883,
7464,
13,
462,
462,
462,
462,
418,
848,
29961,
1989,
22322,
4299,
7464,
848,
29961,
1989,
22322,
311,
8076,
2033,
22164,
13,
9651,
1596,
703,
5975,
3319,
1118,
24335,
24335,
426,
1800,
8472,
15478,
1213,
29889,
4830,
29898,
1989,
29892,
848,
29961,
1989,
22322,
786,
29883,
7464,
848,
29961,
1989,
22322,
4299,
7464,
848,
29961,
1989,
22322,
311,
8076,
25901,
13,
4706,
1683,
29901,
13,
9651,
1596,
703,
5975,
3319,
1118,
24335,
24335,
426,
1800,
443,
8698,
3730,
15478,
1213,
29889,
4830,
29898,
1989,
29892,
848,
29961,
1989,
22322,
786,
29883,
7464,
848,
29961,
1989,
22322,
4299,
7464,
848,
29961,
1989,
22322,
311,
8076,
25901,
13,
9651,
1596,
29898,
1972,
29889,
4230,
2392,
2141,
726,
3101,
13,
13,
1678,
411,
1722,
877,
1066,
29889,
3126,
1495,
408,
285,
29901,
13,
4706,
772,
29918,
8977,
353,
4390,
29889,
1359,
29898,
29888,
29897,
13,
13,
1678,
565,
2346,
29889,
4258,
29918,
703,
8865,
1591,
20590,
29918,
2098,
29908,
1125,
13,
4706,
1596,
877,
8698,
3730,
13700,
1591,
1495,
13,
1678,
1683,
29901,
13,
4706,
1596,
877,
348,
8698,
3730,
13700,
1591,
1495,
13,
4706,
1596,
29898,
1972,
29889,
4230,
2392,
2141,
726,
3101,
13,
1678,
565,
2346,
29889,
4258,
29918,
703,
3258,
1591,
20590,
29918,
2098,
29898,
1129,
938,
7601,
1820,
29892,
27042,
15236,
29898,
29941,
29900,
511,
376,
13,
462,
259,
376,
311,
8076,
938,
29892,
4452,
23755,
5513,
1125,
13,
4706,
1596,
877,
8698,
1495,
13,
1678,
1683,
29901,
13,
4706,
1596,
877,
14057,
545,
1495,
13,
4706,
1596,
29898,
1972,
29889,
4230,
2392,
2141,
726,
3101,
13,
1678,
363,
1820,
297,
772,
29918,
8977,
29901,
13,
4706,
2944,
29918,
1807,
353,
4390,
29889,
29881,
17204,
29898,
1129,
29918,
8977,
29961,
1989,
22322,
7076,
11287,
13,
4706,
2944,
29918,
10054,
353,
2944,
29918,
1807,
29889,
12508,
29898,
1430,
3217,
29928,
4214,
29897,
13,
4706,
565,
2346,
29889,
4258,
29918,
703,
7851,
964,
20590,
29918,
2098,
1819,
3319,
1118,
525,
8875,
742,
24335,
525,
8875,
1495,
26732,
13,
462,
539,
869,
4830,
29898,
1989,
29892,
772,
29918,
8977,
29961,
1989,
22322,
19167,
7464,
772,
29918,
8977,
29961,
1989,
22322,
311,
8076,
7464,
2944,
29918,
1807,
22164,
13,
9651,
1596,
703,
5975,
3319,
1118,
24335,
24335,
426,
1800,
8472,
15478,
1213,
29905,
13,
462,
29871,
869,
4830,
29898,
1989,
29892,
772,
29918,
8977,
29961,
1989,
22322,
19167,
7464,
772,
29918,
8977,
29961,
1989,
22322,
311,
8076,
7464,
2944,
29918,
1807,
876,
13,
4706,
1683,
29901,
13,
9651,
1596,
703,
5975,
3319,
1118,
24335,
24335,
426,
1800,
443,
8698,
3730,
15478,
1213,
29905,
13,
462,
29871,
869,
4830,
29898,
1989,
29892,
772,
29918,
8977,
29961,
1989,
22322,
19167,
7464,
772,
29918,
8977,
29961,
1989,
22322,
311,
8076,
7464,
2944,
29918,
10054,
876,
13,
9651,
1596,
29898,
1972,
29889,
4230,
2392,
2141,
726,
3101,
13,
13,
13,
1753,
1653,
19461,
3562,
7295,
13,
1678,
4833,
353,
660,
10520,
9112,
29889,
1202,
9112,
877,
29984,
4176,
9094,
1495,
13,
1678,
4833,
29889,
842,
9112,
1170,
29898,
4051,
29918,
10145,
29897,
13,
1678,
565,
451,
4833,
29889,
3150,
7295,
13,
4706,
1596,
877,
4051,
1033,
451,
367,
6496,
1495,
13,
4706,
1059,
353,
660,
10520,
9112,
29889,
4230,
2392,
580,
13,
4706,
1596,
29898,
2704,
29889,
726,
3101,
13,
4706,
736,
7700,
13,
1678,
2346,
353,
660,
10520,
3010,
580,
13,
1678,
565,
451,
2346,
29889,
4258,
29918,
703,
8865,
1591,
19001,
29908,
1125,
13,
4706,
1596,
29898,
1972,
29889,
4230,
2392,
2141,
726,
3101,
13,
1678,
565,
451,
2346,
29889,
4258,
29918,
703,
3258,
1591,
19001,
29898,
333,
938,
7601,
1820,
29892,
937,
29918,
978,
15236,
29898,
29896,
29900,
511,
6634,
13,
18884,
376,
4230,
29918,
978,
15236,
29898,
29896,
29900,
511,
926,
391,
291,
938,
29892,
1209,
29918,
8568,
15236,
29898,
29906,
29900,
29900,
876,
29908,
1125,
13,
4706,
1596,
29898,
1972,
29889,
4230,
2392,
2141,
726,
3101,
13,
1678,
565,
451,
2346,
29889,
4258,
29918,
703,
7851,
964,
19001,
1819,
3319,
1118,
525,
8875,
742,
525,
8875,
742,
24335,
525,
8875,
1495,
1642,
29905,
13,
18884,
3402,
29898,
29896,
29953,
29906,
29929,
29955,
29941,
29892,
525,
29967,
265,
742,
525,
14916,
347,
742,
29871,
29906,
29892,
282,
29890,
29895,
29889,
8568,
877,
14916,
347,
8785,
1125,
13,
4706,
1596,
29898,
1972,
29889,
4230,
2392,
2141,
726,
3101,
13,
1678,
2346,
29889,
4258,
29918,
703,
7851,
964,
19001,
1819,
3319,
1118,
525,
8875,
742,
525,
8875,
742,
24335,
525,
8875,
1495,
1642,
29905,
13,
18884,
3402,
29898,
29896,
29941,
29896,
29929,
29900,
29896,
29892,
525,
20841,
742,
525,
29911,
261,
719,
742,
29871,
29941,
29892,
282,
29890,
29895,
29889,
8568,
877,
29911,
261,
719,
29915,
4961,
13,
1678,
2346,
29889,
4258,
29918,
703,
7851,
964,
19001,
1819,
3319,
1118,
525,
8875,
742,
525,
8875,
742,
24335,
525,
8875,
1495,
1642,
29905,
13,
18884,
3402,
29898,
29896,
29945,
29900,
29953,
29929,
29955,
29892,
525,
29866,
742,
525,
26729,
1564,
742,
29871,
29906,
29892,
282,
29890,
29895,
29889,
8568,
877,
26729,
1564,
29915,
4961,
13,
1678,
2346,
29889,
4258,
29918,
703,
7851,
964,
19001,
1819,
3319,
1118,
525,
8875,
742,
525,
8875,
742,
24335,
525,
8875,
1495,
1642,
29905,
13,
18884,
3402,
29898,
29953,
29947,
29946,
29896,
29906,
29892,
525,
29470,
742,
525,
29950,
10519,
300,
1100,
742,
29871,
29906,
29892,
282,
29890,
29895,
29889,
8568,
877,
29950,
10519,
300,
1100,
29915,
4961,
13,
1678,
2346,
29889,
4258,
29918,
703,
7851,
964,
19001,
1819,
3319,
1118,
525,
8875,
742,
525,
8875,
742,
24335,
525,
8875,
1495,
1642,
29905,
13,
18884,
3402,
29898,
29896,
29953,
29896,
29947,
29946,
29946,
29892,
525,
15735,
29968,
264,
368,
742,
525,
29954,
314,
569,
742,
29871,
29896,
29892,
282,
29890,
29895,
29889,
8568,
877,
29954,
314,
569,
29915,
4961,
13,
1678,
2346,
29889,
4258,
29918,
703,
7851,
964,
19001,
1819,
3319,
1118,
525,
8875,
742,
525,
8875,
742,
24335,
525,
8875,
1495,
1642,
29905,
13,
18884,
3402,
29898,
29896,
29946,
29896,
29900,
29946,
29955,
29892,
525,
7999,
3890,
742,
525,
29950,
504,
265,
742,
29871,
29896,
29892,
282,
29890,
29895,
29889,
8568,
877,
29950,
504,
265,
29915,
4961,
13,
1678,
2346,
29889,
4258,
29918,
703,
7851,
964,
19001,
1819,
3319,
1118,
525,
8875,
742,
525,
8875,
742,
24335,
525,
8875,
1495,
1642,
29905,
13,
18884,
3402,
29898,
29946,
29953,
29900,
29946,
29945,
29892,
525,
1433,
9743,
742,
525,
9986,
742,
29871,
29896,
29892,
282,
29890,
29895,
29889,
8568,
877,
9986,
29915,
4961,
13,
13,
13,
1753,
1243,
10438,
6565,
2450,
29898,
978,
1125,
13,
1678,
4833,
353,
660,
10520,
9112,
29889,
1202,
9112,
877,
29984,
4176,
9094,
1495,
13,
1678,
4833,
29889,
842,
9112,
1170,
29898,
4051,
29918,
10145,
29897,
13,
1678,
565,
451,
4833,
29889,
3150,
7295,
13,
4706,
1596,
877,
4051,
1033,
451,
367,
6496,
1495,
13,
4706,
1059,
353,
660,
10520,
9112,
29889,
4230,
2392,
580,
13,
4706,
1596,
29898,
2704,
29889,
726,
3101,
13,
4706,
736,
7700,
13,
1678,
2346,
353,
660,
10520,
3010,
580,
13,
1678,
565,
451,
2346,
29889,
4258,
29918,
703,
2622,
1209,
29918,
8568,
515,
19001,
988,
1833,
29918,
978,
353,
525,
8875,
29915,
1642,
4830,
29898,
978,
22164,
13,
4706,
1596,
29898,
1972,
29889,
4230,
2392,
2141,
726,
3101,
13,
1678,
25342,
451,
2346,
29889,
4622,
7295,
13,
4706,
1596,
877,
3562,
1819,
451,
1476,
1495,
13,
1678,
1683,
29901,
13,
4706,
1209,
29918,
8568,
353,
2346,
29889,
1767,
29898,
29900,
29897,
13,
13,
4706,
565,
282,
29890,
29895,
29889,
27902,
29898,
978,
29892,
1209,
29918,
8568,
1125,
13,
9651,
1596,
877,
3112,
20333,
29879,
263,
1993,
29991,
1495,
13,
4706,
1683,
29901,
13,
9651,
1596,
877,
9652,
451,
1476,
29889,
1495,
13,
13,
13,
361,
4770,
978,
1649,
1275,
525,
1649,
3396,
1649,
2396,
13,
13,
1678,
5706,
6913,
580,
13,
1678,
5706,
13152,
580,
13,
1678,
5445,
4051,
580,
13,
1678,
1653,
19461,
3562,
580,
13,
1678,
1243,
10438,
6565,
2450,
877,
29911,
261,
719,
1495,
13,
2
] |
empire/server/database/base.py | iNoSec2/Empire | 0 | 72646 | <filename>empire/server/database/base.py
import subprocess
from sqlalchemy import create_engine
from sqlalchemy.orm import scoped_session, sessionmaker
from empire import arguments
from empire.server.common.config import empire_config
from empire.server.database import models
from empire.server.database.defaults import (
get_default_config,
get_default_keyword_obfuscation,
get_default_user,
)
from empire.server.database.models import Base
database_config = empire_config.database
if database_config.type == "mysql":
url = database_config.url
username = database_config.username
password = database_config.password
engine = create_engine(
f"mysql+pymysql://{username}:{password}@{url}/empire", echo=False
)
else:
location = database_config.location
engine = create_engine(f"sqlite:///{location}?check_same_thread=false", echo=False)
Session = scoped_session(sessionmaker(bind=engine))
args = arguments.args
if args.reset:
choice = input(
"\x1b[1;33m[>] Would you like to reset your Empire instance? [y/N]: \x1b[0m"
)
if choice.lower() == "y":
# The reset script will delete the default db file. This will drop tables if connected to MySQL or
# a different SQLite .db file.
Base.metadata.drop_all(engine)
subprocess.call("./setup/reset.sh")
else:
pass
Base.metadata.create_all(engine)
def color(string, color=None):
"""
Change text color for the Linux terminal.
Note: this is duplicate code copied from helpers.py because it cannot be imported into this file due to a circular
reference. There are plans to refactor these circular references out, but this is the near term solution.
"""
attr = []
# bold
attr.append("1")
if color:
if color.lower() == "red":
attr.append("31")
elif color.lower() == "green":
attr.append("32")
elif color.lower() == "yellow":
attr.append("33")
elif color.lower() == "blue":
attr.append("34")
return "\x1b[%sm%s\x1b[0m" % (";".join(attr), string)
else:
if string.strip().startswith("[!]"):
attr.append("31")
return "\x1b[%sm%s\x1b[0m" % (";".join(attr), string)
elif string.strip().startswith("[+]"):
attr.append("32")
return "\x1b[%sm%s\x1b[0m" % (";".join(attr), string)
elif string.strip().startswith("[*]"):
attr.append("34")
return "\x1b[%sm%s\x1b[0m" % (";".join(attr), string)
elif string.strip().startswith("[>]"):
attr.append("33")
return "\x1b[%sm%s\x1b[0m" % (";".join(attr), string)
else:
return string
# When Empire starts up for the first time, it will create the database and create
# these default records.
if len(Session().query(models.User).all()) == 0:
print(color("[*] Setting up database."))
print(color("[*] Adding default user."))
Session().add(get_default_user())
Session().commit()
Session.remove()
if len(Session().query(models.Config).all()) == 0:
print(color("[*] Adding database config."))
Session().add(get_default_config())
Session().commit()
Session.remove()
if len(Session().query(models.Keyword).all()) == 0:
print(color('[*] Adding default keyword obfuscation functions.'))
functions = get_default_keyword_obfuscation()
for function in functions:
Session().add(function)
Session().commit()
Session.remove()
| [
1,
529,
9507,
29958,
3451,
533,
29914,
2974,
29914,
9803,
29914,
3188,
29889,
2272,
13,
5215,
1014,
5014,
13,
13,
3166,
4576,
284,
305,
6764,
1053,
1653,
29918,
10599,
13,
3166,
4576,
284,
305,
6764,
29889,
555,
1053,
16505,
287,
29918,
7924,
29892,
4867,
28107,
13,
13,
3166,
3710,
533,
1053,
6273,
13,
3166,
3710,
533,
29889,
2974,
29889,
9435,
29889,
2917,
1053,
3710,
533,
29918,
2917,
13,
3166,
3710,
533,
29889,
2974,
29889,
9803,
1053,
4733,
13,
3166,
3710,
533,
29889,
2974,
29889,
9803,
29889,
4381,
29879,
1053,
313,
13,
1678,
679,
29918,
4381,
29918,
2917,
29892,
13,
1678,
679,
29918,
4381,
29918,
26766,
29918,
711,
29888,
375,
9252,
29892,
13,
1678,
679,
29918,
4381,
29918,
1792,
29892,
13,
29897,
13,
3166,
3710,
533,
29889,
2974,
29889,
9803,
29889,
9794,
1053,
7399,
13,
13,
9803,
29918,
2917,
353,
3710,
533,
29918,
2917,
29889,
9803,
13,
13,
361,
2566,
29918,
2917,
29889,
1853,
1275,
376,
7938,
1115,
13,
1678,
3142,
353,
2566,
29918,
2917,
29889,
2271,
13,
1678,
8952,
353,
2566,
29918,
2917,
29889,
6786,
13,
1678,
4800,
353,
2566,
29918,
2917,
29889,
5630,
13,
1678,
6012,
353,
1653,
29918,
10599,
29898,
13,
4706,
285,
29908,
7938,
29974,
29886,
962,
952,
1519,
597,
29912,
6786,
6177,
29912,
5630,
29913,
28312,
2271,
6822,
3451,
533,
613,
2916,
29922,
8824,
13,
1678,
1723,
13,
2870,
29901,
13,
1678,
4423,
353,
2566,
29918,
2917,
29889,
5479,
13,
1678,
6012,
353,
1653,
29918,
10599,
29898,
29888,
29908,
22793,
597,
19248,
5479,
29913,
29973,
3198,
29918,
17642,
29918,
7097,
29922,
4541,
613,
2916,
29922,
8824,
29897,
13,
13,
7317,
353,
16505,
287,
29918,
7924,
29898,
7924,
28107,
29898,
5355,
29922,
10599,
876,
13,
13,
5085,
353,
6273,
29889,
5085,
13,
361,
6389,
29889,
12071,
29901,
13,
1678,
7348,
353,
1881,
29898,
13,
4706,
6634,
29916,
29896,
29890,
29961,
29896,
29936,
29941,
29941,
29885,
29961,
29958,
29962,
10878,
366,
763,
304,
10092,
596,
13378,
2777,
29973,
518,
29891,
29914,
29940,
5387,
320,
29916,
29896,
29890,
29961,
29900,
29885,
29908,
13,
1678,
1723,
13,
1678,
565,
7348,
29889,
13609,
580,
1275,
376,
29891,
1115,
13,
4706,
396,
450,
10092,
2471,
674,
5217,
278,
2322,
4833,
934,
29889,
910,
674,
5768,
6131,
565,
6631,
304,
9254,
470,
13,
4706,
396,
263,
1422,
23299,
869,
2585,
934,
29889,
13,
4706,
7399,
29889,
19635,
29889,
8865,
29918,
497,
29898,
10599,
29897,
13,
4706,
1014,
5014,
29889,
4804,
703,
6904,
14669,
29914,
12071,
29889,
845,
1159,
13,
1678,
1683,
29901,
13,
4706,
1209,
13,
13,
5160,
29889,
19635,
29889,
3258,
29918,
497,
29898,
10599,
29897,
13,
13,
13,
1753,
2927,
29898,
1807,
29892,
2927,
29922,
8516,
1125,
13,
1678,
9995,
13,
1678,
10726,
1426,
2927,
363,
278,
8074,
8638,
29889,
13,
1678,
3940,
29901,
445,
338,
7929,
775,
13746,
515,
1371,
414,
29889,
2272,
1363,
372,
2609,
367,
19673,
964,
445,
934,
2861,
304,
263,
19308,
13,
1678,
3407,
29889,
1670,
526,
13900,
304,
28559,
1438,
19308,
9282,
714,
29892,
541,
445,
338,
278,
2978,
1840,
1650,
29889,
13,
1678,
9995,
13,
1678,
12421,
353,
5159,
13,
1678,
396,
14288,
13,
1678,
12421,
29889,
4397,
703,
29896,
1159,
13,
13,
1678,
565,
2927,
29901,
13,
4706,
565,
2927,
29889,
13609,
580,
1275,
376,
1127,
1115,
13,
9651,
12421,
29889,
4397,
703,
29941,
29896,
1159,
13,
4706,
25342,
2927,
29889,
13609,
580,
1275,
376,
12692,
1115,
13,
9651,
12421,
29889,
4397,
703,
29941,
29906,
1159,
13,
4706,
25342,
2927,
29889,
13609,
580,
1275,
376,
29136,
1115,
13,
9651,
12421,
29889,
4397,
703,
29941,
29941,
1159,
13,
4706,
25342,
2927,
29889,
13609,
580,
1275,
376,
9539,
1115,
13,
9651,
12421,
29889,
4397,
703,
29941,
29946,
1159,
13,
4706,
736,
6634,
29916,
29896,
29890,
29961,
29995,
3844,
29995,
29879,
29905,
29916,
29896,
29890,
29961,
29900,
29885,
29908,
1273,
313,
1769,
1642,
7122,
29898,
5552,
511,
1347,
29897,
13,
13,
1678,
1683,
29901,
13,
4706,
565,
1347,
29889,
17010,
2141,
27382,
2541,
703,
29961,
29991,
18017,
1125,
13,
9651,
12421,
29889,
4397,
703,
29941,
29896,
1159,
13,
9651,
736,
6634,
29916,
29896,
29890,
29961,
29995,
3844,
29995,
29879,
29905,
29916,
29896,
29890,
29961,
29900,
29885,
29908,
1273,
313,
1769,
1642,
7122,
29898,
5552,
511,
1347,
29897,
13,
4706,
25342,
1347,
29889,
17010,
2141,
27382,
2541,
703,
29961,
29974,
18017,
1125,
13,
9651,
12421,
29889,
4397,
703,
29941,
29906,
1159,
13,
9651,
736,
6634,
29916,
29896,
29890,
29961,
29995,
3844,
29995,
29879,
29905,
29916,
29896,
29890,
29961,
29900,
29885,
29908,
1273,
313,
1769,
1642,
7122,
29898,
5552,
511,
1347,
29897,
13,
4706,
25342,
1347,
29889,
17010,
2141,
27382,
2541,
703,
29961,
29930,
18017,
1125,
13,
9651,
12421,
29889,
4397,
703,
29941,
29946,
1159,
13,
9651,
736,
6634,
29916,
29896,
29890,
29961,
29995,
3844,
29995,
29879,
29905,
29916,
29896,
29890,
29961,
29900,
29885,
29908,
1273,
313,
1769,
1642,
7122,
29898,
5552,
511,
1347,
29897,
13,
4706,
25342,
1347,
29889,
17010,
2141,
27382,
2541,
703,
29961,
29958,
18017,
1125,
13,
9651,
12421,
29889,
4397,
703,
29941,
29941,
1159,
13,
9651,
736,
6634,
29916,
29896,
29890,
29961,
29995,
3844,
29995,
29879,
29905,
29916,
29896,
29890,
29961,
29900,
29885,
29908,
1273,
313,
1769,
1642,
7122,
29898,
5552,
511,
1347,
29897,
13,
4706,
1683,
29901,
13,
9651,
736,
1347,
13,
13,
13,
29937,
1932,
13378,
8665,
701,
363,
278,
937,
931,
29892,
372,
674,
1653,
278,
2566,
322,
1653,
13,
29937,
1438,
2322,
6475,
29889,
13,
361,
7431,
29898,
7317,
2141,
1972,
29898,
9794,
29889,
2659,
467,
497,
3101,
1275,
29871,
29900,
29901,
13,
1678,
1596,
29898,
2780,
703,
29961,
29930,
29962,
21605,
701,
2566,
1213,
876,
13,
1678,
1596,
29898,
2780,
703,
29961,
29930,
29962,
18804,
2322,
1404,
1213,
876,
13,
1678,
16441,
2141,
1202,
29898,
657,
29918,
4381,
29918,
1792,
3101,
13,
1678,
16441,
2141,
15060,
580,
13,
1678,
16441,
29889,
5992,
580,
13,
13,
361,
7431,
29898,
7317,
2141,
1972,
29898,
9794,
29889,
3991,
467,
497,
3101,
1275,
29871,
29900,
29901,
13,
1678,
1596,
29898,
2780,
703,
29961,
29930,
29962,
18804,
2566,
2295,
1213,
876,
13,
1678,
16441,
2141,
1202,
29898,
657,
29918,
4381,
29918,
2917,
3101,
13,
1678,
16441,
2141,
15060,
580,
13,
1678,
16441,
29889,
5992,
580,
13,
13,
361,
7431,
29898,
7317,
2141,
1972,
29898,
9794,
29889,
2558,
1742,
467,
497,
3101,
1275,
29871,
29900,
29901,
13,
1678,
1596,
29898,
2780,
877,
29961,
29930,
29962,
18804,
2322,
13553,
704,
29888,
375,
9252,
3168,
6169,
876,
13,
1678,
3168,
353,
679,
29918,
4381,
29918,
26766,
29918,
711,
29888,
375,
9252,
580,
13,
13,
1678,
363,
740,
297,
3168,
29901,
13,
4706,
16441,
2141,
1202,
29898,
2220,
29897,
13,
1678,
16441,
2141,
15060,
580,
13,
1678,
16441,
29889,
5992,
580,
13,
2
] |
sdv/tabular/ctgan.py | joanvaquer/SDV | 0 | 16785 | <reponame>joanvaquer/SDV
"""Wrapper around CTGAN model."""
from sdv.tabular.base import BaseTabularModel
class CTGAN(BaseTabularModel):
"""Model wrapping ``CTGANSynthesizer`` model.
Args:
field_names (list[str]):
List of names of the fields that need to be modeled
and included in the generated output data. Any additional
fields found in the data will be ignored and will not be
included in the generated output.
If ``None``, all the fields found in the data are used.
field_types (dict[str, dict]):
Dictinary specifying the data types and subtypes
of the fields that will be modeled. Field types and subtypes
combinations must be compatible with the SDV Metadata Schema.
field_transformers (dict[str, str]):
Dictinary specifying which transformers to use for each field.
Available transformers are:
* ``integer``: Uses a ``NumericalTransformer`` of dtype ``int``.
* ``float``: Uses a ``NumericalTransformer`` of dtype ``float``.
* ``categorical``: Uses a ``CategoricalTransformer`` without gaussian noise.
* ``categorical_fuzzy``: Uses a ``CategoricalTransformer`` adding gaussian noise.
* ``one_hot_encoding``: Uses a ``OneHotEncodingTransformer``.
* ``label_encoding``: Uses a ``LabelEncodingTransformer``.
* ``boolean``: Uses a ``BooleanTransformer``.
* ``datetime``: Uses a ``DatetimeTransformer``.
anonymize_fields (dict[str, str]):
Dict specifying which fields to anonymize and what faker
category they belong to.
primary_key (str):
Name of the field which is the primary key of the table.
constraints (list[Constraint, dict]):
List of Constraint objects or dicts.
table_metadata (dict or metadata.Table):
Table metadata instance or dict representation.
If given alongside any other metadata-related arguments, an
exception will be raised.
If not given at all, it will be built using the other
arguments or learned from the data.
epochs (int):
Number of training epochs. Defaults to 300.
log_frequency (boolean):
Whether to use log frequency of categorical levels in conditional
sampling. Defaults to ``True``.
embedding_dim (int):
Size of the random sample passed to the Generator. Defaults to 128.
gen_dim (tuple or list of ints):
Size of the output samples for each one of the Residuals. A Resiudal Layer
will be created for each one of the values provided. Defaults to (256, 256).
dis_dim (tuple or list of ints):
Size of the output samples for each one of the Discriminator Layers. A Linear
Layer will be created for each one of the values provided. Defaults to (256, 256).
l2scale (float):
Wheight Decay for the Adam Optimizer. Defaults to 1e-6.
batch_size (int):
Number of data samples to process in each step.
"""
_CTGAN_CLASS = None
_model = None
_DTYPE_TRANSFORMERS = {
'O': 'label_encoding'
}
def __init__(self, field_names=None, field_types=None, field_transformers=None,
anonymize_fields=None, primary_key=None, constraints=None, table_metadata=None,
epochs=300, log_frequency=True, embedding_dim=128, gen_dim=(256, 256),
dis_dim=(256, 256), l2scale=1e-6, batch_size=500):
super().__init__(
field_names=field_names,
primary_key=primary_key,
field_types=field_types,
anonymize_fields=anonymize_fields,
constraints=constraints,
table_metadata=table_metadata
)
try:
from ctgan import CTGANSynthesizer # Lazy import to make dependency optional
self._CTGAN_CLASS = CTGANSynthesizer
except ImportError as ie:
ie.msg += (
'\n\nIt seems like `ctgan` is not installed.\n'
'Please install it using:\n\n pip install sdv[ctgan]'
)
raise
self._embedding_dim = embedding_dim
self._gen_dim = gen_dim
self._dis_dim = dis_dim
self._l2scale = l2scale
self._batch_size = batch_size
self._epochs = epochs
self._log_frequency = log_frequency
def _fit(self, table_data):
"""Fit the model to the table.
Args:
table_data (pandas.DataFrame):
Data to be learned.
"""
self._model = self._CTGAN_CLASS(
embedding_dim=self._embedding_dim,
gen_dim=self._gen_dim,
dis_dim=self._dis_dim,
l2scale=self._l2scale,
batch_size=self._batch_size,
)
categoricals = [
field
for field, meta in self._metadata.get_fields().items()
if meta['type'] == 'categorical'
]
self._model.fit(
table_data,
epochs=self._epochs,
discrete_columns=categoricals,
log_frequency=self._log_frequency,
)
def _sample(self, num_rows):
"""Sample the indicated number of rows from the model.
Args:
num_rows (int):
Amount of rows to sample.
Returns:
pandas.DataFrame:
Sampled data.
"""
return self._model.sample(num_rows)
| [
1,
529,
276,
1112,
420,
29958,
2212,
273,
1564,
7808,
29914,
7230,
29963,
13,
15945,
29908,
15646,
2820,
26637,
29954,
2190,
1904,
1213,
15945,
13,
13,
3166,
28972,
29894,
29889,
9456,
29889,
3188,
1053,
7399,
8863,
1070,
3195,
13,
13,
13,
1990,
26637,
29954,
2190,
29898,
5160,
8863,
1070,
3195,
1125,
13,
1678,
9995,
3195,
28489,
4954,
1783,
29954,
2190,
29216,
26041,
3950,
16159,
1904,
29889,
13,
13,
1678,
826,
3174,
29901,
13,
4706,
1746,
29918,
7039,
313,
1761,
29961,
710,
29962,
1125,
13,
9651,
2391,
310,
2983,
310,
278,
4235,
393,
817,
304,
367,
4464,
839,
13,
9651,
322,
5134,
297,
278,
5759,
1962,
848,
29889,
3139,
5684,
13,
9651,
4235,
1476,
297,
278,
848,
674,
367,
17262,
322,
674,
451,
367,
13,
9651,
5134,
297,
278,
5759,
1962,
29889,
13,
9651,
960,
4954,
8516,
29952,
1673,
599,
278,
4235,
1476,
297,
278,
848,
526,
1304,
29889,
13,
4706,
1746,
29918,
8768,
313,
8977,
29961,
710,
29892,
9657,
29962,
1125,
13,
9651,
360,
919,
3821,
22146,
278,
848,
4072,
322,
1014,
8768,
13,
9651,
310,
278,
4235,
393,
674,
367,
4464,
839,
29889,
8989,
4072,
322,
1014,
8768,
13,
9651,
18240,
1818,
367,
15878,
411,
278,
8073,
29963,
4737,
7221,
1102,
2603,
29889,
13,
4706,
1746,
29918,
9067,
414,
313,
8977,
29961,
710,
29892,
851,
29962,
1125,
13,
9651,
360,
919,
3821,
22146,
607,
4327,
414,
304,
671,
363,
1269,
1746,
29889,
13,
9651,
7740,
3106,
4327,
414,
526,
29901,
13,
13,
18884,
334,
4954,
16031,
29952,
6998,
10783,
267,
263,
4954,
29940,
4680,
936,
13372,
261,
16159,
310,
26688,
4954,
524,
29952,
1412,
13,
18884,
334,
4954,
7411,
29952,
6998,
10783,
267,
263,
4954,
29940,
4680,
936,
13372,
261,
16159,
310,
26688,
4954,
7411,
29952,
1412,
13,
18884,
334,
4954,
29883,
20440,
936,
29952,
6998,
10783,
267,
263,
4954,
29907,
20440,
936,
13372,
261,
16159,
1728,
330,
17019,
11462,
29889,
13,
18884,
334,
4954,
29883,
20440,
936,
29918,
29888,
3365,
1537,
29952,
6998,
10783,
267,
263,
4954,
29907,
20440,
936,
13372,
261,
16159,
4417,
330,
17019,
11462,
29889,
13,
18884,
334,
4954,
650,
29918,
8711,
29918,
22331,
29952,
6998,
10783,
267,
263,
4954,
6716,
28917,
14934,
13372,
261,
29952,
1412,
13,
18884,
334,
4954,
1643,
29918,
22331,
29952,
6998,
10783,
267,
263,
4954,
4775,
14934,
13372,
261,
29952,
1412,
13,
18884,
334,
4954,
20054,
29952,
6998,
10783,
267,
263,
4954,
18146,
13372,
261,
29952,
1412,
13,
18884,
334,
4954,
12673,
29952,
6998,
10783,
267,
263,
4954,
16390,
5410,
13372,
261,
29952,
1412,
13,
13,
4706,
385,
4735,
675,
29918,
9621,
313,
8977,
29961,
710,
29892,
851,
29962,
1125,
13,
9651,
360,
919,
22146,
607,
4235,
304,
385,
4735,
675,
322,
825,
285,
5790,
13,
9651,
7663,
896,
6852,
304,
29889,
13,
4706,
7601,
29918,
1989,
313,
710,
1125,
13,
9651,
4408,
310,
278,
1746,
607,
338,
278,
7601,
1820,
310,
278,
1591,
29889,
13,
4706,
11938,
313,
1761,
29961,
21529,
29892,
9657,
29962,
1125,
13,
9651,
2391,
310,
1281,
4151,
524,
3618,
470,
9657,
29879,
29889,
13,
4706,
1591,
29918,
19635,
313,
8977,
470,
15562,
29889,
3562,
1125,
13,
9651,
6137,
15562,
2777,
470,
9657,
8954,
29889,
13,
9651,
960,
2183,
19963,
738,
916,
15562,
29899,
12817,
6273,
29892,
385,
13,
9651,
3682,
674,
367,
10425,
29889,
13,
9651,
960,
451,
2183,
472,
599,
29892,
372,
674,
367,
4240,
773,
278,
916,
13,
9651,
6273,
470,
10972,
515,
278,
848,
29889,
13,
4706,
21502,
12168,
313,
524,
1125,
13,
9651,
9681,
310,
6694,
21502,
12168,
29889,
13109,
29879,
304,
29871,
29941,
29900,
29900,
29889,
13,
4706,
1480,
29918,
10745,
23860,
313,
20054,
1125,
13,
9651,
26460,
304,
671,
1480,
10868,
310,
11608,
936,
11174,
297,
15047,
13,
9651,
23460,
29889,
13109,
29879,
304,
4954,
5574,
29952,
1412,
13,
4706,
23655,
29918,
6229,
313,
524,
1125,
13,
9651,
21179,
310,
278,
4036,
4559,
4502,
304,
278,
3251,
1061,
29889,
13109,
29879,
304,
29871,
29896,
29906,
29947,
29889,
13,
4706,
2531,
29918,
6229,
313,
23583,
470,
1051,
310,
938,
29879,
1125,
13,
9651,
21179,
310,
278,
1962,
11916,
363,
1269,
697,
310,
278,
2538,
333,
27101,
29889,
319,
2538,
29875,
566,
284,
365,
2747,
13,
9651,
674,
367,
2825,
363,
1269,
697,
310,
278,
1819,
4944,
29889,
13109,
29879,
304,
313,
29906,
29945,
29953,
29892,
29871,
29906,
29945,
29953,
467,
13,
4706,
766,
29918,
6229,
313,
23583,
470,
1051,
310,
938,
29879,
1125,
13,
9651,
21179,
310,
278,
1962,
11916,
363,
1269,
697,
310,
278,
8565,
20386,
1061,
365,
388,
414,
29889,
319,
22985,
13,
9651,
365,
2747,
674,
367,
2825,
363,
1269,
697,
310,
278,
1819,
4944,
29889,
13109,
29879,
304,
313,
29906,
29945,
29953,
29892,
29871,
29906,
29945,
29953,
467,
13,
4706,
301,
29906,
7052,
313,
7411,
1125,
13,
9651,
399,
3545,
3826,
388,
363,
278,
11783,
20693,
326,
3950,
29889,
13109,
29879,
304,
29871,
29896,
29872,
29899,
29953,
29889,
13,
4706,
9853,
29918,
2311,
313,
524,
1125,
13,
9651,
9681,
310,
848,
11916,
304,
1889,
297,
1269,
4331,
29889,
13,
1678,
9995,
13,
13,
1678,
903,
1783,
29954,
2190,
29918,
13875,
1799,
353,
6213,
13,
1678,
903,
4299,
353,
6213,
13,
13,
1678,
903,
29928,
11116,
29918,
26813,
29903,
19094,
23598,
353,
426,
13,
4706,
525,
29949,
2396,
525,
1643,
29918,
22331,
29915,
13,
1678,
500,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
1746,
29918,
7039,
29922,
8516,
29892,
1746,
29918,
8768,
29922,
8516,
29892,
1746,
29918,
9067,
414,
29922,
8516,
29892,
13,
462,
385,
4735,
675,
29918,
9621,
29922,
8516,
29892,
7601,
29918,
1989,
29922,
8516,
29892,
11938,
29922,
8516,
29892,
1591,
29918,
19635,
29922,
8516,
29892,
13,
462,
21502,
12168,
29922,
29941,
29900,
29900,
29892,
1480,
29918,
10745,
23860,
29922,
5574,
29892,
23655,
29918,
6229,
29922,
29896,
29906,
29947,
29892,
2531,
29918,
6229,
7607,
29906,
29945,
29953,
29892,
29871,
29906,
29945,
29953,
511,
13,
462,
766,
29918,
6229,
7607,
29906,
29945,
29953,
29892,
29871,
29906,
29945,
29953,
511,
301,
29906,
7052,
29922,
29896,
29872,
29899,
29953,
29892,
9853,
29918,
2311,
29922,
29945,
29900,
29900,
1125,
13,
4706,
2428,
2141,
1649,
2344,
12035,
13,
9651,
1746,
29918,
7039,
29922,
2671,
29918,
7039,
29892,
13,
9651,
7601,
29918,
1989,
29922,
16072,
29918,
1989,
29892,
13,
9651,
1746,
29918,
8768,
29922,
2671,
29918,
8768,
29892,
13,
9651,
385,
4735,
675,
29918,
9621,
29922,
273,
4735,
675,
29918,
9621,
29892,
13,
9651,
11938,
29922,
13646,
29879,
29892,
13,
9651,
1591,
29918,
19635,
29922,
2371,
29918,
19635,
13,
4706,
1723,
13,
4706,
1018,
29901,
13,
9651,
515,
274,
29873,
6249,
1053,
26637,
29954,
2190,
29216,
26041,
3950,
29871,
396,
19575,
29891,
1053,
304,
1207,
10609,
13136,
13,
13,
9651,
1583,
3032,
1783,
29954,
2190,
29918,
13875,
1799,
353,
26637,
29954,
2190,
29216,
26041,
3950,
13,
4706,
5174,
16032,
2392,
408,
19282,
29901,
13,
9651,
19282,
29889,
7645,
4619,
313,
13,
18884,
11297,
29876,
29905,
29876,
3112,
2444,
763,
421,
312,
6249,
29952,
338,
451,
5130,
7790,
29876,
29915,
13,
18884,
525,
12148,
2601,
372,
773,
3583,
29876,
29905,
29876,
1678,
8450,
2601,
28972,
29894,
29961,
312,
6249,
29962,
29915,
13,
9651,
1723,
13,
9651,
12020,
13,
13,
4706,
1583,
3032,
17987,
8497,
29918,
6229,
353,
23655,
29918,
6229,
13,
4706,
1583,
3032,
1885,
29918,
6229,
353,
2531,
29918,
6229,
13,
4706,
1583,
3032,
2218,
29918,
6229,
353,
766,
29918,
6229,
13,
4706,
1583,
3032,
29880,
29906,
7052,
353,
301,
29906,
7052,
13,
4706,
1583,
3032,
16175,
29918,
2311,
353,
9853,
29918,
2311,
13,
4706,
1583,
3032,
1022,
2878,
29879,
353,
21502,
12168,
13,
4706,
1583,
3032,
1188,
29918,
10745,
23860,
353,
1480,
29918,
10745,
23860,
13,
13,
1678,
822,
903,
9202,
29898,
1311,
29892,
1591,
29918,
1272,
1125,
13,
4706,
9995,
29943,
277,
278,
1904,
304,
278,
1591,
29889,
13,
13,
4706,
826,
3174,
29901,
13,
9651,
1591,
29918,
1272,
313,
15112,
29889,
17271,
1125,
13,
18884,
3630,
304,
367,
10972,
29889,
13,
4706,
9995,
13,
4706,
1583,
3032,
4299,
353,
1583,
3032,
1783,
29954,
2190,
29918,
13875,
1799,
29898,
13,
9651,
23655,
29918,
6229,
29922,
1311,
3032,
17987,
8497,
29918,
6229,
29892,
13,
9651,
2531,
29918,
6229,
29922,
1311,
3032,
1885,
29918,
6229,
29892,
13,
9651,
766,
29918,
6229,
29922,
1311,
3032,
2218,
29918,
6229,
29892,
13,
9651,
301,
29906,
7052,
29922,
1311,
3032,
29880,
29906,
7052,
29892,
13,
9651,
9853,
29918,
2311,
29922,
1311,
3032,
16175,
29918,
2311,
29892,
13,
4706,
1723,
13,
4706,
11608,
936,
29879,
353,
518,
13,
9651,
1746,
13,
9651,
363,
1746,
29892,
12700,
297,
1583,
3032,
19635,
29889,
657,
29918,
9621,
2141,
7076,
580,
13,
9651,
565,
12700,
1839,
1853,
2033,
1275,
525,
29883,
20440,
936,
29915,
13,
4706,
4514,
13,
4706,
1583,
3032,
4299,
29889,
9202,
29898,
13,
9651,
1591,
29918,
1272,
29892,
13,
9651,
21502,
12168,
29922,
1311,
3032,
1022,
2878,
29879,
29892,
13,
9651,
19554,
29918,
13099,
29922,
29883,
20440,
936,
29879,
29892,
13,
9651,
1480,
29918,
10745,
23860,
29922,
1311,
3032,
1188,
29918,
10745,
23860,
29892,
13,
4706,
1723,
13,
13,
1678,
822,
903,
11249,
29898,
1311,
29892,
954,
29918,
5727,
1125,
13,
4706,
9995,
17708,
278,
18694,
1353,
310,
4206,
515,
278,
1904,
29889,
13,
13,
4706,
826,
3174,
29901,
13,
9651,
954,
29918,
5727,
313,
524,
1125,
13,
18884,
1913,
792,
310,
4206,
304,
4559,
29889,
13,
13,
4706,
16969,
29901,
13,
9651,
11701,
29889,
17271,
29901,
13,
18884,
21029,
29881,
848,
29889,
13,
4706,
9995,
13,
4706,
736,
1583,
3032,
4299,
29889,
11249,
29898,
1949,
29918,
5727,
29897,
13,
2
] |
pyontutils/utils_extra.py | memartone/pyontutils | 0 | 80711 | <filename>pyontutils/utils_extra.py
"""
Reused utilties that depend on packages outside the python standard library.
"""
import hashlib
import rdflib
rdflib.plugin.register('librdfxml', rdflib.parser.Parser,
'pyontutils.librdf', 'libRdfxmlParser')
rdflib.plugin.register('libttl', rdflib.parser.Parser,
'pyontutils.librdf', 'libTurtleParser')
def check_value(v):
if isinstance(v, rdflib.Literal) or isinstance(v, rdflib.URIRef):
return v
elif isinstance(v, str) and v.startswith('http'):
return rdflib.URIRef(v)
else:
return rdflib.Literal(v)
class OrderInvariantHash:
""" WARNING VERY BROKEN DO NOT USE """
def __init__(self, cypher=hashlib.sha256, encoding='utf-8'):
self.cypher = cypher
self.encoding = encoding
def convertToBytes(self, e):
if isinstance(e, rdflib.BNode):
raise TypeError('BNode detected, please convert bnodes to '
'ints in a deterministic manner first.')
elif isinstance(e, rdflib.URIRef):
return e.encode(self.encoding)
elif isinstance(e, rdflib.Literal):
return self.makeByteTuple((str(e), e.datatype, e.language))
elif isinstance(e, int):
return str(e).encode(self.encoding)
elif isinstance(e, bytes):
return e
elif isinstance(e, str):
return e.encode(self.encoding)
else:
raise TypeError(f'Unhandled type on {e!r} {type(e)}')
def makeByteTuple(self, t):
return b'(' + b' '.join(self.convertToBytes(e)
for e in t
if e is not None) + b')'
def __call__(self, iterable):
# convert all strings bytes
# keep existing bytes as bytes
# join as follows b'(http://s http://p http://o)'
# join as follows b'(http://s http://p http://o)'
# bnodes local indexes are treated as strings and converted
# literals are treated as tuples of strings
# if lang is not present then the tuple is only 2 elements
# this is probably not the fastest way to do this but it works
#bytes_ = [makeByteTuple(t) for t in sorted(tuples)]
#embed()
m = self.cypher()
# when everything is replaced by an integer or a bytestring
# it is safe to sort last because identity is ensured
[m.update(b) for b in sorted(self.makeByteTuple(t) for t in iterable)]
return m.digest()
def currentVMSKb():
import psutil
p = psutil.Process(os.getpid())
return p.memory_info().vms
def memoryCheck(vms_max_kb):
""" Lookup vms_max using getCurrentVMSKb """
import psutil
safety_factor = 1.2
vms_max = vms_max_kb
vms_gigs = vms_max / 1024 ** 2
buffer = safety_factor * vms_max
buffer_gigs = buffer / 1024 ** 2
vm = psutil.virtual_memory()
free_gigs = vm.available / 1024 ** 2
if vm.available < buffer:
raise MemoryError('Running this requires quite a bit of memory ~ '
f'{vms_gigs:.2f}, you have {free_gigs:.2f} of the '
f'{buffer_gigs:.2f} needed')
| [
1,
529,
9507,
29958,
2272,
609,
13239,
29914,
13239,
29918,
17833,
29889,
2272,
13,
15945,
29908,
13,
1678,
830,
3880,
3667,
2938,
393,
8839,
373,
9741,
5377,
278,
3017,
3918,
3489,
29889,
13,
15945,
29908,
13,
5215,
6608,
1982,
13,
5215,
364,
2176,
1982,
13,
13,
13,
29878,
2176,
1982,
29889,
8582,
29889,
9573,
877,
492,
1182,
2176,
3134,
742,
364,
2176,
1982,
29889,
16680,
29889,
11726,
29892,
13,
462,
539,
525,
2272,
609,
13239,
29889,
492,
1182,
2176,
742,
525,
1982,
29934,
2176,
3134,
11726,
1495,
13,
29878,
2176,
1982,
29889,
8582,
29889,
9573,
877,
1982,
698,
29880,
742,
364,
2176,
1982,
29889,
16680,
29889,
11726,
29892,
13,
462,
539,
525,
2272,
609,
13239,
29889,
492,
1182,
2176,
742,
525,
1982,
29911,
4227,
280,
11726,
1495,
13,
13,
13,
1753,
1423,
29918,
1767,
29898,
29894,
1125,
13,
1678,
565,
338,
8758,
29898,
29894,
29892,
364,
2176,
1982,
29889,
24938,
284,
29897,
470,
338,
8758,
29898,
29894,
29892,
364,
2176,
1982,
29889,
15551,
5620,
1125,
13,
4706,
736,
325,
13,
1678,
25342,
338,
8758,
29898,
29894,
29892,
851,
29897,
322,
325,
29889,
27382,
2541,
877,
1124,
29374,
13,
4706,
736,
364,
2176,
1982,
29889,
15551,
5620,
29898,
29894,
29897,
13,
1678,
1683,
29901,
13,
4706,
736,
364,
2176,
1982,
29889,
24938,
284,
29898,
29894,
29897,
13,
13,
13,
1990,
8170,
797,
19365,
10438,
29901,
13,
1678,
9995,
399,
25614,
478,
24422,
350,
1672,
29968,
1430,
11662,
6058,
501,
1660,
9995,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
5094,
8096,
29922,
8568,
1982,
29889,
17051,
29906,
29945,
29953,
29892,
8025,
2433,
9420,
29899,
29947,
29374,
13,
4706,
1583,
29889,
1270,
8096,
353,
5094,
8096,
13,
4706,
1583,
29889,
22331,
353,
8025,
13,
13,
1678,
822,
3588,
1762,
11207,
29898,
1311,
29892,
321,
1125,
13,
4706,
565,
338,
8758,
29898,
29872,
29892,
364,
2176,
1982,
29889,
29933,
4247,
1125,
13,
9651,
12020,
20948,
877,
29933,
4247,
17809,
29892,
3113,
3588,
289,
18010,
304,
525,
13,
462,
9651,
525,
9466,
297,
263,
11806,
4695,
8214,
937,
29889,
1495,
13,
4706,
25342,
338,
8758,
29898,
29872,
29892,
364,
2176,
1982,
29889,
15551,
5620,
1125,
13,
9651,
736,
321,
29889,
12508,
29898,
1311,
29889,
22331,
29897,
13,
4706,
25342,
338,
8758,
29898,
29872,
29892,
364,
2176,
1982,
29889,
24938,
284,
1125,
13,
9651,
736,
1583,
29889,
5675,
12901,
23215,
552,
3552,
710,
29898,
29872,
511,
321,
29889,
4130,
23179,
29892,
321,
29889,
11675,
876,
13,
4706,
25342,
338,
8758,
29898,
29872,
29892,
938,
1125,
13,
9651,
736,
851,
29898,
29872,
467,
12508,
29898,
1311,
29889,
22331,
29897,
13,
4706,
25342,
338,
8758,
29898,
29872,
29892,
6262,
1125,
13,
9651,
736,
321,
13,
4706,
25342,
338,
8758,
29898,
29872,
29892,
851,
1125,
13,
9651,
736,
321,
29889,
12508,
29898,
1311,
29889,
22331,
29897,
13,
4706,
1683,
29901,
13,
9651,
12020,
20948,
29898,
29888,
29915,
2525,
3179,
839,
1134,
373,
426,
29872,
29991,
29878,
29913,
426,
1853,
29898,
29872,
2915,
1495,
13,
13,
1678,
822,
1207,
12901,
23215,
552,
29898,
1311,
29892,
260,
1125,
13,
4706,
736,
289,
29915,
877,
718,
289,
29915,
15300,
7122,
29898,
1311,
29889,
13441,
1762,
11207,
29898,
29872,
29897,
13,
462,
18884,
363,
321,
297,
260,
13,
462,
18884,
565,
321,
338,
451,
6213,
29897,
718,
289,
1495,
29915,
13,
13,
1678,
822,
4770,
4804,
12035,
1311,
29892,
4256,
519,
1125,
13,
4706,
396,
3588,
599,
6031,
6262,
13,
4706,
396,
3013,
5923,
6262,
408,
6262,
13,
4706,
396,
5988,
408,
4477,
289,
12215,
1124,
597,
29879,
1732,
597,
29886,
1732,
597,
29877,
16029,
13,
4706,
396,
5988,
408,
4477,
289,
12215,
1124,
597,
29879,
1732,
597,
29886,
1732,
597,
29877,
16029,
13,
4706,
396,
289,
18010,
1887,
18111,
526,
14914,
408,
6031,
322,
11543,
13,
4706,
396,
4631,
1338,
526,
14914,
408,
5291,
2701,
310,
6031,
13,
4706,
396,
565,
6361,
338,
451,
2198,
769,
278,
18761,
338,
871,
29871,
29906,
3161,
13,
13,
4706,
396,
445,
338,
3117,
451,
278,
5172,
342,
982,
304,
437,
445,
541,
372,
1736,
13,
4706,
396,
13193,
29918,
353,
518,
5675,
12901,
23215,
552,
29898,
29873,
29897,
363,
260,
297,
12705,
29898,
9161,
2701,
4638,
13,
4706,
396,
17987,
580,
13,
4706,
286,
353,
1583,
29889,
1270,
8096,
580,
13,
4706,
396,
746,
4129,
338,
8611,
491,
385,
6043,
470,
263,
491,
1688,
5393,
13,
4706,
396,
372,
338,
9109,
304,
2656,
1833,
1363,
10110,
338,
5662,
2955,
13,
4706,
518,
29885,
29889,
5504,
29898,
29890,
29897,
363,
289,
297,
12705,
29898,
1311,
29889,
5675,
12901,
23215,
552,
29898,
29873,
29897,
363,
260,
297,
4256,
519,
4638,
13,
4706,
736,
286,
29889,
7501,
342,
580,
13,
13,
13,
1753,
1857,
29963,
4345,
29968,
29890,
7295,
13,
1678,
1053,
6529,
4422,
13,
1678,
282,
353,
6529,
4422,
29889,
7032,
29898,
359,
29889,
657,
5935,
3101,
13,
1678,
736,
282,
29889,
14834,
29918,
3888,
2141,
29894,
1516,
13,
13,
13,
1753,
3370,
5596,
29898,
29894,
1516,
29918,
3317,
29918,
21066,
1125,
13,
1678,
9995,
7419,
786,
325,
1516,
29918,
3317,
773,
679,
7583,
29963,
4345,
29968,
29890,
9995,
13,
1678,
1053,
6529,
4422,
13,
1678,
15332,
29918,
19790,
353,
29871,
29896,
29889,
29906,
13,
1678,
325,
1516,
29918,
3317,
353,
325,
1516,
29918,
3317,
29918,
21066,
13,
1678,
325,
1516,
29918,
29887,
23379,
353,
325,
1516,
29918,
3317,
847,
29871,
29896,
29900,
29906,
29946,
3579,
29871,
29906,
13,
1678,
6835,
353,
15332,
29918,
19790,
334,
325,
1516,
29918,
3317,
13,
1678,
6835,
29918,
29887,
23379,
353,
6835,
847,
29871,
29896,
29900,
29906,
29946,
3579,
29871,
29906,
13,
1678,
22419,
353,
6529,
4422,
29889,
18714,
29918,
14834,
580,
13,
1678,
3889,
29918,
29887,
23379,
353,
22419,
29889,
16515,
847,
29871,
29896,
29900,
29906,
29946,
3579,
29871,
29906,
13,
1678,
565,
22419,
29889,
16515,
529,
6835,
29901,
13,
4706,
12020,
18914,
2392,
877,
27795,
445,
6858,
3755,
263,
2586,
310,
3370,
3695,
525,
13,
462,
3986,
285,
29915,
29912,
29894,
1516,
29918,
29887,
23379,
29901,
29889,
29906,
29888,
1118,
366,
505,
426,
9021,
29918,
29887,
23379,
29901,
29889,
29906,
29888,
29913,
310,
278,
525,
13,
462,
3986,
285,
29915,
29912,
9040,
29918,
29887,
23379,
29901,
29889,
29906,
29888,
29913,
4312,
1495,
13,
2
] |
HTBClient/models/machinedetails.py | BGrewell/HTBClient | 1 | 82127 |
class MachineDetails:
"""
Class to represent the HTB machine details
"""
def __init__(self, identifier, name, operating_system, ip, avatar, avatar_thumb, points, release, retired_date,
maker, maker2, ratings_pro, ratings_sucks, user_blood, root_blood, user_owns, root_owns):
self.identifier = identifier
self.name = name
self.operating_system = operating_system
self.ip = ip
self.avatar = avatar
self.avatar_thumb = avatar_thumb
self.points = points
self.release = release
self.retired_date = retired_date
self.maker = maker
self.maker2 = maker2
self.ratings_pro = ratings_pro
self.ratings_sucks = ratings_sucks
self.user_blood = user_blood
self.root_blood = root_blood
self.user_owns = user_owns
self.root_owns = root_owns
@staticmethod
def json_to_machinedetails(json_dict):
md = MachineDetails(
json_dict['id'],
json_dict['name'],
json_dict['os'],
json_dict['ip'],
json_dict['avatar'],
json_dict['avatar_thumb'],
json_dict['points'],
json_dict['release'],
json_dict['retired_date'],
json_dict['maker'],
json_dict['maker2'],
json_dict['ratings_pro'],
json_dict['ratings_sucks'],
json_dict['user_blood'],
json_dict['root_blood'],
json_dict['user_owns'],
json_dict['root_owns'],
)
return md
def __str__(self):
return self.name
def __repr__(self):
return self.name | [
1,
29871,
13,
13,
1990,
6189,
10602,
29901,
13,
1678,
9995,
13,
1678,
4134,
304,
2755,
278,
3154,
29933,
4933,
4902,
13,
1678,
9995,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
15882,
29892,
1024,
29892,
13598,
29918,
5205,
29892,
10377,
29892,
1029,
14873,
29892,
1029,
14873,
29918,
386,
3774,
29892,
3291,
29892,
6507,
29892,
16528,
29918,
1256,
29892,
13,
462,
2136,
261,
29892,
2136,
261,
29906,
29892,
26838,
29918,
771,
29892,
26838,
29918,
2146,
4684,
29892,
1404,
29918,
14073,
397,
29892,
3876,
29918,
14073,
397,
29892,
1404,
29918,
776,
29879,
29892,
3876,
29918,
776,
29879,
1125,
13,
4706,
1583,
29889,
25378,
353,
15882,
13,
4706,
1583,
29889,
978,
353,
1024,
13,
4706,
1583,
29889,
3372,
1218,
29918,
5205,
353,
13598,
29918,
5205,
13,
4706,
1583,
29889,
666,
353,
10377,
13,
4706,
1583,
29889,
485,
14873,
353,
1029,
14873,
13,
4706,
1583,
29889,
485,
14873,
29918,
386,
3774,
353,
1029,
14873,
29918,
386,
3774,
13,
4706,
1583,
29889,
9748,
353,
3291,
13,
4706,
1583,
29889,
14096,
353,
6507,
13,
4706,
1583,
29889,
2267,
2859,
29918,
1256,
353,
16528,
29918,
1256,
13,
4706,
1583,
29889,
28107,
353,
2136,
261,
13,
4706,
1583,
29889,
28107,
29906,
353,
2136,
261,
29906,
13,
4706,
1583,
29889,
3605,
886,
29918,
771,
353,
26838,
29918,
771,
13,
4706,
1583,
29889,
3605,
886,
29918,
2146,
4684,
353,
26838,
29918,
2146,
4684,
13,
4706,
1583,
29889,
1792,
29918,
14073,
397,
353,
1404,
29918,
14073,
397,
13,
4706,
1583,
29889,
4632,
29918,
14073,
397,
353,
3876,
29918,
14073,
397,
13,
4706,
1583,
29889,
1792,
29918,
776,
29879,
353,
1404,
29918,
776,
29879,
13,
4706,
1583,
29889,
4632,
29918,
776,
29879,
353,
3876,
29918,
776,
29879,
13,
13,
1678,
732,
7959,
5696,
13,
1678,
822,
4390,
29918,
517,
29918,
29885,
496,
1312,
300,
2234,
29898,
3126,
29918,
8977,
1125,
13,
4706,
22821,
353,
6189,
10602,
29898,
13,
9651,
4390,
29918,
8977,
1839,
333,
7464,
13,
9651,
4390,
29918,
8977,
1839,
978,
7464,
13,
9651,
4390,
29918,
8977,
1839,
359,
7464,
13,
9651,
4390,
29918,
8977,
1839,
666,
7464,
13,
9651,
4390,
29918,
8977,
1839,
485,
14873,
7464,
13,
9651,
4390,
29918,
8977,
1839,
485,
14873,
29918,
386,
3774,
7464,
13,
9651,
4390,
29918,
8977,
1839,
9748,
7464,
13,
9651,
4390,
29918,
8977,
1839,
14096,
7464,
13,
9651,
4390,
29918,
8977,
1839,
2267,
2859,
29918,
1256,
7464,
13,
9651,
4390,
29918,
8977,
1839,
28107,
7464,
13,
9651,
4390,
29918,
8977,
1839,
28107,
29906,
7464,
13,
9651,
4390,
29918,
8977,
1839,
3605,
886,
29918,
771,
7464,
13,
9651,
4390,
29918,
8977,
1839,
3605,
886,
29918,
2146,
4684,
7464,
13,
9651,
4390,
29918,
8977,
1839,
1792,
29918,
14073,
397,
7464,
13,
9651,
4390,
29918,
8977,
1839,
4632,
29918,
14073,
397,
7464,
13,
9651,
4390,
29918,
8977,
1839,
1792,
29918,
776,
29879,
7464,
13,
9651,
4390,
29918,
8977,
1839,
4632,
29918,
776,
29879,
7464,
13,
4706,
1723,
13,
4706,
736,
22821,
13,
13,
1678,
822,
4770,
710,
12035,
1311,
1125,
13,
4706,
736,
1583,
29889,
978,
13,
13,
1678,
822,
4770,
276,
558,
12035,
1311,
1125,
13,
4706,
736,
1583,
29889,
978,
2
] |
tests/engine/test_scheduler.py | pronovic/vplan | 0 | 110570 | # -*- coding: utf-8 -*-
# vim: set ft=python ts=4 sw=4 expandtab:
import datetime
from unittest.mock import MagicMock, patch
import pytest
from apscheduler.triggers.cron import CronTrigger
from apscheduler.triggers.date import DateTrigger
from busypie import SECOND, wait
from tzlocal import get_localzone
from vplan.engine.config import DailyJobConfig, SchedulerConfig
from vplan.engine.exception import EngineError
from vplan.engine.scheduler import (
schedule_daily_job,
schedule_immediate_job,
scheduler,
shutdown_scheduler,
start_scheduler,
unschedule_daily_job,
)
from vplan.util import now
INDICATOR = None
JOB_DELAY_SEC = 2 # if the job is intermittently unreliable, increase this value slightly
def job_function(message):
"""Job function to be scheduled; it sets INDICATOR so we can tell that the job worked."""
global INDICATOR # pylint: disable=global-statement
INDICATOR = message
def in_future(seconds, tz):
"""Return a time some number of seconds into the future"""
timestamp = now(tz=tz)
future = timestamp + datetime.timedelta(seconds=seconds)
return future.time().replace(microsecond=0)
def assert_no_jobs():
"""Assert that there are no jobs"""
assert len(scheduler().get_jobs()) == 0
def assert_daily_job_definition(job_id, kwargs):
"""Assert that the job definition matches expectations."""
jobs = scheduler().get_jobs()
assert len(jobs) > 0 # there should be at least one job
job = jobs[0]
assert job.id == job_id
assert job.func is job_function
assert job.kwargs == kwargs
assert job.misfire_grace_time == 1
assert isinstance(job.trigger, CronTrigger)
assert job.trigger.jitter == 0
# we can't confirm much about the schedule, but the actual execution behavior should prove that's ok
def assert_immediate_job_definition(job_id, kwargs):
"""Assert that the job definition matches expectations."""
jobs = scheduler().get_jobs()
assert len(jobs) > 0 # there should be at least one job
job = jobs[0]
assert job.id == job_id
assert job.func is job_function
assert job.kwargs == kwargs
assert isinstance(job.trigger, DateTrigger)
# we can't confirm much about the schedule, but the actual execution behavior should prove that's ok
class TestLifecycle:
@patch("vplan.engine.scheduler.config")
def test_scheduler_lifecycle(self, config, tmpdir):
shutdown_scheduler()
# this sets things up so the daily job is scheduled a few seconds from now, so we can check that it runs
tz = get_localzone()
time1 = in_future(seconds=JOB_DELAY_SEC, tz=tz)
time2 = in_future(seconds=JOB_DELAY_SEC * 2, tz=tz)
database_url = "sqlite+pysqlite:///%s" % tmpdir.join("jobs.sqlite").realpath()
daily = DailyJobConfig(jitter_sec=0, misfire_grace_sec=1)
scheduler_config = SchedulerConfig(database_url=database_url, daily_job=daily)
config.return_value = MagicMock(scheduler=scheduler_config)
try:
start_scheduler()
assert scheduler() is not None
# Create a daily job and make sure it executes
schedule_daily_job(
job_id="test_job", trigger_time=time1, func=job_function, kwargs={"message": "job #1"}, time_zone="%s" % tz
)
assert_daily_job_definition("test_job", {"message": "job #1"})
wait().at_most(JOB_DELAY_SEC, SECOND).until(lambda: INDICATOR == "job #1")
# Recreate the daily job and make sure updates are reflected
schedule_daily_job(
job_id="test_job", trigger_time=time2, func=job_function, kwargs={"message": "job #2"}, time_zone="%s" % tz
)
assert_daily_job_definition("test_job", {"message": "job #2"})
wait().at_most(JOB_DELAY_SEC, SECOND).until(lambda: INDICATOR == "job #2")
# Remove the daily job and make sure the change takes effect
unschedule_daily_job(job_id="test_job")
assert_no_jobs()
# Confirm that we don't get an error removing a nonexistent job
unschedule_daily_job(job_id="test_job")
# Schedule an immediate job, make sure it runs immediately, and make sure it goes away when done
schedule_immediate_job(job_id="immediate_job", func=job_function, kwargs={"message": "job #3"})
assert_immediate_job_definition("immediate_job", {"message": "job #3"})
wait().at_most(JOB_DELAY_SEC, SECOND).until(lambda: INDICATOR == "job #3")
assert_no_jobs()
finally:
shutdown_scheduler()
with pytest.raises(EngineError, match=r"Scheduler is not available"):
scheduler()
| [
1,
396,
448,
29930,
29899,
14137,
29901,
23616,
29899,
29947,
448,
29930,
29899,
13,
29937,
325,
326,
29901,
731,
11791,
29922,
4691,
18696,
29922,
29946,
2381,
29922,
29946,
7985,
3891,
29901,
13,
13,
5215,
12865,
13,
3166,
443,
27958,
29889,
17640,
1053,
26494,
18680,
29892,
13261,
13,
13,
5215,
11451,
1688,
13,
3166,
263,
567,
305,
14952,
29889,
509,
335,
5743,
29889,
29883,
1617,
1053,
315,
1617,
20211,
13,
3166,
263,
567,
305,
14952,
29889,
509,
335,
5743,
29889,
1256,
1053,
4712,
20211,
13,
3166,
3593,
1478,
347,
1053,
3725,
6007,
29928,
29892,
4480,
13,
3166,
260,
29920,
2997,
1053,
679,
29918,
2997,
8028,
13,
13,
3166,
325,
9018,
29889,
10599,
29889,
2917,
1053,
23331,
11947,
3991,
29892,
1102,
14952,
3991,
13,
3166,
325,
9018,
29889,
10599,
29889,
11739,
1053,
10863,
2392,
13,
3166,
325,
9018,
29889,
10599,
29889,
816,
14952,
1053,
313,
13,
1678,
20410,
29918,
29881,
8683,
29918,
9057,
29892,
13,
1678,
20410,
29918,
326,
13847,
29918,
9057,
29892,
13,
1678,
1364,
14952,
29892,
13,
1678,
12522,
3204,
29918,
816,
14952,
29892,
13,
1678,
1369,
29918,
816,
14952,
29892,
13,
1678,
443,
816,
11272,
29918,
29881,
8683,
29918,
9057,
29892,
13,
29897,
13,
3166,
325,
9018,
29889,
4422,
1053,
1286,
13,
13,
22255,
2965,
1299,
1955,
353,
6213,
13,
29967,
14824,
29918,
2287,
18799,
29918,
1660,
29907,
353,
29871,
29906,
29871,
396,
565,
278,
4982,
338,
1006,
18344,
2705,
443,
276,
492,
519,
29892,
7910,
445,
995,
10029,
13,
13,
13,
1753,
4982,
29918,
2220,
29898,
4906,
1125,
13,
1678,
9995,
11947,
740,
304,
367,
21467,
29936,
372,
6166,
2672,
29928,
2965,
1299,
1955,
577,
591,
508,
2649,
393,
278,
4982,
3796,
1213,
15945,
13,
1678,
5534,
2672,
29928,
2965,
1299,
1955,
29871,
396,
282,
2904,
524,
29901,
11262,
29922,
10945,
29899,
20788,
13,
1678,
2672,
29928,
2965,
1299,
1955,
353,
2643,
13,
13,
13,
1753,
297,
29918,
29888,
9130,
29898,
23128,
29892,
260,
29920,
1125,
13,
1678,
9995,
11609,
263,
931,
777,
1353,
310,
6923,
964,
278,
5434,
15945,
29908,
13,
1678,
14334,
353,
1286,
29898,
17559,
29922,
17559,
29897,
13,
1678,
5434,
353,
14334,
718,
12865,
29889,
9346,
287,
2554,
29898,
23128,
29922,
23128,
29897,
13,
1678,
736,
5434,
29889,
2230,
2141,
6506,
29898,
29885,
2357,
7496,
29922,
29900,
29897,
13,
13,
13,
1753,
4974,
29918,
1217,
29918,
9057,
29879,
7295,
13,
1678,
9995,
14697,
393,
727,
526,
694,
17643,
15945,
29908,
13,
1678,
4974,
7431,
29898,
816,
14952,
2141,
657,
29918,
9057,
29879,
3101,
1275,
29871,
29900,
13,
13,
13,
1753,
4974,
29918,
29881,
8683,
29918,
9057,
29918,
16553,
29898,
9057,
29918,
333,
29892,
9049,
5085,
1125,
13,
1678,
9995,
14697,
393,
278,
4982,
5023,
7087,
2149,
800,
1213,
15945,
13,
1678,
17643,
353,
1364,
14952,
2141,
657,
29918,
9057,
29879,
580,
13,
1678,
4974,
7431,
29898,
9057,
29879,
29897,
1405,
29871,
29900,
29871,
396,
727,
881,
367,
472,
3203,
697,
4982,
13,
1678,
4982,
353,
17643,
29961,
29900,
29962,
13,
1678,
4974,
4982,
29889,
333,
1275,
4982,
29918,
333,
13,
1678,
4974,
4982,
29889,
9891,
338,
4982,
29918,
2220,
13,
1678,
4974,
4982,
29889,
19290,
1275,
9049,
5085,
13,
1678,
4974,
4982,
29889,
29885,
4492,
533,
29918,
3874,
346,
29918,
2230,
1275,
29871,
29896,
13,
1678,
4974,
338,
8758,
29898,
9057,
29889,
21001,
29892,
315,
1617,
20211,
29897,
13,
1678,
4974,
4982,
29889,
21001,
29889,
29926,
5171,
1275,
29871,
29900,
13,
1678,
396,
591,
508,
29915,
29873,
9659,
1568,
1048,
278,
20410,
29892,
541,
278,
3935,
8225,
6030,
881,
6356,
393,
29915,
29879,
3431,
13,
13,
13,
1753,
4974,
29918,
326,
13847,
29918,
9057,
29918,
16553,
29898,
9057,
29918,
333,
29892,
9049,
5085,
1125,
13,
1678,
9995,
14697,
393,
278,
4982,
5023,
7087,
2149,
800,
1213,
15945,
13,
1678,
17643,
353,
1364,
14952,
2141,
657,
29918,
9057,
29879,
580,
13,
1678,
4974,
7431,
29898,
9057,
29879,
29897,
1405,
29871,
29900,
29871,
396,
727,
881,
367,
472,
3203,
697,
4982,
13,
1678,
4982,
353,
17643,
29961,
29900,
29962,
13,
1678,
4974,
4982,
29889,
333,
1275,
4982,
29918,
333,
13,
1678,
4974,
4982,
29889,
9891,
338,
4982,
29918,
2220,
13,
1678,
4974,
4982,
29889,
19290,
1275,
9049,
5085,
13,
1678,
4974,
338,
8758,
29898,
9057,
29889,
21001,
29892,
4712,
20211,
29897,
13,
1678,
396,
591,
508,
29915,
29873,
9659,
1568,
1048,
278,
20410,
29892,
541,
278,
3935,
8225,
6030,
881,
6356,
393,
29915,
29879,
3431,
13,
13,
13,
1990,
4321,
29931,
22532,
29901,
13,
1678,
732,
5041,
703,
29894,
9018,
29889,
10599,
29889,
816,
14952,
29889,
2917,
1159,
13,
1678,
822,
1243,
29918,
816,
14952,
29918,
29880,
22532,
29898,
1311,
29892,
2295,
29892,
13128,
3972,
1125,
13,
4706,
12522,
3204,
29918,
816,
14952,
580,
13,
13,
4706,
396,
445,
6166,
2712,
701,
577,
278,
14218,
4982,
338,
21467,
263,
2846,
6923,
515,
1286,
29892,
577,
591,
508,
1423,
393,
372,
6057,
13,
4706,
260,
29920,
353,
679,
29918,
2997,
8028,
580,
13,
4706,
931,
29896,
353,
297,
29918,
29888,
9130,
29898,
23128,
29922,
29967,
14824,
29918,
2287,
18799,
29918,
1660,
29907,
29892,
260,
29920,
29922,
17559,
29897,
13,
4706,
931,
29906,
353,
297,
29918,
29888,
9130,
29898,
23128,
29922,
29967,
14824,
29918,
2287,
18799,
29918,
1660,
29907,
334,
29871,
29906,
29892,
260,
29920,
29922,
17559,
29897,
13,
4706,
2566,
29918,
2271,
353,
376,
22793,
29974,
29886,
952,
1519,
568,
597,
22584,
29879,
29908,
1273,
13128,
3972,
29889,
7122,
703,
9057,
29879,
29889,
22793,
2564,
6370,
2084,
580,
13,
4706,
14218,
353,
23331,
11947,
3991,
29898,
29926,
5171,
29918,
3471,
29922,
29900,
29892,
3984,
8696,
29918,
3874,
346,
29918,
3471,
29922,
29896,
29897,
13,
4706,
1364,
14952,
29918,
2917,
353,
1102,
14952,
3991,
29898,
9803,
29918,
2271,
29922,
9803,
29918,
2271,
29892,
14218,
29918,
9057,
29922,
29881,
8683,
29897,
13,
4706,
2295,
29889,
2457,
29918,
1767,
353,
26494,
18680,
29898,
816,
14952,
29922,
816,
14952,
29918,
2917,
29897,
13,
13,
4706,
1018,
29901,
13,
9651,
1369,
29918,
816,
14952,
580,
13,
9651,
4974,
1364,
14952,
580,
338,
451,
6213,
13,
13,
9651,
396,
6204,
263,
14218,
4982,
322,
1207,
1854,
372,
24138,
13,
9651,
20410,
29918,
29881,
8683,
29918,
9057,
29898,
13,
18884,
4982,
29918,
333,
543,
1688,
29918,
9057,
613,
7135,
29918,
2230,
29922,
2230,
29896,
29892,
3653,
29922,
9057,
29918,
2220,
29892,
9049,
5085,
3790,
29908,
4906,
1115,
376,
9057,
396,
29896,
10758,
931,
29918,
8028,
543,
29995,
29879,
29908,
1273,
260,
29920,
13,
9651,
1723,
13,
9651,
4974,
29918,
29881,
8683,
29918,
9057,
29918,
16553,
703,
1688,
29918,
9057,
613,
8853,
4906,
1115,
376,
9057,
396,
29896,
29908,
1800,
13,
9651,
4480,
2141,
271,
29918,
3242,
29898,
29967,
14824,
29918,
2287,
18799,
29918,
1660,
29907,
29892,
3725,
6007,
29928,
467,
29305,
29898,
2892,
29901,
2672,
29928,
2965,
1299,
1955,
1275,
376,
9057,
396,
29896,
1159,
13,
13,
9651,
396,
3599,
3015,
278,
14218,
4982,
322,
1207,
1854,
11217,
526,
25312,
13,
9651,
20410,
29918,
29881,
8683,
29918,
9057,
29898,
13,
18884,
4982,
29918,
333,
543,
1688,
29918,
9057,
613,
7135,
29918,
2230,
29922,
2230,
29906,
29892,
3653,
29922,
9057,
29918,
2220,
29892,
9049,
5085,
3790,
29908,
4906,
1115,
376,
9057,
396,
29906,
10758,
931,
29918,
8028,
543,
29995,
29879,
29908,
1273,
260,
29920,
13,
9651,
1723,
13,
9651,
4974,
29918,
29881,
8683,
29918,
9057,
29918,
16553,
703,
1688,
29918,
9057,
613,
8853,
4906,
1115,
376,
9057,
396,
29906,
29908,
1800,
13,
9651,
4480,
2141,
271,
29918,
3242,
29898,
29967,
14824,
29918,
2287,
18799,
29918,
1660,
29907,
29892,
3725,
6007,
29928,
467,
29305,
29898,
2892,
29901,
2672,
29928,
2965,
1299,
1955,
1275,
376,
9057,
396,
29906,
1159,
13,
13,
9651,
396,
15154,
278,
14218,
4982,
322,
1207,
1854,
278,
1735,
4893,
2779,
13,
9651,
443,
816,
11272,
29918,
29881,
8683,
29918,
9057,
29898,
9057,
29918,
333,
543,
1688,
29918,
9057,
1159,
13,
9651,
4974,
29918,
1217,
29918,
9057,
29879,
580,
13,
13,
9651,
396,
10811,
3568,
393,
591,
1016,
29915,
29873,
679,
385,
1059,
11077,
263,
5642,
29916,
9696,
4982,
13,
9651,
443,
816,
11272,
29918,
29881,
8683,
29918,
9057,
29898,
9057,
29918,
333,
543,
1688,
29918,
9057,
1159,
13,
13,
9651,
396,
1102,
11272,
385,
16800,
4982,
29892,
1207,
1854,
372,
6057,
7389,
29892,
322,
1207,
1854,
372,
5771,
3448,
746,
2309,
13,
9651,
20410,
29918,
326,
13847,
29918,
9057,
29898,
9057,
29918,
333,
543,
326,
13847,
29918,
9057,
613,
3653,
29922,
9057,
29918,
2220,
29892,
9049,
5085,
3790,
29908,
4906,
1115,
376,
9057,
396,
29941,
29908,
1800,
13,
9651,
4974,
29918,
326,
13847,
29918,
9057,
29918,
16553,
703,
326,
13847,
29918,
9057,
613,
8853,
4906,
1115,
376,
9057,
396,
29941,
29908,
1800,
13,
9651,
4480,
2141,
271,
29918,
3242,
29898,
29967,
14824,
29918,
2287,
18799,
29918,
1660,
29907,
29892,
3725,
6007,
29928,
467,
29305,
29898,
2892,
29901,
2672,
29928,
2965,
1299,
1955,
1275,
376,
9057,
396,
29941,
1159,
13,
9651,
4974,
29918,
1217,
29918,
9057,
29879,
580,
13,
13,
4706,
7146,
29901,
13,
9651,
12522,
3204,
29918,
816,
14952,
580,
13,
9651,
411,
11451,
1688,
29889,
336,
4637,
29898,
12412,
2392,
29892,
1993,
29922,
29878,
29908,
4504,
14952,
338,
451,
3625,
29908,
1125,
13,
18884,
1364,
14952,
580,
13,
2
] |
runoob100/022.py | GenweiWu/PythonDemo | 0 | 1603473 | <filename>runoob100/022.py
# _*_ coding:utf-8 _*_
#两个乒乓球队进行比赛,各出三人。甲队为a,b,c三人,乙队为x,y,z三人。
#已抽签决定比赛名单。有人向队员打听比赛的名单。a说他不和x比,c说他不和x,z比,
#请编程序找出三队赛手的名单。
#假设abc已经站在那儿了,就是xyz的组合了呀
for i in ['x','y','z']:
for j in ['x','y','z']:
for k in ['x','y','z']:
if i!=j and i!=k and j!=k:
if i!='x' and k!='x' and k!='z':
print "a-{} b-{} c-{}".format(i,j,k) | [
1,
529,
9507,
29958,
3389,
29877,
711,
29896,
29900,
29900,
29914,
29900,
29906,
29906,
29889,
2272,
13,
29937,
903,
29930,
29918,
14137,
29901,
9420,
29899,
29947,
903,
29930,
29918,
13,
29937,
31977,
30502,
231,
188,
149,
231,
188,
150,
31539,
236,
155,
162,
31174,
30448,
31419,
235,
184,
158,
30214,
232,
147,
135,
30544,
30457,
30313,
30267,
31843,
236,
155,
162,
30573,
29874,
29892,
29890,
29892,
29883,
30457,
30313,
30214,
231,
188,
156,
236,
155,
162,
30573,
29916,
29892,
29891,
29892,
29920,
30457,
30313,
30267,
13,
29937,
31290,
233,
141,
192,
234,
176,
193,
232,
137,
182,
30495,
31419,
235,
184,
158,
30548,
31166,
30267,
30417,
30313,
31331,
236,
155,
162,
31911,
31656,
232,
147,
175,
31419,
235,
184,
158,
30210,
30548,
31166,
30267,
29874,
31639,
31221,
30413,
30503,
29916,
31419,
30214,
29883,
31639,
31221,
30413,
30503,
29916,
29892,
29920,
31419,
30214,
13,
29937,
31088,
31795,
31101,
31463,
233,
140,
193,
30544,
30457,
236,
155,
162,
235,
184,
158,
30880,
30210,
30548,
31166,
30267,
13,
13,
13,
29937,
232,
132,
138,
30872,
10736,
31290,
31412,
31433,
30505,
31356,
232,
135,
194,
30743,
30214,
31238,
30392,
20230,
30210,
31263,
30733,
30743,
232,
148,
131,
13,
13,
1454,
474,
297,
6024,
29916,
3788,
29891,
3788,
29920,
2033,
29901,
13,
12,
1454,
432,
297,
6024,
29916,
3788,
29891,
3788,
29920,
2033,
29901,
13,
12,
12,
1454,
413,
297,
6024,
29916,
3788,
29891,
3788,
29920,
2033,
29901,
13,
12,
12,
12,
361,
474,
19216,
29926,
322,
474,
19216,
29895,
322,
432,
19216,
29895,
29901,
13,
12,
12,
12,
12,
361,
474,
29991,
2433,
29916,
29915,
322,
413,
29991,
2433,
29916,
29915,
322,
413,
29991,
2433,
29920,
2396,
13,
12,
12,
12,
12,
12,
2158,
376,
29874,
29899,
8875,
289,
29899,
8875,
274,
29899,
8875,
1642,
4830,
29898,
29875,
29892,
29926,
29892,
29895,
29897,
2
] |
src/apps/trainings/migrations/0010_auto_20201012_2028.py | sanderland/katago-server | 27 | 157872 | # Generated by Django 3.0.6 on 2020-10-12 20:28
from django.db import migrations, models
import src.apps.trainings.models.network
import src.contrib.validators
class Migration(migrations.Migration):
dependencies = [
('trainings', '0009_auto_20200921_0314'),
]
operations = [
migrations.AlterField(
model_name='network',
name='model_file',
field=models.FileField(blank=True, help_text='Url to download network model file.', max_length=200, upload_to=src.apps.trainings.models.network.upload_network_to, validators=[src.contrib.validators.FileValidator(content_types=['application/gzip'], max_size=1073741824)], verbose_name='model file url'),
),
migrations.AlterField(
model_name='network',
name='model_zip_file',
field=models.FileField(blank=True, help_text='Url to download zipped network model file with also tensorflow weights.', max_length=200, upload_to=src.apps.trainings.models.network.upload_network_zip_to, validators=[src.contrib.validators.FileValidator(content_types=['application/zip'], max_size=1610612736.0)], verbose_name='model zip file url'),
),
]
| [
1,
396,
3251,
630,
491,
15337,
29871,
29941,
29889,
29900,
29889,
29953,
373,
29871,
29906,
29900,
29906,
29900,
29899,
29896,
29900,
29899,
29896,
29906,
29871,
29906,
29900,
29901,
29906,
29947,
13,
13,
3166,
9557,
29889,
2585,
1053,
9725,
800,
29892,
4733,
13,
5215,
4765,
29889,
13371,
29889,
14968,
886,
29889,
9794,
29889,
11618,
13,
5215,
4765,
29889,
21570,
29889,
3084,
4097,
13,
13,
13,
1990,
341,
16783,
29898,
26983,
800,
29889,
29924,
16783,
1125,
13,
13,
1678,
9962,
353,
518,
13,
4706,
6702,
14968,
886,
742,
525,
29900,
29900,
29900,
29929,
29918,
6921,
29918,
29906,
29900,
29906,
29900,
29900,
29929,
29906,
29896,
29918,
29900,
29941,
29896,
29946,
5477,
13,
1678,
4514,
13,
13,
1678,
6931,
353,
518,
13,
4706,
9725,
800,
29889,
2499,
357,
3073,
29898,
13,
9651,
1904,
29918,
978,
2433,
11618,
742,
13,
9651,
1024,
2433,
4299,
29918,
1445,
742,
13,
9651,
1746,
29922,
9794,
29889,
2283,
3073,
29898,
19465,
29922,
5574,
29892,
1371,
29918,
726,
2433,
5983,
304,
5142,
3564,
1904,
934,
29889,
742,
4236,
29918,
2848,
29922,
29906,
29900,
29900,
29892,
6441,
29918,
517,
29922,
4351,
29889,
13371,
29889,
14968,
886,
29889,
9794,
29889,
11618,
29889,
9009,
29918,
11618,
29918,
517,
29892,
2854,
4097,
11759,
4351,
29889,
21570,
29889,
3084,
4097,
29889,
2283,
24204,
29898,
3051,
29918,
8768,
29922,
1839,
6214,
29914,
29887,
7554,
7464,
4236,
29918,
2311,
29922,
29896,
29900,
29955,
29941,
29955,
29946,
29896,
29947,
29906,
29946,
29897,
1402,
26952,
29918,
978,
2433,
4299,
934,
3142,
5477,
13,
4706,
10353,
13,
4706,
9725,
800,
29889,
2499,
357,
3073,
29898,
13,
9651,
1904,
29918,
978,
2433,
11618,
742,
13,
9651,
1024,
2433,
4299,
29918,
7554,
29918,
1445,
742,
13,
9651,
1746,
29922,
9794,
29889,
2283,
3073,
29898,
19465,
29922,
5574,
29892,
1371,
29918,
726,
2433,
5983,
304,
5142,
503,
16242,
3564,
1904,
934,
411,
884,
26110,
18177,
29889,
742,
4236,
29918,
2848,
29922,
29906,
29900,
29900,
29892,
6441,
29918,
517,
29922,
4351,
29889,
13371,
29889,
14968,
886,
29889,
9794,
29889,
11618,
29889,
9009,
29918,
11618,
29918,
7554,
29918,
517,
29892,
2854,
4097,
11759,
4351,
29889,
21570,
29889,
3084,
4097,
29889,
2283,
24204,
29898,
3051,
29918,
8768,
29922,
1839,
6214,
29914,
7554,
7464,
4236,
29918,
2311,
29922,
29896,
29953,
29896,
29900,
29953,
29896,
29906,
29955,
29941,
29953,
29889,
29900,
29897,
1402,
26952,
29918,
978,
2433,
4299,
14319,
934,
3142,
5477,
13,
4706,
10353,
13,
1678,
4514,
13,
2
] |
tensorlayer/googlenet.py | yellowei/AI | 0 | 91657 | <gh_stars>0
""" GoogLeNet.
Applying 'GoogLeNet' to Oxford's 17 Category Flower Dataset classification task.
References:
- Szegedy, Christian, et al.
Going deeper with convolutions.
- 17 Category Flower Dataset. <NAME> and <NAME>.
Links:
- [GoogLeNet Paper](http://www.cv-foundation.org/openaccess/content_cvpr_2015/papers/Szegedy_Going_Deeper_With_2015_CVPR_paper.pdf)
- [Flower Dataset (17)](http://www.robots.ox.ac.uk/~vgg/data/flowers/17/)
"""
from __future__ import division, print_function, absolute_import
import tensorflow as tf
import tensorlayer as tl
import os
from skimage import io, transform
import numpy as np
from log import *
def rgb2gray(im):
#rgb图转灰度图
if im.ndim == 2:
return im
return np.uint8(np.dot(im[..., :3], [0.299, 0.587, 0.114]))
def ListFiles(dir,extension):
file_list = []
for path, subdirs, files in os.walk(dir):
for name in files:
if name.endswith(extension):
#将jpg图片文件全部全部存入file_list列表
file_list.extend([os.path.join(path, name)])
return file_list
def LoadImageData(folder, extension, size):
#将folder中后缀名为extension的图片文件转成大小为size的正方形矩阵
Log().info("getData, folder:" + folder)
file_list = []
for path, subdirs, files in os.walk(folder):
for name in files:
if name.endswith(extension):
#将jpg图片文件全部全部存入file_list列表
file_list.extend([os.path.join(path, name)])
#len(a):列表a长度
num = len(file_list)
data = np.zeros([num, size, size,1])
for i in range(0,num):
im = io.imread(file_list[i])
size0 = np.max(im.shape)
scale = (size-1)/size0
#print(i," , ",file_list[i],", ndim: " + str(im.ndim))
x = rgb2gray(im)
im = transform.rescale(x, scale)
data[i, 0:im.shape[0], 0:im.shape[1],0] = im[:, :]
if i%20 == 0:
Log().info("getData, file index:" + str(i) + ",total:" + str(num))
return data
def PicClassModel(x,inputSize):
#图像分类的神经网络模型
# Define the neural network structure
with tf.variable_scope("googleNet_1"):
network = tl.layers.InputLayer(x, name='input_layer')
conv1_7_7 = tl.layers.Conv2dLayer(network,
act = tf.nn.relu,
shape = [7, 7, 1, 64],
strides = [1,2,2,1],
padding='SAME',
name='conv1_7_7_s2')
pool1_3_3 = tl.layers.PoolLayer(conv1_7_7,
ksize=[1, 3, 3, 1],
strides=[1, 2, 2, 1],
padding='SAME',
pool=tf.nn.max_pool,
name='pool1_3_3_m')
pool1_3_3 = tl.layers.LocalResponseNormLayer(pool1_3_3,depth_radius=5, bias=1.0,alpha=0.0001, beta=0.75,name='pool1_3_3')
conv2_3_3_reduce = tl.layers.Conv2dLayer(pool1_3_3,
act = tf.nn.relu,
shape = [1, 1, 64, 1],
strides = [1,1,1,1],
padding='SAME',
name='conv2_3_3_reduce')
conv2_3_3 = tl.layers.Conv2dLayer(conv2_3_3_reduce,
act = tf.nn.relu,
shape = [3, 3, 1, 192],
strides = [1,1,1,1],
padding='SAME',
name='conv2_3_3')
norm2_3_3 = tl.layers.LocalResponseNormLayer(conv2_3_3,depth_radius=5, bias=1.0,alpha=0.0001, beta=0.75,name='norm2_3_3')
pool2_3_3 = tl.layers.PoolLayer(conv2_3_3,
ksize=[1, 3, 3, 1],
strides=[1, 2, 2, 1],
padding='SAME',
pool=tf.nn.max_pool,
name='pool2_3_3_s2')
inception_3a_1_1 = tl.layers.Conv2dLayer(pool2_3_3,
act = tf.nn.relu,
shape = [1, 1, 192, 64],
strides = [1,1,1,1],
padding='SAME',
name='inception_3a_1_1')
inception_3a_3_3_reduce = tl.layers.Conv2dLayer(pool2_3_3,
act = tf.nn.relu,
shape = [1, 1, 192, 96],
strides = [1,1,1,1],
padding='SAME',
name='inception_3a_3_3_reduce')
inception_3a_3_3 = tl.layers.Conv2dLayer(inception_3a_3_3_reduce,
act = tf.nn.relu,
shape = [3,3,96,128],
strides = [1,1,1,1],
padding='SAME',
name='inception_3a_3_3')
inception_3a_5_5_reduce = tl.layers.Conv2dLayer(pool2_3_3,
act = tf.nn.relu,
shape = [16,16,192,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_3a_5_5_reduce')
inception_3a_5_5 = tl.layers.Conv2dLayer(inception_3a_5_5_reduce,
act = tf.nn.relu,
shape = [32,32,1,5],
strides = [1,1,1,1],
padding='SAME',
name='inception_3a_5_5')
inception_3a_pool = tl.layers.PoolLayer(pool2_3_3,
ksize=[1, 3, 3, 1],
strides=[1, 1, 1, 1],
padding='SAME',
pool=tf.nn.max_pool,
name='inception_3a_pool')
inception_3a_pool_1_1 = tl.layers.Conv2dLayer(inception_3a_pool,
act = tf.nn.relu,
shape = [32,32,192,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_3a_pool_1_1')
# merge the inception_3a__
inception_3a_output = tl.layers.ConcatLayer([inception_3a_1_1, inception_3a_3_3, inception_3a_5_5, inception_3a_pool_1_1],concat_dim=3)
inception_3b_1_1 = tl.layers.Conv2dLayer(inception_3a_output,
act = tf.nn.relu,
shape = [128,128,198,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_3b_1_1')
inception_3b_3_3_reduce = tl.layers.Conv2dLayer(inception_3a_output,
act = tf.nn.relu,
shape = [128,128,198,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_3b_3_3_reduce')
inception_3b_3_3 = tl.layers.Conv2dLayer(inception_3b_3_3_reduce,
act = tf.nn.relu,
shape = [192,192,1,3],
strides = [1,1,1,1],
padding='SAME',
name='inception_3b_3_3')
inception_3b_5_5_reduce = tl.layers.Conv2dLayer(inception_3b_3_3_reduce,
act = tf.nn.relu,
shape = [32,32,1,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_3b_5_5_reduce')
inception_3b_5_5 = tl.layers.Conv2dLayer(inception_3b_3_3_reduce,
act = tf.nn.relu,
shape = [96,96,1,5],
strides = [1,1,1,1],
padding='SAME',
name='inception_3b_5_5')
inception_3b_pool = tl.layers.PoolLayer(inception_3a_output,
ksize=[1, 3, 3, 1],
strides=[1, 1, 1, 1],
padding='SAME',
pool=tf.nn.max_pool,
name='inception_3b_pool')
inception_3b_pool_1_1 = tl.layers.Conv2dLayer(inception_3b_pool,
act = tf.nn.relu,
shape = [64,64,198,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_3b_pool_1_1')
#merge the inception_3b_*
inception_3b_output = tl.layers.ConcatLayer([inception_3b_1_1, inception_3b_3_3, inception_3b_5_5, inception_3b_pool_1_1],concat_dim=3,name='inception_3b_output')
pool3_3_3 = tl.layers.PoolLayer(inception_3b_output,
ksize=[1, 3, 3, 1],
strides=[1, 2, 2, 1],
padding='SAME',
pool=tf.nn.max_pool,
name='pool3_3_3')
inception_4a_1_1 = tl.layers.Conv2dLayer(pool3_3_3,
act = tf.nn.relu,
shape = [192,192,10,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_4a_1_1')
inception_4a_3_3_reduce = tl.layers.Conv2dLayer(pool3_3_3,
act = tf.nn.relu,
shape = [96,96,10,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_4a_3_3_reduce')
inception_4a_3_3 = tl.layers.Conv2dLayer(inception_4a_3_3_reduce,
act = tf.nn.relu,
shape = [208,208,1,3],
strides = [1,1,1,1],
padding='SAME',
name='inception_4a_3_3')
inception_4a_5_5_reduce = tl.layers.Conv2dLayer(pool3_3_3,
act = tf.nn.relu,
shape = [16,16,10,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_4a_5_5_reduce')
inception_4a_5_5 = tl.layers.Conv2dLayer(inception_4a_5_5_reduce,
act = tf.nn.relu,
shape = [48,48,1,5],
strides = [1,1,1,1],
padding='SAME',
name='inception_4a_5_5')
inception_4a_pool = tl.layers.PoolLayer(pool3_3_3,
ksize=[1, 3, 3, 1],
strides=[1, 1, 1, 1],
padding='SAME',
pool=tf.nn.max_pool,
name='inception_4a_pool')
inception_4a_pool_1_1 = tl.layers.Conv2dLayer(inception_4a_pool,
act = tf.nn.relu,
shape = [64,64,10,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_4a_pool_1_1')
inception_4a_output = tl.layers.ConcatLayer([inception_4a_1_1, inception_4a_3_3, inception_4a_5_5, inception_4a_pool_1_1],concat_dim=3,name='inception_4a_output')
inception_4b_1_1 = tl.layers.Conv2dLayer(inception_4a_output,
act = tf.nn.relu,
shape = [160,160,10,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_4b_1_1')
inception_4b_3_3_reduce = tl.layers.Conv2dLayer(inception_4a_output,
act = tf.nn.relu,
shape = [112,112,10,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_4b_3_3_reduce')
inception_4b_3_3 = tl.layers.Conv2dLayer(inception_4b_3_3_reduce,
act = tf.nn.relu,
shape = [224,224,1,3],
strides = [1,1,1,1],
padding='SAME',
name='inception_4b_3_3')
inception_4b_5_5_reduce = tl.layers.Conv2dLayer(inception_4a_output,
act = tf.nn.relu,
shape = [24,24,10,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_4b_5_5_reduce')
inception_4b_5_5 = tl.layers.Conv2dLayer(inception_4b_5_5_reduce,
act = tf.nn.relu,
shape = [64,64,1,5],
strides = [1,1,1,1],
padding='SAME',
name='inception_4b_5_5')
inception_4b_pool = tl.layers.PoolLayer(inception_4a_output,
ksize=[1, 3, 3, 1],
strides=[1, 1, 1, 1],
padding='SAME',
pool=tf.nn.max_pool,
name='inception_4b_pool')
inception_4b_pool_1_1 = tl.layers.Conv2dLayer(inception_4b_pool,
act = tf.nn.relu,
shape = [64,64,10,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_4b_pool_1_1')
inception_4b_output = tl.layers.ConcatLayer([inception_4b_1_1, inception_4b_3_3, inception_4b_5_5, inception_4b_pool_1_1],concat_dim=3,name='inception_4b_output')
inception_4c_1_1 = tl.layers.Conv2dLayer(inception_4b_output,
act = tf.nn.relu,
shape = [128,128,10,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_4c_1_1')
inception_4c_3_3_reduce = tl.layers.Conv2dLayer(inception_4b_output,
act = tf.nn.relu,
shape = [128,128,10,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_4c_3_3_reduce')
inception_4c_3_3 = tl.layers.Conv2dLayer(inception_4c_3_3_reduce,
act = tf.nn.relu,
shape = [256,256,1,3],
strides = [1,1,1,1],
padding='SAME',
name='inception_4c_3_3')
inception_4c_5_5_reduce = tl.layers.Conv2dLayer(inception_4b_output,
act = tf.nn.relu,
shape = [24,24,10,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_4c_5_5_reduce')
inception_4c_5_5 = tl.layers.Conv2dLayer(inception_4c_5_5_reduce,
act = tf.nn.relu,
shape = [64,64,1,5],
strides = [1,1,1,1],
padding='SAME',
name='inception_4c_5_5')
inception_4c_pool = tl.layers.PoolLayer(inception_4b_output,
ksize=[1, 3, 3, 1],
strides=[1, 1, 1, 1],
padding='SAME',
pool=tf.nn.max_pool,
name='inception_4c_pool')
inception_4c_pool_1_1 = tl.layers.Conv2dLayer(inception_4c_pool,
act = tf.nn.relu,
shape = [64,64,10,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_4c_pool_1_1')
inception_4c_output = tl.layers.ConcatLayer([inception_4c_1_1, inception_4c_3_3, inception_4c_5_5, inception_4c_pool_1_1],concat_dim=3,name='inception_4c_output')
inception_4d_1_1 = tl.layers.Conv2dLayer(inception_4c_output,
act = tf.nn.relu,
shape = [112,112,10,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_4d_1_1')
inception_4d_3_3_reduce = tl.layers.Conv2dLayer(inception_4c_output,
act = tf.nn.relu,
shape = [144,144,10,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_4d_3_3_reduce')
inception_4d_3_3 = tl.layers.Conv2dLayer(inception_4d_3_3_reduce,
act = tf.nn.relu,
shape = [288,288,1,3],
strides = [1,1,1,1],
padding='SAME',
name='inception_4d_3_3')
inception_4d_5_5_reduce = tl.layers.Conv2dLayer(inception_4c_output,
act = tf.nn.relu,
shape = [32,32,10,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_4d_5_5_reduce')
inception_4d_5_5 = tl.layers.Conv2dLayer(inception_4d_5_5_reduce,
act = tf.nn.relu,
shape = [64,64,1,5],
strides = [1,1,1,1],
padding='SAME',
name='inception_4d_5_5')
inception_4d_pool = tl.layers.PoolLayer(inception_4c_output,
ksize=[1, 3, 3, 1],
strides=[1, 1, 1, 1],
padding='SAME',
pool=tf.nn.max_pool,
name='inception_4d_pool')
inception_4d_pool_1_1 = tl.layers.Conv2dLayer(inception_4d_pool,
act = tf.nn.relu,
shape = [64,64,10,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_4d_pool_1_1')
inception_4d_output = tl.layers.ConcatLayer([inception_4d_1_1, inception_4d_3_3, inception_4d_5_5, inception_4d_pool_1_1],concat_dim=3,name='inception_4d_output')
inception_4e_1_1 = tl.layers.Conv2dLayer(inception_4d_output,
act = tf.nn.relu,
shape = [256,256,10,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_4e_1_1')
inception_4e_3_3_reduce = tl.layers.Conv2dLayer(inception_4d_output,
act = tf.nn.relu,
shape = [160,160,10,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_4e_3_3_reduce')
inception_4e_3_3 = tl.layers.Conv2dLayer(inception_4e_3_3_reduce,
act = tf.nn.relu,
shape = [320,320,1,3],
strides = [1,1,1,1],
padding='SAME',
name='inception_4e_3_3')
inception_4e_5_5_reduce = tl.layers.Conv2dLayer(inception_4d_output,
act = tf.nn.relu,
shape = [32,32,10,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_4e_5_5_reduce')
inception_4e_5_5 = tl.layers.Conv2dLayer(inception_4e_5_5_reduce,
act = tf.nn.relu,
shape = [128,128,1,5],
strides = [1,1,1,1],
padding='SAME',
name='inception_4e_5_5')
inception_4e_pool = tl.layers.PoolLayer(inception_4d_output,
ksize=[1, 3, 3, 1],
strides=[1, 1, 1, 1],
padding='SAME',
pool=tf.nn.max_pool,
name='inception_4e_pool')
inception_4e_pool_1_1 = tl.layers.Conv2dLayer(inception_4e_pool,
act = tf.nn.relu,
shape = [128,128,10,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_4e_pool_1_1')
inception_4e_output = tl.layers.ConcatLayer([inception_4e_1_1, inception_4e_3_3, inception_4e_5_5, inception_4e_pool_1_1],concat_dim=3,name='inception_4e_output')
pool4_3_3 = tl.layers.PoolLayer(inception_4e_output,
ksize=[1, 3, 3, 1],
strides=[1, 2, 2, 1],
padding='SAME',
pool=tf.nn.max_pool,
name='pool4_3_3')
inception_5a_1_1 = tl.layers.Conv2dLayer(pool4_3_3,
act = tf.nn.relu,
shape = [256,256,10,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_5a_1_1')
inception_5a_3_3_reduce = tl.layers.Conv2dLayer(pool4_3_3,
act = tf.nn.relu,
shape = [160,160,10,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_5a_3_3_reduce')
inception_5a_3_3 = tl.layers.Conv2dLayer(inception_5a_3_3_reduce,
act = tf.nn.relu,
shape = [320,320,1,3],
strides = [1,1,1,1],
padding='SAME',
name='inception_5a_3_3')
inception_5a_5_5_reduce = tl.layers.Conv2dLayer(pool4_3_3,
act = tf.nn.relu,
shape = [32,32,10,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_5a_5_5_reduce')
inception_5a_5_5 = tl.layers.Conv2dLayer(inception_5a_5_5_reduce,
act = tf.nn.relu,
shape = [128,128,1,5],
strides = [1,1,1,1],
padding='SAME',
name='inception_5a_5_5')
inception_5a_pool = tl.layers.PoolLayer(pool4_3_3,
ksize=[1, 3, 3, 1],
strides=[1, 1, 1, 1],
padding='SAME',
pool=tf.nn.max_pool,
name='inception_5a_pool')
inception_5a_pool_1_1 = tl.layers.Conv2dLayer(inception_5a_pool,
act = tf.nn.relu,
shape = [128,128,10,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_5a_pool_1_1')
inception_5a_output = tl.layers.ConcatLayer([inception_5a_1_1, inception_5a_3_3, inception_5a_5_5, inception_5a_pool_1_1],concat_dim=3,name='inception_5a_output')
inception_5b_1_1 = tl.layers.Conv2dLayer(inception_5a_output,
act = tf.nn.relu,
shape = [384,384,10,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_5b_1_1')
inception_5b_3_3_reduce = tl.layers.Conv2dLayer(inception_5a_output,
act = tf.nn.relu,
shape = [192,192,10,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_5b_3_3_reduce')
inception_5b_3_3 = tl.layers.Conv2dLayer(inception_5b_3_3_reduce,
act = tf.nn.relu,
shape = [384,384,1,3],
strides = [1,1,1,1],
padding='SAME',
name='inception_5b_3_3')
inception_5b_5_5_reduce = tl.layers.Conv2dLayer(inception_5a_output,
act = tf.nn.relu,
shape = [48,48,10,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_5b_5_5_reduce')
inception_5b_5_5 = tl.layers.Conv2dLayer(inception_5b_5_5_reduce,
act = tf.nn.relu,
shape = [128,128,1,5],
strides = [1,1,1,1],
padding='SAME',
name='inception_5b_5_5')
inception_5b_pool = tl.layers.PoolLayer(inception_5a_output,
ksize=[1, 3, 3, 1],
strides=[1, 1, 1, 1],
padding='SAME',
pool=tf.nn.max_pool,
name='inception_5b_pool')
inception_5b_pool_1_1 = tl.layers.Conv2dLayer(inception_5b_pool,
act = tf.nn.relu,
shape = [128,128,10,1],
strides = [1,1,1,1],
padding='SAME',
name='inception_5b_pool_1_1')
inception_5b_output = tl.layers.ConcatLayer([inception_5b_1_1, inception_5b_3_3, inception_5b_5_5, inception_5b_pool_1_1],concat_dim=3,name='inception_5b_output')
pool5_7_7 = tl.layers.PoolLayer(inception_5b_output,
ksize=[1, 7, 7, 1],
strides=[1, 1, 1, 1],
padding='SAME',
pool=tf.nn.avg_pool,
name='pool5_7_7')
#防止CNN过拟合
#当迭代次数增多的时候,可能出现网络对训练集拟合的很好(在训练集上loss很小),但是对验证集的拟合程度很差的情况
gnet = tl.layers.DropoutLayer(pool5_7_7, keep =0.4,name='dropout5_7_7')
print(gnet.outputs._shape)
#全连接 负责对网络最终输出的特征进行分类预测,得出分类结果
gnet = tl.layers.FlattenLayer(gnet, name='flatten_layer')
print(gnet.outputs._shape)
gnet = tl.layers.DenseLayer(gnet,n_units=4,act = tf.identity,name='output_layer')
print(gnet.outputs._shape)
return gnet | [
1,
529,
12443,
29918,
303,
1503,
29958,
29900,
13,
15945,
29908,
2921,
468,
3226,
6779,
29889,
13,
2052,
5890,
525,
8120,
468,
3226,
6779,
29915,
304,
11045,
29915,
29879,
29871,
29896,
29955,
17943,
383,
13609,
13373,
24541,
12965,
3414,
29889,
13,
1123,
10662,
29901,
13,
1678,
448,
5207,
387,
7584,
29892,
6111,
29892,
634,
394,
29889,
13,
1678,
2921,
292,
25871,
411,
26851,
29879,
29889,
13,
1678,
448,
29871,
29896,
29955,
17943,
383,
13609,
13373,
24541,
29889,
529,
5813,
29958,
322,
529,
5813,
15513,
13,
6595,
29879,
29901,
13,
1678,
448,
518,
8120,
468,
3226,
6779,
349,
7202,
850,
1124,
597,
1636,
29889,
11023,
29899,
11940,
362,
29889,
990,
29914,
3150,
5943,
29914,
3051,
29918,
11023,
558,
29918,
29906,
29900,
29896,
29945,
29914,
29886,
21321,
29914,
29903,
28530,
7584,
29918,
8120,
292,
29918,
2772,
11356,
29918,
3047,
29918,
29906,
29900,
29896,
29945,
29918,
15633,
10593,
29918,
19773,
29889,
5140,
29897,
13,
1678,
448,
518,
29943,
13609,
13373,
24541,
313,
29896,
29955,
23192,
1124,
597,
1636,
29889,
13716,
1862,
29889,
2251,
29889,
562,
29889,
2679,
24629,
29894,
1505,
29914,
1272,
29914,
1731,
414,
29914,
29896,
29955,
4551,
13,
15945,
29908,
13,
13,
3166,
4770,
29888,
9130,
1649,
1053,
8542,
29892,
1596,
29918,
2220,
29892,
8380,
29918,
5215,
13,
13,
5215,
26110,
408,
15886,
13,
5215,
12489,
13148,
408,
260,
29880,
13,
5215,
2897,
13,
3166,
2071,
3027,
1053,
12013,
29892,
4327,
13,
5215,
12655,
408,
7442,
13,
3166,
1480,
1053,
334,
13,
13,
1753,
15552,
29890,
29906,
21012,
29898,
326,
1125,
13,
29937,
23973,
30861,
31415,
234,
132,
179,
30898,
30861,
13,
1678,
565,
527,
29889,
299,
326,
1275,
29871,
29906,
29901,
13,
4706,
736,
527,
13,
1678,
736,
7442,
29889,
13470,
29947,
29898,
9302,
29889,
6333,
29898,
326,
29961,
16361,
584,
29941,
1402,
518,
29900,
29889,
29906,
29929,
29929,
29892,
29871,
29900,
29889,
29945,
29947,
29955,
29892,
29871,
29900,
29889,
29896,
29896,
29946,
12622,
13,
13,
1753,
2391,
10547,
29898,
3972,
29892,
17588,
1125,
13,
1678,
934,
29918,
1761,
353,
5159,
13,
1678,
363,
2224,
29892,
1014,
3972,
29879,
29892,
2066,
297,
2897,
29889,
20919,
29898,
3972,
1125,
13,
4706,
363,
1024,
297,
2066,
29901,
13,
9651,
565,
1024,
29889,
1975,
2541,
29898,
17588,
1125,
13,
18884,
396,
30998,
6173,
30861,
31122,
30333,
30631,
30753,
30636,
30753,
30636,
30946,
30752,
1445,
29918,
1761,
31025,
30746,
13,
18884,
934,
29918,
1761,
29889,
21843,
4197,
359,
29889,
2084,
29889,
7122,
29898,
2084,
29892,
1024,
29897,
2314,
13,
1678,
736,
934,
29918,
1761,
13,
13,
1753,
16012,
2940,
1469,
29898,
12083,
29892,
6081,
29892,
2159,
1125,
13,
29937,
30998,
12083,
30275,
30822,
234,
191,
131,
30548,
30573,
17588,
30210,
30861,
31122,
30333,
30631,
31415,
30494,
30257,
30446,
30573,
2311,
30210,
30724,
30525,
31305,
234,
162,
172,
236,
155,
184,
13,
1678,
4522,
2141,
3888,
703,
657,
1469,
29892,
4138,
6160,
718,
4138,
29897,
13,
1678,
934,
29918,
1761,
353,
5159,
13,
1678,
363,
2224,
29892,
1014,
3972,
29879,
29892,
2066,
297,
2897,
29889,
20919,
29898,
12083,
1125,
13,
4706,
363,
1024,
297,
2066,
29901,
13,
9651,
565,
1024,
29889,
1975,
2541,
29898,
17588,
1125,
13,
18884,
396,
30998,
6173,
30861,
31122,
30333,
30631,
30753,
30636,
30753,
30636,
30946,
30752,
1445,
29918,
1761,
31025,
30746,
13,
18884,
934,
29918,
1761,
29889,
21843,
4197,
359,
29889,
2084,
29889,
7122,
29898,
2084,
29892,
1024,
29897,
2314,
13,
1678,
396,
2435,
29898,
29874,
1125,
31025,
30746,
29874,
31143,
30898,
13,
1678,
954,
353,
7431,
29898,
1445,
29918,
1761,
29897,
13,
1678,
848,
353,
7442,
29889,
3298,
359,
4197,
1949,
29892,
2159,
29892,
2159,
29892,
29896,
2314,
13,
1678,
363,
474,
297,
3464,
29898,
29900,
29892,
1949,
1125,
13,
4706,
527,
353,
12013,
29889,
326,
949,
29898,
1445,
29918,
1761,
29961,
29875,
2314,
13,
4706,
2159,
29900,
353,
7442,
29889,
3317,
29898,
326,
29889,
12181,
29897,
13,
4706,
6287,
353,
313,
2311,
29899,
29896,
6802,
2311,
29900,
13,
4706,
396,
2158,
29898,
29875,
1699,
1919,
9162,
1445,
29918,
1761,
29961,
29875,
1402,
613,
29871,
299,
326,
29901,
376,
718,
851,
29898,
326,
29889,
299,
326,
876,
13,
4706,
921,
353,
15552,
29890,
29906,
21012,
29898,
326,
29897,
13,
4706,
527,
353,
4327,
29889,
690,
29883,
744,
29898,
29916,
29892,
6287,
29897,
13,
4706,
848,
29961,
29875,
29892,
29871,
29900,
29901,
326,
29889,
12181,
29961,
29900,
1402,
29871,
29900,
29901,
326,
29889,
12181,
29961,
29896,
1402,
29900,
29962,
353,
527,
7503,
29892,
584,
29962,
13,
4706,
565,
474,
29995,
29906,
29900,
1275,
29871,
29900,
29901,
13,
9651,
4522,
2141,
3888,
703,
657,
1469,
29892,
934,
2380,
6160,
718,
29871,
851,
29898,
29875,
29897,
718,
9162,
7827,
6160,
718,
851,
29898,
1949,
876,
13,
1678,
736,
848,
13,
13,
1753,
14612,
2385,
3195,
29898,
29916,
29892,
2080,
3505,
1125,
13,
29937,
30861,
31551,
30748,
30832,
30210,
30648,
31412,
31222,
234,
190,
159,
31382,
30883,
13,
1678,
396,
22402,
278,
19677,
3564,
3829,
13,
1678,
411,
15886,
29889,
11918,
29918,
6078,
703,
3608,
6779,
29918,
29896,
29908,
1125,
13,
4706,
3564,
353,
260,
29880,
29889,
29277,
29889,
4290,
14420,
29898,
29916,
29892,
1024,
2433,
2080,
29918,
13148,
1495,
13,
4706,
7602,
29896,
29918,
29955,
29918,
29955,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
11618,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29955,
29892,
29871,
29955,
29892,
29871,
29896,
29892,
29871,
29953,
29946,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29906,
29892,
29906,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
20580,
29896,
29918,
29955,
29918,
29955,
29918,
29879,
29906,
1495,
13,
4706,
11565,
29896,
29918,
29941,
29918,
29941,
353,
260,
29880,
29889,
29277,
29889,
11426,
14420,
29898,
20580,
29896,
29918,
29955,
29918,
29955,
29892,
13,
462,
462,
4706,
413,
2311,
11759,
29896,
29892,
29871,
29941,
29892,
29871,
29941,
29892,
29871,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
11759,
29896,
29892,
29871,
29906,
29892,
29871,
29906,
29892,
29871,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
11565,
29922,
13264,
29889,
15755,
29889,
3317,
29918,
10109,
29892,
13,
462,
462,
4706,
1024,
2433,
10109,
29896,
29918,
29941,
29918,
29941,
29918,
29885,
1495,
13,
4706,
11565,
29896,
29918,
29941,
29918,
29941,
353,
260,
29880,
29889,
29277,
29889,
7717,
5103,
29940,
555,
14420,
29898,
10109,
29896,
29918,
29941,
29918,
29941,
29892,
19488,
29918,
13471,
29922,
29945,
29892,
24003,
29922,
29896,
29889,
29900,
29892,
2312,
29922,
29900,
29889,
29900,
29900,
29900,
29896,
29892,
21762,
29922,
29900,
29889,
29955,
29945,
29892,
978,
2433,
10109,
29896,
29918,
29941,
29918,
29941,
1495,
13,
4706,
7602,
29906,
29918,
29941,
29918,
29941,
29918,
17469,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
10109,
29896,
29918,
29941,
29918,
29941,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29896,
29892,
29871,
29896,
29892,
29871,
29953,
29946,
29892,
29871,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
20580,
29906,
29918,
29941,
29918,
29941,
29918,
17469,
1495,
13,
13,
4706,
7602,
29906,
29918,
29941,
29918,
29941,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
20580,
29906,
29918,
29941,
29918,
29941,
29918,
17469,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29941,
29892,
29871,
29941,
29892,
29871,
29896,
29892,
29871,
29896,
29929,
29906,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
20580,
29906,
29918,
29941,
29918,
29941,
1495,
13,
4706,
6056,
29906,
29918,
29941,
29918,
29941,
353,
260,
29880,
29889,
29277,
29889,
7717,
5103,
29940,
555,
14420,
29898,
20580,
29906,
29918,
29941,
29918,
29941,
29892,
19488,
29918,
13471,
29922,
29945,
29892,
24003,
29922,
29896,
29889,
29900,
29892,
2312,
29922,
29900,
29889,
29900,
29900,
29900,
29896,
29892,
21762,
29922,
29900,
29889,
29955,
29945,
29892,
978,
2433,
12324,
29906,
29918,
29941,
29918,
29941,
1495,
13,
4706,
11565,
29906,
29918,
29941,
29918,
29941,
353,
260,
29880,
29889,
29277,
29889,
11426,
14420,
29898,
20580,
29906,
29918,
29941,
29918,
29941,
29892,
13,
462,
462,
4706,
413,
2311,
11759,
29896,
29892,
29871,
29941,
29892,
29871,
29941,
29892,
29871,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
11759,
29896,
29892,
29871,
29906,
29892,
29871,
29906,
29892,
29871,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
11565,
29922,
13264,
29889,
15755,
29889,
3317,
29918,
10109,
29892,
13,
462,
462,
4706,
1024,
2433,
10109,
29906,
29918,
29941,
29918,
29941,
29918,
29879,
29906,
1495,
13,
4706,
297,
1441,
29918,
29941,
29874,
29918,
29896,
29918,
29896,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
10109,
29906,
29918,
29941,
29918,
29941,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
29929,
29906,
29892,
29871,
29953,
29946,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29941,
29874,
29918,
29896,
29918,
29896,
1495,
13,
4706,
297,
1441,
29918,
29941,
29874,
29918,
29941,
29918,
29941,
29918,
17469,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
10109,
29906,
29918,
29941,
29918,
29941,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
29929,
29906,
29892,
29871,
29929,
29953,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29941,
29874,
29918,
29941,
29918,
29941,
29918,
17469,
1495,
13,
4706,
297,
1441,
29918,
29941,
29874,
29918,
29941,
29918,
29941,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29941,
29874,
29918,
29941,
29918,
29941,
29918,
17469,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29941,
29892,
29941,
29892,
29929,
29953,
29892,
29896,
29906,
29947,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29941,
29874,
29918,
29941,
29918,
29941,
1495,
13,
4706,
297,
1441,
29918,
29941,
29874,
29918,
29945,
29918,
29945,
29918,
17469,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
10109,
29906,
29918,
29941,
29918,
29941,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29896,
29953,
29892,
29896,
29953,
29892,
29896,
29929,
29906,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29941,
29874,
29918,
29945,
29918,
29945,
29918,
17469,
1495,
13,
4706,
297,
1441,
29918,
29941,
29874,
29918,
29945,
29918,
29945,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29941,
29874,
29918,
29945,
29918,
29945,
29918,
17469,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29941,
29906,
29892,
29941,
29906,
29892,
29896,
29892,
29945,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29941,
29874,
29918,
29945,
29918,
29945,
1495,
13,
4706,
297,
1441,
29918,
29941,
29874,
29918,
10109,
353,
260,
29880,
29889,
29277,
29889,
11426,
14420,
29898,
10109,
29906,
29918,
29941,
29918,
29941,
29892,
13,
462,
462,
4706,
413,
2311,
11759,
29896,
29892,
29871,
29941,
29892,
29871,
29941,
29892,
29871,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
11759,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
11565,
29922,
13264,
29889,
15755,
29889,
3317,
29918,
10109,
29892,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29941,
29874,
29918,
10109,
1495,
13,
4706,
297,
1441,
29918,
29941,
29874,
29918,
10109,
29918,
29896,
29918,
29896,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29941,
29874,
29918,
10109,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29941,
29906,
29892,
29941,
29906,
29892,
29896,
29929,
29906,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29941,
29874,
29918,
10109,
29918,
29896,
29918,
29896,
1495,
13,
4706,
396,
10366,
278,
297,
1441,
29918,
29941,
29874,
1649,
13,
4706,
297,
1441,
29918,
29941,
29874,
29918,
4905,
353,
260,
29880,
29889,
29277,
29889,
1168,
4117,
14420,
4197,
1239,
683,
29918,
29941,
29874,
29918,
29896,
29918,
29896,
29892,
297,
1441,
29918,
29941,
29874,
29918,
29941,
29918,
29941,
29892,
297,
1441,
29918,
29941,
29874,
29918,
29945,
29918,
29945,
29892,
297,
1441,
29918,
29941,
29874,
29918,
10109,
29918,
29896,
29918,
29896,
1402,
17685,
29918,
6229,
29922,
29941,
29897,
13,
4706,
297,
1441,
29918,
29941,
29890,
29918,
29896,
29918,
29896,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29941,
29874,
29918,
4905,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29896,
29906,
29947,
29892,
29896,
29906,
29947,
29892,
29896,
29929,
29947,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29941,
29890,
29918,
29896,
29918,
29896,
1495,
13,
4706,
297,
1441,
29918,
29941,
29890,
29918,
29941,
29918,
29941,
29918,
17469,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29941,
29874,
29918,
4905,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29896,
29906,
29947,
29892,
29896,
29906,
29947,
29892,
29896,
29929,
29947,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29941,
29890,
29918,
29941,
29918,
29941,
29918,
17469,
1495,
13,
4706,
297,
1441,
29918,
29941,
29890,
29918,
29941,
29918,
29941,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29941,
29890,
29918,
29941,
29918,
29941,
29918,
17469,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29896,
29929,
29906,
29892,
29896,
29929,
29906,
29892,
29896,
29892,
29941,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29941,
29890,
29918,
29941,
29918,
29941,
1495,
13,
4706,
297,
1441,
29918,
29941,
29890,
29918,
29945,
29918,
29945,
29918,
17469,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29941,
29890,
29918,
29941,
29918,
29941,
29918,
17469,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29941,
29906,
29892,
29941,
29906,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29941,
29890,
29918,
29945,
29918,
29945,
29918,
17469,
1495,
13,
4706,
297,
1441,
29918,
29941,
29890,
29918,
29945,
29918,
29945,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29941,
29890,
29918,
29941,
29918,
29941,
29918,
17469,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29929,
29953,
29892,
29929,
29953,
29892,
29896,
29892,
29945,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29941,
29890,
29918,
29945,
29918,
29945,
1495,
13,
4706,
297,
1441,
29918,
29941,
29890,
29918,
10109,
353,
260,
29880,
29889,
29277,
29889,
11426,
14420,
29898,
1239,
683,
29918,
29941,
29874,
29918,
4905,
29892,
13,
462,
462,
4706,
413,
2311,
11759,
29896,
29892,
29871,
29941,
29892,
29871,
29941,
29892,
29871,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
11759,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
11565,
29922,
13264,
29889,
15755,
29889,
3317,
29918,
10109,
29892,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29941,
29890,
29918,
10109,
1495,
13,
4706,
297,
1441,
29918,
29941,
29890,
29918,
10109,
29918,
29896,
29918,
29896,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29941,
29890,
29918,
10109,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29953,
29946,
29892,
29953,
29946,
29892,
29896,
29929,
29947,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29941,
29890,
29918,
10109,
29918,
29896,
29918,
29896,
1495,
13,
4706,
396,
14634,
278,
297,
1441,
29918,
29941,
29890,
24563,
13,
4706,
297,
1441,
29918,
29941,
29890,
29918,
4905,
353,
260,
29880,
29889,
29277,
29889,
1168,
4117,
14420,
4197,
1239,
683,
29918,
29941,
29890,
29918,
29896,
29918,
29896,
29892,
297,
1441,
29918,
29941,
29890,
29918,
29941,
29918,
29941,
29892,
297,
1441,
29918,
29941,
29890,
29918,
29945,
29918,
29945,
29892,
297,
1441,
29918,
29941,
29890,
29918,
10109,
29918,
29896,
29918,
29896,
1402,
17685,
29918,
6229,
29922,
29941,
29892,
978,
2433,
1239,
683,
29918,
29941,
29890,
29918,
4905,
1495,
13,
4706,
11565,
29941,
29918,
29941,
29918,
29941,
353,
260,
29880,
29889,
29277,
29889,
11426,
14420,
29898,
1239,
683,
29918,
29941,
29890,
29918,
4905,
29892,
13,
462,
462,
4706,
413,
2311,
11759,
29896,
29892,
29871,
29941,
29892,
29871,
29941,
29892,
29871,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
11759,
29896,
29892,
29871,
29906,
29892,
29871,
29906,
29892,
29871,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
11565,
29922,
13264,
29889,
15755,
29889,
3317,
29918,
10109,
29892,
13,
462,
462,
4706,
1024,
2433,
10109,
29941,
29918,
29941,
29918,
29941,
1495,
13,
4706,
297,
1441,
29918,
29946,
29874,
29918,
29896,
29918,
29896,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
10109,
29941,
29918,
29941,
29918,
29941,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29896,
29929,
29906,
29892,
29896,
29929,
29906,
29892,
29896,
29900,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29874,
29918,
29896,
29918,
29896,
1495,
13,
4706,
297,
1441,
29918,
29946,
29874,
29918,
29941,
29918,
29941,
29918,
17469,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
10109,
29941,
29918,
29941,
29918,
29941,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29929,
29953,
29892,
29929,
29953,
29892,
29896,
29900,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29874,
29918,
29941,
29918,
29941,
29918,
17469,
1495,
13,
4706,
297,
1441,
29918,
29946,
29874,
29918,
29941,
29918,
29941,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29946,
29874,
29918,
29941,
29918,
29941,
29918,
17469,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29906,
29900,
29947,
29892,
29906,
29900,
29947,
29892,
29896,
29892,
29941,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29874,
29918,
29941,
29918,
29941,
1495,
13,
4706,
297,
1441,
29918,
29946,
29874,
29918,
29945,
29918,
29945,
29918,
17469,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
10109,
29941,
29918,
29941,
29918,
29941,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29896,
29953,
29892,
29896,
29953,
29892,
29896,
29900,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29874,
29918,
29945,
29918,
29945,
29918,
17469,
1495,
13,
4706,
297,
1441,
29918,
29946,
29874,
29918,
29945,
29918,
29945,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29946,
29874,
29918,
29945,
29918,
29945,
29918,
17469,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29946,
29947,
29892,
29946,
29947,
29892,
29896,
29892,
29945,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29874,
29918,
29945,
29918,
29945,
1495,
13,
4706,
297,
1441,
29918,
29946,
29874,
29918,
10109,
353,
260,
29880,
29889,
29277,
29889,
11426,
14420,
29898,
10109,
29941,
29918,
29941,
29918,
29941,
29892,
13,
462,
462,
4706,
413,
2311,
11759,
29896,
29892,
29871,
29941,
29892,
29871,
29941,
29892,
29871,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
11759,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
11565,
29922,
13264,
29889,
15755,
29889,
3317,
29918,
10109,
29892,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29874,
29918,
10109,
1495,
13,
4706,
297,
1441,
29918,
29946,
29874,
29918,
10109,
29918,
29896,
29918,
29896,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29946,
29874,
29918,
10109,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29953,
29946,
29892,
29953,
29946,
29892,
29896,
29900,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29874,
29918,
10109,
29918,
29896,
29918,
29896,
1495,
13,
4706,
297,
1441,
29918,
29946,
29874,
29918,
4905,
353,
260,
29880,
29889,
29277,
29889,
1168,
4117,
14420,
4197,
1239,
683,
29918,
29946,
29874,
29918,
29896,
29918,
29896,
29892,
297,
1441,
29918,
29946,
29874,
29918,
29941,
29918,
29941,
29892,
297,
1441,
29918,
29946,
29874,
29918,
29945,
29918,
29945,
29892,
297,
1441,
29918,
29946,
29874,
29918,
10109,
29918,
29896,
29918,
29896,
1402,
17685,
29918,
6229,
29922,
29941,
29892,
978,
2433,
1239,
683,
29918,
29946,
29874,
29918,
4905,
1495,
13,
4706,
297,
1441,
29918,
29946,
29890,
29918,
29896,
29918,
29896,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29946,
29874,
29918,
4905,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29896,
29953,
29900,
29892,
29896,
29953,
29900,
29892,
29896,
29900,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29890,
29918,
29896,
29918,
29896,
1495,
13,
4706,
297,
1441,
29918,
29946,
29890,
29918,
29941,
29918,
29941,
29918,
17469,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29946,
29874,
29918,
4905,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29896,
29896,
29906,
29892,
29896,
29896,
29906,
29892,
29896,
29900,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29890,
29918,
29941,
29918,
29941,
29918,
17469,
1495,
13,
4706,
297,
1441,
29918,
29946,
29890,
29918,
29941,
29918,
29941,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29946,
29890,
29918,
29941,
29918,
29941,
29918,
17469,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29906,
29906,
29946,
29892,
29906,
29906,
29946,
29892,
29896,
29892,
29941,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29890,
29918,
29941,
29918,
29941,
1495,
13,
4706,
297,
1441,
29918,
29946,
29890,
29918,
29945,
29918,
29945,
29918,
17469,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29946,
29874,
29918,
4905,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29906,
29946,
29892,
29906,
29946,
29892,
29896,
29900,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29890,
29918,
29945,
29918,
29945,
29918,
17469,
1495,
13,
4706,
297,
1441,
29918,
29946,
29890,
29918,
29945,
29918,
29945,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29946,
29890,
29918,
29945,
29918,
29945,
29918,
17469,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29953,
29946,
29892,
29953,
29946,
29892,
29896,
29892,
29945,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29890,
29918,
29945,
29918,
29945,
1495,
13,
4706,
297,
1441,
29918,
29946,
29890,
29918,
10109,
353,
260,
29880,
29889,
29277,
29889,
11426,
14420,
29898,
1239,
683,
29918,
29946,
29874,
29918,
4905,
29892,
13,
462,
462,
4706,
413,
2311,
11759,
29896,
29892,
29871,
29941,
29892,
29871,
29941,
29892,
29871,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
11759,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
11565,
29922,
13264,
29889,
15755,
29889,
3317,
29918,
10109,
29892,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29890,
29918,
10109,
1495,
13,
4706,
297,
1441,
29918,
29946,
29890,
29918,
10109,
29918,
29896,
29918,
29896,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29946,
29890,
29918,
10109,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29953,
29946,
29892,
29953,
29946,
29892,
29896,
29900,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29890,
29918,
10109,
29918,
29896,
29918,
29896,
1495,
13,
4706,
297,
1441,
29918,
29946,
29890,
29918,
4905,
353,
260,
29880,
29889,
29277,
29889,
1168,
4117,
14420,
4197,
1239,
683,
29918,
29946,
29890,
29918,
29896,
29918,
29896,
29892,
297,
1441,
29918,
29946,
29890,
29918,
29941,
29918,
29941,
29892,
297,
1441,
29918,
29946,
29890,
29918,
29945,
29918,
29945,
29892,
297,
1441,
29918,
29946,
29890,
29918,
10109,
29918,
29896,
29918,
29896,
1402,
17685,
29918,
6229,
29922,
29941,
29892,
978,
2433,
1239,
683,
29918,
29946,
29890,
29918,
4905,
1495,
13,
4706,
297,
1441,
29918,
29946,
29883,
29918,
29896,
29918,
29896,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29946,
29890,
29918,
4905,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29896,
29906,
29947,
29892,
29896,
29906,
29947,
29892,
29896,
29900,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29883,
29918,
29896,
29918,
29896,
1495,
13,
4706,
297,
1441,
29918,
29946,
29883,
29918,
29941,
29918,
29941,
29918,
17469,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29946,
29890,
29918,
4905,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29896,
29906,
29947,
29892,
29896,
29906,
29947,
29892,
29896,
29900,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29883,
29918,
29941,
29918,
29941,
29918,
17469,
1495,
13,
4706,
297,
1441,
29918,
29946,
29883,
29918,
29941,
29918,
29941,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29946,
29883,
29918,
29941,
29918,
29941,
29918,
17469,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29906,
29945,
29953,
29892,
29906,
29945,
29953,
29892,
29896,
29892,
29941,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29883,
29918,
29941,
29918,
29941,
1495,
13,
4706,
297,
1441,
29918,
29946,
29883,
29918,
29945,
29918,
29945,
29918,
17469,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29946,
29890,
29918,
4905,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29906,
29946,
29892,
29906,
29946,
29892,
29896,
29900,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29883,
29918,
29945,
29918,
29945,
29918,
17469,
1495,
13,
4706,
297,
1441,
29918,
29946,
29883,
29918,
29945,
29918,
29945,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29946,
29883,
29918,
29945,
29918,
29945,
29918,
17469,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29953,
29946,
29892,
29953,
29946,
29892,
29896,
29892,
29945,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29883,
29918,
29945,
29918,
29945,
1495,
13,
4706,
297,
1441,
29918,
29946,
29883,
29918,
10109,
353,
260,
29880,
29889,
29277,
29889,
11426,
14420,
29898,
1239,
683,
29918,
29946,
29890,
29918,
4905,
29892,
13,
462,
462,
4706,
413,
2311,
11759,
29896,
29892,
29871,
29941,
29892,
29871,
29941,
29892,
29871,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
11759,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
11565,
29922,
13264,
29889,
15755,
29889,
3317,
29918,
10109,
29892,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29883,
29918,
10109,
1495,
13,
4706,
297,
1441,
29918,
29946,
29883,
29918,
10109,
29918,
29896,
29918,
29896,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29946,
29883,
29918,
10109,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29953,
29946,
29892,
29953,
29946,
29892,
29896,
29900,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29883,
29918,
10109,
29918,
29896,
29918,
29896,
1495,
13,
4706,
297,
1441,
29918,
29946,
29883,
29918,
4905,
353,
260,
29880,
29889,
29277,
29889,
1168,
4117,
14420,
4197,
1239,
683,
29918,
29946,
29883,
29918,
29896,
29918,
29896,
29892,
297,
1441,
29918,
29946,
29883,
29918,
29941,
29918,
29941,
29892,
297,
1441,
29918,
29946,
29883,
29918,
29945,
29918,
29945,
29892,
297,
1441,
29918,
29946,
29883,
29918,
10109,
29918,
29896,
29918,
29896,
1402,
17685,
29918,
6229,
29922,
29941,
29892,
978,
2433,
1239,
683,
29918,
29946,
29883,
29918,
4905,
1495,
13,
4706,
297,
1441,
29918,
29946,
29881,
29918,
29896,
29918,
29896,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29946,
29883,
29918,
4905,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29896,
29896,
29906,
29892,
29896,
29896,
29906,
29892,
29896,
29900,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29881,
29918,
29896,
29918,
29896,
1495,
13,
4706,
297,
1441,
29918,
29946,
29881,
29918,
29941,
29918,
29941,
29918,
17469,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29946,
29883,
29918,
4905,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29896,
29946,
29946,
29892,
29896,
29946,
29946,
29892,
29896,
29900,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29881,
29918,
29941,
29918,
29941,
29918,
17469,
1495,
13,
4706,
297,
1441,
29918,
29946,
29881,
29918,
29941,
29918,
29941,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29946,
29881,
29918,
29941,
29918,
29941,
29918,
17469,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29906,
29947,
29947,
29892,
29906,
29947,
29947,
29892,
29896,
29892,
29941,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29881,
29918,
29941,
29918,
29941,
1495,
13,
4706,
297,
1441,
29918,
29946,
29881,
29918,
29945,
29918,
29945,
29918,
17469,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29946,
29883,
29918,
4905,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29941,
29906,
29892,
29941,
29906,
29892,
29896,
29900,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29881,
29918,
29945,
29918,
29945,
29918,
17469,
1495,
13,
4706,
297,
1441,
29918,
29946,
29881,
29918,
29945,
29918,
29945,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29946,
29881,
29918,
29945,
29918,
29945,
29918,
17469,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29953,
29946,
29892,
29953,
29946,
29892,
29896,
29892,
29945,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29881,
29918,
29945,
29918,
29945,
1495,
13,
4706,
297,
1441,
29918,
29946,
29881,
29918,
10109,
353,
260,
29880,
29889,
29277,
29889,
11426,
14420,
29898,
1239,
683,
29918,
29946,
29883,
29918,
4905,
29892,
13,
462,
462,
4706,
413,
2311,
11759,
29896,
29892,
29871,
29941,
29892,
29871,
29941,
29892,
29871,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
11759,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
11565,
29922,
13264,
29889,
15755,
29889,
3317,
29918,
10109,
29892,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29881,
29918,
10109,
1495,
13,
4706,
297,
1441,
29918,
29946,
29881,
29918,
10109,
29918,
29896,
29918,
29896,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29946,
29881,
29918,
10109,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29953,
29946,
29892,
29953,
29946,
29892,
29896,
29900,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29881,
29918,
10109,
29918,
29896,
29918,
29896,
1495,
13,
4706,
297,
1441,
29918,
29946,
29881,
29918,
4905,
353,
260,
29880,
29889,
29277,
29889,
1168,
4117,
14420,
4197,
1239,
683,
29918,
29946,
29881,
29918,
29896,
29918,
29896,
29892,
297,
1441,
29918,
29946,
29881,
29918,
29941,
29918,
29941,
29892,
297,
1441,
29918,
29946,
29881,
29918,
29945,
29918,
29945,
29892,
297,
1441,
29918,
29946,
29881,
29918,
10109,
29918,
29896,
29918,
29896,
1402,
17685,
29918,
6229,
29922,
29941,
29892,
978,
2433,
1239,
683,
29918,
29946,
29881,
29918,
4905,
1495,
13,
4706,
297,
1441,
29918,
29946,
29872,
29918,
29896,
29918,
29896,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29946,
29881,
29918,
4905,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29906,
29945,
29953,
29892,
29906,
29945,
29953,
29892,
29896,
29900,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29872,
29918,
29896,
29918,
29896,
1495,
13,
4706,
297,
1441,
29918,
29946,
29872,
29918,
29941,
29918,
29941,
29918,
17469,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29946,
29881,
29918,
4905,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29896,
29953,
29900,
29892,
29896,
29953,
29900,
29892,
29896,
29900,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29872,
29918,
29941,
29918,
29941,
29918,
17469,
1495,
13,
4706,
297,
1441,
29918,
29946,
29872,
29918,
29941,
29918,
29941,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29946,
29872,
29918,
29941,
29918,
29941,
29918,
17469,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29941,
29906,
29900,
29892,
29941,
29906,
29900,
29892,
29896,
29892,
29941,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29872,
29918,
29941,
29918,
29941,
1495,
13,
4706,
297,
1441,
29918,
29946,
29872,
29918,
29945,
29918,
29945,
29918,
17469,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29946,
29881,
29918,
4905,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29941,
29906,
29892,
29941,
29906,
29892,
29896,
29900,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29872,
29918,
29945,
29918,
29945,
29918,
17469,
1495,
13,
4706,
297,
1441,
29918,
29946,
29872,
29918,
29945,
29918,
29945,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29946,
29872,
29918,
29945,
29918,
29945,
29918,
17469,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29896,
29906,
29947,
29892,
29896,
29906,
29947,
29892,
29896,
29892,
29945,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29872,
29918,
29945,
29918,
29945,
1495,
13,
4706,
297,
1441,
29918,
29946,
29872,
29918,
10109,
353,
260,
29880,
29889,
29277,
29889,
11426,
14420,
29898,
1239,
683,
29918,
29946,
29881,
29918,
4905,
29892,
13,
462,
462,
4706,
413,
2311,
11759,
29896,
29892,
29871,
29941,
29892,
29871,
29941,
29892,
29871,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
11759,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
11565,
29922,
13264,
29889,
15755,
29889,
3317,
29918,
10109,
29892,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29872,
29918,
10109,
1495,
13,
4706,
297,
1441,
29918,
29946,
29872,
29918,
10109,
29918,
29896,
29918,
29896,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29946,
29872,
29918,
10109,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29896,
29906,
29947,
29892,
29896,
29906,
29947,
29892,
29896,
29900,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29946,
29872,
29918,
10109,
29918,
29896,
29918,
29896,
1495,
13,
4706,
297,
1441,
29918,
29946,
29872,
29918,
4905,
353,
260,
29880,
29889,
29277,
29889,
1168,
4117,
14420,
4197,
1239,
683,
29918,
29946,
29872,
29918,
29896,
29918,
29896,
29892,
297,
1441,
29918,
29946,
29872,
29918,
29941,
29918,
29941,
29892,
297,
1441,
29918,
29946,
29872,
29918,
29945,
29918,
29945,
29892,
297,
1441,
29918,
29946,
29872,
29918,
10109,
29918,
29896,
29918,
29896,
1402,
17685,
29918,
6229,
29922,
29941,
29892,
978,
2433,
1239,
683,
29918,
29946,
29872,
29918,
4905,
1495,
13,
4706,
11565,
29946,
29918,
29941,
29918,
29941,
353,
260,
29880,
29889,
29277,
29889,
11426,
14420,
29898,
1239,
683,
29918,
29946,
29872,
29918,
4905,
29892,
13,
462,
462,
4706,
413,
2311,
11759,
29896,
29892,
29871,
29941,
29892,
29871,
29941,
29892,
29871,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
11759,
29896,
29892,
29871,
29906,
29892,
29871,
29906,
29892,
29871,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
11565,
29922,
13264,
29889,
15755,
29889,
3317,
29918,
10109,
29892,
13,
462,
462,
4706,
1024,
2433,
10109,
29946,
29918,
29941,
29918,
29941,
1495,
13,
4706,
297,
1441,
29918,
29945,
29874,
29918,
29896,
29918,
29896,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
10109,
29946,
29918,
29941,
29918,
29941,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29906,
29945,
29953,
29892,
29906,
29945,
29953,
29892,
29896,
29900,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29945,
29874,
29918,
29896,
29918,
29896,
1495,
13,
4706,
297,
1441,
29918,
29945,
29874,
29918,
29941,
29918,
29941,
29918,
17469,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
10109,
29946,
29918,
29941,
29918,
29941,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29896,
29953,
29900,
29892,
29896,
29953,
29900,
29892,
29896,
29900,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29945,
29874,
29918,
29941,
29918,
29941,
29918,
17469,
1495,
13,
4706,
297,
1441,
29918,
29945,
29874,
29918,
29941,
29918,
29941,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29945,
29874,
29918,
29941,
29918,
29941,
29918,
17469,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29941,
29906,
29900,
29892,
29941,
29906,
29900,
29892,
29896,
29892,
29941,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29945,
29874,
29918,
29941,
29918,
29941,
1495,
13,
4706,
297,
1441,
29918,
29945,
29874,
29918,
29945,
29918,
29945,
29918,
17469,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
10109,
29946,
29918,
29941,
29918,
29941,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29941,
29906,
29892,
29941,
29906,
29892,
29896,
29900,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29945,
29874,
29918,
29945,
29918,
29945,
29918,
17469,
1495,
13,
4706,
297,
1441,
29918,
29945,
29874,
29918,
29945,
29918,
29945,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29945,
29874,
29918,
29945,
29918,
29945,
29918,
17469,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29896,
29906,
29947,
29892,
29896,
29906,
29947,
29892,
29896,
29892,
29945,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29945,
29874,
29918,
29945,
29918,
29945,
1495,
13,
4706,
297,
1441,
29918,
29945,
29874,
29918,
10109,
353,
260,
29880,
29889,
29277,
29889,
11426,
14420,
29898,
10109,
29946,
29918,
29941,
29918,
29941,
29892,
13,
462,
462,
4706,
413,
2311,
11759,
29896,
29892,
29871,
29941,
29892,
29871,
29941,
29892,
29871,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
11759,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
11565,
29922,
13264,
29889,
15755,
29889,
3317,
29918,
10109,
29892,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29945,
29874,
29918,
10109,
1495,
13,
4706,
297,
1441,
29918,
29945,
29874,
29918,
10109,
29918,
29896,
29918,
29896,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29945,
29874,
29918,
10109,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29896,
29906,
29947,
29892,
29896,
29906,
29947,
29892,
29896,
29900,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29945,
29874,
29918,
10109,
29918,
29896,
29918,
29896,
1495,
13,
4706,
297,
1441,
29918,
29945,
29874,
29918,
4905,
353,
260,
29880,
29889,
29277,
29889,
1168,
4117,
14420,
4197,
1239,
683,
29918,
29945,
29874,
29918,
29896,
29918,
29896,
29892,
297,
1441,
29918,
29945,
29874,
29918,
29941,
29918,
29941,
29892,
297,
1441,
29918,
29945,
29874,
29918,
29945,
29918,
29945,
29892,
297,
1441,
29918,
29945,
29874,
29918,
10109,
29918,
29896,
29918,
29896,
1402,
17685,
29918,
6229,
29922,
29941,
29892,
978,
2433,
1239,
683,
29918,
29945,
29874,
29918,
4905,
1495,
13,
4706,
297,
1441,
29918,
29945,
29890,
29918,
29896,
29918,
29896,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29945,
29874,
29918,
4905,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29941,
29947,
29946,
29892,
29941,
29947,
29946,
29892,
29896,
29900,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29945,
29890,
29918,
29896,
29918,
29896,
1495,
13,
4706,
297,
1441,
29918,
29945,
29890,
29918,
29941,
29918,
29941,
29918,
17469,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29945,
29874,
29918,
4905,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29896,
29929,
29906,
29892,
29896,
29929,
29906,
29892,
29896,
29900,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29945,
29890,
29918,
29941,
29918,
29941,
29918,
17469,
1495,
13,
4706,
297,
1441,
29918,
29945,
29890,
29918,
29941,
29918,
29941,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29945,
29890,
29918,
29941,
29918,
29941,
29918,
17469,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29941,
29947,
29946,
29892,
29941,
29947,
29946,
29892,
29896,
29892,
29941,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29945,
29890,
29918,
29941,
29918,
29941,
1495,
13,
4706,
297,
1441,
29918,
29945,
29890,
29918,
29945,
29918,
29945,
29918,
17469,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29945,
29874,
29918,
4905,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29946,
29947,
29892,
29946,
29947,
29892,
29896,
29900,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29945,
29890,
29918,
29945,
29918,
29945,
29918,
17469,
1495,
13,
4706,
297,
1441,
29918,
29945,
29890,
29918,
29945,
29918,
29945,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29945,
29890,
29918,
29945,
29918,
29945,
29918,
17469,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29896,
29906,
29947,
29892,
29896,
29906,
29947,
29892,
29896,
29892,
29945,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29945,
29890,
29918,
29945,
29918,
29945,
1495,
13,
4706,
297,
1441,
29918,
29945,
29890,
29918,
10109,
353,
260,
29880,
29889,
29277,
29889,
11426,
14420,
29898,
1239,
683,
29918,
29945,
29874,
29918,
4905,
29892,
13,
462,
462,
4706,
413,
2311,
11759,
29896,
29892,
29871,
29941,
29892,
29871,
29941,
29892,
29871,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
11759,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
11565,
29922,
13264,
29889,
15755,
29889,
3317,
29918,
10109,
29892,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29945,
29890,
29918,
10109,
1495,
13,
4706,
297,
1441,
29918,
29945,
29890,
29918,
10109,
29918,
29896,
29918,
29896,
353,
260,
29880,
29889,
29277,
29889,
1168,
29894,
29906,
29881,
14420,
29898,
1239,
683,
29918,
29945,
29890,
29918,
10109,
29892,
13,
462,
462,
4706,
1044,
353,
15886,
29889,
15755,
29889,
2674,
29884,
29892,
13,
462,
462,
4706,
8267,
353,
518,
29896,
29906,
29947,
29892,
29896,
29906,
29947,
29892,
29896,
29900,
29892,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
353,
518,
29896,
29892,
29896,
29892,
29896,
29892,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
1024,
2433,
1239,
683,
29918,
29945,
29890,
29918,
10109,
29918,
29896,
29918,
29896,
1495,
13,
13,
4706,
297,
1441,
29918,
29945,
29890,
29918,
4905,
353,
260,
29880,
29889,
29277,
29889,
1168,
4117,
14420,
4197,
1239,
683,
29918,
29945,
29890,
29918,
29896,
29918,
29896,
29892,
297,
1441,
29918,
29945,
29890,
29918,
29941,
29918,
29941,
29892,
297,
1441,
29918,
29945,
29890,
29918,
29945,
29918,
29945,
29892,
297,
1441,
29918,
29945,
29890,
29918,
10109,
29918,
29896,
29918,
29896,
1402,
17685,
29918,
6229,
29922,
29941,
29892,
978,
2433,
1239,
683,
29918,
29945,
29890,
29918,
4905,
1495,
13,
13,
4706,
11565,
29945,
29918,
29955,
29918,
29955,
353,
260,
29880,
29889,
29277,
29889,
11426,
14420,
29898,
1239,
683,
29918,
29945,
29890,
29918,
4905,
29892,
13,
462,
462,
4706,
413,
2311,
11759,
29896,
29892,
29871,
29955,
29892,
29871,
29955,
29892,
29871,
29896,
1402,
13,
462,
462,
4706,
851,
2247,
11759,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
29892,
29871,
29896,
1402,
13,
462,
462,
4706,
7164,
2433,
8132,
2303,
742,
13,
462,
462,
4706,
11565,
29922,
13264,
29889,
15755,
29889,
485,
29887,
29918,
10109,
29892,
13,
462,
462,
4706,
1024,
2433,
10109,
29945,
29918,
29955,
29918,
29955,
1495,
13,
4706,
396,
236,
155,
181,
31981,
29907,
10262,
31138,
233,
142,
162,
30733,
13,
4706,
396,
30948,
235,
194,
176,
30690,
30936,
30354,
232,
165,
161,
30923,
30210,
30594,
31974,
30214,
30682,
30815,
30544,
31424,
31222,
234,
190,
159,
30783,
235,
177,
176,
234,
190,
134,
30893,
233,
142,
162,
30733,
30210,
232,
193,
139,
31076,
30419,
30505,
235,
177,
176,
234,
190,
134,
30893,
30429,
6758,
232,
193,
139,
30446,
30409,
30214,
231,
192,
137,
30392,
30783,
236,
173,
143,
235,
178,
132,
30893,
30210,
233,
142,
162,
30733,
31101,
30898,
232,
193,
139,
232,
186,
177,
30210,
30993,
232,
137,
184,
13,
4706,
330,
1212,
353,
260,
29880,
29889,
29277,
29889,
15063,
449,
14420,
29898,
10109,
29945,
29918,
29955,
29918,
29955,
29892,
3013,
353,
29900,
29889,
29946,
29892,
978,
2433,
8865,
449,
29945,
29918,
29955,
29918,
29955,
1495,
13,
4706,
1596,
29898,
29887,
1212,
29889,
4905,
29879,
3032,
12181,
29897,
13,
4706,
396,
30753,
31903,
31092,
29871,
235,
183,
162,
235,
183,
166,
30783,
31222,
234,
190,
159,
30878,
234,
190,
139,
31573,
30544,
30210,
31141,
232,
193,
132,
31174,
30448,
30748,
30832,
236,
165,
135,
31851,
30214,
31050,
30544,
30748,
30832,
31320,
30801,
13,
4706,
330,
1212,
353,
260,
29880,
29889,
29277,
29889,
29943,
5066,
841,
14420,
29898,
29887,
1212,
29892,
1024,
2433,
1579,
8606,
29918,
13148,
1495,
13,
4706,
1596,
29898,
29887,
1212,
29889,
4905,
29879,
3032,
12181,
29897,
13,
4706,
330,
1212,
353,
260,
29880,
29889,
29277,
29889,
29928,
1947,
14420,
29898,
29887,
1212,
29892,
29876,
29918,
348,
1169,
29922,
29946,
29892,
627,
353,
15886,
29889,
22350,
29892,
978,
2433,
4905,
29918,
13148,
1495,
13,
4706,
1596,
29898,
29887,
1212,
29889,
4905,
29879,
3032,
12181,
29897,
13,
4706,
736,
330,
1212,
2
] |
test/test_delete_contact.py | ann-drobysh/python_training | 0 | 41934 | from model.contact import Contact
import random
import allure
def test_delete_some_contact(app, db, check_ui):
if len(db.get_contacts_list()) == 0:
app.contact.add_new_contact(Contact(firstname="Testik", middlename="Midtest", lastname="Lasttest", nickname="Nickname test", title="Mrs", company="Test Company", street="5th Avenue",
homephone="15", mobilephone="111999333", workphone="12123342", fax="2345645", email="<EMAIL>", birthday_day="11",
birthday_month="July", birthday_year="1991", anniversary_day="8", anniversary_month="November", anniversary_year="1991", address2="Sec address", phone2="163434", note="testtesttest note"))
with allure.step("Given a contacts list"):
old_contacts = db.get_contacts_list()
with allure.step("Given a contact from contacts list"):
contact = random.choice(old_contacts)
with allure.step("When I delete contact %s from the list" % contact):
app.contact.delete_contact_by_id(contact.id)
with allure.step("Then the new list is equal to the old list with the removed contact"):
assert len(old_contacts) - 1 == app.contact.count()
new_contacts = db.get_contacts_list()
old_contacts.remove(contact)
assert old_contacts == new_contacts
if check_ui:
def clean(contact):
return Contact(id=contact.id, firstname=contact.firstname.strip(), lastname=contact.lastname.strip())
new_contacts = map(clean, db.get_contacts_list())
assert sorted(new_contacts, key=Contact.id_or_max) == sorted(app.contact.get_contacts_list(), key=Contact.id_or_max)
| [
1,
515,
1904,
29889,
12346,
1053,
22387,
13,
5215,
4036,
13,
5215,
599,
545,
13,
13,
1753,
1243,
29918,
8143,
29918,
5372,
29918,
12346,
29898,
932,
29892,
4833,
29892,
1423,
29918,
1481,
1125,
13,
1678,
565,
7431,
29898,
2585,
29889,
657,
29918,
12346,
29879,
29918,
1761,
3101,
1275,
29871,
29900,
29901,
13,
4706,
623,
29889,
12346,
29889,
1202,
29918,
1482,
29918,
12346,
29898,
13443,
29898,
4102,
978,
543,
3057,
638,
613,
286,
2205,
2435,
420,
543,
29924,
333,
1688,
613,
1833,
978,
543,
8897,
1688,
613,
25985,
978,
543,
29940,
860,
978,
1243,
613,
3611,
543,
29924,
2288,
613,
5001,
543,
3057,
6938,
613,
11952,
543,
29945,
386,
18874,
613,
13,
462,
462,
9651,
3271,
6710,
543,
29896,
29945,
613,
10426,
6710,
543,
29896,
29896,
29896,
29929,
29929,
29929,
29941,
29941,
29941,
613,
664,
6710,
543,
29896,
29906,
29896,
29906,
29941,
29941,
29946,
29906,
613,
285,
1165,
543,
29906,
29941,
29946,
29945,
29953,
29946,
29945,
613,
4876,
543,
29966,
26862,
6227,
28341,
12060,
3250,
29918,
3250,
543,
29896,
29896,
613,
13,
462,
462,
9651,
12060,
3250,
29918,
10874,
543,
29967,
11850,
613,
12060,
3250,
29918,
6360,
543,
29896,
29929,
29929,
29896,
613,
6957,
27547,
29918,
3250,
543,
29947,
613,
6957,
27547,
29918,
10874,
543,
25363,
1096,
613,
6957,
27547,
29918,
6360,
543,
29896,
29929,
29929,
29896,
613,
3211,
29906,
543,
7898,
3211,
613,
9008,
29906,
543,
29896,
29953,
29941,
29946,
29941,
29946,
613,
4443,
543,
1688,
1688,
1688,
4443,
5783,
13,
1678,
411,
599,
545,
29889,
10568,
703,
29954,
5428,
263,
25957,
1051,
29908,
1125,
13,
4706,
2030,
29918,
12346,
29879,
353,
4833,
29889,
657,
29918,
12346,
29879,
29918,
1761,
580,
13,
1678,
411,
599,
545,
29889,
10568,
703,
29954,
5428,
263,
6958,
515,
25957,
1051,
29908,
1125,
13,
4706,
6958,
353,
4036,
29889,
16957,
29898,
1025,
29918,
12346,
29879,
29897,
13,
1678,
411,
599,
545,
29889,
10568,
703,
10401,
306,
5217,
6958,
1273,
29879,
515,
278,
1051,
29908,
1273,
6958,
1125,
13,
4706,
623,
29889,
12346,
29889,
8143,
29918,
12346,
29918,
1609,
29918,
333,
29898,
12346,
29889,
333,
29897,
13,
1678,
411,
599,
545,
29889,
10568,
703,
11760,
278,
716,
1051,
338,
5186,
304,
278,
2030,
1051,
411,
278,
6206,
6958,
29908,
1125,
13,
4706,
4974,
7431,
29898,
1025,
29918,
12346,
29879,
29897,
448,
29871,
29896,
1275,
623,
29889,
12346,
29889,
2798,
580,
13,
4706,
716,
29918,
12346,
29879,
353,
4833,
29889,
657,
29918,
12346,
29879,
29918,
1761,
580,
13,
4706,
2030,
29918,
12346,
29879,
29889,
5992,
29898,
12346,
29897,
13,
4706,
4974,
2030,
29918,
12346,
29879,
1275,
716,
29918,
12346,
29879,
13,
4706,
565,
1423,
29918,
1481,
29901,
13,
9651,
822,
5941,
29898,
12346,
1125,
13,
18884,
736,
22387,
29898,
333,
29922,
12346,
29889,
333,
29892,
937,
978,
29922,
12346,
29889,
4102,
978,
29889,
17010,
3285,
1833,
978,
29922,
12346,
29889,
4230,
978,
29889,
17010,
3101,
13,
9651,
716,
29918,
12346,
29879,
353,
2910,
29898,
14941,
29892,
4833,
29889,
657,
29918,
12346,
29879,
29918,
1761,
3101,
13,
9651,
4974,
12705,
29898,
1482,
29918,
12346,
29879,
29892,
1820,
29922,
13443,
29889,
333,
29918,
272,
29918,
3317,
29897,
1275,
12705,
29898,
932,
29889,
12346,
29889,
657,
29918,
12346,
29879,
29918,
1761,
3285,
1820,
29922,
13443,
29889,
333,
29918,
272,
29918,
3317,
29897,
13,
2
] |
papers/CS-F-LTR/src/convert.py | mindspore-ai/contrib | 2 | 119958 | """[summary]
Returns:
[type]: [description]
"""
import pickle
import sys
import numpy as np
def gen_label(x):
"""[summary]
Args:
x ([type]): [description]
Returns:
[type]: [description]
"""
if 1 <= x <= 10:
return 2
if 11 <= x <= 100:
return 1
return 0
def load_only(src_path):
"""[summary]
Args:
src_path ([type]): [description]
Returns:
[type]: [description]
"""
f = open(src_path)
line = f.readline()
ext_label_id_features = []
real_label_id_features = []
cnt = 0
while line:
cnt += 1
if cnt % 10000 == 0:
print(cnt)
pure_line, comm = line.split('#') # 去除行尾注释
pure_line = pure_line.strip()
comm = comm.strip()
relevance_id_features = pure_line.split(' ')
label_id_feature = [
gen_label(int(relevance_id_features[0])) \
if comm in ("rel", "non") \
else int(relevance_id_features[0])
]
for i in range(1, len(relevance_id_features)):
label_id_feature.append(float(relevance_id_features[i].split(':')[1]))
if comm in ("non", "rel"):
real_label_id_features.append(label_id_feature)
else:
ext_label_id_features.append(label_id_feature)
line = f.readline()
f.close()
return real_label_id_features, ext_label_id_features
def main():
"""[summary]
"""
try:
fed_no = int(sys.argv[1])
except ValueError:
fed_no = 0
print(fed_no)
real_label_id_features, ext_label_id_features = load_only(
"/data/icde_data/fed_with_sh_(5_30_200)ext%d.txt" % fed_no)
pickle.dump([np.array(real_label_id_features), np.array(ext_label_id_features)], open(
"/data/icde_data/fed_with_sh_(5_30_200)ext%d.pkl" % fed_no, "wb"))
if __name__ == "__main__":
main()
| [
1,
9995,
29961,
7727,
29962,
13,
13,
11609,
29879,
29901,
13,
1678,
518,
1853,
5387,
518,
8216,
29962,
13,
15945,
29908,
13,
5215,
5839,
280,
13,
5215,
10876,
13,
5215,
12655,
408,
7442,
13,
13,
13,
1753,
2531,
29918,
1643,
29898,
29916,
1125,
13,
1678,
9995,
29961,
7727,
29962,
13,
13,
1678,
826,
3174,
29901,
13,
4706,
921,
9310,
1853,
29962,
1125,
518,
8216,
29962,
13,
13,
1678,
16969,
29901,
13,
4706,
518,
1853,
5387,
518,
8216,
29962,
13,
1678,
9995,
13,
1678,
565,
29871,
29896,
5277,
921,
5277,
29871,
29896,
29900,
29901,
13,
4706,
736,
29871,
29906,
13,
1678,
565,
29871,
29896,
29896,
5277,
921,
5277,
29871,
29896,
29900,
29900,
29901,
13,
4706,
736,
29871,
29896,
13,
1678,
736,
29871,
29900,
13,
13,
13,
1753,
2254,
29918,
6194,
29898,
4351,
29918,
2084,
1125,
13,
1678,
9995,
29961,
7727,
29962,
13,
13,
1678,
826,
3174,
29901,
13,
4706,
4765,
29918,
2084,
9310,
1853,
29962,
1125,
518,
8216,
29962,
13,
13,
1678,
16969,
29901,
13,
4706,
518,
1853,
5387,
518,
8216,
29962,
13,
1678,
9995,
13,
1678,
285,
353,
1722,
29898,
4351,
29918,
2084,
29897,
13,
1678,
1196,
353,
285,
29889,
949,
1220,
580,
13,
1678,
1294,
29918,
1643,
29918,
333,
29918,
22100,
353,
5159,
13,
1678,
1855,
29918,
1643,
29918,
333,
29918,
22100,
353,
5159,
13,
1678,
274,
593,
353,
29871,
29900,
13,
1678,
1550,
1196,
29901,
13,
4706,
274,
593,
4619,
29871,
29896,
13,
4706,
565,
274,
593,
1273,
29871,
29896,
29900,
29900,
29900,
29900,
1275,
29871,
29900,
29901,
13,
9651,
1596,
29898,
20047,
29897,
13,
4706,
8296,
29918,
1220,
29892,
844,
353,
1196,
29889,
5451,
14237,
1495,
29871,
396,
29871,
31475,
31152,
30448,
31631,
31368,
236,
138,
141,
13,
4706,
8296,
29918,
1220,
353,
8296,
29918,
1220,
29889,
17010,
580,
13,
4706,
844,
353,
844,
29889,
17010,
580,
13,
4706,
29527,
749,
29918,
333,
29918,
22100,
353,
8296,
29918,
1220,
29889,
5451,
877,
25710,
13,
4706,
3858,
29918,
333,
29918,
14394,
353,
518,
13,
9651,
2531,
29918,
1643,
29898,
524,
29898,
276,
2608,
749,
29918,
333,
29918,
22100,
29961,
29900,
12622,
320,
13,
9651,
565,
844,
297,
4852,
2674,
613,
376,
5464,
1159,
320,
13,
9651,
1683,
938,
29898,
276,
2608,
749,
29918,
333,
29918,
22100,
29961,
29900,
2314,
13,
4706,
4514,
13,
4706,
363,
474,
297,
3464,
29898,
29896,
29892,
7431,
29898,
276,
2608,
749,
29918,
333,
29918,
22100,
22164,
13,
9651,
3858,
29918,
333,
29918,
14394,
29889,
4397,
29898,
7411,
29898,
276,
2608,
749,
29918,
333,
29918,
22100,
29961,
29875,
1822,
5451,
877,
29901,
29861,
29896,
12622,
13,
4706,
565,
844,
297,
4852,
5464,
613,
376,
2674,
29908,
1125,
13,
9651,
1855,
29918,
1643,
29918,
333,
29918,
22100,
29889,
4397,
29898,
1643,
29918,
333,
29918,
14394,
29897,
13,
4706,
1683,
29901,
13,
9651,
1294,
29918,
1643,
29918,
333,
29918,
22100,
29889,
4397,
29898,
1643,
29918,
333,
29918,
14394,
29897,
13,
4706,
1196,
353,
285,
29889,
949,
1220,
580,
13,
1678,
285,
29889,
5358,
580,
13,
1678,
736,
1855,
29918,
1643,
29918,
333,
29918,
22100,
29892,
1294,
29918,
1643,
29918,
333,
29918,
22100,
13,
13,
1753,
1667,
7295,
13,
1678,
9995,
29961,
7727,
29962,
13,
1678,
9995,
13,
1678,
1018,
29901,
13,
4706,
21242,
29918,
1217,
353,
938,
29898,
9675,
29889,
19218,
29961,
29896,
2314,
13,
1678,
5174,
7865,
2392,
29901,
13,
4706,
21242,
29918,
1217,
353,
29871,
29900,
13,
1678,
1596,
29898,
29888,
287,
29918,
1217,
29897,
13,
1678,
1855,
29918,
1643,
29918,
333,
29918,
22100,
29892,
1294,
29918,
1643,
29918,
333,
29918,
22100,
353,
2254,
29918,
6194,
29898,
13,
4706,
5591,
1272,
29914,
293,
311,
29918,
1272,
29914,
29888,
287,
29918,
2541,
29918,
845,
23538,
29945,
29918,
29941,
29900,
29918,
29906,
29900,
29900,
29897,
1062,
29995,
29881,
29889,
3945,
29908,
1273,
21242,
29918,
1217,
29897,
13,
1678,
5839,
280,
29889,
15070,
4197,
9302,
29889,
2378,
29898,
6370,
29918,
1643,
29918,
333,
29918,
22100,
511,
7442,
29889,
2378,
29898,
1062,
29918,
1643,
29918,
333,
29918,
22100,
29897,
1402,
1722,
29898,
13,
4706,
5591,
1272,
29914,
293,
311,
29918,
1272,
29914,
29888,
287,
29918,
2541,
29918,
845,
23538,
29945,
29918,
29941,
29900,
29918,
29906,
29900,
29900,
29897,
1062,
29995,
29881,
29889,
29886,
6321,
29908,
1273,
21242,
29918,
1217,
29892,
376,
29893,
29890,
5783,
13,
13,
361,
4770,
978,
1649,
1275,
376,
1649,
3396,
1649,
1115,
13,
1678,
1667,
580,
13,
2
] |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.