content
stringlengths 1
1.04M
| input_ids
sequencelengths 1
774k
| ratio_char_token
float64 0.38
22.9
| token_count
int64 1
774k
|
---|---|---|---|
#!/usr/bin/env python
# -*- coding:utf-8 -*-
import urllib
import requests
from bs4 import BeautifulSoup
"""
https://wenku.baidu.com/browse/getrequest?doc_id=a1eec6289b6648d7c1c7468f&pn=22&rn=1&type=ppt&callback=bd__cbs__s5lw72
https://wenku.baidu.com/browse/getrequest?doc_id=a1eec6289b6648d7c1c7468f&pn=23&rn=1&type=ppt&callback=bd__cbs__coo5j5
https://wenku.baidu.com/browse/getrequest?doc_id=a1eec6289b6648d7c1c7468f&pn=21&rn=1&type=ppt&callback=bd__cbs__2hc9ds
https://wenku.baidu.com/browse/getrequest?doc_id=a1eec6289b6648d7c1c7468f&pn=5&rn=1&type=ppt&callback=bd__cbs__nh2gao
"""
linkfiles = "F:\\PythonProject\\python-scripts\\spider\\wenkubaidu\\odnimages\\"
class WK():
'''
百度文库
'''
if __name__=="__main__":
wk = WK()
for pn in range(1,26):
url = 'https://wenku.baidu.com/browse/getrequest?doc_id=a1eec6289b6648d7c1c7468f&pn={}&rn=1&type=ppt&callback=bd__cbs__nh2gao'.format(pn)
print(url,"下载完成")
wk.spyder(url)
"""
with open(linkfiles + "wenkulink.txt",'a+') as fw:
# fw.write(url) # 是统计的页数连接,可以从中获取到图片的链接
# fw.write("\n")
"""
# wk.spyder(wk.baseUrl)
"""
注意该网址粘贴到浏览器上访问是可以的,但是在代码中若不替换\该字符,会导致报错.
https:\/\/wkretype.bdimg.com\/retype\/zoom\/6a30bde2f8c75fbfc77db23c?pn=4&raww=1080&rawh=810&o=jpg_6&md5sum=f9ace759cd13bfd0f9ad186d77af05fa&sign=0756077547&png=41164-280359&jpg=227559-365825
""" | [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
2,
532,
9,
12,
19617,
25,
40477,
12,
23,
532,
9,
12,
198,
198,
11748,
2956,
297,
571,
198,
11748,
7007,
198,
6738,
275,
82,
19,
1330,
23762,
50,
10486,
628,
198,
37811,
198,
5450,
1378,
21006,
23063,
13,
65,
1698,
84,
13,
785,
14,
25367,
325,
14,
1136,
25927,
30,
15390,
62,
312,
28,
64,
16,
68,
721,
21,
27693,
65,
21,
34287,
67,
22,
66,
16,
66,
4524,
3104,
69,
5,
21999,
28,
1828,
5,
35906,
28,
16,
5,
4906,
28,
381,
83,
5,
47423,
28,
17457,
834,
66,
1443,
834,
82,
20,
75,
86,
4761,
198,
5450,
1378,
21006,
23063,
13,
65,
1698,
84,
13,
785,
14,
25367,
325,
14,
1136,
25927,
30,
15390,
62,
312,
28,
64,
16,
68,
721,
21,
27693,
65,
21,
34287,
67,
22,
66,
16,
66,
4524,
3104,
69,
5,
21999,
28,
1954,
5,
35906,
28,
16,
5,
4906,
28,
381,
83,
5,
47423,
28,
17457,
834,
66,
1443,
834,
1073,
78,
20,
73,
20,
198,
5450,
1378,
21006,
23063,
13,
65,
1698,
84,
13,
785,
14,
25367,
325,
14,
1136,
25927,
30,
15390,
62,
312,
28,
64,
16,
68,
721,
21,
27693,
65,
21,
34287,
67,
22,
66,
16,
66,
4524,
3104,
69,
5,
21999,
28,
2481,
5,
35906,
28,
16,
5,
4906,
28,
381,
83,
5,
47423,
28,
17457,
834,
66,
1443,
834,
17,
71,
66,
24,
9310,
198,
5450,
1378,
21006,
23063,
13,
65,
1698,
84,
13,
785,
14,
25367,
325,
14,
1136,
25927,
30,
15390,
62,
312,
28,
64,
16,
68,
721,
21,
27693,
65,
21,
34287,
67,
22,
66,
16,
66,
4524,
3104,
69,
5,
21999,
28,
20,
5,
35906,
28,
16,
5,
4906,
28,
381,
83,
5,
47423,
28,
17457,
834,
66,
1443,
834,
77,
71,
17,
4908,
78,
198,
37811,
198,
8726,
16624,
796,
366,
37,
25,
6852,
37906,
16775,
6852,
29412,
12,
46521,
6852,
2777,
1304,
6852,
21006,
74,
549,
1698,
84,
6852,
375,
77,
17566,
6852,
1,
198,
198,
4871,
370,
42,
33529,
198,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
13328,
247,
122,
41753,
99,
23877,
229,
41753,
241,
198,
220,
220,
220,
705,
7061,
198,
198,
361,
11593,
3672,
834,
855,
1,
834,
12417,
834,
1298,
198,
220,
220,
220,
266,
74,
796,
370,
42,
3419,
198,
220,
220,
220,
329,
279,
77,
287,
2837,
7,
16,
11,
2075,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
19016,
796,
705,
5450,
1378,
21006,
23063,
13,
65,
1698,
84,
13,
785,
14,
25367,
325,
14,
1136,
25927,
30,
15390,
62,
312,
28,
64,
16,
68,
721,
21,
27693,
65,
21,
34287,
67,
22,
66,
16,
66,
4524,
3104,
69,
5,
21999,
34758,
92,
5,
35906,
28,
16,
5,
4906,
28,
381,
83,
5,
47423,
28,
17457,
834,
66,
1443,
834,
77,
71,
17,
4908,
78,
4458,
18982,
7,
21999,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
6371,
553,
10310,
233,
164,
121,
121,
22522,
234,
22755,
238,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
266,
74,
13,
2777,
88,
1082,
7,
6371,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
628,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
351,
1280,
7,
8726,
16624,
1343,
366,
21006,
74,
377,
676,
13,
14116,
1600,
6,
64,
10,
11537,
355,
277,
86,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
277,
86,
13,
13564,
7,
6371,
8,
220,
220,
1303,
10545,
246,
107,
163,
119,
253,
164,
106,
94,
21410,
165,
94,
113,
46763,
108,
32573,
252,
162,
236,
98,
11,
20998,
107,
20015,
98,
20015,
236,
40792,
164,
236,
115,
20998,
244,
26344,
108,
32368,
122,
31965,
229,
21410,
165,
241,
122,
162,
236,
98,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
277,
86,
13,
13564,
7203,
59,
77,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
1303,
266,
74,
13,
2777,
88,
1082,
7,
43021,
13,
8692,
28165,
8,
628,
198,
198,
37811,
198,
37345,
101,
35707,
237,
46237,
98,
163,
121,
239,
161,
251,
222,
163,
110,
246,
164,
112,
112,
26344,
108,
38184,
237,
164,
100,
230,
161,
247,
101,
41468,
164,
106,
123,
29785,
106,
42468,
20998,
107,
20015,
98,
21410,
11,
19526,
228,
42468,
28839,
101,
47987,
163,
254,
223,
40792,
164,
233,
98,
38834,
162,
249,
123,
162,
235,
95,
59,
46237,
98,
27764,
245,
163,
105,
99,
11,
27670,
248,
43380,
120,
164,
229,
112,
162,
232,
98,
165,
242,
247,
13,
198,
5450,
7479,
14,
11139,
43021,
260,
4906,
13,
17457,
9600,
13,
785,
11139,
260,
4906,
11139,
89,
4207,
11139,
21,
64,
1270,
65,
2934,
17,
69,
23,
66,
2425,
21855,
16072,
3324,
9945,
1954,
66,
30,
21999,
28,
19,
5,
430,
1383,
28,
24045,
5,
1831,
71,
28,
40215,
5,
78,
28,
9479,
62,
21,
5,
9132,
20,
16345,
28,
69,
24,
558,
38314,
10210,
1485,
65,
16344,
15,
69,
24,
324,
25096,
67,
3324,
1878,
2713,
13331,
5,
12683,
28,
46396,
31980,
2425,
2857,
5,
11134,
28,
42224,
2414,
12,
21033,
30743,
5,
9479,
28,
1828,
2425,
3270,
12,
2623,
3365,
1495,
198,
37811
] | 1.615472 | 879 |
from header_common import *
from header_presentations import *
from header_mission_templates import *
from ID_meshes import *
from header_operations import *
from header_triggers import *
from module_constants import *
#import string
from xgm_mod_options_header import *
############################################################################
## 0) overlay id (not used atm, but can allow searches in future. just put something unique)
## 1) overlay type (defined in xgm_mod_options_header)
## 2) overlay type specific parameters (e.g. for number box, it can be lower/upper range, for cbobox, it would be the cbo items etc)
## a) xgm_ov_numberbox : lower_bound(inclusive), upper_bound(exclusive). e.g. [0,101] for range of values from 0-100
## b) xgm_ov_combolabel/xgm_ov_combobutton : list of combo items. e.g. ["option1", "option2", "option3"]
## c) xgm_ov_slider : lower_bound(inclusive), upper_bound(exclusive). e.g. [0,101] for range of values from 0-100
## d) xgm_ov_checkbox : not used fttb. just leave empty. e.g. []
## 3) text label
## 4) reserved for text label flags
## 5) description (unused for now. may be used for stuff like tooltip in future)
## 6) reserved for description flags
## 7) initialization op block. Used for updating the overlay values from game values. Must assign the desired value to reg1.
## 8) update op block. Used for updating game values from overlay values. The overlay value is in reg1.
## 9) optional. reserved for option page id. unused for now. leave out for options using general page.
############################################################################
mod_options = [
("camp_fuck_setting", xgm_ov_combolabel, ["Disabled", "Consensual Only", "All Enabled"], "Sexual Content:", 0,
"Settings for sexual content in game.", 0,
[(try_begin),
(eq, "$g_sexual_content", 0),
(assign, reg1, 0),
(else_try),
(eq, "$g_sexual_content", 1),
(assign, reg1, 1),
(else_try),
(eq, "$g_sexual_content", 2),
(assign, reg1, 2),
(try_end),],
[(try_begin),
(eq, reg1, 0),
(assign, "$g_sexual_content", 0),
(else_try),
(eq, reg1, 1),
(assign, "$g_sexual_content", 1),
(else_try),
(eq, reg1, 2),
(assign, "$g_sexual_content", 2),
(try_end),
],
),
("dplmc_woman_prejudice", xgm_ov_combolabel, ["Historical", "Tolerant", "Utopian"], "Diplomacy - Prejudice:", 0,
"Setting for Diplomacy's prejudice changes.", 0,
[
(assign, reg1, "$g_disable_condescending_comments"),
],
[
(assign, "$g_disable_condescending_comments", reg1),
],
),
("camp_polygamy", xgm_ov_checkbox, [], "Polygamy:", 0,
"Toggles polygamy settings", 0,
[(try_begin),
(eq, "$g_polygamy", 0),
(assign, reg1, 0),
(else_try),
(eq, "$g_polygamy", 1),
(assign, reg1, 1),
(try_end),
],
[
(try_begin),
(eq, reg1, 0),
(assign, "$g_polygamy", 0),
(else_try),
(eq, reg1, 1),
(assign, "$g_polygamy", 1),
(try_end),
],
),
( "camp_nohomobro", xgm_ov_checkbox , [],
"Disable Gay:", 0,
"Disables gay scenes.", 0,
[ # initialization block (set value in reg1)
(assign, reg1, "$g_nohomo"),
],
[ # update block (value is in reg1)
(assign, "$g_nohomo", reg1),
],
),
( "camp_no_dancers", xgm_ov_checkbox , [],
"Feast Dancers:", 0,
"Toggles dancers during feasts.", 0,
[ # initialization block (set value in reg1)
(assign, reg1, "$g_feast_dancers"),
],
[ # update block (value is in reg1)
(assign, "$g_feast_dancers", reg1),
],
),
("camp_dark_hunters", xgm_ov_checkbox, [], "Black Khergits and Dark Hunters:", 0,
"Settings for Dark Hunters and Black Khergits.", 0,
[
(try_begin),
(eq, "$g_dark_hunters_enabled", 0),
(assign, reg1, 0),
(else_try),
(eq, "$g_dark_hunters_enabled", 1),
(assign, reg1, 1),
(try_end),
],
[
(try_begin),
(eq, reg1, 0),
(assign, "$g_dark_hunters_enabled", 0),
(assign, ":removed", 0),
(try_for_parties, ":party_no"),
(party_get_template_id, ":ptid", ":party_no"),
(this_or_next|eq, ":ptid", "pt_dark_hunters"),
(eq, ":ptid", "pt_black_khergit_raiders"),
(remove_party, ":party_no"),
(val_add, ":removed", 1),
(try_end),
(assign, reg0, ":removed"),
(display_message, "@{reg0} parties removed from the map."),
(else_try),
(eq, reg1, 1),
(assign, "$g_dark_hunters_enabled", 1),
(try_end),
],
),
( "keep_companions", xgm_ov_checkbox , [],
"Keep Companions:", 0,
"Setting for keeping companions after defeat", 0,
[ # initialization block (set value in reg1)
(assign, reg1, "$g_keep_companions"),
],
[ # update block (value is in reg1)
(assign, "$g_keep_companions", reg1),
],
),
( "disable_complaints", xgm_ov_checkbox , [],
"Disable Complaints:", 0,
"Setting for disabling companion complaints", 0,
[ # initialization block (set value in reg1)
(assign, reg1, "$disable_npc_complaints"),
],
[ # update block (value is in reg1)
(assign, "$disable_npc_complaints", reg1),
],
),
( "disable_bodyguard", xgm_ov_checkbox , [],
"Disable Bodyguards:", 0,
"Setting for disabling companions as bodyguards", 0,
[ # initialization block (set value in reg1)
(assign, reg1, "$disable_bodyguards"),
],
[ # update block (value is in reg1)
(assign, "$disable_bodyguards", reg1),
],
),
("camp_realistic_wounding", xgm_ov_checkbox, [], "Realistic Casualties:", 0,
"Toggles realistic wounding for other damage types", 0,
[(try_begin),
(eq, "$g_realistic_wounding", 0),
(assign, reg1, 0),
(else_try),
(eq, "$g_realistic_wounding", 1),
(assign, reg1, 1),
(try_end),
],
[
(try_begin),
(eq, reg1, 0),
(assign, "$g_realistic_wounding", 0),
(else_try),
(eq, reg1, 1),
(assign, "$g_realistic_wounding", 1),
(try_end),
],
),
("enable_shield_bash", xgm_ov_combolabel, ["Disabled", "Player Only", "All Combatants"], "Shield Bash:", 0,
"Setting for Diplomacy's prejudice changes.", 0,
[
(assign, reg1, "$g_enable_shield_bash"),
],
[
(assign, "$g_enable_shield_bash", reg1),
],
),
("horizontal_divide", xgm_ov_line, [], "", 0,"", 0,[],[],),
( "dplmc_horsespeed", xgm_ov_checkbox , [],
"Diplomacy - Horse Speed:", 0,
"Setting for Diplomacy's horse speed changes", 0,
[ # initialization block (set value in reg1)
(store_sub,reg1,1,"$g_dplmc_horse_speed"),
],
[ # update block (value is in reg1)
(store_sub,"$g_dplmc_horse_speed",1,reg1),
],
),
( "dplmc_battlecontinue", xgm_ov_checkbox , [],
"Diplomacy - Battle Continuation:", 0,
"Setting for Diplomacy's battle continuation", 0,
[ # initialization block (set value in reg1)
(store_sub,reg1,1,"$g_dplmc_battle_continuation"),
],
[ # update block (value is in reg1)
(store_sub,"$g_dplmc_battle_continuation",1,reg1),
],
),
( "dplmc_disguise", xgm_ov_checkbox , [],
"Diplomacy - Disguise System:", 0,
"Setting for Diplomacy's disguise system", 0,
[ # initialization block (set value in reg1)
(assign, reg1, "$g_dplmc_player_disguise"),
],
[ # update block (value is in reg1)
(assign, "$g_dplmc_player_disguise", reg1),
],
),
( "dplmc_terrain_advantage", xgm_ov_checkbox , [],
"Diplomacy - Autocalc Terrain Advantage:", 0,
"Setting for Diplomacy's terrain advantage.", 0,
[ # initialization block (set value in reg1)
(try_begin),
(eq, "$g_dplmc_terrain_advantage", DPLMC_TERRAIN_ADVANTAGE_DISABLE),
(assign, reg1, 0),
(else_try),
(eq, "$g_dplmc_terrain_advantage", DPLMC_TERRAIN_ADVANTAGE_ENABLE),
(assign, reg1, 1),
(try_end),
],
[ # update block (value is in reg1)
(try_begin),
(eq, reg1, 0),
(assign, "$g_dplmc_terrain_advantage", DPLMC_TERRAIN_ADVANTAGE_DISABLE),
(else_try),
(eq, reg1, 1),
(assign, "$g_dplmc_terrain_advantage", DPLMC_TERRAIN_ADVANTAGE_ENABLE),
(try_end),
],
),
( "dplmc_lord_recycling", xgm_ov_checkbox , [],
"Diplomacy - Returning From Exile:", 0,
"Setting for Diplomacy's terrain advantage.", 0,
[ # initialization block (set value in reg1)
(try_begin),
(eq, "$g_dplmc_lord_recycling", DPLMC_LORD_RECYCLING_DISABLE),
(assign, reg1, 0),
(else_try),
(eq, "$g_dplmc_lord_recycling", DPLMC_LORD_RECYCLING_ENABLE),
(assign, reg1, 1),
(try_end),
],
[ # update block (value is in reg1)
(try_begin),
(eq, reg1, 0),
(assign, "$g_dplmc_lord_recycling", DPLMC_LORD_RECYCLING_DISABLE),
(else_try),
(eq, reg1, 1),
(assign, "$g_dplmc_lord_recycling", DPLMC_LORD_RECYCLING_ENABLE),
(try_end),
],
),
("dplmc_ai_changes_a", xgm_ov_combolabel, ["Disabled", "Low", "Medium", "High"], "Diplomacy - AI Changes:", 0,
"Setting for Diplomacy's AI changes.", 0,
[
(try_begin),
(eq, "$g_dplmc_ai_changes", DPLMC_AI_CHANGES_DISABLE),
(assign, reg1, 0),
(else_try),
(eq, "$g_dplmc_ai_changes", DPLMC_AI_CHANGES_LOW),
(assign, reg1, 1),
(else_try),
(eq, "$g_dplmc_ai_changes", DPLMC_AI_CHANGES_MEDIUM),
(assign, reg1, 2),
(else_try),
(eq, "$g_dplmc_ai_changes", DPLMC_AI_CHANGES_HIGH),
(assign, reg1, 3),
(try_end),
],
[
(try_begin),
(eq, reg1, 0),
(assign, "$g_dplmc_ai_changes", DPLMC_AI_CHANGES_DISABLE),
(else_try),
(eq, reg1, 1),
(assign, "$g_dplmc_ai_changes", DPLMC_AI_CHANGES_LOW),
(else_try),
(eq, reg1, 2),
(assign, "$g_dplmc_ai_changes", DPLMC_AI_CHANGES_MEDIUM),
(else_try),
(eq, reg1, 3),
(assign, "$g_dplmc_ai_changes", DPLMC_AI_CHANGES_HIGH),
(try_end),
],
),
("dplmc_gold_changes", xgm_ov_combolabel, ["Disabled", "Low", "Medium", "High"], "Diplomacy - Economy Changes:", 0,
"Setting for Diplomacy's economy changes.", 0,
[
(try_begin),
(eq, "$g_dplmc_gold_changes", DPLMC_GOLD_CHANGES_DISABLE),
(assign, reg1, 0),
(else_try),
(eq, "$g_dplmc_gold_changes", DPLMC_GOLD_CHANGES_LOW),
(assign, reg1, 1),
(else_try),
(eq, "$g_dplmc_gold_changes", DPLMC_GOLD_CHANGES_MEDIUM),
(assign, reg1, 2),
(else_try),
(eq, "$g_dplmc_gold_changes", DPLMC_GOLD_CHANGES_HIGH),
(assign, reg1, 3),
(try_end),
],
[
(try_begin),
(eq, reg1, 0),
(assign, "$g_dplmc_gold_changes", DPLMC_GOLD_CHANGES_DISABLE),
(else_try),
(eq, reg1, 1),
(assign, "$g_dplmc_gold_changes", DPLMC_GOLD_CHANGES_LOW),
(else_try),
(eq, reg1, 2),
(assign, "$g_dplmc_gold_changes", DPLMC_GOLD_CHANGES_MEDIUM),
(else_try),
(eq, reg1, 3),
(assign, "$g_dplmc_gold_changes", DPLMC_GOLD_CHANGES_HIGH),
(try_end),
],
),
("horizontal_divide", xgm_ov_line, [], "", 0,"", 0,[],[],),
("minimap_setting", xgm_ov_combolabel, ["Compass Style", "Small Minimap", "Medium Minimap", "Large Minimap", "Disabled"], "Battle Minimap Overlay:", 0,
"Setting for the minimap.", 0,
[
(try_begin),
(eq, "$g_minimap_style", -1),
(assign, reg1, 4),
(else_try),
(assign, reg1, "$g_minimap_style"),
(try_end),
],
[
(try_begin),
(eq, reg1, 4),
(assign, "$g_minimap_style", -1),
(else_try),
(assign, "$g_minimap_style", reg1),
(try_end),
],
),
("minimap_setting", xgm_ov_combolabel, ["Disabled", "Only Allies", "Only Enemies", "All Troops"], "Troop HP Bars:", 0,
"Setting for troop HP bars.", 0,
[
(try_begin), # Ally
(eq, "$g_hp_bar_enemy", 0),
(eq, "$g_hp_bar_ally", 1),
(assign, reg1, 1),
(else_try), # Enemy
(eq, "$g_hp_bar_enemy", 1),
(eq, "$g_hp_bar_ally", 0),
(assign, reg1, 2),
(else_try), # Both
(eq, "$g_hp_bar_enemy", 1),
(eq, "$g_hp_bar_ally", 1),
(assign, reg1, 3),
(else_try), # None
(assign, reg1, 0),
(try_end),
],
[
(try_begin), # Ally
(eq, reg1, 1),
(assign, "$g_hp_bar_enemy", 0),
(assign, "$g_hp_bar_ally", 1),
(else_try), # Enemy
(eq, reg1, 2),
(assign, "$g_hp_bar_enemy", 1),
(assign, "$g_hp_bar_ally", 0),
(else_try), # Both
(eq, reg1, 3),
(assign, "$g_hp_bar_enemy", 1),
(assign, "$g_hp_bar_ally", 1),
(else_try), # None
(assign, "$g_hp_bar_enemy", 0),
(assign, "$g_hp_bar_ally", 0),
(try_end),
],
),
("minimap_setting", xgm_ov_numberbox, [3,81], "HP Bar Distance Limit:", 0,
"Setting for the HP Bars.", 0,
[
(assign, reg1, "$g_hp_bar_dis_limit"),
],
[
(assign, "$g_hp_bar_dis_limit", reg1),
],
),
("camp_troop_ratio_bar", xgm_ov_checkbox, [], "Troop ratio bar:", 0,
"Toggles troop ratio bar", 0,
[(try_begin),
(eq, "$g_troop_ratio_bar", 0),
(assign, reg1, 0),
(else_try),
(eq, "$g_troop_ratio_bar", 1),
(assign, reg1, 1),
(try_end),
],
[
(try_begin),
(eq, reg1, 0),
(assign, "$g_troop_ratio_bar", 0),
(else_try),
(eq, reg1, 1),
(assign, "$g_troop_ratio_bar", 1),
(try_end),
],
),
("camp_decapitation", xgm_ov_checkbox, [], "Decapitation:", 0,
"Toggles Decapitation", 0,
[(try_begin),
(eq, "$g_decapitation_enabled", 0),
(assign, reg1, 0),
(else_try),
(eq, "$g_decapitation_enabled", 1),
(assign, reg1, 1),
(try_end),
],
[
(try_begin),
(eq, reg1, 0),
(assign, "$g_decapitation_enabled", 0),
(else_try),
(eq, reg1, 1),
(assign, "$g_decapitation_enabled", 1),
(try_end),
],
),
("horizontal_divide", xgm_ov_line, [], "", 0,"", 0,[],[],),
( "op_cheatmode", xgm_ov_checkbox , [],
"Cheat mode:", 0,
"This sets the in-game cheat mode", 0,
[ # initialization block (set value in reg1)
(assign, reg1, "$cheat_mode"),
],
[ # update block (value is in reg1)
(assign, "$cheat_mode", reg1),
],
),
] # mod_options
# TODO: add option pages here
# collation of all *_mod_options.py from active mods
# import and merge related variables from all {active_mod}_mod_options.py for all active mods
#try:
# from modmerger_options import options, mods_active
# from modmerger import mod_get_process_order, mod_is_active
# from util_common import add_objects
# modcomp_name = "mod_options"
# var_list = ["mod_options",]
#from modmerger import modmerge
#modmerge(var_set)
# mod_process_order = mod_get_process_order(modcomp_name)
# vars_to_import= ["mod_options"]
# for x in mod_process_order:
# if(mod_is_active(x) and x <> "xgm_mod_options"): # must exclude this file since we are using this file as base
# try:
#mergefn_name = "modmerge_%s"%(modcomp_name)
# target_module_name = "%s_%s"%(x,modcomp_name)
# _temp = __import__( target_module_name , globals(), locals(), vars_to_import,-1)
# logger.info("Merging objects for component \"%s\" from mod \"%s\"..."%(modcomp_name,x))
#
# add_objects(mod_options, _temp.mod_options) # import from target module.
#
# # TODO: collect option pages
# except ImportError:
# errstring = "Failed importing for component \"%s\" for mod \"%s\"." % (modcomp_name, x)
# logger.debug(errstring)
# else:
# errstring = "Mod \"%s\" not active for Component \"%s\"." % (x, modcomp_name)
# logger.debug(errstring)
#except:
# raise
# collation end
# At this point, mod_options will contain the list of all mod_options specified.
## utility functions
from util_wrappers import *
# helper wrapper to access mod_options
## class ModOptionWrapper
# this function will compute the total height required for a list of mod_options.
## mod_options_get_total_height
| [
6738,
13639,
62,
11321,
1330,
1635,
198,
6738,
13639,
62,
25579,
602,
1330,
1635,
198,
6738,
13639,
62,
3411,
62,
11498,
17041,
1330,
1635,
198,
6738,
4522,
62,
6880,
956,
1330,
1635,
198,
6738,
13639,
62,
3575,
602,
1330,
1635,
198,
6738,
13639,
62,
2213,
328,
5355,
1330,
1635,
198,
6738,
8265,
62,
9979,
1187,
1330,
1635,
198,
2,
11748,
4731,
198,
198,
6738,
2124,
39870,
62,
4666,
62,
25811,
62,
25677,
1330,
1635,
198,
198,
29113,
29113,
7804,
4242,
198,
2235,
657,
8,
33345,
4686,
357,
1662,
973,
379,
76,
11,
475,
460,
1249,
15455,
287,
2003,
13,
655,
1234,
1223,
3748,
8,
198,
2235,
352,
8,
33345,
2099,
357,
23211,
287,
2124,
39870,
62,
4666,
62,
25811,
62,
25677,
8,
198,
2235,
362,
8,
33345,
2099,
2176,
10007,
357,
68,
13,
70,
13,
329,
1271,
3091,
11,
340,
460,
307,
2793,
14,
45828,
2837,
11,
329,
269,
65,
672,
1140,
11,
340,
561,
307,
262,
269,
2127,
3709,
3503,
8,
198,
2235,
220,
220,
220,
257,
8,
2124,
39870,
62,
709,
62,
17618,
3524,
1058,
2793,
62,
7784,
7,
259,
5731,
828,
6727,
62,
7784,
7,
41195,
737,
304,
13,
70,
13,
685,
15,
11,
8784,
60,
329,
2837,
286,
3815,
422,
657,
12,
3064,
198,
2235,
220,
220,
220,
275,
8,
2124,
39870,
62,
709,
62,
24011,
349,
9608,
14,
87,
39870,
62,
709,
62,
24011,
672,
21115,
220,
1058,
1351,
286,
14831,
3709,
13,
304,
13,
70,
13,
14631,
18076,
16,
1600,
366,
18076,
17,
1600,
366,
18076,
18,
8973,
198,
2235,
220,
220,
220,
269,
8,
2124,
39870,
62,
709,
62,
6649,
1304,
1058,
2793,
62,
7784,
7,
259,
5731,
828,
6727,
62,
7784,
7,
41195,
737,
304,
13,
70,
13,
685,
15,
11,
8784,
60,
329,
2837,
286,
3815,
422,
657,
12,
3064,
198,
2235,
220,
220,
220,
288,
8,
2124,
39870,
62,
709,
62,
9122,
3524,
1058,
407,
973,
277,
926,
65,
13,
655,
2666,
6565,
13,
304,
13,
70,
13,
17635,
198,
2235,
513,
8,
2420,
6167,
198,
2235,
604,
8,
10395,
329,
2420,
6167,
9701,
198,
2235,
642,
8,
6764,
357,
403,
1484,
329,
783,
13,
743,
307,
973,
329,
3404,
588,
49472,
287,
2003,
8,
198,
2235,
718,
8,
10395,
329,
6764,
9701,
198,
2235,
767,
8,
37588,
1034,
2512,
13,
220,
16718,
329,
19698,
262,
33345,
3815,
422,
983,
3815,
13,
12039,
8333,
262,
10348,
1988,
284,
842,
16,
13,
198,
2235,
807,
8,
4296,
1034,
2512,
13,
220,
16718,
329,
19698,
983,
3815,
422,
33345,
3815,
13,
383,
33345,
1988,
318,
287,
842,
16,
13,
198,
2235,
860,
8,
11902,
13,
10395,
329,
3038,
2443,
4686,
13,
21958,
329,
783,
13,
2666,
503,
329,
3689,
1262,
2276,
2443,
13,
198,
29113,
29113,
7804,
4242,
198,
198,
4666,
62,
25811,
796,
685,
628,
220,
220,
220,
5855,
16544,
62,
31699,
62,
33990,
1600,
2124,
39870,
62,
709,
62,
24011,
349,
9608,
11,
14631,
7279,
4510,
1600,
366,
9444,
31406,
5514,
1600,
366,
3237,
37344,
33116,
366,
49161,
14041,
25,
1600,
657,
11,
198,
197,
220,
366,
26232,
329,
3206,
2695,
287,
983,
33283,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
47527,
28311,
62,
27471,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
17971,
70,
62,
18338,
62,
11299,
1600,
657,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
842,
16,
11,
657,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
17772,
62,
28311,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
17971,
70,
62,
18338,
62,
11299,
1600,
352,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
842,
16,
11,
352,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
17772,
62,
28311,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
17971,
70,
62,
18338,
62,
11299,
1600,
362,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
842,
16,
11,
362,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
28311,
62,
437,
828,
4357,
198,
220,
220,
220,
220,
47527,
28311,
62,
27471,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
842,
16,
11,
657,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
17971,
70,
62,
18338,
62,
11299,
1600,
657,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
17772,
62,
28311,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
842,
16,
11,
352,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
17971,
70,
62,
18338,
62,
11299,
1600,
352,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
17772,
62,
28311,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
842,
16,
11,
362,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
17971,
70,
62,
18338,
62,
11299,
1600,
362,
828,
198,
220,
220,
220,
220,
220,
357,
28311,
62,
437,
828,
198,
220,
220,
220,
220,
220,
16589,
198,
198,
828,
628,
220,
220,
220,
5855,
67,
489,
23209,
62,
8580,
62,
3866,
10456,
501,
1600,
2124,
39870,
62,
709,
62,
24011,
349,
9608,
11,
14631,
13749,
12409,
1600,
366,
51,
13625,
415,
1600,
366,
52,
4852,
666,
33116,
366,
18683,
7302,
1590,
532,
3771,
10456,
501,
25,
1600,
657,
11,
198,
197,
220,
366,
34149,
329,
34905,
1590,
338,
20226,
2458,
33283,
657,
11,
198,
197,
197,
58,
198,
197,
197,
197,
197,
7,
562,
570,
11,
842,
16,
11,
17971,
70,
62,
40223,
62,
17561,
3798,
1571,
62,
15944,
12340,
198,
197,
197,
4357,
198,
197,
197,
58,
198,
197,
197,
197,
197,
7,
562,
570,
11,
17971,
70,
62,
40223,
62,
17561,
3798,
1571,
62,
15944,
1600,
842,
16,
828,
198,
197,
197,
4357,
198,
197,
828,
628,
220,
220,
220,
5855,
16544,
62,
35428,
70,
14814,
1600,
2124,
39870,
62,
709,
62,
9122,
3524,
11,
685,
4357,
366,
34220,
70,
14814,
25,
1600,
657,
11,
198,
197,
220,
366,
51,
48549,
43111,
6460,
1600,
657,
11,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
47527,
28311,
62,
27471,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
17971,
70,
62,
35428,
70,
14814,
1600,
657,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
842,
16,
11,
657,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
17772,
62,
28311,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
17971,
70,
62,
35428,
70,
14814,
1600,
352,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
842,
16,
11,
352,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
28311,
62,
437,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
357,
28311,
62,
27471,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
842,
16,
11,
657,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
17971,
70,
62,
35428,
70,
14814,
1600,
657,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
17772,
62,
28311,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
842,
16,
11,
352,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
17971,
70,
62,
35428,
70,
14814,
1600,
352,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
28311,
62,
437,
828,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
828,
628,
220,
220,
220,
357,
366,
16544,
62,
77,
1219,
296,
672,
305,
1600,
2124,
39870,
62,
709,
62,
9122,
3524,
837,
220,
685,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
48893,
16013,
25,
1600,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
7279,
2977,
5650,
8188,
33283,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
685,
220,
1303,
37588,
2512,
357,
2617,
1988,
287,
842,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
842,
16,
11,
17971,
70,
62,
77,
1219,
17902,
12340,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
220,
220,
220,
220,
685,
220,
1303,
4296,
2512,
357,
8367,
318,
287,
842,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
17971,
70,
62,
77,
1219,
17902,
1600,
842,
16,
828,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
10612,
628,
220,
220,
220,
357,
366,
16544,
62,
3919,
62,
67,
20811,
1600,
2124,
39870,
62,
709,
62,
9122,
3524,
837,
220,
685,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
14304,
459,
360,
20811,
25,
1600,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
51,
48549,
35837,
1141,
730,
5773,
33283,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
685,
220,
1303,
37588,
2512,
357,
2617,
1988,
287,
842,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
842,
16,
11,
17971,
70,
62,
5036,
459,
62,
67,
20811,
12340,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
220,
220,
220,
220,
685,
220,
1303,
4296,
2512,
357,
8367,
318,
287,
842,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
17971,
70,
62,
5036,
459,
62,
67,
20811,
1600,
842,
16,
828,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
10612,
628,
198,
220,
220,
220,
5855,
16544,
62,
21953,
62,
20088,
1010,
1600,
2124,
39870,
62,
709,
62,
9122,
3524,
11,
685,
4357,
366,
9915,
509,
372,
70,
896,
290,
3801,
31196,
25,
1600,
657,
11,
198,
220,
220,
220,
220,
366,
26232,
329,
3801,
31196,
290,
2619,
509,
372,
70,
896,
33283,
657,
11,
198,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
28311,
62,
27471,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
17971,
70,
62,
21953,
62,
20088,
1010,
62,
25616,
1600,
657,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
842,
16,
11,
657,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
17772,
62,
28311,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
17971,
70,
62,
21953,
62,
20088,
1010,
62,
25616,
1600,
352,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
842,
16,
11,
352,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
28311,
62,
437,
828,
198,
220,
220,
16589,
198,
220,
220,
220,
220,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
357,
28311,
62,
27471,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
842,
16,
11,
657,
828,
628,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
17971,
70,
62,
21953,
62,
20088,
1010,
62,
25616,
1600,
657,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
366,
25,
2787,
2668,
1600,
657,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
28311,
62,
1640,
62,
3911,
444,
11,
366,
25,
10608,
62,
3919,
12340,
198,
220,
220,
220,
220,
220,
220,
220,
357,
10608,
62,
1136,
62,
28243,
62,
312,
11,
366,
25,
457,
312,
1600,
366,
25,
10608,
62,
3919,
12340,
198,
220,
220,
220,
220,
220,
220,
220,
357,
5661,
62,
273,
62,
19545,
91,
27363,
11,
366,
25,
457,
312,
1600,
366,
457,
62,
21953,
62,
20088,
1010,
12340,
198,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
366,
25,
457,
312,
1600,
366,
457,
62,
13424,
62,
74,
372,
18300,
62,
430,
4157,
12340,
198,
220,
220,
220,
220,
220,
220,
220,
357,
28956,
62,
10608,
11,
366,
25,
10608,
62,
3919,
12340,
198,
220,
220,
220,
220,
220,
220,
220,
357,
2100,
62,
2860,
11,
366,
25,
2787,
2668,
1600,
352,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
28311,
62,
437,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
842,
15,
11,
366,
25,
2787,
2668,
12340,
198,
220,
220,
220,
220,
220,
220,
220,
357,
13812,
62,
20500,
11,
44212,
90,
2301,
15,
92,
4671,
4615,
422,
262,
3975,
526,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
17772,
62,
28311,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
842,
16,
11,
352,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
17971,
70,
62,
21953,
62,
20088,
1010,
62,
25616,
1600,
352,
828,
198,
220,
220,
220,
220,
220,
357,
28311,
62,
437,
828,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
197,
828,
628,
220,
220,
220,
357,
366,
14894,
62,
34390,
507,
1600,
2124,
39870,
62,
709,
62,
9122,
3524,
837,
220,
685,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
15597,
16154,
507,
25,
1600,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
34149,
329,
5291,
19429,
706,
7433,
1600,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
685,
220,
1303,
37588,
2512,
357,
2617,
1988,
287,
842,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
842,
16,
11,
17971,
70,
62,
14894,
62,
34390,
507,
12340,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
220,
220,
220,
220,
685,
220,
1303,
4296,
2512,
357,
8367,
318,
287,
842,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
17971,
70,
62,
14894,
62,
34390,
507,
1600,
842,
16,
828,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
10612,
628,
220,
220,
220,
357,
366,
40223,
62,
23855,
6003,
1600,
2124,
39870,
62,
709,
62,
9122,
3524,
837,
220,
685,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
48893,
20011,
6003,
25,
1600,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
34149,
329,
34909,
15185,
9687,
1600,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
685,
220,
1303,
37588,
2512,
357,
2617,
1988,
287,
842,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
842,
16,
11,
17971,
40223,
62,
77,
14751,
62,
23855,
6003,
12340,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
220,
220,
220,
220,
685,
220,
1303,
4296,
2512,
357,
8367,
318,
287,
842,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
17971,
40223,
62,
77,
14751,
62,
23855,
6003,
1600,
842,
16,
828,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
10612,
628,
220,
220,
220,
357,
366,
40223,
62,
2618,
14864,
1600,
2124,
39870,
62,
709,
62,
9122,
3524,
837,
220,
685,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
48893,
12290,
33427,
25,
1600,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
34149,
329,
34909,
19429,
355,
1767,
33427,
1600,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
685,
220,
1303,
37588,
2512,
357,
2617,
1988,
287,
842,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
842,
16,
11,
17971,
40223,
62,
2618,
33427,
12340,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
220,
220,
220,
220,
685,
220,
1303,
4296,
2512,
357,
8367,
318,
287,
842,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
17971,
40223,
62,
2618,
33427,
1600,
842,
16,
828,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
10612,
628,
220,
220,
220,
5855,
16544,
62,
5305,
2569,
62,
86,
9969,
1600,
2124,
39870,
62,
709,
62,
9122,
3524,
11,
685,
4357,
366,
15633,
2569,
43508,
4278,
25,
1600,
657,
11,
198,
197,
220,
366,
51,
48549,
12653,
40942,
329,
584,
2465,
3858,
1600,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
47527,
28311,
62,
27471,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
17971,
70,
62,
5305,
2569,
62,
86,
9969,
1600,
657,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
842,
16,
11,
657,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
17772,
62,
28311,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
17971,
70,
62,
5305,
2569,
62,
86,
9969,
1600,
352,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
842,
16,
11,
352,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
28311,
62,
437,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
357,
28311,
62,
27471,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
842,
16,
11,
657,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
17971,
70,
62,
5305,
2569,
62,
86,
9969,
1600,
657,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
17772,
62,
28311,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
842,
16,
11,
352,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
17971,
70,
62,
5305,
2569,
62,
86,
9969,
1600,
352,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
28311,
62,
437,
828,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
198,
828,
628,
220,
220,
220,
5855,
21633,
62,
26662,
62,
41757,
1600,
2124,
39870,
62,
709,
62,
24011,
349,
9608,
11,
14631,
7279,
4510,
1600,
366,
14140,
5514,
1600,
366,
3237,
14487,
1187,
33116,
366,
33651,
15743,
25,
1600,
657,
11,
198,
197,
220,
366,
34149,
329,
34905,
1590,
338,
20226,
2458,
33283,
657,
11,
198,
197,
197,
58,
198,
197,
197,
197,
7,
562,
570,
11,
842,
16,
11,
17971,
70,
62,
21633,
62,
26662,
62,
41757,
12340,
198,
197,
197,
4357,
198,
197,
197,
58,
198,
197,
197,
197,
7,
562,
570,
11,
17971,
70,
62,
21633,
62,
26662,
62,
41757,
1600,
842,
16,
828,
198,
197,
197,
4357,
198,
197,
828,
628,
220,
220,
220,
5855,
17899,
38342,
62,
7146,
485,
1600,
2124,
39870,
62,
709,
62,
1370,
11,
685,
4357,
366,
1600,
657,
553,
1600,
657,
17414,
38430,
4357,
828,
628,
220,
220,
220,
357,
366,
67,
489,
23209,
62,
71,
11836,
39492,
1600,
2124,
39870,
62,
709,
62,
9122,
3524,
837,
220,
685,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
18683,
7302,
1590,
532,
18455,
8729,
25,
1600,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
34149,
329,
34905,
1590,
338,
8223,
2866,
2458,
1600,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
685,
220,
1303,
37588,
2512,
357,
2617,
1988,
287,
842,
16,
8,
198,
197,
197,
197,
7,
8095,
62,
7266,
11,
2301,
16,
11,
16,
553,
3,
70,
62,
67,
489,
23209,
62,
30527,
62,
12287,
12340,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
220,
220,
220,
220,
685,
220,
1303,
4296,
2512,
357,
8367,
318,
287,
842,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
8095,
62,
7266,
553,
3,
70,
62,
67,
489,
23209,
62,
30527,
62,
12287,
1600,
16,
11,
2301,
16,
828,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
10612,
628,
220,
220,
220,
357,
366,
67,
489,
23209,
62,
38471,
43043,
1600,
2124,
39870,
62,
709,
62,
9122,
3524,
837,
220,
685,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
18683,
7302,
1590,
532,
5838,
6389,
2288,
25,
1600,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
34149,
329,
34905,
1590,
338,
3344,
24659,
1600,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
685,
220,
1303,
37588,
2512,
357,
2617,
1988,
287,
842,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
8095,
62,
7266,
11,
2301,
16,
11,
16,
553,
3,
70,
62,
67,
489,
23209,
62,
38471,
62,
18487,
2288,
12340,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
220,
220,
220,
220,
685,
220,
1303,
4296,
2512,
357,
8367,
318,
287,
842,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
8095,
62,
7266,
553,
3,
70,
62,
67,
489,
23209,
62,
38471,
62,
18487,
2288,
1600,
16,
11,
2301,
16,
828,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
10612,
628,
220,
220,
220,
357,
366,
67,
489,
23209,
62,
6381,
5162,
786,
1600,
2124,
39870,
62,
709,
62,
9122,
3524,
837,
220,
685,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
18683,
7302,
1590,
532,
3167,
5162,
786,
4482,
25,
1600,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
34149,
329,
34905,
1590,
338,
27487,
1080,
1600,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
685,
220,
1303,
37588,
2512,
357,
2617,
1988,
287,
842,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
842,
16,
11,
17971,
70,
62,
67,
489,
23209,
62,
7829,
62,
6381,
5162,
786,
12340,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
220,
220,
220,
220,
685,
220,
1303,
4296,
2512,
357,
8367,
318,
287,
842,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
17971,
70,
62,
67,
489,
23209,
62,
7829,
62,
6381,
5162,
786,
1600,
842,
16,
828,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
10612,
628,
220,
220,
220,
357,
366,
67,
489,
23209,
62,
353,
3201,
62,
13461,
496,
1600,
2124,
39870,
62,
709,
62,
9122,
3524,
837,
220,
685,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
18683,
7302,
1590,
532,
5231,
4374,
66,
3813,
3201,
45318,
25,
1600,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
34149,
329,
34905,
1590,
338,
15510,
4621,
33283,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
685,
220,
1303,
37588,
2512,
357,
2617,
1988,
287,
842,
16,
8,
198,
197,
197,
7,
28311,
62,
27471,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
17971,
70,
62,
67,
489,
23209,
62,
353,
3201,
62,
13461,
496,
1600,
360,
6489,
9655,
62,
5781,
3861,
1268,
62,
2885,
53,
8643,
11879,
62,
26288,
17534,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
842,
16,
11,
657,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
357,
17772,
62,
28311,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
17971,
70,
62,
67,
489,
23209,
62,
353,
3201,
62,
13461,
496,
1600,
360,
6489,
9655,
62,
5781,
3861,
1268,
62,
2885,
53,
8643,
11879,
62,
1677,
17534,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
842,
16,
11,
352,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
28311,
62,
437,
828,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
197,
197,
58,
220,
1303,
4296,
2512,
357,
8367,
318,
287,
842,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
357,
28311,
62,
27471,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
842,
16,
11,
657,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
17971,
70,
62,
67,
489,
23209,
62,
353,
3201,
62,
13461,
496,
1600,
360,
6489,
9655,
62,
5781,
3861,
1268,
62,
2885,
53,
8643,
11879,
62,
26288,
17534,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
17772,
62,
28311,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
842,
16,
11,
352,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
17971,
70,
62,
67,
489,
23209,
62,
353,
3201,
62,
13461,
496,
1600,
360,
6489,
9655,
62,
5781,
3861,
1268,
62,
2885,
53,
8643,
11879,
62,
1677,
17534,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
28311,
62,
437,
828,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
10612,
628,
220,
220,
220,
357,
366,
67,
489,
23209,
62,
10572,
62,
20568,
8493,
1600,
2124,
39870,
62,
709,
62,
9122,
3524,
837,
220,
685,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
18683,
7302,
1590,
532,
42882,
3574,
37273,
25,
1600,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
34149,
329,
34905,
1590,
338,
15510,
4621,
33283,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
685,
220,
1303,
37588,
2512,
357,
2617,
1988,
287,
842,
16,
8,
198,
197,
197,
7,
28311,
62,
27471,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
17971,
70,
62,
67,
489,
23209,
62,
10572,
62,
20568,
8493,
1600,
360,
6489,
9655,
62,
43,
12532,
62,
38827,
56,
5097,
2751,
62,
26288,
17534,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
842,
16,
11,
657,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
357,
17772,
62,
28311,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
17971,
70,
62,
67,
489,
23209,
62,
10572,
62,
20568,
8493,
1600,
360,
6489,
9655,
62,
43,
12532,
62,
38827,
56,
5097,
2751,
62,
1677,
17534,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
842,
16,
11,
352,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
28311,
62,
437,
828,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
197,
197,
58,
220,
1303,
4296,
2512,
357,
8367,
318,
287,
842,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
357,
28311,
62,
27471,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
842,
16,
11,
657,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
17971,
70,
62,
67,
489,
23209,
62,
10572,
62,
20568,
8493,
1600,
360,
6489,
9655,
62,
43,
12532,
62,
38827,
56,
5097,
2751,
62,
26288,
17534,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
17772,
62,
28311,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
842,
16,
11,
352,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
17971,
70,
62,
67,
489,
23209,
62,
10572,
62,
20568,
8493,
1600,
360,
6489,
9655,
62,
43,
12532,
62,
38827,
56,
5097,
2751,
62,
1677,
17534,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
28311,
62,
437,
828,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
10612,
628,
220,
220,
220,
5855,
67,
489,
23209,
62,
1872,
62,
36653,
62,
64,
1600,
2124,
39870,
62,
709,
62,
24011,
349,
9608,
11,
14631,
7279,
4510,
1600,
366,
20535,
1600,
366,
31205,
1600,
366,
11922,
33116,
366,
18683,
7302,
1590,
532,
9552,
19179,
25,
1600,
657,
11,
198,
197,
220,
366,
34149,
329,
34905,
1590,
338,
9552,
2458,
33283,
657,
11,
198,
197,
197,
58,
198,
197,
197,
197,
7,
28311,
62,
27471,
828,
198,
197,
197,
197,
197,
7,
27363,
11,
17971,
70,
62,
67,
489,
23209,
62,
1872,
62,
36653,
1600,
360,
6489,
9655,
62,
20185,
62,
3398,
15567,
1546,
62,
26288,
17534,
828,
198,
197,
197,
197,
197,
7,
562,
570,
11,
842,
16,
11,
657,
828,
198,
197,
197,
197,
7,
17772,
62,
28311,
828,
198,
197,
197,
197,
197,
7,
27363,
11,
17971,
70,
62,
67,
489,
23209,
62,
1872,
62,
36653,
1600,
360,
6489,
9655,
62,
20185,
62,
3398,
15567,
1546,
62,
43,
3913,
828,
198,
197,
197,
197,
197,
7,
562,
570,
11,
842,
16,
11,
352,
828,
198,
197,
197,
197,
7,
17772,
62,
28311,
828,
198,
197,
197,
197,
197,
7,
27363,
11,
17971,
70,
62,
67,
489,
23209,
62,
1872,
62,
36653,
1600,
360,
6489,
9655,
62,
20185,
62,
3398,
15567,
1546,
62,
30733,
41796,
828,
198,
197,
197,
197,
197,
7,
562,
570,
11,
842,
16,
11,
362,
828,
198,
197,
197,
197,
7,
17772,
62,
28311,
828,
198,
197,
197,
197,
197,
7,
27363,
11,
17971,
70,
62,
67,
489,
23209,
62,
1872,
62,
36653,
1600,
360,
6489,
9655,
62,
20185,
62,
3398,
15567,
1546,
62,
39,
18060,
828,
198,
197,
197,
197,
197,
7,
562,
570,
11,
842,
16,
11,
513,
828,
198,
197,
197,
197,
7,
28311,
62,
437,
828,
198,
197,
197,
4357,
198,
197,
197,
58,
198,
197,
197,
197,
7,
28311,
62,
27471,
828,
198,
197,
197,
197,
197,
7,
27363,
11,
842,
16,
11,
657,
828,
198,
197,
197,
197,
197,
7,
562,
570,
11,
17971,
70,
62,
67,
489,
23209,
62,
1872,
62,
36653,
1600,
360,
6489,
9655,
62,
20185,
62,
3398,
15567,
1546,
62,
26288,
17534,
828,
198,
197,
197,
197,
7,
17772,
62,
28311,
828,
198,
197,
197,
197,
197,
7,
27363,
11,
842,
16,
11,
352,
828,
198,
197,
197,
197,
197,
7,
562,
570,
11,
17971,
70,
62,
67,
489,
23209,
62,
1872,
62,
36653,
1600,
360,
6489,
9655,
62,
20185,
62,
3398,
15567,
1546,
62,
43,
3913,
828,
198,
197,
197,
197,
7,
17772,
62,
28311,
828,
198,
197,
197,
197,
197,
7,
27363,
11,
842,
16,
11,
362,
828,
198,
197,
197,
197,
197,
7,
562,
570,
11,
17971,
70,
62,
67,
489,
23209,
62,
1872,
62,
36653,
1600,
360,
6489,
9655,
62,
20185,
62,
3398,
15567,
1546,
62,
30733,
41796,
828,
198,
197,
197,
197,
7,
17772,
62,
28311,
828,
198,
197,
197,
197,
197,
7,
27363,
11,
842,
16,
11,
513,
828,
198,
197,
197,
197,
197,
7,
562,
570,
11,
17971,
70,
62,
67,
489,
23209,
62,
1872,
62,
36653,
1600,
360,
6489,
9655,
62,
20185,
62,
3398,
15567,
1546,
62,
39,
18060,
828,
198,
197,
197,
197,
7,
28311,
62,
437,
828,
198,
197,
197,
4357,
198,
197,
828,
628,
220,
220,
220,
5855,
67,
489,
23209,
62,
24267,
62,
36653,
1600,
2124,
39870,
62,
709,
62,
24011,
349,
9608,
11,
14631,
7279,
4510,
1600,
366,
20535,
1600,
366,
31205,
1600,
366,
11922,
33116,
366,
18683,
7302,
1590,
532,
18493,
19179,
25,
1600,
657,
11,
198,
197,
220,
366,
34149,
329,
34905,
1590,
338,
3773,
2458,
33283,
657,
11,
198,
197,
197,
58,
198,
197,
197,
197,
7,
28311,
62,
27471,
828,
198,
197,
197,
197,
197,
7,
27363,
11,
17971,
70,
62,
67,
489,
23209,
62,
24267,
62,
36653,
1600,
360,
6489,
9655,
62,
38,
15173,
62,
3398,
15567,
1546,
62,
26288,
17534,
828,
198,
197,
197,
197,
197,
7,
562,
570,
11,
842,
16,
11,
657,
828,
198,
197,
197,
197,
7,
17772,
62,
28311,
828,
198,
197,
197,
197,
197,
7,
27363,
11,
17971,
70,
62,
67,
489,
23209,
62,
24267,
62,
36653,
1600,
360,
6489,
9655,
62,
38,
15173,
62,
3398,
15567,
1546,
62,
43,
3913,
828,
198,
197,
197,
197,
197,
7,
562,
570,
11,
842,
16,
11,
352,
828,
198,
197,
197,
197,
7,
17772,
62,
28311,
828,
198,
197,
197,
197,
197,
7,
27363,
11,
17971,
70,
62,
67,
489,
23209,
62,
24267,
62,
36653,
1600,
360,
6489,
9655,
62,
38,
15173,
62,
3398,
15567,
1546,
62,
30733,
41796,
828,
198,
197,
197,
197,
197,
7,
562,
570,
11,
842,
16,
11,
362,
828,
198,
197,
197,
197,
7,
17772,
62,
28311,
828,
198,
197,
197,
197,
197,
7,
27363,
11,
17971,
70,
62,
67,
489,
23209,
62,
24267,
62,
36653,
1600,
360,
6489,
9655,
62,
38,
15173,
62,
3398,
15567,
1546,
62,
39,
18060,
828,
198,
197,
197,
197,
197,
7,
562,
570,
11,
842,
16,
11,
513,
828,
198,
197,
197,
197,
7,
28311,
62,
437,
828,
198,
197,
197,
4357,
198,
197,
197,
58,
198,
197,
197,
197,
7,
28311,
62,
27471,
828,
198,
197,
197,
197,
197,
7,
27363,
11,
842,
16,
11,
657,
828,
198,
197,
197,
197,
197,
7,
562,
570,
11,
17971,
70,
62,
67,
489,
23209,
62,
24267,
62,
36653,
1600,
360,
6489,
9655,
62,
38,
15173,
62,
3398,
15567,
1546,
62,
26288,
17534,
828,
198,
197,
197,
197,
7,
17772,
62,
28311,
828,
198,
197,
197,
197,
197,
7,
27363,
11,
842,
16,
11,
352,
828,
198,
197,
197,
197,
197,
7,
562,
570,
11,
17971,
70,
62,
67,
489,
23209,
62,
24267,
62,
36653,
1600,
360,
6489,
9655,
62,
38,
15173,
62,
3398,
15567,
1546,
62,
43,
3913,
828,
198,
197,
197,
197,
7,
17772,
62,
28311,
828,
198,
197,
197,
197,
197,
7,
27363,
11,
842,
16,
11,
362,
828,
198,
197,
197,
197,
197,
7,
562,
570,
11,
17971,
70,
62,
67,
489,
23209,
62,
24267,
62,
36653,
1600,
360,
6489,
9655,
62,
38,
15173,
62,
3398,
15567,
1546,
62,
30733,
41796,
828,
198,
197,
197,
197,
7,
17772,
62,
28311,
828,
198,
197,
197,
197,
197,
7,
27363,
11,
842,
16,
11,
513,
828,
198,
197,
197,
197,
197,
7,
562,
570,
11,
17971,
70,
62,
67,
489,
23209,
62,
24267,
62,
36653,
1600,
360,
6489,
9655,
62,
38,
15173,
62,
3398,
15567,
1546,
62,
39,
18060,
828,
198,
197,
197,
197,
7,
28311,
62,
437,
828,
198,
197,
197,
4357,
198,
197,
828,
628,
220,
220,
220,
5855,
17899,
38342,
62,
7146,
485,
1600,
2124,
39870,
62,
709,
62,
1370,
11,
685,
4357,
366,
1600,
657,
553,
1600,
657,
17414,
38430,
4357,
828,
628,
220,
220,
220,
5855,
1084,
320,
499,
62,
33990,
1600,
2124,
39870,
62,
709,
62,
24011,
349,
9608,
11,
14631,
7293,
562,
17738,
1600,
366,
18712,
1855,
320,
499,
1600,
366,
31205,
1855,
320,
499,
1600,
366,
21968,
1855,
320,
499,
1600,
366,
7279,
4510,
33116,
366,
24064,
1855,
320,
499,
3827,
10724,
25,
1600,
657,
11,
198,
197,
220,
366,
34149,
329,
262,
10356,
499,
33283,
657,
11,
198,
197,
197,
58,
198,
197,
197,
197,
7,
28311,
62,
27471,
828,
198,
197,
197,
197,
197,
7,
27363,
11,
17971,
70,
62,
1084,
320,
499,
62,
7635,
1600,
532,
16,
828,
198,
197,
197,
197,
197,
7,
562,
570,
11,
842,
16,
11,
604,
828,
198,
197,
197,
197,
7,
17772,
62,
28311,
828,
198,
197,
197,
197,
197,
7,
562,
570,
11,
842,
16,
11,
17971,
70,
62,
1084,
320,
499,
62,
7635,
12340,
198,
197,
197,
197,
7,
28311,
62,
437,
828,
198,
197,
197,
4357,
198,
197,
197,
58,
198,
197,
197,
197,
7,
28311,
62,
27471,
828,
198,
197,
197,
197,
197,
7,
27363,
11,
842,
16,
11,
604,
828,
198,
197,
197,
197,
197,
7,
562,
570,
11,
17971,
70,
62,
1084,
320,
499,
62,
7635,
1600,
532,
16,
828,
198,
197,
197,
197,
7,
17772,
62,
28311,
828,
198,
197,
197,
197,
197,
7,
562,
570,
11,
17971,
70,
62,
1084,
320,
499,
62,
7635,
1600,
842,
16,
828,
198,
197,
197,
197,
7,
28311,
62,
437,
828,
198,
197,
197,
4357,
198,
197,
828,
628,
220,
220,
220,
5855,
1084,
320,
499,
62,
33990,
1600,
2124,
39870,
62,
709,
62,
24011,
349,
9608,
11,
14631,
7279,
4510,
1600,
366,
10049,
32430,
1600,
366,
10049,
24364,
1600,
366,
3237,
8498,
2840,
33116,
366,
44095,
404,
6574,
39924,
25,
1600,
657,
11,
198,
197,
220,
366,
34149,
329,
31874,
6574,
9210,
33283,
657,
11,
198,
197,
197,
58,
198,
197,
197,
197,
7,
28311,
62,
27471,
828,
1303,
43039,
198,
197,
197,
197,
197,
7,
27363,
11,
17971,
70,
62,
24831,
62,
5657,
62,
46970,
1600,
657,
828,
198,
197,
197,
197,
197,
7,
27363,
11,
17971,
70,
62,
24831,
62,
5657,
62,
453,
1600,
352,
828,
198,
197,
197,
197,
197,
7,
562,
570,
11,
842,
16,
11,
352,
828,
198,
197,
197,
197,
7,
17772,
62,
28311,
828,
1303,
21785,
198,
197,
197,
197,
197,
7,
27363,
11,
17971,
70,
62,
24831,
62,
5657,
62,
46970,
1600,
352,
828,
198,
197,
197,
197,
197,
7,
27363,
11,
17971,
70,
62,
24831,
62,
5657,
62,
453,
1600,
657,
828,
198,
197,
197,
197,
197,
7,
562,
570,
11,
842,
16,
11,
362,
828,
198,
197,
197,
197,
7,
17772,
62,
28311,
828,
1303,
5747,
198,
197,
197,
197,
197,
7,
27363,
11,
17971,
70,
62,
24831,
62,
5657,
62,
46970,
1600,
352,
828,
198,
197,
197,
197,
197,
7,
27363,
11,
17971,
70,
62,
24831,
62,
5657,
62,
453,
1600,
352,
828,
198,
197,
197,
197,
197,
7,
562,
570,
11,
842,
16,
11,
513,
828,
198,
197,
197,
197,
7,
17772,
62,
28311,
828,
1303,
6045,
198,
197,
197,
197,
197,
7,
562,
570,
11,
842,
16,
11,
657,
828,
198,
197,
197,
197,
7,
28311,
62,
437,
828,
198,
197,
197,
4357,
198,
197,
197,
58,
198,
197,
197,
197,
7,
28311,
62,
27471,
828,
1303,
43039,
198,
197,
197,
197,
197,
7,
27363,
11,
842,
16,
11,
352,
828,
198,
197,
197,
197,
197,
7,
562,
570,
11,
17971,
70,
62,
24831,
62,
5657,
62,
46970,
1600,
657,
828,
198,
197,
197,
197,
197,
7,
562,
570,
11,
17971,
70,
62,
24831,
62,
5657,
62,
453,
1600,
352,
828,
198,
197,
197,
197,
7,
17772,
62,
28311,
828,
1303,
21785,
198,
197,
197,
197,
197,
7,
27363,
11,
842,
16,
11,
362,
828,
198,
197,
197,
197,
197,
7,
562,
570,
11,
17971,
70,
62,
24831,
62,
5657,
62,
46970,
1600,
352,
828,
198,
197,
197,
197,
197,
7,
562,
570,
11,
17971,
70,
62,
24831,
62,
5657,
62,
453,
1600,
657,
828,
198,
197,
197,
197,
7,
17772,
62,
28311,
828,
1303,
5747,
198,
197,
197,
197,
197,
7,
27363,
11,
842,
16,
11,
513,
828,
198,
197,
197,
197,
197,
7,
562,
570,
11,
17971,
70,
62,
24831,
62,
5657,
62,
46970,
1600,
352,
828,
198,
197,
197,
197,
197,
7,
562,
570,
11,
17971,
70,
62,
24831,
62,
5657,
62,
453,
1600,
352,
828,
198,
197,
197,
197,
7,
17772,
62,
28311,
828,
1303,
6045,
198,
197,
197,
197,
197,
7,
562,
570,
11,
17971,
70,
62,
24831,
62,
5657,
62,
46970,
1600,
657,
828,
198,
197,
197,
197,
197,
7,
562,
570,
11,
17971,
70,
62,
24831,
62,
5657,
62,
453,
1600,
657,
828,
198,
197,
197,
197,
7,
28311,
62,
437,
828,
198,
197,
197,
4357,
198,
197,
828,
628,
220,
220,
220,
5855,
1084,
320,
499,
62,
33990,
1600,
2124,
39870,
62,
709,
62,
17618,
3524,
11,
685,
18,
11,
6659,
4357,
366,
14082,
2409,
34600,
27272,
25,
1600,
657,
11,
198,
197,
220,
366,
34149,
329,
262,
6574,
39924,
33283,
657,
11,
198,
197,
197,
58,
198,
197,
197,
197,
7,
562,
570,
11,
842,
16,
11,
17971,
70,
62,
24831,
62,
5657,
62,
6381,
62,
32374,
12340,
198,
197,
197,
4357,
198,
197,
197,
58,
198,
197,
197,
197,
7,
562,
570,
11,
17971,
70,
62,
24831,
62,
5657,
62,
6381,
62,
32374,
1600,
842,
16,
828,
198,
197,
197,
4357,
198,
197,
828,
628,
220,
220,
220,
5855,
16544,
62,
23528,
404,
62,
10366,
952,
62,
5657,
1600,
2124,
39870,
62,
709,
62,
9122,
3524,
11,
685,
4357,
366,
44095,
404,
8064,
2318,
25,
1600,
657,
11,
198,
197,
220,
366,
51,
48549,
31874,
8064,
2318,
1600,
657,
11,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
47527,
28311,
62,
27471,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
17971,
70,
62,
23528,
404,
62,
10366,
952,
62,
5657,
1600,
657,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
842,
16,
11,
657,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
17772,
62,
28311,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
17971,
70,
62,
23528,
404,
62,
10366,
952,
62,
5657,
1600,
352,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
842,
16,
11,
352,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
28311,
62,
437,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
357,
28311,
62,
27471,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
842,
16,
11,
657,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
17971,
70,
62,
23528,
404,
62,
10366,
952,
62,
5657,
1600,
657,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
17772,
62,
28311,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
842,
16,
11,
352,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
17971,
70,
62,
23528,
404,
62,
10366,
952,
62,
5657,
1600,
352,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
28311,
62,
437,
828,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
828,
628,
220,
220,
220,
5855,
16544,
62,
12501,
499,
3780,
1600,
2124,
39870,
62,
709,
62,
9122,
3524,
11,
685,
4357,
366,
10707,
499,
3780,
25,
1600,
657,
11,
198,
197,
220,
366,
51,
48549,
4280,
499,
3780,
1600,
657,
11,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
47527,
28311,
62,
27471,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
17971,
70,
62,
12501,
499,
3780,
62,
25616,
1600,
657,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
842,
16,
11,
657,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
17772,
62,
28311,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
17971,
70,
62,
12501,
499,
3780,
62,
25616,
1600,
352,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
842,
16,
11,
352,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
28311,
62,
437,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
357,
28311,
62,
27471,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
842,
16,
11,
657,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
17971,
70,
62,
12501,
499,
3780,
62,
25616,
1600,
657,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
17772,
62,
28311,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
27363,
11,
842,
16,
11,
352,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
17971,
70,
62,
12501,
499,
3780,
62,
25616,
1600,
352,
828,
198,
220,
220,
220,
220,
220,
220,
220,
357,
28311,
62,
437,
828,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
828,
628,
220,
220,
220,
5855,
17899,
38342,
62,
7146,
485,
1600,
2124,
39870,
62,
709,
62,
1370,
11,
685,
4357,
366,
1600,
657,
553,
1600,
657,
17414,
38430,
4357,
828,
628,
220,
220,
220,
357,
366,
404,
62,
46799,
14171,
1600,
2124,
39870,
62,
709,
62,
9122,
3524,
837,
220,
685,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
366,
7376,
265,
4235,
25,
1600,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
366,
1212,
5621,
262,
287,
12,
6057,
22705,
4235,
1600,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
685,
220,
1303,
37588,
2512,
357,
2617,
1988,
287,
842,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
842,
16,
11,
17971,
46799,
62,
14171,
12340,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
220,
220,
220,
220,
685,
220,
1303,
4296,
2512,
357,
8367,
318,
287,
842,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
562,
570,
11,
17971,
46799,
62,
14171,
1600,
842,
16,
828,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
10612,
628,
198,
60,
1303,
953,
62,
25811,
628,
198,
2,
16926,
46,
25,
751,
3038,
5468,
994,
628,
198,
2,
2927,
341,
286,
477,
1635,
62,
4666,
62,
25811,
13,
9078,
422,
4075,
13743,
198,
2,
1330,
290,
20121,
3519,
9633,
422,
477,
1391,
5275,
62,
4666,
92,
62,
4666,
62,
25811,
13,
9078,
329,
477,
4075,
13743,
198,
2,
28311,
25,
198,
2,
220,
220,
220,
422,
953,
647,
1362,
62,
25811,
1330,
3689,
11,
13743,
62,
5275,
198,
2,
220,
220,
220,
422,
953,
647,
1362,
1330,
953,
62,
1136,
62,
14681,
62,
2875,
11,
953,
62,
271,
62,
5275,
198,
2,
220,
220,
220,
422,
7736,
62,
11321,
1330,
751,
62,
48205,
198,
2,
220,
220,
220,
953,
5589,
62,
3672,
796,
366,
4666,
62,
25811,
1,
198,
2,
220,
220,
220,
1401,
62,
4868,
796,
14631,
4666,
62,
25811,
1600,
60,
628,
220,
220,
220,
1303,
6738,
953,
647,
1362,
1330,
953,
647,
469,
198,
220,
220,
220,
1303,
4666,
647,
469,
7,
7785,
62,
2617,
8,
198,
198,
2,
220,
220,
220,
953,
62,
14681,
62,
2875,
796,
953,
62,
1136,
62,
14681,
62,
2875,
7,
4666,
5589,
62,
3672,
8,
198,
198,
2,
220,
220,
220,
410,
945,
62,
1462,
62,
11748,
28,
14631,
4666,
62,
25811,
8973,
198,
198,
2,
220,
220,
220,
329,
2124,
287,
953,
62,
14681,
62,
2875,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
611,
7,
4666,
62,
271,
62,
5275,
7,
87,
8,
290,
2124,
1279,
29,
366,
87,
39870,
62,
4666,
62,
25811,
1,
2599,
1303,
1276,
19607,
428,
2393,
1201,
356,
389,
1262,
428,
2393,
355,
2779,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
647,
469,
22184,
62,
3672,
796,
366,
4666,
647,
469,
62,
4,
82,
1,
4,
7,
4666,
5589,
62,
3672,
8,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2496,
62,
21412,
62,
3672,
796,
36521,
82,
62,
4,
82,
1,
4,
7,
87,
11,
4666,
5589,
62,
3672,
8,
198,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
29510,
796,
11593,
11748,
834,
7,
2496,
62,
21412,
62,
3672,
837,
15095,
874,
22784,
17205,
22784,
410,
945,
62,
1462,
62,
11748,
12095,
16,
8,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
49706,
13,
10951,
7203,
13102,
2667,
5563,
329,
7515,
19990,
4,
82,
7879,
422,
953,
19990,
4,
82,
7879,
9313,
4,
7,
4666,
5589,
62,
3672,
11,
87,
4008,
198,
2,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
751,
62,
48205,
7,
4666,
62,
25811,
11,
4808,
29510,
13,
4666,
62,
25811,
8,
1303,
1330,
422,
2496,
8265,
13,
198,
2,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
16926,
46,
25,
2824,
3038,
5468,
198,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2845,
17267,
12331,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11454,
8841,
796,
366,
37,
6255,
33332,
329,
7515,
19990,
4,
82,
7879,
329,
953,
19990,
4,
82,
7879,
526,
4064,
357,
4666,
5589,
62,
3672,
11,
2124,
8,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
49706,
13,
24442,
7,
8056,
8841,
8,
198,
2,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11454,
8841,
796,
366,
5841,
19990,
4,
82,
7879,
407,
4075,
329,
35100,
19990,
4,
82,
7879,
526,
4064,
357,
87,
11,
953,
5589,
62,
3672,
8,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
49706,
13,
24442,
7,
8056,
8841,
8,
198,
198,
2,
16341,
25,
198,
2,
220,
220,
220,
5298,
198,
2,
2927,
341,
886,
198,
198,
2,
1629,
428,
966,
11,
953,
62,
25811,
481,
3994,
262,
1351,
286,
477,
953,
62,
25811,
7368,
13,
628,
198,
198,
2235,
10361,
5499,
198,
198,
6738,
7736,
62,
29988,
11799,
1330,
1635,
198,
198,
2,
31904,
29908,
284,
1895,
953,
62,
25811,
628,
198,
2235,
1398,
3401,
19722,
36918,
2848,
628,
198,
198,
2,
428,
2163,
481,
24061,
262,
2472,
6001,
2672,
329,
257,
1351,
286,
953,
62,
25811,
13,
198,
2235,
953,
62,
25811,
62,
1136,
62,
23350,
62,
17015,
198
] | 2.016123 | 8,497 |
import torch
import numpy as np
import scipy.io
import h5py
import torch.nn as nn
#################################################
#
# Utilities
#
#################################################
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
# reading data
# normalization, pointwise gaussian
# normalization, Gaussian
# normalization, scaling by range
#loss function with rel/abs Lp loss
# A simple feedforward neural network
| [
11748,
28034,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
629,
541,
88,
13,
952,
198,
11748,
289,
20,
9078,
198,
11748,
28034,
13,
20471,
355,
299,
77,
628,
198,
29113,
14468,
2,
198,
2,
198,
2,
41086,
198,
2,
198,
29113,
14468,
2,
198,
25202,
796,
28034,
13,
25202,
10786,
66,
15339,
6,
611,
28034,
13,
66,
15339,
13,
271,
62,
15182,
3419,
2073,
705,
36166,
11537,
198,
198,
2,
3555,
1366,
198,
198,
2,
3487,
1634,
11,
966,
3083,
31986,
31562,
198,
198,
2,
3487,
1634,
11,
12822,
31562,
628,
198,
2,
3487,
1634,
11,
20796,
416,
2837,
198,
198,
2,
22462,
2163,
351,
823,
14,
8937,
406,
79,
2994,
198,
198,
2,
317,
2829,
3745,
11813,
17019,
3127,
198
] | 3.786885 | 122 |
from io import StringIO
import re
from pathlib import Path
import logging
from django.db import models
from django.conf import settings
from bs4 import BeautifulSoup
from tika import parser
logger = logging.getLogger(__name__)
class TikaParseError(RuntimeError):
"""Raised when the conversion of a document into html by Tika fails."""
def extract_author_and_title(metadata: dict) -> (str, str):
"""Try to get the author and title from the metadata.
Return empty strings if not found."""
author, title = '', ''
for key in ('Author', 'author', 'dc:creator', 'creator', 'meta:author'):
if key in metadata:
author = metadata[key]
break
for key in ('Title', 'title', 'dc:title', 'meta:title'):
if key in metadata:
title = metadata[key]
break
return author, title
class ParentDocument(models.Model):
"""Each book/file is represented here.
"""
# source document's full path
filepath = models.CharField(unique=True, max_length=1024)
# try to get the author and title from the document metadata
# but it's not always there
author = models.CharField(max_length=512, blank=True, default='')
title = models.CharField(max_length=512, blank=True, default='')
def convert_to_html_child_pages(self, clean=True):
"""Convert book/file at filepath to html pages.
This constructs a ChildPage object for each page of the document.
Pages are determined by Tika's parsing.
Populates author and title if available in the metadata.
:param clean - if True clean non-ascii whitespace
"""
try_count, successful_parse = 0, False
while try_count < settings.TIKA_PARSE_MAX_RETRY:
if settings.TIKA_CONFIG_FILE:
data = parser.from_file(str(self.filepath), xmlContent=True, config_path=settings.TIKA_CONFIG_FILE)
else:
data = parser.from_file(str(self.filepath), xmlContent=True)
if data['status'] == 200:
successful_parse = True
break
if not successful_parse:
logger.error('Failed to parse file: %s', self.filepath)
author, title = extract_author_and_title(data['metadata'])
self.author, self.title = author, title
self.save()
soup = BeautifulSoup(data['content'], features='lxml')
# convert all pages successfully before creating children
pages = []
for i, content in enumerate(soup.find_all('div', attrs={'class': 'page'})):
_buffer = StringIO()
_buffer.write(str(content))
parsed_content = parser.from_buffer(_buffer.getvalue(), xmlContent=True)
text = parsed_content['content'].strip()
if clean:
text = re.sub(r' +\n', '\n', parsed_content['content'].strip().replace('\xa0', ' '))
# remove the html head from the doc so it doesn't cause any garbage in ES highlights
page_soup = BeautifulSoup(text, features='lxml')
page_soup.head.extract()
pages.append(page_soup.prettify())
for i, html in enumerate(pages):
child = ChildPage(parent=self, page_number=i+1, html_content=html,
author=self.author, title=self.title,
parent_doc_id=self.id)
if i == len(pages) - 1:
child.is_last_page = True
child.save()
class ChildPage(models.Model):
"""Each page of a book/file is represented by a ChildPage.
With the initial implementation, this model will also have the html_content
field filled with the full text of the page. This is very inefficient
space-wise as you are storing the full text in the database as well as in
Elasticsearch. But it allows reading the text online and being able to
navigate directly from the search to the location in the text.
The reason that it is mandatory now is due to using django-elasticsearch-dsl.
In the future, we can get rid of django-es-dsl and then allow an option to
not store the full text to save space.
"""
parent = models.ForeignKey(ParentDocument, on_delete=models.CASCADE)
page_number = models.IntegerField()
html_content = models.TextField()
is_last_page = models.BooleanField(default=False)
# need to duplicate keys from parent so django-elasticsearch-dsl can access them
author = models.CharField(max_length=512)
title = models.CharField(max_length=512)
parent_doc_id = models.IntegerField()
| [
6738,
33245,
1330,
10903,
9399,
198,
11748,
302,
198,
6738,
3108,
8019,
1330,
10644,
198,
11748,
18931,
198,
198,
6738,
42625,
14208,
13,
9945,
1330,
4981,
198,
6738,
42625,
14208,
13,
10414,
1330,
6460,
198,
6738,
275,
82,
19,
1330,
23762,
50,
10486,
198,
6738,
256,
9232,
1330,
30751,
198,
198,
6404,
1362,
796,
18931,
13,
1136,
11187,
1362,
7,
834,
3672,
834,
8,
628,
198,
4871,
309,
9232,
10044,
325,
12331,
7,
41006,
12331,
2599,
198,
220,
220,
220,
37227,
21762,
1417,
618,
262,
11315,
286,
257,
3188,
656,
27711,
416,
309,
9232,
10143,
526,
15931,
628,
198,
4299,
7925,
62,
9800,
62,
392,
62,
7839,
7,
38993,
25,
8633,
8,
4613,
357,
2536,
11,
965,
2599,
198,
220,
220,
220,
37227,
23433,
284,
651,
262,
1772,
290,
3670,
422,
262,
20150,
13,
198,
220,
220,
220,
8229,
6565,
13042,
611,
407,
1043,
526,
15931,
198,
220,
220,
220,
1772,
11,
3670,
796,
705,
3256,
10148,
198,
220,
220,
220,
329,
1994,
287,
19203,
13838,
3256,
705,
9800,
3256,
705,
17896,
25,
45382,
3256,
705,
45382,
3256,
705,
28961,
25,
9800,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1994,
287,
20150,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1772,
796,
20150,
58,
2539,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
198,
220,
220,
220,
329,
1994,
287,
19203,
19160,
3256,
705,
7839,
3256,
705,
17896,
25,
7839,
3256,
705,
28961,
25,
7839,
6,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1994,
287,
20150,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3670,
796,
20150,
58,
2539,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
198,
220,
220,
220,
1441,
1772,
11,
3670,
628,
198,
4871,
16774,
24941,
7,
27530,
13,
17633,
2599,
198,
220,
220,
220,
37227,
10871,
1492,
14,
7753,
318,
7997,
994,
13,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1303,
2723,
3188,
338,
1336,
3108,
198,
220,
220,
220,
2393,
6978,
796,
4981,
13,
12441,
15878,
7,
34642,
28,
17821,
11,
3509,
62,
13664,
28,
35500,
8,
628,
220,
220,
220,
1303,
1949,
284,
651,
262,
1772,
290,
3670,
422,
262,
3188,
20150,
198,
220,
220,
220,
1303,
475,
340,
338,
407,
1464,
612,
198,
220,
220,
220,
1772,
796,
4981,
13,
12441,
15878,
7,
9806,
62,
13664,
28,
25836,
11,
9178,
28,
17821,
11,
4277,
28,
7061,
8,
198,
220,
220,
220,
3670,
796,
4981,
13,
12441,
15878,
7,
9806,
62,
13664,
28,
25836,
11,
9178,
28,
17821,
11,
4277,
28,
7061,
8,
628,
220,
220,
220,
825,
10385,
62,
1462,
62,
6494,
62,
9410,
62,
31126,
7,
944,
11,
3424,
28,
17821,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3103,
1851,
1492,
14,
7753,
379,
2393,
6978,
284,
27711,
5468,
13,
628,
220,
220,
220,
220,
220,
220,
220,
770,
34175,
257,
5932,
9876,
2134,
329,
1123,
2443,
286,
262,
3188,
13,
198,
220,
220,
220,
220,
220,
220,
220,
28221,
389,
5295,
416,
309,
9232,
338,
32096,
13,
628,
220,
220,
220,
220,
220,
220,
220,
8099,
15968,
1772,
290,
3670,
611,
1695,
287,
262,
20150,
13,
628,
220,
220,
220,
220,
220,
220,
220,
1058,
17143,
3424,
532,
611,
6407,
3424,
1729,
12,
292,
979,
72,
13216,
10223,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
62,
9127,
11,
4388,
62,
29572,
796,
657,
11,
10352,
198,
220,
220,
220,
220,
220,
220,
220,
981,
1949,
62,
9127,
1279,
6460,
13,
51,
18694,
32,
62,
27082,
5188,
62,
22921,
62,
2200,
40405,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
6460,
13,
51,
18694,
32,
62,
10943,
16254,
62,
25664,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
796,
30751,
13,
6738,
62,
7753,
7,
2536,
7,
944,
13,
7753,
6978,
828,
35555,
19746,
28,
17821,
11,
4566,
62,
6978,
28,
33692,
13,
51,
18694,
32,
62,
10943,
16254,
62,
25664,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
796,
30751,
13,
6738,
62,
7753,
7,
2536,
7,
944,
13,
7753,
6978,
828,
35555,
19746,
28,
17821,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1366,
17816,
13376,
20520,
6624,
939,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4388,
62,
29572,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
4388,
62,
29572,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
49706,
13,
18224,
10786,
37,
6255,
284,
21136,
2393,
25,
4064,
82,
3256,
2116,
13,
7753,
6978,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1772,
11,
3670,
796,
7925,
62,
9800,
62,
392,
62,
7839,
7,
7890,
17816,
38993,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9800,
11,
2116,
13,
7839,
796,
1772,
11,
3670,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
21928,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
17141,
796,
23762,
50,
10486,
7,
7890,
17816,
11299,
6,
4357,
3033,
11639,
75,
19875,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
10385,
477,
5468,
7675,
878,
4441,
1751,
198,
220,
220,
220,
220,
220,
220,
220,
5468,
796,
17635,
628,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
11,
2695,
287,
27056,
378,
7,
82,
10486,
13,
19796,
62,
439,
10786,
7146,
3256,
708,
3808,
34758,
6,
4871,
10354,
705,
7700,
6,
30072,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
22252,
796,
10903,
9399,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
22252,
13,
13564,
7,
2536,
7,
11299,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
44267,
62,
11299,
796,
30751,
13,
6738,
62,
22252,
28264,
22252,
13,
1136,
8367,
22784,
35555,
19746,
28,
17821,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2420,
796,
44267,
62,
11299,
17816,
11299,
6,
4083,
36311,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
3424,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2420,
796,
302,
13,
7266,
7,
81,
6,
1343,
59,
77,
3256,
705,
59,
77,
3256,
44267,
62,
11299,
17816,
11299,
6,
4083,
36311,
22446,
33491,
10786,
59,
27865,
15,
3256,
705,
705,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
4781,
262,
27711,
1182,
422,
262,
2205,
523,
340,
1595,
470,
2728,
597,
15413,
287,
13380,
11330,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2443,
62,
82,
10486,
796,
23762,
50,
10486,
7,
5239,
11,
3033,
11639,
75,
19875,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2443,
62,
82,
10486,
13,
2256,
13,
2302,
974,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5468,
13,
33295,
7,
7700,
62,
82,
10486,
13,
3866,
926,
1958,
28955,
628,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
11,
27711,
287,
27056,
378,
7,
31126,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1200,
796,
5932,
9876,
7,
8000,
28,
944,
11,
2443,
62,
17618,
28,
72,
10,
16,
11,
27711,
62,
11299,
28,
6494,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1772,
28,
944,
13,
9800,
11,
3670,
28,
944,
13,
7839,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2560,
62,
15390,
62,
312,
28,
944,
13,
312,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1312,
6624,
18896,
7,
31126,
8,
532,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1200,
13,
271,
62,
12957,
62,
7700,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1200,
13,
21928,
3419,
628,
198,
4871,
5932,
9876,
7,
27530,
13,
17633,
2599,
198,
220,
220,
220,
37227,
10871,
2443,
286,
257,
1492,
14,
7753,
318,
7997,
416,
257,
5932,
9876,
13,
628,
220,
220,
220,
2080,
262,
4238,
7822,
11,
428,
2746,
481,
635,
423,
262,
27711,
62,
11299,
198,
220,
220,
220,
2214,
5901,
351,
262,
1336,
2420,
286,
262,
2443,
13,
220,
770,
318,
845,
30904,
198,
220,
220,
220,
2272,
12,
3083,
355,
345,
389,
23069,
262,
1336,
2420,
287,
262,
6831,
355,
880,
355,
287,
198,
220,
220,
220,
48567,
12947,
13,
220,
887,
340,
3578,
3555,
262,
2420,
2691,
290,
852,
1498,
284,
198,
220,
220,
220,
16500,
3264,
422,
262,
2989,
284,
262,
4067,
287,
262,
2420,
13,
628,
220,
220,
220,
383,
1738,
326,
340,
318,
13677,
783,
318,
2233,
284,
1262,
42625,
14208,
12,
417,
3477,
12947,
12,
67,
6649,
13,
198,
220,
220,
220,
554,
262,
2003,
11,
356,
460,
651,
5755,
286,
42625,
14208,
12,
274,
12,
67,
6649,
290,
788,
1249,
281,
3038,
284,
198,
220,
220,
220,
407,
3650,
262,
1336,
2420,
284,
3613,
2272,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
2560,
796,
4981,
13,
33616,
9218,
7,
24546,
24941,
11,
319,
62,
33678,
28,
27530,
13,
34,
42643,
19266,
8,
198,
220,
220,
220,
2443,
62,
17618,
796,
4981,
13,
46541,
15878,
3419,
198,
220,
220,
220,
27711,
62,
11299,
796,
4981,
13,
8206,
15878,
3419,
198,
220,
220,
220,
318,
62,
12957,
62,
7700,
796,
4981,
13,
46120,
13087,
15878,
7,
12286,
28,
25101,
8,
628,
220,
220,
220,
1303,
761,
284,
23418,
8251,
422,
2560,
523,
42625,
14208,
12,
417,
3477,
12947,
12,
67,
6649,
460,
1895,
606,
198,
220,
220,
220,
1772,
796,
4981,
13,
12441,
15878,
7,
9806,
62,
13664,
28,
25836,
8,
198,
220,
220,
220,
3670,
796,
4981,
13,
12441,
15878,
7,
9806,
62,
13664,
28,
25836,
8,
628,
220,
220,
220,
2560,
62,
15390,
62,
312,
796,
4981,
13,
46541,
15878,
3419,
198
] | 2.584641 | 1,784 |
from typing import List, Tuple, Type
from .tensor import Tensor
from .device import Device
from .allocator import Allocator
from cpm_kernels.library import cudart
import numpy as np
import logging
logger = logging.getLogger(__name__) | [
6738,
19720,
1330,
7343,
11,
309,
29291,
11,
5994,
198,
6738,
764,
83,
22854,
1330,
309,
22854,
198,
6738,
764,
25202,
1330,
16232,
198,
6738,
764,
32332,
1352,
1330,
1439,
420,
1352,
198,
6738,
269,
4426,
62,
74,
44930,
13,
32016,
1330,
269,
463,
433,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
18931,
198,
6404,
1362,
796,
18931,
13,
1136,
11187,
1362,
7,
834,
3672,
834,
8
] | 3.426471 | 68 |
if __name__ == "__main__":
dlinkedList = DoublyLinkedList(10)
dlinkedList.append(20)
dlinkedList.append(30)
dlinkedList.prepend(-5)
dlinkedList.prepend(-8)
dlinkedList.insert(value=12, index=2)
dlinkedList.print_list()
dlinkedList.remove(index=5)
dlinkedList.insert(value=30, index=4)
dlinkedList.append(55)
dlinkedList.print_list()
dlinkedList.print_head()
dlinkedList.print_tail()
| [
198,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
288,
25614,
8053,
796,
5728,
36874,
11280,
276,
8053,
7,
940,
8,
628,
220,
220,
220,
288,
25614,
8053,
13,
33295,
7,
1238,
8,
198,
220,
220,
220,
288,
25614,
8053,
13,
33295,
7,
1270,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
288,
25614,
8053,
13,
3866,
37038,
32590,
20,
8,
198,
220,
220,
220,
288,
25614,
8053,
13,
3866,
37038,
32590,
23,
8,
628,
220,
220,
220,
288,
25614,
8053,
13,
28463,
7,
8367,
28,
1065,
11,
6376,
28,
17,
8,
198,
220,
220,
220,
288,
25614,
8053,
13,
4798,
62,
4868,
3419,
628,
220,
220,
220,
220,
198,
220,
220,
220,
288,
25614,
8053,
13,
28956,
7,
9630,
28,
20,
8,
198,
220,
220,
220,
288,
25614,
8053,
13,
28463,
7,
8367,
28,
1270,
11,
6376,
28,
19,
8,
198,
220,
220,
220,
288,
25614,
8053,
13,
33295,
7,
2816,
8,
628,
220,
220,
220,
288,
25614,
8053,
13,
4798,
62,
4868,
3419,
198,
220,
220,
220,
288,
25614,
8053,
13,
4798,
62,
2256,
3419,
198,
220,
220,
220,
288,
25614,
8053,
13,
4798,
62,
13199,
3419,
628
] | 2.271357 | 199 |
import setuptools
import os
with open("README.md", "r") as fh:
long_description = fh.read()
if os.environ.get('CI_COMMIT_TAG'):
version = os.environ['CI_COMMIT_TAG']
else:
version = "0.0.4"
setuptools.setup(
name="abbreviator",
version=version,
author="Stephanie Wagenaar",
author_email="[email protected]",
description="Abbreviate Long Sentences/Names based on hyphenation",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/BOLD-lab/abbreviator",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
install_requires=['pyphen>=0.11.0']
)
| [
11748,
900,
37623,
10141,
198,
11748,
28686,
198,
198,
4480,
1280,
7203,
15675,
11682,
13,
9132,
1600,
366,
81,
4943,
355,
277,
71,
25,
198,
220,
220,
220,
890,
62,
11213,
796,
277,
71,
13,
961,
3419,
198,
198,
361,
28686,
13,
268,
2268,
13,
1136,
10786,
25690,
62,
9858,
36393,
62,
42197,
6,
2599,
198,
220,
220,
220,
2196,
796,
28686,
13,
268,
2268,
17816,
25690,
62,
9858,
36393,
62,
42197,
20520,
198,
17772,
25,
198,
220,
220,
220,
2196,
796,
366,
15,
13,
15,
13,
19,
1,
198,
198,
2617,
37623,
10141,
13,
40406,
7,
198,
220,
220,
220,
1438,
2625,
397,
4679,
8903,
1352,
1600,
198,
220,
220,
220,
2196,
28,
9641,
11,
198,
220,
220,
220,
1772,
2625,
8600,
7637,
494,
21309,
8107,
283,
1600,
198,
220,
220,
220,
1772,
62,
12888,
2625,
9662,
7637,
494,
13,
86,
363,
8107,
283,
31,
36575,
11215,
13,
12496,
1600,
198,
220,
220,
220,
6764,
2625,
4826,
4679,
8903,
378,
5882,
11352,
3007,
14,
36690,
1912,
319,
5328,
831,
341,
1600,
198,
220,
220,
220,
890,
62,
11213,
28,
6511,
62,
11213,
11,
198,
220,
220,
220,
890,
62,
11213,
62,
11299,
62,
4906,
2625,
5239,
14,
4102,
2902,
1600,
198,
220,
220,
220,
19016,
2625,
5450,
1378,
12567,
13,
785,
14,
33,
15173,
12,
23912,
14,
397,
4679,
8903,
1352,
1600,
198,
220,
220,
220,
10392,
28,
2617,
37623,
10141,
13,
19796,
62,
43789,
22784,
198,
220,
220,
220,
1398,
13350,
41888,
198,
220,
220,
220,
220,
220,
220,
220,
366,
15167,
2229,
15417,
7904,
11361,
7904,
513,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
34156,
7904,
7294,
40,
20010,
1079,
7904,
17168,
13789,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
18843,
803,
4482,
7904,
7294,
13362,
1600,
198,
220,
220,
220,
16589,
198,
220,
220,
220,
21015,
62,
47911,
11639,
29,
28,
18,
13,
21,
3256,
198,
220,
220,
220,
2721,
62,
47911,
28,
17816,
79,
4464,
831,
29,
28,
15,
13,
1157,
13,
15,
20520,
198,
8,
198
] | 2.494083 | 338 |
'''
QUESTION:
561. Array Partition I
Given an array of 2n integers, your task is to group these integers into n pairs of integer, say (a1, b1), (a2, b2), ..., (an, bn) which makes sum of min(ai, bi) for all i from 1 to n as large as possible.
Example 1:
Input: [1,4,3,2]
Output: 4
Explanation: n is 2, and the maximum sum of pairs is 4 = min(1, 2) + min(3, 4).
Note:
n is a positive integer, which is in the range of [1, 10000].
All the integers in the array will be in the range of [-10000, 10000].
'''
'''
Ideas/thoughts:
sort and return even nums
''' | [
7061,
6,
198,
35780,
2849,
25,
198,
198,
47915,
13,
15690,
2142,
653,
314,
198,
15056,
281,
7177,
286,
362,
77,
37014,
11,
534,
4876,
318,
284,
1448,
777,
37014,
656,
299,
14729,
286,
18253,
11,
910,
357,
64,
16,
11,
275,
16,
828,
357,
64,
17,
11,
275,
17,
828,
2644,
11,
357,
272,
11,
275,
77,
8,
543,
1838,
2160,
286,
949,
7,
1872,
11,
3182,
8,
329,
477,
1312,
422,
352,
284,
299,
355,
1588,
355,
1744,
13,
198,
198,
16281,
352,
25,
198,
20560,
25,
685,
16,
11,
19,
11,
18,
11,
17,
60,
198,
198,
26410,
25,
604,
198,
3109,
11578,
341,
25,
299,
318,
362,
11,
290,
262,
5415,
2160,
286,
14729,
318,
604,
796,
949,
7,
16,
11,
362,
8,
1343,
949,
7,
18,
11,
604,
737,
198,
6425,
25,
198,
77,
318,
257,
3967,
18253,
11,
543,
318,
287,
262,
2837,
286,
685,
16,
11,
33028,
4083,
198,
3237,
262,
37014,
287,
262,
7177,
481,
307,
287,
262,
2837,
286,
25915,
49388,
11,
33028,
4083,
198,
198,
7061,
6,
198,
198,
7061,
6,
198,
41452,
292,
14,
2016,
912,
25,
198,
30619,
290,
1441,
772,
997,
82,
198,
7061,
6
] | 2.818182 | 198 |
from . import account_payment
| [
6738,
764,
1330,
1848,
62,
37301,
198
] | 4.285714 | 7 |
from time import sleep
import csv
from datetime import datetime
import mac_vendor_lookup
import cisco_service
if __name__ == "__main__":
# Cool banner ofc
print("""
╔═╗╦╔═╗╔═╗╔═╗ ╔╦╗╔╗╔╔═╗╔═╗ ╔╦╗╔═╗╔═╗ ╦ ╔═╗╔═╗╦╔═╦ ╦╔═╗
║ ║╚═╗║ ║ ║ ║║║║║╠═╣║ ║║║╠═╣║ ║ ║ ║║ ║╠╩╗║ ║╠═╝
╚═╝╩╚═╝╚═╝╚═╝ ═╩╝╝╚╝╩ ╩╚═╝ ╩ ╩╩ ╩╚═╝ ╩═╝╚═╝╚═╝╩ ╩╚═╝╩
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWKKNMMMMMMMMMMMMMMMMMMMMWWWMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMXl,co0NWMMMMMMMMMMMMMMXxc:xWMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNd''',;cdkKNNNNNNWNKko,...oWMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMO;''.....';ccllc:,. ...'kMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMWXOxdllllldxOXWMMMMMMMWNd'........ .... ..lNMMMMMMMMMMMMMMMMMMM
MMMMMMMMMN0o:,;;:clllc:;,';oONMMMMMWd'',,,'. ..... .dWMMMMMMMMMMMMMMMMMMM
MMMMMWWWO:,cdOO0K0O0K0K0klc:';dXMMMXl,'',;;. .'''''.lXMMMMMMMMMMMMMMMMMMM
MMMMMMXo;oKWM0dkkdddoo0xddkW0o',kWM0c...,lol;. . .ccoc..;cdXMMMMMMMMMMMMMMMMMMM
MMMMMXo:0MMMMWK0KXXKKKKX00NMMWK:'dWO,....';;' .. .;::,'',,lKMMMMMMMMMMMMMMMMMMM
MMMMWxc0MMMMWW0kOxxkKkk0OXWWWMMNl'kO:'........,:'........,,cKMMMMMMMMMMMMMMMMMMM
MMMMNdxWMMMMMWOxkdddxxdxkKNWWWWMK;cXd'........,,'''.....',,:kXMMMMMMMMMMMMMMMMMM
MMMMXokMMMMMMMNXXXNNXNX0KXWWWWWWNlcXXd,.'......'..'.','.'',;:oKWMMMMMMMMMMMMMMMM
MMMMXoxWMMMMMMM0olxkoxxkXWMMMMMMNloNWNd... ..................:0WMMMMMMMMMMMMMMM
MMMMNxcOWMMMMMMKkkkOOkOOXWMMMMMMO:kMMNl.. .. .l0WMMMMMMMMMMMMMM
MMMMM0:;kNWXXNKO0K0000KKXK0OONWKlcOWNd' .,oKWMMMMMMMMMMMMM
MMMMMWO;'lOxxOddooddlcdxxxlox0Oolo0W0,. .,;oKMMMMMMMMMMMMM
MMMMMMWKc..';dkOKX0KXXXK00Oxdl:;,,oOo. .'',oKWMMMMMMMMMMM
MMMMMMMMWOl,..';coddxxdol:,..,;:;..':;.. .. ..''';dKWWMMMMMMMM
MMMMMMMMMMMN0dl:;''.'',:cokO0KNWW0l..''. ... ..,,'':xXWMMMMMMM
MMMMMMMMMMMMMMMWWNXKKXXWMMMMMMMMMMNl... . ..,'',,:xNWMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM0;.. .. .,;::,'cKMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWx' .,;'. ....... ..','.lXMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMK:. . .',. .. .. ....dWMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMk. .. ...cXMMM
""")
print("Starting script..")
CiscoDnacMacLookupRunner().main() | [
6738,
640,
1330,
3993,
198,
11748,
269,
21370,
198,
6738,
4818,
8079,
1330,
4818,
8079,
198,
11748,
8352,
62,
85,
18738,
62,
5460,
929,
198,
11748,
269,
4861,
62,
15271,
628,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
1303,
15226,
17625,
286,
66,
198,
220,
220,
220,
3601,
7203,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2343,
243,
242,
28670,
22880,
245,
22880,
99,
22880,
242,
28670,
22880,
245,
22880,
242,
28670,
22880,
245,
22880,
242,
28670,
22880,
245,
220,
2343,
243,
242,
22880,
99,
22880,
245,
22880,
242,
22880,
245,
22880,
242,
22880,
242,
28670,
22880,
245,
22880,
242,
28670,
22880,
245,
220,
2343,
243,
242,
22880,
99,
22880,
245,
22880,
242,
28670,
22880,
245,
22880,
242,
28670,
22880,
245,
220,
2343,
243,
99,
220,
2343,
243,
242,
28670,
22880,
245,
22880,
242,
28670,
22880,
245,
22880,
99,
22880,
242,
28670,
22880,
99,
2343,
243,
99,
22880,
242,
28670,
22880,
245,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2343,
243,
239,
220,
2343,
243,
239,
22880,
248,
28670,
22880,
245,
22880,
239,
220,
2343,
243,
239,
2343,
243,
239,
220,
220,
2343,
243,
239,
22880,
239,
22880,
239,
22880,
239,
22880,
239,
22880,
254,
28670,
22880,
96,
22880,
239,
220,
220,
220,
2343,
243,
239,
22880,
239,
22880,
239,
22880,
254,
28670,
22880,
96,
22880,
239,
220,
220,
220,
2343,
243,
239,
220,
2343,
243,
239,
2343,
243,
239,
22880,
239,
2343,
243,
239,
22880,
254,
22880,
102,
22880,
245,
22880,
239,
2343,
243,
239,
22880,
254,
28670,
22880,
251,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2343,
243,
248,
28670,
22880,
251,
22880,
102,
22880,
248,
28670,
22880,
251,
22880,
248,
28670,
22880,
251,
22880,
248,
28670,
22880,
251,
220,
2343,
243,
238,
22880,
102,
22880,
251,
22880,
251,
22880,
248,
22880,
251,
22880,
102,
2343,
243,
102,
22880,
248,
28670,
22880,
251,
220,
2343,
243,
102,
2343,
243,
102,
22880,
102,
2343,
243,
102,
22880,
248,
28670,
22880,
251,
220,
2343,
243,
102,
28670,
22880,
251,
22880,
248,
28670,
22880,
251,
22880,
248,
28670,
22880,
251,
22880,
102,
2343,
243,
102,
22880,
248,
28670,
22880,
251,
22880,
102,
220,
220,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
44,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
44,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
54,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
14326,
16601,
45,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
17947,
54,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
44,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
43243,
75,
11,
1073,
15,
27605,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
55,
25306,
25,
87,
54,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
39764,
67,
7061,
3256,
26,
10210,
74,
42,
6144,
6144,
6144,
29767,
42,
7204,
42303,
78,
54,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
44,
11770,
26,
7061,
12359,
17020,
535,
297,
66,
25,
38508,
220,
2644,
6,
74,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
44,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
12038,
12038,
12038,
12038,
12038,
14326,
55,
38208,
12736,
297,
335,
87,
48632,
54,
12038,
12038,
12038,
14326,
45,
67,
6,
2109,
19424,
220,
220,
220,
220,
220,
11485,
75,
45,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
44,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
12038,
12038,
12038,
12038,
45,
15,
78,
45299,
7665,
25,
66,
297,
44601,
25,
26,
4032,
26,
78,
1340,
12038,
12038,
14326,
67,
6,
3256,
11,
4032,
13,
220,
220,
220,
220,
220,
220,
220,
11485,
986,
764,
67,
54,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
44,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
12038,
12038,
17947,
54,
46,
45299,
10210,
6684,
15,
42,
15,
46,
15,
42,
15,
42,
15,
41582,
66,
25,
17020,
67,
55,
12038,
43243,
75,
4032,
3256,
7665,
13,
220,
220,
220,
220,
220,
220,
220,
764,
39115,
4458,
75,
55,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
44,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
12038,
12038,
43243,
78,
26,
78,
42,
22117,
15,
67,
28747,
1860,
67,
2238,
15,
87,
1860,
74,
54,
15,
78,
3256,
74,
22117,
15,
66,
986,
11,
47288,
26,
13,
220,
764,
764,
535,
420,
492,
26,
10210,
55,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
44,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
12038,
12038,
55,
78,
25,
15,
12038,
12038,
54,
42,
15,
42,
8051,
16601,
16601,
55,
405,
45,
12038,
54,
42,
32105,
67,
54,
46,
11,
1106,
6,
7665,
6,
220,
11485,
764,
26,
3712,
4032,
3256,
11,
75,
42,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
44,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
12038,
14326,
25306,
15,
12038,
12038,
17947,
15,
74,
46,
5324,
74,
42,
28747,
15,
48632,
17947,
54,
12038,
45,
75,
6,
74,
46,
32105,
2109,
11,
32105,
2109,
9832,
66,
42,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
44,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
12038,
39764,
34350,
54,
12038,
12038,
14326,
38208,
74,
1860,
67,
5324,
34350,
74,
29132,
17947,
17947,
33907,
26,
66,
55,
67,
6,
2109,
11,
4032,
7061,
12359,
3256,
11,
25,
74,
55,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
12038,
43243,
482,
12038,
12038,
12038,
39764,
43145,
6144,
55,
45,
55,
15,
42,
55,
17947,
17947,
17947,
45,
44601,
8051,
67,
11,
2637,
16317,
6,
492,
6,
2637,
4032,
2637,
3256,
26,
25,
78,
42,
54,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
12038,
43243,
1140,
54,
12038,
12038,
12038,
44,
15,
349,
87,
74,
1140,
87,
74,
55,
54,
12038,
12038,
12038,
45,
5439,
27605,
45,
67,
986,
220,
44713,
492,
25,
15,
54,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
44,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
12038,
39764,
25306,
3913,
12038,
12038,
12038,
42,
28747,
74,
6684,
74,
6684,
55,
54,
12038,
12038,
44,
11770,
25,
74,
12038,
45,
75,
492,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11485,
220,
220,
764,
75,
15,
54,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
12038,
12038,
15,
25,
26,
74,
27605,
8051,
45,
22328,
15,
42,
2388,
16601,
55,
42,
15,
46,
1340,
54,
42,
44601,
14165,
67,
6,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
764,
11,
78,
42,
54,
12038,
12038,
12038,
12038,
12038,
12038,
44,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
12038,
12038,
54,
46,
26,
6,
75,
46,
5324,
46,
1860,
702,
25404,
10210,
31811,
75,
1140,
15,
46,
14057,
15,
54,
15,
38508,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
764,
11,
26,
78,
42,
12038,
12038,
12038,
12038,
12038,
12038,
44,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
12038,
12038,
14326,
42,
66,
492,
17020,
34388,
11380,
55,
15,
42,
43145,
42,
405,
46,
24954,
75,
25,
26,
9832,
78,
46,
78,
13,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
764,
6,
3256,
78,
42,
54,
12038,
12038,
12038,
12038,
12038,
44,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
12038,
12038,
12038,
14326,
30098,
11,
492,
17020,
66,
5088,
5324,
67,
349,
45299,
492,
11,
26,
25,
26,
492,
10354,
26,
492,
220,
11485,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11485,
7061,
17020,
67,
42,
17947,
12038,
12038,
12038,
12038,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
12038,
12038,
12038,
12038,
12038,
45,
15,
25404,
25,
26,
7061,
2637,
3256,
25,
66,
482,
46,
15,
29132,
17947,
15,
75,
492,
35384,
2644,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11485,
11,
4032,
10354,
87,
55,
54,
12038,
12038,
12038,
44,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
17947,
45,
55,
16601,
8051,
54,
12038,
12038,
12038,
12038,
12038,
45,
75,
986,
220,
220,
220,
220,
764,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11485,
4032,
3256,
11,
25,
87,
27605,
12038,
12038,
44,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
44,
15,
26,
492,
220,
220,
220,
220,
220,
220,
220,
11485,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
764,
11,
26,
3712,
4032,
66,
42,
12038,
12038,
44,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
54,
87,
6,
220,
220,
220,
220,
220,
220,
220,
220,
220,
764,
11,
26,
4458,
19424,
986,
220,
220,
220,
220,
220,
220,
220,
220,
11485,
3256,
4458,
75,
55,
12038,
12038,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
42,
25,
13,
220,
220,
220,
220,
220,
220,
220,
220,
764,
220,
764,
3256,
13,
11485,
220,
220,
220,
11485,
220,
220,
220,
220,
220,
220,
220,
220,
220,
19424,
67,
54,
12038,
44,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
337,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
12038,
74,
13,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11485,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2644,
66,
55,
12038,
44,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13538,
4943,
198,
220,
220,
220,
3601,
7203,
22851,
4226,
492,
4943,
198,
220,
220,
220,
28289,
35,
77,
330,
14155,
8567,
929,
49493,
22446,
12417,
3419
] | 1.435154 | 2,105 |
from SCons.Script import *
| [
6738,
6374,
684,
13,
7391,
1330,
1635,
198
] | 3.375 | 8 |
power = {'BUSES': {'Area': 1.08752,
'Bus/Area': 1.08752,
'Bus/Gate Leakage': 0.00541455,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0564625,
'Bus/Subthreshold Leakage with power gating': 0.0211734,
'Gate Leakage': 0.00541455,
'Peak Dynamic': 0.0,
'Runtime Dynamic': 0.0,
'Subthreshold Leakage': 0.0564625,
'Subthreshold Leakage with power gating': 0.0211734},
'Core': [{'Area': 32.6082,
'Execution Unit/Area': 8.2042,
'Execution Unit/Complex ALUs/Area': 0.235435,
'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646,
'Execution Unit/Complex ALUs/Peak Dynamic': 0.0955308,
'Execution Unit/Complex ALUs/Runtime Dynamic': 0.277723,
'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111,
'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163,
'Execution Unit/Floating Point Units/Area': 4.6585,
'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156,
'Execution Unit/Floating Point Units/Peak Dynamic': 0.852868,
'Execution Unit/Floating Point Units/Runtime Dynamic': 0.679223,
'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829,
'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061,
'Execution Unit/Gate Leakage': 0.122718,
'Execution Unit/Instruction Scheduler/Area': 2.17927,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.328073,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.00115349,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.20978,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.337297,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.017004,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00962066,
'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00730101,
'Execution Unit/Instruction Scheduler/Instruction Window/Area': 1.00996,
'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00529112,
'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 2.07911,
'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.584077,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0800117,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0455351,
'Execution Unit/Instruction Scheduler/Peak Dynamic': 4.84781,
'Execution Unit/Instruction Scheduler/ROB/Area': 0.841232,
'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.000856399,
'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.55892,
'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.377493,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.0178624,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00897339,
'Execution Unit/Instruction Scheduler/Runtime Dynamic': 1.29887,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.114878,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.0641291,
'Execution Unit/Integer ALUs/Area': 0.47087,
'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291,
'Execution Unit/Integer ALUs/Peak Dynamic': 0.202647,
'Execution Unit/Integer ALUs/Runtime Dynamic': 0.319665,
'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222,
'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833,
'Execution Unit/Peak Dynamic': 6.59121,
'Execution Unit/Register Files/Area': 0.570804,
'Execution Unit/Register Files/Floating Point RF/Area': 0.208131,
'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788,
'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.161125,
'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0122273,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968,
'Execution Unit/Register Files/Gate Leakage': 0.000622708,
'Execution Unit/Register Files/Integer RF/Area': 0.362673,
'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992,
'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.110483,
'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0904283,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675,
'Execution Unit/Register Files/Peak Dynamic': 0.271608,
'Execution Unit/Register Files/Runtime Dynamic': 0.102656,
'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387,
'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643,
'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0442632,
'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00607074,
'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.293143,
'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.835198,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.0920413,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0345155,
'Execution Unit/Runtime Dynamic': 3.51333,
'Execution Unit/Subthreshold Leakage': 1.83518,
'Execution Unit/Subthreshold Leakage with power gating': 0.709678,
'Gate Leakage': 0.372997,
'Instruction Fetch Unit/Area': 5.86007,
'Instruction Fetch Unit/Branch Predictor/Area': 0.138516,
'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.000781008,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.000781008,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.000675581,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000258971,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045,
'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838,
'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732,
'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05,
'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602,
'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00129901,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733,
'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00353661,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282,
'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954,
'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758,
'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867,
'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.0076553,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357,
'Instruction Fetch Unit/Gate Leakage': 0.0590479,
'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323,
'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05,
'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827,
'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0869311,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682,
'Instruction Fetch Unit/Instruction Cache/Area': 3.14635,
'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931,
'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 5.52956,
'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.213019,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386,
'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799,
'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493,
'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404,
'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.295257,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104,
'Instruction Fetch Unit/Peak Dynamic': 8.02054,
'Instruction Fetch Unit/Runtime Dynamic': 0.606399,
'Instruction Fetch Unit/Subthreshold Leakage': 0.932587,
'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.408542,
'L2/Area': 4.53318,
'L2/Gate Leakage': 0.015464,
'L2/Peak Dynamic': 0.152811,
'L2/Runtime Dynamic': 0.0364529,
'L2/Subthreshold Leakage': 0.834142,
'L2/Subthreshold Leakage with power gating': 0.401066,
'Load Store Unit/Area': 8.80969,
'Load Store Unit/Data Cache/Area': 6.84535,
'Load Store Unit/Data Cache/Gate Leakage': 0.0279261,
'Load Store Unit/Data Cache/Peak Dynamic': 3.72689,
'Load Store Unit/Data Cache/Runtime Dynamic': 1.24846,
'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675,
'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085,
'Load Store Unit/Gate Leakage': 0.0351387,
'Load Store Unit/LoadQ/Area': 0.0836782,
'Load Store Unit/LoadQ/Gate Leakage': 0.00059896,
'Load Store Unit/LoadQ/Peak Dynamic': 0.08055,
'Load Store Unit/LoadQ/Runtime Dynamic': 0.0805499,
'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961,
'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918,
'Load Store Unit/Peak Dynamic': 4.10881,
'Load Store Unit/Runtime Dynamic': 1.72626,
'Load Store Unit/StoreQ/Area': 0.322079,
'Load Store Unit/StoreQ/Gate Leakage': 0.00329971,
'Load Store Unit/StoreQ/Peak Dynamic': 0.198623,
'Load Store Unit/StoreQ/Runtime Dynamic': 0.397245,
'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621,
'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004,
'Load Store Unit/Subthreshold Leakage': 0.591622,
'Load Store Unit/Subthreshold Leakage with power gating': 0.283406,
'Memory Management Unit/Area': 0.434579,
'Memory Management Unit/Dtlb/Area': 0.0879726,
'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729,
'Memory Management Unit/Dtlb/Peak Dynamic': 0.0704918,
'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0727723,
'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699,
'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485,
'Memory Management Unit/Gate Leakage': 0.00813591,
'Memory Management Unit/Itlb/Area': 0.301552,
'Memory Management Unit/Itlb/Gate Leakage': 0.00393464,
'Memory Management Unit/Itlb/Peak Dynamic': 0.343808,
'Memory Management Unit/Itlb/Runtime Dynamic': 0.0347031,
'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758,
'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842,
'Memory Management Unit/Peak Dynamic': 0.624173,
'Memory Management Unit/Runtime Dynamic': 0.107475,
'Memory Management Unit/Subthreshold Leakage': 0.0769113,
'Memory Management Unit/Subthreshold Leakage with power gating': 0.0399462,
'Peak Dynamic': 24.0592,
'Renaming Unit/Area': 0.369768,
'Renaming Unit/FP Front End RAT/Area': 0.168486,
'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00489731,
'Renaming Unit/FP Front End RAT/Peak Dynamic': 3.33511,
'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.562129,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0437281,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.024925,
'Renaming Unit/Free List/Area': 0.0414755,
'Renaming Unit/Free List/Gate Leakage': 4.15911e-05,
'Renaming Unit/Free List/Peak Dynamic': 0.0401324,
'Renaming Unit/Free List/Runtime Dynamic': 0.0240118,
'Renaming Unit/Free List/Subthreshold Leakage': 0.000670426,
'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000377987,
'Renaming Unit/Gate Leakage': 0.00863632,
'Renaming Unit/Int Front End RAT/Area': 0.114751,
'Renaming Unit/Int Front End RAT/Gate Leakage': 0.00038343,
'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.86945,
'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.163866,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00611897,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00348781,
'Renaming Unit/Peak Dynamic': 4.56169,
'Renaming Unit/Runtime Dynamic': 0.750006,
'Renaming Unit/Subthreshold Leakage': 0.070483,
'Renaming Unit/Subthreshold Leakage with power gating': 0.0362779,
'Runtime Dynamic': 6.73993,
'Subthreshold Leakage': 6.21877,
'Subthreshold Leakage with power gating': 2.58311},
{'Area': 32.6082,
'Execution Unit/Area': 8.2042,
'Execution Unit/Complex ALUs/Area': 0.235435,
'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646,
'Execution Unit/Complex ALUs/Peak Dynamic': 0.0955837,
'Execution Unit/Complex ALUs/Runtime Dynamic': 0.277764,
'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111,
'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163,
'Execution Unit/Floating Point Units/Area': 4.6585,
'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156,
'Execution Unit/Floating Point Units/Peak Dynamic': 0.853885,
'Execution Unit/Floating Point Units/Runtime Dynamic': 0.679669,
'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829,
'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061,
'Execution Unit/Gate Leakage': 0.122718,
'Execution Unit/Instruction Scheduler/Area': 2.17927,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.328073,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.00115349,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.20978,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.337724,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.017004,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00962066,
'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00730101,
'Execution Unit/Instruction Scheduler/Instruction Window/Area': 1.00996,
'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00529112,
'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 2.07911,
'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.584816,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0800117,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0455351,
'Execution Unit/Instruction Scheduler/Peak Dynamic': 4.84781,
'Execution Unit/Instruction Scheduler/ROB/Area': 0.841232,
'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.000856399,
'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.55892,
'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.377927,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.0178624,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00897339,
'Execution Unit/Instruction Scheduler/Runtime Dynamic': 1.30047,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.114878,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.0641291,
'Execution Unit/Integer ALUs/Area': 0.47087,
'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291,
'Execution Unit/Integer ALUs/Peak Dynamic': 0.202914,
'Execution Unit/Integer ALUs/Runtime Dynamic': 0.319906,
'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222,
'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833,
'Execution Unit/Peak Dynamic': 6.59314,
'Execution Unit/Register Files/Area': 0.570804,
'Execution Unit/Register Files/Floating Point RF/Area': 0.208131,
'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788,
'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.161317,
'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0122428,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968,
'Execution Unit/Register Files/Gate Leakage': 0.000622708,
'Execution Unit/Register Files/Integer RF/Area': 0.362673,
'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992,
'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.110585,
'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0905428,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675,
'Execution Unit/Register Files/Peak Dynamic': 0.271902,
'Execution Unit/Register Files/Runtime Dynamic': 0.102786,
'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387,
'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643,
'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0442632,
'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00607074,
'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.293405,
'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.836102,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.0920413,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0345155,
'Execution Unit/Runtime Dynamic': 3.5167,
'Execution Unit/Subthreshold Leakage': 1.83518,
'Execution Unit/Subthreshold Leakage with power gating': 0.709678,
'Gate Leakage': 0.372997,
'Instruction Fetch Unit/Area': 5.86007,
'Instruction Fetch Unit/Branch Predictor/Area': 0.138516,
'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.000782126,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.000782126,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.000676533,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000259327,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045,
'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838,
'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732,
'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05,
'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602,
'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00130065,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733,
'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00354144,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282,
'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954,
'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758,
'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867,
'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.0076668,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357,
'Instruction Fetch Unit/Gate Leakage': 0.0590479,
'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323,
'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05,
'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827,
'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0870411,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682,
'Instruction Fetch Unit/Instruction Cache/Area': 3.14635,
'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931,
'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 5.53656,
'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.212864,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386,
'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799,
'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493,
'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404,
'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.295631,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104,
'Instruction Fetch Unit/Peak Dynamic': 8.02789,
'Instruction Fetch Unit/Runtime Dynamic': 0.606744,
'Instruction Fetch Unit/Subthreshold Leakage': 0.932587,
'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.408542,
'L2/Area': 4.53318,
'L2/Gate Leakage': 0.015464,
'L2/Peak Dynamic': 0.152816,
'L2/Runtime Dynamic': 0.036542,
'L2/Subthreshold Leakage': 0.834142,
'L2/Subthreshold Leakage with power gating': 0.401066,
'Load Store Unit/Area': 8.80969,
'Load Store Unit/Data Cache/Area': 6.84535,
'Load Store Unit/Data Cache/Gate Leakage': 0.0279261,
'Load Store Unit/Data Cache/Peak Dynamic': 3.73104,
'Load Store Unit/Data Cache/Runtime Dynamic': 1.25059,
'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675,
'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085,
'Load Store Unit/Gate Leakage': 0.0351387,
'Load Store Unit/LoadQ/Area': 0.0836782,
'Load Store Unit/LoadQ/Gate Leakage': 0.00059896,
'Load Store Unit/LoadQ/Peak Dynamic': 0.0806842,
'Load Store Unit/LoadQ/Runtime Dynamic': 0.0806842,
'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961,
'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918,
'Load Store Unit/Peak Dynamic': 4.1136,
'Load Store Unit/Runtime Dynamic': 1.72918,
'Load Store Unit/StoreQ/Area': 0.322079,
'Load Store Unit/StoreQ/Gate Leakage': 0.00329971,
'Load Store Unit/StoreQ/Peak Dynamic': 0.198953,
'Load Store Unit/StoreQ/Runtime Dynamic': 0.397907,
'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621,
'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004,
'Load Store Unit/Subthreshold Leakage': 0.591622,
'Load Store Unit/Subthreshold Leakage with power gating': 0.283406,
'Memory Management Unit/Area': 0.434579,
'Memory Management Unit/Dtlb/Area': 0.0879726,
'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729,
'Memory Management Unit/Dtlb/Peak Dynamic': 0.0706092,
'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0728902,
'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699,
'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485,
'Memory Management Unit/Gate Leakage': 0.00813591,
'Memory Management Unit/Itlb/Area': 0.301552,
'Memory Management Unit/Itlb/Gate Leakage': 0.00393464,
'Memory Management Unit/Itlb/Peak Dynamic': 0.344243,
'Memory Management Unit/Itlb/Runtime Dynamic': 0.0346814,
'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758,
'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842,
'Memory Management Unit/Peak Dynamic': 0.624811,
'Memory Management Unit/Runtime Dynamic': 0.107572,
'Memory Management Unit/Subthreshold Leakage': 0.0769113,
'Memory Management Unit/Subthreshold Leakage with power gating': 0.0399462,
'Peak Dynamic': 24.0739,
'Renaming Unit/Area': 0.369768,
'Renaming Unit/FP Front End RAT/Area': 0.168486,
'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00489731,
'Renaming Unit/FP Front End RAT/Peak Dynamic': 3.33511,
'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.562798,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0437281,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.024925,
'Renaming Unit/Free List/Area': 0.0414755,
'Renaming Unit/Free List/Gate Leakage': 4.15911e-05,
'Renaming Unit/Free List/Peak Dynamic': 0.0401324,
'Renaming Unit/Free List/Runtime Dynamic': 0.0240417,
'Renaming Unit/Free List/Subthreshold Leakage': 0.000670426,
'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000377987,
'Renaming Unit/Gate Leakage': 0.00863632,
'Renaming Unit/Int Front End RAT/Area': 0.114751,
'Renaming Unit/Int Front End RAT/Gate Leakage': 0.00038343,
'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.86945,
'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.164074,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00611897,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00348781,
'Renaming Unit/Peak Dynamic': 4.56169,
'Renaming Unit/Runtime Dynamic': 0.750914,
'Renaming Unit/Subthreshold Leakage': 0.070483,
'Renaming Unit/Subthreshold Leakage with power gating': 0.0362779,
'Runtime Dynamic': 6.74765,
'Subthreshold Leakage': 6.21877,
'Subthreshold Leakage with power gating': 2.58311}],
'DRAM': {'Area': 0,
'Gate Leakage': 0,
'Peak Dynamic': 3.72117540729286,
'Runtime Dynamic': 3.72117540729286,
'Subthreshold Leakage': 4.252,
'Subthreshold Leakage with power gating': 4.252},
'L3': [{'Area': 61.9075,
'Gate Leakage': 0.0484137,
'Peak Dynamic': 0.569896,
'Runtime Dynamic': 0.377251,
'Subthreshold Leakage': 6.80085,
'Subthreshold Leakage with power gating': 3.32364}],
'Processor': {'Area': 128.211,
'Gate Leakage': 0.799822,
'Peak Dynamic': 48.7031,
'Peak Power': 68.7978,
'Runtime Dynamic': 13.8648,
'Subthreshold Leakage': 19.2949,
'Subthreshold Leakage with power gating': 8.76959,
'Total Cores/Area': 65.2164,
'Total Cores/Gate Leakage': 0.745993,
'Total Cores/Peak Dynamic': 48.1332,
'Total Cores/Runtime Dynamic': 13.4876,
'Total Cores/Subthreshold Leakage': 12.4375,
'Total Cores/Subthreshold Leakage with power gating': 5.16621,
'Total L3s/Area': 61.9075,
'Total L3s/Gate Leakage': 0.0484137,
'Total L3s/Peak Dynamic': 0.569896,
'Total L3s/Runtime Dynamic': 0.377251,
'Total L3s/Subthreshold Leakage': 6.80085,
'Total L3s/Subthreshold Leakage with power gating': 3.32364,
'Total Leakage': 20.0947,
'Total NoCs/Area': 1.08752,
'Total NoCs/Gate Leakage': 0.00541455,
'Total NoCs/Peak Dynamic': 0.0,
'Total NoCs/Runtime Dynamic': 0.0,
'Total NoCs/Subthreshold Leakage': 0.0564625,
'Total NoCs/Subthreshold Leakage with power gating': 0.0211734}} | [
6477,
796,
1391,
6,
45346,
1546,
10354,
1391,
6,
30547,
10354,
352,
13,
2919,
43665,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
16286,
14,
30547,
10354,
352,
13,
2919,
43665,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
16286,
14,
22628,
1004,
461,
496,
10354,
657,
13,
405,
4051,
1415,
2816,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
16286,
14,
6435,
461,
26977,
10354,
657,
13,
15,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
16286,
14,
41006,
26977,
10354,
657,
13,
15,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
16286,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
2713,
2414,
26704,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
16286,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
2999,
17657,
2682,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
22628,
1004,
461,
496,
10354,
657,
13,
405,
4051,
1415,
2816,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6435,
461,
26977,
10354,
657,
13,
15,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
41006,
26977,
10354,
657,
13,
15,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
2713,
2414,
26704,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
2999,
17657,
2682,
5512,
198,
705,
14055,
10354,
685,
90,
6,
30547,
10354,
3933,
13,
1899,
6469,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
30547,
10354,
807,
13,
1238,
3682,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
5377,
11141,
8355,
5842,
14,
30547,
10354,
657,
13,
1954,
4051,
2327,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
5377,
11141,
8355,
5842,
14,
22628,
1004,
461,
496,
10354,
657,
13,
30273,
2075,
3510,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
5377,
11141,
8355,
5842,
14,
6435,
461,
26977,
10354,
657,
13,
2931,
2816,
21495,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
5377,
11141,
8355,
5842,
14,
41006,
26977,
10354,
657,
13,
1983,
3324,
1954,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
5377,
11141,
8355,
5842,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
1264,
1157,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
5377,
11141,
8355,
5842,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
15,
41874,
24136,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
33574,
803,
6252,
27719,
14,
30547,
10354,
604,
13,
2996,
5332,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
33574,
803,
6252,
27719,
14,
22628,
1004,
461,
496,
10354,
657,
13,
15,
37466,
21599,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
33574,
803,
6252,
27719,
14,
6435,
461,
26977,
10354,
657,
13,
5332,
2078,
3104,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
33574,
803,
6252,
27719,
14,
41006,
26977,
10354,
657,
13,
37601,
22047,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
33574,
803,
6252,
27719,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
2079,
2780,
1959,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
33574,
803,
6252,
27719,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
2718,
1270,
5333,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
22628,
1004,
461,
496,
10354,
657,
13,
1065,
1983,
1507,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
30547,
10354,
362,
13,
21738,
1983,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
5837,
46486,
26580,
14,
30547,
10354,
657,
13,
2624,
1795,
4790,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
5837,
46486,
26580,
14,
22628,
1004,
461,
496,
10354,
657,
13,
405,
15363,
27371,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
5837,
46486,
26580,
14,
6435,
461,
26977,
10354,
352,
13,
22567,
3695,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
5837,
46486,
26580,
14,
41006,
26977,
10354,
657,
13,
31496,
26561,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
5837,
46486,
26580,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
486,
9879,
19,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
5837,
46486,
26580,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
405,
4846,
1238,
2791,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
22628,
1004,
461,
496,
10354,
657,
13,
405,
4790,
486,
486,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
6310,
2762,
26580,
14,
30547,
10354,
352,
13,
405,
38565,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
6310,
2762,
26580,
14,
22628,
1004,
461,
496,
10354,
657,
13,
22544,
1959,
14686,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
6310,
2762,
26580,
14,
6435,
461,
26977,
10354,
362,
13,
2998,
35549,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
6310,
2762,
26580,
14,
41006,
26977,
10354,
657,
13,
3365,
1821,
3324,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
6310,
2762,
26580,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
2919,
405,
17657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
6310,
2762,
26580,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
15,
30505,
35273,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
6435,
461,
26977,
10354,
604,
13,
23,
2857,
6659,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
49,
9864,
14,
30547,
10354,
657,
13,
5705,
1065,
2624,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
49,
9864,
14,
22628,
1004,
461,
496,
10354,
657,
13,
830,
23,
3980,
28771,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
49,
9864,
14,
6435,
461,
26977,
10354,
352,
13,
2816,
4531,
17,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
49,
9864,
14,
41006,
26977,
10354,
657,
13,
26514,
43134,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
49,
9864,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
486,
46302,
1731,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
49,
9864,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
405,
4531,
22,
29626,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
41006,
26977,
10354,
352,
13,
1959,
46660,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
1157,
2780,
3695,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
15,
2414,
1065,
6420,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
46541,
8355,
5842,
14,
30547,
10354,
657,
13,
27790,
5774,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
46541,
8355,
5842,
14,
22628,
1004,
461,
496,
10354,
657,
13,
15,
22980,
33551,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
46541,
8355,
5842,
14,
6435,
461,
26977,
10354,
657,
13,
1238,
2075,
2857,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
46541,
8355,
5842,
14,
41006,
26977,
10354,
657,
13,
35175,
36879,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
46541,
8355,
5842,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
1821,
23148,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
46541,
8355,
5842,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
8628,
48634,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6435,
461,
26977,
10354,
718,
13,
3270,
19244,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
30547,
10354,
657,
13,
39254,
36088,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
33574,
803,
6252,
20445,
14,
30547,
10354,
657,
13,
21315,
22042,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
33574,
803,
6252,
20445,
14,
22628,
1004,
461,
496,
10354,
657,
13,
830,
1954,
1983,
3459,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
33574,
803,
6252,
20445,
14,
6435,
461,
26977,
10354,
657,
13,
25948,
11623,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
33574,
803,
6252,
20445,
14,
41006,
26977,
10354,
657,
13,
486,
1828,
27367,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
33574,
803,
6252,
20445,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
11245,
2079,
39357,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
33574,
803,
6252,
20445,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
405,
1558,
3388,
3104,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
22628,
1004,
461,
496,
10354,
657,
13,
830,
21,
1828,
32583,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
46541,
20445,
14,
30547,
10354,
657,
13,
2623,
2075,
4790,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
46541,
20445,
14,
22628,
1004,
461,
496,
10354,
657,
13,
830,
2548,
41561,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
46541,
20445,
14,
6435,
461,
26977,
10354,
657,
13,
11442,
38783,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
46541,
20445,
14,
41006,
26977,
10354,
657,
13,
2931,
3023,
30290,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
46541,
20445,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
28041,
1415,
17430,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
46541,
20445,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
405,
1731,
2791,
2425,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
6435,
461,
26977,
10354,
657,
13,
1983,
1433,
2919,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
41006,
26977,
10354,
657,
13,
940,
2075,
3980,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
486,
486,
32220,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
22914,
1954,
41813,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
25468,
44244,
5869,
14,
30547,
3827,
2256,
10354,
657,
13,
43977,
2075,
2624,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
25468,
44244,
5869,
14,
22628,
1004,
461,
496,
10354,
657,
13,
405,
1899,
2154,
4524,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
25468,
44244,
5869,
14,
6435,
461,
26977,
10354,
657,
13,
31675,
21139,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
25468,
44244,
5869,
14,
41006,
26977,
10354,
657,
13,
23,
2327,
22337,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
25468,
44244,
5869,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
2931,
18638,
1485,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
25468,
44244,
5869,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
3070,
2231,
18742,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
41006,
26977,
10354,
513,
13,
48645,
2091,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
352,
13,
23,
2327,
1507,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
31495,
30924,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
22628,
1004,
461,
496,
10354,
657,
13,
2718,
1959,
5607,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
30547,
10354,
642,
13,
4521,
25816,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
30547,
10354,
657,
13,
1485,
5332,
1433,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
22164,
13416,
14,
30547,
10354,
657,
13,
3023,
2327,
26115,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
22164,
13416,
14,
22628,
1004,
461,
496,
10354,
657,
13,
830,
25870,
35667,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
22164,
13416,
14,
6435,
461,
26977,
10354,
657,
13,
486,
34427,
3132,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
22164,
13416,
14,
41006,
26977,
10354,
657,
13,
830,
3695,
3064,
23,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
22164,
13416,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
405,
2425,
5607,
1129,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
22164,
13416,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
405,
2670,
24940,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
22628,
1004,
461,
496,
10354,
657,
13,
830,
2425,
29143,
22,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
22289,
49461,
273,
14,
30547,
10354,
657,
13,
3023,
2327,
26115,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
22289,
49461,
273,
14,
22628,
1004,
461,
496,
10354,
657,
13,
830,
25870,
35667,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
22289,
49461,
273,
14,
6435,
461,
26977,
10354,
657,
13,
486,
34427,
3132,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
22289,
49461,
273,
14,
41006,
26977,
10354,
657,
13,
830,
3695,
3064,
23,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
22289,
49461,
273,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
405,
2425,
5607,
1129,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
22289,
49461,
273,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
405,
2670,
24940,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
43,
16,
62,
14565,
49461,
273,
14,
30547,
10354,
657,
13,
36629,
2154,
2414,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
43,
16,
62,
14565,
49461,
273,
14,
22628,
1004,
461,
496,
10354,
657,
13,
18005,
45326,
2780,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
43,
16,
62,
14565,
49461,
273,
14,
6435,
461,
26977,
10354,
657,
13,
28645,
1495,
2425,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
43,
16,
62,
14565,
49461,
273,
14,
41006,
26977,
10354,
657,
13,
830,
42444,
48630,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
43,
16,
62,
14565,
49461,
273,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
405,
2548,
3559,
2598,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
43,
16,
62,
14565,
49461,
273,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
405,
28054,
3132,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
43,
17,
62,
14565,
49461,
273,
14,
30547,
10354,
657,
13,
25150,
1129,
1558,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
43,
17,
62,
14565,
49461,
273,
14,
22628,
1004,
461,
496,
10354,
807,
13,
405,
25272,
68,
12,
2713,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
43,
17,
62,
14565,
49461,
273,
14,
6435,
461,
26977,
10354,
657,
13,
22544,
1983,
34825,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
43,
17,
62,
14565,
49461,
273,
14,
41006,
26977,
10354,
657,
13,
830,
1495,
4531,
4869,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
43,
17,
62,
14565,
49461,
273,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
405,
1507,
1485,
2857,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
43,
17,
62,
14565,
49461,
273,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
830,
3865,
2154,
2231,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
6435,
461,
26977,
10354,
657,
13,
2713,
32196,
2548,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
49,
1921,
14,
30547,
10354,
657,
13,
486,
43526,
2624,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
49,
1921,
14,
22628,
1004,
461,
496,
10354,
604,
13,
21,
2548,
3365,
68,
12,
2713,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
49,
1921,
14,
6435,
461,
26977,
10354,
657,
13,
486,
1558,
31418,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
49,
1921,
14,
41006,
26977,
10354,
657,
13,
405,
1065,
2079,
486,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
49,
1921,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
830,
24,
2624,
31654,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
49,
1921,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
830,
2920,
2857,
2091,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
41006,
26977,
10354,
657,
13,
405,
2327,
2623,
5333,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
486,
2079,
36809,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
486,
3070,
32568,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
12744,
47017,
14,
30547,
10354,
657,
13,
2414,
48372,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
12744,
47017,
14,
22628,
1004,
461,
496,
10354,
657,
13,
405,
1983,
1983,
3365,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
12744,
47017,
14,
6435,
461,
26977,
10354,
657,
13,
1558,
3695,
3134,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
12744,
47017,
14,
41006,
26977,
10354,
657,
13,
405,
4304,
48096,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
12744,
47017,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
2919,
1157,
43950,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
12744,
47017,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
3023,
2327,
27277,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
22628,
1004,
461,
496,
10354,
657,
13,
2713,
3829,
31714,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
47017,
14,
30547,
10354,
657,
13,
44087,
5066,
1954,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
47017,
14,
22628,
1004,
461,
496,
10354,
718,
13,
23,
2327,
3365,
68,
12,
2713,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
47017,
14,
6435,
461,
26977,
10354,
657,
13,
1899,
3104,
1983,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
47017,
14,
41006,
26977,
10354,
657,
13,
2919,
3388,
36244,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
47017,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
405,
1314,
1507,
5332,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
47017,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
830,
41583,
43950,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
34088,
14,
30547,
10354,
513,
13,
20964,
2327,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
34088,
14,
22628,
1004,
461,
496,
10354,
657,
13,
15,
22579,
3132,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
34088,
14,
6435,
461,
26977,
10354,
642,
13,
49721,
3980,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
34088,
14,
41006,
26977,
10354,
657,
13,
26427,
30484,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
34088,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
2623,
2154,
1828,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
34088,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
15259,
21734,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
34580,
14,
30547,
10354,
352,
13,
23,
3553,
2079,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
34580,
14,
22628,
1004,
461,
496,
10354,
657,
13,
44087,
1731,
6052,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
34580,
14,
6435,
461,
26977,
10354,
352,
13,
2718,
26429,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
34580,
14,
41006,
26977,
10354,
657,
13,
25710,
28676,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
34580,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
2598,
1959,
3559,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
34580,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
23055,
13464,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6435,
461,
26977,
10354,
807,
13,
33618,
4051,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
41006,
26977,
10354,
657,
13,
1899,
5066,
2079,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
6052,
1495,
5774,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
1821,
5332,
3682,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
43,
17,
14,
30547,
10354,
604,
13,
44994,
1507,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
43,
17,
14,
22628,
1004,
461,
496,
10354,
657,
13,
486,
4051,
2414,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
43,
17,
14,
6435,
461,
26977,
10354,
657,
13,
1314,
2078,
1157,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
43,
17,
14,
41006,
26977,
10354,
657,
13,
48597,
2231,
1959,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
43,
17,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
23,
2682,
23726,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
43,
17,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
19,
20943,
2791,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
30547,
10354,
807,
13,
34583,
3388,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
6601,
34088,
14,
30547,
10354,
718,
13,
23,
2231,
2327,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
6601,
34088,
14,
22628,
1004,
461,
496,
10354,
657,
13,
15,
26050,
30057,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
6601,
34088,
14,
6435,
461,
26977,
10354,
513,
13,
22,
2075,
4531,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
6601,
34088,
14,
41006,
26977,
10354,
352,
13,
23045,
3510,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
6601,
34088,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
20,
27988,
2425,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
6601,
34088,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
9031,
5332,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
22628,
1004,
461,
496,
10354,
657,
13,
44215,
1485,
5774,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
8912,
48,
14,
30547,
10354,
657,
13,
2919,
2623,
46519,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
8912,
48,
14,
22628,
1004,
461,
496,
10354,
657,
13,
830,
3270,
48712,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
8912,
48,
14,
6435,
461,
26977,
10354,
657,
13,
33057,
2816,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
8912,
48,
14,
41006,
26977,
10354,
657,
13,
33057,
4051,
2079,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
8912,
48,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
405,
5824,
1129,
5333,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
8912,
48,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
22544,
30803,
1507,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
6435,
461,
26977,
10354,
604,
13,
940,
3459,
16,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
41006,
26977,
10354,
352,
13,
22,
2075,
2075,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
22658,
48,
14,
30547,
10354,
657,
13,
2624,
1238,
3720,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
22658,
48,
14,
22628,
1004,
461,
496,
10354,
657,
13,
11245,
22579,
4869,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
22658,
48,
14,
6435,
461,
26977,
10354,
657,
13,
28054,
1954,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
22658,
48,
14,
41006,
26977,
10354,
657,
13,
33372,
22995,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
22658,
48,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
3070,
29228,
2481,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
22658,
48,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
486,
5607,
22914,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
3270,
1433,
1828,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
2078,
23601,
21,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
30547,
10354,
657,
13,
3559,
2231,
3720,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
35,
83,
23160,
14,
30547,
10354,
657,
13,
2919,
44673,
2075,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
35,
83,
23160,
14,
22628,
1004,
461,
496,
10354,
657,
13,
830,
46660,
1959,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
35,
83,
23160,
14,
6435,
461,
26977,
10354,
657,
13,
43509,
2920,
1507,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
35,
83,
23160,
14,
41006,
26977,
10354,
657,
13,
2998,
27019,
1954,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
35,
83,
23160,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
486,
37864,
2079,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
35,
83,
23160,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
405,
46660,
32642,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
22628,
1004,
461,
496,
10354,
657,
13,
25257,
1485,
48952,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
1026,
23160,
14,
30547,
10354,
657,
13,
18938,
40427,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
1026,
23160,
14,
22628,
1004,
461,
496,
10354,
657,
13,
405,
2670,
2682,
2414,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
1026,
23160,
14,
6435,
461,
26977,
10354,
657,
13,
2682,
23734,
23,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
1026,
23160,
14,
41006,
26977,
10354,
657,
13,
49841,
2154,
3132,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
1026,
23160,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
3023,
1485,
38569,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
1026,
23160,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
45310,
3365,
3682,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
6435,
461,
26977,
10354,
657,
13,
21,
1731,
25399,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
41006,
26977,
10354,
657,
13,
940,
4524,
2425,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
2998,
3388,
16616,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
3070,
2079,
39997,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6435,
461,
26977,
10354,
1987,
13,
2713,
5892,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
30547,
10354,
657,
13,
2623,
5607,
3104,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
5837,
8880,
5268,
371,
1404,
14,
30547,
10354,
657,
13,
14656,
34251,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
5837,
8880,
5268,
371,
1404,
14,
22628,
1004,
461,
496,
10354,
657,
13,
405,
2780,
5607,
3132,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
5837,
8880,
5268,
371,
1404,
14,
6435,
461,
26977,
10354,
513,
13,
27326,
1157,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
5837,
8880,
5268,
371,
1404,
14,
41006,
26977,
10354,
657,
13,
43918,
18741,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
5837,
8880,
5268,
371,
1404,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
3023,
2718,
30368,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
5837,
8880,
5268,
371,
1404,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
15,
21626,
1495,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
11146,
7343,
14,
30547,
10354,
657,
13,
3023,
1415,
38172,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
11146,
7343,
14,
22628,
1004,
461,
496,
10354,
604,
13,
19707,
1157,
68,
12,
2713,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
11146,
7343,
14,
6435,
461,
26977,
10354,
657,
13,
3023,
30273,
1731,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
11146,
7343,
14,
41006,
26977,
10354,
657,
13,
40839,
486,
1507,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
11146,
7343,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
830,
21,
32869,
2075,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
11146,
7343,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
830,
2718,
3720,
5774,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
22628,
1004,
461,
496,
10354,
657,
13,
405,
4521,
2623,
2624,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
5317,
8880,
5268,
371,
1404,
14,
30547,
10354,
657,
13,
16562,
48365,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
5317,
8880,
5268,
371,
1404,
14,
22628,
1004,
461,
496,
10354,
657,
13,
830,
2548,
32118,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
5317,
8880,
5268,
371,
1404,
14,
6435,
461,
26977,
10354,
657,
13,
23,
3388,
2231,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
5317,
8880,
5268,
371,
1404,
14,
41006,
26977,
10354,
657,
13,
1433,
2548,
2791,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
5317,
8880,
5268,
371,
1404,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
28041,
1157,
4531,
22,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
5317,
8880,
5268,
371,
1404,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
405,
28978,
49703,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
6435,
461,
26977,
10354,
604,
13,
3980,
22172,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
41006,
26977,
10354,
657,
13,
2425,
830,
21,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
43509,
38783,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
48597,
1983,
3720,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
41006,
26977,
10354,
718,
13,
4790,
44821,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7004,
400,
10126,
1004,
461,
496,
10354,
718,
13,
28727,
3324,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
362,
13,
3365,
36244,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1391,
6,
30547,
10354,
3933,
13,
1899,
6469,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
30547,
10354,
807,
13,
1238,
3682,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
5377,
11141,
8355,
5842,
14,
30547,
10354,
657,
13,
1954,
4051,
2327,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
5377,
11141,
8355,
5842,
14,
22628,
1004,
461,
496,
10354,
657,
13,
30273,
2075,
3510,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
5377,
11141,
8355,
5842,
14,
6435,
461,
26977,
10354,
657,
13,
2931,
40486,
2718,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
5377,
11141,
8355,
5842,
14,
41006,
26977,
10354,
657,
13,
1983,
3324,
2414,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
5377,
11141,
8355,
5842,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
1264,
1157,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
5377,
11141,
8355,
5842,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
15,
41874,
24136,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
33574,
803,
6252,
27719,
14,
30547,
10354,
604,
13,
2996,
5332,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
33574,
803,
6252,
27719,
14,
22628,
1004,
461,
496,
10354,
657,
13,
15,
37466,
21599,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
33574,
803,
6252,
27719,
14,
6435,
461,
26977,
10354,
657,
13,
5332,
2548,
5332,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
33574,
803,
6252,
27719,
14,
41006,
26977,
10354,
657,
13,
37601,
36657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
33574,
803,
6252,
27719,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
2079,
2780,
1959,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
33574,
803,
6252,
27719,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
2718,
1270,
5333,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
22628,
1004,
461,
496,
10354,
657,
13,
1065,
1983,
1507,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
30547,
10354,
362,
13,
21738,
1983,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
5837,
46486,
26580,
14,
30547,
10354,
657,
13,
2624,
1795,
4790,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
5837,
46486,
26580,
14,
22628,
1004,
461,
496,
10354,
657,
13,
405,
15363,
27371,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
5837,
46486,
26580,
14,
6435,
461,
26977,
10354,
352,
13,
22567,
3695,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
5837,
46486,
26580,
14,
41006,
26977,
10354,
657,
13,
2091,
3324,
1731,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
5837,
46486,
26580,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
486,
9879,
19,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
5837,
46486,
26580,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
405,
4846,
1238,
2791,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
22628,
1004,
461,
496,
10354,
657,
13,
405,
4790,
486,
486,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
6310,
2762,
26580,
14,
30547,
10354,
352,
13,
405,
38565,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
6310,
2762,
26580,
14,
22628,
1004,
461,
496,
10354,
657,
13,
22544,
1959,
14686,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
6310,
2762,
26580,
14,
6435,
461,
26977,
10354,
362,
13,
2998,
35549,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
6310,
2762,
26580,
14,
41006,
26977,
10354,
657,
13,
3365,
2780,
1433,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
6310,
2762,
26580,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
2919,
405,
17657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
6310,
2762,
26580,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
15,
30505,
35273,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
6435,
461,
26977,
10354,
604,
13,
23,
2857,
6659,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
49,
9864,
14,
30547,
10354,
657,
13,
5705,
1065,
2624,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
49,
9864,
14,
22628,
1004,
461,
496,
10354,
657,
13,
830,
23,
3980,
28771,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
49,
9864,
14,
6435,
461,
26977,
10354,
352,
13,
2816,
4531,
17,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
49,
9864,
14,
41006,
26977,
10354,
657,
13,
2718,
3720,
1983,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
49,
9864,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
486,
46302,
1731,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
49,
9864,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
405,
4531,
22,
29626,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
41006,
26977,
10354,
352,
13,
6200,
2857,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
1157,
2780,
3695,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6310,
2762,
27774,
18173,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
15,
2414,
1065,
6420,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
46541,
8355,
5842,
14,
30547,
10354,
657,
13,
27790,
5774,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
46541,
8355,
5842,
14,
22628,
1004,
461,
496,
10354,
657,
13,
15,
22980,
33551,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
46541,
8355,
5842,
14,
6435,
461,
26977,
10354,
657,
13,
1238,
1959,
1415,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
46541,
8355,
5842,
14,
41006,
26977,
10354,
657,
13,
18,
19104,
3312,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
46541,
8355,
5842,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
1821,
23148,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
46541,
8355,
5842,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
8628,
48634,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
6435,
461,
26977,
10354,
718,
13,
3270,
33638,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
30547,
10354,
657,
13,
39254,
36088,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
33574,
803,
6252,
20445,
14,
30547,
10354,
657,
13,
21315,
22042,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
33574,
803,
6252,
20445,
14,
22628,
1004,
461,
496,
10354,
657,
13,
830,
1954,
1983,
3459,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
33574,
803,
6252,
20445,
14,
6435,
461,
26977,
10354,
657,
13,
1433,
1485,
1558,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
33574,
803,
6252,
20445,
14,
41006,
26977,
10354,
657,
13,
486,
24137,
2078,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
33574,
803,
6252,
20445,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
11245,
2079,
39357,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
33574,
803,
6252,
20445,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
405,
1558,
3388,
3104,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
22628,
1004,
461,
496,
10354,
657,
13,
830,
21,
1828,
32583,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
46541,
20445,
14,
30547,
10354,
657,
13,
2623,
2075,
4790,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
46541,
20445,
14,
22628,
1004,
461,
496,
10354,
657,
13,
830,
2548,
41561,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
46541,
20445,
14,
6435,
461,
26977,
10354,
657,
13,
11442,
38905,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
46541,
20445,
14,
41006,
26977,
10354,
657,
13,
2931,
2713,
40173,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
46541,
20445,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
28041,
1415,
17430,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
46541,
20445,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
405,
1731,
2791,
2425,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
6435,
461,
26977,
10354,
657,
13,
1983,
1129,
2999,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
41006,
26977,
10354,
657,
13,
40403,
4521,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
486,
486,
32220,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
38804,
13283,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
22914,
1954,
41813,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
25468,
44244,
5869,
14,
30547,
3827,
2256,
10354,
657,
13,
43977,
2075,
2624,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
25468,
44244,
5869,
14,
22628,
1004,
461,
496,
10354,
657,
13,
405,
1899,
2154,
4524,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
25468,
44244,
5869,
14,
6435,
461,
26977,
10354,
657,
13,
1959,
23601,
20,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
25468,
44244,
5869,
14,
41006,
26977,
10354,
657,
13,
23,
2623,
15377,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
25468,
44244,
5869,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
2931,
18638,
1485,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
25468,
44244,
5869,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
3070,
2231,
18742,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
41006,
26977,
10354,
513,
13,
20,
21940,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
352,
13,
23,
2327,
1507,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
23002,
1009,
11801,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
31495,
30924,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
22628,
1004,
461,
496,
10354,
657,
13,
2718,
1959,
5607,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
30547,
10354,
642,
13,
4521,
25816,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
30547,
10354,
657,
13,
1485,
5332,
1433,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
22164,
13416,
14,
30547,
10354,
657,
13,
3023,
2327,
26115,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
22164,
13416,
14,
22628,
1004,
461,
496,
10354,
657,
13,
830,
25870,
35667,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
22164,
13416,
14,
6435,
461,
26977,
10354,
657,
13,
486,
34427,
3132,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
22164,
13416,
14,
41006,
26977,
10354,
657,
13,
830,
46519,
19420,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
22164,
13416,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
405,
2425,
5607,
1129,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
22164,
13416,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
405,
2670,
24940,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
22628,
1004,
461,
496,
10354,
657,
13,
830,
2425,
29143,
22,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
22289,
49461,
273,
14,
30547,
10354,
657,
13,
3023,
2327,
26115,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
22289,
49461,
273,
14,
22628,
1004,
461,
496,
10354,
657,
13,
830,
25870,
35667,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
22289,
49461,
273,
14,
6435,
461,
26977,
10354,
657,
13,
486,
34427,
3132,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
22289,
49461,
273,
14,
41006,
26977,
10354,
657,
13,
830,
46519,
19420,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
22289,
49461,
273,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
405,
2425,
5607,
1129,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
22289,
49461,
273,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
405,
2670,
24940,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
43,
16,
62,
14565,
49461,
273,
14,
30547,
10354,
657,
13,
36629,
2154,
2414,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
43,
16,
62,
14565,
49461,
273,
14,
22628,
1004,
461,
496,
10354,
657,
13,
18005,
45326,
2780,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
43,
16,
62,
14565,
49461,
273,
14,
6435,
461,
26977,
10354,
657,
13,
28645,
1495,
2425,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
43,
16,
62,
14565,
49461,
273,
14,
41006,
26977,
10354,
657,
13,
830,
3134,
2996,
2091,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
43,
16,
62,
14565,
49461,
273,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
405,
2548,
3559,
2598,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
43,
16,
62,
14565,
49461,
273,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
405,
28054,
3132,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
43,
17,
62,
14565,
49461,
273,
14,
30547,
10354,
657,
13,
25150,
1129,
1558,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
43,
17,
62,
14565,
49461,
273,
14,
22628,
1004,
461,
496,
10354,
807,
13,
405,
25272,
68,
12,
2713,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
43,
17,
62,
14565,
49461,
273,
14,
6435,
461,
26977,
10354,
657,
13,
22544,
1983,
34825,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
43,
17,
62,
14565,
49461,
273,
14,
41006,
26977,
10354,
657,
13,
830,
1495,
6052,
1983,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
43,
17,
62,
14565,
49461,
273,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
405,
1507,
1485,
2857,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
43,
17,
62,
14565,
49461,
273,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
830,
3865,
2154,
2231,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
6435,
461,
26977,
10354,
657,
13,
2713,
32196,
2548,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
49,
1921,
14,
30547,
10354,
657,
13,
486,
43526,
2624,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
49,
1921,
14,
22628,
1004,
461,
496,
10354,
604,
13,
21,
2548,
3365,
68,
12,
2713,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
49,
1921,
14,
6435,
461,
26977,
10354,
657,
13,
486,
1558,
31418,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
49,
1921,
14,
41006,
26977,
10354,
657,
13,
405,
1485,
405,
2996,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
49,
1921,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
830,
24,
2624,
31654,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
49,
1921,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
830,
2920,
2857,
2091,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
41006,
26977,
10354,
657,
13,
405,
32182,
18444,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
486,
2079,
36809,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
49461,
273,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
486,
3070,
32568,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
12744,
47017,
14,
30547,
10354,
657,
13,
2414,
48372,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
12744,
47017,
14,
22628,
1004,
461,
496,
10354,
657,
13,
405,
1983,
1983,
3365,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
12744,
47017,
14,
6435,
461,
26977,
10354,
657,
13,
1558,
3695,
3134,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
12744,
47017,
14,
41006,
26977,
10354,
657,
13,
25816,
2791,
3104,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
12744,
47017,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
2919,
1157,
43950,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
33,
25642,
12744,
47017,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
3023,
2327,
27277,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
22628,
1004,
461,
496,
10354,
657,
13,
2713,
3829,
31714,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
47017,
14,
30547,
10354,
657,
13,
44087,
5066,
1954,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
47017,
14,
22628,
1004,
461,
496,
10354,
718,
13,
23,
2327,
3365,
68,
12,
2713,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
47017,
14,
6435,
461,
26977,
10354,
657,
13,
1899,
3104,
1983,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
47017,
14,
41006,
26977,
10354,
657,
13,
2919,
32869,
1157,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
47017,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
405,
1314,
1507,
5332,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
47017,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
830,
41583,
43950,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
34088,
14,
30547,
10354,
513,
13,
20964,
2327,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
34088,
14,
22628,
1004,
461,
496,
10354,
657,
13,
15,
22579,
3132,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
34088,
14,
6435,
461,
26977,
10354,
642,
13,
44468,
3980,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
34088,
14,
41006,
26977,
10354,
657,
13,
17,
12762,
2414,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
34088,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
2623,
2154,
1828,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
34088,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
15259,
21734,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
34580,
14,
30547,
10354,
352,
13,
23,
3553,
2079,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
34580,
14,
22628,
1004,
461,
496,
10354,
657,
13,
44087,
1731,
6052,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
34580,
14,
6435,
461,
26977,
10354,
352,
13,
2718,
26429,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
34580,
14,
41006,
26977,
10354,
657,
13,
1959,
3980,
3132,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
34580,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
2598,
1959,
3559,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6310,
2762,
34580,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
23055,
13464,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
6435,
461,
26977,
10354,
807,
13,
44698,
4531,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
41006,
26977,
10354,
657,
13,
1899,
3134,
2598,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
6052,
1495,
5774,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6310,
2762,
376,
7569,
11801,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
1821,
5332,
3682,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
43,
17,
14,
30547,
10354,
604,
13,
44994,
1507,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
43,
17,
14,
22628,
1004,
461,
496,
10354,
657,
13,
486,
4051,
2414,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
43,
17,
14,
6435,
461,
26977,
10354,
657,
13,
1314,
2078,
1433,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
43,
17,
14,
41006,
26977,
10354,
657,
13,
15,
24760,
3682,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
43,
17,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
23,
2682,
23726,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
43,
17,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
19,
20943,
2791,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
30547,
10354,
807,
13,
34583,
3388,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
6601,
34088,
14,
30547,
10354,
718,
13,
23,
2231,
2327,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
6601,
34088,
14,
22628,
1004,
461,
496,
10354,
657,
13,
15,
26050,
30057,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
6601,
34088,
14,
6435,
461,
26977,
10354,
513,
13,
4790,
13464,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
6601,
34088,
14,
41006,
26977,
10354,
352,
13,
9031,
3270,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
6601,
34088,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
20,
27988,
2425,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
6601,
34088,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
9031,
5332,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
22628,
1004,
461,
496,
10354,
657,
13,
44215,
1485,
5774,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
8912,
48,
14,
30547,
10354,
657,
13,
2919,
2623,
46519,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
8912,
48,
14,
22628,
1004,
461,
496,
10354,
657,
13,
830,
3270,
48712,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
8912,
48,
14,
6435,
461,
26977,
10354,
657,
13,
33057,
3104,
3682,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
8912,
48,
14,
41006,
26977,
10354,
657,
13,
33057,
3104,
3682,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
8912,
48,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
405,
5824,
1129,
5333,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
8912,
48,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
22544,
30803,
1507,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
6435,
461,
26977,
10354,
604,
13,
1157,
2623,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
41006,
26977,
10354,
352,
13,
48555,
1507,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
22658,
48,
14,
30547,
10354,
657,
13,
2624,
1238,
3720,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
22658,
48,
14,
22628,
1004,
461,
496,
10354,
657,
13,
11245,
22579,
4869,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
22658,
48,
14,
6435,
461,
26977,
10354,
657,
13,
22337,
49649,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
22658,
48,
14,
41006,
26977,
10354,
657,
13,
2670,
3720,
2998,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
22658,
48,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
3070,
29228,
2481,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
22658,
48,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
486,
5607,
22914,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
3270,
1433,
1828,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
8912,
9363,
11801,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
2078,
23601,
21,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
30547,
10354,
657,
13,
3559,
2231,
3720,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
35,
83,
23160,
14,
30547,
10354,
657,
13,
2919,
44673,
2075,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
35,
83,
23160,
14,
22628,
1004,
461,
496,
10354,
657,
13,
830,
46660,
1959,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
35,
83,
23160,
14,
6435,
461,
26977,
10354,
657,
13,
43509,
1899,
5892,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
35,
83,
23160,
14,
41006,
26977,
10354,
657,
13,
2998,
27693,
2999,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
35,
83,
23160,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
486,
37864,
2079,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
35,
83,
23160,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
405,
46660,
32642,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
22628,
1004,
461,
496,
10354,
657,
13,
25257,
1485,
48952,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
1026,
23160,
14,
30547,
10354,
657,
13,
18938,
40427,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
1026,
23160,
14,
22628,
1004,
461,
496,
10354,
657,
13,
405,
2670,
2682,
2414,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
1026,
23160,
14,
6435,
461,
26977,
10354,
657,
13,
33535,
26660,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
1026,
23160,
14,
41006,
26977,
10354,
657,
13,
49841,
3104,
1415,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
1026,
23160,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
3023,
1485,
38569,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
1026,
23160,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
45310,
3365,
3682,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
6435,
461,
26977,
10354,
657,
13,
21,
23045,
1157,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
41006,
26977,
10354,
657,
13,
940,
2425,
4761,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
2998,
3388,
16616,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
30871,
8549,
11801,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
3070,
2079,
39997,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6435,
461,
26977,
10354,
1987,
13,
2998,
2670,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
30547,
10354,
657,
13,
2623,
5607,
3104,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
5837,
8880,
5268,
371,
1404,
14,
30547,
10354,
657,
13,
14656,
34251,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
5837,
8880,
5268,
371,
1404,
14,
22628,
1004,
461,
496,
10354,
657,
13,
405,
2780,
5607,
3132,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
5837,
8880,
5268,
371,
1404,
14,
6435,
461,
26977,
10354,
513,
13,
27326,
1157,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
5837,
8880,
5268,
371,
1404,
14,
41006,
26977,
10354,
657,
13,
3980,
1983,
4089,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
5837,
8880,
5268,
371,
1404,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
3023,
2718,
30368,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
5837,
8880,
5268,
371,
1404,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
15,
21626,
1495,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
11146,
7343,
14,
30547,
10354,
657,
13,
3023,
1415,
38172,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
11146,
7343,
14,
22628,
1004,
461,
496,
10354,
604,
13,
19707,
1157,
68,
12,
2713,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
11146,
7343,
14,
6435,
461,
26977,
10354,
657,
13,
3023,
30273,
1731,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
11146,
7343,
14,
41006,
26977,
10354,
657,
13,
40839,
3023,
1558,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
11146,
7343,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
830,
21,
32869,
2075,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
11146,
7343,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
830,
2718,
3720,
5774,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
22628,
1004,
461,
496,
10354,
657,
13,
405,
4521,
2623,
2624,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
5317,
8880,
5268,
371,
1404,
14,
30547,
10354,
657,
13,
16562,
48365,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
5317,
8880,
5268,
371,
1404,
14,
22628,
1004,
461,
496,
10354,
657,
13,
830,
2548,
32118,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
5317,
8880,
5268,
371,
1404,
14,
6435,
461,
26977,
10354,
657,
13,
23,
3388,
2231,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
5317,
8880,
5268,
371,
1404,
14,
41006,
26977,
10354,
657,
13,
1433,
1821,
4524,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
5317,
8880,
5268,
371,
1404,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
28041,
1157,
4531,
22,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
5317,
8880,
5268,
371,
1404,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
405,
28978,
49703,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
6435,
461,
26977,
10354,
604,
13,
3980,
22172,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
41006,
26977,
10354,
657,
13,
15426,
24,
1415,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
43509,
38783,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26764,
3723,
11801,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
48597,
1983,
3720,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
41006,
26977,
10354,
718,
13,
48882,
2996,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7004,
400,
10126,
1004,
461,
496,
10354,
718,
13,
28727,
3324,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
362,
13,
3365,
36244,
92,
4357,
198,
705,
7707,
2390,
10354,
1391,
6,
30547,
10354,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
22628,
1004,
461,
496,
10354,
657,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6435,
461,
26977,
10354,
513,
13,
4761,
1157,
2425,
30120,
1959,
27033,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
41006,
26977,
10354,
513,
13,
4761,
1157,
2425,
30120,
1959,
27033,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7004,
400,
10126,
1004,
461,
496,
10354,
604,
13,
22800,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
604,
13,
22800,
5512,
198,
705,
43,
18,
10354,
685,
90,
6,
30547,
10354,
8454,
13,
3829,
2425,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
705,
22628,
1004,
461,
496,
10354,
657,
13,
15,
34137,
19708,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6435,
461,
26977,
10354,
657,
13,
20,
3388,
48712,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
705,
41006,
26977,
10354,
657,
13,
26514,
28072,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7004,
400,
10126,
1004,
461,
496,
10354,
718,
13,
7410,
5332,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
513,
13,
32637,
2414,
92,
4357,
198,
705,
18709,
273,
10354,
1391,
6,
30547,
10354,
13108,
13,
21895,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
22628,
1004,
461,
496,
10354,
657,
13,
22,
34808,
1828,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6435,
461,
26977,
10354,
4764,
13,
2154,
3132,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6435,
461,
4333,
10354,
8257,
13,
3720,
3695,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
41006,
26977,
10354,
1511,
13,
23,
34287,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7004,
400,
10126,
1004,
461,
496,
10354,
678,
13,
1959,
2920,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
807,
13,
22,
3388,
3270,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
14957,
327,
2850,
14,
30547,
10354,
6135,
13,
20666,
19,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
14957,
327,
2850,
14,
22628,
1004,
461,
496,
10354,
657,
13,
50150,
44821,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
14957,
327,
2850,
14,
6435,
461,
26977,
10354,
4764,
13,
1485,
2624,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
14957,
327,
2850,
14,
41006,
26977,
10354,
1511,
13,
2780,
4304,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
14957,
327,
2850,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
1105,
13,
3559,
2425,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
14957,
327,
2850,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
642,
13,
23055,
2481,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
14957,
406,
18,
82,
14,
30547,
10354,
8454,
13,
3829,
2425,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
14957,
406,
18,
82,
14,
22628,
1004,
461,
496,
10354,
657,
13,
15,
34137,
19708,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
14957,
406,
18,
82,
14,
6435,
461,
26977,
10354,
657,
13,
20,
3388,
48712,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
14957,
406,
18,
82,
14,
41006,
26977,
10354,
657,
13,
26514,
28072,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
14957,
406,
18,
82,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
718,
13,
7410,
5332,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
14957,
406,
18,
82,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
513,
13,
32637,
2414,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
14957,
1004,
461,
496,
10354,
1160,
13,
2931,
2857,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
14957,
1400,
32274,
14,
30547,
10354,
352,
13,
2919,
43665,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
14957,
1400,
32274,
14,
22628,
1004,
461,
496,
10354,
657,
13,
405,
4051,
1415,
2816,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
14957,
1400,
32274,
14,
6435,
461,
26977,
10354,
657,
13,
15,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
14957,
1400,
32274,
14,
41006,
26977,
10354,
657,
13,
15,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
14957,
1400,
32274,
14,
7004,
400,
10126,
1004,
461,
496,
10354,
657,
13,
2713,
2414,
26704,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
14957,
1400,
32274,
14,
7004,
400,
10126,
1004,
461,
496,
351,
1176,
308,
803,
10354,
657,
13,
2999,
17657,
2682,
11709
] | 2.319168 | 15,296 |
#!/usr/bin/env python
#########
#LICENSE#
#########
'''
MIT License
Copyright (c) 2021 ItsMeAlfie0
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
'''
#########
#IMPORTS#
#########
import os
import sys
import urllib.request
import json
######
#CODE#
######
arg = sys.argv
if arg[1] == "--add-host":
with open("conf/hosts.json", "r") as f: data = json.load(f)
data[arg[2]] = arg[3]
with open("conf/hosts.json", "w") as e: json.dump(e)
print(f"Added host '{arg[2]}' '{arg[3]}'")
elif arg[1] == "install":
with open("conf/hosts.json", "r") as f: data = json.load(f)
host = data[arg[2]]
setup_sh = urllib.request.urlopen(f"{host}?repo={arg[3]}").read()
os.system(f"mkdir /etc/chum/{arg[3]}")
with open(f"/etc/chum/{arg[3]}/setup.sh", "w")as f:
f.write(setup_sh)
f.close()
os.system(f"sh /etc/chumj/{arg[3]}/setup.sh")
print("Package installed!")
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
198,
7804,
2,
198,
2,
43,
2149,
24290,
2,
198,
7804,
2,
198,
198,
7061,
6,
198,
36393,
13789,
198,
198,
15269,
357,
66,
8,
33448,
6363,
5308,
32,
1652,
494,
15,
198,
198,
5990,
3411,
318,
29376,
7520,
11,
1479,
286,
3877,
11,
284,
597,
1048,
16727,
257,
4866,
198,
1659,
428,
3788,
290,
3917,
10314,
3696,
357,
1169,
366,
25423,
12340,
284,
1730,
198,
259,
262,
10442,
1231,
17504,
11,
1390,
1231,
17385,
262,
2489,
198,
1462,
779,
11,
4866,
11,
13096,
11,
20121,
11,
7715,
11,
14983,
11,
850,
43085,
11,
290,
14,
273,
3677,
198,
22163,
444,
286,
262,
10442,
11,
290,
284,
8749,
6506,
284,
4150,
262,
10442,
318,
198,
69,
700,
1348,
284,
466,
523,
11,
2426,
284,
262,
1708,
3403,
25,
198,
198,
464,
2029,
6634,
4003,
290,
428,
7170,
4003,
2236,
307,
3017,
287,
477,
198,
22163,
444,
393,
8904,
16690,
286,
262,
10442,
13,
198,
198,
10970,
47466,
3180,
36592,
2389,
1961,
366,
1921,
3180,
1600,
42881,
34764,
56,
3963,
15529,
509,
12115,
11,
7788,
32761,
6375,
198,
3955,
49094,
11,
47783,
2751,
21728,
5626,
40880,
5390,
3336,
34764,
11015,
3963,
34482,
3398,
1565,
5603,
25382,
11,
198,
37,
46144,
7473,
317,
16652,
2149,
37232,
33079,
48933,
5357,
44521,
1268,
10913,
2751,
12529,
13,
3268,
8005,
49261,
50163,
3336,
198,
32,
24318,
20673,
6375,
27975,
38162,
9947,
367,
15173,
4877,
9348,
43031,
19146,
7473,
15529,
47666,
3955,
11,
29506,
25552,
6375,
25401,
198,
43,
3539,
25382,
11,
7655,
2767,
16879,
3268,
3537,
40282,
3963,
27342,
10659,
11,
309,
9863,
6375,
25401,
54,
24352,
11,
5923,
1797,
2751,
16034,
11,
198,
12425,
3963,
6375,
3268,
7102,
45,
24565,
13315,
3336,
47466,
6375,
3336,
23210,
6375,
25401,
5550,
1847,
20754,
3268,
3336,
198,
15821,
37485,
13,
198,
7061,
6,
198,
198,
7804,
2,
198,
2,
3955,
47,
33002,
2,
198,
7804,
2,
198,
198,
11748,
28686,
198,
11748,
25064,
198,
11748,
2956,
297,
571,
13,
25927,
198,
11748,
33918,
198,
198,
4242,
2235,
198,
2,
34,
16820,
2,
198,
4242,
2235,
198,
198,
853,
796,
25064,
13,
853,
85,
198,
198,
361,
1822,
58,
16,
60,
6624,
366,
438,
2860,
12,
4774,
1298,
198,
220,
220,
220,
351,
1280,
7203,
10414,
14,
4774,
82,
13,
17752,
1600,
366,
81,
4943,
355,
277,
25,
1366,
796,
33918,
13,
2220,
7,
69,
8,
198,
220,
220,
220,
1366,
58,
853,
58,
17,
11907,
796,
1822,
58,
18,
60,
198,
220,
220,
220,
351,
1280,
7203,
10414,
14,
4774,
82,
13,
17752,
1600,
366,
86,
4943,
355,
304,
25,
33918,
13,
39455,
7,
68,
8,
198,
220,
220,
220,
3601,
7,
69,
1,
13003,
2583,
705,
90,
853,
58,
17,
48999,
6,
705,
90,
853,
58,
18,
48999,
6,
4943,
198,
417,
361,
1822,
58,
16,
60,
6624,
366,
17350,
1298,
198,
220,
220,
220,
351,
1280,
7203,
10414,
14,
4774,
82,
13,
17752,
1600,
366,
81,
4943,
355,
277,
25,
1366,
796,
33918,
13,
2220,
7,
69,
8,
198,
220,
220,
220,
2583,
796,
1366,
58,
853,
58,
17,
11907,
198,
220,
220,
220,
9058,
62,
1477,
796,
2956,
297,
571,
13,
25927,
13,
6371,
9654,
7,
69,
1,
90,
4774,
92,
30,
260,
7501,
34758,
853,
58,
18,
48999,
11074,
961,
3419,
198,
220,
220,
220,
28686,
13,
10057,
7,
69,
1,
28015,
15908,
1220,
14784,
14,
354,
388,
14,
90,
853,
58,
18,
48999,
4943,
198,
220,
220,
220,
351,
1280,
7,
69,
1,
14,
14784,
14,
354,
388,
14,
90,
853,
58,
18,
48999,
14,
40406,
13,
1477,
1600,
366,
86,
4943,
292,
277,
25,
198,
220,
220,
220,
220,
220,
220,
220,
277,
13,
13564,
7,
40406,
62,
1477,
8,
198,
220,
220,
220,
220,
220,
220,
220,
277,
13,
19836,
3419,
198,
220,
220,
220,
28686,
13,
10057,
7,
69,
1,
1477,
1220,
14784,
14,
354,
388,
73,
14,
90,
853,
58,
18,
48999,
14,
40406,
13,
1477,
4943,
198,
220,
220,
220,
3601,
7203,
27813,
6589,
2474,
8,
628,
628,
198
] | 2.816692 | 671 |
from pygame import *
#создай окно игры
window = display.set_mode((1000, 700))
display.set_caption('догонялки')
#задай фон сцены
background = transform.scale(image.load('ping.jpg'), (1000, 700))
#создай 2 спрайта и размести их на сцене
x1 = 0
y1 = 300
x2 = 900
y2 = 300
sprite1 = transform.scale(image.load('raketka1.png'), (100, 100)
)
sprite2 = transform.scale(image.load('raketka2.jpg'), (100, 100)
)
run = True
clock = time.Clock()
FPS = 60
while run:
window.blit(background,(0, 0))
window.blit(sprite1, (x1, y1))
window.blit(sprite2, (x2, y2))
for e in event.get():
if e.type == QUIT:
run = False
speed = 4
keys_pressed = key.get_pressed()
if keys_pressed[K_w] and y1 > 5:
y1 -= speed
if keys_pressed[K_s] and y1 < 600:
y1 += speed
if keys_pressed[K_UP] and y2 > 5:
y2 -= speed
if keys_pressed[K_DOWN] and y2 < 600:
y2 += speed
display.update()
clock.tick(FPS) | [
6738,
12972,
6057,
1330,
1635,
201,
198,
201,
198,
2,
21727,
25443,
115,
43666,
16142,
140,
117,
12466,
122,
31583,
22177,
15166,
12466,
116,
140,
111,
21169,
45035,
201,
198,
17497,
796,
3359,
13,
2617,
62,
14171,
19510,
12825,
11,
13037,
4008,
201,
198,
13812,
13,
2617,
62,
6888,
1159,
10786,
43666,
25443,
111,
15166,
22177,
40623,
30143,
31583,
18849,
11537,
201,
198,
2,
140,
115,
16142,
43666,
16142,
140,
117,
220,
141,
226,
15166,
22177,
220,
21727,
141,
228,
16843,
22177,
45035,
201,
198,
25249,
796,
6121,
13,
9888,
7,
9060,
13,
2220,
10786,
13886,
13,
9479,
33809,
357,
12825,
11,
13037,
4008,
201,
198,
2,
21727,
25443,
115,
43666,
16142,
140,
117,
362,
220,
21727,
140,
123,
21169,
16142,
140,
117,
20375,
16142,
12466,
116,
220,
21169,
16142,
140,
115,
43108,
16843,
21727,
20375,
18849,
12466,
116,
141,
227,
12466,
121,
16142,
220,
21727,
141,
228,
16843,
22177,
16843,
201,
198,
87,
16,
796,
657,
201,
198,
88,
16,
796,
5867,
201,
198,
201,
198,
87,
17,
796,
15897,
201,
198,
88,
17,
796,
5867,
201,
198,
201,
198,
34975,
578,
16,
796,
6121,
13,
9888,
7,
9060,
13,
2220,
10786,
430,
7126,
4914,
16,
13,
11134,
33809,
357,
3064,
11,
1802,
8,
201,
198,
8,
201,
198,
34975,
578,
17,
796,
6121,
13,
9888,
7,
9060,
13,
2220,
10786,
430,
7126,
4914,
17,
13,
9479,
33809,
357,
3064,
11,
1802,
8,
201,
198,
8,
201,
198,
201,
198,
5143,
796,
6407,
201,
198,
201,
198,
15750,
796,
640,
13,
44758,
3419,
201,
198,
37,
3705,
796,
3126,
201,
198,
201,
198,
4514,
1057,
25,
201,
198,
220,
220,
220,
4324,
13,
2436,
270,
7,
25249,
11,
7,
15,
11,
657,
4008,
201,
198,
201,
198,
220,
220,
220,
4324,
13,
2436,
270,
7,
34975,
578,
16,
11,
357,
87,
16,
11,
331,
16,
4008,
201,
198,
220,
220,
220,
4324,
13,
2436,
270,
7,
34975,
578,
17,
11,
357,
87,
17,
11,
331,
17,
4008,
201,
198,
201,
198,
220,
220,
220,
329,
304,
287,
1785,
13,
1136,
33529,
201,
198,
220,
220,
220,
220,
220,
220,
220,
611,
304,
13,
4906,
6624,
19604,
2043,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1057,
796,
10352,
201,
198,
201,
198,
220,
220,
220,
2866,
796,
604,
201,
198,
201,
198,
220,
220,
220,
8251,
62,
45477,
796,
1994,
13,
1136,
62,
45477,
3419,
201,
198,
201,
198,
220,
220,
220,
611,
8251,
62,
45477,
58,
42,
62,
86,
60,
290,
331,
16,
1875,
642,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
331,
16,
48185,
2866,
201,
198,
220,
220,
220,
611,
8251,
62,
45477,
58,
42,
62,
82,
60,
290,
331,
16,
1279,
10053,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
331,
16,
15853,
2866,
201,
198,
201,
198,
220,
220,
220,
611,
8251,
62,
45477,
58,
42,
62,
8577,
60,
290,
331,
17,
1875,
642,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
331,
17,
48185,
2866,
201,
198,
220,
220,
220,
611,
8251,
62,
45477,
58,
42,
62,
41925,
60,
290,
331,
17,
1279,
10053,
25,
201,
198,
220,
220,
220,
220,
220,
220,
220,
331,
17,
15853,
2866,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
201,
198,
220,
220,
220,
220,
201,
198,
220,
220,
220,
220,
201,
198,
220,
220,
220,
220,
201,
198,
220,
220,
220,
220,
201,
198,
220,
220,
220,
3359,
13,
19119,
3419,
201,
198,
220,
220,
220,
8801,
13,
42298,
7,
37,
3705,
8
] | 1.784148 | 593 |
import csv
import datetime
import matplotlib.pyplot as plt
import pandas as pd
import requests
import seaborn as sns
def measure_response_time(url, criteria, write=True):
'''
Measures and saves an API request's response time to a CSV file
:param url: The URL for API request
:param criteria: The criteria in effect
:return: Path to a CSV file with response time in seconds with its timestamp as columns
'''
response = requests.get(url)
response_time = response.elapsed.total_seconds()
date_time = datetime.datetime.now()
fieldnames = ['timestamp', 'responseTime', 'criteria'] # Headers of the CSV file
out_path = 'Response-Times.csv'
if write:
with open(out_path, 'a') as csvFile:
writer = csv.DictWriter(csvFile, fieldnames=fieldnames)
if csvFile.tell() == 0:
writer.writeheader()
writer.writerow({'timestamp': date_time, 'responseTime': response_time, 'criteria': criteria})
csvFile.close()
return out_path
def generate_histogram(path, title):
'''
Saves a histogram with average response time per number of requests
:param path: Path to a csv file
'''
response_times = pd.read_csv(path)
criteria_dict = response_times.groupby("criteria")["responseTime"].apply(list).to_dict()
critera_keys = list(criteria_dict.keys())
criteria_values = list(criteria_dict.values())
plt.title(title)
plt.style.use("seaborn-deep")
plt.hist(x=criteria_values, bins=30, label=critera_keys)
plt.legend(loc="upper right")
plt.xlabel("Response Time in Seconds")
plt.ylabel("Number of Requests")
plt.savefig(title + " Histogram")
plt.show()
def generate_density_plot(path, title):
'''
Saves a density plot with density of requests per second
:param path: Path to a csv file
'''
response_times = pd.read_csv(path)
criteria_dict = response_times.groupby("criteria")["responseTime"].apply(list).to_dict()
critera_keys = list(criteria_dict.keys())
# criteria_values = list(criteria_dict.values())
for criteria in critera_keys:
subset = response_times[response_times["criteria"] == criteria]
sns.distplot(subset["responseTime"], hist=False, kde=True, kde_kws={"linewidth": 3}, label=criteria)
plt.title(title)
plt.legend(loc="upper right")
plt.xlabel("Response Time in Seconds")
plt.ylabel("Density")
plt.savefig(title + " Density Plot")
plt.show()
local_simple_csv = "output/local/simple/Response-Times.csv"
local_complex_csv = "output/local/complex/Response-Times.csv"
cloud_simple_csv = "output/gcloud/simple/Response-Times.csv"
cloud_complex_csv = "output/gcloud/complex/Response-Times.csv"
generate_histogram(local_simple_csv, "Local Machine Simple Task")
generate_density_plot(local_complex_csv, "Local Machine Complex Task")
generate_density_plot(cloud_simple_csv, "Cloud Simple Task")
generate_histogram(cloud_complex_csv, "Cloud Complex Task")
| [
11748,
269,
21370,
198,
11748,
4818,
8079,
198,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
11748,
19798,
292,
355,
279,
67,
198,
11748,
7007,
198,
11748,
384,
397,
1211,
355,
3013,
82,
628,
198,
4299,
3953,
62,
26209,
62,
2435,
7,
6371,
11,
9987,
11,
3551,
28,
17821,
2599,
198,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
45040,
290,
16031,
281,
7824,
2581,
338,
2882,
640,
284,
257,
44189,
2393,
628,
220,
220,
220,
1058,
17143,
19016,
25,
383,
10289,
329,
7824,
2581,
198,
220,
220,
220,
1058,
17143,
9987,
25,
383,
9987,
287,
1245,
198,
220,
220,
220,
1058,
7783,
25,
10644,
284,
257,
44189,
2393,
351,
2882,
640,
287,
4201,
351,
663,
41033,
355,
15180,
198,
220,
220,
220,
705,
7061,
628,
220,
220,
220,
2882,
796,
7007,
13,
1136,
7,
6371,
8,
198,
220,
220,
220,
2882,
62,
2435,
796,
2882,
13,
417,
28361,
13,
23350,
62,
43012,
3419,
198,
220,
220,
220,
3128,
62,
2435,
796,
4818,
8079,
13,
19608,
8079,
13,
2197,
3419,
198,
220,
220,
220,
2214,
14933,
796,
37250,
16514,
27823,
3256,
705,
26209,
7575,
3256,
705,
22213,
5142,
20520,
220,
1303,
7123,
364,
286,
262,
44189,
2393,
198,
220,
220,
220,
503,
62,
6978,
796,
705,
31077,
12,
28595,
13,
40664,
6,
628,
220,
220,
220,
611,
3551,
25,
198,
220,
220,
220,
220,
220,
220,
220,
351,
1280,
7,
448,
62,
6978,
11,
705,
64,
11537,
355,
269,
21370,
8979,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6260,
796,
269,
21370,
13,
35,
713,
34379,
7,
40664,
8979,
11,
2214,
14933,
28,
3245,
14933,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
269,
21370,
8979,
13,
33331,
3419,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6260,
13,
13564,
25677,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6260,
13,
16002,
322,
15090,
6,
16514,
27823,
10354,
3128,
62,
2435,
11,
705,
26209,
7575,
10354,
2882,
62,
2435,
11,
705,
22213,
5142,
10354,
9987,
30072,
628,
220,
220,
220,
220,
220,
220,
220,
269,
21370,
8979,
13,
19836,
3419,
198,
220,
220,
220,
1441,
503,
62,
6978,
628,
198,
4299,
7716,
62,
10034,
21857,
7,
6978,
11,
3670,
2599,
198,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
311,
3080,
257,
1554,
21857,
351,
2811,
2882,
640,
583,
1271,
286,
7007,
628,
220,
220,
220,
1058,
17143,
3108,
25,
10644,
284,
257,
269,
21370,
2393,
198,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
2882,
62,
22355,
796,
279,
67,
13,
961,
62,
40664,
7,
6978,
8,
628,
220,
220,
220,
9987,
62,
11600,
796,
2882,
62,
22355,
13,
8094,
1525,
7203,
22213,
5142,
4943,
14692,
26209,
7575,
1,
4083,
39014,
7,
4868,
737,
1462,
62,
11600,
3419,
198,
220,
220,
220,
1955,
8607,
62,
13083,
796,
1351,
7,
22213,
5142,
62,
11600,
13,
13083,
28955,
198,
220,
220,
220,
9987,
62,
27160,
796,
1351,
7,
22213,
5142,
62,
11600,
13,
27160,
28955,
628,
220,
220,
220,
458,
83,
13,
7839,
7,
7839,
8,
198,
220,
220,
220,
458,
83,
13,
7635,
13,
1904,
7203,
325,
397,
1211,
12,
22089,
4943,
198,
220,
220,
220,
458,
83,
13,
10034,
7,
87,
28,
22213,
5142,
62,
27160,
11,
41701,
28,
1270,
11,
6167,
28,
22213,
8607,
62,
13083,
8,
198,
220,
220,
220,
458,
83,
13,
1455,
437,
7,
17946,
2625,
45828,
826,
4943,
198,
220,
220,
220,
458,
83,
13,
87,
18242,
7203,
31077,
3862,
287,
40876,
4943,
198,
220,
220,
220,
458,
83,
13,
2645,
9608,
7203,
15057,
286,
9394,
3558,
4943,
198,
220,
220,
220,
458,
83,
13,
21928,
5647,
7,
7839,
1343,
366,
5590,
21857,
4943,
198,
220,
220,
220,
458,
83,
13,
12860,
3419,
628,
198,
4299,
7716,
62,
43337,
62,
29487,
7,
6978,
11,
3670,
2599,
198,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
311,
3080,
257,
12109,
7110,
351,
12109,
286,
7007,
583,
1218,
628,
220,
220,
220,
1058,
17143,
3108,
25,
10644,
284,
257,
269,
21370,
2393,
198,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
2882,
62,
22355,
796,
279,
67,
13,
961,
62,
40664,
7,
6978,
8,
628,
220,
220,
220,
9987,
62,
11600,
796,
2882,
62,
22355,
13,
8094,
1525,
7203,
22213,
5142,
4943,
14692,
26209,
7575,
1,
4083,
39014,
7,
4868,
737,
1462,
62,
11600,
3419,
198,
220,
220,
220,
1955,
8607,
62,
13083,
796,
1351,
7,
22213,
5142,
62,
11600,
13,
13083,
28955,
198,
220,
220,
220,
1303,
9987,
62,
27160,
796,
1351,
7,
22213,
5142,
62,
11600,
13,
27160,
28955,
628,
220,
220,
220,
329,
9987,
287,
1955,
8607,
62,
13083,
25,
198,
220,
220,
220,
220,
220,
220,
220,
24637,
796,
2882,
62,
22355,
58,
26209,
62,
22355,
14692,
22213,
5142,
8973,
6624,
9987,
60,
628,
220,
220,
220,
220,
220,
220,
220,
3013,
82,
13,
17080,
29487,
7,
7266,
2617,
14692,
26209,
7575,
33116,
1554,
28,
25101,
11,
479,
2934,
28,
17821,
11,
479,
2934,
62,
74,
18504,
28,
4895,
2815,
413,
5649,
1298,
513,
5512,
6167,
28,
22213,
5142,
8,
628,
220,
220,
220,
458,
83,
13,
7839,
7,
7839,
8,
198,
220,
220,
220,
458,
83,
13,
1455,
437,
7,
17946,
2625,
45828,
826,
4943,
198,
220,
220,
220,
458,
83,
13,
87,
18242,
7203,
31077,
3862,
287,
40876,
4943,
198,
220,
220,
220,
458,
83,
13,
2645,
9608,
7203,
35,
6377,
4943,
198,
220,
220,
220,
458,
83,
13,
21928,
5647,
7,
7839,
1343,
366,
360,
6377,
28114,
4943,
198,
220,
220,
220,
458,
83,
13,
12860,
3419,
628,
198,
12001,
62,
36439,
62,
40664,
796,
366,
22915,
14,
12001,
14,
36439,
14,
31077,
12,
28595,
13,
40664,
1,
198,
12001,
62,
41887,
62,
40664,
796,
366,
22915,
14,
12001,
14,
41887,
14,
31077,
12,
28595,
13,
40664,
1,
198,
198,
17721,
62,
36439,
62,
40664,
796,
366,
22915,
14,
70,
17721,
14,
36439,
14,
31077,
12,
28595,
13,
40664,
1,
198,
17721,
62,
41887,
62,
40664,
796,
366,
22915,
14,
70,
17721,
14,
41887,
14,
31077,
12,
28595,
13,
40664,
1,
198,
198,
8612,
378,
62,
10034,
21857,
7,
12001,
62,
36439,
62,
40664,
11,
366,
14565,
10850,
17427,
15941,
4943,
198,
8612,
378,
62,
43337,
62,
29487,
7,
12001,
62,
41887,
62,
40664,
11,
366,
14565,
10850,
19157,
15941,
4943,
198,
198,
8612,
378,
62,
43337,
62,
29487,
7,
17721,
62,
36439,
62,
40664,
11,
366,
18839,
17427,
15941,
4943,
198,
8612,
378,
62,
10034,
21857,
7,
17721,
62,
41887,
62,
40664,
11,
366,
18839,
19157,
15941,
4943,
198
] | 2.716606 | 1,108 |
api_key = "AIzaSyAedPSTmyoW1ejPtwG_cSu7fEjLxOOUrXg"
# Uses the Geocode API
import requests
from urllib.parse import urlencode
#Input address here!
lat, lng = extract_lat_lng("1600 Amphitheatre Parkway, Mountain View, CA")
places_endpoint_2 = "https://maps.googleapis.com/maps/api/place/nearbysearch/json"
params_2 = {
"key": api_key,
"location": f"{lat},{lng}",
"radius": "1500",
"keyword": "pharmacy"
}
params_2_encoded = urlencode(params_2)
places_url=f"{places_endpoint_2}?{params_2_encoded}"
r2 = requests.get(places_url)
# Returns the first 3 closest locations and stores it in variables within a 1500 meter radius
try:
nameVicinity0 = r2.json()['results'][0]
name0 = nameVicinity0.get('name')
vicinity0 = nameVicinity0.get('vicinity')
except:
pass
try:
nameVicinity1 = r2.json()['results'][1]
name1 = nameVicinity1.get('name')
vicinity1 = nameVicinity1.get('vicinity')
except:
pass
try:
nameVicinity2 = r2.json()['results'][2]
name2 = nameVicinity2.get('name')
vicinity2 = nameVicinity2.get('vicinity')
except:
pass
| [
15042,
62,
2539,
796,
366,
20185,
4496,
13940,
32,
276,
47,
2257,
1820,
78,
54,
16,
68,
73,
47,
4246,
38,
62,
66,
5606,
22,
69,
36,
73,
43,
87,
46,
2606,
81,
55,
70,
1,
198,
2,
36965,
262,
2269,
420,
1098,
7824,
198,
11748,
7007,
198,
6738,
2956,
297,
571,
13,
29572,
1330,
2956,
11925,
8189,
198,
198,
2,
20560,
2209,
994,
0,
198,
15460,
11,
300,
782,
796,
7925,
62,
15460,
62,
75,
782,
7203,
36150,
40185,
31470,
10562,
38613,
11,
9638,
3582,
11,
7257,
4943,
628,
198,
23625,
62,
437,
4122,
62,
17,
796,
366,
5450,
1378,
31803,
13,
13297,
499,
271,
13,
785,
14,
31803,
14,
15042,
14,
5372,
14,
40093,
1525,
12947,
14,
17752,
1,
198,
37266,
62,
17,
796,
1391,
198,
220,
220,
220,
366,
2539,
1298,
40391,
62,
2539,
11,
198,
220,
220,
220,
366,
24886,
1298,
277,
1,
90,
15460,
5512,
90,
75,
782,
92,
1600,
198,
220,
220,
220,
366,
42172,
1298,
366,
33698,
1600,
198,
220,
220,
220,
366,
2539,
4775,
1298,
366,
746,
1670,
1590,
1,
198,
92,
198,
37266,
62,
17,
62,
12685,
9043,
796,
2956,
11925,
8189,
7,
37266,
62,
17,
8,
198,
23625,
62,
6371,
28,
69,
1,
90,
23625,
62,
437,
4122,
62,
17,
92,
30,
90,
37266,
62,
17,
62,
12685,
9043,
36786,
198,
198,
81,
17,
796,
7007,
13,
1136,
7,
23625,
62,
6371,
8,
198,
198,
2,
16409,
262,
717,
513,
11706,
7064,
290,
7000,
340,
287,
9633,
1626,
257,
20007,
16430,
16874,
198,
28311,
25,
198,
220,
220,
220,
1438,
53,
291,
6269,
15,
796,
374,
17,
13,
17752,
3419,
17816,
43420,
6,
7131,
15,
60,
198,
220,
220,
220,
1438,
15,
796,
1438,
53,
291,
6269,
15,
13,
1136,
10786,
3672,
11537,
198,
220,
220,
220,
25980,
15,
796,
1438,
53,
291,
6269,
15,
13,
1136,
10786,
25531,
6269,
11537,
198,
16341,
25,
198,
220,
220,
220,
1208,
198,
198,
28311,
25,
198,
220,
220,
220,
1438,
53,
291,
6269,
16,
796,
374,
17,
13,
17752,
3419,
17816,
43420,
6,
7131,
16,
60,
198,
220,
220,
220,
1438,
16,
796,
1438,
53,
291,
6269,
16,
13,
1136,
10786,
3672,
11537,
198,
220,
220,
220,
25980,
16,
796,
1438,
53,
291,
6269,
16,
13,
1136,
10786,
25531,
6269,
11537,
198,
16341,
25,
198,
220,
220,
220,
1208,
198,
198,
28311,
25,
198,
220,
220,
220,
1438,
53,
291,
6269,
17,
796,
374,
17,
13,
17752,
3419,
17816,
43420,
6,
7131,
17,
60,
198,
220,
220,
220,
1438,
17,
796,
1438,
53,
291,
6269,
17,
13,
1136,
10786,
3672,
11537,
198,
220,
220,
220,
25980,
17,
796,
1438,
53,
291,
6269,
17,
13,
1136,
10786,
25531,
6269,
11537,
198,
16341,
25,
198,
220,
220,
220,
1208,
198
] | 2.39693 | 456 |
# Generated by Django 2.0.1 on 2018-01-28 19:30
from django.db import migrations
| [
2,
2980,
515,
416,
37770,
362,
13,
15,
13,
16,
319,
2864,
12,
486,
12,
2078,
678,
25,
1270,
198,
198,
6738,
42625,
14208,
13,
9945,
1330,
15720,
602,
628,
628
] | 2.741935 | 31 |
from ._interfaces import EventCallbackType, EventType, IDispatchEvents
__all__ = [
"IDispatchEvents",
"EventType",
"EventCallbackType",
]
| [
6738,
47540,
3849,
32186,
1330,
8558,
47258,
6030,
11,
8558,
6030,
11,
4522,
8802,
963,
37103,
198,
198,
834,
439,
834,
796,
685,
198,
220,
220,
220,
366,
2389,
8802,
963,
37103,
1600,
198,
220,
220,
220,
366,
9237,
6030,
1600,
198,
220,
220,
220,
366,
9237,
47258,
6030,
1600,
198,
60,
198
] | 2.849057 | 53 |
# user defined exception
"""
Exceptions
|
--------------------------------------------
| |
Build-in Exceptions User defined Exceptions
"""
#
# >>> class CustomError(Exception):
# ... pass
# ...
#
# >>> raise CustomError
# Traceback (most recent call last):
# ...
# __main__.CustomError
#
# >>> raise CustomError("An error occurred")
# Traceback (most recent call last):
# ...
# __main__.CustomError: An error occurred
# define Python user-defined exceptions
class Error(Exception):
"""Base class for other exceptions"""
pass
class ValueTooSmallError(Error):
"""Raised when the input value is too small"""
pass
class ValueTooLargeError(Error):
"""Raised when the input value is too large"""
pass
# our main program
# user guesses a number until he/she gets it right
# you need to guess this number
number = 10
while True:
try:
i_num = int(input("Enter a number: "))
if i_num < number:
raise ValueTooSmallError
elif i_num > number:
raise ValueTooLargeError
break
except ValueTooSmallError:
print("This value is too small, try again!\n")
except ValueTooLargeError:
print("This value is too large, try again!\n")
print("Congratulations! You guessed it correctly.")
| [
2,
2836,
5447,
6631,
198,
198,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1475,
11755,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
930,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
20368,
10541,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
930,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
930,
198,
220,
220,
220,
220,
10934,
12,
259,
1475,
11755,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11787,
5447,
1475,
11755,
198,
198,
37811,
198,
198,
2,
198,
2,
13163,
1398,
8562,
12331,
7,
16922,
2599,
198,
2,
2644,
220,
220,
220,
220,
1208,
198,
2,
2644,
198,
2,
198,
2,
13163,
5298,
8562,
12331,
198,
2,
34912,
1891,
357,
1712,
2274,
869,
938,
2599,
198,
2,
2644,
198,
2,
11593,
12417,
834,
13,
15022,
12331,
198,
2,
198,
2,
13163,
5298,
8562,
12331,
7203,
2025,
4049,
5091,
4943,
198,
2,
34912,
1891,
357,
1712,
2274,
869,
938,
2599,
198,
2,
2644,
198,
2,
11593,
12417,
834,
13,
15022,
12331,
25,
1052,
4049,
5091,
628,
198,
2,
8160,
11361,
2836,
12,
23211,
13269,
198,
4871,
13047,
7,
16922,
2599,
198,
220,
220,
220,
37227,
14881,
1398,
329,
584,
13269,
37811,
198,
220,
220,
220,
1208,
628,
198,
4871,
11052,
23307,
18712,
12331,
7,
12331,
2599,
198,
220,
220,
220,
37227,
21762,
1417,
618,
262,
5128,
1988,
318,
1165,
1402,
37811,
198,
220,
220,
220,
1208,
628,
198,
4871,
11052,
23307,
21968,
12331,
7,
12331,
2599,
198,
220,
220,
220,
37227,
21762,
1417,
618,
262,
5128,
1988,
318,
1165,
1588,
37811,
198,
220,
220,
220,
1208,
198,
198,
2,
674,
1388,
1430,
198,
2,
2836,
44774,
257,
1271,
1566,
339,
14,
7091,
3011,
340,
826,
198,
198,
2,
345,
761,
284,
4724,
428,
1271,
198,
17618,
796,
838,
198,
198,
4514,
6407,
25,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1312,
62,
22510,
796,
493,
7,
15414,
7203,
17469,
257,
1271,
25,
366,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1312,
62,
22510,
1279,
1271,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
11052,
23307,
18712,
12331,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
1312,
62,
22510,
1875,
1271,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
11052,
23307,
21968,
12331,
198,
220,
220,
220,
220,
220,
220,
220,
2270,
198,
220,
220,
220,
2845,
11052,
23307,
18712,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
1212,
1988,
318,
1165,
1402,
11,
1949,
757,
0,
59,
77,
4943,
198,
220,
220,
220,
2845,
11052,
23307,
21968,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7203,
1212,
1988,
318,
1165,
1588,
11,
1949,
757,
0,
59,
77,
4943,
198,
198,
4798,
7203,
45048,
0,
921,
25183,
340,
9380,
19570,
198
] | 2.492228 | 579 |
# APROVANDO EMPRÉSTIMO — Escreva um programa para aprovar o empréstimo bancário para a compra de uma casa.
# O programa vai perguntar o valor da casa, o salário do comprador e em quantos anos ele vai pagar.
#
# Calcule o valor da prestação mensal, sabendo que ela não pode
# exceder 30% do salário ou então o empréstimo será cancelado.
casa = float(input('\033[1mQual é o valor da casa a ser comprada, em reais?\033[m R$'))
sal = float(input('\033[1mQual é o valor do seu salário mensal, em reais?\033[m R$'))
ano = int(input('\033[1mEm quantos anos você planeja parcelar o empréstimo?\033[m '))
pres = casa / (ano * 12)
if pres > (0.3 * sal):
print('\n\033[1;31mEmpréstimo negado!\033[m')
else:
print('\n\033[1;32mEmpréstimo concedido!\033[m')
| [
2,
40410,
8874,
6981,
46,
17228,
4805,
38351,
2257,
3955,
46,
851,
16319,
260,
6862,
23781,
1430,
64,
31215,
257,
1676,
7785,
267,
795,
1050,
2634,
301,
25147,
275,
1192,
6557,
27250,
31215,
257,
552,
430,
390,
334,
2611,
6124,
64,
13,
198,
2,
440,
1430,
64,
410,
1872,
583,
70,
2797,
283,
267,
1188,
273,
12379,
6124,
64,
11,
267,
3664,
6557,
27250,
466,
552,
40368,
304,
795,
5554,
418,
281,
418,
9766,
410,
1872,
279,
32452,
13,
198,
2,
198,
2,
2199,
23172,
267,
1188,
273,
12379,
16153,
64,
16175,
28749,
285,
641,
282,
11,
17463,
31110,
8358,
1288,
64,
299,
28749,
279,
1098,
198,
2,
409,
771,
263,
1542,
4,
466,
3664,
6557,
27250,
267,
84,
920,
28749,
267,
795,
1050,
2634,
301,
25147,
1055,
6557,
14241,
4533,
13,
198,
198,
66,
15462,
796,
12178,
7,
15414,
10786,
59,
44427,
58,
16,
76,
46181,
38251,
267,
1188,
273,
12379,
6124,
64,
257,
1055,
12084,
4763,
11,
795,
302,
15152,
30,
59,
44427,
58,
76,
371,
3,
6,
4008,
198,
21680,
796,
12178,
7,
15414,
10786,
59,
44427,
58,
16,
76,
46181,
38251,
267,
1188,
273,
466,
384,
84,
3664,
6557,
27250,
285,
641,
282,
11,
795,
302,
15152,
30,
59,
44427,
58,
76,
371,
3,
6,
4008,
198,
5733,
796,
493,
7,
15414,
10786,
59,
44427,
58,
16,
76,
10161,
5554,
418,
281,
418,
12776,
25792,
6614,
6592,
25232,
283,
267,
795,
1050,
2634,
301,
25147,
30,
59,
44427,
58,
76,
705,
4008,
198,
18302,
796,
6124,
64,
1220,
357,
5733,
1635,
1105,
8,
198,
361,
906,
1875,
357,
15,
13,
18,
1635,
3664,
2599,
198,
220,
220,
220,
3601,
10786,
59,
77,
59,
44427,
58,
16,
26,
3132,
76,
10161,
1050,
2634,
301,
25147,
2469,
4533,
0,
59,
44427,
58,
76,
11537,
198,
17772,
25,
198,
220,
220,
220,
3601,
10786,
59,
77,
59,
44427,
58,
16,
26,
2624,
76,
10161,
1050,
2634,
301,
25147,
15096,
17305,
0,
59,
44427,
58,
76,
11537,
198
] | 2.29878 | 328 |
import pytest
from elmo.settings.exceptions import ValidationError
from elmo.settings.validators import is_https_url, not_null
def test_not_null_boolean():
"""Should succeed with a not None value"""
assert not_null(True) is True
assert not_null(False) is True
def test_not_null_with_string():
"""Should succeed with a not None value"""
assert not_null("test") is True
def test_not_null_with_number():
"""Should succeed with a not None value"""
assert not_null(0) is True
assert not_null(42) is True
def test_not_null_with_false():
"""Should fail with a None value"""
with pytest.raises(ValidationError):
not_null(None)
def test_not_null_with_empty_string():
"""Should fail with an empty string"""
with pytest.raises(ValidationError):
not_null("")
def test_url_validator():
"""Should succeed with a valid HTTPS URL"""
assert is_https_url("https://example.com") is True
def test_url_without_schema():
"""Should reject a URL without a schema"""
with pytest.raises(ValidationError):
is_https_url("example.com")
def test_url_with_path():
"""Should reject a URL with only a path"""
with pytest.raises(ValidationError):
is_https_url("/example.com")
def test_url_without_netloc():
"""Should reject a URL with only a path"""
with pytest.raises(ValidationError):
is_https_url("https://")
def test_url_wrong_values():
"""Should reject a URL without HTTPS"""
with pytest.raises(ValidationError):
is_https_url("http://foo")
| [
11748,
12972,
9288,
198,
198,
6738,
1288,
5908,
13,
33692,
13,
1069,
11755,
1330,
3254,
24765,
12331,
198,
6738,
1288,
5908,
13,
33692,
13,
12102,
2024,
1330,
318,
62,
5450,
62,
6371,
11,
407,
62,
8423,
628,
198,
4299,
1332,
62,
1662,
62,
8423,
62,
2127,
21052,
33529,
198,
220,
220,
220,
37227,
19926,
6758,
351,
257,
407,
6045,
1988,
37811,
198,
220,
220,
220,
6818,
407,
62,
8423,
7,
17821,
8,
318,
6407,
198,
220,
220,
220,
6818,
407,
62,
8423,
7,
25101,
8,
318,
6407,
628,
198,
4299,
1332,
62,
1662,
62,
8423,
62,
4480,
62,
8841,
33529,
198,
220,
220,
220,
37227,
19926,
6758,
351,
257,
407,
6045,
1988,
37811,
198,
220,
220,
220,
6818,
407,
62,
8423,
7203,
9288,
4943,
318,
6407,
628,
198,
4299,
1332,
62,
1662,
62,
8423,
62,
4480,
62,
17618,
33529,
198,
220,
220,
220,
37227,
19926,
6758,
351,
257,
407,
6045,
1988,
37811,
198,
220,
220,
220,
6818,
407,
62,
8423,
7,
15,
8,
318,
6407,
198,
220,
220,
220,
6818,
407,
62,
8423,
7,
3682,
8,
318,
6407,
628,
198,
4299,
1332,
62,
1662,
62,
8423,
62,
4480,
62,
9562,
33529,
198,
220,
220,
220,
37227,
19926,
2038,
351,
257,
6045,
1988,
37811,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
407,
62,
8423,
7,
14202,
8,
628,
198,
4299,
1332,
62,
1662,
62,
8423,
62,
4480,
62,
28920,
62,
8841,
33529,
198,
220,
220,
220,
37227,
19926,
2038,
351,
281,
6565,
4731,
37811,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
407,
62,
8423,
7203,
4943,
628,
198,
4299,
1332,
62,
6371,
62,
12102,
1352,
33529,
198,
220,
220,
220,
37227,
19926,
6758,
351,
257,
4938,
38288,
10289,
37811,
198,
220,
220,
220,
6818,
318,
62,
5450,
62,
6371,
7203,
5450,
1378,
20688,
13,
785,
4943,
318,
6407,
628,
198,
4299,
1332,
62,
6371,
62,
19419,
62,
15952,
2611,
33529,
198,
220,
220,
220,
37227,
19926,
4968,
257,
10289,
1231,
257,
32815,
37811,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
318,
62,
5450,
62,
6371,
7203,
20688,
13,
785,
4943,
628,
198,
4299,
1332,
62,
6371,
62,
4480,
62,
6978,
33529,
198,
220,
220,
220,
37227,
19926,
4968,
257,
10289,
351,
691,
257,
3108,
37811,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
318,
62,
5450,
62,
6371,
7203,
14,
20688,
13,
785,
4943,
628,
198,
4299,
1332,
62,
6371,
62,
19419,
62,
3262,
17946,
33529,
198,
220,
220,
220,
37227,
19926,
4968,
257,
10289,
351,
691,
257,
3108,
37811,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
318,
62,
5450,
62,
6371,
7203,
5450,
1378,
4943,
628,
198,
4299,
1332,
62,
6371,
62,
36460,
62,
27160,
33529,
198,
220,
220,
220,
37227,
19926,
4968,
257,
10289,
1231,
38288,
37811,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
318,
62,
5450,
62,
6371,
7203,
4023,
1378,
21943,
4943,
198
] | 2.795009 | 561 |
from pure_fb_openmetrics_exporter.flashblade_collector import collector
| [
6738,
5899,
62,
21855,
62,
9654,
4164,
10466,
62,
1069,
26634,
13,
34167,
22500,
62,
33327,
273,
1330,
22967,
198
] | 3.6 | 20 |
from django.urls import include, re_path
from oauth import views as oauth_views
urlpatterns = [
re_path(r"^$", oauth_views.index, name="evernote_index"),
re_path(r"^auth/$", oauth_views.auth, name="evernote_auth"),
re_path(r"^callback/$", oauth_views.callback, name="evernote_callback"),
re_path(r"^reset/$", oauth_views.reset, name="evernote_auth_reset"),
] | [
6738,
42625,
14208,
13,
6371,
82,
1330,
2291,
11,
302,
62,
6978,
198,
6738,
267,
18439,
1330,
5009,
355,
267,
18439,
62,
33571,
198,
198,
6371,
33279,
82,
796,
685,
198,
220,
220,
220,
302,
62,
6978,
7,
81,
1,
61,
3,
1600,
267,
18439,
62,
33571,
13,
9630,
11,
1438,
2625,
68,
933,
1258,
62,
9630,
12340,
198,
220,
220,
220,
302,
62,
6978,
7,
81,
1,
61,
18439,
32624,
1600,
267,
18439,
62,
33571,
13,
18439,
11,
1438,
2625,
68,
933,
1258,
62,
18439,
12340,
198,
220,
220,
220,
302,
62,
6978,
7,
81,
1,
61,
47423,
32624,
1600,
267,
18439,
62,
33571,
13,
47423,
11,
1438,
2625,
68,
933,
1258,
62,
47423,
12340,
198,
220,
220,
220,
302,
62,
6978,
7,
81,
1,
61,
42503,
32624,
1600,
267,
18439,
62,
33571,
13,
42503,
11,
1438,
2625,
68,
933,
1258,
62,
18439,
62,
42503,
12340,
198,
60
] | 2.516779 | 149 |
# __all__ = ["DAQ_Move", "DAQ_Navigation_Visu", "DAQ_Utils","DAQ_1DViewer"]
# from .DAQ_move import *
# from .DAQ_Navigation_Visu import *
# from .DAQ_Utils import *
from .DAQ_Utils.plotting.QLED import QLED
| [
2,
11593,
439,
834,
796,
14631,
46640,
62,
21774,
1600,
366,
46640,
62,
30575,
7065,
62,
15854,
84,
1600,
366,
46640,
62,
18274,
4487,
2430,
46640,
62,
16,
35,
7680,
263,
8973,
198,
2,
422,
764,
46640,
62,
21084,
1330,
1635,
198,
2,
422,
764,
46640,
62,
30575,
7065,
62,
15854,
84,
1330,
1635,
198,
2,
422,
764,
46640,
62,
18274,
4487,
1330,
1635,
198,
198,
6738,
764,
46640,
62,
18274,
4487,
13,
29487,
889,
13,
9711,
1961,
1330,
1195,
30465,
628,
628,
198
] | 2.535714 | 84 |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import sys
sys.path.append("/home/jacobsin/Development/python/rifflib")
import riff
# contract = riff.make_contract("contract.yml")
riff.endpoint.walker(
[
{
"userId": 1,
"id": 1,
"title": "sunt aut facere repellat provident occaecati excepturi optio reprehenderit",
"body": {"grrr": ["test"]},
}
],
[
"dict",
"dict",
"dict",
"dict",
{
"userId": "int",
"id": "int",
"title": "str",
"body": {"str": "list"},
},
],
)
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
18,
198,
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
198,
11748,
25064,
198,
198,
17597,
13,
6978,
13,
33295,
7203,
14,
11195,
14,
30482,
8158,
259,
14,
41206,
14,
29412,
14,
81,
733,
8019,
4943,
198,
198,
11748,
36738,
198,
198,
2,
2775,
796,
36738,
13,
15883,
62,
28484,
7203,
28484,
13,
88,
4029,
4943,
198,
81,
733,
13,
437,
4122,
13,
20783,
7,
198,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
7220,
7390,
1298,
352,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
312,
1298,
352,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
7839,
1298,
366,
82,
2797,
1960,
1986,
260,
3172,
297,
265,
899,
738,
1609,
64,
721,
7246,
2845,
9900,
2172,
952,
1128,
260,
258,
681,
270,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
2618,
1298,
19779,
2164,
21062,
1298,
14631,
9288,
8973,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
16589,
198,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
366,
11600,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
11600,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
11600,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
11600,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
7220,
7390,
1298,
366,
600,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
312,
1298,
366,
600,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
7839,
1298,
366,
2536,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
366,
2618,
1298,
19779,
2536,
1298,
366,
4868,
25719,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
16589,
198,
8,
198
] | 1.803371 | 356 |
import FWCore.ParameterSet.Config as cms
from HLTriggerOffline.SMP.hltSMPValidator_cfi import *
SMPValidationSequence = cms.Sequence(
hltSMPValidator
)
| [
11748,
48849,
14055,
13,
36301,
7248,
13,
16934,
355,
269,
907,
198,
198,
6738,
38312,
48344,
28657,
13,
50,
7378,
13,
71,
2528,
50,
7378,
47139,
1352,
62,
66,
12463,
1330,
1635,
198,
198,
50,
7378,
7762,
24765,
44015,
594,
796,
269,
907,
13,
44015,
594,
7,
198,
220,
220,
220,
289,
2528,
50,
7378,
47139,
1352,
198,
220,
220,
220,
1267,
628
] | 2.587302 | 63 |
#!/usr/bin/env python
import sys
from os import path
import django
from django.conf import settings, global_settings
from django.core.management import execute_from_command_line
MIDDLEWARE = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
)
if not settings.configured:
module_root = path.dirname(path.realpath(__file__))
settings.configure(
DEBUG = False,
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': ':memory:'
}
},
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'APP_DIRS': True,
'OPTIONS': {
'debug': True,
},
},
],
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'currencies',
),
# For django 1.8 to 2.1 compatibility
MIDDLEWARE = MIDDLEWARE,
MIDDLEWARE_CLASSES = MIDDLEWARE,
SITE_ID = 1,
ROOT_URLCONF = 'currencies.tests.test_urls',
)
if __name__ == '__main__':
runtests()
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
198,
11748,
25064,
198,
6738,
28686,
1330,
3108,
198,
198,
11748,
42625,
14208,
198,
6738,
42625,
14208,
13,
10414,
1330,
6460,
11,
3298,
62,
33692,
198,
6738,
42625,
14208,
13,
7295,
13,
27604,
1330,
12260,
62,
6738,
62,
21812,
62,
1370,
628,
198,
44,
2389,
35,
2538,
33746,
796,
357,
198,
220,
220,
220,
705,
28241,
14208,
13,
27171,
1574,
13,
11321,
13,
17227,
34621,
1574,
3256,
198,
220,
220,
220,
705,
28241,
14208,
13,
3642,
822,
13,
82,
6202,
13,
27171,
1574,
13,
36044,
34621,
1574,
3256,
198,
220,
220,
220,
705,
28241,
14208,
13,
27171,
1574,
13,
6359,
41871,
13,
34,
27891,
69,
7680,
34621,
1574,
3256,
198,
220,
220,
220,
705,
28241,
14208,
13,
3642,
822,
13,
18439,
13,
27171,
1574,
13,
47649,
3299,
34621,
1574,
3256,
198,
8,
198,
198,
361,
407,
6460,
13,
11250,
1522,
25,
198,
220,
220,
220,
8265,
62,
15763,
796,
3108,
13,
15908,
3672,
7,
6978,
13,
5305,
6978,
7,
834,
7753,
834,
4008,
628,
220,
220,
220,
6460,
13,
11250,
495,
7,
198,
220,
220,
220,
220,
220,
220,
220,
16959,
796,
10352,
11,
198,
220,
220,
220,
220,
220,
220,
220,
360,
1404,
6242,
1921,
1546,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
12286,
10354,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
26808,
8881,
10354,
705,
28241,
14208,
13,
9945,
13,
1891,
2412,
13,
25410,
578,
18,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
20608,
10354,
705,
25,
31673,
32105,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
309,
3620,
6489,
29462,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
31098,
10619,
10354,
705,
28241,
14208,
13,
28243,
13,
1891,
2412,
13,
28241,
14208,
13,
35,
73,
14208,
12966,
17041,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24805,
62,
34720,
50,
10354,
6407,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
3185,
51,
11053,
10354,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
24442,
10354,
6407,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
8964,
198,
220,
220,
220,
220,
220,
220,
220,
16589,
198,
220,
220,
220,
220,
220,
220,
220,
40589,
7036,
1961,
62,
2969,
3705,
796,
357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
28241,
14208,
13,
3642,
822,
13,
18439,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
28241,
14208,
13,
3642,
822,
13,
11299,
19199,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
28241,
14208,
13,
3642,
822,
13,
82,
6202,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
28241,
14208,
13,
3642,
822,
13,
49315,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
22019,
14038,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
10612,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
1114,
42625,
14208,
352,
13,
23,
284,
362,
13,
16,
17764,
198,
220,
220,
220,
220,
220,
220,
220,
25269,
35,
2538,
33746,
796,
25269,
35,
2538,
33746,
11,
198,
220,
220,
220,
220,
220,
220,
220,
25269,
35,
2538,
33746,
62,
31631,
1546,
796,
25269,
35,
2538,
33746,
11,
198,
220,
220,
220,
220,
220,
220,
220,
311,
12709,
62,
2389,
796,
352,
11,
198,
220,
220,
220,
220,
220,
220,
220,
15107,
2394,
62,
4261,
5639,
1340,
37,
796,
705,
22019,
14038,
13,
41989,
13,
9288,
62,
6371,
82,
3256,
198,
220,
220,
220,
1267,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
1057,
41989,
3419,
198
] | 1.963014 | 730 |
# coding: utf-8
# In[1]:
from __future__ import absolute_import, division
import os
import time
import numpy as np
import pandas as pd
import gensim
from tqdm import tqdm
from nltk.stem import PorterStemmer
ps = PorterStemmer()
from nltk.stem.lancaster import LancasterStemmer
lc = LancasterStemmer()
from nltk.stem import SnowballStemmer
sb = SnowballStemmer("english")
import gc
from nltk.stem import WordNetLemmatizer
lemmatizer = WordNetLemmatizer()
# In[2]:
spell_model = gensim.models.KeyedVectors.load_word2vec_format('wiki-news-300d-1M/wiki-news-300d-1M.vec')
words = spell_model.index2word
w_rank = {}
for i,word in enumerate(words):
w_rank[word] = i
WORDS = w_rank
# In[3]:
# Use fast text as vocabulary
def P(word):
"Probability of `word`."
# use inverse of rank as proxy
# returns 0 if the word isn't in the dictionary
return - WORDS.get(word, 0)
def correction(word):
"Most probable spelling correction for word."
"correction('quikly') returns quickly correction('israil') returns israel"
return max(candidates(word), key=P)
def candidates(word):
"Generate possible spelling corrections for word."
return (known([word]) or known(edits1(word)) or [word])
def known(words):
"The subset of `words` that appear in the dictionary of WORDS."
return set(w for w in words if w in WORDS)
def edits1(word):
"All edits that are one edit away from `word`."
letters = 'abcdefghijklmnopqrstuvwxyz'
splits = [(word[:i], word[i:]) for i in range(len(word) + 1)]
deletes = [L + R[1:] for L, R in splits if R]
transposes = [L + R[1] + R[0] + R[2:] for L, R in splits if len(R)>1]
replaces = [L + c + R[1:] for L, R in splits if R for c in letters]
inserts = [L + c + R for L, R in splits for c in letters]
return set(deletes + transposes + replaces + inserts)
def edits2(word):
"All edits that are two edits away from `word`."
return (e2 for e1 in edits1(word) for e2 in edits1(e1))
# In[4]:
obscene_words = ['sex','fuck','shit','cunt','gay','lesbian','ass','pussy','dick','penis','vagina','asshole','fap','porn', 'masturbate','sperm','semen','pregnate','impregnate','boobs','getting laid','get laid','bitch','undress','castrate', 'castration','incest','sexual','rape','hooker','slut','prostitute','panty','bikini','underwear', 'dildo','breast','transgender','homosexual','anal','butt','bra','paedophilo','']
# In[9]:
# In[13]:
sent = "Can Aman pregnate a cow?"
print(chk_words(sent))
| [
198,
2,
19617,
25,
3384,
69,
12,
23,
198,
198,
2,
554,
58,
16,
5974,
628,
198,
6738,
11593,
37443,
834,
1330,
4112,
62,
11748,
11,
7297,
198,
198,
11748,
28686,
198,
11748,
640,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
19798,
292,
355,
279,
67,
198,
11748,
308,
641,
320,
198,
6738,
256,
80,
36020,
1330,
256,
80,
36020,
198,
6738,
299,
2528,
74,
13,
927,
1330,
20890,
1273,
368,
647,
198,
862,
796,
20890,
1273,
368,
647,
3419,
198,
6738,
299,
2528,
74,
13,
927,
13,
75,
1192,
1603,
1330,
38167,
1273,
368,
647,
198,
44601,
796,
38167,
1273,
368,
647,
3419,
198,
6738,
299,
2528,
74,
13,
927,
1330,
7967,
1894,
1273,
368,
647,
198,
36299,
796,
7967,
1894,
1273,
368,
647,
7203,
39126,
4943,
198,
11748,
308,
66,
198,
6738,
299,
2528,
74,
13,
927,
1330,
9678,
7934,
43,
368,
6759,
7509,
220,
220,
220,
198,
293,
3020,
265,
7509,
796,
9678,
7934,
43,
368,
6759,
7509,
3419,
220,
628,
198,
2,
554,
58,
17,
5974,
628,
198,
46143,
62,
19849,
796,
308,
641,
320,
13,
27530,
13,
9218,
276,
53,
478,
669,
13,
2220,
62,
4775,
17,
35138,
62,
18982,
10786,
15466,
12,
10827,
12,
6200,
67,
12,
16,
44,
14,
15466,
12,
10827,
12,
6200,
67,
12,
16,
44,
13,
35138,
11537,
198,
10879,
796,
4822,
62,
19849,
13,
9630,
17,
4775,
198,
86,
62,
43027,
796,
23884,
198,
198,
1640,
1312,
11,
4775,
287,
27056,
378,
7,
10879,
2599,
198,
220,
220,
220,
266,
62,
43027,
58,
4775,
60,
796,
1312,
198,
220,
220,
220,
220,
198,
45359,
5258,
796,
266,
62,
43027,
628,
198,
2,
554,
58,
18,
5974,
628,
198,
2,
5765,
3049,
2420,
355,
25818,
198,
198,
4299,
350,
7,
4775,
2599,
220,
198,
220,
220,
220,
366,
2964,
65,
1799,
286,
4600,
4775,
63,
526,
198,
220,
220,
220,
1303,
779,
34062,
286,
4279,
355,
15741,
198,
220,
220,
220,
1303,
5860,
657,
611,
262,
1573,
2125,
470,
287,
262,
22155,
198,
220,
220,
220,
1441,
532,
21881,
5258,
13,
1136,
7,
4775,
11,
657,
8,
198,
198,
4299,
17137,
7,
4775,
2599,
220,
198,
220,
220,
220,
366,
6943,
17939,
24993,
17137,
329,
1573,
526,
198,
220,
220,
220,
366,
10215,
8243,
10786,
421,
1134,
306,
11537,
5860,
2952,
220,
220,
220,
17137,
10786,
271,
30224,
11537,
5860,
318,
2510,
1,
198,
220,
220,
220,
1441,
3509,
7,
46188,
37051,
7,
4775,
828,
1994,
28,
47,
8,
198,
198,
4299,
5871,
7,
4775,
2599,
220,
198,
220,
220,
220,
366,
8645,
378,
1744,
24993,
26251,
329,
1573,
526,
198,
220,
220,
220,
1441,
357,
4002,
26933,
4775,
12962,
393,
1900,
7,
276,
896,
16,
7,
4775,
4008,
393,
685,
4775,
12962,
198,
198,
4299,
1900,
7,
10879,
2599,
220,
198,
220,
220,
220,
366,
464,
24637,
286,
4600,
10879,
63,
326,
1656,
287,
262,
22155,
286,
21881,
5258,
526,
198,
220,
220,
220,
1441,
900,
7,
86,
329,
266,
287,
2456,
611,
266,
287,
21881,
5258,
8,
198,
198,
4299,
31671,
16,
7,
4775,
2599,
198,
220,
220,
220,
366,
3237,
31671,
326,
389,
530,
4370,
1497,
422,
4600,
4775,
63,
526,
198,
220,
220,
220,
7475,
220,
220,
220,
796,
705,
39305,
4299,
456,
2926,
41582,
10295,
404,
80,
81,
301,
14795,
86,
5431,
89,
6,
198,
220,
220,
220,
30778,
220,
220,
220,
220,
796,
47527,
4775,
58,
25,
72,
4357,
1573,
58,
72,
25,
12962,
220,
220,
220,
329,
1312,
287,
2837,
7,
11925,
7,
4775,
8,
1343,
352,
15437,
198,
220,
220,
220,
28128,
274,
220,
220,
220,
796,
685,
43,
1343,
371,
58,
16,
47715,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
406,
11,
371,
287,
30778,
611,
371,
60,
198,
220,
220,
220,
1007,
4832,
796,
685,
43,
1343,
371,
58,
16,
60,
1343,
371,
58,
15,
60,
1343,
371,
58,
17,
47715,
329,
406,
11,
371,
287,
30778,
611,
18896,
7,
49,
8,
29,
16,
60,
198,
220,
220,
220,
24020,
220,
220,
796,
685,
43,
1343,
269,
1343,
371,
58,
16,
47715,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
406,
11,
371,
287,
30778,
611,
371,
329,
269,
287,
7475,
60,
198,
220,
220,
220,
42220,
220,
220,
220,
796,
685,
43,
1343,
269,
1343,
371,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
406,
11,
371,
287,
30778,
329,
269,
287,
7475,
60,
198,
220,
220,
220,
1441,
900,
7,
2934,
40676,
1343,
1007,
4832,
1343,
24020,
1343,
42220,
8,
198,
198,
4299,
31671,
17,
7,
4775,
2599,
220,
198,
220,
220,
220,
366,
3237,
31671,
326,
389,
734,
31671,
1497,
422,
4600,
4775,
63,
526,
198,
220,
220,
220,
1441,
357,
68,
17,
329,
304,
16,
287,
31671,
16,
7,
4775,
8,
329,
304,
17,
287,
31671,
16,
7,
68,
16,
4008,
628,
198,
2,
554,
58,
19,
5974,
628,
198,
672,
29734,
62,
10879,
796,
37250,
8044,
41707,
31699,
41707,
16211,
41707,
66,
2797,
41707,
22744,
41707,
829,
12210,
41707,
562,
41707,
79,
14650,
41707,
67,
624,
41707,
3617,
271,
41707,
29821,
1437,
41707,
562,
13207,
41707,
69,
499,
41707,
79,
1211,
3256,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
47616,
5945,
378,
41707,
82,
16321,
41707,
325,
3653,
41707,
79,
28321,
378,
41707,
11011,
28321,
378,
41707,
2127,
8158,
41707,
37210,
8104,
41707,
1136,
8104,
41707,
65,
2007,
41707,
917,
601,
41707,
2701,
4873,
3256,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
2701,
1358,
41707,
1939,
395,
41707,
18338,
41707,
13484,
41707,
25480,
263,
41707,
6649,
315,
41707,
1676,
301,
3678,
41707,
79,
46098,
41707,
65,
35542,
41707,
4625,
13927,
3256,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
67,
39583,
41707,
4679,
459,
41707,
7645,
8388,
41707,
26452,
8542,
41707,
272,
282,
41707,
43059,
41707,
16057,
41707,
79,
8432,
2522,
18526,
3256,
7061,
60,
628,
198,
2,
554,
58,
24,
5974,
628,
198,
198,
2,
554,
58,
1485,
5974,
628,
198,
34086,
796,
366,
6090,
42614,
6112,
378,
257,
9875,
1701,
198,
198,
4798,
7,
354,
74,
62,
10879,
7,
34086,
4008,
628
] | 2.505736 | 1,046 |
# ---
# jupyter:
# jupytext:
# text_representation:
# extension: .py
# format_name: light
# format_version: '1.3'
# jupytext_version: 0.8.6
# kernelspec:
# display_name: Python [conda env:DL-wpython3]
# language: python
# name: conda-env-DL-wpython3-py
# ---
import time
import numpy as np
import pandas as pd
from re import finditer
import re
from nltk.tokenize import sent_tokenize, word_tokenize
import string
import nltk
import itertools
try:
nltk.data.find('tokenizers/punkt')
nltk.data.find('taggers/averaged_perceptron_tagger')
except LookupError:
nltk.download('punkt')
nltk.download('averaged_perceptron_tagger')
punct = set(string.punctuation)
stop_words = set(nltk.corpus.stopwords.words('english'))
contractions = {
"ain't": "am not",
"aren't": "are not",
"can't": "cannot",
"can't've": "cannot have",
"'cause": "because",
"could've": "could have",
"couldn't": "could not",
"couldn't've": "could not have",
"didn't": "did not",
"doesn't": "does not",
"don't": "do not",
"hadn't": "had not",
"hadn't've": "had not have",
"hasn't": "has not",
"haven't": "have not",
"he'd": "he would",
"he'd've": "he would have",
"he'll": "he will",
"he's": "he is",
"how'd": "how did",
"how'll": "how will",
"how's": "how is",
"i'd": "i would",
"i'll": "i will",
"i'm": "i am",
"i've": "i have",
"isn't": "is not",
"it'd": "it would",
"it'll": "it will",
"it's": "it is",
"let's": "let us",
"ma'am": "madam",
"mayn't": "may not",
"might've": "might have",
"mightn't": "might not",
"must've": "must have",
"mustn't": "must not",
"needn't": "need not",
"oughtn't": "ought not",
"shan't": "shall not",
"sha'n't": "shall not",
"she'd": "she would",
"she'll": "she will",
"she's": "she is",
"should've": "should have",
"shouldn't": "should not",
"that'd": "that would",
"that's": "that is",
"there'd": "there had",
"there's": "there is",
"they'd": "they would",
"they'll": "they will",
"they're": "they are",
"they've": "they have",
"wasn't": "was not",
"we'd": "we would",
"we'll": "we will",
"We'll": "We will",
"we're": "we are",
"we've": "we have",
"weren't": "were not",
"what'll": "what will",
"what're": "what are",
"what's": "what is",
"what've": "what have",
"where'd": "where did",
"where's": "where is",
"who'll": "who will",
"who's": "who is",
"won't": "will not",
"wouldn't": "would not",
"you'd": "you would",
"you'll": "you will",
"you're": "you are"
}
'''
def getCandidatePhrases(transcript):
input_ = replaceContractions(transcript)
Keywords_all = list (set (extract_candidate_chunk (transcript) + extract_candidate_words (transcript)))
return Keywords_all
'''
getCandidatePhrases("With a foundation in artificial intelligence and media analytics, Ether starts its course by enabling a smart call service on top of Slack, Stride, and Teams. Ether captures and analyzes the call (audio, video, shared content, etc) as the call happens and extracts key markers.")
| [
2,
11420,
198,
2,
474,
929,
88,
353,
25,
198,
2,
220,
220,
474,
929,
88,
5239,
25,
198,
2,
220,
220,
220,
220,
2420,
62,
15603,
341,
25,
198,
2,
220,
220,
220,
220,
220,
220,
7552,
25,
764,
9078,
198,
2,
220,
220,
220,
220,
220,
220,
5794,
62,
3672,
25,
1657,
198,
2,
220,
220,
220,
220,
220,
220,
5794,
62,
9641,
25,
705,
16,
13,
18,
6,
198,
2,
220,
220,
220,
220,
220,
220,
474,
929,
88,
5239,
62,
9641,
25,
657,
13,
23,
13,
21,
198,
2,
220,
220,
50207,
43106,
25,
198,
2,
220,
220,
220,
220,
3359,
62,
3672,
25,
11361,
685,
66,
13533,
17365,
25,
19260,
12,
24142,
7535,
18,
60,
198,
2,
220,
220,
220,
220,
3303,
25,
21015,
198,
2,
220,
220,
220,
220,
1438,
25,
1779,
64,
12,
24330,
12,
19260,
12,
24142,
7535,
18,
12,
9078,
198,
2,
11420,
198,
198,
11748,
640,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
19798,
292,
355,
279,
67,
198,
6738,
302,
1330,
1064,
2676,
198,
11748,
302,
198,
6738,
299,
2528,
74,
13,
30001,
1096,
1330,
1908,
62,
30001,
1096,
11,
1573,
62,
30001,
1096,
198,
11748,
4731,
198,
11748,
299,
2528,
74,
198,
11748,
340,
861,
10141,
198,
198,
28311,
25,
198,
220,
220,
220,
299,
2528,
74,
13,
7890,
13,
19796,
10786,
30001,
11341,
14,
30354,
83,
11537,
198,
220,
220,
220,
299,
2528,
74,
13,
7890,
13,
19796,
10786,
12985,
5355,
14,
8770,
1886,
62,
525,
984,
1313,
62,
83,
7928,
11537,
198,
16341,
6803,
929,
12331,
25,
198,
220,
220,
220,
299,
2528,
74,
13,
15002,
10786,
30354,
83,
11537,
198,
220,
220,
220,
299,
2528,
74,
13,
15002,
10786,
8770,
1886,
62,
525,
984,
1313,
62,
83,
7928,
11537,
198,
198,
79,
16260,
796,
900,
7,
8841,
13,
79,
16260,
2288,
8,
198,
11338,
62,
10879,
796,
900,
7,
77,
2528,
74,
13,
10215,
79,
385,
13,
11338,
10879,
13,
10879,
10786,
39126,
6,
4008,
198,
198,
28484,
507,
796,
1391,
198,
1,
391,
470,
1298,
366,
321,
407,
1600,
198,
1,
5757,
470,
1298,
366,
533,
407,
1600,
198,
1,
5171,
470,
1298,
366,
66,
34574,
1600,
198,
1,
5171,
470,
1053,
1298,
366,
66,
34574,
423,
1600,
198,
30543,
25587,
1298,
366,
13893,
1600,
198,
1,
24089,
1053,
1298,
366,
24089,
423,
1600,
198,
1,
24089,
77,
470,
1298,
366,
24089,
407,
1600,
198,
1,
24089,
77,
470,
1053,
1298,
366,
24089,
407,
423,
1600,
198,
1,
45168,
470,
1298,
366,
20839,
407,
1600,
198,
1,
45084,
470,
1298,
366,
22437,
407,
1600,
198,
1,
9099,
470,
1298,
366,
4598,
407,
1600,
198,
1,
18108,
77,
470,
1298,
366,
18108,
407,
1600,
198,
1,
18108,
77,
470,
1053,
1298,
366,
18108,
407,
423,
1600,
198,
1,
10134,
77,
470,
1298,
366,
10134,
407,
1600,
198,
1,
39487,
470,
1298,
366,
14150,
407,
1600,
198,
1,
258,
1549,
1298,
366,
258,
561,
1600,
198,
1,
258,
1549,
1053,
1298,
366,
258,
561,
423,
1600,
198,
1,
258,
1183,
1298,
366,
258,
481,
1600,
198,
1,
258,
338,
1298,
366,
258,
318,
1600,
198,
1,
4919,
1549,
1298,
366,
4919,
750,
1600,
198,
1,
4919,
1183,
1298,
366,
4919,
481,
1600,
198,
1,
4919,
338,
1298,
366,
4919,
318,
1600,
198,
1,
72,
1549,
1298,
366,
72,
561,
1600,
198,
1,
72,
1183,
1298,
366,
72,
481,
1600,
198,
1,
72,
1101,
1298,
366,
72,
716,
1600,
198,
1,
72,
1053,
1298,
366,
72,
423,
1600,
198,
1,
271,
77,
470,
1298,
366,
271,
407,
1600,
198,
1,
270,
1549,
1298,
366,
270,
561,
1600,
198,
1,
270,
1183,
1298,
366,
270,
481,
1600,
198,
1,
270,
338,
1298,
366,
270,
318,
1600,
198,
1,
1616,
338,
1298,
366,
1616,
514,
1600,
198,
1,
2611,
6,
321,
1298,
366,
9937,
321,
1600,
198,
1,
11261,
77,
470,
1298,
366,
11261,
407,
1600,
198,
1,
44092,
1053,
1298,
366,
44092,
423,
1600,
198,
1,
44092,
77,
470,
1298,
366,
44092,
407,
1600,
198,
1,
27238,
1053,
1298,
366,
27238,
423,
1600,
198,
1,
27238,
77,
470,
1298,
366,
27238,
407,
1600,
198,
1,
31227,
77,
470,
1298,
366,
31227,
407,
1600,
198,
1,
2917,
77,
470,
1298,
366,
2917,
407,
1600,
198,
1,
1477,
272,
470,
1298,
366,
49271,
407,
1600,
198,
1,
26270,
6,
77,
470,
1298,
366,
49271,
407,
1600,
198,
1,
7091,
1549,
1298,
366,
7091,
561,
1600,
198,
1,
7091,
1183,
1298,
366,
7091,
481,
1600,
198,
1,
7091,
338,
1298,
366,
7091,
318,
1600,
198,
1,
21754,
1053,
1298,
366,
21754,
423,
1600,
198,
1,
21754,
77,
470,
1298,
366,
21754,
407,
1600,
198,
1,
5562,
1549,
1298,
366,
5562,
561,
1600,
198,
1,
5562,
338,
1298,
366,
5562,
318,
1600,
198,
1,
8117,
1549,
1298,
366,
8117,
550,
1600,
198,
1,
8117,
338,
1298,
366,
8117,
318,
1600,
198,
1,
9930,
1549,
1298,
366,
9930,
561,
1600,
198,
1,
9930,
1183,
1298,
366,
9930,
481,
1600,
198,
1,
9930,
821,
1298,
366,
9930,
389,
1600,
198,
1,
9930,
1053,
1298,
366,
9930,
423,
1600,
198,
1,
9776,
77,
470,
1298,
366,
9776,
407,
1600,
198,
1,
732,
1549,
1298,
366,
732,
561,
1600,
198,
1,
732,
1183,
1298,
366,
732,
481,
1600,
198,
1,
1135,
1183,
1298,
366,
1135,
481,
1600,
198,
1,
732,
821,
1298,
366,
732,
389,
1600,
198,
1,
732,
1053,
1298,
366,
732,
423,
1600,
198,
1,
86,
14226,
470,
1298,
366,
22474,
407,
1600,
198,
1,
10919,
1183,
1298,
366,
10919,
481,
1600,
198,
1,
10919,
821,
1298,
366,
10919,
389,
1600,
198,
1,
10919,
338,
1298,
366,
10919,
318,
1600,
198,
1,
10919,
1053,
1298,
366,
10919,
423,
1600,
198,
1,
3003,
1549,
1298,
366,
3003,
750,
1600,
198,
1,
3003,
338,
1298,
366,
3003,
318,
1600,
198,
1,
8727,
1183,
1298,
366,
8727,
481,
1600,
198,
1,
8727,
338,
1298,
366,
8727,
318,
1600,
198,
1,
26502,
470,
1298,
366,
10594,
407,
1600,
198,
1,
19188,
77,
470,
1298,
366,
19188,
407,
1600,
198,
1,
5832,
1549,
1298,
366,
5832,
561,
1600,
198,
1,
5832,
1183,
1298,
366,
5832,
481,
1600,
198,
1,
5832,
821,
1298,
366,
5832,
389,
1,
198,
92,
628,
628,
198,
7061,
6,
198,
4299,
651,
41572,
20540,
2725,
81,
1386,
7,
7645,
6519,
2599,
198,
220,
220,
220,
5128,
62,
796,
6330,
4264,
37810,
7,
7645,
6519,
8,
198,
220,
220,
220,
7383,
10879,
62,
439,
796,
1351,
357,
2617,
357,
2302,
974,
62,
46188,
20540,
62,
354,
2954,
357,
7645,
6519,
8,
1343,
7925,
62,
46188,
20540,
62,
10879,
357,
7645,
6519,
22305,
198,
220,
220,
220,
1441,
7383,
10879,
62,
439,
198,
7061,
6,
198,
198,
1136,
41572,
20540,
2725,
81,
1386,
7203,
3152,
257,
8489,
287,
11666,
4430,
290,
2056,
23696,
11,
20017,
4940,
663,
1781,
416,
15882,
257,
4451,
869,
2139,
319,
1353,
286,
36256,
11,
4285,
485,
11,
290,
24690,
13,
20017,
23007,
290,
4284,
12271,
262,
869,
357,
24051,
11,
2008,
11,
4888,
2695,
11,
3503,
8,
355,
262,
869,
4325,
290,
32139,
1994,
19736,
19570,
198
] | 2.508503 | 1,176 |
from datetime import datetime, timedelta
from os import listdir, system
import aiohttp
import discord
import json
from discord.ext import commands
from pretty_help import PrettyHelp
with open('./data.json') as f:
d1 = json.load(f)
with open('./market.json') as f:
d2 = json.load(f)
TOKEN = d1['token']
bot = Echo()
@bot.command(hidden=True)
@commands.is_owner()
@bot.command(hidden=True)
@commands.is_owner()
@bot.command(hidden=True)
@commands.is_owner()
for filename in listdir("./cogs"):
if filename.endswith(".py"):
bot.load_extension(f"cogs.{filename[:-3]}")
bot.load_extension("jishaku")
bot.loop.run_until_complete(bot.run(TOKEN)) | [
6738,
4818,
8079,
1330,
4818,
8079,
11,
28805,
12514,
198,
6738,
28686,
1330,
1351,
15908,
11,
1080,
198,
198,
11748,
257,
952,
4023,
198,
11748,
36446,
198,
11748,
33918,
198,
198,
6738,
36446,
13,
2302,
1330,
9729,
198,
6738,
2495,
62,
16794,
1330,
20090,
22087,
628,
198,
4480,
1280,
7,
4458,
14,
7890,
13,
17752,
11537,
355,
277,
25,
198,
220,
288,
16,
796,
33918,
13,
2220,
7,
69,
8,
198,
4480,
1280,
7,
4458,
14,
10728,
13,
17752,
11537,
355,
277,
25,
198,
220,
288,
17,
796,
33918,
13,
2220,
7,
69,
8,
198,
198,
10468,
43959,
796,
288,
16,
17816,
30001,
20520,
198,
13645,
796,
21455,
3419,
198,
198,
31,
13645,
13,
21812,
7,
30342,
28,
17821,
8,
198,
31,
9503,
1746,
13,
271,
62,
18403,
3419,
628,
198,
31,
13645,
13,
21812,
7,
30342,
28,
17821,
8,
198,
31,
9503,
1746,
13,
271,
62,
18403,
3419,
628,
198,
31,
13645,
13,
21812,
7,
30342,
28,
17821,
8,
198,
31,
9503,
1746,
13,
271,
62,
18403,
3419,
628,
198,
1640,
29472,
287,
1351,
15908,
7,
1911,
14,
66,
18463,
1,
2599,
198,
220,
220,
220,
611,
29472,
13,
437,
2032,
342,
7,
1911,
9078,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
10214,
13,
2220,
62,
2302,
3004,
7,
69,
1,
66,
18463,
13,
90,
34345,
58,
21912,
18,
48999,
4943,
198,
198,
13645,
13,
2220,
62,
2302,
3004,
7203,
73,
680,
8719,
4943,
198,
13645,
13,
26268,
13,
5143,
62,
28446,
62,
20751,
7,
13645,
13,
5143,
7,
10468,
43959,
4008
] | 2.601563 | 256 |
# -*- coding: utf-8 -*-
"""
Created on Sat Apr 18 13:02:47 2020
@author: user
"""
# python David_4_7_2_index_features.py --dataset output/data/training --features-db output/training_features.hdf5
# python David_4_7_2_index_features.py
# import the necessary packages
from __future__ import print_function
from pyimagesearch.descriptors import DetectAndDescribe
from pyimagesearch.indexer import FeatureIndexer
from imutils.feature import FeatureDetector_create, DescriptorExtractor_create
from imutils import paths
import argparse
import imutils
import random
import cv2
import sys
# construct the argument parser and parse the arguments
ap = argparse.ArgumentParser()
ap.add_argument("-d", "--dataset", required=True,
help="Path to the directory that contains the images to be indexed")
ap.add_argument("-f", "--features-db", required=True,
help="Path to where the features database will be stored")
ap.add_argument("-a", "--approx-images", type=int, default=250,
help="Approximate # of images in the dataset")
ap.add_argument("-b", "--max-buffer-size", type=int, default=50000,
help="Maximum buffer size for # of features to be stored in memory")
sys.argv[1:] = '-d output/data/training -f output/training_features.hdf5'.split()
args = vars(ap.parse_args())
# initialize the keypoint detector, local invariant descriptor, and the descriptor
# pipeline
detector = FeatureDetector_create("GFTT")
descriptor = DescriptorExtractor_create("RootSIFT")
dad = DetectAndDescribe(detector, descriptor)
# initialize the feature indexer
fi = FeatureIndexer(args["features_db"], estNumImages=args["approx_images"],
maxBufferSize=args["max_buffer_size"], verbose=True)
# grab the image paths and randomly shuffle them
imagePaths = list(paths.list_images(args["dataset"]))
random.shuffle(imagePaths)
# loop over the images in the dataset
for (i, imagePath) in enumerate(imagePaths):
# check to see if progress should be displayed
if i > 0 and i % 10 == 0:
fi._debug("processed {} images".format(i), msgType="[PROGRESS]")
# load the image and pre-process it
image = cv2.imread(imagePath)
image = imutils.resize(image, width=320)
image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
# describe the image
(kps, descs) = dad.describe(image)
# if either the keypoints or descriptors are None, then ignore the image
if kps is None or descs is None:
continue
# extract the image filename and label from the path, then index the features
(label, filename) = imagePath.split("/")[-2:]
k = "{}:{}".format(label, filename)
fi.add(k, image.shape, kps, descs)
# finish the indexing process
fi.finish()
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
37811,
198,
41972,
319,
7031,
2758,
1248,
1511,
25,
2999,
25,
2857,
12131,
198,
198,
31,
9800,
25,
2836,
198,
37811,
198,
198,
2,
21015,
3271,
62,
19,
62,
22,
62,
17,
62,
9630,
62,
40890,
13,
9078,
1377,
19608,
292,
316,
5072,
14,
7890,
14,
34409,
1377,
40890,
12,
9945,
5072,
14,
34409,
62,
40890,
13,
71,
7568,
20,
198,
2,
21015,
3271,
62,
19,
62,
22,
62,
17,
62,
9630,
62,
40890,
13,
9078,
198,
198,
2,
1330,
262,
3306,
10392,
198,
6738,
11593,
37443,
834,
1330,
3601,
62,
8818,
198,
6738,
12972,
17566,
3679,
13,
20147,
1968,
669,
1330,
35874,
1870,
24564,
4892,
198,
6738,
12972,
17566,
3679,
13,
9630,
263,
1330,
27018,
15732,
263,
198,
6738,
545,
26791,
13,
30053,
1330,
27018,
11242,
9250,
62,
17953,
11,
2935,
6519,
273,
11627,
40450,
62,
17953,
198,
6738,
545,
26791,
1330,
13532,
198,
11748,
1822,
29572,
198,
11748,
545,
26791,
198,
11748,
4738,
198,
11748,
269,
85,
17,
198,
11748,
25064,
198,
198,
2,
5678,
262,
4578,
30751,
290,
21136,
262,
7159,
198,
499,
796,
1822,
29572,
13,
28100,
1713,
46677,
3419,
198,
499,
13,
2860,
62,
49140,
7203,
12,
67,
1600,
366,
438,
19608,
292,
316,
1600,
2672,
28,
17821,
11,
198,
197,
16794,
2625,
15235,
284,
262,
8619,
326,
4909,
262,
4263,
284,
307,
41497,
4943,
198,
499,
13,
2860,
62,
49140,
7203,
12,
69,
1600,
366,
438,
40890,
12,
9945,
1600,
2672,
28,
17821,
11,
198,
197,
16794,
2625,
15235,
284,
810,
262,
3033,
6831,
481,
307,
8574,
4943,
198,
499,
13,
2860,
62,
49140,
7203,
12,
64,
1600,
366,
438,
1324,
13907,
12,
17566,
1600,
2099,
28,
600,
11,
4277,
28,
9031,
11,
198,
197,
16794,
2625,
4677,
13907,
1920,
1303,
286,
4263,
287,
262,
27039,
4943,
198,
499,
13,
2860,
62,
49140,
7203,
12,
65,
1600,
366,
438,
9806,
12,
22252,
12,
7857,
1600,
2099,
28,
600,
11,
4277,
28,
20,
2388,
11,
198,
197,
16794,
2625,
40541,
11876,
2546,
329,
1303,
286,
3033,
284,
307,
8574,
287,
4088,
4943,
198,
198,
17597,
13,
853,
85,
58,
16,
47715,
796,
705,
12,
67,
5072,
14,
7890,
14,
34409,
532,
69,
5072,
14,
34409,
62,
40890,
13,
71,
7568,
20,
4458,
35312,
3419,
198,
22046,
796,
410,
945,
7,
499,
13,
29572,
62,
22046,
28955,
198,
198,
2,
41216,
262,
1994,
4122,
31029,
11,
1957,
25275,
415,
43087,
11,
290,
262,
43087,
198,
2,
11523,
198,
15255,
9250,
796,
27018,
11242,
9250,
62,
17953,
7203,
38,
9792,
51,
4943,
198,
20147,
1968,
273,
796,
2935,
6519,
273,
11627,
40450,
62,
17953,
7203,
30016,
50,
32297,
4943,
198,
47984,
796,
35874,
1870,
24564,
4892,
7,
15255,
9250,
11,
43087,
8,
198,
198,
2,
41216,
262,
3895,
6376,
263,
198,
12463,
796,
27018,
15732,
263,
7,
22046,
14692,
40890,
62,
9945,
33116,
1556,
33111,
29398,
28,
22046,
14692,
1324,
13907,
62,
17566,
33116,
198,
197,
9806,
28632,
10699,
28,
22046,
14692,
9806,
62,
22252,
62,
7857,
33116,
15942,
577,
28,
17821,
8,
198,
198,
2,
5552,
262,
2939,
13532,
290,
15456,
36273,
606,
198,
9060,
15235,
82,
796,
1351,
7,
6978,
82,
13,
4868,
62,
17566,
7,
22046,
14692,
19608,
292,
316,
8973,
4008,
198,
25120,
13,
1477,
18137,
7,
9060,
15235,
82,
8,
628,
198,
2,
9052,
625,
262,
4263,
287,
262,
27039,
198,
1640,
357,
72,
11,
2939,
15235,
8,
287,
27056,
378,
7,
9060,
15235,
82,
2599,
198,
197,
2,
2198,
284,
766,
611,
4371,
815,
307,
9066,
198,
197,
361,
1312,
1875,
657,
290,
1312,
4064,
838,
6624,
657,
25,
198,
197,
197,
12463,
13557,
24442,
7203,
14681,
276,
23884,
4263,
1911,
18982,
7,
72,
828,
31456,
6030,
2625,
58,
4805,
49656,
7597,
60,
4943,
628,
197,
2,
3440,
262,
2939,
290,
662,
12,
14681,
340,
198,
197,
9060,
796,
269,
85,
17,
13,
320,
961,
7,
9060,
15235,
8,
198,
197,
9060,
796,
545,
26791,
13,
411,
1096,
7,
9060,
11,
9647,
28,
19504,
8,
198,
197,
9060,
796,
269,
85,
17,
13,
33967,
83,
10258,
7,
9060,
11,
269,
85,
17,
13,
46786,
62,
33,
10761,
17,
38,
30631,
8,
628,
197,
2,
6901,
262,
2939,
198,
197,
7,
74,
862,
11,
1715,
82,
8,
796,
9955,
13,
20147,
4892,
7,
9060,
8,
628,
197,
2,
611,
2035,
262,
1994,
13033,
393,
12145,
669,
389,
6045,
11,
788,
8856,
262,
2939,
198,
197,
361,
479,
862,
318,
6045,
393,
1715,
82,
318,
6045,
25,
198,
197,
197,
43043,
628,
197,
2,
7925,
262,
2939,
29472,
290,
6167,
422,
262,
3108,
11,
788,
6376,
262,
3033,
198,
197,
7,
18242,
11,
29472,
8,
796,
2939,
15235,
13,
35312,
7203,
14,
4943,
58,
12,
17,
47715,
198,
197,
74,
796,
45144,
92,
29164,
92,
1911,
18982,
7,
18242,
11,
29472,
8,
198,
197,
12463,
13,
2860,
7,
74,
11,
2939,
13,
43358,
11,
479,
862,
11,
1715,
82,
8,
198,
220,
220,
220,
220,
198,
198,
2,
5461,
262,
6376,
278,
1429,
198,
12463,
13,
15643,
680,
3419,
198
] | 3.108205 | 841 |
""" Basic template file that you should fill in for Problem Set 3. Some util
functions are provided from the NAND notebooks online that implement some
of the NAND essentials. """
from util import EVAL
from util import TRUTH
from util import NANDProgram
# TODO: Implement this function and return a string representation of its NAND
# implementation. You don't have to use the class we supplied - you could use
# other methods of building up your NAND program from scratch.
def nandsquare(n):
'''Takes in an integer n. Outputs the string representation of a NAND prog
that takes in inputs x_0, ..., x_{n-1} and squares it mod 2^n. The output
will be y_0, ..., y_{n-1}. The first digit will be the least significant
digit (ex: 110001 --> 35)'''
# creates a blank NAND program with n inputs and n outputs.
prog = NANDProgram(n, n)
# now add lines to your NAND program by calling python functions like
# prog.NAND() or prog.OR() or other helper functions. For an example, take
# a look at the stuff after if __name__ == '__main__':
# "compiles" your completed program as a NAND program string.
return str(prog)
def rightshift(n):
'''Returns a program that takes [x_0,...x_n] as inputs and returns [0,...,x_n-1] '''
# TODO: Do this for bonus points and the leaderboard.
def nandsquare256():
'''Implement nandsquare for a specific input size, n=256. This result gets
placed on the leaderboard for extra credit. If you get close to the top
score on the leaderboard, you'll still recieve BONUS POINTS!!!'''
raise NotImplementedError
def badadder(N):
'''Should create a NAND adder that takes two n digits and outputs an n digit
because it's bad'''
return
# Examples of using the NANDProgram class to build NAND Programs. Please don't
# worry too much about the details of using this class - this is not a class
# about designing NAND programs.
def nandadder(N):
'''Creates a NAND adder that takes in two n-digit binary numbers and gets
the sum, returning a n+1-digit binary number. Returns the string repr. of
the NAND program created.'''
nand = NANDProgram(2 * N, N + 1, debug=False) #set debug=True to show debug lines
nand.ONE("ONE")
carry = nand.allocate()
nand.ADD_3(nand.output_var(0), carry,
nand.input_var(0), nand.input_var(N), nand.NAND("ZERO", "ONE", "ONE"), debug=True)
last_carry = ""
for i in range(1, N - 1):
last_carry = carry
carry = nand.allocate()
nand.ADD_3(nand.output_var(i), carry,
nand.input_var(i), nand.input_var(N + i), last_carry, debug=True)
nand.ADD_3(nand.output_var(N-1), nand.output_var(N),
nand.input_var(N-1), nand.input_var(2 * N - 1), carry, debug=True)
return str(nand)
if __name__ == '__main__':
# Generate the string representation of a NAND prog. that adds numbers
addfive = str(nandadder(10))
# Input Number 1: 11110 --> 15
# Input Number 2: 10110 --> 13 1111010110
# Expected Output: 28 --> 001110
#816 0000110011
#877 1011011011
# 10111001011
print(EVAL(addfive,'00001100111011011011'))
| [
37811,
14392,
11055,
2393,
326,
345,
815,
6070,
287,
329,
20647,
5345,
513,
13,
2773,
7736,
201,
198,
12543,
2733,
389,
2810,
422,
262,
399,
6981,
43935,
2691,
326,
3494,
617,
201,
198,
1659,
262,
399,
6981,
41954,
13,
37227,
201,
198,
6738,
7736,
1330,
8696,
1847,
201,
198,
6738,
7736,
1330,
7579,
24318,
201,
198,
6738,
7736,
1330,
399,
6981,
15167,
201,
198,
201,
198,
2,
16926,
46,
25,
48282,
428,
2163,
290,
1441,
257,
4731,
10552,
286,
663,
399,
6981,
201,
198,
2,
7822,
13,
921,
836,
470,
423,
284,
779,
262,
1398,
356,
14275,
532,
345,
714,
779,
201,
198,
2,
584,
5050,
286,
2615,
510,
534,
399,
6981,
1430,
422,
12692,
13,
201,
198,
4299,
299,
1746,
421,
533,
7,
77,
2599,
201,
198,
220,
220,
220,
705,
7061,
51,
1124,
287,
281,
18253,
299,
13,
25235,
82,
262,
4731,
10552,
286,
257,
399,
6981,
1172,
201,
198,
220,
220,
220,
326,
2753,
287,
17311,
2124,
62,
15,
11,
2644,
11,
2124,
23330,
77,
12,
16,
92,
290,
24438,
340,
953,
362,
61,
77,
13,
383,
5072,
201,
198,
220,
220,
220,
481,
307,
331,
62,
15,
11,
2644,
11,
331,
23330,
77,
12,
16,
27422,
383,
717,
16839,
481,
307,
262,
1551,
2383,
201,
198,
220,
220,
220,
16839,
357,
1069,
25,
1367,
18005,
14610,
3439,
8,
7061,
6,
201,
198,
220,
220,
220,
1303,
8075,
257,
9178,
399,
6981,
1430,
351,
299,
17311,
290,
299,
23862,
13,
201,
198,
220,
220,
220,
1172,
796,
399,
6981,
15167,
7,
77,
11,
299,
8,
201,
198,
220,
220,
220,
1303,
783,
751,
3951,
284,
534,
399,
6981,
1430,
416,
4585,
21015,
5499,
588,
201,
198,
220,
220,
220,
1303,
1172,
13,
45,
6981,
3419,
393,
1172,
13,
1581,
3419,
393,
584,
31904,
5499,
13,
1114,
281,
1672,
11,
1011,
201,
198,
220,
220,
220,
1303,
257,
804,
379,
262,
3404,
706,
611,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
201,
198,
201,
198,
220,
220,
220,
1303,
366,
5589,
2915,
1,
534,
5668,
1430,
355,
257,
399,
6981,
1430,
4731,
13,
201,
198,
220,
220,
220,
1441,
965,
7,
1676,
70,
8,
201,
198,
201,
198,
4299,
826,
30846,
7,
77,
2599,
201,
198,
220,
220,
220,
705,
7061,
35561,
257,
1430,
326,
2753,
685,
87,
62,
15,
42303,
87,
62,
77,
60,
355,
17311,
290,
5860,
685,
15,
42303,
11,
87,
62,
77,
12,
16,
60,
220,
705,
7061,
201,
198,
201,
198,
2,
16926,
46,
25,
2141,
428,
329,
7202,
2173,
290,
262,
3554,
3526,
13,
201,
198,
4299,
299,
1746,
421,
533,
11645,
33529,
201,
198,
220,
220,
220,
705,
7061,
3546,
26908,
299,
1746,
421,
533,
329,
257,
2176,
5128,
2546,
11,
299,
28,
11645,
13,
770,
1255,
3011,
201,
198,
220,
220,
220,
4624,
319,
262,
3554,
3526,
329,
3131,
3884,
13,
1002,
345,
651,
1969,
284,
262,
1353,
201,
198,
220,
220,
220,
4776,
319,
262,
3554,
3526,
11,
345,
1183,
991,
664,
12311,
347,
1340,
2937,
19922,
1268,
4694,
10185,
7061,
6,
201,
198,
220,
220,
220,
5298,
1892,
3546,
1154,
12061,
12331,
201,
198,
201,
198,
201,
198,
4299,
2089,
26676,
7,
45,
2599,
201,
198,
220,
220,
220,
705,
7061,
19926,
2251,
257,
399,
6981,
751,
263,
326,
2753,
734,
299,
19561,
290,
23862,
281,
299,
16839,
201,
198,
220,
220,
220,
780,
340,
338,
2089,
7061,
6,
201,
198,
220,
220,
220,
1441,
201,
198,
201,
198,
2,
21066,
286,
1262,
262,
399,
6981,
15167,
1398,
284,
1382,
399,
6981,
26179,
13,
4222,
836,
470,
201,
198,
2,
5490,
1165,
881,
546,
262,
3307,
286,
1262,
428,
1398,
532,
428,
318,
407,
257,
1398,
201,
198,
2,
546,
18492,
399,
6981,
4056,
13,
201,
198,
4299,
299,
392,
26676,
7,
45,
2599,
201,
198,
220,
220,
220,
705,
7061,
16719,
274,
257,
399,
6981,
751,
263,
326,
2753,
287,
734,
299,
12,
27003,
13934,
3146,
290,
3011,
201,
198,
220,
220,
220,
262,
2160,
11,
8024,
257,
299,
10,
16,
12,
27003,
13934,
1271,
13,
16409,
262,
4731,
41575,
13,
286,
201,
198,
220,
220,
220,
262,
399,
6981,
1430,
2727,
2637,
7061,
201,
198,
220,
220,
220,
299,
392,
796,
399,
6981,
15167,
7,
17,
1635,
399,
11,
399,
1343,
352,
11,
14257,
28,
25101,
8,
1303,
2617,
14257,
28,
17821,
284,
905,
14257,
3951,
201,
198,
220,
220,
220,
299,
392,
13,
11651,
7203,
11651,
4943,
201,
198,
201,
198,
220,
220,
220,
3283,
796,
299,
392,
13,
439,
13369,
3419,
201,
198,
220,
220,
220,
299,
392,
13,
29266,
62,
18,
7,
77,
392,
13,
22915,
62,
7785,
7,
15,
828,
3283,
11,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
392,
13,
15414,
62,
7785,
7,
15,
828,
299,
392,
13,
15414,
62,
7785,
7,
45,
828,
299,
392,
13,
45,
6981,
7203,
57,
34812,
1600,
366,
11651,
1600,
366,
11651,
12340,
14257,
28,
17821,
8,
201,
198,
201,
198,
220,
220,
220,
938,
62,
34993,
796,
13538,
201,
198,
220,
220,
220,
329,
1312,
287,
2837,
7,
16,
11,
399,
532,
352,
2599,
201,
198,
220,
220,
220,
220,
220,
220,
220,
938,
62,
34993,
796,
3283,
201,
198,
220,
220,
220,
220,
220,
220,
220,
3283,
796,
299,
392,
13,
439,
13369,
3419,
201,
198,
220,
220,
220,
220,
220,
220,
220,
299,
392,
13,
29266,
62,
18,
7,
77,
392,
13,
22915,
62,
7785,
7,
72,
828,
3283,
11,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
392,
13,
15414,
62,
7785,
7,
72,
828,
299,
392,
13,
15414,
62,
7785,
7,
45,
1343,
1312,
828,
938,
62,
34993,
11,
14257,
28,
17821,
8,
201,
198,
201,
198,
220,
220,
220,
299,
392,
13,
29266,
62,
18,
7,
77,
392,
13,
22915,
62,
7785,
7,
45,
12,
16,
828,
299,
392,
13,
22915,
62,
7785,
7,
45,
828,
201,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
392,
13,
15414,
62,
7785,
7,
45,
12,
16,
828,
299,
392,
13,
15414,
62,
7785,
7,
17,
1635,
399,
532,
352,
828,
3283,
11,
14257,
28,
17821,
8,
201,
198,
220,
220,
220,
1441,
965,
7,
77,
392,
8,
201,
198,
201,
198,
201,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
201,
198,
220,
220,
220,
1303,
2980,
378,
262,
4731,
10552,
286,
257,
399,
6981,
1172,
13,
326,
6673,
3146,
201,
198,
220,
220,
220,
751,
13261,
796,
965,
7,
77,
392,
26676,
7,
940,
4008,
201,
198,
220,
220,
220,
1303,
23412,
7913,
352,
25,
13374,
940,
14610,
1315,
201,
198,
220,
220,
220,
1303,
23412,
7913,
362,
25,
8949,
940,
14610,
1511,
220,
220,
13374,
8784,
486,
940,
201,
198,
220,
220,
220,
1303,
1475,
7254,
25235,
25,
2579,
14610,
3571,
1157,
940,
201,
198,
201,
198,
201,
198,
220,
220,
220,
1303,
23,
1433,
17643,
42060,
1157,
201,
198,
220,
220,
220,
1303,
42802,
8949,
8784,
8784,
16,
201,
198,
220,
220,
220,
1303,
220,
8949,
1157,
8298,
28555,
201,
198,
220,
220,
220,
3601,
7,
20114,
1847,
7,
2860,
13261,
4032,
2388,
42060,
1157,
8784,
8784,
8784,
16,
6,
4008,
201,
198
] | 2.679043 | 1,212 |
# Generated by Django 2.1.1 on 2018-09-16 08:39
from django.db import migrations, models
| [
2,
2980,
515,
416,
37770,
362,
13,
16,
13,
16,
319,
2864,
12,
2931,
12,
1433,
8487,
25,
2670,
198,
198,
6738,
42625,
14208,
13,
9945,
1330,
15720,
602,
11,
4981,
628
] | 2.84375 | 32 |
# save snapshot
from evdev import UInput, ecodes
cfg = globals()["config"]
drv = globals()["drivers"]["keybd1"]
drv.press_keys(ecodes.KEY_LEFTALT, ecodes.KEY_S)
| [
2,
3613,
27479,
198,
6738,
819,
7959,
1330,
471,
20560,
11,
9940,
4147,
198,
198,
37581,
796,
15095,
874,
3419,
14692,
11250,
8973,
198,
7109,
85,
796,
15095,
874,
3419,
14692,
36702,
1,
7131,
1,
2539,
17457,
16,
8973,
198,
198,
7109,
85,
13,
8439,
62,
13083,
7,
721,
4147,
13,
20373,
62,
2538,
9792,
31429,
11,
9940,
4147,
13,
20373,
62,
50,
8,
628,
198
] | 2.5 | 66 |
# Copyright 2009-2013 Nokia Siemens Networks Oyj
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from rfdoc.rfdocapp.utils.robot_htmlutils import html_escape
| [
2,
15069,
3717,
12,
6390,
26182,
45196,
641,
27862,
39447,
73,
198,
2,
198,
2,
49962,
739,
262,
24843,
13789,
11,
10628,
362,
13,
15,
357,
1169,
366,
34156,
15341,
198,
2,
345,
743,
407,
779,
428,
2393,
2845,
287,
11846,
351,
262,
13789,
13,
198,
2,
921,
743,
7330,
257,
4866,
286,
262,
13789,
379,
198,
2,
198,
2,
220,
220,
220,
220,
2638,
1378,
2503,
13,
43073,
13,
2398,
14,
677,
4541,
14,
43,
2149,
24290,
12,
17,
13,
15,
198,
2,
198,
2,
17486,
2672,
416,
9723,
1099,
393,
4987,
284,
287,
3597,
11,
3788,
198,
2,
9387,
739,
262,
13789,
318,
9387,
319,
281,
366,
1921,
3180,
1,
29809,
1797,
11,
198,
2,
42881,
34764,
11015,
6375,
7102,
49828,
11053,
3963,
15529,
509,
12115,
11,
2035,
4911,
393,
17142,
13,
198,
2,
4091,
262,
13789,
329,
262,
2176,
3303,
15030,
21627,
290,
198,
2,
11247,
739,
262,
13789,
13,
198,
198,
6738,
374,
69,
15390,
13,
41871,
15390,
1324,
13,
26791,
13,
305,
13645,
62,
6494,
26791,
1330,
27711,
62,
41915,
628
] | 3.738636 | 176 |
import pytest
import sys
sys.path.append('../')
from search import *
| [
11748,
12972,
9288,
198,
11748,
25064,
198,
17597,
13,
6978,
13,
33295,
10786,
40720,
11537,
198,
6738,
2989,
1330,
1635,
198,
220,
220,
220,
220,
198,
220,
220
] | 2.714286 | 28 |
#!/usr/bin/env python
from ..exrpc.rpclib import *
from ..exrpc.server import *
from ..mllib.model_util import ModelID
class df_to_sparse_info:
'''A python container for holding information related to dataframe to sparse conversion'''
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
198,
198,
6738,
11485,
1069,
81,
14751,
13,
81,
79,
565,
571,
1330,
1635,
198,
6738,
11485,
1069,
81,
14751,
13,
15388,
1330,
1635,
198,
6738,
11485,
76,
297,
571,
13,
19849,
62,
22602,
1330,
9104,
2389,
198,
198,
4871,
47764,
62,
1462,
62,
82,
29572,
62,
10951,
25,
628,
220,
705,
7061,
32,
21015,
9290,
329,
4769,
1321,
3519,
284,
1366,
14535,
284,
29877,
11315,
7061,
6,
198,
220,
220,
220,
220,
198
] | 2.987805 | 82 |
# Generated by Django 3.1.1 on 2020-09-12 19:06
from django.db import migrations
import multiselectfield.db.fields
| [
2,
2980,
515,
416,
37770,
513,
13,
16,
13,
16,
319,
12131,
12,
2931,
12,
1065,
678,
25,
3312,
198,
198,
6738,
42625,
14208,
13,
9945,
1330,
15720,
602,
198,
11748,
1963,
786,
801,
3245,
13,
9945,
13,
25747,
628
] | 2.925 | 40 |
import re
from ipaddress import ip_address
import pytest
from harness.runtime._validate import validate, ValidationError
@pytest.fixture()
@pytest.fixture()
@pytest.fixture()
@pytest.fixture()
def test_disabled(message_type):
"""
message Message {
message Inner {
option (validate.disabled) = true;
string value = 1 [(validate.rules).string.const = "valid"];
}
Inner field = 1;
}
"""
validate(message_type(field=dict(value="invalid")))
def test_oneof_required(message_type):
"""
message Message {
oneof type {
option (validate.required) = true;
string foo = 1;
int32 bar = 2;
}
}
"""
validate(message_type(foo="test"))
validate(message_type(bar=42))
with pytest.raises(ValidationError, match="Oneof type is required"):
validate(message_type())
def test_float_const(message_type):
"""
message Message {
float value = 1 [(validate.rules).float.const = 4.2];
}
"""
validate(message_type(value=4.2))
with pytest.raises(ValidationError, match="value not equal to"):
validate(message_type(value=2.4))
def test_timestamp_lt(message_type, timestamp_type):
"""
message Message {
google.protobuf.Timestamp value = 1 [
(validate.rules).timestamp.lt = {seconds: 1000}
];
}
"""
validate(message_type(value=timestamp_type(seconds=999)))
with pytest.raises(ValidationError, match="is not lesser than"):
validate(message_type(value=timestamp_type(seconds=1000)))
def test_timestamp_within(message_type, timestamp_type):
"""
message Message {
google.protobuf.Timestamp value = 1 [
(validate.rules).timestamp.within = {seconds: 60}
];
}
"""
value = timestamp_type()
value.GetCurrentTime()
validate(message_type(value=value))
valid_seconds = value.seconds
with pytest.raises(ValidationError, match="value is not within 60s from now"):
value.seconds = valid_seconds - 100
validate(message_type(value=value))
with pytest.raises(ValidationError, match="value is not within 60s from now"):
value.seconds = valid_seconds - 100
validate(message_type(value=value))
value.seconds = valid_seconds
validate(message_type(value=value))
def test_duration_in(message_type, duration_type):
"""
message Message {
google.protobuf.Duration value = 1 [
(validate.rules).duration.in = {seconds: 60},
(validate.rules).duration.in = {seconds: 30}
];
}
"""
validate(message_type(value=duration_type(seconds=60)))
with pytest.raises(ValidationError, match="value not in {60s, 30s}"):
validate(message_type(value=duration_type(seconds=120)))
def test_duration_lte(message_type, duration_type):
"""
message Message {
google.protobuf.Duration value = 1 [
(validate.rules).duration.lte = {seconds: 60}
];
}
"""
validate(message_type(value=duration_type(seconds=60)))
with pytest.raises(
ValidationError, match="value is not lesser than or equal to 60s"
):
validate(message_type(value=duration_type(seconds=60, nanos=1)))
def test_enum_defined_only(message_type):
"""
message Message {
enum Foo {
A = 0;
B = 1;
}
Foo value = 1 [(validate.rules).enum.defined_only = true];
}
"""
validate(message_type())
validate(message_type(value=1))
with pytest.raises(ValidationError, match="value is not defined"):
validate(message_type(value=2))
def test_repeated_unique(message_type):
"""
message Message {
repeated int32 value = 1 [(validate.rules).repeated.unique = true];
}
"""
validate(message_type(value=[1, 2, 3]))
with pytest.raises(
ValidationError,
match="value must contain unique items; repeated items: \\[2, 3\\]",
):
validate(message_type(value=[1, 2, 3, 2, 4, 3, 5]))
def test_repeated_items(message_type):
"""
message Message {
repeated int32 field = 1 [(validate.rules).repeated.items.int32.lt = 5];
}
"""
validate(message_type(field=[1, 2, 3, 4]))
with pytest.raises(ValidationError, match="field\\[\\] is not lesser than 5"):
validate(message_type(field=[1, 2, 3, 4, 5]))
def test_map_key(message_type):
"""
message Message {
map<string, int32> field = 1 [(validate.rules).map.keys.string.min_len = 3];
}
"""
validate(message_type(field={"test": 42}))
with pytest.raises(ValidationError, match="field<key> length is less than 3"):
validate(message_type(field={"t": 42}))
def test_map_values(message_type):
"""
message Message {
map<string, int32> field = 1 [(validate.rules).map.values.int32.const = 42];
}
"""
validate(message_type(field={"test": 42}))
with pytest.raises(ValidationError, match="field<value> not equal to 42"):
validate(message_type(field={"test": 43}))
def test_any_in(message_type, any_type, duration_type, timestamp_type):
"""
message Message {
google.protobuf.Any field = 1 [(validate.rules).any.in = "type.googleapis.com/google.protobuf.Duration"];
}
""" # noqa
any_1 = any_type()
any_1.Pack(duration_type(seconds=42))
validate(message_type(field=any_1))
with pytest.raises(ValidationError, match="field.type_url not in"):
any_2 = any_type()
any_2.Pack(timestamp_type(seconds=42))
validate(message_type(field=any_2))
def test_nested(message_type):
"""
message Message {
message Inner {
string value = 1 [(validate.rules).string.const = "valid"];
}
Inner field = 1;
}
"""
validate(message_type())
validate(message_type(field=dict(value="valid")))
with pytest.raises(ValidationError, match="value not equal to 'valid'"):
validate(message_type(field=dict(value="invalid")))
def test_message_skip(message_type):
"""
message Message {
message Inner {
string value = 1 [(validate.rules).string.const = "valid"];
}
Inner field = 1 [(validate.rules).message.skip = true];
}
"""
validate(message_type(field=dict(value="invalid")))
def test_message_required(message_type):
"""
message Message {
message Inner {
string value = 1;
}
Inner field = 1 [(validate.rules).message.required = true];
}
"""
validate(message_type(field=dict()))
validate(message_type(field=dict(value="test")))
with pytest.raises(ValidationError, match="field is required"):
validate(message_type())
def test_email(message_type):
"""
message Message {
string field = 1 [(validate.rules).string.email = true];
}
"""
validate(message_type(field="[email protected]"))
validate(
message_type(field="Jean-Luc Picard <[email protected]>")
)
with pytest.raises(ValidationError, match="field contains invalid email address"):
validate(message_type(field="example.com"))
with pytest.raises(
ValidationError, match="field contains more than one email address"
):
validate(message_type(field="[email protected], [email protected]"))
def test_hostname(message_type):
"""
message Message {
string field = 1 [(validate.rules).string.hostname = true];
}
"""
validate(message_type(field="example.com"))
validate(message_type(field="Example.com"))
with pytest.raises(ValidationError, match="field contains invalid hostname"):
validate(message_type(field="-example.com"))
def test_string_prefix(message_type):
"""
message Message {
string field = 1 [(validate.rules).string.prefix = "har"];
}
"""
validate(message_type(field="harness"))
with pytest.raises(ValidationError, match="field does not start with prefix 'har'"):
validate(message_type(field="bottle"))
def test_string_pattern(message_type):
"""
message Message {
string field = 1 [(validate.rules).string.pattern = "^(foo|bar)-app$"];
}
"""
validate(message_type(field="foo-app"))
validate(message_type(field="bar-app"))
with pytest.raises(
ValidationError,
match=re.escape("field does not match pattern '^(foo|bar)-app$'"),
):
validate(message_type(field="invalid"))
def test_string_ip(message_type):
"""
message Message {
string field = 1 [(validate.rules).string.ip = true];
}
"""
validate(message_type(field="0.0.0.0"))
validate(message_type(field="127.0.0.1"))
validate(message_type(field="::1"))
validate(message_type(field="2001:0db8:85a3:0000:0000:8a2e:0370:7334"))
with pytest.raises(ValidationError, match="field contains invalid IP address"):
validate(message_type(field="0.0.0"))
def test_string_ipv4(message_type):
"""
message Message {
string field = 1 [(validate.rules).string.ipv4 = true];
}
"""
validate(message_type(field="0.0.0.0"))
validate(message_type(field="127.0.0.1"))
with pytest.raises(ValidationError, match="field contains invalid IPv4 address"):
validate(message_type(field="0.0.0"))
with pytest.raises(ValidationError, match="field contains invalid IPv4 address"):
validate(message_type(field="2001:0db8:85a3:0000:0000:8a2e:0370:7334"))
def test_string_ipv6(message_type):
"""
message Message {
string field = 1 [(validate.rules).string.ipv6 = true];
}
"""
validate(message_type(field="::1"))
validate(message_type(field="2001:0db8:85a3:0000:0000:8a2e:0370:7334"))
with pytest.raises(ValidationError, match="field contains invalid IPv6 address"):
validate(message_type(field="2001:0db8:85a3:0000:0000:8a2e:0370:733."))
with pytest.raises(ValidationError, match="field contains invalid IPv6 address"):
validate(message_type(field="127.0.0.1"))
def test_bytes_ip(message_type):
"""
message Message {
bytes field = 1 [(validate.rules).bytes.ip = true];
}
"""
validate(message_type(field=ip_address("0.0.0.0").packed))
validate(message_type(field=ip_address("127.0.0.1").packed))
validate(message_type(field=ip_address("::1").packed))
validate(
message_type(field=ip_address("2001:0db8:85a3:0000:0000:8a2e:0370:7334").packed)
)
with pytest.raises(ValidationError, match="field contains invalid IP address"):
validate(message_type(field=ip_address("0.0.0.0").packed[:-1]))
def test_bytes_ipv4(message_type):
"""
message Message {
bytes field = 1 [(validate.rules).bytes.ipv4 = true];
}
"""
validate(message_type(field=ip_address("0.0.0.0").packed))
validate(message_type(field=ip_address("127.0.0.1").packed))
with pytest.raises(ValidationError, match="field contains invalid IPv4 address"):
validate(message_type(field=b"deadbeef"))
with pytest.raises(ValidationError, match="field contains invalid IPv4 address"):
validate(
message_type(
field=ip_address("2001:0db8:85a3:0000:0000:8a2e:0370:7334").packed
)
)
def test_bytes_ipv6(message_type):
"""
message Message {
bytes field = 1 [(validate.rules).bytes.ipv6 = true];
}
"""
validate(message_type(field=ip_address("::1").packed))
validate(
message_type(field=ip_address("2001:0db8:85a3:0000:0000:8a2e:0370:7334").packed)
)
with pytest.raises(ValidationError, match="field contains invalid IPv6 address"):
validate(message_type(field=b"deadbeef"))
with pytest.raises(ValidationError, match="field contains invalid IPv6 address"):
validate(message_type(field=ip_address("127.0.0.1").packed))
def test_address(message_type):
"""
message Message {
string field = 1 [(validate.rules).string.address = true];
}
"""
validate(message_type(field="::1"))
validate(message_type(field="127.0.0.1"))
validate(message_type(field="Example.com"))
with pytest.raises(ValidationError, match="field contains invalid address"):
validate(message_type(field="invalid"))
def test_uri(message_type):
"""
message Message {
string field = 1 [(validate.rules).string.uri = true];
}
"""
validate(message_type(field="http://google.com"))
validate(message_type(field="http://127.0.0.1/page.html#fragment"))
with pytest.raises(ValidationError, match="field contains invalid URI"):
validate(message_type(field="/local/path"))
def test_uri_ref(message_type):
"""
message Message {
string field = 1 [(validate.rules).string.uri_ref = true];
}
"""
validate(message_type(field="http://google.com"))
validate(message_type(field="/local/path"))
with pytest.raises(ValidationError, match="field contains invalid URI-reference"):
validate(message_type(field="\\invalid\\path"))
def test_uuid(message_type):
"""
message Message {
string field = 1 [(validate.rules).string.uuid = true];
}
"""
validate(message_type(field="adbf3fd4-6a41-41a8-b5c1-df09adc3a9b3"))
validate(message_type(field="ADBF3FD4-6A41-41A8-B5C1-DF09ADC3A9B3"))
with pytest.raises(ValidationError, match="field contains invalid UUID"):
validate(message_type(field="adbf3fd46a4141a8b5c1df09adc3a9b3"))
with pytest.raises(ValidationError, match="field contains invalid UUID"):
validate(message_type(field="adbf3fd4-6a41-41a8-b5c1-df09adc3a9b3-ext"))
| [
11748,
302,
198,
6738,
20966,
21975,
1330,
20966,
62,
21975,
198,
198,
11748,
12972,
9288,
198,
198,
6738,
19356,
13,
43282,
13557,
12102,
378,
1330,
26571,
11,
3254,
24765,
12331,
628,
198,
31,
9078,
9288,
13,
69,
9602,
3419,
628,
198,
31,
9078,
9288,
13,
69,
9602,
3419,
628,
198,
31,
9078,
9288,
13,
69,
9602,
3419,
628,
198,
31,
9078,
9288,
13,
69,
9602,
3419,
628,
198,
4299,
1332,
62,
47730,
7,
20500,
62,
4906,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3275,
16000,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
3275,
24877,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3038,
357,
12102,
378,
13,
47730,
8,
796,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4731,
1988,
796,
352,
47527,
12102,
378,
13,
38785,
737,
8841,
13,
9979,
796,
366,
12102,
8973,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
24877,
2214,
796,
352,
26,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
28,
11600,
7,
8367,
2625,
259,
12102,
1,
22305,
628,
198,
4299,
1332,
62,
505,
1659,
62,
35827,
7,
20500,
62,
4906,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3275,
16000,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
530,
1659,
2099,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3038,
357,
12102,
378,
13,
35827,
8,
796,
2081,
26,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4731,
22944,
796,
352,
26,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
493,
2624,
2318,
796,
362,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
21943,
2625,
9288,
48774,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
5657,
28,
3682,
4008,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
11,
2872,
2625,
3198,
1659,
2099,
318,
2672,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
28955,
628,
198,
4299,
1332,
62,
22468,
62,
9979,
7,
20500,
62,
4906,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3275,
16000,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
12178,
1988,
796,
352,
47527,
12102,
378,
13,
38785,
737,
22468,
13,
9979,
796,
604,
13,
17,
11208,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
8367,
28,
19,
13,
17,
4008,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
11,
2872,
2625,
8367,
407,
4961,
284,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
8367,
28,
17,
13,
19,
4008,
628,
198,
4299,
1332,
62,
16514,
27823,
62,
2528,
7,
20500,
62,
4906,
11,
41033,
62,
4906,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3275,
16000,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
23645,
13,
11235,
672,
3046,
13,
14967,
27823,
1988,
796,
352,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
12102,
378,
13,
38785,
737,
16514,
27823,
13,
2528,
796,
1391,
43012,
25,
8576,
92,
198,
220,
220,
220,
220,
220,
220,
220,
28013,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
8367,
28,
16514,
27823,
62,
4906,
7,
43012,
28,
17032,
22305,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
11,
2872,
2625,
271,
407,
14494,
621,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
8367,
28,
16514,
27823,
62,
4906,
7,
43012,
28,
12825,
22305,
628,
198,
4299,
1332,
62,
16514,
27823,
62,
33479,
7,
20500,
62,
4906,
11,
41033,
62,
4906,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3275,
16000,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
23645,
13,
11235,
672,
3046,
13,
14967,
27823,
1988,
796,
352,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
12102,
378,
13,
38785,
737,
16514,
27823,
13,
33479,
796,
1391,
43012,
25,
3126,
92,
198,
220,
220,
220,
220,
220,
220,
220,
28013,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1988,
796,
41033,
62,
4906,
3419,
198,
220,
220,
220,
1988,
13,
3855,
11297,
7575,
3419,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
8367,
28,
8367,
4008,
198,
220,
220,
220,
4938,
62,
43012,
796,
1988,
13,
43012,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
11,
2872,
2625,
8367,
318,
407,
1626,
3126,
82,
422,
783,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
1988,
13,
43012,
796,
4938,
62,
43012,
532,
1802,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
8367,
28,
8367,
4008,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
11,
2872,
2625,
8367,
318,
407,
1626,
3126,
82,
422,
783,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
1988,
13,
43012,
796,
4938,
62,
43012,
532,
1802,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
8367,
28,
8367,
4008,
198,
220,
220,
220,
1988,
13,
43012,
796,
4938,
62,
43012,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
8367,
28,
8367,
4008,
628,
198,
4299,
1332,
62,
32257,
62,
259,
7,
20500,
62,
4906,
11,
9478,
62,
4906,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3275,
16000,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
23645,
13,
11235,
672,
3046,
13,
26054,
1988,
796,
352,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
12102,
378,
13,
38785,
737,
32257,
13,
259,
796,
1391,
43012,
25,
3126,
5512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
12102,
378,
13,
38785,
737,
32257,
13,
259,
796,
1391,
43012,
25,
1542,
92,
198,
220,
220,
220,
220,
220,
220,
220,
28013,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
8367,
28,
32257,
62,
4906,
7,
43012,
28,
1899,
22305,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
11,
2872,
2625,
8367,
407,
287,
1391,
1899,
82,
11,
1542,
82,
36786,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
8367,
28,
32257,
62,
4906,
7,
43012,
28,
10232,
22305,
628,
198,
4299,
1332,
62,
32257,
62,
75,
660,
7,
20500,
62,
4906,
11,
9478,
62,
4906,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3275,
16000,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
23645,
13,
11235,
672,
3046,
13,
26054,
1988,
796,
352,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
357,
12102,
378,
13,
38785,
737,
32257,
13,
75,
660,
796,
1391,
43012,
25,
3126,
92,
198,
220,
220,
220,
220,
220,
220,
220,
28013,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
8367,
28,
32257,
62,
4906,
7,
43012,
28,
1899,
22305,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
198,
220,
220,
220,
220,
220,
220,
220,
3254,
24765,
12331,
11,
2872,
2625,
8367,
318,
407,
14494,
621,
393,
4961,
284,
3126,
82,
1,
198,
220,
220,
220,
15179,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
8367,
28,
32257,
62,
4906,
7,
43012,
28,
1899,
11,
15709,
418,
28,
16,
22305,
628,
198,
4299,
1332,
62,
44709,
62,
23211,
62,
8807,
7,
20500,
62,
4906,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3275,
16000,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
33829,
36080,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
317,
796,
657,
26,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
347,
796,
352,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
36080,
1988,
796,
352,
47527,
12102,
378,
13,
38785,
737,
44709,
13,
23211,
62,
8807,
796,
2081,
11208,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
28955,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
8367,
28,
16,
4008,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
11,
2872,
2625,
8367,
318,
407,
5447,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
8367,
28,
17,
4008,
628,
198,
4299,
1332,
62,
45956,
515,
62,
34642,
7,
20500,
62,
4906,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3275,
16000,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
5100,
493,
2624,
1988,
796,
352,
47527,
12102,
378,
13,
38785,
737,
45956,
515,
13,
34642,
796,
2081,
11208,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
8367,
41888,
16,
11,
362,
11,
513,
60,
4008,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
198,
220,
220,
220,
220,
220,
220,
220,
3254,
24765,
12331,
11,
198,
220,
220,
220,
220,
220,
220,
220,
2872,
2625,
8367,
1276,
3994,
3748,
3709,
26,
5100,
3709,
25,
26867,
58,
17,
11,
513,
6852,
60,
1600,
198,
220,
220,
220,
15179,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
8367,
41888,
16,
11,
362,
11,
513,
11,
362,
11,
604,
11,
513,
11,
642,
60,
4008,
628,
198,
4299,
1332,
62,
45956,
515,
62,
23814,
7,
20500,
62,
4906,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3275,
16000,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
5100,
493,
2624,
2214,
796,
352,
47527,
12102,
378,
13,
38785,
737,
45956,
515,
13,
23814,
13,
600,
2624,
13,
2528,
796,
642,
11208,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
41888,
16,
11,
362,
11,
513,
11,
604,
60,
4008,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
11,
2872,
2625,
3245,
6852,
58,
6852,
60,
318,
407,
14494,
621,
642,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
41888,
16,
11,
362,
11,
513,
11,
604,
11,
642,
60,
4008,
628,
198,
4299,
1332,
62,
8899,
62,
2539,
7,
20500,
62,
4906,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3275,
16000,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
3975,
27,
8841,
11,
493,
2624,
29,
2214,
796,
352,
47527,
12102,
378,
13,
38785,
737,
8899,
13,
13083,
13,
8841,
13,
1084,
62,
11925,
796,
513,
11208,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
28,
4895,
9288,
1298,
5433,
92,
4008,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
11,
2872,
2625,
3245,
27,
2539,
29,
4129,
318,
1342,
621,
513,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
28,
4895,
83,
1298,
5433,
92,
4008,
628,
198,
4299,
1332,
62,
8899,
62,
27160,
7,
20500,
62,
4906,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3275,
16000,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
3975,
27,
8841,
11,
493,
2624,
29,
2214,
796,
352,
47527,
12102,
378,
13,
38785,
737,
8899,
13,
27160,
13,
600,
2624,
13,
9979,
796,
5433,
11208,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
28,
4895,
9288,
1298,
5433,
92,
4008,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
11,
2872,
2625,
3245,
27,
8367,
29,
407,
4961,
284,
5433,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
28,
4895,
9288,
1298,
5946,
92,
4008,
628,
198,
4299,
1332,
62,
1092,
62,
259,
7,
20500,
62,
4906,
11,
597,
62,
4906,
11,
9478,
62,
4906,
11,
41033,
62,
4906,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3275,
16000,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
23645,
13,
11235,
672,
3046,
13,
7149,
2214,
796,
352,
47527,
12102,
378,
13,
38785,
737,
1092,
13,
259,
796,
366,
4906,
13,
13297,
499,
271,
13,
785,
14,
13297,
13,
11235,
672,
3046,
13,
26054,
8973,
26,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
37227,
220,
1303,
645,
20402,
198,
220,
220,
220,
597,
62,
16,
796,
597,
62,
4906,
3419,
198,
220,
220,
220,
597,
62,
16,
13,
11869,
7,
32257,
62,
4906,
7,
43012,
28,
3682,
4008,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
28,
1092,
62,
16,
4008,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
11,
2872,
2625,
3245,
13,
4906,
62,
6371,
407,
287,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
597,
62,
17,
796,
597,
62,
4906,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
597,
62,
17,
13,
11869,
7,
16514,
27823,
62,
4906,
7,
43012,
28,
3682,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
28,
1092,
62,
17,
4008,
628,
198,
4299,
1332,
62,
77,
7287,
7,
20500,
62,
4906,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3275,
16000,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
3275,
24877,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4731,
1988,
796,
352,
47527,
12102,
378,
13,
38785,
737,
8841,
13,
9979,
796,
366,
12102,
8973,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
24877,
2214,
796,
352,
26,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
28955,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
28,
11600,
7,
8367,
2625,
12102,
1,
22305,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
11,
2872,
2625,
8367,
407,
4961,
284,
705,
12102,
29653,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
28,
11600,
7,
8367,
2625,
259,
12102,
1,
22305,
628,
198,
4299,
1332,
62,
20500,
62,
48267,
7,
20500,
62,
4906,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3275,
16000,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
3275,
24877,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4731,
1988,
796,
352,
47527,
12102,
378,
13,
38785,
737,
8841,
13,
9979,
796,
366,
12102,
8973,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
24877,
2214,
796,
352,
47527,
12102,
378,
13,
38785,
737,
20500,
13,
48267,
796,
2081,
11208,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
28,
11600,
7,
8367,
2625,
259,
12102,
1,
22305,
628,
198,
4299,
1332,
62,
20500,
62,
35827,
7,
20500,
62,
4906,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3275,
16000,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
3275,
24877,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4731,
1988,
796,
352,
26,
198,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
24877,
2214,
796,
352,
47527,
12102,
378,
13,
38785,
737,
20500,
13,
35827,
796,
2081,
11208,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
28,
11600,
3419,
4008,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
28,
11600,
7,
8367,
2625,
9288,
1,
22305,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
11,
2872,
2625,
3245,
318,
2672,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
28955,
628,
198,
4299,
1332,
62,
12888,
7,
20500,
62,
4906,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3275,
16000,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
4731,
2214,
796,
352,
47527,
12102,
378,
13,
38785,
737,
8841,
13,
12888,
796,
2081,
11208,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
28482,
31,
20688,
13,
785,
48774,
198,
220,
220,
220,
26571,
7,
198,
220,
220,
220,
220,
220,
220,
220,
3275,
62,
4906,
7,
3245,
2625,
38248,
12,
22946,
36614,
1279,
73,
11025,
12,
75,
1229,
13,
27729,
446,
31,
7364,
33559,
13,
25433,
2584,
1014,
29,
4943,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
11,
2872,
2625,
3245,
4909,
12515,
3053,
2209,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
20688,
13,
785,
48774,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
198,
220,
220,
220,
220,
220,
220,
220,
3254,
24765,
12331,
11,
2872,
2625,
3245,
4909,
517,
621,
530,
3053,
2209,
1,
198,
220,
220,
220,
15179,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
21943,
31,
20688,
13,
785,
11,
2318,
31,
20688,
13,
785,
48774,
628,
198,
4299,
1332,
62,
4774,
3672,
7,
20500,
62,
4906,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3275,
16000,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
4731,
2214,
796,
352,
47527,
12102,
378,
13,
38785,
737,
8841,
13,
4774,
3672,
796,
2081,
11208,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
20688,
13,
785,
48774,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
16281,
13,
785,
48774,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
11,
2872,
2625,
3245,
4909,
12515,
2583,
3672,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
12,
20688,
13,
785,
48774,
628,
198,
4299,
1332,
62,
8841,
62,
40290,
7,
20500,
62,
4906,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3275,
16000,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
4731,
2214,
796,
352,
47527,
12102,
378,
13,
38785,
737,
8841,
13,
40290,
796,
366,
9869,
8973,
26,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
9869,
1108,
48774,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
11,
2872,
2625,
3245,
857,
407,
923,
351,
21231,
705,
9869,
29653,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
10985,
293,
48774,
628,
198,
4299,
1332,
62,
8841,
62,
33279,
7,
20500,
62,
4906,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3275,
16000,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
4731,
2214,
796,
352,
47527,
12102,
378,
13,
38785,
737,
8841,
13,
33279,
796,
366,
61,
7,
21943,
91,
5657,
13219,
1324,
3,
8973,
26,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
21943,
12,
1324,
48774,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
5657,
12,
1324,
48774,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
198,
220,
220,
220,
220,
220,
220,
220,
3254,
24765,
12331,
11,
198,
220,
220,
220,
220,
220,
220,
220,
2872,
28,
260,
13,
41915,
7203,
3245,
857,
407,
2872,
3912,
705,
61,
7,
21943,
91,
5657,
13219,
1324,
3,
6,
12340,
198,
220,
220,
220,
15179,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
259,
12102,
48774,
628,
198,
4299,
1332,
62,
8841,
62,
541,
7,
20500,
62,
4906,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3275,
16000,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
4731,
2214,
796,
352,
47527,
12102,
378,
13,
38785,
737,
8841,
13,
541,
796,
2081,
11208,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
15,
13,
15,
13,
15,
13,
15,
48774,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
16799,
13,
15,
13,
15,
13,
16,
48774,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
28,
1298,
25,
16,
48774,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
14585,
25,
15,
9945,
23,
25,
5332,
64,
18,
25,
2388,
25,
2388,
25,
23,
64,
17,
68,
25,
3070,
2154,
25,
22,
31380,
48774,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
11,
2872,
2625,
3245,
4909,
12515,
6101,
2209,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
15,
13,
15,
13,
15,
48774,
628,
198,
4299,
1332,
62,
8841,
62,
541,
85,
19,
7,
20500,
62,
4906,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3275,
16000,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
4731,
2214,
796,
352,
47527,
12102,
378,
13,
38785,
737,
8841,
13,
541,
85,
19,
796,
2081,
11208,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
15,
13,
15,
13,
15,
13,
15,
48774,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
16799,
13,
15,
13,
15,
13,
16,
48774,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
11,
2872,
2625,
3245,
4909,
12515,
25961,
19,
2209,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
15,
13,
15,
13,
15,
48774,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
11,
2872,
2625,
3245,
4909,
12515,
25961,
19,
2209,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
14585,
25,
15,
9945,
23,
25,
5332,
64,
18,
25,
2388,
25,
2388,
25,
23,
64,
17,
68,
25,
3070,
2154,
25,
22,
31380,
48774,
628,
198,
4299,
1332,
62,
8841,
62,
541,
85,
21,
7,
20500,
62,
4906,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3275,
16000,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
4731,
2214,
796,
352,
47527,
12102,
378,
13,
38785,
737,
8841,
13,
541,
85,
21,
796,
2081,
11208,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
28,
1298,
25,
16,
48774,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
14585,
25,
15,
9945,
23,
25,
5332,
64,
18,
25,
2388,
25,
2388,
25,
23,
64,
17,
68,
25,
3070,
2154,
25,
22,
31380,
48774,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
11,
2872,
2625,
3245,
4909,
12515,
25961,
21,
2209,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
14585,
25,
15,
9945,
23,
25,
5332,
64,
18,
25,
2388,
25,
2388,
25,
23,
64,
17,
68,
25,
3070,
2154,
25,
49995,
526,
4008,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
11,
2872,
2625,
3245,
4909,
12515,
25961,
21,
2209,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
16799,
13,
15,
13,
15,
13,
16,
48774,
628,
198,
4299,
1332,
62,
33661,
62,
541,
7,
20500,
62,
4906,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3275,
16000,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
9881,
2214,
796,
352,
47527,
12102,
378,
13,
38785,
737,
33661,
13,
541,
796,
2081,
11208,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
28,
541,
62,
21975,
7203,
15,
13,
15,
13,
15,
13,
15,
11074,
34860,
4008,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
28,
541,
62,
21975,
7203,
16799,
13,
15,
13,
15,
13,
16,
11074,
34860,
4008,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
28,
541,
62,
21975,
7,
1298,
25,
16,
11074,
34860,
4008,
198,
220,
220,
220,
26571,
7,
198,
220,
220,
220,
220,
220,
220,
220,
3275,
62,
4906,
7,
3245,
28,
541,
62,
21975,
7203,
14585,
25,
15,
9945,
23,
25,
5332,
64,
18,
25,
2388,
25,
2388,
25,
23,
64,
17,
68,
25,
3070,
2154,
25,
22,
31380,
11074,
34860,
8,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
11,
2872,
2625,
3245,
4909,
12515,
6101,
2209,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
28,
541,
62,
21975,
7203,
15,
13,
15,
13,
15,
13,
15,
11074,
34860,
58,
21912,
16,
60,
4008,
628,
198,
4299,
1332,
62,
33661,
62,
541,
85,
19,
7,
20500,
62,
4906,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3275,
16000,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
9881,
2214,
796,
352,
47527,
12102,
378,
13,
38785,
737,
33661,
13,
541,
85,
19,
796,
2081,
11208,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
28,
541,
62,
21975,
7203,
15,
13,
15,
13,
15,
13,
15,
11074,
34860,
4008,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
28,
541,
62,
21975,
7203,
16799,
13,
15,
13,
15,
13,
16,
11074,
34860,
4008,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
11,
2872,
2625,
3245,
4909,
12515,
25961,
19,
2209,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
28,
65,
1,
25124,
1350,
891,
48774,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
11,
2872,
2625,
3245,
4909,
12515,
25961,
19,
2209,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3275,
62,
4906,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2214,
28,
541,
62,
21975,
7203,
14585,
25,
15,
9945,
23,
25,
5332,
64,
18,
25,
2388,
25,
2388,
25,
23,
64,
17,
68,
25,
3070,
2154,
25,
22,
31380,
11074,
34860,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
198,
4299,
1332,
62,
33661,
62,
541,
85,
21,
7,
20500,
62,
4906,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3275,
16000,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
9881,
2214,
796,
352,
47527,
12102,
378,
13,
38785,
737,
33661,
13,
541,
85,
21,
796,
2081,
11208,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
28,
541,
62,
21975,
7,
1298,
25,
16,
11074,
34860,
4008,
198,
220,
220,
220,
26571,
7,
198,
220,
220,
220,
220,
220,
220,
220,
3275,
62,
4906,
7,
3245,
28,
541,
62,
21975,
7203,
14585,
25,
15,
9945,
23,
25,
5332,
64,
18,
25,
2388,
25,
2388,
25,
23,
64,
17,
68,
25,
3070,
2154,
25,
22,
31380,
11074,
34860,
8,
198,
220,
220,
220,
1267,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
11,
2872,
2625,
3245,
4909,
12515,
25961,
21,
2209,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
28,
65,
1,
25124,
1350,
891,
48774,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
11,
2872,
2625,
3245,
4909,
12515,
25961,
21,
2209,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
28,
541,
62,
21975,
7203,
16799,
13,
15,
13,
15,
13,
16,
11074,
34860,
4008,
628,
198,
4299,
1332,
62,
21975,
7,
20500,
62,
4906,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3275,
16000,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
4731,
2214,
796,
352,
47527,
12102,
378,
13,
38785,
737,
8841,
13,
21975,
796,
2081,
11208,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
28,
1298,
25,
16,
48774,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
16799,
13,
15,
13,
15,
13,
16,
48774,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
16281,
13,
785,
48774,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
11,
2872,
2625,
3245,
4909,
12515,
2209,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
259,
12102,
48774,
628,
198,
4299,
1332,
62,
9900,
7,
20500,
62,
4906,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3275,
16000,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
4731,
2214,
796,
352,
47527,
12102,
378,
13,
38785,
737,
8841,
13,
9900,
796,
2081,
11208,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
4023,
1378,
13297,
13,
785,
48774,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
4023,
1378,
16799,
13,
15,
13,
15,
13,
16,
14,
7700,
13,
6494,
2,
8310,
363,
434,
48774,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
11,
2872,
2625,
3245,
4909,
12515,
43975,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
35922,
12001,
14,
6978,
48774,
628,
198,
4299,
1332,
62,
9900,
62,
5420,
7,
20500,
62,
4906,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3275,
16000,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
4731,
2214,
796,
352,
47527,
12102,
378,
13,
38785,
737,
8841,
13,
9900,
62,
5420,
796,
2081,
11208,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
4023,
1378,
13297,
13,
785,
48774,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
35922,
12001,
14,
6978,
48774,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
11,
2872,
2625,
3245,
4909,
12515,
43975,
12,
35790,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
6852,
259,
12102,
6852,
6978,
48774,
628,
198,
4299,
1332,
62,
12303,
312,
7,
20500,
62,
4906,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
3275,
16000,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
4731,
2214,
796,
352,
47527,
12102,
378,
13,
38785,
737,
8841,
13,
12303,
312,
796,
2081,
11208,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
324,
19881,
18,
16344,
19,
12,
21,
64,
3901,
12,
3901,
64,
23,
12,
65,
20,
66,
16,
12,
7568,
2931,
324,
66,
18,
64,
24,
65,
18,
48774,
198,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
2885,
29499,
18,
26009,
19,
12,
21,
32,
3901,
12,
3901,
32,
23,
12,
33,
20,
34,
16,
12,
8068,
2931,
2885,
34,
18,
32,
24,
33,
18,
48774,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
11,
2872,
2625,
3245,
4909,
12515,
471,
27586,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
324,
19881,
18,
16344,
3510,
64,
19,
23756,
64,
23,
65,
20,
66,
16,
7568,
2931,
324,
66,
18,
64,
24,
65,
18,
48774,
198,
220,
220,
220,
351,
12972,
9288,
13,
430,
2696,
7,
7762,
24765,
12331,
11,
2872,
2625,
3245,
4909,
12515,
471,
27586,
1,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
26571,
7,
20500,
62,
4906,
7,
3245,
2625,
324,
19881,
18,
16344,
19,
12,
21,
64,
3901,
12,
3901,
64,
23,
12,
65,
20,
66,
16,
12,
7568,
2931,
324,
66,
18,
64,
24,
65,
18,
12,
2302,
48774,
198
] | 2.456328 | 5,610 |
"""
StateIO
Container to store state object.
Several useful functions are implemented in this class:
1. Saving intermediate results to files.
2. Recover workspace at any iteration (label set and unlabel set).
3. Recover workspace from the intermediate result file in case the program exits unexpectedly.
4. Gathering and checking the information stored in State object.
5. Print active learning progress: current_iteration, current_mean_performance, current_cost, etc.
"""
# Authors: Ying-Peng Tang
# License: BSD 3 clause
from __future__ import division
import collections.abc
import copy
import os
import pickle
import sys
import numpy as np
import prettytable as pt
from .state import State
from ..index import IndexCollection, MultiLabelIndexCollection
from ..index.multi_label_tools import check_index_multilabel
from ..utils.interface import BaseCollection
__all__ = ['StateIO',
]
class StateIO:
"""
A class to store states.
Functions including:
1. Saving intermediate results to files.
2. Recover workspace at any iteration (label set and unlabel set).
3. Recover workspace from the intermediate result file in case the program exits unexpectedly.
4. Gathering and checking the information stored in State object.
5. Print active learning progress: current_iteration, current_mean_performance, current_cost, etc.
Parameters
----------
round: int
Number of k-fold experiments loop. 0 <= round < k
train_idx: array_like
Training index of one fold experiment.
test_idx: array_like
Testing index of one fold experiment.
init_L: array_like
Initial labeled index of one fold experiment.
init_U: array_like
Initial unlabeled index of one fold experiment.
initial_point: object, optional (default=None)
The performance before any querying.
If not specify, the initial point of different methods will be different.
saving_path: str, optional (default='.')
Path to save the intermediate files. If None is given, it will
not save the intermediate result.
check_flag: bool, optional (default=True)
Whether to check the validity of states.
verbose: bool, optional (default=True)
Whether to print query information during the AL process.
print_interval: int optional (default=1)
How many queries will trigger a print when verbose is True.
"""
@classmethod
def load(cls, path):
"""Load StateIO object from file.
Parameters
----------
path: str
The path should be a specific .pkl file.
Returns
-------
object: StateIO
The StateIO object in the file.
"""
f = open(os.path.abspath(path), 'rb')
saver_from_file = pickle.load(f)
f.close()
return saver_from_file
def set_initial_point(self, perf):
"""The initial point of performance before querying.
Parameters
----------
perf: float
The performance value.
"""
self.initial_point = perf
def save(self):
"""Saving intermediate results to file."""
if self._saving_dir is None:
return
f = open(os.path.join(self._saving_dir, self._saving_file_name), 'wb')
pickle.dump(self, f)
f.close()
def add_state(self, state):
"""Add a State object to the container.
Parameters
----------
state: {dict, State}
State object to be added. Or a dictionary with
the following keys: ['select_index', 'queried_info', 'performance']
"""
if not isinstance(state, State):
assert isinstance(state, dict), "state must be dict or State object."
assert 'select_index' in state and 'queried_info' in state and 'performance' in state, "The dict must contain the following keys: ['select_index', 'queried_info', 'performance']"
self.__state_list.append(copy.deepcopy(state))
self.__update_info()
if self.__verbose and len(self) % self.__print_interval == 0:
if self._first_print:
print('\n' + self.__repr__(), end='')
self._first_print = False
else:
print('\r' + self._refresh_dataline(), end='')
sys.stdout.flush()
def get_state(self, index):
"""Get a State object in the container.
Parameters
----------
index: int
The index of the State object. 0 <= index < len(self)
Returns
-------
st: State
The State object in the previous iteration.
"""
assert (0 <= index < len(self))
return copy.deepcopy(self.__state_list[index])
def check_batch_size(self):
"""Check if all queries have the same batch size.
Returns
-------
result: bool
Whether all the states have the same batch size.
"""
ind_uni = np.unique(
[self.__state_list[i].batch_size for i in range(len(self.__state_list) - 1)], axis=0)
if len(ind_uni) == 1:
self.batch_size = ind_uni[0]
return True
else:
return False
def pop(self, i=None):
"""remove and return item at index (default last)."""
return self.__state_list.pop(i)
def recover_workspace(self, iteration=None):
"""Recover workspace after $iteration$ querying.
For example, if 0 is given, the initial workspace without any querying will be recovered.
Note that, the object itself will be recovered, the information after the iteration will be discarded.
Parameters
----------
iteration: int, optional(default=None)
Number of iteration to recover, start from 0.
If nothing given, it will return the current workspace.
Returns
-------
train_idx: list
Index of training set, shape like [n_training_samples]
test_idx: list
Index of testing set, shape like [n_testing_samples]
label_idx: list
Index of labeling set, shape like [n_labeling_samples]
unlabel_idx: list
Index of unlabeling set, shape like [n_unlabeling_samples]
"""
if iteration is None:
iteration = len(self.__state_list)
assert (0 <= iteration <= len(self))
work_U = copy.deepcopy(self.init_U)
work_L = copy.deepcopy(self.init_L)
for i in range(iteration):
state = self.__state_list[i]
work_U.difference_update(state.get_value('select_index'))
work_L.update(state.get_value('select_index'))
self.__state_list = self.__state_list[0:iteration]
return copy.copy(self.train_idx), copy.copy(self.test_idx), copy.deepcopy(work_L), copy.deepcopy(work_U)
def get_workspace(self, iteration=None):
"""Get workspace after $iteration$ querying.
For example, if 0 is given, the initial workspace without any querying will be recovered.
Parameters
----------
iteration: int, optional(default=None)
Number of iteration, start from 0.
If nothing given, it will get the current workspace.
Returns
-------
train_idx: list
Index of training set, shape like [n_training_samples]
test_idx: list
Index of testing set, shape like [n_testing_samples]
label_idx: list
Index of labeling set, shape like [n_labeling_samples]
unlabel_idx: list
Index of unlabeling set, shape like [n_unlabeling_samples]
"""
if iteration is None:
iteration = len(self.__state_list)
assert (0 <= iteration <= len(self))
work_U = copy.deepcopy(self.init_U)
work_L = copy.deepcopy(self.init_L)
for i in range(iteration):
state = self.__state_list[i]
work_U.difference_update(state.get_value('select_index'))
work_L.update(state.get_value('select_index'))
return copy.copy(self.train_idx), copy.copy(self.test_idx), copy.deepcopy(work_L), copy.deepcopy(work_U)
def num_of_query(self):
"""Return the number of queries"""
return len(self.__state_list)
def get_current_performance(self):
"""Return the mean ± std performance of all existed states.
Only available when the performance of each state is a single float value.
Returns
-------
mean: float
Mean performance of the existing states.
std: float
Std performance of the existing states.
"""
if len(self) == 0:
return 0, 0
else:
tmp = [self[i].get_value('performance') for i in range(self.__len__())]
if isinstance(tmp[0], collections.Iterable):
return np.NaN, np.NaN
else:
return np.mean(tmp), np.std(tmp)
def refresh_info(self):
"""re-calculate current active learning progress."""
numqdata = 0
cost = 0.0
for state in self.__state_list:
numqdata += len(state.get_value('select_index'))
if 'cost' in state.keys():
cost += np.sum(state.get_value('cost'))
self.cost_inall = cost
self._numqdata = numqdata
return numqdata, cost
def __update_info(self):
"""Update current active learning progress"""
state = self.__state_list[len(self) - 1]
if 'cost' in state.keys():
self.cost_inall += np.sum(state.get_value('cost'))
self._numqdata += len(state.get_value('select_index'))
# class StateIO_all_labels(StateIO):
# """StateIO for all _labels querying"""
# def add_state(self, state):
# assert (isinstance(state, experiment_saver.state.State))
# self.__state_list.append(copy.deepcopy(state))
# if self.__check_flag:
# res, err_st, err_ind = self.check_select_index()
# if res == -1:
# warnings.warn(
# 'Checking validity fails, there is a queried instance not in set_U in '
# 'State:%d, index:%s.' % (err_st, str(err_ind)),
# category=ValidityWarning)
# if res == -2:
# warnings.warn('Checking validity fails, there are instances already queried '
# 'in previous iteration in State:%d, index:%s.' % (err_st, str(err_ind)),
# category=ValidityWarning)
# self.__update_info()
#
#
# if self.__verbose and len(self) % self.__print_interval == 0:
# if self._first_print:
# print('\n' + self.__repr__(), end='')
# self._first_print = False
# else:
# print('\r' + self._refresh_dataline(), end='')
# sys.stdout.flush()
#
# def check_select_index(self):
# """
# check:
# - Q has no repeating elements
# - Q in U
# Returns
# -------
# result: int
# check result
# - if -1 is returned, there is a queried instance not in U
# - if -2 is returned, there are repeated instances in Q
# - if 1 is returned, CHECK OK
#
# state_index: int
# the state index when checking fails (start from 0)
# if CHECK OK, None is returned.
#
# select_index: object
# the select_index when checking fails.
# if CHECK OK, None is returned.
# """
# repeat_dict = dict()
# ind = -1
# for st in self.__state_list:
# ind += 1
# for instance in st.get_value('select_index'):
# if instance not in self.init_U:
# return -1, ind, instance
# if instance not in repeat_dict.keys():
# repeat_dict[instance] = 1
# else:
# return -2, ind, instance
# return 1, None, None
#
# @property
# def queried_percentage(self):
# """return the queried percentage of unlabeled data"""
# return 100 * self._numqdata / len(self.init_U)
| [
37811,
198,
9012,
9399,
198,
29869,
284,
3650,
1181,
2134,
13,
198,
14945,
4465,
5499,
389,
9177,
287,
428,
1398,
25,
198,
16,
13,
34689,
19898,
2482,
284,
3696,
13,
198,
17,
13,
49107,
44573,
379,
597,
24415,
357,
18242,
900,
290,
9642,
9608,
900,
737,
198,
18,
13,
49107,
44573,
422,
262,
19898,
1255,
2393,
287,
1339,
262,
1430,
30151,
25884,
13,
198,
19,
13,
36397,
290,
10627,
262,
1321,
8574,
287,
1812,
2134,
13,
198,
20,
13,
12578,
4075,
4673,
4371,
25,
1459,
62,
2676,
341,
11,
1459,
62,
32604,
62,
26585,
11,
1459,
62,
15805,
11,
3503,
13,
198,
37811,
198,
198,
2,
46665,
25,
38833,
12,
47,
1516,
18816,
198,
2,
13789,
25,
347,
10305,
513,
13444,
198,
198,
6738,
11593,
37443,
834,
1330,
7297,
198,
198,
11748,
17268,
13,
39305,
198,
11748,
4866,
198,
11748,
28686,
198,
11748,
2298,
293,
198,
11748,
25064,
198,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
2495,
11487,
355,
42975,
198,
198,
6738,
764,
5219,
1330,
1812,
198,
6738,
11485,
9630,
1330,
12901,
36307,
11,
15237,
33986,
15732,
36307,
198,
6738,
11485,
9630,
13,
41684,
62,
18242,
62,
31391,
1330,
2198,
62,
9630,
62,
16680,
346,
9608,
198,
6738,
11485,
26791,
13,
39994,
1330,
7308,
36307,
198,
198,
834,
439,
834,
796,
37250,
9012,
9399,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2361,
198,
198,
4871,
1812,
9399,
25,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
317,
1398,
284,
3650,
2585,
13,
198,
220,
220,
220,
40480,
1390,
25,
198,
220,
220,
220,
352,
13,
34689,
19898,
2482,
284,
3696,
13,
198,
220,
220,
220,
362,
13,
49107,
44573,
379,
597,
24415,
357,
18242,
900,
290,
9642,
9608,
900,
737,
198,
220,
220,
220,
513,
13,
49107,
44573,
422,
262,
19898,
1255,
2393,
287,
1339,
262,
1430,
30151,
25884,
13,
198,
220,
220,
220,
604,
13,
36397,
290,
10627,
262,
1321,
8574,
287,
1812,
2134,
13,
198,
220,
220,
220,
642,
13,
12578,
4075,
4673,
4371,
25,
1459,
62,
2676,
341,
11,
1459,
62,
32604,
62,
26585,
11,
1459,
62,
15805,
11,
3503,
13,
628,
220,
220,
220,
40117,
198,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
2835,
25,
493,
198,
220,
220,
220,
220,
220,
220,
220,
7913,
286,
479,
12,
11379,
10256,
9052,
13,
657,
19841,
2835,
1279,
479,
628,
220,
220,
220,
4512,
62,
312,
87,
25,
7177,
62,
2339,
198,
220,
220,
220,
220,
220,
220,
220,
13614,
6376,
286,
530,
5591,
6306,
13,
628,
220,
220,
220,
1332,
62,
312,
87,
25,
7177,
62,
2339,
198,
220,
220,
220,
220,
220,
220,
220,
23983,
6376,
286,
530,
5591,
6306,
13,
628,
220,
220,
220,
2315,
62,
43,
25,
7177,
62,
2339,
198,
220,
220,
220,
220,
220,
220,
220,
20768,
15494,
6376,
286,
530,
5591,
6306,
13,
628,
220,
220,
220,
2315,
62,
52,
25,
7177,
62,
2339,
198,
220,
220,
220,
220,
220,
220,
220,
20768,
9642,
9608,
276,
6376,
286,
530,
5591,
6306,
13,
628,
220,
220,
220,
4238,
62,
4122,
25,
2134,
11,
11902,
357,
12286,
28,
14202,
8,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2854,
878,
597,
42517,
1112,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1002,
407,
11986,
11,
262,
4238,
966,
286,
1180,
5050,
481,
307,
1180,
13,
628,
220,
220,
220,
8914,
62,
6978,
25,
965,
11,
11902,
357,
12286,
11639,
2637,
8,
198,
220,
220,
220,
220,
220,
220,
220,
10644,
284,
3613,
262,
19898,
3696,
13,
1002,
6045,
318,
1813,
11,
340,
481,
198,
220,
220,
220,
220,
220,
220,
220,
407,
3613,
262,
19898,
1255,
13,
628,
220,
220,
220,
2198,
62,
32109,
25,
20512,
11,
11902,
357,
12286,
28,
17821,
8,
198,
220,
220,
220,
220,
220,
220,
220,
10127,
284,
2198,
262,
19648,
286,
2585,
13,
628,
220,
220,
220,
15942,
577,
25,
20512,
11,
11902,
357,
12286,
28,
17821,
8,
198,
220,
220,
220,
220,
220,
220,
220,
10127,
284,
3601,
12405,
1321,
1141,
262,
8355,
1429,
13,
628,
220,
220,
220,
3601,
62,
3849,
2100,
25,
493,
11902,
357,
12286,
28,
16,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1374,
867,
20743,
481,
7616,
257,
3601,
618,
15942,
577,
318,
6407,
13,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
2488,
4871,
24396,
198,
220,
220,
220,
825,
3440,
7,
565,
82,
11,
3108,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
8912,
1812,
9399,
2134,
422,
2393,
13,
628,
220,
220,
220,
220,
220,
220,
220,
40117,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
3108,
25,
965,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
3108,
815,
307,
257,
2176,
764,
79,
41582,
2393,
13,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
198,
220,
220,
220,
220,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
2134,
25,
1812,
9399,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
1812,
9399,
2134,
287,
262,
2393,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
277,
796,
1280,
7,
418,
13,
6978,
13,
397,
2777,
776,
7,
6978,
828,
705,
26145,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
473,
332,
62,
6738,
62,
7753,
796,
2298,
293,
13,
2220,
7,
69,
8,
198,
220,
220,
220,
220,
220,
220,
220,
277,
13,
19836,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
473,
332,
62,
6738,
62,
7753,
628,
220,
220,
220,
825,
900,
62,
36733,
62,
4122,
7,
944,
11,
23035,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
464,
4238,
966,
286,
2854,
878,
42517,
1112,
13,
628,
220,
220,
220,
220,
220,
220,
220,
40117,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
23035,
25,
12178,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
2854,
1988,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
36733,
62,
4122,
796,
23035,
628,
220,
220,
220,
825,
3613,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
50,
2703,
19898,
2482,
284,
2393,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
29336,
62,
15908,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
198,
220,
220,
220,
220,
220,
220,
220,
277,
796,
1280,
7,
418,
13,
6978,
13,
22179,
7,
944,
13557,
29336,
62,
15908,
11,
2116,
13557,
29336,
62,
7753,
62,
3672,
828,
705,
39346,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2298,
293,
13,
39455,
7,
944,
11,
277,
8,
198,
220,
220,
220,
220,
220,
220,
220,
277,
13,
19836,
3419,
628,
220,
220,
220,
825,
751,
62,
5219,
7,
944,
11,
1181,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
4550,
257,
1812,
2134,
284,
262,
9290,
13,
628,
220,
220,
220,
220,
220,
220,
220,
40117,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
25,
1391,
11600,
11,
1812,
92,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1812,
2134,
284,
307,
2087,
13,
1471,
257,
22155,
351,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
262,
1708,
8251,
25,
37250,
19738,
62,
9630,
3256,
705,
10819,
798,
62,
10951,
3256,
705,
26585,
20520,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
318,
39098,
7,
5219,
11,
1812,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
318,
39098,
7,
5219,
11,
8633,
828,
366,
5219,
1276,
307,
8633,
393,
1812,
2134,
526,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
705,
19738,
62,
9630,
6,
287,
1181,
290,
705,
10819,
798,
62,
10951,
6,
287,
1181,
290,
705,
26585,
6,
287,
1181,
11,
366,
464,
8633,
1276,
3994,
262,
1708,
8251,
25,
37250,
19738,
62,
9630,
3256,
705,
10819,
798,
62,
10951,
3256,
705,
26585,
20520,
1,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
5219,
62,
4868,
13,
33295,
7,
30073,
13,
22089,
30073,
7,
5219,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
19119,
62,
10951,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
834,
19011,
577,
290,
18896,
7,
944,
8,
4064,
2116,
13,
834,
4798,
62,
3849,
2100,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
11085,
62,
4798,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
59,
77,
6,
1343,
2116,
13,
834,
260,
1050,
834,
22784,
886,
28,
7061,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
11085,
62,
4798,
796,
10352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
59,
81,
6,
1343,
2116,
13557,
5420,
3447,
62,
67,
10254,
500,
22784,
886,
28,
7061,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
19282,
448,
13,
25925,
3419,
628,
220,
220,
220,
825,
651,
62,
5219,
7,
944,
11,
6376,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3855,
257,
1812,
2134,
287,
262,
9290,
13,
628,
220,
220,
220,
220,
220,
220,
220,
40117,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
6376,
25,
493,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
6376,
286,
262,
1812,
2134,
13,
657,
19841,
6376,
1279,
18896,
7,
944,
8,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
198,
220,
220,
220,
220,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
336,
25,
1812,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
1812,
2134,
287,
262,
2180,
24415,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
357,
15,
19841,
6376,
1279,
18896,
7,
944,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
4866,
13,
22089,
30073,
7,
944,
13,
834,
5219,
62,
4868,
58,
9630,
12962,
628,
220,
220,
220,
825,
2198,
62,
43501,
62,
7857,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
9787,
611,
477,
20743,
423,
262,
976,
15458,
2546,
13,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
198,
220,
220,
220,
220,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
1255,
25,
20512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10127,
477,
262,
2585,
423,
262,
976,
15458,
2546,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
773,
62,
35657,
796,
45941,
13,
34642,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
944,
13,
834,
5219,
62,
4868,
58,
72,
4083,
43501,
62,
7857,
329,
1312,
287,
2837,
7,
11925,
7,
944,
13,
834,
5219,
62,
4868,
8,
532,
352,
8,
4357,
16488,
28,
15,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
521,
62,
35657,
8,
6624,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
43501,
62,
7857,
796,
773,
62,
35657,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
10352,
628,
220,
220,
220,
825,
1461,
7,
944,
11,
1312,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
28956,
290,
1441,
2378,
379,
6376,
357,
12286,
938,
21387,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
834,
5219,
62,
4868,
13,
12924,
7,
72,
8,
628,
220,
220,
220,
825,
8551,
62,
5225,
10223,
7,
944,
11,
24415,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
6690,
2502,
44573,
706,
720,
2676,
341,
3,
42517,
1112,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1114,
1672,
11,
611,
657,
318,
1813,
11,
262,
4238,
44573,
1231,
597,
42517,
1112,
481,
307,
11911,
13,
198,
220,
220,
220,
220,
220,
220,
220,
5740,
326,
11,
262,
2134,
2346,
481,
307,
11911,
11,
262,
1321,
706,
262,
24415,
481,
307,
25148,
13,
628,
220,
220,
220,
220,
220,
220,
220,
40117,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
24415,
25,
493,
11,
11902,
7,
12286,
28,
14202,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7913,
286,
24415,
284,
8551,
11,
923,
422,
657,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1002,
2147,
1813,
11,
340,
481,
1441,
262,
1459,
44573,
13,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
198,
220,
220,
220,
220,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
4512,
62,
312,
87,
25,
1351,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12901,
286,
3047,
900,
11,
5485,
588,
685,
77,
62,
34409,
62,
82,
12629,
60,
628,
220,
220,
220,
220,
220,
220,
220,
1332,
62,
312,
87,
25,
1351,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12901,
286,
4856,
900,
11,
5485,
588,
685,
77,
62,
33407,
62,
82,
12629,
60,
628,
220,
220,
220,
220,
220,
220,
220,
6167,
62,
312,
87,
25,
1351,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12901,
286,
27393,
900,
11,
5485,
588,
685,
77,
62,
18242,
278,
62,
82,
12629,
60,
628,
220,
220,
220,
220,
220,
220,
220,
9642,
9608,
62,
312,
87,
25,
1351,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12901,
286,
9642,
9608,
278,
900,
11,
5485,
588,
685,
77,
62,
403,
18242,
278,
62,
82,
12629,
60,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
24415,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24415,
796,
18896,
7,
944,
13,
834,
5219,
62,
4868,
8,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
357,
15,
19841,
24415,
19841,
18896,
7,
944,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
670,
62,
52,
796,
4866,
13,
22089,
30073,
7,
944,
13,
15003,
62,
52,
8,
198,
220,
220,
220,
220,
220,
220,
220,
670,
62,
43,
796,
4866,
13,
22089,
30073,
7,
944,
13,
15003,
62,
43,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
2837,
7,
2676,
341,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1181,
796,
2116,
13,
834,
5219,
62,
4868,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
670,
62,
52,
13,
26069,
1945,
62,
19119,
7,
5219,
13,
1136,
62,
8367,
10786,
19738,
62,
9630,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
670,
62,
43,
13,
19119,
7,
5219,
13,
1136,
62,
8367,
10786,
19738,
62,
9630,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
5219,
62,
4868,
796,
2116,
13,
834,
5219,
62,
4868,
58,
15,
25,
2676,
341,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
4866,
13,
30073,
7,
944,
13,
27432,
62,
312,
87,
828,
4866,
13,
30073,
7,
944,
13,
9288,
62,
312,
87,
828,
4866,
13,
22089,
30073,
7,
1818,
62,
43,
828,
4866,
13,
22089,
30073,
7,
1818,
62,
52,
8,
628,
220,
220,
220,
825,
651,
62,
5225,
10223,
7,
944,
11,
24415,
28,
14202,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
3855,
44573,
706,
720,
2676,
341,
3,
42517,
1112,
13,
198,
220,
220,
220,
220,
220,
220,
220,
1114,
1672,
11,
611,
657,
318,
1813,
11,
262,
4238,
44573,
1231,
597,
42517,
1112,
481,
307,
11911,
13,
628,
220,
220,
220,
220,
220,
220,
220,
40117,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
24415,
25,
493,
11,
11902,
7,
12286,
28,
14202,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7913,
286,
24415,
11,
923,
422,
657,
13,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1002,
2147,
1813,
11,
340,
481,
651,
262,
1459,
44573,
13,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
198,
220,
220,
220,
220,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
4512,
62,
312,
87,
25,
1351,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12901,
286,
3047,
900,
11,
5485,
588,
685,
77,
62,
34409,
62,
82,
12629,
60,
628,
220,
220,
220,
220,
220,
220,
220,
1332,
62,
312,
87,
25,
1351,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12901,
286,
4856,
900,
11,
5485,
588,
685,
77,
62,
33407,
62,
82,
12629,
60,
628,
220,
220,
220,
220,
220,
220,
220,
6167,
62,
312,
87,
25,
1351,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12901,
286,
27393,
900,
11,
5485,
588,
685,
77,
62,
18242,
278,
62,
82,
12629,
60,
628,
220,
220,
220,
220,
220,
220,
220,
9642,
9608,
62,
312,
87,
25,
1351,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12901,
286,
9642,
9608,
278,
900,
11,
5485,
588,
685,
77,
62,
403,
18242,
278,
62,
82,
12629,
60,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
24415,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24415,
796,
18896,
7,
944,
13,
834,
5219,
62,
4868,
8,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
357,
15,
19841,
24415,
19841,
18896,
7,
944,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
670,
62,
52,
796,
4866,
13,
22089,
30073,
7,
944,
13,
15003,
62,
52,
8,
198,
220,
220,
220,
220,
220,
220,
220,
670,
62,
43,
796,
4866,
13,
22089,
30073,
7,
944,
13,
15003,
62,
43,
8,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1312,
287,
2837,
7,
2676,
341,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1181,
796,
2116,
13,
834,
5219,
62,
4868,
58,
72,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
670,
62,
52,
13,
26069,
1945,
62,
19119,
7,
5219,
13,
1136,
62,
8367,
10786,
19738,
62,
9630,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
670,
62,
43,
13,
19119,
7,
5219,
13,
1136,
62,
8367,
10786,
19738,
62,
9630,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
4866,
13,
30073,
7,
944,
13,
27432,
62,
312,
87,
828,
4866,
13,
30073,
7,
944,
13,
9288,
62,
312,
87,
828,
4866,
13,
22089,
30073,
7,
1818,
62,
43,
828,
4866,
13,
22089,
30073,
7,
1818,
62,
52,
8,
628,
220,
220,
220,
825,
997,
62,
1659,
62,
22766,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
262,
1271,
286,
20743,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
18896,
7,
944,
13,
834,
5219,
62,
4868,
8,
628,
220,
220,
220,
825,
651,
62,
14421,
62,
26585,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
13615,
262,
1612,
6354,
14367,
2854,
286,
477,
11196,
2585,
13,
628,
220,
220,
220,
220,
220,
220,
220,
5514,
1695,
618,
262,
2854,
286,
1123,
1181,
318,
257,
2060,
12178,
1988,
13,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
198,
220,
220,
220,
220,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
1612,
25,
12178,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
22728,
2854,
286,
262,
4683,
2585,
13,
628,
220,
220,
220,
220,
220,
220,
220,
14367,
25,
12178,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
520,
67,
2854,
286,
262,
4683,
2585,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
944,
8,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
657,
11,
657,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
45218,
796,
685,
944,
58,
72,
4083,
1136,
62,
8367,
10786,
26585,
11537,
329,
1312,
287,
2837,
7,
944,
13,
834,
11925,
834,
3419,
15437,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
318,
39098,
7,
22065,
58,
15,
4357,
17268,
13,
29993,
540,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
45941,
13,
26705,
45,
11,
45941,
13,
26705,
45,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
45941,
13,
32604,
7,
22065,
828,
45941,
13,
19282,
7,
22065,
8,
628,
220,
220,
220,
825,
14976,
62,
10951,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
260,
12,
9948,
3129,
378,
1459,
4075,
4673,
4371,
526,
15931,
198,
220,
220,
220,
220,
220,
220,
220,
997,
80,
7890,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
1575,
796,
657,
13,
15,
198,
220,
220,
220,
220,
220,
220,
220,
329,
1181,
287,
2116,
13,
834,
5219,
62,
4868,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
997,
80,
7890,
15853,
18896,
7,
5219,
13,
1136,
62,
8367,
10786,
19738,
62,
9630,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
705,
15805,
6,
287,
1181,
13,
13083,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1575,
15853,
45941,
13,
16345,
7,
5219,
13,
1136,
62,
8367,
10786,
15805,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15805,
62,
259,
439,
796,
1575,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
22510,
80,
7890,
796,
997,
80,
7890,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
997,
80,
7890,
11,
1575,
628,
220,
220,
220,
825,
11593,
19119,
62,
10951,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
10260,
1459,
4075,
4673,
4371,
37811,
198,
220,
220,
220,
220,
220,
220,
220,
1181,
796,
2116,
13,
834,
5219,
62,
4868,
58,
11925,
7,
944,
8,
532,
352,
60,
198,
220,
220,
220,
220,
220,
220,
220,
611,
705,
15805,
6,
287,
1181,
13,
13083,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
15805,
62,
259,
439,
15853,
45941,
13,
16345,
7,
5219,
13,
1136,
62,
8367,
10786,
15805,
6,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
22510,
80,
7890,
15853,
18896,
7,
5219,
13,
1136,
62,
8367,
10786,
19738,
62,
9630,
6,
4008,
198,
198,
2,
1398,
1812,
9399,
62,
439,
62,
23912,
1424,
7,
9012,
9399,
2599,
198,
2,
220,
220,
220,
220,
37227,
9012,
9399,
329,
477,
4808,
23912,
1424,
42517,
1112,
37811,
198,
2,
220,
220,
220,
220,
825,
751,
62,
5219,
7,
944,
11,
1181,
2599,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
6818,
357,
271,
39098,
7,
5219,
11,
6306,
62,
82,
8770,
13,
5219,
13,
9012,
4008,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
5219,
62,
4868,
13,
33295,
7,
30073,
13,
22089,
30073,
7,
5219,
4008,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
834,
9122,
62,
32109,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
581,
11,
11454,
62,
301,
11,
11454,
62,
521,
796,
2116,
13,
9122,
62,
19738,
62,
9630,
3419,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
581,
6624,
532,
16,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14601,
13,
40539,
7,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9787,
278,
19648,
10143,
11,
612,
318,
257,
42517,
798,
4554,
407,
287,
900,
62,
52,
287,
705,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9012,
25,
4,
67,
11,
6376,
25,
4,
82,
2637,
4064,
357,
8056,
62,
301,
11,
965,
7,
8056,
62,
521,
36911,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6536,
28,
7762,
17995,
20361,
8,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
581,
6624,
532,
17,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14601,
13,
40539,
10786,
9787,
278,
19648,
10143,
11,
612,
389,
10245,
1541,
42517,
798,
705,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
259,
2180,
24415,
287,
1812,
25,
4,
67,
11,
6376,
25,
4,
82,
2637,
4064,
357,
8056,
62,
301,
11,
965,
7,
8056,
62,
521,
36911,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6536,
28,
7762,
17995,
20361,
8,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
19119,
62,
10951,
3419,
198,
2,
198,
2,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
834,
19011,
577,
290,
18896,
7,
944,
8,
4064,
2116,
13,
834,
4798,
62,
3849,
2100,
6624,
657,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13557,
11085,
62,
4798,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
59,
77,
6,
1343,
2116,
13,
834,
260,
1050,
834,
22784,
886,
28,
7061,
8,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
11085,
62,
4798,
796,
10352,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
59,
81,
6,
1343,
2116,
13557,
5420,
3447,
62,
67,
10254,
500,
22784,
886,
28,
7061,
8,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
19282,
448,
13,
25925,
3419,
198,
2,
198,
2,
220,
220,
220,
220,
825,
2198,
62,
19738,
62,
9630,
7,
944,
2599,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
2198,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
532,
1195,
468,
645,
20394,
4847,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
532,
1195,
287,
471,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
16409,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
35656,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
1255,
25,
493,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2198,
1255,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
611,
532,
16,
318,
4504,
11,
612,
318,
257,
42517,
798,
4554,
407,
287,
471,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
611,
532,
17,
318,
4504,
11,
612,
389,
5100,
10245,
287,
1195,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
611,
352,
318,
4504,
11,
5870,
25171,
7477,
198,
2,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
1181,
62,
9630,
25,
493,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
262,
1181,
6376,
618,
10627,
10143,
357,
9688,
422,
657,
8,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5870,
25171,
7477,
11,
6045,
318,
4504,
13,
198,
2,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
2922,
62,
9630,
25,
2134,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
262,
2922,
62,
9630,
618,
10627,
10143,
13,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
5870,
25171,
7477,
11,
6045,
318,
4504,
13,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
9585,
62,
11600,
796,
8633,
3419,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
773,
796,
532,
16,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
329,
336,
287,
2116,
13,
834,
5219,
62,
4868,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
773,
15853,
352,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
4554,
287,
336,
13,
1136,
62,
8367,
10786,
19738,
62,
9630,
6,
2599,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4554,
407,
287,
2116,
13,
15003,
62,
52,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
532,
16,
11,
773,
11,
4554,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4554,
407,
287,
9585,
62,
11600,
13,
13083,
33529,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9585,
62,
11600,
58,
39098,
60,
796,
352,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
532,
17,
11,
773,
11,
4554,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
352,
11,
6045,
11,
6045,
198,
2,
198,
2,
220,
220,
220,
220,
2488,
26745,
198,
2,
220,
220,
220,
220,
825,
42517,
798,
62,
25067,
496,
7,
944,
2599,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
37227,
7783,
262,
42517,
798,
5873,
286,
9642,
9608,
276,
1366,
37811,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
1802,
1635,
2116,
13557,
22510,
80,
7890,
1220,
18896,
7,
944,
13,
15003,
62,
52,
8,
198
] | 2.314179 | 5,360 |
#!/usr/bin/env python3
import re
import os
import torch
import torch.nn.functional as F
import struct
import glob
from PIL import Image
import torchvision.transforms.functional as TF
from shutil import copyfile
root_dir = ''
ori_dir = ''
if __name__ == '__main__':
sub_dir = [os.path.join(root_dir, name) for name in os.listdir(root_dir) if os.path.isdir(os.path.join(root_dir, name))]
rec_err = 0
rec_bg = 0
for d in sub_dir:
print(d)
input = glob.glob(os.path.join(d, '*input.png'))[0]
name = input[:-10] + '.jpg'
name = name.split('/')[-1]
ori = glob.glob(os.path.join(ori_dir, name))[0]
copyfile(ori, input[:-10] + '_tar.png')
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
18,
198,
198,
11748,
302,
198,
11748,
28686,
198,
11748,
28034,
198,
11748,
28034,
13,
20471,
13,
45124,
355,
376,
198,
11748,
2878,
198,
11748,
15095,
198,
6738,
350,
4146,
1330,
7412,
198,
11748,
28034,
10178,
13,
7645,
23914,
13,
45124,
355,
24958,
198,
6738,
4423,
346,
1330,
4866,
7753,
198,
198,
15763,
62,
15908,
796,
10148,
198,
10145,
62,
15908,
796,
10148,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
197,
7266,
62,
15908,
796,
685,
418,
13,
6978,
13,
22179,
7,
15763,
62,
15908,
11,
1438,
8,
329,
1438,
287,
28686,
13,
4868,
15908,
7,
15763,
62,
15908,
8,
611,
28686,
13,
6978,
13,
9409,
343,
7,
418,
13,
6978,
13,
22179,
7,
15763,
62,
15908,
11,
1438,
4008,
60,
198,
197,
198,
197,
8344,
62,
8056,
796,
657,
198,
197,
8344,
62,
35904,
796,
657,
198,
197,
198,
197,
1640,
288,
287,
850,
62,
15908,
25,
198,
197,
197,
4798,
7,
67,
8,
198,
197,
197,
198,
197,
197,
15414,
796,
15095,
13,
4743,
672,
7,
418,
13,
6978,
13,
22179,
7,
67,
11,
705,
9,
15414,
13,
11134,
6,
4008,
58,
15,
60,
198,
197,
197,
3672,
796,
5128,
58,
21912,
940,
60,
1343,
45302,
9479,
6,
198,
197,
197,
3672,
796,
1438,
13,
35312,
10786,
14,
11537,
58,
12,
16,
60,
198,
197,
197,
198,
197,
197,
10145,
796,
15095,
13,
4743,
672,
7,
418,
13,
6978,
13,
22179,
7,
10145,
62,
15908,
11,
1438,
4008,
58,
15,
60,
198,
197,
197,
30073,
7753,
7,
10145,
11,
5128,
58,
21912,
940,
60,
1343,
705,
62,
18870,
13,
11134,
11537,
198
] | 2.374101 | 278 |
import torch
from vap_turn_taking.utils import find_island_idx_len
from vap_turn_taking.hold_shifts import get_dialog_states, get_last_speaker
def find_isolated_within(vad, prefix_frames, max_duration_frames, suffix_frames):
"""
... <= prefix_frames (silence) | <= max_duration_frames (active) | <= suffix_frames (silence) ...
"""
isolated = torch.zeros_like(vad)
for b, vad_tmp in enumerate(vad):
for speaker in [0, 1]:
starts, durs, vals = find_island_idx_len(vad_tmp[..., speaker])
for step in range(1, len(starts) - 1):
# Activity condition: current step is active
if vals[step] == 0:
continue
# Prefix condition:
# check that current active step comes after a certain amount of inactivity
if durs[step - 1] < prefix_frames:
continue
# Suffix condition
# check that current active step comes after a certain amount of inactivity
if durs[step + 1] < suffix_frames:
continue
current_dur = durs[step]
if current_dur <= max_duration_frames:
start = starts[step]
end = start + current_dur
isolated[b, start:end, speaker] = 1.0
return isolated
if __name__ == "__main__":
import matplotlib.pyplot as plt
from vap_turn_taking.plot_utils import plot_vad_oh
BS = Backhannel(**bs_dict)
tt_bc = BS(va)
(tt_bc["backchannel"] != bc).sum()
n_rows = 4
n_cols = 4
fig, ax = plt.subplots(n_rows, n_cols, sharey=True, sharex=True, figsize=(16, 4))
b = 0
for row in range(n_rows):
for col in range(n_cols):
_ = plot_vad_oh(vad[b], ax=ax[row, col])
_ = plot_vad_oh(
bc["backchannel"][b],
ax=ax[row, col],
colors=["purple", "purple"],
alpha=0.8,
)
b += 1
if b == vad.shape[0]:
break
if b == vad.shape[0]:
break
plt.pause(0.1)
| [
11748,
28034,
198,
6738,
38187,
62,
15344,
62,
26103,
13,
26791,
1330,
1064,
62,
271,
1044,
62,
312,
87,
62,
11925,
198,
6738,
38187,
62,
15344,
62,
26103,
13,
2946,
62,
1477,
19265,
1330,
651,
62,
38969,
519,
62,
27219,
11,
651,
62,
12957,
62,
4125,
3110,
628,
198,
4299,
1064,
62,
30152,
515,
62,
33479,
7,
85,
324,
11,
21231,
62,
37805,
11,
3509,
62,
32257,
62,
37805,
11,
35488,
62,
37805,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
2644,
19841,
21231,
62,
37805,
357,
18217,
594,
8,
930,
19841,
3509,
62,
32257,
62,
37805,
357,
5275,
8,
930,
19841,
35488,
62,
37805,
357,
18217,
594,
8,
2644,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
11557,
796,
28034,
13,
9107,
418,
62,
2339,
7,
85,
324,
8,
198,
220,
220,
220,
329,
275,
11,
410,
324,
62,
22065,
287,
27056,
378,
7,
85,
324,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
329,
10834,
287,
685,
15,
11,
352,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4940,
11,
288,
1834,
11,
410,
874,
796,
1064,
62,
271,
1044,
62,
312,
87,
62,
11925,
7,
85,
324,
62,
22065,
58,
986,
11,
10834,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
2239,
287,
2837,
7,
16,
11,
18896,
7,
301,
5889,
8,
532,
352,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
24641,
4006,
25,
1459,
2239,
318,
4075,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
410,
874,
58,
9662,
60,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3771,
13049,
4006,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2198,
326,
1459,
4075,
2239,
2058,
706,
257,
1728,
2033,
286,
287,
21797,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
288,
1834,
58,
9662,
532,
352,
60,
1279,
21231,
62,
37805,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
24974,
844,
4006,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
2198,
326,
1459,
4075,
2239,
2058,
706,
257,
1728,
2033,
286,
287,
21797,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
288,
1834,
58,
9662,
1343,
352,
60,
1279,
35488,
62,
37805,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1459,
62,
67,
333,
796,
288,
1834,
58,
9662,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1459,
62,
67,
333,
19841,
3509,
62,
32257,
62,
37805,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
923,
796,
4940,
58,
9662,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
886,
796,
923,
1343,
1459,
62,
67,
333,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11557,
58,
65,
11,
923,
25,
437,
11,
10834,
60,
796,
352,
13,
15,
198,
220,
220,
220,
1441,
11557,
628,
198,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
1330,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
220,
220,
220,
422,
38187,
62,
15344,
62,
26103,
13,
29487,
62,
26791,
1330,
7110,
62,
85,
324,
62,
1219,
628,
220,
220,
220,
24218,
796,
5157,
71,
4276,
7,
1174,
1443,
62,
11600,
8,
198,
220,
220,
220,
256,
83,
62,
15630,
796,
24218,
7,
6862,
8,
628,
220,
220,
220,
357,
926,
62,
15630,
14692,
1891,
17620,
8973,
14512,
47125,
737,
16345,
3419,
628,
220,
220,
220,
299,
62,
8516,
796,
604,
198,
220,
220,
220,
299,
62,
4033,
82,
796,
604,
198,
220,
220,
220,
2336,
11,
7877,
796,
458,
83,
13,
7266,
489,
1747,
7,
77,
62,
8516,
11,
299,
62,
4033,
82,
11,
2648,
88,
28,
17821,
11,
2648,
87,
28,
17821,
11,
2336,
7857,
16193,
1433,
11,
604,
4008,
198,
220,
220,
220,
275,
796,
657,
198,
220,
220,
220,
329,
5752,
287,
2837,
7,
77,
62,
8516,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
329,
951,
287,
2837,
7,
77,
62,
4033,
82,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
796,
7110,
62,
85,
324,
62,
1219,
7,
85,
324,
58,
65,
4357,
7877,
28,
897,
58,
808,
11,
951,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4808,
796,
7110,
62,
85,
324,
62,
1219,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
47125,
14692,
1891,
17620,
1,
7131,
65,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7877,
28,
897,
58,
808,
11,
951,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
7577,
28,
14692,
14225,
1154,
1600,
366,
14225,
1154,
33116,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
17130,
28,
15,
13,
23,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
275,
15853,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
275,
6624,
410,
324,
13,
43358,
58,
15,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
198,
220,
220,
220,
220,
220,
220,
220,
611,
275,
6624,
410,
324,
13,
43358,
58,
15,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2270,
198,
220,
220,
220,
458,
83,
13,
32125,
7,
15,
13,
16,
8,
198
] | 1.960217 | 1,106 |
import datetime as dt
from flask_login import UserMixin
from SUIBE_DID_Data_Manager.database import (
Column,
Model,
SurrogatePK,
db,
reference_col,
relationship,
) | [
11748,
4818,
8079,
355,
288,
83,
198,
198,
6738,
42903,
62,
38235,
1330,
11787,
35608,
259,
198,
198,
6738,
13558,
9865,
36,
62,
35,
2389,
62,
6601,
62,
13511,
13,
48806,
1330,
357,
198,
220,
220,
220,
29201,
11,
198,
220,
220,
220,
9104,
11,
198,
220,
220,
220,
4198,
3828,
378,
40492,
11,
198,
220,
220,
220,
20613,
11,
198,
220,
220,
220,
4941,
62,
4033,
11,
198,
220,
220,
220,
2776,
11,
198,
8
] | 2.5 | 76 |
import argparse
import signal
import time
import sys
import os
import logging
| [
11748,
1822,
29572,
198,
11748,
6737,
198,
11748,
640,
198,
11748,
25064,
198,
11748,
28686,
198,
11748,
18931,
628
] | 4.157895 | 19 |
A = [4, 5, 6, 7, 0, 1, 2, 3]
A = [0,1,2,3,4,5,6,7]
B = 4
A = [ 101, 103, 106, 109, 158, 164, 182, 187, 202, 205, 2, 3, 32, 57, 69, 74, 81, 99, 100 ]
B = 202
a = Rotated_Search()
print(a.search(A, B))
| [
198,
198,
32,
796,
685,
19,
11,
642,
11,
718,
11,
767,
11,
657,
11,
352,
11,
362,
11,
513,
60,
198,
32,
796,
685,
15,
11,
16,
11,
17,
11,
18,
11,
19,
11,
20,
11,
21,
11,
22,
60,
198,
198,
33,
796,
604,
198,
198,
32,
796,
685,
8949,
11,
15349,
11,
15696,
11,
16003,
11,
24063,
11,
25307,
11,
28581,
11,
27649,
11,
22131,
11,
22538,
11,
362,
11,
513,
11,
3933,
11,
7632,
11,
8644,
11,
8915,
11,
9773,
11,
7388,
11,
1802,
2361,
198,
33,
796,
22131,
198,
64,
796,
18481,
515,
62,
18243,
3419,
198,
4798,
7,
64,
13,
12947,
7,
32,
11,
347,
4008,
198
] | 1.80531 | 113 |
import numpy as np
from collections.abc import Mapping
from mesohops.util.exceptions import AuxError
from scipy.special import binom
__title__ = "AuxiliaryVector Class"
__author__ = "D. I. G. Bennett"
__version__ = "1.0"
class AuxiliaryVector(Mapping):
"""
This is a class that encodes a sparse representation of auxiliary vectors
with some extra helper functions to simplify some common actions, such as:
determining the absolute index, adding a unit vector, and calculating the sum.
The class is not mutable - which is to say, once an auxiliary vector is defined,
it cannot be changed.
"""
__slots__ = ('dict_aux_vec', 'tuple_aux_vec', 'array_aux_vec', '__abs_index', '__len'
, 'hash', 'index', '_sum', '_dict_aux_p1', '_dict_aux_m1')
def __init__(self, aux_array, nmodes):
"""
INPUTS
------
1. aux_array : iterable
list of (mode, value) pairs for all non-zero indices of the auxiliary
vector
2. nmodes : int
the number of modes in the hierarchy which is the length of the dense
auxiliary vector.
RETURNS
-------
None
"""
self.dict_aux_vec = {
index_mode: aux_value for (index_mode, aux_value) in aux_array
}
self.tuple_aux_vec = tuple(
[tuple([mode, value]) for (mode, value) in aux_array]
)
self.array_aux_vec = np.array(aux_array)
if len(self.array_aux_vec)>0 and not np.all(np.diff(self.array_aux_vec[:,0])>0):
raise AuxError("array_aux_vec not properly ordered")
self.__abs_index = None
self.__len = nmodes
self.hash = hash(self.tuple_aux_vec)
self.index = None
self._sum = np.sum(self.values())
self._dict_aux_p1 = {}
self._dict_aux_m1 = {}
# Dictionary-like methods overwriting Mutable Mapping
# ===================================================
def keys(self):
"""
This function returns an array of mode indices for the auxiliary vectors
Parameters
----------
None
Returns
-------
1. keys : array
an array of mode indices with nonzero auxiliary index
"""
if len(self.dict_aux_vec) > 0:
return self.array_aux_vec[:, 0]
else:
return np.array([])
def values(self):
"""
This function returns an array of the auxiliary vector values
Parameters
----------
None
Returns
-------
1. values : array
an array of nonzero auxiliary index values
"""
if len(self.dict_aux_vec) > 0:
return self.array_aux_vec[:, 1]
else:
return np.array([])
# Comparison Methods
# ==================
def _compare(self, other, comparison_function):
"""
This function compares two auxiliary vectors
Parameters
----------
1. other : array
the array you want to compare
2. comparison_function : function
a comparison function
Returns
-------
1. bool_compare : bool
a boolean for the comparison
"""
if isinstance(other, AuxiliaryVector) and len(self) == len(other):
return comparison_function(self.absolute_index, other.absolute_index)
else:
return False
# Special Methods
# ===============
def difference_by_mode(self, other):
"""
Compares the current HopsAux object to another HopsAux object. If they differ
by only 1 step, then it returns the mode along which they differ.
Parameters
----------
1. other: HopsAux object
The HopsAux object to which the current object is compared.
Returns
-------
1. diff_mode : int or False
The mode index along which they differ or False if they differ
by more than 1 step.
"""
set_key_self = set(self.keys())
set_key_other = set(other.keys())
# Check that the two HopsAux belong to the same hierarchy
assert self.__len == len(other)
if np.abs(self._sum - other._sum) == 1:
if set_key_self == set_key_other:
values = np.abs(self.array_aux_vec[:,1]- other.array_aux_vec[:,1])
if np.sum(values) == 1:
return self.array_aux_vec[np.where(values)[0][0],0]
elif (len(set_key_self | set_key_other)
- len(set_key_self & set_key_other)) == 1:
value = 0
for key in set_key_self | set_key_other:
value += np.abs(self[key] - other[key])
if value == 1:
index = list((set_key_self | set_key_other) - (set_key_self &
set_key_other))[0]
return index
return False
def dot(self, vec):
"""
This is a function that performs a sparse dot product between the
auxiliary index vector and another vector.
Parameters
----------
1. vec : np.array
a vector
Returns
-------
1. product : float
the dot product value
"""
if len(self.dict_aux_vec) == 0:
return 0
else:
return np.dot(self.array_aux_vec[:, 1], vec[self.array_aux_vec[:, 0]])
def sum(self, **unused_kwargs):
"""
This function returns the sum of the auxiliary vector values
Parameters
----------
None
Returns
-------
1. sum : float
the sum of the nonzero values of the auxiliary vectors
"""
try:
return self._sum
except:
return np.sum(self.values())
def todense(self):
"""
This function will take a sparse vector and make it dense
Parameters
----------
None
Returns
-------
1. output : array
the dense vector
"""
output = np.zeros(self.__len)
if len(self.dict_aux_vec) == 0:
return output
output[self.keys()] = self.values()
return output
def toarray(self):
"""
This function converts a dict to an array
Parameters
----------
None
Returns
-------
1. array : array
a dict in an array form
"""
return self.array_aux_vec
def get_values(self, index_slice):
"""
This function gets the dense auxiliary vector values from a sub-indexed list
Parameters
----------
1. index_slice : list
a list of indices
Returns
-------
1. values : array
an array of values at the given indices
"""
return np.array([self.__getitem__(key) for key in index_slice])
def get_values_nonzero(self, index_slice):
"""
This function gets the sparse auxiliary vector values from a sub-indexed list
NOTE: the values are returned in key order not the order
they are present in index_slice
Parameters
----------
1. index_slice : list
a list of indices
Returns
-------
1. values : array
a sparse array of the non-zero auxiliary vector values
"""
return np.array(
[self.dict_aux_vec[key] for key in self.keys() if key in index_slice]
)
def e_step(self, mode, step):
"""
This function returns a new Auxiliary Vector with the desired step in the given
mode
Parameters
----------
1. mode : int
The absolute mode index
2. step : int
The change in the aux value for the given mode
Returns
-------
1. aux_vec : tuple
the new sparse auxiliary vector
"""
return AuxiliaryVector(self.tuple_from_e_step(mode, step), nmodes=self.__len)
def hash_from_e_step(self, mode, step):
"""
This function returns the hash of a new Auxiliary Vector with the desired step
in the given mode
Parameters
----------
1. mode : int
The absolute mode index
2. step : int
The change in the aux value for the given mode
Returns
-------
1. hash : int
the hash of the tuple sparse auxiliary vector created from e_step
"""
return hash(self.tuple_from_e_step(mode, step))
def tuple_from_e_step(self, mode, step):
"""
Returns the sparse tuple representation of the auxiliary that is the given step
length along the given absolute mode index away from the current auxiliary.
Parameters
----------
1. mode : int
The absolute mode index
2. step : int
The change in the aux value for the given mode
Returns
-------
1. tuple_aux : tuple
The sparse representation of the auxiliary (sorted mode order)
"""
if step == 0:
return self.tuple_aux_vec
elif self.__getitem__(mode) + step < 0:
return ((0, -1),)
elif len(self.dict_aux_vec) == 0:
return tuple([(mode, step)])
elif mode in self.array_aux_vec[:, 0]:
if self.__getitem__(mode) + step == 0:
return tuple(
[
tuple([mode_i, value_i])
for (mode_i, value_i) in self.tuple_aux_vec
if mode_i != mode
]
)
else:
return tuple(
[
tuple([mode_i, value_i + step])
if mode_i == mode
else tuple([mode_i, value_i])
for (mode_i, value_i) in self.tuple_aux_vec
]
)
else:
list_keys = list(self.dict_aux_vec.keys())
list_keys.append(mode)
list_keys.sort()
list_values = [
step if key == mode else self.dict_aux_vec[key] for key in list_keys
]
return tuple(
[tuple([mode, value]) for (mode, value) in zip(list_keys, list_values)]
)
def index_analytic(self):
"""
This function provides an absolute index value for an auxiliary
vector using an analytic function of the indices. The basic idea
is that the indices are always ordered by increasing hierarchy
'level' (i.e. the sum of the indices). Within a level they are ordered
by first comparing the first values, then the second values, etc.
This gives the indexing a particularly simple form with a level:
L = sum(i_0,...,i_n)
(i_0, ... i_N) = sum_n<N sum_L>ln>i_n ((N-n-1 , L-sum(aux[:n])-ln)
where ((L,K)) denotes a L multichoose K.
The derivation of the following equations is given on p. 68 of
Quantum Notebook #1. The sums have been removed by making use of the
binomial sum property and the binomial symmetry property. The result is
a equation that only sums over a number of elements equal to the number
of non-zero terms in aux.
PARAMETERS
----------
None
RETURNS
-------
1. index : int
the absolute index for an auxiliary
"""
# Constants
# ---------
aux = self.toarray()
n_hmode = self.__len
L = self.sum()
if not aux.size:
return 0
else:
# Calculate number of aux at order less than L
# --------------------------------------------
n_aux_below_l = int(binom(n_hmode + L - 1, L - 1))
# Calculate N+ contribution
# -------------------------
list_np_boxes = [n_hmode]
list_np_boxes.extend(n_hmode - aux[:-1, 0] - 1)
list_np_boxes = np.array(list_np_boxes)
list_np_balls = [L]
list_np_balls.extend(L - np.cumsum(aux[:-1, 1]))
list_np_balls = np.array(list_np_balls)
n_plus = np.nansum(
binom(list_np_boxes + list_np_balls - 1, list_np_boxes - 1)
)
# Calculate N- contributions
# --------------------------
list_nm_boxes = n_hmode - aux[:, 0] - 1
n_minus = np.nansum(binom(list_nm_boxes + list_np_balls, list_nm_boxes))
# calculate M contributions
# -------------------------
list_m_balls = L - np.cumsum(aux[:, 1]) - 1
m = np.nansum(binom(list_nm_boxes + list_m_balls, list_m_balls))
return int(n_aux_below_l + m + n_plus - n_minus)
def add_aux_connect(self, index_mode, aux_other, type):
"""
The function that updates the HopsAux object to contain a pointer to the
other HopsAux objects it is connected to.
Parameters
----------
1. index_mode : int
the mode along which the two HopsAux objects are connected
2. aux_other : HopsAux
the HopsAux object it is connected to
3. type : int
+1 or -1 depending on if the other aux has a larger or smaller sum
Returns
-------
1. None
"""
if type == 1:
self._dict_aux_p1.update({index_mode: aux_other})
elif type == -1:
self._dict_aux_m1.update({index_mode: aux_other})
else:
raise AuxError('add_aux_connect does not support type={}'.format(type))
def remove_aux_connect(self, index_mode, type):
"""
The function that removes the connection between the HopsAux object and another
connected with type (+1/-1) along index mode.
Parameters
----------
1. index_mode : int
the mode along which the two HopsAux objects are connected
2. type : int
+1 or -1 depending on if the other aux has a larger or smaller sum
Returns
-------
1. None
"""
if type == 1:
self._dict_aux_p1.pop(index_mode)
elif type == -1:
self._dict_aux_m1.pop(index_mode)
else:
raise AuxError('add_aux_connect does not support type={}'.format(type))
def remove_pointers(self):
"""
The function that removes all pointers targeting the current HopsAux object
from the set of HopsAux objects it has connections to.
Parameters
----------
1. None
Returns
-------
1. None
"""
for (index_mode, aux) in self.dict_aux_p1.items():
aux.remove_aux_connect(index_mode, -1)
for (index_mode, aux) in self.dict_aux_m1.items():
aux.remove_aux_connect(index_mode, 1)
self._dict_aux_m1 = {}
self._dict_aux_p1 = {}
@property
@property
@property
| [
11748,
299,
32152,
355,
45941,
198,
6738,
17268,
13,
39305,
1330,
337,
5912,
198,
6738,
18842,
1219,
2840,
13,
22602,
13,
1069,
11755,
1330,
47105,
12331,
198,
6738,
629,
541,
88,
13,
20887,
1330,
9874,
296,
198,
198,
834,
7839,
834,
796,
366,
32,
2821,
28129,
38469,
5016,
1,
198,
834,
9800,
834,
796,
366,
35,
13,
314,
13,
402,
13,
17468,
1,
198,
834,
9641,
834,
796,
366,
16,
13,
15,
1,
628,
198,
4871,
47105,
28129,
38469,
7,
44,
5912,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
770,
318,
257,
1398,
326,
2207,
4147,
257,
29877,
10552,
286,
37419,
30104,
198,
220,
220,
220,
351,
617,
3131,
31904,
5499,
284,
30276,
617,
2219,
4028,
11,
884,
355,
25,
198,
220,
220,
220,
13213,
262,
4112,
6376,
11,
4375,
257,
4326,
15879,
11,
290,
26019,
262,
2160,
13,
628,
220,
220,
220,
383,
1398,
318,
407,
4517,
540,
532,
543,
318,
284,
910,
11,
1752,
281,
37419,
15879,
318,
5447,
11,
198,
220,
220,
220,
340,
2314,
307,
3421,
13,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
11593,
6649,
1747,
834,
796,
19203,
11600,
62,
14644,
62,
35138,
3256,
705,
83,
29291,
62,
14644,
62,
35138,
3256,
705,
18747,
62,
14644,
62,
35138,
3256,
705,
834,
8937,
62,
9630,
3256,
705,
834,
11925,
6,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
837,
705,
17831,
3256,
705,
9630,
3256,
705,
62,
16345,
3256,
705,
62,
11600,
62,
14644,
62,
79,
16,
3256,
705,
62,
11600,
62,
14644,
62,
76,
16,
11537,
628,
220,
220,
220,
825,
11593,
15003,
834,
7,
944,
11,
27506,
62,
18747,
11,
28642,
4147,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3268,
30076,
50,
198,
220,
220,
220,
220,
220,
220,
220,
40103,
198,
220,
220,
220,
220,
220,
220,
220,
352,
13,
27506,
62,
18747,
1058,
11629,
540,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1351,
286,
357,
14171,
11,
1988,
8,
14729,
329,
477,
1729,
12,
22570,
36525,
286,
262,
37419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15879,
198,
220,
220,
220,
220,
220,
220,
220,
362,
13,
28642,
4147,
1058,
493,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
262,
1271,
286,
12881,
287,
262,
18911,
543,
318,
262,
4129,
286,
262,
15715,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
37419,
15879,
13,
628,
220,
220,
220,
220,
220,
220,
220,
30826,
4261,
8035,
198,
220,
220,
220,
220,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
11600,
62,
14644,
62,
35138,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6376,
62,
14171,
25,
27506,
62,
8367,
329,
357,
9630,
62,
14171,
11,
27506,
62,
8367,
8,
287,
27506,
62,
18747,
198,
220,
220,
220,
220,
220,
220,
220,
1782,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
83,
29291,
62,
14644,
62,
35138,
796,
46545,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
83,
29291,
26933,
14171,
11,
1988,
12962,
329,
357,
14171,
11,
1988,
8,
287,
27506,
62,
18747,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
18747,
62,
14644,
62,
35138,
796,
45941,
13,
18747,
7,
14644,
62,
18747,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
944,
13,
18747,
62,
14644,
62,
35138,
8,
29,
15,
290,
407,
45941,
13,
439,
7,
37659,
13,
26069,
7,
944,
13,
18747,
62,
14644,
62,
35138,
58,
45299,
15,
12962,
29,
15,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
47105,
12331,
7203,
18747,
62,
14644,
62,
35138,
407,
6105,
6149,
4943,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
8937,
62,
9630,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
834,
11925,
796,
28642,
4147,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
17831,
796,
12234,
7,
944,
13,
83,
29291,
62,
14644,
62,
35138,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13,
9630,
796,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
16345,
796,
45941,
13,
16345,
7,
944,
13,
27160,
28955,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
11600,
62,
14644,
62,
79,
16,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
11600,
62,
14644,
62,
76,
16,
796,
23884,
628,
220,
220,
220,
1303,
28261,
12,
2339,
5050,
6993,
799,
278,
13859,
540,
337,
5912,
198,
220,
220,
220,
1303,
46111,
4770,
855,
628,
220,
220,
220,
825,
8251,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
770,
2163,
5860,
281,
7177,
286,
4235,
36525,
329,
262,
37419,
30104,
628,
220,
220,
220,
220,
220,
220,
220,
40117,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
6045,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
198,
220,
220,
220,
220,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
352,
13,
8251,
1058,
7177,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
281,
7177,
286,
4235,
36525,
351,
1729,
22570,
37419,
6376,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
944,
13,
11600,
62,
14644,
62,
35138,
8,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
18747,
62,
14644,
62,
35138,
58,
45299,
657,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
45941,
13,
18747,
26933,
12962,
628,
220,
220,
220,
825,
3815,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
770,
2163,
5860,
281,
7177,
286,
262,
37419,
15879,
3815,
628,
220,
220,
220,
220,
220,
220,
220,
40117,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
6045,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
198,
220,
220,
220,
220,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
352,
13,
3815,
1058,
7177,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
281,
7177,
286,
1729,
22570,
37419,
6376,
3815,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
944,
13,
11600,
62,
14644,
62,
35138,
8,
1875,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
18747,
62,
14644,
62,
35138,
58,
45299,
352,
60,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
45941,
13,
18747,
26933,
12962,
628,
220,
220,
220,
1303,
34420,
25458,
198,
220,
220,
220,
1303,
36658,
28,
628,
220,
220,
220,
825,
4808,
5589,
533,
7,
944,
11,
584,
11,
7208,
62,
8818,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
770,
2163,
23008,
734,
37419,
30104,
628,
220,
220,
220,
220,
220,
220,
220,
40117,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
352,
13,
584,
1058,
7177,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
262,
7177,
345,
765,
284,
8996,
198,
220,
220,
220,
220,
220,
220,
220,
362,
13,
7208,
62,
8818,
1058,
2163,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
7208,
2163,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
198,
220,
220,
220,
220,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
352,
13,
20512,
62,
5589,
533,
1058,
20512,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
25131,
329,
262,
7208,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
318,
39098,
7,
847,
11,
47105,
28129,
38469,
8,
290,
18896,
7,
944,
8,
6624,
18896,
7,
847,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
7208,
62,
8818,
7,
944,
13,
48546,
62,
9630,
11,
584,
13,
48546,
62,
9630,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
10352,
628,
220,
220,
220,
1303,
6093,
25458,
198,
220,
220,
220,
1303,
796,
25609,
855,
198,
220,
220,
220,
825,
3580,
62,
1525,
62,
14171,
7,
944,
11,
584,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
3082,
3565,
262,
1459,
367,
2840,
32,
2821,
2134,
284,
1194,
367,
2840,
32,
2821,
2134,
13,
1002,
484,
13238,
198,
220,
220,
220,
220,
220,
220,
220,
416,
691,
352,
2239,
11,
788,
340,
5860,
262,
4235,
1863,
543,
484,
13238,
13,
628,
220,
220,
220,
220,
220,
220,
220,
40117,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
352,
13,
584,
25,
367,
2840,
32,
2821,
2134,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
367,
2840,
32,
2821,
2134,
284,
543,
262,
1459,
2134,
318,
3688,
13,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
198,
220,
220,
220,
220,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
352,
13,
814,
62,
14171,
1058,
493,
393,
10352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
4235,
6376,
1863,
543,
484,
13238,
393,
10352,
611,
484,
13238,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
416,
517,
621,
352,
2239,
13,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
900,
62,
2539,
62,
944,
796,
900,
7,
944,
13,
13083,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
900,
62,
2539,
62,
847,
796,
900,
7,
847,
13,
13083,
28955,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
6822,
326,
262,
734,
367,
2840,
32,
2821,
5594,
284,
262,
976,
18911,
198,
220,
220,
220,
220,
220,
220,
220,
6818,
2116,
13,
834,
11925,
6624,
18896,
7,
847,
8,
628,
220,
220,
220,
220,
220,
220,
220,
611,
45941,
13,
8937,
7,
944,
13557,
16345,
532,
584,
13557,
16345,
8,
6624,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
900,
62,
2539,
62,
944,
6624,
900,
62,
2539,
62,
847,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3815,
796,
45941,
13,
8937,
7,
944,
13,
18747,
62,
14644,
62,
35138,
58,
45299,
16,
45297,
584,
13,
18747,
62,
14644,
62,
35138,
58,
45299,
16,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
45941,
13,
16345,
7,
27160,
8,
6624,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
18747,
62,
14644,
62,
35138,
58,
37659,
13,
3003,
7,
27160,
38381,
15,
7131,
15,
4357,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
357,
11925,
7,
2617,
62,
2539,
62,
944,
930,
900,
62,
2539,
62,
847,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
532,
18896,
7,
2617,
62,
2539,
62,
944,
1222,
900,
62,
2539,
62,
847,
4008,
6624,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
796,
657,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
1994,
287,
900,
62,
2539,
62,
944,
930,
900,
62,
2539,
62,
847,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1988,
15853,
45941,
13,
8937,
7,
944,
58,
2539,
60,
532,
584,
58,
2539,
12962,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
1988,
6624,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6376,
796,
1351,
19510,
2617,
62,
2539,
62,
944,
930,
900,
62,
2539,
62,
847,
8,
532,
357,
2617,
62,
2539,
62,
944,
1222,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
900,
62,
2539,
62,
847,
4008,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6376,
628,
220,
220,
220,
220,
220,
220,
220,
1441,
10352,
628,
220,
220,
220,
825,
16605,
7,
944,
11,
43030,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
770,
318,
257,
2163,
326,
17706,
257,
29877,
16605,
1720,
1022,
262,
198,
220,
220,
220,
220,
220,
220,
220,
37419,
6376,
15879,
290,
1194,
15879,
13,
628,
220,
220,
220,
220,
220,
220,
220,
40117,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
352,
13,
43030,
1058,
45941,
13,
18747,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
15879,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
198,
220,
220,
220,
220,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
352,
13,
1720,
1058,
12178,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
262,
16605,
1720,
1988,
628,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
944,
13,
11600,
62,
14644,
62,
35138,
8,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
657,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
45941,
13,
26518,
7,
944,
13,
18747,
62,
14644,
62,
35138,
58,
45299,
352,
4357,
43030,
58,
944,
13,
18747,
62,
14644,
62,
35138,
58,
45299,
657,
11907,
8,
628,
220,
220,
220,
825,
2160,
7,
944,
11,
12429,
403,
1484,
62,
46265,
22046,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
770,
2163,
5860,
262,
2160,
286,
262,
37419,
15879,
3815,
628,
220,
220,
220,
220,
220,
220,
220,
40117,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
6045,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
198,
220,
220,
220,
220,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
352,
13,
2160,
1058,
12178,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
262,
2160,
286,
262,
1729,
22570,
3815,
286,
262,
37419,
30104,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13557,
16345,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
45941,
13,
16345,
7,
944,
13,
27160,
28955,
628,
220,
220,
220,
825,
284,
67,
1072,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
770,
2163,
481,
1011,
257,
29877,
15879,
290,
787,
340,
15715,
628,
220,
220,
220,
220,
220,
220,
220,
40117,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
6045,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
198,
220,
220,
220,
220,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
352,
13,
5072,
1058,
7177,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
262,
15715,
15879,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
796,
45941,
13,
9107,
418,
7,
944,
13,
834,
11925,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
18896,
7,
944,
13,
11600,
62,
14644,
62,
35138,
8,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
5072,
198,
220,
220,
220,
220,
220,
220,
220,
5072,
58,
944,
13,
13083,
3419,
60,
796,
2116,
13,
27160,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
5072,
628,
220,
220,
220,
825,
284,
18747,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
770,
2163,
26161,
257,
8633,
284,
281,
7177,
628,
220,
220,
220,
220,
220,
220,
220,
40117,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
6045,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
198,
220,
220,
220,
220,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
352,
13,
7177,
1058,
7177,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
8633,
287,
281,
7177,
1296,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
18747,
62,
14644,
62,
35138,
628,
220,
220,
220,
825,
651,
62,
27160,
7,
944,
11,
6376,
62,
48369,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
770,
2163,
3011,
262,
15715,
37419,
15879,
3815,
422,
257,
850,
12,
9630,
276,
1351,
628,
220,
220,
220,
220,
220,
220,
220,
40117,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
352,
13,
6376,
62,
48369,
1058,
1351,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
1351,
286,
36525,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
198,
220,
220,
220,
220,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
352,
13,
3815,
1058,
7177,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
281,
7177,
286,
3815,
379,
262,
1813,
36525,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
45941,
13,
18747,
26933,
944,
13,
834,
1136,
9186,
834,
7,
2539,
8,
329,
1994,
287,
6376,
62,
48369,
12962,
628,
220,
220,
220,
825,
651,
62,
27160,
62,
13159,
22570,
7,
944,
11,
6376,
62,
48369,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
770,
2163,
3011,
262,
29877,
37419,
15879,
3815,
422,
257,
850,
12,
9630,
276,
1351,
628,
220,
220,
220,
220,
220,
220,
220,
24550,
25,
262,
3815,
389,
4504,
287,
1994,
1502,
407,
262,
1502,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
484,
389,
1944,
287,
6376,
62,
48369,
628,
220,
220,
220,
220,
220,
220,
220,
40117,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
352,
13,
6376,
62,
48369,
1058,
1351,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
1351,
286,
36525,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
198,
220,
220,
220,
220,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
352,
13,
3815,
1058,
7177,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
257,
29877,
7177,
286,
262,
1729,
12,
22570,
37419,
15879,
3815,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
45941,
13,
18747,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
944,
13,
11600,
62,
14644,
62,
35138,
58,
2539,
60,
329,
1994,
287,
2116,
13,
13083,
3419,
611,
1994,
287,
6376,
62,
48369,
60,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
825,
304,
62,
9662,
7,
944,
11,
4235,
11,
2239,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
770,
2163,
5860,
257,
649,
47105,
28129,
20650,
351,
262,
10348,
2239,
287,
262,
1813,
198,
220,
220,
220,
220,
220,
220,
220,
4235,
628,
220,
220,
220,
220,
220,
220,
220,
40117,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
352,
13,
4235,
1058,
493,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
4112,
4235,
6376,
198,
220,
220,
220,
220,
220,
220,
220,
362,
13,
2239,
1058,
493,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
1487,
287,
262,
27506,
1988,
329,
262,
1813,
4235,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
198,
220,
220,
220,
220,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
352,
13,
27506,
62,
35138,
1058,
46545,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
262,
649,
29877,
37419,
15879,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
47105,
28129,
38469,
7,
944,
13,
83,
29291,
62,
6738,
62,
68,
62,
9662,
7,
14171,
11,
2239,
828,
28642,
4147,
28,
944,
13,
834,
11925,
8,
628,
220,
220,
220,
825,
12234,
62,
6738,
62,
68,
62,
9662,
7,
944,
11,
4235,
11,
2239,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
770,
2163,
5860,
262,
12234,
286,
257,
649,
47105,
28129,
20650,
351,
262,
10348,
2239,
198,
220,
220,
220,
220,
220,
220,
220,
287,
262,
1813,
4235,
628,
220,
220,
220,
220,
220,
220,
220,
40117,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
352,
13,
4235,
1058,
493,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
4112,
4235,
6376,
198,
220,
220,
220,
220,
220,
220,
220,
362,
13,
2239,
1058,
493,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
1487,
287,
262,
27506,
1988,
329,
262,
1813,
4235,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
198,
220,
220,
220,
220,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
352,
13,
12234,
1058,
493,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
262,
12234,
286,
262,
46545,
29877,
37419,
15879,
2727,
422,
304,
62,
9662,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
12234,
7,
944,
13,
83,
29291,
62,
6738,
62,
68,
62,
9662,
7,
14171,
11,
2239,
4008,
628,
220,
220,
220,
825,
46545,
62,
6738,
62,
68,
62,
9662,
7,
944,
11,
4235,
11,
2239,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
262,
29877,
46545,
10552,
286,
262,
37419,
326,
318,
262,
1813,
2239,
198,
220,
220,
220,
220,
220,
220,
220,
4129,
1863,
262,
1813,
4112,
4235,
6376,
1497,
422,
262,
1459,
37419,
13,
628,
220,
220,
220,
220,
220,
220,
220,
40117,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
352,
13,
4235,
1058,
493,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
4112,
4235,
6376,
198,
220,
220,
220,
220,
220,
220,
220,
362,
13,
2239,
1058,
493,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
1487,
287,
262,
27506,
1988,
329,
262,
1813,
4235,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
198,
220,
220,
220,
220,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
352,
13,
46545,
62,
14644,
1058,
46545,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
383,
29877,
10552,
286,
262,
37419,
357,
82,
9741,
4235,
1502,
8,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2239,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
2116,
13,
83,
29291,
62,
14644,
62,
35138,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
2116,
13,
834,
1136,
9186,
834,
7,
14171,
8,
1343,
2239,
1279,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
14808,
15,
11,
532,
16,
828,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
18896,
7,
944,
13,
11600,
62,
14644,
62,
35138,
8,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
46545,
26933,
7,
14171,
11,
2239,
8,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
4235,
287,
2116,
13,
18747,
62,
14644,
62,
35138,
58,
45299,
657,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
2116,
13,
834,
1136,
9186,
834,
7,
14171,
8,
1343,
2239,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
46545,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
46545,
26933,
14171,
62,
72,
11,
1988,
62,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
357,
14171,
62,
72,
11,
1988,
62,
72,
8,
287,
2116,
13,
83,
29291,
62,
14644,
62,
35138,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4235,
62,
72,
14512,
4235,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2361,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
46545,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
46545,
26933,
14171,
62,
72,
11,
1988,
62,
72,
1343,
2239,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4235,
62,
72,
6624,
4235,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
46545,
26933,
14171,
62,
72,
11,
1988,
62,
72,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
329,
357,
14171,
62,
72,
11,
1988,
62,
72,
8,
287,
2116,
13,
83,
29291,
62,
14644,
62,
35138,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2361,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1351,
62,
13083,
796,
1351,
7,
944,
13,
11600,
62,
14644,
62,
35138,
13,
13083,
28955,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1351,
62,
13083,
13,
33295,
7,
14171,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1351,
62,
13083,
13,
30619,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1351,
62,
27160,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2239,
611,
1994,
6624,
4235,
2073,
2116,
13,
11600,
62,
14644,
62,
35138,
58,
2539,
60,
329,
1994,
287,
1351,
62,
13083,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2361,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
46545,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
685,
83,
29291,
26933,
14171,
11,
1988,
12962,
329,
357,
14171,
11,
1988,
8,
287,
19974,
7,
4868,
62,
13083,
11,
1351,
62,
27160,
15437,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
825,
6376,
62,
38200,
13370,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
220,
770,
2163,
3769,
281,
4112,
6376,
1988,
329,
281,
37419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
15879,
1262,
281,
49166,
2163,
286,
262,
36525,
13,
383,
4096,
2126,
198,
220,
220,
220,
220,
220,
220,
220,
220,
318,
326,
262,
36525,
389,
1464,
6149,
416,
3649,
18911,
198,
220,
220,
220,
220,
220,
220,
220,
220,
705,
5715,
6,
357,
72,
13,
68,
13,
262,
2160,
286,
262,
36525,
737,
12511,
257,
1241,
484,
389,
6149,
198,
220,
220,
220,
220,
220,
220,
220,
220,
416,
717,
14176,
262,
717,
3815,
11,
788,
262,
1218,
3815,
11,
3503,
13,
628,
198,
220,
220,
220,
220,
220,
220,
220,
220,
770,
3607,
262,
6376,
278,
257,
3573,
2829,
1296,
351,
257,
1241,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
406,
796,
2160,
7,
72,
62,
15,
42303,
11,
72,
62,
77,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
357,
72,
62,
15,
11,
2644,
1312,
62,
45,
8,
796,
2160,
62,
77,
27,
45,
2160,
62,
43,
29,
18755,
29,
72,
62,
77,
14808,
45,
12,
77,
12,
16,
837,
406,
12,
16345,
7,
14644,
58,
25,
77,
12962,
12,
18755,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
810,
14808,
43,
11,
42,
4008,
43397,
257,
406,
1963,
38720,
577,
509,
13,
628,
220,
220,
220,
220,
220,
220,
220,
220,
383,
16124,
341,
286,
262,
1708,
27490,
318,
1813,
319,
279,
13,
8257,
286,
198,
220,
220,
220,
220,
220,
220,
220,
220,
29082,
5740,
2070,
1303,
16,
13,
383,
21784,
423,
587,
4615,
416,
1642,
779,
286,
262,
198,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
49070,
2160,
3119,
290,
262,
9874,
49070,
40686,
3119,
13,
383,
1255,
318,
198,
220,
220,
220,
220,
220,
220,
220,
220,
257,
16022,
326,
691,
21784,
625,
257,
1271,
286,
4847,
4961,
284,
262,
1271,
198,
220,
220,
220,
220,
220,
220,
220,
220,
286,
1729,
12,
22570,
2846,
287,
27506,
13,
628,
198,
220,
220,
220,
220,
220,
220,
220,
220,
29463,
2390,
2767,
4877,
198,
220,
220,
220,
220,
220,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
220,
6045,
628,
220,
220,
220,
220,
220,
220,
220,
220,
30826,
4261,
8035,
198,
220,
220,
220,
220,
220,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
220,
352,
13,
6376,
1058,
493,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
262,
4112,
6376,
329,
281,
37419,
628,
220,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
4757,
1187,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
45337,
198,
220,
220,
220,
220,
220,
220,
220,
27506,
796,
2116,
13,
1462,
18747,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
299,
62,
71,
14171,
796,
2116,
13,
834,
11925,
198,
220,
220,
220,
220,
220,
220,
220,
406,
796,
2116,
13,
16345,
3419,
628,
220,
220,
220,
220,
220,
220,
220,
611,
407,
27506,
13,
7857,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
657,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
27131,
378,
1271,
286,
27506,
379,
1502,
1342,
621,
406,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
20368,
10541,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
62,
14644,
62,
35993,
62,
75,
796,
493,
7,
8800,
296,
7,
77,
62,
71,
14171,
1343,
406,
532,
352,
11,
406,
532,
352,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
27131,
378,
399,
10,
10156,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
22369,
12,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1351,
62,
37659,
62,
29305,
796,
685,
77,
62,
71,
14171,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1351,
62,
37659,
62,
29305,
13,
2302,
437,
7,
77,
62,
71,
14171,
532,
27506,
58,
21912,
16,
11,
657,
60,
532,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1351,
62,
37659,
62,
29305,
796,
45941,
13,
18747,
7,
4868,
62,
37659,
62,
29305,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1351,
62,
37659,
62,
21591,
796,
685,
43,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1351,
62,
37659,
62,
21591,
13,
2302,
437,
7,
43,
532,
45941,
13,
66,
5700,
388,
7,
14644,
58,
21912,
16,
11,
352,
60,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1351,
62,
37659,
62,
21591,
796,
45941,
13,
18747,
7,
4868,
62,
37659,
62,
21591,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
62,
9541,
796,
45941,
13,
77,
504,
388,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
9874,
296,
7,
4868,
62,
37659,
62,
29305,
1343,
1351,
62,
37659,
62,
21591,
532,
352,
11,
1351,
62,
37659,
62,
29305,
532,
352,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1267,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
27131,
378,
399,
12,
9284,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
22369,
438,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1351,
62,
21533,
62,
29305,
796,
299,
62,
71,
14171,
532,
27506,
58,
45299,
657,
60,
532,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
299,
62,
40191,
796,
45941,
13,
77,
504,
388,
7,
8800,
296,
7,
4868,
62,
21533,
62,
29305,
1343,
1351,
62,
37659,
62,
21591,
11,
1351,
62,
21533,
62,
29305,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
15284,
337,
9284,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
22369,
12,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1351,
62,
76,
62,
21591,
796,
406,
532,
45941,
13,
66,
5700,
388,
7,
14644,
58,
45299,
352,
12962,
532,
352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
285,
796,
45941,
13,
77,
504,
388,
7,
8800,
296,
7,
4868,
62,
21533,
62,
29305,
1343,
1351,
62,
76,
62,
21591,
11,
1351,
62,
76,
62,
21591,
4008,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
493,
7,
77,
62,
14644,
62,
35993,
62,
75,
1343,
285,
1343,
299,
62,
9541,
532,
299,
62,
40191,
8,
628,
220,
220,
220,
825,
751,
62,
14644,
62,
8443,
7,
944,
11,
6376,
62,
14171,
11,
27506,
62,
847,
11,
2099,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2163,
326,
5992,
262,
367,
2840,
32,
2821,
2134,
284,
3994,
257,
17562,
284,
262,
198,
220,
220,
220,
220,
220,
220,
220,
584,
367,
2840,
32,
2821,
5563,
340,
318,
5884,
284,
13,
628,
220,
220,
220,
220,
220,
220,
220,
40117,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
352,
13,
6376,
62,
14171,
1058,
493,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
262,
4235,
1863,
543,
262,
734,
367,
2840,
32,
2821,
5563,
389,
5884,
198,
220,
220,
220,
220,
220,
220,
220,
362,
13,
27506,
62,
847,
1058,
367,
2840,
32,
2821,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
262,
367,
2840,
32,
2821,
2134,
340,
318,
5884,
284,
198,
220,
220,
220,
220,
220,
220,
220,
513,
13,
2099,
1058,
493,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1343,
16,
393,
532,
16,
6906,
319,
611,
262,
584,
27506,
468,
257,
4025,
393,
4833,
2160,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
198,
220,
220,
220,
220,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
352,
13,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2099,
6624,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
11600,
62,
14644,
62,
79,
16,
13,
19119,
15090,
9630,
62,
14171,
25,
27506,
62,
847,
30072,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
2099,
6624,
532,
16,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
11600,
62,
14644,
62,
76,
16,
13,
19119,
15090,
9630,
62,
14171,
25,
27506,
62,
847,
30072,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
47105,
12331,
10786,
2860,
62,
14644,
62,
8443,
857,
407,
1104,
2099,
34758,
92,
4458,
18982,
7,
4906,
4008,
628,
220,
220,
220,
825,
4781,
62,
14644,
62,
8443,
7,
944,
11,
6376,
62,
14171,
11,
2099,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2163,
326,
20694,
262,
4637,
1022,
262,
367,
2840,
32,
2821,
2134,
290,
1194,
198,
220,
220,
220,
220,
220,
220,
220,
5884,
351,
2099,
11502,
16,
16327,
16,
8,
1863,
6376,
4235,
13,
628,
220,
220,
220,
220,
220,
220,
220,
40117,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
352,
13,
6376,
62,
14171,
1058,
493,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
262,
4235,
1863,
543,
262,
734,
367,
2840,
32,
2821,
5563,
389,
5884,
198,
220,
220,
220,
220,
220,
220,
220,
362,
13,
2099,
1058,
493,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1343,
16,
393,
532,
16,
6906,
319,
611,
262,
584,
27506,
468,
257,
4025,
393,
4833,
2160,
198,
220,
220,
220,
220,
220,
220,
220,
16409,
198,
220,
220,
220,
220,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
352,
13,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
611,
2099,
6624,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
11600,
62,
14644,
62,
79,
16,
13,
12924,
7,
9630,
62,
14171,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1288,
361,
2099,
6624,
532,
16,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
11600,
62,
14644,
62,
76,
16,
13,
12924,
7,
9630,
62,
14171,
8,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
47105,
12331,
10786,
2860,
62,
14644,
62,
8443,
857,
407,
1104,
2099,
34758,
92,
4458,
18982,
7,
4906,
4008,
628,
220,
220,
220,
825,
4781,
62,
47809,
7,
944,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
383,
2163,
326,
20694,
477,
32007,
10822,
262,
1459,
367,
2840,
32,
2821,
2134,
198,
220,
220,
220,
220,
220,
220,
220,
422,
262,
900,
286,
367,
2840,
32,
2821,
5563,
340,
468,
8787,
284,
13,
628,
220,
220,
220,
220,
220,
220,
220,
40117,
198,
220,
220,
220,
220,
220,
220,
220,
24200,
438,
198,
220,
220,
220,
220,
220,
220,
220,
352,
13,
6045,
628,
220,
220,
220,
220,
220,
220,
220,
16409,
198,
220,
220,
220,
220,
220,
220,
220,
35656,
198,
220,
220,
220,
220,
220,
220,
220,
352,
13,
6045,
198,
220,
220,
220,
220,
220,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
329,
357,
9630,
62,
14171,
11,
27506,
8,
287,
2116,
13,
11600,
62,
14644,
62,
79,
16,
13,
23814,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
27506,
13,
28956,
62,
14644,
62,
8443,
7,
9630,
62,
14171,
11,
532,
16,
8,
628,
220,
220,
220,
220,
220,
220,
220,
329,
357,
9630,
62,
14171,
11,
27506,
8,
287,
2116,
13,
11600,
62,
14644,
62,
76,
16,
13,
23814,
33529,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
27506,
13,
28956,
62,
14644,
62,
8443,
7,
9630,
62,
14171,
11,
352,
8,
628,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
11600,
62,
14644,
62,
76,
16,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
2116,
13557,
11600,
62,
14644,
62,
79,
16,
796,
23884,
628,
220,
220,
220,
2488,
26745,
628,
220,
220,
220,
2488,
26745,
628,
220,
220,
220,
2488,
26745,
628,
198
] | 2.090631 | 7,525 |
import os
from app import create_app, db, cli
from flask import current_app
from flask_security import Security, SQLAlchemyUserDatastore, current_user
from flask_security.utils import encrypt_password
from app.auth.models import Role, User
# Setup Flask-Security
app = create_app()
with app.app_context():
user_datastore = SQLAlchemyUserDatastore(db, User, Role)
user_datastore.create_user(email=os.environ.get('ADMIN_USERNAME'), password=encrypt_password(os.environ.get('ADMIN_PASSWORD')))
db.session.commit()
| [
11748,
28686,
198,
6738,
598,
1330,
2251,
62,
1324,
11,
20613,
11,
537,
72,
198,
6738,
42903,
1330,
1459,
62,
1324,
198,
6738,
42903,
62,
12961,
1330,
4765,
11,
16363,
2348,
26599,
12982,
27354,
459,
382,
11,
1459,
62,
7220,
198,
6738,
42903,
62,
12961,
13,
26791,
1330,
34117,
62,
28712,
198,
6738,
598,
13,
18439,
13,
27530,
1330,
20934,
11,
11787,
198,
2,
31122,
46947,
12,
24074,
198,
1324,
796,
2251,
62,
1324,
3419,
198,
4480,
598,
13,
1324,
62,
22866,
33529,
198,
220,
220,
220,
2836,
62,
19608,
459,
382,
796,
16363,
2348,
26599,
12982,
27354,
459,
382,
7,
9945,
11,
11787,
11,
20934,
8,
198,
220,
220,
220,
2836,
62,
19608,
459,
382,
13,
17953,
62,
7220,
7,
12888,
28,
418,
13,
268,
2268,
13,
1136,
10786,
2885,
23678,
62,
29904,
20608,
33809,
9206,
28,
12685,
6012,
62,
28712,
7,
418,
13,
268,
2268,
13,
1136,
10786,
2885,
23678,
62,
47924,
54,
12532,
6,
22305,
198,
220,
220,
220,
20613,
13,
29891,
13,
41509,
3419,
198
] | 3.094675 | 169 |
import pytest
import numpy as np
from bionumpy.position_weight_matrix import PositionWeightMatrix
@pytest.fixture
@pytest.fixture
@pytest.fixture
| [
11748,
12972,
9288,
198,
11748,
299,
32152,
355,
45941,
198,
198,
6738,
275,
295,
32152,
13,
9150,
62,
6551,
62,
6759,
8609,
1330,
23158,
25844,
46912,
628,
198,
31,
9078,
9288,
13,
69,
9602,
628,
198,
31,
9078,
9288,
13,
69,
9602,
628,
198,
31,
9078,
9288,
13,
69,
9602,
628,
198
] | 2.980769 | 52 |
import argparse
from track import *
parser = argparse.ArgumentParser()
parser.add_argument('-mp','--model_path',help='path to model',type=str)
parser.add_argument('-vp','--video_path',help='path to the video',type=str)
parser.add_argument('-od','--output_dir',help='path to save the video',type=str)
if __name__=='__main__':
args = parser.parse_args()
out_dir = args.output_dir
model_path = args.model_path
video_path = args.video_path
dl = datasets.LoadVideo(video_path, (1088,608))
opt = opts().init()
opt.load_model = model_path
show_image = False
output_dir = out_dir
eval_seq(opt, dl, 'mot',save_dir=output_dir, show_image=show_image)
| [
11748,
1822,
29572,
198,
6738,
2610,
1330,
1635,
198,
198,
48610,
796,
1822,
29572,
13,
28100,
1713,
46677,
3419,
198,
48610,
13,
2860,
62,
49140,
10786,
12,
3149,
41707,
438,
19849,
62,
6978,
3256,
16794,
11639,
6978,
284,
2746,
3256,
4906,
28,
2536,
8,
198,
48610,
13,
2860,
62,
49140,
10786,
12,
36133,
41707,
438,
15588,
62,
6978,
3256,
16794,
11639,
6978,
284,
262,
2008,
3256,
4906,
28,
2536,
8,
198,
48610,
13,
2860,
62,
49140,
10786,
12,
375,
41707,
438,
22915,
62,
15908,
3256,
16794,
11639,
6978,
284,
3613,
262,
2008,
3256,
4906,
28,
2536,
8,
628,
628,
198,
361,
11593,
3672,
834,
855,
6,
834,
12417,
834,
10354,
198,
220,
220,
220,
26498,
796,
30751,
13,
29572,
62,
22046,
3419,
198,
220,
220,
220,
503,
62,
15908,
796,
26498,
13,
22915,
62,
15908,
198,
220,
220,
220,
2746,
62,
6978,
796,
26498,
13,
19849,
62,
6978,
198,
220,
220,
220,
2008,
62,
6978,
796,
26498,
13,
15588,
62,
6978,
198,
220,
220,
220,
220,
198,
220,
220,
220,
288,
75,
796,
40522,
13,
8912,
10798,
7,
15588,
62,
6978,
11,
357,
940,
3459,
11,
28688,
4008,
198,
220,
220,
220,
2172,
796,
2172,
82,
22446,
15003,
3419,
198,
220,
220,
220,
2172,
13,
2220,
62,
19849,
796,
2746,
62,
6978,
198,
220,
220,
220,
905,
62,
9060,
796,
10352,
198,
220,
220,
220,
5072,
62,
15908,
796,
503,
62,
15908,
198,
220,
220,
220,
5418,
62,
41068,
7,
8738,
11,
288,
75,
11,
705,
27926,
3256,
21928,
62,
15908,
28,
22915,
62,
15908,
11,
905,
62,
9060,
28,
12860,
62,
9060,
8,
198
] | 2.603774 | 265 |
import numpy as np
from pyriemann.clustering import Kmeans,KmeansPerClassTransform
def generate_cov(Nt,Ne):
"""Generate a set of cavariances matrices for test purpose"""
diags = 1.0+0.1*np.random.randn(Nt,Ne)
covmats = np.empty((Nt,Ne,Ne))
for i in range(Nt):
covmats[i] = np.diag(diags[i])
return covmats
def test_Kmeans_init():
"""Test init of Kmeans"""
km = Kmeans(2)
def test_Kmeans_fit():
"""Test Fit of Kmeans"""
covset = generate_cov(20,3)
km = Kmeans(2)
km.fit(covset)
def test_Kmeans_fit_with_init():
"""Test Fit of Kmeans wit matric initialization"""
covset = generate_cov(20,3)
km = Kmeans(2,init=covset[0:2])
km.fit(covset)
def test_Kmeans_fit_with_y():
"""Test Fit of Kmeans with a given y"""
covset = generate_cov(20,3)
labels = np.array([0,1]).repeat(10)
km = Kmeans(2)
km.fit(covset,y=labels)
def test_Kmeans_fit_parallel():
"""Test Fit of Kmeans using paralell"""
covset = generate_cov(20,3)
km = Kmeans(2,n_jobs=2)
km.fit(covset)
def test_Kmeans_predict():
"""Test prediction of Kmeans"""
covset = generate_cov(20,3)
km = Kmeans(2)
km.fit(covset)
km.predict(covset)
def test_Kmeans_transform():
"""Test transform of Kmeans"""
covset = generate_cov(20,3)
km = Kmeans(2)
km.fit(covset)
km.transform(covset)
def test_KmeansPCT_init():
"""Test init of Kmeans PCT"""
km = KmeansPerClassTransform(2)
def test_KmeansPCT_fit():
"""Test Fit of Kmeans PCT"""
covset = generate_cov(20,3)
labels = np.array([0,1]).repeat(10)
km = KmeansPerClassTransform(2)
km.fit(covset,labels)
def test_KmeansPCT_transform():
"""Test Transform of Kmeans PCT"""
covset = generate_cov(20,3)
labels = np.array([0,1]).repeat(10)
km = KmeansPerClassTransform(2)
km.fit(covset,labels)
km.transform(covset) | [
11748,
299,
32152,
355,
45941,
198,
6738,
12972,
380,
368,
1236,
13,
565,
436,
1586,
1330,
509,
1326,
504,
11,
42,
1326,
504,
5990,
9487,
41762,
198,
198,
4299,
7716,
62,
66,
709,
7,
45,
83,
11,
8199,
2599,
198,
220,
220,
220,
37227,
8645,
378,
257,
900,
286,
22357,
3699,
728,
2603,
45977,
329,
1332,
4007,
37811,
198,
220,
220,
220,
2566,
3775,
796,
352,
13,
15,
10,
15,
13,
16,
9,
37659,
13,
25120,
13,
25192,
77,
7,
45,
83,
11,
8199,
8,
198,
220,
220,
220,
39849,
76,
1381,
796,
45941,
13,
28920,
19510,
45,
83,
11,
8199,
11,
8199,
4008,
198,
220,
220,
220,
329,
1312,
287,
2837,
7,
45,
83,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
39849,
76,
1381,
58,
72,
60,
796,
45941,
13,
10989,
363,
7,
10989,
3775,
58,
72,
12962,
198,
220,
220,
220,
1441,
39849,
76,
1381,
198,
198,
4299,
1332,
62,
42,
1326,
504,
62,
15003,
33529,
198,
220,
220,
220,
37227,
14402,
2315,
286,
509,
1326,
504,
37811,
198,
220,
220,
220,
10571,
796,
509,
1326,
504,
7,
17,
8,
198,
220,
220,
220,
220,
198,
4299,
1332,
62,
42,
1326,
504,
62,
11147,
33529,
198,
220,
220,
220,
37227,
14402,
25048,
286,
509,
1326,
504,
37811,
198,
220,
220,
220,
39849,
2617,
796,
7716,
62,
66,
709,
7,
1238,
11,
18,
8,
198,
220,
220,
220,
10571,
796,
509,
1326,
504,
7,
17,
8,
198,
220,
220,
220,
10571,
13,
11147,
7,
66,
709,
2617,
8,
198,
220,
220,
220,
220,
198,
4299,
1332,
62,
42,
1326,
504,
62,
11147,
62,
4480,
62,
15003,
33529,
198,
220,
220,
220,
37227,
14402,
25048,
286,
509,
1326,
504,
20868,
2603,
1173,
37588,
37811,
198,
220,
220,
220,
39849,
2617,
796,
7716,
62,
66,
709,
7,
1238,
11,
18,
8,
198,
220,
220,
220,
10571,
796,
509,
1326,
504,
7,
17,
11,
15003,
28,
66,
709,
2617,
58,
15,
25,
17,
12962,
198,
220,
220,
220,
10571,
13,
11147,
7,
66,
709,
2617,
8,
198,
198,
4299,
1332,
62,
42,
1326,
504,
62,
11147,
62,
4480,
62,
88,
33529,
198,
220,
220,
220,
37227,
14402,
25048,
286,
509,
1326,
504,
351,
257,
1813,
331,
37811,
198,
220,
220,
220,
39849,
2617,
796,
7716,
62,
66,
709,
7,
1238,
11,
18,
8,
198,
220,
220,
220,
14722,
796,
45941,
13,
18747,
26933,
15,
11,
16,
35944,
44754,
7,
940,
8,
198,
220,
220,
220,
10571,
796,
509,
1326,
504,
7,
17,
8,
198,
220,
220,
220,
10571,
13,
11147,
7,
66,
709,
2617,
11,
88,
28,
23912,
1424,
8,
198,
198,
4299,
1332,
62,
42,
1326,
504,
62,
11147,
62,
1845,
29363,
33529,
198,
220,
220,
220,
37227,
14402,
25048,
286,
509,
1326,
504,
1262,
1582,
282,
695,
37811,
198,
220,
220,
220,
39849,
2617,
796,
7716,
62,
66,
709,
7,
1238,
11,
18,
8,
198,
220,
220,
220,
10571,
796,
509,
1326,
504,
7,
17,
11,
77,
62,
43863,
28,
17,
8,
198,
220,
220,
220,
10571,
13,
11147,
7,
66,
709,
2617,
8,
198,
198,
4299,
1332,
62,
42,
1326,
504,
62,
79,
17407,
33529,
198,
220,
220,
220,
37227,
14402,
17724,
286,
509,
1326,
504,
37811,
198,
220,
220,
220,
39849,
2617,
796,
7716,
62,
66,
709,
7,
1238,
11,
18,
8,
198,
220,
220,
220,
10571,
796,
509,
1326,
504,
7,
17,
8,
198,
220,
220,
220,
10571,
13,
11147,
7,
66,
709,
2617,
8,
198,
220,
220,
220,
10571,
13,
79,
17407,
7,
66,
709,
2617,
8,
198,
220,
220,
220,
220,
198,
4299,
1332,
62,
42,
1326,
504,
62,
35636,
33529,
198,
220,
220,
220,
37227,
14402,
6121,
286,
509,
1326,
504,
37811,
198,
220,
220,
220,
39849,
2617,
796,
7716,
62,
66,
709,
7,
1238,
11,
18,
8,
198,
220,
220,
220,
10571,
796,
509,
1326,
504,
7,
17,
8,
198,
220,
220,
220,
10571,
13,
11147,
7,
66,
709,
2617,
8,
198,
220,
220,
220,
10571,
13,
35636,
7,
66,
709,
2617,
8,
198,
220,
220,
220,
220,
198,
4299,
1332,
62,
42,
1326,
504,
47,
4177,
62,
15003,
33529,
198,
220,
220,
220,
37227,
14402,
2315,
286,
509,
1326,
504,
350,
4177,
37811,
198,
220,
220,
220,
10571,
796,
509,
1326,
504,
5990,
9487,
41762,
7,
17,
8,
198,
220,
220,
220,
220,
198,
4299,
1332,
62,
42,
1326,
504,
47,
4177,
62,
11147,
33529,
198,
220,
220,
220,
37227,
14402,
25048,
286,
509,
1326,
504,
350,
4177,
37811,
198,
220,
220,
220,
39849,
2617,
796,
7716,
62,
66,
709,
7,
1238,
11,
18,
8,
198,
220,
220,
220,
14722,
796,
45941,
13,
18747,
26933,
15,
11,
16,
35944,
44754,
7,
940,
8,
198,
220,
220,
220,
10571,
796,
509,
1326,
504,
5990,
9487,
41762,
7,
17,
8,
198,
220,
220,
220,
10571,
13,
11147,
7,
66,
709,
2617,
11,
23912,
1424,
8,
198,
220,
220,
220,
220,
198,
4299,
1332,
62,
42,
1326,
504,
47,
4177,
62,
35636,
33529,
198,
220,
220,
220,
37227,
14402,
26981,
286,
509,
1326,
504,
350,
4177,
37811,
198,
220,
220,
220,
39849,
2617,
796,
7716,
62,
66,
709,
7,
1238,
11,
18,
8,
198,
220,
220,
220,
14722,
796,
45941,
13,
18747,
26933,
15,
11,
16,
35944,
44754,
7,
940,
8,
198,
220,
220,
220,
10571,
796,
509,
1326,
504,
5990,
9487,
41762,
7,
17,
8,
198,
220,
220,
220,
10571,
13,
11147,
7,
66,
709,
2617,
11,
23912,
1424,
8,
198,
220,
220,
220,
10571,
13,
35636,
7,
66,
709,
2617,
8
] | 2.110989 | 910 |
# encoding= utf-8
from __future__ import division, absolute_import, with_statement, print_function
import requests
def download_file(url, file_path, params=None, proxies=None, request_session=None, cookies=None):
"""
proxies = {
"http": "http://10.10.1.10:3128",
"https": "http://10.10.1.10:1080",
}
"""
if not request_session:
request_session = requests.session()
r = request_session.get(url, params=params, stream=True, proxies=proxies, cookies=cookies)
with open(file_path, 'wb') as f:
for chunk in r.iter_content(1024):
if chunk:
f.write(chunk)
f.flush()
| [
2,
21004,
28,
3384,
69,
12,
23,
198,
6738,
11593,
37443,
834,
1330,
7297,
11,
4112,
62,
11748,
11,
351,
62,
26090,
11,
3601,
62,
8818,
198,
11748,
7007,
628,
198,
4299,
4321,
62,
7753,
7,
6371,
11,
2393,
62,
6978,
11,
42287,
28,
14202,
11,
41775,
28,
14202,
11,
2581,
62,
29891,
28,
14202,
11,
14746,
28,
14202,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
41775,
796,
1391,
198,
220,
220,
220,
220,
220,
366,
4023,
1298,
366,
4023,
1378,
940,
13,
940,
13,
16,
13,
940,
25,
18,
12762,
1600,
198,
220,
220,
220,
220,
220,
366,
5450,
1298,
366,
4023,
1378,
940,
13,
940,
13,
16,
13,
940,
25,
24045,
1600,
198,
220,
220,
220,
1782,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
611,
407,
2581,
62,
29891,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2581,
62,
29891,
796,
7007,
13,
29891,
3419,
198,
220,
220,
220,
374,
796,
2581,
62,
29891,
13,
1136,
7,
6371,
11,
42287,
28,
37266,
11,
4269,
28,
17821,
11,
41775,
28,
1676,
87,
444,
11,
14746,
28,
27916,
444,
8,
198,
220,
220,
220,
351,
1280,
7,
7753,
62,
6978,
11,
705,
39346,
11537,
355,
277,
25,
198,
220,
220,
220,
220,
220,
220,
220,
329,
16058,
287,
374,
13,
2676,
62,
11299,
7,
35500,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
16058,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
13,
13564,
7,
354,
2954,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
277,
13,
25925,
3419,
628,
628,
628
] | 2.353357 | 283 |
from twisted_fate import __version__
| [
6738,
19074,
62,
69,
378,
1330,
11593,
9641,
834,
628
] | 3.8 | 10 |
import os
from wyriwyd.executor import ShellExecutor
| [
11748,
28686,
198,
6738,
266,
88,
380,
86,
5173,
13,
18558,
38409,
1330,
17537,
23002,
38409,
628,
198
] | 3.055556 | 18 |
import os
curdir = os.path.dirname(__file__)
datadir = os.path.join(curdir, 'data')
def load_telescope_parameters(version, **kwargs):
"""
Utility script to load the telescope parameters
version = 0: Pre-design version (to compare with Rick's stuff)
version = 1: 210 mm design
version = 2: 300 mm design
version = 3: 350 mm design
version = 4: 400 mm design
###
### Version 2:
Syntax:
diameter, qe, psf_fwhm, pixel_size, efficiency = load_telescope_parameters(version)
---
Note, going to depreicate versions < 4 eventually since those assume that
the pixels are 0.5 * pixel size
To be done: Remove QE from this method and put it somewhere else.
---
"""
import astropy.units as ur
from numpy import pi
diag = kwargs.pop('diag', True)
name = ''
# Eventually depricate these things
if version == 0:
qe = 0.8 # To be improved later.
diameter = 30*ur.cm
psf_fwhm = 10*ur.arcsec
pixel_size = psf_fwhm * 0.5
efficiency = 0.87 # Ultrasat spec
if version == 1:
qe = 0.8
efficiency = 0.54 # Reported from Mike
diameter = 21 * ur.cm
psf_fwhm = 4 * ur.arcsec
pixel_size = psf_fwhm * 0.5
if version == 2:
qe = 0.8
efficiency = 0.65 # Reported from Mike
diameter = 30 * ur.cm
psf_fwhm = 9*ur.arcsec
pixel_size = psf_fwhm * 0.5
if version == 3:
qe = 0.8
diameter = 35*ur.cm
efficiency = 0.67 # Reported from Mike
psf_fwhm = 18*ur.arcsec
pixel_size = psf_fwhm * 0.5
if version == 4:
qe = 0.8
diameter = 40*ur.cm
efficiency = 0.70 # Reported from Mike
psf_fwhm = 23*ur.arcsec
pixel_size = psf_fwhm * 0.5
# Versions below here allow the PSF and the pixel to be decoupled
# "Big Schmidt" w/ 6k x 6k array
if version == 5:
name = 'Big Schmidt'
qe = 0.7
diameter = 33.0*ur.cm
eff_diam = 29.1*ur.cm
efficiency = (eff_diam/diameter)**2
plate_scale = 0.43 # arcsec per micron
psf_fwhm_um = 21.6 # microns
psf_fwhm = plate_scale * psf_fwhm_um * ur.arcsec
pixel_size = plate_scale * 10 * ur.arcsec
# Smaller Schmidts (same focal length?) each with 6k x 6k focal plane array
if version == 6:
name = 'Two mini Big Schmidts'
qe = 0.7
diameter = 21.0*ur.cm
eff_diam = 15.1*ur.cm
efficiency = (eff_diam/diameter)**2
plate_scale = 0.43 # arcsec per micron
psf_fwhm_um = 6.7 # microns
psf_fwhm = plate_scale * psf_fwhm_um * ur.arcsec
pixel_size = plate_scale * 10 * ur.arcsec
# Medium Schmidt (same focal length?) each with 6k x 6k focal plane array
if version == 7:
name = 'Medium Schmidt'
qe = 0.7
diameter = 24.0*ur.cm
eff_diam = 19.1*ur.cm
efficiency = (eff_diam/diameter)**2
plate_scale = 0.43 # arcsec per micron
psf_fwhm_um = 7.6 # microns
psf_fwhm = plate_scale * psf_fwhm_um * ur.arcsec
pixel_size = plate_scale * 10 * ur.arcsec
# Smaller Medium Schmidts (same focal length?) each with 6k x 6k focal plane array
if version == 8:
name = 'Two Small "Medium" Schmidts'
qe = 0.7
diameter = 14.0*ur.cm
eff_diam = 6.3*ur.cm
efficiency = (eff_diam/diameter)**2
plate_scale = 0.43 # arcsec per micron
psf_fwhm_um = 8.6 # microns
psf_fwhm = plate_scale * psf_fwhm_um * ur.arcsec
pixel_size = plate_scale * 10 * ur.arcsec
# Fast Medium Schmidts (same focal length?) each with 6k x 6k focal plane array
if version == 9:
name = 'Fast Schmidt'
qe = 0.7
diameter = 32.0*ur.cm
eff_diam = 29.89*ur.cm
efficiency = (eff_diam/diameter)**2
plate_scale = 0.64 # arcsec per micron
psf_fwhm_um = 44.3 # microns
psf_fwhm = plate_scale * psf_fwhm_um * ur.arcsec
pixel_size = plate_scale * 10 * ur.arcsec
# Mini-fast Schmidts
if version == 10:
name="Mini Fast Schmidts"
qe = 0.7
diameter = 22.0*ur.cm
eff_diam = 19.2*ur.cm
efficiency = (eff_diam/diameter)**2
plate_scale = 0.64 # arcsec per micron
psf_fwhm_um = 14.1 # microns
psf_fwhm = plate_scale * psf_fwhm_um * ur.arcsec
pixel_size = plate_scale * 10 * ur.arcsec
##### Second round of telescope designs
if version == 11:
name="Small Focal Plane CMOS"
qe = 0.6
diameter = 26.0*ur.cm
eff_diam = 23.1*ur.cm
efficiency = (eff_diam/diameter)**2
plate_scale = 6.4/10. # arcsec per micron
psf_fwhm_um = 6.7 # microns
psf_fwhm = plate_scale * psf_fwhm_um * ur.arcsec
pixel_size = plate_scale * 10 * ur.arcsec
if version == 12:
name="Swiss Cross CMOS"
qe = 0.6
diameter = 30.*ur.cm
eff_diam = 21.7*ur.cm
eff_diam = 24.7*ur.cm
efficiency = (eff_diam/diameter)**2
plate_scale = 4.0/10. # arcsec per micron
psf_fwhm_um = 7.2 # microns
psf_fwhm = plate_scale * psf_fwhm_um * ur.arcsec
pixel_size = plate_scale * 10. * ur.arcsec
if version == 13:
name="Swiss Cross CCD"
qe = 0.6
diameter = 30.*ur.cm
eff_diam = 20.2*ur.cm
efficiency = (eff_diam/diameter)**2
plate_scale = 5.4/13. # arcsec per micron
psf_fwhm_um = 16.1 # microns
psf_fwhm = plate_scale * psf_fwhm_um * ur.arcsec
pixel_size = plate_scale * 13 * ur.arcsec
if version == 14:
name="Medium Focal Plane (CMOS 6k x 6k)"
qe = 0.6
diameter = 30.*ur.cm
eff_diam = 0.7*27.3*ur.cm
efficiency = (eff_diam/diameter)**2
plate_scale = 4.3/10. # arcsec per micron
psf_fwhm_um = 7.1 # microns
psf_fwhm = plate_scale * psf_fwhm_um * ur.arcsec
pixel_size = plate_scale * 10 * ur.arcsec
######
if version == 15:
name="25 cm primary"
qe = 0.6
diameter = 20.*ur.cm
eff_diam = 17*ur.cm
efficiency = (eff_diam/diameter)**2
plate_scale = 6.4/10. # arcsec per micron
psf_fwhm_um = 10.3 # microns
psf_fwhm = plate_scale * psf_fwhm_um * ur.arcsec
pixel_size = plate_scale * 10 * ur.arcsec
if diag:
print('Telescope Configuration {}'.format(version))
print('Name: {}'.format(name))
print('Entrance Pupil diameter {}'.format(diameter))
print('Optical Efficiency {}'.format(efficiency))
print('PSF FWHM {}'.format(psf_fwhm))
print('Pixel size {}'.format(pixel_size))
print('Effective Aperture {}'.format(diameter*(efficiency)**0.5))
print('Effective Area {}'.format( efficiency * pi * (0.5*diameter)**2))
return diameter, qe, psf_fwhm, pixel_size, efficiency
def load_qe(**kwargs):
"""
Loads the detector QE and returns the values.
band = 1 (default, 180-220 nm)
band = 2 (260-320 nm)
band = 3 (340-380 nm)
Syntax:
wave, qe = load_qe(band = 1)
"""
import astropy.units as ur
import numpy as np
band = kwargs.pop('band', 1)
diag = kwargs.pop('diag', False)
if band == 1:
infile = os.path.join(datadir, 'detector_180_220nm.csv')
if band == 2:
infile = os.path.join(datadir, 'detector_260_300nm.csv')
if band == 3:
infile = os.path.join(datadir, 'detector_340_380nm.csv')
f = open(infile, 'r')
header = True
qe = {}
set = False
for line in f:
if header:
header = False
continue
fields = line.split(',')
if not set:
wave = float(fields[0])
qe = float(fields[3])
set = True
else:
wave = np.append(wave, float(fields[0]))
qe = np.append(qe, float(fields[3]))
f.close()
# Give wavelength a unit
wave *= ur.nm
if diag:
print('Detector Q.E. loader')
print('Band {} has input file {}'.format(band, infile))
return wave, qe / 100.
def load_reflectivity(**kwargs):
"""
Loads the optics reflectivity and returns the values.
Syntax:
wave, reflectivity = load_reflectivity()
"""
import astropy.units as ur
import numpy as np
diag = kwargs.pop('diag', False)
infile = os.path.join(datadir, 'al_mgf2_mirror_coatings.csv')
f = open(infile, 'r')
header = True
qe = {}
set = False
for line in f:
if header:
header = False
continue
fields = line.split(',')
if not set:
wave = float(fields[0])
reflectivity = float(fields[1])
set = True
else:
wave = np.append(wave, float(fields[0]))
reflectivity = np.append(reflectivity, float(fields[1]))
f.close()
# Give wavelength a unit
wave *= ur.nm
if diag:
print('Optics reflectivity loader')
print('Input file {}'.format(infile))
return wave, reflectivity
def load_redfilter(**kwargs):
"""
Loads the detector QE and returns the values.
band = 1 (default, 180-220 nm)
band = 2 (260-320 nm)
Syntax:
wave, transmission = load_redfilter(band=1)
"""
import astropy.units as ur
import numpy as np
band = kwargs.pop('band', 1)
diag = kwargs.pop('diag', False)
light = kwargs.pop('light', True)
if light:
infile = os.path.join(datadir, 'duet{}_filter_light.csv'.format(band))
else:
infile = os.path.join(datadir, 'duet{}_filter.csv'.format(band))
f = open(infile, 'r')
header = True
qe = {}
set = False
for line in f:
if header:
if (line.startswith('Wavelength')) or ('%T' in line):
header = False
continue
fields = line.split(',')
if not set:
wave = float(fields[0])
transmission = float(fields[1])
set = True
else:
wave = np.append(wave, float(fields[0]))
transmission = np.append(transmission, float(fields[1]))
f.close()
# Give wavelength a unit
wave *= ur.nm
if diag:
print('Red filter loader')
print('Band {} has input file {}'.format(band, infile))
return wave, transmission / 100.
def apply_filters(wave, spec, **kwargs):
"""
Loads the detector QE and returns the values.
band = 1 (default, 180-220 nm)
band = 2 (260-320 nm)
Syntax:
wave, transmission = load_redfilter(band=1)
"""
from .apply_transmission import apply_trans
# Load filters
ref_wave, reflectivity = load_reflectivity(**kwargs)
qe_wave, qe = load_qe(**kwargs)
red_wave, red_trans = load_redfilter(**kwargs)
ref_flux = apply_trans(wave, spec, ref_wave, reflectivity/100.)
qe_flux = apply_trans(wave, ref_flux, qe_wave, qe)
band_flux = apply_trans(wave, qe_flux, red_wave, red_trans)
return band_flux
| [
11748,
28686,
628,
198,
66,
2799,
343,
796,
28686,
13,
6978,
13,
15908,
3672,
7,
834,
7753,
834,
8,
198,
19608,
324,
343,
796,
28686,
13,
6978,
13,
22179,
7,
66,
2799,
343,
11,
705,
7890,
11537,
628,
198,
4299,
3440,
62,
37524,
3798,
3008,
62,
17143,
7307,
7,
9641,
11,
12429,
46265,
22046,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
34030,
4226,
284,
3440,
262,
24344,
10007,
628,
220,
220,
220,
2196,
796,
657,
25,
3771,
12,
26124,
2196,
357,
1462,
8996,
351,
8759,
338,
3404,
8,
198,
220,
220,
220,
2196,
796,
352,
25,
20064,
8085,
1486,
198,
220,
220,
220,
2196,
796,
362,
25,
5867,
8085,
1486,
198,
220,
220,
220,
2196,
796,
513,
25,
13803,
8085,
1486,
198,
220,
220,
220,
2196,
796,
604,
25,
7337,
8085,
1486,
628,
220,
220,
220,
44386,
628,
198,
220,
220,
220,
44386,
10628,
362,
25,
628,
198,
220,
220,
220,
26375,
897,
25,
198,
220,
220,
220,
14753,
11,
10662,
68,
11,
26692,
69,
62,
69,
1929,
76,
11,
17465,
62,
7857,
11,
9332,
796,
3440,
62,
37524,
3798,
3008,
62,
17143,
7307,
7,
9641,
8,
628,
220,
220,
220,
11420,
628,
220,
220,
220,
5740,
11,
1016,
284,
1207,
260,
5344,
6300,
1279,
604,
4191,
1201,
883,
7048,
326,
198,
220,
220,
220,
262,
17848,
389,
657,
13,
20,
1635,
17465,
2546,
628,
220,
220,
220,
1675,
307,
1760,
25,
17220,
1195,
36,
422,
428,
2446,
290,
1234,
340,
7382,
2073,
13,
198,
220,
220,
220,
11420,
628,
220,
220,
220,
37227,
628,
198,
220,
220,
220,
1330,
6468,
28338,
13,
41667,
355,
2956,
198,
220,
220,
220,
422,
299,
32152,
1330,
31028,
628,
220,
220,
220,
2566,
363,
796,
479,
86,
22046,
13,
12924,
10786,
10989,
363,
3256,
6407,
8,
628,
220,
220,
220,
1438,
796,
10148,
628,
220,
220,
220,
1303,
16178,
390,
1050,
5344,
777,
1243,
198,
220,
220,
220,
611,
2196,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
10662,
68,
796,
657,
13,
23,
1303,
1675,
307,
6596,
1568,
13,
198,
220,
220,
220,
220,
220,
220,
220,
14753,
796,
1542,
9,
333,
13,
11215,
198,
220,
220,
220,
220,
220,
220,
220,
26692,
69,
62,
69,
1929,
76,
796,
838,
9,
333,
13,
5605,
2363,
198,
220,
220,
220,
220,
220,
220,
220,
17465,
62,
7857,
796,
26692,
69,
62,
69,
1929,
76,
1635,
657,
13,
20,
198,
220,
220,
220,
220,
220,
220,
220,
9332,
796,
657,
13,
5774,
1303,
46487,
292,
265,
1020,
198,
220,
220,
220,
611,
2196,
6624,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
10662,
68,
796,
657,
13,
23,
198,
220,
220,
220,
220,
220,
220,
220,
9332,
796,
657,
13,
4051,
1303,
30588,
422,
4995,
198,
220,
220,
220,
220,
220,
220,
220,
14753,
796,
2310,
1635,
2956,
13,
11215,
198,
220,
220,
220,
220,
220,
220,
220,
26692,
69,
62,
69,
1929,
76,
796,
604,
1635,
2956,
13,
5605,
2363,
198,
220,
220,
220,
220,
220,
220,
220,
17465,
62,
7857,
796,
26692,
69,
62,
69,
1929,
76,
1635,
657,
13,
20,
628,
220,
220,
220,
611,
2196,
6624,
362,
25,
198,
220,
220,
220,
220,
220,
220,
220,
10662,
68,
796,
657,
13,
23,
198,
220,
220,
220,
220,
220,
220,
220,
9332,
796,
657,
13,
2996,
1303,
30588,
422,
4995,
198,
220,
220,
220,
220,
220,
220,
220,
14753,
796,
1542,
1635,
2956,
13,
11215,
198,
220,
220,
220,
220,
220,
220,
220,
26692,
69,
62,
69,
1929,
76,
796,
860,
9,
333,
13,
5605,
2363,
198,
220,
220,
220,
220,
220,
220,
220,
17465,
62,
7857,
796,
26692,
69,
62,
69,
1929,
76,
1635,
657,
13,
20,
628,
220,
220,
220,
611,
2196,
6624,
513,
25,
198,
220,
220,
220,
220,
220,
220,
220,
10662,
68,
796,
657,
13,
23,
198,
220,
220,
220,
220,
220,
220,
220,
14753,
796,
3439,
9,
333,
13,
11215,
198,
220,
220,
220,
220,
220,
220,
220,
9332,
796,
657,
13,
3134,
1303,
30588,
422,
4995,
198,
220,
220,
220,
220,
220,
220,
220,
26692,
69,
62,
69,
1929,
76,
796,
1248,
9,
333,
13,
5605,
2363,
198,
220,
220,
220,
220,
220,
220,
220,
17465,
62,
7857,
796,
26692,
69,
62,
69,
1929,
76,
1635,
657,
13,
20,
628,
220,
220,
220,
611,
2196,
6624,
604,
25,
198,
220,
220,
220,
220,
220,
220,
220,
10662,
68,
796,
657,
13,
23,
198,
220,
220,
220,
220,
220,
220,
220,
14753,
796,
2319,
9,
333,
13,
11215,
198,
220,
220,
220,
220,
220,
220,
220,
9332,
796,
657,
13,
2154,
1303,
30588,
422,
4995,
198,
220,
220,
220,
220,
220,
220,
220,
26692,
69,
62,
69,
1929,
76,
796,
2242,
9,
333,
13,
5605,
2363,
198,
220,
220,
220,
220,
220,
220,
220,
17465,
62,
7857,
796,
26692,
69,
62,
69,
1929,
76,
1635,
657,
13,
20,
628,
198,
220,
220,
220,
1303,
18535,
507,
2174,
994,
1249,
262,
6599,
37,
290,
262,
17465,
284,
307,
875,
280,
10137,
628,
220,
220,
220,
1303,
366,
12804,
24740,
1,
266,
14,
718,
74,
2124,
718,
74,
7177,
198,
220,
220,
220,
611,
2196,
6624,
642,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1438,
796,
705,
12804,
24740,
6,
198,
220,
220,
220,
220,
220,
220,
220,
10662,
68,
796,
657,
13,
22,
198,
220,
220,
220,
220,
220,
220,
220,
14753,
796,
4747,
13,
15,
9,
333,
13,
11215,
198,
220,
220,
220,
220,
220,
220,
220,
914,
62,
67,
1789,
796,
2808,
13,
16,
9,
333,
13,
11215,
198,
220,
220,
220,
220,
220,
220,
220,
9332,
796,
357,
14822,
62,
67,
1789,
14,
67,
13173,
8,
1174,
17,
628,
220,
220,
220,
220,
220,
220,
220,
7480,
62,
9888,
796,
657,
13,
3559,
1303,
10389,
2363,
583,
12314,
1313,
628,
220,
220,
220,
220,
220,
220,
220,
26692,
69,
62,
69,
1929,
76,
62,
388,
796,
2310,
13,
21,
1303,
12314,
12212,
198,
220,
220,
220,
220,
220,
220,
220,
26692,
69,
62,
69,
1929,
76,
796,
7480,
62,
9888,
1635,
26692,
69,
62,
69,
1929,
76,
62,
388,
1635,
2956,
13,
5605,
2363,
628,
220,
220,
220,
220,
220,
220,
220,
17465,
62,
7857,
796,
7480,
62,
9888,
1635,
838,
1635,
2956,
13,
5605,
2363,
628,
198,
220,
220,
220,
1303,
10452,
263,
3059,
13602,
912,
357,
31642,
25397,
4129,
10091,
1123,
351,
718,
74,
2124,
718,
74,
25397,
6614,
7177,
198,
220,
220,
220,
611,
2196,
6624,
718,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1438,
796,
705,
7571,
9927,
4403,
3059,
13602,
912,
6,
198,
220,
220,
220,
220,
220,
220,
220,
10662,
68,
796,
657,
13,
22,
198,
220,
220,
220,
220,
220,
220,
220,
14753,
796,
2310,
13,
15,
9,
333,
13,
11215,
198,
220,
220,
220,
220,
220,
220,
220,
914,
62,
67,
1789,
796,
1315,
13,
16,
9,
333,
13,
11215,
198,
220,
220,
220,
220,
220,
220,
220,
9332,
796,
357,
14822,
62,
67,
1789,
14,
67,
13173,
8,
1174,
17,
628,
220,
220,
220,
220,
220,
220,
220,
7480,
62,
9888,
796,
657,
13,
3559,
1303,
10389,
2363,
583,
12314,
1313,
628,
220,
220,
220,
220,
220,
220,
220,
26692,
69,
62,
69,
1929,
76,
62,
388,
796,
718,
13,
22,
1303,
12314,
12212,
198,
220,
220,
220,
220,
220,
220,
220,
26692,
69,
62,
69,
1929,
76,
796,
7480,
62,
9888,
1635,
26692,
69,
62,
69,
1929,
76,
62,
388,
1635,
2956,
13,
5605,
2363,
628,
220,
220,
220,
220,
220,
220,
220,
17465,
62,
7857,
796,
7480,
62,
9888,
1635,
838,
1635,
2956,
13,
5605,
2363,
628,
198,
220,
220,
220,
1303,
13398,
24740,
357,
31642,
25397,
4129,
10091,
1123,
351,
718,
74,
2124,
718,
74,
25397,
6614,
7177,
198,
220,
220,
220,
611,
2196,
6624,
767,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1438,
796,
705,
31205,
24740,
6,
628,
220,
220,
220,
220,
220,
220,
220,
10662,
68,
796,
657,
13,
22,
198,
220,
220,
220,
220,
220,
220,
220,
14753,
796,
1987,
13,
15,
9,
333,
13,
11215,
198,
220,
220,
220,
220,
220,
220,
220,
914,
62,
67,
1789,
796,
678,
13,
16,
9,
333,
13,
11215,
198,
220,
220,
220,
220,
220,
220,
220,
9332,
796,
357,
14822,
62,
67,
1789,
14,
67,
13173,
8,
1174,
17,
628,
220,
220,
220,
220,
220,
220,
220,
7480,
62,
9888,
796,
657,
13,
3559,
1303,
10389,
2363,
583,
12314,
1313,
628,
220,
220,
220,
220,
220,
220,
220,
26692,
69,
62,
69,
1929,
76,
62,
388,
796,
767,
13,
21,
1303,
12314,
12212,
198,
220,
220,
220,
220,
220,
220,
220,
26692,
69,
62,
69,
1929,
76,
796,
7480,
62,
9888,
1635,
26692,
69,
62,
69,
1929,
76,
62,
388,
1635,
2956,
13,
5605,
2363,
628,
220,
220,
220,
220,
220,
220,
220,
17465,
62,
7857,
796,
7480,
62,
9888,
1635,
838,
1635,
2956,
13,
5605,
2363,
628,
220,
220,
220,
1303,
10452,
263,
13398,
3059,
13602,
912,
357,
31642,
25397,
4129,
10091,
1123,
351,
718,
74,
2124,
718,
74,
25397,
6614,
7177,
198,
220,
220,
220,
611,
2196,
6624,
807,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1438,
796,
705,
7571,
10452,
366,
31205,
1,
3059,
13602,
912,
6,
198,
220,
220,
220,
220,
220,
220,
220,
10662,
68,
796,
657,
13,
22,
198,
220,
220,
220,
220,
220,
220,
220,
14753,
796,
1478,
13,
15,
9,
333,
13,
11215,
198,
220,
220,
220,
220,
220,
220,
220,
914,
62,
67,
1789,
796,
718,
13,
18,
9,
333,
13,
11215,
198,
220,
220,
220,
220,
220,
220,
220,
9332,
796,
357,
14822,
62,
67,
1789,
14,
67,
13173,
8,
1174,
17,
628,
220,
220,
220,
220,
220,
220,
220,
7480,
62,
9888,
796,
657,
13,
3559,
1303,
10389,
2363,
583,
12314,
1313,
628,
220,
220,
220,
220,
220,
220,
220,
26692,
69,
62,
69,
1929,
76,
62,
388,
796,
807,
13,
21,
1303,
12314,
12212,
198,
220,
220,
220,
220,
220,
220,
220,
26692,
69,
62,
69,
1929,
76,
796,
7480,
62,
9888,
1635,
26692,
69,
62,
69,
1929,
76,
62,
388,
1635,
2956,
13,
5605,
2363,
628,
220,
220,
220,
220,
220,
220,
220,
17465,
62,
7857,
796,
7480,
62,
9888,
1635,
838,
1635,
2956,
13,
5605,
2363,
628,
220,
220,
220,
1303,
12549,
13398,
3059,
13602,
912,
357,
31642,
25397,
4129,
10091,
1123,
351,
718,
74,
2124,
718,
74,
25397,
6614,
7177,
198,
220,
220,
220,
611,
2196,
6624,
860,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1438,
796,
705,
22968,
24740,
6,
628,
220,
220,
220,
220,
220,
220,
220,
10662,
68,
796,
657,
13,
22,
198,
220,
220,
220,
220,
220,
220,
220,
14753,
796,
3933,
13,
15,
9,
333,
13,
11215,
198,
220,
220,
220,
220,
220,
220,
220,
914,
62,
67,
1789,
796,
2808,
13,
4531,
9,
333,
13,
11215,
198,
220,
220,
220,
220,
220,
220,
220,
9332,
796,
357,
14822,
62,
67,
1789,
14,
67,
13173,
8,
1174,
17,
628,
220,
220,
220,
220,
220,
220,
220,
7480,
62,
9888,
796,
657,
13,
2414,
1303,
10389,
2363,
583,
12314,
1313,
628,
220,
220,
220,
220,
220,
220,
220,
26692,
69,
62,
69,
1929,
76,
62,
388,
796,
5846,
13,
18,
1303,
12314,
12212,
198,
220,
220,
220,
220,
220,
220,
220,
26692,
69,
62,
69,
1929,
76,
796,
7480,
62,
9888,
1635,
26692,
69,
62,
69,
1929,
76,
62,
388,
1635,
2956,
13,
5605,
2363,
628,
220,
220,
220,
220,
220,
220,
220,
17465,
62,
7857,
796,
7480,
62,
9888,
1635,
838,
1635,
2956,
13,
5605,
2363,
628,
198,
220,
220,
220,
1303,
12558,
12,
7217,
3059,
13602,
912,
198,
220,
220,
220,
611,
2196,
6624,
838,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1438,
2625,
39234,
12549,
3059,
13602,
912,
1,
198,
220,
220,
220,
220,
220,
220,
220,
10662,
68,
796,
657,
13,
22,
198,
220,
220,
220,
220,
220,
220,
220,
14753,
796,
2534,
13,
15,
9,
333,
13,
11215,
198,
220,
220,
220,
220,
220,
220,
220,
914,
62,
67,
1789,
796,
678,
13,
17,
9,
333,
13,
11215,
198,
220,
220,
220,
220,
220,
220,
220,
9332,
796,
357,
14822,
62,
67,
1789,
14,
67,
13173,
8,
1174,
17,
628,
220,
220,
220,
220,
220,
220,
220,
7480,
62,
9888,
796,
657,
13,
2414,
1303,
10389,
2363,
583,
12314,
1313,
628,
220,
220,
220,
220,
220,
220,
220,
26692,
69,
62,
69,
1929,
76,
62,
388,
796,
1478,
13,
16,
1303,
12314,
12212,
198,
220,
220,
220,
220,
220,
220,
220,
26692,
69,
62,
69,
1929,
76,
796,
7480,
62,
9888,
1635,
26692,
69,
62,
69,
1929,
76,
62,
388,
1635,
2956,
13,
5605,
2363,
628,
220,
220,
220,
220,
220,
220,
220,
17465,
62,
7857,
796,
7480,
62,
9888,
1635,
838,
1635,
2956,
13,
5605,
2363,
628,
220,
220,
220,
46424,
5498,
2835,
286,
24344,
9824,
198,
220,
220,
220,
611,
2196,
6624,
1367,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1438,
2625,
18712,
376,
4374,
36829,
16477,
2640,
1,
198,
220,
220,
220,
220,
220,
220,
220,
10662,
68,
796,
657,
13,
21,
198,
220,
220,
220,
220,
220,
220,
220,
14753,
796,
2608,
13,
15,
9,
333,
13,
11215,
198,
220,
220,
220,
220,
220,
220,
220,
914,
62,
67,
1789,
796,
2242,
13,
16,
9,
333,
13,
11215,
198,
220,
220,
220,
220,
220,
220,
220,
9332,
796,
357,
14822,
62,
67,
1789,
14,
67,
13173,
8,
1174,
17,
628,
220,
220,
220,
220,
220,
220,
220,
7480,
62,
9888,
796,
718,
13,
19,
14,
940,
13,
1303,
10389,
2363,
583,
12314,
1313,
628,
220,
220,
220,
220,
220,
220,
220,
26692,
69,
62,
69,
1929,
76,
62,
388,
796,
718,
13,
22,
1303,
12314,
12212,
198,
220,
220,
220,
220,
220,
220,
220,
26692,
69,
62,
69,
1929,
76,
796,
7480,
62,
9888,
1635,
26692,
69,
62,
69,
1929,
76,
62,
388,
1635,
2956,
13,
5605,
2363,
628,
220,
220,
220,
220,
220,
220,
220,
17465,
62,
7857,
796,
7480,
62,
9888,
1635,
838,
1635,
2956,
13,
5605,
2363,
628,
628,
220,
220,
220,
611,
2196,
6624,
1105,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1438,
2625,
10462,
747,
6372,
16477,
2640,
1,
198,
220,
220,
220,
220,
220,
220,
220,
10662,
68,
796,
657,
13,
21,
198,
220,
220,
220,
220,
220,
220,
220,
14753,
796,
1542,
15885,
333,
13,
11215,
198,
220,
220,
220,
220,
220,
220,
220,
914,
62,
67,
1789,
796,
2310,
13,
22,
9,
333,
13,
11215,
198,
220,
220,
220,
220,
220,
220,
220,
914,
62,
67,
1789,
796,
1987,
13,
22,
9,
333,
13,
11215,
628,
220,
220,
220,
220,
220,
220,
220,
9332,
796,
357,
14822,
62,
67,
1789,
14,
67,
13173,
8,
1174,
17,
628,
220,
220,
220,
220,
220,
220,
220,
7480,
62,
9888,
796,
604,
13,
15,
14,
940,
13,
1303,
10389,
2363,
583,
12314,
1313,
628,
220,
220,
220,
220,
220,
220,
220,
26692,
69,
62,
69,
1929,
76,
62,
388,
796,
767,
13,
17,
1303,
12314,
12212,
198,
220,
220,
220,
220,
220,
220,
220,
26692,
69,
62,
69,
1929,
76,
796,
7480,
62,
9888,
1635,
26692,
69,
62,
69,
1929,
76,
62,
388,
1635,
2956,
13,
5605,
2363,
628,
220,
220,
220,
220,
220,
220,
220,
17465,
62,
7857,
796,
7480,
62,
9888,
1635,
838,
13,
1635,
2956,
13,
5605,
2363,
628,
220,
220,
220,
611,
2196,
6624,
1511,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1438,
2625,
10462,
747,
6372,
327,
8610,
1,
198,
220,
220,
220,
220,
220,
220,
220,
10662,
68,
796,
657,
13,
21,
198,
220,
220,
220,
220,
220,
220,
220,
14753,
796,
1542,
15885,
333,
13,
11215,
198,
220,
220,
220,
220,
220,
220,
220,
914,
62,
67,
1789,
796,
1160,
13,
17,
9,
333,
13,
11215,
198,
220,
220,
220,
220,
220,
220,
220,
9332,
796,
357,
14822,
62,
67,
1789,
14,
67,
13173,
8,
1174,
17,
628,
220,
220,
220,
220,
220,
220,
220,
7480,
62,
9888,
796,
642,
13,
19,
14,
1485,
13,
1303,
10389,
2363,
583,
12314,
1313,
628,
220,
220,
220,
220,
220,
220,
220,
26692,
69,
62,
69,
1929,
76,
62,
388,
796,
1467,
13,
16,
1303,
12314,
12212,
198,
220,
220,
220,
220,
220,
220,
220,
26692,
69,
62,
69,
1929,
76,
796,
7480,
62,
9888,
1635,
26692,
69,
62,
69,
1929,
76,
62,
388,
1635,
2956,
13,
5605,
2363,
628,
220,
220,
220,
220,
220,
220,
220,
17465,
62,
7857,
796,
7480,
62,
9888,
1635,
1511,
1635,
2956,
13,
5605,
2363,
628,
220,
220,
220,
611,
2196,
6624,
1478,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1438,
2625,
31205,
376,
4374,
36829,
357,
24187,
2640,
718,
74,
2124,
718,
74,
16725,
198,
220,
220,
220,
220,
220,
220,
220,
10662,
68,
796,
657,
13,
21,
198,
220,
220,
220,
220,
220,
220,
220,
14753,
796,
1542,
15885,
333,
13,
11215,
198,
220,
220,
220,
220,
220,
220,
220,
914,
62,
67,
1789,
796,
657,
13,
22,
9,
1983,
13,
18,
9,
333,
13,
11215,
198,
220,
220,
220,
220,
220,
220,
220,
9332,
796,
357,
14822,
62,
67,
1789,
14,
67,
13173,
8,
1174,
17,
628,
220,
220,
220,
220,
220,
220,
220,
7480,
62,
9888,
796,
604,
13,
18,
14,
940,
13,
1303,
10389,
2363,
583,
12314,
1313,
628,
220,
220,
220,
220,
220,
220,
220,
26692,
69,
62,
69,
1929,
76,
62,
388,
796,
767,
13,
16,
1303,
12314,
12212,
198,
220,
220,
220,
220,
220,
220,
220,
26692,
69,
62,
69,
1929,
76,
796,
7480,
62,
9888,
1635,
26692,
69,
62,
69,
1929,
76,
62,
388,
1635,
2956,
13,
5605,
2363,
628,
220,
220,
220,
220,
220,
220,
220,
17465,
62,
7857,
796,
7480,
62,
9888,
1635,
838,
1635,
2956,
13,
5605,
2363,
628,
220,
220,
220,
46424,
2,
628,
220,
220,
220,
611,
2196,
6624,
1315,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1438,
2625,
1495,
12067,
4165,
1,
198,
220,
220,
220,
220,
220,
220,
220,
10662,
68,
796,
657,
13,
21,
198,
220,
220,
220,
220,
220,
220,
220,
14753,
796,
1160,
15885,
333,
13,
11215,
198,
220,
220,
220,
220,
220,
220,
220,
914,
62,
67,
1789,
796,
1596,
9,
333,
13,
11215,
198,
220,
220,
220,
220,
220,
220,
220,
9332,
796,
357,
14822,
62,
67,
1789,
14,
67,
13173,
8,
1174,
17,
628,
220,
220,
220,
220,
220,
220,
220,
7480,
62,
9888,
796,
718,
13,
19,
14,
940,
13,
1303,
10389,
2363,
583,
12314,
1313,
628,
220,
220,
220,
220,
220,
220,
220,
26692,
69,
62,
69,
1929,
76,
62,
388,
796,
838,
13,
18,
1303,
12314,
12212,
198,
220,
220,
220,
220,
220,
220,
220,
26692,
69,
62,
69,
1929,
76,
796,
7480,
62,
9888,
1635,
26692,
69,
62,
69,
1929,
76,
62,
388,
1635,
2956,
13,
5605,
2363,
628,
220,
220,
220,
220,
220,
220,
220,
17465,
62,
7857,
796,
7480,
62,
9888,
1635,
838,
1635,
2956,
13,
5605,
2363,
628,
628,
628,
220,
220,
220,
611,
2566,
363,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
33317,
3798,
3008,
28373,
23884,
4458,
18982,
7,
9641,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
5376,
25,
23884,
4458,
18982,
7,
3672,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
14539,
8132,
350,
929,
346,
14753,
23884,
4458,
18982,
7,
67,
13173,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
27871,
605,
45728,
23884,
4458,
18982,
7,
45888,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
3705,
37,
376,
12418,
44,
23884,
4458,
18982,
7,
862,
69,
62,
69,
1929,
76,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
40809,
2546,
23884,
4458,
18982,
7,
32515,
62,
7857,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
44831,
317,
27286,
23884,
4458,
18982,
7,
67,
13173,
9,
7,
45888,
8,
1174,
15,
13,
20,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
44831,
9498,
23884,
4458,
18982,
7,
9332,
1635,
31028,
1635,
357,
15,
13,
20,
9,
67,
13173,
8,
1174,
17,
4008,
628,
220,
220,
220,
1441,
14753,
11,
10662,
68,
11,
26692,
69,
62,
69,
1929,
76,
11,
17465,
62,
7857,
11,
9332,
628,
198,
4299,
3440,
62,
80,
68,
7,
1174,
46265,
22046,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
8778,
82,
262,
31029,
1195,
36,
290,
5860,
262,
3815,
13,
628,
220,
220,
220,
4097,
796,
352,
357,
12286,
11,
11546,
12,
17572,
28642,
8,
198,
220,
220,
220,
4097,
796,
362,
357,
21719,
12,
19504,
28642,
8,
198,
220,
220,
220,
4097,
796,
513,
357,
23601,
12,
23734,
28642,
8,
628,
220,
220,
220,
26375,
897,
25,
628,
220,
220,
220,
6769,
11,
10662,
68,
796,
3440,
62,
80,
68,
7,
3903,
796,
352,
8,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
1330,
6468,
28338,
13,
41667,
355,
2956,
198,
220,
220,
220,
1330,
299,
32152,
355,
45941,
628,
220,
220,
220,
4097,
796,
479,
86,
22046,
13,
12924,
10786,
3903,
3256,
352,
8,
198,
220,
220,
220,
2566,
363,
796,
479,
86,
22046,
13,
12924,
10786,
10989,
363,
3256,
10352,
8,
628,
220,
220,
220,
611,
4097,
6624,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1167,
576,
796,
28686,
13,
6978,
13,
22179,
7,
19608,
324,
343,
11,
705,
15255,
9250,
62,
15259,
62,
17572,
21533,
13,
40664,
11537,
198,
220,
220,
220,
611,
4097,
6624,
362,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1167,
576,
796,
28686,
13,
6978,
13,
22179,
7,
19608,
324,
343,
11,
705,
15255,
9250,
62,
21719,
62,
6200,
21533,
13,
40664,
11537,
198,
220,
220,
220,
611,
4097,
6624,
513,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1167,
576,
796,
28686,
13,
6978,
13,
22179,
7,
19608,
324,
343,
11,
705,
15255,
9250,
62,
23601,
62,
23734,
21533,
13,
40664,
11537,
628,
220,
220,
220,
277,
796,
1280,
7,
259,
7753,
11,
705,
81,
11537,
198,
220,
220,
220,
13639,
796,
6407,
198,
220,
220,
220,
10662,
68,
796,
23884,
198,
220,
220,
220,
900,
796,
10352,
198,
220,
220,
220,
329,
1627,
287,
277,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
13639,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13639,
796,
10352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
7032,
796,
1627,
13,
35312,
7,
3256,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
900,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6769,
796,
12178,
7,
25747,
58,
15,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10662,
68,
796,
12178,
7,
25747,
58,
18,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
900,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6769,
796,
45941,
13,
33295,
7,
19204,
11,
12178,
7,
25747,
58,
15,
60,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10662,
68,
796,
45941,
13,
33295,
7,
80,
68,
11,
12178,
7,
25747,
58,
18,
60,
4008,
628,
220,
220,
220,
277,
13,
19836,
3419,
628,
220,
220,
220,
1303,
13786,
28400,
257,
4326,
198,
220,
220,
220,
6769,
1635,
28,
2956,
13,
21533,
628,
220,
220,
220,
611,
2566,
363,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
11242,
9250,
1195,
13,
36,
13,
40213,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
31407,
23884,
468,
5128,
2393,
23884,
4458,
18982,
7,
3903,
11,
1167,
576,
4008,
628,
198,
220,
220,
220,
1441,
6769,
11,
10662,
68,
1220,
1802,
13,
628,
198,
198,
4299,
3440,
62,
35051,
3458,
7,
1174,
46265,
22046,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
8778,
82,
262,
36237,
4079,
3458,
290,
5860,
262,
3815,
13,
628,
198,
220,
220,
220,
26375,
897,
25,
628,
220,
220,
220,
6769,
11,
4079,
3458,
796,
3440,
62,
35051,
3458,
3419,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
1330,
6468,
28338,
13,
41667,
355,
2956,
198,
220,
220,
220,
1330,
299,
32152,
355,
45941,
628,
220,
220,
220,
2566,
363,
796,
479,
86,
22046,
13,
12924,
10786,
10989,
363,
3256,
10352,
8,
628,
220,
220,
220,
1167,
576,
796,
28686,
13,
6978,
13,
22179,
7,
19608,
324,
343,
11,
705,
282,
62,
11296,
69,
17,
62,
10793,
1472,
62,
31434,
654,
13,
40664,
11537,
628,
220,
220,
220,
277,
796,
1280,
7,
259,
7753,
11,
705,
81,
11537,
198,
220,
220,
220,
13639,
796,
6407,
198,
220,
220,
220,
10662,
68,
796,
23884,
198,
220,
220,
220,
900,
796,
10352,
198,
220,
220,
220,
329,
1627,
287,
277,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
13639,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13639,
796,
10352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
7032,
796,
1627,
13,
35312,
7,
3256,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
900,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6769,
796,
12178,
7,
25747,
58,
15,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4079,
3458,
796,
12178,
7,
25747,
58,
16,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
900,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6769,
796,
45941,
13,
33295,
7,
19204,
11,
12178,
7,
25747,
58,
15,
60,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
4079,
3458,
796,
45941,
13,
33295,
7,
35051,
3458,
11,
12178,
7,
25747,
58,
16,
60,
4008,
628,
220,
220,
220,
277,
13,
19836,
3419,
628,
220,
220,
220,
1303,
13786,
28400,
257,
4326,
198,
220,
220,
220,
6769,
1635,
28,
2956,
13,
21533,
628,
220,
220,
220,
611,
2566,
363,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
27871,
873,
4079,
3458,
40213,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
20560,
2393,
23884,
4458,
18982,
7,
259,
7753,
4008,
628,
198,
220,
220,
220,
1441,
6769,
11,
4079,
3458,
198,
198,
4299,
3440,
62,
445,
24455,
7,
1174,
46265,
22046,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
8778,
82,
262,
31029,
1195,
36,
290,
5860,
262,
3815,
13,
628,
220,
220,
220,
4097,
796,
352,
357,
12286,
11,
11546,
12,
17572,
28642,
8,
198,
220,
220,
220,
4097,
796,
362,
357,
21719,
12,
19504,
28642,
8,
628,
220,
220,
220,
26375,
897,
25,
628,
220,
220,
220,
6769,
11,
11478,
796,
3440,
62,
445,
24455,
7,
3903,
28,
16,
8,
628,
220,
220,
220,
37227,
198,
220,
220,
220,
1330,
6468,
28338,
13,
41667,
355,
2956,
198,
220,
220,
220,
1330,
299,
32152,
355,
45941,
628,
220,
220,
220,
4097,
796,
479,
86,
22046,
13,
12924,
10786,
3903,
3256,
352,
8,
198,
220,
220,
220,
2566,
363,
796,
479,
86,
22046,
13,
12924,
10786,
10989,
363,
3256,
10352,
8,
198,
220,
220,
220,
1657,
796,
479,
86,
22046,
13,
12924,
10786,
2971,
3256,
6407,
8,
628,
220,
220,
220,
611,
1657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1167,
576,
796,
28686,
13,
6978,
13,
22179,
7,
19608,
324,
343,
11,
705,
646,
316,
90,
92,
62,
24455,
62,
2971,
13,
40664,
4458,
18982,
7,
3903,
4008,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1167,
576,
796,
28686,
13,
6978,
13,
22179,
7,
19608,
324,
343,
11,
705,
646,
316,
90,
92,
62,
24455,
13,
40664,
4458,
18982,
7,
3903,
4008,
628,
220,
220,
220,
277,
796,
1280,
7,
259,
7753,
11,
705,
81,
11537,
198,
220,
220,
220,
13639,
796,
6407,
198,
220,
220,
220,
10662,
68,
796,
23884,
198,
220,
220,
220,
900,
796,
10352,
198,
220,
220,
220,
329,
1627,
287,
277,
25,
198,
220,
220,
220,
220,
220,
220,
220,
611,
13639,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
357,
1370,
13,
9688,
2032,
342,
10786,
33484,
26623,
6,
4008,
393,
19203,
4,
51,
6,
287,
1627,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
13639,
796,
10352,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2555,
198,
220,
220,
220,
220,
220,
220,
220,
7032,
796,
1627,
13,
35312,
7,
3256,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
900,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6769,
796,
12178,
7,
25747,
58,
15,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11478,
796,
12178,
7,
25747,
58,
16,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
900,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6769,
796,
45941,
13,
33295,
7,
19204,
11,
12178,
7,
25747,
58,
15,
60,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
11478,
796,
45941,
13,
33295,
7,
7645,
3411,
11,
12178,
7,
25747,
58,
16,
60,
4008,
628,
220,
220,
220,
277,
13,
19836,
3419,
628,
220,
220,
220,
1303,
13786,
28400,
257,
4326,
198,
220,
220,
220,
6769,
1635,
28,
2956,
13,
21533,
628,
220,
220,
220,
611,
2566,
363,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
7738,
8106,
40213,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
31407,
23884,
468,
5128,
2393,
23884,
4458,
18982,
7,
3903,
11,
1167,
576,
4008,
628,
198,
220,
220,
220,
1441,
6769,
11,
11478,
1220,
1802,
13,
628,
198,
4299,
4174,
62,
10379,
1010,
7,
19204,
11,
1020,
11,
12429,
46265,
22046,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
8778,
82,
262,
31029,
1195,
36,
290,
5860,
262,
3815,
13,
628,
220,
220,
220,
4097,
796,
352,
357,
12286,
11,
11546,
12,
17572,
28642,
8,
198,
220,
220,
220,
4097,
796,
362,
357,
21719,
12,
19504,
28642,
8,
628,
220,
220,
220,
26375,
897,
25,
628,
220,
220,
220,
6769,
11,
11478,
796,
3440,
62,
445,
24455,
7,
3903,
28,
16,
8,
628,
220,
220,
220,
37227,
628,
220,
220,
220,
422,
764,
39014,
62,
7645,
3411,
1330,
4174,
62,
7645,
628,
220,
220,
220,
1303,
8778,
16628,
198,
220,
220,
220,
1006,
62,
19204,
11,
4079,
3458,
796,
3440,
62,
35051,
3458,
7,
1174,
46265,
22046,
8,
198,
220,
220,
220,
10662,
68,
62,
19204,
11,
10662,
68,
796,
3440,
62,
80,
68,
7,
1174,
46265,
22046,
8,
198,
220,
220,
220,
2266,
62,
19204,
11,
2266,
62,
7645,
796,
3440,
62,
445,
24455,
7,
1174,
46265,
22046,
8,
628,
220,
220,
220,
1006,
62,
69,
22564,
796,
4174,
62,
7645,
7,
19204,
11,
1020,
11,
1006,
62,
19204,
11,
4079,
3458,
14,
3064,
2014,
198,
220,
220,
220,
10662,
68,
62,
69,
22564,
796,
4174,
62,
7645,
7,
19204,
11,
1006,
62,
69,
22564,
11,
10662,
68,
62,
19204,
11,
10662,
68,
8,
198,
220,
220,
220,
4097,
62,
69,
22564,
796,
4174,
62,
7645,
7,
19204,
11,
10662,
68,
62,
69,
22564,
11,
2266,
62,
19204,
11,
2266,
62,
7645,
8,
628,
220,
220,
220,
1441,
4097,
62,
69,
22564,
628,
628
] | 2.115247 | 5,293 |
from collada_wt.collada_wt import create_turbine | [
6738,
2927,
4763,
62,
46569,
13,
26000,
4763,
62,
46569,
1330,
2251,
62,
83,
5945,
500
] | 3 | 16 |
from typing import Dict
import tensorflow as tf
from model.position_encoding import build_position_encoding
| [
6738,
19720,
1330,
360,
713,
201,
198,
11748,
11192,
273,
11125,
355,
48700,
201,
198,
201,
198,
6738,
2746,
13,
9150,
62,
12685,
7656,
1330,
1382,
62,
9150,
62,
12685,
7656,
201,
198,
201,
198,
201,
198,
201,
198,
201
] | 3 | 40 |
from django.urls import re_path
from . import views
urlpatterns = [
re_path(r'^$', views.Home.as_view(), name='geopost_home'),
re_path(r'^entry/$', views.Entry.as_view(), name='geopost_entry'),
re_path(r'^photo/(?P<entry_uuid>[0-9A-Fa-f-]+)$',
views.photo,
name="geopost_photo"),
re_path(r'^delete/$', views.delete, name='geopost_delete'),
re_path(r'^vantechy/$', views.vantechy, name='geopost_vantechy')
]
| [
6738,
42625,
14208,
13,
6371,
82,
1330,
302,
62,
6978,
198,
6738,
764,
1330,
5009,
198,
198,
6371,
33279,
82,
796,
685,
198,
220,
220,
220,
220,
220,
220,
220,
302,
62,
6978,
7,
81,
6,
61,
3,
3256,
5009,
13,
16060,
13,
292,
62,
1177,
22784,
1438,
11639,
469,
404,
455,
62,
11195,
33809,
198,
220,
220,
220,
220,
220,
220,
220,
302,
62,
6978,
7,
81,
6,
61,
13000,
32624,
3256,
5009,
13,
30150,
13,
292,
62,
1177,
22784,
1438,
11639,
469,
404,
455,
62,
13000,
33809,
198,
220,
220,
220,
220,
220,
220,
220,
302,
62,
6978,
7,
81,
6,
61,
23074,
29006,
30,
47,
27,
13000,
62,
12303,
312,
36937,
15,
12,
24,
32,
12,
50110,
12,
69,
12,
60,
28988,
3,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5009,
13,
23074,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1438,
2625,
469,
404,
455,
62,
23074,
12340,
198,
220,
220,
220,
220,
220,
220,
220,
302,
62,
6978,
7,
81,
6,
61,
33678,
32624,
3256,
5009,
13,
33678,
11,
1438,
11639,
469,
404,
455,
62,
33678,
33809,
198,
220,
220,
220,
220,
220,
220,
220,
302,
62,
6978,
7,
81,
6,
61,
4520,
3055,
88,
32624,
3256,
5009,
13,
4520,
3055,
88,
11,
1438,
11639,
469,
404,
455,
62,
4520,
3055,
88,
11537,
198,
60,
198
] | 2.034483 | 232 |
from depto import departamento
import psycopg2
#except ValueError:
# print('Valor não encontrado.')
#except psycopg2.Error as e:
# print(e.pgerror)
| [
6738,
390,
457,
78,
1330,
6313,
3263,
78,
198,
11748,
17331,
22163,
70,
17,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
16341,
11052,
12331,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
3601,
10786,
7762,
273,
299,
28749,
2207,
756,
81,
4533,
2637,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
16341,
17331,
22163,
70,
17,
13,
12331,
355,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
3601,
7,
68,
13,
79,
1362,
1472,
8,
198
] | 2.043956 | 91 |
__version__ = "0.51.1"
__version_info__ = tuple(__version__.split("."))
| [
834,
9641,
834,
796,
366,
15,
13,
4349,
13,
16,
1,
198,
834,
9641,
62,
10951,
834,
796,
46545,
7,
834,
9641,
834,
13,
35312,
7203,
526,
4008,
198
] | 2.482759 | 29 |
#!/usr/bin/env python
| [
2,
48443,
14629,
14,
8800,
14,
24330,
21015,
628,
628,
628,
198
] | 2.333333 | 12 |
from setuptools import setup
import fabrant
version = fabrant.__version__
setup(
name='fabrant',
version=version,
description="Easy handling of vagrant hosts within fabric",
long_description=open("README.rst").read(),
author='Fabian Schindler',
author_email='[email protected]',
license='MIT',
url='https://github.com/constantinius/fabrant',
py_modules=['fabrant'],
classifiers=[
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
]
)
| [
6738,
900,
37623,
10141,
1330,
9058,
198,
198,
11748,
7843,
5250,
198,
198,
9641,
796,
7843,
5250,
13,
834,
9641,
834,
628,
198,
40406,
7,
198,
220,
220,
220,
1438,
11639,
36434,
5250,
3256,
198,
220,
220,
220,
2196,
28,
9641,
11,
198,
220,
220,
220,
6764,
2625,
28406,
9041,
286,
14334,
5250,
11453,
1626,
9664,
1600,
198,
220,
220,
220,
890,
62,
11213,
28,
9654,
7203,
15675,
11682,
13,
81,
301,
11074,
961,
22784,
198,
220,
220,
220,
1772,
11639,
43957,
666,
3059,
521,
1754,
3256,
198,
220,
220,
220,
1772,
62,
12888,
11639,
36434,
666,
13,
20601,
521,
1754,
31,
68,
1140,
13,
265,
3256,
198,
220,
220,
220,
5964,
11639,
36393,
3256,
198,
220,
220,
220,
19016,
11639,
5450,
1378,
12567,
13,
785,
14,
9979,
415,
259,
3754,
14,
36434,
5250,
3256,
198,
220,
220,
220,
12972,
62,
18170,
28,
17816,
36434,
5250,
6,
4357,
198,
220,
220,
220,
1398,
13350,
41888,
198,
220,
220,
220,
220,
220,
220,
220,
366,
15167,
2229,
15417,
7904,
11361,
7904,
362,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
15167,
2229,
15417,
7904,
11361,
7904,
513,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
5317,
1631,
7591,
1240,
7904,
34152,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
34156,
7904,
7294,
40,
20010,
1079,
7904,
17168,
13789,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
33221,
7904,
10442,
7712,
7904,
46267,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
366,
33221,
7904,
41086,
1600,
198,
220,
220,
220,
2361,
198,
8,
198
] | 2.716475 | 261 |
# tests for lab06, UCSB, CMPSC 8, Summer 2017
# Instructor: P. Conrad
# Student(s): (insert name here)
# @@@ This next function has an error. Can you fix it?
# @@@ Hint: you might need to use the "and" or "or" keywords of python
# @@@ and modify the if test.
def notStringContainingE(word):
"""
return True when word is a string that contains no letter 'e' (or 'E')
It should work both for lower and upper case.
When word isn't a string, return True
(because it is not a string contaning an E)
"""
if not(type(word)==str):
return True
for letter in word:
if letter == 'e':
return False
return True
#@@@ Here is a function definition that doesn't pass one or more of its tests.
#@@@ Fix it! (Also try to understand why it is wrong)
def hasNoX(word):
"""
return True when word is a string that contains no letter 'x'
(and no letter 'X')
It should work both for lower and upper case.
When word isn't a string, return True (because it is not a string
with an x in that case!)
"""
if (type(word)!=str):
return True
for letter in word:
if letter != 'x' and letter != 'X':
return True
return False
# The following function is provided for you as an example
# of how to write a Python function that checks if EVERY element
# of a list has some property.
def isNumber(item):
" return True if item is of type int or type float otherwise False "
return "stub" # HINT You already did this on in a previous lab
def isListOfNumber(theList):
"""
indicates whether value of argument is a list of only simple numbers
(int or float)
Note: empty list should return True---it doesn't contain anything that
ISN'T a simple number
theList can be anything, and the function will return either True or False.
"""
if not type(theList)==list:
return False # it isn't really a list!
# Now we can assume that theList really is a list
# But is it a list of all numerics?
# If we find even a single item that isn't numeric, we can
# immediately return false.
for item in theList:
if not isNumber(item):
return False
# If we get here and didn't return yet, then we know everything
# in the list is a simple numeric!
# (i.e. there isn't anything in the list that is NOT simple numeric)
return True
### @@@ NOW, write a function called isListOfIntegers(x)
### @@@ The function should take anything as an argument, and produce True
### @@@ only if argument is a list consisting of only int values
### @@@ similar to the comments above the other function definitions in this file
### @@@ See previous function for a clue as to how to proceed
### @@@ Note that empty list should return True (for same reasoning as in the previous function)
def isListOfIntegers(theList):
"""
indicates whether value of argument is a list of only int
Note: empty list should return True
because it doesn't contain anything that ISN'T int
theList can be anything, and it will return either True or False.
"""
return "stub"
### @@@ NOW, write a function called isListOfEvenIntegers(x)
### @@@ The function should take anything as an argument, and produce True
### @@@ only if argument is a list consisting of only int values that
### @@@ are even. See previous function for a clue as to how to proceed
### @@@ Note that empty list should return True
### @@@ HINT: to avoid problems when using the % operator
### @@@ (that's another hint), use your isListOfIntegers function first.
### @@@ This is sort of like the way that isListOfSimpleNumeric
### @@@ checks first to see if theList is a list.
### @@@ That way, you kill two birds with one stone---you immediately
### @@@ know that you are working with a list of integers, and you
### @@@ only have to worry about whether all of them are even or not.
def isListOfEvenIntegers(theList):
"""
indicates whether value of argument is a list of only even integers
Note: empty list should return True---it doesn't contain anything that
ISN'T an even integer
theList can be anything, and it will return either True or False.
"""
return "stub"
### @@@ NOW, write a function called totalLength(x)
### @@@ Use the accumulator pattern to compute the total length
### @@@ of all the words in a string
### @@@ The accumulator will be an integer that starts at zero.
### @@@ You'll use a for loop to look at each item in the list
def totalLength(listOfStrings):
"""
returns total length of all the strings in a list of strings,
False if argument not a list, 0 for empty list
"""
return "stub"
### @@@ NOW, write a function called lengthOfEach
### @@@ Use the accumulator pattern to make a list of each of
### @@@ the lengths of the words
### @@@ You'll use a for loop, starting the list as an empty list
def lengthOfEach(listOfStrings):
"""
given list of strings, returns list of ints correponding
to length of each string, otherwise False.
empty list yields empty list.
"""
return "stub"
### @@@ NOW, write a function called countEvens
### @@@ Use the accumulator pattern, starting at zero
### @@@ and add one each time you find an even number
def countEvens(listOfInts):
"""
given a list of ints, counts even ints in list.
Otherwise, returns False.
returns 0 for empty list, or for a list of ints with no evens in it.
"""
return "stub"
### @@@ NOW, write a function called onlyEvens
### @@@ Use the accumulator pattern, starting with an empty list.
### @@@ Use a for loop to traverse the list. Each time you find an item
### @@@ if it isn't an int, return False---otherwise, if it is even, add
### @@@ it to your accumulated list.
def onlyEvens(listOfInts):
"""
given a list of ints, return new list with only the even ones.
Otherwise, return false.
empty list yields empty list
"""
return "stub"
| [
2,
5254,
329,
2248,
3312,
11,
49553,
33,
11,
16477,
3705,
34,
807,
11,
10216,
2177,
198,
2,
47839,
25,
350,
13,
39708,
198,
2,
13613,
7,
82,
2599,
357,
28463,
1438,
994,
8,
198,
198,
2,
2488,
12404,
770,
1306,
2163,
468,
281,
4049,
13,
220,
1680,
345,
4259,
340,
30,
198,
2,
2488,
12404,
367,
600,
25,
345,
1244,
761,
284,
779,
262,
366,
392,
1,
393,
366,
273,
1,
26286,
286,
21015,
198,
2,
2488,
12404,
290,
13096,
262,
611,
1332,
13,
198,
198,
4299,
407,
10100,
4264,
1397,
36,
7,
4775,
2599,
198,
220,
220,
37227,
198,
220,
220,
1441,
6407,
618,
1573,
318,
257,
4731,
326,
4909,
645,
3850,
705,
68,
6,
357,
273,
705,
36,
11537,
198,
220,
220,
632,
815,
670,
1111,
329,
2793,
290,
6727,
1339,
13,
198,
220,
220,
1649,
1573,
2125,
470,
257,
4731,
11,
1441,
6407,
220,
198,
220,
220,
357,
13893,
340,
318,
407,
257,
4731,
542,
7574,
281,
412,
8,
198,
220,
220,
37227,
198,
220,
220,
220,
198,
220,
220,
611,
407,
7,
4906,
7,
4775,
8,
855,
2536,
2599,
198,
220,
220,
220,
220,
220,
1441,
6407,
198,
220,
220,
329,
3850,
287,
1573,
25,
198,
220,
220,
220,
220,
611,
3850,
6624,
705,
68,
10354,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
1441,
10352,
198,
220,
220,
1441,
6407,
628,
198,
2,
12404,
31,
3423,
318,
257,
2163,
6770,
326,
1595,
470,
1208,
530,
393,
517,
286,
663,
5254,
13,
198,
2,
12404,
31,
13268,
340,
0,
220,
357,
7583,
1949,
284,
1833,
1521,
340,
318,
2642,
8,
198,
198,
4299,
468,
2949,
55,
7,
4775,
2599,
198,
220,
220,
37227,
198,
220,
220,
1441,
6407,
618,
1573,
318,
257,
4731,
326,
4909,
645,
3850,
705,
87,
6,
220,
198,
220,
220,
357,
392,
645,
3850,
705,
55,
11537,
198,
220,
220,
632,
815,
670,
1111,
329,
2793,
290,
6727,
1339,
13,
198,
220,
220,
1649,
1573,
2125,
470,
257,
4731,
11,
1441,
6407,
357,
13893,
340,
318,
407,
257,
4731,
220,
198,
220,
220,
351,
281,
220,
2124,
287,
326,
1339,
8133,
198,
220,
220,
37227,
198,
220,
220,
611,
357,
4906,
7,
4775,
31520,
28,
2536,
2599,
198,
220,
220,
220,
220,
220,
1441,
6407,
198,
220,
220,
329,
3850,
287,
1573,
25,
198,
220,
220,
220,
220,
611,
3850,
14512,
705,
87,
6,
290,
3850,
14512,
705,
55,
10354,
198,
220,
220,
220,
220,
220,
220,
1441,
6407,
198,
220,
220,
1441,
10352,
628,
198,
2,
383,
1708,
2163,
318,
2810,
329,
345,
355,
281,
1672,
198,
2,
286,
703,
284,
3551,
257,
11361,
2163,
326,
8794,
611,
27222,
5002,
198,
2,
286,
257,
1351,
468,
617,
3119,
13,
628,
198,
4299,
318,
15057,
7,
9186,
2599,
198,
220,
220,
366,
1441,
6407,
611,
2378,
318,
286,
2099,
493,
393,
2099,
12178,
4306,
10352,
366,
198,
220,
220,
1441,
366,
301,
549,
1,
1303,
367,
12394,
921,
1541,
750,
428,
319,
287,
257,
2180,
2248,
198,
198,
4299,
318,
8053,
5189,
15057,
7,
1169,
8053,
2599,
198,
220,
220,
37227,
198,
220,
220,
9217,
1771,
1988,
286,
4578,
318,
257,
1351,
286,
691,
2829,
3146,
198,
220,
220,
357,
600,
393,
12178,
8,
220,
628,
220,
220,
5740,
25,
6565,
1351,
815,
1441,
6407,
6329,
270,
1595,
470,
3994,
1997,
326,
220,
198,
220,
220,
3180,
45,
6,
51,
257,
2829,
1271,
628,
220,
220,
262,
8053,
460,
307,
1997,
11,
290,
262,
2163,
481,
1441,
2035,
6407,
393,
10352,
13,
198,
220,
220,
37227,
628,
220,
220,
611,
407,
2099,
7,
1169,
8053,
8,
855,
4868,
25,
198,
220,
220,
220,
220,
220,
1441,
10352,
220,
1303,
340,
2125,
470,
1107,
257,
1351,
0,
628,
220,
220,
1303,
2735,
356,
460,
7048,
326,
262,
8053,
1107,
318,
257,
1351,
198,
220,
220,
1303,
887,
318,
340,
257,
1351,
286,
477,
5470,
873,
30,
198,
220,
220,
1303,
1002,
356,
1064,
772,
257,
2060,
2378,
326,
2125,
470,
35575,
11,
356,
460,
198,
220,
220,
1303,
3393,
1441,
3991,
13,
220,
220,
198,
220,
220,
220,
198,
220,
220,
329,
2378,
287,
262,
8053,
25,
198,
220,
220,
220,
220,
611,
407,
318,
15057,
7,
9186,
2599,
198,
220,
220,
220,
220,
220,
220,
1441,
10352,
628,
220,
220,
1303,
1002,
356,
651,
994,
290,
1422,
470,
1441,
1865,
11,
788,
356,
760,
2279,
198,
220,
220,
1303,
287,
262,
1351,
318,
257,
2829,
35575,
0,
198,
220,
220,
1303,
357,
72,
13,
68,
13,
612,
2125,
470,
1997,
287,
262,
1351,
326,
318,
5626,
2829,
35575,
8,
198,
220,
220,
220,
198,
220,
220,
1441,
6407,
628,
198,
198,
21017,
2488,
12404,
20229,
11,
3551,
257,
2163,
1444,
318,
8053,
5189,
34500,
364,
7,
87,
8,
198,
21017,
2488,
12404,
383,
2163,
815,
1011,
1997,
355,
281,
4578,
11,
290,
4439,
6407,
198,
21017,
2488,
12404,
220,
220,
691,
611,
4578,
318,
257,
1351,
17747,
286,
691,
493,
3815,
220,
198,
21017,
2488,
12404,
2092,
284,
262,
3651,
2029,
262,
584,
2163,
17336,
287,
428,
2393,
198,
21017,
2488,
12404,
4091,
2180,
2163,
329,
257,
18437,
355,
284,
703,
284,
5120,
198,
21017,
2488,
12404,
5740,
326,
6565,
1351,
815,
1441,
6407,
357,
1640,
976,
14607,
355,
287,
262,
2180,
2163,
8,
198,
198,
4299,
318,
8053,
5189,
34500,
364,
7,
1169,
8053,
2599,
198,
220,
220,
37227,
198,
220,
220,
9217,
1771,
1988,
286,
4578,
318,
257,
1351,
286,
691,
493,
220,
198,
220,
220,
5740,
25,
6565,
1351,
815,
1441,
6407,
198,
220,
220,
780,
340,
1595,
470,
3994,
1997,
326,
3180,
45,
6,
51,
493,
198,
220,
220,
262,
8053,
460,
307,
1997,
11,
290,
340,
481,
1441,
2035,
6407,
393,
10352,
13,
198,
220,
220,
37227,
198,
220,
220,
1441,
366,
301,
549,
1,
628,
220,
220,
220,
198,
220,
220,
220,
198,
21017,
2488,
12404,
20229,
11,
3551,
257,
2163,
1444,
318,
8053,
5189,
6104,
34500,
364,
7,
87,
8,
198,
21017,
2488,
12404,
383,
2163,
815,
1011,
1997,
355,
281,
4578,
11,
290,
4439,
6407,
198,
21017,
2488,
12404,
220,
220,
691,
611,
4578,
318,
257,
1351,
17747,
286,
691,
493,
3815,
326,
198,
21017,
2488,
12404,
220,
220,
389,
772,
13,
220,
4091,
2180,
2163,
329,
257,
18437,
355,
284,
703,
284,
5120,
198,
21017,
2488,
12404,
5740,
326,
6565,
1351,
815,
1441,
6407,
198,
198,
21017,
2488,
12404,
367,
12394,
25,
284,
3368,
2761,
618,
1262,
262,
4064,
10088,
198,
21017,
2488,
12404,
357,
5562,
338,
1194,
9254,
828,
779,
534,
318,
8053,
5189,
34500,
364,
2163,
717,
13,
198,
21017,
2488,
12404,
770,
318,
3297,
286,
588,
262,
835,
326,
318,
8053,
5189,
26437,
45,
39223,
198,
21017,
2488,
12404,
8794,
717,
284,
766,
611,
262,
8053,
318,
257,
1351,
13,
198,
21017,
2488,
12404,
1320,
835,
11,
345,
1494,
734,
10087,
351,
530,
7815,
6329,
5832,
3393,
198,
21017,
2488,
12404,
760,
326,
345,
389,
1762,
351,
257,
1351,
286,
37014,
11,
290,
345,
198,
21017,
2488,
12404,
691,
423,
284,
5490,
546,
1771,
477,
286,
606,
389,
772,
393,
407,
13,
198,
198,
4299,
318,
8053,
5189,
6104,
34500,
364,
7,
1169,
8053,
2599,
198,
220,
220,
37227,
198,
220,
220,
9217,
1771,
1988,
286,
4578,
318,
257,
1351,
286,
691,
772,
37014,
198,
220,
220,
5740,
25,
6565,
1351,
815,
1441,
6407,
6329,
270,
1595,
470,
3994,
1997,
326,
220,
198,
220,
220,
3180,
45,
6,
51,
281,
772,
18253,
198,
220,
198,
220,
220,
262,
8053,
460,
307,
1997,
11,
290,
340,
481,
1441,
2035,
6407,
393,
10352,
13,
198,
220,
220,
37227,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
1441,
366,
301,
549,
1,
628,
198,
21017,
2488,
12404,
20229,
11,
3551,
257,
2163,
1444,
2472,
24539,
7,
87,
8,
198,
21017,
2488,
12404,
220,
220,
5765,
262,
10507,
8927,
3912,
284,
24061,
262,
2472,
4129,
198,
21017,
2488,
12404,
220,
220,
286,
477,
262,
2456,
287,
257,
4731,
198,
21017,
2488,
12404,
220,
220,
383,
10507,
8927,
481,
307,
281,
18253,
326,
4940,
379,
6632,
13,
198,
21017,
2488,
12404,
220,
220,
921,
1183,
779,
257,
329,
9052,
284,
804,
379,
1123,
2378,
287,
262,
1351,
628,
198,
4299,
2472,
24539,
7,
4868,
5189,
13290,
654,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
5860,
2472,
4129,
286,
477,
262,
13042,
287,
257,
1351,
286,
13042,
11,
220,
198,
220,
220,
220,
10352,
611,
4578,
407,
257,
1351,
11,
657,
329,
6565,
1351,
628,
220,
220,
220,
37227,
628,
220,
220,
220,
1441,
366,
301,
549,
1,
198,
220,
198,
220,
198,
198,
21017,
2488,
12404,
20229,
11,
3551,
257,
2163,
1444,
4129,
5189,
10871,
198,
21017,
2488,
12404,
220,
5765,
262,
10507,
8927,
3912,
284,
787,
257,
1351,
286,
1123,
286,
198,
21017,
2488,
12404,
220,
262,
20428,
286,
262,
2456,
198,
21017,
2488,
12404,
220,
921,
1183,
779,
257,
329,
9052,
11,
3599,
262,
1351,
355,
281,
6565,
1351,
198,
198,
4299,
4129,
5189,
10871,
7,
4868,
5189,
13290,
654,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1813,
1351,
286,
13042,
11,
5860,
1351,
286,
493,
82,
1162,
7856,
42703,
220,
198,
220,
220,
220,
284,
4129,
286,
1123,
4731,
11,
4306,
10352,
13,
628,
220,
220,
220,
6565,
1351,
19299,
6565,
1351,
13,
198,
220,
220,
220,
220,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1441,
366,
301,
549,
1,
198,
220,
220,
220,
220,
198,
220,
220,
220,
198,
198,
21017,
2488,
12404,
20229,
11,
3551,
257,
2163,
1444,
954,
6104,
82,
198,
21017,
2488,
12404,
5765,
262,
10507,
8927,
3912,
11,
3599,
379,
6632,
198,
21017,
2488,
12404,
220,
290,
751,
530,
1123,
640,
345,
1064,
281,
772,
1271,
628,
198,
4299,
954,
6104,
82,
7,
4868,
5189,
5317,
82,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1813,
257,
1351,
286,
493,
82,
11,
9853,
772,
493,
82,
287,
1351,
13,
220,
220,
198,
220,
220,
220,
15323,
11,
5860,
10352,
13,
198,
220,
220,
198,
220,
220,
220,
5860,
657,
329,
6565,
1351,
11,
393,
329,
257,
1351,
286,
493,
82,
351,
645,
772,
82,
287,
340,
13,
198,
220,
220,
220,
37227,
628,
198,
220,
220,
220,
1441,
366,
301,
549,
1,
628,
220,
198,
21017,
2488,
12404,
20229,
11,
3551,
257,
2163,
1444,
691,
6104,
82,
198,
21017,
2488,
12404,
5765,
262,
10507,
8927,
3912,
11,
3599,
351,
281,
6565,
1351,
13,
198,
21017,
2488,
12404,
5765,
257,
329,
9052,
284,
38138,
262,
1351,
13,
220,
5501,
640,
345,
1064,
281,
2378,
198,
21017,
2488,
12404,
220,
611,
340,
2125,
470,
281,
493,
11,
1441,
10352,
6329,
847,
3083,
11,
611,
340,
318,
772,
11,
751,
198,
21017,
2488,
12404,
220,
340,
284,
534,
22425,
1351,
13,
628,
198,
4299,
691,
6104,
82,
7,
4868,
5189,
5317,
82,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
1813,
257,
1351,
286,
493,
82,
11,
1441,
649,
1351,
351,
691,
262,
772,
3392,
13,
220,
220,
198,
220,
220,
220,
15323,
11,
1441,
3991,
13,
628,
220,
220,
220,
6565,
1351,
19299,
6565,
1351,
198,
220,
220,
220,
37227,
628,
220,
220,
220,
1441,
366,
301,
549,
1,
198,
220,
220,
220,
220,
628,
628,
198
] | 3.226859 | 1,869 |
from functools import partial
import json
from unittest import TestCase
from requests import HTTPError
import responses
from tamr_unify_client import Client
from tamr_unify_client.auth import UsernamePasswordAuth
from tamr_unify_client.categorization.category.collection import CategoryCollection
from tamr_unify_client.categorization.category.resource import Category, CategorySpec
from tamr_unify_client.categorization.taxonomy import Taxonomy
from tamr_unify_client.project.resource import Project
| [
6738,
1257,
310,
10141,
1330,
13027,
198,
11748,
33918,
198,
6738,
555,
715,
395,
1330,
6208,
20448,
198,
198,
6738,
7007,
1330,
14626,
12331,
198,
11748,
9109,
198,
198,
6738,
21885,
81,
62,
403,
1958,
62,
16366,
1330,
20985,
198,
6738,
21885,
81,
62,
403,
1958,
62,
16366,
13,
18439,
1330,
50069,
35215,
30515,
198,
6738,
21885,
81,
62,
403,
1958,
62,
16366,
13,
66,
47467,
1634,
13,
22872,
13,
43681,
1330,
21743,
36307,
198,
6738,
21885,
81,
62,
403,
1958,
62,
16366,
13,
66,
47467,
1634,
13,
22872,
13,
31092,
1330,
21743,
11,
21743,
22882,
198,
6738,
21885,
81,
62,
403,
1958,
62,
16366,
13,
66,
47467,
1634,
13,
19290,
30565,
1330,
9241,
30565,
198,
6738,
21885,
81,
62,
403,
1958,
62,
16366,
13,
16302,
13,
31092,
1330,
4935,
628
] | 3.847328 | 131 |
#==========================================================================
#
# Copyright Insight Software Consortium
#
# 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.txt
#
# 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 itk
from sys import argv, exit
itk.auto_progress(2)
if argv[2] == "Ball":
print "Ball"
strel = itk.FlatStructuringElement[2].Ball( int( argv[3] ) )
elif argv[2] == "Box":
print "Box"
strel = itk.FlatStructuringElement[2].Box( int( argv[3] ) )
elif argv[2] == "FromImage":
print "FromImage"
reader = itk.ImageFileReader.IUC2.New( FileName=argv[3] )
strel = itk.FlatStructuringElement[2].FromImageUC( reader.GetOutput() )
else:
print "invalid arguement: " + argv[2]
exit(1)
img = strel.GetImageUC()
size = itk.size( img )
for y in range(0, size.GetElement(1)):
for x in range(0, size.GetElement(0)):
if img.GetPixel( [x, y] ):
print "X",
else:
print " ",
print "\n",
itk.write( img, argv[1] )
# writer = itk.ImageFileWriter.IUC2.New(FileName=argv[1], Input=img )
# itk.echo(writer)
# writer.Update()
| [
2,
23926,
2559,
855,
198,
2,
198,
2,
220,
220,
15069,
39917,
10442,
42727,
198,
2,
198,
2,
220,
220,
49962,
739,
262,
24843,
13789,
11,
10628,
362,
13,
15,
357,
1169,
366,
34156,
15341,
198,
2,
220,
220,
345,
743,
407,
779,
428,
2393,
2845,
287,
11846,
351,
262,
13789,
13,
198,
2,
220,
220,
921,
743,
7330,
257,
4866,
286,
262,
13789,
379,
198,
2,
198,
2,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2638,
1378,
2503,
13,
43073,
13,
2398,
14,
677,
4541,
14,
43,
2149,
24290,
12,
17,
13,
15,
13,
14116,
198,
2,
198,
2,
220,
220,
17486,
2672,
416,
9723,
1099,
393,
4987,
284,
287,
3597,
11,
3788,
198,
2,
220,
220,
9387,
739,
262,
13789,
318,
9387,
319,
281,
366,
1921,
3180,
1,
29809,
1797,
11,
198,
2,
220,
220,
42881,
34764,
11015,
6375,
7102,
49828,
11053,
3963,
15529,
509,
12115,
11,
2035,
4911,
393,
17142,
13,
198,
2,
220,
220,
4091,
262,
13789,
329,
262,
2176,
3303,
15030,
21627,
290,
198,
2,
220,
220,
11247,
739,
262,
13789,
13,
198,
2,
198,
2,
23926,
2559,
855,
16208,
198,
198,
11748,
340,
74,
198,
6738,
25064,
1330,
1822,
85,
11,
8420,
198,
270,
74,
13,
23736,
62,
33723,
7,
17,
8,
198,
198,
361,
1822,
85,
58,
17,
60,
6624,
366,
23410,
1298,
198,
220,
3601,
366,
23410,
1,
198,
220,
1937,
75,
796,
340,
74,
13,
7414,
265,
44909,
870,
20180,
58,
17,
4083,
23410,
7,
493,
7,
1822,
85,
58,
18,
60,
1267,
1267,
198,
417,
361,
1822,
85,
58,
17,
60,
6624,
366,
14253,
1298,
198,
220,
3601,
366,
14253,
1,
198,
220,
1937,
75,
796,
340,
74,
13,
7414,
265,
44909,
870,
20180,
58,
17,
4083,
14253,
7,
493,
7,
1822,
85,
58,
18,
60,
1267,
1267,
198,
417,
361,
1822,
85,
58,
17,
60,
6624,
366,
4863,
5159,
1298,
198,
220,
3601,
366,
4863,
5159,
1,
198,
220,
9173,
796,
340,
74,
13,
5159,
8979,
33634,
13,
40,
9598,
17,
13,
3791,
7,
9220,
5376,
28,
853,
85,
58,
18,
60,
1267,
198,
220,
1937,
75,
796,
340,
74,
13,
7414,
265,
44909,
870,
20180,
58,
17,
4083,
4863,
5159,
9598,
7,
9173,
13,
3855,
26410,
3419,
1267,
198,
17772,
25,
198,
220,
3601,
366,
259,
12102,
1822,
84,
972,
25,
366,
1343,
1822,
85,
58,
17,
60,
198,
220,
8420,
7,
16,
8,
198,
198,
9600,
796,
1937,
75,
13,
3855,
5159,
9598,
3419,
198,
7857,
796,
340,
74,
13,
7857,
7,
33705,
1267,
198,
1640,
331,
287,
2837,
7,
15,
11,
2546,
13,
3855,
20180,
7,
16,
8,
2599,
198,
220,
329,
2124,
287,
2837,
7,
15,
11,
2546,
13,
3855,
20180,
7,
15,
8,
2599,
198,
220,
220,
611,
33705,
13,
3855,
40809,
7,
685,
87,
11,
331,
60,
15179,
198,
220,
220,
220,
220,
3601,
366,
55,
1600,
198,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
3601,
366,
33172,
198,
220,
3601,
37082,
77,
1600,
198,
198,
270,
74,
13,
13564,
7,
33705,
11,
1822,
85,
58,
16,
60,
1267,
198,
198,
2,
6260,
796,
340,
74,
13,
5159,
8979,
34379,
13,
40,
9598,
17,
13,
3791,
7,
8979,
5376,
28,
853,
85,
58,
16,
4357,
23412,
28,
9600,
1267,
198,
2,
340,
74,
13,
30328,
7,
16002,
8,
198,
2,
6260,
13,
10260,
3419,
198
] | 2.911871 | 556 |
x = int(input())
y = int(input())
if x > y:
x, y = y, x
soma = 0
for i in range(x+1, y, 1):
if i%2 != 0:
soma += i
print(soma) | [
87,
796,
493,
7,
15414,
28955,
198,
88,
796,
493,
7,
15414,
28955,
198,
198,
361,
2124,
1875,
331,
25,
198,
220,
220,
220,
2124,
11,
331,
796,
331,
11,
2124,
198,
198,
82,
6086,
796,
657,
198,
1640,
1312,
287,
2837,
7,
87,
10,
16,
11,
331,
11,
352,
2599,
198,
220,
220,
220,
611,
1312,
4,
17,
14512,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3870,
64,
15853,
1312,
198,
198,
4798,
7,
82,
6086,
8
] | 1.790123 | 81 |
from django.db import models
from cloudinary.models import CloudinaryField
from django.contrib.auth.models import User
# Create your models here.
| [
6738,
42625,
14208,
13,
9945,
1330,
4981,
198,
6738,
6279,
3219,
13,
27530,
1330,
10130,
3219,
15878,
198,
6738,
42625,
14208,
13,
3642,
822,
13,
18439,
13,
27530,
1330,
11787,
198,
198,
2,
13610,
534,
4981,
994,
13,
628,
220,
220,
220,
220,
198
] | 3.477273 | 44 |
from fastapi import FastAPI
from fastapi.responses import FileResponse
app = FastAPI()
@app.get("/") | [
6738,
3049,
15042,
1330,
12549,
17614,
198,
6738,
3049,
15042,
13,
16733,
274,
1330,
9220,
31077,
198,
198,
1324,
796,
12549,
17614,
3419,
628,
198,
31,
1324,
13,
1136,
7203,
14,
4943
] | 3.21875 | 32 |
from rest_framework.serializers import ModelSerializer
from article_comment.models import ArticleComment
from myuser.serializers import TempUserListSerializer
| [
6738,
1334,
62,
30604,
13,
46911,
11341,
1330,
9104,
32634,
7509,
198,
198,
6738,
2708,
62,
23893,
13,
27530,
1330,
10172,
21357,
198,
6738,
616,
7220,
13,
46911,
11341,
1330,
24189,
12982,
8053,
32634,
7509,
628,
628
] | 4.405405 | 37 |
'''
promt translate for free as in beer
'''
from typing import Any, Callable, Dict, Tuple
import sys
import logging
import json
from time import time
from random import randint
import pytest # type: ignore
# import mock
import urllib3
from ratelimit import limits, sleep_and_retry # type: ignore
import requests
from fuzzywuzzy import fuzz, process # type: ignore
import coloredlogs # type: ignore
from jmespath import search # type: ignore
urllib3.disable_warnings()
# logging.captureWarnings(True)
# logging.getLogger('requests.packages.urllib3.connectionpool').level = 30
LOGGER = logging.getLogger(__name__)
FMT = '%(filename)-14s[%(lineno)-3d] %(message)s [%(funcName)s]'
coloredlogs.install(level=20, logger=LOGGER, fmt=FMT)
# en-ar en-zhcn
LANG_CODES = (
"ar,ca,zhcn,nl,fi,fr,de,el,he,hi,it,ja,kk,ko,pt,ru,es,tr,uk"
).split(',') + ['auto']
URL = (
'https://www.online-translator.com/'
'services/soap.asmx/GetTranslation'
)
UA = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1309.0 Safari/537.17' # noqa
# HEADERS = {"User-Agent": UA}
HEADERS = {
'Host': 'www.online-translator.com',
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0',
'Accept': 'application/json, text/javascript, */*; q=0.01',
'Accept-Language': 'zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2',
'Content-Type': 'application/json; charset=utf-8',
'X-Requested-With': 'XMLHttpRequest',
'Origin': 'https://www.online-translator.com',
# 'DNT': '1',
'Referer': 'https://www.online-translator.com/',
}
SESS = requests.Session()
SESS.get('https://www.online-translator.com/', verify=0)
def with_func_attrs(**attrs: Any) -> Callable:
''' with_func_attrs '''
return with_attrs
@with_func_attrs(text='')
def _promt_tr(
text: str,
from_lang: str = 'auto',
to_lang: str = 'zh',
timeout: Tuple[float, float] = (55, 66),
) -> Dict[str, str]:
''' promt_tr
text = 'test one two three'
from_lang = 'auto'
to_lang = 'zh'
timeout = (55, 66)
'''
try:
from_lang = from_lang.lower()
except Exception as exc: # pragma: no cover
LOGGER.warning("%s", exc)
from_lang = 'auto'
try:
to_lang = to_lang.lower()
except Exception as exc: # pragma: no cover
LOGGER.warning("%s", exc)
to_lang = 'zh'
if from_lang in ['zh', 'chinese', 'zhongwen']:
from_lang = 'zhcn'
if to_lang in ['zh', 'chinese', 'zhongwen']:
to_lang = 'zhcn'
try:
from_lang = process.extractOne(from_lang, LANG_CODES, scorer=fuzz.UWRatio)[0] # noqa
except Exception as exc: # pragma: no cover
LOGGER.warning("%s", exc)
from_lang = 'en'
try:
to_lang = process.extractOne(to_lang, LANG_CODES, scorer=fuzz.UWRatio)[0] # noqa
except Exception as exc: # pragma: no cover
LOGGER.warning("%s", exc)
to_lang = 'en'
if from_lang == 'auto':
from_lang = 'au'
if to_lang == 'auto': # pragma: no cover
to_lang = 'au'
dir_code = f'{from_lang}-{to_lang}'
data = {
'dirCode': dir_code,
# 'dirCode': 'de-en',
'template': 'General',
# 'text': 'Das sind drei Teste.',
'text': text,
'lang': 'en',
'limit': '3000',
'useAutoDetect': True,
'key': '123',
'ts': 'MainSite',
'tid': '',
'IsMobile': False
}
try:
resp = SESS.post( # type: ignore # data # expected "Union[None, bytes, MutableMapping[str, str], IO[Any]] # noqa
URL,
# data=data2,
data=json.dumps(data),
headers=HEADERS,
timeout=timeout,
)
resp.raise_for_status()
except Exception as exc: # pragma: no cover
LOGGER.error('%s', exc)
resp = requests.models.Response()
resp._content = f'{{"errorCode": "{exc}"}}'.encode()
resp.status_code = 499
try:
jdata = resp.json()
except Exception as exc: # pragma: no cover
LOGGER.error('%s', exc)
jdata = {'error': str(exc)}
promt_tr.text = resp.text
try:
# res = search('[0].translations[0].text', jdata)
res = search('d.result', jdata)
except Exception as exc: # pragma: no cover
LOGGER.error('%s', exc)
res = {'error': str(exc)}
return res
@sleep_and_retry
@limits(calls=30, period=20, raise_on_limit=True) # raise_on_limit probably superfluous
def _rl_promt_tr(*args, **kwargs):
''' be nice and throttle'''
LOGGER.info(' rate limiting 3 calls/2 secs... ')
return _promt_tr(*args, **kwargs)
@with_func_attrs(calls=0, call_tick=-1)
def promt_tr(*args, **kwargs):
''' exempt first 200 calls from rate limiting '''
# increase calls unto 210
if promt_tr.calls < 210:
promt_tr.calls += 1
# reset rate limit if the last call was 2 minutes ago
tick = time()
if tick - promt_tr.call_tick > 120:
promt_tr.calls = 1
promt_tr.call_tick = tick
if promt_tr.calls < 200:
return _promt_tr(*args, **kwargs)
return _rl_promt_tr(*args, **kwargs)
@pytest.mark.parametrize(
# 'to_lang', LANG_CODES
'to_lang', ['zh', 'de', 'fr', 'it', 'ko', 'ja', 'ru']
)
def test_sanity(to_lang):
'sanity test'
numb = str(randint(1, 10000))
text = 'test ' + numb
assert numb in promt_tr(text, to_lang=to_lang)
def test_calls():
''' test calls '''
_ = promt_tr('test ')
calls = promt_tr.calls
_ = promt_tr('test ')
assert promt_tr.calls == calls + 1
def main(): # pragma: no cover
''' main '''
text = sys.argv[1:]
text1 = ''
if not text:
print(' Provide something to translate, testing with some random text\n')
text = 'test tihs and that' + str(randint(1, 1000))
text1 = 'test tihs and that' + str(randint(1, 1000))
print(f'{text} translated to:')
for to_lang in ['zh', 'de', 'fr', ]:
print(f'{to_lang}: {promt_tr(text, to_lang=to_lang)}')
if not text1:
print(f'{to_lang}: {promt_tr(text1, to_lang=to_lang)}')
def init():
''' attempted to pytest __name__ == '__main__' '''
LOGGER.debug('__name__: %s', __name__)
if __name__ == '__main__':
sys.exit(main())
init()
# test_init()
| [
7061,
6,
198,
16963,
83,
15772,
329,
1479,
355,
287,
6099,
198,
7061,
6,
198,
198,
6738,
19720,
1330,
4377,
11,
4889,
540,
11,
360,
713,
11,
309,
29291,
198,
198,
11748,
25064,
198,
11748,
18931,
198,
11748,
33918,
198,
6738,
640,
1330,
640,
198,
6738,
4738,
1330,
43720,
600,
198,
11748,
12972,
9288,
220,
1303,
2099,
25,
8856,
198,
2,
1330,
15290,
198,
11748,
2956,
297,
571,
18,
198,
198,
6738,
2494,
32374,
1330,
7095,
11,
3993,
62,
392,
62,
1186,
563,
220,
1303,
2099,
25,
8856,
198,
11748,
7007,
198,
6738,
34669,
86,
4715,
88,
1330,
26080,
11,
1429,
220,
1303,
2099,
25,
8856,
198,
11748,
16396,
6404,
82,
220,
1303,
2099,
25,
8856,
198,
6738,
474,
6880,
6978,
1330,
2989,
220,
1303,
2099,
25,
8856,
198,
198,
333,
297,
571,
18,
13,
40223,
62,
40539,
654,
3419,
198,
2,
18931,
13,
27144,
495,
54,
1501,
654,
7,
17821,
8,
198,
2,
18931,
13,
1136,
11187,
1362,
10786,
8897,
3558,
13,
43789,
13,
333,
297,
571,
18,
13,
38659,
7742,
27691,
5715,
796,
1542,
198,
198,
25294,
30373,
796,
18931,
13,
1136,
11187,
1362,
7,
834,
3672,
834,
8,
198,
37,
13752,
796,
705,
4,
7,
34345,
13219,
1415,
82,
58,
4,
7,
2815,
23397,
13219,
18,
67,
60,
4064,
7,
20500,
8,
82,
685,
4,
7,
20786,
5376,
8,
82,
49946,
198,
25717,
6404,
82,
13,
17350,
7,
5715,
28,
1238,
11,
49706,
28,
25294,
30373,
11,
46996,
28,
37,
13752,
8,
198,
198,
2,
551,
12,
283,
551,
12,
23548,
31522,
198,
43,
15567,
62,
34,
3727,
1546,
796,
357,
198,
220,
220,
220,
366,
283,
11,
6888,
11,
23548,
31522,
11,
21283,
11,
12463,
11,
8310,
11,
2934,
11,
417,
11,
258,
11,
5303,
11,
270,
11,
6592,
11,
28747,
11,
7204,
11,
457,
11,
622,
11,
274,
11,
2213,
11,
2724,
1,
198,
737,
35312,
7,
3256,
11537,
1343,
37250,
23736,
20520,
198,
198,
21886,
796,
357,
198,
220,
220,
220,
705,
5450,
1378,
2503,
13,
25119,
12,
7645,
41880,
13,
785,
14,
6,
198,
220,
220,
220,
705,
30416,
14,
568,
499,
13,
8597,
87,
14,
3855,
48313,
6,
198,
8,
198,
34970,
796,
705,
44,
8590,
5049,
14,
20,
13,
15,
357,
14155,
37638,
26,
8180,
4100,
7294,
1395,
838,
62,
23,
62,
17,
8,
4196,
13908,
20827,
14,
46096,
13,
1558,
357,
42,
28656,
11,
588,
2269,
37549,
8,
13282,
14,
1731,
13,
15,
13,
12952,
24,
13,
15,
23298,
14,
46096,
13,
1558,
6,
220,
1303,
645,
20402,
198,
2,
39837,
4877,
796,
19779,
12982,
12,
36772,
1298,
46164,
92,
198,
37682,
4877,
796,
1391,
198,
220,
220,
220,
705,
17932,
10354,
705,
2503,
13,
25119,
12,
7645,
41880,
13,
785,
3256,
198,
220,
220,
220,
705,
12982,
12,
36772,
10354,
705,
44,
8590,
5049,
14,
20,
13,
15,
357,
11209,
24563,
838,
13,
15,
26,
7178,
2414,
26,
2124,
2414,
26,
374,
85,
25,
2154,
13,
15,
8,
2269,
37549,
14,
1264,
8298,
486,
16802,
14,
2154,
13,
15,
3256,
198,
220,
220,
220,
705,
38855,
10354,
705,
31438,
14,
17752,
11,
2420,
14,
37495,
11,
9466,
9,
26,
10662,
28,
15,
13,
486,
3256,
198,
220,
220,
220,
705,
38855,
12,
32065,
10354,
705,
23548,
12,
44175,
11,
23548,
26,
80,
28,
15,
13,
23,
11,
23548,
12,
34551,
26,
80,
28,
15,
13,
22,
11,
23548,
12,
38730,
26,
80,
28,
15,
13,
20,
11,
268,
12,
2937,
26,
80,
28,
15,
13,
18,
11,
268,
26,
80,
28,
15,
13,
17,
3256,
198,
220,
220,
220,
705,
19746,
12,
6030,
10354,
705,
31438,
14,
17752,
26,
34534,
316,
28,
40477,
12,
23,
3256,
198,
220,
220,
220,
705,
55,
12,
18453,
276,
12,
3152,
10354,
705,
55,
5805,
43481,
18453,
3256,
198,
220,
220,
220,
705,
39688,
10354,
705,
5450,
1378,
2503,
13,
25119,
12,
7645,
41880,
13,
785,
3256,
198,
220,
220,
220,
1303,
705,
35,
11251,
10354,
705,
16,
3256,
198,
220,
220,
220,
705,
8134,
11882,
10354,
705,
5450,
1378,
2503,
13,
25119,
12,
7645,
41880,
13,
785,
14,
3256,
198,
92,
198,
198,
50,
7597,
796,
7007,
13,
36044,
3419,
198,
50,
7597,
13,
1136,
10786,
5450,
1378,
2503,
13,
25119,
12,
7645,
41880,
13,
785,
14,
3256,
11767,
28,
15,
8,
628,
198,
4299,
351,
62,
20786,
62,
1078,
3808,
7,
1174,
1078,
3808,
25,
4377,
8,
4613,
4889,
540,
25,
198,
220,
220,
220,
705,
7061,
351,
62,
20786,
62,
1078,
3808,
705,
7061,
198,
220,
220,
220,
1441,
351,
62,
1078,
3808,
628,
198,
31,
4480,
62,
20786,
62,
1078,
3808,
7,
5239,
28,
7061,
8,
198,
4299,
4808,
16963,
83,
62,
2213,
7,
198,
220,
220,
220,
220,
220,
220,
220,
2420,
25,
965,
11,
198,
220,
220,
220,
220,
220,
220,
220,
422,
62,
17204,
25,
965,
796,
705,
23736,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
284,
62,
17204,
25,
965,
796,
705,
23548,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
26827,
25,
309,
29291,
58,
22468,
11,
12178,
60,
796,
357,
2816,
11,
7930,
828,
198,
8,
4613,
360,
713,
58,
2536,
11,
965,
5974,
198,
220,
220,
220,
705,
7061,
1552,
83,
62,
2213,
628,
220,
220,
220,
2420,
796,
705,
9288,
530,
734,
1115,
6,
198,
220,
220,
220,
422,
62,
17204,
796,
705,
23736,
6,
198,
220,
220,
220,
284,
62,
17204,
796,
705,
23548,
6,
198,
220,
220,
220,
26827,
796,
357,
2816,
11,
7930,
8,
198,
220,
220,
220,
705,
7061,
628,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
422,
62,
17204,
796,
422,
62,
17204,
13,
21037,
3419,
198,
220,
220,
220,
2845,
35528,
355,
2859,
25,
220,
1303,
23864,
2611,
25,
645,
3002,
198,
220,
220,
220,
220,
220,
220,
220,
41605,
30373,
13,
43917,
7203,
4,
82,
1600,
2859,
8,
198,
220,
220,
220,
220,
220,
220,
220,
422,
62,
17204,
796,
705,
23736,
6,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
284,
62,
17204,
796,
284,
62,
17204,
13,
21037,
3419,
198,
220,
220,
220,
2845,
35528,
355,
2859,
25,
220,
1303,
23864,
2611,
25,
645,
3002,
198,
220,
220,
220,
220,
220,
220,
220,
41605,
30373,
13,
43917,
7203,
4,
82,
1600,
2859,
8,
198,
220,
220,
220,
220,
220,
220,
220,
284,
62,
17204,
796,
705,
23548,
6,
628,
220,
220,
220,
611,
422,
62,
17204,
287,
37250,
23548,
3256,
705,
354,
3762,
3256,
705,
23548,
506,
21006,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
422,
62,
17204,
796,
705,
23548,
31522,
6,
198,
220,
220,
220,
611,
284,
62,
17204,
287,
37250,
23548,
3256,
705,
354,
3762,
3256,
705,
23548,
506,
21006,
6,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
284,
62,
17204,
796,
705,
23548,
31522,
6,
628,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
422,
62,
17204,
796,
1429,
13,
2302,
974,
3198,
7,
6738,
62,
17204,
11,
406,
15567,
62,
34,
3727,
1546,
11,
30664,
28,
69,
4715,
13,
52,
18564,
39485,
38381,
15,
60,
220,
1303,
645,
20402,
198,
220,
220,
220,
2845,
35528,
355,
2859,
25,
220,
1303,
23864,
2611,
25,
645,
3002,
198,
220,
220,
220,
220,
220,
220,
220,
41605,
30373,
13,
43917,
7203,
4,
82,
1600,
2859,
8,
198,
220,
220,
220,
220,
220,
220,
220,
422,
62,
17204,
796,
705,
268,
6,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
284,
62,
17204,
796,
1429,
13,
2302,
974,
3198,
7,
1462,
62,
17204,
11,
406,
15567,
62,
34,
3727,
1546,
11,
30664,
28,
69,
4715,
13,
52,
18564,
39485,
38381,
15,
60,
220,
1303,
645,
20402,
198,
220,
220,
220,
2845,
35528,
355,
2859,
25,
220,
1303,
23864,
2611,
25,
645,
3002,
198,
220,
220,
220,
220,
220,
220,
220,
41605,
30373,
13,
43917,
7203,
4,
82,
1600,
2859,
8,
198,
220,
220,
220,
220,
220,
220,
220,
284,
62,
17204,
796,
705,
268,
6,
628,
220,
220,
220,
611,
422,
62,
17204,
6624,
705,
23736,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
422,
62,
17204,
796,
705,
559,
6,
198,
220,
220,
220,
611,
284,
62,
17204,
6624,
705,
23736,
10354,
220,
1303,
23864,
2611,
25,
645,
3002,
198,
220,
220,
220,
220,
220,
220,
220,
284,
62,
17204,
796,
705,
559,
6,
628,
220,
220,
220,
26672,
62,
8189,
796,
277,
6,
90,
6738,
62,
17204,
92,
12,
90,
1462,
62,
17204,
92,
6,
198,
220,
220,
220,
1366,
796,
1391,
198,
220,
220,
220,
220,
220,
220,
220,
705,
15908,
10669,
10354,
26672,
62,
8189,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
705,
15908,
10669,
10354,
705,
2934,
12,
268,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
28243,
10354,
705,
12218,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
705,
5239,
10354,
705,
35,
292,
264,
521,
288,
260,
72,
6208,
68,
2637,
11,
198,
220,
220,
220,
220,
220,
220,
220,
705,
5239,
10354,
2420,
11,
198,
220,
220,
220,
220,
220,
220,
220,
705,
17204,
10354,
705,
268,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
32374,
10354,
705,
23924,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
1904,
27722,
47504,
10354,
6407,
11,
198,
220,
220,
220,
220,
220,
220,
220,
705,
2539,
10354,
705,
10163,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
912,
10354,
705,
13383,
29123,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
83,
312,
10354,
705,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
705,
3792,
17066,
10354,
10352,
198,
220,
220,
220,
1782,
628,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1217,
796,
311,
7597,
13,
7353,
7,
220,
1303,
2099,
25,
8856,
220,
1303,
1366,
220,
1303,
2938,
366,
38176,
58,
14202,
11,
9881,
11,
13859,
540,
44,
5912,
58,
2536,
11,
965,
4357,
24418,
58,
7149,
11907,
220,
1303,
645,
20402,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10289,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1366,
28,
7890,
17,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1366,
28,
17752,
13,
67,
8142,
7,
7890,
828,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
24697,
28,
37682,
4877,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
26827,
28,
48678,
11,
198,
220,
220,
220,
220,
220,
220,
220,
1267,
198,
220,
220,
220,
220,
220,
220,
220,
1217,
13,
40225,
62,
1640,
62,
13376,
3419,
198,
220,
220,
220,
2845,
35528,
355,
2859,
25,
220,
1303,
23864,
2611,
25,
645,
3002,
198,
220,
220,
220,
220,
220,
220,
220,
41605,
30373,
13,
18224,
10786,
4,
82,
3256,
2859,
8,
198,
220,
220,
220,
220,
220,
220,
220,
1217,
796,
7007,
13,
27530,
13,
31077,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1217,
13557,
11299,
796,
277,
6,
90,
4895,
18224,
10669,
1298,
45144,
41194,
36786,
11709,
4458,
268,
8189,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
1217,
13,
13376,
62,
8189,
796,
48391,
198,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
474,
7890,
796,
1217,
13,
17752,
3419,
198,
220,
220,
220,
2845,
35528,
355,
2859,
25,
220,
1303,
23864,
2611,
25,
645,
3002,
198,
220,
220,
220,
220,
220,
220,
220,
41605,
30373,
13,
18224,
10786,
4,
82,
3256,
2859,
8,
198,
220,
220,
220,
220,
220,
220,
220,
474,
7890,
796,
1391,
6,
18224,
10354,
965,
7,
41194,
38165,
628,
220,
220,
220,
1552,
83,
62,
2213,
13,
5239,
796,
1217,
13,
5239,
628,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
581,
796,
2989,
10786,
58,
15,
4083,
7645,
49905,
58,
15,
4083,
5239,
3256,
474,
7890,
8,
198,
220,
220,
220,
220,
220,
220,
220,
581,
796,
2989,
10786,
67,
13,
20274,
3256,
474,
7890,
8,
198,
220,
220,
220,
2845,
35528,
355,
2859,
25,
220,
1303,
23864,
2611,
25,
645,
3002,
198,
220,
220,
220,
220,
220,
220,
220,
41605,
30373,
13,
18224,
10786,
4,
82,
3256,
2859,
8,
198,
220,
220,
220,
220,
220,
220,
220,
581,
796,
1391,
6,
18224,
10354,
965,
7,
41194,
38165,
628,
220,
220,
220,
1441,
581,
628,
198,
31,
42832,
62,
392,
62,
1186,
563,
198,
31,
49196,
7,
66,
5691,
28,
1270,
11,
2278,
28,
1238,
11,
5298,
62,
261,
62,
32374,
28,
17821,
8,
220,
1303,
5298,
62,
261,
62,
32374,
2192,
48713,
516,
198,
4299,
4808,
45895,
62,
16963,
83,
62,
2213,
46491,
22046,
11,
12429,
46265,
22046,
2599,
198,
220,
220,
220,
705,
7061,
307,
3621,
290,
29976,
7061,
6,
198,
220,
220,
220,
41605,
30373,
13,
10951,
10786,
2494,
15637,
513,
3848,
14,
17,
792,
82,
986,
705,
8,
198,
220,
220,
220,
1441,
4808,
16963,
83,
62,
2213,
46491,
22046,
11,
12429,
46265,
22046,
8,
628,
198,
31,
4480,
62,
20786,
62,
1078,
3808,
7,
66,
5691,
28,
15,
11,
869,
62,
42298,
10779,
16,
8,
198,
4299,
1552,
83,
62,
2213,
46491,
22046,
11,
12429,
46265,
22046,
2599,
198,
220,
220,
220,
705,
7061,
13068,
717,
939,
3848,
422,
2494,
15637,
705,
7061,
628,
220,
220,
220,
1303,
2620,
3848,
12722,
20064,
198,
220,
220,
220,
611,
1552,
83,
62,
2213,
13,
66,
5691,
1279,
20064,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1552,
83,
62,
2213,
13,
66,
5691,
15853,
352,
628,
220,
220,
220,
1303,
13259,
2494,
4179,
611,
262,
938,
869,
373,
362,
2431,
2084,
198,
220,
220,
220,
4378,
796,
640,
3419,
198,
220,
220,
220,
611,
4378,
532,
1552,
83,
62,
2213,
13,
13345,
62,
42298,
1875,
7982,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1552,
83,
62,
2213,
13,
66,
5691,
796,
352,
198,
220,
220,
220,
1552,
83,
62,
2213,
13,
13345,
62,
42298,
796,
4378,
628,
220,
220,
220,
611,
1552,
83,
62,
2213,
13,
66,
5691,
1279,
939,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1441,
4808,
16963,
83,
62,
2213,
46491,
22046,
11,
12429,
46265,
22046,
8,
628,
220,
220,
220,
1441,
4808,
45895,
62,
16963,
83,
62,
2213,
46491,
22046,
11,
12429,
46265,
22046,
8,
628,
198,
31,
9078,
9288,
13,
4102,
13,
17143,
316,
380,
2736,
7,
198,
220,
220,
220,
1303,
705,
1462,
62,
17204,
3256,
406,
15567,
62,
34,
3727,
1546,
198,
220,
220,
220,
705,
1462,
62,
17204,
3256,
37250,
23548,
3256,
705,
2934,
3256,
705,
8310,
3256,
705,
270,
3256,
705,
7204,
3256,
705,
6592,
3256,
705,
622,
20520,
198,
8,
198,
4299,
1332,
62,
12807,
414,
7,
1462,
62,
17204,
2599,
198,
220,
220,
220,
705,
12807,
414,
1332,
6,
628,
220,
220,
220,
35519,
796,
965,
7,
25192,
600,
7,
16,
11,
33028,
4008,
198,
220,
220,
220,
2420,
796,
705,
9288,
705,
1343,
35519,
198,
220,
220,
220,
6818,
35519,
287,
1552,
83,
62,
2213,
7,
5239,
11,
284,
62,
17204,
28,
1462,
62,
17204,
8,
628,
198,
4299,
1332,
62,
66,
5691,
33529,
198,
220,
220,
220,
705,
7061,
1332,
3848,
705,
7061,
198,
220,
220,
220,
4808,
796,
1552,
83,
62,
2213,
10786,
9288,
705,
8,
198,
220,
220,
220,
3848,
796,
1552,
83,
62,
2213,
13,
66,
5691,
198,
220,
220,
220,
4808,
796,
1552,
83,
62,
2213,
10786,
9288,
705,
8,
198,
220,
220,
220,
6818,
1552,
83,
62,
2213,
13,
66,
5691,
6624,
3848,
1343,
352,
628,
198,
4299,
1388,
33529,
220,
1303,
23864,
2611,
25,
645,
3002,
198,
220,
220,
220,
705,
7061,
1388,
705,
7061,
628,
220,
220,
220,
2420,
796,
25064,
13,
853,
85,
58,
16,
47715,
198,
220,
220,
220,
2420,
16,
796,
10148,
198,
220,
220,
220,
611,
407,
2420,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
44290,
1223,
284,
15772,
11,
4856,
351,
617,
4738,
2420,
59,
77,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
2420,
796,
705,
9288,
256,
4449,
82,
290,
326,
6,
1343,
965,
7,
25192,
600,
7,
16,
11,
8576,
4008,
198,
220,
220,
220,
220,
220,
220,
220,
2420,
16,
796,
705,
9288,
256,
4449,
82,
290,
326,
6,
1343,
965,
7,
25192,
600,
7,
16,
11,
8576,
4008,
628,
220,
220,
220,
3601,
7,
69,
6,
90,
5239,
92,
14251,
284,
25,
11537,
198,
220,
220,
220,
329,
284,
62,
17204,
287,
37250,
23548,
3256,
705,
2934,
3256,
705,
8310,
3256,
2361,
25,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
69,
6,
90,
1462,
62,
17204,
38362,
1391,
16963,
83,
62,
2213,
7,
5239,
11,
284,
62,
17204,
28,
1462,
62,
17204,
38165,
11537,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
2420,
16,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
7,
69,
6,
90,
1462,
62,
17204,
38362,
1391,
16963,
83,
62,
2213,
7,
5239,
16,
11,
284,
62,
17204,
28,
1462,
62,
17204,
38165,
11537,
628,
198,
4299,
2315,
33529,
198,
220,
220,
220,
705,
7061,
7482,
284,
12972,
9288,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
6,
705,
7061,
198,
220,
220,
220,
41605,
30373,
13,
24442,
10786,
834,
3672,
834,
25,
4064,
82,
3256,
11593,
3672,
834,
8,
198,
220,
220,
220,
611,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
25064,
13,
37023,
7,
12417,
28955,
628,
198,
15003,
3419,
198,
198,
2,
1332,
62,
15003,
3419,
198
] | 2.186776 | 2,934 |
import argparse
import json
from collections import defaultdict
from typing import Dict, List
if __name__ == "__main__":
main()
| [
11748,
1822,
29572,
198,
11748,
33918,
198,
6738,
17268,
1330,
4277,
11600,
198,
6738,
19720,
1330,
360,
713,
11,
7343,
628,
628,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
1388,
3419,
198
] | 3.4 | 40 |
from os import path,makedirs
from urllib.request import urlretrieve
def static_download(model):
'''
Download static gravity modle from icgem.gfz-potsdam.de; if the file to be downloaded is already included in the download directory, the download is automatically skipped.
Usage:
static_download('GGM05C')
static_download('EIGEN-6C4')
Inputs:
model -> [str] Available options are 'GGM05C' and 'EIGEN-6C'.
Outputs: downloaded static gravity model
Examples:
>>> static_download('GGM05C')
Downloading the static gravity model GGM05C ... Finished
'static_models/GGM05C.gfc'
>>> static_download('EIGEN-6C4')
Downloading the static gravity model EIGEN-6C4 ... Finished
'static_models/EIGEN-6C4.gfc'
'''
direc = 'static_models/'
if not path.exists(direc): makedirs(direc)
if model == 'GGM05C':
gravity_file = direc + 'GGM05C.gfc'
url = 'http://icgem.gfz-potsdam.de/getmodel/gfc/778a683780a5b0ad3163f4772b97b9075a0a13c389d2bd8ea3f891b64cfa383d/GGM05C.gfc'
elif model == 'EIGEN-6C4':
gravity_file = direc + 'EIGEN-6C4.gfc'
url = 'http://icgem.gfz-potsdam.de/getmodel/gfc/7fd8fe44aa1518cd79ca84300aef4b41ddb2364aef9e82b7cdaabdb60a9053f1/EIGEN-6C4.gfc'
else:
raise Exception('Currently, available static gravity models are GGM05C and EIGEN-6C4.')
if not path.exists(gravity_file):
print('Downloading the static gravity model '+ model,end=' ... ')
urlretrieve(url, gravity_file)
print('Finished')
return gravity_file | [
6738,
28686,
1330,
3108,
11,
76,
4335,
17062,
198,
6738,
2956,
297,
571,
13,
25927,
1330,
19016,
1186,
30227,
198,
198,
4299,
9037,
62,
15002,
7,
19849,
2599,
220,
198,
220,
220,
220,
705,
7061,
198,
220,
220,
220,
10472,
9037,
13522,
953,
293,
422,
14158,
24090,
13,
70,
69,
89,
12,
40793,
11043,
13,
2934,
26,
611,
262,
2393,
284,
307,
15680,
318,
1541,
3017,
287,
262,
4321,
8619,
11,
262,
4321,
318,
6338,
26684,
13,
198,
220,
220,
220,
220,
198,
220,
220,
220,
29566,
25,
220,
198,
220,
220,
220,
9037,
62,
15002,
10786,
11190,
44,
2713,
34,
11537,
198,
220,
220,
220,
9037,
62,
15002,
10786,
36,
3528,
1677,
12,
21,
34,
19,
11537,
198,
220,
220,
220,
220,
198,
220,
220,
220,
23412,
82,
25,
198,
220,
220,
220,
2746,
4613,
685,
2536,
60,
14898,
3689,
389,
705,
11190,
44,
2713,
34,
6,
290,
705,
36,
3528,
1677,
12,
21,
34,
4458,
198,
220,
220,
220,
220,
198,
220,
220,
220,
25235,
82,
25,
15680,
9037,
13522,
2746,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
21066,
25,
198,
220,
220,
220,
13163,
9037,
62,
15002,
10786,
11190,
44,
2713,
34,
11537,
198,
220,
220,
220,
10472,
278,
262,
9037,
13522,
2746,
402,
15548,
2713,
34,
2644,
42931,
198,
220,
220,
220,
705,
12708,
62,
27530,
14,
11190,
44,
2713,
34,
13,
70,
16072,
6,
198,
220,
220,
220,
13163,
9037,
62,
15002,
10786,
36,
3528,
1677,
12,
21,
34,
19,
11537,
198,
220,
220,
220,
10472,
278,
262,
9037,
13522,
2746,
412,
3528,
1677,
12,
21,
34,
19,
2644,
42931,
198,
220,
220,
220,
705,
12708,
62,
27530,
14,
36,
3528,
1677,
12,
21,
34,
19,
13,
70,
16072,
6,
198,
220,
220,
220,
705,
7061,
628,
220,
220,
220,
19958,
66,
796,
705,
12708,
62,
27530,
14,
6,
198,
220,
220,
220,
611,
407,
3108,
13,
1069,
1023,
7,
67,
557,
66,
2599,
285,
4335,
17062,
7,
67,
557,
66,
8,
198,
220,
220,
220,
220,
198,
220,
220,
220,
611,
2746,
6624,
705,
11190,
44,
2713,
34,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
13522,
62,
7753,
796,
19958,
66,
1343,
705,
11190,
44,
2713,
34,
13,
70,
16072,
6,
198,
220,
220,
220,
220,
220,
220,
220,
19016,
796,
705,
4023,
1378,
291,
24090,
13,
70,
69,
89,
12,
40793,
11043,
13,
2934,
14,
1136,
19849,
14,
70,
16072,
14,
39761,
64,
3104,
2718,
1795,
64,
20,
65,
15,
324,
18,
24136,
69,
2857,
4761,
65,
5607,
65,
3829,
2425,
64,
15,
64,
1485,
66,
29769,
67,
17,
17457,
23,
18213,
18,
69,
4531,
16,
65,
2414,
12993,
64,
34741,
67,
14,
11190,
44,
2713,
34,
13,
70,
16072,
6,
198,
220,
220,
220,
1288,
361,
2746,
6624,
705,
36,
3528,
1677,
12,
21,
34,
19,
10354,
198,
220,
220,
220,
220,
220,
220,
220,
13522,
62,
7753,
796,
19958,
66,
1343,
705,
36,
3528,
1677,
12,
21,
34,
19,
13,
70,
16072,
6,
198,
220,
220,
220,
220,
220,
220,
220,
19016,
796,
705,
4023,
1378,
291,
24090,
13,
70,
69,
89,
12,
40793,
11043,
13,
2934,
14,
1136,
19849,
14,
70,
16072,
14,
22,
16344,
23,
5036,
2598,
7252,
1314,
1507,
10210,
3720,
6888,
23,
3559,
405,
64,
891,
19,
65,
3901,
1860,
65,
1954,
2414,
64,
891,
24,
68,
6469,
65,
22,
66,
6814,
397,
9945,
1899,
64,
44928,
18,
69,
16,
14,
36,
3528,
1677,
12,
21,
34,
19,
13,
70,
16072,
6,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
35528,
10786,
21327,
11,
1695,
9037,
13522,
4981,
389,
402,
15548,
2713,
34,
290,
412,
3528,
1677,
12,
21,
34,
19,
2637,
8,
220,
220,
220,
220,
628,
220,
220,
220,
611,
407,
3108,
13,
1069,
1023,
7,
46453,
62,
7753,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
10002,
278,
262,
9037,
13522,
2746,
705,
10,
2746,
11,
437,
11639,
2644,
705,
8,
198,
220,
220,
220,
220,
220,
220,
220,
19016,
1186,
30227,
7,
6371,
11,
13522,
62,
7753,
8,
198,
220,
220,
220,
220,
220,
220,
220,
3601,
10786,
18467,
1348,
11537,
220,
220,
220,
220,
198,
220,
220,
220,
1441,
13522,
62,
7753,
220,
220,
220,
220
] | 2.254213 | 712 |
# -*- coding: utf-8 -*-
# Generated by Django 1.10.4 on 2017-01-31 04:19
from __future__ import unicode_literals
from django.db import migrations
| [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
2,
2980,
515,
416,
37770,
352,
13,
940,
13,
19,
319,
2177,
12,
486,
12,
3132,
8702,
25,
1129,
198,
6738,
11593,
37443,
834,
1330,
28000,
1098,
62,
17201,
874,
198,
198,
6738,
42625,
14208,
13,
9945,
1330,
15720,
602,
628
] | 2.690909 | 55 |
__author__ = 'justinarmstrong'
| [
834,
9800,
834,
796,
705,
3137,
259,
1670,
11576,
6,
198
] | 2.818182 | 11 |
from agent import Agent
| [
6738,
5797,
1330,
15906,
628
] | 5 | 5 |
import sys
sys.path.append('/home/pavlis/src/mspass/python')
from mspasspy.ccore import CoreSeismogram
d=CoreSeismogram(200)
d.put_double('delta',1.0)
d.put_double('dt',1.0)
d.put('npts',200)
d.ns=200
d.t0=100.0
d.live=True
from mspasspy.ccore import Seismogram
d2=Seismogram(d,'invalid')
import pickle
x=pickle.dumps(d2)
print("pickle succeeded")
print("trying to restore")
d3=pickle.loads(x)
print("pickle loads completed")
print("data npts=",d.get_int('npts'))
print('same stored in struct of BasicTimeSeries=',d.ns)
print('data t0=',d.t0)
print('Now testing pickle for TimeSeries data')
from mspasspy.ccore import TimeSeries
from mspasspy.ccore import CoreTimeSeries
d0=CoreTimeSeries(500)
d0.live=True
d0.dt=1.0
d0.ns=500
d=TimeSeries(d0,'invalid')
s=pickle.dumps(d)
print('Pickle dumps succeeded')
print('size of string returned by pickle=',len(s))
print('Trying loads')
dr=pickle.loads(s)
print('Finished - BasicTimeSeries attributes in output')
print('ns=',dr.ns)
print('dt=',dr.dt)
print('t0=',dr.t0)
| [
11748,
25064,
198,
17597,
13,
6978,
13,
33295,
10786,
14,
11195,
14,
79,
615,
27999,
14,
10677,
14,
907,
6603,
14,
29412,
11537,
198,
6738,
285,
2777,
562,
9078,
13,
535,
382,
1330,
7231,
4653,
1042,
21857,
198,
67,
28,
14055,
4653,
1042,
21857,
7,
2167,
8,
198,
67,
13,
1996,
62,
23352,
10786,
67,
12514,
3256,
16,
13,
15,
8,
198,
67,
13,
1996,
62,
23352,
10786,
28664,
3256,
16,
13,
15,
8,
198,
67,
13,
1996,
10786,
77,
457,
82,
3256,
2167,
8,
198,
67,
13,
5907,
28,
2167,
198,
67,
13,
83,
15,
28,
3064,
13,
15,
198,
67,
13,
12583,
28,
17821,
198,
6738,
285,
2777,
562,
9078,
13,
535,
382,
1330,
1001,
1042,
21857,
198,
67,
17,
28,
4653,
1042,
21857,
7,
67,
4032,
259,
12102,
11537,
198,
11748,
2298,
293,
198,
87,
28,
27729,
293,
13,
67,
8142,
7,
67,
17,
8,
198,
4798,
7203,
27729,
293,
14131,
4943,
198,
4798,
7203,
83,
14992,
284,
11169,
4943,
198,
67,
18,
28,
27729,
293,
13,
46030,
7,
87,
8,
198,
4798,
7203,
27729,
293,
15989,
5668,
4943,
198,
4798,
7203,
7890,
299,
457,
82,
28,
1600,
67,
13,
1136,
62,
600,
10786,
77,
457,
82,
6,
4008,
198,
4798,
10786,
31642,
8574,
287,
2878,
286,
14392,
7575,
27996,
28,
3256,
67,
13,
5907,
8,
198,
4798,
10786,
7890,
256,
15,
28,
3256,
67,
13,
83,
15,
8,
198,
4798,
10786,
3844,
4856,
2298,
293,
329,
3862,
27996,
1366,
11537,
198,
6738,
285,
2777,
562,
9078,
13,
535,
382,
1330,
3862,
27996,
198,
6738,
285,
2777,
562,
9078,
13,
535,
382,
1330,
7231,
7575,
27996,
198,
67,
15,
28,
14055,
7575,
27996,
7,
4059,
8,
198,
67,
15,
13,
12583,
28,
17821,
198,
67,
15,
13,
28664,
28,
16,
13,
15,
198,
67,
15,
13,
5907,
28,
4059,
198,
67,
28,
7575,
27996,
7,
67,
15,
4032,
259,
12102,
11537,
198,
82,
28,
27729,
293,
13,
67,
8142,
7,
67,
8,
198,
4798,
10786,
31686,
293,
45514,
14131,
11537,
198,
4798,
10786,
7857,
286,
4731,
4504,
416,
2298,
293,
28,
3256,
11925,
7,
82,
4008,
198,
4798,
10786,
51,
14992,
15989,
11537,
198,
7109,
28,
27729,
293,
13,
46030,
7,
82,
8,
198,
4798,
10786,
18467,
1348,
532,
14392,
7575,
27996,
12608,
287,
5072,
11537,
198,
4798,
10786,
5907,
28,
3256,
7109,
13,
5907,
8,
198,
4798,
10786,
28664,
28,
3256,
7109,
13,
28664,
8,
198,
4798,
10786,
83,
15,
28,
3256,
7109,
13,
83,
15,
8,
628
] | 2.453883 | 412 |
from __future__ import division
#from sys import path
#path.append('modules/')
import os.path
import click
import h5py
from argparse import ArgumentParser
from math import pi, log10
import sys
from scidata.utils import locate
import scidata.carpet.hdf5 as h5
from scidata.carpet.interp import Interpolator
import numpy as np
from glob import glob
import sys
sys.path.append("..")
from plotting.plotting_methods import PLOT_MANY_TASKS
from uutils import Printcolor, REFLEVEL_LIMITS
import config as Paths
from module_slices.slices_methods import COMPUTE_STORE
from module_slices.add_q_r_t_to_prof_xyxz import add_q_r_t_to_prof_xyxz
from module_slices.slices_dens_modes import compute_density_modes
__movie__ = "ffmpeg -framerate 10 -pattern_type glob -i '{}*.png' -s:v 1280x720 " \
"-c:v libx264 -module_profile:v high -crf 20 -pix_fmt yuv420p {}"
__tasklist__ = ["plot", "movie", "addm0", "dm"]
__reflevels__ = [0, 1, 2, 3, 4, 5, 6]
__outdirname__ = "module_slices"
__planes__ = ["xy", "xz"]
if __name__ == '__main__':
parser = ArgumentParser(description="postprocessing pipeline")
parser.add_argument("-s", dest="sim", required=True, help="name of the simulation dir")
parser.add_argument("-t", dest="tasklist", nargs='+', required=False, default=[], help="tasks to perform")
#
parser.add_argument("--v_n", dest="v_ns", nargs='+', required=False, default=[], help="variable names to compute")
parser.add_argument("--time", dest="times", nargs='+', required=False, default=[], help="times to iterate over [ms]")
parser.add_argument("--it", dest="it", nargs='+', required=False, default=[],
help="iterations to use ")
parser.add_argument("--rl", dest="reflevels", nargs='+', required=False, default=[], help="reflevels to use")
parser.add_argument('--plane', dest="plane", required=False, nargs='+', default=[], help='Plane: xy,xz,yz for slice analysis')
#
parser.add_argument("-o", dest="outdir", required=False, default=None, help="path for output dir")
parser.add_argument("-i", dest="indir", required=False, default=None, help="path to simulation dir")
parser.add_argument("-p", dest="path_to_profs", required=False, default=None, help="path to 3D profiles")
parser.add_argument("--overwrite", dest="overwrite", required=False, default="no", help="overwrite if exists")
#
args = parser.parse_args()
glob_sim = args.sim
glob_indir = args.indir
glob_outdir = args.outdir
glob_tasklist = args.tasklist
glob_overwrite = args.overwrite
glob_v_ns = args.v_ns
glob_times =args.times
glob_it = args.it
glob_reflevels = args.reflevels
glob_planes = args.plane
#
glob_profxyxz_path = args.path_to_profs#Paths.ppr_sims+glob_sim+'/profiles/'
#
if glob_indir is None:
glob_indir = Paths.default_data_dir + glob_sim + '/'
if not os.path.isdir(glob_indir):
raise IOError("Default path to simulation data is not valid: {}".format(glob_indir))
if not os.path.isdir(glob_indir):
raise IOError("Path to simulation data is not valid: {}".format(glob_indir))
if glob_outdir is None:
glob_outdir = Paths.default_ppr_dir + glob_sim + '/'
if not os.path.isdir(glob_indir):
raise IOError("Default path to postprocessed data is not valid: {}".format(glob_outdir))
if not os.path.isdir(glob_indir):
raise IOError("Path to postprocessed data is not valid: {}".format(glob_outdir))
if len(glob_tasklist) == 0:
raise NameError("tasklist is empty. Set what tasks to perform with '-t' option")
else:
for task in glob_tasklist:
if task not in __tasklist__:
raise NameError("task: {} is not among available ones: {}"
.format(task, __tasklist__))
if glob_overwrite == "no":
glob_overwrite = False
elif glob_overwrite == "yes":
glob_overwrite = True
else:
raise NameError("for '--overwrite' option use 'yes' or 'no'. Given: {}"
.format(glob_overwrite))
# glob_outdir_sim = Paths.ppr_sims + glob_sim
# if not os.path.isdir(glob_outdir_sim):
# os.mkdir(glob_outdir_sim)
# check plane
if len(glob_planes) == 0:
raise IOError("Option --plane unfilled")
elif len(glob_planes) == 1 and "all" in glob_planes:
glob_planes = __planes__
elif len(glob_planes) > 1:
for plane in glob_planes:
if not plane in __planes__:
raise NameError("plane:{} is not in the list of the __d3slicesplanes__:{}"
.format(plane, __planes__))
# set globals
# Paths.gw170817 = glob_simdir
# Paths.ppr_sims = glob_outdir
if len(glob_tasklist) == 1 and "all" in glob_tasklist:
# do all tasksk
pass
o_slice = COMPUTE_STORE(glob_sim, indir=glob_indir, pprdir=glob_outdir)
# deal with iterations and timesteps -- available as well as required by user
do_all_iterations = False
if len(glob_it) == 0 and len(glob_times) == 0:
raise IOError("please specify timesteps to use '--time' or iterations '--it' ")
elif len(glob_it) != 0 and len(glob_times) != 0:
raise IOError("please specify Either timesteps to use '--time' or iterations '--it' (not both)")
elif len(glob_times) == 0 and len(glob_it) == 1 and "all" in glob_it:
do_all_iterations = True
glob_times = o_slice.times
glob_it = o_slice.iterations
elif len(glob_it) == 0 and len(glob_times) == 1 and "all" in glob_times:
do_all_iterations = True
glob_times = o_slice.times
glob_it = o_slice.iterations
elif len(glob_it) > 0 and not "all" in glob_it and len(glob_times) == 0:
glob_it = np.array(glob_it, dtype=int) # array of iterations
glob_times = []
for it in glob_it:
glob_times.append(o_slice.get_time_for_it(it, "overall", "d2"))
glob_times = np.array(glob_times, dtype=float)
elif len(glob_times) > 0 and not "all" in glob_times and len(glob_it) == 0:
glob_times = np.array(glob_times, dtype=float) / 1e3 # back to seconds
else:
raise IOError("input times and iterations are not recognized: --time {} --it {}"
.format(glob_times, glob_it))
# deal with reflevels -- availble as well as required by user
do_all_reflevels = False
if len(glob_reflevels) == 1 and "all" in glob_reflevels:
glob_reflevels = __reflevels__
do_all_reflevels = True
else:
glob_reflevels = np.array(glob_reflevels, dtype=int)
# deal with variable names -- available as well as required by user
do_all_v_ns = False
if len(glob_v_ns) == 1 and "all" in glob_v_ns:
glob_v_ns=o_slice.list_v_ns
do_all_v_ns = True
else:
pass
# summarize what is avaialble and what is requried
if do_all_v_ns or do_all_iterations or do_all_reflevels:
Printcolor.yellow("Selected all", comma=True)
if do_all_iterations:
Printcolor.print_colored_string(["timesteps", "({})".format(len(glob_times))],
["blue", "green"], comma=True)
if do_all_v_ns: Printcolor.print_colored_string(["v_ns", "({})".format(len(glob_v_ns))],
["blue", "green"], comma=True)
if do_all_reflevels: Printcolor.print_colored_string(["reflevels", "({})".format(len(glob_reflevels))],
["blue", "green"], comma=True)
Printcolor.yellow("this might take time.")
# if not click.confirm(text="Confirm?",default=True,show_default=True):
# exit(0)
# perform tasks
do_tasks(glob_v_ns) | [
6738,
11593,
37443,
834,
1330,
7297,
198,
2,
6738,
25064,
1330,
3108,
198,
2,
6978,
13,
33295,
10786,
18170,
14,
11537,
198,
11748,
28686,
13,
6978,
198,
11748,
3904,
198,
11748,
289,
20,
9078,
198,
6738,
1822,
29572,
1330,
45751,
46677,
198,
6738,
10688,
1330,
31028,
11,
2604,
940,
198,
11748,
25064,
198,
6738,
629,
312,
1045,
13,
26791,
1330,
17276,
198,
11748,
629,
312,
1045,
13,
66,
5117,
316,
13,
71,
7568,
20,
355,
289,
20,
198,
6738,
629,
312,
1045,
13,
66,
5117,
316,
13,
3849,
79,
1330,
4225,
16104,
1352,
198,
11748,
299,
32152,
355,
45941,
198,
198,
6738,
15095,
1330,
15095,
198,
198,
11748,
25064,
198,
17597,
13,
6978,
13,
33295,
7203,
492,
4943,
198,
198,
6738,
29353,
13,
29487,
889,
62,
24396,
82,
1330,
9297,
2394,
62,
10725,
56,
62,
51,
1921,
27015,
198,
198,
6738,
334,
26791,
1330,
12578,
8043,
11,
4526,
37,
2538,
18697,
62,
43,
3955,
29722,
198,
198,
11748,
4566,
355,
10644,
82,
198,
198,
6738,
8265,
62,
82,
677,
274,
13,
82,
677,
274,
62,
24396,
82,
1330,
24301,
37780,
62,
2257,
6965,
198,
198,
6738,
8265,
62,
82,
677,
274,
13,
2860,
62,
80,
62,
81,
62,
83,
62,
1462,
62,
5577,
62,
5431,
87,
89,
1330,
751,
62,
80,
62,
81,
62,
83,
62,
1462,
62,
5577,
62,
5431,
87,
89,
198,
198,
6738,
8265,
62,
82,
677,
274,
13,
82,
677,
274,
62,
67,
641,
62,
76,
4147,
1330,
24061,
62,
43337,
62,
76,
4147,
628,
198,
834,
41364,
834,
796,
366,
487,
43913,
532,
19298,
21620,
838,
532,
33279,
62,
4906,
15095,
532,
72,
705,
90,
92,
24620,
11134,
6,
532,
82,
25,
85,
37674,
87,
23906,
366,
3467,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
27444,
66,
25,
85,
9195,
87,
18897,
532,
21412,
62,
13317,
25,
85,
1029,
532,
6098,
69,
1160,
532,
79,
844,
62,
69,
16762,
331,
14795,
27211,
79,
23884,
1,
628,
198,
834,
35943,
4868,
834,
796,
14631,
29487,
1600,
366,
41364,
1600,
366,
2860,
76,
15,
1600,
366,
36020,
8973,
198,
834,
5420,
46170,
834,
796,
685,
15,
11,
352,
11,
362,
11,
513,
11,
604,
11,
642,
11,
718,
60,
198,
834,
448,
15908,
3672,
834,
796,
366,
21412,
62,
82,
677,
274,
1,
198,
834,
22587,
834,
796,
14631,
5431,
1600,
366,
87,
89,
8973,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
628,
220,
220,
220,
30751,
796,
45751,
46677,
7,
11213,
2625,
7353,
36948,
11523,
4943,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
7203,
12,
82,
1600,
2244,
2625,
14323,
1600,
2672,
28,
17821,
11,
1037,
2625,
3672,
286,
262,
18640,
26672,
4943,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
7203,
12,
83,
1600,
2244,
2625,
35943,
4868,
1600,
299,
22046,
11639,
10,
3256,
2672,
28,
25101,
11,
4277,
41888,
4357,
1037,
2625,
83,
6791,
284,
1620,
4943,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
7203,
438,
85,
62,
77,
1600,
2244,
2625,
85,
62,
5907,
1600,
299,
22046,
11639,
10,
3256,
2672,
28,
25101,
11,
4277,
41888,
4357,
1037,
2625,
45286,
3891,
284,
24061,
4943,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
7203,
438,
2435,
1600,
2244,
2625,
22355,
1600,
299,
22046,
11639,
10,
3256,
2672,
28,
25101,
11,
4277,
41888,
4357,
1037,
2625,
22355,
284,
11629,
378,
625,
685,
907,
60,
4943,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
7203,
438,
270,
1600,
2244,
2625,
270,
1600,
299,
22046,
11639,
10,
3256,
2672,
28,
25101,
11,
4277,
41888,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1037,
2625,
2676,
602,
284,
779,
366,
8,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
7203,
438,
45895,
1600,
2244,
2625,
5420,
46170,
1600,
299,
22046,
11639,
10,
3256,
2672,
28,
25101,
11,
4277,
41888,
4357,
1037,
2625,
5420,
46170,
284,
779,
4943,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
14382,
3256,
2244,
2625,
14382,
1600,
2672,
28,
25101,
11,
299,
22046,
11639,
10,
3256,
4277,
41888,
4357,
1037,
11639,
3646,
1531,
25,
2124,
88,
11,
87,
89,
11,
45579,
329,
16416,
3781,
11537,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
7203,
12,
78,
1600,
2244,
2625,
448,
15908,
1600,
2672,
28,
25101,
11,
4277,
28,
14202,
11,
1037,
2625,
6978,
329,
5072,
26672,
4943,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
7203,
12,
72,
1600,
2244,
2625,
521,
343,
1600,
2672,
28,
25101,
11,
4277,
28,
14202,
11,
1037,
2625,
6978,
284,
18640,
26672,
4943,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
7203,
12,
79,
1600,
2244,
2625,
6978,
62,
1462,
62,
5577,
82,
1600,
2672,
28,
25101,
11,
4277,
28,
14202,
11,
1037,
2625,
6978,
284,
513,
35,
16545,
4943,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
7203,
438,
2502,
13564,
1600,
2244,
2625,
2502,
13564,
1600,
2672,
28,
25101,
11,
4277,
2625,
3919,
1600,
1037,
2625,
2502,
13564,
611,
7160,
4943,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
26498,
796,
30751,
13,
29572,
62,
22046,
3419,
198,
220,
220,
220,
15095,
62,
14323,
796,
26498,
13,
14323,
198,
220,
220,
220,
15095,
62,
521,
343,
796,
26498,
13,
521,
343,
198,
220,
220,
220,
15095,
62,
448,
15908,
796,
26498,
13,
448,
15908,
198,
220,
220,
220,
15095,
62,
35943,
4868,
796,
26498,
13,
35943,
4868,
198,
220,
220,
220,
15095,
62,
2502,
13564,
796,
26498,
13,
2502,
13564,
198,
220,
220,
220,
15095,
62,
85,
62,
5907,
796,
26498,
13,
85,
62,
5907,
198,
220,
220,
220,
15095,
62,
22355,
796,
22046,
13,
22355,
198,
220,
220,
220,
15095,
62,
270,
796,
26498,
13,
270,
198,
220,
220,
220,
15095,
62,
5420,
46170,
796,
26498,
13,
5420,
46170,
198,
220,
220,
220,
15095,
62,
22587,
796,
26498,
13,
14382,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
15095,
62,
5577,
5431,
87,
89,
62,
6978,
796,
26498,
13,
6978,
62,
1462,
62,
5577,
82,
2,
15235,
82,
13,
381,
81,
62,
82,
12078,
10,
4743,
672,
62,
14323,
10,
26488,
5577,
2915,
14,
6,
198,
220,
220,
220,
1303,
198,
220,
220,
220,
611,
15095,
62,
521,
343,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
15095,
62,
521,
343,
796,
10644,
82,
13,
12286,
62,
7890,
62,
15908,
1343,
15095,
62,
14323,
1343,
31051,
6,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
28686,
13,
6978,
13,
9409,
343,
7,
4743,
672,
62,
521,
343,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
24418,
12331,
7203,
19463,
3108,
284,
18640,
1366,
318,
407,
4938,
25,
23884,
1911,
18982,
7,
4743,
672,
62,
521,
343,
4008,
198,
220,
220,
220,
611,
407,
28686,
13,
6978,
13,
9409,
343,
7,
4743,
672,
62,
521,
343,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
24418,
12331,
7203,
15235,
284,
18640,
1366,
318,
407,
4938,
25,
23884,
1911,
18982,
7,
4743,
672,
62,
521,
343,
4008,
628,
220,
220,
220,
611,
15095,
62,
448,
15908,
318,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
15095,
62,
448,
15908,
796,
10644,
82,
13,
12286,
62,
381,
81,
62,
15908,
1343,
15095,
62,
14323,
1343,
31051,
6,
198,
220,
220,
220,
220,
220,
220,
220,
611,
407,
28686,
13,
6978,
13,
9409,
343,
7,
4743,
672,
62,
521,
343,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
24418,
12331,
7203,
19463,
3108,
284,
1281,
14681,
276,
1366,
318,
407,
4938,
25,
23884,
1911,
18982,
7,
4743,
672,
62,
448,
15908,
4008,
198,
220,
220,
220,
611,
407,
28686,
13,
6978,
13,
9409,
343,
7,
4743,
672,
62,
521,
343,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
24418,
12331,
7203,
15235,
284,
1281,
14681,
276,
1366,
318,
407,
4938,
25,
23884,
1911,
18982,
7,
4743,
672,
62,
448,
15908,
4008,
628,
198,
220,
220,
220,
611,
18896,
7,
4743,
672,
62,
35943,
4868,
8,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
6530,
12331,
7203,
35943,
4868,
318,
6565,
13,
5345,
644,
8861,
284,
1620,
351,
705,
12,
83,
6,
3038,
4943,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
329,
4876,
287,
15095,
62,
35943,
4868,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4876,
407,
287,
11593,
35943,
4868,
834,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
6530,
12331,
7203,
35943,
25,
23884,
318,
407,
1871,
1695,
3392,
25,
23884,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
764,
18982,
7,
35943,
11,
11593,
35943,
4868,
834,
4008,
198,
220,
220,
220,
611,
15095,
62,
2502,
13564,
6624,
366,
3919,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
15095,
62,
2502,
13564,
796,
10352,
198,
220,
220,
220,
1288,
361,
15095,
62,
2502,
13564,
6624,
366,
8505,
1298,
198,
220,
220,
220,
220,
220,
220,
220,
15095,
62,
2502,
13564,
796,
6407,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
6530,
12331,
7203,
1640,
705,
438,
2502,
13564,
6,
3038,
779,
705,
8505,
6,
393,
705,
3919,
4458,
11259,
25,
23884,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
764,
18982,
7,
4743,
672,
62,
2502,
13564,
4008,
198,
220,
220,
220,
1303,
15095,
62,
448,
15908,
62,
14323,
796,
10644,
82,
13,
381,
81,
62,
82,
12078,
1343,
15095,
62,
14323,
198,
220,
220,
220,
1303,
611,
407,
28686,
13,
6978,
13,
9409,
343,
7,
4743,
672,
62,
448,
15908,
62,
14323,
2599,
198,
220,
220,
220,
1303,
220,
220,
220,
220,
28686,
13,
28015,
15908,
7,
4743,
672,
62,
448,
15908,
62,
14323,
8,
628,
220,
220,
220,
1303,
2198,
6614,
198,
220,
220,
220,
611,
18896,
7,
4743,
672,
62,
22587,
8,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
24418,
12331,
7203,
19722,
1377,
14382,
3684,
2967,
4943,
198,
220,
220,
220,
1288,
361,
18896,
7,
4743,
672,
62,
22587,
8,
6624,
352,
290,
366,
439,
1,
287,
15095,
62,
22587,
25,
198,
220,
220,
220,
220,
220,
220,
220,
15095,
62,
22587,
796,
11593,
22587,
834,
198,
220,
220,
220,
1288,
361,
18896,
7,
4743,
672,
62,
22587,
8,
1875,
352,
25,
198,
220,
220,
220,
220,
220,
220,
220,
329,
6614,
287,
15095,
62,
22587,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
407,
6614,
287,
11593,
22587,
834,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5298,
6530,
12331,
7203,
14382,
29164,
92,
318,
407,
287,
262,
1351,
286,
262,
11593,
67,
18,
82,
677,
274,
22587,
834,
29164,
36786,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
764,
18982,
7,
14382,
11,
11593,
22587,
834,
4008,
628,
220,
220,
220,
1303,
900,
15095,
874,
198,
220,
220,
220,
1303,
10644,
82,
13,
70,
86,
1558,
2919,
1558,
796,
15095,
62,
14323,
15908,
198,
220,
220,
220,
1303,
10644,
82,
13,
381,
81,
62,
82,
12078,
796,
15095,
62,
448,
15908,
628,
198,
220,
220,
220,
611,
18896,
7,
4743,
672,
62,
35943,
4868,
8,
6624,
352,
290,
366,
439,
1,
287,
15095,
62,
35943,
4868,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
466,
477,
8861,
74,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
198,
220,
220,
220,
267,
62,
48369,
796,
24301,
37780,
62,
2257,
6965,
7,
4743,
672,
62,
14323,
11,
773,
343,
28,
4743,
672,
62,
521,
343,
11,
279,
1050,
15908,
28,
4743,
672,
62,
448,
15908,
8,
628,
220,
220,
220,
1303,
1730,
351,
34820,
290,
4628,
395,
25386,
1377,
1695,
355,
880,
355,
2672,
416,
2836,
198,
220,
220,
220,
466,
62,
439,
62,
2676,
602,
796,
10352,
198,
220,
220,
220,
611,
18896,
7,
4743,
672,
62,
270,
8,
6624,
657,
290,
18896,
7,
4743,
672,
62,
22355,
8,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
24418,
12331,
7203,
29688,
11986,
4628,
395,
25386,
284,
779,
705,
438,
2435,
6,
393,
34820,
705,
438,
270,
6,
366,
8,
198,
220,
220,
220,
1288,
361,
18896,
7,
4743,
672,
62,
270,
8,
14512,
657,
290,
18896,
7,
4743,
672,
62,
22355,
8,
14512,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
24418,
12331,
7203,
29688,
11986,
15467,
4628,
395,
25386,
284,
779,
705,
438,
2435,
6,
393,
34820,
705,
438,
270,
6,
357,
1662,
1111,
8,
4943,
198,
220,
220,
220,
1288,
361,
18896,
7,
4743,
672,
62,
22355,
8,
6624,
657,
290,
18896,
7,
4743,
672,
62,
270,
8,
6624,
352,
290,
366,
439,
1,
287,
15095,
62,
270,
25,
198,
220,
220,
220,
220,
220,
220,
220,
466,
62,
439,
62,
2676,
602,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
15095,
62,
22355,
796,
267,
62,
48369,
13,
22355,
198,
220,
220,
220,
220,
220,
220,
220,
15095,
62,
270,
796,
267,
62,
48369,
13,
2676,
602,
198,
220,
220,
220,
1288,
361,
18896,
7,
4743,
672,
62,
270,
8,
6624,
657,
290,
18896,
7,
4743,
672,
62,
22355,
8,
6624,
352,
290,
366,
439,
1,
287,
15095,
62,
22355,
25,
198,
220,
220,
220,
220,
220,
220,
220,
466,
62,
439,
62,
2676,
602,
796,
6407,
198,
220,
220,
220,
220,
220,
220,
220,
15095,
62,
22355,
796,
267,
62,
48369,
13,
22355,
198,
220,
220,
220,
220,
220,
220,
220,
15095,
62,
270,
796,
267,
62,
48369,
13,
2676,
602,
198,
220,
220,
220,
1288,
361,
18896,
7,
4743,
672,
62,
270,
8,
1875,
657,
290,
407,
366,
439,
1,
287,
15095,
62,
270,
290,
18896,
7,
4743,
672,
62,
22355,
8,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
15095,
62,
270,
796,
45941,
13,
18747,
7,
4743,
672,
62,
270,
11,
288,
4906,
28,
600,
8,
1303,
7177,
286,
34820,
198,
220,
220,
220,
220,
220,
220,
220,
15095,
62,
22355,
796,
17635,
198,
220,
220,
220,
220,
220,
220,
220,
329,
340,
287,
15095,
62,
270,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
15095,
62,
22355,
13,
33295,
7,
78,
62,
48369,
13,
1136,
62,
2435,
62,
1640,
62,
270,
7,
270,
11,
366,
2502,
439,
1600,
366,
67,
17,
48774,
198,
220,
220,
220,
220,
220,
220,
220,
15095,
62,
22355,
796,
45941,
13,
18747,
7,
4743,
672,
62,
22355,
11,
288,
4906,
28,
22468,
8,
198,
220,
220,
220,
1288,
361,
18896,
7,
4743,
672,
62,
22355,
8,
1875,
657,
290,
407,
366,
439,
1,
287,
15095,
62,
22355,
290,
18896,
7,
4743,
672,
62,
270,
8,
6624,
657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
15095,
62,
22355,
796,
45941,
13,
18747,
7,
4743,
672,
62,
22355,
11,
288,
4906,
28,
22468,
8,
1220,
352,
68,
18,
220,
1303,
736,
284,
4201,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
5298,
24418,
12331,
7203,
15414,
1661,
290,
34820,
389,
407,
8018,
25,
1377,
2435,
23884,
1377,
270,
23884,
1,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
764,
18982,
7,
4743,
672,
62,
22355,
11,
15095,
62,
270,
4008,
628,
220,
220,
220,
1303,
1730,
351,
1006,
46170,
1377,
29107,
903,
355,
880,
355,
2672,
416,
2836,
198,
220,
220,
220,
466,
62,
439,
62,
5420,
46170,
796,
10352,
198,
220,
220,
220,
611,
18896,
7,
4743,
672,
62,
5420,
46170,
8,
6624,
352,
290,
366,
439,
1,
287,
15095,
62,
5420,
46170,
25,
198,
220,
220,
220,
220,
220,
220,
220,
15095,
62,
5420,
46170,
796,
11593,
5420,
46170,
834,
198,
220,
220,
220,
220,
220,
220,
220,
466,
62,
439,
62,
5420,
46170,
796,
6407,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
15095,
62,
5420,
46170,
796,
45941,
13,
18747,
7,
4743,
672,
62,
5420,
46170,
11,
288,
4906,
28,
600,
8,
628,
220,
220,
220,
1303,
1730,
351,
7885,
3891,
1377,
1695,
355,
880,
355,
2672,
416,
2836,
198,
220,
220,
220,
466,
62,
439,
62,
85,
62,
5907,
796,
10352,
198,
220,
220,
220,
611,
18896,
7,
4743,
672,
62,
85,
62,
5907,
8,
6624,
352,
290,
366,
439,
1,
287,
15095,
62,
85,
62,
5907,
25,
198,
220,
220,
220,
220,
220,
220,
220,
15095,
62,
85,
62,
5907,
28,
78,
62,
48369,
13,
4868,
62,
85,
62,
5907,
198,
220,
220,
220,
220,
220,
220,
220,
466,
62,
439,
62,
85,
62,
5907,
796,
6407,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1208,
628,
220,
220,
220,
1303,
35743,
644,
318,
1196,
64,
498,
903,
290,
644,
318,
43089,
333,
798,
198,
220,
220,
220,
611,
466,
62,
439,
62,
85,
62,
5907,
393,
466,
62,
439,
62,
2676,
602,
393,
466,
62,
439,
62,
5420,
46170,
25,
198,
220,
220,
220,
220,
220,
220,
220,
12578,
8043,
13,
36022,
7203,
4653,
12609,
477,
1600,
39650,
28,
17821,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
466,
62,
439,
62,
2676,
602,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12578,
8043,
13,
4798,
62,
25717,
62,
8841,
7,
14692,
16514,
395,
25386,
1600,
366,
15090,
30072,
1911,
18982,
7,
11925,
7,
4743,
672,
62,
22355,
4008,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14631,
17585,
1600,
366,
14809,
33116,
39650,
28,
17821,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
466,
62,
439,
62,
85,
62,
5907,
25,
12578,
8043,
13,
4798,
62,
25717,
62,
8841,
7,
14692,
85,
62,
5907,
1600,
366,
15090,
30072,
1911,
18982,
7,
11925,
7,
4743,
672,
62,
85,
62,
5907,
4008,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14631,
17585,
1600,
366,
14809,
33116,
39650,
28,
17821,
8,
198,
220,
220,
220,
220,
220,
220,
220,
611,
466,
62,
439,
62,
5420,
46170,
25,
12578,
8043,
13,
4798,
62,
25717,
62,
8841,
7,
14692,
5420,
46170,
1600,
366,
15090,
30072,
1911,
18982,
7,
11925,
7,
4743,
672,
62,
5420,
46170,
4008,
4357,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
14631,
17585,
1600,
366,
14809,
33116,
39650,
28,
17821,
8,
198,
220,
220,
220,
220,
220,
220,
220,
12578,
8043,
13,
36022,
7203,
5661,
1244,
1011,
640,
19570,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
611,
407,
3904,
13,
10414,
2533,
7,
5239,
2625,
18546,
2533,
35379,
12286,
28,
17821,
11,
12860,
62,
12286,
28,
17821,
2599,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
220,
220,
220,
220,
8420,
7,
15,
8,
628,
220,
220,
220,
1303,
1620,
8861,
198,
220,
220,
220,
466,
62,
83,
6791,
7,
4743,
672,
62,
85,
62,
5907,
8
] | 2.319457 | 3,387 |
import numpy as np
import tensorflow as tf
import matplotlib.pyplot as plt
from torch import nn
import torch
| [
11748,
299,
32152,
355,
45941,
198,
11748,
11192,
273,
11125,
355,
48700,
198,
11748,
2603,
29487,
8019,
13,
9078,
29487,
355,
458,
83,
198,
198,
6738,
28034,
1330,
299,
77,
198,
11748,
28034,
198
] | 3.235294 | 34 |
from .exipicrename import *
| [
6738,
764,
1069,
541,
291,
918,
480,
1330,
1635,
198
] | 2.8 | 10 |
from Algorithims import Algorithms
import time
import threading
| [
6738,
978,
7727,
12078,
1330,
978,
7727,
907,
198,
11748,
640,
198,
11748,
4704,
278,
628
] | 4.0625 | 16 |
#extract_ml_features.py
import emoji, re, os, time, sys
from gensim.models import LdaModel
from gensim.corpora import MmCorpus, Dictionary
from isc_tokenizer import Tokenizer
from isc_tagger import Tagger
from tqdm import tqdm
import vocab_helpers as helper
import utils
import pre_processing as dproc
from nltk import ngrams
#DONE
#DONE FOR WORD AND POS
#predict topic of unseen tweet using testing example based lda model built on train set
if __name__ == '__main__':
sample = 'मैं लगातार ट्विटर पर आर्सेनल के बारे में ट्वीट्स देखता हूं। दुनिया को अपडेट करने के लिए धन्यवाद @उपयोगकर्ता & @उपयोगकर्ता शॉनक्स। #'
tknzr = Tokenizer(lang='hin')
sys.stdout = open("toutput.txt", "a", encoding='utf-8')
tokens = tknzr.tokenize(sample)
tagger = Tagger(lang='hin')
tags = tagger.tag(tokens)
valid_tokens = []
for p in tags:
if p[1] != 'SYM' and p[0] !='#':
valid_tokens.append(p[0])
#for t in tokens:
#print("=>",tokens)
#ngram_list = [gram for gram in ngrams(tokens, 2)]
#print(get_ngrams(tokens, [1,2]))
print("Tokens ",tokens)
print("POS ", tags)
print("Filtered:", valid_tokens)
| [
2,
2302,
974,
62,
4029,
62,
40890,
13,
9078,
198,
11748,
44805,
11,
302,
11,
28686,
11,
640,
11,
25064,
198,
6738,
308,
641,
320,
13,
27530,
1330,
406,
6814,
17633,
198,
6738,
308,
641,
320,
13,
10215,
38851,
1330,
337,
76,
45680,
385,
11,
28261,
198,
6738,
318,
66,
62,
30001,
7509,
1330,
29130,
7509,
198,
6738,
318,
66,
62,
83,
7928,
1330,
309,
7928,
198,
6738,
256,
80,
36020,
1330,
256,
80,
36020,
198,
11748,
12776,
397,
62,
16794,
364,
355,
31904,
198,
11748,
3384,
4487,
198,
11748,
662,
62,
36948,
355,
288,
36942,
198,
6738,
299,
2528,
74,
1330,
299,
4546,
82,
198,
198,
2,
35,
11651,
198,
198,
2,
35,
11651,
7473,
370,
12532,
5357,
28069,
628,
198,
2,
79,
17407,
7243,
286,
29587,
6126,
1262,
4856,
1672,
1912,
300,
6814,
2746,
3170,
319,
4512,
900,
628,
628,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
628,
197,
39873,
796,
705,
11976,
106,
24231,
230,
11976,
224,
28225,
110,
11976,
245,
48077,
11976,
97,
48077,
11976,
108,
28225,
253,
24231,
235,
11976,
113,
11976,
123,
11976,
253,
11976,
108,
28225,
103,
11976,
108,
28225,
228,
11976,
108,
24231,
235,
11976,
116,
24231,
229,
11976,
101,
11976,
110,
28225,
243,
24231,
229,
28225,
105,
48077,
11976,
108,
24231,
229,
28225,
106,
24231,
229,
11976,
224,
28225,
253,
24231,
235,
11976,
113,
24231,
222,
11976,
253,
24231,
235,
11976,
116,
28225,
99,
24231,
229,
11976,
244,
11976,
97,
48077,
28225,
117,
24231,
224,
11976,
224,
24231,
97,
28225,
99,
24231,
223,
11976,
101,
11976,
123,
11976,
107,
48077,
28225,
243,
24231,
233,
28225,
227,
11976,
103,
11976,
94,
24231,
229,
11976,
253,
28225,
243,
11976,
108,
11976,
101,
24231,
229,
28225,
243,
24231,
229,
28225,
110,
11976,
123,
11976,
237,
28225,
100,
11976,
101,
24231,
235,
11976,
107,
11976,
113,
48077,
11976,
99,
2488,
11976,
231,
11976,
103,
11976,
107,
24231,
233,
11976,
245,
11976,
243,
11976,
108,
24231,
235,
11976,
97,
48077,
1222,
2488,
11976,
231,
11976,
103,
11976,
107,
24231,
233,
11976,
245,
11976,
243,
11976,
108,
24231,
235,
11976,
97,
48077,
28225,
114,
24231,
231,
11976,
101,
11976,
243,
24231,
235,
11976,
116,
24231,
97,
1303,
6,
628,
197,
83,
15418,
89,
81,
796,
29130,
7509,
7,
17204,
11639,
20079,
11537,
198,
197,
17597,
13,
19282,
448,
796,
1280,
7203,
83,
22915,
13,
14116,
1600,
366,
64,
1600,
21004,
11639,
40477,
12,
23,
11537,
198,
197,
83,
482,
641,
796,
256,
15418,
89,
81,
13,
30001,
1096,
7,
39873,
8,
198,
197,
83,
7928,
796,
309,
7928,
7,
17204,
11639,
20079,
11537,
198,
197,
31499,
796,
7621,
1362,
13,
12985,
7,
83,
482,
641,
8,
198,
197,
12102,
62,
83,
482,
641,
796,
17635,
198,
197,
1640,
279,
287,
15940,
25,
198,
197,
197,
361,
279,
58,
16,
60,
14512,
705,
23060,
44,
6,
290,
279,
58,
15,
60,
5145,
11639,
2,
10354,
198,
197,
197,
197,
12102,
62,
83,
482,
641,
13,
33295,
7,
79,
58,
15,
12962,
198,
197,
198,
197,
2,
1640,
256,
287,
16326,
25,
628,
197,
2,
4798,
7203,
14804,
1600,
83,
482,
641,
8,
198,
197,
2,
782,
859,
62,
4868,
796,
685,
4546,
329,
14599,
287,
299,
4546,
82,
7,
83,
482,
641,
11,
362,
15437,
198,
197,
2,
4798,
7,
1136,
62,
782,
9474,
7,
83,
482,
641,
11,
685,
16,
11,
17,
60,
4008,
198,
197,
4798,
7203,
22906,
33172,
83,
482,
641,
8,
198,
197,
4798,
7203,
37997,
33172,
15940,
8,
198,
197,
4798,
7203,
11928,
4400,
25,
1600,
4938,
62,
83,
482,
641,
8,
198
] | 1.867227 | 595 |
from flask import Flask
| [
6738,
42903,
1330,
46947,
628
] | 5 | 5 |
# Chunk
# Write to chunk
# Add constant to chunk | [
2,
609,
2954,
198,
198,
2,
19430,
284,
16058,
198,
198,
2,
3060,
6937,
284,
16058
] | 3.125 | 16 |
#
# Copyright 2018-2022 Elyra Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
import pytest
from elyra.pipeline.parser import PipelineParser
from elyra.pipeline.pipeline import GenericOperation
from elyra.tests.pipeline.util import _read_pipeline_resource
@pytest.fixture
| [
2,
198,
2,
15069,
2864,
12,
1238,
1828,
45913,
430,
46665,
198,
2,
198,
2,
49962,
739,
262,
24843,
13789,
11,
10628,
362,
13,
15,
357,
1169,
366,
34156,
15341,
198,
2,
345,
743,
407,
779,
428,
2393,
2845,
287,
11846,
351,
262,
13789,
13,
198,
2,
921,
743,
7330,
257,
4866,
286,
262,
13789,
379,
198,
2,
198,
2,
2638,
1378,
2503,
13,
43073,
13,
2398,
14,
677,
4541,
14,
43,
2149,
24290,
12,
17,
13,
15,
198,
2,
198,
2,
17486,
2672,
416,
9723,
1099,
393,
4987,
284,
287,
3597,
11,
3788,
198,
2,
9387,
739,
262,
13789,
318,
9387,
319,
281,
366,
1921,
3180,
1,
29809,
1797,
11,
198,
2,
42881,
34764,
11015,
6375,
7102,
49828,
11053,
3963,
15529,
509,
12115,
11,
2035,
4911,
393,
17142,
13,
198,
2,
4091,
262,
13789,
329,
262,
2176,
3303,
15030,
21627,
290,
198,
2,
11247,
739,
262,
13789,
13,
198,
2,
198,
11748,
12972,
9288,
198,
198,
6738,
304,
306,
430,
13,
79,
541,
4470,
13,
48610,
1330,
37709,
46677,
198,
6738,
304,
306,
430,
13,
79,
541,
4470,
13,
79,
541,
4470,
1330,
42044,
32180,
198,
6738,
304,
306,
430,
13,
41989,
13,
79,
541,
4470,
13,
22602,
1330,
4808,
961,
62,
79,
541,
4470,
62,
31092,
628,
198,
31,
9078,
9288,
13,
69,
9602,
628,
628,
628,
628,
628,
628,
628,
628,
628
] | 3.537778 | 225 |
import os
import pandas as pd
from collections import OrderedDict
import cv2
import numpy as np
import json
gt_data_path = "/home/priv-lab1/workspace/zxh/end2/csv/anno_box_train.csv"
hoi_list_path = "/home/priv-lab1/workspace/zxh/end2/origin_lists/hico_list_hoi.txt"
img_path = '/home/priv-lab1/workspace/zxh/My_Database/hico_20160224_det/images/train2015/' # image folder path
save_json_path = 'train_hico.json' # name for save json
_classes = ('person', 'bicycle', 'car', 'motorcycle', 'airplane',
'bus', 'train', 'truck', 'boat', 'traffic_light',
'fire_hydrant', 'stop_sign', 'parking_meter', 'bench', 'bird',
'cat', 'dog', 'horse', 'sheep', 'cow', 'elephant', 'bear',
'zebra', 'giraffe', 'backpack', 'umbrella', 'handbag', 'tie',
'suitcase', 'frisbee', 'skis', 'snowboard', 'sports_ball',
'kite', 'baseball_bat', 'baseball_glove', 'skateboard',
'surfboard', 'tennis_racket', 'bottle', 'wine_glass', 'cup',
'fork', 'knife', 'spoon', 'bowl', 'banana', 'apple',
'sandwich', 'orange', 'broccoli', 'carrot', 'hot_dog', 'pizza',
'donut', 'cake', 'chair', 'couch', 'potted_plant', 'bed',
'dining_table', 'toilet', 'tv', 'laptop', 'mouse', 'remote',
'keyboard', 'cell_phone', 'microwave', 'oven', 'toaster',
'sink', 'refrigerator', 'book', 'clock', 'vase', 'scissors',
'teddy_bear', 'hair_drier', 'toothbrush')
df_gt_data = pd.DataFrame.from_csv(gt_data_path)
# str to list
df_gt_data['human_bbox'] = df_gt_data['human_bbox'].apply(lambda x: list(map(int, x.strip('[]').split(','))))
df_gt_data['obj_bbox'] = df_gt_data['obj_bbox'].apply(lambda x: list(map(int, x.strip('[]').split(','))))
df_gt_data['img_size_w_h'] = df_gt_data['img_size_w_h'].apply(lambda x: list(map(int, x.strip('[]').split(','))))
human_bbox_dict=OrderedDict()
object_bbox_dict=OrderedDict()
filenames=[]
action_dict=OrderedDict()
list_action=[]
for index,row in df_gt_data.iterrows():
filenames.append(row['name'])
if row['name'] in human_bbox_dict:
human_bbox_dict[row['name']].append(row['human_bbox'])
object_bbox_dict[row['name']].append(row['obj_bbox'])
action_dict[row['name']].append(row['action_no'])
else:
human_bbox_dict[row['name']]=[row['human_bbox']]
object_bbox_dict[row['name']] = [row['obj_bbox']]
action_dict[row['name']] = [row['action_no']]
filenames=set(filenames)
with open(hoi_list_path,'r') as f :
lines=f.readlines()
for line in lines[2:]:
list_action.append(line.split())
print("data set done")
if __name__ == '__main__':
Convert_csv_to_coco('train')
| [
11748,
28686,
198,
11748,
19798,
292,
355,
279,
67,
198,
6738,
17268,
1330,
14230,
1068,
35,
713,
198,
11748,
269,
85,
17,
198,
11748,
299,
32152,
355,
45941,
198,
11748,
33918,
198,
13655,
62,
7890,
62,
6978,
796,
220,
12813,
11195,
14,
13776,
12,
23912,
16,
14,
5225,
10223,
14,
42592,
71,
14,
437,
17,
14,
40664,
14,
1236,
78,
62,
3524,
62,
27432,
13,
40664,
1,
198,
8873,
72,
62,
4868,
62,
6978,
796,
12813,
11195,
14,
13776,
12,
23912,
16,
14,
5225,
10223,
14,
42592,
71,
14,
437,
17,
14,
47103,
62,
20713,
14,
71,
3713,
62,
4868,
62,
8873,
72,
13,
14116,
1,
198,
9600,
62,
6978,
796,
31051,
11195,
14,
13776,
12,
23912,
16,
14,
5225,
10223,
14,
42592,
71,
14,
3666,
62,
38105,
14,
71,
3713,
62,
1264,
1899,
24137,
62,
15255,
14,
17566,
14,
27432,
4626,
14,
6,
220,
1303,
2939,
9483,
3108,
198,
21928,
62,
17752,
62,
6978,
796,
705,
27432,
62,
71,
3713,
13,
17752,
6,
220,
1303,
1438,
329,
3613,
33918,
198,
62,
37724,
796,
19203,
6259,
3256,
705,
65,
35298,
3256,
705,
7718,
3256,
705,
76,
20965,
13696,
3256,
705,
958,
14382,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
10885,
3256,
705,
27432,
3256,
705,
83,
30915,
3256,
705,
24482,
3256,
705,
9535,
2108,
62,
2971,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6495,
62,
15511,
5250,
3256,
705,
11338,
62,
12683,
3256,
705,
20928,
278,
62,
27231,
3256,
705,
26968,
3256,
705,
16944,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9246,
3256,
705,
9703,
3256,
705,
30527,
3256,
705,
7091,
538,
3256,
705,
8232,
3256,
705,
11129,
33959,
3256,
705,
33227,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
89,
37052,
3256,
705,
70,
343,
21223,
3256,
705,
1891,
8002,
3256,
705,
2178,
20481,
3256,
705,
4993,
21454,
3256,
705,
36224,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
6063,
7442,
3256,
705,
69,
2442,
20963,
3256,
705,
8135,
271,
3256,
705,
82,
2197,
3526,
3256,
705,
32945,
62,
1894,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
74,
578,
3256,
705,
8692,
1894,
62,
8664,
3256,
705,
8692,
1894,
62,
4743,
659,
3256,
705,
8135,
378,
3526,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
11793,
69,
3526,
3256,
705,
1452,
21361,
62,
81,
8317,
3256,
705,
10985,
293,
3256,
705,
39002,
62,
20721,
3256,
705,
25244,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
32523,
3256,
705,
48810,
3256,
705,
2777,
2049,
3256,
705,
36859,
3256,
705,
3820,
2271,
3256,
705,
18040,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
38142,
11451,
3256,
705,
43745,
3256,
705,
7957,
34544,
3256,
705,
7718,
10599,
3256,
705,
8940,
62,
9703,
3256,
705,
79,
9990,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
9099,
315,
3256,
705,
30560,
3256,
705,
16337,
3256,
705,
66,
7673,
3256,
705,
79,
8426,
62,
15060,
3256,
705,
3077,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
67,
3191,
62,
11487,
3256,
705,
1462,
41550,
3256,
705,
14981,
3256,
705,
75,
45007,
3256,
705,
35888,
3256,
705,
47960,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
2539,
3526,
3256,
705,
3846,
62,
4862,
3256,
705,
9383,
808,
1015,
3256,
705,
16206,
3256,
705,
1462,
1603,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
82,
676,
3256,
705,
5420,
18096,
1352,
3256,
705,
2070,
3256,
705,
15750,
3256,
705,
85,
589,
3256,
705,
1416,
32555,
3256,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
705,
1513,
9892,
62,
33227,
3256,
705,
27108,
62,
67,
5277,
3256,
705,
1462,
849,
32680,
11537,
628,
198,
7568,
62,
13655,
62,
7890,
796,
279,
67,
13,
6601,
19778,
13,
6738,
62,
40664,
7,
13655,
62,
7890,
62,
6978,
8,
198,
2,
965,
284,
1351,
198,
7568,
62,
13655,
62,
7890,
17816,
10734,
62,
65,
3524,
20520,
796,
47764,
62,
13655,
62,
7890,
17816,
10734,
62,
65,
3524,
6,
4083,
39014,
7,
50033,
2124,
25,
1351,
7,
8899,
7,
600,
11,
2124,
13,
36311,
10786,
21737,
27691,
35312,
7,
41707,
35514,
198,
7568,
62,
13655,
62,
7890,
17816,
26801,
62,
65,
3524,
20520,
796,
47764,
62,
13655,
62,
7890,
17816,
26801,
62,
65,
3524,
6,
4083,
39014,
7,
50033,
2124,
25,
1351,
7,
8899,
7,
600,
11,
2124,
13,
36311,
10786,
21737,
27691,
35312,
7,
41707,
35514,
198,
7568,
62,
13655,
62,
7890,
17816,
9600,
62,
7857,
62,
86,
62,
71,
20520,
796,
47764,
62,
13655,
62,
7890,
17816,
9600,
62,
7857,
62,
86,
62,
71,
6,
4083,
39014,
7,
50033,
2124,
25,
1351,
7,
8899,
7,
600,
11,
2124,
13,
36311,
10786,
21737,
27691,
35312,
7,
41707,
35514,
198,
198,
10734,
62,
65,
3524,
62,
11600,
28,
35422,
1068,
35,
713,
3419,
198,
15252,
62,
65,
3524,
62,
11600,
28,
35422,
1068,
35,
713,
3419,
198,
10379,
268,
1047,
28,
21737,
198,
2673,
62,
11600,
28,
35422,
1068,
35,
713,
3419,
198,
4868,
62,
2673,
28,
21737,
198,
198,
1640,
6376,
11,
808,
287,
47764,
62,
13655,
62,
7890,
13,
2676,
8516,
33529,
198,
220,
220,
220,
1226,
268,
1047,
13,
33295,
7,
808,
17816,
3672,
6,
12962,
198,
220,
220,
220,
611,
5752,
17816,
3672,
20520,
287,
1692,
62,
65,
3524,
62,
11600,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1692,
62,
65,
3524,
62,
11600,
58,
808,
17816,
3672,
20520,
4083,
33295,
7,
808,
17816,
10734,
62,
65,
3524,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2134,
62,
65,
3524,
62,
11600,
58,
808,
17816,
3672,
20520,
4083,
33295,
7,
808,
17816,
26801,
62,
65,
3524,
6,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
2223,
62,
11600,
58,
808,
17816,
3672,
20520,
4083,
33295,
7,
808,
17816,
2673,
62,
3919,
6,
12962,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1692,
62,
65,
3524,
62,
11600,
58,
808,
17816,
3672,
6,
11907,
41888,
808,
17816,
10734,
62,
65,
3524,
6,
11907,
198,
220,
220,
220,
220,
220,
220,
220,
2134,
62,
65,
3524,
62,
11600,
58,
808,
17816,
3672,
6,
11907,
796,
685,
808,
17816,
26801,
62,
65,
3524,
6,
11907,
198,
220,
220,
220,
220,
220,
220,
220,
2223,
62,
11600,
58,
808,
17816,
3672,
6,
11907,
796,
685,
808,
17816,
2673,
62,
3919,
6,
11907,
198,
10379,
268,
1047,
28,
2617,
7,
10379,
268,
1047,
8,
628,
198,
4480,
1280,
7,
8873,
72,
62,
4868,
62,
6978,
4032,
81,
11537,
355,
277,
1058,
198,
220,
220,
220,
3951,
28,
69,
13,
961,
6615,
3419,
198,
1640,
1627,
287,
3951,
58,
17,
25,
5974,
198,
220,
220,
220,
1351,
62,
2673,
13,
33295,
7,
1370,
13,
35312,
28955,
198,
4798,
7203,
7890,
900,
1760,
4943,
198,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
38240,
62,
40664,
62,
1462,
62,
66,
25634,
10786,
27432,
11537,
198
] | 2.179936 | 1,256 |
from multiprocessing import cpu_count
from multiprocessing.pool import Pool
from tqdm import tqdm
def pool_process(func, iterable, cpus=cpu_count(), return_vals=False, cpu_reduction=0, progress_bar=False):
"""
Multiprocessing helper function for performing looped operation using multiple processors.
:param func: Function to call
:param iterable: Iterable object to perform each function on
:param cpus: Number of cpu cores, defaults to system's cpu count
:param return_vals: Bool, returns output values when True
:param cpu_reduction: Number of cpu core's to not use
:param progress_bar: Display text based progress bar
:return:
"""
with Pool(cpus - abs(cpu_reduction)) as pool:
# Return values returned by 'func'
if return_vals:
# Show progress bar
if progress_bar:
vals = [v for v in tqdm(pool.imap_unordered(func, iterable), total=len(iterable))]
# No progress bar
else:
vals = pool.map(func, iterable)
# Close pool and return values
pool.close()
# pool.join()
return vals
# Don't capture values returned by 'func'
else:
pool.map(func, iterable)
pool.close()
return True
| [
6738,
18540,
305,
919,
278,
1330,
42804,
62,
9127,
198,
6738,
18540,
305,
919,
278,
13,
7742,
1330,
19850,
198,
6738,
256,
80,
36020,
1330,
256,
80,
36020,
628,
198,
4299,
5933,
62,
14681,
7,
20786,
11,
11629,
540,
11,
31396,
385,
28,
36166,
62,
9127,
22784,
1441,
62,
12786,
28,
25101,
11,
42804,
62,
445,
8110,
28,
15,
11,
4371,
62,
5657,
28,
25101,
2599,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
7854,
541,
305,
919,
278,
31904,
2163,
329,
9489,
9052,
276,
4905,
1262,
3294,
20399,
13,
628,
220,
220,
220,
1058,
17143,
25439,
25,
15553,
284,
869,
198,
220,
220,
220,
1058,
17143,
11629,
540,
25,
40806,
540,
2134,
284,
1620,
1123,
2163,
319,
198,
220,
220,
220,
1058,
17143,
31396,
385,
25,
7913,
286,
42804,
21758,
11,
26235,
284,
1080,
338,
42804,
954,
198,
220,
220,
220,
1058,
17143,
1441,
62,
12786,
25,
347,
970,
11,
5860,
5072,
3815,
618,
6407,
198,
220,
220,
220,
1058,
17143,
42804,
62,
445,
8110,
25,
7913,
286,
42804,
4755,
338,
284,
407,
779,
198,
220,
220,
220,
1058,
17143,
4371,
62,
5657,
25,
16531,
2420,
1912,
4371,
2318,
198,
220,
220,
220,
1058,
7783,
25,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
351,
19850,
7,
13155,
385,
532,
2352,
7,
36166,
62,
445,
8110,
4008,
355,
5933,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1303,
8229,
3815,
4504,
416,
705,
20786,
6,
198,
220,
220,
220,
220,
220,
220,
220,
611,
1441,
62,
12786,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
5438,
4371,
2318,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
4371,
62,
5657,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
410,
874,
796,
685,
85,
329,
410,
287,
256,
80,
36020,
7,
7742,
13,
320,
499,
62,
403,
24071,
7,
20786,
11,
11629,
540,
828,
2472,
28,
11925,
7,
2676,
540,
4008,
60,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
1400,
4371,
2318,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
410,
874,
796,
5933,
13,
8899,
7,
20786,
11,
11629,
540,
8,
628,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
13872,
5933,
290,
1441,
3815,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5933,
13,
19836,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
5933,
13,
22179,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
410,
874,
628,
220,
220,
220,
220,
220,
220,
220,
1303,
2094,
470,
8006,
3815,
4504,
416,
705,
20786,
6,
198,
220,
220,
220,
220,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5933,
13,
8899,
7,
20786,
11,
11629,
540,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
5933,
13,
19836,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1441,
6407,
628
] | 2.459108 | 538 |
import numpy as np
from laplace import laplace_mech
def noisy_max(answers: np.ndarray, epsilon: float, sensitivity: float):
""" Implementation of the noisy max mechanism with gap using Laplace noise
Given a set of queries, this mechanism will return the **index**, not the
value, of the query that is probably largest.
Args:
answers (float or numpy array): the set of queries
epsilon (float): the privacy budget
sensitivity (float): the global sensitivity of the query
"""
noisy_answers = laplace_mech(answers, epsilon/2.0, sensitivity)
return noisy_answers.argmax()
| [
11748,
299,
32152,
355,
45941,
198,
6738,
8591,
5372,
1330,
8591,
5372,
62,
1326,
354,
628,
198,
4299,
31210,
62,
9806,
7,
504,
86,
364,
25,
45941,
13,
358,
18747,
11,
304,
862,
33576,
25,
12178,
11,
14233,
25,
12178,
2599,
198,
220,
220,
220,
37227,
46333,
286,
262,
31210,
3509,
9030,
351,
7625,
1262,
4689,
5372,
7838,
628,
220,
220,
220,
11259,
257,
900,
286,
20743,
11,
428,
9030,
481,
1441,
262,
12429,
9630,
1174,
11,
407,
262,
198,
220,
220,
220,
1988,
11,
286,
262,
12405,
326,
318,
2192,
4387,
13,
628,
220,
220,
220,
943,
14542,
25,
198,
220,
220,
220,
220,
220,
7429,
357,
22468,
393,
299,
32152,
7177,
2599,
262,
900,
286,
20743,
198,
220,
220,
220,
220,
220,
304,
862,
33576,
357,
22468,
2599,
262,
6782,
4466,
198,
220,
220,
220,
220,
220,
14233,
357,
22468,
2599,
262,
3298,
14233,
286,
262,
12405,
198,
220,
220,
220,
37227,
198,
220,
220,
220,
31210,
62,
504,
86,
364,
796,
8591,
5372,
62,
1326,
354,
7,
504,
86,
364,
11,
304,
862,
33576,
14,
17,
13,
15,
11,
14233,
8,
198,
220,
220,
220,
1441,
31210,
62,
504,
86,
364,
13,
853,
9806,
3419,
198
] | 3.100503 | 199 |
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
import unittest
from dynamic_atss_core.utils.metric_logger import MetricLogger
if __name__ == "__main__":
unittest.main()
| [
2,
15069,
357,
66,
8,
3203,
11,
3457,
13,
290,
663,
29116,
13,
1439,
6923,
33876,
13,
198,
11748,
555,
715,
395,
198,
198,
6738,
8925,
62,
265,
824,
62,
7295,
13,
26791,
13,
4164,
1173,
62,
6404,
1362,
1330,
3395,
1173,
11187,
1362,
628,
198,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
555,
715,
395,
13,
12417,
3419,
198
] | 2.970588 | 68 |
import argparse
import pygame
import sys
from nes import Controller
from screen import Screen
from fps import FPS
from tas import TAS
from emulator import Emulator
if __name__ == "__main__":
parser = argparse.ArgumentParser(
description = 'Dumps NES header information')
parser.add_argument('pathname', help='specify the NES file to open')
parser.add_argument('--tas', dest='tas', help='specify a TAS file to run', default=None)
parser.add_argument('--scale', dest='scale', help='specify the screen scale', default = 1)
args = parser.parse_args()
emulator = Emulator(args.pathname)
screen = Screen(args.scale)
fps = FPS()
if args.tas:
target_fps = 1000.0
tas = TAS(args.tas)
else:
target_fps = 60.0
tas = None
keep_going = True
while keep_going:
try:
# Get button presses
if tas == None:
pressed = pygame.key.get_pressed()
controller = emulator.controllers[0]
if pressed[pygame.K_RETURN]:
controller.set_key(Controller.BUTTON_START)
if pressed[pygame.K_RSHIFT]:
controller.set_key(Controller.BUTTON_SELECT)
if pressed[pygame.K_a]:
controller.set_key(Controller.BUTTON_LEFT)
if pressed[pygame.K_d]:
controller.set_key(Controller.BUTTON_RIGHT)
if pressed[pygame.K_w]:
controller.set_key(Controller.BUTTON_UP)
if pressed[pygame.K_s]:
controller.set_key(Controller.BUTTON_DOWN)
if pressed[pygame.K_j]:
controller.set_key(Controller.BUTTON_B)
if pressed[pygame.K_k]:
controller.set_key(Controller.BUTTON_A)
if tas != None:
tas.update_controller(emulator.controllers[0])
emulator.tick(screen)
keep_going = screen.render()
fps.update(target_fps)
except Exception, e:
print 'Exception occurred: ' + str(e)
keep_going = False | [
198,
11748,
1822,
29572,
198,
11748,
12972,
6057,
198,
11748,
25064,
198,
6738,
299,
274,
1330,
22741,
198,
6738,
3159,
1330,
15216,
198,
6738,
32977,
1330,
22082,
198,
6738,
256,
292,
1330,
309,
1921,
198,
6738,
38274,
1330,
2295,
8927,
198,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
30751,
796,
1822,
29572,
13,
28100,
1713,
46677,
7,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
6764,
796,
705,
35,
8142,
31925,
13639,
1321,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
6978,
3672,
3256,
1037,
11639,
16684,
1958,
262,
31925,
2393,
284,
1280,
11537,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
83,
292,
3256,
2244,
11639,
83,
292,
3256,
1037,
11639,
16684,
1958,
257,
309,
1921,
2393,
284,
1057,
3256,
4277,
28,
14202,
8,
198,
220,
220,
220,
30751,
13,
2860,
62,
49140,
10786,
438,
9888,
3256,
2244,
11639,
9888,
3256,
1037,
11639,
16684,
1958,
262,
3159,
5046,
3256,
4277,
796,
352,
8,
198,
220,
220,
220,
26498,
796,
30751,
13,
29572,
62,
22046,
3419,
628,
220,
220,
220,
38274,
796,
2295,
8927,
7,
22046,
13,
6978,
3672,
8,
198,
220,
220,
220,
3159,
796,
15216,
7,
22046,
13,
9888,
8,
198,
220,
220,
220,
32977,
796,
22082,
3419,
198,
220,
220,
220,
611,
26498,
13,
83,
292,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2496,
62,
29647,
796,
8576,
13,
15,
198,
220,
220,
220,
220,
220,
220,
220,
256,
292,
796,
309,
1921,
7,
22046,
13,
83,
292,
8,
198,
220,
220,
220,
2073,
25,
198,
220,
220,
220,
220,
220,
220,
220,
2496,
62,
29647,
796,
3126,
13,
15,
198,
220,
220,
220,
220,
220,
220,
220,
256,
292,
796,
6045,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1394,
62,
5146,
796,
6407,
198,
220,
220,
220,
981,
1394,
62,
5146,
25,
198,
220,
220,
220,
220,
220,
220,
220,
1949,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1303,
3497,
4936,
31048,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
256,
292,
6624,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
12070,
796,
12972,
6057,
13,
2539,
13,
1136,
62,
45477,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10444,
796,
38274,
13,
3642,
36667,
58,
15,
60,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
12070,
58,
9078,
6057,
13,
42,
62,
26087,
27064,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10444,
13,
2617,
62,
2539,
7,
22130,
13,
47526,
11357,
62,
2257,
7227,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
12070,
58,
9078,
6057,
13,
42,
62,
6998,
39,
32297,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10444,
13,
2617,
62,
2539,
7,
22130,
13,
47526,
11357,
62,
46506,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
12070,
58,
9078,
6057,
13,
42,
62,
64,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10444,
13,
2617,
62,
2539,
7,
22130,
13,
47526,
11357,
62,
2538,
9792,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
12070,
58,
9078,
6057,
13,
42,
62,
67,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10444,
13,
2617,
62,
2539,
7,
22130,
13,
47526,
11357,
62,
49,
9947,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
12070,
58,
9078,
6057,
13,
42,
62,
86,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10444,
13,
2617,
62,
2539,
7,
22130,
13,
47526,
11357,
62,
8577,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
12070,
58,
9078,
6057,
13,
42,
62,
82,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10444,
13,
2617,
62,
2539,
7,
22130,
13,
47526,
11357,
62,
41925,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
12070,
58,
9078,
6057,
13,
42,
62,
73,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10444,
13,
2617,
62,
2539,
7,
22130,
13,
47526,
11357,
62,
33,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
12070,
58,
9078,
6057,
13,
42,
62,
74,
5974,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
10444,
13,
2617,
62,
2539,
7,
22130,
13,
47526,
11357,
62,
32,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
611,
256,
292,
14512,
6045,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
256,
292,
13,
19119,
62,
36500,
7,
368,
8927,
13,
3642,
36667,
58,
15,
12962,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
38274,
13,
42298,
7,
9612,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1394,
62,
5146,
796,
3159,
13,
13287,
3419,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
32977,
13,
19119,
7,
16793,
62,
29647,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
220,
220,
220,
220,
2845,
35528,
11,
304,
25,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
3601,
705,
16922,
5091,
25,
705,
1343,
965,
7,
68,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1394,
62,
5146,
796,
10352
] | 2 | 1,112 |
# Copyright (C) 2016 MediaMath <http://www.mediamath.com>
#
# 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 os
import datetime
from command import AwsCommand
| [
2,
15069,
357,
34,
8,
1584,
6343,
37372,
1279,
4023,
1378,
2503,
13,
1150,
1789,
776,
13,
785,
29,
198,
2,
198,
2,
49962,
739,
262,
24843,
13789,
11,
10628,
362,
13,
15,
357,
1169,
366,
34156,
15341,
198,
2,
345,
743,
407,
779,
428,
2393,
2845,
287,
11846,
351,
262,
13789,
13,
198,
2,
921,
743,
7330,
257,
4866,
286,
262,
13789,
379,
198,
2,
198,
2,
2638,
1378,
2503,
13,
43073,
13,
2398,
14,
677,
4541,
14,
43,
2149,
24290,
12,
17,
13,
15,
198,
2,
198,
2,
17486,
2672,
416,
9723,
1099,
393,
4987,
284,
287,
3597,
11,
3788,
198,
2,
9387,
739,
262,
13789,
318,
9387,
319,
281,
366,
1921,
3180,
1,
29809,
1797,
11,
198,
2,
42881,
34764,
11015,
6375,
7102,
49828,
11053,
3963,
15529,
509,
12115,
11,
2035,
4911,
393,
17142,
13,
198,
2,
4091,
262,
13789,
329,
262,
2176,
3303,
15030,
21627,
290,
198,
2,
11247,
739,
262,
13789,
13,
198,
198,
11748,
28686,
198,
11748,
4818,
8079,
198,
6738,
3141,
1330,
5851,
82,
21575,
628
] | 3.809249 | 173 |
# -*- coding: UTF-8 -*-
from pyramid.i18n import get_localizer, TranslationStringFactory
from pyramid.view import view_config
from pyramid.response import Response
from c2cgeoportal_commons.models import DBSessions, DBSession
import logging
import owncloud
import shutil
import os
import smtplib
import urllib.request
from email.mime.text import MIMEText
import time
import datetime
import sys
_ = TranslationStringFactory("geoportailv3_geoportal-server")
log = logging.getLogger(__name__)
| [
171,
119,
123,
2,
532,
9,
12,
19617,
25,
41002,
12,
23,
532,
9,
12,
198,
6738,
27944,
13,
72,
1507,
77,
1330,
651,
62,
12001,
7509,
11,
33322,
10100,
22810,
198,
6738,
27944,
13,
1177,
1330,
1570,
62,
11250,
198,
6738,
27944,
13,
26209,
1330,
18261,
198,
6738,
269,
17,
66,
469,
404,
16906,
62,
9503,
684,
13,
27530,
1330,
360,
4462,
6202,
11,
360,
4462,
2521,
198,
11748,
18931,
198,
11748,
898,
17721,
198,
11748,
4423,
346,
198,
11748,
28686,
198,
11748,
895,
83,
489,
571,
198,
11748,
2956,
297,
571,
13,
25927,
198,
6738,
3053,
13,
76,
524,
13,
5239,
1330,
337,
3955,
2767,
2302,
198,
11748,
640,
198,
11748,
4818,
8079,
198,
11748,
25064,
198,
198,
62,
796,
33322,
10100,
22810,
7203,
469,
404,
419,
603,
85,
18,
62,
469,
404,
16906,
12,
15388,
4943,
198,
6404,
796,
18931,
13,
1136,
11187,
1362,
7,
834,
3672,
834,
8,
628
] | 3.222222 | 153 |
from urlScanner import UrlScanner | [
6738,
19016,
33351,
1008,
1330,
8799,
75,
33351,
1008
] | 3.666667 | 9 |
"""
Custom exceptions for the License Manager Agent.
"""
from buzz import Buzz
class LicenseManagerAuthTokenError(Buzz):
"""Exception for backend connection issues."""
class LicenseManagerBackendConnectionError(Buzz):
"""Exception for backend connection issues."""
class LicenseManagerBackendVersionError(Buzz):
"""Exception for backend/agent version mismatches."""
class LicenseManagerEmptyReportError(Buzz):
"""Exception for empty report when no licenses added in backend."""
class LicenseManagerNonSupportedServerTypeError(Buzz):
"""Exception for entry with non supported server type."""
class LicenseManagerBadServerOutput(Buzz):
"""Exception for license server bad output."""
| [
37811,
198,
15022,
13269,
329,
262,
13789,
9142,
15906,
13,
198,
37811,
198,
198,
6738,
14713,
1330,
15753,
628,
198,
4871,
13789,
13511,
30515,
30642,
12331,
7,
48230,
2599,
198,
220,
220,
220,
37227,
16922,
329,
30203,
4637,
2428,
526,
15931,
628,
198,
4871,
13789,
13511,
7282,
437,
32048,
12331,
7,
48230,
2599,
198,
220,
220,
220,
37227,
16922,
329,
30203,
4637,
2428,
526,
15931,
628,
198,
4871,
13789,
13511,
7282,
437,
14815,
12331,
7,
48230,
2599,
198,
220,
220,
220,
37227,
16922,
329,
30203,
14,
25781,
2196,
32691,
20981,
526,
15931,
628,
198,
4871,
13789,
13511,
40613,
19100,
12331,
7,
48230,
2599,
198,
220,
220,
220,
37227,
16922,
329,
6565,
989,
618,
645,
16625,
2087,
287,
30203,
526,
15931,
628,
198,
4871,
13789,
13511,
15419,
48181,
10697,
6030,
12331,
7,
48230,
2599,
198,
220,
220,
220,
37227,
16922,
329,
5726,
351,
1729,
4855,
4382,
2099,
526,
15931,
628,
198,
4871,
13789,
13511,
22069,
10697,
26410,
7,
48230,
2599,
198,
220,
220,
220,
37227,
16922,
329,
5964,
4382,
2089,
5072,
526,
15931,
198
] | 4.150289 | 173 |
import dask as da
from raptor.momentum import (
KAMAIndicator,
ROCIndicator,
RSIIndicator,
StochasticOscillator,
StochRSIIndicator,
)
from raptor.trend import (
MACD,
ADXIndicator,
AroonIndicator,
EMAIndicator,
SMAIndicator,
TRIXIndicator,
)
from raptor.volatility import (
AverageTrueRange,
BollingerBands,
)
from raptor.volume import (
AccDistIndexIndicator,
ForceIndexIndicator,
VolumePriceTrendIndicator,
)
| [
11748,
288,
2093,
355,
12379,
198,
198,
6738,
38404,
273,
13,
32542,
298,
388,
1330,
357,
198,
220,
220,
220,
220,
198,
220,
220,
220,
509,
25087,
5497,
26407,
11,
198,
220,
220,
220,
220,
198,
220,
220,
220,
371,
4503,
5497,
26407,
11,
198,
220,
220,
220,
19340,
3978,
358,
26407,
11,
198,
220,
220,
220,
520,
5374,
3477,
46,
22360,
1352,
11,
198,
220,
220,
220,
520,
5374,
6998,
3978,
358,
26407,
11,
198,
220,
220,
220,
220,
198,
8,
198,
198,
6738,
38404,
273,
13,
83,
10920,
1330,
357,
198,
220,
220,
220,
20582,
35,
11,
198,
220,
220,
220,
5984,
55,
5497,
26407,
11,
198,
220,
220,
220,
317,
305,
261,
5497,
26407,
11,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
198,
220,
220,
220,
412,
5673,
5497,
26407,
11,
198,
220,
220,
220,
220,
198,
220,
220,
220,
220,
198,
220,
220,
198,
220,
220,
220,
311,
5673,
5497,
26407,
11,
198,
220,
220,
220,
37679,
55,
5497,
26407,
11,
198,
220,
220,
220,
220,
198,
8,
198,
6738,
38404,
273,
13,
10396,
18486,
1330,
357,
198,
220,
220,
220,
13475,
17821,
17257,
11,
198,
220,
220,
220,
43479,
3889,
33,
1746,
11,
198,
8,
198,
6738,
38404,
273,
13,
29048,
1330,
357,
198,
220,
220,
220,
6366,
20344,
15732,
5497,
26407,
11,
198,
220,
220,
220,
220,
198,
220,
220,
220,
5221,
15732,
5497,
26407,
11,
198,
220,
220,
220,
220,
198,
220,
220,
220,
14701,
18124,
45461,
5497,
26407,
11,
198,
220,
220,
220,
220,
198,
8,
628,
628,
628,
628,
198
] | 2.072519 | 262 |
# %% [209. Minimum Size Subarray Sum](https://leetcode.com/problems/minimum-size-subarray-sum/)
| [
2,
43313,
685,
22567,
13,
26265,
12849,
3834,
18747,
5060,
16151,
5450,
1378,
293,
316,
8189,
13,
785,
14,
1676,
22143,
14,
39504,
12,
7857,
12,
7266,
18747,
12,
16345,
34729,
198
] | 3 | 32 |
import argparse
import datetime
import glob
import os
from pathlib import Path
from test import repeat_eval_ckpt
import tqdm
import torch
import torch.distributed as dist
import torch.nn as nn
from tensorboardX import SummaryWriter
from pcdet.config import cfg, cfg_from_list, cfg_from_yaml_file, log_config_to_file
from pcdet.datasets import build_dataloader
from pcdet.models import build_network, model_fn_decorator
from pcdet.utils import common_utils
from train_utils.optimization import build_optimizer, build_scheduler
if __name__ == '__main__':
main()
| [
11748,
1822,
29572,
198,
11748,
4818,
8079,
198,
11748,
15095,
198,
11748,
28686,
198,
6738,
3108,
8019,
1330,
10644,
198,
6738,
1332,
1330,
9585,
62,
18206,
62,
694,
457,
198,
198,
11748,
256,
80,
36020,
198,
11748,
28034,
198,
11748,
28034,
13,
17080,
6169,
355,
1233,
198,
11748,
28034,
13,
20471,
355,
299,
77,
198,
6738,
11192,
273,
3526,
55,
1330,
21293,
34379,
198,
198,
6738,
279,
10210,
316,
13,
11250,
1330,
30218,
70,
11,
30218,
70,
62,
6738,
62,
4868,
11,
30218,
70,
62,
6738,
62,
88,
43695,
62,
7753,
11,
2604,
62,
11250,
62,
1462,
62,
7753,
198,
6738,
279,
10210,
316,
13,
19608,
292,
1039,
1330,
1382,
62,
67,
10254,
1170,
263,
198,
6738,
279,
10210,
316,
13,
27530,
1330,
1382,
62,
27349,
11,
2746,
62,
22184,
62,
12501,
273,
1352,
198,
6738,
279,
10210,
316,
13,
26791,
1330,
2219,
62,
26791,
198,
6738,
4512,
62,
26791,
13,
40085,
1634,
1330,
1382,
62,
40085,
7509,
11,
1382,
62,
1416,
704,
18173,
628,
628,
628,
628,
628,
628,
198,
220,
220,
220,
220,
628,
198,
361,
11593,
3672,
834,
6624,
705,
834,
12417,
834,
10354,
198,
220,
220,
220,
1388,
3419,
198
] | 3.015464 | 194 |
# -*-coding:utf-8 -*
# Copyright (c) 2011-2015, Intel Corporation
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this
# list of conditions and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation and/or
# other materials provided with the distribution.
#
# 3. Neither the name of the copyright holder nor the names of its contributors
# may be used to endorse or promote products derived from this software without
# specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
import os
import commands, string, random
from Util.PfwUnitTestLib import PfwTestCase
from Util import ACTLogging
log=ACTLogging.Logger()
# Test of type UINT8_S - range [-100, 100]
| [
2,
532,
9,
12,
66,
7656,
25,
40477,
12,
23,
532,
9,
198,
198,
2,
15069,
357,
66,
8,
2813,
12,
4626,
11,
8180,
10501,
198,
2,
1439,
2489,
10395,
13,
198,
2,
198,
2,
2297,
396,
3890,
290,
779,
287,
2723,
290,
13934,
5107,
11,
351,
393,
1231,
17613,
11,
198,
2,
389,
10431,
2810,
326,
262,
1708,
3403,
389,
1138,
25,
198,
2,
198,
2,
352,
13,
2297,
396,
2455,
507,
286,
2723,
2438,
1276,
12377,
262,
2029,
6634,
4003,
11,
428,
198,
2,
1351,
286,
3403,
290,
262,
1708,
37592,
13,
198,
2,
198,
2,
362,
13,
2297,
396,
2455,
507,
287,
13934,
1296,
1276,
22919,
262,
2029,
6634,
4003,
11,
198,
2,
428,
1351,
286,
3403,
290,
262,
1708,
37592,
287,
262,
10314,
290,
14,
273,
198,
2,
584,
5696,
2810,
351,
262,
6082,
13,
198,
2,
198,
2,
513,
13,
16126,
262,
1438,
286,
262,
6634,
15762,
4249,
262,
3891,
286,
663,
20420,
198,
2,
743,
307,
973,
284,
11438,
393,
7719,
3186,
10944,
422,
428,
3788,
1231,
198,
2,
2176,
3161,
3194,
7170,
13,
198,
2,
198,
2,
12680,
47466,
3180,
36592,
2389,
1961,
11050,
3336,
27975,
38162,
9947,
367,
15173,
4877,
5357,
27342,
9865,
3843,
20673,
366,
1921,
3180,
1,
5357,
198,
2,
15529,
7788,
32761,
6375,
8959,
49094,
34764,
11015,
11,
47783,
2751,
11,
21728,
5626,
40880,
5390,
11,
3336,
8959,
49094,
198,
2,
34764,
11015,
3963,
34482,
3398,
1565,
5603,
25382,
5357,
376,
46144,
7473,
317,
16652,
2149,
37232,
33079,
48933,
15986,
198,
2,
13954,
48778,
1961,
13,
3268,
8005,
49261,
50163,
3336,
27975,
38162,
9947,
49707,
14418,
6375,
27342,
9865,
3843,
20673,
9348,
43031,
19146,
7473,
198,
2,
15529,
42242,
11,
3268,
17931,
23988,
11,
19387,
25256,
1847,
11,
38846,
11,
7788,
3620,
6489,
13153,
11,
6375,
7102,
5188,
10917,
3525,
12576,
29506,
25552,
198,
2,
357,
1268,
39149,
2751,
11,
21728,
5626,
40880,
5390,
11,
41755,
11335,
10979,
3963,
28932,
2257,
2043,
37780,
21090,
50,
6375,
49254,
26,
198,
2,
406,
18420,
3963,
23210,
11,
42865,
11,
6375,
4810,
19238,
29722,
26,
6375,
43949,
44180,
23255,
49,
8577,
24131,
8,
29630,
36,
5959,
7257,
2937,
1961,
5357,
6177,
198,
2,
15529,
3336,
15513,
3963,
43031,
25382,
11,
7655,
2767,
16879,
3268,
27342,
10659,
11,
19269,
18379,
43031,
25382,
11,
6375,
309,
9863,
198,
2,
357,
1268,
39149,
2751,
399,
7156,
43,
3528,
18310,
6375,
25401,
54,
24352,
8,
5923,
1797,
2751,
3268,
15529,
34882,
16289,
3963,
3336,
23210,
3963,
12680,
198,
2,
47466,
11,
45886,
16876,
5984,
29817,
1961,
3963,
3336,
28069,
11584,
25382,
3963,
13558,
3398,
29506,
11879,
13,
198,
198,
11748,
28686,
198,
11748,
9729,
11,
4731,
11,
4738,
198,
6738,
7273,
346,
13,
47,
44482,
26453,
14402,
25835,
1330,
38477,
86,
14402,
20448,
198,
6738,
7273,
346,
1330,
11741,
11187,
2667,
198,
6404,
28,
10659,
11187,
2667,
13,
11187,
1362,
3419,
198,
198,
2,
6208,
286,
2099,
471,
12394,
23,
62,
50,
532,
2837,
25915,
3064,
11,
1802,
60,
198
] | 3.536437 | 494 |
import sys
import math
import numpy as np
if __name__ == "__main__":
# We're using 70% of the data for training
TRAIN_SPLIT = 0.8
GENDER_MALE = 1
GENDER_FEMALE = 0
alpha = 0.54
X_train = None
Y_train = None
X_validation = None
Y_validation = None
X_test = None
Y_test = None
Best_theta = None
fileName = "/var/www/html/training_dataset.txt"
g_feature_names = []
g_vocabulary = {}
names = np.genfromtxt(fileName, delimiter = ",", dtype = "U25",
autostrip = True)
np.random.shuffle(names)
features = np.vectorize(features)
X = features(names[:, 0])
Y = np.array([GENDER_MALE if x == "male" else GENDER_FEMALE for x in names[:, 1]] )
# creating testing and training set
X_train, X_validation = X[:int(TRAIN_SPLIT * len(X))], X[int(TRAIN_SPLIT * len(X)):]
Y_train, Y_validation = Y[:int(TRAIN_SPLIT * len(Y))], Y[int(TRAIN_SPLIT * len(Y)):]
(g_feature_names, g_vocabulary) = fit(X_train)
initial_theta = np.zeros((len(g_feature_names), 1), dtype=np.float64)
X_validation = transform(X_validation, g_vocabulary)
iterations = len(X_validation)
theta = logistic_regression_by_stochastic_gradient_descent(
transform(X_train, g_vocabulary), Y_train,
alpha,initial_theta)
do_test(g_vocabulary)
| [
11748,
25064,
198,
11748,
10688,
198,
11748,
299,
32152,
355,
45941,
628,
628,
198,
198,
361,
11593,
3672,
834,
6624,
366,
834,
12417,
834,
1298,
198,
220,
220,
220,
1303,
775,
821,
1262,
4317,
4,
286,
262,
1366,
329,
3047,
198,
220,
220,
220,
29125,
1268,
62,
4303,
43,
2043,
796,
657,
13,
23,
198,
220,
220,
220,
402,
10619,
1137,
62,
44,
21358,
796,
352,
198,
220,
220,
220,
402,
10619,
1137,
62,
37,
3620,
21358,
796,
657,
198,
220,
220,
220,
17130,
796,
657,
13,
4051,
198,
220,
220,
220,
220,
198,
220,
220,
220,
1395,
62,
27432,
796,
6045,
198,
220,
220,
220,
575,
62,
27432,
796,
6045,
198,
220,
220,
220,
1395,
62,
12102,
341,
796,
6045,
198,
220,
220,
220,
575,
62,
12102,
341,
796,
6045,
198,
220,
220,
220,
1395,
62,
9288,
796,
6045,
198,
220,
220,
220,
575,
62,
9288,
796,
6045,
198,
220,
220,
220,
6705,
62,
1169,
8326,
796,
6045,
198,
220,
220,
220,
220,
198,
220,
220,
220,
2393,
5376,
796,
12813,
7785,
14,
2503,
14,
6494,
14,
34409,
62,
19608,
292,
316,
13,
14116,
1,
198,
220,
220,
220,
220,
198,
220,
220,
220,
308,
62,
30053,
62,
14933,
796,
17635,
198,
220,
220,
220,
308,
62,
18893,
22528,
796,
23884,
198,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
3891,
796,
45941,
13,
5235,
6738,
14116,
7,
7753,
5376,
11,
46728,
2676,
796,
366,
553,
11,
288,
4906,
796,
366,
52,
1495,
1600,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
1960,
455,
5528,
796,
6407,
8,
220,
198,
220,
220,
220,
45941,
13,
25120,
13,
1477,
18137,
7,
14933,
8,
628,
220,
220,
220,
3033,
796,
45941,
13,
31364,
1096,
7,
40890,
8,
628,
198,
220,
220,
220,
1395,
796,
3033,
7,
14933,
58,
45299,
657,
12962,
220,
198,
220,
220,
220,
575,
796,
45941,
13,
18747,
26933,
38,
10619,
1137,
62,
44,
21358,
611,
2124,
6624,
366,
22606,
1,
2073,
402,
10619,
1137,
62,
37,
3620,
21358,
329,
2124,
287,
3891,
58,
45299,
352,
11907,
1267,
628,
220,
220,
1303,
4441,
4856,
290,
3047,
900,
198,
220,
220,
220,
1395,
62,
27432,
11,
1395,
62,
12102,
341,
796,
1395,
58,
25,
600,
7,
51,
3861,
1268,
62,
4303,
43,
2043,
1635,
18896,
7,
55,
4008,
4357,
1395,
58,
600,
7,
51,
3861,
1268,
62,
4303,
43,
2043,
1635,
18896,
7,
55,
8,
2599,
60,
198,
220,
220,
220,
575,
62,
27432,
11,
575,
62,
12102,
341,
796,
575,
58,
25,
600,
7,
51,
3861,
1268,
62,
4303,
43,
2043,
1635,
18896,
7,
56,
4008,
4357,
575,
58,
600,
7,
51,
3861,
1268,
62,
4303,
43,
2043,
1635,
18896,
7,
56,
8,
2599,
60,
628,
220,
220,
220,
357,
70,
62,
30053,
62,
14933,
11,
308,
62,
18893,
22528,
8,
796,
4197,
7,
55,
62,
27432,
8,
198,
220,
220,
220,
4238,
62,
1169,
8326,
796,
45941,
13,
9107,
418,
19510,
11925,
7,
70,
62,
30053,
62,
14933,
828,
352,
828,
288,
4906,
28,
37659,
13,
22468,
2414,
8,
628,
220,
220,
220,
1395,
62,
12102,
341,
796,
6121,
7,
55,
62,
12102,
341,
11,
308,
62,
18893,
22528,
8,
628,
220,
220,
220,
34820,
796,
18896,
7,
55,
62,
12102,
341,
8,
220,
628,
198,
220,
220,
220,
262,
8326,
796,
2604,
2569,
62,
2301,
2234,
62,
1525,
62,
301,
5374,
3477,
62,
49607,
62,
8906,
1087,
7,
198,
220,
220,
220,
220,
220,
220,
220,
6121,
7,
55,
62,
27432,
11,
308,
62,
18893,
22528,
828,
575,
62,
27432,
11,
198,
220,
220,
220,
220,
220,
220,
220,
17130,
11,
36733,
62,
1169,
8326,
8,
198,
220,
220,
220,
220,
220,
220,
220,
220,
198,
220,
220,
220,
466,
62,
9288,
7,
70,
62,
18893,
22528,
8,
198
] | 2.165625 | 640 |
# Generated by Django 3.1.6 on 2021-02-15 14:56
from django.db import migrations, models
| [
2,
2980,
515,
416,
37770,
513,
13,
16,
13,
21,
319,
33448,
12,
2999,
12,
1314,
1478,
25,
3980,
198,
198,
6738,
42625,
14208,
13,
9945,
1330,
15720,
602,
11,
4981,
628
] | 2.84375 | 32 |
import jinja2
import aiohttp_jinja2
import urllib.parse as up
import asyncpg
from aiohttp import web
from .routes import setup_routes
from .config import config_obj as config
| [
11748,
474,
259,
6592,
17,
198,
11748,
257,
952,
4023,
62,
18594,
6592,
17,
198,
11748,
2956,
297,
571,
13,
29572,
355,
510,
198,
11748,
30351,
6024,
198,
198,
6738,
257,
952,
4023,
1330,
3992,
198,
198,
6738,
764,
81,
448,
274,
1330,
9058,
62,
81,
448,
274,
198,
6738,
764,
11250,
1330,
4566,
62,
26801,
355,
4566,
628,
628
] | 3 | 60 |
"""
This file has been auto-generated by pydantic.
TODO: Maybe some fields should be renamed or the architecture should be changed a bit
"""
from __future__ import annotations
from typing import List, Optional
from pydantic import BaseModel, Field
| [
37811,
198,
1212,
2393,
468,
587,
8295,
12,
27568,
416,
279,
5173,
5109,
13,
198,
51,
3727,
46,
25,
6674,
617,
7032,
815,
307,
25121,
393,
262,
10959,
815,
307,
3421,
257,
1643,
198,
37811,
198,
198,
6738,
11593,
37443,
834,
1330,
37647,
198,
198,
6738,
19720,
1330,
7343,
11,
32233,
198,
198,
6738,
279,
5173,
5109,
1330,
7308,
17633,
11,
7663,
628,
628,
628,
628,
628,
628,
628,
628,
198
] | 3.760563 | 71 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.